aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ecore/configure
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-04 18:41:13 +1000
committerDavid Walter Seikel2012-01-04 18:41:13 +1000
commitdd7595a3475407a7fa96a97393bae8c5220e8762 (patch)
treee341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/ecore/configure
parentAdd the skeleton. (diff)
downloadSledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip
SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz
SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2
SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz
Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje.
Note that embryo wont be used, but I'm not sure yet if you can build edje without it.
Diffstat (limited to 'libraries/ecore/configure')
-rwxr-xr-xlibraries/ecore/configure33692
1 files changed, 33692 insertions, 0 deletions
diff --git a/libraries/ecore/configure b/libraries/ecore/configure
new file mode 100755
index 0000000..6ac7715
--- /dev/null
+++ b/libraries/ecore/configure
@@ -0,0 +1,33692 @@
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67 for ecore 1.1.0.
4#
5# Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Foundation, Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order. Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" "" $as_nl"
92
93# Find who we are. Look in the path if we contain no directory separator.
94case $0 in #((
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97for as_dir in $PATH
98do
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
103IFS=$as_save_IFS
104
105 ;;
106esac
107# We did not find ourselves, most probably we were run as `sh COMMAND'
108# in which case we are not to be found in the path.
109if test "x$as_myself" = x; then
110 as_myself=$0
111fi
112if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1
115fi
116
117# Unset variables that we do not need and which cause bugs (e.g. in
118# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119# suppresses any "Segmentation fault" message there. '((' could
120# trigger a bug in pdksh 5.2.14.
121for as_var in BASH_ENV ENV MAIL MAILPATH
122do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124done
125PS1='$ '
126PS2='> '
127PS4='+ '
128
129# NLS nuisances.
130LC_ALL=C
131export LC_ALL
132LANGUAGE=C
133export LANGUAGE
134
135# CDPATH.
136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 emulate sh
141 NULLCMD=:
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 setopt NO_GLOB_SUBST
146else
147 case \`(set -o) 2>/dev/null\` in #(
148 *posix*) :
149 set -o posix ;; #(
150 *) :
151 ;;
152esac
153fi
154"
155 as_required="as_fn_return () { (exit \$1); }
156as_fn_success () { as_fn_return 0; }
157as_fn_failure () { as_fn_return 1; }
158as_fn_ret_success () { return 0; }
159as_fn_ret_failure () { return 1; }
160
161exitcode=0
162as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168else
169 exitcode=1; echo positional parameters were not saved.
170fi
171test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
178 as_have_required=yes
179else
180 as_have_required=no
181fi
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184else
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186as_found=false
187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188do
189 IFS=$as_save_IFS
190 test -z "$as_dir" && as_dir=.
191 as_found=:
192 case $as_dir in #(
193 /*)
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201 break 2
202fi
203fi
204 done;;
205 esac
206 as_found=false
207done
208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
211fi; }
212IFS=$as_save_IFS
213
214
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
219 BASH_ENV=/dev/null
220 ENV=/dev/null
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 export CONFIG_SHELL
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224fi
225
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232 else
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234$0: enlightenment-devel@lists.sourceforge.net about your
235$0: system, including any error possibly output before this
236$0: message. Then install a modern shell, or manually run
237$0: the script under such a shell if you do have one."
238 fi
239 exit 1
240fi
241fi
242fi
243SHELL=${CONFIG_SHELL-/bin/sh}
244export SHELL
245# Unset more variables known to interfere with behavior of common tools.
246CLICOLOR_FORCE= GREP_OPTIONS=
247unset CLICOLOR_FORCE GREP_OPTIONS
248
249## --------------------- ##
250## M4sh Shell Functions. ##
251## --------------------- ##
252# as_fn_unset VAR
253# ---------------
254# Portably unset VAR.
255as_fn_unset ()
256{
257 { eval $1=; unset $1;}
258}
259as_unset=as_fn_unset
260
261# as_fn_set_status STATUS
262# -----------------------
263# Set $? to STATUS, without forking.
264as_fn_set_status ()
265{
266 return $1
267} # as_fn_set_status
268
269# as_fn_exit STATUS
270# -----------------
271# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272as_fn_exit ()
273{
274 set +e
275 as_fn_set_status $1
276 exit $1
277} # as_fn_exit
278
279# as_fn_mkdir_p
280# -------------
281# Create "$as_dir" as a directory, including parents if necessary.
282as_fn_mkdir_p ()
283{
284
285 case $as_dir in #(
286 -*) as_dir=./$as_dir;;
287 esac
288 test -d "$as_dir" || eval $as_mkdir_p || {
289 as_dirs=
290 while :; do
291 case $as_dir in #(
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293 *) as_qdir=$as_dir;;
294 esac
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301$as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303 s//\1/
304 q
305 }
306 /^X\(\/\/\)[^/].*/{
307 s//\1/
308 q
309 }
310 /^X\(\/\/\)$/{
311 s//\1/
312 q
313 }
314 /^X\(\/\).*/{
315 s//\1/
316 q
317 }
318 s/.*/./; q'`
319 test -d "$as_dir" && break
320 done
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323
324
325} # as_fn_mkdir_p
326# as_fn_append VAR VALUE
327# ----------------------
328# Append the text in VALUE to the end of the definition contained in VAR. Take
329# advantage of any shell optimizations that allow amortized linear growth over
330# repeated appends, instead of the typical quadratic growth present in naive
331# implementations.
332if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
334 {
335 eval $1+=\$2
336 }'
337else
338 as_fn_append ()
339 {
340 eval $1=\$$1\$2
341 }
342fi # as_fn_append
343
344# as_fn_arith ARG...
345# ------------------
346# Perform arithmetic evaluation on the ARGs, and store the result in the
347# global $as_val. Take advantage of shells that can avoid forks. The arguments
348# must be portable across $(()) and expr.
349if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350 eval 'as_fn_arith ()
351 {
352 as_val=$(( $* ))
353 }'
354else
355 as_fn_arith ()
356 {
357 as_val=`expr "$@" || test $? -eq 1`
358 }
359fi # as_fn_arith
360
361
362# as_fn_error STATUS ERROR [LINENO LOG_FD]
363# ----------------------------------------
364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366# script with STATUS, using 1 if that was 0.
367as_fn_error ()
368{
369 as_status=$1; test $as_status -eq 0 && as_status=1
370 if test "$4"; then
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373 fi
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
376} # as_fn_error
377
378if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 as_expr=expr
381else
382 as_expr=false
383fi
384
385if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 as_basename=basename
387else
388 as_basename=false
389fi
390
391if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_dirname=dirname
393else
394 as_dirname=false
395fi
396
397as_me=`$as_basename -- "$0" ||
398$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401$as_echo X/"$0" |
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
403 s//\1/
404 q
405 }
406 /^X\/\(\/\/\)$/{
407 s//\1/
408 q
409 }
410 /^X\/\(\/\).*/{
411 s//\1/
412 q
413 }
414 s/.*/./; q'`
415
416# Avoid depending upon Character Ranges.
417as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420as_cr_digits='0123456789'
421as_cr_alnum=$as_cr_Letters$as_cr_digits
422
423
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
429 sed -n '
430 p
431 /[$]LINENO/=
432 ' <$as_myself |
433 sed '
434 s/[$]LINENO.*/&-/
435 t lineno
436 b
437 :lineno
438 N
439 :loop
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 t loop
442 s/-\n.*//
443 ' >$as_me.lineno &&
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
450 . "./$as_me.lineno"
451 # Exit status is that of the last command.
452 exit
453}
454
455ECHO_C= ECHO_N= ECHO_T=
456case `echo -n x` in #(((((
457-n*)
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
460 xy) ECHO_C='\c';;
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
462 ECHO_T=' ';;
463 esac;;
464*)
465 ECHO_N='-n';;
466esac
467
468rm -f conf$$ conf$$.exe conf$$.file
469if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
471else
472 rm -f conf$$.dir
473 mkdir conf$$.dir 2>/dev/null
474fi
475if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
477 as_ln_s='ln -s'
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483 as_ln_s='cp -p'
484 elif ln conf$$.file conf$$ 2>/dev/null; then
485 as_ln_s=ln
486 else
487 as_ln_s='cp -p'
488 fi
489else
490 as_ln_s='cp -p'
491fi
492rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493rmdir conf$$.dir 2>/dev/null
494
495if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
497else
498 test -d ./-p && rmdir ./-p
499 as_mkdir_p=false
500fi
501
502if test -x / >/dev/null 2>&1; then
503 as_test_x='test -x'
504else
505 if ls -dL / >/dev/null 2>&1; then
506 as_ls_L_option=L
507 else
508 as_ls_L_option=
509 fi
510 as_test_x='
511 eval sh -c '\''
512 if test -d "$1"; then
513 test -d "$1/.";
514 else
515 case $1 in #(
516 -*)set "./$1";;
517 esac;
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
520 '\'' sh
521 '
522fi
523as_executable_p=$as_test_x
524
525# Sed expression to map a string onto a valid CPP name.
526as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
528# Sed expression to map a string onto a valid variable name.
529as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
531
532
533# Check that we are running under the correct shell.
534SHELL=${CONFIG_SHELL-/bin/sh}
535
536case X$lt_ECHO in
537X*--fallback-echo)
538 # Remove one level of quotation (which was required for Make).
539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540 ;;
541esac
542
543ECHO=${lt_ECHO-echo}
544if test "X$1" = X--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
546 shift
547elif test "X$1" = X--fallback-echo; then
548 # Avoid inline document here, it may be left over
549 :
550elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
552 :
553else
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
556fi
557
558if test "X$1" = X--fallback-echo; then
559 # used as fallback echo
560 shift
561 cat <<_LT_EOF
562$*
563_LT_EOF
564 exit 0
565fi
566
567# The HP-UX ksh and POSIX shell print the target directory to stdout
568# if CDPATH is set.
569(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
571if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578 then
579 break
580 fi
581 done
582 fi
583
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
587 :
588 else
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
592 #
593 # So, first we look for a working echo in the user's PATH.
594
595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596 for dir in $PATH /usr/ucb; do
597 IFS="$lt_save_ifs"
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
602 ECHO="$dir/echo"
603 break
604 fi
605 done
606 IFS="$lt_save_ifs"
607
608 if test "X$ECHO" = Xecho; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
614 ECHO='print -r'
615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X/bin/ksh; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL=/bin/ksh
621 export CONFIG_SHELL
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623 else
624 # Try using printf.
625 ECHO='printf %s\n'
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
629 # Cool, printf works
630 :
631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636 export CONFIG_SHELL
637 SHELL="$CONFIG_SHELL"
638 export SHELL
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO="$CONFIG_SHELL $0 --fallback-echo"
645 else
646 # maybe with a smaller string...
647 prev=:
648
649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651 then
652 break
653 fi
654 prev="$cmd"
655 done
656
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661 else
662 # Oops. We lost completely, so just stick with echo.
663 ECHO=echo
664 fi
665 fi
666 fi
667 fi
668 fi
669fi
670
671# Copy echo and quote the copy suitably for passing to libtool from
672# the Makefile, instead of quoting the original, which is used later.
673lt_ECHO=$ECHO
674if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676fi
677
678
679
680
681test -n "$DJDIR" || exec 7<&0 </dev/null
682exec 6>&1
683
684# Name of the host.
685# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686# so uname gets run too.
687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688
689#
690# Initializations.
691#
692ac_default_prefix=/usr/local
693ac_clean_files=
694ac_config_libobj_dir=.
695LIBOBJS=
696cross_compiling=no
697subdirs=
698MFLAGS=
699MAKEFLAGS=
700
701# Identity of this package.
702PACKAGE_NAME='ecore'
703PACKAGE_TARNAME='ecore'
704PACKAGE_VERSION='1.1.0'
705PACKAGE_STRING='ecore 1.1.0'
706PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
707PACKAGE_URL=''
708
709ac_unique_file="configure.ac"
710# Factoring default headers for most tests.
711ac_includes_default="\
712#include <stdio.h>
713#ifdef HAVE_SYS_TYPES_H
714# include <sys/types.h>
715#endif
716#ifdef HAVE_SYS_STAT_H
717# include <sys/stat.h>
718#endif
719#ifdef STDC_HEADERS
720# include <stdlib.h>
721# include <stddef.h>
722#else
723# ifdef HAVE_STDLIB_H
724# include <stdlib.h>
725# endif
726#endif
727#ifdef HAVE_STRING_H
728# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729# include <memory.h>
730# endif
731# include <string.h>
732#endif
733#ifdef HAVE_STRINGS_H
734# include <strings.h>
735#endif
736#ifdef HAVE_INTTYPES_H
737# include <inttypes.h>
738#endif
739#ifdef HAVE_STDINT_H
740# include <stdint.h>
741#endif
742#ifdef HAVE_UNISTD_H
743# include <unistd.h>
744#endif"
745
746gt_needs=
747ac_subst_vars='am__EXEEXT_FALSE
748am__EXEEXT_TRUE
749LTLIBOBJS
750LIBOBJS
751requirements_ecore_imf_xim
752requirements_ecore_wince
753requirements_ecore_win32
754requirements_ecore_x
755requirements_ecore_psl1ght
756requirements_ecore_sdl
757requirements_ecore_cocoa
758requirements_ecore_ipc
759requirements_ecore_input_evas
760requirements_ecore_input
761requirements_ecore_imf_evas
762requirements_ecore_imf
763requirements_ecore_file
764requirements_ecore_fb
765requirements_ecore_evas
766requirements_ecore_directfb
767requirements_ecore_con
768requirements_ecore
769EFL_INSTALL_EXAMPLES_FALSE
770EFL_INSTALL_EXAMPLES_TRUE
771EFL_BUILD_EXAMPLES_FALSE
772EFL_BUILD_EXAMPLES_TRUE
773XCB_X11_LIBS
774XCB_X11_CFLAGS
775ecore_evas_libs
776ecore_evas_cflags
777BUILD_ECORE_EVAS_FALSE
778BUILD_ECORE_EVAS_TRUE
779ecore_wince_libs
780ecore_wince_cflags
781BUILD_ECORE_WINCE_FALSE
782BUILD_ECORE_WINCE_TRUE
783ecore_directfb_libs
784ecore_directfb_cflags
785BUILD_ECORE_DIRECTFB_FALSE
786BUILD_ECORE_DIRECTFB_TRUE
787TSLIB_LIBS
788TSLIB_CFLAGS
789ecore_fb_libs
790ecore_fb_cflags
791BUILD_ECORE_FB_FALSE
792BUILD_ECORE_FB_TRUE
793ecore_psl1ght_libs
794ecore_psl1ght_cflags
795BUILD_ECORE_PSL1GHT_FALSE
796BUILD_ECORE_PSL1GHT_TRUE
797ecore_sdl_libs
798ecore_sdl_cflags
799BUILD_ECORE_SDL_FALSE
800BUILD_ECORE_SDL_TRUE
801ecore_cocoa_libs
802ecore_cocoa_cflags
803BUILD_ECORE_COCOA_FALSE
804BUILD_ECORE_COCOA_TRUE
805ecore_win32_libs
806ecore_win32_cflags
807BUILD_ECORE_WIN32_FALSE
808BUILD_ECORE_WIN32_TRUE
809ecore_x_libs
810ecore_x_cflags
811BUILD_ECORE_X_FALSE
812BUILD_ECORE_X_TRUE
813ecore_imf_xim_libs
814ecore_imf_xim_cflags
815BUILD_ECORE_IMF_XIM_FALSE
816BUILD_ECORE_IMF_XIM_TRUE
817ecore_input_evas_libs
818ecore_input_evas_cflags
819BUILD_ECORE_INPUT_EVAS_FALSE
820BUILD_ECORE_INPUT_EVAS_TRUE
821ecore_input_libs
822ecore_input_cflags
823BUILD_ECORE_INPUT_FALSE
824BUILD_ECORE_INPUT_TRUE
825ecore_imf_evas_libs
826ecore_imf_evas_cflags
827BUILD_ECORE_IMF_EVAS_FALSE
828BUILD_ECORE_IMF_EVAS_TRUE
829ecore_imf_libs
830ecore_imf_cflags
831BUILD_ECORE_IMF_FALSE
832BUILD_ECORE_IMF_TRUE
833BUILD_ECORE_CONFIG_FALSE
834BUILD_ECORE_CONFIG_TRUE
835ecore_file_libs
836ecore_file_cflags
837BUILD_ECORE_FILE_FALSE
838BUILD_ECORE_FILE_TRUE
839ecore_ipc_libs
840ecore_ipc_cflags
841BUILD_ECORE_IPC_FALSE
842BUILD_ECORE_IPC_TRUE
843HAVE_CARES_FALSE
844HAVE_CARES_TRUE
845CARES_LIBS
846CARES_CFLAGS
847SSL_LIBS
848SSL_CFLAGS
849LIBGCRYPT_LIBS
850LIBGCRYPT_CFLAGS
851LIBGCRYPT_CONFIG
852TLS2_LIBS
853TLS2_CFLAGS
854TLS_LIBS
855TLS_CFLAGS
856CURL_LIBS
857CURL_CFLAGS
858ecore_con_libs
859ecore_con_cflags
860BUILD_ECORE_CON_FALSE
861BUILD_ECORE_CON_TRUE
862ALLOCA
863lt_enable_auto_import
864WIN32_CFLAGS
865WIN32_CPPFLAGS
866EFL_PTHREAD_LIBS
867EFL_PTHREAD_CFLAGS
868cocoa_ldflags
869EVAS_LIBS
870EVAS_CFLAGS
871BUILD_ECORE_X_XCB_FALSE
872BUILD_ECORE_X_XCB_TRUE
873BUILD_ECORE_X_XLIB_FALSE
874BUILD_ECORE_X_XLIB_TRUE
875ecore_x_libs_private
876x_libs
877x_includes
878x_cflags
879XI2_LIBS
880XI2_CFLAGS
881XSS_LIBS
882XSS_CFLAGS
883XTEST_LIBS
884XTEST_CFLAGS
885XRENDER_LIBS
886XRENDER_CFLAGS
887XGESTURE_LIBS
888XGESTURE_CFLAGS
889XRANDR_LIBS
890XRANDR_CFLAGS
891XPRINT_LIBS
892XPRINT_CFLAGS
893XINERAMA_LIBS
894XINERAMA_CFLAGS
895XFIXES_LIBS
896XFIXES_CFLAGS
897XDPMS_LIBS
898XDPMS_CFLAGS
899XDAMAGE_LIBS
900XDAMAGE_CFLAGS
901XCOMPOSITE_LIBS
902XCOMPOSITE_CFLAGS
903XKB_LIBS
904XKB_CFLAGS
905Xcursor_libs
906Xcursor_cflags
907X_EXTRA_LIBS
908X_LIBS
909X_PRE_LIBS
910X_CFLAGS
911XMKMF
912have_ecore_x_xcb_define
913XCB_CURSOR_LIBS
914XCB_CURSOR_CFLAGS
915XCB_XINPUT_LIBS
916XCB_XINPUT_CFLAGS
917XCB_XTEST_LIBS
918XCB_XTEST_CFLAGS
919XCB_XPRINT_LIBS
920XCB_XPRINT_CFLAGS
921XCB_XINERAMA_LIBS
922XCB_XINERAMA_CFLAGS
923XCB_XFIXES_LIBS
924XCB_XFIXES_CFLAGS
925XCB_SYNC_LIBS
926XCB_SYNC_CFLAGS
927XCB_XGESTURE_LIBS
928XCB_XGESTURE_CFLAGS
929XCB_SHAPE_LIBS
930XCB_SHAPE_CFLAGS
931XCB_SCREENSAVER_LIBS
932XCB_SCREENSAVER_CFLAGS
933XCB_RENDER_LIBS
934XCB_RENDER_CFLAGS
935XCB_RANDR_LIBS
936XCB_RANDR_CFLAGS
937XCB_DPMS_LIBS
938XCB_DPMS_CFLAGS
939XCB_DAMAGE_LIBS
940XCB_DAMAGE_CFLAGS
941XCB_COMPOSITE_LIBS
942XCB_COMPOSITE_CFLAGS
943PIXMAN_LIBS
944PIXMAN_CFLAGS
945ECORE_XCB_LIBS
946ECORE_XCB_CFLAGS
947KEYSYMDEFS
948DIRECTFB_LIBS
949DIRECTFB_CFLAGS
950SDL_CONFIG
951SDL_LIBS
952SDL_CFLAGS
953GLIB_LIBS
954GLIB_CFLAGS
955EINA_LIBS
956EINA_CFLAGS
957rt_libs
958dlopen_libs
959WIN32_LIBS
960ECORE_HAVE_PS3_FALSE
961ECORE_HAVE_PS3_TRUE
962ECORE_HAVE_WIN32_FALSE
963ECORE_HAVE_WIN32_TRUE
964ECORE_HAVE_WINCE_FALSE
965ECORE_HAVE_WINCE_TRUE
966EFL_ECORE_PSL1GHT_BUILD
967EFL_ECORE_SDL_BUILD
968EFL_ECORE_WIN32_BUILD
969EFL_ECORE_WINCE_BUILD
970EFL_ECORE_IPC_BUILD
971EFL_ECORE_INPUT_EVAS_BUILD
972EFL_ECORE_INPUT_BUILD
973EFL_ECORE_IMF_EVAS_BUILD
974EFL_ECORE_IMF_BUILD
975EFL_ECORE_FILE_BUILD
976EFL_ECORE_EVAS_BUILD
977EFL_ECORE_CON_BUILD
978EFL_ECORE_BUILD
979ESCAPE_LIBS
980ESCAPE_CFLAGS
981EVIL_LIBS
982EVIL_CFLAGS
983pkgconfig_requires_private
984EFL_BUILD_DOC_FALSE
985EFL_BUILD_DOC_TRUE
986efl_doxygen
987efl_have_doxygen
988CXXCPP
989am__fastdepCXX_FALSE
990am__fastdepCXX_TRUE
991CXXDEPMODE
992ac_ct_CXX
993CXXFLAGS
994CXX
995am__fastdepOBJC_FALSE
996am__fastdepOBJC_TRUE
997OBJCDEPMODE
998ac_ct_OBJC
999OBJCFLAGS
1000OBJC
1001EFL_ENABLE_TESTS_FALSE
1002EFL_ENABLE_TESTS_TRUE
1003CHECK_LIBS
1004CHECK_CFLAGS
1005PKG_CONFIG_LIBDIR
1006PKG_CONFIG_PATH
1007PKG_CONFIG
1008HAVE_PO_FALSE
1009HAVE_PO_TRUE
1010POSUB
1011LTLIBINTL
1012LIBINTL
1013INTLLIBS
1014LTLIBICONV
1015LIBICONV
1016INTL_MACOSX_LIBS
1017XGETTEXT_EXTRA_OPTIONS
1018MSGMERGE
1019XGETTEXT_015
1020XGETTEXT
1021GMSGFMT_015
1022MSGFMT_015
1023GMSGFMT
1024MSGFMT
1025GETTEXT_MACRO_VERSION
1026USE_NLS
1027VMAJ
1028release_info
1029version_info
1030OTOOL64
1031OTOOL
1032LIPO
1033NMEDIT
1034DSYMUTIL
1035lt_ECHO
1036RANLIB
1037AR
1038LN_S
1039NM
1040ac_ct_DUMPBIN
1041DUMPBIN
1042LD
1043FGREP
1044SED
1045LIBTOOL
1046OBJDUMP
1047DLLTOOL
1048AS
1049host_os
1050host_vendor
1051host_cpu
1052host
1053build_os
1054build_vendor
1055build_cpu
1056build
1057EGREP
1058GREP
1059CPP
1060am__fastdepCC_FALSE
1061am__fastdepCC_TRUE
1062CCDEPMODE
1063AMDEPBACKSLASH
1064AMDEP_FALSE
1065AMDEP_TRUE
1066am__quote
1067am__include
1068DEPDIR
1069OBJEXT
1070EXEEXT
1071ac_ct_CC
1072CPPFLAGS
1073LDFLAGS
1074CFLAGS
1075CC
1076AM_BACKSLASH
1077AM_DEFAULT_VERBOSITY
1078am__untar
1079am__tar
1080AMTAR
1081am__leading_dot
1082SET_MAKE
1083AWK
1084mkdir_p
1085MKDIR_P
1086INSTALL_STRIP_PROGRAM
1087STRIP
1088install_sh
1089MAKEINFO
1090AUTOHEADER
1091AUTOMAKE
1092AUTOCONF
1093ACLOCAL
1094VERSION
1095PACKAGE
1096CYGPATH_W
1097am__isrc
1098INSTALL_DATA
1099INSTALL_SCRIPT
1100INSTALL_PROGRAM
1101target_alias
1102host_alias
1103build_alias
1104LIBS
1105ECHO_T
1106ECHO_N
1107ECHO_C
1108DEFS
1109mandir
1110localedir
1111libdir
1112psdir
1113pdfdir
1114dvidir
1115htmldir
1116infodir
1117docdir
1118oldincludedir
1119includedir
1120localstatedir
1121sharedstatedir
1122sysconfdir
1123datadir
1124datarootdir
1125libexecdir
1126sbindir
1127bindir
1128program_transform_name
1129prefix
1130exec_prefix
1131PACKAGE_URL
1132PACKAGE_BUGREPORT
1133PACKAGE_STRING
1134PACKAGE_VERSION
1135PACKAGE_TARNAME
1136PACKAGE_NAME
1137PATH_SEPARATOR
1138SHELL'
1139ac_subst_files=''
1140ac_user_opts='
1141enable_option_checking
1142enable_silent_rules
1143enable_dependency_tracking
1144enable_shared
1145enable_static
1146with_pic
1147enable_fast_install
1148with_gnu_ld
1149enable_libtool_lock
1150enable_nls
1151enable_rpath
1152with_libiconv_prefix
1153with_libintl_prefix
1154with_internal_maximum_log_level
1155enable_glib_integration_always
1156enable_g_main_loop
1157enable_local_sockets
1158enable_abstract_sockets
1159enable_simple_x11
1160enable_xim
1161enable_tests
1162enable_doc
1163with_doxygen
1164enable_ecore_timer_dump
1165enable_glib
1166with_sdl_config
1167enable_ecore_x_composite
1168enable_ecore_x_damage
1169enable_ecore_x_dpms
1170enable_ecore_x_randr
1171enable_ecore_x_render
1172enable_ecore_x_screensaver
1173enable_ecore_x_shape
1174enable_ecore_x_gesture
1175enable_ecore_x_sync
1176enable_ecore_x_xfixes
1177enable_ecore_x_xinerama
1178enable_ecore_x_xprint
1179enable_ecore_x_xtest
1180enable_ecore_x_cursor
1181enable_ecore_x_input
1182enable_ecore_x_dri
1183enable_ecore_x_xcb
1184with_iconv_link
1185with_x
1186enable_largefile
1187enable_epoll
1188enable_posix_threads
1189enable_win32_threads
1190enable_debug_threads
1191enable_thread_safety
1192enable_atfile_source
1193enable_ecore_con
1194enable_ipv6
1195enable_curl
1196enable_gnutls
1197with_libgcrypt_prefix
1198with_libgcrypt_exec_prefix
1199enable_openssl
1200enable_cares
1201enable_ecore_ipc
1202enable_ecore_file
1203enable_poll
1204enable_inotify
1205enable_notify_win32
1206enable_ecore_imf
1207enable_ecore_imf_evas
1208enable_ecore_input
1209enable_ecore_input_evas
1210enable_ecore_imf_xim
1211enable_ecore_x
1212enable_ecore_win32
1213enable_ecore_cocoa
1214enable_ecore_sdl
1215enable_ecore_psl1ght
1216enable_ecore_fb
1217enable_tslib
1218enable_ecore_directfb
1219enable_ecore_wince
1220enable_ecore_evas
1221enable_ecore_evas_software_buffer
1222enable_ecore_evas_software_x11
1223enable_ecore_evas_opengl_x11
1224enable_ecore_evas_software_16_x11
1225enable_ecore_evas_software_8_x11
1226enable_ecore_evas_software_gdi
1227enable_ecore_evas_software_ddraw
1228enable_ecore_evas_direct3d
1229enable_ecore_evas_opengl_glew
1230enable_ecore_evas_software_16_ddraw
1231enable_ecore_evas_software_sdl
1232enable_ecore_evas_opengl_sdl
1233enable_ecore_evas_opengl_cocoa
1234enable_ecore_evas_directfb
1235enable_ecore_evas_fb
1236enable_ecore_evas_software_16_wince
1237enable_ecore_evas_ews
1238enable_ecore_evas_psl1ght
1239enable_build_examples
1240enable_install_examples
1241'
1242 ac_precious_vars='build_alias
1243host_alias
1244target_alias
1245CC
1246CFLAGS
1247LDFLAGS
1248LIBS
1249CPPFLAGS
1250CPP
1251PKG_CONFIG
1252PKG_CONFIG_PATH
1253PKG_CONFIG_LIBDIR
1254CHECK_CFLAGS
1255CHECK_LIBS
1256OBJC
1257OBJCFLAGS
1258CXX
1259CXXFLAGS
1260CCC
1261CXXCPP
1262EVIL_CFLAGS
1263EVIL_LIBS
1264ESCAPE_CFLAGS
1265ESCAPE_LIBS
1266EINA_CFLAGS
1267EINA_LIBS
1268GLIB_CFLAGS
1269GLIB_LIBS
1270SDL_CFLAGS
1271SDL_LIBS
1272DIRECTFB_CFLAGS
1273DIRECTFB_LIBS
1274ECORE_XCB_CFLAGS
1275ECORE_XCB_LIBS
1276PIXMAN_CFLAGS
1277PIXMAN_LIBS
1278XCB_COMPOSITE_CFLAGS
1279XCB_COMPOSITE_LIBS
1280XCB_DAMAGE_CFLAGS
1281XCB_DAMAGE_LIBS
1282XCB_DPMS_CFLAGS
1283XCB_DPMS_LIBS
1284XCB_RANDR_CFLAGS
1285XCB_RANDR_LIBS
1286XCB_RENDER_CFLAGS
1287XCB_RENDER_LIBS
1288XCB_SCREENSAVER_CFLAGS
1289XCB_SCREENSAVER_LIBS
1290XCB_SHAPE_CFLAGS
1291XCB_SHAPE_LIBS
1292XCB_XGESTURE_CFLAGS
1293XCB_XGESTURE_LIBS
1294XCB_SYNC_CFLAGS
1295XCB_SYNC_LIBS
1296XCB_XFIXES_CFLAGS
1297XCB_XFIXES_LIBS
1298XCB_XINERAMA_CFLAGS
1299XCB_XINERAMA_LIBS
1300XCB_XPRINT_CFLAGS
1301XCB_XPRINT_LIBS
1302XCB_XTEST_CFLAGS
1303XCB_XTEST_LIBS
1304XCB_XINPUT_CFLAGS
1305XCB_XINPUT_LIBS
1306XCB_CURSOR_CFLAGS
1307XCB_CURSOR_LIBS
1308XMKMF
1309EVAS_CFLAGS
1310EVAS_LIBS
1311CURL_CFLAGS
1312CURL_LIBS
1313TLS_CFLAGS
1314TLS_LIBS
1315TLS2_CFLAGS
1316TLS2_LIBS
1317SSL_CFLAGS
1318SSL_LIBS
1319CARES_CFLAGS
1320CARES_LIBS
1321TSLIB_CFLAGS
1322TSLIB_LIBS
1323XCB_X11_CFLAGS
1324XCB_X11_LIBS'
1325
1326
1327# Initialize some variables set by options.
1328ac_init_help=
1329ac_init_version=false
1330ac_unrecognized_opts=
1331ac_unrecognized_sep=
1332# The variables have the same names as the options, with
1333# dashes changed to underlines.
1334cache_file=/dev/null
1335exec_prefix=NONE
1336no_create=
1337no_recursion=
1338prefix=NONE
1339program_prefix=NONE
1340program_suffix=NONE
1341program_transform_name=s,x,x,
1342silent=
1343site=
1344srcdir=
1345verbose=
1346x_includes=NONE
1347x_libraries=NONE
1348
1349# Installation directory options.
1350# These are left unexpanded so users can "make install exec_prefix=/foo"
1351# and all the variables that are supposed to be based on exec_prefix
1352# by default will actually change.
1353# Use braces instead of parens because sh, perl, etc. also accept them.
1354# (The list follows the same order as the GNU Coding Standards.)
1355bindir='${exec_prefix}/bin'
1356sbindir='${exec_prefix}/sbin'
1357libexecdir='${exec_prefix}/libexec'
1358datarootdir='${prefix}/share'
1359datadir='${datarootdir}'
1360sysconfdir='${prefix}/etc'
1361sharedstatedir='${prefix}/com'
1362localstatedir='${prefix}/var'
1363includedir='${prefix}/include'
1364oldincludedir='/usr/include'
1365docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1366infodir='${datarootdir}/info'
1367htmldir='${docdir}'
1368dvidir='${docdir}'
1369pdfdir='${docdir}'
1370psdir='${docdir}'
1371libdir='${exec_prefix}/lib'
1372localedir='${datarootdir}/locale'
1373mandir='${datarootdir}/man'
1374
1375ac_prev=
1376ac_dashdash=
1377for ac_option
1378do
1379 # If the previous option needs an argument, assign it.
1380 if test -n "$ac_prev"; then
1381 eval $ac_prev=\$ac_option
1382 ac_prev=
1383 continue
1384 fi
1385
1386 case $ac_option in
1387 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1388 *=) ac_optarg= ;;
1389 *) ac_optarg=yes ;;
1390 esac
1391
1392 # Accept the important Cygnus configure options, so we can diagnose typos.
1393
1394 case $ac_dashdash$ac_option in
1395 --)
1396 ac_dashdash=yes ;;
1397
1398 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1399 ac_prev=bindir ;;
1400 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1401 bindir=$ac_optarg ;;
1402
1403 -build | --build | --buil | --bui | --bu)
1404 ac_prev=build_alias ;;
1405 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1406 build_alias=$ac_optarg ;;
1407
1408 -cache-file | --cache-file | --cache-fil | --cache-fi \
1409 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1410 ac_prev=cache_file ;;
1411 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1412 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1413 cache_file=$ac_optarg ;;
1414
1415 --config-cache | -C)
1416 cache_file=config.cache ;;
1417
1418 -datadir | --datadir | --datadi | --datad)
1419 ac_prev=datadir ;;
1420 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1421 datadir=$ac_optarg ;;
1422
1423 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1424 | --dataroo | --dataro | --datar)
1425 ac_prev=datarootdir ;;
1426 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1427 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1428 datarootdir=$ac_optarg ;;
1429
1430 -disable-* | --disable-*)
1431 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1432 # Reject names that are not valid shell variable names.
1433 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1434 as_fn_error $? "invalid feature name: $ac_useropt"
1435 ac_useropt_orig=$ac_useropt
1436 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1437 case $ac_user_opts in
1438 *"
1439"enable_$ac_useropt"
1440"*) ;;
1441 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1442 ac_unrecognized_sep=', ';;
1443 esac
1444 eval enable_$ac_useropt=no ;;
1445
1446 -docdir | --docdir | --docdi | --doc | --do)
1447 ac_prev=docdir ;;
1448 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1449 docdir=$ac_optarg ;;
1450
1451 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1452 ac_prev=dvidir ;;
1453 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1454 dvidir=$ac_optarg ;;
1455
1456 -enable-* | --enable-*)
1457 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1460 as_fn_error $? "invalid feature name: $ac_useropt"
1461 ac_useropt_orig=$ac_useropt
1462 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1463 case $ac_user_opts in
1464 *"
1465"enable_$ac_useropt"
1466"*) ;;
1467 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1468 ac_unrecognized_sep=', ';;
1469 esac
1470 eval enable_$ac_useropt=\$ac_optarg ;;
1471
1472 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1473 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1474 | --exec | --exe | --ex)
1475 ac_prev=exec_prefix ;;
1476 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1477 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1478 | --exec=* | --exe=* | --ex=*)
1479 exec_prefix=$ac_optarg ;;
1480
1481 -gas | --gas | --ga | --g)
1482 # Obsolete; use --with-gas.
1483 with_gas=yes ;;
1484
1485 -help | --help | --hel | --he | -h)
1486 ac_init_help=long ;;
1487 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1488 ac_init_help=recursive ;;
1489 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1490 ac_init_help=short ;;
1491
1492 -host | --host | --hos | --ho)
1493 ac_prev=host_alias ;;
1494 -host=* | --host=* | --hos=* | --ho=*)
1495 host_alias=$ac_optarg ;;
1496
1497 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1498 ac_prev=htmldir ;;
1499 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1500 | --ht=*)
1501 htmldir=$ac_optarg ;;
1502
1503 -includedir | --includedir | --includedi | --included | --include \
1504 | --includ | --inclu | --incl | --inc)
1505 ac_prev=includedir ;;
1506 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1507 | --includ=* | --inclu=* | --incl=* | --inc=*)
1508 includedir=$ac_optarg ;;
1509
1510 -infodir | --infodir | --infodi | --infod | --info | --inf)
1511 ac_prev=infodir ;;
1512 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1513 infodir=$ac_optarg ;;
1514
1515 -libdir | --libdir | --libdi | --libd)
1516 ac_prev=libdir ;;
1517 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1518 libdir=$ac_optarg ;;
1519
1520 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1521 | --libexe | --libex | --libe)
1522 ac_prev=libexecdir ;;
1523 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1524 | --libexe=* | --libex=* | --libe=*)
1525 libexecdir=$ac_optarg ;;
1526
1527 -localedir | --localedir | --localedi | --localed | --locale)
1528 ac_prev=localedir ;;
1529 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1530 localedir=$ac_optarg ;;
1531
1532 -localstatedir | --localstatedir | --localstatedi | --localstated \
1533 | --localstate | --localstat | --localsta | --localst | --locals)
1534 ac_prev=localstatedir ;;
1535 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1536 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1537 localstatedir=$ac_optarg ;;
1538
1539 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1540 ac_prev=mandir ;;
1541 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1542 mandir=$ac_optarg ;;
1543
1544 -nfp | --nfp | --nf)
1545 # Obsolete; use --without-fp.
1546 with_fp=no ;;
1547
1548 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1549 | --no-cr | --no-c | -n)
1550 no_create=yes ;;
1551
1552 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1553 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1554 no_recursion=yes ;;
1555
1556 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1557 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1558 | --oldin | --oldi | --old | --ol | --o)
1559 ac_prev=oldincludedir ;;
1560 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1561 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1562 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1563 oldincludedir=$ac_optarg ;;
1564
1565 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1566 ac_prev=prefix ;;
1567 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1568 prefix=$ac_optarg ;;
1569
1570 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1571 | --program-pre | --program-pr | --program-p)
1572 ac_prev=program_prefix ;;
1573 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1574 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1575 program_prefix=$ac_optarg ;;
1576
1577 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1578 | --program-suf | --program-su | --program-s)
1579 ac_prev=program_suffix ;;
1580 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1581 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1582 program_suffix=$ac_optarg ;;
1583
1584 -program-transform-name | --program-transform-name \
1585 | --program-transform-nam | --program-transform-na \
1586 | --program-transform-n | --program-transform- \
1587 | --program-transform | --program-transfor \
1588 | --program-transfo | --program-transf \
1589 | --program-trans | --program-tran \
1590 | --progr-tra | --program-tr | --program-t)
1591 ac_prev=program_transform_name ;;
1592 -program-transform-name=* | --program-transform-name=* \
1593 | --program-transform-nam=* | --program-transform-na=* \
1594 | --program-transform-n=* | --program-transform-=* \
1595 | --program-transform=* | --program-transfor=* \
1596 | --program-transfo=* | --program-transf=* \
1597 | --program-trans=* | --program-tran=* \
1598 | --progr-tra=* | --program-tr=* | --program-t=*)
1599 program_transform_name=$ac_optarg ;;
1600
1601 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1602 ac_prev=pdfdir ;;
1603 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1604 pdfdir=$ac_optarg ;;
1605
1606 -psdir | --psdir | --psdi | --psd | --ps)
1607 ac_prev=psdir ;;
1608 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1609 psdir=$ac_optarg ;;
1610
1611 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1612 | -silent | --silent | --silen | --sile | --sil)
1613 silent=yes ;;
1614
1615 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1616 ac_prev=sbindir ;;
1617 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1618 | --sbi=* | --sb=*)
1619 sbindir=$ac_optarg ;;
1620
1621 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1622 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1623 | --sharedst | --shareds | --shared | --share | --shar \
1624 | --sha | --sh)
1625 ac_prev=sharedstatedir ;;
1626 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1627 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1628 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1629 | --sha=* | --sh=*)
1630 sharedstatedir=$ac_optarg ;;
1631
1632 -site | --site | --sit)
1633 ac_prev=site ;;
1634 -site=* | --site=* | --sit=*)
1635 site=$ac_optarg ;;
1636
1637 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1638 ac_prev=srcdir ;;
1639 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1640 srcdir=$ac_optarg ;;
1641
1642 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1643 | --syscon | --sysco | --sysc | --sys | --sy)
1644 ac_prev=sysconfdir ;;
1645 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1646 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1647 sysconfdir=$ac_optarg ;;
1648
1649 -target | --target | --targe | --targ | --tar | --ta | --t)
1650 ac_prev=target_alias ;;
1651 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1652 target_alias=$ac_optarg ;;
1653
1654 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1655 verbose=yes ;;
1656
1657 -version | --version | --versio | --versi | --vers | -V)
1658 ac_init_version=: ;;
1659
1660 -with-* | --with-*)
1661 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1662 # Reject names that are not valid shell variable names.
1663 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1664 as_fn_error $? "invalid package name: $ac_useropt"
1665 ac_useropt_orig=$ac_useropt
1666 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1667 case $ac_user_opts in
1668 *"
1669"with_$ac_useropt"
1670"*) ;;
1671 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1672 ac_unrecognized_sep=', ';;
1673 esac
1674 eval with_$ac_useropt=\$ac_optarg ;;
1675
1676 -without-* | --without-*)
1677 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1678 # Reject names that are not valid shell variable names.
1679 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1680 as_fn_error $? "invalid package name: $ac_useropt"
1681 ac_useropt_orig=$ac_useropt
1682 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1683 case $ac_user_opts in
1684 *"
1685"with_$ac_useropt"
1686"*) ;;
1687 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1688 ac_unrecognized_sep=', ';;
1689 esac
1690 eval with_$ac_useropt=no ;;
1691
1692 --x)
1693 # Obsolete; use --with-x.
1694 with_x=yes ;;
1695
1696 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1697 | --x-incl | --x-inc | --x-in | --x-i)
1698 ac_prev=x_includes ;;
1699 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1700 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1701 x_includes=$ac_optarg ;;
1702
1703 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1704 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1705 ac_prev=x_libraries ;;
1706 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1707 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1708 x_libraries=$ac_optarg ;;
1709
1710 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1711Try \`$0 --help' for more information"
1712 ;;
1713
1714 *=*)
1715 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1716 # Reject names that are not valid shell variable names.
1717 case $ac_envvar in #(
1718 '' | [0-9]* | *[!_$as_cr_alnum]* )
1719 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1720 esac
1721 eval $ac_envvar=\$ac_optarg
1722 export $ac_envvar ;;
1723
1724 *)
1725 # FIXME: should be removed in autoconf 3.0.
1726 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1727 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1728 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1729 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1730 ;;
1731
1732 esac
1733done
1734
1735if test -n "$ac_prev"; then
1736 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1737 as_fn_error $? "missing argument to $ac_option"
1738fi
1739
1740if test -n "$ac_unrecognized_opts"; then
1741 case $enable_option_checking in
1742 no) ;;
1743 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1744 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1745 esac
1746fi
1747
1748# Check all directory arguments for consistency.
1749for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1750 datadir sysconfdir sharedstatedir localstatedir includedir \
1751 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1752 libdir localedir mandir
1753do
1754 eval ac_val=\$$ac_var
1755 # Remove trailing slashes.
1756 case $ac_val in
1757 */ )
1758 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1759 eval $ac_var=\$ac_val;;
1760 esac
1761 # Be sure to have absolute directory names.
1762 case $ac_val in
1763 [\\/$]* | ?:[\\/]* ) continue;;
1764 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1765 esac
1766 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1767done
1768
1769# There might be people who depend on the old broken behavior: `$host'
1770# used to hold the argument of --host etc.
1771# FIXME: To remove some day.
1772build=$build_alias
1773host=$host_alias
1774target=$target_alias
1775
1776# FIXME: To remove some day.
1777if test "x$host_alias" != x; then
1778 if test "x$build_alias" = x; then
1779 cross_compiling=maybe
1780 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1781 If a cross compiler is detected then cross compile mode will be used" >&2
1782 elif test "x$build_alias" != "x$host_alias"; then
1783 cross_compiling=yes
1784 fi
1785fi
1786
1787ac_tool_prefix=
1788test -n "$host_alias" && ac_tool_prefix=$host_alias-
1789
1790test "$silent" = yes && exec 6>/dev/null
1791
1792
1793ac_pwd=`pwd` && test -n "$ac_pwd" &&
1794ac_ls_di=`ls -di .` &&
1795ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1796 as_fn_error $? "working directory cannot be determined"
1797test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1798 as_fn_error $? "pwd does not report name of working directory"
1799
1800
1801# Find the source files, if location was not specified.
1802if test -z "$srcdir"; then
1803 ac_srcdir_defaulted=yes
1804 # Try the directory containing this script, then the parent directory.
1805 ac_confdir=`$as_dirname -- "$as_myself" ||
1806$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1807 X"$as_myself" : 'X\(//\)[^/]' \| \
1808 X"$as_myself" : 'X\(//\)$' \| \
1809 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1810$as_echo X"$as_myself" |
1811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1812 s//\1/
1813 q
1814 }
1815 /^X\(\/\/\)[^/].*/{
1816 s//\1/
1817 q
1818 }
1819 /^X\(\/\/\)$/{
1820 s//\1/
1821 q
1822 }
1823 /^X\(\/\).*/{
1824 s//\1/
1825 q
1826 }
1827 s/.*/./; q'`
1828 srcdir=$ac_confdir
1829 if test ! -r "$srcdir/$ac_unique_file"; then
1830 srcdir=..
1831 fi
1832else
1833 ac_srcdir_defaulted=no
1834fi
1835if test ! -r "$srcdir/$ac_unique_file"; then
1836 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1837 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1838fi
1839ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1840ac_abs_confdir=`(
1841 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1842 pwd)`
1843# When building in place, set srcdir=.
1844if test "$ac_abs_confdir" = "$ac_pwd"; then
1845 srcdir=.
1846fi
1847# Remove unnecessary trailing slashes from srcdir.
1848# Double slashes in file names in object file debugging info
1849# mess up M-x gdb in Emacs.
1850case $srcdir in
1851*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1852esac
1853for ac_var in $ac_precious_vars; do
1854 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1855 eval ac_env_${ac_var}_value=\$${ac_var}
1856 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1857 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1858done
1859
1860#
1861# Report the --help message.
1862#
1863if test "$ac_init_help" = "long"; then
1864 # Omit some internal or obsolete options to make the list less imposing.
1865 # This message is too long to be a string in the A/UX 3.1 sh.
1866 cat <<_ACEOF
1867\`configure' configures ecore 1.1.0 to adapt to many kinds of systems.
1868
1869Usage: $0 [OPTION]... [VAR=VALUE]...
1870
1871To assign environment variables (e.g., CC, CFLAGS...), specify them as
1872VAR=VALUE. See below for descriptions of some of the useful variables.
1873
1874Defaults for the options are specified in brackets.
1875
1876Configuration:
1877 -h, --help display this help and exit
1878 --help=short display options specific to this package
1879 --help=recursive display the short help of all the included packages
1880 -V, --version display version information and exit
1881 -q, --quiet, --silent do not print \`checking ...' messages
1882 --cache-file=FILE cache test results in FILE [disabled]
1883 -C, --config-cache alias for \`--cache-file=config.cache'
1884 -n, --no-create do not create output files
1885 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1886
1887Installation directories:
1888 --prefix=PREFIX install architecture-independent files in PREFIX
1889 [$ac_default_prefix]
1890 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1891 [PREFIX]
1892
1893By default, \`make install' will install all the files in
1894\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1895an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1896for instance \`--prefix=\$HOME'.
1897
1898For better control, use the options below.
1899
1900Fine tuning of the installation directories:
1901 --bindir=DIR user executables [EPREFIX/bin]
1902 --sbindir=DIR system admin executables [EPREFIX/sbin]
1903 --libexecdir=DIR program executables [EPREFIX/libexec]
1904 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1905 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1906 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1907 --libdir=DIR object code libraries [EPREFIX/lib]
1908 --includedir=DIR C header files [PREFIX/include]
1909 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1910 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1911 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1912 --infodir=DIR info documentation [DATAROOTDIR/info]
1913 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1914 --mandir=DIR man documentation [DATAROOTDIR/man]
1915 --docdir=DIR documentation root [DATAROOTDIR/doc/ecore]
1916 --htmldir=DIR html documentation [DOCDIR]
1917 --dvidir=DIR dvi documentation [DOCDIR]
1918 --pdfdir=DIR pdf documentation [DOCDIR]
1919 --psdir=DIR ps documentation [DOCDIR]
1920_ACEOF
1921
1922 cat <<\_ACEOF
1923
1924Program names:
1925 --program-prefix=PREFIX prepend PREFIX to installed program names
1926 --program-suffix=SUFFIX append SUFFIX to installed program names
1927 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1928
1929X features:
1930 --x-includes=DIR X include files are in DIR
1931 --x-libraries=DIR X library files are in DIR
1932
1933System types:
1934 --build=BUILD configure for building on BUILD [guessed]
1935 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1936_ACEOF
1937fi
1938
1939if test -n "$ac_init_help"; then
1940 case $ac_init_help in
1941 short | recursive ) echo "Configuration of ecore 1.1.0:";;
1942 esac
1943 cat <<\_ACEOF
1944
1945Optional Features:
1946 --disable-option-checking ignore unrecognized --enable/--with options
1947 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1948 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1949 --enable-silent-rules less verbose build output (undo: `make V=1')
1950 --disable-silent-rules verbose build output (undo: `make V=0')
1951 --disable-dependency-tracking speeds up one-time build
1952 --enable-dependency-tracking do not reject slow dependency extractors
1953 --enable-shared[=PKGS] build shared libraries [default=yes]
1954 --enable-static[=PKGS] build static libraries [default=yes]
1955 --enable-fast-install[=PKGS]
1956 optimize for fast installation [default=yes]
1957 --disable-libtool-lock avoid locking (might break parallel builds)
1958 --disable-nls do not use Native Language Support
1959 --disable-rpath do not hardcode runtime library paths
1960 --enable-glib-integration-always
1961 enable glib integration when ecore_init() is called
1962 always
1963 --enable-g-main-loop ecore_main_loop based on g_main_loop
1964 --disable-local-sockets disable local sockets.
1965 --disable-abstract-sockets
1966 disable abstract sockets.
1967 --enable-simple-x11 enable simple x11 linking
1968 --disable-xim disable X Input Method.
1969 --enable-tests enable tests [default=disabled]
1970 --disable-doc Disable documentation build [default=enabled]
1971 --disable-ecore-timer-dump
1972 disable tracking of timer allocation.
1973 [default=enable]
1974 --disable-glib disable glib support. [default=detect]
1975 --disable-ecore-x-composite
1976 disable the ecore_x support for Xcomposite
1977 extension. [default=detect]
1978 --disable-ecore-x-damage
1979 disable the ecore_x support for Xdamage extension.
1980 [default=detect]
1981 --disable-ecore-x-dpms disable the ecore_x support for Xdpms extension.
1982 [default=detect]
1983 --disable-ecore-x-randr disable the ecore_x support for Xrandr extension.
1984 [default=detect]
1985 --disable-ecore-x-render
1986 disable the ecore_x support for Xrender extension.
1987 [default=detect]
1988 --disable-ecore-x-screensaver
1989 disable the ecore_x support for Xscreensaver
1990 extension. [default=detect]
1991 --disable-ecore-x-shape disable the ecore_x support for Xshape extension.
1992 [default=detect]
1993 --enable-ecore-x-gesture
1994 enable the ecore_x support for Xgesture extension.
1995 [default=detect]
1996 --disable-ecore-x-sync disable the ecore_x support for Xsync extension.
1997 [default=detect]
1998 --disable-ecore-x-xfixes
1999 disable the ecore_x support for Xfixes extension.
2000 [default=detect]
2001 --disable-ecore-x-xinerama
2002 disable the ecore_x support for Xinerama extension.
2003 [default=detect]
2004 --disable-ecore-x-xprint
2005 disable the ecore_x support for Xprint extension.
2006 [default=detect]
2007 --disable-ecore-x-xtest disable the ecore_x support for Xtest extension.
2008 [default=detect]
2009 --disable-ecore-x-cursor
2010 disable the ecore_x support for Xcursor extension.
2011 [default=detect]
2012 --disable-ecore-x-input disable the ecore_x support for Xinput/Xinput2
2013 extension. [default=detect]
2014 --disable-ecore-x-dri disable the ecore_x support for DRI extension.
2015 [default=detect]
2016 --enable-ecore-x-xcb enable the ecore_x module with XCB backend.
2017 [default=disabled]
2018 --disable-largefile omit support for large files
2019 --enable-epoll enable or disable epoll support
2020 --disable-posix-threads enable POSIX threads code [default=auto]
2021 --disable-win32-threads enable Win32 threads code [default=no]
2022 --enable-debug-threads disable assert when you forgot to call
2023 eina_threads_init
2024 --enable-thread-safety enable or disable thread safety
2025 --disable-atfile-source disable use of atfile source functions as openat and
2026 mkdirat [default=detect]
2027 --enable-ecore-con enable the ecore_con module
2028 --disable-ipv6 disable ipv6 functionality [default=detect]
2029 --disable-curl disable curl support
2030 --disable-gnutls disable gnutls support
2031 --disable-openssl disable openssl support
2032 --disable-cares disable cares support
2033 --enable-ecore-ipc enable the ecore_ipc module
2034 --enable-ecore-file enable the ecore_file module
2035 --disable-poll disable poll in the ecore_file module
2036 --disable-inotify disable inotify in the ecore_file module
2037 --disable-notify-win32 disable Windows notification in the ecore_file
2038 module
2039 --enable-ecore-imf enable the ecore_imf module
2040 --enable-ecore-imf-evas enable the ecore_imf_evas module
2041 --enable-ecore-input enable the ecore_input module
2042 --enable-ecore-input-evas
2043 enable the ecore_input_evas module
2044 --enable-ecore-imf-xim enable the ecore_imf_xim module
2045 --enable-ecore-x enable the ecore_x module
2046 --enable-ecore-win32 enable the ecore_win32 module
2047 --enable-ecore-cocoa enable the ecore_cocoa module
2048 --enable-ecore-sdl enable the ecore_sdl module
2049 --enable-ecore-psl1ght enable the ecore_psl1ght module
2050 --enable-ecore-fb enable the ecore_fb module
2051 --disable-tslib disable the tslib support in ecore (currently
2052 ecore-fb). [default=detect]
2053 --enable-ecore-directfb enable the ecore_directfb module
2054 --enable-ecore-wince enable the ecore_wince module
2055 --enable-ecore-evas enable the ecore_evas module
2056 --enable-ecore-evas-software-buffer
2057 enable Software Buffer support in the ecore_evas
2058 module.
2059 --enable-ecore-evas-software-x11
2060 enable Software X11 support in the ecore_evas
2061 module.
2062 --enable-ecore-evas-opengl-x11
2063 enable OpenGL Xlib support in the ecore_evas module.
2064 --enable-ecore-evas-software-16-x11
2065 enable Software Xlib 16 bits support in the
2066 ecore_evas module.
2067 --enable-ecore-evas-software-8-x11
2068 enable Software 8bit X11 support in the ecore_evas
2069 module.
2070 --enable-ecore-evas-software-gdi
2071 enable Software GDI support in the ecore_evas
2072 module.
2073 --enable-ecore-evas-software-ddraw
2074 enable Software DirectDraw support in the ecore_evas
2075 module.
2076 --enable-ecore-evas-direct3d
2077 enable Direct3d support in the ecore_evas module.
2078 --enable-ecore-evas-opengl-glew
2079 enable Glew OpenGL support in the ecore_evas module.
2080 --enable-ecore-evas-software-16-ddraw
2081 enable 16 bpp Software DirectDraw support in the
2082 ecore_evas module.
2083 --enable-ecore-evas-software-sdl
2084 enable Software SDL support in the ecore_evas
2085 module.
2086 --enable-ecore-evas-opengl-sdl
2087 enable OpenGL SDL support in the ecore_evas module.
2088 --enable-ecore-evas-opengl-cocoa
2089 enable OpenGL Cocoa support in the ecore_evas
2090 module.
2091 --enable-ecore-evas-directfb
2092 enable DirectFB support in the ecore_evas module.
2093 --enable-ecore-evas-fb enable Linux Framebuffer support in the ecore_evas
2094 module.
2095 --enable-ecore-evas-software-16-wince
2096 enable 16 bpp Software Windows CE support in the
2097 ecore_evas module.
2098 --enable-ecore-evas-ews enable Ecore Evas Single Process Windowing System
2099 support in the ecore_evas module.
2100 --enable-ecore-evas-psl1ght
2101 enable PSL1GHT support in the ecore_evas module.
2102 --enable-build-examples enable building examples [default=disabled]
2103 --enable-install-examples
2104 enable installing example source files
2105 [default=disabled]
2106
2107Optional Packages:
2108 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2109 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2110 --with-pic try to use only PIC/non-PIC objects [default=use
2111 both]
2112 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2113 --with-gnu-ld assume the C compiler uses GNU ld default=no
2114 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
2115 --without-libiconv-prefix don't search for libiconv in includedir and libdir
2116 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
2117 --without-libintl-prefix don't search for libintl in includedir and libdir
2118 --with-internal-maximum-log-level=NUMBER
2119 limit ecore internal log level to the given number,
2120 any call to EINA_LOG() with values greater than this
2121 will be compiled out, ignoring runtime settings, but
2122 saving function calls.
2123 --with-doxygen=FILE doxygen program to use [default=doxygen]
2124 --with-sdl-config=PATH use sdl-config specified
2125 --with-iconv-link=ICONV_LINK
2126 explicitly specify an iconv link option
2127 --with-x use the X Window System
2128 --with-libgcrypt-prefix=PFX Prefix where libgcrypt is installed (optional)
2129 --with-libgcrypt-exec-prefix=PFX Exec prefix where libgcrypt is installed (optional)
2130
2131Some influential environment variables:
2132 CC C compiler command
2133 CFLAGS C compiler flags
2134 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2135 nonstandard directory <lib dir>
2136 LIBS libraries to pass to the linker, e.g. -l<library>
2137 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2138 you have headers in a nonstandard directory <include dir>
2139 CPP C preprocessor
2140 PKG_CONFIG path to pkg-config utility
2141 PKG_CONFIG_PATH
2142 directories to add to pkg-config's search path
2143 PKG_CONFIG_LIBDIR
2144 path overriding pkg-config's built-in search path
2145 CHECK_CFLAGS
2146 C compiler flags for CHECK, overriding pkg-config
2147 CHECK_LIBS linker flags for CHECK, overriding pkg-config
2148 OBJC Objective C compiler command
2149 OBJCFLAGS Objective C compiler flags
2150 CXX C++ compiler command
2151 CXXFLAGS C++ compiler flags
2152 CXXCPP C++ preprocessor
2153 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
2154 EVIL_LIBS linker flags for EVIL, overriding pkg-config
2155 ESCAPE_CFLAGS
2156 C compiler flags for ESCAPE, overriding pkg-config
2157 ESCAPE_LIBS linker flags for ESCAPE, overriding pkg-config
2158 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
2159 EINA_LIBS linker flags for EINA, overriding pkg-config
2160 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
2161 GLIB_LIBS linker flags for GLIB, overriding pkg-config
2162 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
2163 SDL_LIBS linker flags for SDL, overriding pkg-config
2164 DIRECTFB_CFLAGS
2165 C compiler flags for DIRECTFB, overriding pkg-config
2166 DIRECTFB_LIBS
2167 linker flags for DIRECTFB, overriding pkg-config
2168 ECORE_XCB_CFLAGS
2169 C compiler flags for ECORE_XCB, overriding pkg-config
2170 ECORE_XCB_LIBS
2171 linker flags for ECORE_XCB, overriding pkg-config
2172 PIXMAN_CFLAGS
2173 C compiler flags for PIXMAN, overriding pkg-config
2174 PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config
2175 XCB_COMPOSITE_CFLAGS
2176 C compiler flags for XCB_COMPOSITE, overriding pkg-config
2177 XCB_COMPOSITE_LIBS
2178 linker flags for XCB_COMPOSITE, overriding pkg-config
2179 XCB_DAMAGE_CFLAGS
2180 C compiler flags for XCB_DAMAGE, overriding pkg-config
2181 XCB_DAMAGE_LIBS
2182 linker flags for XCB_DAMAGE, overriding pkg-config
2183 XCB_DPMS_CFLAGS
2184 C compiler flags for XCB_DPMS, overriding pkg-config
2185 XCB_DPMS_LIBS
2186 linker flags for XCB_DPMS, overriding pkg-config
2187 XCB_RANDR_CFLAGS
2188 C compiler flags for XCB_RANDR, overriding pkg-config
2189 XCB_RANDR_LIBS
2190 linker flags for XCB_RANDR, overriding pkg-config
2191 XCB_RENDER_CFLAGS
2192 C compiler flags for XCB_RENDER, overriding pkg-config
2193 XCB_RENDER_LIBS
2194 linker flags for XCB_RENDER, overriding pkg-config
2195 XCB_SCREENSAVER_CFLAGS
2196 C compiler flags for XCB_SCREENSAVER, overriding pkg-config
2197 XCB_SCREENSAVER_LIBS
2198 linker flags for XCB_SCREENSAVER, overriding pkg-config
2199 XCB_SHAPE_CFLAGS
2200 C compiler flags for XCB_SHAPE, overriding pkg-config
2201 XCB_SHAPE_LIBS
2202 linker flags for XCB_SHAPE, overriding pkg-config
2203 XCB_XGESTURE_CFLAGS
2204 C compiler flags for XCB_XGESTURE, overriding pkg-config
2205 XCB_XGESTURE_LIBS
2206 linker flags for XCB_XGESTURE, overriding pkg-config
2207 XCB_SYNC_CFLAGS
2208 C compiler flags for XCB_SYNC, overriding pkg-config
2209 XCB_SYNC_LIBS
2210 linker flags for XCB_SYNC, overriding pkg-config
2211 XCB_XFIXES_CFLAGS
2212 C compiler flags for XCB_XFIXES, overriding pkg-config
2213 XCB_XFIXES_LIBS
2214 linker flags for XCB_XFIXES, overriding pkg-config
2215 XCB_XINERAMA_CFLAGS
2216 C compiler flags for XCB_XINERAMA, overriding pkg-config
2217 XCB_XINERAMA_LIBS
2218 linker flags for XCB_XINERAMA, overriding pkg-config
2219 XCB_XPRINT_CFLAGS
2220 C compiler flags for XCB_XPRINT, overriding pkg-config
2221 XCB_XPRINT_LIBS
2222 linker flags for XCB_XPRINT, overriding pkg-config
2223 XCB_XTEST_CFLAGS
2224 C compiler flags for XCB_XTEST, overriding pkg-config
2225 XCB_XTEST_LIBS
2226 linker flags for XCB_XTEST, overriding pkg-config
2227 XCB_XINPUT_CFLAGS
2228 C compiler flags for XCB_XINPUT, overriding pkg-config
2229 XCB_XINPUT_LIBS
2230 linker flags for XCB_XINPUT, overriding pkg-config
2231 XCB_CURSOR_CFLAGS
2232 C compiler flags for XCB_CURSOR, overriding pkg-config
2233 XCB_CURSOR_LIBS
2234 linker flags for XCB_CURSOR, overriding pkg-config
2235 XMKMF Path to xmkmf, Makefile generator for X Window System
2236 EVAS_CFLAGS C compiler flags for EVAS, overriding pkg-config
2237 EVAS_LIBS linker flags for EVAS, overriding pkg-config
2238 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
2239 CURL_LIBS linker flags for CURL, overriding pkg-config
2240 TLS_CFLAGS C compiler flags for TLS, overriding pkg-config
2241 TLS_LIBS linker flags for TLS, overriding pkg-config
2242 TLS2_CFLAGS C compiler flags for TLS2, overriding pkg-config
2243 TLS2_LIBS linker flags for TLS2, overriding pkg-config
2244 SSL_CFLAGS C compiler flags for SSL, overriding pkg-config
2245 SSL_LIBS linker flags for SSL, overriding pkg-config
2246 CARES_CFLAGS
2247 C compiler flags for CARES, overriding pkg-config
2248 CARES_LIBS linker flags for CARES, overriding pkg-config
2249 TSLIB_CFLAGS
2250 C compiler flags for TSLIB, overriding pkg-config
2251 TSLIB_LIBS linker flags for TSLIB, overriding pkg-config
2252 XCB_X11_CFLAGS
2253 C compiler flags for XCB_X11, overriding pkg-config
2254 XCB_X11_LIBS
2255 linker flags for XCB_X11, overriding pkg-config
2256
2257Use these variables to override the choices made by `configure' or to help
2258it to find libraries and programs with nonstandard names/locations.
2259
2260Report bugs to <enlightenment-devel@lists.sourceforge.net>.
2261_ACEOF
2262ac_status=$?
2263fi
2264
2265if test "$ac_init_help" = "recursive"; then
2266 # If there are subdirs, report their specific --help.
2267 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2268 test -d "$ac_dir" ||
2269 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2270 continue
2271 ac_builddir=.
2272
2273case "$ac_dir" in
2274.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2275*)
2276 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2277 # A ".." for each directory in $ac_dir_suffix.
2278 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2279 case $ac_top_builddir_sub in
2280 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2281 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2282 esac ;;
2283esac
2284ac_abs_top_builddir=$ac_pwd
2285ac_abs_builddir=$ac_pwd$ac_dir_suffix
2286# for backward compatibility:
2287ac_top_builddir=$ac_top_build_prefix
2288
2289case $srcdir in
2290 .) # We are building in place.
2291 ac_srcdir=.
2292 ac_top_srcdir=$ac_top_builddir_sub
2293 ac_abs_top_srcdir=$ac_pwd ;;
2294 [\\/]* | ?:[\\/]* ) # Absolute name.
2295 ac_srcdir=$srcdir$ac_dir_suffix;
2296 ac_top_srcdir=$srcdir
2297 ac_abs_top_srcdir=$srcdir ;;
2298 *) # Relative name.
2299 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2300 ac_top_srcdir=$ac_top_build_prefix$srcdir
2301 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2302esac
2303ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2304
2305 cd "$ac_dir" || { ac_status=$?; continue; }
2306 # Check for guested configure.
2307 if test -f "$ac_srcdir/configure.gnu"; then
2308 echo &&
2309 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2310 elif test -f "$ac_srcdir/configure"; then
2311 echo &&
2312 $SHELL "$ac_srcdir/configure" --help=recursive
2313 else
2314 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2315 fi || ac_status=$?
2316 cd "$ac_pwd" || { ac_status=$?; break; }
2317 done
2318fi
2319
2320test -n "$ac_init_help" && exit $ac_status
2321if $ac_init_version; then
2322 cat <<\_ACEOF
2323ecore configure 1.1.0
2324generated by GNU Autoconf 2.67
2325
2326Copyright (C) 2010 Free Software Foundation, Inc.
2327This configure script is free software; the Free Software Foundation
2328gives unlimited permission to copy, distribute and modify it.
2329_ACEOF
2330 exit
2331fi
2332
2333## ------------------------ ##
2334## Autoconf initialization. ##
2335## ------------------------ ##
2336
2337# ac_fn_c_try_compile LINENO
2338# --------------------------
2339# Try to compile conftest.$ac_ext, and return whether this succeeded.
2340ac_fn_c_try_compile ()
2341{
2342 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2343 rm -f conftest.$ac_objext
2344 if { { ac_try="$ac_compile"
2345case "(($ac_try" in
2346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2347 *) ac_try_echo=$ac_try;;
2348esac
2349eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2350$as_echo "$ac_try_echo"; } >&5
2351 (eval "$ac_compile") 2>conftest.err
2352 ac_status=$?
2353 if test -s conftest.err; then
2354 grep -v '^ *+' conftest.err >conftest.er1
2355 cat conftest.er1 >&5
2356 mv -f conftest.er1 conftest.err
2357 fi
2358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2359 test $ac_status = 0; } && {
2360 test -z "$ac_c_werror_flag" ||
2361 test ! -s conftest.err
2362 } && test -s conftest.$ac_objext; then :
2363 ac_retval=0
2364else
2365 $as_echo "$as_me: failed program was:" >&5
2366sed 's/^/| /' conftest.$ac_ext >&5
2367
2368 ac_retval=1
2369fi
2370 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2371 as_fn_set_status $ac_retval
2372
2373} # ac_fn_c_try_compile
2374
2375# ac_fn_c_try_cpp LINENO
2376# ----------------------
2377# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2378ac_fn_c_try_cpp ()
2379{
2380 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2381 if { { ac_try="$ac_cpp conftest.$ac_ext"
2382case "(($ac_try" in
2383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2384 *) ac_try_echo=$ac_try;;
2385esac
2386eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2387$as_echo "$ac_try_echo"; } >&5
2388 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2389 ac_status=$?
2390 if test -s conftest.err; then
2391 grep -v '^ *+' conftest.err >conftest.er1
2392 cat conftest.er1 >&5
2393 mv -f conftest.er1 conftest.err
2394 fi
2395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2396 test $ac_status = 0; } > conftest.i && {
2397 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2398 test ! -s conftest.err
2399 }; then :
2400 ac_retval=0
2401else
2402 $as_echo "$as_me: failed program was:" >&5
2403sed 's/^/| /' conftest.$ac_ext >&5
2404
2405 ac_retval=1
2406fi
2407 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2408 as_fn_set_status $ac_retval
2409
2410} # ac_fn_c_try_cpp
2411
2412# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2413# -------------------------------------------------------
2414# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2415# the include files in INCLUDES and setting the cache variable VAR
2416# accordingly.
2417ac_fn_c_check_header_mongrel ()
2418{
2419 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2420 if eval "test \"\${$3+set}\"" = set; then :
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2422$as_echo_n "checking for $2... " >&6; }
2423if eval "test \"\${$3+set}\"" = set; then :
2424 $as_echo_n "(cached) " >&6
2425fi
2426eval ac_res=\$$3
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2428$as_echo "$ac_res" >&6; }
2429else
2430 # Is the header compilable?
2431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2432$as_echo_n "checking $2 usability... " >&6; }
2433cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2434/* end confdefs.h. */
2435$4
2436#include <$2>
2437_ACEOF
2438if ac_fn_c_try_compile "$LINENO"; then :
2439 ac_header_compiler=yes
2440else
2441 ac_header_compiler=no
2442fi
2443rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2445$as_echo "$ac_header_compiler" >&6; }
2446
2447# Is the header present?
2448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2449$as_echo_n "checking $2 presence... " >&6; }
2450cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2451/* end confdefs.h. */
2452#include <$2>
2453_ACEOF
2454if ac_fn_c_try_cpp "$LINENO"; then :
2455 ac_header_preproc=yes
2456else
2457 ac_header_preproc=no
2458fi
2459rm -f conftest.err conftest.i conftest.$ac_ext
2460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2461$as_echo "$ac_header_preproc" >&6; }
2462
2463# So? What about this header?
2464case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2465 yes:no: )
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2467$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2469$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2470 ;;
2471 no:yes:* )
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2473$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2475$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2477$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2479$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2481$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2482( $as_echo "## -------------------------------------------------------- ##
2483## Report this to enlightenment-devel@lists.sourceforge.net ##
2484## -------------------------------------------------------- ##"
2485 ) | sed "s/^/$as_me: WARNING: /" >&2
2486 ;;
2487esac
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2489$as_echo_n "checking for $2... " >&6; }
2490if eval "test \"\${$3+set}\"" = set; then :
2491 $as_echo_n "(cached) " >&6
2492else
2493 eval "$3=\$ac_header_compiler"
2494fi
2495eval ac_res=\$$3
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2497$as_echo "$ac_res" >&6; }
2498fi
2499 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2500
2501} # ac_fn_c_check_header_mongrel
2502
2503# ac_fn_c_try_run LINENO
2504# ----------------------
2505# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2506# that executables *can* be run.
2507ac_fn_c_try_run ()
2508{
2509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2510 if { { ac_try="$ac_link"
2511case "(($ac_try" in
2512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2513 *) ac_try_echo=$ac_try;;
2514esac
2515eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2516$as_echo "$ac_try_echo"; } >&5
2517 (eval "$ac_link") 2>&5
2518 ac_status=$?
2519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2521 { { case "(($ac_try" in
2522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2523 *) ac_try_echo=$ac_try;;
2524esac
2525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2526$as_echo "$ac_try_echo"; } >&5
2527 (eval "$ac_try") 2>&5
2528 ac_status=$?
2529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2530 test $ac_status = 0; }; }; then :
2531 ac_retval=0
2532else
2533 $as_echo "$as_me: program exited with status $ac_status" >&5
2534 $as_echo "$as_me: failed program was:" >&5
2535sed 's/^/| /' conftest.$ac_ext >&5
2536
2537 ac_retval=$ac_status
2538fi
2539 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2540 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2541 as_fn_set_status $ac_retval
2542
2543} # ac_fn_c_try_run
2544
2545# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2546# -------------------------------------------------------
2547# Tests whether HEADER exists and can be compiled using the include files in
2548# INCLUDES, setting the cache variable VAR accordingly.
2549ac_fn_c_check_header_compile ()
2550{
2551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2553$as_echo_n "checking for $2... " >&6; }
2554if eval "test \"\${$3+set}\"" = set; then :
2555 $as_echo_n "(cached) " >&6
2556else
2557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2558/* end confdefs.h. */
2559$4
2560#include <$2>
2561_ACEOF
2562if ac_fn_c_try_compile "$LINENO"; then :
2563 eval "$3=yes"
2564else
2565 eval "$3=no"
2566fi
2567rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2568fi
2569eval ac_res=\$$3
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2571$as_echo "$ac_res" >&6; }
2572 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2573
2574} # ac_fn_c_check_header_compile
2575
2576# ac_fn_c_try_link LINENO
2577# -----------------------
2578# Try to link conftest.$ac_ext, and return whether this succeeded.
2579ac_fn_c_try_link ()
2580{
2581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2582 rm -f conftest.$ac_objext conftest$ac_exeext
2583 if { { ac_try="$ac_link"
2584case "(($ac_try" in
2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586 *) ac_try_echo=$ac_try;;
2587esac
2588eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2589$as_echo "$ac_try_echo"; } >&5
2590 (eval "$ac_link") 2>conftest.err
2591 ac_status=$?
2592 if test -s conftest.err; then
2593 grep -v '^ *+' conftest.err >conftest.er1
2594 cat conftest.er1 >&5
2595 mv -f conftest.er1 conftest.err
2596 fi
2597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2598 test $ac_status = 0; } && {
2599 test -z "$ac_c_werror_flag" ||
2600 test ! -s conftest.err
2601 } && test -s conftest$ac_exeext && {
2602 test "$cross_compiling" = yes ||
2603 $as_test_x conftest$ac_exeext
2604 }; then :
2605 ac_retval=0
2606else
2607 $as_echo "$as_me: failed program was:" >&5
2608sed 's/^/| /' conftest.$ac_ext >&5
2609
2610 ac_retval=1
2611fi
2612 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2613 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2614 # interfere with the next link command; also delete a directory that is
2615 # left behind by Apple's compiler. We do this before executing the actions.
2616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2617 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2618 as_fn_set_status $ac_retval
2619
2620} # ac_fn_c_try_link
2621
2622# ac_fn_c_check_func LINENO FUNC VAR
2623# ----------------------------------
2624# Tests whether FUNC exists, setting the cache variable VAR accordingly
2625ac_fn_c_check_func ()
2626{
2627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2629$as_echo_n "checking for $2... " >&6; }
2630if eval "test \"\${$3+set}\"" = set; then :
2631 $as_echo_n "(cached) " >&6
2632else
2633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2634/* end confdefs.h. */
2635/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2637#define $2 innocuous_$2
2638
2639/* System header to define __stub macros and hopefully few prototypes,
2640 which can conflict with char $2 (); below.
2641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2642 <limits.h> exists even on freestanding compilers. */
2643
2644#ifdef __STDC__
2645# include <limits.h>
2646#else
2647# include <assert.h>
2648#endif
2649
2650#undef $2
2651
2652/* Override any GCC internal prototype to avoid an error.
2653 Use char because int might match the return type of a GCC
2654 builtin and then its argument prototype would still apply. */
2655#ifdef __cplusplus
2656extern "C"
2657#endif
2658char $2 ();
2659/* The GNU C library defines this for functions which it implements
2660 to always fail with ENOSYS. Some functions are actually named
2661 something starting with __ and the normal name is an alias. */
2662#if defined __stub_$2 || defined __stub___$2
2663choke me
2664#endif
2665
2666int
2667main ()
2668{
2669return $2 ();
2670 ;
2671 return 0;
2672}
2673_ACEOF
2674if ac_fn_c_try_link "$LINENO"; then :
2675 eval "$3=yes"
2676else
2677 eval "$3=no"
2678fi
2679rm -f core conftest.err conftest.$ac_objext \
2680 conftest$ac_exeext conftest.$ac_ext
2681fi
2682eval ac_res=\$$3
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2684$as_echo "$ac_res" >&6; }
2685 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2686
2687} # ac_fn_c_check_func
2688
2689# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2690# ---------------------------------------------
2691# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2692# accordingly.
2693ac_fn_c_check_decl ()
2694{
2695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2696 as_decl_name=`echo $2|sed 's/ *(.*//'`
2697 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2699$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2700if eval "test \"\${$3+set}\"" = set; then :
2701 $as_echo_n "(cached) " >&6
2702else
2703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2704/* end confdefs.h. */
2705$4
2706int
2707main ()
2708{
2709#ifndef $as_decl_name
2710#ifdef __cplusplus
2711 (void) $as_decl_use;
2712#else
2713 (void) $as_decl_name;
2714#endif
2715#endif
2716
2717 ;
2718 return 0;
2719}
2720_ACEOF
2721if ac_fn_c_try_compile "$LINENO"; then :
2722 eval "$3=yes"
2723else
2724 eval "$3=no"
2725fi
2726rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2727fi
2728eval ac_res=\$$3
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2730$as_echo "$ac_res" >&6; }
2731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2732
2733} # ac_fn_c_check_decl
2734
2735# ac_fn_objc_try_compile LINENO
2736# -----------------------------
2737# Try to compile conftest.$ac_ext, and return whether this succeeded.
2738ac_fn_objc_try_compile ()
2739{
2740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2741 rm -f conftest.$ac_objext
2742 if { { ac_try="$ac_compile"
2743case "(($ac_try" in
2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2746esac
2747eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2748$as_echo "$ac_try_echo"; } >&5
2749 (eval "$ac_compile") 2>conftest.err
2750 ac_status=$?
2751 if test -s conftest.err; then
2752 grep -v '^ *+' conftest.err >conftest.er1
2753 cat conftest.er1 >&5
2754 mv -f conftest.er1 conftest.err
2755 fi
2756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2757 test $ac_status = 0; } && {
2758 test -z "$ac_objc_werror_flag" ||
2759 test ! -s conftest.err
2760 } && test -s conftest.$ac_objext; then :
2761 ac_retval=0
2762else
2763 $as_echo "$as_me: failed program was:" >&5
2764sed 's/^/| /' conftest.$ac_ext >&5
2765
2766 ac_retval=1
2767fi
2768 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2769 as_fn_set_status $ac_retval
2770
2771} # ac_fn_objc_try_compile
2772
2773# ac_fn_cxx_try_compile LINENO
2774# ----------------------------
2775# Try to compile conftest.$ac_ext, and return whether this succeeded.
2776ac_fn_cxx_try_compile ()
2777{
2778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2779 rm -f conftest.$ac_objext
2780 if { { ac_try="$ac_compile"
2781case "(($ac_try" in
2782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2783 *) ac_try_echo=$ac_try;;
2784esac
2785eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2786$as_echo "$ac_try_echo"; } >&5
2787 (eval "$ac_compile") 2>conftest.err
2788 ac_status=$?
2789 if test -s conftest.err; then
2790 grep -v '^ *+' conftest.err >conftest.er1
2791 cat conftest.er1 >&5
2792 mv -f conftest.er1 conftest.err
2793 fi
2794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2795 test $ac_status = 0; } && {
2796 test -z "$ac_cxx_werror_flag" ||
2797 test ! -s conftest.err
2798 } && test -s conftest.$ac_objext; then :
2799 ac_retval=0
2800else
2801 $as_echo "$as_me: failed program was:" >&5
2802sed 's/^/| /' conftest.$ac_ext >&5
2803
2804 ac_retval=1
2805fi
2806 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2807 as_fn_set_status $ac_retval
2808
2809} # ac_fn_cxx_try_compile
2810
2811# ac_fn_cxx_try_cpp LINENO
2812# ------------------------
2813# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2814ac_fn_cxx_try_cpp ()
2815{
2816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2817 if { { ac_try="$ac_cpp conftest.$ac_ext"
2818case "(($ac_try" in
2819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2821esac
2822eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2823$as_echo "$ac_try_echo"; } >&5
2824 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2825 ac_status=$?
2826 if test -s conftest.err; then
2827 grep -v '^ *+' conftest.err >conftest.er1
2828 cat conftest.er1 >&5
2829 mv -f conftest.er1 conftest.err
2830 fi
2831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2832 test $ac_status = 0; } > conftest.i && {
2833 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2834 test ! -s conftest.err
2835 }; then :
2836 ac_retval=0
2837else
2838 $as_echo "$as_me: failed program was:" >&5
2839sed 's/^/| /' conftest.$ac_ext >&5
2840
2841 ac_retval=1
2842fi
2843 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2844 as_fn_set_status $ac_retval
2845
2846} # ac_fn_cxx_try_cpp
2847
2848# ac_fn_cxx_try_link LINENO
2849# -------------------------
2850# Try to link conftest.$ac_ext, and return whether this succeeded.
2851ac_fn_cxx_try_link ()
2852{
2853 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2854 rm -f conftest.$ac_objext conftest$ac_exeext
2855 if { { ac_try="$ac_link"
2856case "(($ac_try" in
2857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2858 *) ac_try_echo=$ac_try;;
2859esac
2860eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2861$as_echo "$ac_try_echo"; } >&5
2862 (eval "$ac_link") 2>conftest.err
2863 ac_status=$?
2864 if test -s conftest.err; then
2865 grep -v '^ *+' conftest.err >conftest.er1
2866 cat conftest.er1 >&5
2867 mv -f conftest.er1 conftest.err
2868 fi
2869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2870 test $ac_status = 0; } && {
2871 test -z "$ac_cxx_werror_flag" ||
2872 test ! -s conftest.err
2873 } && test -s conftest$ac_exeext && {
2874 test "$cross_compiling" = yes ||
2875 $as_test_x conftest$ac_exeext
2876 }; then :
2877 ac_retval=0
2878else
2879 $as_echo "$as_me: failed program was:" >&5
2880sed 's/^/| /' conftest.$ac_ext >&5
2881
2882 ac_retval=1
2883fi
2884 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2885 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2886 # interfere with the next link command; also delete a directory that is
2887 # left behind by Apple's compiler. We do this before executing the actions.
2888 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2889 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2890 as_fn_set_status $ac_retval
2891
2892} # ac_fn_cxx_try_link
2893
2894# ac_fn_objc_try_link LINENO
2895# --------------------------
2896# Try to link conftest.$ac_ext, and return whether this succeeded.
2897ac_fn_objc_try_link ()
2898{
2899 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2900 rm -f conftest.$ac_objext conftest$ac_exeext
2901 if { { ac_try="$ac_link"
2902case "(($ac_try" in
2903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2904 *) ac_try_echo=$ac_try;;
2905esac
2906eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2907$as_echo "$ac_try_echo"; } >&5
2908 (eval "$ac_link") 2>conftest.err
2909 ac_status=$?
2910 if test -s conftest.err; then
2911 grep -v '^ *+' conftest.err >conftest.er1
2912 cat conftest.er1 >&5
2913 mv -f conftest.er1 conftest.err
2914 fi
2915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2916 test $ac_status = 0; } && {
2917 test -z "$ac_objc_werror_flag" ||
2918 test ! -s conftest.err
2919 } && test -s conftest$ac_exeext && {
2920 test "$cross_compiling" = yes ||
2921 $as_test_x conftest$ac_exeext
2922 }; then :
2923 ac_retval=0
2924else
2925 $as_echo "$as_me: failed program was:" >&5
2926sed 's/^/| /' conftest.$ac_ext >&5
2927
2928 ac_retval=1
2929fi
2930 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2931 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2932 # interfere with the next link command; also delete a directory that is
2933 # left behind by Apple's compiler. We do this before executing the actions.
2934 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2935 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2936 as_fn_set_status $ac_retval
2937
2938} # ac_fn_objc_try_link
2939
2940# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2941# --------------------------------------------
2942# Tries to find the compile-time value of EXPR in a program that includes
2943# INCLUDES, setting VAR accordingly. Returns whether the value could be
2944# computed
2945ac_fn_c_compute_int ()
2946{
2947 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2948 if test "$cross_compiling" = yes; then
2949 # Depending upon the size, compute the lo and hi bounds.
2950cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2951/* end confdefs.h. */
2952$4
2953int
2954main ()
2955{
2956static int test_array [1 - 2 * !(($2) >= 0)];
2957test_array [0] = 0
2958
2959 ;
2960 return 0;
2961}
2962_ACEOF
2963if ac_fn_c_try_compile "$LINENO"; then :
2964 ac_lo=0 ac_mid=0
2965 while :; do
2966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2967/* end confdefs.h. */
2968$4
2969int
2970main ()
2971{
2972static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2973test_array [0] = 0
2974
2975 ;
2976 return 0;
2977}
2978_ACEOF
2979if ac_fn_c_try_compile "$LINENO"; then :
2980 ac_hi=$ac_mid; break
2981else
2982 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2983 if test $ac_lo -le $ac_mid; then
2984 ac_lo= ac_hi=
2985 break
2986 fi
2987 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2988fi
2989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2990 done
2991else
2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2993/* end confdefs.h. */
2994$4
2995int
2996main ()
2997{
2998static int test_array [1 - 2 * !(($2) < 0)];
2999test_array [0] = 0
3000
3001 ;
3002 return 0;
3003}
3004_ACEOF
3005if ac_fn_c_try_compile "$LINENO"; then :
3006 ac_hi=-1 ac_mid=-1
3007 while :; do
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009/* end confdefs.h. */
3010$4
3011int
3012main ()
3013{
3014static int test_array [1 - 2 * !(($2) >= $ac_mid)];
3015test_array [0] = 0
3016
3017 ;
3018 return 0;
3019}
3020_ACEOF
3021if ac_fn_c_try_compile "$LINENO"; then :
3022 ac_lo=$ac_mid; break
3023else
3024 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
3025 if test $ac_mid -le $ac_hi; then
3026 ac_lo= ac_hi=
3027 break
3028 fi
3029 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
3030fi
3031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3032 done
3033else
3034 ac_lo= ac_hi=
3035fi
3036rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3037fi
3038rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3039# Binary search between lo and hi bounds.
3040while test "x$ac_lo" != "x$ac_hi"; do
3041 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043/* end confdefs.h. */
3044$4
3045int
3046main ()
3047{
3048static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3049test_array [0] = 0
3050
3051 ;
3052 return 0;
3053}
3054_ACEOF
3055if ac_fn_c_try_compile "$LINENO"; then :
3056 ac_hi=$ac_mid
3057else
3058 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
3059fi
3060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3061done
3062case $ac_lo in #((
3063?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
3064'') ac_retval=1 ;;
3065esac
3066 else
3067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3068/* end confdefs.h. */
3069$4
3070static long int longval () { return $2; }
3071static unsigned long int ulongval () { return $2; }
3072#include <stdio.h>
3073#include <stdlib.h>
3074int
3075main ()
3076{
3077
3078 FILE *f = fopen ("conftest.val", "w");
3079 if (! f)
3080 return 1;
3081 if (($2) < 0)
3082 {
3083 long int i = longval ();
3084 if (i != ($2))
3085 return 1;
3086 fprintf (f, "%ld", i);
3087 }
3088 else
3089 {
3090 unsigned long int i = ulongval ();
3091 if (i != ($2))
3092 return 1;
3093 fprintf (f, "%lu", i);
3094 }
3095 /* Do not output a trailing newline, as this causes \r\n confusion
3096 on some platforms. */
3097 return ferror (f) || fclose (f) != 0;
3098
3099 ;
3100 return 0;
3101}
3102_ACEOF
3103if ac_fn_c_try_run "$LINENO"; then :
3104 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3105else
3106 ac_retval=1
3107fi
3108rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3109 conftest.$ac_objext conftest.beam conftest.$ac_ext
3110rm -f conftest.val
3111
3112 fi
3113 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3114 as_fn_set_status $ac_retval
3115
3116} # ac_fn_c_compute_int
3117
3118# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3119# -------------------------------------------
3120# Tests whether TYPE exists after having included INCLUDES, setting cache
3121# variable VAR accordingly.
3122ac_fn_c_check_type ()
3123{
3124 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3126$as_echo_n "checking for $2... " >&6; }
3127if eval "test \"\${$3+set}\"" = set; then :
3128 $as_echo_n "(cached) " >&6
3129else
3130 eval "$3=no"
3131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3132/* end confdefs.h. */
3133$4
3134int
3135main ()
3136{
3137if (sizeof ($2))
3138 return 0;
3139 ;
3140 return 0;
3141}
3142_ACEOF
3143if ac_fn_c_try_compile "$LINENO"; then :
3144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3145/* end confdefs.h. */
3146$4
3147int
3148main ()
3149{
3150if (sizeof (($2)))
3151 return 0;
3152 ;
3153 return 0;
3154}
3155_ACEOF
3156if ac_fn_c_try_compile "$LINENO"; then :
3157
3158else
3159 eval "$3=yes"
3160fi
3161rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3162fi
3163rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3164fi
3165eval ac_res=\$$3
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3167$as_echo "$ac_res" >&6; }
3168 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3169
3170} # ac_fn_c_check_type
3171cat >config.log <<_ACEOF
3172This file contains any messages produced by compilers while
3173running configure, to aid debugging if configure makes a mistake.
3174
3175It was created by ecore $as_me 1.1.0, which was
3176generated by GNU Autoconf 2.67. Invocation command line was
3177
3178 $ $0 $@
3179
3180_ACEOF
3181exec 5>>config.log
3182{
3183cat <<_ASUNAME
3184## --------- ##
3185## Platform. ##
3186## --------- ##
3187
3188hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3189uname -m = `(uname -m) 2>/dev/null || echo unknown`
3190uname -r = `(uname -r) 2>/dev/null || echo unknown`
3191uname -s = `(uname -s) 2>/dev/null || echo unknown`
3192uname -v = `(uname -v) 2>/dev/null || echo unknown`
3193
3194/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3195/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3196
3197/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3198/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3199/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3200/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3201/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3202/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3203/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3204
3205_ASUNAME
3206
3207as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3208for as_dir in $PATH
3209do
3210 IFS=$as_save_IFS
3211 test -z "$as_dir" && as_dir=.
3212 $as_echo "PATH: $as_dir"
3213 done
3214IFS=$as_save_IFS
3215
3216} >&5
3217
3218cat >&5 <<_ACEOF
3219
3220
3221## ----------- ##
3222## Core tests. ##
3223## ----------- ##
3224
3225_ACEOF
3226
3227
3228# Keep a trace of the command line.
3229# Strip out --no-create and --no-recursion so they do not pile up.
3230# Strip out --silent because we don't want to record it for future runs.
3231# Also quote any args containing shell meta-characters.
3232# Make two passes to allow for proper duplicate-argument suppression.
3233ac_configure_args=
3234ac_configure_args0=
3235ac_configure_args1=
3236ac_must_keep_next=false
3237for ac_pass in 1 2
3238do
3239 for ac_arg
3240 do
3241 case $ac_arg in
3242 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3243 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3244 | -silent | --silent | --silen | --sile | --sil)
3245 continue ;;
3246 *\'*)
3247 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3248 esac
3249 case $ac_pass in
3250 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3251 2)
3252 as_fn_append ac_configure_args1 " '$ac_arg'"
3253 if test $ac_must_keep_next = true; then
3254 ac_must_keep_next=false # Got value, back to normal.
3255 else
3256 case $ac_arg in
3257 *=* | --config-cache | -C | -disable-* | --disable-* \
3258 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3259 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3260 | -with-* | --with-* | -without-* | --without-* | --x)
3261 case "$ac_configure_args0 " in
3262 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3263 esac
3264 ;;
3265 -* ) ac_must_keep_next=true ;;
3266 esac
3267 fi
3268 as_fn_append ac_configure_args " '$ac_arg'"
3269 ;;
3270 esac
3271 done
3272done
3273{ ac_configure_args0=; unset ac_configure_args0;}
3274{ ac_configure_args1=; unset ac_configure_args1;}
3275
3276# When interrupted or exit'd, cleanup temporary files, and complete
3277# config.log. We remove comments because anyway the quotes in there
3278# would cause problems or look ugly.
3279# WARNING: Use '\'' to represent an apostrophe within the trap.
3280# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3281trap 'exit_status=$?
3282 # Save into config.log some information that might help in debugging.
3283 {
3284 echo
3285
3286 $as_echo "## ---------------- ##
3287## Cache variables. ##
3288## ---------------- ##"
3289 echo
3290 # The following way of writing the cache mishandles newlines in values,
3291(
3292 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3293 eval ac_val=\$$ac_var
3294 case $ac_val in #(
3295 *${as_nl}*)
3296 case $ac_var in #(
3297 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3298$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3299 esac
3300 case $ac_var in #(
3301 _ | IFS | as_nl) ;; #(
3302 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3303 *) { eval $ac_var=; unset $ac_var;} ;;
3304 esac ;;
3305 esac
3306 done
3307 (set) 2>&1 |
3308 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3309 *${as_nl}ac_space=\ *)
3310 sed -n \
3311 "s/'\''/'\''\\\\'\'''\''/g;
3312 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3313 ;; #(
3314 *)
3315 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3316 ;;
3317 esac |
3318 sort
3319)
3320 echo
3321
3322 $as_echo "## ----------------- ##
3323## Output variables. ##
3324## ----------------- ##"
3325 echo
3326 for ac_var in $ac_subst_vars
3327 do
3328 eval ac_val=\$$ac_var
3329 case $ac_val in
3330 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3331 esac
3332 $as_echo "$ac_var='\''$ac_val'\''"
3333 done | sort
3334 echo
3335
3336 if test -n "$ac_subst_files"; then
3337 $as_echo "## ------------------- ##
3338## File substitutions. ##
3339## ------------------- ##"
3340 echo
3341 for ac_var in $ac_subst_files
3342 do
3343 eval ac_val=\$$ac_var
3344 case $ac_val in
3345 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3346 esac
3347 $as_echo "$ac_var='\''$ac_val'\''"
3348 done | sort
3349 echo
3350 fi
3351
3352 if test -s confdefs.h; then
3353 $as_echo "## ----------- ##
3354## confdefs.h. ##
3355## ----------- ##"
3356 echo
3357 cat confdefs.h
3358 echo
3359 fi
3360 test "$ac_signal" != 0 &&
3361 $as_echo "$as_me: caught signal $ac_signal"
3362 $as_echo "$as_me: exit $exit_status"
3363 } >&5
3364 rm -f core *.core core.conftest.* &&
3365 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3366 exit $exit_status
3367' 0
3368for ac_signal in 1 2 13 15; do
3369 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3370done
3371ac_signal=0
3372
3373# confdefs.h avoids OS command line length limits that DEFS can exceed.
3374rm -f -r conftest* confdefs.h
3375
3376$as_echo "/* confdefs.h */" > confdefs.h
3377
3378# Predefined preprocessor variables.
3379
3380cat >>confdefs.h <<_ACEOF
3381#define PACKAGE_NAME "$PACKAGE_NAME"
3382_ACEOF
3383
3384cat >>confdefs.h <<_ACEOF
3385#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3386_ACEOF
3387
3388cat >>confdefs.h <<_ACEOF
3389#define PACKAGE_VERSION "$PACKAGE_VERSION"
3390_ACEOF
3391
3392cat >>confdefs.h <<_ACEOF
3393#define PACKAGE_STRING "$PACKAGE_STRING"
3394_ACEOF
3395
3396cat >>confdefs.h <<_ACEOF
3397#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3398_ACEOF
3399
3400cat >>confdefs.h <<_ACEOF
3401#define PACKAGE_URL "$PACKAGE_URL"
3402_ACEOF
3403
3404
3405# Let the site file select an alternate cache file if it wants to.
3406# Prefer an explicitly selected file to automatically selected ones.
3407ac_site_file1=NONE
3408ac_site_file2=NONE
3409if test -n "$CONFIG_SITE"; then
3410 # We do not want a PATH search for config.site.
3411 case $CONFIG_SITE in #((
3412 -*) ac_site_file1=./$CONFIG_SITE;;
3413 */*) ac_site_file1=$CONFIG_SITE;;
3414 *) ac_site_file1=./$CONFIG_SITE;;
3415 esac
3416elif test "x$prefix" != xNONE; then
3417 ac_site_file1=$prefix/share/config.site
3418 ac_site_file2=$prefix/etc/config.site
3419else
3420 ac_site_file1=$ac_default_prefix/share/config.site
3421 ac_site_file2=$ac_default_prefix/etc/config.site
3422fi
3423for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3424do
3425 test "x$ac_site_file" = xNONE && continue
3426 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3428$as_echo "$as_me: loading site script $ac_site_file" >&6;}
3429 sed 's/^/| /' "$ac_site_file" >&5
3430 . "$ac_site_file" \
3431 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3432$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3433as_fn_error $? "failed to load site script $ac_site_file
3434See \`config.log' for more details" "$LINENO" 5 ; }
3435 fi
3436done
3437
3438if test -r "$cache_file"; then
3439 # Some versions of bash will fail to source /dev/null (special files
3440 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3441 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3443$as_echo "$as_me: loading cache $cache_file" >&6;}
3444 case $cache_file in
3445 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3446 *) . "./$cache_file";;
3447 esac
3448 fi
3449else
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3451$as_echo "$as_me: creating cache $cache_file" >&6;}
3452 >$cache_file
3453fi
3454
3455gt_needs="$gt_needs "
3456# Check that the precious variables saved in the cache have kept the same
3457# value.
3458ac_cache_corrupted=false
3459for ac_var in $ac_precious_vars; do
3460 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3461 eval ac_new_set=\$ac_env_${ac_var}_set
3462 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3463 eval ac_new_val=\$ac_env_${ac_var}_value
3464 case $ac_old_set,$ac_new_set in
3465 set,)
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3467$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3468 ac_cache_corrupted=: ;;
3469 ,set)
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3471$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3472 ac_cache_corrupted=: ;;
3473 ,);;
3474 *)
3475 if test "x$ac_old_val" != "x$ac_new_val"; then
3476 # differences in whitespace do not lead to failure.
3477 ac_old_val_w=`echo x $ac_old_val`
3478 ac_new_val_w=`echo x $ac_new_val`
3479 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3481$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3482 ac_cache_corrupted=:
3483 else
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3485$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3486 eval $ac_var=\$ac_old_val
3487 fi
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3489$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3491$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3492 fi;;
3493 esac
3494 # Pass precious variables to config.status.
3495 if test "$ac_new_set" = set; then
3496 case $ac_new_val in
3497 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3498 *) ac_arg=$ac_var=$ac_new_val ;;
3499 esac
3500 case " $ac_configure_args " in
3501 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3502 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3503 esac
3504 fi
3505done
3506if $ac_cache_corrupted; then
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3508$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3510$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3511 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3512fi
3513## -------------------- ##
3514## Main body of script. ##
3515## -------------------- ##
3516
3517ac_ext=c
3518ac_cpp='$CPP $CPPFLAGS'
3519ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3520ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3521ac_compiler_gnu=$ac_cv_c_compiler_gnu
3522
3523
3524
3525
3526
3527
3528ac_config_headers="$ac_config_headers config.h"
3529
3530
3531
3532
3533am__api_version='1.11'
3534
3535ac_aux_dir=
3536for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3537 if test -f "$ac_dir/install-sh"; then
3538 ac_aux_dir=$ac_dir
3539 ac_install_sh="$ac_aux_dir/install-sh -c"
3540 break
3541 elif test -f "$ac_dir/install.sh"; then
3542 ac_aux_dir=$ac_dir
3543 ac_install_sh="$ac_aux_dir/install.sh -c"
3544 break
3545 elif test -f "$ac_dir/shtool"; then
3546 ac_aux_dir=$ac_dir
3547 ac_install_sh="$ac_aux_dir/shtool install -c"
3548 break
3549 fi
3550done
3551if test -z "$ac_aux_dir"; then
3552 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3553fi
3554
3555# These three variables are undocumented and unsupported,
3556# and are intended to be withdrawn in a future Autoconf release.
3557# They can cause serious problems if a builder's source tree is in a directory
3558# whose full name contains unusual characters.
3559ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3560ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3561ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3562
3563
3564# Find a good install program. We prefer a C program (faster),
3565# so one script is as good as another. But avoid the broken or
3566# incompatible versions:
3567# SysV /etc/install, /usr/sbin/install
3568# SunOS /usr/etc/install
3569# IRIX /sbin/install
3570# AIX /bin/install
3571# AmigaOS /C/install, which installs bootblocks on floppy discs
3572# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3573# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3574# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3575# OS/2's system install, which has a completely different semantic
3576# ./install, which can be erroneously created by make from ./install.sh.
3577# Reject install programs that cannot install multiple files.
3578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3579$as_echo_n "checking for a BSD-compatible install... " >&6; }
3580if test -z "$INSTALL"; then
3581if test "${ac_cv_path_install+set}" = set; then :
3582 $as_echo_n "(cached) " >&6
3583else
3584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3585for as_dir in $PATH
3586do
3587 IFS=$as_save_IFS
3588 test -z "$as_dir" && as_dir=.
3589 # Account for people who put trailing slashes in PATH elements.
3590case $as_dir/ in #((
3591 ./ | .// | /[cC]/* | \
3592 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3593 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3594 /usr/ucb/* ) ;;
3595 *)
3596 # OSF1 and SCO ODT 3.0 have their own names for install.
3597 # Don't use installbsd from OSF since it installs stuff as root
3598 # by default.
3599 for ac_prog in ginstall scoinst install; do
3600 for ac_exec_ext in '' $ac_executable_extensions; do
3601 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3602 if test $ac_prog = install &&
3603 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3604 # AIX install. It has an incompatible calling convention.
3605 :
3606 elif test $ac_prog = install &&
3607 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3608 # program-specific install script used by HP pwplus--don't use.
3609 :
3610 else
3611 rm -rf conftest.one conftest.two conftest.dir
3612 echo one > conftest.one
3613 echo two > conftest.two
3614 mkdir conftest.dir
3615 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3616 test -s conftest.one && test -s conftest.two &&
3617 test -s conftest.dir/conftest.one &&
3618 test -s conftest.dir/conftest.two
3619 then
3620 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3621 break 3
3622 fi
3623 fi
3624 fi
3625 done
3626 done
3627 ;;
3628esac
3629
3630 done
3631IFS=$as_save_IFS
3632
3633rm -rf conftest.one conftest.two conftest.dir
3634
3635fi
3636 if test "${ac_cv_path_install+set}" = set; then
3637 INSTALL=$ac_cv_path_install
3638 else
3639 # As a last resort, use the slow shell script. Don't cache a
3640 # value for INSTALL within a source directory, because that will
3641 # break other packages using the cache if that directory is
3642 # removed, or if the value is a relative name.
3643 INSTALL=$ac_install_sh
3644 fi
3645fi
3646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3647$as_echo "$INSTALL" >&6; }
3648
3649# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3650# It thinks the first close brace ends the variable substitution.
3651test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3652
3653test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3654
3655test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3656
3657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3658$as_echo_n "checking whether build environment is sane... " >&6; }
3659# Just in case
3660sleep 1
3661echo timestamp > conftest.file
3662# Reject unsafe characters in $srcdir or the absolute working directory
3663# name. Accept space and tab only in the latter.
3664am_lf='
3665'
3666case `pwd` in
3667 *[\\\"\#\$\&\'\`$am_lf]*)
3668 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3669esac
3670case $srcdir in
3671 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3672 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3673esac
3674
3675# Do `set' in a subshell so we don't clobber the current shell's
3676# arguments. Must try -L first in case configure is actually a
3677# symlink; some systems play weird games with the mod time of symlinks
3678# (eg FreeBSD returns the mod time of the symlink's containing
3679# directory).
3680if (
3681 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3682 if test "$*" = "X"; then
3683 # -L didn't work.
3684 set X `ls -t "$srcdir/configure" conftest.file`
3685 fi
3686 rm -f conftest.file
3687 if test "$*" != "X $srcdir/configure conftest.file" \
3688 && test "$*" != "X conftest.file $srcdir/configure"; then
3689
3690 # If neither matched, then we have a broken ls. This can happen
3691 # if, for instance, CONFIG_SHELL is bash and it inherits a
3692 # broken ls alias from the environment. This has actually
3693 # happened. Such a system could not be considered "sane".
3694 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3695alias in your environment" "$LINENO" 5
3696 fi
3697
3698 test "$2" = conftest.file
3699 )
3700then
3701 # Ok.
3702 :
3703else
3704 as_fn_error $? "newly created file is older than distributed files!
3705Check your system clock" "$LINENO" 5
3706fi
3707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3708$as_echo "yes" >&6; }
3709test "$program_prefix" != NONE &&
3710 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3711# Use a double $ so make ignores it.
3712test "$program_suffix" != NONE &&
3713 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3714# Double any \ or $.
3715# By default was `s,x,x', remove it if useless.
3716ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3717program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3718
3719# expand $ac_aux_dir to an absolute path
3720am_aux_dir=`cd $ac_aux_dir && pwd`
3721
3722if test x"${MISSING+set}" != xset; then
3723 case $am_aux_dir in
3724 *\ * | *\ *)
3725 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3726 *)
3727 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3728 esac
3729fi
3730# Use eval to expand $SHELL
3731if eval "$MISSING --run true"; then
3732 am_missing_run="$MISSING --run "
3733else
3734 am_missing_run=
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3736$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3737fi
3738
3739if test x"${install_sh}" != xset; then
3740 case $am_aux_dir in
3741 *\ * | *\ *)
3742 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3743 *)
3744 install_sh="\${SHELL} $am_aux_dir/install-sh"
3745 esac
3746fi
3747
3748# Installed binaries are usually stripped using `strip' when the user
3749# run `make install-strip'. However `strip' might not be the right
3750# tool to use in cross-compilation environments, therefore Automake
3751# will honor the `STRIP' environment variable to overrule this program.
3752if test "$cross_compiling" != no; then
3753 if test -n "$ac_tool_prefix"; then
3754 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3755set dummy ${ac_tool_prefix}strip; ac_word=$2
3756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3757$as_echo_n "checking for $ac_word... " >&6; }
3758if test "${ac_cv_prog_STRIP+set}" = set; then :
3759 $as_echo_n "(cached) " >&6
3760else
3761 if test -n "$STRIP"; then
3762 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3763else
3764as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3765for as_dir in $PATH
3766do
3767 IFS=$as_save_IFS
3768 test -z "$as_dir" && as_dir=.
3769 for ac_exec_ext in '' $ac_executable_extensions; do
3770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3771 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3773 break 2
3774 fi
3775done
3776 done
3777IFS=$as_save_IFS
3778
3779fi
3780fi
3781STRIP=$ac_cv_prog_STRIP
3782if test -n "$STRIP"; then
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3784$as_echo "$STRIP" >&6; }
3785else
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3787$as_echo "no" >&6; }
3788fi
3789
3790
3791fi
3792if test -z "$ac_cv_prog_STRIP"; then
3793 ac_ct_STRIP=$STRIP
3794 # Extract the first word of "strip", so it can be a program name with args.
3795set dummy strip; ac_word=$2
3796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3797$as_echo_n "checking for $ac_word... " >&6; }
3798if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3799 $as_echo_n "(cached) " >&6
3800else
3801 if test -n "$ac_ct_STRIP"; then
3802 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3803else
3804as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3805for as_dir in $PATH
3806do
3807 IFS=$as_save_IFS
3808 test -z "$as_dir" && as_dir=.
3809 for ac_exec_ext in '' $ac_executable_extensions; do
3810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3811 ac_cv_prog_ac_ct_STRIP="strip"
3812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3813 break 2
3814 fi
3815done
3816 done
3817IFS=$as_save_IFS
3818
3819fi
3820fi
3821ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3822if test -n "$ac_ct_STRIP"; then
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3824$as_echo "$ac_ct_STRIP" >&6; }
3825else
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3827$as_echo "no" >&6; }
3828fi
3829
3830 if test "x$ac_ct_STRIP" = x; then
3831 STRIP=":"
3832 else
3833 case $cross_compiling:$ac_tool_warned in
3834yes:)
3835{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3836$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3837ac_tool_warned=yes ;;
3838esac
3839 STRIP=$ac_ct_STRIP
3840 fi
3841else
3842 STRIP="$ac_cv_prog_STRIP"
3843fi
3844
3845fi
3846INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3847
3848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3849$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3850if test -z "$MKDIR_P"; then
3851 if test "${ac_cv_path_mkdir+set}" = set; then :
3852 $as_echo_n "(cached) " >&6
3853else
3854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3855for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3856do
3857 IFS=$as_save_IFS
3858 test -z "$as_dir" && as_dir=.
3859 for ac_prog in mkdir gmkdir; do
3860 for ac_exec_ext in '' $ac_executable_extensions; do
3861 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3862 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3863 'mkdir (GNU coreutils) '* | \
3864 'mkdir (coreutils) '* | \
3865 'mkdir (fileutils) '4.1*)
3866 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3867 break 3;;
3868 esac
3869 done
3870 done
3871 done
3872IFS=$as_save_IFS
3873
3874fi
3875
3876 test -d ./--version && rmdir ./--version
3877 if test "${ac_cv_path_mkdir+set}" = set; then
3878 MKDIR_P="$ac_cv_path_mkdir -p"
3879 else
3880 # As a last resort, use the slow shell script. Don't cache a
3881 # value for MKDIR_P within a source directory, because that will
3882 # break other packages using the cache if that directory is
3883 # removed, or if the value is a relative name.
3884 MKDIR_P="$ac_install_sh -d"
3885 fi
3886fi
3887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3888$as_echo "$MKDIR_P" >&6; }
3889
3890mkdir_p="$MKDIR_P"
3891case $mkdir_p in
3892 [\\/$]* | ?:[\\/]*) ;;
3893 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3894esac
3895
3896for ac_prog in gawk mawk nawk awk
3897do
3898 # Extract the first word of "$ac_prog", so it can be a program name with args.
3899set dummy $ac_prog; ac_word=$2
3900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3901$as_echo_n "checking for $ac_word... " >&6; }
3902if test "${ac_cv_prog_AWK+set}" = set; then :
3903 $as_echo_n "(cached) " >&6
3904else
3905 if test -n "$AWK"; then
3906 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3907else
3908as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3909for as_dir in $PATH
3910do
3911 IFS=$as_save_IFS
3912 test -z "$as_dir" && as_dir=.
3913 for ac_exec_ext in '' $ac_executable_extensions; do
3914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3915 ac_cv_prog_AWK="$ac_prog"
3916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3917 break 2
3918 fi
3919done
3920 done
3921IFS=$as_save_IFS
3922
3923fi
3924fi
3925AWK=$ac_cv_prog_AWK
3926if test -n "$AWK"; then
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3928$as_echo "$AWK" >&6; }
3929else
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3931$as_echo "no" >&6; }
3932fi
3933
3934
3935 test -n "$AWK" && break
3936done
3937
3938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3939$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3940set x ${MAKE-make}
3941ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3942if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3943 $as_echo_n "(cached) " >&6
3944else
3945 cat >conftest.make <<\_ACEOF
3946SHELL = /bin/sh
3947all:
3948 @echo '@@@%%%=$(MAKE)=@@@%%%'
3949_ACEOF
3950# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3951case `${MAKE-make} -f conftest.make 2>/dev/null` in
3952 *@@@%%%=?*=@@@%%%*)
3953 eval ac_cv_prog_make_${ac_make}_set=yes;;
3954 *)
3955 eval ac_cv_prog_make_${ac_make}_set=no;;
3956esac
3957rm -f conftest.make
3958fi
3959if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3961$as_echo "yes" >&6; }
3962 SET_MAKE=
3963else
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3965$as_echo "no" >&6; }
3966 SET_MAKE="MAKE=${MAKE-make}"
3967fi
3968
3969rm -rf .tst 2>/dev/null
3970mkdir .tst 2>/dev/null
3971if test -d .tst; then
3972 am__leading_dot=.
3973else
3974 am__leading_dot=_
3975fi
3976rmdir .tst 2>/dev/null
3977
3978if test "`cd $srcdir && pwd`" != "`pwd`"; then
3979 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3980 # is not polluted with repeated "-I."
3981 am__isrc=' -I$(srcdir)'
3982 # test to see if srcdir already configured
3983 if test -f $srcdir/config.status; then
3984 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3985 fi
3986fi
3987
3988# test whether we have cygpath
3989if test -z "$CYGPATH_W"; then
3990 if (cygpath --version) >/dev/null 2>/dev/null; then
3991 CYGPATH_W='cygpath -w'
3992 else
3993 CYGPATH_W=echo
3994 fi
3995fi
3996
3997
3998# Define the identity of the package.
3999 PACKAGE='ecore'
4000 VERSION='1.1.0'
4001
4002
4003cat >>confdefs.h <<_ACEOF
4004#define PACKAGE "$PACKAGE"
4005_ACEOF
4006
4007
4008cat >>confdefs.h <<_ACEOF
4009#define VERSION "$VERSION"
4010_ACEOF
4011
4012# Some tools Automake needs.
4013
4014ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4015
4016
4017AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4018
4019
4020AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4021
4022
4023AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4024
4025
4026MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4027
4028# We need awk for the "check" target. The system "awk" is bad on
4029# some platforms.
4030# Always define AMTAR for backward compatibility.
4031
4032AMTAR=${AMTAR-"${am_missing_run}tar"}
4033
4034am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
4035
4036
4037
4038
4039
4040# Check whether --enable-silent-rules was given.
4041if test "${enable_silent_rules+set}" = set; then :
4042 enableval=$enable_silent_rules;
4043fi
4044
4045case $enable_silent_rules in
4046yes) AM_DEFAULT_VERBOSITY=0;;
4047no) AM_DEFAULT_VERBOSITY=1;;
4048*) AM_DEFAULT_VERBOSITY=0;;
4049esac
4050AM_BACKSLASH='\'
4051
4052
4053DEPDIR="${am__leading_dot}deps"
4054
4055ac_config_commands="$ac_config_commands depfiles"
4056
4057
4058am_make=${MAKE-make}
4059cat > confinc << 'END'
4060am__doit:
4061 @echo this is the am__doit target
4062.PHONY: am__doit
4063END
4064# If we don't find an include directive, just comment out the code.
4065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4066$as_echo_n "checking for style of include used by $am_make... " >&6; }
4067am__include="#"
4068am__quote=
4069_am_result=none
4070# First try GNU make style include.
4071echo "include confinc" > confmf
4072# Ignore all kinds of additional output from `make'.
4073case `$am_make -s -f confmf 2> /dev/null` in #(
4074*the\ am__doit\ target*)
4075 am__include=include
4076 am__quote=
4077 _am_result=GNU
4078 ;;
4079esac
4080# Now try BSD make style include.
4081if test "$am__include" = "#"; then
4082 echo '.include "confinc"' > confmf
4083 case `$am_make -s -f confmf 2> /dev/null` in #(
4084 *the\ am__doit\ target*)
4085 am__include=.include
4086 am__quote="\""
4087 _am_result=BSD
4088 ;;
4089 esac
4090fi
4091
4092
4093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4094$as_echo "$_am_result" >&6; }
4095rm -f confinc confmf
4096
4097# Check whether --enable-dependency-tracking was given.
4098if test "${enable_dependency_tracking+set}" = set; then :
4099 enableval=$enable_dependency_tracking;
4100fi
4101
4102if test "x$enable_dependency_tracking" != xno; then
4103 am_depcomp="$ac_aux_dir/depcomp"
4104 AMDEPBACKSLASH='\'
4105fi
4106 if test "x$enable_dependency_tracking" != xno; then
4107 AMDEP_TRUE=
4108 AMDEP_FALSE='#'
4109else
4110 AMDEP_TRUE='#'
4111 AMDEP_FALSE=
4112fi
4113
4114
4115ac_ext=c
4116ac_cpp='$CPP $CPPFLAGS'
4117ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4118ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4119ac_compiler_gnu=$ac_cv_c_compiler_gnu
4120if test -n "$ac_tool_prefix"; then
4121 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4122set dummy ${ac_tool_prefix}gcc; ac_word=$2
4123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4124$as_echo_n "checking for $ac_word... " >&6; }
4125if test "${ac_cv_prog_CC+set}" = set; then :
4126 $as_echo_n "(cached) " >&6
4127else
4128 if test -n "$CC"; then
4129 ac_cv_prog_CC="$CC" # Let the user override the test.
4130else
4131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4132for as_dir in $PATH
4133do
4134 IFS=$as_save_IFS
4135 test -z "$as_dir" && as_dir=.
4136 for ac_exec_ext in '' $ac_executable_extensions; do
4137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4138 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4140 break 2
4141 fi
4142done
4143 done
4144IFS=$as_save_IFS
4145
4146fi
4147fi
4148CC=$ac_cv_prog_CC
4149if test -n "$CC"; then
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4151$as_echo "$CC" >&6; }
4152else
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4154$as_echo "no" >&6; }
4155fi
4156
4157
4158fi
4159if test -z "$ac_cv_prog_CC"; then
4160 ac_ct_CC=$CC
4161 # Extract the first word of "gcc", so it can be a program name with args.
4162set dummy gcc; ac_word=$2
4163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4164$as_echo_n "checking for $ac_word... " >&6; }
4165if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4166 $as_echo_n "(cached) " >&6
4167else
4168 if test -n "$ac_ct_CC"; then
4169 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4170else
4171as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4172for as_dir in $PATH
4173do
4174 IFS=$as_save_IFS
4175 test -z "$as_dir" && as_dir=.
4176 for ac_exec_ext in '' $ac_executable_extensions; do
4177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4178 ac_cv_prog_ac_ct_CC="gcc"
4179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4180 break 2
4181 fi
4182done
4183 done
4184IFS=$as_save_IFS
4185
4186fi
4187fi
4188ac_ct_CC=$ac_cv_prog_ac_ct_CC
4189if test -n "$ac_ct_CC"; then
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4191$as_echo "$ac_ct_CC" >&6; }
4192else
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4194$as_echo "no" >&6; }
4195fi
4196
4197 if test "x$ac_ct_CC" = x; then
4198 CC=""
4199 else
4200 case $cross_compiling:$ac_tool_warned in
4201yes:)
4202{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4203$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4204ac_tool_warned=yes ;;
4205esac
4206 CC=$ac_ct_CC
4207 fi
4208else
4209 CC="$ac_cv_prog_CC"
4210fi
4211
4212if test -z "$CC"; then
4213 if test -n "$ac_tool_prefix"; then
4214 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4215set dummy ${ac_tool_prefix}cc; ac_word=$2
4216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4217$as_echo_n "checking for $ac_word... " >&6; }
4218if test "${ac_cv_prog_CC+set}" = set; then :
4219 $as_echo_n "(cached) " >&6
4220else
4221 if test -n "$CC"; then
4222 ac_cv_prog_CC="$CC" # Let the user override the test.
4223else
4224as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4225for as_dir in $PATH
4226do
4227 IFS=$as_save_IFS
4228 test -z "$as_dir" && as_dir=.
4229 for ac_exec_ext in '' $ac_executable_extensions; do
4230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4231 ac_cv_prog_CC="${ac_tool_prefix}cc"
4232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4233 break 2
4234 fi
4235done
4236 done
4237IFS=$as_save_IFS
4238
4239fi
4240fi
4241CC=$ac_cv_prog_CC
4242if test -n "$CC"; then
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4244$as_echo "$CC" >&6; }
4245else
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4247$as_echo "no" >&6; }
4248fi
4249
4250
4251 fi
4252fi
4253if test -z "$CC"; then
4254 # Extract the first word of "cc", so it can be a program name with args.
4255set dummy cc; ac_word=$2
4256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4257$as_echo_n "checking for $ac_word... " >&6; }
4258if test "${ac_cv_prog_CC+set}" = set; then :
4259 $as_echo_n "(cached) " >&6
4260else
4261 if test -n "$CC"; then
4262 ac_cv_prog_CC="$CC" # Let the user override the test.
4263else
4264 ac_prog_rejected=no
4265as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4266for as_dir in $PATH
4267do
4268 IFS=$as_save_IFS
4269 test -z "$as_dir" && as_dir=.
4270 for ac_exec_ext in '' $ac_executable_extensions; do
4271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4272 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4273 ac_prog_rejected=yes
4274 continue
4275 fi
4276 ac_cv_prog_CC="cc"
4277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4278 break 2
4279 fi
4280done
4281 done
4282IFS=$as_save_IFS
4283
4284if test $ac_prog_rejected = yes; then
4285 # We found a bogon in the path, so make sure we never use it.
4286 set dummy $ac_cv_prog_CC
4287 shift
4288 if test $# != 0; then
4289 # We chose a different compiler from the bogus one.
4290 # However, it has the same basename, so the bogon will be chosen
4291 # first if we set CC to just the basename; use the full file name.
4292 shift
4293 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4294 fi
4295fi
4296fi
4297fi
4298CC=$ac_cv_prog_CC
4299if test -n "$CC"; then
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4301$as_echo "$CC" >&6; }
4302else
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4304$as_echo "no" >&6; }
4305fi
4306
4307
4308fi
4309if test -z "$CC"; then
4310 if test -n "$ac_tool_prefix"; then
4311 for ac_prog in cl.exe
4312 do
4313 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4314set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4316$as_echo_n "checking for $ac_word... " >&6; }
4317if test "${ac_cv_prog_CC+set}" = set; then :
4318 $as_echo_n "(cached) " >&6
4319else
4320 if test -n "$CC"; then
4321 ac_cv_prog_CC="$CC" # Let the user override the test.
4322else
4323as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4324for as_dir in $PATH
4325do
4326 IFS=$as_save_IFS
4327 test -z "$as_dir" && as_dir=.
4328 for ac_exec_ext in '' $ac_executable_extensions; do
4329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4330 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4332 break 2
4333 fi
4334done
4335 done
4336IFS=$as_save_IFS
4337
4338fi
4339fi
4340CC=$ac_cv_prog_CC
4341if test -n "$CC"; then
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4343$as_echo "$CC" >&6; }
4344else
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4346$as_echo "no" >&6; }
4347fi
4348
4349
4350 test -n "$CC" && break
4351 done
4352fi
4353if test -z "$CC"; then
4354 ac_ct_CC=$CC
4355 for ac_prog in cl.exe
4356do
4357 # Extract the first word of "$ac_prog", so it can be a program name with args.
4358set dummy $ac_prog; ac_word=$2
4359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360$as_echo_n "checking for $ac_word... " >&6; }
4361if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4362 $as_echo_n "(cached) " >&6
4363else
4364 if test -n "$ac_ct_CC"; then
4365 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4366else
4367as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368for as_dir in $PATH
4369do
4370 IFS=$as_save_IFS
4371 test -z "$as_dir" && as_dir=.
4372 for ac_exec_ext in '' $ac_executable_extensions; do
4373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374 ac_cv_prog_ac_ct_CC="$ac_prog"
4375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 break 2
4377 fi
4378done
4379 done
4380IFS=$as_save_IFS
4381
4382fi
4383fi
4384ac_ct_CC=$ac_cv_prog_ac_ct_CC
4385if test -n "$ac_ct_CC"; then
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4387$as_echo "$ac_ct_CC" >&6; }
4388else
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390$as_echo "no" >&6; }
4391fi
4392
4393
4394 test -n "$ac_ct_CC" && break
4395done
4396
4397 if test "x$ac_ct_CC" = x; then
4398 CC=""
4399 else
4400 case $cross_compiling:$ac_tool_warned in
4401yes:)
4402{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4403$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4404ac_tool_warned=yes ;;
4405esac
4406 CC=$ac_ct_CC
4407 fi
4408fi
4409
4410fi
4411
4412
4413test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4414$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4415as_fn_error $? "no acceptable C compiler found in \$PATH
4416See \`config.log' for more details" "$LINENO" 5 ; }
4417
4418# Provide some information about the compiler.
4419$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4420set X $ac_compile
4421ac_compiler=$2
4422for ac_option in --version -v -V -qversion; do
4423 { { ac_try="$ac_compiler $ac_option >&5"
4424case "(($ac_try" in
4425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4426 *) ac_try_echo=$ac_try;;
4427esac
4428eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4429$as_echo "$ac_try_echo"; } >&5
4430 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4431 ac_status=$?
4432 if test -s conftest.err; then
4433 sed '10a\
4434... rest of stderr output deleted ...
4435 10q' conftest.err >conftest.er1
4436 cat conftest.er1 >&5
4437 fi
4438 rm -f conftest.er1 conftest.err
4439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4440 test $ac_status = 0; }
4441done
4442
4443cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444/* end confdefs.h. */
4445
4446int
4447main ()
4448{
4449
4450 ;
4451 return 0;
4452}
4453_ACEOF
4454ac_clean_files_save=$ac_clean_files
4455ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4456# Try to create an executable without -o first, disregard a.out.
4457# It will help us diagnose broken compilers, and finding out an intuition
4458# of exeext.
4459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4460$as_echo_n "checking whether the C compiler works... " >&6; }
4461ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4462
4463# The possible output files:
4464ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4465
4466ac_rmfiles=
4467for ac_file in $ac_files
4468do
4469 case $ac_file in
4470 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4471 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4472 esac
4473done
4474rm -f $ac_rmfiles
4475
4476if { { ac_try="$ac_link_default"
4477case "(($ac_try" in
4478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4479 *) ac_try_echo=$ac_try;;
4480esac
4481eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4482$as_echo "$ac_try_echo"; } >&5
4483 (eval "$ac_link_default") 2>&5
4484 ac_status=$?
4485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4486 test $ac_status = 0; }; then :
4487 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4488# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4489# in a Makefile. We should not override ac_cv_exeext if it was cached,
4490# so that the user can short-circuit this test for compilers unknown to
4491# Autoconf.
4492for ac_file in $ac_files ''
4493do
4494 test -f "$ac_file" || continue
4495 case $ac_file in
4496 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4497 ;;
4498 [ab].out )
4499 # We found the default executable, but exeext='' is most
4500 # certainly right.
4501 break;;
4502 *.* )
4503 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4504 then :; else
4505 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4506 fi
4507 # We set ac_cv_exeext here because the later test for it is not
4508 # safe: cross compilers may not add the suffix if given an `-o'
4509 # argument, so we may need to know it at that point already.
4510 # Even if this section looks crufty: it has the advantage of
4511 # actually working.
4512 break;;
4513 * )
4514 break;;
4515 esac
4516done
4517test "$ac_cv_exeext" = no && ac_cv_exeext=
4518
4519else
4520 ac_file=''
4521fi
4522if test -z "$ac_file"; then :
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4524$as_echo "no" >&6; }
4525$as_echo "$as_me: failed program was:" >&5
4526sed 's/^/| /' conftest.$ac_ext >&5
4527
4528{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4529$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4530as_fn_error 77 "C compiler cannot create executables
4531See \`config.log' for more details" "$LINENO" 5 ; }
4532else
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4534$as_echo "yes" >&6; }
4535fi
4536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4537$as_echo_n "checking for C compiler default output file name... " >&6; }
4538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4539$as_echo "$ac_file" >&6; }
4540ac_exeext=$ac_cv_exeext
4541
4542rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4543ac_clean_files=$ac_clean_files_save
4544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4545$as_echo_n "checking for suffix of executables... " >&6; }
4546if { { ac_try="$ac_link"
4547case "(($ac_try" in
4548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4549 *) ac_try_echo=$ac_try;;
4550esac
4551eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4552$as_echo "$ac_try_echo"; } >&5
4553 (eval "$ac_link") 2>&5
4554 ac_status=$?
4555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4556 test $ac_status = 0; }; then :
4557 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4558# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4559# work properly (i.e., refer to `conftest.exe'), while it won't with
4560# `rm'.
4561for ac_file in conftest.exe conftest conftest.*; do
4562 test -f "$ac_file" || continue
4563 case $ac_file in
4564 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4565 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4566 break;;
4567 * ) break;;
4568 esac
4569done
4570else
4571 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4572$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4573as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4574See \`config.log' for more details" "$LINENO" 5 ; }
4575fi
4576rm -f conftest conftest$ac_cv_exeext
4577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4578$as_echo "$ac_cv_exeext" >&6; }
4579
4580rm -f conftest.$ac_ext
4581EXEEXT=$ac_cv_exeext
4582ac_exeext=$EXEEXT
4583cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4584/* end confdefs.h. */
4585#include <stdio.h>
4586int
4587main ()
4588{
4589FILE *f = fopen ("conftest.out", "w");
4590 return ferror (f) || fclose (f) != 0;
4591
4592 ;
4593 return 0;
4594}
4595_ACEOF
4596ac_clean_files="$ac_clean_files conftest.out"
4597# Check that the compiler produces executables we can run. If not, either
4598# the compiler is broken, or we cross compile.
4599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4600$as_echo_n "checking whether we are cross compiling... " >&6; }
4601if test "$cross_compiling" != yes; then
4602 { { ac_try="$ac_link"
4603case "(($ac_try" in
4604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4605 *) ac_try_echo=$ac_try;;
4606esac
4607eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4608$as_echo "$ac_try_echo"; } >&5
4609 (eval "$ac_link") 2>&5
4610 ac_status=$?
4611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4612 test $ac_status = 0; }
4613 if { ac_try='./conftest$ac_cv_exeext'
4614 { { case "(($ac_try" in
4615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4616 *) ac_try_echo=$ac_try;;
4617esac
4618eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4619$as_echo "$ac_try_echo"; } >&5
4620 (eval "$ac_try") 2>&5
4621 ac_status=$?
4622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4623 test $ac_status = 0; }; }; then
4624 cross_compiling=no
4625 else
4626 if test "$cross_compiling" = maybe; then
4627 cross_compiling=yes
4628 else
4629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4630$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4631as_fn_error $? "cannot run C compiled programs.
4632If you meant to cross compile, use \`--host'.
4633See \`config.log' for more details" "$LINENO" 5 ; }
4634 fi
4635 fi
4636fi
4637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4638$as_echo "$cross_compiling" >&6; }
4639
4640rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4641ac_clean_files=$ac_clean_files_save
4642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4643$as_echo_n "checking for suffix of object files... " >&6; }
4644if test "${ac_cv_objext+set}" = set; then :
4645 $as_echo_n "(cached) " >&6
4646else
4647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4648/* end confdefs.h. */
4649
4650int
4651main ()
4652{
4653
4654 ;
4655 return 0;
4656}
4657_ACEOF
4658rm -f conftest.o conftest.obj
4659if { { ac_try="$ac_compile"
4660case "(($ac_try" in
4661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4662 *) ac_try_echo=$ac_try;;
4663esac
4664eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4665$as_echo "$ac_try_echo"; } >&5
4666 (eval "$ac_compile") 2>&5
4667 ac_status=$?
4668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4669 test $ac_status = 0; }; then :
4670 for ac_file in conftest.o conftest.obj conftest.*; do
4671 test -f "$ac_file" || continue;
4672 case $ac_file in
4673 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4674 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4675 break;;
4676 esac
4677done
4678else
4679 $as_echo "$as_me: failed program was:" >&5
4680sed 's/^/| /' conftest.$ac_ext >&5
4681
4682{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4683$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4684as_fn_error $? "cannot compute suffix of object files: cannot compile
4685See \`config.log' for more details" "$LINENO" 5 ; }
4686fi
4687rm -f conftest.$ac_cv_objext conftest.$ac_ext
4688fi
4689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4690$as_echo "$ac_cv_objext" >&6; }
4691OBJEXT=$ac_cv_objext
4692ac_objext=$OBJEXT
4693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4694$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4695if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4696 $as_echo_n "(cached) " >&6
4697else
4698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4699/* end confdefs.h. */
4700
4701int
4702main ()
4703{
4704#ifndef __GNUC__
4705 choke me
4706#endif
4707
4708 ;
4709 return 0;
4710}
4711_ACEOF
4712if ac_fn_c_try_compile "$LINENO"; then :
4713 ac_compiler_gnu=yes
4714else
4715 ac_compiler_gnu=no
4716fi
4717rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4718ac_cv_c_compiler_gnu=$ac_compiler_gnu
4719
4720fi
4721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4722$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4723if test $ac_compiler_gnu = yes; then
4724 GCC=yes
4725else
4726 GCC=
4727fi
4728ac_test_CFLAGS=${CFLAGS+set}
4729ac_save_CFLAGS=$CFLAGS
4730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4731$as_echo_n "checking whether $CC accepts -g... " >&6; }
4732if test "${ac_cv_prog_cc_g+set}" = set; then :
4733 $as_echo_n "(cached) " >&6
4734else
4735 ac_save_c_werror_flag=$ac_c_werror_flag
4736 ac_c_werror_flag=yes
4737 ac_cv_prog_cc_g=no
4738 CFLAGS="-g"
4739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4740/* end confdefs.h. */
4741
4742int
4743main ()
4744{
4745
4746 ;
4747 return 0;
4748}
4749_ACEOF
4750if ac_fn_c_try_compile "$LINENO"; then :
4751 ac_cv_prog_cc_g=yes
4752else
4753 CFLAGS=""
4754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4755/* end confdefs.h. */
4756
4757int
4758main ()
4759{
4760
4761 ;
4762 return 0;
4763}
4764_ACEOF
4765if ac_fn_c_try_compile "$LINENO"; then :
4766
4767else
4768 ac_c_werror_flag=$ac_save_c_werror_flag
4769 CFLAGS="-g"
4770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4771/* end confdefs.h. */
4772
4773int
4774main ()
4775{
4776
4777 ;
4778 return 0;
4779}
4780_ACEOF
4781if ac_fn_c_try_compile "$LINENO"; then :
4782 ac_cv_prog_cc_g=yes
4783fi
4784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4785fi
4786rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4787fi
4788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4789 ac_c_werror_flag=$ac_save_c_werror_flag
4790fi
4791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4792$as_echo "$ac_cv_prog_cc_g" >&6; }
4793if test "$ac_test_CFLAGS" = set; then
4794 CFLAGS=$ac_save_CFLAGS
4795elif test $ac_cv_prog_cc_g = yes; then
4796 if test "$GCC" = yes; then
4797 CFLAGS="-g -O2"
4798 else
4799 CFLAGS="-g"
4800 fi
4801else
4802 if test "$GCC" = yes; then
4803 CFLAGS="-O2"
4804 else
4805 CFLAGS=
4806 fi
4807fi
4808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4809$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4810if test "${ac_cv_prog_cc_c89+set}" = set; then :
4811 $as_echo_n "(cached) " >&6
4812else
4813 ac_cv_prog_cc_c89=no
4814ac_save_CC=$CC
4815cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4816/* end confdefs.h. */
4817#include <stdarg.h>
4818#include <stdio.h>
4819#include <sys/types.h>
4820#include <sys/stat.h>
4821/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4822struct buf { int x; };
4823FILE * (*rcsopen) (struct buf *, struct stat *, int);
4824static char *e (p, i)
4825 char **p;
4826 int i;
4827{
4828 return p[i];
4829}
4830static char *f (char * (*g) (char **, int), char **p, ...)
4831{
4832 char *s;
4833 va_list v;
4834 va_start (v,p);
4835 s = g (p, va_arg (v,int));
4836 va_end (v);
4837 return s;
4838}
4839
4840/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4841 function prototypes and stuff, but not '\xHH' hex character constants.
4842 These don't provoke an error unfortunately, instead are silently treated
4843 as 'x'. The following induces an error, until -std is added to get
4844 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4845 array size at least. It's necessary to write '\x00'==0 to get something
4846 that's true only with -std. */
4847int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4848
4849/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4850 inside strings and character constants. */
4851#define FOO(x) 'x'
4852int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4853
4854int test (int i, double x);
4855struct s1 {int (*f) (int a);};
4856struct s2 {int (*f) (double a);};
4857int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4858int argc;
4859char **argv;
4860int
4861main ()
4862{
4863return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4864 ;
4865 return 0;
4866}
4867_ACEOF
4868for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4869 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4870do
4871 CC="$ac_save_CC $ac_arg"
4872 if ac_fn_c_try_compile "$LINENO"; then :
4873 ac_cv_prog_cc_c89=$ac_arg
4874fi
4875rm -f core conftest.err conftest.$ac_objext
4876 test "x$ac_cv_prog_cc_c89" != "xno" && break
4877done
4878rm -f conftest.$ac_ext
4879CC=$ac_save_CC
4880
4881fi
4882# AC_CACHE_VAL
4883case "x$ac_cv_prog_cc_c89" in
4884 x)
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4886$as_echo "none needed" >&6; } ;;
4887 xno)
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4889$as_echo "unsupported" >&6; } ;;
4890 *)
4891 CC="$CC $ac_cv_prog_cc_c89"
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4893$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4894esac
4895if test "x$ac_cv_prog_cc_c89" != xno; then :
4896
4897fi
4898
4899ac_ext=c
4900ac_cpp='$CPP $CPPFLAGS'
4901ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4902ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4903ac_compiler_gnu=$ac_cv_c_compiler_gnu
4904
4905depcc="$CC" am_compiler_list=
4906
4907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4908$as_echo_n "checking dependency style of $depcc... " >&6; }
4909if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4910 $as_echo_n "(cached) " >&6
4911else
4912 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4913 # We make a subdir and do the tests there. Otherwise we can end up
4914 # making bogus files that we don't know about and never remove. For
4915 # instance it was reported that on HP-UX the gcc test will end up
4916 # making a dummy file named `D' -- because `-MD' means `put the output
4917 # in D'.
4918 mkdir conftest.dir
4919 # Copy depcomp to subdir because otherwise we won't find it if we're
4920 # using a relative directory.
4921 cp "$am_depcomp" conftest.dir
4922 cd conftest.dir
4923 # We will build objects and dependencies in a subdirectory because
4924 # it helps to detect inapplicable dependency modes. For instance
4925 # both Tru64's cc and ICC support -MD to output dependencies as a
4926 # side effect of compilation, but ICC will put the dependencies in
4927 # the current directory while Tru64 will put them in the object
4928 # directory.
4929 mkdir sub
4930
4931 am_cv_CC_dependencies_compiler_type=none
4932 if test "$am_compiler_list" = ""; then
4933 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4934 fi
4935 am__universal=false
4936 case " $depcc " in #(
4937 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4938 esac
4939
4940 for depmode in $am_compiler_list; do
4941 # Setup a source with many dependencies, because some compilers
4942 # like to wrap large dependency lists on column 80 (with \), and
4943 # we should not choose a depcomp mode which is confused by this.
4944 #
4945 # We need to recreate these files for each test, as the compiler may
4946 # overwrite some of them when testing with obscure command lines.
4947 # This happens at least with the AIX C compiler.
4948 : > sub/conftest.c
4949 for i in 1 2 3 4 5 6; do
4950 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4951 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4952 # Solaris 8's {/usr,}/bin/sh.
4953 touch sub/conftst$i.h
4954 done
4955 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4956
4957 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4958 # mode. It turns out that the SunPro C++ compiler does not properly
4959 # handle `-M -o', and we need to detect this. Also, some Intel
4960 # versions had trouble with output in subdirs
4961 am__obj=sub/conftest.${OBJEXT-o}
4962 am__minus_obj="-o $am__obj"
4963 case $depmode in
4964 gcc)
4965 # This depmode causes a compiler race in universal mode.
4966 test "$am__universal" = false || continue
4967 ;;
4968 nosideeffect)
4969 # after this tag, mechanisms are not by side-effect, so they'll
4970 # only be used when explicitly requested
4971 if test "x$enable_dependency_tracking" = xyes; then
4972 continue
4973 else
4974 break
4975 fi
4976 ;;
4977 msvisualcpp | msvcmsys)
4978 # This compiler won't grok `-c -o', but also, the minuso test has
4979 # not run yet. These depmodes are late enough in the game, and
4980 # so weak that their functioning should not be impacted.
4981 am__obj=conftest.${OBJEXT-o}
4982 am__minus_obj=
4983 ;;
4984 none) break ;;
4985 esac
4986 if depmode=$depmode \
4987 source=sub/conftest.c object=$am__obj \
4988 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4989 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4990 >/dev/null 2>conftest.err &&
4991 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4992 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4993 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4994 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4995 # icc doesn't choke on unknown options, it will just issue warnings
4996 # or remarks (even with -Werror). So we grep stderr for any message
4997 # that says an option was ignored or not supported.
4998 # When given -MP, icc 7.0 and 7.1 complain thusly:
4999 # icc: Command line warning: ignoring option '-M'; no argument required
5000 # The diagnosis changed in icc 8.0:
5001 # icc: Command line remark: option '-MP' not supported
5002 if (grep 'ignoring option' conftest.err ||
5003 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5004 am_cv_CC_dependencies_compiler_type=$depmode
5005 break
5006 fi
5007 fi
5008 done
5009
5010 cd ..
5011 rm -rf conftest.dir
5012else
5013 am_cv_CC_dependencies_compiler_type=none
5014fi
5015
5016fi
5017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5018$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5019CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5020
5021 if
5022 test "x$enable_dependency_tracking" != xno \
5023 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5024 am__fastdepCC_TRUE=
5025 am__fastdepCC_FALSE='#'
5026else
5027 am__fastdepCC_TRUE='#'
5028 am__fastdepCC_FALSE=
5029fi
5030
5031
5032
5033ac_ext=c
5034ac_cpp='$CPP $CPPFLAGS'
5035ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5036ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5037ac_compiler_gnu=$ac_cv_c_compiler_gnu
5038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5039$as_echo_n "checking how to run the C preprocessor... " >&6; }
5040# On Suns, sometimes $CPP names a directory.
5041if test -n "$CPP" && test -d "$CPP"; then
5042 CPP=
5043fi
5044if test -z "$CPP"; then
5045 if test "${ac_cv_prog_CPP+set}" = set; then :
5046 $as_echo_n "(cached) " >&6
5047else
5048 # Double quotes because CPP needs to be expanded
5049 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5050 do
5051 ac_preproc_ok=false
5052for ac_c_preproc_warn_flag in '' yes
5053do
5054 # Use a header file that comes with gcc, so configuring glibc
5055 # with a fresh cross-compiler works.
5056 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5057 # <limits.h> exists even on freestanding compilers.
5058 # On the NeXT, cc -E runs the code through the compiler's parser,
5059 # not just through cpp. "Syntax error" is here to catch this case.
5060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5061/* end confdefs.h. */
5062#ifdef __STDC__
5063# include <limits.h>
5064#else
5065# include <assert.h>
5066#endif
5067 Syntax error
5068_ACEOF
5069if ac_fn_c_try_cpp "$LINENO"; then :
5070
5071else
5072 # Broken: fails on valid input.
5073continue
5074fi
5075rm -f conftest.err conftest.i conftest.$ac_ext
5076
5077 # OK, works on sane cases. Now check whether nonexistent headers
5078 # can be detected and how.
5079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5080/* end confdefs.h. */
5081#include <ac_nonexistent.h>
5082_ACEOF
5083if ac_fn_c_try_cpp "$LINENO"; then :
5084 # Broken: success on invalid input.
5085continue
5086else
5087 # Passes both tests.
5088ac_preproc_ok=:
5089break
5090fi
5091rm -f conftest.err conftest.i conftest.$ac_ext
5092
5093done
5094# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5095rm -f conftest.i conftest.err conftest.$ac_ext
5096if $ac_preproc_ok; then :
5097 break
5098fi
5099
5100 done
5101 ac_cv_prog_CPP=$CPP
5102
5103fi
5104 CPP=$ac_cv_prog_CPP
5105else
5106 ac_cv_prog_CPP=$CPP
5107fi
5108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5109$as_echo "$CPP" >&6; }
5110ac_preproc_ok=false
5111for ac_c_preproc_warn_flag in '' yes
5112do
5113 # Use a header file that comes with gcc, so configuring glibc
5114 # with a fresh cross-compiler works.
5115 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5116 # <limits.h> exists even on freestanding compilers.
5117 # On the NeXT, cc -E runs the code through the compiler's parser,
5118 # not just through cpp. "Syntax error" is here to catch this case.
5119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5120/* end confdefs.h. */
5121#ifdef __STDC__
5122# include <limits.h>
5123#else
5124# include <assert.h>
5125#endif
5126 Syntax error
5127_ACEOF
5128if ac_fn_c_try_cpp "$LINENO"; then :
5129
5130else
5131 # Broken: fails on valid input.
5132continue
5133fi
5134rm -f conftest.err conftest.i conftest.$ac_ext
5135
5136 # OK, works on sane cases. Now check whether nonexistent headers
5137 # can be detected and how.
5138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5139/* end confdefs.h. */
5140#include <ac_nonexistent.h>
5141_ACEOF
5142if ac_fn_c_try_cpp "$LINENO"; then :
5143 # Broken: success on invalid input.
5144continue
5145else
5146 # Passes both tests.
5147ac_preproc_ok=:
5148break
5149fi
5150rm -f conftest.err conftest.i conftest.$ac_ext
5151
5152done
5153# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5154rm -f conftest.i conftest.err conftest.$ac_ext
5155if $ac_preproc_ok; then :
5156
5157else
5158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5159$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5160as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5161See \`config.log' for more details" "$LINENO" 5 ; }
5162fi
5163
5164ac_ext=c
5165ac_cpp='$CPP $CPPFLAGS'
5166ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5167ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5168ac_compiler_gnu=$ac_cv_c_compiler_gnu
5169
5170
5171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5172$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5173if test "${ac_cv_path_GREP+set}" = set; then :
5174 $as_echo_n "(cached) " >&6
5175else
5176 if test -z "$GREP"; then
5177 ac_path_GREP_found=false
5178 # Loop through the user's path and test for each of PROGNAME-LIST
5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5180for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5181do
5182 IFS=$as_save_IFS
5183 test -z "$as_dir" && as_dir=.
5184 for ac_prog in grep ggrep; do
5185 for ac_exec_ext in '' $ac_executable_extensions; do
5186 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5187 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5188# Check for GNU ac_path_GREP and select it if it is found.
5189 # Check for GNU $ac_path_GREP
5190case `"$ac_path_GREP" --version 2>&1` in
5191*GNU*)
5192 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5193*)
5194 ac_count=0
5195 $as_echo_n 0123456789 >"conftest.in"
5196 while :
5197 do
5198 cat "conftest.in" "conftest.in" >"conftest.tmp"
5199 mv "conftest.tmp" "conftest.in"
5200 cp "conftest.in" "conftest.nl"
5201 $as_echo 'GREP' >> "conftest.nl"
5202 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5203 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5204 as_fn_arith $ac_count + 1 && ac_count=$as_val
5205 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5206 # Best one so far, save it but keep looking for a better one
5207 ac_cv_path_GREP="$ac_path_GREP"
5208 ac_path_GREP_max=$ac_count
5209 fi
5210 # 10*(2^10) chars as input seems more than enough
5211 test $ac_count -gt 10 && break
5212 done
5213 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5214esac
5215
5216 $ac_path_GREP_found && break 3
5217 done
5218 done
5219 done
5220IFS=$as_save_IFS
5221 if test -z "$ac_cv_path_GREP"; then
5222 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5223 fi
5224else
5225 ac_cv_path_GREP=$GREP
5226fi
5227
5228fi
5229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5230$as_echo "$ac_cv_path_GREP" >&6; }
5231 GREP="$ac_cv_path_GREP"
5232
5233
5234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5235$as_echo_n "checking for egrep... " >&6; }
5236if test "${ac_cv_path_EGREP+set}" = set; then :
5237 $as_echo_n "(cached) " >&6
5238else
5239 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5240 then ac_cv_path_EGREP="$GREP -E"
5241 else
5242 if test -z "$EGREP"; then
5243 ac_path_EGREP_found=false
5244 # Loop through the user's path and test for each of PROGNAME-LIST
5245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5246for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5247do
5248 IFS=$as_save_IFS
5249 test -z "$as_dir" && as_dir=.
5250 for ac_prog in egrep; do
5251 for ac_exec_ext in '' $ac_executable_extensions; do
5252 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5253 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5254# Check for GNU ac_path_EGREP and select it if it is found.
5255 # Check for GNU $ac_path_EGREP
5256case `"$ac_path_EGREP" --version 2>&1` in
5257*GNU*)
5258 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5259*)
5260 ac_count=0
5261 $as_echo_n 0123456789 >"conftest.in"
5262 while :
5263 do
5264 cat "conftest.in" "conftest.in" >"conftest.tmp"
5265 mv "conftest.tmp" "conftest.in"
5266 cp "conftest.in" "conftest.nl"
5267 $as_echo 'EGREP' >> "conftest.nl"
5268 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5269 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5270 as_fn_arith $ac_count + 1 && ac_count=$as_val
5271 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5272 # Best one so far, save it but keep looking for a better one
5273 ac_cv_path_EGREP="$ac_path_EGREP"
5274 ac_path_EGREP_max=$ac_count
5275 fi
5276 # 10*(2^10) chars as input seems more than enough
5277 test $ac_count -gt 10 && break
5278 done
5279 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5280esac
5281
5282 $ac_path_EGREP_found && break 3
5283 done
5284 done
5285 done
5286IFS=$as_save_IFS
5287 if test -z "$ac_cv_path_EGREP"; then
5288 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5289 fi
5290else
5291 ac_cv_path_EGREP=$EGREP
5292fi
5293
5294 fi
5295fi
5296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5297$as_echo "$ac_cv_path_EGREP" >&6; }
5298 EGREP="$ac_cv_path_EGREP"
5299
5300
5301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5302$as_echo_n "checking for ANSI C header files... " >&6; }
5303if test "${ac_cv_header_stdc+set}" = set; then :
5304 $as_echo_n "(cached) " >&6
5305else
5306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5307/* end confdefs.h. */
5308#include <stdlib.h>
5309#include <stdarg.h>
5310#include <string.h>
5311#include <float.h>
5312
5313int
5314main ()
5315{
5316
5317 ;
5318 return 0;
5319}
5320_ACEOF
5321if ac_fn_c_try_compile "$LINENO"; then :
5322 ac_cv_header_stdc=yes
5323else
5324 ac_cv_header_stdc=no
5325fi
5326rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5327
5328if test $ac_cv_header_stdc = yes; then
5329 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5331/* end confdefs.h. */
5332#include <string.h>
5333
5334_ACEOF
5335if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5336 $EGREP "memchr" >/dev/null 2>&1; then :
5337
5338else
5339 ac_cv_header_stdc=no
5340fi
5341rm -f conftest*
5342
5343fi
5344
5345if test $ac_cv_header_stdc = yes; then
5346 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5348/* end confdefs.h. */
5349#include <stdlib.h>
5350
5351_ACEOF
5352if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5353 $EGREP "free" >/dev/null 2>&1; then :
5354
5355else
5356 ac_cv_header_stdc=no
5357fi
5358rm -f conftest*
5359
5360fi
5361
5362if test $ac_cv_header_stdc = yes; then
5363 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5364 if test "$cross_compiling" = yes; then :
5365 :
5366else
5367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5368/* end confdefs.h. */
5369#include <ctype.h>
5370#include <stdlib.h>
5371#if ((' ' & 0x0FF) == 0x020)
5372# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5373# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5374#else
5375# define ISLOWER(c) \
5376 (('a' <= (c) && (c) <= 'i') \
5377 || ('j' <= (c) && (c) <= 'r') \
5378 || ('s' <= (c) && (c) <= 'z'))
5379# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5380#endif
5381
5382#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5383int
5384main ()
5385{
5386 int i;
5387 for (i = 0; i < 256; i++)
5388 if (XOR (islower (i), ISLOWER (i))
5389 || toupper (i) != TOUPPER (i))
5390 return 2;
5391 return 0;
5392}
5393_ACEOF
5394if ac_fn_c_try_run "$LINENO"; then :
5395
5396else
5397 ac_cv_header_stdc=no
5398fi
5399rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5400 conftest.$ac_objext conftest.beam conftest.$ac_ext
5401fi
5402
5403fi
5404fi
5405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5406$as_echo "$ac_cv_header_stdc" >&6; }
5407if test $ac_cv_header_stdc = yes; then
5408
5409$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5410
5411fi
5412
5413# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5414for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5415 inttypes.h stdint.h unistd.h
5416do :
5417 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5418ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5419"
5420if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5421 cat >>confdefs.h <<_ACEOF
5422#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5423_ACEOF
5424
5425fi
5426
5427done
5428
5429
5430
5431 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5432if test "x$ac_cv_header_minix_config_h" = x""yes; then :
5433 MINIX=yes
5434else
5435 MINIX=
5436fi
5437
5438
5439 if test "$MINIX" = yes; then
5440
5441$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5442
5443
5444$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5445
5446
5447$as_echo "#define _MINIX 1" >>confdefs.h
5448
5449 fi
5450
5451
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5453$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5454if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5455 $as_echo_n "(cached) " >&6
5456else
5457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5458/* end confdefs.h. */
5459
5460# define __EXTENSIONS__ 1
5461 $ac_includes_default
5462int
5463main ()
5464{
5465
5466 ;
5467 return 0;
5468}
5469_ACEOF
5470if ac_fn_c_try_compile "$LINENO"; then :
5471 ac_cv_safe_to_define___extensions__=yes
5472else
5473 ac_cv_safe_to_define___extensions__=no
5474fi
5475rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5476fi
5477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5478$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5479 test $ac_cv_safe_to_define___extensions__ = yes &&
5480 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5481
5482 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5483
5484 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5485
5486 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5487
5488 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5489
5490
5491
5492
5493# Make sure we can run config.sub.
5494$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5495 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5496
5497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5498$as_echo_n "checking build system type... " >&6; }
5499if test "${ac_cv_build+set}" = set; then :
5500 $as_echo_n "(cached) " >&6
5501else
5502 ac_build_alias=$build_alias
5503test "x$ac_build_alias" = x &&
5504 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5505test "x$ac_build_alias" = x &&
5506 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5507ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5508 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5509
5510fi
5511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5512$as_echo "$ac_cv_build" >&6; }
5513case $ac_cv_build in
5514*-*-*) ;;
5515*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5516esac
5517build=$ac_cv_build
5518ac_save_IFS=$IFS; IFS='-'
5519set x $ac_cv_build
5520shift
5521build_cpu=$1
5522build_vendor=$2
5523shift; shift
5524# Remember, the first character of IFS is used to create $*,
5525# except with old shells:
5526build_os=$*
5527IFS=$ac_save_IFS
5528case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5529
5530
5531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5532$as_echo_n "checking host system type... " >&6; }
5533if test "${ac_cv_host+set}" = set; then :
5534 $as_echo_n "(cached) " >&6
5535else
5536 if test "x$host_alias" = x; then
5537 ac_cv_host=$ac_cv_build
5538else
5539 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5540 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5541fi
5542
5543fi
5544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5545$as_echo "$ac_cv_host" >&6; }
5546case $ac_cv_host in
5547*-*-*) ;;
5548*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5549esac
5550host=$ac_cv_host
5551ac_save_IFS=$IFS; IFS='-'
5552set x $ac_cv_host
5553shift
5554host_cpu=$1
5555host_vendor=$2
5556shift; shift
5557# Remember, the first character of IFS is used to create $*,
5558# except with old shells:
5559host_os=$*
5560IFS=$ac_save_IFS
5561case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5562
5563
5564enable_win32_dll=yes
5565
5566case $host in
5567*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
5568 if test -n "$ac_tool_prefix"; then
5569 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5570set dummy ${ac_tool_prefix}as; ac_word=$2
5571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5572$as_echo_n "checking for $ac_word... " >&6; }
5573if test "${ac_cv_prog_AS+set}" = set; then :
5574 $as_echo_n "(cached) " >&6
5575else
5576 if test -n "$AS"; then
5577 ac_cv_prog_AS="$AS" # Let the user override the test.
5578else
5579as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5580for as_dir in $PATH
5581do
5582 IFS=$as_save_IFS
5583 test -z "$as_dir" && as_dir=.
5584 for ac_exec_ext in '' $ac_executable_extensions; do
5585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5586 ac_cv_prog_AS="${ac_tool_prefix}as"
5587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5588 break 2
5589 fi
5590done
5591 done
5592IFS=$as_save_IFS
5593
5594fi
5595fi
5596AS=$ac_cv_prog_AS
5597if test -n "$AS"; then
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5599$as_echo "$AS" >&6; }
5600else
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5602$as_echo "no" >&6; }
5603fi
5604
5605
5606fi
5607if test -z "$ac_cv_prog_AS"; then
5608 ac_ct_AS=$AS
5609 # Extract the first word of "as", so it can be a program name with args.
5610set dummy as; ac_word=$2
5611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5612$as_echo_n "checking for $ac_word... " >&6; }
5613if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5614 $as_echo_n "(cached) " >&6
5615else
5616 if test -n "$ac_ct_AS"; then
5617 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5618else
5619as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5620for as_dir in $PATH
5621do
5622 IFS=$as_save_IFS
5623 test -z "$as_dir" && as_dir=.
5624 for ac_exec_ext in '' $ac_executable_extensions; do
5625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5626 ac_cv_prog_ac_ct_AS="as"
5627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5628 break 2
5629 fi
5630done
5631 done
5632IFS=$as_save_IFS
5633
5634fi
5635fi
5636ac_ct_AS=$ac_cv_prog_ac_ct_AS
5637if test -n "$ac_ct_AS"; then
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5639$as_echo "$ac_ct_AS" >&6; }
5640else
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5642$as_echo "no" >&6; }
5643fi
5644
5645 if test "x$ac_ct_AS" = x; then
5646 AS="false"
5647 else
5648 case $cross_compiling:$ac_tool_warned in
5649yes:)
5650{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5651$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5652ac_tool_warned=yes ;;
5653esac
5654 AS=$ac_ct_AS
5655 fi
5656else
5657 AS="$ac_cv_prog_AS"
5658fi
5659
5660 if test -n "$ac_tool_prefix"; then
5661 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5662set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664$as_echo_n "checking for $ac_word... " >&6; }
5665if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5666 $as_echo_n "(cached) " >&6
5667else
5668 if test -n "$DLLTOOL"; then
5669 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5670else
5671as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672for as_dir in $PATH
5673do
5674 IFS=$as_save_IFS
5675 test -z "$as_dir" && as_dir=.
5676 for ac_exec_ext in '' $ac_executable_extensions; do
5677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5678 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5680 break 2
5681 fi
5682done
5683 done
5684IFS=$as_save_IFS
5685
5686fi
5687fi
5688DLLTOOL=$ac_cv_prog_DLLTOOL
5689if test -n "$DLLTOOL"; then
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5691$as_echo "$DLLTOOL" >&6; }
5692else
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694$as_echo "no" >&6; }
5695fi
5696
5697
5698fi
5699if test -z "$ac_cv_prog_DLLTOOL"; then
5700 ac_ct_DLLTOOL=$DLLTOOL
5701 # Extract the first word of "dlltool", so it can be a program name with args.
5702set dummy dlltool; ac_word=$2
5703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704$as_echo_n "checking for $ac_word... " >&6; }
5705if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5706 $as_echo_n "(cached) " >&6
5707else
5708 if test -n "$ac_ct_DLLTOOL"; then
5709 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5710else
5711as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5712for as_dir in $PATH
5713do
5714 IFS=$as_save_IFS
5715 test -z "$as_dir" && as_dir=.
5716 for ac_exec_ext in '' $ac_executable_extensions; do
5717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5718 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5720 break 2
5721 fi
5722done
5723 done
5724IFS=$as_save_IFS
5725
5726fi
5727fi
5728ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5729if test -n "$ac_ct_DLLTOOL"; then
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5731$as_echo "$ac_ct_DLLTOOL" >&6; }
5732else
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734$as_echo "no" >&6; }
5735fi
5736
5737 if test "x$ac_ct_DLLTOOL" = x; then
5738 DLLTOOL="false"
5739 else
5740 case $cross_compiling:$ac_tool_warned in
5741yes:)
5742{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5743$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5744ac_tool_warned=yes ;;
5745esac
5746 DLLTOOL=$ac_ct_DLLTOOL
5747 fi
5748else
5749 DLLTOOL="$ac_cv_prog_DLLTOOL"
5750fi
5751
5752 if test -n "$ac_tool_prefix"; then
5753 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5754set dummy ${ac_tool_prefix}objdump; ac_word=$2
5755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756$as_echo_n "checking for $ac_word... " >&6; }
5757if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5758 $as_echo_n "(cached) " >&6
5759else
5760 if test -n "$OBJDUMP"; then
5761 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5762else
5763as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764for as_dir in $PATH
5765do
5766 IFS=$as_save_IFS
5767 test -z "$as_dir" && as_dir=.
5768 for ac_exec_ext in '' $ac_executable_extensions; do
5769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5770 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5772 break 2
5773 fi
5774done
5775 done
5776IFS=$as_save_IFS
5777
5778fi
5779fi
5780OBJDUMP=$ac_cv_prog_OBJDUMP
5781if test -n "$OBJDUMP"; then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5783$as_echo "$OBJDUMP" >&6; }
5784else
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786$as_echo "no" >&6; }
5787fi
5788
5789
5790fi
5791if test -z "$ac_cv_prog_OBJDUMP"; then
5792 ac_ct_OBJDUMP=$OBJDUMP
5793 # Extract the first word of "objdump", so it can be a program name with args.
5794set dummy objdump; ac_word=$2
5795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5796$as_echo_n "checking for $ac_word... " >&6; }
5797if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5798 $as_echo_n "(cached) " >&6
5799else
5800 if test -n "$ac_ct_OBJDUMP"; then
5801 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5802else
5803as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5804for as_dir in $PATH
5805do
5806 IFS=$as_save_IFS
5807 test -z "$as_dir" && as_dir=.
5808 for ac_exec_ext in '' $ac_executable_extensions; do
5809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5810 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5812 break 2
5813 fi
5814done
5815 done
5816IFS=$as_save_IFS
5817
5818fi
5819fi
5820ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5821if test -n "$ac_ct_OBJDUMP"; then
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5823$as_echo "$ac_ct_OBJDUMP" >&6; }
5824else
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5826$as_echo "no" >&6; }
5827fi
5828
5829 if test "x$ac_ct_OBJDUMP" = x; then
5830 OBJDUMP="false"
5831 else
5832 case $cross_compiling:$ac_tool_warned in
5833yes:)
5834{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5835$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5836ac_tool_warned=yes ;;
5837esac
5838 OBJDUMP=$ac_ct_OBJDUMP
5839 fi
5840else
5841 OBJDUMP="$ac_cv_prog_OBJDUMP"
5842fi
5843
5844 ;;
5845esac
5846
5847test -z "$AS" && AS=as
5848
5849
5850
5851
5852
5853test -z "$DLLTOOL" && DLLTOOL=dlltool
5854
5855
5856
5857
5858
5859test -z "$OBJDUMP" && OBJDUMP=objdump
5860
5861
5862
5863
5864
5865
5866
5867case `pwd` in
5868 *\ * | *\ *)
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5870$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5871esac
5872
5873
5874
5875macro_version='2.2.6b'
5876macro_revision='1.3017'
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890ltmain="$ac_aux_dir/ltmain.sh"
5891
5892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5893$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5894if test "${ac_cv_path_SED+set}" = set; then :
5895 $as_echo_n "(cached) " >&6
5896else
5897 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5898 for ac_i in 1 2 3 4 5 6 7; do
5899 ac_script="$ac_script$as_nl$ac_script"
5900 done
5901 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5902 { ac_script=; unset ac_script;}
5903 if test -z "$SED"; then
5904 ac_path_SED_found=false
5905 # Loop through the user's path and test for each of PROGNAME-LIST
5906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5907for as_dir in $PATH
5908do
5909 IFS=$as_save_IFS
5910 test -z "$as_dir" && as_dir=.
5911 for ac_prog in sed gsed; do
5912 for ac_exec_ext in '' $ac_executable_extensions; do
5913 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5914 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5915# Check for GNU ac_path_SED and select it if it is found.
5916 # Check for GNU $ac_path_SED
5917case `"$ac_path_SED" --version 2>&1` in
5918*GNU*)
5919 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5920*)
5921 ac_count=0
5922 $as_echo_n 0123456789 >"conftest.in"
5923 while :
5924 do
5925 cat "conftest.in" "conftest.in" >"conftest.tmp"
5926 mv "conftest.tmp" "conftest.in"
5927 cp "conftest.in" "conftest.nl"
5928 $as_echo '' >> "conftest.nl"
5929 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5930 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5931 as_fn_arith $ac_count + 1 && ac_count=$as_val
5932 if test $ac_count -gt ${ac_path_SED_max-0}; then
5933 # Best one so far, save it but keep looking for a better one
5934 ac_cv_path_SED="$ac_path_SED"
5935 ac_path_SED_max=$ac_count
5936 fi
5937 # 10*(2^10) chars as input seems more than enough
5938 test $ac_count -gt 10 && break
5939 done
5940 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5941esac
5942
5943 $ac_path_SED_found && break 3
5944 done
5945 done
5946 done
5947IFS=$as_save_IFS
5948 if test -z "$ac_cv_path_SED"; then
5949 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5950 fi
5951else
5952 ac_cv_path_SED=$SED
5953fi
5954
5955fi
5956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5957$as_echo "$ac_cv_path_SED" >&6; }
5958 SED="$ac_cv_path_SED"
5959 rm -f conftest.sed
5960
5961test -z "$SED" && SED=sed
5962Xsed="$SED -e 1s/^X//"
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5975$as_echo_n "checking for fgrep... " >&6; }
5976if test "${ac_cv_path_FGREP+set}" = set; then :
5977 $as_echo_n "(cached) " >&6
5978else
5979 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5980 then ac_cv_path_FGREP="$GREP -F"
5981 else
5982 if test -z "$FGREP"; then
5983 ac_path_FGREP_found=false
5984 # Loop through the user's path and test for each of PROGNAME-LIST
5985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5986for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5987do
5988 IFS=$as_save_IFS
5989 test -z "$as_dir" && as_dir=.
5990 for ac_prog in fgrep; do
5991 for ac_exec_ext in '' $ac_executable_extensions; do
5992 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5993 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5994# Check for GNU ac_path_FGREP and select it if it is found.
5995 # Check for GNU $ac_path_FGREP
5996case `"$ac_path_FGREP" --version 2>&1` in
5997*GNU*)
5998 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5999*)
6000 ac_count=0
6001 $as_echo_n 0123456789 >"conftest.in"
6002 while :
6003 do
6004 cat "conftest.in" "conftest.in" >"conftest.tmp"
6005 mv "conftest.tmp" "conftest.in"
6006 cp "conftest.in" "conftest.nl"
6007 $as_echo 'FGREP' >> "conftest.nl"
6008 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6009 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6010 as_fn_arith $ac_count + 1 && ac_count=$as_val
6011 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6012 # Best one so far, save it but keep looking for a better one
6013 ac_cv_path_FGREP="$ac_path_FGREP"
6014 ac_path_FGREP_max=$ac_count
6015 fi
6016 # 10*(2^10) chars as input seems more than enough
6017 test $ac_count -gt 10 && break
6018 done
6019 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6020esac
6021
6022 $ac_path_FGREP_found && break 3
6023 done
6024 done
6025 done
6026IFS=$as_save_IFS
6027 if test -z "$ac_cv_path_FGREP"; then
6028 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6029 fi
6030else
6031 ac_cv_path_FGREP=$FGREP
6032fi
6033
6034 fi
6035fi
6036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6037$as_echo "$ac_cv_path_FGREP" >&6; }
6038 FGREP="$ac_cv_path_FGREP"
6039
6040
6041test -z "$GREP" && GREP=grep
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061# Check whether --with-gnu-ld was given.
6062if test "${with_gnu_ld+set}" = set; then :
6063 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6064else
6065 with_gnu_ld=no
6066fi
6067
6068ac_prog=ld
6069if test "$GCC" = yes; then
6070 # Check if gcc -print-prog-name=ld gives a path.
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6072$as_echo_n "checking for ld used by $CC... " >&6; }
6073 case $host in
6074 *-*-mingw*)
6075 # gcc leaves a trailing carriage return which upsets mingw
6076 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6077 *)
6078 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6079 esac
6080 case $ac_prog in
6081 # Accept absolute paths.
6082 [\\/]* | ?:[\\/]*)
6083 re_direlt='/[^/][^/]*/\.\./'
6084 # Canonicalize the pathname of ld
6085 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6086 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6087 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6088 done
6089 test -z "$LD" && LD="$ac_prog"
6090 ;;
6091 "")
6092 # If it fails, then pretend we aren't using GCC.
6093 ac_prog=ld
6094 ;;
6095 *)
6096 # If it is relative, then search for the first ld in PATH.
6097 with_gnu_ld=unknown
6098 ;;
6099 esac
6100elif test "$with_gnu_ld" = yes; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6102$as_echo_n "checking for GNU ld... " >&6; }
6103else
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6105$as_echo_n "checking for non-GNU ld... " >&6; }
6106fi
6107if test "${lt_cv_path_LD+set}" = set; then :
6108 $as_echo_n "(cached) " >&6
6109else
6110 if test -z "$LD"; then
6111 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6112 for ac_dir in $PATH; do
6113 IFS="$lt_save_ifs"
6114 test -z "$ac_dir" && ac_dir=.
6115 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6116 lt_cv_path_LD="$ac_dir/$ac_prog"
6117 # Check to see if the program is GNU ld. I'd rather use --version,
6118 # but apparently some variants of GNU ld only accept -v.
6119 # Break only if it was the GNU/non-GNU ld that we prefer.
6120 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6121 *GNU* | *'with BFD'*)
6122 test "$with_gnu_ld" != no && break
6123 ;;
6124 *)
6125 test "$with_gnu_ld" != yes && break
6126 ;;
6127 esac
6128 fi
6129 done
6130 IFS="$lt_save_ifs"
6131else
6132 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6133fi
6134fi
6135
6136LD="$lt_cv_path_LD"
6137if test -n "$LD"; then
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6139$as_echo "$LD" >&6; }
6140else
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6142$as_echo "no" >&6; }
6143fi
6144test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6146$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6147if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6148 $as_echo_n "(cached) " >&6
6149else
6150 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6151case `$LD -v 2>&1 </dev/null` in
6152*GNU* | *'with BFD'*)
6153 lt_cv_prog_gnu_ld=yes
6154 ;;
6155*)
6156 lt_cv_prog_gnu_ld=no
6157 ;;
6158esac
6159fi
6160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6161$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6162with_gnu_ld=$lt_cv_prog_gnu_ld
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6173$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6174if test "${lt_cv_path_NM+set}" = set; then :
6175 $as_echo_n "(cached) " >&6
6176else
6177 if test -n "$NM"; then
6178 # Let the user override the test.
6179 lt_cv_path_NM="$NM"
6180else
6181 lt_nm_to_check="${ac_tool_prefix}nm"
6182 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6183 lt_nm_to_check="$lt_nm_to_check nm"
6184 fi
6185 for lt_tmp_nm in $lt_nm_to_check; do
6186 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6187 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6188 IFS="$lt_save_ifs"
6189 test -z "$ac_dir" && ac_dir=.
6190 tmp_nm="$ac_dir/$lt_tmp_nm"
6191 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6192 # Check to see if the nm accepts a BSD-compat flag.
6193 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6194 # nm: unknown option "B" ignored
6195 # Tru64's nm complains that /dev/null is an invalid object file
6196 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6197 */dev/null* | *'Invalid file or object type'*)
6198 lt_cv_path_NM="$tmp_nm -B"
6199 break
6200 ;;
6201 *)
6202 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6203 */dev/null*)
6204 lt_cv_path_NM="$tmp_nm -p"
6205 break
6206 ;;
6207 *)
6208 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6209 continue # so that we can try to find one that supports BSD flags
6210 ;;
6211 esac
6212 ;;
6213 esac
6214 fi
6215 done
6216 IFS="$lt_save_ifs"
6217 done
6218 : ${lt_cv_path_NM=no}
6219fi
6220fi
6221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6222$as_echo "$lt_cv_path_NM" >&6; }
6223if test "$lt_cv_path_NM" != "no"; then
6224 NM="$lt_cv_path_NM"
6225else
6226 # Didn't find any BSD compatible name lister, look for dumpbin.
6227 if test -n "$ac_tool_prefix"; then
6228 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6229 do
6230 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6231set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6233$as_echo_n "checking for $ac_word... " >&6; }
6234if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6235 $as_echo_n "(cached) " >&6
6236else
6237 if test -n "$DUMPBIN"; then
6238 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6239else
6240as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6241for as_dir in $PATH
6242do
6243 IFS=$as_save_IFS
6244 test -z "$as_dir" && as_dir=.
6245 for ac_exec_ext in '' $ac_executable_extensions; do
6246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6247 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6249 break 2
6250 fi
6251done
6252 done
6253IFS=$as_save_IFS
6254
6255fi
6256fi
6257DUMPBIN=$ac_cv_prog_DUMPBIN
6258if test -n "$DUMPBIN"; then
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6260$as_echo "$DUMPBIN" >&6; }
6261else
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6263$as_echo "no" >&6; }
6264fi
6265
6266
6267 test -n "$DUMPBIN" && break
6268 done
6269fi
6270if test -z "$DUMPBIN"; then
6271 ac_ct_DUMPBIN=$DUMPBIN
6272 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6273do
6274 # Extract the first word of "$ac_prog", so it can be a program name with args.
6275set dummy $ac_prog; ac_word=$2
6276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6277$as_echo_n "checking for $ac_word... " >&6; }
6278if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6279 $as_echo_n "(cached) " >&6
6280else
6281 if test -n "$ac_ct_DUMPBIN"; then
6282 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6283else
6284as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6285for as_dir in $PATH
6286do
6287 IFS=$as_save_IFS
6288 test -z "$as_dir" && as_dir=.
6289 for ac_exec_ext in '' $ac_executable_extensions; do
6290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6291 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6293 break 2
6294 fi
6295done
6296 done
6297IFS=$as_save_IFS
6298
6299fi
6300fi
6301ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6302if test -n "$ac_ct_DUMPBIN"; then
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6304$as_echo "$ac_ct_DUMPBIN" >&6; }
6305else
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6307$as_echo "no" >&6; }
6308fi
6309
6310
6311 test -n "$ac_ct_DUMPBIN" && break
6312done
6313
6314 if test "x$ac_ct_DUMPBIN" = x; then
6315 DUMPBIN=":"
6316 else
6317 case $cross_compiling:$ac_tool_warned in
6318yes:)
6319{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6320$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6321ac_tool_warned=yes ;;
6322esac
6323 DUMPBIN=$ac_ct_DUMPBIN
6324 fi
6325fi
6326
6327
6328 if test "$DUMPBIN" != ":"; then
6329 NM="$DUMPBIN"
6330 fi
6331fi
6332test -z "$NM" && NM=nm
6333
6334
6335
6336
6337
6338
6339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6340$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6341if test "${lt_cv_nm_interface+set}" = set; then :
6342 $as_echo_n "(cached) " >&6
6343else
6344 lt_cv_nm_interface="BSD nm"
6345 echo "int some_variable = 0;" > conftest.$ac_ext
6346 (eval echo "\"\$as_me:6346: $ac_compile\"" >&5)
6347 (eval "$ac_compile" 2>conftest.err)
6348 cat conftest.err >&5
6349 (eval echo "\"\$as_me:6349: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6350 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6351 cat conftest.err >&5
6352 (eval echo "\"\$as_me:6352: output\"" >&5)
6353 cat conftest.out >&5
6354 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6355 lt_cv_nm_interface="MS dumpbin"
6356 fi
6357 rm -f conftest*
6358fi
6359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6360$as_echo "$lt_cv_nm_interface" >&6; }
6361
6362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6363$as_echo_n "checking whether ln -s works... " >&6; }
6364LN_S=$as_ln_s
6365if test "$LN_S" = "ln -s"; then
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6367$as_echo "yes" >&6; }
6368else
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6370$as_echo "no, using $LN_S" >&6; }
6371fi
6372
6373# find the maximum length of command line arguments
6374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6375$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6376if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6377 $as_echo_n "(cached) " >&6
6378else
6379 i=0
6380 teststring="ABCD"
6381
6382 case $build_os in
6383 msdosdjgpp*)
6384 # On DJGPP, this test can blow up pretty badly due to problems in libc
6385 # (any single argument exceeding 2000 bytes causes a buffer overrun
6386 # during glob expansion). Even if it were fixed, the result of this
6387 # check would be larger than it should be.
6388 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6389 ;;
6390
6391 gnu*)
6392 # Under GNU Hurd, this test is not required because there is
6393 # no limit to the length of command line arguments.
6394 # Libtool will interpret -1 as no limit whatsoever
6395 lt_cv_sys_max_cmd_len=-1;
6396 ;;
6397
6398 cygwin* | mingw* | cegcc*)
6399 # On Win9x/ME, this test blows up -- it succeeds, but takes
6400 # about 5 minutes as the teststring grows exponentially.
6401 # Worse, since 9x/ME are not pre-emptively multitasking,
6402 # you end up with a "frozen" computer, even though with patience
6403 # the test eventually succeeds (with a max line length of 256k).
6404 # Instead, let's just punt: use the minimum linelength reported by
6405 # all of the supported platforms: 8192 (on NT/2K/XP).
6406 lt_cv_sys_max_cmd_len=8192;
6407 ;;
6408
6409 amigaos*)
6410 # On AmigaOS with pdksh, this test takes hours, literally.
6411 # So we just punt and use a minimum line length of 8192.
6412 lt_cv_sys_max_cmd_len=8192;
6413 ;;
6414
6415 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6416 # This has been around since 386BSD, at least. Likely further.
6417 if test -x /sbin/sysctl; then
6418 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6419 elif test -x /usr/sbin/sysctl; then
6420 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6421 else
6422 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6423 fi
6424 # And add a safety zone
6425 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6426 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6427 ;;
6428
6429 interix*)
6430 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6431 lt_cv_sys_max_cmd_len=196608
6432 ;;
6433
6434 osf*)
6435 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6436 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6437 # nice to cause kernel panics so lets avoid the loop below.
6438 # First set a reasonable default.
6439 lt_cv_sys_max_cmd_len=16384
6440 #
6441 if test -x /sbin/sysconfig; then
6442 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6443 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6444 esac
6445 fi
6446 ;;
6447 sco3.2v5*)
6448 lt_cv_sys_max_cmd_len=102400
6449 ;;
6450 sysv5* | sco5v6* | sysv4.2uw2*)
6451 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6452 if test -n "$kargmax"; then
6453 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6454 else
6455 lt_cv_sys_max_cmd_len=32768
6456 fi
6457 ;;
6458 *)
6459 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6460 if test -n "$lt_cv_sys_max_cmd_len"; then
6461 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6462 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6463 else
6464 # Make teststring a little bigger before we do anything with it.
6465 # a 1K string should be a reasonable start.
6466 for i in 1 2 3 4 5 6 7 8 ; do
6467 teststring=$teststring$teststring
6468 done
6469 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6470 # If test is not a shell built-in, we'll probably end up computing a
6471 # maximum length that is only half of the actual maximum length, but
6472 # we can't tell.
6473 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6474 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6475 test $i != 17 # 1/2 MB should be enough
6476 do
6477 i=`expr $i + 1`
6478 teststring=$teststring$teststring
6479 done
6480 # Only check the string length outside the loop.
6481 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6482 teststring=
6483 # Add a significant safety factor because C++ compilers can tack on
6484 # massive amounts of additional arguments before passing them to the
6485 # linker. It appears as though 1/2 is a usable value.
6486 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6487 fi
6488 ;;
6489 esac
6490
6491fi
6492
6493if test -n $lt_cv_sys_max_cmd_len ; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6495$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6496else
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6498$as_echo "none" >&6; }
6499fi
6500max_cmd_len=$lt_cv_sys_max_cmd_len
6501
6502
6503
6504
6505
6506
6507: ${CP="cp -f"}
6508: ${MV="mv -f"}
6509: ${RM="rm -f"}
6510
6511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6512$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6513# Try some XSI features
6514xsi_shell=no
6515( _lt_dummy="a/b/c"
6516 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6517 = c,a/b,, \
6518 && eval 'test $(( 1 + 1 )) -eq 2 \
6519 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6520 && xsi_shell=yes
6521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6522$as_echo "$xsi_shell" >&6; }
6523
6524
6525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6526$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6527lt_shell_append=no
6528( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6529 >/dev/null 2>&1 \
6530 && lt_shell_append=yes
6531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6532$as_echo "$lt_shell_append" >&6; }
6533
6534
6535if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6536 lt_unset=unset
6537else
6538 lt_unset=false
6539fi
6540
6541
6542
6543
6544
6545# test EBCDIC or ASCII
6546case `echo X|tr X '\101'` in
6547 A) # ASCII based system
6548 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6549 lt_SP2NL='tr \040 \012'
6550 lt_NL2SP='tr \015\012 \040\040'
6551 ;;
6552 *) # EBCDIC based system
6553 lt_SP2NL='tr \100 \n'
6554 lt_NL2SP='tr \r\n \100\100'
6555 ;;
6556esac
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6567$as_echo_n "checking for $LD option to reload object files... " >&6; }
6568if test "${lt_cv_ld_reload_flag+set}" = set; then :
6569 $as_echo_n "(cached) " >&6
6570else
6571 lt_cv_ld_reload_flag='-r'
6572fi
6573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6574$as_echo "$lt_cv_ld_reload_flag" >&6; }
6575reload_flag=$lt_cv_ld_reload_flag
6576case $reload_flag in
6577"" | " "*) ;;
6578*) reload_flag=" $reload_flag" ;;
6579esac
6580reload_cmds='$LD$reload_flag -o $output$reload_objs'
6581case $host_os in
6582 darwin*)
6583 if test "$GCC" = yes; then
6584 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6585 else
6586 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6587 fi
6588 ;;
6589esac
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599if test -n "$ac_tool_prefix"; then
6600 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6601set dummy ${ac_tool_prefix}objdump; ac_word=$2
6602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6603$as_echo_n "checking for $ac_word... " >&6; }
6604if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6605 $as_echo_n "(cached) " >&6
6606else
6607 if test -n "$OBJDUMP"; then
6608 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6609else
6610as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6611for as_dir in $PATH
6612do
6613 IFS=$as_save_IFS
6614 test -z "$as_dir" && as_dir=.
6615 for ac_exec_ext in '' $ac_executable_extensions; do
6616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6617 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6619 break 2
6620 fi
6621done
6622 done
6623IFS=$as_save_IFS
6624
6625fi
6626fi
6627OBJDUMP=$ac_cv_prog_OBJDUMP
6628if test -n "$OBJDUMP"; then
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6630$as_echo "$OBJDUMP" >&6; }
6631else
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6633$as_echo "no" >&6; }
6634fi
6635
6636
6637fi
6638if test -z "$ac_cv_prog_OBJDUMP"; then
6639 ac_ct_OBJDUMP=$OBJDUMP
6640 # Extract the first word of "objdump", so it can be a program name with args.
6641set dummy objdump; ac_word=$2
6642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6643$as_echo_n "checking for $ac_word... " >&6; }
6644if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6645 $as_echo_n "(cached) " >&6
6646else
6647 if test -n "$ac_ct_OBJDUMP"; then
6648 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6649else
6650as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6651for as_dir in $PATH
6652do
6653 IFS=$as_save_IFS
6654 test -z "$as_dir" && as_dir=.
6655 for ac_exec_ext in '' $ac_executable_extensions; do
6656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6657 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6659 break 2
6660 fi
6661done
6662 done
6663IFS=$as_save_IFS
6664
6665fi
6666fi
6667ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6668if test -n "$ac_ct_OBJDUMP"; then
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6670$as_echo "$ac_ct_OBJDUMP" >&6; }
6671else
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6673$as_echo "no" >&6; }
6674fi
6675
6676 if test "x$ac_ct_OBJDUMP" = x; then
6677 OBJDUMP="false"
6678 else
6679 case $cross_compiling:$ac_tool_warned in
6680yes:)
6681{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6682$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6683ac_tool_warned=yes ;;
6684esac
6685 OBJDUMP=$ac_ct_OBJDUMP
6686 fi
6687else
6688 OBJDUMP="$ac_cv_prog_OBJDUMP"
6689fi
6690
6691test -z "$OBJDUMP" && OBJDUMP=objdump
6692
6693
6694
6695
6696
6697
6698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6699$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6700if test "${lt_cv_deplibs_check_method+set}" = set; then :
6701 $as_echo_n "(cached) " >&6
6702else
6703 lt_cv_file_magic_cmd='$MAGIC_CMD'
6704lt_cv_file_magic_test_file=
6705lt_cv_deplibs_check_method='unknown'
6706# Need to set the preceding variable on all platforms that support
6707# interlibrary dependencies.
6708# 'none' -- dependencies not supported.
6709# `unknown' -- same as none, but documents that we really don't know.
6710# 'pass_all' -- all dependencies passed with no checks.
6711# 'test_compile' -- check by making test program.
6712# 'file_magic [[regex]]' -- check by looking for files in library path
6713# which responds to the $file_magic_cmd with a given extended regex.
6714# If you have `file' or equivalent on your system and you're not sure
6715# whether `pass_all' will *always* work, you probably want this one.
6716
6717case $host_os in
6718aix[4-9]*)
6719 lt_cv_deplibs_check_method=pass_all
6720 ;;
6721
6722beos*)
6723 lt_cv_deplibs_check_method=pass_all
6724 ;;
6725
6726bsdi[45]*)
6727 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6728 lt_cv_file_magic_cmd='/usr/bin/file -L'
6729 lt_cv_file_magic_test_file=/shlib/libc.so
6730 ;;
6731
6732cygwin*)
6733 # func_win32_libid is a shell function defined in ltmain.sh
6734 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6735 lt_cv_file_magic_cmd='func_win32_libid'
6736 ;;
6737
6738mingw* | pw32*)
6739 # Base MSYS/MinGW do not provide the 'file' command needed by
6740 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6741 # unless we find 'file', for example because we are cross-compiling.
6742 if ( file / ) >/dev/null 2>&1; then
6743 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6744 lt_cv_file_magic_cmd='func_win32_libid'
6745 else
6746 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6747 lt_cv_file_magic_cmd='$OBJDUMP -f'
6748 fi
6749 ;;
6750
6751cegcc)
6752 # use the weaker test based on 'objdump'. See mingw*.
6753 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6754 lt_cv_file_magic_cmd='$OBJDUMP -f'
6755 ;;
6756
6757darwin* | rhapsody*)
6758 lt_cv_deplibs_check_method=pass_all
6759 ;;
6760
6761freebsd* | dragonfly*)
6762 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6763 case $host_cpu in
6764 i*86 )
6765 # Not sure whether the presence of OpenBSD here was a mistake.
6766 # Let's accept both of them until this is cleared up.
6767 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6768 lt_cv_file_magic_cmd=/usr/bin/file
6769 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6770 ;;
6771 esac
6772 else
6773 lt_cv_deplibs_check_method=pass_all
6774 fi
6775 ;;
6776
6777gnu*)
6778 lt_cv_deplibs_check_method=pass_all
6779 ;;
6780
6781hpux10.20* | hpux11*)
6782 lt_cv_file_magic_cmd=/usr/bin/file
6783 case $host_cpu in
6784 ia64*)
6785 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6786 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6787 ;;
6788 hppa*64*)
6789 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]'
6790 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6791 ;;
6792 *)
6793 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6794 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6795 ;;
6796 esac
6797 ;;
6798
6799interix[3-9]*)
6800 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6801 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6802 ;;
6803
6804irix5* | irix6* | nonstopux*)
6805 case $LD in
6806 *-32|*"-32 ") libmagic=32-bit;;
6807 *-n32|*"-n32 ") libmagic=N32;;
6808 *-64|*"-64 ") libmagic=64-bit;;
6809 *) libmagic=never-match;;
6810 esac
6811 lt_cv_deplibs_check_method=pass_all
6812 ;;
6813
6814# This must be Linux ELF.
6815linux* | k*bsd*-gnu | kopensolaris*-gnu)
6816 lt_cv_deplibs_check_method=pass_all
6817 ;;
6818
6819netbsd* | netbsdelf*-gnu)
6820 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6821 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6822 else
6823 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6824 fi
6825 ;;
6826
6827newos6*)
6828 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6829 lt_cv_file_magic_cmd=/usr/bin/file
6830 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6831 ;;
6832
6833*nto* | *qnx*)
6834 lt_cv_deplibs_check_method=pass_all
6835 ;;
6836
6837openbsd*)
6838 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6839 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6840 else
6841 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6842 fi
6843 ;;
6844
6845osf3* | osf4* | osf5*)
6846 lt_cv_deplibs_check_method=pass_all
6847 ;;
6848
6849rdos*)
6850 lt_cv_deplibs_check_method=pass_all
6851 ;;
6852
6853solaris*)
6854 lt_cv_deplibs_check_method=pass_all
6855 ;;
6856
6857sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6858 lt_cv_deplibs_check_method=pass_all
6859 ;;
6860
6861sysv4 | sysv4.3*)
6862 case $host_vendor in
6863 motorola)
6864 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]'
6865 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6866 ;;
6867 ncr)
6868 lt_cv_deplibs_check_method=pass_all
6869 ;;
6870 sequent)
6871 lt_cv_file_magic_cmd='/bin/file'
6872 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6873 ;;
6874 sni)
6875 lt_cv_file_magic_cmd='/bin/file'
6876 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6877 lt_cv_file_magic_test_file=/lib/libc.so
6878 ;;
6879 siemens)
6880 lt_cv_deplibs_check_method=pass_all
6881 ;;
6882 pc)
6883 lt_cv_deplibs_check_method=pass_all
6884 ;;
6885 esac
6886 ;;
6887
6888tpf*)
6889 lt_cv_deplibs_check_method=pass_all
6890 ;;
6891esac
6892
6893fi
6894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6895$as_echo "$lt_cv_deplibs_check_method" >&6; }
6896file_magic_cmd=$lt_cv_file_magic_cmd
6897deplibs_check_method=$lt_cv_deplibs_check_method
6898test -z "$deplibs_check_method" && deplibs_check_method=unknown
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911if test -n "$ac_tool_prefix"; then
6912 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6913set dummy ${ac_tool_prefix}ar; ac_word=$2
6914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6915$as_echo_n "checking for $ac_word... " >&6; }
6916if test "${ac_cv_prog_AR+set}" = set; then :
6917 $as_echo_n "(cached) " >&6
6918else
6919 if test -n "$AR"; then
6920 ac_cv_prog_AR="$AR" # Let the user override the test.
6921else
6922as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6923for as_dir in $PATH
6924do
6925 IFS=$as_save_IFS
6926 test -z "$as_dir" && as_dir=.
6927 for ac_exec_ext in '' $ac_executable_extensions; do
6928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6929 ac_cv_prog_AR="${ac_tool_prefix}ar"
6930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6931 break 2
6932 fi
6933done
6934 done
6935IFS=$as_save_IFS
6936
6937fi
6938fi
6939AR=$ac_cv_prog_AR
6940if test -n "$AR"; then
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6942$as_echo "$AR" >&6; }
6943else
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6945$as_echo "no" >&6; }
6946fi
6947
6948
6949fi
6950if test -z "$ac_cv_prog_AR"; then
6951 ac_ct_AR=$AR
6952 # Extract the first word of "ar", so it can be a program name with args.
6953set dummy ar; ac_word=$2
6954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6955$as_echo_n "checking for $ac_word... " >&6; }
6956if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6957 $as_echo_n "(cached) " >&6
6958else
6959 if test -n "$ac_ct_AR"; then
6960 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6961else
6962as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6963for as_dir in $PATH
6964do
6965 IFS=$as_save_IFS
6966 test -z "$as_dir" && as_dir=.
6967 for ac_exec_ext in '' $ac_executable_extensions; do
6968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6969 ac_cv_prog_ac_ct_AR="ar"
6970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6971 break 2
6972 fi
6973done
6974 done
6975IFS=$as_save_IFS
6976
6977fi
6978fi
6979ac_ct_AR=$ac_cv_prog_ac_ct_AR
6980if test -n "$ac_ct_AR"; then
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6982$as_echo "$ac_ct_AR" >&6; }
6983else
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6985$as_echo "no" >&6; }
6986fi
6987
6988 if test "x$ac_ct_AR" = x; then
6989 AR="false"
6990 else
6991 case $cross_compiling:$ac_tool_warned in
6992yes:)
6993{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6994$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6995ac_tool_warned=yes ;;
6996esac
6997 AR=$ac_ct_AR
6998 fi
6999else
7000 AR="$ac_cv_prog_AR"
7001fi
7002
7003test -z "$AR" && AR=ar
7004test -z "$AR_FLAGS" && AR_FLAGS=cru
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016if test -n "$ac_tool_prefix"; then
7017 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7018set dummy ${ac_tool_prefix}strip; ac_word=$2
7019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7020$as_echo_n "checking for $ac_word... " >&6; }
7021if test "${ac_cv_prog_STRIP+set}" = set; then :
7022 $as_echo_n "(cached) " >&6
7023else
7024 if test -n "$STRIP"; then
7025 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7026else
7027as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7028for as_dir in $PATH
7029do
7030 IFS=$as_save_IFS
7031 test -z "$as_dir" && as_dir=.
7032 for ac_exec_ext in '' $ac_executable_extensions; do
7033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7034 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7036 break 2
7037 fi
7038done
7039 done
7040IFS=$as_save_IFS
7041
7042fi
7043fi
7044STRIP=$ac_cv_prog_STRIP
7045if test -n "$STRIP"; then
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7047$as_echo "$STRIP" >&6; }
7048else
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7050$as_echo "no" >&6; }
7051fi
7052
7053
7054fi
7055if test -z "$ac_cv_prog_STRIP"; then
7056 ac_ct_STRIP=$STRIP
7057 # Extract the first word of "strip", so it can be a program name with args.
7058set dummy strip; ac_word=$2
7059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7060$as_echo_n "checking for $ac_word... " >&6; }
7061if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7062 $as_echo_n "(cached) " >&6
7063else
7064 if test -n "$ac_ct_STRIP"; then
7065 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7066else
7067as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7068for as_dir in $PATH
7069do
7070 IFS=$as_save_IFS
7071 test -z "$as_dir" && as_dir=.
7072 for ac_exec_ext in '' $ac_executable_extensions; do
7073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7074 ac_cv_prog_ac_ct_STRIP="strip"
7075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7076 break 2
7077 fi
7078done
7079 done
7080IFS=$as_save_IFS
7081
7082fi
7083fi
7084ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7085if test -n "$ac_ct_STRIP"; then
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7087$as_echo "$ac_ct_STRIP" >&6; }
7088else
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7090$as_echo "no" >&6; }
7091fi
7092
7093 if test "x$ac_ct_STRIP" = x; then
7094 STRIP=":"
7095 else
7096 case $cross_compiling:$ac_tool_warned in
7097yes:)
7098{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7099$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7100ac_tool_warned=yes ;;
7101esac
7102 STRIP=$ac_ct_STRIP
7103 fi
7104else
7105 STRIP="$ac_cv_prog_STRIP"
7106fi
7107
7108test -z "$STRIP" && STRIP=:
7109
7110
7111
7112
7113
7114
7115if test -n "$ac_tool_prefix"; then
7116 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7117set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7119$as_echo_n "checking for $ac_word... " >&6; }
7120if test "${ac_cv_prog_RANLIB+set}" = set; then :
7121 $as_echo_n "(cached) " >&6
7122else
7123 if test -n "$RANLIB"; then
7124 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7125else
7126as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7127for as_dir in $PATH
7128do
7129 IFS=$as_save_IFS
7130 test -z "$as_dir" && as_dir=.
7131 for ac_exec_ext in '' $ac_executable_extensions; do
7132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7133 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7135 break 2
7136 fi
7137done
7138 done
7139IFS=$as_save_IFS
7140
7141fi
7142fi
7143RANLIB=$ac_cv_prog_RANLIB
7144if test -n "$RANLIB"; then
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7146$as_echo "$RANLIB" >&6; }
7147else
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7149$as_echo "no" >&6; }
7150fi
7151
7152
7153fi
7154if test -z "$ac_cv_prog_RANLIB"; then
7155 ac_ct_RANLIB=$RANLIB
7156 # Extract the first word of "ranlib", so it can be a program name with args.
7157set dummy ranlib; ac_word=$2
7158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7159$as_echo_n "checking for $ac_word... " >&6; }
7160if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7161 $as_echo_n "(cached) " >&6
7162else
7163 if test -n "$ac_ct_RANLIB"; then
7164 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7165else
7166as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7167for as_dir in $PATH
7168do
7169 IFS=$as_save_IFS
7170 test -z "$as_dir" && as_dir=.
7171 for ac_exec_ext in '' $ac_executable_extensions; do
7172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7173 ac_cv_prog_ac_ct_RANLIB="ranlib"
7174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7175 break 2
7176 fi
7177done
7178 done
7179IFS=$as_save_IFS
7180
7181fi
7182fi
7183ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7184if test -n "$ac_ct_RANLIB"; then
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7186$as_echo "$ac_ct_RANLIB" >&6; }
7187else
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7189$as_echo "no" >&6; }
7190fi
7191
7192 if test "x$ac_ct_RANLIB" = x; then
7193 RANLIB=":"
7194 else
7195 case $cross_compiling:$ac_tool_warned in
7196yes:)
7197{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7198$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7199ac_tool_warned=yes ;;
7200esac
7201 RANLIB=$ac_ct_RANLIB
7202 fi
7203else
7204 RANLIB="$ac_cv_prog_RANLIB"
7205fi
7206
7207test -z "$RANLIB" && RANLIB=:
7208
7209
7210
7211
7212
7213
7214# Determine commands to create old-style static archives.
7215old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7216old_postinstall_cmds='chmod 644 $oldlib'
7217old_postuninstall_cmds=
7218
7219if test -n "$RANLIB"; then
7220 case $host_os in
7221 openbsd*)
7222 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7223 ;;
7224 *)
7225 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7226 ;;
7227 esac
7228 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7229fi
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264# If no C compiler was specified, use CC.
7265LTCC=${LTCC-"$CC"}
7266
7267# If no C compiler flags were specified, use CFLAGS.
7268LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7269
7270# Allow CC to be a program name with arguments.
7271compiler=$CC
7272
7273
7274# Check for command to grab the raw symbol name followed by C symbol from nm.
7275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7276$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7277if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7278 $as_echo_n "(cached) " >&6
7279else
7280
7281# These are sane defaults that work on at least a few old systems.
7282# [They come from Ultrix. What could be older than Ultrix?!! ;)]
7283
7284# Character class describing NM global symbol codes.
7285symcode='[BCDEGRST]'
7286
7287# Regexp to match symbols that can be accessed directly from C.
7288sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7289
7290# Define system-specific variables.
7291case $host_os in
7292aix*)
7293 symcode='[BCDT]'
7294 ;;
7295cygwin* | mingw* | pw32* | cegcc*)
7296 symcode='[ABCDGISTW]'
7297 ;;
7298hpux*)
7299 if test "$host_cpu" = ia64; then
7300 symcode='[ABCDEGRST]'
7301 fi
7302 ;;
7303irix* | nonstopux*)
7304 symcode='[BCDEGRST]'
7305 ;;
7306osf*)
7307 symcode='[BCDEGQRST]'
7308 ;;
7309solaris*)
7310 symcode='[BDRT]'
7311 ;;
7312sco3.2v5*)
7313 symcode='[DT]'
7314 ;;
7315sysv4.2uw2*)
7316 symcode='[DT]'
7317 ;;
7318sysv5* | sco5v6* | unixware* | OpenUNIX*)
7319 symcode='[ABDT]'
7320 ;;
7321sysv4)
7322 symcode='[DFNSTU]'
7323 ;;
7324esac
7325
7326# If we're using GNU nm, then use its standard symbol codes.
7327case `$NM -V 2>&1` in
7328*GNU* | *'with BFD'*)
7329 symcode='[ABCDGIRSTW]' ;;
7330esac
7331
7332# Transform an extracted symbol line into a proper C declaration.
7333# Some systems (esp. on ia64) link data and code symbols differently,
7334# so use this general approach.
7335lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7336
7337# Transform an extracted symbol line into symbol name and symbol address
7338lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7339lt_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'"
7340
7341# Handle CRLF in mingw tool chain
7342opt_cr=
7343case $build_os in
7344mingw*)
7345 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7346 ;;
7347esac
7348
7349# Try without a prefix underscore, then with it.
7350for ac_symprfx in "" "_"; do
7351
7352 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7353 symxfrm="\\1 $ac_symprfx\\2 \\2"
7354
7355 # Write the raw and C identifiers.
7356 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7357 # Fake it for dumpbin and say T for any non-static function
7358 # and D for any global variable.
7359 # Also find C++ and __fastcall symbols from MSVC++,
7360 # which start with @ or ?.
7361 lt_cv_sys_global_symbol_pipe="$AWK '"\
7362" {last_section=section; section=\$ 3};"\
7363" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7364" \$ 0!~/External *\|/{next};"\
7365" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7366" {if(hide[section]) next};"\
7367" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7368" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7369" s[1]~/^[@?]/{print s[1], s[1]; next};"\
7370" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7371" ' prfx=^$ac_symprfx"
7372 else
7373 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7374 fi
7375
7376 # Check to see that the pipe works correctly.
7377 pipe_works=no
7378
7379 rm -f conftest*
7380 cat > conftest.$ac_ext <<_LT_EOF
7381#ifdef __cplusplus
7382extern "C" {
7383#endif
7384char nm_test_var;
7385void nm_test_func(void);
7386void nm_test_func(void){}
7387#ifdef __cplusplus
7388}
7389#endif
7390int main(){nm_test_var='a';nm_test_func();return(0);}
7391_LT_EOF
7392
7393 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7394 (eval $ac_compile) 2>&5
7395 ac_status=$?
7396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7397 test $ac_status = 0; }; then
7398 # Now try to grab the symbols.
7399 nlist=conftest.nm
7400 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7401 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7402 ac_status=$?
7403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7404 test $ac_status = 0; } && test -s "$nlist"; then
7405 # Try sorting and uniquifying the output.
7406 if sort "$nlist" | uniq > "$nlist"T; then
7407 mv -f "$nlist"T "$nlist"
7408 else
7409 rm -f "$nlist"T
7410 fi
7411
7412 # Make sure that we snagged all the symbols we need.
7413 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7414 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7415 cat <<_LT_EOF > conftest.$ac_ext
7416#ifdef __cplusplus
7417extern "C" {
7418#endif
7419
7420_LT_EOF
7421 # Now generate the symbol file.
7422 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7423
7424 cat <<_LT_EOF >> conftest.$ac_ext
7425
7426/* The mapping between symbol names and symbols. */
7427const struct {
7428 const char *name;
7429 void *address;
7430}
7431lt__PROGRAM__LTX_preloaded_symbols[] =
7432{
7433 { "@PROGRAM@", (void *) 0 },
7434_LT_EOF
7435 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7436 cat <<\_LT_EOF >> conftest.$ac_ext
7437 {0, (void *) 0}
7438};
7439
7440/* This works around a problem in FreeBSD linker */
7441#ifdef FREEBSD_WORKAROUND
7442static const void *lt_preloaded_setup() {
7443 return lt__PROGRAM__LTX_preloaded_symbols;
7444}
7445#endif
7446
7447#ifdef __cplusplus
7448}
7449#endif
7450_LT_EOF
7451 # Now try linking the two files.
7452 mv conftest.$ac_objext conftstm.$ac_objext
7453 lt_save_LIBS="$LIBS"
7454 lt_save_CFLAGS="$CFLAGS"
7455 LIBS="conftstm.$ac_objext"
7456 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7457 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7458 (eval $ac_link) 2>&5
7459 ac_status=$?
7460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7461 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7462 pipe_works=yes
7463 fi
7464 LIBS="$lt_save_LIBS"
7465 CFLAGS="$lt_save_CFLAGS"
7466 else
7467 echo "cannot find nm_test_func in $nlist" >&5
7468 fi
7469 else
7470 echo "cannot find nm_test_var in $nlist" >&5
7471 fi
7472 else
7473 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7474 fi
7475 else
7476 echo "$progname: failed program was:" >&5
7477 cat conftest.$ac_ext >&5
7478 fi
7479 rm -rf conftest* conftst*
7480
7481 # Do not use the global_symbol_pipe unless it works.
7482 if test "$pipe_works" = yes; then
7483 break
7484 else
7485 lt_cv_sys_global_symbol_pipe=
7486 fi
7487done
7488
7489fi
7490
7491if test -z "$lt_cv_sys_global_symbol_pipe"; then
7492 lt_cv_sys_global_symbol_to_cdecl=
7493fi
7494if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7496$as_echo "failed" >&6; }
7497else
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7499$as_echo "ok" >&6; }
7500fi
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523# Check whether --enable-libtool-lock was given.
7524if test "${enable_libtool_lock+set}" = set; then :
7525 enableval=$enable_libtool_lock;
7526fi
7527
7528test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7529
7530# Some flags need to be propagated to the compiler or linker for good
7531# libtool support.
7532case $host in
7533ia64-*-hpux*)
7534 # Find out which ABI we are using.
7535 echo 'int i;' > conftest.$ac_ext
7536 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7537 (eval $ac_compile) 2>&5
7538 ac_status=$?
7539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7540 test $ac_status = 0; }; then
7541 case `/usr/bin/file conftest.$ac_objext` in
7542 *ELF-32*)
7543 HPUX_IA64_MODE="32"
7544 ;;
7545 *ELF-64*)
7546 HPUX_IA64_MODE="64"
7547 ;;
7548 esac
7549 fi
7550 rm -rf conftest*
7551 ;;
7552*-*-irix6*)
7553 # Find out which ABI we are using.
7554 echo '#line 7554 "configure"' > conftest.$ac_ext
7555 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7556 (eval $ac_compile) 2>&5
7557 ac_status=$?
7558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7559 test $ac_status = 0; }; then
7560 if test "$lt_cv_prog_gnu_ld" = yes; then
7561 case `/usr/bin/file conftest.$ac_objext` in
7562 *32-bit*)
7563 LD="${LD-ld} -melf32bsmip"
7564 ;;
7565 *N32*)
7566 LD="${LD-ld} -melf32bmipn32"
7567 ;;
7568 *64-bit*)
7569 LD="${LD-ld} -melf64bmip"
7570 ;;
7571 esac
7572 else
7573 case `/usr/bin/file conftest.$ac_objext` in
7574 *32-bit*)
7575 LD="${LD-ld} -32"
7576 ;;
7577 *N32*)
7578 LD="${LD-ld} -n32"
7579 ;;
7580 *64-bit*)
7581 LD="${LD-ld} -64"
7582 ;;
7583 esac
7584 fi
7585 fi
7586 rm -rf conftest*
7587 ;;
7588
7589x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7590s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7591 # Find out which ABI we are using.
7592 echo 'int i;' > conftest.$ac_ext
7593 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7594 (eval $ac_compile) 2>&5
7595 ac_status=$?
7596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7597 test $ac_status = 0; }; then
7598 case `/usr/bin/file conftest.o` in
7599 *32-bit*)
7600 case $host in
7601 x86_64-*kfreebsd*-gnu)
7602 LD="${LD-ld} -m elf_i386_fbsd"
7603 ;;
7604 x86_64-*linux*)
7605 LD="${LD-ld} -m elf_i386"
7606 ;;
7607 ppc64-*linux*|powerpc64-*linux*)
7608 LD="${LD-ld} -m elf32ppclinux"
7609 ;;
7610 s390x-*linux*)
7611 LD="${LD-ld} -m elf_s390"
7612 ;;
7613 sparc64-*linux*)
7614 LD="${LD-ld} -m elf32_sparc"
7615 ;;
7616 esac
7617 ;;
7618 *64-bit*)
7619 case $host in
7620 x86_64-*kfreebsd*-gnu)
7621 LD="${LD-ld} -m elf_x86_64_fbsd"
7622 ;;
7623 x86_64-*linux*)
7624 LD="${LD-ld} -m elf_x86_64"
7625 ;;
7626 ppc*-*linux*|powerpc*-*linux*)
7627 LD="${LD-ld} -m elf64ppc"
7628 ;;
7629 s390*-*linux*|s390*-*tpf*)
7630 LD="${LD-ld} -m elf64_s390"
7631 ;;
7632 sparc*-*linux*)
7633 LD="${LD-ld} -m elf64_sparc"
7634 ;;
7635 esac
7636 ;;
7637 esac
7638 fi
7639 rm -rf conftest*
7640 ;;
7641
7642*-*-sco3.2v5*)
7643 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7644 SAVE_CFLAGS="$CFLAGS"
7645 CFLAGS="$CFLAGS -belf"
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7647$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7648if test "${lt_cv_cc_needs_belf+set}" = set; then :
7649 $as_echo_n "(cached) " >&6
7650else
7651 ac_ext=c
7652ac_cpp='$CPP $CPPFLAGS'
7653ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7654ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7655ac_compiler_gnu=$ac_cv_c_compiler_gnu
7656
7657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7658/* end confdefs.h. */
7659
7660int
7661main ()
7662{
7663
7664 ;
7665 return 0;
7666}
7667_ACEOF
7668if ac_fn_c_try_link "$LINENO"; then :
7669 lt_cv_cc_needs_belf=yes
7670else
7671 lt_cv_cc_needs_belf=no
7672fi
7673rm -f core conftest.err conftest.$ac_objext \
7674 conftest$ac_exeext conftest.$ac_ext
7675 ac_ext=c
7676ac_cpp='$CPP $CPPFLAGS'
7677ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7678ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7679ac_compiler_gnu=$ac_cv_c_compiler_gnu
7680
7681fi
7682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7683$as_echo "$lt_cv_cc_needs_belf" >&6; }
7684 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7685 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7686 CFLAGS="$SAVE_CFLAGS"
7687 fi
7688 ;;
7689sparc*-*solaris*)
7690 # Find out which ABI we are using.
7691 echo 'int i;' > conftest.$ac_ext
7692 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7693 (eval $ac_compile) 2>&5
7694 ac_status=$?
7695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7696 test $ac_status = 0; }; then
7697 case `/usr/bin/file conftest.o` in
7698 *64-bit*)
7699 case $lt_cv_prog_gnu_ld in
7700 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7701 *)
7702 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7703 LD="${LD-ld} -64"
7704 fi
7705 ;;
7706 esac
7707 ;;
7708 esac
7709 fi
7710 rm -rf conftest*
7711 ;;
7712esac
7713
7714need_locks="$enable_libtool_lock"
7715
7716
7717 case $host_os in
7718 rhapsody* | darwin*)
7719 if test -n "$ac_tool_prefix"; then
7720 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7721set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7723$as_echo_n "checking for $ac_word... " >&6; }
7724if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7725 $as_echo_n "(cached) " >&6
7726else
7727 if test -n "$DSYMUTIL"; then
7728 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7729else
7730as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7731for as_dir in $PATH
7732do
7733 IFS=$as_save_IFS
7734 test -z "$as_dir" && as_dir=.
7735 for ac_exec_ext in '' $ac_executable_extensions; do
7736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7737 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7739 break 2
7740 fi
7741done
7742 done
7743IFS=$as_save_IFS
7744
7745fi
7746fi
7747DSYMUTIL=$ac_cv_prog_DSYMUTIL
7748if test -n "$DSYMUTIL"; then
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7750$as_echo "$DSYMUTIL" >&6; }
7751else
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7753$as_echo "no" >&6; }
7754fi
7755
7756
7757fi
7758if test -z "$ac_cv_prog_DSYMUTIL"; then
7759 ac_ct_DSYMUTIL=$DSYMUTIL
7760 # Extract the first word of "dsymutil", so it can be a program name with args.
7761set dummy dsymutil; ac_word=$2
7762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7763$as_echo_n "checking for $ac_word... " >&6; }
7764if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7765 $as_echo_n "(cached) " >&6
7766else
7767 if test -n "$ac_ct_DSYMUTIL"; then
7768 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7769else
7770as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7771for as_dir in $PATH
7772do
7773 IFS=$as_save_IFS
7774 test -z "$as_dir" && as_dir=.
7775 for ac_exec_ext in '' $ac_executable_extensions; do
7776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7777 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7779 break 2
7780 fi
7781done
7782 done
7783IFS=$as_save_IFS
7784
7785fi
7786fi
7787ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7788if test -n "$ac_ct_DSYMUTIL"; then
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7790$as_echo "$ac_ct_DSYMUTIL" >&6; }
7791else
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7793$as_echo "no" >&6; }
7794fi
7795
7796 if test "x$ac_ct_DSYMUTIL" = x; then
7797 DSYMUTIL=":"
7798 else
7799 case $cross_compiling:$ac_tool_warned in
7800yes:)
7801{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7802$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7803ac_tool_warned=yes ;;
7804esac
7805 DSYMUTIL=$ac_ct_DSYMUTIL
7806 fi
7807else
7808 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7809fi
7810
7811 if test -n "$ac_tool_prefix"; then
7812 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7813set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7815$as_echo_n "checking for $ac_word... " >&6; }
7816if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7817 $as_echo_n "(cached) " >&6
7818else
7819 if test -n "$NMEDIT"; then
7820 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7821else
7822as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7823for as_dir in $PATH
7824do
7825 IFS=$as_save_IFS
7826 test -z "$as_dir" && as_dir=.
7827 for ac_exec_ext in '' $ac_executable_extensions; do
7828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7829 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7831 break 2
7832 fi
7833done
7834 done
7835IFS=$as_save_IFS
7836
7837fi
7838fi
7839NMEDIT=$ac_cv_prog_NMEDIT
7840if test -n "$NMEDIT"; then
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7842$as_echo "$NMEDIT" >&6; }
7843else
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7845$as_echo "no" >&6; }
7846fi
7847
7848
7849fi
7850if test -z "$ac_cv_prog_NMEDIT"; then
7851 ac_ct_NMEDIT=$NMEDIT
7852 # Extract the first word of "nmedit", so it can be a program name with args.
7853set dummy nmedit; ac_word=$2
7854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7855$as_echo_n "checking for $ac_word... " >&6; }
7856if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7857 $as_echo_n "(cached) " >&6
7858else
7859 if test -n "$ac_ct_NMEDIT"; then
7860 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7861else
7862as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7863for as_dir in $PATH
7864do
7865 IFS=$as_save_IFS
7866 test -z "$as_dir" && as_dir=.
7867 for ac_exec_ext in '' $ac_executable_extensions; do
7868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7869 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7871 break 2
7872 fi
7873done
7874 done
7875IFS=$as_save_IFS
7876
7877fi
7878fi
7879ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7880if test -n "$ac_ct_NMEDIT"; then
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7882$as_echo "$ac_ct_NMEDIT" >&6; }
7883else
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7885$as_echo "no" >&6; }
7886fi
7887
7888 if test "x$ac_ct_NMEDIT" = x; then
7889 NMEDIT=":"
7890 else
7891 case $cross_compiling:$ac_tool_warned in
7892yes:)
7893{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7894$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7895ac_tool_warned=yes ;;
7896esac
7897 NMEDIT=$ac_ct_NMEDIT
7898 fi
7899else
7900 NMEDIT="$ac_cv_prog_NMEDIT"
7901fi
7902
7903 if test -n "$ac_tool_prefix"; then
7904 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7905set dummy ${ac_tool_prefix}lipo; ac_word=$2
7906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7907$as_echo_n "checking for $ac_word... " >&6; }
7908if test "${ac_cv_prog_LIPO+set}" = set; then :
7909 $as_echo_n "(cached) " >&6
7910else
7911 if test -n "$LIPO"; then
7912 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7913else
7914as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7915for as_dir in $PATH
7916do
7917 IFS=$as_save_IFS
7918 test -z "$as_dir" && as_dir=.
7919 for ac_exec_ext in '' $ac_executable_extensions; do
7920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7921 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7923 break 2
7924 fi
7925done
7926 done
7927IFS=$as_save_IFS
7928
7929fi
7930fi
7931LIPO=$ac_cv_prog_LIPO
7932if test -n "$LIPO"; then
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7934$as_echo "$LIPO" >&6; }
7935else
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7937$as_echo "no" >&6; }
7938fi
7939
7940
7941fi
7942if test -z "$ac_cv_prog_LIPO"; then
7943 ac_ct_LIPO=$LIPO
7944 # Extract the first word of "lipo", so it can be a program name with args.
7945set dummy lipo; ac_word=$2
7946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7947$as_echo_n "checking for $ac_word... " >&6; }
7948if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7949 $as_echo_n "(cached) " >&6
7950else
7951 if test -n "$ac_ct_LIPO"; then
7952 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7953else
7954as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7955for as_dir in $PATH
7956do
7957 IFS=$as_save_IFS
7958 test -z "$as_dir" && as_dir=.
7959 for ac_exec_ext in '' $ac_executable_extensions; do
7960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7961 ac_cv_prog_ac_ct_LIPO="lipo"
7962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7963 break 2
7964 fi
7965done
7966 done
7967IFS=$as_save_IFS
7968
7969fi
7970fi
7971ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7972if test -n "$ac_ct_LIPO"; then
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7974$as_echo "$ac_ct_LIPO" >&6; }
7975else
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7977$as_echo "no" >&6; }
7978fi
7979
7980 if test "x$ac_ct_LIPO" = x; then
7981 LIPO=":"
7982 else
7983 case $cross_compiling:$ac_tool_warned in
7984yes:)
7985{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7986$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7987ac_tool_warned=yes ;;
7988esac
7989 LIPO=$ac_ct_LIPO
7990 fi
7991else
7992 LIPO="$ac_cv_prog_LIPO"
7993fi
7994
7995 if test -n "$ac_tool_prefix"; then
7996 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7997set dummy ${ac_tool_prefix}otool; ac_word=$2
7998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7999$as_echo_n "checking for $ac_word... " >&6; }
8000if test "${ac_cv_prog_OTOOL+set}" = set; then :
8001 $as_echo_n "(cached) " >&6
8002else
8003 if test -n "$OTOOL"; then
8004 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8005else
8006as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8007for as_dir in $PATH
8008do
8009 IFS=$as_save_IFS
8010 test -z "$as_dir" && as_dir=.
8011 for ac_exec_ext in '' $ac_executable_extensions; do
8012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8013 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8015 break 2
8016 fi
8017done
8018 done
8019IFS=$as_save_IFS
8020
8021fi
8022fi
8023OTOOL=$ac_cv_prog_OTOOL
8024if test -n "$OTOOL"; then
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8026$as_echo "$OTOOL" >&6; }
8027else
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8029$as_echo "no" >&6; }
8030fi
8031
8032
8033fi
8034if test -z "$ac_cv_prog_OTOOL"; then
8035 ac_ct_OTOOL=$OTOOL
8036 # Extract the first word of "otool", so it can be a program name with args.
8037set dummy otool; ac_word=$2
8038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8039$as_echo_n "checking for $ac_word... " >&6; }
8040if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8041 $as_echo_n "(cached) " >&6
8042else
8043 if test -n "$ac_ct_OTOOL"; then
8044 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8045else
8046as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8047for as_dir in $PATH
8048do
8049 IFS=$as_save_IFS
8050 test -z "$as_dir" && as_dir=.
8051 for ac_exec_ext in '' $ac_executable_extensions; do
8052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8053 ac_cv_prog_ac_ct_OTOOL="otool"
8054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8055 break 2
8056 fi
8057done
8058 done
8059IFS=$as_save_IFS
8060
8061fi
8062fi
8063ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8064if test -n "$ac_ct_OTOOL"; then
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8066$as_echo "$ac_ct_OTOOL" >&6; }
8067else
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8069$as_echo "no" >&6; }
8070fi
8071
8072 if test "x$ac_ct_OTOOL" = x; then
8073 OTOOL=":"
8074 else
8075 case $cross_compiling:$ac_tool_warned in
8076yes:)
8077{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8078$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8079ac_tool_warned=yes ;;
8080esac
8081 OTOOL=$ac_ct_OTOOL
8082 fi
8083else
8084 OTOOL="$ac_cv_prog_OTOOL"
8085fi
8086
8087 if test -n "$ac_tool_prefix"; then
8088 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8089set dummy ${ac_tool_prefix}otool64; ac_word=$2
8090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8091$as_echo_n "checking for $ac_word... " >&6; }
8092if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8093 $as_echo_n "(cached) " >&6
8094else
8095 if test -n "$OTOOL64"; then
8096 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8097else
8098as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8099for as_dir in $PATH
8100do
8101 IFS=$as_save_IFS
8102 test -z "$as_dir" && as_dir=.
8103 for ac_exec_ext in '' $ac_executable_extensions; do
8104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8105 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8107 break 2
8108 fi
8109done
8110 done
8111IFS=$as_save_IFS
8112
8113fi
8114fi
8115OTOOL64=$ac_cv_prog_OTOOL64
8116if test -n "$OTOOL64"; then
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8118$as_echo "$OTOOL64" >&6; }
8119else
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8121$as_echo "no" >&6; }
8122fi
8123
8124
8125fi
8126if test -z "$ac_cv_prog_OTOOL64"; then
8127 ac_ct_OTOOL64=$OTOOL64
8128 # Extract the first word of "otool64", so it can be a program name with args.
8129set dummy otool64; ac_word=$2
8130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8131$as_echo_n "checking for $ac_word... " >&6; }
8132if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8133 $as_echo_n "(cached) " >&6
8134else
8135 if test -n "$ac_ct_OTOOL64"; then
8136 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8137else
8138as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8139for as_dir in $PATH
8140do
8141 IFS=$as_save_IFS
8142 test -z "$as_dir" && as_dir=.
8143 for ac_exec_ext in '' $ac_executable_extensions; do
8144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8145 ac_cv_prog_ac_ct_OTOOL64="otool64"
8146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8147 break 2
8148 fi
8149done
8150 done
8151IFS=$as_save_IFS
8152
8153fi
8154fi
8155ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8156if test -n "$ac_ct_OTOOL64"; then
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8158$as_echo "$ac_ct_OTOOL64" >&6; }
8159else
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8161$as_echo "no" >&6; }
8162fi
8163
8164 if test "x$ac_ct_OTOOL64" = x; then
8165 OTOOL64=":"
8166 else
8167 case $cross_compiling:$ac_tool_warned in
8168yes:)
8169{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8170$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8171ac_tool_warned=yes ;;
8172esac
8173 OTOOL64=$ac_ct_OTOOL64
8174 fi
8175else
8176 OTOOL64="$ac_cv_prog_OTOOL64"
8177fi
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8206$as_echo_n "checking for -single_module linker flag... " >&6; }
8207if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8208 $as_echo_n "(cached) " >&6
8209else
8210 lt_cv_apple_cc_single_mod=no
8211 if test -z "${LT_MULTI_MODULE}"; then
8212 # By default we will add the -single_module flag. You can override
8213 # by either setting the environment variable LT_MULTI_MODULE
8214 # non-empty at configure time, or by adding -multi_module to the
8215 # link flags.
8216 rm -rf libconftest.dylib*
8217 echo "int foo(void){return 1;}" > conftest.c
8218 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8219-dynamiclib -Wl,-single_module conftest.c" >&5
8220 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8221 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8222 _lt_result=$?
8223 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8224 lt_cv_apple_cc_single_mod=yes
8225 else
8226 cat conftest.err >&5
8227 fi
8228 rm -rf libconftest.dylib*
8229 rm -f conftest.*
8230 fi
8231fi
8232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8233$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8235$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8236if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8237 $as_echo_n "(cached) " >&6
8238else
8239 lt_cv_ld_exported_symbols_list=no
8240 save_LDFLAGS=$LDFLAGS
8241 echo "_main" > conftest.sym
8242 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8244/* end confdefs.h. */
8245
8246int
8247main ()
8248{
8249
8250 ;
8251 return 0;
8252}
8253_ACEOF
8254if ac_fn_c_try_link "$LINENO"; then :
8255 lt_cv_ld_exported_symbols_list=yes
8256else
8257 lt_cv_ld_exported_symbols_list=no
8258fi
8259rm -f core conftest.err conftest.$ac_objext \
8260 conftest$ac_exeext conftest.$ac_ext
8261 LDFLAGS="$save_LDFLAGS"
8262
8263fi
8264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8265$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8266 case $host_os in
8267 rhapsody* | darwin1.[012])
8268 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8269 darwin1.*)
8270 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8271 darwin*) # darwin 5.x on
8272 # if running on 10.5 or later, the deployment target defaults
8273 # to the OS version, if on x86, and 10.4, the deployment
8274 # target defaults to 10.4. Don't you love it?
8275 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8276 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8277 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8278 10.[012]*)
8279 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8280 10.*)
8281 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8282 esac
8283 ;;
8284 esac
8285 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8286 _lt_dar_single_mod='$single_module'
8287 fi
8288 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8289 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8290 else
8291 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8292 fi
8293 if test "$DSYMUTIL" != ":"; then
8294 _lt_dsymutil='~$DSYMUTIL $lib || :'
8295 else
8296 _lt_dsymutil=
8297 fi
8298 ;;
8299 esac
8300
8301for ac_header in dlfcn.h
8302do :
8303 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8304"
8305if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8306 cat >>confdefs.h <<_ACEOF
8307#define HAVE_DLFCN_H 1
8308_ACEOF
8309
8310fi
8311
8312done
8313
8314
8315
8316# Set options
8317
8318
8319
8320 enable_dlopen=no
8321
8322
8323
8324 # Check whether --enable-shared was given.
8325if test "${enable_shared+set}" = set; then :
8326 enableval=$enable_shared; p=${PACKAGE-default}
8327 case $enableval in
8328 yes) enable_shared=yes ;;
8329 no) enable_shared=no ;;
8330 *)
8331 enable_shared=no
8332 # Look at the argument we got. We use all the common list separators.
8333 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8334 for pkg in $enableval; do
8335 IFS="$lt_save_ifs"
8336 if test "X$pkg" = "X$p"; then
8337 enable_shared=yes
8338 fi
8339 done
8340 IFS="$lt_save_ifs"
8341 ;;
8342 esac
8343else
8344 enable_shared=yes
8345fi
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355 # Check whether --enable-static was given.
8356if test "${enable_static+set}" = set; then :
8357 enableval=$enable_static; p=${PACKAGE-default}
8358 case $enableval in
8359 yes) enable_static=yes ;;
8360 no) enable_static=no ;;
8361 *)
8362 enable_static=no
8363 # Look at the argument we got. We use all the common list separators.
8364 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8365 for pkg in $enableval; do
8366 IFS="$lt_save_ifs"
8367 if test "X$pkg" = "X$p"; then
8368 enable_static=yes
8369 fi
8370 done
8371 IFS="$lt_save_ifs"
8372 ;;
8373 esac
8374else
8375 enable_static=yes
8376fi
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387# Check whether --with-pic was given.
8388if test "${with_pic+set}" = set; then :
8389 withval=$with_pic; pic_mode="$withval"
8390else
8391 pic_mode=default
8392fi
8393
8394
8395test -z "$pic_mode" && pic_mode=default
8396
8397
8398
8399
8400
8401
8402
8403 # Check whether --enable-fast-install was given.
8404if test "${enable_fast_install+set}" = set; then :
8405 enableval=$enable_fast_install; p=${PACKAGE-default}
8406 case $enableval in
8407 yes) enable_fast_install=yes ;;
8408 no) enable_fast_install=no ;;
8409 *)
8410 enable_fast_install=no
8411 # Look at the argument we got. We use all the common list separators.
8412 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8413 for pkg in $enableval; do
8414 IFS="$lt_save_ifs"
8415 if test "X$pkg" = "X$p"; then
8416 enable_fast_install=yes
8417 fi
8418 done
8419 IFS="$lt_save_ifs"
8420 ;;
8421 esac
8422else
8423 enable_fast_install=yes
8424fi
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436# This can be used to rebuild libtool when needed
8437LIBTOOL_DEPS="$ltmain"
8438
8439# Always use our own libtool.
8440LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466test -z "$LN_S" && LN_S="ln -s"
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481if test -n "${ZSH_VERSION+set}" ; then
8482 setopt NO_GLOB_SUBST
8483fi
8484
8485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8486$as_echo_n "checking for objdir... " >&6; }
8487if test "${lt_cv_objdir+set}" = set; then :
8488 $as_echo_n "(cached) " >&6
8489else
8490 rm -f .libs 2>/dev/null
8491mkdir .libs 2>/dev/null
8492if test -d .libs; then
8493 lt_cv_objdir=.libs
8494else
8495 # MS-DOS does not allow filenames that begin with a dot.
8496 lt_cv_objdir=_libs
8497fi
8498rmdir .libs 2>/dev/null
8499fi
8500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8501$as_echo "$lt_cv_objdir" >&6; }
8502objdir=$lt_cv_objdir
8503
8504
8505
8506
8507
8508cat >>confdefs.h <<_ACEOF
8509#define LT_OBJDIR "$lt_cv_objdir/"
8510_ACEOF
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528case $host_os in
8529aix3*)
8530 # AIX sometimes has problems with the GCC collect2 program. For some
8531 # reason, if we set the COLLECT_NAMES environment variable, the problems
8532 # vanish in a puff of smoke.
8533 if test "X${COLLECT_NAMES+set}" != Xset; then
8534 COLLECT_NAMES=
8535 export COLLECT_NAMES
8536 fi
8537 ;;
8538esac
8539
8540# Sed substitution that helps us do robust quoting. It backslashifies
8541# metacharacters that are still active within double-quoted strings.
8542sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8543
8544# Same as above, but do not quote variable references.
8545double_quote_subst='s/\(["`\\]\)/\\\1/g'
8546
8547# Sed substitution to delay expansion of an escaped shell variable in a
8548# double_quote_subst'ed string.
8549delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8550
8551# Sed substitution to delay expansion of an escaped single quote.
8552delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8553
8554# Sed substitution to avoid accidental globbing in evaled expressions
8555no_glob_subst='s/\*/\\\*/g'
8556
8557# Global variables:
8558ofile=libtool
8559can_build_shared=yes
8560
8561# All known linkers require a `.a' archive for static linking (except MSVC,
8562# which needs '.lib').
8563libext=a
8564
8565with_gnu_ld="$lt_cv_prog_gnu_ld"
8566
8567old_CC="$CC"
8568old_CFLAGS="$CFLAGS"
8569
8570# Set sane defaults for various variables
8571test -z "$CC" && CC=cc
8572test -z "$LTCC" && LTCC=$CC
8573test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8574test -z "$LD" && LD=ld
8575test -z "$ac_objext" && ac_objext=o
8576
8577for cc_temp in $compiler""; do
8578 case $cc_temp in
8579 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8580 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8581 \-*) ;;
8582 *) break;;
8583 esac
8584done
8585cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8586
8587
8588# Only perform the check for file, if the check method requires it
8589test -z "$MAGIC_CMD" && MAGIC_CMD=file
8590case $deplibs_check_method in
8591file_magic*)
8592 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8594$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8595if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8596 $as_echo_n "(cached) " >&6
8597else
8598 case $MAGIC_CMD in
8599[\\/*] | ?:[\\/]*)
8600 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8601 ;;
8602*)
8603 lt_save_MAGIC_CMD="$MAGIC_CMD"
8604 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8605 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8606 for ac_dir in $ac_dummy; do
8607 IFS="$lt_save_ifs"
8608 test -z "$ac_dir" && ac_dir=.
8609 if test -f $ac_dir/${ac_tool_prefix}file; then
8610 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8611 if test -n "$file_magic_test_file"; then
8612 case $deplibs_check_method in
8613 "file_magic "*)
8614 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8615 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8616 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8617 $EGREP "$file_magic_regex" > /dev/null; then
8618 :
8619 else
8620 cat <<_LT_EOF 1>&2
8621
8622*** Warning: the command libtool uses to detect shared libraries,
8623*** $file_magic_cmd, produces output that libtool cannot recognize.
8624*** The result is that libtool may fail to recognize shared libraries
8625*** as such. This will affect the creation of libtool libraries that
8626*** depend on shared libraries, but programs linked with such libtool
8627*** libraries will work regardless of this problem. Nevertheless, you
8628*** may want to report the problem to your system manager and/or to
8629*** bug-libtool@gnu.org
8630
8631_LT_EOF
8632 fi ;;
8633 esac
8634 fi
8635 break
8636 fi
8637 done
8638 IFS="$lt_save_ifs"
8639 MAGIC_CMD="$lt_save_MAGIC_CMD"
8640 ;;
8641esac
8642fi
8643
8644MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8645if test -n "$MAGIC_CMD"; then
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8647$as_echo "$MAGIC_CMD" >&6; }
8648else
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8650$as_echo "no" >&6; }
8651fi
8652
8653
8654
8655
8656
8657if test -z "$lt_cv_path_MAGIC_CMD"; then
8658 if test -n "$ac_tool_prefix"; then
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8660$as_echo_n "checking for file... " >&6; }
8661if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8662 $as_echo_n "(cached) " >&6
8663else
8664 case $MAGIC_CMD in
8665[\\/*] | ?:[\\/]*)
8666 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8667 ;;
8668*)
8669 lt_save_MAGIC_CMD="$MAGIC_CMD"
8670 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8671 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8672 for ac_dir in $ac_dummy; do
8673 IFS="$lt_save_ifs"
8674 test -z "$ac_dir" && ac_dir=.
8675 if test -f $ac_dir/file; then
8676 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8677 if test -n "$file_magic_test_file"; then
8678 case $deplibs_check_method in
8679 "file_magic "*)
8680 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8681 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8682 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8683 $EGREP "$file_magic_regex" > /dev/null; then
8684 :
8685 else
8686 cat <<_LT_EOF 1>&2
8687
8688*** Warning: the command libtool uses to detect shared libraries,
8689*** $file_magic_cmd, produces output that libtool cannot recognize.
8690*** The result is that libtool may fail to recognize shared libraries
8691*** as such. This will affect the creation of libtool libraries that
8692*** depend on shared libraries, but programs linked with such libtool
8693*** libraries will work regardless of this problem. Nevertheless, you
8694*** may want to report the problem to your system manager and/or to
8695*** bug-libtool@gnu.org
8696
8697_LT_EOF
8698 fi ;;
8699 esac
8700 fi
8701 break
8702 fi
8703 done
8704 IFS="$lt_save_ifs"
8705 MAGIC_CMD="$lt_save_MAGIC_CMD"
8706 ;;
8707esac
8708fi
8709
8710MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8711if test -n "$MAGIC_CMD"; then
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8713$as_echo "$MAGIC_CMD" >&6; }
8714else
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8716$as_echo "no" >&6; }
8717fi
8718
8719
8720 else
8721 MAGIC_CMD=:
8722 fi
8723fi
8724
8725 fi
8726 ;;
8727esac
8728
8729# Use C for the default configuration in the libtool script
8730
8731lt_save_CC="$CC"
8732ac_ext=c
8733ac_cpp='$CPP $CPPFLAGS'
8734ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8735ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8736ac_compiler_gnu=$ac_cv_c_compiler_gnu
8737
8738
8739# Source file extension for C test sources.
8740ac_ext=c
8741
8742# Object file extension for compiled C test sources.
8743objext=o
8744objext=$objext
8745
8746# Code to be used in simple compile tests
8747lt_simple_compile_test_code="int some_variable = 0;"
8748
8749# Code to be used in simple link tests
8750lt_simple_link_test_code='int main(){return(0);}'
8751
8752
8753
8754
8755
8756
8757
8758# If no C compiler was specified, use CC.
8759LTCC=${LTCC-"$CC"}
8760
8761# If no C compiler flags were specified, use CFLAGS.
8762LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8763
8764# Allow CC to be a program name with arguments.
8765compiler=$CC
8766
8767# Save the default compiler, since it gets overwritten when the other
8768# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8769compiler_DEFAULT=$CC
8770
8771# save warnings/boilerplate of simple test code
8772ac_outfile=conftest.$ac_objext
8773echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8774eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8775_lt_compiler_boilerplate=`cat conftest.err`
8776$RM conftest*
8777
8778ac_outfile=conftest.$ac_objext
8779echo "$lt_simple_link_test_code" >conftest.$ac_ext
8780eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8781_lt_linker_boilerplate=`cat conftest.err`
8782$RM -r conftest*
8783
8784
8785## CAVEAT EMPTOR:
8786## There is no encapsulation within the following macros, do not change
8787## the running order or otherwise move them around unless you know exactly
8788## what you are doing...
8789if test -n "$compiler"; then
8790
8791lt_prog_compiler_no_builtin_flag=
8792
8793if test "$GCC" = yes; then
8794 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8795
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8797$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8798if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8799 $as_echo_n "(cached) " >&6
8800else
8801 lt_cv_prog_compiler_rtti_exceptions=no
8802 ac_outfile=conftest.$ac_objext
8803 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8804 lt_compiler_flag="-fno-rtti -fno-exceptions"
8805 # Insert the option either (1) after the last *FLAGS variable, or
8806 # (2) before a word containing "conftest.", or (3) at the end.
8807 # Note that $ac_compile itself does not contain backslashes and begins
8808 # with a dollar sign (not a hyphen), so the echo should work correctly.
8809 # The option is referenced via a variable to avoid confusing sed.
8810 lt_compile=`echo "$ac_compile" | $SED \
8811 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8812 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8813 -e 's:$: $lt_compiler_flag:'`
8814 (eval echo "\"\$as_me:8814: $lt_compile\"" >&5)
8815 (eval "$lt_compile" 2>conftest.err)
8816 ac_status=$?
8817 cat conftest.err >&5
8818 echo "$as_me:8818: \$? = $ac_status" >&5
8819 if (exit $ac_status) && test -s "$ac_outfile"; then
8820 # The compiler can only warn and ignore the option if not recognized
8821 # So say no if there are warnings other than the usual output.
8822 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8823 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8824 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8825 lt_cv_prog_compiler_rtti_exceptions=yes
8826 fi
8827 fi
8828 $RM conftest*
8829
8830fi
8831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8832$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8833
8834if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8835 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8836else
8837 :
8838fi
8839
8840fi
8841
8842
8843
8844
8845
8846
8847 lt_prog_compiler_wl=
8848lt_prog_compiler_pic=
8849lt_prog_compiler_static=
8850
8851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8852$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8853
8854 if test "$GCC" = yes; then
8855 lt_prog_compiler_wl='-Wl,'
8856 lt_prog_compiler_static='-static'
8857
8858 case $host_os in
8859 aix*)
8860 # All AIX code is PIC.
8861 if test "$host_cpu" = ia64; then
8862 # AIX 5 now supports IA64 processor
8863 lt_prog_compiler_static='-Bstatic'
8864 fi
8865 ;;
8866
8867 amigaos*)
8868 case $host_cpu in
8869 powerpc)
8870 # see comment about AmigaOS4 .so support
8871 lt_prog_compiler_pic='-fPIC'
8872 ;;
8873 m68k)
8874 # FIXME: we need at least 68020 code to build shared libraries, but
8875 # adding the `-m68020' flag to GCC prevents building anything better,
8876 # like `-m68040'.
8877 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8878 ;;
8879 esac
8880 ;;
8881
8882 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8883 # PIC is the default for these OSes.
8884 ;;
8885
8886 mingw* | cygwin* | pw32* | os2* | cegcc*)
8887 # This hack is so that the source file can tell whether it is being
8888 # built for inclusion in a dll (and should export symbols for example).
8889 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8890 # (--disable-auto-import) libraries
8891 lt_prog_compiler_pic='-DDLL_EXPORT'
8892 ;;
8893
8894 darwin* | rhapsody*)
8895 # PIC is the default on this platform
8896 # Common symbols not allowed in MH_DYLIB files
8897 lt_prog_compiler_pic='-fno-common'
8898 ;;
8899
8900 hpux*)
8901 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8902 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8903 # sets the default TLS model and affects inlining.
8904 case $host_cpu in
8905 hppa*64*)
8906 # +Z the default
8907 ;;
8908 *)
8909 lt_prog_compiler_pic='-fPIC'
8910 ;;
8911 esac
8912 ;;
8913
8914 interix[3-9]*)
8915 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8916 # Instead, we relocate shared libraries at runtime.
8917 ;;
8918
8919 msdosdjgpp*)
8920 # Just because we use GCC doesn't mean we suddenly get shared libraries
8921 # on systems that don't support them.
8922 lt_prog_compiler_can_build_shared=no
8923 enable_shared=no
8924 ;;
8925
8926 *nto* | *qnx*)
8927 # QNX uses GNU C++, but need to define -shared option too, otherwise
8928 # it will coredump.
8929 lt_prog_compiler_pic='-fPIC -shared'
8930 ;;
8931
8932 sysv4*MP*)
8933 if test -d /usr/nec; then
8934 lt_prog_compiler_pic=-Kconform_pic
8935 fi
8936 ;;
8937
8938 *)
8939 lt_prog_compiler_pic='-fPIC'
8940 ;;
8941 esac
8942 else
8943 # PORTME Check for flag to pass linker flags through the system compiler.
8944 case $host_os in
8945 aix*)
8946 lt_prog_compiler_wl='-Wl,'
8947 if test "$host_cpu" = ia64; then
8948 # AIX 5 now supports IA64 processor
8949 lt_prog_compiler_static='-Bstatic'
8950 else
8951 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8952 fi
8953 ;;
8954
8955 mingw* | cygwin* | pw32* | os2* | cegcc*)
8956 # This hack is so that the source file can tell whether it is being
8957 # built for inclusion in a dll (and should export symbols for example).
8958 lt_prog_compiler_pic='-DDLL_EXPORT'
8959 ;;
8960
8961 hpux9* | hpux10* | hpux11*)
8962 lt_prog_compiler_wl='-Wl,'
8963 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8964 # not for PA HP-UX.
8965 case $host_cpu in
8966 hppa*64*|ia64*)
8967 # +Z the default
8968 ;;
8969 *)
8970 lt_prog_compiler_pic='+Z'
8971 ;;
8972 esac
8973 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8974 lt_prog_compiler_static='${wl}-a ${wl}archive'
8975 ;;
8976
8977 irix5* | irix6* | nonstopux*)
8978 lt_prog_compiler_wl='-Wl,'
8979 # PIC (with -KPIC) is the default.
8980 lt_prog_compiler_static='-non_shared'
8981 ;;
8982
8983 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8984 case $cc_basename in
8985 # old Intel for x86_64 which still supported -KPIC.
8986 ecc*)
8987 lt_prog_compiler_wl='-Wl,'
8988 lt_prog_compiler_pic='-KPIC'
8989 lt_prog_compiler_static='-static'
8990 ;;
8991 # icc used to be incompatible with GCC.
8992 # ICC 10 doesn't accept -KPIC any more.
8993 icc* | ifort*)
8994 lt_prog_compiler_wl='-Wl,'
8995 lt_prog_compiler_pic='-fPIC'
8996 lt_prog_compiler_static='-static'
8997 ;;
8998 # Lahey Fortran 8.1.
8999 lf95*)
9000 lt_prog_compiler_wl='-Wl,'
9001 lt_prog_compiler_pic='--shared'
9002 lt_prog_compiler_static='--static'
9003 ;;
9004 pgcc* | pgf77* | pgf90* | pgf95*)
9005 # Portland Group compilers (*not* the Pentium gcc compiler,
9006 # which looks to be a dead project)
9007 lt_prog_compiler_wl='-Wl,'
9008 lt_prog_compiler_pic='-fpic'
9009 lt_prog_compiler_static='-Bstatic'
9010 ;;
9011 ccc*)
9012 lt_prog_compiler_wl='-Wl,'
9013 # All Alpha code is PIC.
9014 lt_prog_compiler_static='-non_shared'
9015 ;;
9016 xl*)
9017 # IBM XL C 8.0/Fortran 10.1 on PPC
9018 lt_prog_compiler_wl='-Wl,'
9019 lt_prog_compiler_pic='-qpic'
9020 lt_prog_compiler_static='-qstaticlink'
9021 ;;
9022 *)
9023 case `$CC -V 2>&1 | sed 5q` in
9024 *Sun\ C*)
9025 # Sun C 5.9
9026 lt_prog_compiler_pic='-KPIC'
9027 lt_prog_compiler_static='-Bstatic'
9028 lt_prog_compiler_wl='-Wl,'
9029 ;;
9030 *Sun\ F*)
9031 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9032 lt_prog_compiler_pic='-KPIC'
9033 lt_prog_compiler_static='-Bstatic'
9034 lt_prog_compiler_wl=''
9035 ;;
9036 esac
9037 ;;
9038 esac
9039 ;;
9040
9041 newsos6)
9042 lt_prog_compiler_pic='-KPIC'
9043 lt_prog_compiler_static='-Bstatic'
9044 ;;
9045
9046 *nto* | *qnx*)
9047 # QNX uses GNU C++, but need to define -shared option too, otherwise
9048 # it will coredump.
9049 lt_prog_compiler_pic='-fPIC -shared'
9050 ;;
9051
9052 osf3* | osf4* | osf5*)
9053 lt_prog_compiler_wl='-Wl,'
9054 # All OSF/1 code is PIC.
9055 lt_prog_compiler_static='-non_shared'
9056 ;;
9057
9058 rdos*)
9059 lt_prog_compiler_static='-non_shared'
9060 ;;
9061
9062 solaris*)
9063 lt_prog_compiler_pic='-KPIC'
9064 lt_prog_compiler_static='-Bstatic'
9065 case $cc_basename in
9066 f77* | f90* | f95*)
9067 lt_prog_compiler_wl='-Qoption ld ';;
9068 *)
9069 lt_prog_compiler_wl='-Wl,';;
9070 esac
9071 ;;
9072
9073 sunos4*)
9074 lt_prog_compiler_wl='-Qoption ld '
9075 lt_prog_compiler_pic='-PIC'
9076 lt_prog_compiler_static='-Bstatic'
9077 ;;
9078
9079 sysv4 | sysv4.2uw2* | sysv4.3*)
9080 lt_prog_compiler_wl='-Wl,'
9081 lt_prog_compiler_pic='-KPIC'
9082 lt_prog_compiler_static='-Bstatic'
9083 ;;
9084
9085 sysv4*MP*)
9086 if test -d /usr/nec ;then
9087 lt_prog_compiler_pic='-Kconform_pic'
9088 lt_prog_compiler_static='-Bstatic'
9089 fi
9090 ;;
9091
9092 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9093 lt_prog_compiler_wl='-Wl,'
9094 lt_prog_compiler_pic='-KPIC'
9095 lt_prog_compiler_static='-Bstatic'
9096 ;;
9097
9098 unicos*)
9099 lt_prog_compiler_wl='-Wl,'
9100 lt_prog_compiler_can_build_shared=no
9101 ;;
9102
9103 uts4*)
9104 lt_prog_compiler_pic='-pic'
9105 lt_prog_compiler_static='-Bstatic'
9106 ;;
9107
9108 *)
9109 lt_prog_compiler_can_build_shared=no
9110 ;;
9111 esac
9112 fi
9113
9114case $host_os in
9115 # For platforms which do not support PIC, -DPIC is meaningless:
9116 *djgpp*)
9117 lt_prog_compiler_pic=
9118 ;;
9119 *)
9120 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9121 ;;
9122esac
9123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9124$as_echo "$lt_prog_compiler_pic" >&6; }
9125
9126
9127
9128
9129
9130
9131#
9132# Check to make sure the PIC flag actually works.
9133#
9134if test -n "$lt_prog_compiler_pic"; then
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9136$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9137if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9138 $as_echo_n "(cached) " >&6
9139else
9140 lt_cv_prog_compiler_pic_works=no
9141 ac_outfile=conftest.$ac_objext
9142 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9143 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9144 # Insert the option either (1) after the last *FLAGS variable, or
9145 # (2) before a word containing "conftest.", or (3) at the end.
9146 # Note that $ac_compile itself does not contain backslashes and begins
9147 # with a dollar sign (not a hyphen), so the echo should work correctly.
9148 # The option is referenced via a variable to avoid confusing sed.
9149 lt_compile=`echo "$ac_compile" | $SED \
9150 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9151 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9152 -e 's:$: $lt_compiler_flag:'`
9153 (eval echo "\"\$as_me:9153: $lt_compile\"" >&5)
9154 (eval "$lt_compile" 2>conftest.err)
9155 ac_status=$?
9156 cat conftest.err >&5
9157 echo "$as_me:9157: \$? = $ac_status" >&5
9158 if (exit $ac_status) && test -s "$ac_outfile"; then
9159 # The compiler can only warn and ignore the option if not recognized
9160 # So say no if there are warnings other than the usual output.
9161 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9162 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9163 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9164 lt_cv_prog_compiler_pic_works=yes
9165 fi
9166 fi
9167 $RM conftest*
9168
9169fi
9170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9171$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9172
9173if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9174 case $lt_prog_compiler_pic in
9175 "" | " "*) ;;
9176 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9177 esac
9178else
9179 lt_prog_compiler_pic=
9180 lt_prog_compiler_can_build_shared=no
9181fi
9182
9183fi
9184
9185
9186
9187
9188
9189
9190#
9191# Check to make sure the static flag actually works.
9192#
9193wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9195$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9196if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9197 $as_echo_n "(cached) " >&6
9198else
9199 lt_cv_prog_compiler_static_works=no
9200 save_LDFLAGS="$LDFLAGS"
9201 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9202 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9203 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9204 # The linker can only warn and ignore the option if not recognized
9205 # So say no if there are warnings
9206 if test -s conftest.err; then
9207 # Append any errors to the config.log.
9208 cat conftest.err 1>&5
9209 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9210 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9211 if diff conftest.exp conftest.er2 >/dev/null; then
9212 lt_cv_prog_compiler_static_works=yes
9213 fi
9214 else
9215 lt_cv_prog_compiler_static_works=yes
9216 fi
9217 fi
9218 $RM -r conftest*
9219 LDFLAGS="$save_LDFLAGS"
9220
9221fi
9222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9223$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9224
9225if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9226 :
9227else
9228 lt_prog_compiler_static=
9229fi
9230
9231
9232
9233
9234
9235
9236
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9238$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9239if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9240 $as_echo_n "(cached) " >&6
9241else
9242 lt_cv_prog_compiler_c_o=no
9243 $RM -r conftest 2>/dev/null
9244 mkdir conftest
9245 cd conftest
9246 mkdir out
9247 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9248
9249 lt_compiler_flag="-o out/conftest2.$ac_objext"
9250 # Insert the option either (1) after the last *FLAGS variable, or
9251 # (2) before a word containing "conftest.", or (3) at the end.
9252 # Note that $ac_compile itself does not contain backslashes and begins
9253 # with a dollar sign (not a hyphen), so the echo should work correctly.
9254 lt_compile=`echo "$ac_compile" | $SED \
9255 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9256 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9257 -e 's:$: $lt_compiler_flag:'`
9258 (eval echo "\"\$as_me:9258: $lt_compile\"" >&5)
9259 (eval "$lt_compile" 2>out/conftest.err)
9260 ac_status=$?
9261 cat out/conftest.err >&5
9262 echo "$as_me:9262: \$? = $ac_status" >&5
9263 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9264 then
9265 # The compiler can only warn and ignore the option if not recognized
9266 # So say no if there are warnings
9267 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9268 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9269 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9270 lt_cv_prog_compiler_c_o=yes
9271 fi
9272 fi
9273 chmod u+w . 2>&5
9274 $RM conftest*
9275 # SGI C++ compiler will create directory out/ii_files/ for
9276 # template instantiation
9277 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9278 $RM out/* && rmdir out
9279 cd ..
9280 $RM -r conftest
9281 $RM conftest*
9282
9283fi
9284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9285$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9286
9287
9288
9289
9290
9291
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9293$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9294if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9295 $as_echo_n "(cached) " >&6
9296else
9297 lt_cv_prog_compiler_c_o=no
9298 $RM -r conftest 2>/dev/null
9299 mkdir conftest
9300 cd conftest
9301 mkdir out
9302 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9303
9304 lt_compiler_flag="-o out/conftest2.$ac_objext"
9305 # Insert the option either (1) after the last *FLAGS variable, or
9306 # (2) before a word containing "conftest.", or (3) at the end.
9307 # Note that $ac_compile itself does not contain backslashes and begins
9308 # with a dollar sign (not a hyphen), so the echo should work correctly.
9309 lt_compile=`echo "$ac_compile" | $SED \
9310 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9311 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9312 -e 's:$: $lt_compiler_flag:'`
9313 (eval echo "\"\$as_me:9313: $lt_compile\"" >&5)
9314 (eval "$lt_compile" 2>out/conftest.err)
9315 ac_status=$?
9316 cat out/conftest.err >&5
9317 echo "$as_me:9317: \$? = $ac_status" >&5
9318 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9319 then
9320 # The compiler can only warn and ignore the option if not recognized
9321 # So say no if there are warnings
9322 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9323 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9324 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9325 lt_cv_prog_compiler_c_o=yes
9326 fi
9327 fi
9328 chmod u+w . 2>&5
9329 $RM conftest*
9330 # SGI C++ compiler will create directory out/ii_files/ for
9331 # template instantiation
9332 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9333 $RM out/* && rmdir out
9334 cd ..
9335 $RM -r conftest
9336 $RM conftest*
9337
9338fi
9339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9340$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9341
9342
9343
9344
9345hard_links="nottested"
9346if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9347 # do not overwrite the value of need_locks provided by the user
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9349$as_echo_n "checking if we can lock with hard links... " >&6; }
9350 hard_links=yes
9351 $RM conftest*
9352 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9353 touch conftest.a
9354 ln conftest.a conftest.b 2>&5 || hard_links=no
9355 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9357$as_echo "$hard_links" >&6; }
9358 if test "$hard_links" = no; then
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9360$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9361 need_locks=warn
9362 fi
9363else
9364 need_locks=no
9365fi
9366
9367
9368
9369
9370
9371
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9373$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9374
9375 runpath_var=
9376 allow_undefined_flag=
9377 always_export_symbols=no
9378 archive_cmds=
9379 archive_expsym_cmds=
9380 compiler_needs_object=no
9381 enable_shared_with_static_runtimes=no
9382 export_dynamic_flag_spec=
9383 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9384 hardcode_automatic=no
9385 hardcode_direct=no
9386 hardcode_direct_absolute=no
9387 hardcode_libdir_flag_spec=
9388 hardcode_libdir_flag_spec_ld=
9389 hardcode_libdir_separator=
9390 hardcode_minus_L=no
9391 hardcode_shlibpath_var=unsupported
9392 inherit_rpath=no
9393 link_all_deplibs=unknown
9394 module_cmds=
9395 module_expsym_cmds=
9396 old_archive_from_new_cmds=
9397 old_archive_from_expsyms_cmds=
9398 thread_safe_flag_spec=
9399 whole_archive_flag_spec=
9400 # include_expsyms should be a list of space-separated symbols to be *always*
9401 # included in the symbol list
9402 include_expsyms=
9403 # exclude_expsyms can be an extended regexp of symbols to exclude
9404 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9405 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9406 # as well as any symbol that contains `d'.
9407 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9408 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9409 # platforms (ab)use it in PIC code, but their linkers get confused if
9410 # the symbol is explicitly referenced. Since portable code cannot
9411 # rely on this symbol name, it's probably fine to never include it in
9412 # preloaded symbol tables.
9413 # Exclude shared library initialization/finalization symbols.
9414 extract_expsyms_cmds=
9415
9416 case $host_os in
9417 cygwin* | mingw* | pw32* | cegcc*)
9418 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9419 # When not using gcc, we currently assume that we are using
9420 # Microsoft Visual C++.
9421 if test "$GCC" != yes; then
9422 with_gnu_ld=no
9423 fi
9424 ;;
9425 interix*)
9426 # we just hope/assume this is gcc and not c89 (= MSVC++)
9427 with_gnu_ld=yes
9428 ;;
9429 openbsd*)
9430 with_gnu_ld=no
9431 ;;
9432 linux* | k*bsd*-gnu)
9433 link_all_deplibs=no
9434 ;;
9435 esac
9436
9437 ld_shlibs=yes
9438 if test "$with_gnu_ld" = yes; then
9439 # If archive_cmds runs LD, not CC, wlarc should be empty
9440 wlarc='${wl}'
9441
9442 # Set some defaults for GNU ld with shared library support. These
9443 # are reset later if shared libraries are not supported. Putting them
9444 # here allows them to be overridden if necessary.
9445 runpath_var=LD_RUN_PATH
9446 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9447 export_dynamic_flag_spec='${wl}--export-dynamic'
9448 # ancient GNU ld didn't support --whole-archive et. al.
9449 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9450 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9451 else
9452 whole_archive_flag_spec=
9453 fi
9454 supports_anon_versioning=no
9455 case `$LD -v 2>&1` in
9456 *GNU\ gold*) supports_anon_versioning=yes ;;
9457 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9458 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9459 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9460 *\ 2.11.*) ;; # other 2.11 versions
9461 *) supports_anon_versioning=yes ;;
9462 esac
9463
9464 # See if GNU ld supports shared libraries.
9465 case $host_os in
9466 aix[3-9]*)
9467 # On AIX/PPC, the GNU linker is very broken
9468 if test "$host_cpu" != ia64; then
9469 ld_shlibs=no
9470 cat <<_LT_EOF 1>&2
9471
9472*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9473*** to be unable to reliably create shared libraries on AIX.
9474*** Therefore, libtool is disabling shared libraries support. If you
9475*** really care for shared libraries, you may want to modify your PATH
9476*** so that a non-GNU linker is found, and then restart.
9477
9478_LT_EOF
9479 fi
9480 ;;
9481
9482 amigaos*)
9483 case $host_cpu in
9484 powerpc)
9485 # see comment about AmigaOS4 .so support
9486 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9487 archive_expsym_cmds=''
9488 ;;
9489 m68k)
9490 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)'
9491 hardcode_libdir_flag_spec='-L$libdir'
9492 hardcode_minus_L=yes
9493 ;;
9494 esac
9495 ;;
9496
9497 beos*)
9498 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9499 allow_undefined_flag=unsupported
9500 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9501 # support --undefined. This deserves some investigation. FIXME
9502 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9503 else
9504 ld_shlibs=no
9505 fi
9506 ;;
9507
9508 cygwin* | mingw* | pw32* | cegcc*)
9509 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9510 # as there is no search path for DLLs.
9511 hardcode_libdir_flag_spec='-L$libdir'
9512 allow_undefined_flag=unsupported
9513 always_export_symbols=no
9514 enable_shared_with_static_runtimes=yes
9515 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9516
9517 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9518 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9519 # If the export-symbols file already is a .def file (1st line
9520 # is EXPORTS), use it as is; otherwise, prepend...
9521 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9522 cp $export_symbols $output_objdir/$soname.def;
9523 else
9524 echo EXPORTS > $output_objdir/$soname.def;
9525 cat $export_symbols >> $output_objdir/$soname.def;
9526 fi~
9527 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9528 else
9529 ld_shlibs=no
9530 fi
9531 ;;
9532
9533 interix[3-9]*)
9534 hardcode_direct=no
9535 hardcode_shlibpath_var=no
9536 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9537 export_dynamic_flag_spec='${wl}-E'
9538 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9539 # Instead, shared libraries are loaded at an image base (0x10000000 by
9540 # default) and relocated if they conflict, which is a slow very memory
9541 # consuming and fragmenting process. To avoid this, we pick a random,
9542 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9543 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9544 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9545 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'
9546 ;;
9547
9548 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9549 tmp_diet=no
9550 if test "$host_os" = linux-dietlibc; then
9551 case $cc_basename in
9552 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9553 esac
9554 fi
9555 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9556 && test "$tmp_diet" = no
9557 then
9558 tmp_addflag=
9559 tmp_sharedflag='-shared'
9560 case $cc_basename,$host_cpu in
9561 pgcc*) # Portland Group C compiler
9562 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'
9563 tmp_addflag=' $pic_flag'
9564 ;;
9565 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9566 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'
9567 tmp_addflag=' $pic_flag -Mnomain' ;;
9568 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9569 tmp_addflag=' -i_dynamic' ;;
9570 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9571 tmp_addflag=' -i_dynamic -nofor_main' ;;
9572 ifc* | ifort*) # Intel Fortran compiler
9573 tmp_addflag=' -nofor_main' ;;
9574 lf95*) # Lahey Fortran 8.1
9575 whole_archive_flag_spec=
9576 tmp_sharedflag='--shared' ;;
9577 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9578 tmp_sharedflag='-qmkshrobj'
9579 tmp_addflag= ;;
9580 esac
9581 case `$CC -V 2>&1 | sed 5q` in
9582 *Sun\ C*) # Sun C 5.9
9583 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'
9584 compiler_needs_object=yes
9585 tmp_sharedflag='-G' ;;
9586 *Sun\ F*) # Sun Fortran 8.3
9587 tmp_sharedflag='-G' ;;
9588 esac
9589 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9590
9591 if test "x$supports_anon_versioning" = xyes; then
9592 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9593 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9594 echo "local: *; };" >> $output_objdir/$libname.ver~
9595 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9596 fi
9597
9598 case $cc_basename in
9599 xlf*)
9600 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9601 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9602 hardcode_libdir_flag_spec=
9603 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9604 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9605 if test "x$supports_anon_versioning" = xyes; then
9606 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9607 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9608 echo "local: *; };" >> $output_objdir/$libname.ver~
9609 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9610 fi
9611 ;;
9612 esac
9613 else
9614 ld_shlibs=no
9615 fi
9616 ;;
9617
9618 netbsd* | netbsdelf*-gnu)
9619 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9620 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9621 wlarc=
9622 else
9623 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9624 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9625 fi
9626 ;;
9627
9628 solaris*)
9629 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9630 ld_shlibs=no
9631 cat <<_LT_EOF 1>&2
9632
9633*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9634*** create shared libraries on Solaris systems. Therefore, libtool
9635*** is disabling shared libraries support. We urge you to upgrade GNU
9636*** binutils to release 2.9.1 or newer. Another option is to modify
9637*** your PATH or compiler configuration so that the native linker is
9638*** used, and then restart.
9639
9640_LT_EOF
9641 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9642 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9643 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9644 else
9645 ld_shlibs=no
9646 fi
9647 ;;
9648
9649 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9650 case `$LD -v 2>&1` in
9651 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9652 ld_shlibs=no
9653 cat <<_LT_EOF 1>&2
9654
9655*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9656*** reliably create shared libraries on SCO systems. Therefore, libtool
9657*** is disabling shared libraries support. We urge you to upgrade GNU
9658*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9659*** your PATH or compiler configuration so that the native linker is
9660*** used, and then restart.
9661
9662_LT_EOF
9663 ;;
9664 *)
9665 # For security reasons, it is highly recommended that you always
9666 # use absolute paths for naming shared libraries, and exclude the
9667 # DT_RUNPATH tag from executables and libraries. But doing so
9668 # requires that you compile everything twice, which is a pain.
9669 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9670 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9671 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9672 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9673 else
9674 ld_shlibs=no
9675 fi
9676 ;;
9677 esac
9678 ;;
9679
9680 sunos4*)
9681 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9682 wlarc=
9683 hardcode_direct=yes
9684 hardcode_shlibpath_var=no
9685 ;;
9686
9687 *)
9688 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9689 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9690 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9691 else
9692 ld_shlibs=no
9693 fi
9694 ;;
9695 esac
9696
9697 if test "$ld_shlibs" = no; then
9698 runpath_var=
9699 hardcode_libdir_flag_spec=
9700 export_dynamic_flag_spec=
9701 whole_archive_flag_spec=
9702 fi
9703 else
9704 # PORTME fill in a description of your system's linker (not GNU ld)
9705 case $host_os in
9706 aix3*)
9707 allow_undefined_flag=unsupported
9708 always_export_symbols=yes
9709 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'
9710 # Note: this linker hardcodes the directories in LIBPATH if there
9711 # are no directories specified by -L.
9712 hardcode_minus_L=yes
9713 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9714 # Neither direct hardcoding nor static linking is supported with a
9715 # broken collect2.
9716 hardcode_direct=unsupported
9717 fi
9718 ;;
9719
9720 aix[4-9]*)
9721 if test "$host_cpu" = ia64; then
9722 # On IA64, the linker does run time linking by default, so we don't
9723 # have to do anything special.
9724 aix_use_runtimelinking=no
9725 exp_sym_flag='-Bexport'
9726 no_entry_flag=""
9727 else
9728 # If we're using GNU nm, then we don't want the "-C" option.
9729 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9730 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9731 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'
9732 else
9733 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'
9734 fi
9735 aix_use_runtimelinking=no
9736
9737 # Test if we are trying to use run time linking or normal
9738 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9739 # need to do runtime linking.
9740 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9741 for ld_flag in $LDFLAGS; do
9742 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9743 aix_use_runtimelinking=yes
9744 break
9745 fi
9746 done
9747 ;;
9748 esac
9749
9750 exp_sym_flag='-bexport'
9751 no_entry_flag='-bnoentry'
9752 fi
9753
9754 # When large executables or shared objects are built, AIX ld can
9755 # have problems creating the table of contents. If linking a library
9756 # or program results in "error TOC overflow" add -mminimal-toc to
9757 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9758 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9759
9760 archive_cmds=''
9761 hardcode_direct=yes
9762 hardcode_direct_absolute=yes
9763 hardcode_libdir_separator=':'
9764 link_all_deplibs=yes
9765 file_list_spec='${wl}-f,'
9766
9767 if test "$GCC" = yes; then
9768 case $host_os in aix4.[012]|aix4.[012].*)
9769 # We only want to do this on AIX 4.2 and lower, the check
9770 # below for broken collect2 doesn't work under 4.3+
9771 collect2name=`${CC} -print-prog-name=collect2`
9772 if test -f "$collect2name" &&
9773 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9774 then
9775 # We have reworked collect2
9776 :
9777 else
9778 # We have old collect2
9779 hardcode_direct=unsupported
9780 # It fails to find uninstalled libraries when the uninstalled
9781 # path is not listed in the libpath. Setting hardcode_minus_L
9782 # to unsupported forces relinking
9783 hardcode_minus_L=yes
9784 hardcode_libdir_flag_spec='-L$libdir'
9785 hardcode_libdir_separator=
9786 fi
9787 ;;
9788 esac
9789 shared_flag='-shared'
9790 if test "$aix_use_runtimelinking" = yes; then
9791 shared_flag="$shared_flag "'${wl}-G'
9792 fi
9793 link_all_deplibs=no
9794 else
9795 # not using gcc
9796 if test "$host_cpu" = ia64; then
9797 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9798 # chokes on -Wl,-G. The following line is correct:
9799 shared_flag='-G'
9800 else
9801 if test "$aix_use_runtimelinking" = yes; then
9802 shared_flag='${wl}-G'
9803 else
9804 shared_flag='${wl}-bM:SRE'
9805 fi
9806 fi
9807 fi
9808
9809 export_dynamic_flag_spec='${wl}-bexpall'
9810 # It seems that -bexpall does not export symbols beginning with
9811 # underscore (_), so it is better to generate a list of symbols to export.
9812 always_export_symbols=yes
9813 if test "$aix_use_runtimelinking" = yes; then
9814 # Warning - without using the other runtime loading flags (-brtl),
9815 # -berok will link without error, but may produce a broken library.
9816 allow_undefined_flag='-berok'
9817 # Determine the default libpath from the value encoded in an
9818 # empty executable.
9819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9820/* end confdefs.h. */
9821
9822int
9823main ()
9824{
9825
9826 ;
9827 return 0;
9828}
9829_ACEOF
9830if ac_fn_c_try_link "$LINENO"; then :
9831
9832lt_aix_libpath_sed='
9833 /Import File Strings/,/^$/ {
9834 /^0/ {
9835 s/^0 *\(.*\)$/\1/
9836 p
9837 }
9838 }'
9839aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9840# Check for a 64-bit object if we didn't find anything.
9841if test -z "$aix_libpath"; then
9842 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9843fi
9844fi
9845rm -f core conftest.err conftest.$ac_objext \
9846 conftest$ac_exeext conftest.$ac_ext
9847if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9848
9849 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9850 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"
9851 else
9852 if test "$host_cpu" = ia64; then
9853 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9854 allow_undefined_flag="-z nodefs"
9855 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"
9856 else
9857 # Determine the default libpath from the value encoded in an
9858 # empty executable.
9859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9860/* end confdefs.h. */
9861
9862int
9863main ()
9864{
9865
9866 ;
9867 return 0;
9868}
9869_ACEOF
9870if ac_fn_c_try_link "$LINENO"; then :
9871
9872lt_aix_libpath_sed='
9873 /Import File Strings/,/^$/ {
9874 /^0/ {
9875 s/^0 *\(.*\)$/\1/
9876 p
9877 }
9878 }'
9879aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9880# Check for a 64-bit object if we didn't find anything.
9881if test -z "$aix_libpath"; then
9882 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9883fi
9884fi
9885rm -f core conftest.err conftest.$ac_objext \
9886 conftest$ac_exeext conftest.$ac_ext
9887if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9888
9889 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9890 # Warning - without using the other run time loading flags,
9891 # -berok will link without error, but may produce a broken library.
9892 no_undefined_flag=' ${wl}-bernotok'
9893 allow_undefined_flag=' ${wl}-berok'
9894 # Exported symbols can be pulled into shared objects from archives
9895 whole_archive_flag_spec='$convenience'
9896 archive_cmds_need_lc=yes
9897 # This is similar to how AIX traditionally builds its shared libraries.
9898 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'
9899 fi
9900 fi
9901 ;;
9902
9903 amigaos*)
9904 case $host_cpu in
9905 powerpc)
9906 # see comment about AmigaOS4 .so support
9907 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9908 archive_expsym_cmds=''
9909 ;;
9910 m68k)
9911 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)'
9912 hardcode_libdir_flag_spec='-L$libdir'
9913 hardcode_minus_L=yes
9914 ;;
9915 esac
9916 ;;
9917
9918 bsdi[45]*)
9919 export_dynamic_flag_spec=-rdynamic
9920 ;;
9921
9922 cygwin* | mingw* | pw32* | cegcc*)
9923 # When not using gcc, we currently assume that we are using
9924 # Microsoft Visual C++.
9925 # hardcode_libdir_flag_spec is actually meaningless, as there is
9926 # no search path for DLLs.
9927 hardcode_libdir_flag_spec=' '
9928 allow_undefined_flag=unsupported
9929 # Tell ltmain to make .lib files, not .a files.
9930 libext=lib
9931 # Tell ltmain to make .dll files, not .so files.
9932 shrext_cmds=".dll"
9933 # FIXME: Setting linknames here is a bad hack.
9934 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9935 # The linker will automatically build a .lib file if we build a DLL.
9936 old_archive_from_new_cmds='true'
9937 # FIXME: Should let the user specify the lib program.
9938 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9939 fix_srcfile_path='`cygpath -w "$srcfile"`'
9940 enable_shared_with_static_runtimes=yes
9941 ;;
9942
9943 darwin* | rhapsody*)
9944
9945
9946 archive_cmds_need_lc=no
9947 hardcode_direct=no
9948 hardcode_automatic=yes
9949 hardcode_shlibpath_var=unsupported
9950 whole_archive_flag_spec=''
9951 link_all_deplibs=yes
9952 allow_undefined_flag="$_lt_dar_allow_undefined"
9953 case $cc_basename in
9954 ifort*) _lt_dar_can_shared=yes ;;
9955 *) _lt_dar_can_shared=$GCC ;;
9956 esac
9957 if test "$_lt_dar_can_shared" = "yes"; then
9958 output_verbose_link_cmd=echo
9959 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9960 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9961 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}"
9962 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}"
9963
9964 else
9965 ld_shlibs=no
9966 fi
9967
9968 ;;
9969
9970 dgux*)
9971 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9972 hardcode_libdir_flag_spec='-L$libdir'
9973 hardcode_shlibpath_var=no
9974 ;;
9975
9976 freebsd1*)
9977 ld_shlibs=no
9978 ;;
9979
9980 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9981 # support. Future versions do this automatically, but an explicit c++rt0.o
9982 # does not break anything, and helps significantly (at the cost of a little
9983 # extra space).
9984 freebsd2.2*)
9985 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9986 hardcode_libdir_flag_spec='-R$libdir'
9987 hardcode_direct=yes
9988 hardcode_shlibpath_var=no
9989 ;;
9990
9991 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9992 freebsd2*)
9993 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9994 hardcode_direct=yes
9995 hardcode_minus_L=yes
9996 hardcode_shlibpath_var=no
9997 ;;
9998
9999 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10000 freebsd* | dragonfly*)
10001 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10002 hardcode_libdir_flag_spec='-R$libdir'
10003 hardcode_direct=yes
10004 hardcode_shlibpath_var=no
10005 ;;
10006
10007 hpux9*)
10008 if test "$GCC" = yes; then
10009 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'
10010 else
10011 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'
10012 fi
10013 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10014 hardcode_libdir_separator=:
10015 hardcode_direct=yes
10016
10017 # hardcode_minus_L: Not really in the search PATH,
10018 # but as the default location of the library.
10019 hardcode_minus_L=yes
10020 export_dynamic_flag_spec='${wl}-E'
10021 ;;
10022
10023 hpux10*)
10024 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10025 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10026 else
10027 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10028 fi
10029 if test "$with_gnu_ld" = no; then
10030 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10031 hardcode_libdir_flag_spec_ld='+b $libdir'
10032 hardcode_libdir_separator=:
10033 hardcode_direct=yes
10034 hardcode_direct_absolute=yes
10035 export_dynamic_flag_spec='${wl}-E'
10036 # hardcode_minus_L: Not really in the search PATH,
10037 # but as the default location of the library.
10038 hardcode_minus_L=yes
10039 fi
10040 ;;
10041
10042 hpux11*)
10043 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10044 case $host_cpu in
10045 hppa*64*)
10046 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10047 ;;
10048 ia64*)
10049 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10050 ;;
10051 *)
10052 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10053 ;;
10054 esac
10055 else
10056 case $host_cpu in
10057 hppa*64*)
10058 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10059 ;;
10060 ia64*)
10061 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10062 ;;
10063 *)
10064 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10065 ;;
10066 esac
10067 fi
10068 if test "$with_gnu_ld" = no; then
10069 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10070 hardcode_libdir_separator=:
10071
10072 case $host_cpu in
10073 hppa*64*|ia64*)
10074 hardcode_direct=no
10075 hardcode_shlibpath_var=no
10076 ;;
10077 *)
10078 hardcode_direct=yes
10079 hardcode_direct_absolute=yes
10080 export_dynamic_flag_spec='${wl}-E'
10081
10082 # hardcode_minus_L: Not really in the search PATH,
10083 # but as the default location of the library.
10084 hardcode_minus_L=yes
10085 ;;
10086 esac
10087 fi
10088 ;;
10089
10090 irix5* | irix6* | nonstopux*)
10091 if test "$GCC" = yes; then
10092 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'
10093 # Try to use the -exported_symbol ld option, if it does not
10094 # work, assume that -exports_file does not work either and
10095 # implicitly export all symbols.
10096 save_LDFLAGS="$LDFLAGS"
10097 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10099/* end confdefs.h. */
10100int foo(void) {}
10101_ACEOF
10102if ac_fn_c_try_link "$LINENO"; then :
10103 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'
10104
10105fi
10106rm -f core conftest.err conftest.$ac_objext \
10107 conftest$ac_exeext conftest.$ac_ext
10108 LDFLAGS="$save_LDFLAGS"
10109 else
10110 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'
10111 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'
10112 fi
10113 archive_cmds_need_lc='no'
10114 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10115 hardcode_libdir_separator=:
10116 inherit_rpath=yes
10117 link_all_deplibs=yes
10118 ;;
10119
10120 netbsd* | netbsdelf*-gnu)
10121 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10122 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10123 else
10124 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10125 fi
10126 hardcode_libdir_flag_spec='-R$libdir'
10127 hardcode_direct=yes
10128 hardcode_shlibpath_var=no
10129 ;;
10130
10131 newsos6)
10132 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10133 hardcode_direct=yes
10134 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10135 hardcode_libdir_separator=:
10136 hardcode_shlibpath_var=no
10137 ;;
10138
10139 *nto* | *qnx*)
10140 ;;
10141
10142 openbsd*)
10143 if test -f /usr/libexec/ld.so; then
10144 hardcode_direct=yes
10145 hardcode_shlibpath_var=no
10146 hardcode_direct_absolute=yes
10147 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10148 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10149 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10150 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10151 export_dynamic_flag_spec='${wl}-E'
10152 else
10153 case $host_os in
10154 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10155 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10156 hardcode_libdir_flag_spec='-R$libdir'
10157 ;;
10158 *)
10159 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10160 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10161 ;;
10162 esac
10163 fi
10164 else
10165 ld_shlibs=no
10166 fi
10167 ;;
10168
10169 os2*)
10170 hardcode_libdir_flag_spec='-L$libdir'
10171 hardcode_minus_L=yes
10172 allow_undefined_flag=unsupported
10173 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'
10174 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10175 ;;
10176
10177 osf3*)
10178 if test "$GCC" = yes; then
10179 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10180 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'
10181 else
10182 allow_undefined_flag=' -expect_unresolved \*'
10183 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'
10184 fi
10185 archive_cmds_need_lc='no'
10186 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10187 hardcode_libdir_separator=:
10188 ;;
10189
10190 osf4* | osf5*) # as osf3* with the addition of -msym flag
10191 if test "$GCC" = yes; then
10192 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10193 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'
10194 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10195 else
10196 allow_undefined_flag=' -expect_unresolved \*'
10197 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'
10198 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~
10199 $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'
10200
10201 # Both c and cxx compiler support -rpath directly
10202 hardcode_libdir_flag_spec='-rpath $libdir'
10203 fi
10204 archive_cmds_need_lc='no'
10205 hardcode_libdir_separator=:
10206 ;;
10207
10208 solaris*)
10209 no_undefined_flag=' -z defs'
10210 if test "$GCC" = yes; then
10211 wlarc='${wl}'
10212 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10213 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10214 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10215 else
10216 case `$CC -V 2>&1` in
10217 *"Compilers 5.0"*)
10218 wlarc=''
10219 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10220 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10221 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10222 ;;
10223 *)
10224 wlarc='${wl}'
10225 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10226 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10227 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10228 ;;
10229 esac
10230 fi
10231 hardcode_libdir_flag_spec='-R$libdir'
10232 hardcode_shlibpath_var=no
10233 case $host_os in
10234 solaris2.[0-5] | solaris2.[0-5].*) ;;
10235 *)
10236 # The compiler driver will combine and reorder linker options,
10237 # but understands `-z linker_flag'. GCC discards it without `$wl',
10238 # but is careful enough not to reorder.
10239 # Supported since Solaris 2.6 (maybe 2.5.1?)
10240 if test "$GCC" = yes; then
10241 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10242 else
10243 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10244 fi
10245 ;;
10246 esac
10247 link_all_deplibs=yes
10248 ;;
10249
10250 sunos4*)
10251 if test "x$host_vendor" = xsequent; then
10252 # Use $CC to link under sequent, because it throws in some extra .o
10253 # files that make .init and .fini sections work.
10254 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10255 else
10256 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10257 fi
10258 hardcode_libdir_flag_spec='-L$libdir'
10259 hardcode_direct=yes
10260 hardcode_minus_L=yes
10261 hardcode_shlibpath_var=no
10262 ;;
10263
10264 sysv4)
10265 case $host_vendor in
10266 sni)
10267 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10268 hardcode_direct=yes # is this really true???
10269 ;;
10270 siemens)
10271 ## LD is ld it makes a PLAMLIB
10272 ## CC just makes a GrossModule.
10273 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10274 reload_cmds='$CC -r -o $output$reload_objs'
10275 hardcode_direct=no
10276 ;;
10277 motorola)
10278 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10279 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10280 ;;
10281 esac
10282 runpath_var='LD_RUN_PATH'
10283 hardcode_shlibpath_var=no
10284 ;;
10285
10286 sysv4.3*)
10287 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10288 hardcode_shlibpath_var=no
10289 export_dynamic_flag_spec='-Bexport'
10290 ;;
10291
10292 sysv4*MP*)
10293 if test -d /usr/nec; then
10294 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10295 hardcode_shlibpath_var=no
10296 runpath_var=LD_RUN_PATH
10297 hardcode_runpath_var=yes
10298 ld_shlibs=yes
10299 fi
10300 ;;
10301
10302 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10303 no_undefined_flag='${wl}-z,text'
10304 archive_cmds_need_lc=no
10305 hardcode_shlibpath_var=no
10306 runpath_var='LD_RUN_PATH'
10307
10308 if test "$GCC" = yes; then
10309 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10310 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10311 else
10312 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10313 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10314 fi
10315 ;;
10316
10317 sysv5* | sco3.2v5* | sco5v6*)
10318 # Note: We can NOT use -z defs as we might desire, because we do not
10319 # link with -lc, and that would cause any symbols used from libc to
10320 # always be unresolved, which means just about no library would
10321 # ever link correctly. If we're not using GNU ld we use -z text
10322 # though, which does catch some bad symbols but isn't as heavy-handed
10323 # as -z defs.
10324 no_undefined_flag='${wl}-z,text'
10325 allow_undefined_flag='${wl}-z,nodefs'
10326 archive_cmds_need_lc=no
10327 hardcode_shlibpath_var=no
10328 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10329 hardcode_libdir_separator=':'
10330 link_all_deplibs=yes
10331 export_dynamic_flag_spec='${wl}-Bexport'
10332 runpath_var='LD_RUN_PATH'
10333
10334 if test "$GCC" = yes; then
10335 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10336 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10337 else
10338 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10339 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10340 fi
10341 ;;
10342
10343 uts4*)
10344 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10345 hardcode_libdir_flag_spec='-L$libdir'
10346 hardcode_shlibpath_var=no
10347 ;;
10348
10349 *)
10350 ld_shlibs=no
10351 ;;
10352 esac
10353
10354 if test x$host_vendor = xsni; then
10355 case $host in
10356 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10357 export_dynamic_flag_spec='${wl}-Blargedynsym'
10358 ;;
10359 esac
10360 fi
10361 fi
10362
10363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10364$as_echo "$ld_shlibs" >&6; }
10365test "$ld_shlibs" = no && can_build_shared=no
10366
10367with_gnu_ld=$with_gnu_ld
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383#
10384# Do we need to explicitly link libc?
10385#
10386case "x$archive_cmds_need_lc" in
10387x|xyes)
10388 # Assume -lc should be added
10389 archive_cmds_need_lc=yes
10390
10391 if test "$enable_shared" = yes && test "$GCC" = yes; then
10392 case $archive_cmds in
10393 *'~'*)
10394 # FIXME: we may have to deal with multi-command sequences.
10395 ;;
10396 '$CC '*)
10397 # Test whether the compiler implicitly links with -lc since on some
10398 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10399 # to ld, don't add -lc before -lgcc.
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10401$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10402 $RM conftest*
10403 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10404
10405 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10406 (eval $ac_compile) 2>&5
10407 ac_status=$?
10408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10409 test $ac_status = 0; } 2>conftest.err; then
10410 soname=conftest
10411 lib=conftest
10412 libobjs=conftest.$ac_objext
10413 deplibs=
10414 wl=$lt_prog_compiler_wl
10415 pic_flag=$lt_prog_compiler_pic
10416 compiler_flags=-v
10417 linker_flags=-v
10418 verstring=
10419 output_objdir=.
10420 libname=conftest
10421 lt_save_allow_undefined_flag=$allow_undefined_flag
10422 allow_undefined_flag=
10423 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10424 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10425 ac_status=$?
10426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10427 test $ac_status = 0; }
10428 then
10429 archive_cmds_need_lc=no
10430 else
10431 archive_cmds_need_lc=yes
10432 fi
10433 allow_undefined_flag=$lt_save_allow_undefined_flag
10434 else
10435 cat conftest.err 1>&5
10436 fi
10437 $RM conftest*
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10439$as_echo "$archive_cmds_need_lc" >&6; }
10440 ;;
10441 esac
10442 fi
10443 ;;
10444esac
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10603$as_echo_n "checking dynamic linker characteristics... " >&6; }
10604
10605if test "$GCC" = yes; then
10606 case $host_os in
10607 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10608 *) lt_awk_arg="/^libraries:/" ;;
10609 esac
10610 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10611 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10612 # if the path contains ";" then we assume it to be the separator
10613 # otherwise default to the standard path separator (i.e. ":") - it is
10614 # assumed that no part of a normal pathname contains ";" but that should
10615 # okay in the real world where ";" in dirpaths is itself problematic.
10616 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10617 else
10618 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10619 fi
10620 # Ok, now we have the path, separated by spaces, we can step through it
10621 # and add multilib dir if necessary.
10622 lt_tmp_lt_search_path_spec=
10623 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10624 for lt_sys_path in $lt_search_path_spec; do
10625 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10626 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10627 else
10628 test -d "$lt_sys_path" && \
10629 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10630 fi
10631 done
10632 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10633BEGIN {RS=" "; FS="/|\n";} {
10634 lt_foo="";
10635 lt_count=0;
10636 for (lt_i = NF; lt_i > 0; lt_i--) {
10637 if ($lt_i != "" && $lt_i != ".") {
10638 if ($lt_i == "..") {
10639 lt_count++;
10640 } else {
10641 if (lt_count == 0) {
10642 lt_foo="/" $lt_i lt_foo;
10643 } else {
10644 lt_count--;
10645 }
10646 }
10647 }
10648 }
10649 if (lt_foo != "") { lt_freq[lt_foo]++; }
10650 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10651}'`
10652 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10653else
10654 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10655fi
10656library_names_spec=
10657libname_spec='lib$name'
10658soname_spec=
10659shrext_cmds=".so"
10660postinstall_cmds=
10661postuninstall_cmds=
10662finish_cmds=
10663finish_eval=
10664shlibpath_var=
10665shlibpath_overrides_runpath=unknown
10666version_type=none
10667dynamic_linker="$host_os ld.so"
10668sys_lib_dlsearch_path_spec="/lib /usr/lib"
10669need_lib_prefix=unknown
10670hardcode_into_libs=no
10671
10672# when you set need_version to no, make sure it does not cause -set_version
10673# flags to be left without arguments
10674need_version=unknown
10675
10676case $host_os in
10677aix3*)
10678 version_type=linux
10679 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10680 shlibpath_var=LIBPATH
10681
10682 # AIX 3 has no versioning support, so we append a major version to the name.
10683 soname_spec='${libname}${release}${shared_ext}$major'
10684 ;;
10685
10686aix[4-9]*)
10687 version_type=linux
10688 need_lib_prefix=no
10689 need_version=no
10690 hardcode_into_libs=yes
10691 if test "$host_cpu" = ia64; then
10692 # AIX 5 supports IA64
10693 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10694 shlibpath_var=LD_LIBRARY_PATH
10695 else
10696 # With GCC up to 2.95.x, collect2 would create an import file
10697 # for dependence libraries. The import file would start with
10698 # the line `#! .'. This would cause the generated library to
10699 # depend on `.', always an invalid library. This was fixed in
10700 # development snapshots of GCC prior to 3.0.
10701 case $host_os in
10702 aix4 | aix4.[01] | aix4.[01].*)
10703 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10704 echo ' yes '
10705 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10706 :
10707 else
10708 can_build_shared=no
10709 fi
10710 ;;
10711 esac
10712 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10713 # soname into executable. Probably we can add versioning support to
10714 # collect2, so additional links can be useful in future.
10715 if test "$aix_use_runtimelinking" = yes; then
10716 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10717 # instead of lib<name>.a to let people know that these are not
10718 # typical AIX shared libraries.
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720 else
10721 # We preserve .a as extension for shared libraries through AIX4.2
10722 # and later when we are not doing run time linking.
10723 library_names_spec='${libname}${release}.a $libname.a'
10724 soname_spec='${libname}${release}${shared_ext}$major'
10725 fi
10726 shlibpath_var=LIBPATH
10727 fi
10728 ;;
10729
10730amigaos*)
10731 case $host_cpu in
10732 powerpc)
10733 # Since July 2007 AmigaOS4 officially supports .so libraries.
10734 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10736 ;;
10737 m68k)
10738 library_names_spec='$libname.ixlibrary $libname.a'
10739 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10740 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'
10741 ;;
10742 esac
10743 ;;
10744
10745beos*)
10746 library_names_spec='${libname}${shared_ext}'
10747 dynamic_linker="$host_os ld.so"
10748 shlibpath_var=LIBRARY_PATH
10749 ;;
10750
10751bsdi[45]*)
10752 version_type=linux
10753 need_version=no
10754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10755 soname_spec='${libname}${release}${shared_ext}$major'
10756 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10757 shlibpath_var=LD_LIBRARY_PATH
10758 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10759 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10760 # the default ld.so.conf also contains /usr/contrib/lib and
10761 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10762 # libtool to hard-code these into programs
10763 ;;
10764
10765cygwin* | mingw* | pw32* | cegcc*)
10766 version_type=windows
10767 shrext_cmds=".dll"
10768 need_version=no
10769 need_lib_prefix=no
10770
10771 case $GCC,$host_os in
10772 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10773 library_names_spec='$libname.dll.a'
10774 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10775 postinstall_cmds='base_file=`basename \${file}`~
10776 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10777 dldir=$destdir/`dirname \$dlpath`~
10778 test -d \$dldir || mkdir -p \$dldir~
10779 $install_prog $dir/$dlname \$dldir/$dlname~
10780 chmod a+x \$dldir/$dlname~
10781 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10782 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10783 fi'
10784 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10785 dlpath=$dir/\$dldll~
10786 $RM \$dlpath'
10787 shlibpath_overrides_runpath=yes
10788
10789 case $host_os in
10790 cygwin*)
10791 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10792 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10793 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10794 ;;
10795 mingw* | cegcc*)
10796 # MinGW DLLs use traditional 'lib' prefix
10797 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10798 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10799 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10800 # It is most probably a Windows format PATH printed by
10801 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10802 # path with ; separators, and with drive letters. We can handle the
10803 # drive letters (cygwin fileutils understands them), so leave them,
10804 # especially as we might pass files found there to a mingw objdump,
10805 # which wouldn't understand a cygwinified path. Ahh.
10806 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10807 else
10808 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10809 fi
10810 ;;
10811 pw32*)
10812 # pw32 DLLs use 'pw' prefix rather than 'lib'
10813 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10814 ;;
10815 esac
10816 ;;
10817
10818 *)
10819 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10820 ;;
10821 esac
10822 dynamic_linker='Win32 ld.exe'
10823 # FIXME: first we should search . and the directory the executable is in
10824 shlibpath_var=PATH
10825 ;;
10826
10827darwin* | rhapsody*)
10828 dynamic_linker="$host_os dyld"
10829 version_type=darwin
10830 need_lib_prefix=no
10831 need_version=no
10832 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10833 soname_spec='${libname}${release}${major}$shared_ext'
10834 shlibpath_overrides_runpath=yes
10835 shlibpath_var=DYLD_LIBRARY_PATH
10836 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10837
10838 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10839 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10840 ;;
10841
10842dgux*)
10843 version_type=linux
10844 need_lib_prefix=no
10845 need_version=no
10846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10847 soname_spec='${libname}${release}${shared_ext}$major'
10848 shlibpath_var=LD_LIBRARY_PATH
10849 ;;
10850
10851freebsd1*)
10852 dynamic_linker=no
10853 ;;
10854
10855freebsd* | dragonfly*)
10856 # DragonFly does not have aout. When/if they implement a new
10857 # versioning mechanism, adjust this.
10858 if test -x /usr/bin/objformat; then
10859 objformat=`/usr/bin/objformat`
10860 else
10861 case $host_os in
10862 freebsd[123]*) objformat=aout ;;
10863 *) objformat=elf ;;
10864 esac
10865 fi
10866 version_type=freebsd-$objformat
10867 case $version_type in
10868 freebsd-elf*)
10869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10870 need_version=no
10871 need_lib_prefix=no
10872 ;;
10873 freebsd-*)
10874 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10875 need_version=yes
10876 ;;
10877 esac
10878 shlibpath_var=LD_LIBRARY_PATH
10879 case $host_os in
10880 freebsd2*)
10881 shlibpath_overrides_runpath=yes
10882 ;;
10883 freebsd3.[01]* | freebsdelf3.[01]*)
10884 shlibpath_overrides_runpath=yes
10885 hardcode_into_libs=yes
10886 ;;
10887 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10888 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10889 shlibpath_overrides_runpath=no
10890 hardcode_into_libs=yes
10891 ;;
10892 *) # from 4.6 on, and DragonFly
10893 shlibpath_overrides_runpath=yes
10894 hardcode_into_libs=yes
10895 ;;
10896 esac
10897 ;;
10898
10899gnu*)
10900 version_type=linux
10901 need_lib_prefix=no
10902 need_version=no
10903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10904 soname_spec='${libname}${release}${shared_ext}$major'
10905 shlibpath_var=LD_LIBRARY_PATH
10906 hardcode_into_libs=yes
10907 ;;
10908
10909hpux9* | hpux10* | hpux11*)
10910 # Give a soname corresponding to the major version so that dld.sl refuses to
10911 # link against other versions.
10912 version_type=sunos
10913 need_lib_prefix=no
10914 need_version=no
10915 case $host_cpu in
10916 ia64*)
10917 shrext_cmds='.so'
10918 hardcode_into_libs=yes
10919 dynamic_linker="$host_os dld.so"
10920 shlibpath_var=LD_LIBRARY_PATH
10921 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923 soname_spec='${libname}${release}${shared_ext}$major'
10924 if test "X$HPUX_IA64_MODE" = X32; then
10925 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10926 else
10927 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10928 fi
10929 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10930 ;;
10931 hppa*64*)
10932 shrext_cmds='.sl'
10933 hardcode_into_libs=yes
10934 dynamic_linker="$host_os dld.sl"
10935 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10936 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10938 soname_spec='${libname}${release}${shared_ext}$major'
10939 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10940 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10941 ;;
10942 *)
10943 shrext_cmds='.sl'
10944 dynamic_linker="$host_os dld.sl"
10945 shlibpath_var=SHLIB_PATH
10946 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10948 soname_spec='${libname}${release}${shared_ext}$major'
10949 ;;
10950 esac
10951 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10952 postinstall_cmds='chmod 555 $lib'
10953 ;;
10954
10955interix[3-9]*)
10956 version_type=linux
10957 need_lib_prefix=no
10958 need_version=no
10959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10960 soname_spec='${libname}${release}${shared_ext}$major'
10961 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10962 shlibpath_var=LD_LIBRARY_PATH
10963 shlibpath_overrides_runpath=no
10964 hardcode_into_libs=yes
10965 ;;
10966
10967irix5* | irix6* | nonstopux*)
10968 case $host_os in
10969 nonstopux*) version_type=nonstopux ;;
10970 *)
10971 if test "$lt_cv_prog_gnu_ld" = yes; then
10972 version_type=linux
10973 else
10974 version_type=irix
10975 fi ;;
10976 esac
10977 need_lib_prefix=no
10978 need_version=no
10979 soname_spec='${libname}${release}${shared_ext}$major'
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10981 case $host_os in
10982 irix5* | nonstopux*)
10983 libsuff= shlibsuff=
10984 ;;
10985 *)
10986 case $LD in # libtool.m4 will add one of these switches to LD
10987 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10988 libsuff= shlibsuff= libmagic=32-bit;;
10989 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10990 libsuff=32 shlibsuff=N32 libmagic=N32;;
10991 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10992 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10993 *) libsuff= shlibsuff= libmagic=never-match;;
10994 esac
10995 ;;
10996 esac
10997 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10998 shlibpath_overrides_runpath=no
10999 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11000 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11001 hardcode_into_libs=yes
11002 ;;
11003
11004# No shared lib support for Linux oldld, aout, or coff.
11005linux*oldld* | linux*aout* | linux*coff*)
11006 dynamic_linker=no
11007 ;;
11008
11009# This must be Linux ELF.
11010linux* | k*bsd*-gnu | kopensolaris*-gnu)
11011 version_type=linux
11012 need_lib_prefix=no
11013 need_version=no
11014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11015 soname_spec='${libname}${release}${shared_ext}$major'
11016 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11017 shlibpath_var=LD_LIBRARY_PATH
11018 shlibpath_overrides_runpath=no
11019 # Some binutils ld are patched to set DT_RUNPATH
11020 save_LDFLAGS=$LDFLAGS
11021 save_libdir=$libdir
11022 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11023 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11025/* end confdefs.h. */
11026
11027int
11028main ()
11029{
11030
11031 ;
11032 return 0;
11033}
11034_ACEOF
11035if ac_fn_c_try_link "$LINENO"; then :
11036 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11037 shlibpath_overrides_runpath=yes
11038fi
11039fi
11040rm -f core conftest.err conftest.$ac_objext \
11041 conftest$ac_exeext conftest.$ac_ext
11042 LDFLAGS=$save_LDFLAGS
11043 libdir=$save_libdir
11044
11045 # This implies no fast_install, which is unacceptable.
11046 # Some rework will be needed to allow for fast_install
11047 # before this can be enabled.
11048 hardcode_into_libs=yes
11049
11050 # Append ld.so.conf contents to the search path
11051 if test -f /etc/ld.so.conf; then
11052 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' ' '`
11053 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11054 fi
11055
11056 # We used to test for /lib/ld.so.1 and disable shared libraries on
11057 # powerpc, because MkLinux only supported shared libraries with the
11058 # GNU dynamic linker. Since this was broken with cross compilers,
11059 # most powerpc-linux boxes support dynamic linking these days and
11060 # people can always --disable-shared, the test was removed, and we
11061 # assume the GNU/Linux dynamic linker is in use.
11062 dynamic_linker='GNU/Linux ld.so'
11063 ;;
11064
11065netbsdelf*-gnu)
11066 version_type=linux
11067 need_lib_prefix=no
11068 need_version=no
11069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11070 soname_spec='${libname}${release}${shared_ext}$major'
11071 shlibpath_var=LD_LIBRARY_PATH
11072 shlibpath_overrides_runpath=no
11073 hardcode_into_libs=yes
11074 dynamic_linker='NetBSD ld.elf_so'
11075 ;;
11076
11077netbsd*)
11078 version_type=sunos
11079 need_lib_prefix=no
11080 need_version=no
11081 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11083 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11084 dynamic_linker='NetBSD (a.out) ld.so'
11085 else
11086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11087 soname_spec='${libname}${release}${shared_ext}$major'
11088 dynamic_linker='NetBSD ld.elf_so'
11089 fi
11090 shlibpath_var=LD_LIBRARY_PATH
11091 shlibpath_overrides_runpath=yes
11092 hardcode_into_libs=yes
11093 ;;
11094
11095newsos6)
11096 version_type=linux
11097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11098 shlibpath_var=LD_LIBRARY_PATH
11099 shlibpath_overrides_runpath=yes
11100 ;;
11101
11102*nto* | *qnx*)
11103 version_type=qnx
11104 need_lib_prefix=no
11105 need_version=no
11106 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11107 soname_spec='${libname}${release}${shared_ext}$major'
11108 shlibpath_var=LD_LIBRARY_PATH
11109 shlibpath_overrides_runpath=no
11110 hardcode_into_libs=yes
11111 dynamic_linker='ldqnx.so'
11112 ;;
11113
11114openbsd*)
11115 version_type=sunos
11116 sys_lib_dlsearch_path_spec="/usr/lib"
11117 need_lib_prefix=no
11118 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11119 case $host_os in
11120 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11121 *) need_version=no ;;
11122 esac
11123 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11124 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11125 shlibpath_var=LD_LIBRARY_PATH
11126 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11127 case $host_os in
11128 openbsd2.[89] | openbsd2.[89].*)
11129 shlibpath_overrides_runpath=no
11130 ;;
11131 *)
11132 shlibpath_overrides_runpath=yes
11133 ;;
11134 esac
11135 else
11136 shlibpath_overrides_runpath=yes
11137 fi
11138 ;;
11139
11140os2*)
11141 libname_spec='$name'
11142 shrext_cmds=".dll"
11143 need_lib_prefix=no
11144 library_names_spec='$libname${shared_ext} $libname.a'
11145 dynamic_linker='OS/2 ld.exe'
11146 shlibpath_var=LIBPATH
11147 ;;
11148
11149osf3* | osf4* | osf5*)
11150 version_type=osf
11151 need_lib_prefix=no
11152 need_version=no
11153 soname_spec='${libname}${release}${shared_ext}$major'
11154 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11155 shlibpath_var=LD_LIBRARY_PATH
11156 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11157 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11158 ;;
11159
11160rdos*)
11161 dynamic_linker=no
11162 ;;
11163
11164solaris*)
11165 version_type=linux
11166 need_lib_prefix=no
11167 need_version=no
11168 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11169 soname_spec='${libname}${release}${shared_ext}$major'
11170 shlibpath_var=LD_LIBRARY_PATH
11171 shlibpath_overrides_runpath=yes
11172 hardcode_into_libs=yes
11173 # ldd complains unless libraries are executable
11174 postinstall_cmds='chmod +x $lib'
11175 ;;
11176
11177sunos4*)
11178 version_type=sunos
11179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11180 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11181 shlibpath_var=LD_LIBRARY_PATH
11182 shlibpath_overrides_runpath=yes
11183 if test "$with_gnu_ld" = yes; then
11184 need_lib_prefix=no
11185 fi
11186 need_version=yes
11187 ;;
11188
11189sysv4 | sysv4.3*)
11190 version_type=linux
11191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11192 soname_spec='${libname}${release}${shared_ext}$major'
11193 shlibpath_var=LD_LIBRARY_PATH
11194 case $host_vendor in
11195 sni)
11196 shlibpath_overrides_runpath=no
11197 need_lib_prefix=no
11198 runpath_var=LD_RUN_PATH
11199 ;;
11200 siemens)
11201 need_lib_prefix=no
11202 ;;
11203 motorola)
11204 need_lib_prefix=no
11205 need_version=no
11206 shlibpath_overrides_runpath=no
11207 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11208 ;;
11209 esac
11210 ;;
11211
11212sysv4*MP*)
11213 if test -d /usr/nec ;then
11214 version_type=linux
11215 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11216 soname_spec='$libname${shared_ext}.$major'
11217 shlibpath_var=LD_LIBRARY_PATH
11218 fi
11219 ;;
11220
11221sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11222 version_type=freebsd-elf
11223 need_lib_prefix=no
11224 need_version=no
11225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11226 soname_spec='${libname}${release}${shared_ext}$major'
11227 shlibpath_var=LD_LIBRARY_PATH
11228 shlibpath_overrides_runpath=yes
11229 hardcode_into_libs=yes
11230 if test "$with_gnu_ld" = yes; then
11231 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11232 else
11233 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11234 case $host_os in
11235 sco3.2v5*)
11236 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11237 ;;
11238 esac
11239 fi
11240 sys_lib_dlsearch_path_spec='/usr/lib'
11241 ;;
11242
11243tpf*)
11244 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11245 version_type=linux
11246 need_lib_prefix=no
11247 need_version=no
11248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11249 shlibpath_var=LD_LIBRARY_PATH
11250 shlibpath_overrides_runpath=no
11251 hardcode_into_libs=yes
11252 ;;
11253
11254uts4*)
11255 version_type=linux
11256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11257 soname_spec='${libname}${release}${shared_ext}$major'
11258 shlibpath_var=LD_LIBRARY_PATH
11259 ;;
11260
11261*)
11262 dynamic_linker=no
11263 ;;
11264esac
11265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11266$as_echo "$dynamic_linker" >&6; }
11267test "$dynamic_linker" = no && can_build_shared=no
11268
11269variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11270if test "$GCC" = yes; then
11271 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11272fi
11273
11274if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11275 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11276fi
11277if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11278 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11279fi
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11368$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11369hardcode_action=
11370if test -n "$hardcode_libdir_flag_spec" ||
11371 test -n "$runpath_var" ||
11372 test "X$hardcode_automatic" = "Xyes" ; then
11373
11374 # We can hardcode non-existent directories.
11375 if test "$hardcode_direct" != no &&
11376 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11377 # have to relink, otherwise we might link with an installed library
11378 # when we should be linking with a yet-to-be-installed one
11379 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11380 test "$hardcode_minus_L" != no; then
11381 # Linking always hardcodes the temporary library directory.
11382 hardcode_action=relink
11383 else
11384 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11385 hardcode_action=immediate
11386 fi
11387else
11388 # We cannot hardcode anything, or else we can only hardcode existing
11389 # directories.
11390 hardcode_action=unsupported
11391fi
11392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11393$as_echo "$hardcode_action" >&6; }
11394
11395if test "$hardcode_action" = relink ||
11396 test "$inherit_rpath" = yes; then
11397 # Fast installation is not supported
11398 enable_fast_install=no
11399elif test "$shlibpath_overrides_runpath" = yes ||
11400 test "$enable_shared" = no; then
11401 # Fast installation is not necessary
11402 enable_fast_install=needless
11403fi
11404
11405
11406
11407
11408
11409
11410 if test "x$enable_dlopen" != xyes; then
11411 enable_dlopen=unknown
11412 enable_dlopen_self=unknown
11413 enable_dlopen_self_static=unknown
11414else
11415 lt_cv_dlopen=no
11416 lt_cv_dlopen_libs=
11417
11418 case $host_os in
11419 beos*)
11420 lt_cv_dlopen="load_add_on"
11421 lt_cv_dlopen_libs=
11422 lt_cv_dlopen_self=yes
11423 ;;
11424
11425 mingw* | pw32* | cegcc*)
11426 lt_cv_dlopen="LoadLibrary"
11427 lt_cv_dlopen_libs=
11428 ;;
11429
11430 cygwin*)
11431 lt_cv_dlopen="dlopen"
11432 lt_cv_dlopen_libs=
11433 ;;
11434
11435 darwin*)
11436 # if libdl is installed we need to link against it
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11438$as_echo_n "checking for dlopen in -ldl... " >&6; }
11439if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11440 $as_echo_n "(cached) " >&6
11441else
11442 ac_check_lib_save_LIBS=$LIBS
11443LIBS="-ldl $LIBS"
11444cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445/* end confdefs.h. */
11446
11447/* Override any GCC internal prototype to avoid an error.
11448 Use char because int might match the return type of a GCC
11449 builtin and then its argument prototype would still apply. */
11450#ifdef __cplusplus
11451extern "C"
11452#endif
11453char dlopen ();
11454int
11455main ()
11456{
11457return dlopen ();
11458 ;
11459 return 0;
11460}
11461_ACEOF
11462if ac_fn_c_try_link "$LINENO"; then :
11463 ac_cv_lib_dl_dlopen=yes
11464else
11465 ac_cv_lib_dl_dlopen=no
11466fi
11467rm -f core conftest.err conftest.$ac_objext \
11468 conftest$ac_exeext conftest.$ac_ext
11469LIBS=$ac_check_lib_save_LIBS
11470fi
11471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11472$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11473if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11474 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11475else
11476
11477 lt_cv_dlopen="dyld"
11478 lt_cv_dlopen_libs=
11479 lt_cv_dlopen_self=yes
11480
11481fi
11482
11483 ;;
11484
11485 *)
11486 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11487if test "x$ac_cv_func_shl_load" = x""yes; then :
11488 lt_cv_dlopen="shl_load"
11489else
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11491$as_echo_n "checking for shl_load in -ldld... " >&6; }
11492if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11493 $as_echo_n "(cached) " >&6
11494else
11495 ac_check_lib_save_LIBS=$LIBS
11496LIBS="-ldld $LIBS"
11497cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11498/* end confdefs.h. */
11499
11500/* Override any GCC internal prototype to avoid an error.
11501 Use char because int might match the return type of a GCC
11502 builtin and then its argument prototype would still apply. */
11503#ifdef __cplusplus
11504extern "C"
11505#endif
11506char shl_load ();
11507int
11508main ()
11509{
11510return shl_load ();
11511 ;
11512 return 0;
11513}
11514_ACEOF
11515if ac_fn_c_try_link "$LINENO"; then :
11516 ac_cv_lib_dld_shl_load=yes
11517else
11518 ac_cv_lib_dld_shl_load=no
11519fi
11520rm -f core conftest.err conftest.$ac_objext \
11521 conftest$ac_exeext conftest.$ac_ext
11522LIBS=$ac_check_lib_save_LIBS
11523fi
11524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11525$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11526if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11527 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11528else
11529 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11530if test "x$ac_cv_func_dlopen" = x""yes; then :
11531 lt_cv_dlopen="dlopen"
11532else
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11534$as_echo_n "checking for dlopen in -ldl... " >&6; }
11535if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11536 $as_echo_n "(cached) " >&6
11537else
11538 ac_check_lib_save_LIBS=$LIBS
11539LIBS="-ldl $LIBS"
11540cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11541/* end confdefs.h. */
11542
11543/* Override any GCC internal prototype to avoid an error.
11544 Use char because int might match the return type of a GCC
11545 builtin and then its argument prototype would still apply. */
11546#ifdef __cplusplus
11547extern "C"
11548#endif
11549char dlopen ();
11550int
11551main ()
11552{
11553return dlopen ();
11554 ;
11555 return 0;
11556}
11557_ACEOF
11558if ac_fn_c_try_link "$LINENO"; then :
11559 ac_cv_lib_dl_dlopen=yes
11560else
11561 ac_cv_lib_dl_dlopen=no
11562fi
11563rm -f core conftest.err conftest.$ac_objext \
11564 conftest$ac_exeext conftest.$ac_ext
11565LIBS=$ac_check_lib_save_LIBS
11566fi
11567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11568$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11569if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11570 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11571else
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11573$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11574if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11575 $as_echo_n "(cached) " >&6
11576else
11577 ac_check_lib_save_LIBS=$LIBS
11578LIBS="-lsvld $LIBS"
11579cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11580/* end confdefs.h. */
11581
11582/* Override any GCC internal prototype to avoid an error.
11583 Use char because int might match the return type of a GCC
11584 builtin and then its argument prototype would still apply. */
11585#ifdef __cplusplus
11586extern "C"
11587#endif
11588char dlopen ();
11589int
11590main ()
11591{
11592return dlopen ();
11593 ;
11594 return 0;
11595}
11596_ACEOF
11597if ac_fn_c_try_link "$LINENO"; then :
11598 ac_cv_lib_svld_dlopen=yes
11599else
11600 ac_cv_lib_svld_dlopen=no
11601fi
11602rm -f core conftest.err conftest.$ac_objext \
11603 conftest$ac_exeext conftest.$ac_ext
11604LIBS=$ac_check_lib_save_LIBS
11605fi
11606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11607$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11608if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11609 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11610else
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11612$as_echo_n "checking for dld_link in -ldld... " >&6; }
11613if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11614 $as_echo_n "(cached) " >&6
11615else
11616 ac_check_lib_save_LIBS=$LIBS
11617LIBS="-ldld $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 dld_link ();
11628int
11629main ()
11630{
11631return dld_link ();
11632 ;
11633 return 0;
11634}
11635_ACEOF
11636if ac_fn_c_try_link "$LINENO"; then :
11637 ac_cv_lib_dld_dld_link=yes
11638else
11639 ac_cv_lib_dld_dld_link=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_dld_dld_link" >&5
11646$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11647if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11648 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11649fi
11650
11651
11652fi
11653
11654
11655fi
11656
11657
11658fi
11659
11660
11661fi
11662
11663
11664fi
11665
11666 ;;
11667 esac
11668
11669 if test "x$lt_cv_dlopen" != xno; then
11670 enable_dlopen=yes
11671 else
11672 enable_dlopen=no
11673 fi
11674
11675 case $lt_cv_dlopen in
11676 dlopen)
11677 save_CPPFLAGS="$CPPFLAGS"
11678 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11679
11680 save_LDFLAGS="$LDFLAGS"
11681 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11682
11683 save_LIBS="$LIBS"
11684 LIBS="$lt_cv_dlopen_libs $LIBS"
11685
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11687$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11688if test "${lt_cv_dlopen_self+set}" = set; then :
11689 $as_echo_n "(cached) " >&6
11690else
11691 if test "$cross_compiling" = yes; then :
11692 lt_cv_dlopen_self=cross
11693else
11694 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11695 lt_status=$lt_dlunknown
11696 cat > conftest.$ac_ext <<_LT_EOF
11697#line 11697 "configure"
11698#include "confdefs.h"
11699
11700#if HAVE_DLFCN_H
11701#include <dlfcn.h>
11702#endif
11703
11704#include <stdio.h>
11705
11706#ifdef RTLD_GLOBAL
11707# define LT_DLGLOBAL RTLD_GLOBAL
11708#else
11709# ifdef DL_GLOBAL
11710# define LT_DLGLOBAL DL_GLOBAL
11711# else
11712# define LT_DLGLOBAL 0
11713# endif
11714#endif
11715
11716/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11717 find out it does not work in some platform. */
11718#ifndef LT_DLLAZY_OR_NOW
11719# ifdef RTLD_LAZY
11720# define LT_DLLAZY_OR_NOW RTLD_LAZY
11721# else
11722# ifdef DL_LAZY
11723# define LT_DLLAZY_OR_NOW DL_LAZY
11724# else
11725# ifdef RTLD_NOW
11726# define LT_DLLAZY_OR_NOW RTLD_NOW
11727# else
11728# ifdef DL_NOW
11729# define LT_DLLAZY_OR_NOW DL_NOW
11730# else
11731# define LT_DLLAZY_OR_NOW 0
11732# endif
11733# endif
11734# endif
11735# endif
11736#endif
11737
11738void fnord() { int i=42;}
11739int main ()
11740{
11741 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11742 int status = $lt_dlunknown;
11743
11744 if (self)
11745 {
11746 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11747 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11748 /* dlclose (self); */
11749 }
11750 else
11751 puts (dlerror ());
11752
11753 return status;
11754}
11755_LT_EOF
11756 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11757 (eval $ac_link) 2>&5
11758 ac_status=$?
11759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11760 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11761 (./conftest; exit; ) >&5 2>/dev/null
11762 lt_status=$?
11763 case x$lt_status in
11764 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11765 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11766 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11767 esac
11768 else :
11769 # compilation failed
11770 lt_cv_dlopen_self=no
11771 fi
11772fi
11773rm -fr conftest*
11774
11775
11776fi
11777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11778$as_echo "$lt_cv_dlopen_self" >&6; }
11779
11780 if test "x$lt_cv_dlopen_self" = xyes; then
11781 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11783$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11784if test "${lt_cv_dlopen_self_static+set}" = set; then :
11785 $as_echo_n "(cached) " >&6
11786else
11787 if test "$cross_compiling" = yes; then :
11788 lt_cv_dlopen_self_static=cross
11789else
11790 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11791 lt_status=$lt_dlunknown
11792 cat > conftest.$ac_ext <<_LT_EOF
11793#line 11793 "configure"
11794#include "confdefs.h"
11795
11796#if HAVE_DLFCN_H
11797#include <dlfcn.h>
11798#endif
11799
11800#include <stdio.h>
11801
11802#ifdef RTLD_GLOBAL
11803# define LT_DLGLOBAL RTLD_GLOBAL
11804#else
11805# ifdef DL_GLOBAL
11806# define LT_DLGLOBAL DL_GLOBAL
11807# else
11808# define LT_DLGLOBAL 0
11809# endif
11810#endif
11811
11812/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11813 find out it does not work in some platform. */
11814#ifndef LT_DLLAZY_OR_NOW
11815# ifdef RTLD_LAZY
11816# define LT_DLLAZY_OR_NOW RTLD_LAZY
11817# else
11818# ifdef DL_LAZY
11819# define LT_DLLAZY_OR_NOW DL_LAZY
11820# else
11821# ifdef RTLD_NOW
11822# define LT_DLLAZY_OR_NOW RTLD_NOW
11823# else
11824# ifdef DL_NOW
11825# define LT_DLLAZY_OR_NOW DL_NOW
11826# else
11827# define LT_DLLAZY_OR_NOW 0
11828# endif
11829# endif
11830# endif
11831# endif
11832#endif
11833
11834void fnord() { int i=42;}
11835int main ()
11836{
11837 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11838 int status = $lt_dlunknown;
11839
11840 if (self)
11841 {
11842 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11843 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11844 /* dlclose (self); */
11845 }
11846 else
11847 puts (dlerror ());
11848
11849 return status;
11850}
11851_LT_EOF
11852 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11853 (eval $ac_link) 2>&5
11854 ac_status=$?
11855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11856 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11857 (./conftest; exit; ) >&5 2>/dev/null
11858 lt_status=$?
11859 case x$lt_status in
11860 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11861 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11862 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11863 esac
11864 else :
11865 # compilation failed
11866 lt_cv_dlopen_self_static=no
11867 fi
11868fi
11869rm -fr conftest*
11870
11871
11872fi
11873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11874$as_echo "$lt_cv_dlopen_self_static" >&6; }
11875 fi
11876
11877 CPPFLAGS="$save_CPPFLAGS"
11878 LDFLAGS="$save_LDFLAGS"
11879 LIBS="$save_LIBS"
11880 ;;
11881 esac
11882
11883 case $lt_cv_dlopen_self in
11884 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11885 *) enable_dlopen_self=unknown ;;
11886 esac
11887
11888 case $lt_cv_dlopen_self_static in
11889 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11890 *) enable_dlopen_self_static=unknown ;;
11891 esac
11892fi
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910striplib=
11911old_striplib=
11912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11913$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11914if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11915 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11916 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11918$as_echo "yes" >&6; }
11919else
11920# FIXME - insert some real tests, host_os isn't really good enough
11921 case $host_os in
11922 darwin*)
11923 if test -n "$STRIP" ; then
11924 striplib="$STRIP -x"
11925 old_striplib="$STRIP -S"
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11927$as_echo "yes" >&6; }
11928 else
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11930$as_echo "no" >&6; }
11931 fi
11932 ;;
11933 *)
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11935$as_echo "no" >&6; }
11936 ;;
11937 esac
11938fi
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951 # Report which library types will actually be built
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11953$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11955$as_echo "$can_build_shared" >&6; }
11956
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11958$as_echo_n "checking whether to build shared libraries... " >&6; }
11959 test "$can_build_shared" = "no" && enable_shared=no
11960
11961 # On AIX, shared libraries and static libraries use the same namespace, and
11962 # are all built from PIC.
11963 case $host_os in
11964 aix3*)
11965 test "$enable_shared" = yes && enable_static=no
11966 if test -n "$RANLIB"; then
11967 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11968 postinstall_cmds='$RANLIB $lib'
11969 fi
11970 ;;
11971
11972 aix[4-9]*)
11973 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11974 test "$enable_shared" = yes && enable_static=no
11975 fi
11976 ;;
11977 esac
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11979$as_echo "$enable_shared" >&6; }
11980
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11982$as_echo_n "checking whether to build static libraries... " >&6; }
11983 # Make sure either enable_shared or enable_static is yes.
11984 test "$enable_shared" = yes || enable_static=yes
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11986$as_echo "$enable_static" >&6; }
11987
11988
11989
11990
11991fi
11992ac_ext=c
11993ac_cpp='$CPP $CPPFLAGS'
11994ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11995ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11996ac_compiler_gnu=$ac_cv_c_compiler_gnu
11997
11998CC="$lt_save_CC"
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012 ac_config_commands="$ac_config_commands libtool"
12013
12014
12015
12016
12017# Only expand once:
12018
12019
12020
12021##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12022##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12023
12024
12025
12026cat >>confdefs.h <<_ACEOF
12027#define VERS_MAJ 1
12028_ACEOF
12029
12030
12031cat >>confdefs.h <<_ACEOF
12032#define VERS_MIN 1
12033_ACEOF
12034
12035
12036cat >>confdefs.h <<_ACEOF
12037#define VERS_MIC 0
12038_ACEOF
12039
12040
12041cat >>confdefs.h <<_ACEOF
12042#define VERS_REV 0
12043_ACEOF
12044
12045version_info="2:0:1"
12046release_info=""
12047
12048
12049##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12050##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12051VMAJ=1
12052
12053
12054
12055
12056
12057
12058
12059
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12061$as_echo_n "checking whether NLS is requested... " >&6; }
12062 # Check whether --enable-nls was given.
12063if test "${enable_nls+set}" = set; then :
12064 enableval=$enable_nls; USE_NLS=$enableval
12065else
12066 USE_NLS=yes
12067fi
12068
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12070$as_echo "$USE_NLS" >&6; }
12071
12072
12073
12074
12075 GETTEXT_MACRO_VERSION=0.17
12076
12077
12078
12079
12080# Prepare PATH_SEPARATOR.
12081# The user is always right.
12082if test "${PATH_SEPARATOR+set}" != set; then
12083 echo "#! /bin/sh" >conf$$.sh
12084 echo "exit 0" >>conf$$.sh
12085 chmod +x conf$$.sh
12086 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12087 PATH_SEPARATOR=';'
12088 else
12089 PATH_SEPARATOR=:
12090 fi
12091 rm -f conf$$.sh
12092fi
12093
12094# Find out how to test for executable files. Don't use a zero-byte file,
12095# as systems may use methods other than mode bits to determine executability.
12096cat >conf$$.file <<_ASEOF
12097#! /bin/sh
12098exit 0
12099_ASEOF
12100chmod +x conf$$.file
12101if test -x conf$$.file >/dev/null 2>&1; then
12102 ac_executable_p="test -x"
12103else
12104 ac_executable_p="test -f"
12105fi
12106rm -f conf$$.file
12107
12108# Extract the first word of "msgfmt", so it can be a program name with args.
12109set dummy msgfmt; ac_word=$2
12110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12111$as_echo_n "checking for $ac_word... " >&6; }
12112if test "${ac_cv_path_MSGFMT+set}" = set; then :
12113 $as_echo_n "(cached) " >&6
12114else
12115 case "$MSGFMT" in
12116 [\\/]* | ?:[\\/]*)
12117 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12118 ;;
12119 *)
12120 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12121 for ac_dir in $PATH; do
12122 IFS="$ac_save_IFS"
12123 test -z "$ac_dir" && ac_dir=.
12124 for ac_exec_ext in '' $ac_executable_extensions; do
12125 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12126 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12127 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
12128 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12129 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12130 break 2
12131 fi
12132 fi
12133 done
12134 done
12135 IFS="$ac_save_IFS"
12136 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12137 ;;
12138esac
12139fi
12140MSGFMT="$ac_cv_path_MSGFMT"
12141if test "$MSGFMT" != ":"; then
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12143$as_echo "$MSGFMT" >&6; }
12144else
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12146$as_echo "no" >&6; }
12147fi
12148
12149 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12150set dummy gmsgfmt; ac_word=$2
12151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12152$as_echo_n "checking for $ac_word... " >&6; }
12153if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12154 $as_echo_n "(cached) " >&6
12155else
12156 case $GMSGFMT in
12157 [\\/]* | ?:[\\/]*)
12158 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12159 ;;
12160 *)
12161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12162for as_dir in $PATH
12163do
12164 IFS=$as_save_IFS
12165 test -z "$as_dir" && as_dir=.
12166 for ac_exec_ext in '' $ac_executable_extensions; do
12167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12168 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12170 break 2
12171 fi
12172done
12173 done
12174IFS=$as_save_IFS
12175
12176 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12177 ;;
12178esac
12179fi
12180GMSGFMT=$ac_cv_path_GMSGFMT
12181if test -n "$GMSGFMT"; then
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12183$as_echo "$GMSGFMT" >&6; }
12184else
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12186$as_echo "no" >&6; }
12187fi
12188
12189
12190
12191 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12192 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
12193 *) MSGFMT_015=$MSGFMT ;;
12194 esac
12195
12196 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12197 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
12198 *) GMSGFMT_015=$GMSGFMT ;;
12199 esac
12200
12201
12202
12203# Prepare PATH_SEPARATOR.
12204# The user is always right.
12205if test "${PATH_SEPARATOR+set}" != set; then
12206 echo "#! /bin/sh" >conf$$.sh
12207 echo "exit 0" >>conf$$.sh
12208 chmod +x conf$$.sh
12209 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12210 PATH_SEPARATOR=';'
12211 else
12212 PATH_SEPARATOR=:
12213 fi
12214 rm -f conf$$.sh
12215fi
12216
12217# Find out how to test for executable files. Don't use a zero-byte file,
12218# as systems may use methods other than mode bits to determine executability.
12219cat >conf$$.file <<_ASEOF
12220#! /bin/sh
12221exit 0
12222_ASEOF
12223chmod +x conf$$.file
12224if test -x conf$$.file >/dev/null 2>&1; then
12225 ac_executable_p="test -x"
12226else
12227 ac_executable_p="test -f"
12228fi
12229rm -f conf$$.file
12230
12231# Extract the first word of "xgettext", so it can be a program name with args.
12232set dummy xgettext; ac_word=$2
12233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12234$as_echo_n "checking for $ac_word... " >&6; }
12235if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12236 $as_echo_n "(cached) " >&6
12237else
12238 case "$XGETTEXT" in
12239 [\\/]* | ?:[\\/]*)
12240 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12241 ;;
12242 *)
12243 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12244 for ac_dir in $PATH; do
12245 IFS="$ac_save_IFS"
12246 test -z "$ac_dir" && ac_dir=.
12247 for ac_exec_ext in '' $ac_executable_extensions; do
12248 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12249 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12250 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
12251 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12252 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
12253 break 2
12254 fi
12255 fi
12256 done
12257 done
12258 IFS="$ac_save_IFS"
12259 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12260 ;;
12261esac
12262fi
12263XGETTEXT="$ac_cv_path_XGETTEXT"
12264if test "$XGETTEXT" != ":"; then
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12266$as_echo "$XGETTEXT" >&6; }
12267else
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12269$as_echo "no" >&6; }
12270fi
12271
12272 rm -f messages.po
12273
12274 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12275 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
12276 *) XGETTEXT_015=$XGETTEXT ;;
12277 esac
12278
12279
12280
12281# Prepare PATH_SEPARATOR.
12282# The user is always right.
12283if test "${PATH_SEPARATOR+set}" != set; then
12284 echo "#! /bin/sh" >conf$$.sh
12285 echo "exit 0" >>conf$$.sh
12286 chmod +x conf$$.sh
12287 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12288 PATH_SEPARATOR=';'
12289 else
12290 PATH_SEPARATOR=:
12291 fi
12292 rm -f conf$$.sh
12293fi
12294
12295# Find out how to test for executable files. Don't use a zero-byte file,
12296# as systems may use methods other than mode bits to determine executability.
12297cat >conf$$.file <<_ASEOF
12298#! /bin/sh
12299exit 0
12300_ASEOF
12301chmod +x conf$$.file
12302if test -x conf$$.file >/dev/null 2>&1; then
12303 ac_executable_p="test -x"
12304else
12305 ac_executable_p="test -f"
12306fi
12307rm -f conf$$.file
12308
12309# Extract the first word of "msgmerge", so it can be a program name with args.
12310set dummy msgmerge; ac_word=$2
12311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12312$as_echo_n "checking for $ac_word... " >&6; }
12313if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12314 $as_echo_n "(cached) " >&6
12315else
12316 case "$MSGMERGE" in
12317 [\\/]* | ?:[\\/]*)
12318 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12319 ;;
12320 *)
12321 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12322 for ac_dir in $PATH; do
12323 IFS="$ac_save_IFS"
12324 test -z "$ac_dir" && ac_dir=.
12325 for ac_exec_ext in '' $ac_executable_extensions; do
12326 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12327 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12328 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
12329 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12330 break 2
12331 fi
12332 fi
12333 done
12334 done
12335 IFS="$ac_save_IFS"
12336 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12337 ;;
12338esac
12339fi
12340MSGMERGE="$ac_cv_path_MSGMERGE"
12341if test "$MSGMERGE" != ":"; then
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12343$as_echo "$MSGMERGE" >&6; }
12344else
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12346$as_echo "no" >&6; }
12347fi
12348
12349
12350 test -n "$localedir" || localedir='${datadir}/locale'
12351
12352
12353 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
12354
12355
12356 ac_config_commands="$ac_config_commands po-directories"
12357
12358
12359
12360 if test "X$prefix" = "XNONE"; then
12361 acl_final_prefix="$ac_default_prefix"
12362 else
12363 acl_final_prefix="$prefix"
12364 fi
12365 if test "X$exec_prefix" = "XNONE"; then
12366 acl_final_exec_prefix='${prefix}'
12367 else
12368 acl_final_exec_prefix="$exec_prefix"
12369 fi
12370 acl_save_prefix="$prefix"
12371 prefix="$acl_final_prefix"
12372 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12373 prefix="$acl_save_prefix"
12374
12375
12376# Check whether --with-gnu-ld was given.
12377if test "${with_gnu_ld+set}" = set; then :
12378 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12379else
12380 with_gnu_ld=no
12381fi
12382
12383# Prepare PATH_SEPARATOR.
12384# The user is always right.
12385if test "${PATH_SEPARATOR+set}" != set; then
12386 echo "#! /bin/sh" >conf$$.sh
12387 echo "exit 0" >>conf$$.sh
12388 chmod +x conf$$.sh
12389 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12390 PATH_SEPARATOR=';'
12391 else
12392 PATH_SEPARATOR=:
12393 fi
12394 rm -f conf$$.sh
12395fi
12396ac_prog=ld
12397if test "$GCC" = yes; then
12398 # Check if gcc -print-prog-name=ld gives a path.
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12400$as_echo_n "checking for ld used by GCC... " >&6; }
12401 case $host in
12402 *-*-mingw*)
12403 # gcc leaves a trailing carriage return which upsets mingw
12404 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12405 *)
12406 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12407 esac
12408 case $ac_prog in
12409 # Accept absolute paths.
12410 [\\/]* | [A-Za-z]:[\\/]*)
12411 re_direlt='/[^/][^/]*/\.\./'
12412 # Canonicalize the path of ld
12413 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12414 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12415 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12416 done
12417 test -z "$LD" && LD="$ac_prog"
12418 ;;
12419 "")
12420 # If it fails, then pretend we aren't using GCC.
12421 ac_prog=ld
12422 ;;
12423 *)
12424 # If it is relative, then search for the first ld in PATH.
12425 with_gnu_ld=unknown
12426 ;;
12427 esac
12428elif test "$with_gnu_ld" = yes; then
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12430$as_echo_n "checking for GNU ld... " >&6; }
12431else
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12433$as_echo_n "checking for non-GNU ld... " >&6; }
12434fi
12435if test "${acl_cv_path_LD+set}" = set; then :
12436 $as_echo_n "(cached) " >&6
12437else
12438 if test -z "$LD"; then
12439 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12440 for ac_dir in $PATH; do
12441 test -z "$ac_dir" && ac_dir=.
12442 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12443 acl_cv_path_LD="$ac_dir/$ac_prog"
12444 # Check to see if the program is GNU ld. I'd rather use --version,
12445 # but apparently some GNU ld's only accept -v.
12446 # Break only if it was the GNU/non-GNU ld that we prefer.
12447 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12448 *GNU* | *'with BFD'*)
12449 test "$with_gnu_ld" != no && break ;;
12450 *)
12451 test "$with_gnu_ld" != yes && break ;;
12452 esac
12453 fi
12454 done
12455 IFS="$ac_save_ifs"
12456else
12457 acl_cv_path_LD="$LD" # Let the user override the test with a path.
12458fi
12459fi
12460
12461LD="$acl_cv_path_LD"
12462if test -n "$LD"; then
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12464$as_echo "$LD" >&6; }
12465else
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12467$as_echo "no" >&6; }
12468fi
12469test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12471$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12472if test "${acl_cv_prog_gnu_ld+set}" = set; then :
12473 $as_echo_n "(cached) " >&6
12474else
12475 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12476case `$LD -v 2>&1 </dev/null` in
12477*GNU* | *'with BFD'*)
12478 acl_cv_prog_gnu_ld=yes ;;
12479*)
12480 acl_cv_prog_gnu_ld=no ;;
12481esac
12482fi
12483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12484$as_echo "$acl_cv_prog_gnu_ld" >&6; }
12485with_gnu_ld=$acl_cv_prog_gnu_ld
12486
12487
12488
12489
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12491$as_echo_n "checking for shared library run path origin... " >&6; }
12492if test "${acl_cv_rpath+set}" = set; then :
12493 $as_echo_n "(cached) " >&6
12494else
12495
12496 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12497 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12498 . ./conftest.sh
12499 rm -f ./conftest.sh
12500 acl_cv_rpath=done
12501
12502fi
12503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12504$as_echo "$acl_cv_rpath" >&6; }
12505 wl="$acl_cv_wl"
12506 acl_libext="$acl_cv_libext"
12507 acl_shlibext="$acl_cv_shlibext"
12508 acl_libname_spec="$acl_cv_libname_spec"
12509 acl_library_names_spec="$acl_cv_library_names_spec"
12510 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12511 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12512 acl_hardcode_direct="$acl_cv_hardcode_direct"
12513 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12514 # Check whether --enable-rpath was given.
12515if test "${enable_rpath+set}" = set; then :
12516 enableval=$enable_rpath; :
12517else
12518 enable_rpath=yes
12519fi
12520
12521
12522
12523 acl_libdirstem=lib
12524 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12525 if test -n "$searchpath"; then
12526 acl_save_IFS="${IFS= }"; IFS=":"
12527 for searchdir in $searchpath; do
12528 if test -d "$searchdir"; then
12529 case "$searchdir" in
12530 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12531 *) searchdir=`cd "$searchdir" && pwd`
12532 case "$searchdir" in
12533 */lib64 ) acl_libdirstem=lib64 ;;
12534 esac ;;
12535 esac
12536 fi
12537 done
12538 IFS="$acl_save_IFS"
12539 fi
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549 use_additional=yes
12550
12551 acl_save_prefix="$prefix"
12552 prefix="$acl_final_prefix"
12553 acl_save_exec_prefix="$exec_prefix"
12554 exec_prefix="$acl_final_exec_prefix"
12555
12556 eval additional_includedir=\"$includedir\"
12557 eval additional_libdir=\"$libdir\"
12558
12559 exec_prefix="$acl_save_exec_prefix"
12560 prefix="$acl_save_prefix"
12561
12562
12563# Check whether --with-libiconv-prefix was given.
12564if test "${with_libiconv_prefix+set}" = set; then :
12565 withval=$with_libiconv_prefix;
12566 if test "X$withval" = "Xno"; then
12567 use_additional=no
12568 else
12569 if test "X$withval" = "X"; then
12570
12571 acl_save_prefix="$prefix"
12572 prefix="$acl_final_prefix"
12573 acl_save_exec_prefix="$exec_prefix"
12574 exec_prefix="$acl_final_exec_prefix"
12575
12576 eval additional_includedir=\"$includedir\"
12577 eval additional_libdir=\"$libdir\"
12578
12579 exec_prefix="$acl_save_exec_prefix"
12580 prefix="$acl_save_prefix"
12581
12582 else
12583 additional_includedir="$withval/include"
12584 additional_libdir="$withval/$acl_libdirstem"
12585 fi
12586 fi
12587
12588fi
12589
12590 LIBICONV=
12591 LTLIBICONV=
12592 INCICONV=
12593 LIBICONV_PREFIX=
12594 rpathdirs=
12595 ltrpathdirs=
12596 names_already_handled=
12597 names_next_round='iconv '
12598 while test -n "$names_next_round"; do
12599 names_this_round="$names_next_round"
12600 names_next_round=
12601 for name in $names_this_round; do
12602 already_handled=
12603 for n in $names_already_handled; do
12604 if test "$n" = "$name"; then
12605 already_handled=yes
12606 break
12607 fi
12608 done
12609 if test -z "$already_handled"; then
12610 names_already_handled="$names_already_handled $name"
12611 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12612 eval value=\"\$HAVE_LIB$uppername\"
12613 if test -n "$value"; then
12614 if test "$value" = yes; then
12615 eval value=\"\$LIB$uppername\"
12616 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12617 eval value=\"\$LTLIB$uppername\"
12618 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12619 else
12620 :
12621 fi
12622 else
12623 found_dir=
12624 found_la=
12625 found_so=
12626 found_a=
12627 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
12628 if test -n "$acl_shlibext"; then
12629 shrext=".$acl_shlibext" # typically: shrext=.so
12630 else
12631 shrext=
12632 fi
12633 if test $use_additional = yes; then
12634 dir="$additional_libdir"
12635 if test -n "$acl_shlibext"; then
12636 if test -f "$dir/$libname$shrext"; then
12637 found_dir="$dir"
12638 found_so="$dir/$libname$shrext"
12639 else
12640 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12641 ver=`(cd "$dir" && \
12642 for f in "$libname$shrext".*; do echo "$f"; done \
12643 | sed -e "s,^$libname$shrext\\\\.,," \
12644 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12645 | sed 1q ) 2>/dev/null`
12646 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12647 found_dir="$dir"
12648 found_so="$dir/$libname$shrext.$ver"
12649 fi
12650 else
12651 eval library_names=\"$acl_library_names_spec\"
12652 for f in $library_names; do
12653 if test -f "$dir/$f"; then
12654 found_dir="$dir"
12655 found_so="$dir/$f"
12656 break
12657 fi
12658 done
12659 fi
12660 fi
12661 fi
12662 if test "X$found_dir" = "X"; then
12663 if test -f "$dir/$libname.$acl_libext"; then
12664 found_dir="$dir"
12665 found_a="$dir/$libname.$acl_libext"
12666 fi
12667 fi
12668 if test "X$found_dir" != "X"; then
12669 if test -f "$dir/$libname.la"; then
12670 found_la="$dir/$libname.la"
12671 fi
12672 fi
12673 fi
12674 if test "X$found_dir" = "X"; then
12675 for x in $LDFLAGS $LTLIBICONV; do
12676
12677 acl_save_prefix="$prefix"
12678 prefix="$acl_final_prefix"
12679 acl_save_exec_prefix="$exec_prefix"
12680 exec_prefix="$acl_final_exec_prefix"
12681 eval x=\"$x\"
12682 exec_prefix="$acl_save_exec_prefix"
12683 prefix="$acl_save_prefix"
12684
12685 case "$x" in
12686 -L*)
12687 dir=`echo "X$x" | sed -e 's/^X-L//'`
12688 if test -n "$acl_shlibext"; then
12689 if test -f "$dir/$libname$shrext"; then
12690 found_dir="$dir"
12691 found_so="$dir/$libname$shrext"
12692 else
12693 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12694 ver=`(cd "$dir" && \
12695 for f in "$libname$shrext".*; do echo "$f"; done \
12696 | sed -e "s,^$libname$shrext\\\\.,," \
12697 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12698 | sed 1q ) 2>/dev/null`
12699 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12700 found_dir="$dir"
12701 found_so="$dir/$libname$shrext.$ver"
12702 fi
12703 else
12704 eval library_names=\"$acl_library_names_spec\"
12705 for f in $library_names; do
12706 if test -f "$dir/$f"; then
12707 found_dir="$dir"
12708 found_so="$dir/$f"
12709 break
12710 fi
12711 done
12712 fi
12713 fi
12714 fi
12715 if test "X$found_dir" = "X"; then
12716 if test -f "$dir/$libname.$acl_libext"; then
12717 found_dir="$dir"
12718 found_a="$dir/$libname.$acl_libext"
12719 fi
12720 fi
12721 if test "X$found_dir" != "X"; then
12722 if test -f "$dir/$libname.la"; then
12723 found_la="$dir/$libname.la"
12724 fi
12725 fi
12726 ;;
12727 esac
12728 if test "X$found_dir" != "X"; then
12729 break
12730 fi
12731 done
12732 fi
12733 if test "X$found_dir" != "X"; then
12734 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12735 if test "X$found_so" != "X"; then
12736 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12737 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12738 else
12739 haveit=
12740 for x in $ltrpathdirs; do
12741 if test "X$x" = "X$found_dir"; then
12742 haveit=yes
12743 break
12744 fi
12745 done
12746 if test -z "$haveit"; then
12747 ltrpathdirs="$ltrpathdirs $found_dir"
12748 fi
12749 if test "$acl_hardcode_direct" = yes; then
12750 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12751 else
12752 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
12753 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12754 haveit=
12755 for x in $rpathdirs; do
12756 if test "X$x" = "X$found_dir"; then
12757 haveit=yes
12758 break
12759 fi
12760 done
12761 if test -z "$haveit"; then
12762 rpathdirs="$rpathdirs $found_dir"
12763 fi
12764 else
12765 haveit=
12766 for x in $LDFLAGS $LIBICONV; do
12767
12768 acl_save_prefix="$prefix"
12769 prefix="$acl_final_prefix"
12770 acl_save_exec_prefix="$exec_prefix"
12771 exec_prefix="$acl_final_exec_prefix"
12772 eval x=\"$x\"
12773 exec_prefix="$acl_save_exec_prefix"
12774 prefix="$acl_save_prefix"
12775
12776 if test "X$x" = "X-L$found_dir"; then
12777 haveit=yes
12778 break
12779 fi
12780 done
12781 if test -z "$haveit"; then
12782 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12783 fi
12784 if test "$acl_hardcode_minus_L" != no; then
12785 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12786 else
12787 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12788 fi
12789 fi
12790 fi
12791 fi
12792 else
12793 if test "X$found_a" != "X"; then
12794 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12795 else
12796 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12797 fi
12798 fi
12799 additional_includedir=
12800 case "$found_dir" in
12801 */$acl_libdirstem | */$acl_libdirstem/)
12802 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12803 LIBICONV_PREFIX="$basedir"
12804 additional_includedir="$basedir/include"
12805 ;;
12806 esac
12807 if test "X$additional_includedir" != "X"; then
12808 if test "X$additional_includedir" != "X/usr/include"; then
12809 haveit=
12810 if test "X$additional_includedir" = "X/usr/local/include"; then
12811 if test -n "$GCC"; then
12812 case $host_os in
12813 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12814 esac
12815 fi
12816 fi
12817 if test -z "$haveit"; then
12818 for x in $CPPFLAGS $INCICONV; do
12819
12820 acl_save_prefix="$prefix"
12821 prefix="$acl_final_prefix"
12822 acl_save_exec_prefix="$exec_prefix"
12823 exec_prefix="$acl_final_exec_prefix"
12824 eval x=\"$x\"
12825 exec_prefix="$acl_save_exec_prefix"
12826 prefix="$acl_save_prefix"
12827
12828 if test "X$x" = "X-I$additional_includedir"; then
12829 haveit=yes
12830 break
12831 fi
12832 done
12833 if test -z "$haveit"; then
12834 if test -d "$additional_includedir"; then
12835 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12836 fi
12837 fi
12838 fi
12839 fi
12840 fi
12841 if test -n "$found_la"; then
12842 save_libdir="$libdir"
12843 case "$found_la" in
12844 */* | *\\*) . "$found_la" ;;
12845 *) . "./$found_la" ;;
12846 esac
12847 libdir="$save_libdir"
12848 for dep in $dependency_libs; do
12849 case "$dep" in
12850 -L*)
12851 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12852 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
12853 haveit=
12854 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
12855 if test -n "$GCC"; then
12856 case $host_os in
12857 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12858 esac
12859 fi
12860 fi
12861 if test -z "$haveit"; then
12862 haveit=
12863 for x in $LDFLAGS $LIBICONV; do
12864
12865 acl_save_prefix="$prefix"
12866 prefix="$acl_final_prefix"
12867 acl_save_exec_prefix="$exec_prefix"
12868 exec_prefix="$acl_final_exec_prefix"
12869 eval x=\"$x\"
12870 exec_prefix="$acl_save_exec_prefix"
12871 prefix="$acl_save_prefix"
12872
12873 if test "X$x" = "X-L$additional_libdir"; then
12874 haveit=yes
12875 break
12876 fi
12877 done
12878 if test -z "$haveit"; then
12879 if test -d "$additional_libdir"; then
12880 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12881 fi
12882 fi
12883 haveit=
12884 for x in $LDFLAGS $LTLIBICONV; do
12885
12886 acl_save_prefix="$prefix"
12887 prefix="$acl_final_prefix"
12888 acl_save_exec_prefix="$exec_prefix"
12889 exec_prefix="$acl_final_exec_prefix"
12890 eval x=\"$x\"
12891 exec_prefix="$acl_save_exec_prefix"
12892 prefix="$acl_save_prefix"
12893
12894 if test "X$x" = "X-L$additional_libdir"; then
12895 haveit=yes
12896 break
12897 fi
12898 done
12899 if test -z "$haveit"; then
12900 if test -d "$additional_libdir"; then
12901 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12902 fi
12903 fi
12904 fi
12905 fi
12906 ;;
12907 -R*)
12908 dir=`echo "X$dep" | sed -e 's/^X-R//'`
12909 if test "$enable_rpath" != no; then
12910 haveit=
12911 for x in $rpathdirs; do
12912 if test "X$x" = "X$dir"; then
12913 haveit=yes
12914 break
12915 fi
12916 done
12917 if test -z "$haveit"; then
12918 rpathdirs="$rpathdirs $dir"
12919 fi
12920 haveit=
12921 for x in $ltrpathdirs; do
12922 if test "X$x" = "X$dir"; then
12923 haveit=yes
12924 break
12925 fi
12926 done
12927 if test -z "$haveit"; then
12928 ltrpathdirs="$ltrpathdirs $dir"
12929 fi
12930 fi
12931 ;;
12932 -l*)
12933 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12934 ;;
12935 *.la)
12936 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12937 ;;
12938 *)
12939 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
12940 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12941 ;;
12942 esac
12943 done
12944 fi
12945 else
12946 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12947 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12948 fi
12949 fi
12950 fi
12951 done
12952 done
12953 if test "X$rpathdirs" != "X"; then
12954 if test -n "$acl_hardcode_libdir_separator"; then
12955 alldirs=
12956 for found_dir in $rpathdirs; do
12957 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
12958 done
12959 acl_save_libdir="$libdir"
12960 libdir="$alldirs"
12961 eval flag=\"$acl_hardcode_libdir_flag_spec\"
12962 libdir="$acl_save_libdir"
12963 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12964 else
12965 for found_dir in $rpathdirs; do
12966 acl_save_libdir="$libdir"
12967 libdir="$found_dir"
12968 eval flag=\"$acl_hardcode_libdir_flag_spec\"
12969 libdir="$acl_save_libdir"
12970 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12971 done
12972 fi
12973 fi
12974 if test "X$ltrpathdirs" != "X"; then
12975 for found_dir in $ltrpathdirs; do
12976 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12977 done
12978 fi
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13005$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13006if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
13007 $as_echo_n "(cached) " >&6
13008else
13009 gt_save_LIBS="$LIBS"
13010 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012/* end confdefs.h. */
13013#include <CoreFoundation/CFPreferences.h>
13014int
13015main ()
13016{
13017CFPreferencesCopyAppValue(NULL, NULL)
13018 ;
13019 return 0;
13020}
13021_ACEOF
13022if ac_fn_c_try_link "$LINENO"; then :
13023 gt_cv_func_CFPreferencesCopyAppValue=yes
13024else
13025 gt_cv_func_CFPreferencesCopyAppValue=no
13026fi
13027rm -f core conftest.err conftest.$ac_objext \
13028 conftest$ac_exeext conftest.$ac_ext
13029 LIBS="$gt_save_LIBS"
13030fi
13031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
13032$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
13033 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
13034
13035$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
13036
13037 fi
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13039$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13040if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
13041 $as_echo_n "(cached) " >&6
13042else
13043 gt_save_LIBS="$LIBS"
13044 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13046/* end confdefs.h. */
13047#include <CoreFoundation/CFLocale.h>
13048int
13049main ()
13050{
13051CFLocaleCopyCurrent();
13052 ;
13053 return 0;
13054}
13055_ACEOF
13056if ac_fn_c_try_link "$LINENO"; then :
13057 gt_cv_func_CFLocaleCopyCurrent=yes
13058else
13059 gt_cv_func_CFLocaleCopyCurrent=no
13060fi
13061rm -f core conftest.err conftest.$ac_objext \
13062 conftest$ac_exeext conftest.$ac_ext
13063 LIBS="$gt_save_LIBS"
13064fi
13065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
13066$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
13067 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13068
13069$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
13070
13071 fi
13072 INTL_MACOSX_LIBS=
13073 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13074 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
13075 fi
13076
13077
13078
13079
13080
13081
13082 LIBINTL=
13083 LTLIBINTL=
13084 POSUB=
13085
13086 case " $gt_needs " in
13087 *" need-formatstring-macros "*) gt_api_version=3 ;;
13088 *" need-ngettext "*) gt_api_version=2 ;;
13089 *) gt_api_version=1 ;;
13090 esac
13091 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
13092 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
13093
13094 if test "$USE_NLS" = "yes"; then
13095 gt_use_preinstalled_gnugettext=no
13096
13097
13098 if test $gt_api_version -ge 3; then
13099 gt_revision_test_code='
13100#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
13101#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
13102#endif
13103typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
13104'
13105 else
13106 gt_revision_test_code=
13107 fi
13108 if test $gt_api_version -ge 2; then
13109 gt_expression_test_code=' + * ngettext ("", "", 0)'
13110 else
13111 gt_expression_test_code=
13112 fi
13113
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13115$as_echo_n "checking for GNU gettext in libc... " >&6; }
13116if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
13117 $as_echo_n "(cached) " >&6
13118else
13119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13120/* end confdefs.h. */
13121#include <libintl.h>
13122$gt_revision_test_code
13123extern int _nl_msg_cat_cntr;
13124extern int *_nl_domain_bindings;
13125int
13126main ()
13127{
13128bindtextdomain ("", "");
13129return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
13130 ;
13131 return 0;
13132}
13133_ACEOF
13134if ac_fn_c_try_link "$LINENO"; then :
13135 eval "$gt_func_gnugettext_libc=yes"
13136else
13137 eval "$gt_func_gnugettext_libc=no"
13138fi
13139rm -f core conftest.err conftest.$ac_objext \
13140 conftest$ac_exeext conftest.$ac_ext
13141fi
13142eval ac_res=\$$gt_func_gnugettext_libc
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13144$as_echo "$ac_res" >&6; }
13145
13146 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
13147
13148
13149
13150
13151
13152 am_save_CPPFLAGS="$CPPFLAGS"
13153
13154 for element in $INCICONV; do
13155 haveit=
13156 for x in $CPPFLAGS; do
13157
13158 acl_save_prefix="$prefix"
13159 prefix="$acl_final_prefix"
13160 acl_save_exec_prefix="$exec_prefix"
13161 exec_prefix="$acl_final_exec_prefix"
13162 eval x=\"$x\"
13163 exec_prefix="$acl_save_exec_prefix"
13164 prefix="$acl_save_prefix"
13165
13166 if test "X$x" = "X$element"; then
13167 haveit=yes
13168 break
13169 fi
13170 done
13171 if test -z "$haveit"; then
13172 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13173 fi
13174 done
13175
13176
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13178$as_echo_n "checking for iconv... " >&6; }
13179if test "${am_cv_func_iconv+set}" = set; then :
13180 $as_echo_n "(cached) " >&6
13181else
13182
13183 am_cv_func_iconv="no, consider installing GNU libiconv"
13184 am_cv_lib_iconv=no
13185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13186/* end confdefs.h. */
13187#include <stdlib.h>
13188#include <iconv.h>
13189int
13190main ()
13191{
13192iconv_t cd = iconv_open("","");
13193 iconv(cd,NULL,NULL,NULL,NULL);
13194 iconv_close(cd);
13195 ;
13196 return 0;
13197}
13198_ACEOF
13199if ac_fn_c_try_link "$LINENO"; then :
13200 am_cv_func_iconv=yes
13201fi
13202rm -f core conftest.err conftest.$ac_objext \
13203 conftest$ac_exeext conftest.$ac_ext
13204 if test "$am_cv_func_iconv" != yes; then
13205 am_save_LIBS="$LIBS"
13206 LIBS="$LIBS $LIBICONV"
13207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13208/* end confdefs.h. */
13209#include <stdlib.h>
13210#include <iconv.h>
13211int
13212main ()
13213{
13214iconv_t cd = iconv_open("","");
13215 iconv(cd,NULL,NULL,NULL,NULL);
13216 iconv_close(cd);
13217 ;
13218 return 0;
13219}
13220_ACEOF
13221if ac_fn_c_try_link "$LINENO"; then :
13222 am_cv_lib_iconv=yes
13223 am_cv_func_iconv=yes
13224fi
13225rm -f core conftest.err conftest.$ac_objext \
13226 conftest$ac_exeext conftest.$ac_ext
13227 LIBS="$am_save_LIBS"
13228 fi
13229
13230fi
13231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13232$as_echo "$am_cv_func_iconv" >&6; }
13233 if test "$am_cv_func_iconv" = yes; then
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13235$as_echo_n "checking for working iconv... " >&6; }
13236if test "${am_cv_func_iconv_works+set}" = set; then :
13237 $as_echo_n "(cached) " >&6
13238else
13239
13240 am_save_LIBS="$LIBS"
13241 if test $am_cv_lib_iconv = yes; then
13242 LIBS="$LIBS $LIBICONV"
13243 fi
13244 if test "$cross_compiling" = yes; then :
13245 case "$host_os" in
13246 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13247 *) am_cv_func_iconv_works="guessing yes" ;;
13248 esac
13249else
13250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13251/* end confdefs.h. */
13252
13253#include <iconv.h>
13254#include <string.h>
13255int main ()
13256{
13257 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13258 returns. */
13259 {
13260 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13261 if (cd_utf8_to_88591 != (iconv_t)(-1))
13262 {
13263 static const char input[] = "\342\202\254"; /* EURO SIGN */
13264 char buf[10];
13265 const char *inptr = input;
13266 size_t inbytesleft = strlen (input);
13267 char *outptr = buf;
13268 size_t outbytesleft = sizeof (buf);
13269 size_t res = iconv (cd_utf8_to_88591,
13270 (char **) &inptr, &inbytesleft,
13271 &outptr, &outbytesleft);
13272 if (res == 0)
13273 return 1;
13274 }
13275 }
13276#if 0 /* This bug could be worked around by the caller. */
13277 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
13278 {
13279 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13280 if (cd_88591_to_utf8 != (iconv_t)(-1))
13281 {
13282 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13283 char buf[50];
13284 const char *inptr = input;
13285 size_t inbytesleft = strlen (input);
13286 char *outptr = buf;
13287 size_t outbytesleft = sizeof (buf);
13288 size_t res = iconv (cd_88591_to_utf8,
13289 (char **) &inptr, &inbytesleft,
13290 &outptr, &outbytesleft);
13291 if ((int)res > 0)
13292 return 1;
13293 }
13294 }
13295#endif
13296 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13297 provided. */
13298 if (/* Try standardized names. */
13299 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13300 /* Try IRIX, OSF/1 names. */
13301 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13302 /* Try AIX names. */
13303 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13304 /* Try HP-UX names. */
13305 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13306 return 1;
13307 return 0;
13308}
13309_ACEOF
13310if ac_fn_c_try_run "$LINENO"; then :
13311 am_cv_func_iconv_works=yes
13312else
13313 am_cv_func_iconv_works=no
13314fi
13315rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13316 conftest.$ac_objext conftest.beam conftest.$ac_ext
13317fi
13318
13319 LIBS="$am_save_LIBS"
13320
13321fi
13322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13323$as_echo "$am_cv_func_iconv_works" >&6; }
13324 case "$am_cv_func_iconv_works" in
13325 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
13326 *) am_func_iconv=yes ;;
13327 esac
13328 else
13329 am_func_iconv=no am_cv_lib_iconv=no
13330 fi
13331 if test "$am_func_iconv" = yes; then
13332
13333$as_echo "#define HAVE_ICONV 1" >>confdefs.h
13334
13335 fi
13336 if test "$am_cv_lib_iconv" = yes; then
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13338$as_echo_n "checking how to link with libiconv... " >&6; }
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13340$as_echo "$LIBICONV" >&6; }
13341 else
13342 CPPFLAGS="$am_save_CPPFLAGS"
13343 LIBICONV=
13344 LTLIBICONV=
13345 fi
13346
13347
13348
13349
13350
13351
13352
13353
13354 use_additional=yes
13355
13356 acl_save_prefix="$prefix"
13357 prefix="$acl_final_prefix"
13358 acl_save_exec_prefix="$exec_prefix"
13359 exec_prefix="$acl_final_exec_prefix"
13360
13361 eval additional_includedir=\"$includedir\"
13362 eval additional_libdir=\"$libdir\"
13363
13364 exec_prefix="$acl_save_exec_prefix"
13365 prefix="$acl_save_prefix"
13366
13367
13368# Check whether --with-libintl-prefix was given.
13369if test "${with_libintl_prefix+set}" = set; then :
13370 withval=$with_libintl_prefix;
13371 if test "X$withval" = "Xno"; then
13372 use_additional=no
13373 else
13374 if test "X$withval" = "X"; then
13375
13376 acl_save_prefix="$prefix"
13377 prefix="$acl_final_prefix"
13378 acl_save_exec_prefix="$exec_prefix"
13379 exec_prefix="$acl_final_exec_prefix"
13380
13381 eval additional_includedir=\"$includedir\"
13382 eval additional_libdir=\"$libdir\"
13383
13384 exec_prefix="$acl_save_exec_prefix"
13385 prefix="$acl_save_prefix"
13386
13387 else
13388 additional_includedir="$withval/include"
13389 additional_libdir="$withval/$acl_libdirstem"
13390 fi
13391 fi
13392
13393fi
13394
13395 LIBINTL=
13396 LTLIBINTL=
13397 INCINTL=
13398 LIBINTL_PREFIX=
13399 rpathdirs=
13400 ltrpathdirs=
13401 names_already_handled=
13402 names_next_round='intl '
13403 while test -n "$names_next_round"; do
13404 names_this_round="$names_next_round"
13405 names_next_round=
13406 for name in $names_this_round; do
13407 already_handled=
13408 for n in $names_already_handled; do
13409 if test "$n" = "$name"; then
13410 already_handled=yes
13411 break
13412 fi
13413 done
13414 if test -z "$already_handled"; then
13415 names_already_handled="$names_already_handled $name"
13416 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13417 eval value=\"\$HAVE_LIB$uppername\"
13418 if test -n "$value"; then
13419 if test "$value" = yes; then
13420 eval value=\"\$LIB$uppername\"
13421 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
13422 eval value=\"\$LTLIB$uppername\"
13423 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
13424 else
13425 :
13426 fi
13427 else
13428 found_dir=
13429 found_la=
13430 found_so=
13431 found_a=
13432 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13433 if test -n "$acl_shlibext"; then
13434 shrext=".$acl_shlibext" # typically: shrext=.so
13435 else
13436 shrext=
13437 fi
13438 if test $use_additional = yes; then
13439 dir="$additional_libdir"
13440 if test -n "$acl_shlibext"; then
13441 if test -f "$dir/$libname$shrext"; then
13442 found_dir="$dir"
13443 found_so="$dir/$libname$shrext"
13444 else
13445 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13446 ver=`(cd "$dir" && \
13447 for f in "$libname$shrext".*; do echo "$f"; done \
13448 | sed -e "s,^$libname$shrext\\\\.,," \
13449 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13450 | sed 1q ) 2>/dev/null`
13451 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13452 found_dir="$dir"
13453 found_so="$dir/$libname$shrext.$ver"
13454 fi
13455 else
13456 eval library_names=\"$acl_library_names_spec\"
13457 for f in $library_names; do
13458 if test -f "$dir/$f"; then
13459 found_dir="$dir"
13460 found_so="$dir/$f"
13461 break
13462 fi
13463 done
13464 fi
13465 fi
13466 fi
13467 if test "X$found_dir" = "X"; then
13468 if test -f "$dir/$libname.$acl_libext"; then
13469 found_dir="$dir"
13470 found_a="$dir/$libname.$acl_libext"
13471 fi
13472 fi
13473 if test "X$found_dir" != "X"; then
13474 if test -f "$dir/$libname.la"; then
13475 found_la="$dir/$libname.la"
13476 fi
13477 fi
13478 fi
13479 if test "X$found_dir" = "X"; then
13480 for x in $LDFLAGS $LTLIBINTL; do
13481
13482 acl_save_prefix="$prefix"
13483 prefix="$acl_final_prefix"
13484 acl_save_exec_prefix="$exec_prefix"
13485 exec_prefix="$acl_final_exec_prefix"
13486 eval x=\"$x\"
13487 exec_prefix="$acl_save_exec_prefix"
13488 prefix="$acl_save_prefix"
13489
13490 case "$x" in
13491 -L*)
13492 dir=`echo "X$x" | sed -e 's/^X-L//'`
13493 if test -n "$acl_shlibext"; then
13494 if test -f "$dir/$libname$shrext"; then
13495 found_dir="$dir"
13496 found_so="$dir/$libname$shrext"
13497 else
13498 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13499 ver=`(cd "$dir" && \
13500 for f in "$libname$shrext".*; do echo "$f"; done \
13501 | sed -e "s,^$libname$shrext\\\\.,," \
13502 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13503 | sed 1q ) 2>/dev/null`
13504 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13505 found_dir="$dir"
13506 found_so="$dir/$libname$shrext.$ver"
13507 fi
13508 else
13509 eval library_names=\"$acl_library_names_spec\"
13510 for f in $library_names; do
13511 if test -f "$dir/$f"; then
13512 found_dir="$dir"
13513 found_so="$dir/$f"
13514 break
13515 fi
13516 done
13517 fi
13518 fi
13519 fi
13520 if test "X$found_dir" = "X"; then
13521 if test -f "$dir/$libname.$acl_libext"; then
13522 found_dir="$dir"
13523 found_a="$dir/$libname.$acl_libext"
13524 fi
13525 fi
13526 if test "X$found_dir" != "X"; then
13527 if test -f "$dir/$libname.la"; then
13528 found_la="$dir/$libname.la"
13529 fi
13530 fi
13531 ;;
13532 esac
13533 if test "X$found_dir" != "X"; then
13534 break
13535 fi
13536 done
13537 fi
13538 if test "X$found_dir" != "X"; then
13539 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13540 if test "X$found_so" != "X"; then
13541 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13542 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13543 else
13544 haveit=
13545 for x in $ltrpathdirs; do
13546 if test "X$x" = "X$found_dir"; then
13547 haveit=yes
13548 break
13549 fi
13550 done
13551 if test -z "$haveit"; then
13552 ltrpathdirs="$ltrpathdirs $found_dir"
13553 fi
13554 if test "$acl_hardcode_direct" = yes; then
13555 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13556 else
13557 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13558 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13559 haveit=
13560 for x in $rpathdirs; do
13561 if test "X$x" = "X$found_dir"; then
13562 haveit=yes
13563 break
13564 fi
13565 done
13566 if test -z "$haveit"; then
13567 rpathdirs="$rpathdirs $found_dir"
13568 fi
13569 else
13570 haveit=
13571 for x in $LDFLAGS $LIBINTL; do
13572
13573 acl_save_prefix="$prefix"
13574 prefix="$acl_final_prefix"
13575 acl_save_exec_prefix="$exec_prefix"
13576 exec_prefix="$acl_final_exec_prefix"
13577 eval x=\"$x\"
13578 exec_prefix="$acl_save_exec_prefix"
13579 prefix="$acl_save_prefix"
13580
13581 if test "X$x" = "X-L$found_dir"; then
13582 haveit=yes
13583 break
13584 fi
13585 done
13586 if test -z "$haveit"; then
13587 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13588 fi
13589 if test "$acl_hardcode_minus_L" != no; then
13590 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13591 else
13592 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13593 fi
13594 fi
13595 fi
13596 fi
13597 else
13598 if test "X$found_a" != "X"; then
13599 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
13600 else
13601 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13602 fi
13603 fi
13604 additional_includedir=
13605 case "$found_dir" in
13606 */$acl_libdirstem | */$acl_libdirstem/)
13607 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13608 LIBINTL_PREFIX="$basedir"
13609 additional_includedir="$basedir/include"
13610 ;;
13611 esac
13612 if test "X$additional_includedir" != "X"; then
13613 if test "X$additional_includedir" != "X/usr/include"; then
13614 haveit=
13615 if test "X$additional_includedir" = "X/usr/local/include"; then
13616 if test -n "$GCC"; then
13617 case $host_os in
13618 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13619 esac
13620 fi
13621 fi
13622 if test -z "$haveit"; then
13623 for x in $CPPFLAGS $INCINTL; do
13624
13625 acl_save_prefix="$prefix"
13626 prefix="$acl_final_prefix"
13627 acl_save_exec_prefix="$exec_prefix"
13628 exec_prefix="$acl_final_exec_prefix"
13629 eval x=\"$x\"
13630 exec_prefix="$acl_save_exec_prefix"
13631 prefix="$acl_save_prefix"
13632
13633 if test "X$x" = "X-I$additional_includedir"; then
13634 haveit=yes
13635 break
13636 fi
13637 done
13638 if test -z "$haveit"; then
13639 if test -d "$additional_includedir"; then
13640 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13641 fi
13642 fi
13643 fi
13644 fi
13645 fi
13646 if test -n "$found_la"; then
13647 save_libdir="$libdir"
13648 case "$found_la" in
13649 */* | *\\*) . "$found_la" ;;
13650 *) . "./$found_la" ;;
13651 esac
13652 libdir="$save_libdir"
13653 for dep in $dependency_libs; do
13654 case "$dep" in
13655 -L*)
13656 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13657 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13658 haveit=
13659 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13660 if test -n "$GCC"; then
13661 case $host_os in
13662 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13663 esac
13664 fi
13665 fi
13666 if test -z "$haveit"; then
13667 haveit=
13668 for x in $LDFLAGS $LIBINTL; do
13669
13670 acl_save_prefix="$prefix"
13671 prefix="$acl_final_prefix"
13672 acl_save_exec_prefix="$exec_prefix"
13673 exec_prefix="$acl_final_exec_prefix"
13674 eval x=\"$x\"
13675 exec_prefix="$acl_save_exec_prefix"
13676 prefix="$acl_save_prefix"
13677
13678 if test "X$x" = "X-L$additional_libdir"; then
13679 haveit=yes
13680 break
13681 fi
13682 done
13683 if test -z "$haveit"; then
13684 if test -d "$additional_libdir"; then
13685 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13686 fi
13687 fi
13688 haveit=
13689 for x in $LDFLAGS $LTLIBINTL; do
13690
13691 acl_save_prefix="$prefix"
13692 prefix="$acl_final_prefix"
13693 acl_save_exec_prefix="$exec_prefix"
13694 exec_prefix="$acl_final_exec_prefix"
13695 eval x=\"$x\"
13696 exec_prefix="$acl_save_exec_prefix"
13697 prefix="$acl_save_prefix"
13698
13699 if test "X$x" = "X-L$additional_libdir"; then
13700 haveit=yes
13701 break
13702 fi
13703 done
13704 if test -z "$haveit"; then
13705 if test -d "$additional_libdir"; then
13706 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13707 fi
13708 fi
13709 fi
13710 fi
13711 ;;
13712 -R*)
13713 dir=`echo "X$dep" | sed -e 's/^X-R//'`
13714 if test "$enable_rpath" != no; then
13715 haveit=
13716 for x in $rpathdirs; do
13717 if test "X$x" = "X$dir"; then
13718 haveit=yes
13719 break
13720 fi
13721 done
13722 if test -z "$haveit"; then
13723 rpathdirs="$rpathdirs $dir"
13724 fi
13725 haveit=
13726 for x in $ltrpathdirs; do
13727 if test "X$x" = "X$dir"; then
13728 haveit=yes
13729 break
13730 fi
13731 done
13732 if test -z "$haveit"; then
13733 ltrpathdirs="$ltrpathdirs $dir"
13734 fi
13735 fi
13736 ;;
13737 -l*)
13738 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13739 ;;
13740 *.la)
13741 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13742 ;;
13743 *)
13744 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
13745 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13746 ;;
13747 esac
13748 done
13749 fi
13750 else
13751 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13752 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13753 fi
13754 fi
13755 fi
13756 done
13757 done
13758 if test "X$rpathdirs" != "X"; then
13759 if test -n "$acl_hardcode_libdir_separator"; then
13760 alldirs=
13761 for found_dir in $rpathdirs; do
13762 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13763 done
13764 acl_save_libdir="$libdir"
13765 libdir="$alldirs"
13766 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13767 libdir="$acl_save_libdir"
13768 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13769 else
13770 for found_dir in $rpathdirs; do
13771 acl_save_libdir="$libdir"
13772 libdir="$found_dir"
13773 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13774 libdir="$acl_save_libdir"
13775 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13776 done
13777 fi
13778 fi
13779 if test "X$ltrpathdirs" != "X"; then
13780 for found_dir in $ltrpathdirs; do
13781 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13782 done
13783 fi
13784
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13786$as_echo_n "checking for GNU gettext in libintl... " >&6; }
13787if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
13788 $as_echo_n "(cached) " >&6
13789else
13790 gt_save_CPPFLAGS="$CPPFLAGS"
13791 CPPFLAGS="$CPPFLAGS $INCINTL"
13792 gt_save_LIBS="$LIBS"
13793 LIBS="$LIBS $LIBINTL"
13794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13795/* end confdefs.h. */
13796#include <libintl.h>
13797$gt_revision_test_code
13798extern int _nl_msg_cat_cntr;
13799extern
13800#ifdef __cplusplus
13801"C"
13802#endif
13803const char *_nl_expand_alias (const char *);
13804int
13805main ()
13806{
13807bindtextdomain ("", "");
13808return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13809 ;
13810 return 0;
13811}
13812_ACEOF
13813if ac_fn_c_try_link "$LINENO"; then :
13814 eval "$gt_func_gnugettext_libintl=yes"
13815else
13816 eval "$gt_func_gnugettext_libintl=no"
13817fi
13818rm -f core conftest.err conftest.$ac_objext \
13819 conftest$ac_exeext conftest.$ac_ext
13820 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
13821 LIBS="$LIBS $LIBICONV"
13822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13823/* end confdefs.h. */
13824#include <libintl.h>
13825$gt_revision_test_code
13826extern int _nl_msg_cat_cntr;
13827extern
13828#ifdef __cplusplus
13829"C"
13830#endif
13831const char *_nl_expand_alias (const char *);
13832int
13833main ()
13834{
13835bindtextdomain ("", "");
13836return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13837 ;
13838 return 0;
13839}
13840_ACEOF
13841if ac_fn_c_try_link "$LINENO"; then :
13842 LIBINTL="$LIBINTL $LIBICONV"
13843 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
13844 eval "$gt_func_gnugettext_libintl=yes"
13845
13846fi
13847rm -f core conftest.err conftest.$ac_objext \
13848 conftest$ac_exeext conftest.$ac_ext
13849 fi
13850 CPPFLAGS="$gt_save_CPPFLAGS"
13851 LIBS="$gt_save_LIBS"
13852fi
13853eval ac_res=\$$gt_func_gnugettext_libintl
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13855$as_echo "$ac_res" >&6; }
13856 fi
13857
13858 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
13859 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
13860 && test "$PACKAGE" != gettext-runtime \
13861 && test "$PACKAGE" != gettext-tools; }; then
13862 gt_use_preinstalled_gnugettext=yes
13863 else
13864 LIBINTL=
13865 LTLIBINTL=
13866 INCINTL=
13867 fi
13868
13869
13870
13871 if test -n "$INTL_MACOSX_LIBS"; then
13872 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13873 || test "$nls_cv_use_gnu_gettext" = "yes"; then
13874 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
13875 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
13876 fi
13877 fi
13878
13879 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13880 || test "$nls_cv_use_gnu_gettext" = "yes"; then
13881
13882$as_echo "#define ENABLE_NLS 1" >>confdefs.h
13883
13884 else
13885 USE_NLS=no
13886 fi
13887 fi
13888
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
13890$as_echo_n "checking whether to use NLS... " >&6; }
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13892$as_echo "$USE_NLS" >&6; }
13893 if test "$USE_NLS" = "yes"; then
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
13895$as_echo_n "checking where the gettext function comes from... " >&6; }
13896 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13897 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13898 gt_source="external libintl"
13899 else
13900 gt_source="libc"
13901 fi
13902 else
13903 gt_source="included intl directory"
13904 fi
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
13906$as_echo "$gt_source" >&6; }
13907 fi
13908
13909 if test "$USE_NLS" = "yes"; then
13910
13911 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13912 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13914$as_echo_n "checking how to link with libintl... " >&6; }
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13916$as_echo "$LIBINTL" >&6; }
13917
13918 for element in $INCINTL; do
13919 haveit=
13920 for x in $CPPFLAGS; do
13921
13922 acl_save_prefix="$prefix"
13923 prefix="$acl_final_prefix"
13924 acl_save_exec_prefix="$exec_prefix"
13925 exec_prefix="$acl_final_exec_prefix"
13926 eval x=\"$x\"
13927 exec_prefix="$acl_save_exec_prefix"
13928 prefix="$acl_save_prefix"
13929
13930 if test "X$x" = "X$element"; then
13931 haveit=yes
13932 break
13933 fi
13934 done
13935 if test -z "$haveit"; then
13936 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13937 fi
13938 done
13939
13940 fi
13941
13942
13943$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13944
13945
13946$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13947
13948 fi
13949
13950 POSUB=po
13951 fi
13952
13953
13954
13955 INTLLIBS="$LIBINTL"
13956
13957
13958
13959
13960
13961
13962po_makefile_in=po/Makefile.in
13963have_po="yes"
13964
13965
13966
13967if test "x${POSUB}" = "x" ; then
13968 have_po="no"
13969fi
13970
13971 if test "x${have_po}" = "xyes"; then
13972 HAVE_PO_TRUE=
13973 HAVE_PO_FALSE='#'
13974else
13975 HAVE_PO_TRUE='#'
13976 HAVE_PO_FALSE=
13977fi
13978
13979
13980with_max_log_level="<unset>"
13981
13982# Check whether --with-internal-maximum-log-level was given.
13983if test "${with_internal_maximum_log_level+set}" = set; then :
13984 withval=$with_internal_maximum_log_level;
13985 if test "x${withval}" != "xno"; then
13986 if echo "${withval}" | grep -E '^[0-9]+$' >/dev/null 2>/dev/null; then
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: ignoring any EINA_LOG() with level greater than ${withval}" >&5
13988$as_echo "$as_me: ignoring any EINA_LOG() with level greater than ${withval}" >&6;}
13989
13990cat >>confdefs.h <<_ACEOF
13991#define EINA_LOG_LEVEL_MAXIMUM ${withval}
13992_ACEOF
13993
13994 with_max_log_level="${withval}"
13995 else
13996 as_fn_error $? "--with-internal-maximum-log-level takes a decimal number, got \"${withval}\" instead." "$LINENO" 5
13997 fi
13998 fi
13999
14000else
14001 :
14002fi
14003
14004
14005
14006### Default options with respect to host
14007
14008
14009
14010
14011# dependencies and options
14012want_curl="no"
14013want_local_sockets="yes"
14014want_abstract_sockets="no"
14015want_gnutls="no"
14016want_openssl="no"
14017want_cares="no"
14018want_cipher="no"
14019want_signature="no"
14020want_poll="yes"
14021want_inotify="no"
14022want_notify_win32="no"
14023want_tslib="no"
14024want_glib="no"
14025
14026# core modules
14027want_ecore_con="yes"
14028want_ecore_ipc="yes"
14029want_ecore_file="yes"
14030#want_ecore_config="no"
14031want_ecore_imf="no"
14032want_ecore_input="yes"
14033
14034# graphic system modules
14035want_evas_simple_x11="no"
14036want_ecore_x_xcb="no"
14037want_ecore_x="no"
14038want_ecore_win32="no"
14039want_ecore_cocoa="no"
14040want_ecore_sdl="no"
14041want_ecore_psl1ght="no"
14042want_ecore_fb="no"
14043want_ecore_directfb="no"
14044want_ecore_wince="no"
14045
14046# ecore_x options (both xlib and xcb)
14047want_ecore_x_composite="yes"
14048want_ecore_x_damage="yes"
14049want_ecore_x_dpms="yes"
14050want_ecore_x_randr="yes"
14051want_ecore_x_render="yes"
14052want_ecore_x_screensaver="yes"
14053want_ecore_x_shape="yes"
14054want_ecore_x_gesture="no"
14055want_ecore_x_sync="yes"
14056want_ecore_x_xfixes="yes"
14057want_ecore_x_xinerama="yes"
14058want_ecore_x_xprint="yes"
14059want_ecore_x_xtest="yes"
14060want_ecore_x_cursor="yes"
14061want_ecore_x_input="yes"
14062want_ecore_x_dri="yes"
14063
14064# ecore_evas modules
14065want_ecore_evas="yes"
14066want_ecore_evas_software_buffer="yes"
14067want_ecore_evas_software_x11="no"
14068want_ecore_evas_opengl_x11="no"
14069want_ecore_evas_software_16_x11="no"
14070want_ecore_evas_software_8_x11="no"
14071want_ecore_evas_software_xcb="no"
14072want_ecore_evas_software_gdi="no"
14073want_ecore_evas_software_ddraw="no"
14074want_ecore_evas_direct3d="no"
14075want_ecore_evas_opengl_glew="no"
14076want_ecore_evas_software_16_ddraw="no"
14077want_ecore_evas_software_sdl="no"
14078want_ecore_evas_gl_sdl="no"
14079want_ecore_evas_gl_cocoa="no"
14080want_ecore_evas_psl1ght="no"
14081want_ecore_evas_directfb="no"
14082want_ecore_evas_fb="no"
14083want_ecore_evas_software_16_wince="no"
14084want_ecore_evas_ews="yes"
14085
14086# ecore_imf modules
14087want_ecore_imf_xim="no"
14088
14089case "$host_os" in
14090 mingw32ce* | cegcc*)
14091 want_ecore_con="no"
14092 want_ecore_ipc="no"
14093 want_ecore_wince="yes"
14094 want_ecore_evas_software_16_wince="yes"
14095 ;;
14096 mingw*)
14097 want_notify_win32="yes"
14098 want_curl="yes"
14099 want_glib="auto"
14100 want_gnutls="auto"
14101 want_openssl="auto"
14102 want_ecore_imf="yes"
14103 want_ecore_win32="yes"
14104 want_ecore_evas_software_gdi="yes"
14105 want_ecore_evas_software_ddraw="yes"
14106 want_ecore_evas_direct3d="yes"
14107 want_ecore_evas_opengl_glew="yes"
14108 want_ecore_evas_software_16_ddraw="auto"
14109 want_ecore_evas_software_sdl="yes"
14110 want_ecore_evas_gl_sdl="yes"
14111 ;;
14112 darwin*)
14113 want_curl="yes"
14114 want_glib="auto"
14115 want_gnutls="auto"
14116 want_openssl="auto"
14117 want_ecore_imf="yes"
14118 want_ecore_cocoa="yes"
14119 want_ecore_evas_software_sdl="yes"
14120 want_ecore_evas_gl_sdl="yes"
14121 want_ecore_evas_gl_cocoa="yes"
14122 ;;
14123 *)
14124 want_curl="yes"
14125 want_glib="auto"
14126 want_abstract_sockets="yes"
14127 want_gnutls="auto"
14128 want_openssl="auto"
14129 want_cipher="yes"
14130 want_signature="yes"
14131 want_inotify="yes"
14132 want_tslib="yes"
14133 want_ecore_fb="yes"
14134 want_ecore_imf="yes"
14135 want_ecore_x="yes"
14136 want_ecore_evas_software_x11="yes"
14137 want_ecore_evas_opengl_x11="yes"
14138 want_ecore_evas_software_16_x11="yes"
14139 want_ecore_evas_software_8_x11="yes"
14140 want_ecore_evas_software_xcb="no"
14141 want_ecore_evas_software_sdl="yes"
14142 want_ecore_evas_gl_sdl="yes"
14143 want_ecore_evas_gl_cocoa="no"
14144 want_ecore_evas_directfb="yes"
14145 want_ecore_evas_fb="yes"
14146 want_ecore_imf_xim="yes"
14147 ;;
14148esac
14149
14150case "$host_vendor" in
14151 ps3*)
14152 want_local_sockets="no"
14153 ;;
14154esac
14155requirements_ecore=""
14156requirements_ecore_con=""
14157#requirements_ecore_config=""
14158requirements_ecore_directfb=""
14159requirements_ecore_evas=""
14160requirements_ecore_fb=""
14161requirements_ecore_file=""
14162requirements_ecore_imf=""
14163requirements_ecore_imf_evas=""
14164requirements_ecore_input=""
14165requirements_ecore_input_evas=""
14166requirements_ecore_ipc=""
14167requirements_ecore_cocoa=""
14168requirements_ecore_sdl=""
14169requirements_ecore_psl1ght=""
14170requirements_ecore_x=""
14171requirements_ecore_win32=""
14172requirements_ecore_wince=""
14173requirements_ecore_imf_xim=""
14174
14175ac_fn_c_check_decl "$LINENO" "MAXHOSTNAMELEN" "ac_cv_have_decl_MAXHOSTNAMELEN" "$ac_includes_default"
14176if test "x$ac_cv_have_decl_MAXHOSTNAMELEN" = x""yes; then :
14177 FOUND_MAXHOSTNAMELEN=yes
14178fi
14179
14180
14181if test x$FOUND_MAXHOSTNAMELEN != xyes ; then
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for header that defines MAXHOSTNAMELEN" >&5
14183$as_echo_n "checking for header that defines MAXHOSTNAMELEN... " >&6; }
14184
14185 FOUND_MAXHOSTNAMELEN='not found'
14186
14187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14188/* end confdefs.h. */
14189#include <sys/param.h>
14190int
14191main ()
14192{
14193int h = MAXHOSTNAMELEN;
14194 ;
14195 return 0;
14196}
14197_ACEOF
14198if ac_fn_c_try_compile "$LINENO"; then :
14199 FOUND_MAXHOSTNAMELEN='sys/param.h'
14200
14201$as_echo "#define NEED_SYS_PARAM_H 1" >>confdefs.h
14202
14203fi
14204rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14205
14206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14207/* end confdefs.h. */
14208#include <netdb.h>
14209int
14210main ()
14211{
14212int h = MAXHOSTNAMELEN;
14213 ;
14214 return 0;
14215}
14216_ACEOF
14217if ac_fn_c_try_compile "$LINENO"; then :
14218 FOUND_MAXHOSTNAMELEN='netdb.h'
14219
14220$as_echo "#define NEED_NETDB_H 1" >>confdefs.h
14221
14222fi
14223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14224
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_MAXHOSTNAMELEN" >&5
14226$as_echo "$FOUND_MAXHOSTNAMELEN" >&6; }
14227fi
14228
14229### Additional options to configure
14230
14231want_glib_integration_always=no
14232# Check whether --enable-glib-integration-always was given.
14233if test "${enable_glib_integration_always+set}" = set; then :
14234 enableval=$enable_glib_integration_always; want_glib_integration_always=$enableval
14235fi
14236
14237
14238if test "x${want_glib_integration_always}" = "xyes" ; then
14239
14240$as_echo "#define GLIB_INTEGRATION_ALWAYS 1" >>confdefs.h
14241
14242 want_glib=yes
14243fi
14244
14245want_g_main_loop=no
14246# Check whether --enable-g-main-loop was given.
14247if test "${enable_g_main_loop+set}" = set; then :
14248 enableval=$enable_g_main_loop; want_g_main_loop=$enableval
14249fi
14250
14251
14252if test "x${want_g_main_loop}" = "xyes" ; then
14253
14254$as_echo "#define USE_G_MAIN_LOOP 1" >>confdefs.h
14255
14256 want_glib=yes
14257fi
14258
14259if test "x${want_glib_integration_always}" = "xyes" -a "x${want_g_main_loop}" = "xyes"; then
14260 as_fn_error $? "--enable-glib-integration-always and --enable-glib-main-loop are mutually exclusive" "$LINENO" 5
14261fi
14262
14263# local sockets (ecore_con.c)
14264# Check whether --enable-local-sockets was given.
14265if test "${enable_local_sockets+set}" = set; then :
14266 enableval=$enable_local_sockets;
14267 if test "x${enableval}" = "xyes" ; then
14268 want_ecore_con_local_sockets="yes"
14269 else
14270 want_ecore_con_local_sockets="no"
14271 fi
14272
14273else
14274 want_ecore_con_local_sockets=${want_local_sockets}
14275fi
14276
14277
14278if test "x${want_ecore_con_local_sockets}" = "xyes" ; then
14279
14280$as_echo "#define HAVE_LOCAL_SOCKETS 1" >>confdefs.h
14281
14282fi
14283
14284# abstract sockets (ecore_con.c)
14285# Check whether --enable-abstract-sockets was given.
14286if test "${enable_abstract_sockets+set}" = set; then :
14287 enableval=$enable_abstract_sockets;
14288 if test "x${enableval}" = "xyes" ; then
14289 want_ecore_con_abstract_sockets="yes"
14290 else
14291 want_ecore_con_abstract_sockets="no"
14292 fi
14293
14294else
14295 want_ecore_con_abstract_sockets=${want_abstract_sockets}
14296fi
14297
14298
14299if test "x${want_ecore_con_abstract_sockets}" = "xyes" ; then
14300
14301$as_echo "#define HAVE_ABSTRACT_SOCKETS 1" >>confdefs.h
14302
14303fi
14304
14305# Simple X11 build/link
14306
14307# Check whether --enable-simple-x11 was given.
14308if test "${enable_simple_x11+set}" = set; then :
14309 enableval=$enable_simple_x11; want_evas_simple_x11=$enableval
14310fi
14311
14312
14313# XIM
14314# Check whether --enable-xim was given.
14315if test "${enable_xim+set}" = set; then :
14316 enableval=$enable_xim;
14317 if test "x${enableval}" = "xyes" ; then
14318 want_xim="yes"
14319 else
14320 want_xim="no"
14321 fi
14322
14323else
14324 want_xim="yes"
14325fi
14326
14327
14328if test "x${want_xim}" = "xyes" ; then
14329
14330$as_echo "#define ENABLE_XIM 1" >>confdefs.h
14331
14332fi
14333
14334# Unit tests
14335
14336
14337
14338
14339
14340
14341
14342if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14343 if test -n "$ac_tool_prefix"; then
14344 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14345set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14347$as_echo_n "checking for $ac_word... " >&6; }
14348if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14349 $as_echo_n "(cached) " >&6
14350else
14351 case $PKG_CONFIG in
14352 [\\/]* | ?:[\\/]*)
14353 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14354 ;;
14355 *)
14356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14357for as_dir in $PATH
14358do
14359 IFS=$as_save_IFS
14360 test -z "$as_dir" && as_dir=.
14361 for ac_exec_ext in '' $ac_executable_extensions; do
14362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14363 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14365 break 2
14366 fi
14367done
14368 done
14369IFS=$as_save_IFS
14370
14371 ;;
14372esac
14373fi
14374PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14375if test -n "$PKG_CONFIG"; then
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14377$as_echo "$PKG_CONFIG" >&6; }
14378else
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14380$as_echo "no" >&6; }
14381fi
14382
14383
14384fi
14385if test -z "$ac_cv_path_PKG_CONFIG"; then
14386 ac_pt_PKG_CONFIG=$PKG_CONFIG
14387 # Extract the first word of "pkg-config", so it can be a program name with args.
14388set dummy pkg-config; ac_word=$2
14389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14390$as_echo_n "checking for $ac_word... " >&6; }
14391if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
14392 $as_echo_n "(cached) " >&6
14393else
14394 case $ac_pt_PKG_CONFIG in
14395 [\\/]* | ?:[\\/]*)
14396 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14397 ;;
14398 *)
14399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14400for as_dir in $PATH
14401do
14402 IFS=$as_save_IFS
14403 test -z "$as_dir" && as_dir=.
14404 for ac_exec_ext in '' $ac_executable_extensions; do
14405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14406 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14408 break 2
14409 fi
14410done
14411 done
14412IFS=$as_save_IFS
14413
14414 ;;
14415esac
14416fi
14417ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14418if test -n "$ac_pt_PKG_CONFIG"; then
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14420$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14421else
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14423$as_echo "no" >&6; }
14424fi
14425
14426 if test "x$ac_pt_PKG_CONFIG" = x; then
14427 PKG_CONFIG=""
14428 else
14429 case $cross_compiling:$ac_tool_warned in
14430yes:)
14431{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14432$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14433ac_tool_warned=yes ;;
14434esac
14435 PKG_CONFIG=$ac_pt_PKG_CONFIG
14436 fi
14437else
14438 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14439fi
14440
14441fi
14442if test -n "$PKG_CONFIG"; then
14443 _pkg_min_version=0.9.0
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14445$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14446 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14448$as_echo "yes" >&6; }
14449 else
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14451$as_echo "no" >&6; }
14452 PKG_CONFIG=""
14453 fi
14454fi
14455
14456
14457
14458# Check whether --enable-tests was given.
14459if test "${enable_tests+set}" = set; then :
14460 enableval=$enable_tests;
14461 if test "x${enableval}" = "xyes" ; then
14462 _efl_enable_tests="yes"
14463 else
14464 _efl_enable_tests="no"
14465 fi
14466
14467else
14468 _efl_enable_tests="no"
14469fi
14470
14471
14472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
14473$as_echo_n "checking whether tests are built... " >&6; }
14474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
14475$as_echo "${_efl_enable_tests}" >&6; }
14476
14477
14478
14479if test "x${_efl_enable_tests}" = "xyes" ; then
14480
14481pkg_failed=no
14482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
14483$as_echo_n "checking for CHECK... " >&6; }
14484
14485if test -n "$CHECK_CFLAGS"; then
14486 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
14487 elif test -n "$PKG_CONFIG"; then
14488 if test -n "$PKG_CONFIG" && \
14489 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
14490 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
14491 ac_status=$?
14492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14493 test $ac_status = 0; }; then
14494 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
14495else
14496 pkg_failed=yes
14497fi
14498 else
14499 pkg_failed=untried
14500fi
14501if test -n "$CHECK_LIBS"; then
14502 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
14503 elif test -n "$PKG_CONFIG"; then
14504 if test -n "$PKG_CONFIG" && \
14505 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
14506 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
14507 ac_status=$?
14508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14509 test $ac_status = 0; }; then
14510 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
14511else
14512 pkg_failed=yes
14513fi
14514 else
14515 pkg_failed=untried
14516fi
14517
14518
14519
14520if test $pkg_failed = yes; then
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14522$as_echo "no" >&6; }
14523
14524if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14525 _pkg_short_errors_supported=yes
14526else
14527 _pkg_short_errors_supported=no
14528fi
14529 if test $_pkg_short_errors_supported = yes; then
14530 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.5" 2>&1`
14531 else
14532 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.5" 2>&1`
14533 fi
14534 # Put the nasty error message in config.log where it belongs
14535 echo "$CHECK_PKG_ERRORS" >&5
14536
14537 _efl_enable_tests="no"
14538elif test $pkg_failed = untried; then
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14540$as_echo "no" >&6; }
14541 _efl_enable_tests="no"
14542else
14543 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
14544 CHECK_LIBS=$pkg_cv_CHECK_LIBS
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14546$as_echo "yes" >&6; }
14547 dummy="yes"
14548fi
14549fi
14550
14551 if test "x${_efl_enable_tests}" = "xyes"; then
14552 EFL_ENABLE_TESTS_TRUE=
14553 EFL_ENABLE_TESTS_FALSE='#'
14554else
14555 EFL_ENABLE_TESTS_TRUE='#'
14556 EFL_ENABLE_TESTS_FALSE=
14557fi
14558
14559
14560if test "x$_efl_enable_tests" = "xyes"; then :
14561 enable_tests="yes"
14562else
14563 enable_tests="no"
14564fi
14565
14566
14567### Checks for programs
14568
14569
14570 ac_ext=m
14571ac_cpp='$OBJCPP $CPPFLAGS'
14572ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14573ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14574ac_compiler_gnu=$ac_cv_objc_compiler_gnu
14575if test -n "$ac_tool_prefix"; then
14576 for ac_prog in gcc objcc objc cc CC
14577 do
14578 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14579set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14581$as_echo_n "checking for $ac_word... " >&6; }
14582if test "${ac_cv_prog_OBJC+set}" = set; then :
14583 $as_echo_n "(cached) " >&6
14584else
14585 if test -n "$OBJC"; then
14586 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
14587else
14588as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14589for as_dir in $PATH
14590do
14591 IFS=$as_save_IFS
14592 test -z "$as_dir" && as_dir=.
14593 for ac_exec_ext in '' $ac_executable_extensions; do
14594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14595 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
14596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14597 break 2
14598 fi
14599done
14600 done
14601IFS=$as_save_IFS
14602
14603fi
14604fi
14605OBJC=$ac_cv_prog_OBJC
14606if test -n "$OBJC"; then
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
14608$as_echo "$OBJC" >&6; }
14609else
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14611$as_echo "no" >&6; }
14612fi
14613
14614
14615 test -n "$OBJC" && break
14616 done
14617fi
14618if test -z "$OBJC"; then
14619 ac_ct_OBJC=$OBJC
14620 for ac_prog in gcc objcc objc cc CC
14621do
14622 # Extract the first word of "$ac_prog", so it can be a program name with args.
14623set dummy $ac_prog; ac_word=$2
14624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14625$as_echo_n "checking for $ac_word... " >&6; }
14626if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then :
14627 $as_echo_n "(cached) " >&6
14628else
14629 if test -n "$ac_ct_OBJC"; then
14630 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
14631else
14632as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14633for as_dir in $PATH
14634do
14635 IFS=$as_save_IFS
14636 test -z "$as_dir" && as_dir=.
14637 for ac_exec_ext in '' $ac_executable_extensions; do
14638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14639 ac_cv_prog_ac_ct_OBJC="$ac_prog"
14640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14641 break 2
14642 fi
14643done
14644 done
14645IFS=$as_save_IFS
14646
14647fi
14648fi
14649ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
14650if test -n "$ac_ct_OBJC"; then
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
14652$as_echo "$ac_ct_OBJC" >&6; }
14653else
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14655$as_echo "no" >&6; }
14656fi
14657
14658
14659 test -n "$ac_ct_OBJC" && break
14660done
14661
14662 if test "x$ac_ct_OBJC" = x; then
14663 OBJC="gcc"
14664 else
14665 case $cross_compiling:$ac_tool_warned in
14666yes:)
14667{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14668$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14669ac_tool_warned=yes ;;
14670esac
14671 OBJC=$ac_ct_OBJC
14672 fi
14673fi
14674
14675# Provide some information about the compiler.
14676$as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
14677set X $ac_compile
14678ac_compiler=$2
14679for ac_option in --version -v -V -qversion; do
14680 { { ac_try="$ac_compiler $ac_option >&5"
14681case "(($ac_try" in
14682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14683 *) ac_try_echo=$ac_try;;
14684esac
14685eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14686$as_echo "$ac_try_echo"; } >&5
14687 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14688 ac_status=$?
14689 if test -s conftest.err; then
14690 sed '10a\
14691... rest of stderr output deleted ...
14692 10q' conftest.err >conftest.er1
14693 cat conftest.er1 >&5
14694 fi
14695 rm -f conftest.er1 conftest.err
14696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14697 test $ac_status = 0; }
14698done
14699
14700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
14701$as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
14702if test "${ac_cv_objc_compiler_gnu+set}" = set; then :
14703 $as_echo_n "(cached) " >&6
14704else
14705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14706/* end confdefs.h. */
14707
14708int
14709main ()
14710{
14711#ifndef __GNUC__
14712 choke me
14713#endif
14714
14715 ;
14716 return 0;
14717}
14718_ACEOF
14719if ac_fn_objc_try_compile "$LINENO"; then :
14720 ac_compiler_gnu=yes
14721else
14722 ac_compiler_gnu=no
14723fi
14724rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14725ac_cv_objc_compiler_gnu=$ac_compiler_gnu
14726
14727fi
14728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
14729$as_echo "$ac_cv_objc_compiler_gnu" >&6; }
14730if test $ac_compiler_gnu = yes; then
14731 GOBJC=yes
14732else
14733 GOBJC=
14734fi
14735ac_test_OBJCFLAGS=${OBJCFLAGS+set}
14736ac_save_OBJCFLAGS=$OBJCFLAGS
14737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
14738$as_echo_n "checking whether $OBJC accepts -g... " >&6; }
14739if test "${ac_cv_prog_objc_g+set}" = set; then :
14740 $as_echo_n "(cached) " >&6
14741else
14742 ac_save_objc_werror_flag=$ac_objc_werror_flag
14743 ac_objc_werror_flag=yes
14744 ac_cv_prog_objc_g=no
14745 OBJCFLAGS="-g"
14746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14747/* end confdefs.h. */
14748
14749int
14750main ()
14751{
14752
14753 ;
14754 return 0;
14755}
14756_ACEOF
14757if ac_fn_objc_try_compile "$LINENO"; then :
14758 ac_cv_prog_objc_g=yes
14759else
14760 OBJCFLAGS=""
14761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14762/* end confdefs.h. */
14763
14764int
14765main ()
14766{
14767
14768 ;
14769 return 0;
14770}
14771_ACEOF
14772if ac_fn_objc_try_compile "$LINENO"; then :
14773
14774else
14775 ac_objc_werror_flag=$ac_save_objc_werror_flag
14776 OBJCFLAGS="-g"
14777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14778/* end confdefs.h. */
14779
14780int
14781main ()
14782{
14783
14784 ;
14785 return 0;
14786}
14787_ACEOF
14788if ac_fn_objc_try_compile "$LINENO"; then :
14789 ac_cv_prog_objc_g=yes
14790fi
14791rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14792fi
14793rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14794fi
14795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14796 ac_objc_werror_flag=$ac_save_objc_werror_flag
14797fi
14798{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
14799$as_echo "$ac_cv_prog_objc_g" >&6; }
14800if test "$ac_test_OBJCFLAGS" = set; then
14801 OBJCFLAGS=$ac_save_OBJCFLAGS
14802elif test $ac_cv_prog_objc_g = yes; then
14803 if test "$GOBJC" = yes; then
14804 OBJCFLAGS="-g -O2"
14805 else
14806 OBJCFLAGS="-g"
14807 fi
14808else
14809 if test "$GOBJC" = yes; then
14810 OBJCFLAGS="-O2"
14811 else
14812 OBJCFLAGS=
14813 fi
14814fi
14815ac_ext=c
14816ac_cpp='$CPP $CPPFLAGS'
14817ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14818ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14819ac_compiler_gnu=$ac_cv_c_compiler_gnu
14820
14821depcc="$OBJC" am_compiler_list='gcc3 gcc'
14822
14823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14824$as_echo_n "checking dependency style of $depcc... " >&6; }
14825if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then :
14826 $as_echo_n "(cached) " >&6
14827else
14828 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14829 # We make a subdir and do the tests there. Otherwise we can end up
14830 # making bogus files that we don't know about and never remove. For
14831 # instance it was reported that on HP-UX the gcc test will end up
14832 # making a dummy file named `D' -- because `-MD' means `put the output
14833 # in D'.
14834 mkdir conftest.dir
14835 # Copy depcomp to subdir because otherwise we won't find it if we're
14836 # using a relative directory.
14837 cp "$am_depcomp" conftest.dir
14838 cd conftest.dir
14839 # We will build objects and dependencies in a subdirectory because
14840 # it helps to detect inapplicable dependency modes. For instance
14841 # both Tru64's cc and ICC support -MD to output dependencies as a
14842 # side effect of compilation, but ICC will put the dependencies in
14843 # the current directory while Tru64 will put them in the object
14844 # directory.
14845 mkdir sub
14846
14847 am_cv_OBJC_dependencies_compiler_type=none
14848 if test "$am_compiler_list" = ""; then
14849 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14850 fi
14851 am__universal=false
14852
14853
14854 for depmode in $am_compiler_list; do
14855 # Setup a source with many dependencies, because some compilers
14856 # like to wrap large dependency lists on column 80 (with \), and
14857 # we should not choose a depcomp mode which is confused by this.
14858 #
14859 # We need to recreate these files for each test, as the compiler may
14860 # overwrite some of them when testing with obscure command lines.
14861 # This happens at least with the AIX C compiler.
14862 : > sub/conftest.c
14863 for i in 1 2 3 4 5 6; do
14864 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14865 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14866 # Solaris 8's {/usr,}/bin/sh.
14867 touch sub/conftst$i.h
14868 done
14869 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14870
14871 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14872 # mode. It turns out that the SunPro C++ compiler does not properly
14873 # handle `-M -o', and we need to detect this. Also, some Intel
14874 # versions had trouble with output in subdirs
14875 am__obj=sub/conftest.${OBJEXT-o}
14876 am__minus_obj="-o $am__obj"
14877 case $depmode in
14878 gcc)
14879 # This depmode causes a compiler race in universal mode.
14880 test "$am__universal" = false || continue
14881 ;;
14882 nosideeffect)
14883 # after this tag, mechanisms are not by side-effect, so they'll
14884 # only be used when explicitly requested
14885 if test "x$enable_dependency_tracking" = xyes; then
14886 continue
14887 else
14888 break
14889 fi
14890 ;;
14891 msvisualcpp | msvcmsys)
14892 # This compiler won't grok `-c -o', but also, the minuso test has
14893 # not run yet. These depmodes are late enough in the game, and
14894 # so weak that their functioning should not be impacted.
14895 am__obj=conftest.${OBJEXT-o}
14896 am__minus_obj=
14897 ;;
14898 none) break ;;
14899 esac
14900 if depmode=$depmode \
14901 source=sub/conftest.c object=$am__obj \
14902 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14903 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14904 >/dev/null 2>conftest.err &&
14905 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14906 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14907 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14908 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14909 # icc doesn't choke on unknown options, it will just issue warnings
14910 # or remarks (even with -Werror). So we grep stderr for any message
14911 # that says an option was ignored or not supported.
14912 # When given -MP, icc 7.0 and 7.1 complain thusly:
14913 # icc: Command line warning: ignoring option '-M'; no argument required
14914 # The diagnosis changed in icc 8.0:
14915 # icc: Command line remark: option '-MP' not supported
14916 if (grep 'ignoring option' conftest.err ||
14917 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14918 am_cv_OBJC_dependencies_compiler_type=$depmode
14919 break
14920 fi
14921 fi
14922 done
14923
14924 cd ..
14925 rm -rf conftest.dir
14926else
14927 am_cv_OBJC_dependencies_compiler_type=none
14928fi
14929
14930fi
14931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
14932$as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
14933OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
14934
14935 if
14936 test "x$enable_dependency_tracking" != xno \
14937 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
14938 am__fastdepOBJC_TRUE=
14939 am__fastdepOBJC_FALSE='#'
14940else
14941 am__fastdepOBJC_TRUE='#'
14942 am__fastdepOBJC_FALSE=
14943fi
14944
14945
14946
14947depcc="$OBJC" am_compiler_list='gcc3 gcc'
14948
14949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14950$as_echo_n "checking dependency style of $depcc... " >&6; }
14951if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then :
14952 $as_echo_n "(cached) " >&6
14953else
14954 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14955 # We make a subdir and do the tests there. Otherwise we can end up
14956 # making bogus files that we don't know about and never remove. For
14957 # instance it was reported that on HP-UX the gcc test will end up
14958 # making a dummy file named `D' -- because `-MD' means `put the output
14959 # in D'.
14960 mkdir conftest.dir
14961 # Copy depcomp to subdir because otherwise we won't find it if we're
14962 # using a relative directory.
14963 cp "$am_depcomp" conftest.dir
14964 cd conftest.dir
14965 # We will build objects and dependencies in a subdirectory because
14966 # it helps to detect inapplicable dependency modes. For instance
14967 # both Tru64's cc and ICC support -MD to output dependencies as a
14968 # side effect of compilation, but ICC will put the dependencies in
14969 # the current directory while Tru64 will put them in the object
14970 # directory.
14971 mkdir sub
14972
14973 am_cv_OBJC_dependencies_compiler_type=none
14974 if test "$am_compiler_list" = ""; then
14975 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14976 fi
14977 am__universal=false
14978
14979
14980 for depmode in $am_compiler_list; do
14981 # Setup a source with many dependencies, because some compilers
14982 # like to wrap large dependency lists on column 80 (with \), and
14983 # we should not choose a depcomp mode which is confused by this.
14984 #
14985 # We need to recreate these files for each test, as the compiler may
14986 # overwrite some of them when testing with obscure command lines.
14987 # This happens at least with the AIX C compiler.
14988 : > sub/conftest.c
14989 for i in 1 2 3 4 5 6; do
14990 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14991 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14992 # Solaris 8's {/usr,}/bin/sh.
14993 touch sub/conftst$i.h
14994 done
14995 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14996
14997 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14998 # mode. It turns out that the SunPro C++ compiler does not properly
14999 # handle `-M -o', and we need to detect this. Also, some Intel
15000 # versions had trouble with output in subdirs
15001 am__obj=sub/conftest.${OBJEXT-o}
15002 am__minus_obj="-o $am__obj"
15003 case $depmode in
15004 gcc)
15005 # This depmode causes a compiler race in universal mode.
15006 test "$am__universal" = false || continue
15007 ;;
15008 nosideeffect)
15009 # after this tag, mechanisms are not by side-effect, so they'll
15010 # only be used when explicitly requested
15011 if test "x$enable_dependency_tracking" = xyes; then
15012 continue
15013 else
15014 break
15015 fi
15016 ;;
15017 msvisualcpp | msvcmsys)
15018 # This compiler won't grok `-c -o', but also, the minuso test has
15019 # not run yet. These depmodes are late enough in the game, and
15020 # so weak that their functioning should not be impacted.
15021 am__obj=conftest.${OBJEXT-o}
15022 am__minus_obj=
15023 ;;
15024 none) break ;;
15025 esac
15026 if depmode=$depmode \
15027 source=sub/conftest.c object=$am__obj \
15028 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15029 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15030 >/dev/null 2>conftest.err &&
15031 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15032 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15033 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15034 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15035 # icc doesn't choke on unknown options, it will just issue warnings
15036 # or remarks (even with -Werror). So we grep stderr for any message
15037 # that says an option was ignored or not supported.
15038 # When given -MP, icc 7.0 and 7.1 complain thusly:
15039 # icc: Command line warning: ignoring option '-M'; no argument required
15040 # The diagnosis changed in icc 8.0:
15041 # icc: Command line remark: option '-MP' not supported
15042 if (grep 'ignoring option' conftest.err ||
15043 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15044 am_cv_OBJC_dependencies_compiler_type=$depmode
15045 break
15046 fi
15047 fi
15048 done
15049
15050 cd ..
15051 rm -rf conftest.dir
15052else
15053 am_cv_OBJC_dependencies_compiler_type=none
15054fi
15055
15056fi
15057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
15058$as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
15059OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
15060
15061 if
15062 test "x$enable_dependency_tracking" != xno \
15063 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
15064 am__fastdepOBJC_TRUE=
15065 am__fastdepOBJC_FALSE='#'
15066else
15067 am__fastdepOBJC_TRUE='#'
15068 am__fastdepOBJC_FALSE=
15069fi
15070
15071
15072
15073
15074 if false; then
15075 am__fastdepOBJC_TRUE=
15076 am__fastdepOBJC_FALSE='#'
15077else
15078 am__fastdepOBJC_TRUE='#'
15079 am__fastdepOBJC_FALSE=
15080fi
15081
15082
15083
15084ac_ext=cpp
15085ac_cpp='$CXXCPP $CPPFLAGS'
15086ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15087ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15088ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15089if test -z "$CXX"; then
15090 if test -n "$CCC"; then
15091 CXX=$CCC
15092 else
15093 if test -n "$ac_tool_prefix"; then
15094 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15095 do
15096 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15097set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15099$as_echo_n "checking for $ac_word... " >&6; }
15100if test "${ac_cv_prog_CXX+set}" = set; then :
15101 $as_echo_n "(cached) " >&6
15102else
15103 if test -n "$CXX"; then
15104 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15105else
15106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15107for as_dir in $PATH
15108do
15109 IFS=$as_save_IFS
15110 test -z "$as_dir" && as_dir=.
15111 for ac_exec_ext in '' $ac_executable_extensions; do
15112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15113 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15115 break 2
15116 fi
15117done
15118 done
15119IFS=$as_save_IFS
15120
15121fi
15122fi
15123CXX=$ac_cv_prog_CXX
15124if test -n "$CXX"; then
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
15126$as_echo "$CXX" >&6; }
15127else
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15129$as_echo "no" >&6; }
15130fi
15131
15132
15133 test -n "$CXX" && break
15134 done
15135fi
15136if test -z "$CXX"; then
15137 ac_ct_CXX=$CXX
15138 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15139do
15140 # Extract the first word of "$ac_prog", so it can be a program name with args.
15141set dummy $ac_prog; ac_word=$2
15142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15143$as_echo_n "checking for $ac_word... " >&6; }
15144if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
15145 $as_echo_n "(cached) " >&6
15146else
15147 if test -n "$ac_ct_CXX"; then
15148 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15149else
15150as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15151for as_dir in $PATH
15152do
15153 IFS=$as_save_IFS
15154 test -z "$as_dir" && as_dir=.
15155 for ac_exec_ext in '' $ac_executable_extensions; do
15156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15157 ac_cv_prog_ac_ct_CXX="$ac_prog"
15158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15159 break 2
15160 fi
15161done
15162 done
15163IFS=$as_save_IFS
15164
15165fi
15166fi
15167ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15168if test -n "$ac_ct_CXX"; then
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
15170$as_echo "$ac_ct_CXX" >&6; }
15171else
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15173$as_echo "no" >&6; }
15174fi
15175
15176
15177 test -n "$ac_ct_CXX" && break
15178done
15179
15180 if test "x$ac_ct_CXX" = x; then
15181 CXX="g++"
15182 else
15183 case $cross_compiling:$ac_tool_warned in
15184yes:)
15185{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15186$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15187ac_tool_warned=yes ;;
15188esac
15189 CXX=$ac_ct_CXX
15190 fi
15191fi
15192
15193 fi
15194fi
15195# Provide some information about the compiler.
15196$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
15197set X $ac_compile
15198ac_compiler=$2
15199for ac_option in --version -v -V -qversion; do
15200 { { ac_try="$ac_compiler $ac_option >&5"
15201case "(($ac_try" in
15202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15203 *) ac_try_echo=$ac_try;;
15204esac
15205eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15206$as_echo "$ac_try_echo"; } >&5
15207 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15208 ac_status=$?
15209 if test -s conftest.err; then
15210 sed '10a\
15211... rest of stderr output deleted ...
15212 10q' conftest.err >conftest.er1
15213 cat conftest.er1 >&5
15214 fi
15215 rm -f conftest.er1 conftest.err
15216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15217 test $ac_status = 0; }
15218done
15219
15220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
15221$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
15222if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
15223 $as_echo_n "(cached) " >&6
15224else
15225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15226/* end confdefs.h. */
15227
15228int
15229main ()
15230{
15231#ifndef __GNUC__
15232 choke me
15233#endif
15234
15235 ;
15236 return 0;
15237}
15238_ACEOF
15239if ac_fn_cxx_try_compile "$LINENO"; then :
15240 ac_compiler_gnu=yes
15241else
15242 ac_compiler_gnu=no
15243fi
15244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15245ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15246
15247fi
15248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
15249$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
15250if test $ac_compiler_gnu = yes; then
15251 GXX=yes
15252else
15253 GXX=
15254fi
15255ac_test_CXXFLAGS=${CXXFLAGS+set}
15256ac_save_CXXFLAGS=$CXXFLAGS
15257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
15258$as_echo_n "checking whether $CXX accepts -g... " >&6; }
15259if test "${ac_cv_prog_cxx_g+set}" = set; then :
15260 $as_echo_n "(cached) " >&6
15261else
15262 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15263 ac_cxx_werror_flag=yes
15264 ac_cv_prog_cxx_g=no
15265 CXXFLAGS="-g"
15266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15267/* end confdefs.h. */
15268
15269int
15270main ()
15271{
15272
15273 ;
15274 return 0;
15275}
15276_ACEOF
15277if ac_fn_cxx_try_compile "$LINENO"; then :
15278 ac_cv_prog_cxx_g=yes
15279else
15280 CXXFLAGS=""
15281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15282/* end confdefs.h. */
15283
15284int
15285main ()
15286{
15287
15288 ;
15289 return 0;
15290}
15291_ACEOF
15292if ac_fn_cxx_try_compile "$LINENO"; then :
15293
15294else
15295 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15296 CXXFLAGS="-g"
15297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15298/* end confdefs.h. */
15299
15300int
15301main ()
15302{
15303
15304 ;
15305 return 0;
15306}
15307_ACEOF
15308if ac_fn_cxx_try_compile "$LINENO"; then :
15309 ac_cv_prog_cxx_g=yes
15310fi
15311rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15312fi
15313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15314fi
15315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15316 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15317fi
15318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
15319$as_echo "$ac_cv_prog_cxx_g" >&6; }
15320if test "$ac_test_CXXFLAGS" = set; then
15321 CXXFLAGS=$ac_save_CXXFLAGS
15322elif test $ac_cv_prog_cxx_g = yes; then
15323 if test "$GXX" = yes; then
15324 CXXFLAGS="-g -O2"
15325 else
15326 CXXFLAGS="-g"
15327 fi
15328else
15329 if test "$GXX" = yes; then
15330 CXXFLAGS="-O2"
15331 else
15332 CXXFLAGS=
15333 fi
15334fi
15335ac_ext=c
15336ac_cpp='$CPP $CPPFLAGS'
15337ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15338ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15339ac_compiler_gnu=$ac_cv_c_compiler_gnu
15340
15341depcc="$CXX" am_compiler_list=
15342
15343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15344$as_echo_n "checking dependency style of $depcc... " >&6; }
15345if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
15346 $as_echo_n "(cached) " >&6
15347else
15348 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15349 # We make a subdir and do the tests there. Otherwise we can end up
15350 # making bogus files that we don't know about and never remove. For
15351 # instance it was reported that on HP-UX the gcc test will end up
15352 # making a dummy file named `D' -- because `-MD' means `put the output
15353 # in D'.
15354 mkdir conftest.dir
15355 # Copy depcomp to subdir because otherwise we won't find it if we're
15356 # using a relative directory.
15357 cp "$am_depcomp" conftest.dir
15358 cd conftest.dir
15359 # We will build objects and dependencies in a subdirectory because
15360 # it helps to detect inapplicable dependency modes. For instance
15361 # both Tru64's cc and ICC support -MD to output dependencies as a
15362 # side effect of compilation, but ICC will put the dependencies in
15363 # the current directory while Tru64 will put them in the object
15364 # directory.
15365 mkdir sub
15366
15367 am_cv_CXX_dependencies_compiler_type=none
15368 if test "$am_compiler_list" = ""; then
15369 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15370 fi
15371 am__universal=false
15372 case " $depcc " in #(
15373 *\ -arch\ *\ -arch\ *) am__universal=true ;;
15374 esac
15375
15376 for depmode in $am_compiler_list; do
15377 # Setup a source with many dependencies, because some compilers
15378 # like to wrap large dependency lists on column 80 (with \), and
15379 # we should not choose a depcomp mode which is confused by this.
15380 #
15381 # We need to recreate these files for each test, as the compiler may
15382 # overwrite some of them when testing with obscure command lines.
15383 # This happens at least with the AIX C compiler.
15384 : > sub/conftest.c
15385 for i in 1 2 3 4 5 6; do
15386 echo '#include "conftst'$i'.h"' >> sub/conftest.c
15387 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15388 # Solaris 8's {/usr,}/bin/sh.
15389 touch sub/conftst$i.h
15390 done
15391 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15392
15393 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15394 # mode. It turns out that the SunPro C++ compiler does not properly
15395 # handle `-M -o', and we need to detect this. Also, some Intel
15396 # versions had trouble with output in subdirs
15397 am__obj=sub/conftest.${OBJEXT-o}
15398 am__minus_obj="-o $am__obj"
15399 case $depmode in
15400 gcc)
15401 # This depmode causes a compiler race in universal mode.
15402 test "$am__universal" = false || continue
15403 ;;
15404 nosideeffect)
15405 # after this tag, mechanisms are not by side-effect, so they'll
15406 # only be used when explicitly requested
15407 if test "x$enable_dependency_tracking" = xyes; then
15408 continue
15409 else
15410 break
15411 fi
15412 ;;
15413 msvisualcpp | msvcmsys)
15414 # This compiler won't grok `-c -o', but also, the minuso test has
15415 # not run yet. These depmodes are late enough in the game, and
15416 # so weak that their functioning should not be impacted.
15417 am__obj=conftest.${OBJEXT-o}
15418 am__minus_obj=
15419 ;;
15420 none) break ;;
15421 esac
15422 if depmode=$depmode \
15423 source=sub/conftest.c object=$am__obj \
15424 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15425 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15426 >/dev/null 2>conftest.err &&
15427 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15428 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15429 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15430 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15431 # icc doesn't choke on unknown options, it will just issue warnings
15432 # or remarks (even with -Werror). So we grep stderr for any message
15433 # that says an option was ignored or not supported.
15434 # When given -MP, icc 7.0 and 7.1 complain thusly:
15435 # icc: Command line warning: ignoring option '-M'; no argument required
15436 # The diagnosis changed in icc 8.0:
15437 # icc: Command line remark: option '-MP' not supported
15438 if (grep 'ignoring option' conftest.err ||
15439 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15440 am_cv_CXX_dependencies_compiler_type=$depmode
15441 break
15442 fi
15443 fi
15444 done
15445
15446 cd ..
15447 rm -rf conftest.dir
15448else
15449 am_cv_CXX_dependencies_compiler_type=none
15450fi
15451
15452fi
15453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
15454$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
15455CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
15456
15457 if
15458 test "x$enable_dependency_tracking" != xno \
15459 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
15460 am__fastdepCXX_TRUE=
15461 am__fastdepCXX_FALSE='#'
15462else
15463 am__fastdepCXX_TRUE='#'
15464 am__fastdepCXX_FALSE=
15465fi
15466
15467
15468
15469ac_ext=cpp
15470ac_cpp='$CXXCPP $CPPFLAGS'
15471ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15472ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15473ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15474if test -z "$CXX"; then
15475 if test -n "$CCC"; then
15476 CXX=$CCC
15477 else
15478 if test -n "$ac_tool_prefix"; then
15479 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15480 do
15481 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15482set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15484$as_echo_n "checking for $ac_word... " >&6; }
15485if test "${ac_cv_prog_CXX+set}" = set; then :
15486 $as_echo_n "(cached) " >&6
15487else
15488 if test -n "$CXX"; then
15489 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15490else
15491as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15492for as_dir in $PATH
15493do
15494 IFS=$as_save_IFS
15495 test -z "$as_dir" && as_dir=.
15496 for ac_exec_ext in '' $ac_executable_extensions; do
15497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15498 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15500 break 2
15501 fi
15502done
15503 done
15504IFS=$as_save_IFS
15505
15506fi
15507fi
15508CXX=$ac_cv_prog_CXX
15509if test -n "$CXX"; then
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
15511$as_echo "$CXX" >&6; }
15512else
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15514$as_echo "no" >&6; }
15515fi
15516
15517
15518 test -n "$CXX" && break
15519 done
15520fi
15521if test -z "$CXX"; then
15522 ac_ct_CXX=$CXX
15523 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15524do
15525 # Extract the first word of "$ac_prog", so it can be a program name with args.
15526set dummy $ac_prog; ac_word=$2
15527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15528$as_echo_n "checking for $ac_word... " >&6; }
15529if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
15530 $as_echo_n "(cached) " >&6
15531else
15532 if test -n "$ac_ct_CXX"; then
15533 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15534else
15535as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15536for as_dir in $PATH
15537do
15538 IFS=$as_save_IFS
15539 test -z "$as_dir" && as_dir=.
15540 for ac_exec_ext in '' $ac_executable_extensions; do
15541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15542 ac_cv_prog_ac_ct_CXX="$ac_prog"
15543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15544 break 2
15545 fi
15546done
15547 done
15548IFS=$as_save_IFS
15549
15550fi
15551fi
15552ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15553if test -n "$ac_ct_CXX"; then
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
15555$as_echo "$ac_ct_CXX" >&6; }
15556else
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15558$as_echo "no" >&6; }
15559fi
15560
15561
15562 test -n "$ac_ct_CXX" && break
15563done
15564
15565 if test "x$ac_ct_CXX" = x; then
15566 CXX="g++"
15567 else
15568 case $cross_compiling:$ac_tool_warned in
15569yes:)
15570{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15571$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15572ac_tool_warned=yes ;;
15573esac
15574 CXX=$ac_ct_CXX
15575 fi
15576fi
15577
15578 fi
15579fi
15580# Provide some information about the compiler.
15581$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
15582set X $ac_compile
15583ac_compiler=$2
15584for ac_option in --version -v -V -qversion; do
15585 { { ac_try="$ac_compiler $ac_option >&5"
15586case "(($ac_try" in
15587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15588 *) ac_try_echo=$ac_try;;
15589esac
15590eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15591$as_echo "$ac_try_echo"; } >&5
15592 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15593 ac_status=$?
15594 if test -s conftest.err; then
15595 sed '10a\
15596... rest of stderr output deleted ...
15597 10q' conftest.err >conftest.er1
15598 cat conftest.er1 >&5
15599 fi
15600 rm -f conftest.er1 conftest.err
15601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15602 test $ac_status = 0; }
15603done
15604
15605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
15606$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
15607if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
15608 $as_echo_n "(cached) " >&6
15609else
15610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15611/* end confdefs.h. */
15612
15613int
15614main ()
15615{
15616#ifndef __GNUC__
15617 choke me
15618#endif
15619
15620 ;
15621 return 0;
15622}
15623_ACEOF
15624if ac_fn_cxx_try_compile "$LINENO"; then :
15625 ac_compiler_gnu=yes
15626else
15627 ac_compiler_gnu=no
15628fi
15629rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15630ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15631
15632fi
15633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
15634$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
15635if test $ac_compiler_gnu = yes; then
15636 GXX=yes
15637else
15638 GXX=
15639fi
15640ac_test_CXXFLAGS=${CXXFLAGS+set}
15641ac_save_CXXFLAGS=$CXXFLAGS
15642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
15643$as_echo_n "checking whether $CXX accepts -g... " >&6; }
15644if test "${ac_cv_prog_cxx_g+set}" = set; then :
15645 $as_echo_n "(cached) " >&6
15646else
15647 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15648 ac_cxx_werror_flag=yes
15649 ac_cv_prog_cxx_g=no
15650 CXXFLAGS="-g"
15651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15652/* end confdefs.h. */
15653
15654int
15655main ()
15656{
15657
15658 ;
15659 return 0;
15660}
15661_ACEOF
15662if ac_fn_cxx_try_compile "$LINENO"; then :
15663 ac_cv_prog_cxx_g=yes
15664else
15665 CXXFLAGS=""
15666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15667/* end confdefs.h. */
15668
15669int
15670main ()
15671{
15672
15673 ;
15674 return 0;
15675}
15676_ACEOF
15677if ac_fn_cxx_try_compile "$LINENO"; then :
15678
15679else
15680 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15681 CXXFLAGS="-g"
15682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15683/* end confdefs.h. */
15684
15685int
15686main ()
15687{
15688
15689 ;
15690 return 0;
15691}
15692_ACEOF
15693if ac_fn_cxx_try_compile "$LINENO"; then :
15694 ac_cv_prog_cxx_g=yes
15695fi
15696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15697fi
15698rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15699fi
15700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15701 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15702fi
15703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
15704$as_echo "$ac_cv_prog_cxx_g" >&6; }
15705if test "$ac_test_CXXFLAGS" = set; then
15706 CXXFLAGS=$ac_save_CXXFLAGS
15707elif test $ac_cv_prog_cxx_g = yes; then
15708 if test "$GXX" = yes; then
15709 CXXFLAGS="-g -O2"
15710 else
15711 CXXFLAGS="-g"
15712 fi
15713else
15714 if test "$GXX" = yes; then
15715 CXXFLAGS="-O2"
15716 else
15717 CXXFLAGS=
15718 fi
15719fi
15720ac_ext=c
15721ac_cpp='$CPP $CPPFLAGS'
15722ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15723ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15724ac_compiler_gnu=$ac_cv_c_compiler_gnu
15725
15726depcc="$CXX" am_compiler_list=
15727
15728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15729$as_echo_n "checking dependency style of $depcc... " >&6; }
15730if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
15731 $as_echo_n "(cached) " >&6
15732else
15733 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15734 # We make a subdir and do the tests there. Otherwise we can end up
15735 # making bogus files that we don't know about and never remove. For
15736 # instance it was reported that on HP-UX the gcc test will end up
15737 # making a dummy file named `D' -- because `-MD' means `put the output
15738 # in D'.
15739 mkdir conftest.dir
15740 # Copy depcomp to subdir because otherwise we won't find it if we're
15741 # using a relative directory.
15742 cp "$am_depcomp" conftest.dir
15743 cd conftest.dir
15744 # We will build objects and dependencies in a subdirectory because
15745 # it helps to detect inapplicable dependency modes. For instance
15746 # both Tru64's cc and ICC support -MD to output dependencies as a
15747 # side effect of compilation, but ICC will put the dependencies in
15748 # the current directory while Tru64 will put them in the object
15749 # directory.
15750 mkdir sub
15751
15752 am_cv_CXX_dependencies_compiler_type=none
15753 if test "$am_compiler_list" = ""; then
15754 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15755 fi
15756 am__universal=false
15757 case " $depcc " in #(
15758 *\ -arch\ *\ -arch\ *) am__universal=true ;;
15759 esac
15760
15761 for depmode in $am_compiler_list; do
15762 # Setup a source with many dependencies, because some compilers
15763 # like to wrap large dependency lists on column 80 (with \), and
15764 # we should not choose a depcomp mode which is confused by this.
15765 #
15766 # We need to recreate these files for each test, as the compiler may
15767 # overwrite some of them when testing with obscure command lines.
15768 # This happens at least with the AIX C compiler.
15769 : > sub/conftest.c
15770 for i in 1 2 3 4 5 6; do
15771 echo '#include "conftst'$i'.h"' >> sub/conftest.c
15772 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15773 # Solaris 8's {/usr,}/bin/sh.
15774 touch sub/conftst$i.h
15775 done
15776 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15777
15778 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15779 # mode. It turns out that the SunPro C++ compiler does not properly
15780 # handle `-M -o', and we need to detect this. Also, some Intel
15781 # versions had trouble with output in subdirs
15782 am__obj=sub/conftest.${OBJEXT-o}
15783 am__minus_obj="-o $am__obj"
15784 case $depmode in
15785 gcc)
15786 # This depmode causes a compiler race in universal mode.
15787 test "$am__universal" = false || continue
15788 ;;
15789 nosideeffect)
15790 # after this tag, mechanisms are not by side-effect, so they'll
15791 # only be used when explicitly requested
15792 if test "x$enable_dependency_tracking" = xyes; then
15793 continue
15794 else
15795 break
15796 fi
15797 ;;
15798 msvisualcpp | msvcmsys)
15799 # This compiler won't grok `-c -o', but also, the minuso test has
15800 # not run yet. These depmodes are late enough in the game, and
15801 # so weak that their functioning should not be impacted.
15802 am__obj=conftest.${OBJEXT-o}
15803 am__minus_obj=
15804 ;;
15805 none) break ;;
15806 esac
15807 if depmode=$depmode \
15808 source=sub/conftest.c object=$am__obj \
15809 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15810 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15811 >/dev/null 2>conftest.err &&
15812 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15813 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15814 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15815 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15816 # icc doesn't choke on unknown options, it will just issue warnings
15817 # or remarks (even with -Werror). So we grep stderr for any message
15818 # that says an option was ignored or not supported.
15819 # When given -MP, icc 7.0 and 7.1 complain thusly:
15820 # icc: Command line warning: ignoring option '-M'; no argument required
15821 # The diagnosis changed in icc 8.0:
15822 # icc: Command line remark: option '-MP' not supported
15823 if (grep 'ignoring option' conftest.err ||
15824 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15825 am_cv_CXX_dependencies_compiler_type=$depmode
15826 break
15827 fi
15828 fi
15829 done
15830
15831 cd ..
15832 rm -rf conftest.dir
15833else
15834 am_cv_CXX_dependencies_compiler_type=none
15835fi
15836
15837fi
15838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
15839$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
15840CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
15841
15842 if
15843 test "x$enable_dependency_tracking" != xno \
15844 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
15845 am__fastdepCXX_TRUE=
15846 am__fastdepCXX_FALSE='#'
15847else
15848 am__fastdepCXX_TRUE='#'
15849 am__fastdepCXX_FALSE=
15850fi
15851
15852
15853if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
15854 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
15855 (test "X$CXX" != "Xg++"))) ; then
15856 ac_ext=cpp
15857ac_cpp='$CXXCPP $CPPFLAGS'
15858ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15859ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15860ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
15862$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
15863if test -z "$CXXCPP"; then
15864 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
15865 $as_echo_n "(cached) " >&6
15866else
15867 # Double quotes because CXXCPP needs to be expanded
15868 for CXXCPP in "$CXX -E" "/lib/cpp"
15869 do
15870 ac_preproc_ok=false
15871for ac_cxx_preproc_warn_flag in '' yes
15872do
15873 # Use a header file that comes with gcc, so configuring glibc
15874 # with a fresh cross-compiler works.
15875 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15876 # <limits.h> exists even on freestanding compilers.
15877 # On the NeXT, cc -E runs the code through the compiler's parser,
15878 # not just through cpp. "Syntax error" is here to catch this case.
15879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15880/* end confdefs.h. */
15881#ifdef __STDC__
15882# include <limits.h>
15883#else
15884# include <assert.h>
15885#endif
15886 Syntax error
15887_ACEOF
15888if ac_fn_cxx_try_cpp "$LINENO"; then :
15889
15890else
15891 # Broken: fails on valid input.
15892continue
15893fi
15894rm -f conftest.err conftest.i conftest.$ac_ext
15895
15896 # OK, works on sane cases. Now check whether nonexistent headers
15897 # can be detected and how.
15898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15899/* end confdefs.h. */
15900#include <ac_nonexistent.h>
15901_ACEOF
15902if ac_fn_cxx_try_cpp "$LINENO"; then :
15903 # Broken: success on invalid input.
15904continue
15905else
15906 # Passes both tests.
15907ac_preproc_ok=:
15908break
15909fi
15910rm -f conftest.err conftest.i conftest.$ac_ext
15911
15912done
15913# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15914rm -f conftest.i conftest.err conftest.$ac_ext
15915if $ac_preproc_ok; then :
15916 break
15917fi
15918
15919 done
15920 ac_cv_prog_CXXCPP=$CXXCPP
15921
15922fi
15923 CXXCPP=$ac_cv_prog_CXXCPP
15924else
15925 ac_cv_prog_CXXCPP=$CXXCPP
15926fi
15927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
15928$as_echo "$CXXCPP" >&6; }
15929ac_preproc_ok=false
15930for ac_cxx_preproc_warn_flag in '' yes
15931do
15932 # Use a header file that comes with gcc, so configuring glibc
15933 # with a fresh cross-compiler works.
15934 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15935 # <limits.h> exists even on freestanding compilers.
15936 # On the NeXT, cc -E runs the code through the compiler's parser,
15937 # not just through cpp. "Syntax error" is here to catch this case.
15938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15939/* end confdefs.h. */
15940#ifdef __STDC__
15941# include <limits.h>
15942#else
15943# include <assert.h>
15944#endif
15945 Syntax error
15946_ACEOF
15947if ac_fn_cxx_try_cpp "$LINENO"; then :
15948
15949else
15950 # Broken: fails on valid input.
15951continue
15952fi
15953rm -f conftest.err conftest.i conftest.$ac_ext
15954
15955 # OK, works on sane cases. Now check whether nonexistent headers
15956 # can be detected and how.
15957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15958/* end confdefs.h. */
15959#include <ac_nonexistent.h>
15960_ACEOF
15961if ac_fn_cxx_try_cpp "$LINENO"; then :
15962 # Broken: success on invalid input.
15963continue
15964else
15965 # Passes both tests.
15966ac_preproc_ok=:
15967break
15968fi
15969rm -f conftest.err conftest.i conftest.$ac_ext
15970
15971done
15972# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15973rm -f conftest.i conftest.err conftest.$ac_ext
15974if $ac_preproc_ok; then :
15975
15976else
15977 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15978$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15979_lt_caught_CXX_error=yes; }
15980fi
15981
15982ac_ext=c
15983ac_cpp='$CPP $CPPFLAGS'
15984ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15985ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15986ac_compiler_gnu=$ac_cv_c_compiler_gnu
15987
15988else
15989 _lt_caught_CXX_error=yes
15990fi
15991
15992
15993
15994
15995ac_ext=cpp
15996ac_cpp='$CXXCPP $CPPFLAGS'
15997ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15998ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15999ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16000
16001archive_cmds_need_lc_CXX=no
16002allow_undefined_flag_CXX=
16003always_export_symbols_CXX=no
16004archive_expsym_cmds_CXX=
16005compiler_needs_object_CXX=no
16006export_dynamic_flag_spec_CXX=
16007hardcode_direct_CXX=no
16008hardcode_direct_absolute_CXX=no
16009hardcode_libdir_flag_spec_CXX=
16010hardcode_libdir_flag_spec_ld_CXX=
16011hardcode_libdir_separator_CXX=
16012hardcode_minus_L_CXX=no
16013hardcode_shlibpath_var_CXX=unsupported
16014hardcode_automatic_CXX=no
16015inherit_rpath_CXX=no
16016module_cmds_CXX=
16017module_expsym_cmds_CXX=
16018link_all_deplibs_CXX=unknown
16019old_archive_cmds_CXX=$old_archive_cmds
16020no_undefined_flag_CXX=
16021whole_archive_flag_spec_CXX=
16022enable_shared_with_static_runtimes_CXX=no
16023
16024# Source file extension for C++ test sources.
16025ac_ext=cpp
16026
16027# Object file extension for compiled C++ test sources.
16028objext=o
16029objext_CXX=$objext
16030
16031# No sense in running all these tests if we already determined that
16032# the CXX compiler isn't working. Some variables (like enable_shared)
16033# are currently assumed to apply to all compilers on this platform,
16034# and will be corrupted by setting them based on a non-working compiler.
16035if test "$_lt_caught_CXX_error" != yes; then
16036 # Code to be used in simple compile tests
16037 lt_simple_compile_test_code="int some_variable = 0;"
16038
16039 # Code to be used in simple link tests
16040 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
16041
16042 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16043
16044
16045
16046
16047
16048
16049# If no C compiler was specified, use CC.
16050LTCC=${LTCC-"$CC"}
16051
16052# If no C compiler flags were specified, use CFLAGS.
16053LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16054
16055# Allow CC to be a program name with arguments.
16056compiler=$CC
16057
16058
16059 # save warnings/boilerplate of simple test code
16060 ac_outfile=conftest.$ac_objext
16061echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16062eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16063_lt_compiler_boilerplate=`cat conftest.err`
16064$RM conftest*
16065
16066 ac_outfile=conftest.$ac_objext
16067echo "$lt_simple_link_test_code" >conftest.$ac_ext
16068eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16069_lt_linker_boilerplate=`cat conftest.err`
16070$RM -r conftest*
16071
16072
16073 # Allow CC to be a program name with arguments.
16074 lt_save_CC=$CC
16075 lt_save_LD=$LD
16076 lt_save_GCC=$GCC
16077 GCC=$GXX
16078 lt_save_with_gnu_ld=$with_gnu_ld
16079 lt_save_path_LD=$lt_cv_path_LD
16080 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
16081 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
16082 else
16083 $as_unset lt_cv_prog_gnu_ld
16084 fi
16085 if test -n "${lt_cv_path_LDCXX+set}"; then
16086 lt_cv_path_LD=$lt_cv_path_LDCXX
16087 else
16088 $as_unset lt_cv_path_LD
16089 fi
16090 test -z "${LDCXX+set}" || LD=$LDCXX
16091 CC=${CXX-"c++"}
16092 compiler=$CC
16093 compiler_CXX=$CC
16094 for cc_temp in $compiler""; do
16095 case $cc_temp in
16096 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16097 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16098 \-*) ;;
16099 *) break;;
16100 esac
16101done
16102cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16103
16104
16105 if test -n "$compiler"; then
16106 # We don't want -fno-exception when compiling C++ code, so set the
16107 # no_builtin_flag separately
16108 if test "$GXX" = yes; then
16109 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
16110 else
16111 lt_prog_compiler_no_builtin_flag_CXX=
16112 fi
16113
16114 if test "$GXX" = yes; then
16115 # Set up default GNU C++ configuration
16116
16117
16118
16119# Check whether --with-gnu-ld was given.
16120if test "${with_gnu_ld+set}" = set; then :
16121 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
16122else
16123 with_gnu_ld=no
16124fi
16125
16126ac_prog=ld
16127if test "$GCC" = yes; then
16128 # Check if gcc -print-prog-name=ld gives a path.
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
16130$as_echo_n "checking for ld used by $CC... " >&6; }
16131 case $host in
16132 *-*-mingw*)
16133 # gcc leaves a trailing carriage return which upsets mingw
16134 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16135 *)
16136 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16137 esac
16138 case $ac_prog in
16139 # Accept absolute paths.
16140 [\\/]* | ?:[\\/]*)
16141 re_direlt='/[^/][^/]*/\.\./'
16142 # Canonicalize the pathname of ld
16143 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
16144 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
16145 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
16146 done
16147 test -z "$LD" && LD="$ac_prog"
16148 ;;
16149 "")
16150 # If it fails, then pretend we aren't using GCC.
16151 ac_prog=ld
16152 ;;
16153 *)
16154 # If it is relative, then search for the first ld in PATH.
16155 with_gnu_ld=unknown
16156 ;;
16157 esac
16158elif test "$with_gnu_ld" = yes; then
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16160$as_echo_n "checking for GNU ld... " >&6; }
16161else
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16163$as_echo_n "checking for non-GNU ld... " >&6; }
16164fi
16165if test "${lt_cv_path_LD+set}" = set; then :
16166 $as_echo_n "(cached) " >&6
16167else
16168 if test -z "$LD"; then
16169 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16170 for ac_dir in $PATH; do
16171 IFS="$lt_save_ifs"
16172 test -z "$ac_dir" && ac_dir=.
16173 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16174 lt_cv_path_LD="$ac_dir/$ac_prog"
16175 # Check to see if the program is GNU ld. I'd rather use --version,
16176 # but apparently some variants of GNU ld only accept -v.
16177 # Break only if it was the GNU/non-GNU ld that we prefer.
16178 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16179 *GNU* | *'with BFD'*)
16180 test "$with_gnu_ld" != no && break
16181 ;;
16182 *)
16183 test "$with_gnu_ld" != yes && break
16184 ;;
16185 esac
16186 fi
16187 done
16188 IFS="$lt_save_ifs"
16189else
16190 lt_cv_path_LD="$LD" # Let the user override the test with a path.
16191fi
16192fi
16193
16194LD="$lt_cv_path_LD"
16195if test -n "$LD"; then
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16197$as_echo "$LD" >&6; }
16198else
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16200$as_echo "no" >&6; }
16201fi
16202test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16204$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16205if test "${lt_cv_prog_gnu_ld+set}" = set; then :
16206 $as_echo_n "(cached) " >&6
16207else
16208 # I'd rather use --version here, but apparently some GNU lds only accept -v.
16209case `$LD -v 2>&1 </dev/null` in
16210*GNU* | *'with BFD'*)
16211 lt_cv_prog_gnu_ld=yes
16212 ;;
16213*)
16214 lt_cv_prog_gnu_ld=no
16215 ;;
16216esac
16217fi
16218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
16219$as_echo "$lt_cv_prog_gnu_ld" >&6; }
16220with_gnu_ld=$lt_cv_prog_gnu_ld
16221
16222
16223
16224
16225
16226
16227
16228 # Check if GNU C++ uses GNU ld as the underlying linker, since the
16229 # archiving commands below assume that GNU ld is being used.
16230 if test "$with_gnu_ld" = yes; then
16231 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16232 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'
16233
16234 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16235 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16236
16237 # If archive_cmds runs LD, not CC, wlarc should be empty
16238 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
16239 # investigate it a little bit more. (MM)
16240 wlarc='${wl}'
16241
16242 # ancient GNU ld didn't support --whole-archive et. al.
16243 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
16244 $GREP 'no-whole-archive' > /dev/null; then
16245 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16246 else
16247 whole_archive_flag_spec_CXX=
16248 fi
16249 else
16250 with_gnu_ld=no
16251 wlarc=
16252
16253 # A generic and very simple default shared library creation
16254 # command for GNU C++ for the case where it uses the native
16255 # linker, instead of GNU ld. If possible, this setting should
16256 # overridden to take advantage of the native linker features on
16257 # the platform it is being used on.
16258 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16259 fi
16260
16261 # Commands to make compiler produce verbose output that lists
16262 # what "hidden" libraries, object files and flags are used when
16263 # linking a shared library.
16264 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
16265
16266 else
16267 GXX=no
16268 with_gnu_ld=no
16269 wlarc=
16270 fi
16271
16272 # PORTME: fill in a description of your system's C++ link characteristics
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16274$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16275 ld_shlibs_CXX=yes
16276 case $host_os in
16277 aix3*)
16278 # FIXME: insert proper C++ library support
16279 ld_shlibs_CXX=no
16280 ;;
16281 aix[4-9]*)
16282 if test "$host_cpu" = ia64; then
16283 # On IA64, the linker does run time linking by default, so we don't
16284 # have to do anything special.
16285 aix_use_runtimelinking=no
16286 exp_sym_flag='-Bexport'
16287 no_entry_flag=""
16288 else
16289 aix_use_runtimelinking=no
16290
16291 # Test if we are trying to use run time linking or normal
16292 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16293 # need to do runtime linking.
16294 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16295 for ld_flag in $LDFLAGS; do
16296 case $ld_flag in
16297 *-brtl*)
16298 aix_use_runtimelinking=yes
16299 break
16300 ;;
16301 esac
16302 done
16303 ;;
16304 esac
16305
16306 exp_sym_flag='-bexport'
16307 no_entry_flag='-bnoentry'
16308 fi
16309
16310 # When large executables or shared objects are built, AIX ld can
16311 # have problems creating the table of contents. If linking a library
16312 # or program results in "error TOC overflow" add -mminimal-toc to
16313 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16314 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16315
16316 archive_cmds_CXX=''
16317 hardcode_direct_CXX=yes
16318 hardcode_direct_absolute_CXX=yes
16319 hardcode_libdir_separator_CXX=':'
16320 link_all_deplibs_CXX=yes
16321 file_list_spec_CXX='${wl}-f,'
16322
16323 if test "$GXX" = yes; then
16324 case $host_os in aix4.[012]|aix4.[012].*)
16325 # We only want to do this on AIX 4.2 and lower, the check
16326 # below for broken collect2 doesn't work under 4.3+
16327 collect2name=`${CC} -print-prog-name=collect2`
16328 if test -f "$collect2name" &&
16329 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
16330 then
16331 # We have reworked collect2
16332 :
16333 else
16334 # We have old collect2
16335 hardcode_direct_CXX=unsupported
16336 # It fails to find uninstalled libraries when the uninstalled
16337 # path is not listed in the libpath. Setting hardcode_minus_L
16338 # to unsupported forces relinking
16339 hardcode_minus_L_CXX=yes
16340 hardcode_libdir_flag_spec_CXX='-L$libdir'
16341 hardcode_libdir_separator_CXX=
16342 fi
16343 esac
16344 shared_flag='-shared'
16345 if test "$aix_use_runtimelinking" = yes; then
16346 shared_flag="$shared_flag "'${wl}-G'
16347 fi
16348 else
16349 # not using gcc
16350 if test "$host_cpu" = ia64; then
16351 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16352 # chokes on -Wl,-G. The following line is correct:
16353 shared_flag='-G'
16354 else
16355 if test "$aix_use_runtimelinking" = yes; then
16356 shared_flag='${wl}-G'
16357 else
16358 shared_flag='${wl}-bM:SRE'
16359 fi
16360 fi
16361 fi
16362
16363 export_dynamic_flag_spec_CXX='${wl}-bexpall'
16364 # It seems that -bexpall does not export symbols beginning with
16365 # underscore (_), so it is better to generate a list of symbols to
16366 # export.
16367 always_export_symbols_CXX=yes
16368 if test "$aix_use_runtimelinking" = yes; then
16369 # Warning - without using the other runtime loading flags (-brtl),
16370 # -berok will link without error, but may produce a broken library.
16371 allow_undefined_flag_CXX='-berok'
16372 # Determine the default libpath from the value encoded in an empty
16373 # executable.
16374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16375/* end confdefs.h. */
16376
16377int
16378main ()
16379{
16380
16381 ;
16382 return 0;
16383}
16384_ACEOF
16385if ac_fn_cxx_try_link "$LINENO"; then :
16386
16387lt_aix_libpath_sed='
16388 /Import File Strings/,/^$/ {
16389 /^0/ {
16390 s/^0 *\(.*\)$/\1/
16391 p
16392 }
16393 }'
16394aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16395# Check for a 64-bit object if we didn't find anything.
16396if test -z "$aix_libpath"; then
16397 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16398fi
16399fi
16400rm -f core conftest.err conftest.$ac_objext \
16401 conftest$ac_exeext conftest.$ac_ext
16402if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16403
16404 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16405
16406 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"
16407 else
16408 if test "$host_cpu" = ia64; then
16409 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
16410 allow_undefined_flag_CXX="-z nodefs"
16411 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"
16412 else
16413 # Determine the default libpath from the value encoded in an
16414 # empty executable.
16415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16416/* end confdefs.h. */
16417
16418int
16419main ()
16420{
16421
16422 ;
16423 return 0;
16424}
16425_ACEOF
16426if ac_fn_cxx_try_link "$LINENO"; then :
16427
16428lt_aix_libpath_sed='
16429 /Import File Strings/,/^$/ {
16430 /^0/ {
16431 s/^0 *\(.*\)$/\1/
16432 p
16433 }
16434 }'
16435aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16436# Check for a 64-bit object if we didn't find anything.
16437if test -z "$aix_libpath"; then
16438 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16439fi
16440fi
16441rm -f core conftest.err conftest.$ac_objext \
16442 conftest$ac_exeext conftest.$ac_ext
16443if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16444
16445 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16446 # Warning - without using the other run time loading flags,
16447 # -berok will link without error, but may produce a broken library.
16448 no_undefined_flag_CXX=' ${wl}-bernotok'
16449 allow_undefined_flag_CXX=' ${wl}-berok'
16450 # Exported symbols can be pulled into shared objects from archives
16451 whole_archive_flag_spec_CXX='$convenience'
16452 archive_cmds_need_lc_CXX=yes
16453 # This is similar to how AIX traditionally builds its shared
16454 # libraries.
16455 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'
16456 fi
16457 fi
16458 ;;
16459
16460 beos*)
16461 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
16462 allow_undefined_flag_CXX=unsupported
16463 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16464 # support --undefined. This deserves some investigation. FIXME
16465 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16466 else
16467 ld_shlibs_CXX=no
16468 fi
16469 ;;
16470
16471 chorus*)
16472 case $cc_basename in
16473 *)
16474 # FIXME: insert proper C++ library support
16475 ld_shlibs_CXX=no
16476 ;;
16477 esac
16478 ;;
16479
16480 cygwin* | mingw* | pw32* | cegcc*)
16481 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
16482 # as there is no search path for DLLs.
16483 hardcode_libdir_flag_spec_CXX='-L$libdir'
16484 allow_undefined_flag_CXX=unsupported
16485 always_export_symbols_CXX=no
16486 enable_shared_with_static_runtimes_CXX=yes
16487
16488 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
16489 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'
16490 # If the export-symbols file already is a .def file (1st line
16491 # is EXPORTS), use it as is; otherwise, prepend...
16492 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16493 cp $export_symbols $output_objdir/$soname.def;
16494 else
16495 echo EXPORTS > $output_objdir/$soname.def;
16496 cat $export_symbols >> $output_objdir/$soname.def;
16497 fi~
16498 $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'
16499 else
16500 ld_shlibs_CXX=no
16501 fi
16502 ;;
16503 darwin* | rhapsody*)
16504
16505
16506 archive_cmds_need_lc_CXX=no
16507 hardcode_direct_CXX=no
16508 hardcode_automatic_CXX=yes
16509 hardcode_shlibpath_var_CXX=unsupported
16510 whole_archive_flag_spec_CXX=''
16511 link_all_deplibs_CXX=yes
16512 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
16513 case $cc_basename in
16514 ifort*) _lt_dar_can_shared=yes ;;
16515 *) _lt_dar_can_shared=$GCC ;;
16516 esac
16517 if test "$_lt_dar_can_shared" = "yes"; then
16518 output_verbose_link_cmd=echo
16519 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}"
16520 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
16521 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}"
16522 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}"
16523 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
16524 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}"
16525 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}"
16526 fi
16527
16528 else
16529 ld_shlibs_CXX=no
16530 fi
16531
16532 ;;
16533
16534 dgux*)
16535 case $cc_basename in
16536 ec++*)
16537 # FIXME: insert proper C++ library support
16538 ld_shlibs_CXX=no
16539 ;;
16540 ghcx*)
16541 # Green Hills C++ Compiler
16542 # FIXME: insert proper C++ library support
16543 ld_shlibs_CXX=no
16544 ;;
16545 *)
16546 # FIXME: insert proper C++ library support
16547 ld_shlibs_CXX=no
16548 ;;
16549 esac
16550 ;;
16551
16552 freebsd[12]*)
16553 # C++ shared libraries reported to be fairly broken before
16554 # switch to ELF
16555 ld_shlibs_CXX=no
16556 ;;
16557
16558 freebsd-elf*)
16559 archive_cmds_need_lc_CXX=no
16560 ;;
16561
16562 freebsd* | dragonfly*)
16563 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
16564 # conventions
16565 ld_shlibs_CXX=yes
16566 ;;
16567
16568 gnu*)
16569 ;;
16570
16571 hpux9*)
16572 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16573 hardcode_libdir_separator_CXX=:
16574 export_dynamic_flag_spec_CXX='${wl}-E'
16575 hardcode_direct_CXX=yes
16576 hardcode_minus_L_CXX=yes # Not in the search PATH,
16577 # but as the default
16578 # location of the library.
16579
16580 case $cc_basename in
16581 CC*)
16582 # FIXME: insert proper C++ library support
16583 ld_shlibs_CXX=no
16584 ;;
16585 aCC*)
16586 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'
16587 # Commands to make compiler produce verbose output that lists
16588 # what "hidden" libraries, object files and flags are used when
16589 # linking a shared library.
16590 #
16591 # There doesn't appear to be a way to prevent this compiler from
16592 # explicitly linking system object files so we need to strip them
16593 # from the output so that they don't get included in the library
16594 # dependencies.
16595 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'
16596 ;;
16597 *)
16598 if test "$GXX" = yes; then
16599 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'
16600 else
16601 # FIXME: insert proper C++ library support
16602 ld_shlibs_CXX=no
16603 fi
16604 ;;
16605 esac
16606 ;;
16607
16608 hpux10*|hpux11*)
16609 if test $with_gnu_ld = no; then
16610 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16611 hardcode_libdir_separator_CXX=:
16612
16613 case $host_cpu in
16614 hppa*64*|ia64*)
16615 ;;
16616 *)
16617 export_dynamic_flag_spec_CXX='${wl}-E'
16618 ;;
16619 esac
16620 fi
16621 case $host_cpu in
16622 hppa*64*|ia64*)
16623 hardcode_direct_CXX=no
16624 hardcode_shlibpath_var_CXX=no
16625 ;;
16626 *)
16627 hardcode_direct_CXX=yes
16628 hardcode_direct_absolute_CXX=yes
16629 hardcode_minus_L_CXX=yes # Not in the search PATH,
16630 # but as the default
16631 # location of the library.
16632 ;;
16633 esac
16634
16635 case $cc_basename in
16636 CC*)
16637 # FIXME: insert proper C++ library support
16638 ld_shlibs_CXX=no
16639 ;;
16640 aCC*)
16641 case $host_cpu in
16642 hppa*64*)
16643 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16644 ;;
16645 ia64*)
16646 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16647 ;;
16648 *)
16649 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16650 ;;
16651 esac
16652 # Commands to make compiler produce verbose output that lists
16653 # what "hidden" libraries, object files and flags are used when
16654 # linking a shared library.
16655 #
16656 # There doesn't appear to be a way to prevent this compiler from
16657 # explicitly linking system object files so we need to strip them
16658 # from the output so that they don't get included in the library
16659 # dependencies.
16660 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'
16661 ;;
16662 *)
16663 if test "$GXX" = yes; then
16664 if test $with_gnu_ld = no; then
16665 case $host_cpu in
16666 hppa*64*)
16667 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16668 ;;
16669 ia64*)
16670 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16671 ;;
16672 *)
16673 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'
16674 ;;
16675 esac
16676 fi
16677 else
16678 # FIXME: insert proper C++ library support
16679 ld_shlibs_CXX=no
16680 fi
16681 ;;
16682 esac
16683 ;;
16684
16685 interix[3-9]*)
16686 hardcode_direct_CXX=no
16687 hardcode_shlibpath_var_CXX=no
16688 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16689 export_dynamic_flag_spec_CXX='${wl}-E'
16690 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16691 # Instead, shared libraries are loaded at an image base (0x10000000 by
16692 # default) and relocated if they conflict, which is a slow very memory
16693 # consuming and fragmenting process. To avoid this, we pick a random,
16694 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16695 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16696 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'
16697 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'
16698 ;;
16699 irix5* | irix6*)
16700 case $cc_basename in
16701 CC*)
16702 # SGI C++
16703 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'
16704
16705 # Archives containing C++ object files must be created using
16706 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
16707 # necessary to make sure instantiated templates are included
16708 # in the archive.
16709 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
16710 ;;
16711 *)
16712 if test "$GXX" = yes; then
16713 if test "$with_gnu_ld" = no; then
16714 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'
16715 else
16716 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'
16717 fi
16718 fi
16719 link_all_deplibs_CXX=yes
16720 ;;
16721 esac
16722 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16723 hardcode_libdir_separator_CXX=:
16724 inherit_rpath_CXX=yes
16725 ;;
16726
16727 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16728 case $cc_basename in
16729 KCC*)
16730 # Kuck and Associates, Inc. (KAI) C++ Compiler
16731
16732 # KCC will only create a shared library if the output file
16733 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16734 # to its proper name (with version) after linking.
16735 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'
16736 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'
16737 # Commands to make compiler produce verbose output that lists
16738 # what "hidden" libraries, object files and flags are used when
16739 # linking a shared library.
16740 #
16741 # There doesn't appear to be a way to prevent this compiler from
16742 # explicitly linking system object files so we need to strip them
16743 # from the output so that they don't get included in the library
16744 # dependencies.
16745 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'
16746
16747 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16748 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16749
16750 # Archives containing C++ object files must be created using
16751 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16752 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
16753 ;;
16754 icpc* | ecpc* )
16755 # Intel C++
16756 with_gnu_ld=yes
16757 # version 8.0 and above of icpc choke on multiply defined symbols
16758 # if we add $predep_objects and $postdep_objects, however 7.1 and
16759 # earlier do not add the objects themselves.
16760 case `$CC -V 2>&1` in
16761 *"Version 7."*)
16762 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16763 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'
16764 ;;
16765 *) # Version 8.0 or newer
16766 tmp_idyn=
16767 case $host_cpu in
16768 ia64*) tmp_idyn=' -i_dynamic';;
16769 esac
16770 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16771 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'
16772 ;;
16773 esac
16774 archive_cmds_need_lc_CXX=no
16775 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16776 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16777 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
16778 ;;
16779 pgCC* | pgcpp*)
16780 # Portland Group C++ compiler
16781 case `$CC -V` in
16782 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
16783 prelink_cmds_CXX='tpldir=Template.dir~
16784 rm -rf $tpldir~
16785 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
16786 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
16787 old_archive_cmds_CXX='tpldir=Template.dir~
16788 rm -rf $tpldir~
16789 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
16790 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
16791 $RANLIB $oldlib'
16792 archive_cmds_CXX='tpldir=Template.dir~
16793 rm -rf $tpldir~
16794 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16795 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
16796 archive_expsym_cmds_CXX='tpldir=Template.dir~
16797 rm -rf $tpldir~
16798 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16799 $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'
16800 ;;
16801 *) # Version 6 will use weak symbols
16802 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
16803 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'
16804 ;;
16805 esac
16806
16807 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
16808 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16809 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'
16810 ;;
16811 cxx*)
16812 # Compaq C++
16813 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16814 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'
16815
16816 runpath_var=LD_RUN_PATH
16817 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16818 hardcode_libdir_separator_CXX=:
16819
16820 # Commands to make compiler produce verbose output that lists
16821 # what "hidden" libraries, object files and flags are used when
16822 # linking a shared library.
16823 #
16824 # There doesn't appear to be a way to prevent this compiler from
16825 # explicitly linking system object files so we need to strip them
16826 # from the output so that they don't get included in the library
16827 # dependencies.
16828 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'
16829 ;;
16830 xl*)
16831 # IBM XL 8.0 on PPC, with GNU ld
16832 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16833 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16834 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16835 if test "x$supports_anon_versioning" = xyes; then
16836 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
16837 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16838 echo "local: *; };" >> $output_objdir/$libname.ver~
16839 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16840 fi
16841 ;;
16842 *)
16843 case `$CC -V 2>&1 | sed 5q` in
16844 *Sun\ C*)
16845 # Sun C++ 5.9
16846 no_undefined_flag_CXX=' -zdefs'
16847 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16848 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'
16849 hardcode_libdir_flag_spec_CXX='-R$libdir'
16850 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'
16851 compiler_needs_object_CXX=yes
16852
16853 # Not sure whether something based on
16854 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
16855 # would be better.
16856 output_verbose_link_cmd='echo'
16857
16858 # Archives containing C++ object files must be created using
16859 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16860 # necessary to make sure instantiated templates are included
16861 # in the archive.
16862 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16863 ;;
16864 esac
16865 ;;
16866 esac
16867 ;;
16868
16869 lynxos*)
16870 # FIXME: insert proper C++ library support
16871 ld_shlibs_CXX=no
16872 ;;
16873
16874 m88k*)
16875 # FIXME: insert proper C++ library support
16876 ld_shlibs_CXX=no
16877 ;;
16878
16879 mvs*)
16880 case $cc_basename in
16881 cxx*)
16882 # FIXME: insert proper C++ library support
16883 ld_shlibs_CXX=no
16884 ;;
16885 *)
16886 # FIXME: insert proper C++ library support
16887 ld_shlibs_CXX=no
16888 ;;
16889 esac
16890 ;;
16891
16892 netbsd*)
16893 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16894 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16895 wlarc=
16896 hardcode_libdir_flag_spec_CXX='-R$libdir'
16897 hardcode_direct_CXX=yes
16898 hardcode_shlibpath_var_CXX=no
16899 fi
16900 # Workaround some broken pre-1.5 toolchains
16901 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16902 ;;
16903
16904 *nto* | *qnx*)
16905 ld_shlibs_CXX=yes
16906 ;;
16907
16908 openbsd2*)
16909 # C++ shared libraries are fairly broken
16910 ld_shlibs_CXX=no
16911 ;;
16912
16913 openbsd*)
16914 if test -f /usr/libexec/ld.so; then
16915 hardcode_direct_CXX=yes
16916 hardcode_shlibpath_var_CXX=no
16917 hardcode_direct_absolute_CXX=yes
16918 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16919 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16920 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16921 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
16922 export_dynamic_flag_spec_CXX='${wl}-E'
16923 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16924 fi
16925 output_verbose_link_cmd=echo
16926 else
16927 ld_shlibs_CXX=no
16928 fi
16929 ;;
16930
16931 osf3* | osf4* | osf5*)
16932 case $cc_basename in
16933 KCC*)
16934 # Kuck and Associates, Inc. (KAI) C++ Compiler
16935
16936 # KCC will only create a shared library if the output file
16937 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16938 # to its proper name (with version) after linking.
16939 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'
16940
16941 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16942 hardcode_libdir_separator_CXX=:
16943
16944 # Archives containing C++ object files must be created using
16945 # the KAI C++ compiler.
16946 case $host in
16947 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
16948 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
16949 esac
16950 ;;
16951 RCC*)
16952 # Rational C++ 2.4.1
16953 # FIXME: insert proper C++ library support
16954 ld_shlibs_CXX=no
16955 ;;
16956 cxx*)
16957 case $host in
16958 osf3*)
16959 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16960 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'
16961 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16962 ;;
16963 *)
16964 allow_undefined_flag_CXX=' -expect_unresolved \*'
16965 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'
16966 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16967 echo "-hidden">> $lib.exp~
16968 $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~
16969 $RM $lib.exp'
16970 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16971 ;;
16972 esac
16973
16974 hardcode_libdir_separator_CXX=:
16975
16976 # Commands to make compiler produce verbose output that lists
16977 # what "hidden" libraries, object files and flags are used when
16978 # linking a shared library.
16979 #
16980 # There doesn't appear to be a way to prevent this compiler from
16981 # explicitly linking system object files so we need to strip them
16982 # from the output so that they don't get included in the library
16983 # dependencies.
16984 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'
16985 ;;
16986 *)
16987 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16988 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16989 case $host in
16990 osf3*)
16991 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'
16992 ;;
16993 *)
16994 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'
16995 ;;
16996 esac
16997
16998 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16999 hardcode_libdir_separator_CXX=:
17000
17001 # Commands to make compiler produce verbose output that lists
17002 # what "hidden" libraries, object files and flags are used when
17003 # linking a shared library.
17004 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
17005
17006 else
17007 # FIXME: insert proper C++ library support
17008 ld_shlibs_CXX=no
17009 fi
17010 ;;
17011 esac
17012 ;;
17013
17014 psos*)
17015 # FIXME: insert proper C++ library support
17016 ld_shlibs_CXX=no
17017 ;;
17018
17019 sunos4*)
17020 case $cc_basename in
17021 CC*)
17022 # Sun C++ 4.x
17023 # FIXME: insert proper C++ library support
17024 ld_shlibs_CXX=no
17025 ;;
17026 lcc*)
17027 # Lucid
17028 # FIXME: insert proper C++ library support
17029 ld_shlibs_CXX=no
17030 ;;
17031 *)
17032 # FIXME: insert proper C++ library support
17033 ld_shlibs_CXX=no
17034 ;;
17035 esac
17036 ;;
17037
17038 solaris*)
17039 case $cc_basename in
17040 CC*)
17041 # Sun C++ 4.2, 5.x and Centerline C++
17042 archive_cmds_need_lc_CXX=yes
17043 no_undefined_flag_CXX=' -zdefs'
17044 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17045 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17046 $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'
17047
17048 hardcode_libdir_flag_spec_CXX='-R$libdir'
17049 hardcode_shlibpath_var_CXX=no
17050 case $host_os in
17051 solaris2.[0-5] | solaris2.[0-5].*) ;;
17052 *)
17053 # The compiler driver will combine and reorder linker options,
17054 # but understands `-z linker_flag'.
17055 # Supported since Solaris 2.6 (maybe 2.5.1?)
17056 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
17057 ;;
17058 esac
17059 link_all_deplibs_CXX=yes
17060
17061 output_verbose_link_cmd='echo'
17062
17063 # Archives containing C++ object files must be created using
17064 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17065 # necessary to make sure instantiated templates are included
17066 # in the archive.
17067 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
17068 ;;
17069 gcx*)
17070 # Green Hills C++ Compiler
17071 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17072
17073 # The C++ compiler must be used to create the archive.
17074 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
17075 ;;
17076 *)
17077 # GNU C++ compiler with Solaris linker
17078 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17079 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
17080 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
17081 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17082 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17083 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
17084
17085 # Commands to make compiler produce verbose output that lists
17086 # what "hidden" libraries, object files and flags are used when
17087 # linking a shared library.
17088 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
17089 else
17090 # g++ 2.7 appears to require `-G' NOT `-shared' on this
17091 # platform.
17092 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17093 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17094 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
17095
17096 # Commands to make compiler produce verbose output that lists
17097 # what "hidden" libraries, object files and flags are used when
17098 # linking a shared library.
17099 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
17100 fi
17101
17102 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
17103 case $host_os in
17104 solaris2.[0-5] | solaris2.[0-5].*) ;;
17105 *)
17106 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17107 ;;
17108 esac
17109 fi
17110 ;;
17111 esac
17112 ;;
17113
17114 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17115 no_undefined_flag_CXX='${wl}-z,text'
17116 archive_cmds_need_lc_CXX=no
17117 hardcode_shlibpath_var_CXX=no
17118 runpath_var='LD_RUN_PATH'
17119
17120 case $cc_basename in
17121 CC*)
17122 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17123 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17124 ;;
17125 *)
17126 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17127 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17128 ;;
17129 esac
17130 ;;
17131
17132 sysv5* | sco3.2v5* | sco5v6*)
17133 # Note: We can NOT use -z defs as we might desire, because we do not
17134 # link with -lc, and that would cause any symbols used from libc to
17135 # always be unresolved, which means just about no library would
17136 # ever link correctly. If we're not using GNU ld we use -z text
17137 # though, which does catch some bad symbols but isn't as heavy-handed
17138 # as -z defs.
17139 no_undefined_flag_CXX='${wl}-z,text'
17140 allow_undefined_flag_CXX='${wl}-z,nodefs'
17141 archive_cmds_need_lc_CXX=no
17142 hardcode_shlibpath_var_CXX=no
17143 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
17144 hardcode_libdir_separator_CXX=':'
17145 link_all_deplibs_CXX=yes
17146 export_dynamic_flag_spec_CXX='${wl}-Bexport'
17147 runpath_var='LD_RUN_PATH'
17148
17149 case $cc_basename in
17150 CC*)
17151 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17152 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17153 ;;
17154 *)
17155 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17156 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17157 ;;
17158 esac
17159 ;;
17160
17161 tandem*)
17162 case $cc_basename in
17163 NCC*)
17164 # NonStop-UX NCC 3.20
17165 # FIXME: insert proper C++ library support
17166 ld_shlibs_CXX=no
17167 ;;
17168 *)
17169 # FIXME: insert proper C++ library support
17170 ld_shlibs_CXX=no
17171 ;;
17172 esac
17173 ;;
17174
17175 vxworks*)
17176 # FIXME: insert proper C++ library support
17177 ld_shlibs_CXX=no
17178 ;;
17179
17180 *)
17181 # FIXME: insert proper C++ library support
17182 ld_shlibs_CXX=no
17183 ;;
17184 esac
17185
17186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17187$as_echo "$ld_shlibs_CXX" >&6; }
17188 test "$ld_shlibs_CXX" = no && can_build_shared=no
17189
17190 GCC_CXX="$GXX"
17191 LD_CXX="$LD"
17192
17193 ## CAVEAT EMPTOR:
17194 ## There is no encapsulation within the following macros, do not change
17195 ## the running order or otherwise move them around unless you know exactly
17196 ## what you are doing...
17197 # Dependencies to place before and after the object being linked:
17198predep_objects_CXX=
17199postdep_objects_CXX=
17200predeps_CXX=
17201postdeps_CXX=
17202compiler_lib_search_path_CXX=
17203
17204cat > conftest.$ac_ext <<_LT_EOF
17205class Foo
17206{
17207public:
17208 Foo (void) { a = 0; }
17209private:
17210 int a;
17211};
17212_LT_EOF
17213
17214if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17215 (eval $ac_compile) 2>&5
17216 ac_status=$?
17217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17218 test $ac_status = 0; }; then
17219 # Parse the compiler output and extract the necessary
17220 # objects, libraries and library flags.
17221
17222 # Sentinel used to keep track of whether or not we are before
17223 # the conftest object file.
17224 pre_test_object_deps_done=no
17225
17226 for p in `eval "$output_verbose_link_cmd"`; do
17227 case $p in
17228
17229 -L* | -R* | -l*)
17230 # Some compilers place space between "-{L,R}" and the path.
17231 # Remove the space.
17232 if test $p = "-L" ||
17233 test $p = "-R"; then
17234 prev=$p
17235 continue
17236 else
17237 prev=
17238 fi
17239
17240 if test "$pre_test_object_deps_done" = no; then
17241 case $p in
17242 -L* | -R*)
17243 # Internal compiler library paths should come after those
17244 # provided the user. The postdeps already come after the
17245 # user supplied libs so there is no need to process them.
17246 if test -z "$compiler_lib_search_path_CXX"; then
17247 compiler_lib_search_path_CXX="${prev}${p}"
17248 else
17249 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
17250 fi
17251 ;;
17252 # The "-l" case would never come before the object being
17253 # linked, so don't bother handling this case.
17254 esac
17255 else
17256 if test -z "$postdeps_CXX"; then
17257 postdeps_CXX="${prev}${p}"
17258 else
17259 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
17260 fi
17261 fi
17262 ;;
17263
17264 *.$objext)
17265 # This assumes that the test object file only shows up
17266 # once in the compiler output.
17267 if test "$p" = "conftest.$objext"; then
17268 pre_test_object_deps_done=yes
17269 continue
17270 fi
17271
17272 if test "$pre_test_object_deps_done" = no; then
17273 if test -z "$predep_objects_CXX"; then
17274 predep_objects_CXX="$p"
17275 else
17276 predep_objects_CXX="$predep_objects_CXX $p"
17277 fi
17278 else
17279 if test -z "$postdep_objects_CXX"; then
17280 postdep_objects_CXX="$p"
17281 else
17282 postdep_objects_CXX="$postdep_objects_CXX $p"
17283 fi
17284 fi
17285 ;;
17286
17287 *) ;; # Ignore the rest.
17288
17289 esac
17290 done
17291
17292 # Clean up.
17293 rm -f a.out a.exe
17294else
17295 echo "libtool.m4: error: problem compiling CXX test program"
17296fi
17297
17298$RM -f confest.$objext
17299
17300# PORTME: override above test on systems where it is broken
17301case $host_os in
17302interix[3-9]*)
17303 # Interix 3.5 installs completely hosed .la files for C++, so rather than
17304 # hack all around it, let's just trust "g++" to DTRT.
17305 predep_objects_CXX=
17306 postdep_objects_CXX=
17307 postdeps_CXX=
17308 ;;
17309
17310linux*)
17311 case `$CC -V 2>&1 | sed 5q` in
17312 *Sun\ C*)
17313 # Sun C++ 5.9
17314
17315 # The more standards-conforming stlport4 library is
17316 # incompatible with the Cstd library. Avoid specifying
17317 # it if it's in CXXFLAGS. Ignore libCrun as
17318 # -library=stlport4 depends on it.
17319 case " $CXX $CXXFLAGS " in
17320 *" -library=stlport4 "*)
17321 solaris_use_stlport4=yes
17322 ;;
17323 esac
17324
17325 if test "$solaris_use_stlport4" != yes; then
17326 postdeps_CXX='-library=Cstd -library=Crun'
17327 fi
17328 ;;
17329 esac
17330 ;;
17331
17332solaris*)
17333 case $cc_basename in
17334 CC*)
17335 # The more standards-conforming stlport4 library is
17336 # incompatible with the Cstd library. Avoid specifying
17337 # it if it's in CXXFLAGS. Ignore libCrun as
17338 # -library=stlport4 depends on it.
17339 case " $CXX $CXXFLAGS " in
17340 *" -library=stlport4 "*)
17341 solaris_use_stlport4=yes
17342 ;;
17343 esac
17344
17345 # Adding this requires a known-good setup of shared libraries for
17346 # Sun compiler versions before 5.6, else PIC objects from an old
17347 # archive will be linked into the output, leading to subtle bugs.
17348 if test "$solaris_use_stlport4" != yes; then
17349 postdeps_CXX='-library=Cstd -library=Crun'
17350 fi
17351 ;;
17352 esac
17353 ;;
17354esac
17355
17356
17357case " $postdeps_CXX " in
17358*" -lc "*) archive_cmds_need_lc_CXX=no ;;
17359esac
17360 compiler_lib_search_dirs_CXX=
17361if test -n "${compiler_lib_search_path_CXX}"; then
17362 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
17363fi
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395 lt_prog_compiler_wl_CXX=
17396lt_prog_compiler_pic_CXX=
17397lt_prog_compiler_static_CXX=
17398
17399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17400$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17401
17402 # C++ specific cases for pic, static, wl, etc.
17403 if test "$GXX" = yes; then
17404 lt_prog_compiler_wl_CXX='-Wl,'
17405 lt_prog_compiler_static_CXX='-static'
17406
17407 case $host_os in
17408 aix*)
17409 # All AIX code is PIC.
17410 if test "$host_cpu" = ia64; then
17411 # AIX 5 now supports IA64 processor
17412 lt_prog_compiler_static_CXX='-Bstatic'
17413 fi
17414 ;;
17415
17416 amigaos*)
17417 case $host_cpu in
17418 powerpc)
17419 # see comment about AmigaOS4 .so support
17420 lt_prog_compiler_pic_CXX='-fPIC'
17421 ;;
17422 m68k)
17423 # FIXME: we need at least 68020 code to build shared libraries, but
17424 # adding the `-m68020' flag to GCC prevents building anything better,
17425 # like `-m68040'.
17426 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
17427 ;;
17428 esac
17429 ;;
17430
17431 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17432 # PIC is the default for these OSes.
17433 ;;
17434 mingw* | cygwin* | os2* | pw32* | cegcc*)
17435 # This hack is so that the source file can tell whether it is being
17436 # built for inclusion in a dll (and should export symbols for example).
17437 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17438 # (--disable-auto-import) libraries
17439 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
17440 ;;
17441 darwin* | rhapsody*)
17442 # PIC is the default on this platform
17443 # Common symbols not allowed in MH_DYLIB files
17444 lt_prog_compiler_pic_CXX='-fno-common'
17445 ;;
17446 *djgpp*)
17447 # DJGPP does not support shared libraries at all
17448 lt_prog_compiler_pic_CXX=
17449 ;;
17450 interix[3-9]*)
17451 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17452 # Instead, we relocate shared libraries at runtime.
17453 ;;
17454 sysv4*MP*)
17455 if test -d /usr/nec; then
17456 lt_prog_compiler_pic_CXX=-Kconform_pic
17457 fi
17458 ;;
17459 hpux*)
17460 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17461 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
17462 # sets the default TLS model and affects inlining.
17463 case $host_cpu in
17464 hppa*64*)
17465 ;;
17466 *)
17467 lt_prog_compiler_pic_CXX='-fPIC'
17468 ;;
17469 esac
17470 ;;
17471 *qnx* | *nto*)
17472 # QNX uses GNU C++, but need to define -shared option too, otherwise
17473 # it will coredump.
17474 lt_prog_compiler_pic_CXX='-fPIC -shared'
17475 ;;
17476 *)
17477 lt_prog_compiler_pic_CXX='-fPIC'
17478 ;;
17479 esac
17480 else
17481 case $host_os in
17482 aix[4-9]*)
17483 # All AIX code is PIC.
17484 if test "$host_cpu" = ia64; then
17485 # AIX 5 now supports IA64 processor
17486 lt_prog_compiler_static_CXX='-Bstatic'
17487 else
17488 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
17489 fi
17490 ;;
17491 chorus*)
17492 case $cc_basename in
17493 cxch68*)
17494 # Green Hills C++ Compiler
17495 # _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"
17496 ;;
17497 esac
17498 ;;
17499 dgux*)
17500 case $cc_basename in
17501 ec++*)
17502 lt_prog_compiler_pic_CXX='-KPIC'
17503 ;;
17504 ghcx*)
17505 # Green Hills C++ Compiler
17506 lt_prog_compiler_pic_CXX='-pic'
17507 ;;
17508 *)
17509 ;;
17510 esac
17511 ;;
17512 freebsd* | dragonfly*)
17513 # FreeBSD uses GNU C++
17514 ;;
17515 hpux9* | hpux10* | hpux11*)
17516 case $cc_basename in
17517 CC*)
17518 lt_prog_compiler_wl_CXX='-Wl,'
17519 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
17520 if test "$host_cpu" != ia64; then
17521 lt_prog_compiler_pic_CXX='+Z'
17522 fi
17523 ;;
17524 aCC*)
17525 lt_prog_compiler_wl_CXX='-Wl,'
17526 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
17527 case $host_cpu in
17528 hppa*64*|ia64*)
17529 # +Z the default
17530 ;;
17531 *)
17532 lt_prog_compiler_pic_CXX='+Z'
17533 ;;
17534 esac
17535 ;;
17536 *)
17537 ;;
17538 esac
17539 ;;
17540 interix*)
17541 # This is c89, which is MS Visual C++ (no shared libs)
17542 # Anyone wants to do a port?
17543 ;;
17544 irix5* | irix6* | nonstopux*)
17545 case $cc_basename in
17546 CC*)
17547 lt_prog_compiler_wl_CXX='-Wl,'
17548 lt_prog_compiler_static_CXX='-non_shared'
17549 # CC pic flag -KPIC is the default.
17550 ;;
17551 *)
17552 ;;
17553 esac
17554 ;;
17555 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17556 case $cc_basename in
17557 KCC*)
17558 # KAI C++ Compiler
17559 lt_prog_compiler_wl_CXX='--backend -Wl,'
17560 lt_prog_compiler_pic_CXX='-fPIC'
17561 ;;
17562 ecpc* )
17563 # old Intel C++ for x86_64 which still supported -KPIC.
17564 lt_prog_compiler_wl_CXX='-Wl,'
17565 lt_prog_compiler_pic_CXX='-KPIC'
17566 lt_prog_compiler_static_CXX='-static'
17567 ;;
17568 icpc* )
17569 # Intel C++, used to be incompatible with GCC.
17570 # ICC 10 doesn't accept -KPIC any more.
17571 lt_prog_compiler_wl_CXX='-Wl,'
17572 lt_prog_compiler_pic_CXX='-fPIC'
17573 lt_prog_compiler_static_CXX='-static'
17574 ;;
17575 pgCC* | pgcpp*)
17576 # Portland Group C++ compiler
17577 lt_prog_compiler_wl_CXX='-Wl,'
17578 lt_prog_compiler_pic_CXX='-fpic'
17579 lt_prog_compiler_static_CXX='-Bstatic'
17580 ;;
17581 cxx*)
17582 # Compaq C++
17583 # Make sure the PIC flag is empty. It appears that all Alpha
17584 # Linux and Compaq Tru64 Unix objects are PIC.
17585 lt_prog_compiler_pic_CXX=
17586 lt_prog_compiler_static_CXX='-non_shared'
17587 ;;
17588 xlc* | xlC*)
17589 # IBM XL 8.0 on PPC
17590 lt_prog_compiler_wl_CXX='-Wl,'
17591 lt_prog_compiler_pic_CXX='-qpic'
17592 lt_prog_compiler_static_CXX='-qstaticlink'
17593 ;;
17594 *)
17595 case `$CC -V 2>&1 | sed 5q` in
17596 *Sun\ C*)
17597 # Sun C++ 5.9
17598 lt_prog_compiler_pic_CXX='-KPIC'
17599 lt_prog_compiler_static_CXX='-Bstatic'
17600 lt_prog_compiler_wl_CXX='-Qoption ld '
17601 ;;
17602 esac
17603 ;;
17604 esac
17605 ;;
17606 lynxos*)
17607 ;;
17608 m88k*)
17609 ;;
17610 mvs*)
17611 case $cc_basename in
17612 cxx*)
17613 lt_prog_compiler_pic_CXX='-W c,exportall'
17614 ;;
17615 *)
17616 ;;
17617 esac
17618 ;;
17619 netbsd* | netbsdelf*-gnu)
17620 ;;
17621 *qnx* | *nto*)
17622 # QNX uses GNU C++, but need to define -shared option too, otherwise
17623 # it will coredump.
17624 lt_prog_compiler_pic_CXX='-fPIC -shared'
17625 ;;
17626 osf3* | osf4* | osf5*)
17627 case $cc_basename in
17628 KCC*)
17629 lt_prog_compiler_wl_CXX='--backend -Wl,'
17630 ;;
17631 RCC*)
17632 # Rational C++ 2.4.1
17633 lt_prog_compiler_pic_CXX='-pic'
17634 ;;
17635 cxx*)
17636 # Digital/Compaq C++
17637 lt_prog_compiler_wl_CXX='-Wl,'
17638 # Make sure the PIC flag is empty. It appears that all Alpha
17639 # Linux and Compaq Tru64 Unix objects are PIC.
17640 lt_prog_compiler_pic_CXX=
17641 lt_prog_compiler_static_CXX='-non_shared'
17642 ;;
17643 *)
17644 ;;
17645 esac
17646 ;;
17647 psos*)
17648 ;;
17649 solaris*)
17650 case $cc_basename in
17651 CC*)
17652 # Sun C++ 4.2, 5.x and Centerline C++
17653 lt_prog_compiler_pic_CXX='-KPIC'
17654 lt_prog_compiler_static_CXX='-Bstatic'
17655 lt_prog_compiler_wl_CXX='-Qoption ld '
17656 ;;
17657 gcx*)
17658 # Green Hills C++ Compiler
17659 lt_prog_compiler_pic_CXX='-PIC'
17660 ;;
17661 *)
17662 ;;
17663 esac
17664 ;;
17665 sunos4*)
17666 case $cc_basename in
17667 CC*)
17668 # Sun C++ 4.x
17669 lt_prog_compiler_pic_CXX='-pic'
17670 lt_prog_compiler_static_CXX='-Bstatic'
17671 ;;
17672 lcc*)
17673 # Lucid
17674 lt_prog_compiler_pic_CXX='-pic'
17675 ;;
17676 *)
17677 ;;
17678 esac
17679 ;;
17680 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17681 case $cc_basename in
17682 CC*)
17683 lt_prog_compiler_wl_CXX='-Wl,'
17684 lt_prog_compiler_pic_CXX='-KPIC'
17685 lt_prog_compiler_static_CXX='-Bstatic'
17686 ;;
17687 esac
17688 ;;
17689 tandem*)
17690 case $cc_basename in
17691 NCC*)
17692 # NonStop-UX NCC 3.20
17693 lt_prog_compiler_pic_CXX='-KPIC'
17694 ;;
17695 *)
17696 ;;
17697 esac
17698 ;;
17699 vxworks*)
17700 ;;
17701 *)
17702 lt_prog_compiler_can_build_shared_CXX=no
17703 ;;
17704 esac
17705 fi
17706
17707case $host_os in
17708 # For platforms which do not support PIC, -DPIC is meaningless:
17709 *djgpp*)
17710 lt_prog_compiler_pic_CXX=
17711 ;;
17712 *)
17713 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
17714 ;;
17715esac
17716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
17717$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
17718
17719
17720
17721#
17722# Check to make sure the PIC flag actually works.
17723#
17724if test -n "$lt_prog_compiler_pic_CXX"; then
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
17726$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
17727if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
17728 $as_echo_n "(cached) " >&6
17729else
17730 lt_cv_prog_compiler_pic_works_CXX=no
17731 ac_outfile=conftest.$ac_objext
17732 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17733 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
17734 # Insert the option either (1) after the last *FLAGS variable, or
17735 # (2) before a word containing "conftest.", or (3) at the end.
17736 # Note that $ac_compile itself does not contain backslashes and begins
17737 # with a dollar sign (not a hyphen), so the echo should work correctly.
17738 # The option is referenced via a variable to avoid confusing sed.
17739 lt_compile=`echo "$ac_compile" | $SED \
17740 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17741 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17742 -e 's:$: $lt_compiler_flag:'`
17743 (eval echo "\"\$as_me:17743: $lt_compile\"" >&5)
17744 (eval "$lt_compile" 2>conftest.err)
17745 ac_status=$?
17746 cat conftest.err >&5
17747 echo "$as_me:17747: \$? = $ac_status" >&5
17748 if (exit $ac_status) && test -s "$ac_outfile"; then
17749 # The compiler can only warn and ignore the option if not recognized
17750 # So say no if there are warnings other than the usual output.
17751 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17752 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17753 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17754 lt_cv_prog_compiler_pic_works_CXX=yes
17755 fi
17756 fi
17757 $RM conftest*
17758
17759fi
17760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
17761$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
17762
17763if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
17764 case $lt_prog_compiler_pic_CXX in
17765 "" | " "*) ;;
17766 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
17767 esac
17768else
17769 lt_prog_compiler_pic_CXX=
17770 lt_prog_compiler_can_build_shared_CXX=no
17771fi
17772
17773fi
17774
17775
17776
17777#
17778# Check to make sure the static flag actually works.
17779#
17780wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
17781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17782$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17783if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
17784 $as_echo_n "(cached) " >&6
17785else
17786 lt_cv_prog_compiler_static_works_CXX=no
17787 save_LDFLAGS="$LDFLAGS"
17788 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17789 echo "$lt_simple_link_test_code" > conftest.$ac_ext
17790 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17791 # The linker can only warn and ignore the option if not recognized
17792 # So say no if there are warnings
17793 if test -s conftest.err; then
17794 # Append any errors to the config.log.
17795 cat conftest.err 1>&5
17796 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17797 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17798 if diff conftest.exp conftest.er2 >/dev/null; then
17799 lt_cv_prog_compiler_static_works_CXX=yes
17800 fi
17801 else
17802 lt_cv_prog_compiler_static_works_CXX=yes
17803 fi
17804 fi
17805 $RM -r conftest*
17806 LDFLAGS="$save_LDFLAGS"
17807
17808fi
17809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
17810$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
17811
17812if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
17813 :
17814else
17815 lt_prog_compiler_static_CXX=
17816fi
17817
17818
17819
17820
17821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17822$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17823if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
17824 $as_echo_n "(cached) " >&6
17825else
17826 lt_cv_prog_compiler_c_o_CXX=no
17827 $RM -r conftest 2>/dev/null
17828 mkdir conftest
17829 cd conftest
17830 mkdir out
17831 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17832
17833 lt_compiler_flag="-o out/conftest2.$ac_objext"
17834 # Insert the option either (1) after the last *FLAGS variable, or
17835 # (2) before a word containing "conftest.", or (3) at the end.
17836 # Note that $ac_compile itself does not contain backslashes and begins
17837 # with a dollar sign (not a hyphen), so the echo should work correctly.
17838 lt_compile=`echo "$ac_compile" | $SED \
17839 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17840 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17841 -e 's:$: $lt_compiler_flag:'`
17842 (eval echo "\"\$as_me:17842: $lt_compile\"" >&5)
17843 (eval "$lt_compile" 2>out/conftest.err)
17844 ac_status=$?
17845 cat out/conftest.err >&5
17846 echo "$as_me:17846: \$? = $ac_status" >&5
17847 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17848 then
17849 # The compiler can only warn and ignore the option if not recognized
17850 # So say no if there are warnings
17851 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17852 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17853 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17854 lt_cv_prog_compiler_c_o_CXX=yes
17855 fi
17856 fi
17857 chmod u+w . 2>&5
17858 $RM conftest*
17859 # SGI C++ compiler will create directory out/ii_files/ for
17860 # template instantiation
17861 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17862 $RM out/* && rmdir out
17863 cd ..
17864 $RM -r conftest
17865 $RM conftest*
17866
17867fi
17868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17869$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17870
17871
17872
17873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17874$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17875if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
17876 $as_echo_n "(cached) " >&6
17877else
17878 lt_cv_prog_compiler_c_o_CXX=no
17879 $RM -r conftest 2>/dev/null
17880 mkdir conftest
17881 cd conftest
17882 mkdir out
17883 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17884
17885 lt_compiler_flag="-o out/conftest2.$ac_objext"
17886 # Insert the option either (1) after the last *FLAGS variable, or
17887 # (2) before a word containing "conftest.", or (3) at the end.
17888 # Note that $ac_compile itself does not contain backslashes and begins
17889 # with a dollar sign (not a hyphen), so the echo should work correctly.
17890 lt_compile=`echo "$ac_compile" | $SED \
17891 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17892 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17893 -e 's:$: $lt_compiler_flag:'`
17894 (eval echo "\"\$as_me:17894: $lt_compile\"" >&5)
17895 (eval "$lt_compile" 2>out/conftest.err)
17896 ac_status=$?
17897 cat out/conftest.err >&5
17898 echo "$as_me:17898: \$? = $ac_status" >&5
17899 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17900 then
17901 # The compiler can only warn and ignore the option if not recognized
17902 # So say no if there are warnings
17903 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17904 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17905 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17906 lt_cv_prog_compiler_c_o_CXX=yes
17907 fi
17908 fi
17909 chmod u+w . 2>&5
17910 $RM conftest*
17911 # SGI C++ compiler will create directory out/ii_files/ for
17912 # template instantiation
17913 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17914 $RM out/* && rmdir out
17915 cd ..
17916 $RM -r conftest
17917 $RM conftest*
17918
17919fi
17920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17921$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17922
17923
17924
17925
17926hard_links="nottested"
17927if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
17928 # do not overwrite the value of need_locks provided by the user
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17930$as_echo_n "checking if we can lock with hard links... " >&6; }
17931 hard_links=yes
17932 $RM conftest*
17933 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17934 touch conftest.a
17935 ln conftest.a conftest.b 2>&5 || hard_links=no
17936 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17938$as_echo "$hard_links" >&6; }
17939 if test "$hard_links" = no; then
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17941$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17942 need_locks=warn
17943 fi
17944else
17945 need_locks=no
17946fi
17947
17948
17949
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17951$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17952
17953 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17954 case $host_os in
17955 aix[4-9]*)
17956 # If we're using GNU nm, then we don't want the "-C" option.
17957 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17958 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
17959 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'
17960 else
17961 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'
17962 fi
17963 ;;
17964 pw32*)
17965 export_symbols_cmds_CXX="$ltdll_cmds"
17966 ;;
17967 cygwin* | mingw* | cegcc*)
17968 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'
17969 ;;
17970 linux* | k*bsd*-gnu)
17971 link_all_deplibs_CXX=no
17972 ;;
17973 *)
17974 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17975 ;;
17976 esac
17977 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17978
17979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17980$as_echo "$ld_shlibs_CXX" >&6; }
17981test "$ld_shlibs_CXX" = no && can_build_shared=no
17982
17983with_gnu_ld_CXX=$with_gnu_ld
17984
17985
17986
17987
17988
17989
17990#
17991# Do we need to explicitly link libc?
17992#
17993case "x$archive_cmds_need_lc_CXX" in
17994x|xyes)
17995 # Assume -lc should be added
17996 archive_cmds_need_lc_CXX=yes
17997
17998 if test "$enable_shared" = yes && test "$GCC" = yes; then
17999 case $archive_cmds_CXX in
18000 *'~'*)
18001 # FIXME: we may have to deal with multi-command sequences.
18002 ;;
18003 '$CC '*)
18004 # Test whether the compiler implicitly links with -lc since on some
18005 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18006 # to ld, don't add -lc before -lgcc.
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18008$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18009 $RM conftest*
18010 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18011
18012 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18013 (eval $ac_compile) 2>&5
18014 ac_status=$?
18015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18016 test $ac_status = 0; } 2>conftest.err; then
18017 soname=conftest
18018 lib=conftest
18019 libobjs=conftest.$ac_objext
18020 deplibs=
18021 wl=$lt_prog_compiler_wl_CXX
18022 pic_flag=$lt_prog_compiler_pic_CXX
18023 compiler_flags=-v
18024 linker_flags=-v
18025 verstring=
18026 output_objdir=.
18027 libname=conftest
18028 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
18029 allow_undefined_flag_CXX=
18030 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18031 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
18032 ac_status=$?
18033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18034 test $ac_status = 0; }
18035 then
18036 archive_cmds_need_lc_CXX=no
18037 else
18038 archive_cmds_need_lc_CXX=yes
18039 fi
18040 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
18041 else
18042 cat conftest.err 1>&5
18043 fi
18044 $RM conftest*
18045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
18046$as_echo "$archive_cmds_need_lc_CXX" >&6; }
18047 ;;
18048 esac
18049 fi
18050 ;;
18051esac
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
18117$as_echo_n "checking dynamic linker characteristics... " >&6; }
18118
18119library_names_spec=
18120libname_spec='lib$name'
18121soname_spec=
18122shrext_cmds=".so"
18123postinstall_cmds=
18124postuninstall_cmds=
18125finish_cmds=
18126finish_eval=
18127shlibpath_var=
18128shlibpath_overrides_runpath=unknown
18129version_type=none
18130dynamic_linker="$host_os ld.so"
18131sys_lib_dlsearch_path_spec="/lib /usr/lib"
18132need_lib_prefix=unknown
18133hardcode_into_libs=no
18134
18135# when you set need_version to no, make sure it does not cause -set_version
18136# flags to be left without arguments
18137need_version=unknown
18138
18139case $host_os in
18140aix3*)
18141 version_type=linux
18142 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18143 shlibpath_var=LIBPATH
18144
18145 # AIX 3 has no versioning support, so we append a major version to the name.
18146 soname_spec='${libname}${release}${shared_ext}$major'
18147 ;;
18148
18149aix[4-9]*)
18150 version_type=linux
18151 need_lib_prefix=no
18152 need_version=no
18153 hardcode_into_libs=yes
18154 if test "$host_cpu" = ia64; then
18155 # AIX 5 supports IA64
18156 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18157 shlibpath_var=LD_LIBRARY_PATH
18158 else
18159 # With GCC up to 2.95.x, collect2 would create an import file
18160 # for dependence libraries. The import file would start with
18161 # the line `#! .'. This would cause the generated library to
18162 # depend on `.', always an invalid library. This was fixed in
18163 # development snapshots of GCC prior to 3.0.
18164 case $host_os in
18165 aix4 | aix4.[01] | aix4.[01].*)
18166 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18167 echo ' yes '
18168 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
18169 :
18170 else
18171 can_build_shared=no
18172 fi
18173 ;;
18174 esac
18175 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18176 # soname into executable. Probably we can add versioning support to
18177 # collect2, so additional links can be useful in future.
18178 if test "$aix_use_runtimelinking" = yes; then
18179 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18180 # instead of lib<name>.a to let people know that these are not
18181 # typical AIX shared libraries.
18182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18183 else
18184 # We preserve .a as extension for shared libraries through AIX4.2
18185 # and later when we are not doing run time linking.
18186 library_names_spec='${libname}${release}.a $libname.a'
18187 soname_spec='${libname}${release}${shared_ext}$major'
18188 fi
18189 shlibpath_var=LIBPATH
18190 fi
18191 ;;
18192
18193amigaos*)
18194 case $host_cpu in
18195 powerpc)
18196 # Since July 2007 AmigaOS4 officially supports .so libraries.
18197 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
18198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18199 ;;
18200 m68k)
18201 library_names_spec='$libname.ixlibrary $libname.a'
18202 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18203 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'
18204 ;;
18205 esac
18206 ;;
18207
18208beos*)
18209 library_names_spec='${libname}${shared_ext}'
18210 dynamic_linker="$host_os ld.so"
18211 shlibpath_var=LIBRARY_PATH
18212 ;;
18213
18214bsdi[45]*)
18215 version_type=linux
18216 need_version=no
18217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18218 soname_spec='${libname}${release}${shared_ext}$major'
18219 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18220 shlibpath_var=LD_LIBRARY_PATH
18221 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18222 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18223 # the default ld.so.conf also contains /usr/contrib/lib and
18224 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18225 # libtool to hard-code these into programs
18226 ;;
18227
18228cygwin* | mingw* | pw32* | cegcc*)
18229 version_type=windows
18230 shrext_cmds=".dll"
18231 need_version=no
18232 need_lib_prefix=no
18233
18234 case $GCC,$host_os in
18235 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
18236 library_names_spec='$libname.dll.a'
18237 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18238 postinstall_cmds='base_file=`basename \${file}`~
18239 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
18240 dldir=$destdir/`dirname \$dlpath`~
18241 test -d \$dldir || mkdir -p \$dldir~
18242 $install_prog $dir/$dlname \$dldir/$dlname~
18243 chmod a+x \$dldir/$dlname~
18244 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18245 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18246 fi'
18247 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18248 dlpath=$dir/\$dldll~
18249 $RM \$dlpath'
18250 shlibpath_overrides_runpath=yes
18251
18252 case $host_os in
18253 cygwin*)
18254 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18255 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18256 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18257 ;;
18258 mingw* | cegcc*)
18259 # MinGW DLLs use traditional 'lib' prefix
18260 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18261 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18262 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
18263 # It is most probably a Windows format PATH printed by
18264 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18265 # path with ; separators, and with drive letters. We can handle the
18266 # drive letters (cygwin fileutils understands them), so leave them,
18267 # especially as we might pass files found there to a mingw objdump,
18268 # which wouldn't understand a cygwinified path. Ahh.
18269 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18270 else
18271 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18272 fi
18273 ;;
18274 pw32*)
18275 # pw32 DLLs use 'pw' prefix rather than 'lib'
18276 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18277 ;;
18278 esac
18279 ;;
18280
18281 *)
18282 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18283 ;;
18284 esac
18285 dynamic_linker='Win32 ld.exe'
18286 # FIXME: first we should search . and the directory the executable is in
18287 shlibpath_var=PATH
18288 ;;
18289
18290darwin* | rhapsody*)
18291 dynamic_linker="$host_os dyld"
18292 version_type=darwin
18293 need_lib_prefix=no
18294 need_version=no
18295 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18296 soname_spec='${libname}${release}${major}$shared_ext'
18297 shlibpath_overrides_runpath=yes
18298 shlibpath_var=DYLD_LIBRARY_PATH
18299 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18300
18301 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18302 ;;
18303
18304dgux*)
18305 version_type=linux
18306 need_lib_prefix=no
18307 need_version=no
18308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18309 soname_spec='${libname}${release}${shared_ext}$major'
18310 shlibpath_var=LD_LIBRARY_PATH
18311 ;;
18312
18313freebsd1*)
18314 dynamic_linker=no
18315 ;;
18316
18317freebsd* | dragonfly*)
18318 # DragonFly does not have aout. When/if they implement a new
18319 # versioning mechanism, adjust this.
18320 if test -x /usr/bin/objformat; then
18321 objformat=`/usr/bin/objformat`
18322 else
18323 case $host_os in
18324 freebsd[123]*) objformat=aout ;;
18325 *) objformat=elf ;;
18326 esac
18327 fi
18328 version_type=freebsd-$objformat
18329 case $version_type in
18330 freebsd-elf*)
18331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18332 need_version=no
18333 need_lib_prefix=no
18334 ;;
18335 freebsd-*)
18336 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18337 need_version=yes
18338 ;;
18339 esac
18340 shlibpath_var=LD_LIBRARY_PATH
18341 case $host_os in
18342 freebsd2*)
18343 shlibpath_overrides_runpath=yes
18344 ;;
18345 freebsd3.[01]* | freebsdelf3.[01]*)
18346 shlibpath_overrides_runpath=yes
18347 hardcode_into_libs=yes
18348 ;;
18349 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18350 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18351 shlibpath_overrides_runpath=no
18352 hardcode_into_libs=yes
18353 ;;
18354 *) # from 4.6 on, and DragonFly
18355 shlibpath_overrides_runpath=yes
18356 hardcode_into_libs=yes
18357 ;;
18358 esac
18359 ;;
18360
18361gnu*)
18362 version_type=linux
18363 need_lib_prefix=no
18364 need_version=no
18365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18366 soname_spec='${libname}${release}${shared_ext}$major'
18367 shlibpath_var=LD_LIBRARY_PATH
18368 hardcode_into_libs=yes
18369 ;;
18370
18371hpux9* | hpux10* | hpux11*)
18372 # Give a soname corresponding to the major version so that dld.sl refuses to
18373 # link against other versions.
18374 version_type=sunos
18375 need_lib_prefix=no
18376 need_version=no
18377 case $host_cpu in
18378 ia64*)
18379 shrext_cmds='.so'
18380 hardcode_into_libs=yes
18381 dynamic_linker="$host_os dld.so"
18382 shlibpath_var=LD_LIBRARY_PATH
18383 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18385 soname_spec='${libname}${release}${shared_ext}$major'
18386 if test "X$HPUX_IA64_MODE" = X32; then
18387 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18388 else
18389 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18390 fi
18391 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18392 ;;
18393 hppa*64*)
18394 shrext_cmds='.sl'
18395 hardcode_into_libs=yes
18396 dynamic_linker="$host_os dld.sl"
18397 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18398 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18400 soname_spec='${libname}${release}${shared_ext}$major'
18401 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18402 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18403 ;;
18404 *)
18405 shrext_cmds='.sl'
18406 dynamic_linker="$host_os dld.sl"
18407 shlibpath_var=SHLIB_PATH
18408 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18410 soname_spec='${libname}${release}${shared_ext}$major'
18411 ;;
18412 esac
18413 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18414 postinstall_cmds='chmod 555 $lib'
18415 ;;
18416
18417interix[3-9]*)
18418 version_type=linux
18419 need_lib_prefix=no
18420 need_version=no
18421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18422 soname_spec='${libname}${release}${shared_ext}$major'
18423 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18424 shlibpath_var=LD_LIBRARY_PATH
18425 shlibpath_overrides_runpath=no
18426 hardcode_into_libs=yes
18427 ;;
18428
18429irix5* | irix6* | nonstopux*)
18430 case $host_os in
18431 nonstopux*) version_type=nonstopux ;;
18432 *)
18433 if test "$lt_cv_prog_gnu_ld" = yes; then
18434 version_type=linux
18435 else
18436 version_type=irix
18437 fi ;;
18438 esac
18439 need_lib_prefix=no
18440 need_version=no
18441 soname_spec='${libname}${release}${shared_ext}$major'
18442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18443 case $host_os in
18444 irix5* | nonstopux*)
18445 libsuff= shlibsuff=
18446 ;;
18447 *)
18448 case $LD in # libtool.m4 will add one of these switches to LD
18449 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18450 libsuff= shlibsuff= libmagic=32-bit;;
18451 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18452 libsuff=32 shlibsuff=N32 libmagic=N32;;
18453 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18454 libsuff=64 shlibsuff=64 libmagic=64-bit;;
18455 *) libsuff= shlibsuff= libmagic=never-match;;
18456 esac
18457 ;;
18458 esac
18459 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18460 shlibpath_overrides_runpath=no
18461 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18462 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18463 hardcode_into_libs=yes
18464 ;;
18465
18466# No shared lib support for Linux oldld, aout, or coff.
18467linux*oldld* | linux*aout* | linux*coff*)
18468 dynamic_linker=no
18469 ;;
18470
18471# This must be Linux ELF.
18472linux* | k*bsd*-gnu | kopensolaris*-gnu)
18473 version_type=linux
18474 need_lib_prefix=no
18475 need_version=no
18476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18477 soname_spec='${libname}${release}${shared_ext}$major'
18478 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18479 shlibpath_var=LD_LIBRARY_PATH
18480 shlibpath_overrides_runpath=no
18481 # Some binutils ld are patched to set DT_RUNPATH
18482 save_LDFLAGS=$LDFLAGS
18483 save_libdir=$libdir
18484 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
18485 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
18486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18487/* end confdefs.h. */
18488
18489int
18490main ()
18491{
18492
18493 ;
18494 return 0;
18495}
18496_ACEOF
18497if ac_fn_cxx_try_link "$LINENO"; then :
18498 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
18499 shlibpath_overrides_runpath=yes
18500fi
18501fi
18502rm -f core conftest.err conftest.$ac_objext \
18503 conftest$ac_exeext conftest.$ac_ext
18504 LDFLAGS=$save_LDFLAGS
18505 libdir=$save_libdir
18506
18507 # This implies no fast_install, which is unacceptable.
18508 # Some rework will be needed to allow for fast_install
18509 # before this can be enabled.
18510 hardcode_into_libs=yes
18511
18512 # Append ld.so.conf contents to the search path
18513 if test -f /etc/ld.so.conf; then
18514 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' ' '`
18515 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18516 fi
18517
18518 # We used to test for /lib/ld.so.1 and disable shared libraries on
18519 # powerpc, because MkLinux only supported shared libraries with the
18520 # GNU dynamic linker. Since this was broken with cross compilers,
18521 # most powerpc-linux boxes support dynamic linking these days and
18522 # people can always --disable-shared, the test was removed, and we
18523 # assume the GNU/Linux dynamic linker is in use.
18524 dynamic_linker='GNU/Linux ld.so'
18525 ;;
18526
18527netbsdelf*-gnu)
18528 version_type=linux
18529 need_lib_prefix=no
18530 need_version=no
18531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18532 soname_spec='${libname}${release}${shared_ext}$major'
18533 shlibpath_var=LD_LIBRARY_PATH
18534 shlibpath_overrides_runpath=no
18535 hardcode_into_libs=yes
18536 dynamic_linker='NetBSD ld.elf_so'
18537 ;;
18538
18539netbsd*)
18540 version_type=sunos
18541 need_lib_prefix=no
18542 need_version=no
18543 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18545 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18546 dynamic_linker='NetBSD (a.out) ld.so'
18547 else
18548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18549 soname_spec='${libname}${release}${shared_ext}$major'
18550 dynamic_linker='NetBSD ld.elf_so'
18551 fi
18552 shlibpath_var=LD_LIBRARY_PATH
18553 shlibpath_overrides_runpath=yes
18554 hardcode_into_libs=yes
18555 ;;
18556
18557newsos6)
18558 version_type=linux
18559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18560 shlibpath_var=LD_LIBRARY_PATH
18561 shlibpath_overrides_runpath=yes
18562 ;;
18563
18564*nto* | *qnx*)
18565 version_type=qnx
18566 need_lib_prefix=no
18567 need_version=no
18568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18569 soname_spec='${libname}${release}${shared_ext}$major'
18570 shlibpath_var=LD_LIBRARY_PATH
18571 shlibpath_overrides_runpath=no
18572 hardcode_into_libs=yes
18573 dynamic_linker='ldqnx.so'
18574 ;;
18575
18576openbsd*)
18577 version_type=sunos
18578 sys_lib_dlsearch_path_spec="/usr/lib"
18579 need_lib_prefix=no
18580 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18581 case $host_os in
18582 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18583 *) need_version=no ;;
18584 esac
18585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18586 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18587 shlibpath_var=LD_LIBRARY_PATH
18588 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18589 case $host_os in
18590 openbsd2.[89] | openbsd2.[89].*)
18591 shlibpath_overrides_runpath=no
18592 ;;
18593 *)
18594 shlibpath_overrides_runpath=yes
18595 ;;
18596 esac
18597 else
18598 shlibpath_overrides_runpath=yes
18599 fi
18600 ;;
18601
18602os2*)
18603 libname_spec='$name'
18604 shrext_cmds=".dll"
18605 need_lib_prefix=no
18606 library_names_spec='$libname${shared_ext} $libname.a'
18607 dynamic_linker='OS/2 ld.exe'
18608 shlibpath_var=LIBPATH
18609 ;;
18610
18611osf3* | osf4* | osf5*)
18612 version_type=osf
18613 need_lib_prefix=no
18614 need_version=no
18615 soname_spec='${libname}${release}${shared_ext}$major'
18616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18617 shlibpath_var=LD_LIBRARY_PATH
18618 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18619 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18620 ;;
18621
18622rdos*)
18623 dynamic_linker=no
18624 ;;
18625
18626solaris*)
18627 version_type=linux
18628 need_lib_prefix=no
18629 need_version=no
18630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18631 soname_spec='${libname}${release}${shared_ext}$major'
18632 shlibpath_var=LD_LIBRARY_PATH
18633 shlibpath_overrides_runpath=yes
18634 hardcode_into_libs=yes
18635 # ldd complains unless libraries are executable
18636 postinstall_cmds='chmod +x $lib'
18637 ;;
18638
18639sunos4*)
18640 version_type=sunos
18641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18642 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18643 shlibpath_var=LD_LIBRARY_PATH
18644 shlibpath_overrides_runpath=yes
18645 if test "$with_gnu_ld" = yes; then
18646 need_lib_prefix=no
18647 fi
18648 need_version=yes
18649 ;;
18650
18651sysv4 | sysv4.3*)
18652 version_type=linux
18653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18654 soname_spec='${libname}${release}${shared_ext}$major'
18655 shlibpath_var=LD_LIBRARY_PATH
18656 case $host_vendor in
18657 sni)
18658 shlibpath_overrides_runpath=no
18659 need_lib_prefix=no
18660 runpath_var=LD_RUN_PATH
18661 ;;
18662 siemens)
18663 need_lib_prefix=no
18664 ;;
18665 motorola)
18666 need_lib_prefix=no
18667 need_version=no
18668 shlibpath_overrides_runpath=no
18669 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18670 ;;
18671 esac
18672 ;;
18673
18674sysv4*MP*)
18675 if test -d /usr/nec ;then
18676 version_type=linux
18677 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18678 soname_spec='$libname${shared_ext}.$major'
18679 shlibpath_var=LD_LIBRARY_PATH
18680 fi
18681 ;;
18682
18683sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18684 version_type=freebsd-elf
18685 need_lib_prefix=no
18686 need_version=no
18687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18688 soname_spec='${libname}${release}${shared_ext}$major'
18689 shlibpath_var=LD_LIBRARY_PATH
18690 shlibpath_overrides_runpath=yes
18691 hardcode_into_libs=yes
18692 if test "$with_gnu_ld" = yes; then
18693 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18694 else
18695 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18696 case $host_os in
18697 sco3.2v5*)
18698 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18699 ;;
18700 esac
18701 fi
18702 sys_lib_dlsearch_path_spec='/usr/lib'
18703 ;;
18704
18705tpf*)
18706 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18707 version_type=linux
18708 need_lib_prefix=no
18709 need_version=no
18710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18711 shlibpath_var=LD_LIBRARY_PATH
18712 shlibpath_overrides_runpath=no
18713 hardcode_into_libs=yes
18714 ;;
18715
18716uts4*)
18717 version_type=linux
18718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18719 soname_spec='${libname}${release}${shared_ext}$major'
18720 shlibpath_var=LD_LIBRARY_PATH
18721 ;;
18722
18723*)
18724 dynamic_linker=no
18725 ;;
18726esac
18727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18728$as_echo "$dynamic_linker" >&6; }
18729test "$dynamic_linker" = no && can_build_shared=no
18730
18731variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18732if test "$GCC" = yes; then
18733 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18734fi
18735
18736if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18737 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
18738fi
18739if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18740 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18741fi
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18779$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18780hardcode_action_CXX=
18781if test -n "$hardcode_libdir_flag_spec_CXX" ||
18782 test -n "$runpath_var_CXX" ||
18783 test "X$hardcode_automatic_CXX" = "Xyes" ; then
18784
18785 # We can hardcode non-existent directories.
18786 if test "$hardcode_direct_CXX" != no &&
18787 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18788 # have to relink, otherwise we might link with an installed library
18789 # when we should be linking with a yet-to-be-installed one
18790 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
18791 test "$hardcode_minus_L_CXX" != no; then
18792 # Linking always hardcodes the temporary library directory.
18793 hardcode_action_CXX=relink
18794 else
18795 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18796 hardcode_action_CXX=immediate
18797 fi
18798else
18799 # We cannot hardcode anything, or else we can only hardcode existing
18800 # directories.
18801 hardcode_action_CXX=unsupported
18802fi
18803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18804$as_echo "$hardcode_action_CXX" >&6; }
18805
18806if test "$hardcode_action_CXX" = relink ||
18807 test "$inherit_rpath_CXX" = yes; then
18808 # Fast installation is not supported
18809 enable_fast_install=no
18810elif test "$shlibpath_overrides_runpath" = yes ||
18811 test "$enable_shared" = no; then
18812 # Fast installation is not necessary
18813 enable_fast_install=needless
18814fi
18815
18816
18817
18818
18819
18820
18821
18822 fi # test -n "$compiler"
18823
18824 CC=$lt_save_CC
18825 LDCXX=$LD
18826 LD=$lt_save_LD
18827 GCC=$lt_save_GCC
18828 with_gnu_ld=$lt_save_with_gnu_ld
18829 lt_cv_path_LDCXX=$lt_cv_path_LD
18830 lt_cv_path_LD=$lt_save_path_LD
18831 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18832 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18833fi # test "$_lt_caught_CXX_error" != yes
18834
18835ac_ext=c
18836ac_cpp='$CPP $CPPFLAGS'
18837ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18838ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18839ac_compiler_gnu=$ac_cv_c_compiler_gnu
18840
18841
18842ac_ext=c
18843ac_cpp='$CPP $CPPFLAGS'
18844ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18845ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18846ac_compiler_gnu=$ac_cv_c_compiler_gnu
18847if test -n "$ac_tool_prefix"; then
18848 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
18849set dummy ${ac_tool_prefix}gcc; ac_word=$2
18850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18851$as_echo_n "checking for $ac_word... " >&6; }
18852if test "${ac_cv_prog_CC+set}" = set; then :
18853 $as_echo_n "(cached) " >&6
18854else
18855 if test -n "$CC"; then
18856 ac_cv_prog_CC="$CC" # Let the user override the test.
18857else
18858as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18859for as_dir in $PATH
18860do
18861 IFS=$as_save_IFS
18862 test -z "$as_dir" && as_dir=.
18863 for ac_exec_ext in '' $ac_executable_extensions; do
18864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18865 ac_cv_prog_CC="${ac_tool_prefix}gcc"
18866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18867 break 2
18868 fi
18869done
18870 done
18871IFS=$as_save_IFS
18872
18873fi
18874fi
18875CC=$ac_cv_prog_CC
18876if test -n "$CC"; then
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18878$as_echo "$CC" >&6; }
18879else
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18881$as_echo "no" >&6; }
18882fi
18883
18884
18885fi
18886if test -z "$ac_cv_prog_CC"; then
18887 ac_ct_CC=$CC
18888 # Extract the first word of "gcc", so it can be a program name with args.
18889set dummy gcc; ac_word=$2
18890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18891$as_echo_n "checking for $ac_word... " >&6; }
18892if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
18893 $as_echo_n "(cached) " >&6
18894else
18895 if test -n "$ac_ct_CC"; then
18896 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
18897else
18898as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18899for as_dir in $PATH
18900do
18901 IFS=$as_save_IFS
18902 test -z "$as_dir" && as_dir=.
18903 for ac_exec_ext in '' $ac_executable_extensions; do
18904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18905 ac_cv_prog_ac_ct_CC="gcc"
18906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18907 break 2
18908 fi
18909done
18910 done
18911IFS=$as_save_IFS
18912
18913fi
18914fi
18915ac_ct_CC=$ac_cv_prog_ac_ct_CC
18916if test -n "$ac_ct_CC"; then
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
18918$as_echo "$ac_ct_CC" >&6; }
18919else
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18921$as_echo "no" >&6; }
18922fi
18923
18924 if test "x$ac_ct_CC" = x; then
18925 CC=""
18926 else
18927 case $cross_compiling:$ac_tool_warned in
18928yes:)
18929{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18930$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18931ac_tool_warned=yes ;;
18932esac
18933 CC=$ac_ct_CC
18934 fi
18935else
18936 CC="$ac_cv_prog_CC"
18937fi
18938
18939if test -z "$CC"; then
18940 if test -n "$ac_tool_prefix"; then
18941 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
18942set dummy ${ac_tool_prefix}cc; ac_word=$2
18943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18944$as_echo_n "checking for $ac_word... " >&6; }
18945if test "${ac_cv_prog_CC+set}" = set; then :
18946 $as_echo_n "(cached) " >&6
18947else
18948 if test -n "$CC"; then
18949 ac_cv_prog_CC="$CC" # Let the user override the test.
18950else
18951as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18952for as_dir in $PATH
18953do
18954 IFS=$as_save_IFS
18955 test -z "$as_dir" && as_dir=.
18956 for ac_exec_ext in '' $ac_executable_extensions; do
18957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18958 ac_cv_prog_CC="${ac_tool_prefix}cc"
18959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18960 break 2
18961 fi
18962done
18963 done
18964IFS=$as_save_IFS
18965
18966fi
18967fi
18968CC=$ac_cv_prog_CC
18969if test -n "$CC"; then
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18971$as_echo "$CC" >&6; }
18972else
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18974$as_echo "no" >&6; }
18975fi
18976
18977
18978 fi
18979fi
18980if test -z "$CC"; then
18981 # Extract the first word of "cc", so it can be a program name with args.
18982set dummy cc; ac_word=$2
18983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18984$as_echo_n "checking for $ac_word... " >&6; }
18985if test "${ac_cv_prog_CC+set}" = set; then :
18986 $as_echo_n "(cached) " >&6
18987else
18988 if test -n "$CC"; then
18989 ac_cv_prog_CC="$CC" # Let the user override the test.
18990else
18991 ac_prog_rejected=no
18992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18993for as_dir in $PATH
18994do
18995 IFS=$as_save_IFS
18996 test -z "$as_dir" && as_dir=.
18997 for ac_exec_ext in '' $ac_executable_extensions; do
18998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18999 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
19000 ac_prog_rejected=yes
19001 continue
19002 fi
19003 ac_cv_prog_CC="cc"
19004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19005 break 2
19006 fi
19007done
19008 done
19009IFS=$as_save_IFS
19010
19011if test $ac_prog_rejected = yes; then
19012 # We found a bogon in the path, so make sure we never use it.
19013 set dummy $ac_cv_prog_CC
19014 shift
19015 if test $# != 0; then
19016 # We chose a different compiler from the bogus one.
19017 # However, it has the same basename, so the bogon will be chosen
19018 # first if we set CC to just the basename; use the full file name.
19019 shift
19020 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
19021 fi
19022fi
19023fi
19024fi
19025CC=$ac_cv_prog_CC
19026if test -n "$CC"; then
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
19028$as_echo "$CC" >&6; }
19029else
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19031$as_echo "no" >&6; }
19032fi
19033
19034
19035fi
19036if test -z "$CC"; then
19037 if test -n "$ac_tool_prefix"; then
19038 for ac_prog in cl.exe
19039 do
19040 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19041set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19043$as_echo_n "checking for $ac_word... " >&6; }
19044if test "${ac_cv_prog_CC+set}" = set; then :
19045 $as_echo_n "(cached) " >&6
19046else
19047 if test -n "$CC"; then
19048 ac_cv_prog_CC="$CC" # Let the user override the test.
19049else
19050as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19051for as_dir in $PATH
19052do
19053 IFS=$as_save_IFS
19054 test -z "$as_dir" && as_dir=.
19055 for ac_exec_ext in '' $ac_executable_extensions; do
19056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19057 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
19058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19059 break 2
19060 fi
19061done
19062 done
19063IFS=$as_save_IFS
19064
19065fi
19066fi
19067CC=$ac_cv_prog_CC
19068if test -n "$CC"; then
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
19070$as_echo "$CC" >&6; }
19071else
19072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19073$as_echo "no" >&6; }
19074fi
19075
19076
19077 test -n "$CC" && break
19078 done
19079fi
19080if test -z "$CC"; then
19081 ac_ct_CC=$CC
19082 for ac_prog in cl.exe
19083do
19084 # Extract the first word of "$ac_prog", so it can be a program name with args.
19085set dummy $ac_prog; ac_word=$2
19086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19087$as_echo_n "checking for $ac_word... " >&6; }
19088if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
19089 $as_echo_n "(cached) " >&6
19090else
19091 if test -n "$ac_ct_CC"; then
19092 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
19093else
19094as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19095for as_dir in $PATH
19096do
19097 IFS=$as_save_IFS
19098 test -z "$as_dir" && as_dir=.
19099 for ac_exec_ext in '' $ac_executable_extensions; do
19100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19101 ac_cv_prog_ac_ct_CC="$ac_prog"
19102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19103 break 2
19104 fi
19105done
19106 done
19107IFS=$as_save_IFS
19108
19109fi
19110fi
19111ac_ct_CC=$ac_cv_prog_ac_ct_CC
19112if test -n "$ac_ct_CC"; then
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
19114$as_echo "$ac_ct_CC" >&6; }
19115else
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19117$as_echo "no" >&6; }
19118fi
19119
19120
19121 test -n "$ac_ct_CC" && break
19122done
19123
19124 if test "x$ac_ct_CC" = x; then
19125 CC=""
19126 else
19127 case $cross_compiling:$ac_tool_warned in
19128yes:)
19129{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19130$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19131ac_tool_warned=yes ;;
19132esac
19133 CC=$ac_ct_CC
19134 fi
19135fi
19136
19137fi
19138
19139
19140test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19141$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19142as_fn_error $? "no acceptable C compiler found in \$PATH
19143See \`config.log' for more details" "$LINENO" 5 ; }
19144
19145# Provide some information about the compiler.
19146$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
19147set X $ac_compile
19148ac_compiler=$2
19149for ac_option in --version -v -V -qversion; do
19150 { { ac_try="$ac_compiler $ac_option >&5"
19151case "(($ac_try" in
19152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19153 *) ac_try_echo=$ac_try;;
19154esac
19155eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19156$as_echo "$ac_try_echo"; } >&5
19157 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
19158 ac_status=$?
19159 if test -s conftest.err; then
19160 sed '10a\
19161... rest of stderr output deleted ...
19162 10q' conftest.err >conftest.er1
19163 cat conftest.er1 >&5
19164 fi
19165 rm -f conftest.er1 conftest.err
19166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19167 test $ac_status = 0; }
19168done
19169
19170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
19171$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
19172if test "${ac_cv_c_compiler_gnu+set}" = set; then :
19173 $as_echo_n "(cached) " >&6
19174else
19175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19176/* end confdefs.h. */
19177
19178int
19179main ()
19180{
19181#ifndef __GNUC__
19182 choke me
19183#endif
19184
19185 ;
19186 return 0;
19187}
19188_ACEOF
19189if ac_fn_c_try_compile "$LINENO"; then :
19190 ac_compiler_gnu=yes
19191else
19192 ac_compiler_gnu=no
19193fi
19194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19195ac_cv_c_compiler_gnu=$ac_compiler_gnu
19196
19197fi
19198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
19199$as_echo "$ac_cv_c_compiler_gnu" >&6; }
19200if test $ac_compiler_gnu = yes; then
19201 GCC=yes
19202else
19203 GCC=
19204fi
19205ac_test_CFLAGS=${CFLAGS+set}
19206ac_save_CFLAGS=$CFLAGS
19207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
19208$as_echo_n "checking whether $CC accepts -g... " >&6; }
19209if test "${ac_cv_prog_cc_g+set}" = set; then :
19210 $as_echo_n "(cached) " >&6
19211else
19212 ac_save_c_werror_flag=$ac_c_werror_flag
19213 ac_c_werror_flag=yes
19214 ac_cv_prog_cc_g=no
19215 CFLAGS="-g"
19216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19217/* end confdefs.h. */
19218
19219int
19220main ()
19221{
19222
19223 ;
19224 return 0;
19225}
19226_ACEOF
19227if ac_fn_c_try_compile "$LINENO"; then :
19228 ac_cv_prog_cc_g=yes
19229else
19230 CFLAGS=""
19231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19232/* end confdefs.h. */
19233
19234int
19235main ()
19236{
19237
19238 ;
19239 return 0;
19240}
19241_ACEOF
19242if ac_fn_c_try_compile "$LINENO"; then :
19243
19244else
19245 ac_c_werror_flag=$ac_save_c_werror_flag
19246 CFLAGS="-g"
19247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19248/* end confdefs.h. */
19249
19250int
19251main ()
19252{
19253
19254 ;
19255 return 0;
19256}
19257_ACEOF
19258if ac_fn_c_try_compile "$LINENO"; then :
19259 ac_cv_prog_cc_g=yes
19260fi
19261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19262fi
19263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19264fi
19265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19266 ac_c_werror_flag=$ac_save_c_werror_flag
19267fi
19268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
19269$as_echo "$ac_cv_prog_cc_g" >&6; }
19270if test "$ac_test_CFLAGS" = set; then
19271 CFLAGS=$ac_save_CFLAGS
19272elif test $ac_cv_prog_cc_g = yes; then
19273 if test "$GCC" = yes; then
19274 CFLAGS="-g -O2"
19275 else
19276 CFLAGS="-g"
19277 fi
19278else
19279 if test "$GCC" = yes; then
19280 CFLAGS="-O2"
19281 else
19282 CFLAGS=
19283 fi
19284fi
19285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
19286$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
19287if test "${ac_cv_prog_cc_c89+set}" = set; then :
19288 $as_echo_n "(cached) " >&6
19289else
19290 ac_cv_prog_cc_c89=no
19291ac_save_CC=$CC
19292cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19293/* end confdefs.h. */
19294#include <stdarg.h>
19295#include <stdio.h>
19296#include <sys/types.h>
19297#include <sys/stat.h>
19298/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
19299struct buf { int x; };
19300FILE * (*rcsopen) (struct buf *, struct stat *, int);
19301static char *e (p, i)
19302 char **p;
19303 int i;
19304{
19305 return p[i];
19306}
19307static char *f (char * (*g) (char **, int), char **p, ...)
19308{
19309 char *s;
19310 va_list v;
19311 va_start (v,p);
19312 s = g (p, va_arg (v,int));
19313 va_end (v);
19314 return s;
19315}
19316
19317/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
19318 function prototypes and stuff, but not '\xHH' hex character constants.
19319 These don't provoke an error unfortunately, instead are silently treated
19320 as 'x'. The following induces an error, until -std is added to get
19321 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
19322 array size at least. It's necessary to write '\x00'==0 to get something
19323 that's true only with -std. */
19324int osf4_cc_array ['\x00' == 0 ? 1 : -1];
19325
19326/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
19327 inside strings and character constants. */
19328#define FOO(x) 'x'
19329int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
19330
19331int test (int i, double x);
19332struct s1 {int (*f) (int a);};
19333struct s2 {int (*f) (double a);};
19334int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
19335int argc;
19336char **argv;
19337int
19338main ()
19339{
19340return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
19341 ;
19342 return 0;
19343}
19344_ACEOF
19345for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
19346 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
19347do
19348 CC="$ac_save_CC $ac_arg"
19349 if ac_fn_c_try_compile "$LINENO"; then :
19350 ac_cv_prog_cc_c89=$ac_arg
19351fi
19352rm -f core conftest.err conftest.$ac_objext
19353 test "x$ac_cv_prog_cc_c89" != "xno" && break
19354done
19355rm -f conftest.$ac_ext
19356CC=$ac_save_CC
19357
19358fi
19359# AC_CACHE_VAL
19360case "x$ac_cv_prog_cc_c89" in
19361 x)
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19363$as_echo "none needed" >&6; } ;;
19364 xno)
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19366$as_echo "unsupported" >&6; } ;;
19367 *)
19368 CC="$CC $ac_cv_prog_cc_c89"
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
19370$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
19371esac
19372if test "x$ac_cv_prog_cc_c89" != xno; then :
19373
19374fi
19375
19376ac_ext=c
19377ac_cpp='$CPP $CPPFLAGS'
19378ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19379ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19380ac_compiler_gnu=$ac_cv_c_compiler_gnu
19381
19382depcc="$CC" am_compiler_list=
19383
19384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
19385$as_echo_n "checking dependency style of $depcc... " >&6; }
19386if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
19387 $as_echo_n "(cached) " >&6
19388else
19389 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
19390 # We make a subdir and do the tests there. Otherwise we can end up
19391 # making bogus files that we don't know about and never remove. For
19392 # instance it was reported that on HP-UX the gcc test will end up
19393 # making a dummy file named `D' -- because `-MD' means `put the output
19394 # in D'.
19395 mkdir conftest.dir
19396 # Copy depcomp to subdir because otherwise we won't find it if we're
19397 # using a relative directory.
19398 cp "$am_depcomp" conftest.dir
19399 cd conftest.dir
19400 # We will build objects and dependencies in a subdirectory because
19401 # it helps to detect inapplicable dependency modes. For instance
19402 # both Tru64's cc and ICC support -MD to output dependencies as a
19403 # side effect of compilation, but ICC will put the dependencies in
19404 # the current directory while Tru64 will put them in the object
19405 # directory.
19406 mkdir sub
19407
19408 am_cv_CC_dependencies_compiler_type=none
19409 if test "$am_compiler_list" = ""; then
19410 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
19411 fi
19412 am__universal=false
19413 case " $depcc " in #(
19414 *\ -arch\ *\ -arch\ *) am__universal=true ;;
19415 esac
19416
19417 for depmode in $am_compiler_list; do
19418 # Setup a source with many dependencies, because some compilers
19419 # like to wrap large dependency lists on column 80 (with \), and
19420 # we should not choose a depcomp mode which is confused by this.
19421 #
19422 # We need to recreate these files for each test, as the compiler may
19423 # overwrite some of them when testing with obscure command lines.
19424 # This happens at least with the AIX C compiler.
19425 : > sub/conftest.c
19426 for i in 1 2 3 4 5 6; do
19427 echo '#include "conftst'$i'.h"' >> sub/conftest.c
19428 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
19429 # Solaris 8's {/usr,}/bin/sh.
19430 touch sub/conftst$i.h
19431 done
19432 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
19433
19434 # We check with `-c' and `-o' for the sake of the "dashmstdout"
19435 # mode. It turns out that the SunPro C++ compiler does not properly
19436 # handle `-M -o', and we need to detect this. Also, some Intel
19437 # versions had trouble with output in subdirs
19438 am__obj=sub/conftest.${OBJEXT-o}
19439 am__minus_obj="-o $am__obj"
19440 case $depmode in
19441 gcc)
19442 # This depmode causes a compiler race in universal mode.
19443 test "$am__universal" = false || continue
19444 ;;
19445 nosideeffect)
19446 # after this tag, mechanisms are not by side-effect, so they'll
19447 # only be used when explicitly requested
19448 if test "x$enable_dependency_tracking" = xyes; then
19449 continue
19450 else
19451 break
19452 fi
19453 ;;
19454 msvisualcpp | msvcmsys)
19455 # This compiler won't grok `-c -o', but also, the minuso test has
19456 # not run yet. These depmodes are late enough in the game, and
19457 # so weak that their functioning should not be impacted.
19458 am__obj=conftest.${OBJEXT-o}
19459 am__minus_obj=
19460 ;;
19461 none) break ;;
19462 esac
19463 if depmode=$depmode \
19464 source=sub/conftest.c object=$am__obj \
19465 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
19466 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
19467 >/dev/null 2>conftest.err &&
19468 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
19469 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
19470 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
19471 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
19472 # icc doesn't choke on unknown options, it will just issue warnings
19473 # or remarks (even with -Werror). So we grep stderr for any message
19474 # that says an option was ignored or not supported.
19475 # When given -MP, icc 7.0 and 7.1 complain thusly:
19476 # icc: Command line warning: ignoring option '-M'; no argument required
19477 # The diagnosis changed in icc 8.0:
19478 # icc: Command line remark: option '-MP' not supported
19479 if (grep 'ignoring option' conftest.err ||
19480 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
19481 am_cv_CC_dependencies_compiler_type=$depmode
19482 break
19483 fi
19484 fi
19485 done
19486
19487 cd ..
19488 rm -rf conftest.dir
19489else
19490 am_cv_CC_dependencies_compiler_type=none
19491fi
19492
19493fi
19494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
19495$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
19496CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
19497
19498 if
19499 test "x$enable_dependency_tracking" != xno \
19500 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
19501 am__fastdepCC_TRUE=
19502 am__fastdepCC_FALSE='#'
19503else
19504 am__fastdepCC_TRUE='#'
19505 am__fastdepCC_FALSE=
19506fi
19507
19508
19509
19510have_gnu_objc=${ac_cv_objc_compiler_gnu}
19511
19512# doxygen program for documentation building
19513
19514
19515
19516# Check whether --enable-doc was given.
19517if test "${enable_doc+set}" = set; then :
19518 enableval=$enable_doc;
19519 if test "x${enableval}" = "xyes" ; then
19520 efl_enable_doc="yes"
19521 else
19522 efl_enable_doc="no"
19523 fi
19524
19525else
19526 efl_enable_doc="yes"
19527fi
19528
19529
19530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
19531$as_echo_n "checking whether to build documentation... " >&6; }
19532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
19533$as_echo "${efl_enable_doc}" >&6; }
19534
19535if test "x${efl_enable_doc}" = "xyes" ; then
19536
19537
19538 efl_doxygen="doxygen"
19539
19540
19541# Check whether --with-doxygen was given.
19542if test "${with_doxygen+set}" = set; then :
19543 withval=$with_doxygen;
19544 efl_doxygen=${withval}
19545 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
19546set dummy ${efl_doxygen}; ac_word=$2
19547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19548$as_echo_n "checking for $ac_word... " >&6; }
19549if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
19550 $as_echo_n "(cached) " >&6
19551else
19552 if test -n "$efl_have_doxygen"; then
19553 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
19554else
19555as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19556for as_dir in $PATH
19557do
19558 IFS=$as_save_IFS
19559 test -z "$as_dir" && as_dir=.
19560 for ac_exec_ext in '' $ac_executable_extensions; do
19561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19562 ac_cv_prog_efl_have_doxygen="yes"
19563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19564 break 2
19565 fi
19566done
19567 done
19568IFS=$as_save_IFS
19569
19570 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
19571fi
19572fi
19573efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
19574if test -n "$efl_have_doxygen"; then
19575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
19576$as_echo "$efl_have_doxygen" >&6; }
19577else
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19579$as_echo "no" >&6; }
19580fi
19581
19582
19583 if test "x${efl_have_doxygen}" = "xno" ; then
19584 echo "WARNING:"
19585 echo "The doxygen program you specified:"
19586 echo "${efl_doxygen}"
19587 echo "was not found. Please check the path and make sure "
19588 echo "the program exists and is executable."
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
19590$as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
19591 fi
19592
19593else
19594 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
19595set dummy ${efl_doxygen}; ac_word=$2
19596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19597$as_echo_n "checking for $ac_word... " >&6; }
19598if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
19599 $as_echo_n "(cached) " >&6
19600else
19601 if test -n "$efl_have_doxygen"; then
19602 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
19603else
19604as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19605for as_dir in $PATH
19606do
19607 IFS=$as_save_IFS
19608 test -z "$as_dir" && as_dir=.
19609 for ac_exec_ext in '' $ac_executable_extensions; do
19610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19611 ac_cv_prog_efl_have_doxygen="yes"
19612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19613 break 2
19614 fi
19615done
19616 done
19617IFS=$as_save_IFS
19618
19619 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
19620fi
19621fi
19622efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
19623if test -n "$efl_have_doxygen"; then
19624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
19625$as_echo "$efl_have_doxygen" >&6; }
19626else
19627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19628$as_echo "no" >&6; }
19629fi
19630
19631
19632 if test "x${efl_have_doxygen}" = "xno" ; then
19633 echo "WARNING:"
19634 echo "The doxygen program was not found in your execute path."
19635 echo "You may have doxygen installed somewhere not covered by your path."
19636 echo ""
19637 echo "If this is the case make sure you have the packages installed, AND"
19638 echo "that the doxygen program is in your execute path (see your"
19639 echo "shell manual page on setting the \$PATH environment variable), OR"
19640 echo "alternatively, specify the program to use with --with-doxygen."
19641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
19642$as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
19643 fi
19644
19645fi
19646
19647fi
19648
19649
19650
19651if ! test "x${efl_have_doxygen}" = "xyes" ; then
19652 efl_enable_doc="no"
19653fi
19654
19655 if test "x${efl_enable_doc}" = "xyes"; then
19656 EFL_BUILD_DOC_TRUE=
19657 EFL_BUILD_DOC_FALSE='#'
19658else
19659 EFL_BUILD_DOC_TRUE='#'
19660 EFL_BUILD_DOC_FALSE=
19661fi
19662
19663
19664if test "x${efl_enable_doc}" = "xyes" ; then
19665 build_doc="yes"
19666else
19667 build_doc="no"
19668fi
19669
19670
19671
19672
19673
19674
19675CFLAGS_save="${CFLAGS}"
19676CFLAGS="${CFLAGS} -Wall"
19677
19678ac_ext=c
19679ac_cpp='$CPP $CPPFLAGS'
19680ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19681ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19682ac_compiler_gnu=$ac_cv_c_compiler_gnu
19683
19684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
19685$as_echo_n "checking whether the compiler supports -Wall... " >&6; }
19686
19687cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19688/* end confdefs.h. */
19689
19690int
19691main ()
19692{
19693
19694 ;
19695 return 0;
19696}
19697_ACEOF
19698if ac_fn_c_try_compile "$LINENO"; then :
19699 have_flag="yes"
19700else
19701 have_flag="no"
19702fi
19703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
19705$as_echo "${have_flag}" >&6; }
19706
19707if test "x${have_flag}" = "xno" ; then
19708 CFLAGS="${CFLAGS_save}"
19709fi
19710ac_ext=c
19711ac_cpp='$CPP $CPPFLAGS'
19712ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19713ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19714ac_compiler_gnu=$ac_cv_c_compiler_gnu
19715
19716
19717
19718
19719
19720CFLAGS_save="${CFLAGS}"
19721CFLAGS="${CFLAGS} -W"
19722
19723ac_ext=c
19724ac_cpp='$CPP $CPPFLAGS'
19725ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19726ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19727ac_compiler_gnu=$ac_cv_c_compiler_gnu
19728
19729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
19730$as_echo_n "checking whether the compiler supports -W... " >&6; }
19731
19732cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19733/* end confdefs.h. */
19734
19735int
19736main ()
19737{
19738
19739 ;
19740 return 0;
19741}
19742_ACEOF
19743if ac_fn_c_try_compile "$LINENO"; then :
19744 have_flag="yes"
19745else
19746 have_flag="no"
19747fi
19748rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
19750$as_echo "${have_flag}" >&6; }
19751
19752if test "x${have_flag}" = "xno" ; then
19753 CFLAGS="${CFLAGS_save}"
19754fi
19755ac_ext=c
19756ac_cpp='$CPP $CPPFLAGS'
19757ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19758ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19759ac_compiler_gnu=$ac_cv_c_compiler_gnu
19760
19761
19762
19763
19764
19765# The first call to PKG_CHECK_MODULES is done conditionally,
19766# so we should include this here:
19767
19768
19769
19770
19771
19772
19773if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19774 if test -n "$ac_tool_prefix"; then
19775 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19776set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19778$as_echo_n "checking for $ac_word... " >&6; }
19779if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19780 $as_echo_n "(cached) " >&6
19781else
19782 case $PKG_CONFIG in
19783 [\\/]* | ?:[\\/]*)
19784 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19785 ;;
19786 *)
19787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19788for as_dir in $PATH
19789do
19790 IFS=$as_save_IFS
19791 test -z "$as_dir" && as_dir=.
19792 for ac_exec_ext in '' $ac_executable_extensions; do
19793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19794 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19796 break 2
19797 fi
19798done
19799 done
19800IFS=$as_save_IFS
19801
19802 ;;
19803esac
19804fi
19805PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19806if test -n "$PKG_CONFIG"; then
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19808$as_echo "$PKG_CONFIG" >&6; }
19809else
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19811$as_echo "no" >&6; }
19812fi
19813
19814
19815fi
19816if test -z "$ac_cv_path_PKG_CONFIG"; then
19817 ac_pt_PKG_CONFIG=$PKG_CONFIG
19818 # Extract the first word of "pkg-config", so it can be a program name with args.
19819set dummy pkg-config; ac_word=$2
19820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19821$as_echo_n "checking for $ac_word... " >&6; }
19822if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
19823 $as_echo_n "(cached) " >&6
19824else
19825 case $ac_pt_PKG_CONFIG in
19826 [\\/]* | ?:[\\/]*)
19827 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19828 ;;
19829 *)
19830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19831for as_dir in $PATH
19832do
19833 IFS=$as_save_IFS
19834 test -z "$as_dir" && as_dir=.
19835 for ac_exec_ext in '' $ac_executable_extensions; do
19836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19837 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19839 break 2
19840 fi
19841done
19842 done
19843IFS=$as_save_IFS
19844
19845 ;;
19846esac
19847fi
19848ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19849if test -n "$ac_pt_PKG_CONFIG"; then
19850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19851$as_echo "$ac_pt_PKG_CONFIG" >&6; }
19852else
19853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19854$as_echo "no" >&6; }
19855fi
19856
19857 if test "x$ac_pt_PKG_CONFIG" = x; then
19858 PKG_CONFIG=""
19859 else
19860 case $cross_compiling:$ac_tool_warned in
19861yes:)
19862{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19863$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19864ac_tool_warned=yes ;;
19865esac
19866 PKG_CONFIG=$ac_pt_PKG_CONFIG
19867 fi
19868else
19869 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19870fi
19871
19872fi
19873if test -n "$PKG_CONFIG"; then
19874 _pkg_min_version=0.9.0
19875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
19876$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19877 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19879$as_echo "yes" >&6; }
19880 else
19881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19882$as_echo "no" >&6; }
19883 PKG_CONFIG=""
19884 fi
19885fi
19886
19887# Check whether pkg-config supports Requires.private
19888if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
19889 pkgconfig_requires_private="Requires.private"
19890else
19891 pkgconfig_requires_private="Requires"
19892fi
19893
19894
19895### Checks for some build time option
19896have_backtrace="no"
19897for ac_func in backtrace
19898do :
19899 ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace"
19900if test "x$ac_cv_func_backtrace" = x""yes; then :
19901 cat >>confdefs.h <<_ACEOF
19902#define HAVE_BACKTRACE 1
19903_ACEOF
19904 have_backtrace="yes"
19905fi
19906done
19907
19908
19909want_ecore_timer_dump="yes"
19910
19911# Check whether --enable-ecore-timer-dump was given.
19912if test "${enable_ecore_timer_dump+set}" = set; then :
19913 enableval=$enable_ecore_timer_dump; want_ecore_timer_dump=$enableval
19914fi
19915
19916
19917if test "x$want_ecore_timer_dump" = "xyes" -a "x$have_backtrace" = "xyes"; then
19918
19919$as_echo "#define WANT_ECORE_TIMER_DUMP 1" >>confdefs.h
19920
19921fi
19922
19923### Checks for libraries
19924
19925# Evil library for compilation on Windows
19926
19927case "$host_os" in
19928 mingw*)
19929
19930pkg_failed=no
19931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
19932$as_echo_n "checking for EVIL... " >&6; }
19933
19934if test -n "$EVIL_CFLAGS"; then
19935 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
19936 elif test -n "$PKG_CONFIG"; then
19937 if test -n "$PKG_CONFIG" && \
19938 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
19939 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
19940 ac_status=$?
19941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19942 test $ac_status = 0; }; then
19943 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.0.0" 2>/dev/null`
19944else
19945 pkg_failed=yes
19946fi
19947 else
19948 pkg_failed=untried
19949fi
19950if test -n "$EVIL_LIBS"; then
19951 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
19952 elif test -n "$PKG_CONFIG"; then
19953 if test -n "$PKG_CONFIG" && \
19954 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
19955 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
19956 ac_status=$?
19957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19958 test $ac_status = 0; }; then
19959 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.0.0" 2>/dev/null`
19960else
19961 pkg_failed=yes
19962fi
19963 else
19964 pkg_failed=untried
19965fi
19966
19967
19968
19969if test $pkg_failed = yes; then
19970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19971$as_echo "no" >&6; }
19972
19973if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19974 _pkg_short_errors_supported=yes
19975else
19976 _pkg_short_errors_supported=no
19977fi
19978 if test $_pkg_short_errors_supported = yes; then
19979 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.0.0" 2>&1`
19980 else
19981 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.0.0" 2>&1`
19982 fi
19983 # Put the nasty error message in config.log where it belongs
19984 echo "$EVIL_PKG_ERRORS" >&5
19985
19986 as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
19987
19988$EVIL_PKG_ERRORS
19989
19990Consider adjusting the PKG_CONFIG_PATH environment variable if you
19991installed software in a non-standard prefix.
19992
19993Alternatively, you may set the environment variables EVIL_CFLAGS
19994and EVIL_LIBS to avoid the need to call pkg-config.
19995See the pkg-config man page for more details." "$LINENO" 5
19996elif test $pkg_failed = untried; then
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19998$as_echo "no" >&6; }
19999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20000$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20001as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20002is in your PATH or set the PKG_CONFIG environment variable to the full
20003path to pkg-config.
20004
20005Alternatively, you may set the environment variables EVIL_CFLAGS
20006and EVIL_LIBS to avoid the need to call pkg-config.
20007See the pkg-config man page for more details.
20008
20009To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20010See \`config.log' for more details" "$LINENO" 5 ; }
20011else
20012 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
20013 EVIL_LIBS=$pkg_cv_EVIL_LIBS
20014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20015$as_echo "yes" >&6; }
20016
20017fi
20018
20019$as_echo "#define HAVE_EVIL 1" >>confdefs.h
20020
20021 requirements_ecore="evil ${requirements_ecore}"
20022 requirements_ecore_evas="evil ${requirements_ecore_evas}"
20023 requirements_ecore_file="evil ${requirements_ecore_file}"
20024 requirements_ecore_imf="evil ${requirements_ecore_imf}"
20025 requirements_ecore_imf_evas="evil ${requirements_ecore_imf_evas}"
20026 EFL_ECORE_BUILD="-DEFL_ECORE_BUILD"
20027 EFL_ECORE_CON_BUILD="-DEFL_ECORE_CON_BUILD"
20028 EFL_ECORE_EVAS_BUILD="-DEFL_ECORE_EVAS_BUILD"
20029 EFL_ECORE_FILE_BUILD="-DEFL_ECORE_FILE_BUILD"
20030 EFL_ECORE_IMF_BUILD="-DEFL_ECORE_IMF_BUILD"
20031 EFL_ECORE_IMF_EVAS_BUILD="-DEFL_ECORE_IMF_EVAS_BUILD"
20032 EFL_ECORE_INPUT_BUILD="-DEFL_ECORE_INPUT_BUILD"
20033 EFL_ECORE_INPUT_EVAS_BUILD="-DEFL_ECORE_INPUT_EVAS_BUILD"
20034 EFL_ECORE_IPC_BUILD="-DEFL_ECORE_IPC_BUILD"
20035 ;;
20036esac
20037
20038have_win32=""
20039have_wince=""
20040case "$host_os" in
20041 mingw32ce* | cegcc*)
20042 EFL_ECORE_WINCE_BUILD="-DEFL_ECORE_WINCE_BUILD"
20043 requirements_ecore_wince="evil ${requirements_ecore_wince}"
20044 have_wince="yes"
20045 ;;
20046 mingw*)
20047 EFL_ECORE_WIN32_BUILD="-DEFL_ECORE_WIN32_BUILD"
20048 EFL_ECORE_SDL_BUILD="-DEFL_ECORE_SDL_BUILD"
20049 requirements_ecore_win32="evil ${requirements_ecore_win32}"
20050 requirements_ecore_sdl="evil ${requirements_ecore_sdl}"
20051 have_win32="yes"
20052 ;;
20053esac
20054
20055have_ps3=""
20056case "$host_vendor" in
20057 ps3*)
20058 have_ps3="yes"
20059
20060pkg_failed=no
20061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ESCAPE" >&5
20062$as_echo_n "checking for ESCAPE... " >&6; }
20063
20064if test -n "$ESCAPE_CFLAGS"; then
20065 pkg_cv_ESCAPE_CFLAGS="$ESCAPE_CFLAGS"
20066 elif test -n "$PKG_CONFIG"; then
20067 if test -n "$PKG_CONFIG" && \
20068 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"escape\""; } >&5
20069 ($PKG_CONFIG --exists --print-errors "escape") 2>&5
20070 ac_status=$?
20071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20072 test $ac_status = 0; }; then
20073 pkg_cv_ESCAPE_CFLAGS=`$PKG_CONFIG --cflags "escape" 2>/dev/null`
20074else
20075 pkg_failed=yes
20076fi
20077 else
20078 pkg_failed=untried
20079fi
20080if test -n "$ESCAPE_LIBS"; then
20081 pkg_cv_ESCAPE_LIBS="$ESCAPE_LIBS"
20082 elif test -n "$PKG_CONFIG"; then
20083 if test -n "$PKG_CONFIG" && \
20084 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"escape\""; } >&5
20085 ($PKG_CONFIG --exists --print-errors "escape") 2>&5
20086 ac_status=$?
20087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20088 test $ac_status = 0; }; then
20089 pkg_cv_ESCAPE_LIBS=`$PKG_CONFIG --libs "escape" 2>/dev/null`
20090else
20091 pkg_failed=yes
20092fi
20093 else
20094 pkg_failed=untried
20095fi
20096
20097
20098
20099if test $pkg_failed = yes; then
20100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20101$as_echo "no" >&6; }
20102
20103if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20104 _pkg_short_errors_supported=yes
20105else
20106 _pkg_short_errors_supported=no
20107fi
20108 if test $_pkg_short_errors_supported = yes; then
20109 ESCAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "escape" 2>&1`
20110 else
20111 ESCAPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "escape" 2>&1`
20112 fi
20113 # Put the nasty error message in config.log where it belongs
20114 echo "$ESCAPE_PKG_ERRORS" >&5
20115
20116 as_fn_error $? "Package requirements (escape) were not met:
20117
20118$ESCAPE_PKG_ERRORS
20119
20120Consider adjusting the PKG_CONFIG_PATH environment variable if you
20121installed software in a non-standard prefix.
20122
20123Alternatively, you may set the environment variables ESCAPE_CFLAGS
20124and ESCAPE_LIBS to avoid the need to call pkg-config.
20125See the pkg-config man page for more details." "$LINENO" 5
20126elif test $pkg_failed = untried; then
20127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20128$as_echo "no" >&6; }
20129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20130$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20131as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20132is in your PATH or set the PKG_CONFIG environment variable to the full
20133path to pkg-config.
20134
20135Alternatively, you may set the environment variables ESCAPE_CFLAGS
20136and ESCAPE_LIBS to avoid the need to call pkg-config.
20137See the pkg-config man page for more details.
20138
20139To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20140See \`config.log' for more details" "$LINENO" 5 ; }
20141else
20142 ESCAPE_CFLAGS=$pkg_cv_ESCAPE_CFLAGS
20143 ESCAPE_LIBS=$pkg_cv_ESCAPE_LIBS
20144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20145$as_echo "yes" >&6; }
20146
20147fi
20148 CFLAGS="$CFLAGS $ESCAPE_CFLAGS"
20149
20150$as_echo "#define HAVE_ESCAPE 1" >>confdefs.h
20151
20152 EFL_ECORE_PSL1GHT_BUILD="-DEFL_ECORE_PSL1GHT_BUILD"
20153 requirements_ecore="escape ${requirements_ecore}"
20154 requirements_ecore_evas="escape ${requirements_ecore_evas}"
20155 requirements_ecore_file="escape ${requirements_ecore_file}"
20156 requirements_ecore_imf="escape ${requirements_ecore_imf}"
20157 requirements_ecore_imf_evas="escape ${requirements_ecore_imf_evas}"
20158 requirements_ecore_sdl="escape ${requirements_ecore_sdl}"
20159 want_ecore_psl1ght="yes"
20160 want_ecore_evas_psl1ght="yes"
20161 ;;
20162esac
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178 if test "x${have_wince}" = "xyes"; then
20179 ECORE_HAVE_WINCE_TRUE=
20180 ECORE_HAVE_WINCE_FALSE='#'
20181else
20182 ECORE_HAVE_WINCE_TRUE='#'
20183 ECORE_HAVE_WINCE_FALSE=
20184fi
20185
20186 if test "x${have_win32}" = "xyes"; then
20187 ECORE_HAVE_WIN32_TRUE=
20188 ECORE_HAVE_WIN32_FALSE='#'
20189else
20190 ECORE_HAVE_WIN32_TRUE='#'
20191 ECORE_HAVE_WIN32_FALSE=
20192fi
20193
20194 if test "x${have_ps3}" = "xyes"; then
20195 ECORE_HAVE_PS3_TRUE=
20196 ECORE_HAVE_PS3_FALSE='#'
20197else
20198 ECORE_HAVE_PS3_TRUE='#'
20199 ECORE_HAVE_PS3_FALSE=
20200fi
20201
20202
20203WIN32_LIBS=""
20204case "$host_os" in
20205 mingw32ce* | cegcc*)
20206 WIN32_LIBS="-lws2"
20207 dlopen_libs="-ldl"
20208 ;;
20209 mingw*)
20210 WIN32_LIBS="-lws2_32"
20211 dlopen_libs="-ldl"
20212 ;;
20213 *)
20214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lc" >&5
20215$as_echo_n "checking for dlopen in -lc... " >&6; }
20216if test "${ac_cv_lib_c_dlopen+set}" = set; then :
20217 $as_echo_n "(cached) " >&6
20218else
20219 ac_check_lib_save_LIBS=$LIBS
20220LIBS="-lc $LIBS"
20221cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20222/* end confdefs.h. */
20223
20224/* Override any GCC internal prototype to avoid an error.
20225 Use char because int might match the return type of a GCC
20226 builtin and then its argument prototype would still apply. */
20227#ifdef __cplusplus
20228extern "C"
20229#endif
20230char dlopen ();
20231int
20232main ()
20233{
20234return dlopen ();
20235 ;
20236 return 0;
20237}
20238_ACEOF
20239if ac_fn_c_try_link "$LINENO"; then :
20240 ac_cv_lib_c_dlopen=yes
20241else
20242 ac_cv_lib_c_dlopen=no
20243fi
20244rm -f core conftest.err conftest.$ac_objext \
20245 conftest$ac_exeext conftest.$ac_ext
20246LIBS=$ac_check_lib_save_LIBS
20247fi
20248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dlopen" >&5
20249$as_echo "$ac_cv_lib_c_dlopen" >&6; }
20250if test "x$ac_cv_lib_c_dlopen" = x""yes; then :
20251 cat >>confdefs.h <<_ACEOF
20252#define HAVE_LIBC 1
20253_ACEOF
20254
20255 LIBS="-lc $LIBS"
20256
20257else
20258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
20259$as_echo_n "checking for dlopen in -ldl... " >&6; }
20260if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
20261 $as_echo_n "(cached) " >&6
20262else
20263 ac_check_lib_save_LIBS=$LIBS
20264LIBS="-ldl $LIBS"
20265cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20266/* end confdefs.h. */
20267
20268/* Override any GCC internal prototype to avoid an error.
20269 Use char because int might match the return type of a GCC
20270 builtin and then its argument prototype would still apply. */
20271#ifdef __cplusplus
20272extern "C"
20273#endif
20274char dlopen ();
20275int
20276main ()
20277{
20278return dlopen ();
20279 ;
20280 return 0;
20281}
20282_ACEOF
20283if ac_fn_c_try_link "$LINENO"; then :
20284 ac_cv_lib_dl_dlopen=yes
20285else
20286 ac_cv_lib_dl_dlopen=no
20287fi
20288rm -f core conftest.err conftest.$ac_objext \
20289 conftest$ac_exeext conftest.$ac_ext
20290LIBS=$ac_check_lib_save_LIBS
20291fi
20292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
20293$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
20294if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
20295 dlopen_libs=-ldl
20296fi
20297
20298
20299fi
20300
20301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lc" >&5
20302$as_echo_n "checking for clock_gettime in -lc... " >&6; }
20303if test "${ac_cv_lib_c_clock_gettime+set}" = set; then :
20304 $as_echo_n "(cached) " >&6
20305else
20306 ac_check_lib_save_LIBS=$LIBS
20307LIBS="-lc $LIBS"
20308cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20309/* end confdefs.h. */
20310
20311/* Override any GCC internal prototype to avoid an error.
20312 Use char because int might match the return type of a GCC
20313 builtin and then its argument prototype would still apply. */
20314#ifdef __cplusplus
20315extern "C"
20316#endif
20317char clock_gettime ();
20318int
20319main ()
20320{
20321return clock_gettime ();
20322 ;
20323 return 0;
20324}
20325_ACEOF
20326if ac_fn_c_try_link "$LINENO"; then :
20327 ac_cv_lib_c_clock_gettime=yes
20328else
20329 ac_cv_lib_c_clock_gettime=no
20330fi
20331rm -f core conftest.err conftest.$ac_objext \
20332 conftest$ac_exeext conftest.$ac_ext
20333LIBS=$ac_check_lib_save_LIBS
20334fi
20335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_clock_gettime" >&5
20336$as_echo "$ac_cv_lib_c_clock_gettime" >&6; }
20337if test "x$ac_cv_lib_c_clock_gettime" = x""yes; then :
20338
20339$as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20340
20341else
20342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
20343$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
20344if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
20345 $as_echo_n "(cached) " >&6
20346else
20347 ac_check_lib_save_LIBS=$LIBS
20348LIBS="-lrt $LIBS"
20349cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20350/* end confdefs.h. */
20351
20352/* Override any GCC internal prototype to avoid an error.
20353 Use char because int might match the return type of a GCC
20354 builtin and then its argument prototype would still apply. */
20355#ifdef __cplusplus
20356extern "C"
20357#endif
20358char clock_gettime ();
20359int
20360main ()
20361{
20362return clock_gettime ();
20363 ;
20364 return 0;
20365}
20366_ACEOF
20367if ac_fn_c_try_link "$LINENO"; then :
20368 ac_cv_lib_rt_clock_gettime=yes
20369else
20370 ac_cv_lib_rt_clock_gettime=no
20371fi
20372rm -f core conftest.err conftest.$ac_objext \
20373 conftest$ac_exeext conftest.$ac_ext
20374LIBS=$ac_check_lib_save_LIBS
20375fi
20376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
20377$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
20378if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
20379
20380 rt_libs=-lrt
20381
20382$as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20383
20384
20385fi
20386
20387
20388fi
20389
20390 ;;
20391esac
20392
20393
20394
20395
20396# Eina library
20397
20398
20399pkg_failed=no
20400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
20401$as_echo_n "checking for EINA... " >&6; }
20402
20403if test -n "$EINA_CFLAGS"; then
20404 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
20405 elif test -n "$PKG_CONFIG"; then
20406 if test -n "$PKG_CONFIG" && \
20407 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.1.0\""; } >&5
20408 ($PKG_CONFIG --exists --print-errors "eina >= 1.1.0") 2>&5
20409 ac_status=$?
20410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20411 test $ac_status = 0; }; then
20412 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.1.0" 2>/dev/null`
20413else
20414 pkg_failed=yes
20415fi
20416 else
20417 pkg_failed=untried
20418fi
20419if test -n "$EINA_LIBS"; then
20420 pkg_cv_EINA_LIBS="$EINA_LIBS"
20421 elif test -n "$PKG_CONFIG"; then
20422 if test -n "$PKG_CONFIG" && \
20423 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.1.0\""; } >&5
20424 ($PKG_CONFIG --exists --print-errors "eina >= 1.1.0") 2>&5
20425 ac_status=$?
20426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20427 test $ac_status = 0; }; then
20428 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.1.0" 2>/dev/null`
20429else
20430 pkg_failed=yes
20431fi
20432 else
20433 pkg_failed=untried
20434fi
20435
20436
20437
20438if test $pkg_failed = yes; then
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20440$as_echo "no" >&6; }
20441
20442if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20443 _pkg_short_errors_supported=yes
20444else
20445 _pkg_short_errors_supported=no
20446fi
20447 if test $_pkg_short_errors_supported = yes; then
20448 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eina >= 1.1.0" 2>&1`
20449 else
20450 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors "eina >= 1.1.0" 2>&1`
20451 fi
20452 # Put the nasty error message in config.log where it belongs
20453 echo "$EINA_PKG_ERRORS" >&5
20454
20455 as_fn_error $? "Package requirements (eina >= 1.1.0) were not met:
20456
20457$EINA_PKG_ERRORS
20458
20459Consider adjusting the PKG_CONFIG_PATH environment variable if you
20460installed software in a non-standard prefix.
20461
20462Alternatively, you may set the environment variables EINA_CFLAGS
20463and EINA_LIBS to avoid the need to call pkg-config.
20464See the pkg-config man page for more details." "$LINENO" 5
20465elif test $pkg_failed = untried; then
20466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20467$as_echo "no" >&6; }
20468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20469$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20470as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20471is in your PATH or set the PKG_CONFIG environment variable to the full
20472path to pkg-config.
20473
20474Alternatively, you may set the environment variables EINA_CFLAGS
20475and EINA_LIBS to avoid the need to call pkg-config.
20476See the pkg-config man page for more details.
20477
20478To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20479See \`config.log' for more details" "$LINENO" 5 ; }
20480else
20481 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
20482 EINA_LIBS=$pkg_cv_EINA_LIBS
20483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20484$as_echo "yes" >&6; }
20485
20486fi
20487#FIXME check all the requirements when the eina move will be finished
20488requirements_ecore="eina >= 1.1.0 ${requirements_ecore}"
20489requirements_ecore_con="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_con}"
20490#requirements_ecore_config="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_config}"
20491requirements_ecore_directfb="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_directfb}"
20492requirements_ecore_evas="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_evas}"
20493requirements_ecore_fb="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_fb}"
20494requirements_ecore_file="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_file}"
20495requirements_ecore_imf="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_imf}"
20496requirements_ecore_imf_evas="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_imf_evas}"
20497requirements_ecore_input="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_input}"
20498requirements_ecore_input_evas="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_input_evas}"
20499requirements_ecore_ipc="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_ipc}"
20500requirements_ecore_cocoa="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_cocoa}"
20501requirements_ecore_sdl="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_sdl}"
20502requirements_ecore_psl1ght="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_sdl}"
20503requirements_ecore_win32="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_win32}"
20504requirements_ecore_wince="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_wince}"
20505requirements_ecore_x="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_x}"
20506
20507
20508# glib support (main loop integration)
20509# Check whether --enable-glib was given.
20510if test "${enable_glib+set}" = set; then :
20511 enableval=$enable_glib; want_glib=$enableval
20512fi
20513
20514
20515if test "x$want_glib" != "xno"; then
20516
20517pkg_failed=no
20518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
20519$as_echo_n "checking for GLIB... " >&6; }
20520
20521if test -n "$GLIB_CFLAGS"; then
20522 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
20523 elif test -n "$PKG_CONFIG"; then
20524 if test -n "$PKG_CONFIG" && \
20525 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
20526 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
20527 ac_status=$?
20528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20529 test $ac_status = 0; }; then
20530 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
20531else
20532 pkg_failed=yes
20533fi
20534 else
20535 pkg_failed=untried
20536fi
20537if test -n "$GLIB_LIBS"; then
20538 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
20539 elif test -n "$PKG_CONFIG"; then
20540 if test -n "$PKG_CONFIG" && \
20541 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
20542 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
20543 ac_status=$?
20544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20545 test $ac_status = 0; }; then
20546 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
20547else
20548 pkg_failed=yes
20549fi
20550 else
20551 pkg_failed=untried
20552fi
20553
20554
20555
20556if test $pkg_failed = yes; then
20557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20558$as_echo "no" >&6; }
20559
20560if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20561 _pkg_short_errors_supported=yes
20562else
20563 _pkg_short_errors_supported=no
20564fi
20565 if test $_pkg_short_errors_supported = yes; then
20566 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
20567 else
20568 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
20569 fi
20570 # Put the nasty error message in config.log where it belongs
20571 echo "$GLIB_PKG_ERRORS" >&5
20572
20573 have_glib="no"
20574elif test $pkg_failed = untried; then
20575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20576$as_echo "no" >&6; }
20577 have_glib="no"
20578else
20579 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
20580 GLIB_LIBS=$pkg_cv_GLIB_LIBS
20581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20582$as_echo "yes" >&6; }
20583 have_glib="yes"
20584fi
20585else
20586 have_glib="no"
20587fi
20588if test "x$want_glib" = "xyes" -a "x$have_glib" = "xno"; then
20589 as_fn_error $? "GLib support requested, but no GLib found by pkg-config." "$LINENO" 5
20590elif test "x$have_glib" = "xyes"; then
20591
20592$as_echo "#define HAVE_GLIB 1" >>confdefs.h
20593
20594 requirements_ecore="glib-2.0 ${requirements_ecore}"
20595fi
20596
20597
20598# SDL library (ecore_sdl)
20599
20600have_sdl="no"
20601
20602pkg_failed=no
20603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
20604$as_echo_n "checking for SDL... " >&6; }
20605
20606if test -n "$SDL_CFLAGS"; then
20607 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
20608 elif test -n "$PKG_CONFIG"; then
20609 if test -n "$PKG_CONFIG" && \
20610 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20611 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20612 ac_status=$?
20613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20614 test $ac_status = 0; }; then
20615 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
20616else
20617 pkg_failed=yes
20618fi
20619 else
20620 pkg_failed=untried
20621fi
20622if test -n "$SDL_LIBS"; then
20623 pkg_cv_SDL_LIBS="$SDL_LIBS"
20624 elif test -n "$PKG_CONFIG"; then
20625 if test -n "$PKG_CONFIG" && \
20626 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20627 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20628 ac_status=$?
20629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20630 test $ac_status = 0; }; then
20631 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
20632else
20633 pkg_failed=yes
20634fi
20635 else
20636 pkg_failed=untried
20637fi
20638
20639
20640
20641if test $pkg_failed = yes; then
20642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20643$as_echo "no" >&6; }
20644
20645if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20646 _pkg_short_errors_supported=yes
20647else
20648 _pkg_short_errors_supported=no
20649fi
20650 if test $_pkg_short_errors_supported = yes; then
20651 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl >= 1.2.0" 2>&1`
20652 else
20653 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl >= 1.2.0" 2>&1`
20654 fi
20655 # Put the nasty error message in config.log where it belongs
20656 echo "$SDL_PKG_ERRORS" >&5
20657
20658 have_sdl="no"
20659elif test $pkg_failed = untried; then
20660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20661$as_echo "no" >&6; }
20662 have_sdl="no"
20663else
20664 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
20665 SDL_LIBS=$pkg_cv_SDL_LIBS
20666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20667$as_echo "yes" >&6; }
20668 have_sdl="yes"
20669fi
20670if test "x${have_sdl}" != "xyes" ; then
20671 SDL_CONFIG="sdl-config"
20672
20673# Check whether --with-sdl-config was given.
20674if test "${with_sdl_config+set}" = set; then :
20675 withval=$with_sdl_config;
20676 SDL_CONFIG=$withval
20677 { $as_echo "$as_me:${as_lineno-$LINENO}: using ${SDL_CONFIG} for sdl-config" >&5
20678$as_echo "$as_me: using ${SDL_CONFIG} for sdl-config" >&6;}
20679
20680fi
20681
20682
20683 # Extract the first word of ""sdl-config"", so it can be a program name with args.
20684set dummy "sdl-config"; ac_word=$2
20685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20686$as_echo_n "checking for $ac_word... " >&6; }
20687if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
20688 $as_echo_n "(cached) " >&6
20689else
20690 case $SDL_CONFIG in
20691 [\\/]* | ?:[\\/]*)
20692 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
20693 ;;
20694 *)
20695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20696for as_dir in $PATH
20697do
20698 IFS=$as_save_IFS
20699 test -z "$as_dir" && as_dir=.
20700 for ac_exec_ext in '' $ac_executable_extensions; do
20701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20702 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20704 break 2
20705 fi
20706done
20707 done
20708IFS=$as_save_IFS
20709
20710 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG=""""
20711 ;;
20712esac
20713fi
20714SDL_CONFIG=$ac_cv_path_SDL_CONFIG
20715if test -n "$SDL_CONFIG"; then
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
20717$as_echo "$SDL_CONFIG" >&6; }
20718else
20719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20720$as_echo "no" >&6; }
20721fi
20722
20723
20724
20725 if test -n "$SDL_CONFIG" ; then
20726 SDL_CFLAGS=`$SDL_CONFIG --cflags`
20727 SDL_LIBS=`$SDL_CONFIG --libs`
20728
20729
20730 have_sdl="yes"
20731 fi
20732fi
20733
20734if test "x${have_sdl}" = "xyes" ; then
20735 if test -n "$PKG_CONFIG" && \
20736 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.3.0\""; } >&5
20737 ($PKG_CONFIG --exists --print-errors "sdl >= 1.3.0") 2>&5
20738 ac_status=$?
20739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20740 test $ac_status = 0; }; then
20741
20742$as_echo "#define BUILD_ECORE_EVAS_SDL_130 1" >>confdefs.h
20743
20744fi
20745fi
20746
20747
20748# DirectFB library (ecore_directfb)
20749
20750
20751pkg_failed=no
20752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
20753$as_echo_n "checking for DIRECTFB... " >&6; }
20754
20755if test -n "$DIRECTFB_CFLAGS"; then
20756 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
20757 elif test -n "$PKG_CONFIG"; then
20758 if test -n "$PKG_CONFIG" && \
20759 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
20760 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
20761 ac_status=$?
20762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20763 test $ac_status = 0; }; then
20764 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.16" 2>/dev/null`
20765else
20766 pkg_failed=yes
20767fi
20768 else
20769 pkg_failed=untried
20770fi
20771if test -n "$DIRECTFB_LIBS"; then
20772 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
20773 elif test -n "$PKG_CONFIG"; then
20774 if test -n "$PKG_CONFIG" && \
20775 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
20776 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
20777 ac_status=$?
20778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20779 test $ac_status = 0; }; then
20780 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.16" 2>/dev/null`
20781else
20782 pkg_failed=yes
20783fi
20784 else
20785 pkg_failed=untried
20786fi
20787
20788
20789
20790if test $pkg_failed = yes; then
20791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20792$as_echo "no" >&6; }
20793
20794if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20795 _pkg_short_errors_supported=yes
20796else
20797 _pkg_short_errors_supported=no
20798fi
20799 if test $_pkg_short_errors_supported = yes; then
20800 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "directfb >= 0.9.16" 2>&1`
20801 else
20802 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --print-errors "directfb >= 0.9.16" 2>&1`
20803 fi
20804 # Put the nasty error message in config.log where it belongs
20805 echo "$DIRECTFB_PKG_ERRORS" >&5
20806
20807 have_directfb="no"
20808elif test $pkg_failed = untried; then
20809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20810$as_echo "no" >&6; }
20811 have_directfb="no"
20812else
20813 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
20814 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20816$as_echo "yes" >&6; }
20817 have_directfb="yes"
20818fi
20819
20820
20821# Eet library (ecore_config)
20822
20823#PKG_CHECK_MODULES([EET],
20824# [eet >= 1.4.0],
20825# [have_eet="yes"],
20826# [have_eet="no"])
20827
20828
20829# Xlib and XCB (ecore_x)
20830
20831have_x="no"
20832have_ecore_x="no"
20833have_ecore_x_xlib="no"
20834have_ecore_x_xcb="no"
20835
20836x_dir="";
20837x_includes="";
20838x_cflags="";
20839x_libs="";
20840
20841ecore_x_libs_private=""
20842
20843# Check whether --enable-ecore-x-composite was given.
20844if test "${enable_ecore_x_composite+set}" = set; then :
20845 enableval=$enable_ecore_x_composite; want_ecore_x_composite=$enableval
20846fi
20847
20848
20849# Check whether --enable-ecore-x-damage was given.
20850if test "${enable_ecore_x_damage+set}" = set; then :
20851 enableval=$enable_ecore_x_damage; want_ecore_x_damage=$enableval
20852fi
20853
20854
20855# Check whether --enable-ecore-x-dpms was given.
20856if test "${enable_ecore_x_dpms+set}" = set; then :
20857 enableval=$enable_ecore_x_dpms; want_ecore_x_dpms=$enableval
20858fi
20859
20860
20861# Check whether --enable-ecore-x-randr was given.
20862if test "${enable_ecore_x_randr+set}" = set; then :
20863 enableval=$enable_ecore_x_randr; want_ecore_x_randr=$enableval
20864fi
20865
20866
20867# Check whether --enable-ecore-x-render was given.
20868if test "${enable_ecore_x_render+set}" = set; then :
20869 enableval=$enable_ecore_x_render; want_ecore_x_render=$enableval
20870fi
20871
20872
20873# Check whether --enable-ecore-x-screensaver was given.
20874if test "${enable_ecore_x_screensaver+set}" = set; then :
20875 enableval=$enable_ecore_x_screensaver; want_ecore_x_screensaver=$enableval
20876fi
20877
20878
20879# Check whether --enable-ecore-x-shape was given.
20880if test "${enable_ecore_x_shape+set}" = set; then :
20881 enableval=$enable_ecore_x_shape; want_ecore_x_shape=$enableval
20882fi
20883
20884
20885# Check whether --enable-ecore-x-gesture was given.
20886if test "${enable_ecore_x_gesture+set}" = set; then :
20887 enableval=$enable_ecore_x_gesture; want_ecore_x_gesture=$enableval
20888fi
20889
20890
20891# Check whether --enable-ecore-x-sync was given.
20892if test "${enable_ecore_x_sync+set}" = set; then :
20893 enableval=$enable_ecore_x_sync; want_ecore_x_sync=$enableval
20894fi
20895
20896
20897# Check whether --enable-ecore-x-xfixes was given.
20898if test "${enable_ecore_x_xfixes+set}" = set; then :
20899 enableval=$enable_ecore_x_xfixes; want_ecore_x_xfixes=$enableval
20900fi
20901
20902
20903# Check whether --enable-ecore-x-xinerama was given.
20904if test "${enable_ecore_x_xinerama+set}" = set; then :
20905 enableval=$enable_ecore_x_xinerama; want_ecore_x_xinerama=$enableval
20906fi
20907
20908
20909# Check whether --enable-ecore-x-xprint was given.
20910if test "${enable_ecore_x_xprint+set}" = set; then :
20911 enableval=$enable_ecore_x_xprint; want_ecore_x_xprint=$enableval
20912fi
20913
20914
20915# Check whether --enable-ecore-x-xtest was given.
20916if test "${enable_ecore_x_xtest+set}" = set; then :
20917 enableval=$enable_ecore_x_xtest; want_ecore_x_xtest=$enableval
20918fi
20919
20920
20921# Check whether --enable-ecore-x-cursor was given.
20922if test "${enable_ecore_x_cursor+set}" = set; then :
20923 enableval=$enable_ecore_x_cursor; want_ecore_x_cursor=$enableval
20924fi
20925
20926
20927# Check whether --enable-ecore-x-input was given.
20928if test "${enable_ecore_x_input+set}" = set; then :
20929 enableval=$enable_ecore_x_input; want_ecore_x_input=$enableval
20930fi
20931
20932
20933# Check whether --enable-ecore-x-dri was given.
20934if test "${enable_ecore_x_dri+set}" = set; then :
20935 enableval=$enable_ecore_x_dri; want_ecore_x_dri=$enableval
20936fi
20937
20938
20939# Check whether --enable-ecore-x-xcb was given.
20940if test "${enable_ecore_x_xcb+set}" = set; then :
20941 enableval=$enable_ecore_x_xcb; want_ecore_x_xcb=$enableval
20942fi
20943
20944
20945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_x with XCB backend is to be built" >&5
20946$as_echo_n "checking whether ecore_x with XCB backend is to be built... " >&6; }
20947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_ecore_x_xcb" >&5
20948$as_echo "$want_ecore_x_xcb" >&6; }
20949
20950if test "x$want_ecore_x_xcb" = "xyes" ; then
20951
20952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking keysym definitions" >&5
20953$as_echo_n "checking keysym definitions... " >&6; }
20954 KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11
20955 FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
20956 for i in $FILES; do
20957 if test -f "$KEYSYMDEFDIR/$i"; then
20958 KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
20959 elif test "x$i" = "xkeysymdef.h"; then
20960 as_fn_error $? "Cannot find keysymdef.h" "$LINENO" 5
20961 fi
20962 done
20963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KEYSYMDEFS" >&5
20964$as_echo "$KEYSYMDEFS" >&6; }
20965
20966
20967 have_iconv="no"
20968
20969# Check whether --with-iconv-link was given.
20970if test "${with_iconv_link+set}" = set; then :
20971 withval=$with_iconv_link;
20972 LIBS="$withval $LIBS"
20973 have_iconv="yes"
20974
20975fi
20976
20977
20978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for explicit iconv link options" >&5
20979$as_echo_n "checking for explicit iconv link options... " >&6; }
20980 if test "x${iconv_libs}" = "x" ; then
20981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no explicit iconv link option" >&5
20982$as_echo "no explicit iconv link option" >&6; }
20983 else
20984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $iconv_libs" >&5
20985$as_echo "$iconv_libs" >&6; }
20986 fi
20987
20988 if test "x${have_iconv}" = "xno" ; then
20989 for ac_header in iconv.h
20990do :
20991 ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
20992if test "x$ac_cv_header_iconv_h" = x""yes; then :
20993 cat >>confdefs.h <<_ACEOF
20994#define HAVE_ICONV_H 1
20995_ACEOF
20996 have_iconv="yes"
20997fi
20998
20999done
21000
21001
21002 if test "x${have_iconv}" = "xyes" ; then
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv() is in libc" >&5
21004$as_echo_n "checking whether iconv() is in libc... " >&6; }
21005
21006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21007/* end confdefs.h. */
21008
21009 #include <stdlib.h>
21010 #include <iconv.h>
21011
21012int
21013main ()
21014{
21015
21016 iconv_t ic;
21017 size_t count = iconv(ic, NULL, NULL, NULL, NULL);
21018
21019 ;
21020 return 0;
21021}
21022_ACEOF
21023if ac_fn_c_try_link "$LINENO"; then :
21024 have_iconv="yes"
21025else
21026 have_iconv="no"
21027fi
21028rm -f core conftest.err conftest.$ac_objext \
21029 conftest$ac_exeext conftest.$ac_ext
21030
21031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_iconv}" >&5
21032$as_echo "${have_iconv}" >&6; }
21033 fi
21034
21035 if test "x${have_iconv}" = "xno" ; then
21036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv() is in libiconv.a" >&5
21037$as_echo_n "checking whether iconv() is in libiconv.a... " >&6; }
21038
21039 LIBS_save="${LIBS}"
21040 LIBS="-liconv $LIBS"
21041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21042/* end confdefs.h. */
21043
21044 #include <stdlib.h>
21045 #include <iconv.h>
21046
21047int
21048main ()
21049{
21050
21051 iconv_t ic;
21052 size_t count;
21053 count = iconv(ic, NULL, NULL, NULL, NULL);
21054
21055 ;
21056 return 0;
21057}
21058_ACEOF
21059if ac_fn_c_try_link "$LINENO"; then :
21060 have_iconv="yes"
21061else
21062
21063 have_iconv="no"
21064 LIBS=${LIBS_save}
21065
21066fi
21067rm -f core conftest.err conftest.$ac_objext \
21068 conftest$ac_exeext conftest.$ac_ext
21069
21070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_iconv}" >&5
21071$as_echo "${have_iconv}" >&6; }
21072 fi
21073
21074 if test "x${have_iconv}" = "xno" ; then
21075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv() is in libiconv_plug.a" >&5
21076$as_echo_n "checking whether iconv() is in libiconv_plug.a... " >&6; }
21077
21078 LIBS_save="${LIBS}"
21079 LIBS="-liconv_plug $LIBS"
21080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21081/* end confdefs.h. */
21082
21083 #include <stdlib.h>
21084 #include <iconv.h>
21085
21086int
21087main ()
21088{
21089
21090 iconv_t ic;
21091 size_t count = iconv(ic, NULL, NULL, NULL, NULL);
21092
21093 ;
21094 return 0;
21095}
21096_ACEOF
21097if ac_fn_c_try_link "$LINENO"; then :
21098 have_iconv="yes"
21099else
21100
21101 have_iconv="no"
21102 LIBS=${LIBS_save}
21103
21104fi
21105rm -f core conftest.err conftest.$ac_objext \
21106 conftest$ac_exeext conftest.$ac_ext
21107
21108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_iconv}" >&5
21109$as_echo "${have_iconv}" >&6; }
21110 fi
21111
21112 if test "x${have_iconv}" = "xyes" ; then
21113
21114$as_echo "#define HAVE_ICONV 1" >>confdefs.h
21115
21116 fi
21117 fi
21118
21119
21120pkg_failed=no
21121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_XCB" >&5
21122$as_echo_n "checking for ECORE_XCB... " >&6; }
21123
21124if test -n "$ECORE_XCB_CFLAGS"; then
21125 pkg_cv_ECORE_XCB_CFLAGS="$ECORE_XCB_CFLAGS"
21126 elif test -n "$PKG_CONFIG"; then
21127 if test -n "$PKG_CONFIG" && \
21128 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8\""; } >&5
21129 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8") 2>&5
21130 ac_status=$?
21131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21132 test $ac_status = 0; }; then
21133 pkg_cv_ECORE_XCB_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8" 2>/dev/null`
21134else
21135 pkg_failed=yes
21136fi
21137 else
21138 pkg_failed=untried
21139fi
21140if test -n "$ECORE_XCB_LIBS"; then
21141 pkg_cv_ECORE_XCB_LIBS="$ECORE_XCB_LIBS"
21142 elif test -n "$PKG_CONFIG"; then
21143 if test -n "$PKG_CONFIG" && \
21144 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8\""; } >&5
21145 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8") 2>&5
21146 ac_status=$?
21147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21148 test $ac_status = 0; }; then
21149 pkg_cv_ECORE_XCB_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8" 2>/dev/null`
21150else
21151 pkg_failed=yes
21152fi
21153 else
21154 pkg_failed=untried
21155fi
21156
21157
21158
21159if test $pkg_failed = yes; then
21160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21161$as_echo "no" >&6; }
21162
21163if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21164 _pkg_short_errors_supported=yes
21165else
21166 _pkg_short_errors_supported=no
21167fi
21168 if test $_pkg_short_errors_supported = yes; then
21169 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8" 2>&1`
21170 else
21171 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8" 2>&1`
21172 fi
21173 # Put the nasty error message in config.log where it belongs
21174 echo "$ECORE_XCB_PKG_ERRORS" >&5
21175
21176
21177
21178pkg_failed=no
21179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_XCB" >&5
21180$as_echo_n "checking for ECORE_XCB... " >&6; }
21181
21182if test -n "$ECORE_XCB_CFLAGS"; then
21183 pkg_cv_ECORE_XCB_CFLAGS="$ECORE_XCB_CFLAGS"
21184 elif test -n "$PKG_CONFIG"; then
21185 if test -n "$PKG_CONFIG" && \
21186 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21187 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21188 ac_status=$?
21189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21190 test $ac_status = 0; }; then
21191 pkg_cv_ECORE_XCB_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>/dev/null`
21192else
21193 pkg_failed=yes
21194fi
21195 else
21196 pkg_failed=untried
21197fi
21198if test -n "$ECORE_XCB_LIBS"; then
21199 pkg_cv_ECORE_XCB_LIBS="$ECORE_XCB_LIBS"
21200 elif test -n "$PKG_CONFIG"; then
21201 if test -n "$PKG_CONFIG" && \
21202 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21203 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21204 ac_status=$?
21205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21206 test $ac_status = 0; }; then
21207 pkg_cv_ECORE_XCB_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>/dev/null`
21208else
21209 pkg_failed=yes
21210fi
21211 else
21212 pkg_failed=untried
21213fi
21214
21215
21216
21217if test $pkg_failed = yes; then
21218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21219$as_echo "no" >&6; }
21220
21221if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21222 _pkg_short_errors_supported=yes
21223else
21224 _pkg_short_errors_supported=no
21225fi
21226 if test $_pkg_short_errors_supported = yes; then
21227 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21228 else
21229 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21230 fi
21231 # Put the nasty error message in config.log where it belongs
21232 echo "$ECORE_XCB_PKG_ERRORS" >&5
21233
21234 have_ecore_x_xcb="no"
21235elif test $pkg_failed = untried; then
21236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21237$as_echo "no" >&6; }
21238 have_ecore_x_xcb="no"
21239else
21240 ECORE_XCB_CFLAGS=$pkg_cv_ECORE_XCB_CFLAGS
21241 ECORE_XCB_LIBS=$pkg_cv_ECORE_XCB_LIBS
21242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21243$as_echo "yes" >&6; }
21244 have_ecore_x_xcb="yes"
21245
21246$as_echo "#define OLD_XCB_VERSION 1" >>confdefs.h
21247
21248 requirements_ecore_x="x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms ${requirements_ecore_x}"
21249fi
21250
21251elif test $pkg_failed = untried; then
21252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21253$as_echo "no" >&6; }
21254
21255
21256pkg_failed=no
21257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_XCB" >&5
21258$as_echo_n "checking for ECORE_XCB... " >&6; }
21259
21260if test -n "$ECORE_XCB_CFLAGS"; then
21261 pkg_cv_ECORE_XCB_CFLAGS="$ECORE_XCB_CFLAGS"
21262 elif test -n "$PKG_CONFIG"; then
21263 if test -n "$PKG_CONFIG" && \
21264 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21265 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21266 ac_status=$?
21267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21268 test $ac_status = 0; }; then
21269 pkg_cv_ECORE_XCB_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>/dev/null`
21270else
21271 pkg_failed=yes
21272fi
21273 else
21274 pkg_failed=untried
21275fi
21276if test -n "$ECORE_XCB_LIBS"; then
21277 pkg_cv_ECORE_XCB_LIBS="$ECORE_XCB_LIBS"
21278 elif test -n "$PKG_CONFIG"; then
21279 if test -n "$PKG_CONFIG" && \
21280 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21281 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21282 ac_status=$?
21283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21284 test $ac_status = 0; }; then
21285 pkg_cv_ECORE_XCB_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>/dev/null`
21286else
21287 pkg_failed=yes
21288fi
21289 else
21290 pkg_failed=untried
21291fi
21292
21293
21294
21295if test $pkg_failed = yes; then
21296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21297$as_echo "no" >&6; }
21298
21299if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21300 _pkg_short_errors_supported=yes
21301else
21302 _pkg_short_errors_supported=no
21303fi
21304 if test $_pkg_short_errors_supported = yes; then
21305 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21306 else
21307 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21308 fi
21309 # Put the nasty error message in config.log where it belongs
21310 echo "$ECORE_XCB_PKG_ERRORS" >&5
21311
21312 have_ecore_x_xcb="no"
21313elif test $pkg_failed = untried; then
21314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21315$as_echo "no" >&6; }
21316 have_ecore_x_xcb="no"
21317else
21318 ECORE_XCB_CFLAGS=$pkg_cv_ECORE_XCB_CFLAGS
21319 ECORE_XCB_LIBS=$pkg_cv_ECORE_XCB_LIBS
21320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21321$as_echo "yes" >&6; }
21322 have_ecore_x_xcb="yes"
21323
21324$as_echo "#define OLD_XCB_VERSION 1" >>confdefs.h
21325
21326 requirements_ecore_x="x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms ${requirements_ecore_x}"
21327fi
21328
21329else
21330 ECORE_XCB_CFLAGS=$pkg_cv_ECORE_XCB_CFLAGS
21331 ECORE_XCB_LIBS=$pkg_cv_ECORE_XCB_LIBS
21332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21333$as_echo "yes" >&6; }
21334 have_ecore_x_xcb="yes"
21335 requirements_ecore_x="x11-xcb xcb xcb-shm xcb-event xcb-icccm xcb-util xcb-image xcb-keysyms ${requirements_ecore_x}"
21336
21337fi
21338
21339 if test "x$have_ecore_x_xcb" = "xyes" ; then
21340
21341
21342pkg_failed=no
21343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5
21344$as_echo_n "checking for PIXMAN... " >&6; }
21345
21346if test -n "$PIXMAN_CFLAGS"; then
21347 pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS"
21348 elif test -n "$PKG_CONFIG"; then
21349 if test -n "$PKG_CONFIG" && \
21350 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
21351 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
21352 ac_status=$?
21353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21354 test $ac_status = 0; }; then
21355 pkg_cv_PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "pixman-1" 2>/dev/null`
21356else
21357 pkg_failed=yes
21358fi
21359 else
21360 pkg_failed=untried
21361fi
21362if test -n "$PIXMAN_LIBS"; then
21363 pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS"
21364 elif test -n "$PKG_CONFIG"; then
21365 if test -n "$PKG_CONFIG" && \
21366 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
21367 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
21368 ac_status=$?
21369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21370 test $ac_status = 0; }; then
21371 pkg_cv_PIXMAN_LIBS=`$PKG_CONFIG --libs "pixman-1" 2>/dev/null`
21372else
21373 pkg_failed=yes
21374fi
21375 else
21376 pkg_failed=untried
21377fi
21378
21379
21380
21381if test $pkg_failed = yes; then
21382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21383$as_echo "no" >&6; }
21384
21385if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21386 _pkg_short_errors_supported=yes
21387else
21388 _pkg_short_errors_supported=no
21389fi
21390 if test $_pkg_short_errors_supported = yes; then
21391 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pixman-1" 2>&1`
21392 else
21393 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors "pixman-1" 2>&1`
21394 fi
21395 # Put the nasty error message in config.log where it belongs
21396 echo "$PIXMAN_PKG_ERRORS" >&5
21397
21398
21399 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21400 as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
21401 fi
21402
21403elif test $pkg_failed = untried; then
21404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21405$as_echo "no" >&6; }
21406
21407 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21408 as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
21409 fi
21410
21411else
21412 PIXMAN_CFLAGS=$pkg_cv_PIXMAN_CFLAGS
21413 PIXMAN_LIBS=$pkg_cv_PIXMAN_LIBS
21414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21415$as_echo "yes" >&6; }
21416
21417 have_pixman="yes"
21418
21419$as_echo "#define HAVE_PIXMAN 1" >>confdefs.h
21420
21421 requirements_ecore_x="pixman-1 ${requirements_ecore_x}"
21422
21423fi
21424
21425 if test "x$want_ecore_x_composite" != "xno"; then
21426
21427pkg_failed=no
21428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_COMPOSITE" >&5
21429$as_echo_n "checking for XCB_COMPOSITE... " >&6; }
21430
21431if test -n "$XCB_COMPOSITE_CFLAGS"; then
21432 pkg_cv_XCB_COMPOSITE_CFLAGS="$XCB_COMPOSITE_CFLAGS"
21433 elif test -n "$PKG_CONFIG"; then
21434 if test -n "$PKG_CONFIG" && \
21435 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-composite\""; } >&5
21436 ($PKG_CONFIG --exists --print-errors "xcb-composite") 2>&5
21437 ac_status=$?
21438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21439 test $ac_status = 0; }; then
21440 pkg_cv_XCB_COMPOSITE_CFLAGS=`$PKG_CONFIG --cflags "xcb-composite" 2>/dev/null`
21441else
21442 pkg_failed=yes
21443fi
21444 else
21445 pkg_failed=untried
21446fi
21447if test -n "$XCB_COMPOSITE_LIBS"; then
21448 pkg_cv_XCB_COMPOSITE_LIBS="$XCB_COMPOSITE_LIBS"
21449 elif test -n "$PKG_CONFIG"; then
21450 if test -n "$PKG_CONFIG" && \
21451 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-composite\""; } >&5
21452 ($PKG_CONFIG --exists --print-errors "xcb-composite") 2>&5
21453 ac_status=$?
21454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21455 test $ac_status = 0; }; then
21456 pkg_cv_XCB_COMPOSITE_LIBS=`$PKG_CONFIG --libs "xcb-composite" 2>/dev/null`
21457else
21458 pkg_failed=yes
21459fi
21460 else
21461 pkg_failed=untried
21462fi
21463
21464
21465
21466if test $pkg_failed = yes; then
21467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21468$as_echo "no" >&6; }
21469
21470if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21471 _pkg_short_errors_supported=yes
21472else
21473 _pkg_short_errors_supported=no
21474fi
21475 if test $_pkg_short_errors_supported = yes; then
21476 XCB_COMPOSITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-composite" 2>&1`
21477 else
21478 XCB_COMPOSITE_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-composite" 2>&1`
21479 fi
21480 # Put the nasty error message in config.log where it belongs
21481 echo "$XCB_COMPOSITE_PKG_ERRORS" >&5
21482
21483 have_ecore_x_xcb_composite="no"
21484elif test $pkg_failed = untried; then
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21486$as_echo "no" >&6; }
21487 have_ecore_x_xcb_composite="no"
21488else
21489 XCB_COMPOSITE_CFLAGS=$pkg_cv_XCB_COMPOSITE_CFLAGS
21490 XCB_COMPOSITE_LIBS=$pkg_cv_XCB_COMPOSITE_LIBS
21491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21492$as_echo "yes" >&6; }
21493 have_ecore_x_xcb_composite="yes"
21494 requirements_ecore_x="xcb-composite ${requirements_ecore_x}"
21495
21496$as_echo "#define ECORE_XCB_COMPOSITE 1" >>confdefs.h
21497
21498fi
21499 else
21500 have_ecore_x_xcb_composite="no"
21501 { $as_echo "$as_me:${as_lineno-$LINENO}: \"composite extension explicitly disabled\"" >&5
21502$as_echo "$as_me: \"composite extension explicitly disabled\"" >&6;}
21503 fi
21504
21505 if test "x$want_ecore_x_damage" != "xno"; then
21506
21507pkg_failed=no
21508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_DAMAGE" >&5
21509$as_echo_n "checking for XCB_DAMAGE... " >&6; }
21510
21511if test -n "$XCB_DAMAGE_CFLAGS"; then
21512 pkg_cv_XCB_DAMAGE_CFLAGS="$XCB_DAMAGE_CFLAGS"
21513 elif test -n "$PKG_CONFIG"; then
21514 if test -n "$PKG_CONFIG" && \
21515 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-damage\""; } >&5
21516 ($PKG_CONFIG --exists --print-errors "xcb-damage") 2>&5
21517 ac_status=$?
21518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21519 test $ac_status = 0; }; then
21520 pkg_cv_XCB_DAMAGE_CFLAGS=`$PKG_CONFIG --cflags "xcb-damage" 2>/dev/null`
21521else
21522 pkg_failed=yes
21523fi
21524 else
21525 pkg_failed=untried
21526fi
21527if test -n "$XCB_DAMAGE_LIBS"; then
21528 pkg_cv_XCB_DAMAGE_LIBS="$XCB_DAMAGE_LIBS"
21529 elif test -n "$PKG_CONFIG"; then
21530 if test -n "$PKG_CONFIG" && \
21531 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-damage\""; } >&5
21532 ($PKG_CONFIG --exists --print-errors "xcb-damage") 2>&5
21533 ac_status=$?
21534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21535 test $ac_status = 0; }; then
21536 pkg_cv_XCB_DAMAGE_LIBS=`$PKG_CONFIG --libs "xcb-damage" 2>/dev/null`
21537else
21538 pkg_failed=yes
21539fi
21540 else
21541 pkg_failed=untried
21542fi
21543
21544
21545
21546if test $pkg_failed = yes; then
21547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21548$as_echo "no" >&6; }
21549
21550if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21551 _pkg_short_errors_supported=yes
21552else
21553 _pkg_short_errors_supported=no
21554fi
21555 if test $_pkg_short_errors_supported = yes; then
21556 XCB_DAMAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-damage" 2>&1`
21557 else
21558 XCB_DAMAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-damage" 2>&1`
21559 fi
21560 # Put the nasty error message in config.log where it belongs
21561 echo "$XCB_DAMAGE_PKG_ERRORS" >&5
21562
21563 have_ecore_x_xcb_damage="no"
21564elif test $pkg_failed = untried; then
21565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21566$as_echo "no" >&6; }
21567 have_ecore_x_xcb_damage="no"
21568else
21569 XCB_DAMAGE_CFLAGS=$pkg_cv_XCB_DAMAGE_CFLAGS
21570 XCB_DAMAGE_LIBS=$pkg_cv_XCB_DAMAGE_LIBS
21571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21572$as_echo "yes" >&6; }
21573 have_ecore_x_xcb_damage="yes"
21574 requirements_ecore_x="xcb-damage ${requirements_ecore_x}"
21575
21576$as_echo "#define ECORE_XCB_DAMAGE 1" >>confdefs.h
21577
21578fi
21579 else
21580 have_ecore_x_xcb_damage="no"
21581 { $as_echo "$as_me:${as_lineno-$LINENO}: \"damage extension explicitly disabled\"" >&5
21582$as_echo "$as_me: \"damage extension explicitly disabled\"" >&6;}
21583 fi
21584
21585 if test "x$want_ecore_x_dpms" != "xno"; then
21586
21587pkg_failed=no
21588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_DPMS" >&5
21589$as_echo_n "checking for XCB_DPMS... " >&6; }
21590
21591if test -n "$XCB_DPMS_CFLAGS"; then
21592 pkg_cv_XCB_DPMS_CFLAGS="$XCB_DPMS_CFLAGS"
21593 elif test -n "$PKG_CONFIG"; then
21594 if test -n "$PKG_CONFIG" && \
21595 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-dpms\""; } >&5
21596 ($PKG_CONFIG --exists --print-errors "xcb-dpms") 2>&5
21597 ac_status=$?
21598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21599 test $ac_status = 0; }; then
21600 pkg_cv_XCB_DPMS_CFLAGS=`$PKG_CONFIG --cflags "xcb-dpms" 2>/dev/null`
21601else
21602 pkg_failed=yes
21603fi
21604 else
21605 pkg_failed=untried
21606fi
21607if test -n "$XCB_DPMS_LIBS"; then
21608 pkg_cv_XCB_DPMS_LIBS="$XCB_DPMS_LIBS"
21609 elif test -n "$PKG_CONFIG"; then
21610 if test -n "$PKG_CONFIG" && \
21611 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-dpms\""; } >&5
21612 ($PKG_CONFIG --exists --print-errors "xcb-dpms") 2>&5
21613 ac_status=$?
21614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21615 test $ac_status = 0; }; then
21616 pkg_cv_XCB_DPMS_LIBS=`$PKG_CONFIG --libs "xcb-dpms" 2>/dev/null`
21617else
21618 pkg_failed=yes
21619fi
21620 else
21621 pkg_failed=untried
21622fi
21623
21624
21625
21626if test $pkg_failed = yes; then
21627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21628$as_echo "no" >&6; }
21629
21630if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21631 _pkg_short_errors_supported=yes
21632else
21633 _pkg_short_errors_supported=no
21634fi
21635 if test $_pkg_short_errors_supported = yes; then
21636 XCB_DPMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-dpms" 2>&1`
21637 else
21638 XCB_DPMS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-dpms" 2>&1`
21639 fi
21640 # Put the nasty error message in config.log where it belongs
21641 echo "$XCB_DPMS_PKG_ERRORS" >&5
21642
21643 have_ecore_x_xcb_dpms="no"
21644elif test $pkg_failed = untried; then
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21646$as_echo "no" >&6; }
21647 have_ecore_x_xcb_dpms="no"
21648else
21649 XCB_DPMS_CFLAGS=$pkg_cv_XCB_DPMS_CFLAGS
21650 XCB_DPMS_LIBS=$pkg_cv_XCB_DPMS_LIBS
21651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21652$as_echo "yes" >&6; }
21653 have_ecore_x_xcb_dpms="yes"
21654 requirements_ecore_x="xcb-dpms ${requirements_ecore_x}"
21655
21656$as_echo "#define ECORE_XCB_DPMS 1" >>confdefs.h
21657
21658fi
21659 else
21660 have_ecore_x_xcb_dpms="no"
21661 { $as_echo "$as_me:${as_lineno-$LINENO}: \"dpms extension explicitly disabled\"" >&5
21662$as_echo "$as_me: \"dpms extension explicitly disabled\"" >&6;}
21663 fi
21664
21665 if test "x$want_ecore_x_randr" != "xno"; then
21666
21667pkg_failed=no
21668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_RANDR" >&5
21669$as_echo_n "checking for XCB_RANDR... " >&6; }
21670
21671if test -n "$XCB_RANDR_CFLAGS"; then
21672 pkg_cv_XCB_RANDR_CFLAGS="$XCB_RANDR_CFLAGS"
21673 elif test -n "$PKG_CONFIG"; then
21674 if test -n "$PKG_CONFIG" && \
21675 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-randr\""; } >&5
21676 ($PKG_CONFIG --exists --print-errors "xcb-randr") 2>&5
21677 ac_status=$?
21678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21679 test $ac_status = 0; }; then
21680 pkg_cv_XCB_RANDR_CFLAGS=`$PKG_CONFIG --cflags "xcb-randr" 2>/dev/null`
21681else
21682 pkg_failed=yes
21683fi
21684 else
21685 pkg_failed=untried
21686fi
21687if test -n "$XCB_RANDR_LIBS"; then
21688 pkg_cv_XCB_RANDR_LIBS="$XCB_RANDR_LIBS"
21689 elif test -n "$PKG_CONFIG"; then
21690 if test -n "$PKG_CONFIG" && \
21691 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-randr\""; } >&5
21692 ($PKG_CONFIG --exists --print-errors "xcb-randr") 2>&5
21693 ac_status=$?
21694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21695 test $ac_status = 0; }; then
21696 pkg_cv_XCB_RANDR_LIBS=`$PKG_CONFIG --libs "xcb-randr" 2>/dev/null`
21697else
21698 pkg_failed=yes
21699fi
21700 else
21701 pkg_failed=untried
21702fi
21703
21704
21705
21706if test $pkg_failed = yes; then
21707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21708$as_echo "no" >&6; }
21709
21710if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21711 _pkg_short_errors_supported=yes
21712else
21713 _pkg_short_errors_supported=no
21714fi
21715 if test $_pkg_short_errors_supported = yes; then
21716 XCB_RANDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-randr" 2>&1`
21717 else
21718 XCB_RANDR_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-randr" 2>&1`
21719 fi
21720 # Put the nasty error message in config.log where it belongs
21721 echo "$XCB_RANDR_PKG_ERRORS" >&5
21722
21723 have_ecore_x_xcb_randr="no"
21724elif test $pkg_failed = untried; then
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21726$as_echo "no" >&6; }
21727 have_ecore_x_xcb_randr="no"
21728else
21729 XCB_RANDR_CFLAGS=$pkg_cv_XCB_RANDR_CFLAGS
21730 XCB_RANDR_LIBS=$pkg_cv_XCB_RANDR_LIBS
21731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21732$as_echo "yes" >&6; }
21733 have_ecore_x_xcb_randr="yes"
21734 requirements_ecore_x="xcb-randr ${requirements_ecore_x}"
21735
21736$as_echo "#define ECORE_XCB_RANDR 1" >>confdefs.h
21737
21738fi
21739 else
21740 have_ecore_x_xcb_randr="no"
21741 { $as_echo "$as_me:${as_lineno-$LINENO}: \"randr extension explicitly disabled\"" >&5
21742$as_echo "$as_me: \"randr extension explicitly disabled\"" >&6;}
21743 fi
21744
21745 if test "x$want_ecore_x_render" != "xno"; then
21746
21747pkg_failed=no
21748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_RENDER" >&5
21749$as_echo_n "checking for XCB_RENDER... " >&6; }
21750
21751if test -n "$XCB_RENDER_CFLAGS"; then
21752 pkg_cv_XCB_RENDER_CFLAGS="$XCB_RENDER_CFLAGS"
21753 elif test -n "$PKG_CONFIG"; then
21754 if test -n "$PKG_CONFIG" && \
21755 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
21756 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
21757 ac_status=$?
21758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21759 test $ac_status = 0; }; then
21760 pkg_cv_XCB_RENDER_CFLAGS=`$PKG_CONFIG --cflags "xcb-render xcb-renderutil" 2>/dev/null`
21761else
21762 pkg_failed=yes
21763fi
21764 else
21765 pkg_failed=untried
21766fi
21767if test -n "$XCB_RENDER_LIBS"; then
21768 pkg_cv_XCB_RENDER_LIBS="$XCB_RENDER_LIBS"
21769 elif test -n "$PKG_CONFIG"; then
21770 if test -n "$PKG_CONFIG" && \
21771 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
21772 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
21773 ac_status=$?
21774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21775 test $ac_status = 0; }; then
21776 pkg_cv_XCB_RENDER_LIBS=`$PKG_CONFIG --libs "xcb-render xcb-renderutil" 2>/dev/null`
21777else
21778 pkg_failed=yes
21779fi
21780 else
21781 pkg_failed=untried
21782fi
21783
21784
21785
21786if test $pkg_failed = yes; then
21787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21788$as_echo "no" >&6; }
21789
21790if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21791 _pkg_short_errors_supported=yes
21792else
21793 _pkg_short_errors_supported=no
21794fi
21795 if test $_pkg_short_errors_supported = yes; then
21796 XCB_RENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-render xcb-renderutil" 2>&1`
21797 else
21798 XCB_RENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-render xcb-renderutil" 2>&1`
21799 fi
21800 # Put the nasty error message in config.log where it belongs
21801 echo "$XCB_RENDER_PKG_ERRORS" >&5
21802
21803 have_ecore_x_xcb_render="no"
21804elif test $pkg_failed = untried; then
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21806$as_echo "no" >&6; }
21807 have_ecore_x_xcb_render="no"
21808else
21809 XCB_RENDER_CFLAGS=$pkg_cv_XCB_RENDER_CFLAGS
21810 XCB_RENDER_LIBS=$pkg_cv_XCB_RENDER_LIBS
21811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21812$as_echo "yes" >&6; }
21813 have_ecore_x_xcb_render="yes"
21814 requirements_ecore_x="xcb-render xcb-renderutil ${requirements_ecore_x}"
21815
21816$as_echo "#define ECORE_XCB_RENDER 1" >>confdefs.h
21817
21818fi
21819 else
21820 have_ecore_x_xcb_render="no"
21821 { $as_echo "$as_me:${as_lineno-$LINENO}: \"render extension explicitly disabled\"" >&5
21822$as_echo "$as_me: \"render extension explicitly disabled\"" >&6;}
21823 fi
21824
21825 if test "x$want_ecore_x_screensaver" != "xno"; then
21826
21827pkg_failed=no
21828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SCREENSAVER" >&5
21829$as_echo_n "checking for XCB_SCREENSAVER... " >&6; }
21830
21831if test -n "$XCB_SCREENSAVER_CFLAGS"; then
21832 pkg_cv_XCB_SCREENSAVER_CFLAGS="$XCB_SCREENSAVER_CFLAGS"
21833 elif test -n "$PKG_CONFIG"; then
21834 if test -n "$PKG_CONFIG" && \
21835 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-screensaver\""; } >&5
21836 ($PKG_CONFIG --exists --print-errors "xcb-screensaver") 2>&5
21837 ac_status=$?
21838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21839 test $ac_status = 0; }; then
21840 pkg_cv_XCB_SCREENSAVER_CFLAGS=`$PKG_CONFIG --cflags "xcb-screensaver" 2>/dev/null`
21841else
21842 pkg_failed=yes
21843fi
21844 else
21845 pkg_failed=untried
21846fi
21847if test -n "$XCB_SCREENSAVER_LIBS"; then
21848 pkg_cv_XCB_SCREENSAVER_LIBS="$XCB_SCREENSAVER_LIBS"
21849 elif test -n "$PKG_CONFIG"; then
21850 if test -n "$PKG_CONFIG" && \
21851 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-screensaver\""; } >&5
21852 ($PKG_CONFIG --exists --print-errors "xcb-screensaver") 2>&5
21853 ac_status=$?
21854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21855 test $ac_status = 0; }; then
21856 pkg_cv_XCB_SCREENSAVER_LIBS=`$PKG_CONFIG --libs "xcb-screensaver" 2>/dev/null`
21857else
21858 pkg_failed=yes
21859fi
21860 else
21861 pkg_failed=untried
21862fi
21863
21864
21865
21866if test $pkg_failed = yes; then
21867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21868$as_echo "no" >&6; }
21869
21870if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21871 _pkg_short_errors_supported=yes
21872else
21873 _pkg_short_errors_supported=no
21874fi
21875 if test $_pkg_short_errors_supported = yes; then
21876 XCB_SCREENSAVER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-screensaver" 2>&1`
21877 else
21878 XCB_SCREENSAVER_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-screensaver" 2>&1`
21879 fi
21880 # Put the nasty error message in config.log where it belongs
21881 echo "$XCB_SCREENSAVER_PKG_ERRORS" >&5
21882
21883 have_ecore_x_xcb_screensaver="no"
21884elif test $pkg_failed = untried; then
21885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21886$as_echo "no" >&6; }
21887 have_ecore_x_xcb_screensaver="no"
21888else
21889 XCB_SCREENSAVER_CFLAGS=$pkg_cv_XCB_SCREENSAVER_CFLAGS
21890 XCB_SCREENSAVER_LIBS=$pkg_cv_XCB_SCREENSAVER_LIBS
21891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21892$as_echo "yes" >&6; }
21893 have_ecore_x_xcb_screensaver="yes"
21894 requirements_ecore_x="xcb-screensaver ${requirements_ecore_x}"
21895
21896$as_echo "#define ECORE_XCB_SCREENSAVER 1" >>confdefs.h
21897
21898fi
21899 else
21900 have_ecore_x_xcb_screensaver="no"
21901 { $as_echo "$as_me:${as_lineno-$LINENO}: \"screensaver extension explicitly disabled\"" >&5
21902$as_echo "$as_me: \"screensaver extension explicitly disabled\"" >&6;}
21903 fi
21904
21905 if test "x$want_ecore_x_shape" != "xno"; then
21906
21907pkg_failed=no
21908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SHAPE" >&5
21909$as_echo_n "checking for XCB_SHAPE... " >&6; }
21910
21911if test -n "$XCB_SHAPE_CFLAGS"; then
21912 pkg_cv_XCB_SHAPE_CFLAGS="$XCB_SHAPE_CFLAGS"
21913 elif test -n "$PKG_CONFIG"; then
21914 if test -n "$PKG_CONFIG" && \
21915 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-shape\""; } >&5
21916 ($PKG_CONFIG --exists --print-errors "xcb-shape") 2>&5
21917 ac_status=$?
21918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21919 test $ac_status = 0; }; then
21920 pkg_cv_XCB_SHAPE_CFLAGS=`$PKG_CONFIG --cflags "xcb-shape" 2>/dev/null`
21921else
21922 pkg_failed=yes
21923fi
21924 else
21925 pkg_failed=untried
21926fi
21927if test -n "$XCB_SHAPE_LIBS"; then
21928 pkg_cv_XCB_SHAPE_LIBS="$XCB_SHAPE_LIBS"
21929 elif test -n "$PKG_CONFIG"; then
21930 if test -n "$PKG_CONFIG" && \
21931 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-shape\""; } >&5
21932 ($PKG_CONFIG --exists --print-errors "xcb-shape") 2>&5
21933 ac_status=$?
21934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21935 test $ac_status = 0; }; then
21936 pkg_cv_XCB_SHAPE_LIBS=`$PKG_CONFIG --libs "xcb-shape" 2>/dev/null`
21937else
21938 pkg_failed=yes
21939fi
21940 else
21941 pkg_failed=untried
21942fi
21943
21944
21945
21946if test $pkg_failed = yes; then
21947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21948$as_echo "no" >&6; }
21949
21950if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21951 _pkg_short_errors_supported=yes
21952else
21953 _pkg_short_errors_supported=no
21954fi
21955 if test $_pkg_short_errors_supported = yes; then
21956 XCB_SHAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-shape" 2>&1`
21957 else
21958 XCB_SHAPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-shape" 2>&1`
21959 fi
21960 # Put the nasty error message in config.log where it belongs
21961 echo "$XCB_SHAPE_PKG_ERRORS" >&5
21962
21963 have_ecore_x_xcb_shape="no"
21964elif test $pkg_failed = untried; then
21965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21966$as_echo "no" >&6; }
21967 have_ecore_x_xcb_shape="no"
21968else
21969 XCB_SHAPE_CFLAGS=$pkg_cv_XCB_SHAPE_CFLAGS
21970 XCB_SHAPE_LIBS=$pkg_cv_XCB_SHAPE_LIBS
21971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21972$as_echo "yes" >&6; }
21973 have_ecore_x_xcb_shape="yes"
21974 requirements_ecore_x="xcb-shape ${requirements_ecore_x}"
21975
21976$as_echo "#define ECORE_XCB_SHAPE 1" >>confdefs.h
21977
21978fi
21979 else
21980 have_ecore_x_xcb_shape="no"
21981 { $as_echo "$as_me:${as_lineno-$LINENO}: \"shape extension explicitly disabled\"" >&5
21982$as_echo "$as_me: \"shape extension explicitly disabled\"" >&6;}
21983 fi
21984
21985 if test "x$want_ecore_x_gesture" != "xno"; then
21986
21987pkg_failed=no
21988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XGESTURE" >&5
21989$as_echo_n "checking for XCB_XGESTURE... " >&6; }
21990
21991if test -n "$XCB_XGESTURE_CFLAGS"; then
21992 pkg_cv_XCB_XGESTURE_CFLAGS="$XCB_XGESTURE_CFLAGS"
21993 elif test -n "$PKG_CONFIG"; then
21994 if test -n "$PKG_CONFIG" && \
21995 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-gesture\""; } >&5
21996 ($PKG_CONFIG --exists --print-errors "xcb-gesture") 2>&5
21997 ac_status=$?
21998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21999 test $ac_status = 0; }; then
22000 pkg_cv_XCB_XGESTURE_CFLAGS=`$PKG_CONFIG --cflags "xcb-gesture" 2>/dev/null`
22001else
22002 pkg_failed=yes
22003fi
22004 else
22005 pkg_failed=untried
22006fi
22007if test -n "$XCB_XGESTURE_LIBS"; then
22008 pkg_cv_XCB_XGESTURE_LIBS="$XCB_XGESTURE_LIBS"
22009 elif test -n "$PKG_CONFIG"; then
22010 if test -n "$PKG_CONFIG" && \
22011 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-gesture\""; } >&5
22012 ($PKG_CONFIG --exists --print-errors "xcb-gesture") 2>&5
22013 ac_status=$?
22014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22015 test $ac_status = 0; }; then
22016 pkg_cv_XCB_XGESTURE_LIBS=`$PKG_CONFIG --libs "xcb-gesture" 2>/dev/null`
22017else
22018 pkg_failed=yes
22019fi
22020 else
22021 pkg_failed=untried
22022fi
22023
22024
22025
22026if test $pkg_failed = yes; then
22027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22028$as_echo "no" >&6; }
22029
22030if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22031 _pkg_short_errors_supported=yes
22032else
22033 _pkg_short_errors_supported=no
22034fi
22035 if test $_pkg_short_errors_supported = yes; then
22036 XCB_XGESTURE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-gesture" 2>&1`
22037 else
22038 XCB_XGESTURE_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-gesture" 2>&1`
22039 fi
22040 # Put the nasty error message in config.log where it belongs
22041 echo "$XCB_XGESTURE_PKG_ERRORS" >&5
22042
22043 have_ecore_x_xcb_gesture="no"
22044elif test $pkg_failed = untried; then
22045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22046$as_echo "no" >&6; }
22047 have_ecore_x_xcb_gesture="no"
22048else
22049 XCB_XGESTURE_CFLAGS=$pkg_cv_XCB_XGESTURE_CFLAGS
22050 XCB_XGESTURE_LIBS=$pkg_cv_XCB_XGESTURE_LIBS
22051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22052$as_echo "yes" >&6; }
22053 have_ecore_x_xcb_gesture="yes"
22054 requirements_ecore_x="xcb-gesture ${requirements_ecore_x}"
22055
22056$as_echo "#define ECORE_XCB_XGESTURE 1" >>confdefs.h
22057
22058fi
22059 else
22060 have_ecore_x_xcb_gesture="no"
22061 { $as_echo "$as_me:${as_lineno-$LINENO}: \"gesture extension explicitly disabled\"" >&5
22062$as_echo "$as_me: \"gesture extension explicitly disabled\"" >&6;}
22063 fi
22064
22065 if test "x$want_ecore_x_sync" != "xno"; then
22066
22067pkg_failed=no
22068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SYNC" >&5
22069$as_echo_n "checking for XCB_SYNC... " >&6; }
22070
22071if test -n "$XCB_SYNC_CFLAGS"; then
22072 pkg_cv_XCB_SYNC_CFLAGS="$XCB_SYNC_CFLAGS"
22073 elif test -n "$PKG_CONFIG"; then
22074 if test -n "$PKG_CONFIG" && \
22075 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-sync\""; } >&5
22076 ($PKG_CONFIG --exists --print-errors "xcb-sync") 2>&5
22077 ac_status=$?
22078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22079 test $ac_status = 0; }; then
22080 pkg_cv_XCB_SYNC_CFLAGS=`$PKG_CONFIG --cflags "xcb-sync" 2>/dev/null`
22081else
22082 pkg_failed=yes
22083fi
22084 else
22085 pkg_failed=untried
22086fi
22087if test -n "$XCB_SYNC_LIBS"; then
22088 pkg_cv_XCB_SYNC_LIBS="$XCB_SYNC_LIBS"
22089 elif test -n "$PKG_CONFIG"; then
22090 if test -n "$PKG_CONFIG" && \
22091 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-sync\""; } >&5
22092 ($PKG_CONFIG --exists --print-errors "xcb-sync") 2>&5
22093 ac_status=$?
22094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22095 test $ac_status = 0; }; then
22096 pkg_cv_XCB_SYNC_LIBS=`$PKG_CONFIG --libs "xcb-sync" 2>/dev/null`
22097else
22098 pkg_failed=yes
22099fi
22100 else
22101 pkg_failed=untried
22102fi
22103
22104
22105
22106if test $pkg_failed = yes; then
22107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22108$as_echo "no" >&6; }
22109
22110if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22111 _pkg_short_errors_supported=yes
22112else
22113 _pkg_short_errors_supported=no
22114fi
22115 if test $_pkg_short_errors_supported = yes; then
22116 XCB_SYNC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-sync" 2>&1`
22117 else
22118 XCB_SYNC_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-sync" 2>&1`
22119 fi
22120 # Put the nasty error message in config.log where it belongs
22121 echo "$XCB_SYNC_PKG_ERRORS" >&5
22122
22123 have_ecore_x_xcb_sync="no"
22124elif test $pkg_failed = untried; then
22125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22126$as_echo "no" >&6; }
22127 have_ecore_x_xcb_sync="no"
22128else
22129 XCB_SYNC_CFLAGS=$pkg_cv_XCB_SYNC_CFLAGS
22130 XCB_SYNC_LIBS=$pkg_cv_XCB_SYNC_LIBS
22131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22132$as_echo "yes" >&6; }
22133 have_ecore_x_xcb_sync="yes"
22134 requirements_ecore_x="xcb-sync ${requirements_ecore_x}"
22135
22136$as_echo "#define ECORE_XCB_SYNC 1" >>confdefs.h
22137
22138fi
22139 else
22140 have_ecore_x_xcb_sync="no"
22141 { $as_echo "$as_me:${as_lineno-$LINENO}: \"sync extension explicitly disabled\"" >&5
22142$as_echo "$as_me: \"sync extension explicitly disabled\"" >&6;}
22143 fi
22144
22145 if test "x$want_ecore_x_xfixes" != "xno"; then
22146
22147pkg_failed=no
22148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XFIXES" >&5
22149$as_echo_n "checking for XCB_XFIXES... " >&6; }
22150
22151if test -n "$XCB_XFIXES_CFLAGS"; then
22152 pkg_cv_XCB_XFIXES_CFLAGS="$XCB_XFIXES_CFLAGS"
22153 elif test -n "$PKG_CONFIG"; then
22154 if test -n "$PKG_CONFIG" && \
22155 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xfixes\""; } >&5
22156 ($PKG_CONFIG --exists --print-errors "xcb-xfixes") 2>&5
22157 ac_status=$?
22158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22159 test $ac_status = 0; }; then
22160 pkg_cv_XCB_XFIXES_CFLAGS=`$PKG_CONFIG --cflags "xcb-xfixes" 2>/dev/null`
22161else
22162 pkg_failed=yes
22163fi
22164 else
22165 pkg_failed=untried
22166fi
22167if test -n "$XCB_XFIXES_LIBS"; then
22168 pkg_cv_XCB_XFIXES_LIBS="$XCB_XFIXES_LIBS"
22169 elif test -n "$PKG_CONFIG"; then
22170 if test -n "$PKG_CONFIG" && \
22171 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xfixes\""; } >&5
22172 ($PKG_CONFIG --exists --print-errors "xcb-xfixes") 2>&5
22173 ac_status=$?
22174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22175 test $ac_status = 0; }; then
22176 pkg_cv_XCB_XFIXES_LIBS=`$PKG_CONFIG --libs "xcb-xfixes" 2>/dev/null`
22177else
22178 pkg_failed=yes
22179fi
22180 else
22181 pkg_failed=untried
22182fi
22183
22184
22185
22186if test $pkg_failed = yes; then
22187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22188$as_echo "no" >&6; }
22189
22190if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22191 _pkg_short_errors_supported=yes
22192else
22193 _pkg_short_errors_supported=no
22194fi
22195 if test $_pkg_short_errors_supported = yes; then
22196 XCB_XFIXES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-xfixes" 2>&1`
22197 else
22198 XCB_XFIXES_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-xfixes" 2>&1`
22199 fi
22200 # Put the nasty error message in config.log where it belongs
22201 echo "$XCB_XFIXES_PKG_ERRORS" >&5
22202
22203 have_ecore_x_xcb_xfixes="no"
22204elif test $pkg_failed = untried; then
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22206$as_echo "no" >&6; }
22207 have_ecore_x_xcb_xfixes="no"
22208else
22209 XCB_XFIXES_CFLAGS=$pkg_cv_XCB_XFIXES_CFLAGS
22210 XCB_XFIXES_LIBS=$pkg_cv_XCB_XFIXES_LIBS
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22212$as_echo "yes" >&6; }
22213 have_ecore_x_xcb_xfixes="yes"
22214 requirements_ecore_x="xcb-xfixes ${requirements_ecore_x}"
22215
22216$as_echo "#define ECORE_XCB_XFIXES 1" >>confdefs.h
22217
22218fi
22219 else
22220 have_ecore_x_xcb_xfixes="no"
22221 { $as_echo "$as_me:${as_lineno-$LINENO}: \"xfixes extension explicitly disabled\"" >&5
22222$as_echo "$as_me: \"xfixes extension explicitly disabled\"" >&6;}
22223 fi
22224
22225 if test "x$want_ecore_x_xinerama" != "xno"; then
22226
22227pkg_failed=no
22228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XINERAMA" >&5
22229$as_echo_n "checking for XCB_XINERAMA... " >&6; }
22230
22231if test -n "$XCB_XINERAMA_CFLAGS"; then
22232 pkg_cv_XCB_XINERAMA_CFLAGS="$XCB_XINERAMA_CFLAGS"
22233 elif test -n "$PKG_CONFIG"; then
22234 if test -n "$PKG_CONFIG" && \
22235 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinerama\""; } >&5
22236 ($PKG_CONFIG --exists --print-errors "xcb-xinerama") 2>&5
22237 ac_status=$?
22238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22239 test $ac_status = 0; }; then
22240 pkg_cv_XCB_XINERAMA_CFLAGS=`$PKG_CONFIG --cflags "xcb-xinerama" 2>/dev/null`
22241else
22242 pkg_failed=yes
22243fi
22244 else
22245 pkg_failed=untried
22246fi
22247if test -n "$XCB_XINERAMA_LIBS"; then
22248 pkg_cv_XCB_XINERAMA_LIBS="$XCB_XINERAMA_LIBS"
22249 elif test -n "$PKG_CONFIG"; then
22250 if test -n "$PKG_CONFIG" && \
22251 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinerama\""; } >&5
22252 ($PKG_CONFIG --exists --print-errors "xcb-xinerama") 2>&5
22253 ac_status=$?
22254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22255 test $ac_status = 0; }; then
22256 pkg_cv_XCB_XINERAMA_LIBS=`$PKG_CONFIG --libs "xcb-xinerama" 2>/dev/null`
22257else
22258 pkg_failed=yes
22259fi
22260 else
22261 pkg_failed=untried
22262fi
22263
22264
22265
22266if test $pkg_failed = yes; then
22267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22268$as_echo "no" >&6; }
22269
22270if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22271 _pkg_short_errors_supported=yes
22272else
22273 _pkg_short_errors_supported=no
22274fi
22275 if test $_pkg_short_errors_supported = yes; then
22276 XCB_XINERAMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-xinerama" 2>&1`
22277 else
22278 XCB_XINERAMA_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-xinerama" 2>&1`
22279 fi
22280 # Put the nasty error message in config.log where it belongs
22281 echo "$XCB_XINERAMA_PKG_ERRORS" >&5
22282
22283 have_ecore_x_xcb_xinerama="no"
22284elif test $pkg_failed = untried; then
22285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22286$as_echo "no" >&6; }
22287 have_ecore_x_xcb_xinerama="no"
22288else
22289 XCB_XINERAMA_CFLAGS=$pkg_cv_XCB_XINERAMA_CFLAGS
22290 XCB_XINERAMA_LIBS=$pkg_cv_XCB_XINERAMA_LIBS
22291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22292$as_echo "yes" >&6; }
22293 have_ecore_x_xcb_xinerama="yes"
22294 requirements_ecore_x="xcb-xinerama ${requirements_ecore_x}"
22295
22296$as_echo "#define ECORE_XCB_XINERAMA 1" >>confdefs.h
22297
22298fi
22299 else
22300 have_ecore_x_xcb_xinerama="no"
22301 { $as_echo "$as_me:${as_lineno-$LINENO}: \"xinerama extension explicitly disabled\"" >&5
22302$as_echo "$as_me: \"xinerama extension explicitly disabled\"" >&6;}
22303 fi
22304
22305 if test "x$want_ecore_x_xprint" != "xno"; then
22306
22307pkg_failed=no
22308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XPRINT" >&5
22309$as_echo_n "checking for XCB_XPRINT... " >&6; }
22310
22311if test -n "$XCB_XPRINT_CFLAGS"; then
22312 pkg_cv_XCB_XPRINT_CFLAGS="$XCB_XPRINT_CFLAGS"
22313 elif test -n "$PKG_CONFIG"; then
22314 if test -n "$PKG_CONFIG" && \
22315 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xprint\""; } >&5
22316 ($PKG_CONFIG --exists --print-errors "xcb-xprint") 2>&5
22317 ac_status=$?
22318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22319 test $ac_status = 0; }; then
22320 pkg_cv_XCB_XPRINT_CFLAGS=`$PKG_CONFIG --cflags "xcb-xprint" 2>/dev/null`
22321else
22322 pkg_failed=yes
22323fi
22324 else
22325 pkg_failed=untried
22326fi
22327if test -n "$XCB_XPRINT_LIBS"; then
22328 pkg_cv_XCB_XPRINT_LIBS="$XCB_XPRINT_LIBS"
22329 elif test -n "$PKG_CONFIG"; then
22330 if test -n "$PKG_CONFIG" && \
22331 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xprint\""; } >&5
22332 ($PKG_CONFIG --exists --print-errors "xcb-xprint") 2>&5
22333 ac_status=$?
22334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22335 test $ac_status = 0; }; then
22336 pkg_cv_XCB_XPRINT_LIBS=`$PKG_CONFIG --libs "xcb-xprint" 2>/dev/null`
22337else
22338 pkg_failed=yes
22339fi
22340 else
22341 pkg_failed=untried
22342fi
22343
22344
22345
22346if test $pkg_failed = yes; then
22347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22348$as_echo "no" >&6; }
22349
22350if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22351 _pkg_short_errors_supported=yes
22352else
22353 _pkg_short_errors_supported=no
22354fi
22355 if test $_pkg_short_errors_supported = yes; then
22356 XCB_XPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-xprint" 2>&1`
22357 else
22358 XCB_XPRINT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-xprint" 2>&1`
22359 fi
22360 # Put the nasty error message in config.log where it belongs
22361 echo "$XCB_XPRINT_PKG_ERRORS" >&5
22362
22363 have_ecore_x_xcb_xprint="no"
22364elif test $pkg_failed = untried; then
22365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22366$as_echo "no" >&6; }
22367 have_ecore_x_xcb_xprint="no"
22368else
22369 XCB_XPRINT_CFLAGS=$pkg_cv_XCB_XPRINT_CFLAGS
22370 XCB_XPRINT_LIBS=$pkg_cv_XCB_XPRINT_LIBS
22371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22372$as_echo "yes" >&6; }
22373 have_ecore_x_xcb_xprint="yes"
22374 requirements_ecore_x="xcb-xprint ${requirements_ecore_x}"
22375
22376$as_echo "#define ECORE_XCB_XPRINT 1" >>confdefs.h
22377
22378fi
22379 else
22380 have_ecore_x_xcb_xprint="no"
22381 { $as_echo "$as_me:${as_lineno-$LINENO}: \"xprint extension explicitly disabled\"" >&5
22382$as_echo "$as_me: \"xprint extension explicitly disabled\"" >&6;}
22383 fi
22384
22385 if test "x$want_ecore_x_xtest" != "xno"; then
22386
22387pkg_failed=no
22388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XTEST" >&5
22389$as_echo_n "checking for XCB_XTEST... " >&6; }
22390
22391if test -n "$XCB_XTEST_CFLAGS"; then
22392 pkg_cv_XCB_XTEST_CFLAGS="$XCB_XTEST_CFLAGS"
22393 elif test -n "$PKG_CONFIG"; then
22394 if test -n "$PKG_CONFIG" && \
22395 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xtest\""; } >&5
22396 ($PKG_CONFIG --exists --print-errors "xcb-xtest") 2>&5
22397 ac_status=$?
22398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22399 test $ac_status = 0; }; then
22400 pkg_cv_XCB_XTEST_CFLAGS=`$PKG_CONFIG --cflags "xcb-xtest" 2>/dev/null`
22401else
22402 pkg_failed=yes
22403fi
22404 else
22405 pkg_failed=untried
22406fi
22407if test -n "$XCB_XTEST_LIBS"; then
22408 pkg_cv_XCB_XTEST_LIBS="$XCB_XTEST_LIBS"
22409 elif test -n "$PKG_CONFIG"; then
22410 if test -n "$PKG_CONFIG" && \
22411 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xtest\""; } >&5
22412 ($PKG_CONFIG --exists --print-errors "xcb-xtest") 2>&5
22413 ac_status=$?
22414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22415 test $ac_status = 0; }; then
22416 pkg_cv_XCB_XTEST_LIBS=`$PKG_CONFIG --libs "xcb-xtest" 2>/dev/null`
22417else
22418 pkg_failed=yes
22419fi
22420 else
22421 pkg_failed=untried
22422fi
22423
22424
22425
22426if test $pkg_failed = yes; then
22427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22428$as_echo "no" >&6; }
22429
22430if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22431 _pkg_short_errors_supported=yes
22432else
22433 _pkg_short_errors_supported=no
22434fi
22435 if test $_pkg_short_errors_supported = yes; then
22436 XCB_XTEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-xtest" 2>&1`
22437 else
22438 XCB_XTEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-xtest" 2>&1`
22439 fi
22440 # Put the nasty error message in config.log where it belongs
22441 echo "$XCB_XTEST_PKG_ERRORS" >&5
22442
22443 have_ecore_x_xcb_xtest="no"
22444elif test $pkg_failed = untried; then
22445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22446$as_echo "no" >&6; }
22447 have_ecore_x_xcb_xtest="no"
22448else
22449 XCB_XTEST_CFLAGS=$pkg_cv_XCB_XTEST_CFLAGS
22450 XCB_XTEST_LIBS=$pkg_cv_XCB_XTEST_LIBS
22451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22452$as_echo "yes" >&6; }
22453 have_ecore_x_xcb_xtest="yes"
22454 requirements_ecore_x="xcb-xtest ${requirements_ecore_x}"
22455
22456$as_echo "#define ECORE_XCB_XTEST 1" >>confdefs.h
22457
22458fi
22459 else
22460 have_ecore_x_xcb_xtest="no"
22461 { $as_echo "$as_me:${as_lineno-$LINENO}: \"xtest extension explicitly disabled\"" >&5
22462$as_echo "$as_me: \"xtest extension explicitly disabled\"" >&6;}
22463 fi
22464
22465# input extension disabled currently in xcb as xcb-input has some issues
22466 want_ecore_x_input="no"
22467 if test "x$want_ecore_x_input" != "xno"; then
22468
22469pkg_failed=no
22470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XINPUT" >&5
22471$as_echo_n "checking for XCB_XINPUT... " >&6; }
22472
22473if test -n "$XCB_XINPUT_CFLAGS"; then
22474 pkg_cv_XCB_XINPUT_CFLAGS="$XCB_XINPUT_CFLAGS"
22475 elif test -n "$PKG_CONFIG"; then
22476 if test -n "$PKG_CONFIG" && \
22477 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinput\""; } >&5
22478 ($PKG_CONFIG --exists --print-errors "xcb-xinput") 2>&5
22479 ac_status=$?
22480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22481 test $ac_status = 0; }; then
22482 pkg_cv_XCB_XINPUT_CFLAGS=`$PKG_CONFIG --cflags "xcb-xinput" 2>/dev/null`
22483else
22484 pkg_failed=yes
22485fi
22486 else
22487 pkg_failed=untried
22488fi
22489if test -n "$XCB_XINPUT_LIBS"; then
22490 pkg_cv_XCB_XINPUT_LIBS="$XCB_XINPUT_LIBS"
22491 elif test -n "$PKG_CONFIG"; then
22492 if test -n "$PKG_CONFIG" && \
22493 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinput\""; } >&5
22494 ($PKG_CONFIG --exists --print-errors "xcb-xinput") 2>&5
22495 ac_status=$?
22496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22497 test $ac_status = 0; }; then
22498 pkg_cv_XCB_XINPUT_LIBS=`$PKG_CONFIG --libs "xcb-xinput" 2>/dev/null`
22499else
22500 pkg_failed=yes
22501fi
22502 else
22503 pkg_failed=untried
22504fi
22505
22506
22507
22508if test $pkg_failed = yes; then
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22510$as_echo "no" >&6; }
22511
22512if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22513 _pkg_short_errors_supported=yes
22514else
22515 _pkg_short_errors_supported=no
22516fi
22517 if test $_pkg_short_errors_supported = yes; then
22518 XCB_XINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-xinput" 2>&1`
22519 else
22520 XCB_XINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-xinput" 2>&1`
22521 fi
22522 # Put the nasty error message in config.log where it belongs
22523 echo "$XCB_XINPUT_PKG_ERRORS" >&5
22524
22525 have_ecore_x_xcb_xinput="no"
22526elif test $pkg_failed = untried; then
22527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22528$as_echo "no" >&6; }
22529 have_ecore_x_xcb_xinput="no"
22530else
22531 XCB_XINPUT_CFLAGS=$pkg_cv_XCB_XINPUT_CFLAGS
22532 XCB_XINPUT_LIBS=$pkg_cv_XCB_XINPUT_LIBS
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22534$as_echo "yes" >&6; }
22535 have_ecore_x_xcb_xinput="yes"
22536 requirements_ecore_x="xcb-xinput ${requirements_ecore_x}"
22537
22538$as_echo "#define ECORE_XCB_XINPUT 1" >>confdefs.h
22539
22540fi
22541 else
22542 have_ecore_x_xcb_xinput="no"
22543 { $as_echo "$as_me:${as_lineno-$LINENO}: \"xinput extension explicitly disabled\"" >&5
22544$as_echo "$as_me: \"xinput extension explicitly disabled\"" >&6;}
22545 fi
22546
22547 if test "x$want_ecore_x_cursor" != "xno"; then
22548
22549pkg_failed=no
22550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_CURSOR" >&5
22551$as_echo_n "checking for XCB_CURSOR... " >&6; }
22552
22553if test -n "$XCB_CURSOR_CFLAGS"; then
22554 pkg_cv_XCB_CURSOR_CFLAGS="$XCB_CURSOR_CFLAGS"
22555 elif test -n "$PKG_CONFIG"; then
22556 if test -n "$PKG_CONFIG" && \
22557 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
22558 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
22559 ac_status=$?
22560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22561 test $ac_status = 0; }; then
22562 pkg_cv_XCB_CURSOR_CFLAGS=`$PKG_CONFIG --cflags "xcb-render xcb-renderutil" 2>/dev/null`
22563else
22564 pkg_failed=yes
22565fi
22566 else
22567 pkg_failed=untried
22568fi
22569if test -n "$XCB_CURSOR_LIBS"; then
22570 pkg_cv_XCB_CURSOR_LIBS="$XCB_CURSOR_LIBS"
22571 elif test -n "$PKG_CONFIG"; then
22572 if test -n "$PKG_CONFIG" && \
22573 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
22574 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
22575 ac_status=$?
22576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22577 test $ac_status = 0; }; then
22578 pkg_cv_XCB_CURSOR_LIBS=`$PKG_CONFIG --libs "xcb-render xcb-renderutil" 2>/dev/null`
22579else
22580 pkg_failed=yes
22581fi
22582 else
22583 pkg_failed=untried
22584fi
22585
22586
22587
22588if test $pkg_failed = yes; then
22589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22590$as_echo "no" >&6; }
22591
22592if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22593 _pkg_short_errors_supported=yes
22594else
22595 _pkg_short_errors_supported=no
22596fi
22597 if test $_pkg_short_errors_supported = yes; then
22598 XCB_CURSOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-render xcb-renderutil" 2>&1`
22599 else
22600 XCB_CURSOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-render xcb-renderutil" 2>&1`
22601 fi
22602 # Put the nasty error message in config.log where it belongs
22603 echo "$XCB_CURSOR_PKG_ERRORS" >&5
22604
22605 have_ecore_x_xcb_cursor="no"
22606elif test $pkg_failed = untried; then
22607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22608$as_echo "no" >&6; }
22609 have_ecore_x_xcb_cursor="no"
22610else
22611 XCB_CURSOR_CFLAGS=$pkg_cv_XCB_CURSOR_CFLAGS
22612 XCB_CURSOR_LIBS=$pkg_cv_XCB_CURSOR_LIBS
22613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22614$as_echo "yes" >&6; }
22615 have_ecore_x_xcb_cursor="yes"
22616 requirements_ecore_x="xcb-render xcb-renderutil ${requirements_ecore_x}"
22617
22618$as_echo "#define ECORE_XCB_CURSOR 1" >>confdefs.h
22619
22620fi
22621 else
22622 have_ecore_x_xcb_cursor="no"
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: \"cursor extension explicitly disabled\"" >&5
22624$as_echo "$as_me: \"cursor extension explicitly disabled\"" >&6;}
22625 fi
22626
22627# if test "x$want_ecore_x_dri" != "xno"; then
22628# PKG_CHECK_MODULES(XCB_DRI, xcb-dri2,
22629# [ have_ecore_x_xcb_dri="yes"
22630# requirements_ecore_x="xcb-dri2 ${requirements_ecore_x}"
22631# AC_DEFINE(ECORE_XCB_DRI, 1, [Build support for XCB dri/dri2]) ],
22632# [ have_ecore_x_xcb_dri="no" ])
22633# else
22634# have_ecore_x_xcb_dri="no"
22635# AC_MSG_NOTICE("dri extension explicitly disabled")
22636# fi
22637
22638
22639$as_echo "#define HAVE_ECORE_X_XCB 1" >>confdefs.h
22640
22641
22642 x_cflags=$ECORE_XCB_CFLAGS
22643 x_libs=$ECORE_XCB_LIBS
22644 have_x="yes"
22645
22646 have_ecore_x_xcb_define="-DHAVE_ECORE_X_XCB"
22647
22648 fi
22649fi
22650
22651if ! test "x$have_ecore_x_xcb" = "xyes" ; then
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
22653$as_echo_n "checking for X... " >&6; }
22654
22655
22656# Check whether --with-x was given.
22657if test "${with_x+set}" = set; then :
22658 withval=$with_x;
22659fi
22660
22661# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22662if test "x$with_x" = xno; then
22663 # The user explicitly disabled X.
22664 have_x=disabled
22665else
22666 case $x_includes,$x_libraries in #(
22667 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
22668 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
22669 $as_echo_n "(cached) " >&6
22670else
22671 # One or both of the vars are not set, and there is no cached value.
22672ac_x_includes=no ac_x_libraries=no
22673rm -f -r conftest.dir
22674if mkdir conftest.dir; then
22675 cd conftest.dir
22676 cat >Imakefile <<'_ACEOF'
22677incroot:
22678 @echo incroot='${INCROOT}'
22679usrlibdir:
22680 @echo usrlibdir='${USRLIBDIR}'
22681libdir:
22682 @echo libdir='${LIBDIR}'
22683_ACEOF
22684 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
22685 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22686 for ac_var in incroot usrlibdir libdir; do
22687 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
22688 done
22689 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22690 for ac_extension in a so sl dylib la dll; do
22691 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
22692 test -f "$ac_im_libdir/libX11.$ac_extension"; then
22693 ac_im_usrlibdir=$ac_im_libdir; break
22694 fi
22695 done
22696 # Screen out bogus values from the imake configuration. They are
22697 # bogus both because they are the default anyway, and because
22698 # using them would break gcc on systems where it needs fixed includes.
22699 case $ac_im_incroot in
22700 /usr/include) ac_x_includes= ;;
22701 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
22702 esac
22703 case $ac_im_usrlibdir in
22704 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
22705 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
22706 esac
22707 fi
22708 cd ..
22709 rm -f -r conftest.dir
22710fi
22711
22712# Standard set of common directories for X headers.
22713# Check X11 before X11Rn because it is often a symlink to the current release.
22714ac_x_header_dirs='
22715/usr/X11/include
22716/usr/X11R7/include
22717/usr/X11R6/include
22718/usr/X11R5/include
22719/usr/X11R4/include
22720
22721/usr/include/X11
22722/usr/include/X11R7
22723/usr/include/X11R6
22724/usr/include/X11R5
22725/usr/include/X11R4
22726
22727/usr/local/X11/include
22728/usr/local/X11R7/include
22729/usr/local/X11R6/include
22730/usr/local/X11R5/include
22731/usr/local/X11R4/include
22732
22733/usr/local/include/X11
22734/usr/local/include/X11R7
22735/usr/local/include/X11R6
22736/usr/local/include/X11R5
22737/usr/local/include/X11R4
22738
22739/usr/X386/include
22740/usr/x386/include
22741/usr/XFree86/include/X11
22742
22743/usr/include
22744/usr/local/include
22745/usr/unsupported/include
22746/usr/athena/include
22747/usr/local/x11r5/include
22748/usr/lpp/Xamples/include
22749
22750/usr/openwin/include
22751/usr/openwin/share/include'
22752
22753if test "$ac_x_includes" = no; then
22754 # Guess where to find include files, by looking for Xlib.h.
22755 # First, try using that file with no special directory specified.
22756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22757/* end confdefs.h. */
22758#include <X11/Xlib.h>
22759_ACEOF
22760if ac_fn_c_try_cpp "$LINENO"; then :
22761 # We can compile using X headers with no special include directory.
22762ac_x_includes=
22763else
22764 for ac_dir in $ac_x_header_dirs; do
22765 if test -r "$ac_dir/X11/Xlib.h"; then
22766 ac_x_includes=$ac_dir
22767 break
22768 fi
22769done
22770fi
22771rm -f conftest.err conftest.i conftest.$ac_ext
22772fi # $ac_x_includes = no
22773
22774if test "$ac_x_libraries" = no; then
22775 # Check for the libraries.
22776 # See if we find them without any special options.
22777 # Don't add to $LIBS permanently.
22778 ac_save_LIBS=$LIBS
22779 LIBS="-lX11 $LIBS"
22780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22781/* end confdefs.h. */
22782#include <X11/Xlib.h>
22783int
22784main ()
22785{
22786XrmInitialize ()
22787 ;
22788 return 0;
22789}
22790_ACEOF
22791if ac_fn_c_try_link "$LINENO"; then :
22792 LIBS=$ac_save_LIBS
22793# We can link X programs with no special library path.
22794ac_x_libraries=
22795else
22796 LIBS=$ac_save_LIBS
22797for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22798do
22799 # Don't even attempt the hair of trying to link an X program!
22800 for ac_extension in a so sl dylib la dll; do
22801 if test -r "$ac_dir/libX11.$ac_extension"; then
22802 ac_x_libraries=$ac_dir
22803 break 2
22804 fi
22805 done
22806done
22807fi
22808rm -f core conftest.err conftest.$ac_objext \
22809 conftest$ac_exeext conftest.$ac_ext
22810fi # $ac_x_libraries = no
22811
22812case $ac_x_includes,$ac_x_libraries in #(
22813 no,* | *,no | *\'*)
22814 # Didn't find X, or a directory has "'" in its name.
22815 ac_cv_have_x="have_x=no";; #(
22816 *)
22817 # Record where we found X for the cache.
22818 ac_cv_have_x="have_x=yes\
22819 ac_x_includes='$ac_x_includes'\
22820 ac_x_libraries='$ac_x_libraries'"
22821esac
22822fi
22823;; #(
22824 *) have_x=yes;;
22825 esac
22826 eval "$ac_cv_have_x"
22827fi # $with_x != no
22828
22829if test "$have_x" != yes; then
22830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
22831$as_echo "$have_x" >&6; }
22832 no_x=yes
22833else
22834 # If each of the values was on the command line, it overrides each guess.
22835 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22836 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22837 # Update the cache value to reflect the command line values.
22838 ac_cv_have_x="have_x=yes\
22839 ac_x_includes='$x_includes'\
22840 ac_x_libraries='$x_libraries'"
22841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
22842$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
22843fi
22844
22845if test "$no_x" = yes; then
22846 # Not all programs may use this symbol, but it does not hurt to define it.
22847
22848$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
22849
22850 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22851else
22852 if test -n "$x_includes"; then
22853 X_CFLAGS="$X_CFLAGS -I$x_includes"
22854 fi
22855
22856 # It would also be nice to do this for all -L options, not just this one.
22857 if test -n "$x_libraries"; then
22858 X_LIBS="$X_LIBS -L$x_libraries"
22859 # For Solaris; some versions of Sun CC require a space after -R and
22860 # others require no space. Words are not sufficient . . . .
22861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
22862$as_echo_n "checking whether -R must be followed by a space... " >&6; }
22863 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22864 ac_xsave_c_werror_flag=$ac_c_werror_flag
22865 ac_c_werror_flag=yes
22866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22867/* end confdefs.h. */
22868
22869int
22870main ()
22871{
22872
22873 ;
22874 return 0;
22875}
22876_ACEOF
22877if ac_fn_c_try_link "$LINENO"; then :
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22879$as_echo "no" >&6; }
22880 X_LIBS="$X_LIBS -R$x_libraries"
22881else
22882 LIBS="$ac_xsave_LIBS -R $x_libraries"
22883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22884/* end confdefs.h. */
22885
22886int
22887main ()
22888{
22889
22890 ;
22891 return 0;
22892}
22893_ACEOF
22894if ac_fn_c_try_link "$LINENO"; then :
22895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22896$as_echo "yes" >&6; }
22897 X_LIBS="$X_LIBS -R $x_libraries"
22898else
22899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
22900$as_echo "neither works" >&6; }
22901fi
22902rm -f core conftest.err conftest.$ac_objext \
22903 conftest$ac_exeext conftest.$ac_ext
22904fi
22905rm -f core conftest.err conftest.$ac_objext \
22906 conftest$ac_exeext conftest.$ac_ext
22907 ac_c_werror_flag=$ac_xsave_c_werror_flag
22908 LIBS=$ac_xsave_LIBS
22909 fi
22910
22911 # Check for system-dependent libraries X programs must link with.
22912 # Do this before checking for the system-independent R6 libraries
22913 # (-lICE), since we may need -lsocket or whatever for X linking.
22914
22915 if test "$ISC" = yes; then
22916 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22917 else
22918 # Martyn Johnson says this is needed for Ultrix, if the X
22919 # libraries were built with DECnet support. And Karl Berry says
22920 # the Alpha needs dnet_stub (dnet does not exist).
22921 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22923/* end confdefs.h. */
22924
22925/* Override any GCC internal prototype to avoid an error.
22926 Use char because int might match the return type of a GCC
22927 builtin and then its argument prototype would still apply. */
22928#ifdef __cplusplus
22929extern "C"
22930#endif
22931char XOpenDisplay ();
22932int
22933main ()
22934{
22935return XOpenDisplay ();
22936 ;
22937 return 0;
22938}
22939_ACEOF
22940if ac_fn_c_try_link "$LINENO"; then :
22941
22942else
22943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
22944$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
22945if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
22946 $as_echo_n "(cached) " >&6
22947else
22948 ac_check_lib_save_LIBS=$LIBS
22949LIBS="-ldnet $LIBS"
22950cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22951/* end confdefs.h. */
22952
22953/* Override any GCC internal prototype to avoid an error.
22954 Use char because int might match the return type of a GCC
22955 builtin and then its argument prototype would still apply. */
22956#ifdef __cplusplus
22957extern "C"
22958#endif
22959char dnet_ntoa ();
22960int
22961main ()
22962{
22963return dnet_ntoa ();
22964 ;
22965 return 0;
22966}
22967_ACEOF
22968if ac_fn_c_try_link "$LINENO"; then :
22969 ac_cv_lib_dnet_dnet_ntoa=yes
22970else
22971 ac_cv_lib_dnet_dnet_ntoa=no
22972fi
22973rm -f core conftest.err conftest.$ac_objext \
22974 conftest$ac_exeext conftest.$ac_ext
22975LIBS=$ac_check_lib_save_LIBS
22976fi
22977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22978$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
22979if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
22980 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22981fi
22982
22983 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
22985$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
22986if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
22987 $as_echo_n "(cached) " >&6
22988else
22989 ac_check_lib_save_LIBS=$LIBS
22990LIBS="-ldnet_stub $LIBS"
22991cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22992/* end confdefs.h. */
22993
22994/* Override any GCC internal prototype to avoid an error.
22995 Use char because int might match the return type of a GCC
22996 builtin and then its argument prototype would still apply. */
22997#ifdef __cplusplus
22998extern "C"
22999#endif
23000char dnet_ntoa ();
23001int
23002main ()
23003{
23004return dnet_ntoa ();
23005 ;
23006 return 0;
23007}
23008_ACEOF
23009if ac_fn_c_try_link "$LINENO"; then :
23010 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23011else
23012 ac_cv_lib_dnet_stub_dnet_ntoa=no
23013fi
23014rm -f core conftest.err conftest.$ac_objext \
23015 conftest$ac_exeext conftest.$ac_ext
23016LIBS=$ac_check_lib_save_LIBS
23017fi
23018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23019$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
23020if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
23021 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23022fi
23023
23024 fi
23025fi
23026rm -f core conftest.err conftest.$ac_objext \
23027 conftest$ac_exeext conftest.$ac_ext
23028 LIBS="$ac_xsave_LIBS"
23029
23030 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23031 # to get the SysV transport functions.
23032 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23033 # needs -lnsl.
23034 # The nsl library prevents programs from opening the X display
23035 # on Irix 5.2, according to T.E. Dickey.
23036 # The functions gethostbyname, getservbyname, and inet_addr are
23037 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23038 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
23039if test "x$ac_cv_func_gethostbyname" = x""yes; then :
23040
23041fi
23042
23043 if test $ac_cv_func_gethostbyname = no; then
23044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
23045$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
23046if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
23047 $as_echo_n "(cached) " >&6
23048else
23049 ac_check_lib_save_LIBS=$LIBS
23050LIBS="-lnsl $LIBS"
23051cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23052/* end confdefs.h. */
23053
23054/* Override any GCC internal prototype to avoid an error.
23055 Use char because int might match the return type of a GCC
23056 builtin and then its argument prototype would still apply. */
23057#ifdef __cplusplus
23058extern "C"
23059#endif
23060char gethostbyname ();
23061int
23062main ()
23063{
23064return gethostbyname ();
23065 ;
23066 return 0;
23067}
23068_ACEOF
23069if ac_fn_c_try_link "$LINENO"; then :
23070 ac_cv_lib_nsl_gethostbyname=yes
23071else
23072 ac_cv_lib_nsl_gethostbyname=no
23073fi
23074rm -f core conftest.err conftest.$ac_objext \
23075 conftest$ac_exeext conftest.$ac_ext
23076LIBS=$ac_check_lib_save_LIBS
23077fi
23078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
23079$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
23080if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
23081 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23082fi
23083
23084 if test $ac_cv_lib_nsl_gethostbyname = no; then
23085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
23086$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
23087if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
23088 $as_echo_n "(cached) " >&6
23089else
23090 ac_check_lib_save_LIBS=$LIBS
23091LIBS="-lbsd $LIBS"
23092cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23093/* end confdefs.h. */
23094
23095/* Override any GCC internal prototype to avoid an error.
23096 Use char because int might match the return type of a GCC
23097 builtin and then its argument prototype would still apply. */
23098#ifdef __cplusplus
23099extern "C"
23100#endif
23101char gethostbyname ();
23102int
23103main ()
23104{
23105return gethostbyname ();
23106 ;
23107 return 0;
23108}
23109_ACEOF
23110if ac_fn_c_try_link "$LINENO"; then :
23111 ac_cv_lib_bsd_gethostbyname=yes
23112else
23113 ac_cv_lib_bsd_gethostbyname=no
23114fi
23115rm -f core conftest.err conftest.$ac_objext \
23116 conftest$ac_exeext conftest.$ac_ext
23117LIBS=$ac_check_lib_save_LIBS
23118fi
23119{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
23120$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
23121if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
23122 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23123fi
23124
23125 fi
23126 fi
23127
23128 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23129 # socket/setsockopt and other routines are undefined under SCO ODT
23130 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23131 # on later versions), says Simon Leinen: it contains gethostby*
23132 # variants that don't use the name server (or something). -lsocket
23133 # must be given before -lnsl if both are needed. We assume that
23134 # if connect needs -lnsl, so does gethostbyname.
23135 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
23136if test "x$ac_cv_func_connect" = x""yes; then :
23137
23138fi
23139
23140 if test $ac_cv_func_connect = no; then
23141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
23142$as_echo_n "checking for connect in -lsocket... " >&6; }
23143if test "${ac_cv_lib_socket_connect+set}" = set; then :
23144 $as_echo_n "(cached) " >&6
23145else
23146 ac_check_lib_save_LIBS=$LIBS
23147LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23148cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23149/* end confdefs.h. */
23150
23151/* Override any GCC internal prototype to avoid an error.
23152 Use char because int might match the return type of a GCC
23153 builtin and then its argument prototype would still apply. */
23154#ifdef __cplusplus
23155extern "C"
23156#endif
23157char connect ();
23158int
23159main ()
23160{
23161return connect ();
23162 ;
23163 return 0;
23164}
23165_ACEOF
23166if ac_fn_c_try_link "$LINENO"; then :
23167 ac_cv_lib_socket_connect=yes
23168else
23169 ac_cv_lib_socket_connect=no
23170fi
23171rm -f core conftest.err conftest.$ac_objext \
23172 conftest$ac_exeext conftest.$ac_ext
23173LIBS=$ac_check_lib_save_LIBS
23174fi
23175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
23176$as_echo "$ac_cv_lib_socket_connect" >&6; }
23177if test "x$ac_cv_lib_socket_connect" = x""yes; then :
23178 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23179fi
23180
23181 fi
23182
23183 # Guillermo Gomez says -lposix is necessary on A/UX.
23184 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
23185if test "x$ac_cv_func_remove" = x""yes; then :
23186
23187fi
23188
23189 if test $ac_cv_func_remove = no; then
23190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
23191$as_echo_n "checking for remove in -lposix... " >&6; }
23192if test "${ac_cv_lib_posix_remove+set}" = set; then :
23193 $as_echo_n "(cached) " >&6
23194else
23195 ac_check_lib_save_LIBS=$LIBS
23196LIBS="-lposix $LIBS"
23197cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23198/* end confdefs.h. */
23199
23200/* Override any GCC internal prototype to avoid an error.
23201 Use char because int might match the return type of a GCC
23202 builtin and then its argument prototype would still apply. */
23203#ifdef __cplusplus
23204extern "C"
23205#endif
23206char remove ();
23207int
23208main ()
23209{
23210return remove ();
23211 ;
23212 return 0;
23213}
23214_ACEOF
23215if ac_fn_c_try_link "$LINENO"; then :
23216 ac_cv_lib_posix_remove=yes
23217else
23218 ac_cv_lib_posix_remove=no
23219fi
23220rm -f core conftest.err conftest.$ac_objext \
23221 conftest$ac_exeext conftest.$ac_ext
23222LIBS=$ac_check_lib_save_LIBS
23223fi
23224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
23225$as_echo "$ac_cv_lib_posix_remove" >&6; }
23226if test "x$ac_cv_lib_posix_remove" = x""yes; then :
23227 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23228fi
23229
23230 fi
23231
23232 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23233 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
23234if test "x$ac_cv_func_shmat" = x""yes; then :
23235
23236fi
23237
23238 if test $ac_cv_func_shmat = no; then
23239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
23240$as_echo_n "checking for shmat in -lipc... " >&6; }
23241if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
23242 $as_echo_n "(cached) " >&6
23243else
23244 ac_check_lib_save_LIBS=$LIBS
23245LIBS="-lipc $LIBS"
23246cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23247/* end confdefs.h. */
23248
23249/* Override any GCC internal prototype to avoid an error.
23250 Use char because int might match the return type of a GCC
23251 builtin and then its argument prototype would still apply. */
23252#ifdef __cplusplus
23253extern "C"
23254#endif
23255char shmat ();
23256int
23257main ()
23258{
23259return shmat ();
23260 ;
23261 return 0;
23262}
23263_ACEOF
23264if ac_fn_c_try_link "$LINENO"; then :
23265 ac_cv_lib_ipc_shmat=yes
23266else
23267 ac_cv_lib_ipc_shmat=no
23268fi
23269rm -f core conftest.err conftest.$ac_objext \
23270 conftest$ac_exeext conftest.$ac_ext
23271LIBS=$ac_check_lib_save_LIBS
23272fi
23273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
23274$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
23275if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
23276 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23277fi
23278
23279 fi
23280 fi
23281
23282 # Check for libraries that X11R6 Xt/Xaw programs need.
23283 ac_save_LDFLAGS=$LDFLAGS
23284 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23285 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23286 # check for ICE first), but we must link in the order -lSM -lICE or
23287 # we get undefined symbols. So assume we have SM if we have ICE.
23288 # These have to be linked with before -lX11, unlike the other
23289 # libraries we check for below, so use a different variable.
23290 # John Interrante, Karl Berry
23291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
23292$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
23293if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
23294 $as_echo_n "(cached) " >&6
23295else
23296 ac_check_lib_save_LIBS=$LIBS
23297LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23298cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23299/* end confdefs.h. */
23300
23301/* Override any GCC internal prototype to avoid an error.
23302 Use char because int might match the return type of a GCC
23303 builtin and then its argument prototype would still apply. */
23304#ifdef __cplusplus
23305extern "C"
23306#endif
23307char IceConnectionNumber ();
23308int
23309main ()
23310{
23311return IceConnectionNumber ();
23312 ;
23313 return 0;
23314}
23315_ACEOF
23316if ac_fn_c_try_link "$LINENO"; then :
23317 ac_cv_lib_ICE_IceConnectionNumber=yes
23318else
23319 ac_cv_lib_ICE_IceConnectionNumber=no
23320fi
23321rm -f core conftest.err conftest.$ac_objext \
23322 conftest$ac_exeext conftest.$ac_ext
23323LIBS=$ac_check_lib_save_LIBS
23324fi
23325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23326$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
23327if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
23328 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23329fi
23330
23331 LDFLAGS=$ac_save_LDFLAGS
23332
23333fi
23334
23335 ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
23336if test "x$ac_cv_header_X11_X_h" = x""yes; then :
23337
23338 if test "x$want_evas_simple_x11" = "xyes"; then
23339 x_libs="${x_libs} -lX11 -lXext"
23340 else
23341 x_dir=${x_dir:-/usr/X11R6}
23342 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
23343 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
23344 fi
23345 have_ecore_x_xlib="yes"
23346
23347
23348fi
23349
23350
23351
23352 if test "x$have_ecore_x_xlib" = "xyes"; then
23353 Xcursor_libs=""
23354 Xcursor_cflags=""
23355 use_Xcursor="no"
23356 PCFLAGS=$CFLAGS
23357 CFLAGS="$x_cflags $x_includes"
23358
23359 if test "x$want_ecore_x_cursor" = "xyes"; then
23360 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "
23361 #include <X11/Xlib.h>
23362
23363
23364"
23365if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = x""yes; then :
23366
23367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XcursorImageLoadCursor in -lXcursor" >&5
23368$as_echo_n "checking for XcursorImageLoadCursor in -lXcursor... " >&6; }
23369if test "${ac_cv_lib_Xcursor_XcursorImageLoadCursor+set}" = set; then :
23370 $as_echo_n "(cached) " >&6
23371else
23372 ac_check_lib_save_LIBS=$LIBS
23373LIBS="-lXcursor
23374 $x_libs -lXrender
23375
23376 $LIBS"
23377cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23378/* end confdefs.h. */
23379
23380/* Override any GCC internal prototype to avoid an error.
23381 Use char because int might match the return type of a GCC
23382 builtin and then its argument prototype would still apply. */
23383#ifdef __cplusplus
23384extern "C"
23385#endif
23386char XcursorImageLoadCursor ();
23387int
23388main ()
23389{
23390return XcursorImageLoadCursor ();
23391 ;
23392 return 0;
23393}
23394_ACEOF
23395if ac_fn_c_try_link "$LINENO"; then :
23396 ac_cv_lib_Xcursor_XcursorImageLoadCursor=yes
23397else
23398 ac_cv_lib_Xcursor_XcursorImageLoadCursor=no
23399fi
23400rm -f core conftest.err conftest.$ac_objext \
23401 conftest$ac_exeext conftest.$ac_ext
23402LIBS=$ac_check_lib_save_LIBS
23403fi
23404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xcursor_XcursorImageLoadCursor" >&5
23405$as_echo "$ac_cv_lib_Xcursor_XcursorImageLoadCursor" >&6; }
23406if test "x$ac_cv_lib_Xcursor_XcursorImageLoadCursor" = x""yes; then :
23407
23408
23409$as_echo "#define ECORE_XCURSOR 1" >>confdefs.h
23410
23411 Xcursor_cflags=""
23412 Xcursor_libs="-lXcursor"
23413 use_Xcursor="yes"
23414
23415else
23416
23417 Xcursor_cflags=""
23418 Xcursor_libs=""
23419 use_Xcursor="no"
23420
23421fi
23422
23423
23424else
23425
23426 Xcursor_cflags=""
23427 Xcursor_libs=""
23428 use_Xcursor="no"
23429
23430fi
23431
23432
23433 CFLAGS=$PCFLAGS
23434 else
23435 Xcursor_cflags=""
23436 Xcursor_libs=""
23437 use_Xcursor="no"
23438 { $as_echo "$as_me:${as_lineno-$LINENO}: \"Xcursor explicitly disabled\"" >&5
23439$as_echo "$as_me: \"Xcursor explicitly disabled\"" >&6;}
23440 fi
23441
23442
23443
23444
23445
23446
23447XKB_CFLAGS=""
23448XKB_LIBS=""
23449use_xkb="no"
23450
23451if test "x$want_ecore_x_xkb" != "xno"; then
23452 SAVE_CFLAGS=$CFLAGS
23453 CFLAGS="$x_cflags $x_includes"
23454 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XKB.h" "ac_cv_header_X11_extensions_XKB_h" " #include <X11/Xlib.h>
23455
23456"
23457if test "x$ac_cv_header_X11_extensions_XKB_h" = x""yes; then :
23458
23459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbSetDetectableAutoRepeat in -lX11" >&5
23460$as_echo_n "checking for XkbSetDetectableAutoRepeat in -lX11... " >&6; }
23461if test "${ac_cv_lib_X11_XkbSetDetectableAutoRepeat+set}" = set; then :
23462 $as_echo_n "(cached) " >&6
23463else
23464 ac_check_lib_save_LIBS=$LIBS
23465LIBS="-lX11 $x_libs
23466 $LIBS"
23467cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23468/* end confdefs.h. */
23469
23470/* Override any GCC internal prototype to avoid an error.
23471 Use char because int might match the return type of a GCC
23472 builtin and then its argument prototype would still apply. */
23473#ifdef __cplusplus
23474extern "C"
23475#endif
23476char XkbSetDetectableAutoRepeat ();
23477int
23478main ()
23479{
23480return XkbSetDetectableAutoRepeat ();
23481 ;
23482 return 0;
23483}
23484_ACEOF
23485if ac_fn_c_try_link "$LINENO"; then :
23486 ac_cv_lib_X11_XkbSetDetectableAutoRepeat=yes
23487else
23488 ac_cv_lib_X11_XkbSetDetectableAutoRepeat=no
23489fi
23490rm -f core conftest.err conftest.$ac_objext \
23491 conftest$ac_exeext conftest.$ac_ext
23492LIBS=$ac_check_lib_save_LIBS
23493fi
23494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbSetDetectableAutoRepeat" >&5
23495$as_echo "$ac_cv_lib_X11_XkbSetDetectableAutoRepeat" >&6; }
23496if test "x$ac_cv_lib_X11_XkbSetDetectableAutoRepeat" = x""yes; then :
23497
23498
23499$as_echo "#define ECORE_XKB 1" >>confdefs.h
23500
23501 XKB_LIBS="-lX11"
23502 use_xkb="yes"
23503
23504else
23505 use_xkb="no"
23506fi
23507
23508
23509else
23510 use_xkb="no"
23511fi
23512
23513
23514 CFLAGS=$SAVE_CFLAGS
23515else
23516 use_xkb="no"
23517 { $as_echo "$as_me:${as_lineno-$LINENO}: Xkb support disabled" >&5
23518$as_echo "$as_me: Xkb support disabled" >&6;}
23519fi
23520
23521
23522
23523
23524
23525
23526
23527
23528
23529XCOMPOSITE_CFLAGS=""
23530XCOMPOSITE_LIBS=""
23531use_xcomposite="no"
23532
23533if test "x$want_ecore_x_composite" != "xno"; then
23534 SAVE_CFLAGS=$CFLAGS
23535 CFLAGS="$x_cflags $x_includes"
23536 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" " #include <X11/Xlib.h>
23537
23538"
23539if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = x""yes; then :
23540
23541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCompositeQueryExtension in -lXcomposite" >&5
23542$as_echo_n "checking for XCompositeQueryExtension in -lXcomposite... " >&6; }
23543if test "${ac_cv_lib_Xcomposite_XCompositeQueryExtension+set}" = set; then :
23544 $as_echo_n "(cached) " >&6
23545else
23546 ac_check_lib_save_LIBS=$LIBS
23547LIBS="-lXcomposite $x_libs
23548 $LIBS"
23549cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23550/* end confdefs.h. */
23551
23552/* Override any GCC internal prototype to avoid an error.
23553 Use char because int might match the return type of a GCC
23554 builtin and then its argument prototype would still apply. */
23555#ifdef __cplusplus
23556extern "C"
23557#endif
23558char XCompositeQueryExtension ();
23559int
23560main ()
23561{
23562return XCompositeQueryExtension ();
23563 ;
23564 return 0;
23565}
23566_ACEOF
23567if ac_fn_c_try_link "$LINENO"; then :
23568 ac_cv_lib_Xcomposite_XCompositeQueryExtension=yes
23569else
23570 ac_cv_lib_Xcomposite_XCompositeQueryExtension=no
23571fi
23572rm -f core conftest.err conftest.$ac_objext \
23573 conftest$ac_exeext conftest.$ac_ext
23574LIBS=$ac_check_lib_save_LIBS
23575fi
23576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xcomposite_XCompositeQueryExtension" >&5
23577$as_echo "$ac_cv_lib_Xcomposite_XCompositeQueryExtension" >&6; }
23578if test "x$ac_cv_lib_Xcomposite_XCompositeQueryExtension" = x""yes; then :
23579
23580
23581$as_echo "#define ECORE_XCOMPOSITE 1" >>confdefs.h
23582
23583 XCOMPOSITE_LIBS="-lXcomposite"
23584 use_xcomposite="yes"
23585
23586else
23587 use_xcomposite="no"
23588fi
23589
23590
23591else
23592 use_xcomposite="no"
23593fi
23594
23595
23596 CFLAGS=$SAVE_CFLAGS
23597else
23598 use_xcomposite="no"
23599 { $as_echo "$as_me:${as_lineno-$LINENO}: Xcomposite support disabled" >&5
23600$as_echo "$as_me: Xcomposite support disabled" >&6;}
23601fi
23602
23603
23604
23605
23606
23607
23608
23609
23610
23611XDAMAGE_CFLAGS=""
23612XDAMAGE_LIBS=""
23613use_xdamage="no"
23614
23615if test "x$want_ecore_x_damage" != "xno"; then
23616 SAVE_CFLAGS=$CFLAGS
23617 CFLAGS="$x_cflags $x_includes"
23618 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xdamage.h" "ac_cv_header_X11_extensions_Xdamage_h" " #include <X11/Xlib.h>
23619
23620"
23621if test "x$ac_cv_header_X11_extensions_Xdamage_h" = x""yes; then :
23622
23623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDamageSubtract in -lXdamage" >&5
23624$as_echo_n "checking for XDamageSubtract in -lXdamage... " >&6; }
23625if test "${ac_cv_lib_Xdamage_XDamageSubtract+set}" = set; then :
23626 $as_echo_n "(cached) " >&6
23627else
23628 ac_check_lib_save_LIBS=$LIBS
23629LIBS="-lXdamage $x_libs
23630 $LIBS"
23631cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23632/* end confdefs.h. */
23633
23634/* Override any GCC internal prototype to avoid an error.
23635 Use char because int might match the return type of a GCC
23636 builtin and then its argument prototype would still apply. */
23637#ifdef __cplusplus
23638extern "C"
23639#endif
23640char XDamageSubtract ();
23641int
23642main ()
23643{
23644return XDamageSubtract ();
23645 ;
23646 return 0;
23647}
23648_ACEOF
23649if ac_fn_c_try_link "$LINENO"; then :
23650 ac_cv_lib_Xdamage_XDamageSubtract=yes
23651else
23652 ac_cv_lib_Xdamage_XDamageSubtract=no
23653fi
23654rm -f core conftest.err conftest.$ac_objext \
23655 conftest$ac_exeext conftest.$ac_ext
23656LIBS=$ac_check_lib_save_LIBS
23657fi
23658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdamage_XDamageSubtract" >&5
23659$as_echo "$ac_cv_lib_Xdamage_XDamageSubtract" >&6; }
23660if test "x$ac_cv_lib_Xdamage_XDamageSubtract" = x""yes; then :
23661
23662
23663$as_echo "#define ECORE_XDAMAGE 1" >>confdefs.h
23664
23665 XDAMAGE_LIBS="-lXdamage"
23666 use_xdamage="yes"
23667
23668else
23669 use_xdamage="no"
23670fi
23671
23672
23673else
23674 use_xdamage="no"
23675fi
23676
23677
23678 CFLAGS=$SAVE_CFLAGS
23679else
23680 use_xdamage="no"
23681 { $as_echo "$as_me:${as_lineno-$LINENO}: Xdamage support disabled" >&5
23682$as_echo "$as_me: Xdamage support disabled" >&6;}
23683fi
23684
23685
23686
23687
23688
23689
23690
23691
23692
23693XDPMS_CFLAGS=""
23694XDPMS_LIBS=""
23695use_xdpms="no"
23696
23697if test "x$want_ecore_x_dpms" != "xno"; then
23698 SAVE_CFLAGS=$CFLAGS
23699 CFLAGS="$x_cflags $x_includes"
23700 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/dpms.h" "ac_cv_header_X11_extensions_dpms_h" " #include <X11/Xlib.h>
23701
23702"
23703if test "x$ac_cv_header_X11_extensions_dpms_h" = x""yes; then :
23704
23705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DPMSQueryExtension in -lXdpms" >&5
23706$as_echo_n "checking for DPMSQueryExtension in -lXdpms... " >&6; }
23707if test "${ac_cv_lib_Xdpms_DPMSQueryExtension+set}" = set; then :
23708 $as_echo_n "(cached) " >&6
23709else
23710 ac_check_lib_save_LIBS=$LIBS
23711LIBS="-lXdpms $x_libs
23712 $LIBS"
23713cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23714/* end confdefs.h. */
23715
23716/* Override any GCC internal prototype to avoid an error.
23717 Use char because int might match the return type of a GCC
23718 builtin and then its argument prototype would still apply. */
23719#ifdef __cplusplus
23720extern "C"
23721#endif
23722char DPMSQueryExtension ();
23723int
23724main ()
23725{
23726return DPMSQueryExtension ();
23727 ;
23728 return 0;
23729}
23730_ACEOF
23731if ac_fn_c_try_link "$LINENO"; then :
23732 ac_cv_lib_Xdpms_DPMSQueryExtension=yes
23733else
23734 ac_cv_lib_Xdpms_DPMSQueryExtension=no
23735fi
23736rm -f core conftest.err conftest.$ac_objext \
23737 conftest$ac_exeext conftest.$ac_ext
23738LIBS=$ac_check_lib_save_LIBS
23739fi
23740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdpms_DPMSQueryExtension" >&5
23741$as_echo "$ac_cv_lib_Xdpms_DPMSQueryExtension" >&6; }
23742if test "x$ac_cv_lib_Xdpms_DPMSQueryExtension" = x""yes; then :
23743
23744
23745$as_echo "#define ECORE_XDPMS 1" >>confdefs.h
23746
23747 XDPMS_LIBS="-lXdpms"
23748 use_xdpms="yes"
23749
23750else
23751 use_xdpms="no"
23752fi
23753
23754
23755else
23756 use_xdpms="no"
23757fi
23758
23759
23760 CFLAGS=$SAVE_CFLAGS
23761else
23762 use_xdpms="no"
23763 { $as_echo "$as_me:${as_lineno-$LINENO}: Xdpms support disabled" >&5
23764$as_echo "$as_me: Xdpms support disabled" >&6;}
23765fi
23766
23767
23768
23769
23770
23771
23772
23773 if test "x$use_xdpms" = "xno" ; then
23774
23775
23776XDPMS_CFLAGS=""
23777XDPMS_LIBS=""
23778use_xdpms="no"
23779
23780if test "x$want_ecore_x_dpms" != "xno"; then
23781 SAVE_CFLAGS=$CFLAGS
23782 CFLAGS="$x_cflags $x_includes"
23783 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/dpms.h" "ac_cv_header_X11_extensions_dpms_h" " #include <X11/Xlib.h>
23784
23785"
23786if test "x$ac_cv_header_X11_extensions_dpms_h" = x""yes; then :
23787
23788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DPMSQueryExtension in -lXext" >&5
23789$as_echo_n "checking for DPMSQueryExtension in -lXext... " >&6; }
23790if test "${ac_cv_lib_Xext_DPMSQueryExtension+set}" = set; then :
23791 $as_echo_n "(cached) " >&6
23792else
23793 ac_check_lib_save_LIBS=$LIBS
23794LIBS="-lXext $x_libs
23795 $LIBS"
23796cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23797/* end confdefs.h. */
23798
23799/* Override any GCC internal prototype to avoid an error.
23800 Use char because int might match the return type of a GCC
23801 builtin and then its argument prototype would still apply. */
23802#ifdef __cplusplus
23803extern "C"
23804#endif
23805char DPMSQueryExtension ();
23806int
23807main ()
23808{
23809return DPMSQueryExtension ();
23810 ;
23811 return 0;
23812}
23813_ACEOF
23814if ac_fn_c_try_link "$LINENO"; then :
23815 ac_cv_lib_Xext_DPMSQueryExtension=yes
23816else
23817 ac_cv_lib_Xext_DPMSQueryExtension=no
23818fi
23819rm -f core conftest.err conftest.$ac_objext \
23820 conftest$ac_exeext conftest.$ac_ext
23821LIBS=$ac_check_lib_save_LIBS
23822fi
23823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_DPMSQueryExtension" >&5
23824$as_echo "$ac_cv_lib_Xext_DPMSQueryExtension" >&6; }
23825if test "x$ac_cv_lib_Xext_DPMSQueryExtension" = x""yes; then :
23826
23827
23828$as_echo "#define ECORE_XDPMS 1" >>confdefs.h
23829
23830 XDPMS_LIBS="-lXext"
23831 use_xdpms="yes"
23832
23833else
23834 use_xdpms="no"
23835fi
23836
23837
23838else
23839 use_xdpms="no"
23840fi
23841
23842
23843 CFLAGS=$SAVE_CFLAGS
23844else
23845 use_xdpms="no"
23846 { $as_echo "$as_me:${as_lineno-$LINENO}: Xdpms support disabled" >&5
23847$as_echo "$as_me: Xdpms support disabled" >&6;}
23848fi
23849
23850
23851
23852
23853
23854
23855
23856 fi
23857
23858
23859XFIXES_CFLAGS=""
23860XFIXES_LIBS=""
23861use_xfixes="no"
23862
23863if test "x$want_ecore_x_xfixes" != "xno"; then
23864 SAVE_CFLAGS=$CFLAGS
23865 CFLAGS="$x_cflags $x_includes"
23866 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" " #include <X11/Xlib.h>
23867
23868"
23869if test "x$ac_cv_header_X11_extensions_Xfixes_h" = x""yes; then :
23870
23871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFixesExpandRegion in -lXfixes" >&5
23872$as_echo_n "checking for XFixesExpandRegion in -lXfixes... " >&6; }
23873if test "${ac_cv_lib_Xfixes_XFixesExpandRegion+set}" = set; then :
23874 $as_echo_n "(cached) " >&6
23875else
23876 ac_check_lib_save_LIBS=$LIBS
23877LIBS="-lXfixes $x_libs
23878 $LIBS"
23879cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23880/* end confdefs.h. */
23881
23882/* Override any GCC internal prototype to avoid an error.
23883 Use char because int might match the return type of a GCC
23884 builtin and then its argument prototype would still apply. */
23885#ifdef __cplusplus
23886extern "C"
23887#endif
23888char XFixesExpandRegion ();
23889int
23890main ()
23891{
23892return XFixesExpandRegion ();
23893 ;
23894 return 0;
23895}
23896_ACEOF
23897if ac_fn_c_try_link "$LINENO"; then :
23898 ac_cv_lib_Xfixes_XFixesExpandRegion=yes
23899else
23900 ac_cv_lib_Xfixes_XFixesExpandRegion=no
23901fi
23902rm -f core conftest.err conftest.$ac_objext \
23903 conftest$ac_exeext conftest.$ac_ext
23904LIBS=$ac_check_lib_save_LIBS
23905fi
23906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xfixes_XFixesExpandRegion" >&5
23907$as_echo "$ac_cv_lib_Xfixes_XFixesExpandRegion" >&6; }
23908if test "x$ac_cv_lib_Xfixes_XFixesExpandRegion" = x""yes; then :
23909
23910
23911$as_echo "#define ECORE_XFIXES 1" >>confdefs.h
23912
23913 XFIXES_LIBS="-lXfixes"
23914 use_xfixes="yes"
23915
23916else
23917 use_xfixes="no"
23918fi
23919
23920
23921else
23922 use_xfixes="no"
23923fi
23924
23925
23926 CFLAGS=$SAVE_CFLAGS
23927else
23928 use_xfixes="no"
23929 { $as_echo "$as_me:${as_lineno-$LINENO}: Xfixes support disabled" >&5
23930$as_echo "$as_me: Xfixes support disabled" >&6;}
23931fi
23932
23933
23934
23935
23936
23937
23938
23939
23940
23941XINERAMA_CFLAGS=""
23942XINERAMA_LIBS=""
23943use_xinerama="no"
23944
23945if test "x$want_ecore_x_xinerama" != "xno"; then
23946 SAVE_CFLAGS=$CFLAGS
23947 CFLAGS="$x_cflags $x_includes"
23948 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" " #include <X11/Xlib.h>
23949
23950"
23951if test "x$ac_cv_header_X11_extensions_Xinerama_h" = x""yes; then :
23952
23953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
23954$as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
23955if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then :
23956 $as_echo_n "(cached) " >&6
23957else
23958 ac_check_lib_save_LIBS=$LIBS
23959LIBS="-lXinerama $x_libs
23960 $LIBS"
23961cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23962/* end confdefs.h. */
23963
23964/* Override any GCC internal prototype to avoid an error.
23965 Use char because int might match the return type of a GCC
23966 builtin and then its argument prototype would still apply. */
23967#ifdef __cplusplus
23968extern "C"
23969#endif
23970char XineramaQueryScreens ();
23971int
23972main ()
23973{
23974return XineramaQueryScreens ();
23975 ;
23976 return 0;
23977}
23978_ACEOF
23979if ac_fn_c_try_link "$LINENO"; then :
23980 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
23981else
23982 ac_cv_lib_Xinerama_XineramaQueryScreens=no
23983fi
23984rm -f core conftest.err conftest.$ac_objext \
23985 conftest$ac_exeext conftest.$ac_ext
23986LIBS=$ac_check_lib_save_LIBS
23987fi
23988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
23989$as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
23990if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x""yes; then :
23991
23992
23993$as_echo "#define ECORE_XINERAMA 1" >>confdefs.h
23994
23995 XINERAMA_LIBS="-lXinerama"
23996 use_xinerama="yes"
23997
23998else
23999 use_xinerama="no"
24000fi
24001
24002
24003else
24004 use_xinerama="no"
24005fi
24006
24007
24008 CFLAGS=$SAVE_CFLAGS
24009else
24010 use_xinerama="no"
24011 { $as_echo "$as_me:${as_lineno-$LINENO}: Xinerama support disabled" >&5
24012$as_echo "$as_me: Xinerama support disabled" >&6;}
24013fi
24014
24015
24016
24017
24018
24019
24020
24021
24022
24023XPRINT_CFLAGS=""
24024XPRINT_LIBS=""
24025use_xprint="no"
24026
24027if test "x$want_ecore_x_xprint" != "xno"; then
24028 SAVE_CFLAGS=$CFLAGS
24029 CFLAGS="$x_cflags $x_includes"
24030 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Print.h" "ac_cv_header_X11_extensions_Print_h" " #include <X11/Xlib.h>
24031
24032"
24033if test "x$ac_cv_header_X11_extensions_Print_h" = x""yes; then :
24034
24035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpQueryScreens in -lXp" >&5
24036$as_echo_n "checking for XpQueryScreens in -lXp... " >&6; }
24037if test "${ac_cv_lib_Xp_XpQueryScreens+set}" = set; then :
24038 $as_echo_n "(cached) " >&6
24039else
24040 ac_check_lib_save_LIBS=$LIBS
24041LIBS="-lXp $x_libs
24042 $LIBS"
24043cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24044/* end confdefs.h. */
24045
24046/* Override any GCC internal prototype to avoid an error.
24047 Use char because int might match the return type of a GCC
24048 builtin and then its argument prototype would still apply. */
24049#ifdef __cplusplus
24050extern "C"
24051#endif
24052char XpQueryScreens ();
24053int
24054main ()
24055{
24056return XpQueryScreens ();
24057 ;
24058 return 0;
24059}
24060_ACEOF
24061if ac_fn_c_try_link "$LINENO"; then :
24062 ac_cv_lib_Xp_XpQueryScreens=yes
24063else
24064 ac_cv_lib_Xp_XpQueryScreens=no
24065fi
24066rm -f core conftest.err conftest.$ac_objext \
24067 conftest$ac_exeext conftest.$ac_ext
24068LIBS=$ac_check_lib_save_LIBS
24069fi
24070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpQueryScreens" >&5
24071$as_echo "$ac_cv_lib_Xp_XpQueryScreens" >&6; }
24072if test "x$ac_cv_lib_Xp_XpQueryScreens" = x""yes; then :
24073
24074
24075$as_echo "#define ECORE_XPRINT 1" >>confdefs.h
24076
24077 XPRINT_LIBS="-lXp"
24078 use_xprint="yes"
24079
24080else
24081 use_xprint="no"
24082fi
24083
24084
24085else
24086 use_xprint="no"
24087fi
24088
24089
24090 CFLAGS=$SAVE_CFLAGS
24091else
24092 use_xprint="no"
24093 { $as_echo "$as_me:${as_lineno-$LINENO}: Xprint support disabled" >&5
24094$as_echo "$as_me: Xprint support disabled" >&6;}
24095fi
24096
24097
24098
24099
24100
24101
24102
24103
24104
24105XRANDR_CFLAGS=""
24106XRANDR_LIBS=""
24107use_xrandr="no"
24108
24109if test "x$want_ecore_x_randr" != "xno"; then
24110 SAVE_CFLAGS=$CFLAGS
24111 CFLAGS="$x_cflags $x_includes"
24112 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" " #include <X11/Xlib.h>
24113
24114"
24115if test "x$ac_cv_header_X11_extensions_Xrandr_h" = x""yes; then :
24116
24117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRRGetScreenResourcesCurrent in -lXrandr" >&5
24118$as_echo_n "checking for XRRGetScreenResourcesCurrent in -lXrandr... " >&6; }
24119if test "${ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent+set}" = set; then :
24120 $as_echo_n "(cached) " >&6
24121else
24122 ac_check_lib_save_LIBS=$LIBS
24123LIBS="-lXrandr $x_libs
24124 $LIBS"
24125cat 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 XRRGetScreenResourcesCurrent ();
24135int
24136main ()
24137{
24138return XRRGetScreenResourcesCurrent ();
24139 ;
24140 return 0;
24141}
24142_ACEOF
24143if ac_fn_c_try_link "$LINENO"; then :
24144 ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent=yes
24145else
24146 ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent=no
24147fi
24148rm -f core conftest.err conftest.$ac_objext \
24149 conftest$ac_exeext conftest.$ac_ext
24150LIBS=$ac_check_lib_save_LIBS
24151fi
24152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent" >&5
24153$as_echo "$ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent" >&6; }
24154if test "x$ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent" = x""yes; then :
24155
24156
24157$as_echo "#define ECORE_XRANDR 1" >>confdefs.h
24158
24159 XRANDR_LIBS="-lXrandr"
24160 use_xrandr="yes"
24161
24162else
24163 use_xrandr="no"
24164fi
24165
24166
24167else
24168 use_xrandr="no"
24169fi
24170
24171
24172 CFLAGS=$SAVE_CFLAGS
24173else
24174 use_xrandr="no"
24175 { $as_echo "$as_me:${as_lineno-$LINENO}: Xrandr support disabled" >&5
24176$as_echo "$as_me: Xrandr support disabled" >&6;}
24177fi
24178
24179
24180
24181
24182
24183
24184
24185
24186
24187XGESTURE_CFLAGS=""
24188XGESTURE_LIBS=""
24189use_xgesture="no"
24190
24191if test "x$want_ecore_x_gesture" != "xno"; then
24192 SAVE_CFLAGS=$CFLAGS
24193 CFLAGS="$x_cflags $x_includes"
24194 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/gesture.h" "ac_cv_header_X11_extensions_gesture_h" " #include <X11/Xlib.h>
24195
24196"
24197if test "x$ac_cv_header_X11_extensions_gesture_h" = x""yes; then :
24198
24199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XGestureQueryExtension in -lXgesture" >&5
24200$as_echo_n "checking for XGestureQueryExtension in -lXgesture... " >&6; }
24201if test "${ac_cv_lib_Xgesture_XGestureQueryExtension+set}" = set; then :
24202 $as_echo_n "(cached) " >&6
24203else
24204 ac_check_lib_save_LIBS=$LIBS
24205LIBS="-lXgesture $x_libs
24206 $LIBS"
24207cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24208/* end confdefs.h. */
24209
24210/* Override any GCC internal prototype to avoid an error.
24211 Use char because int might match the return type of a GCC
24212 builtin and then its argument prototype would still apply. */
24213#ifdef __cplusplus
24214extern "C"
24215#endif
24216char XGestureQueryExtension ();
24217int
24218main ()
24219{
24220return XGestureQueryExtension ();
24221 ;
24222 return 0;
24223}
24224_ACEOF
24225if ac_fn_c_try_link "$LINENO"; then :
24226 ac_cv_lib_Xgesture_XGestureQueryExtension=yes
24227else
24228 ac_cv_lib_Xgesture_XGestureQueryExtension=no
24229fi
24230rm -f core conftest.err conftest.$ac_objext \
24231 conftest$ac_exeext conftest.$ac_ext
24232LIBS=$ac_check_lib_save_LIBS
24233fi
24234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xgesture_XGestureQueryExtension" >&5
24235$as_echo "$ac_cv_lib_Xgesture_XGestureQueryExtension" >&6; }
24236if test "x$ac_cv_lib_Xgesture_XGestureQueryExtension" = x""yes; then :
24237
24238
24239$as_echo "#define ECORE_XGESTURE 1" >>confdefs.h
24240
24241 XGESTURE_LIBS="-lXgesture"
24242 use_xgesture="yes"
24243
24244else
24245 use_xgesture="no"
24246fi
24247
24248
24249else
24250 use_xgesture="no"
24251fi
24252
24253
24254 CFLAGS=$SAVE_CFLAGS
24255else
24256 use_xgesture="no"
24257 { $as_echo "$as_me:${as_lineno-$LINENO}: Xgesture support disabled" >&5
24258$as_echo "$as_me: Xgesture support disabled" >&6;}
24259fi
24260
24261
24262
24263
24264
24265
24266
24267
24268
24269XRENDER_CFLAGS=""
24270XRENDER_LIBS=""
24271use_xrender="no"
24272
24273if test "x$want_ecore_x_render" != "xno"; then
24274 SAVE_CFLAGS=$CFLAGS
24275 CFLAGS="$x_cflags $x_includes"
24276 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" " #include <X11/Xlib.h>
24277
24278"
24279if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then :
24280
24281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderFindVisualFormat in -lXrender" >&5
24282$as_echo_n "checking for XRenderFindVisualFormat in -lXrender... " >&6; }
24283if test "${ac_cv_lib_Xrender_XRenderFindVisualFormat+set}" = set; then :
24284 $as_echo_n "(cached) " >&6
24285else
24286 ac_check_lib_save_LIBS=$LIBS
24287LIBS="-lXrender $x_libs
24288 $LIBS"
24289cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24290/* end confdefs.h. */
24291
24292/* Override any GCC internal prototype to avoid an error.
24293 Use char because int might match the return type of a GCC
24294 builtin and then its argument prototype would still apply. */
24295#ifdef __cplusplus
24296extern "C"
24297#endif
24298char XRenderFindVisualFormat ();
24299int
24300main ()
24301{
24302return XRenderFindVisualFormat ();
24303 ;
24304 return 0;
24305}
24306_ACEOF
24307if ac_fn_c_try_link "$LINENO"; then :
24308 ac_cv_lib_Xrender_XRenderFindVisualFormat=yes
24309else
24310 ac_cv_lib_Xrender_XRenderFindVisualFormat=no
24311fi
24312rm -f core conftest.err conftest.$ac_objext \
24313 conftest$ac_exeext conftest.$ac_ext
24314LIBS=$ac_check_lib_save_LIBS
24315fi
24316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderFindVisualFormat" >&5
24317$as_echo "$ac_cv_lib_Xrender_XRenderFindVisualFormat" >&6; }
24318if test "x$ac_cv_lib_Xrender_XRenderFindVisualFormat" = x""yes; then :
24319
24320
24321$as_echo "#define ECORE_XRENDER 1" >>confdefs.h
24322
24323 XRENDER_LIBS="-lXrender"
24324 use_xrender="yes"
24325
24326else
24327 use_xrender="no"
24328fi
24329
24330
24331else
24332 use_xrender="no"
24333fi
24334
24335
24336 CFLAGS=$SAVE_CFLAGS
24337else
24338 use_xrender="no"
24339 { $as_echo "$as_me:${as_lineno-$LINENO}: Xrender support disabled" >&5
24340$as_echo "$as_me: Xrender support disabled" >&6;}
24341fi
24342
24343
24344
24345
24346
24347
24348
24349
24350
24351XTEST_CFLAGS=""
24352XTEST_LIBS=""
24353use_xtest="no"
24354
24355if test "x$want_ecore_x_xtest" != "xno"; then
24356 SAVE_CFLAGS=$CFLAGS
24357 CFLAGS="$x_cflags $x_includes"
24358 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XTest.h" "ac_cv_header_X11_extensions_XTest_h" " #include <X11/Xlib.h>
24359
24360"
24361if test "x$ac_cv_header_X11_extensions_XTest_h" = x""yes; then :
24362
24363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5
24364$as_echo_n "checking for XTestFakeKeyEvent in -lXtst... " >&6; }
24365if test "${ac_cv_lib_Xtst_XTestFakeKeyEvent+set}" = set; then :
24366 $as_echo_n "(cached) " >&6
24367else
24368 ac_check_lib_save_LIBS=$LIBS
24369LIBS="-lXtst $x_libs
24370 $LIBS"
24371cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24372/* end confdefs.h. */
24373
24374/* Override any GCC internal prototype to avoid an error.
24375 Use char because int might match the return type of a GCC
24376 builtin and then its argument prototype would still apply. */
24377#ifdef __cplusplus
24378extern "C"
24379#endif
24380char XTestFakeKeyEvent ();
24381int
24382main ()
24383{
24384return XTestFakeKeyEvent ();
24385 ;
24386 return 0;
24387}
24388_ACEOF
24389if ac_fn_c_try_link "$LINENO"; then :
24390 ac_cv_lib_Xtst_XTestFakeKeyEvent=yes
24391else
24392 ac_cv_lib_Xtst_XTestFakeKeyEvent=no
24393fi
24394rm -f core conftest.err conftest.$ac_objext \
24395 conftest$ac_exeext conftest.$ac_ext
24396LIBS=$ac_check_lib_save_LIBS
24397fi
24398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestFakeKeyEvent" >&5
24399$as_echo "$ac_cv_lib_Xtst_XTestFakeKeyEvent" >&6; }
24400if test "x$ac_cv_lib_Xtst_XTestFakeKeyEvent" = x""yes; then :
24401
24402
24403$as_echo "#define ECORE_XTEST 1" >>confdefs.h
24404
24405 XTEST_LIBS="-lXtst"
24406 use_xtest="yes"
24407
24408else
24409 use_xtest="no"
24410fi
24411
24412
24413else
24414 use_xtest="no"
24415fi
24416
24417
24418 CFLAGS=$SAVE_CFLAGS
24419else
24420 use_xtest="no"
24421 { $as_echo "$as_me:${as_lineno-$LINENO}: Xtest support disabled" >&5
24422$as_echo "$as_me: Xtest support disabled" >&6;}
24423fi
24424
24425
24426
24427
24428
24429
24430
24431
24432
24433XSS_CFLAGS=""
24434XSS_LIBS=""
24435use_xss="no"
24436
24437if test "x$want_ecore_x_screensaver" != "xno"; then
24438 SAVE_CFLAGS=$CFLAGS
24439 CFLAGS="$x_cflags $x_includes"
24440 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/scrnsaver.h" "ac_cv_header_X11_extensions_scrnsaver_h" " #include <X11/Xlib.h>
24441
24442"
24443if test "x$ac_cv_header_X11_extensions_scrnsaver_h" = x""yes; then :
24444
24445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XScreenSaverSelectInput in -lXss" >&5
24446$as_echo_n "checking for XScreenSaverSelectInput in -lXss... " >&6; }
24447if test "${ac_cv_lib_Xss_XScreenSaverSelectInput+set}" = set; then :
24448 $as_echo_n "(cached) " >&6
24449else
24450 ac_check_lib_save_LIBS=$LIBS
24451LIBS="-lXss $x_libs
24452 $LIBS"
24453cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24454/* end confdefs.h. */
24455
24456/* Override any GCC internal prototype to avoid an error.
24457 Use char because int might match the return type of a GCC
24458 builtin and then its argument prototype would still apply. */
24459#ifdef __cplusplus
24460extern "C"
24461#endif
24462char XScreenSaverSelectInput ();
24463int
24464main ()
24465{
24466return XScreenSaverSelectInput ();
24467 ;
24468 return 0;
24469}
24470_ACEOF
24471if ac_fn_c_try_link "$LINENO"; then :
24472 ac_cv_lib_Xss_XScreenSaverSelectInput=yes
24473else
24474 ac_cv_lib_Xss_XScreenSaverSelectInput=no
24475fi
24476rm -f core conftest.err conftest.$ac_objext \
24477 conftest$ac_exeext conftest.$ac_ext
24478LIBS=$ac_check_lib_save_LIBS
24479fi
24480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xss_XScreenSaverSelectInput" >&5
24481$as_echo "$ac_cv_lib_Xss_XScreenSaverSelectInput" >&6; }
24482if test "x$ac_cv_lib_Xss_XScreenSaverSelectInput" = x""yes; then :
24483
24484
24485$as_echo "#define ECORE_XSS 1" >>confdefs.h
24486
24487 XSS_LIBS="-lXss"
24488 use_xss="yes"
24489
24490else
24491 use_xss="no"
24492fi
24493
24494
24495else
24496 use_xss="no"
24497fi
24498
24499
24500 CFLAGS=$SAVE_CFLAGS
24501else
24502 use_xss="no"
24503 { $as_echo "$as_me:${as_lineno-$LINENO}: Xss support disabled" >&5
24504$as_echo "$as_me: Xss support disabled" >&6;}
24505fi
24506
24507
24508
24509
24510
24511
24512
24513
24514
24515XI2_CFLAGS=""
24516XI2_LIBS=""
24517use_xi2="no"
24518
24519if test "x$want_ecore_x_input" != "xno"; then
24520 SAVE_CFLAGS=$CFLAGS
24521 CFLAGS="$x_cflags $x_includes"
24522 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" " #include <X11/Xlib.h>
24523
24524"
24525if test "x$ac_cv_header_X11_extensions_XInput2_h" = x""yes; then :
24526
24527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XIQueryDevice in -lXi" >&5
24528$as_echo_n "checking for XIQueryDevice in -lXi... " >&6; }
24529if test "${ac_cv_lib_Xi_XIQueryDevice+set}" = set; then :
24530 $as_echo_n "(cached) " >&6
24531else
24532 ac_check_lib_save_LIBS=$LIBS
24533LIBS="-lXi $x_libs
24534 $LIBS"
24535cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24536/* end confdefs.h. */
24537
24538/* Override any GCC internal prototype to avoid an error.
24539 Use char because int might match the return type of a GCC
24540 builtin and then its argument prototype would still apply. */
24541#ifdef __cplusplus
24542extern "C"
24543#endif
24544char XIQueryDevice ();
24545int
24546main ()
24547{
24548return XIQueryDevice ();
24549 ;
24550 return 0;
24551}
24552_ACEOF
24553if ac_fn_c_try_link "$LINENO"; then :
24554 ac_cv_lib_Xi_XIQueryDevice=yes
24555else
24556 ac_cv_lib_Xi_XIQueryDevice=no
24557fi
24558rm -f core conftest.err conftest.$ac_objext \
24559 conftest$ac_exeext conftest.$ac_ext
24560LIBS=$ac_check_lib_save_LIBS
24561fi
24562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xi_XIQueryDevice" >&5
24563$as_echo "$ac_cv_lib_Xi_XIQueryDevice" >&6; }
24564if test "x$ac_cv_lib_Xi_XIQueryDevice" = x""yes; then :
24565
24566
24567$as_echo "#define ECORE_XI2 1" >>confdefs.h
24568
24569 XI2_LIBS="-lXi"
24570 use_xi2="yes"
24571
24572else
24573 use_xi2="no"
24574fi
24575
24576
24577else
24578 use_xi2="no"
24579fi
24580
24581
24582 CFLAGS=$SAVE_CFLAGS
24583else
24584 use_xi2="no"
24585 { $as_echo "$as_me:${as_lineno-$LINENO}: Xi2 support disabled" >&5
24586$as_echo "$as_me: Xi2 support disabled" >&6;}
24587fi
24588
24589
24590
24591
24592
24593
24594
24595
24596 ecore_x_libs_private="${Xcursor_libs} ${XKB_LIBS} ${XCOMPOSITE_LIBS} ${XGESTURE_LIBS} ${XDAMAGE_LIBS} ${XDPMS_LIBS} ${XFIXES_LIBS} ${XINERAMA_LIBS} ${XPRINT_LIBS} ${XRANDR_LIBS} ${XRENDER_LIBS} ${XTEST_LIBS} ${XSS_LIBS} ${XI2_LIBS}"
24597
24598
24599$as_echo "#define HAVE_ECORE_X_XLIB 1" >>confdefs.h
24600
24601 have_x="yes"
24602
24603 have_ecore_x_xlib="yes"
24604 fi
24605fi
24606
24607
24608
24609
24610
24611
24612 if test $have_ecore_x_xlib = yes; then
24613 BUILD_ECORE_X_XLIB_TRUE=
24614 BUILD_ECORE_X_XLIB_FALSE='#'
24615else
24616 BUILD_ECORE_X_XLIB_TRUE='#'
24617 BUILD_ECORE_X_XLIB_FALSE=
24618fi
24619
24620 if test $have_ecore_x_xcb = yes; then
24621 BUILD_ECORE_X_XCB_TRUE=
24622 BUILD_ECORE_X_XCB_FALSE='#'
24623else
24624 BUILD_ECORE_X_XCB_TRUE='#'
24625 BUILD_ECORE_X_XCB_FALSE=
24626fi
24627
24628
24629
24630# Evas library (ecore_config, ecore_input_evas, ecore_imf_evas and ecore_evas)
24631
24632
24633pkg_failed=no
24634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5
24635$as_echo_n "checking for EVAS... " >&6; }
24636
24637if test -n "$EVAS_CFLAGS"; then
24638 pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
24639 elif test -n "$PKG_CONFIG"; then
24640 if test -n "$PKG_CONFIG" && \
24641 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.1.0\""; } >&5
24642 ($PKG_CONFIG --exists --print-errors "evas >= 1.1.0") 2>&5
24643 ac_status=$?
24644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24645 test $ac_status = 0; }; then
24646 pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.1.0" 2>/dev/null`
24647else
24648 pkg_failed=yes
24649fi
24650 else
24651 pkg_failed=untried
24652fi
24653if test -n "$EVAS_LIBS"; then
24654 pkg_cv_EVAS_LIBS="$EVAS_LIBS"
24655 elif test -n "$PKG_CONFIG"; then
24656 if test -n "$PKG_CONFIG" && \
24657 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.1.0\""; } >&5
24658 ($PKG_CONFIG --exists --print-errors "evas >= 1.1.0") 2>&5
24659 ac_status=$?
24660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24661 test $ac_status = 0; }; then
24662 pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.1.0" 2>/dev/null`
24663else
24664 pkg_failed=yes
24665fi
24666 else
24667 pkg_failed=untried
24668fi
24669
24670
24671
24672if test $pkg_failed = yes; then
24673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24674$as_echo "no" >&6; }
24675
24676if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24677 _pkg_short_errors_supported=yes
24678else
24679 _pkg_short_errors_supported=no
24680fi
24681 if test $_pkg_short_errors_supported = yes; then
24682 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evas >= 1.1.0" 2>&1`
24683 else
24684 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "evas >= 1.1.0" 2>&1`
24685 fi
24686 # Put the nasty error message in config.log where it belongs
24687 echo "$EVAS_PKG_ERRORS" >&5
24688
24689 have_evas="no"
24690elif test $pkg_failed = untried; then
24691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24692$as_echo "no" >&6; }
24693 have_evas="no"
24694else
24695 EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
24696 EVAS_LIBS=$pkg_cv_EVAS_LIBS
24697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24698$as_echo "yes" >&6; }
24699 have_evas="yes"
24700fi
24701
24702
24703### Checks for header files
24704
24705for ac_header in sys/select.h sys/prctl.h
24706do :
24707 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24708ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24709if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
24710 cat >>confdefs.h <<_ACEOF
24711#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24712_ACEOF
24713
24714fi
24715
24716done
24717
24718
24719
24720
24721default_max="4096"
24722ac_ext=c
24723ac_cpp='$CPP $CPPFLAGS'
24724ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24725ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24726ac_compiler_gnu=$ac_cv_c_compiler_gnu
24727
24728
24729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
24730$as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
24731cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24732/* end confdefs.h. */
24733
24734#include <limits.h>
24735
24736int
24737main ()
24738{
24739
24740int i = PATH_MAX;
24741
24742 ;
24743 return 0;
24744}
24745_ACEOF
24746if ac_fn_c_try_compile "$LINENO"; then :
24747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24748$as_echo "yes" >&6; }
24749else
24750
24751
24752cat >>confdefs.h <<_ACEOF
24753#define PATH_MAX ${default_max}
24754_ACEOF
24755
24756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
24757$as_echo "no: using ${default_max}" >&6; }
24758
24759fi
24760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24761
24762ac_ext=c
24763ac_cpp='$CPP $CPPFLAGS'
24764ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24765ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24766ac_compiler_gnu=$ac_cv_c_compiler_gnu
24767
24768
24769
24770
24771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
24772$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
24773if test "${ac_cv_header_sys_wait_h+set}" = set; then :
24774 $as_echo_n "(cached) " >&6
24775else
24776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24777/* end confdefs.h. */
24778#include <sys/types.h>
24779#include <sys/wait.h>
24780#ifndef WEXITSTATUS
24781# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
24782#endif
24783#ifndef WIFEXITED
24784# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
24785#endif
24786
24787int
24788main ()
24789{
24790 int s;
24791 wait (&s);
24792 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
24793 ;
24794 return 0;
24795}
24796_ACEOF
24797if ac_fn_c_try_compile "$LINENO"; then :
24798 ac_cv_header_sys_wait_h=yes
24799else
24800 ac_cv_header_sys_wait_h=no
24801fi
24802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24803fi
24804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
24805$as_echo "$ac_cv_header_sys_wait_h" >&6; }
24806if test $ac_cv_header_sys_wait_h = yes; then
24807
24808$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
24809
24810fi
24811
24812# Check whether --enable-largefile was given.
24813if test "${enable_largefile+set}" = set; then :
24814 enableval=$enable_largefile;
24815fi
24816
24817if test "$enable_largefile" != no; then
24818
24819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
24820$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
24821if test "${ac_cv_sys_largefile_CC+set}" = set; then :
24822 $as_echo_n "(cached) " >&6
24823else
24824 ac_cv_sys_largefile_CC=no
24825 if test "$GCC" != yes; then
24826 ac_save_CC=$CC
24827 while :; do
24828 # IRIX 6.2 and later do not support large files by default,
24829 # so use the C compiler's -n32 option if that helps.
24830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24831/* end confdefs.h. */
24832#include <sys/types.h>
24833 /* Check that off_t can represent 2**63 - 1 correctly.
24834 We can't simply define LARGE_OFF_T to be 9223372036854775807,
24835 since some C++ compilers masquerading as C compilers
24836 incorrectly reject 9223372036854775807. */
24837#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
24838 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
24839 && LARGE_OFF_T % 2147483647 == 1)
24840 ? 1 : -1];
24841int
24842main ()
24843{
24844
24845 ;
24846 return 0;
24847}
24848_ACEOF
24849 if ac_fn_c_try_compile "$LINENO"; then :
24850 break
24851fi
24852rm -f core conftest.err conftest.$ac_objext
24853 CC="$CC -n32"
24854 if ac_fn_c_try_compile "$LINENO"; then :
24855 ac_cv_sys_largefile_CC=' -n32'; break
24856fi
24857rm -f core conftest.err conftest.$ac_objext
24858 break
24859 done
24860 CC=$ac_save_CC
24861 rm -f conftest.$ac_ext
24862 fi
24863fi
24864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
24865$as_echo "$ac_cv_sys_largefile_CC" >&6; }
24866 if test "$ac_cv_sys_largefile_CC" != no; then
24867 CC=$CC$ac_cv_sys_largefile_CC
24868 fi
24869
24870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24871$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
24872if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
24873 $as_echo_n "(cached) " >&6
24874else
24875 while :; do
24876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24877/* end confdefs.h. */
24878#include <sys/types.h>
24879 /* Check that off_t can represent 2**63 - 1 correctly.
24880 We can't simply define LARGE_OFF_T to be 9223372036854775807,
24881 since some C++ compilers masquerading as C compilers
24882 incorrectly reject 9223372036854775807. */
24883#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
24884 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
24885 && LARGE_OFF_T % 2147483647 == 1)
24886 ? 1 : -1];
24887int
24888main ()
24889{
24890
24891 ;
24892 return 0;
24893}
24894_ACEOF
24895if ac_fn_c_try_compile "$LINENO"; then :
24896 ac_cv_sys_file_offset_bits=no; break
24897fi
24898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24900/* end confdefs.h. */
24901#define _FILE_OFFSET_BITS 64
24902#include <sys/types.h>
24903 /* Check that off_t can represent 2**63 - 1 correctly.
24904 We can't simply define LARGE_OFF_T to be 9223372036854775807,
24905 since some C++ compilers masquerading as C compilers
24906 incorrectly reject 9223372036854775807. */
24907#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
24908 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
24909 && LARGE_OFF_T % 2147483647 == 1)
24910 ? 1 : -1];
24911int
24912main ()
24913{
24914
24915 ;
24916 return 0;
24917}
24918_ACEOF
24919if ac_fn_c_try_compile "$LINENO"; then :
24920 ac_cv_sys_file_offset_bits=64; break
24921fi
24922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24923 ac_cv_sys_file_offset_bits=unknown
24924 break
24925done
24926fi
24927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
24928$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
24929case $ac_cv_sys_file_offset_bits in #(
24930 no | unknown) ;;
24931 *)
24932cat >>confdefs.h <<_ACEOF
24933#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24934_ACEOF
24935;;
24936esac
24937rm -rf conftest*
24938 if test $ac_cv_sys_file_offset_bits = unknown; then
24939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
24940$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
24941if test "${ac_cv_sys_large_files+set}" = set; then :
24942 $as_echo_n "(cached) " >&6
24943else
24944 while :; do
24945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24946/* end confdefs.h. */
24947#include <sys/types.h>
24948 /* Check that off_t can represent 2**63 - 1 correctly.
24949 We can't simply define LARGE_OFF_T to be 9223372036854775807,
24950 since some C++ compilers masquerading as C compilers
24951 incorrectly reject 9223372036854775807. */
24952#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
24953 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
24954 && LARGE_OFF_T % 2147483647 == 1)
24955 ? 1 : -1];
24956int
24957main ()
24958{
24959
24960 ;
24961 return 0;
24962}
24963_ACEOF
24964if ac_fn_c_try_compile "$LINENO"; then :
24965 ac_cv_sys_large_files=no; break
24966fi
24967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24969/* end confdefs.h. */
24970#define _LARGE_FILES 1
24971#include <sys/types.h>
24972 /* Check that off_t can represent 2**63 - 1 correctly.
24973 We can't simply define LARGE_OFF_T to be 9223372036854775807,
24974 since some C++ compilers masquerading as C compilers
24975 incorrectly reject 9223372036854775807. */
24976#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
24977 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
24978 && LARGE_OFF_T % 2147483647 == 1)
24979 ? 1 : -1];
24980int
24981main ()
24982{
24983
24984 ;
24985 return 0;
24986}
24987_ACEOF
24988if ac_fn_c_try_compile "$LINENO"; then :
24989 ac_cv_sys_large_files=1; break
24990fi
24991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24992 ac_cv_sys_large_files=unknown
24993 break
24994done
24995fi
24996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
24997$as_echo "$ac_cv_sys_large_files" >&6; }
24998case $ac_cv_sys_large_files in #(
24999 no | unknown) ;;
25000 *)
25001cat >>confdefs.h <<_ACEOF
25002#define _LARGE_FILES $ac_cv_sys_large_files
25003_ACEOF
25004;;
25005esac
25006rm -rf conftest*
25007 fi
25008fi
25009
25010
25011have_addrinfo="no"
25012case "$host_os" in
25013 mingw* | cegcc*)
25014
25015$as_echo "#define HAVE_DLFCN_H 1" >>confdefs.h
25016
25017
25018$as_echo "#define HAVE_SYS_MMAN_H 1" >>confdefs.h
25019
25020
25021$as_echo "#define HAVE_SYS_TIME_H 1" >>confdefs.h
25022
25023 have_addrinfo="yes"
25024 ;;
25025 *)
25026 for ac_header in dlfcn.h features.h langinfo.h locale.h sys/time.h sys/mman.h signal.h sys/resource.h
25027do :
25028 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25029ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25030if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
25031 cat >>confdefs.h <<_ACEOF
25032#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25033_ACEOF
25034
25035fi
25036
25037done
25038
25039 ;;
25040esac
25041
25042# ecore_con
25043
25044for ac_header in arpa/inet.h arpa/nameser.h netinet/tcp.h netinet/in.h sys/socket.h sys/un.h ws2tcpip.h netdb.h
25045do :
25046 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25047ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25048if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
25049 cat >>confdefs.h <<_ACEOF
25050#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25051_ACEOF
25052
25053fi
25054
25055done
25056
25057
25058if test "x${ac_cv_header_netdb_h}" = "xyes" ; then
25059 have_addrinfo="yes"
25060fi
25061
25062# Framebuffer (ecore_fb)
25063have_fb="no"
25064ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default"
25065if test "x$ac_cv_header_linux_fb_h" = x""yes; then :
25066 ac_fn_c_check_header_mongrel "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
25067if test "x$ac_cv_header_linux_input_h" = x""yes; then :
25068 have_fb="yes"
25069fi
25070
25071
25072fi
25073
25074
25075
25076# Cocoa header files (ecore_cocoa)
25077
25078if test "x${want_ecore_cocoa}" = "xyes" ; then
25079 cocoa_ldflags=""
25080 have_cocoa="no"
25081
25082 if test "x${have_gnu_objc}" = "xyes" ; then
25083 ac_ext=m
25084ac_cpp='$OBJCPP $CPPFLAGS'
25085ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25086ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25087ac_compiler_gnu=$ac_cv_objc_compiler_gnu
25088
25089 LIBS_save="$LIBS"
25090 LIBS="$LIBS -framework Cocoa"
25091
25092cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25093/* end confdefs.h. */
25094
25095#include <Cocoa/Cocoa.h>
25096
25097int
25098main ()
25099{
25100
25101NSWindow *window;
25102window = [[NSWindow alloc]
25103 initWithContentRect:NSMakeRect(0, 0, 1, 1)
25104 styleMask:(NSTitledWindowMask)
25105 backing:NSBackingStoreBuffered
25106 defer:NO
25107 screen:nil
25108 ];
25109
25110 ;
25111 return 0;
25112}
25113_ACEOF
25114if ac_fn_objc_try_link "$LINENO"; then :
25115
25116 have_cocoa="yes"
25117 cocoa_ldflags="-framework Cocoa"
25118
25119else
25120 have_cocoa="no"
25121fi
25122rm -f core conftest.err conftest.$ac_objext \
25123 conftest$ac_exeext conftest.$ac_ext
25124 LIBS="$LIBS_save"
25125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Cocoa framework is supported" >&5
25126$as_echo_n "checking whether Cocoa framework is supported... " >&6; }
25127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_cocoa}" >&5
25128$as_echo "${have_cocoa}" >&6; }
25129 ac_ext=c
25130ac_cpp='$CPP $CPPFLAGS'
25131ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25132ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25133ac_compiler_gnu=$ac_cv_c_compiler_gnu
25134
25135 fi
25136
25137fi
25138
25139
25140want_epoll=yes
25141# Check whether --enable-epoll was given.
25142if test "${enable_epoll+set}" = set; then :
25143 enableval=$enable_epoll; want_epoll=$enableval
25144fi
25145
25146
25147if test "x${want_epoll}" = "xyes" ; then
25148 # check for epoll support
25149 for ac_header in sys/epoll.h
25150do :
25151 ac_fn_c_check_header_mongrel "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
25152if test "x$ac_cv_header_sys_epoll_h" = x""yes; then :
25153 cat >>confdefs.h <<_ACEOF
25154#define HAVE_SYS_EPOLL_H 1
25155_ACEOF
25156
25157fi
25158
25159done
25160
25161fi
25162
25163# timerfd_create
25164for ac_header in sys/timerfd.h
25165do :
25166 ac_fn_c_check_header_mongrel "$LINENO" "sys/timerfd.h" "ac_cv_header_sys_timerfd_h" "$ac_includes_default"
25167if test "x$ac_cv_header_sys_timerfd_h" = x""yes; then :
25168 cat >>confdefs.h <<_ACEOF
25169#define HAVE_SYS_TIMERFD_H 1
25170_ACEOF
25171
25172fi
25173
25174done
25175
25176for ac_func in timerfd_create
25177do :
25178 ac_fn_c_check_func "$LINENO" "timerfd_create" "ac_cv_func_timerfd_create"
25179if test "x$ac_cv_func_timerfd_create" = x""yes; then :
25180 cat >>confdefs.h <<_ACEOF
25181#define HAVE_TIMERFD_CREATE 1
25182_ACEOF
25183
25184fi
25185done
25186
25187
25188# thread support
25189
25190
25191
25192
25193# Check whether --enable-posix-threads was given.
25194if test "${enable_posix_threads+set}" = set; then :
25195 enableval=$enable_posix_threads;
25196 if test "x${enableval}" = "xyes" ; then
25197 _efl_enable_posix_threads="yes"
25198 else
25199 _efl_enable_posix_threads="no"
25200 fi
25201
25202else
25203 _efl_enable_posix_threads="auto"
25204fi
25205
25206
25207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build POSIX threads code" >&5
25208$as_echo_n "checking whether to build POSIX threads code... " >&6; }
25209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_posix_threads}" >&5
25210$as_echo "${_efl_enable_posix_threads}" >&6; }
25211
25212# Check whether --enable-win32-threads was given.
25213if test "${enable_win32_threads+set}" = set; then :
25214 enableval=$enable_win32_threads;
25215 if test "x${enableval}" = "xyes" ; then
25216 _efl_enable_win32_threads="yes"
25217 else
25218 _efl_enable_win32_threads="no"
25219 fi
25220
25221else
25222 _efl_enable_win32_threads="no"
25223fi
25224
25225
25226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Windows threads code" >&5
25227$as_echo_n "checking whether to build Windows threads code... " >&6; }
25228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_win32_threads}" >&5
25229$as_echo "${_efl_enable_win32_threads}" >&6; }
25230
25231
25232if test "x${_efl_enable_posix_threads}" = "xyes" && test "x${_efl_enable_win32_threads}" = "xyes" ; then
25233 case "$host_os" in
25234 mingw*)
25235 _efl_enable_posix_threads=no
25236 ;;
25237 *)
25238 _efl_enable_win32_threads=no
25239 ;;
25240 esac
25241fi
25242
25243if test "x${_efl_enable_win32_threads}" = "xyes" ; then
25244 case "$host_os" in
25245 mingw*)
25246 ;;
25247 *)
25248 as_fn_error $? "Win32 threads support requested but non Windows system found." "$LINENO" 5
25249 ;;
25250 esac
25251fi
25252
25253if test "x${_efl_enable_posix_threads}" = "xyes" ; then
25254 case "$host_os" in
25255 mingw*)
25256 as_fn_error $? "POSIX threads support requested but Windows system found." "$LINENO" 5
25257 ;;
25258 *)
25259 ;;
25260 esac
25261fi
25262
25263
25264case "$host_os" in
25265 mingw*)
25266 ;;
25267 solaris*)
25268 _efl_threads_cflags="-mt"
25269 _efl_threads_libs="-mt"
25270 ;;
25271 *)
25272 _efl_threads_cflags="-pthread"
25273 _efl_threads_libs="-pthread"
25274 ;;
25275esac
25276
25277_efl_have_posix_threads="no"
25278_efl_have_win32_threads="no"
25279
25280if test "x${_efl_enable_posix_threads}" = "xyes" || test "x${_efl_enable_posix_threads}" = "xauto" ; then
25281
25282 SAVE_CFLAGS=${CFLAGS}
25283 CFLAGS="${CFLAGS} ${_efl_threads_cflags}"
25284 SAVE_LIBS=${LIBS}
25285 LIBS="${LIBS} ${_efl_threads_libs}"
25286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25287/* end confdefs.h. */
25288
25289#include <pthread.h>
25290
25291int
25292main ()
25293{
25294
25295pthread_t id;
25296id = pthread_self();
25297
25298 ;
25299 return 0;
25300}
25301_ACEOF
25302if ac_fn_c_try_link "$LINENO"; then :
25303 _efl_have_posix_threads="yes"
25304else
25305 _efl_have_posix_threads="no"
25306fi
25307rm -f core conftest.err conftest.$ac_objext \
25308 conftest$ac_exeext conftest.$ac_ext
25309 CFLAGS=${SAVE_CFLAGS}
25310 LIBS=${SAVE_LIBS}
25311
25312fi
25313
25314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system support POSIX threads" >&5
25315$as_echo_n "checking whether system support POSIX threads... " >&6; }
25316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_posix_threads}" >&5
25317$as_echo "${_efl_have_posix_threads}" >&6; }
25318if test "$x{_efl_enable_posix_threads}" = "xyes" && test "x${_efl_have_posix_threads}" = "xno"; then
25319 as_fn_error $? "POSIX threads support requested but not found." "$LINENO" 5
25320fi
25321
25322EFL_PTHREAD_CFLAGS=""
25323EFL_PTHREAD_LIBS=""
25324if test "x${_efl_have_posix_threads}" = "xyes" ; then
25325 EFL_PTHREAD_CFLAGS=${_efl_threads_cflags}
25326 EFL_PTHREAD_LIBS=${_efl_threads_libs}
25327fi
25328
25329
25330
25331
25332_efl_enable_debug_threads="no"
25333# Check whether --enable-debug-threads was given.
25334if test "${enable_debug_threads+set}" = set; then :
25335 enableval=$enable_debug_threads; _efl_enable_debug_threads="${enableval}"
25336fi
25337
25338
25339have_debug_threads="no"
25340if test "x${_efl_have_posix_threads}" = "xyes" -a "x${_efl_enable_debug_threads}" = "xyes"; then
25341 have_debug_threads="yes"
25342
25343$as_echo "#define EFL_DEBUG_THREADS 1" >>confdefs.h
25344
25345fi
25346
25347if test "x${_efl_have_posix_threads}" = "xyes" ; then
25348
25349$as_echo "#define EFL_HAVE_POSIX_THREADS 1" >>confdefs.h
25350
25351fi
25352
25353if test "x${_efl_enable_win32_threads}" = "xyes" ; then
25354 _efl_have_win32_threads="yes"
25355
25356$as_echo "#define EFL_HAVE_WIN32_THREADS 1" >>confdefs.h
25357
25358fi
25359
25360if test "x${_efl_have_posix_threads}" = "xyes" || test "x${_efl_have_win32_threads}" = "xyes" ; then
25361
25362$as_echo "#define EFL_HAVE_THREADS 1" >>confdefs.h
25363
25364fi
25365
25366if test "x$_efl_have_posix_threads" = "xyes" || test "x$_efl_have_win32_threads" = "xyes"; then :
25367
25368 if test "x${_efl_have_posix_threads}" = "xyes" ; then
25369 have_threads="POSIX"
25370 else
25371 if test "x${_efl_have_win32_threads}" = "xyes" ; then
25372 have_threads="Win32"
25373 else
25374 have_threads="no"
25375 fi
25376 fi
25377
25378else
25379 have_threads="no"
25380fi
25381
25382
25383### enable thread safety if we have threads, unless specifically asked not to
25384if test "x${have_threads}" = "xno"
25385then
25386 want_thread_safety="no"
25387else
25388 want_thread_safety="no" # to be changed to yes when ready
25389 # Check whether --enable-thread-safety was given.
25390if test "${enable_thread_safety+set}" = set; then :
25391 enableval=$enable_thread_safety; want_thread_safety=$enableval
25392fi
25393
25394fi
25395
25396if test "x${want_thread_safety}" = "xyes"
25397then
25398
25399$as_echo "#define HAVE_THREAD_SAFETY 1" >>confdefs.h
25400
25401fi
25402
25403### Checks for types
25404# The cast to long int works around a bug in the HP C Compiler
25405# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25406# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25407# This bug is HP SR number 8606223364.
25408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
25409$as_echo_n "checking size of int... " >&6; }
25410if test "${ac_cv_sizeof_int+set}" = set; then :
25411 $as_echo_n "(cached) " >&6
25412else
25413 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
25414
25415else
25416 if test "$ac_cv_type_int" = yes; then
25417 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25418$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25419as_fn_error 77 "cannot compute sizeof (int)
25420See \`config.log' for more details" "$LINENO" 5 ; }
25421 else
25422 ac_cv_sizeof_int=0
25423 fi
25424fi
25425
25426fi
25427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
25428$as_echo "$ac_cv_sizeof_int" >&6; }
25429
25430
25431
25432cat >>confdefs.h <<_ACEOF
25433#define SIZEOF_INT $ac_cv_sizeof_int
25434_ACEOF
25435
25436
25437# The cast to long int works around a bug in the HP C Compiler
25438# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25439# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25440# This bug is HP SR number 8606223364.
25441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
25442$as_echo_n "checking size of long... " >&6; }
25443if test "${ac_cv_sizeof_long+set}" = set; then :
25444 $as_echo_n "(cached) " >&6
25445else
25446 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
25447
25448else
25449 if test "$ac_cv_type_long" = yes; then
25450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25451$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25452as_fn_error 77 "cannot compute sizeof (long)
25453See \`config.log' for more details" "$LINENO" 5 ; }
25454 else
25455 ac_cv_sizeof_long=0
25456 fi
25457fi
25458
25459fi
25460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
25461$as_echo "$ac_cv_sizeof_long" >&6; }
25462
25463
25464
25465cat >>confdefs.h <<_ACEOF
25466#define SIZEOF_LONG $ac_cv_sizeof_long
25467_ACEOF
25468
25469
25470
25471
25472### Checks for structures
25473
25474
25475### Checks for compiler characteristics
25476 case $ac_cv_prog_cc_stdc in #(
25477 no) :
25478 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
25479 *) :
25480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
25481$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
25482if test "${ac_cv_prog_cc_c99+set}" = set; then :
25483 $as_echo_n "(cached) " >&6
25484else
25485 ac_cv_prog_cc_c99=no
25486ac_save_CC=$CC
25487cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25488/* end confdefs.h. */
25489#include <stdarg.h>
25490#include <stdbool.h>
25491#include <stdlib.h>
25492#include <wchar.h>
25493#include <stdio.h>
25494
25495// Check varargs macros. These examples are taken from C99 6.10.3.5.
25496#define debug(...) fprintf (stderr, __VA_ARGS__)
25497#define showlist(...) puts (#__VA_ARGS__)
25498#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
25499static void
25500test_varargs_macros (void)
25501{
25502 int x = 1234;
25503 int y = 5678;
25504 debug ("Flag");
25505 debug ("X = %d\n", x);
25506 showlist (The first, second, and third items.);
25507 report (x>y, "x is %d but y is %d", x, y);
25508}
25509
25510// Check long long types.
25511#define BIG64 18446744073709551615ull
25512#define BIG32 4294967295ul
25513#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
25514#if !BIG_OK
25515 your preprocessor is broken;
25516#endif
25517#if BIG_OK
25518#else
25519 your preprocessor is broken;
25520#endif
25521static long long int bignum = -9223372036854775807LL;
25522static unsigned long long int ubignum = BIG64;
25523
25524struct incomplete_array
25525{
25526 int datasize;
25527 double data[];
25528};
25529
25530struct named_init {
25531 int number;
25532 const wchar_t *name;
25533 double average;
25534};
25535
25536typedef const char *ccp;
25537
25538static inline int
25539test_restrict (ccp restrict text)
25540{
25541 // See if C++-style comments work.
25542 // Iterate through items via the restricted pointer.
25543 // Also check for declarations in for loops.
25544 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
25545 continue;
25546 return 0;
25547}
25548
25549// Check varargs and va_copy.
25550static void
25551test_varargs (const char *format, ...)
25552{
25553 va_list args;
25554 va_start (args, format);
25555 va_list args_copy;
25556 va_copy (args_copy, args);
25557
25558 const char *str;
25559 int number;
25560 float fnumber;
25561
25562 while (*format)
25563 {
25564 switch (*format++)
25565 {
25566 case 's': // string
25567 str = va_arg (args_copy, const char *);
25568 break;
25569 case 'd': // int
25570 number = va_arg (args_copy, int);
25571 break;
25572 case 'f': // float
25573 fnumber = va_arg (args_copy, double);
25574 break;
25575 default:
25576 break;
25577 }
25578 }
25579 va_end (args_copy);
25580 va_end (args);
25581}
25582
25583int
25584main ()
25585{
25586
25587 // Check bool.
25588 _Bool success = false;
25589
25590 // Check restrict.
25591 if (test_restrict ("String literal") == 0)
25592 success = true;
25593 char *restrict newvar = "Another string";
25594
25595 // Check varargs.
25596 test_varargs ("s, d' f .", "string", 65, 34.234);
25597 test_varargs_macros ();
25598
25599 // Check flexible array members.
25600 struct incomplete_array *ia =
25601 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
25602 ia->datasize = 10;
25603 for (int i = 0; i < ia->datasize; ++i)
25604 ia->data[i] = i * 1.234;
25605
25606 // Check named initializers.
25607 struct named_init ni = {
25608 .number = 34,
25609 .name = L"Test wide string",
25610 .average = 543.34343,
25611 };
25612
25613 ni.number = 58;
25614
25615 int dynamic_array[ni.number];
25616 dynamic_array[ni.number - 1] = 543;
25617
25618 // work around unused variable warnings
25619 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
25620 || dynamic_array[ni.number - 1] != 543);
25621
25622 ;
25623 return 0;
25624}
25625_ACEOF
25626for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
25627do
25628 CC="$ac_save_CC $ac_arg"
25629 if ac_fn_c_try_compile "$LINENO"; then :
25630 ac_cv_prog_cc_c99=$ac_arg
25631fi
25632rm -f core conftest.err conftest.$ac_objext
25633 test "x$ac_cv_prog_cc_c99" != "xno" && break
25634done
25635rm -f conftest.$ac_ext
25636CC=$ac_save_CC
25637
25638fi
25639# AC_CACHE_VAL
25640case "x$ac_cv_prog_cc_c99" in
25641 x)
25642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
25643$as_echo "none needed" >&6; } ;;
25644 xno)
25645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
25646$as_echo "unsupported" >&6; } ;;
25647 *)
25648 CC="$CC $ac_cv_prog_cc_c99"
25649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
25650$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
25651esac
25652if test "x$ac_cv_prog_cc_c99" != xno; then :
25653 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
25654else
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
25656$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
25657if test "${ac_cv_prog_cc_c89+set}" = set; then :
25658 $as_echo_n "(cached) " >&6
25659else
25660 ac_cv_prog_cc_c89=no
25661ac_save_CC=$CC
25662cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25663/* end confdefs.h. */
25664#include <stdarg.h>
25665#include <stdio.h>
25666#include <sys/types.h>
25667#include <sys/stat.h>
25668/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
25669struct buf { int x; };
25670FILE * (*rcsopen) (struct buf *, struct stat *, int);
25671static char *e (p, i)
25672 char **p;
25673 int i;
25674{
25675 return p[i];
25676}
25677static char *f (char * (*g) (char **, int), char **p, ...)
25678{
25679 char *s;
25680 va_list v;
25681 va_start (v,p);
25682 s = g (p, va_arg (v,int));
25683 va_end (v);
25684 return s;
25685}
25686
25687/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
25688 function prototypes and stuff, but not '\xHH' hex character constants.
25689 These don't provoke an error unfortunately, instead are silently treated
25690 as 'x'. The following induces an error, until -std is added to get
25691 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
25692 array size at least. It's necessary to write '\x00'==0 to get something
25693 that's true only with -std. */
25694int osf4_cc_array ['\x00' == 0 ? 1 : -1];
25695
25696/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
25697 inside strings and character constants. */
25698#define FOO(x) 'x'
25699int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
25700
25701int test (int i, double x);
25702struct s1 {int (*f) (int a);};
25703struct s2 {int (*f) (double a);};
25704int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
25705int argc;
25706char **argv;
25707int
25708main ()
25709{
25710return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
25711 ;
25712 return 0;
25713}
25714_ACEOF
25715for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
25716 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
25717do
25718 CC="$ac_save_CC $ac_arg"
25719 if ac_fn_c_try_compile "$LINENO"; then :
25720 ac_cv_prog_cc_c89=$ac_arg
25721fi
25722rm -f core conftest.err conftest.$ac_objext
25723 test "x$ac_cv_prog_cc_c89" != "xno" && break
25724done
25725rm -f conftest.$ac_ext
25726CC=$ac_save_CC
25727
25728fi
25729# AC_CACHE_VAL
25730case "x$ac_cv_prog_cc_c89" in
25731 x)
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
25733$as_echo "none needed" >&6; } ;;
25734 xno)
25735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
25736$as_echo "unsupported" >&6; } ;;
25737 *)
25738 CC="$CC $ac_cv_prog_cc_c89"
25739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
25740$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
25741esac
25742if test "x$ac_cv_prog_cc_c89" != xno; then :
25743 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
25744else
25745 ac_cv_prog_cc_stdc=no
25746fi
25747
25748fi
25749 ;;
25750esac
25751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
25752$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
25753 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
25754 $as_echo_n "(cached) " >&6
25755fi
25756
25757 case $ac_cv_prog_cc_stdc in #(
25758 no) :
25759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
25760$as_echo "unsupported" >&6; } ;; #(
25761 '') :
25762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
25763$as_echo "none needed" >&6; } ;; #(
25764 *) :
25765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
25766$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
25767esac
25768
25769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
25770$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
25771if test "${ac_cv_c_const+set}" = set; then :
25772 $as_echo_n "(cached) " >&6
25773else
25774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25775/* end confdefs.h. */
25776
25777int
25778main ()
25779{
25780/* FIXME: Include the comments suggested by Paul. */
25781#ifndef __cplusplus
25782 /* Ultrix mips cc rejects this. */
25783 typedef int charset[2];
25784 const charset cs;
25785 /* SunOS 4.1.1 cc rejects this. */
25786 char const *const *pcpcc;
25787 char **ppc;
25788 /* NEC SVR4.0.2 mips cc rejects this. */
25789 struct point {int x, y;};
25790 static struct point const zero = {0,0};
25791 /* AIX XL C 1.02.0.0 rejects this.
25792 It does not let you subtract one const X* pointer from another in
25793 an arm of an if-expression whose if-part is not a constant
25794 expression */
25795 const char *g = "string";
25796 pcpcc = &g + (g ? g-g : 0);
25797 /* HPUX 7.0 cc rejects these. */
25798 ++pcpcc;
25799 ppc = (char**) pcpcc;
25800 pcpcc = (char const *const *) ppc;
25801 { /* SCO 3.2v4 cc rejects this. */
25802 char *t;
25803 char const *s = 0 ? (char *) 0 : (char const *) 0;
25804
25805 *t++ = 0;
25806 if (s) return 0;
25807 }
25808 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
25809 int x[] = {25, 17};
25810 const int *foo = &x[0];
25811 ++foo;
25812 }
25813 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
25814 typedef const int *iptr;
25815 iptr p = 0;
25816 ++p;
25817 }
25818 { /* AIX XL C 1.02.0.0 rejects this saying
25819 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
25820 struct s { int j; const int *ap[3]; };
25821 struct s *b; b->j = 5;
25822 }
25823 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
25824 const int foo = 10;
25825 if (!foo) return 0;
25826 }
25827 return !cs[0] && !zero.x;
25828#endif
25829
25830 ;
25831 return 0;
25832}
25833_ACEOF
25834if ac_fn_c_try_compile "$LINENO"; then :
25835 ac_cv_c_const=yes
25836else
25837 ac_cv_c_const=no
25838fi
25839rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25840fi
25841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
25842$as_echo "$ac_cv_c_const" >&6; }
25843if test $ac_cv_c_const = no; then
25844
25845$as_echo "#define const /**/" >>confdefs.h
25846
25847fi
25848
25849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
25850$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
25851if test "${ac_cv_c_bigendian+set}" = set; then :
25852 $as_echo_n "(cached) " >&6
25853else
25854 ac_cv_c_bigendian=unknown
25855 # See if we're dealing with a universal compiler.
25856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25857/* end confdefs.h. */
25858#ifndef __APPLE_CC__
25859 not a universal capable compiler
25860 #endif
25861 typedef int dummy;
25862
25863_ACEOF
25864if ac_fn_c_try_compile "$LINENO"; then :
25865
25866 # Check for potential -arch flags. It is not universal unless
25867 # there are at least two -arch flags with different values.
25868 ac_arch=
25869 ac_prev=
25870 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
25871 if test -n "$ac_prev"; then
25872 case $ac_word in
25873 i?86 | x86_64 | ppc | ppc64)
25874 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
25875 ac_arch=$ac_word
25876 else
25877 ac_cv_c_bigendian=universal
25878 break
25879 fi
25880 ;;
25881 esac
25882 ac_prev=
25883 elif test "x$ac_word" = "x-arch"; then
25884 ac_prev=arch
25885 fi
25886 done
25887fi
25888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25889 if test $ac_cv_c_bigendian = unknown; then
25890 # See if sys/param.h defines the BYTE_ORDER macro.
25891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25892/* end confdefs.h. */
25893#include <sys/types.h>
25894 #include <sys/param.h>
25895
25896int
25897main ()
25898{
25899#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
25900 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
25901 && LITTLE_ENDIAN)
25902 bogus endian macros
25903 #endif
25904
25905 ;
25906 return 0;
25907}
25908_ACEOF
25909if ac_fn_c_try_compile "$LINENO"; then :
25910 # It does; now see whether it defined to BIG_ENDIAN or not.
25911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25912/* end confdefs.h. */
25913#include <sys/types.h>
25914 #include <sys/param.h>
25915
25916int
25917main ()
25918{
25919#if BYTE_ORDER != BIG_ENDIAN
25920 not big endian
25921 #endif
25922
25923 ;
25924 return 0;
25925}
25926_ACEOF
25927if ac_fn_c_try_compile "$LINENO"; then :
25928 ac_cv_c_bigendian=yes
25929else
25930 ac_cv_c_bigendian=no
25931fi
25932rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25933fi
25934rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25935 fi
25936 if test $ac_cv_c_bigendian = unknown; then
25937 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
25938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25939/* end confdefs.h. */
25940#include <limits.h>
25941
25942int
25943main ()
25944{
25945#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
25946 bogus endian macros
25947 #endif
25948
25949 ;
25950 return 0;
25951}
25952_ACEOF
25953if ac_fn_c_try_compile "$LINENO"; then :
25954 # It does; now see whether it defined to _BIG_ENDIAN or not.
25955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25956/* end confdefs.h. */
25957#include <limits.h>
25958
25959int
25960main ()
25961{
25962#ifndef _BIG_ENDIAN
25963 not big endian
25964 #endif
25965
25966 ;
25967 return 0;
25968}
25969_ACEOF
25970if ac_fn_c_try_compile "$LINENO"; then :
25971 ac_cv_c_bigendian=yes
25972else
25973 ac_cv_c_bigendian=no
25974fi
25975rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25976fi
25977rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25978 fi
25979 if test $ac_cv_c_bigendian = unknown; then
25980 # Compile a test program.
25981 if test "$cross_compiling" = yes; then :
25982 # Try to guess by grepping values from an object file.
25983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25984/* end confdefs.h. */
25985short int ascii_mm[] =
25986 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
25987 short int ascii_ii[] =
25988 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
25989 int use_ascii (int i) {
25990 return ascii_mm[i] + ascii_ii[i];
25991 }
25992 short int ebcdic_ii[] =
25993 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
25994 short int ebcdic_mm[] =
25995 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
25996 int use_ebcdic (int i) {
25997 return ebcdic_mm[i] + ebcdic_ii[i];
25998 }
25999 extern int foo;
26000
26001int
26002main ()
26003{
26004return use_ascii (foo) == use_ebcdic (foo);
26005 ;
26006 return 0;
26007}
26008_ACEOF
26009if ac_fn_c_try_compile "$LINENO"; then :
26010 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
26011 ac_cv_c_bigendian=yes
26012 fi
26013 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
26014 if test "$ac_cv_c_bigendian" = unknown; then
26015 ac_cv_c_bigendian=no
26016 else
26017 # finding both strings is unlikely to happen, but who knows?
26018 ac_cv_c_bigendian=unknown
26019 fi
26020 fi
26021fi
26022rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26023else
26024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26025/* end confdefs.h. */
26026$ac_includes_default
26027int
26028main ()
26029{
26030
26031 /* Are we little or big endian? From Harbison&Steele. */
26032 union
26033 {
26034 long int l;
26035 char c[sizeof (long int)];
26036 } u;
26037 u.l = 1;
26038 return u.c[sizeof (long int) - 1] == 1;
26039
26040 ;
26041 return 0;
26042}
26043_ACEOF
26044if ac_fn_c_try_run "$LINENO"; then :
26045 ac_cv_c_bigendian=no
26046else
26047 ac_cv_c_bigendian=yes
26048fi
26049rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26050 conftest.$ac_objext conftest.beam conftest.$ac_ext
26051fi
26052
26053 fi
26054fi
26055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
26056$as_echo "$ac_cv_c_bigendian" >&6; }
26057 case $ac_cv_c_bigendian in #(
26058 yes)
26059 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
26060;; #(
26061 no)
26062 ;; #(
26063 universal)
26064
26065$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
26066
26067 ;; #(
26068 *)
26069 as_fn_error $? "unknown endianness
26070 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
26071 esac
26072
26073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
26074$as_echo_n "checking for ANSI C header files... " >&6; }
26075if test "${ac_cv_header_stdc+set}" = set; then :
26076 $as_echo_n "(cached) " >&6
26077else
26078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26079/* end confdefs.h. */
26080#include <stdlib.h>
26081#include <stdarg.h>
26082#include <string.h>
26083#include <float.h>
26084
26085int
26086main ()
26087{
26088
26089 ;
26090 return 0;
26091}
26092_ACEOF
26093if ac_fn_c_try_compile "$LINENO"; then :
26094 ac_cv_header_stdc=yes
26095else
26096 ac_cv_header_stdc=no
26097fi
26098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26099
26100if test $ac_cv_header_stdc = yes; then
26101 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
26102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26103/* end confdefs.h. */
26104#include <string.h>
26105
26106_ACEOF
26107if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26108 $EGREP "memchr" >/dev/null 2>&1; then :
26109
26110else
26111 ac_cv_header_stdc=no
26112fi
26113rm -f conftest*
26114
26115fi
26116
26117if test $ac_cv_header_stdc = yes; then
26118 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
26119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26120/* end confdefs.h. */
26121#include <stdlib.h>
26122
26123_ACEOF
26124if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26125 $EGREP "free" >/dev/null 2>&1; then :
26126
26127else
26128 ac_cv_header_stdc=no
26129fi
26130rm -f conftest*
26131
26132fi
26133
26134if test $ac_cv_header_stdc = yes; then
26135 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
26136 if test "$cross_compiling" = yes; then :
26137 :
26138else
26139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26140/* end confdefs.h. */
26141#include <ctype.h>
26142#include <stdlib.h>
26143#if ((' ' & 0x0FF) == 0x020)
26144# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
26145# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
26146#else
26147# define ISLOWER(c) \
26148 (('a' <= (c) && (c) <= 'i') \
26149 || ('j' <= (c) && (c) <= 'r') \
26150 || ('s' <= (c) && (c) <= 'z'))
26151# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
26152#endif
26153
26154#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
26155int
26156main ()
26157{
26158 int i;
26159 for (i = 0; i < 256; i++)
26160 if (XOR (islower (i), ISLOWER (i))
26161 || toupper (i) != TOUPPER (i))
26162 return 2;
26163 return 0;
26164}
26165_ACEOF
26166if ac_fn_c_try_run "$LINENO"; then :
26167
26168else
26169 ac_cv_header_stdc=no
26170fi
26171rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26172 conftest.$ac_objext conftest.beam conftest.$ac_ext
26173fi
26174
26175fi
26176fi
26177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
26178$as_echo "$ac_cv_header_stdc" >&6; }
26179if test $ac_cv_header_stdc = yes; then
26180
26181$as_echo "#define STDC_HEADERS 1" >>confdefs.h
26182
26183fi
26184
26185
26186
26187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
26188$as_echo_n "checking for __attribute__... " >&6; }
26189
26190if test "${ac_cv___attribute__+set}" = set; then :
26191 $as_echo_n "(cached) " >&6
26192else
26193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26194/* end confdefs.h. */
26195
26196#include <stdlib.h>
26197
26198int func(int x);
26199int foo(int x __attribute__ ((unused)))
26200{
26201 exit(1);
26202}
26203
26204int
26205main ()
26206{
26207
26208 ;
26209 return 0;
26210}
26211_ACEOF
26212if ac_fn_c_try_compile "$LINENO"; then :
26213 ac_cv___attribute__="yes"
26214else
26215 ac_cv___attribute__="no"
26216
26217fi
26218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26219fi
26220
26221
26222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
26223$as_echo "$ac_cv___attribute__" >&6; }
26224
26225if test "x${ac_cv___attribute__}" = "xyes" ; then
26226
26227$as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
26228
26229
26230$as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
26231
26232 else
26233
26234$as_echo "#define __UNUSED__ /**/" >>confdefs.h
26235
26236fi
26237
26238
26239
26240WIN32_CPPFLAGS=""
26241WIN32_CFLAGS=""
26242case "$host_os" in
26243 mingw32ce*)
26244 WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
26245 ;;
26246 cegcc*)
26247 WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
26248 WIN32_CFLAGS="-mwin32"
26249 ;;
26250 mingw*)
26251 WIN32_CPPFLAGS="-D_WIN32_WINNT=0x0501"
26252 ;;
26253esac
26254
26255
26256
26257
26258### Checks for linker characteristics
26259
26260# use --enable-auto-import on Windows
26261
26262lt_enable_auto_import=""
26263case "$host_os" in
26264 mingw* | cegcc*)
26265 lt_enable_auto_import="-Wl,--enable-auto-import"
26266 ;;
26267esac
26268
26269
26270### Checks for library functions
26271
26272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
26273$as_echo_n "checking for strerror in -lcposix... " >&6; }
26274if test "${ac_cv_lib_cposix_strerror+set}" = set; then :
26275 $as_echo_n "(cached) " >&6
26276else
26277 ac_check_lib_save_LIBS=$LIBS
26278LIBS="-lcposix $LIBS"
26279cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26280/* end confdefs.h. */
26281
26282/* Override any GCC internal prototype to avoid an error.
26283 Use char because int might match the return type of a GCC
26284 builtin and then its argument prototype would still apply. */
26285#ifdef __cplusplus
26286extern "C"
26287#endif
26288char strerror ();
26289int
26290main ()
26291{
26292return strerror ();
26293 ;
26294 return 0;
26295}
26296_ACEOF
26297if ac_fn_c_try_link "$LINENO"; then :
26298 ac_cv_lib_cposix_strerror=yes
26299else
26300 ac_cv_lib_cposix_strerror=no
26301fi
26302rm -f core conftest.err conftest.$ac_objext \
26303 conftest$ac_exeext conftest.$ac_ext
26304LIBS=$ac_check_lib_save_LIBS
26305fi
26306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
26307$as_echo "$ac_cv_lib_cposix_strerror" >&6; }
26308if test "x$ac_cv_lib_cposix_strerror" = x""yes; then :
26309 LIBS="$LIBS -lcposix"
26310fi
26311
26312
26313
26314# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
26315# for constant arguments. Useless!
26316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
26317$as_echo_n "checking for working alloca.h... " >&6; }
26318if test "${ac_cv_working_alloca_h+set}" = set; then :
26319 $as_echo_n "(cached) " >&6
26320else
26321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26322/* end confdefs.h. */
26323#include <alloca.h>
26324int
26325main ()
26326{
26327char *p = (char *) alloca (2 * sizeof (int));
26328 if (p) return 0;
26329 ;
26330 return 0;
26331}
26332_ACEOF
26333if ac_fn_c_try_link "$LINENO"; then :
26334 ac_cv_working_alloca_h=yes
26335else
26336 ac_cv_working_alloca_h=no
26337fi
26338rm -f core conftest.err conftest.$ac_objext \
26339 conftest$ac_exeext conftest.$ac_ext
26340fi
26341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
26342$as_echo "$ac_cv_working_alloca_h" >&6; }
26343if test $ac_cv_working_alloca_h = yes; then
26344
26345$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
26346
26347fi
26348
26349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
26350$as_echo_n "checking for alloca... " >&6; }
26351if test "${ac_cv_func_alloca_works+set}" = set; then :
26352 $as_echo_n "(cached) " >&6
26353else
26354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26355/* end confdefs.h. */
26356#ifdef __GNUC__
26357# define alloca __builtin_alloca
26358#else
26359# ifdef _MSC_VER
26360# include <malloc.h>
26361# define alloca _alloca
26362# else
26363# ifdef HAVE_ALLOCA_H
26364# include <alloca.h>
26365# else
26366# ifdef _AIX
26367 #pragma alloca
26368# else
26369# ifndef alloca /* predefined by HP cc +Olibcalls */
26370char *alloca ();
26371# endif
26372# endif
26373# endif
26374# endif
26375#endif
26376
26377int
26378main ()
26379{
26380char *p = (char *) alloca (1);
26381 if (p) return 0;
26382 ;
26383 return 0;
26384}
26385_ACEOF
26386if ac_fn_c_try_link "$LINENO"; then :
26387 ac_cv_func_alloca_works=yes
26388else
26389 ac_cv_func_alloca_works=no
26390fi
26391rm -f core conftest.err conftest.$ac_objext \
26392 conftest$ac_exeext conftest.$ac_ext
26393fi
26394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
26395$as_echo "$ac_cv_func_alloca_works" >&6; }
26396
26397if test $ac_cv_func_alloca_works = yes; then
26398
26399$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
26400
26401else
26402 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
26403# that cause trouble. Some versions do not even contain alloca or
26404# contain a buggy version. If you still want to use their alloca,
26405# use ar to extract alloca.o from them instead of compiling alloca.c.
26406
26407ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
26408
26409$as_echo "#define C_ALLOCA 1" >>confdefs.h
26410
26411
26412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
26413$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
26414if test "${ac_cv_os_cray+set}" = set; then :
26415 $as_echo_n "(cached) " >&6
26416else
26417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26418/* end confdefs.h. */
26419#if defined CRAY && ! defined CRAY2
26420webecray
26421#else
26422wenotbecray
26423#endif
26424
26425_ACEOF
26426if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26427 $EGREP "webecray" >/dev/null 2>&1; then :
26428 ac_cv_os_cray=yes
26429else
26430 ac_cv_os_cray=no
26431fi
26432rm -f conftest*
26433
26434fi
26435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
26436$as_echo "$ac_cv_os_cray" >&6; }
26437if test $ac_cv_os_cray = yes; then
26438 for ac_func in _getb67 GETB67 getb67; do
26439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26440ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26441if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26442
26443cat >>confdefs.h <<_ACEOF
26444#define CRAY_STACKSEG_END $ac_func
26445_ACEOF
26446
26447 break
26448fi
26449
26450 done
26451fi
26452
26453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
26454$as_echo_n "checking stack direction for C alloca... " >&6; }
26455if test "${ac_cv_c_stack_direction+set}" = set; then :
26456 $as_echo_n "(cached) " >&6
26457else
26458 if test "$cross_compiling" = yes; then :
26459 ac_cv_c_stack_direction=0
26460else
26461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26462/* end confdefs.h. */
26463$ac_includes_default
26464int
26465find_stack_direction ()
26466{
26467 static char *addr = 0;
26468 auto char dummy;
26469 if (addr == 0)
26470 {
26471 addr = &dummy;
26472 return find_stack_direction ();
26473 }
26474 else
26475 return (&dummy > addr) ? 1 : -1;
26476}
26477
26478int
26479main ()
26480{
26481 return find_stack_direction () < 0;
26482}
26483_ACEOF
26484if ac_fn_c_try_run "$LINENO"; then :
26485 ac_cv_c_stack_direction=1
26486else
26487 ac_cv_c_stack_direction=-1
26488fi
26489rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26490 conftest.$ac_objext conftest.beam conftest.$ac_ext
26491fi
26492
26493fi
26494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
26495$as_echo "$ac_cv_c_stack_direction" >&6; }
26496cat >>confdefs.h <<_ACEOF
26497#define STACK_DIRECTION $ac_cv_c_stack_direction
26498_ACEOF
26499
26500
26501fi
26502
26503for ac_func in gettimeofday strlcpy execvp
26504do :
26505 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26506ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26507if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26508 cat >>confdefs.h <<_ACEOF
26509#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26510_ACEOF
26511
26512fi
26513done
26514
26515
26516cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26517/* end confdefs.h. */
26518
26519#include <math.h>
26520
26521int
26522main ()
26523{
26524
26525int i = isfinite(0);
26526
26527 ;
26528 return 0;
26529}
26530_ACEOF
26531if ac_fn_c_try_compile "$LINENO"; then :
26532
26533
26534$as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
26535
26536 have_isfinite="yes"
26537
26538else
26539 have_isfinite="no"
26540fi
26541rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26542
26543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
26544$as_echo_n "checking for isfinite... " >&6; }
26545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_isfinite}" >&5
26546$as_echo "${have_isfinite}" >&6; }
26547
26548have_atfile_source=auto
26549# Check whether --enable-atfile-source was given.
26550if test "${enable_atfile_source+set}" = set; then :
26551 enableval=$enable_atfile_source;
26552 if test "x${enableval}" = "xyes" ; then
26553 have_atfile_source="yes"
26554 else
26555 have_atfile_source="no"
26556 fi
26557else
26558 have_atfile_source=auto
26559fi
26560
26561
26562if ! test "x${have_atfile_source}" = "xno" ; then
26563 for ac_func in mkdirat
26564do :
26565 ac_fn_c_check_func "$LINENO" "mkdirat" "ac_cv_func_mkdirat"
26566if test "x$ac_cv_func_mkdirat" = x""yes; then :
26567 cat >>confdefs.h <<_ACEOF
26568#define HAVE_MKDIRAT 1
26569_ACEOF
26570
26571 have_atfile_source="yes"
26572
26573$as_echo "#define HAVE_ATFILE_SOURCE 1" >>confdefs.h
26574
26575
26576else
26577
26578 if test "x${have_atfile_source}" = "xyes" ; then
26579 as_fn_error $? "required atfile-source but no mkdirat()" "$LINENO" 5
26580 fi
26581 have_atfile_source="no"
26582
26583fi
26584done
26585
26586fi
26587
26588### Checks for optionnal feature
26589ac_fn_c_check_func "$LINENO" "mallinfo" "ac_cv_func_mallinfo"
26590if test "x$ac_cv_func_mallinfo" = x""yes; then :
26591
26592 have_mallinfo="yes"
26593
26594$as_echo "#define HAVE_MALLINFO 1" >>confdefs.h
26595
26596
26597else
26598 have_mallinfo="no"
26599fi
26600
26601
26602### Ecore modules
26603
26604## Core modules
26605
26606# ecore_con
26607
26608
26609have_ecore_con=no
26610ecore_con_cflags=
26611ecore_con_libs=
26612want_module=${want_ecore_con}
26613
26614# Check whether --enable-ecore-con was given.
26615if test "${enable_ecore_con+set}" = set; then :
26616 enableval=$enable_ecore_con;
26617 if test "x${enableval}" = "xyes" ; then
26618 want_module="yes"
26619 else
26620 want_module="no"
26621 fi
26622
26623fi
26624
26625
26626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Con module is to be built" >&5
26627$as_echo_n "checking whether Ecore_Con module is to be built... " >&6; }
26628
26629if test "x${want_module}" = "xyes" ; then
26630 if test "x${have_addrinfo}" = "x" || test "x${have_addrinfo}" = "xyes" ; then
26631
26632$as_echo "#define BUILD_ECORE_CON 1" >>confdefs.h
26633
26634 have_ecore_con="yes"
26635 ecore_con_libs="-lecore_con"
26636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26637$as_echo "yes" >&6; }
26638 else
26639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
26640$as_echo "no (dependency failed)" >&6; }
26641 fi
26642else
26643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26644$as_echo "no" >&6; }
26645fi
26646
26647 if test "x$have_ecore_con" = "xyes"; then
26648 BUILD_ECORE_CON_TRUE=
26649 BUILD_ECORE_CON_FALSE='#'
26650else
26651 BUILD_ECORE_CON_TRUE='#'
26652 BUILD_ECORE_CON_FALSE=
26653fi
26654
26655
26656if test "x$have_ecore_con" = "xyes"; then :
26657
26658fi
26659
26660
26661
26662
26663
26664
26665
26666
26667have_curl="no"
26668have_gnutls="no"
26669have_openssl="no"
26670have_cares="no"
26671want_ipv6="yes"
26672have_ipv6="no"
26673
26674# Check whether --enable-ipv6 was given.
26675if test "${enable_ipv6+set}" = set; then :
26676 enableval=$enable_ipv6;
26677 if test "x${enableval}" = "xyes" ; then
26678 want_ipv6="yes"
26679 else
26680 want_ipv6="no"
26681 fi
26682else
26683 want_ipv6="auto"
26684fi
26685
26686
26687if test "x${have_ecore_con}" = "xyes" ; then
26688
26689 # Verify IPV6 availability in headers
26690 if test "x${want_ipv6}" != "xno" ; then
26691 ac_fn_c_check_type "$LINENO" "struct ipv6_mreq" "ac_cv_type_struct_ipv6_mreq" "
26692#ifdef HAVE_NETINET_IN_H
26693# include <netinet/in.h>
26694#endif
26695#ifdef HAVE_WS2TCPIP_H
26696# include <ws2tcpip.h>
26697#endif
26698
26699"
26700if test "x$ac_cv_type_struct_ipv6_mreq" = x""yes; then :
26701
26702cat >>confdefs.h <<_ACEOF
26703#define HAVE_STRUCT_IPV6_MREQ 1
26704_ACEOF
26705
26706have_ipv6="yes"
26707else
26708 have_ipv6="no"
26709fi
26710
26711 fi
26712
26713 if test "x${have_ipv6}" = "xyes" ; then
26714
26715$as_echo "#define HAVE_IPV6 1" >>confdefs.h
26716
26717 fi
26718
26719
26720_ecore_want_curl=${want_curl}
26721_ecore_have_curl="no"
26722
26723# Check whether --enable-curl was given.
26724if test "${enable_curl+set}" = set; then :
26725 enableval=$enable_curl;
26726 if test "x${enableval}" = "xyes" ; then
26727 _ecore_want_curl="yes"
26728 else
26729 _ecore_want_curl="no"
26730 fi
26731
26732fi
26733
26734
26735if test "x${_ecore_want_curl}" = "xyes" ; then
26736
26737pkg_failed=no
26738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
26739$as_echo_n "checking for CURL... " >&6; }
26740
26741if test -n "$CURL_CFLAGS"; then
26742 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
26743 elif test -n "$PKG_CONFIG"; then
26744 if test -n "$PKG_CONFIG" && \
26745 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
26746 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
26747 ac_status=$?
26748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26749 test $ac_status = 0; }; then
26750 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
26751else
26752 pkg_failed=yes
26753fi
26754 else
26755 pkg_failed=untried
26756fi
26757if test -n "$CURL_LIBS"; then
26758 pkg_cv_CURL_LIBS="$CURL_LIBS"
26759 elif test -n "$PKG_CONFIG"; then
26760 if test -n "$PKG_CONFIG" && \
26761 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
26762 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
26763 ac_status=$?
26764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26765 test $ac_status = 0; }; then
26766 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
26767else
26768 pkg_failed=yes
26769fi
26770 else
26771 pkg_failed=untried
26772fi
26773
26774
26775
26776if test $pkg_failed = yes; then
26777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26778$as_echo "no" >&6; }
26779
26780if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26781 _pkg_short_errors_supported=yes
26782else
26783 _pkg_short_errors_supported=no
26784fi
26785 if test $_pkg_short_errors_supported = yes; then
26786 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcurl" 2>&1`
26787 else
26788 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcurl" 2>&1`
26789 fi
26790 # Put the nasty error message in config.log where it belongs
26791 echo "$CURL_PKG_ERRORS" >&5
26792
26793 _ecore_have_curl="no"
26794elif test $pkg_failed = untried; then
26795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26796$as_echo "no" >&6; }
26797 _ecore_have_curl="no"
26798else
26799 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
26800 CURL_LIBS=$pkg_cv_CURL_LIBS
26801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26802$as_echo "yes" >&6; }
26803
26804
26805$as_echo "#define HAVE_CURL 1" >>confdefs.h
26806
26807 _ecore_have_curl="yes"
26808
26809fi
26810fi
26811
26812if test "x$_ecore_have_curl" = "xyes" ; then
26813
26814 have_curl="yes"
26815 requirements_ecore_con="libcurl ${requirements_ecore_con}"
26816
26817else
26818 have_curl="no"
26819fi
26820
26821
26822
26823_ecore_want_gnutls=${want_gnutls}
26824_ecore_have_gnutls="no"
26825
26826# Check whether --enable-gnutls was given.
26827if test "${enable_gnutls+set}" = set; then :
26828 enableval=$enable_gnutls;
26829 if test "x${enableval}" = "xyes" ; then
26830 _ecore_want_gnutls="yes"
26831 else
26832 _ecore_want_gnutls="no"
26833 fi
26834
26835fi
26836
26837
26838if test "x${_ecore_want_gnutls}" = "xyes" -o "x${_ecore_want_gnutls}" = "xauto" ; then
26839
26840pkg_failed=no
26841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLS" >&5
26842$as_echo_n "checking for TLS... " >&6; }
26843
26844if test -n "$TLS_CFLAGS"; then
26845 pkg_cv_TLS_CFLAGS="$TLS_CFLAGS"
26846 elif test -n "$PKG_CONFIG"; then
26847 if test -n "$PKG_CONFIG" && \
26848 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.10.2\""; } >&5
26849 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.10.2") 2>&5
26850 ac_status=$?
26851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26852 test $ac_status = 0; }; then
26853 pkg_cv_TLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 2.10.2" 2>/dev/null`
26854else
26855 pkg_failed=yes
26856fi
26857 else
26858 pkg_failed=untried
26859fi
26860if test -n "$TLS_LIBS"; then
26861 pkg_cv_TLS_LIBS="$TLS_LIBS"
26862 elif test -n "$PKG_CONFIG"; then
26863 if test -n "$PKG_CONFIG" && \
26864 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.10.2\""; } >&5
26865 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.10.2") 2>&5
26866 ac_status=$?
26867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26868 test $ac_status = 0; }; then
26869 pkg_cv_TLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 2.10.2" 2>/dev/null`
26870else
26871 pkg_failed=yes
26872fi
26873 else
26874 pkg_failed=untried
26875fi
26876
26877
26878
26879if test $pkg_failed = yes; then
26880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26881$as_echo "no" >&6; }
26882
26883if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26884 _pkg_short_errors_supported=yes
26885else
26886 _pkg_short_errors_supported=no
26887fi
26888 if test $_pkg_short_errors_supported = yes; then
26889 TLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnutls >= 2.10.2" 2>&1`
26890 else
26891 TLS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnutls >= 2.10.2" 2>&1`
26892 fi
26893 # Put the nasty error message in config.log where it belongs
26894 echo "$TLS_PKG_ERRORS" >&5
26895
26896 _ecore_have_gnutls="no"
26897elif test $pkg_failed = untried; then
26898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26899$as_echo "no" >&6; }
26900 _ecore_have_gnutls="no"
26901else
26902 TLS_CFLAGS=$pkg_cv_TLS_CFLAGS
26903 TLS_LIBS=$pkg_cv_TLS_LIBS
26904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26905$as_echo "yes" >&6; }
26906
26907
26908$as_echo "#define USE_GNUTLS 1" >>confdefs.h
26909
26910 _ecore_have_gnutls="yes"
26911
26912fi
26913 # for ecore_con_ssl.c
26914
26915pkg_failed=no
26916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLS2" >&5
26917$as_echo_n "checking for TLS2... " >&6; }
26918
26919if test -n "$TLS2_CFLAGS"; then
26920 pkg_cv_TLS2_CFLAGS="$TLS2_CFLAGS"
26921 elif test -n "$PKG_CONFIG"; then
26922 if test -n "$PKG_CONFIG" && \
26923 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.10.2\""; } >&5
26924 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.10.2") 2>&5
26925 ac_status=$?
26926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26927 test $ac_status = 0; }; then
26928 pkg_cv_TLS2_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 2.10.2" 2>/dev/null`
26929else
26930 pkg_failed=yes
26931fi
26932 else
26933 pkg_failed=untried
26934fi
26935if test -n "$TLS2_LIBS"; then
26936 pkg_cv_TLS2_LIBS="$TLS2_LIBS"
26937 elif test -n "$PKG_CONFIG"; then
26938 if test -n "$PKG_CONFIG" && \
26939 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.10.2\""; } >&5
26940 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.10.2") 2>&5
26941 ac_status=$?
26942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26943 test $ac_status = 0; }; then
26944 pkg_cv_TLS2_LIBS=`$PKG_CONFIG --libs "gnutls >= 2.10.2" 2>/dev/null`
26945else
26946 pkg_failed=yes
26947fi
26948 else
26949 pkg_failed=untried
26950fi
26951
26952
26953
26954if test $pkg_failed = yes; then
26955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26956$as_echo "no" >&6; }
26957
26958if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26959 _pkg_short_errors_supported=yes
26960else
26961 _pkg_short_errors_supported=no
26962fi
26963 if test $_pkg_short_errors_supported = yes; then
26964 TLS2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnutls >= 2.10.2" 2>&1`
26965 else
26966 TLS2_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnutls >= 2.10.2" 2>&1`
26967 fi
26968 # Put the nasty error message in config.log where it belongs
26969 echo "$TLS2_PKG_ERRORS" >&5
26970
26971 dummy="no"
26972elif test $pkg_failed = untried; then
26973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26974$as_echo "no" >&6; }
26975 dummy="no"
26976else
26977 TLS2_CFLAGS=$pkg_cv_TLS2_CFLAGS
26978 TLS2_LIBS=$pkg_cv_TLS2_LIBS
26979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26980$as_echo "yes" >&6; }
26981
26982$as_echo "#define USE_GNUTLS2 1" >>confdefs.h
26983
26984fi
26985 if test "x$_ecore_have_gnutls" = "xyes";then
26986
26987
26988# Check whether --with-libgcrypt-prefix was given.
26989if test "${with_libgcrypt_prefix+set}" = set; then :
26990 withval=$with_libgcrypt_prefix; libgcrypt_config_prefix="$withval"
26991else
26992 libgcrypt_config_prefix=""
26993fi
26994
26995
26996# Check whether --with-libgcrypt-exec-prefix was given.
26997if test "${with_libgcrypt_exec_prefix+set}" = set; then :
26998 withval=$with_libgcrypt_exec_prefix; libgcrypt_config_exec_prefix="$withval"
26999else
27000 libgcrypt_config_exec_prefix=""
27001fi
27002
27003
27004 if test x$libgcrypt_config_exec_prefix != x ; then
27005 libgcrypt_config_args="$libgcrypt_config_args --exec-prefix=$libgcrypt_config_exec_prefix"
27006 if test x${LIBGCRYPT_CONFIG+set} != xset ; then
27007 LIBGCRYPT_CONFIG=$libgcrypt_config_exec_prefix/bin/libgcrypt-config
27008 fi
27009 fi
27010 if test x$libgcrypt_config_prefix != x ; then
27011 libgcrypt_config_args="$libgcrypt_config_args --prefix=$libgcrypt_config_prefix"
27012 if test x${LIBGCRYPT_CONFIG+set} != xset ; then
27013 LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config
27014 fi
27015 fi
27016
27017 # Extract the first word of "libgcrypt-config", so it can be a program name with args.
27018set dummy libgcrypt-config; ac_word=$2
27019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27020$as_echo_n "checking for $ac_word... " >&6; }
27021if test "${ac_cv_path_LIBGCRYPT_CONFIG+set}" = set; then :
27022 $as_echo_n "(cached) " >&6
27023else
27024 case $LIBGCRYPT_CONFIG in
27025 [\\/]* | ?:[\\/]*)
27026 ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path.
27027 ;;
27028 *)
27029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27030for as_dir in $PATH
27031do
27032 IFS=$as_save_IFS
27033 test -z "$as_dir" && as_dir=.
27034 for ac_exec_ext in '' $ac_executable_extensions; do
27035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27036 ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27038 break 2
27039 fi
27040done
27041 done
27042IFS=$as_save_IFS
27043
27044 test -z "$ac_cv_path_LIBGCRYPT_CONFIG" && ac_cv_path_LIBGCRYPT_CONFIG="no"
27045 ;;
27046esac
27047fi
27048LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG
27049if test -n "$LIBGCRYPT_CONFIG"; then
27050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT_CONFIG" >&5
27051$as_echo "$LIBGCRYPT_CONFIG" >&6; }
27052else
27053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27054$as_echo "no" >&6; }
27055fi
27056
27057
27058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgcrypt" >&5
27059$as_echo_n "checking for libgcrypt... " >&6; }
27060 no_libgcrypt=""
27061 if test "$LIBGCRYPT_CONFIG" = "no" ; then
27062 no_libgcrypt=yes
27063 else
27064 LIBGCRYPT_CFLAGS="`$LIBGCRYPT_CONFIG $libgcrypt_config_args --cflags`"
27065 LIBGCRYPT_LIBS="`$LIBGCRYPT_CONFIG $libgcrypt_config_args --libs`"
27066
27067 fi
27068 if test "x$no_libgcrypt" = x ; then
27069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27070$as_echo "yes" >&6; }
27071 _ecore_have_gnutls="yes"
27072 else
27073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27074$as_echo "no" >&6; }
27075 if test "$LIBGCRYPT_CONFIG" = "no" ; then
27076 echo "*** The libgcrypt-config script installed by libgcrypt could not be found"
27077 echo "*** If libgcrypt was installed in PREFIX, make sure PREFIX/bin is in"
27078 echo "*** your path, or set the LIBGCRYPT_CONFIG environment variable to the"
27079 echo "*** full path to libgcrypt-config."
27080 fi
27081 LIBGCRYPT_CFLAGS=""
27082 LIBGCRYPT_LIBS=""
27083 _ecore_have_gnutls="no"
27084 fi
27085
27086
27087
27088
27089
27090
27091 if test "x${_ecore_have_gnutls}" = "xyes" ; then
27092 TLS_CFLAGS+=" ${LIBGCRYPT_CFLAGS}"
27093 TLS_LIBS+=" ${LIBGCRYPT_LIBS}"
27094 fi
27095 fi
27096
27097fi
27098
27099if test "x$_ecore_have_gnutls" = "xyes" ; then
27100 have_gnutls="yes"
27101else
27102 have_gnutls="no"
27103fi
27104
27105
27106
27107_ecore_want_openssl=${want_openssl}
27108_ecore_have_openssl="no"
27109
27110# Check whether --enable-openssl was given.
27111if test "${enable_openssl+set}" = set; then :
27112 enableval=$enable_openssl;
27113 if test "x${enableval}" = "xyes" ; then
27114 _ecore_want_openssl="yes"
27115 else
27116 _ecore_want_openssl="no"
27117 fi
27118
27119fi
27120
27121
27122if test "x${_ecore_have_gnutls}" = "xyes";then
27123 _ecore_want_openssl=no
27124fi
27125
27126if test "x${_ecore_want_openssl}" = "xyes" -o "x${_ecore_want_openssl}" = "xauto"; then
27127
27128pkg_failed=no
27129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL" >&5
27130$as_echo_n "checking for SSL... " >&6; }
27131
27132if test -n "$SSL_CFLAGS"; then
27133 pkg_cv_SSL_CFLAGS="$SSL_CFLAGS"
27134 elif test -n "$PKG_CONFIG"; then
27135 if test -n "$PKG_CONFIG" && \
27136 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
27137 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
27138 ac_status=$?
27139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27140 test $ac_status = 0; }; then
27141 pkg_cv_SSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
27142else
27143 pkg_failed=yes
27144fi
27145 else
27146 pkg_failed=untried
27147fi
27148if test -n "$SSL_LIBS"; then
27149 pkg_cv_SSL_LIBS="$SSL_LIBS"
27150 elif test -n "$PKG_CONFIG"; then
27151 if test -n "$PKG_CONFIG" && \
27152 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
27153 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
27154 ac_status=$?
27155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27156 test $ac_status = 0; }; then
27157 pkg_cv_SSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
27158else
27159 pkg_failed=yes
27160fi
27161 else
27162 pkg_failed=untried
27163fi
27164
27165
27166
27167if test $pkg_failed = yes; then
27168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27169$as_echo "no" >&6; }
27170
27171if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27172 _pkg_short_errors_supported=yes
27173else
27174 _pkg_short_errors_supported=no
27175fi
27176 if test $_pkg_short_errors_supported = yes; then
27177 SSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "openssl" 2>&1`
27178 else
27179 SSL_PKG_ERRORS=`$PKG_CONFIG --print-errors "openssl" 2>&1`
27180 fi
27181 # Put the nasty error message in config.log where it belongs
27182 echo "$SSL_PKG_ERRORS" >&5
27183
27184 _ecore_have_openssl="no"
27185elif test $pkg_failed = untried; then
27186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27187$as_echo "no" >&6; }
27188 _ecore_have_openssl="no"
27189else
27190 SSL_CFLAGS=$pkg_cv_SSL_CFLAGS
27191 SSL_LIBS=$pkg_cv_SSL_LIBS
27192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27193$as_echo "yes" >&6; }
27194
27195
27196$as_echo "#define USE_OPENSSL 1" >>confdefs.h
27197
27198 _ecore_have_openssl="yes"
27199
27200fi
27201fi
27202
27203if test "x$_ecore_have_openssl" = "xyes" ; then
27204 have_openssl="yes"
27205else
27206 have_openssl="no"
27207fi
27208
27209
27210 if test "x${have_gnutls}" = "xyes" ; then
27211 requirements_ecore_con="gnutls ${requirements_ecore_con}"
27212 # no need to add it to req_ecore_ipc, since they
27213 # depends on ecore_con anyway.
27214 else
27215 if test "x${have_openssl}" = "xyes" ; then
27216 requirements_ecore_con="openssl ${requirements_ecore_con}"
27217 # no need to add it to req_ecore_ipc, since they
27218 # depends on ecore_con anyway.
27219 fi
27220 fi
27221
27222
27223_ecore_want_cares=${want_cares}
27224_ecore_have_cares="no"
27225
27226# Check whether --enable-cares was given.
27227if test "${enable_cares+set}" = set; then :
27228 enableval=$enable_cares;
27229 if test "x${enableval}" = "xyes" ; then
27230 _ecore_want_cares="yes"
27231 else
27232 _ecore_want_cares="no"
27233 fi
27234
27235fi
27236
27237
27238if test "x${_ecore_want_cares}" = "xyes" -o "x${_ecore_want_cares}" = "xauto" ; then
27239
27240pkg_failed=no
27241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CARES" >&5
27242$as_echo_n "checking for CARES... " >&6; }
27243
27244if test -n "$CARES_CFLAGS"; then
27245 pkg_cv_CARES_CFLAGS="$CARES_CFLAGS"
27246 elif test -n "$PKG_CONFIG"; then
27247 if test -n "$PKG_CONFIG" && \
27248 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcares >= 1.6.1 libcares != 1.7.5\""; } >&5
27249 ($PKG_CONFIG --exists --print-errors "libcares >= 1.6.1 libcares != 1.7.5") 2>&5
27250 ac_status=$?
27251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27252 test $ac_status = 0; }; then
27253 pkg_cv_CARES_CFLAGS=`$PKG_CONFIG --cflags "libcares >= 1.6.1 libcares != 1.7.5" 2>/dev/null`
27254else
27255 pkg_failed=yes
27256fi
27257 else
27258 pkg_failed=untried
27259fi
27260if test -n "$CARES_LIBS"; then
27261 pkg_cv_CARES_LIBS="$CARES_LIBS"
27262 elif test -n "$PKG_CONFIG"; then
27263 if test -n "$PKG_CONFIG" && \
27264 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcares >= 1.6.1 libcares != 1.7.5\""; } >&5
27265 ($PKG_CONFIG --exists --print-errors "libcares >= 1.6.1 libcares != 1.7.5") 2>&5
27266 ac_status=$?
27267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27268 test $ac_status = 0; }; then
27269 pkg_cv_CARES_LIBS=`$PKG_CONFIG --libs "libcares >= 1.6.1 libcares != 1.7.5" 2>/dev/null`
27270else
27271 pkg_failed=yes
27272fi
27273 else
27274 pkg_failed=untried
27275fi
27276
27277
27278
27279if test $pkg_failed = yes; then
27280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27281$as_echo "no" >&6; }
27282
27283if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27284 _pkg_short_errors_supported=yes
27285else
27286 _pkg_short_errors_supported=no
27287fi
27288 if test $_pkg_short_errors_supported = yes; then
27289 CARES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcares >= 1.6.1 libcares != 1.7.5" 2>&1`
27290 else
27291 CARES_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcares >= 1.6.1 libcares != 1.7.5" 2>&1`
27292 fi
27293 # Put the nasty error message in config.log where it belongs
27294 echo "$CARES_PKG_ERRORS" >&5
27295
27296 _ecore_have_cares="no"
27297elif test $pkg_failed = untried; then
27298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27299$as_echo "no" >&6; }
27300 _ecore_have_cares="no"
27301else
27302 CARES_CFLAGS=$pkg_cv_CARES_CFLAGS
27303 CARES_LIBS=$pkg_cv_CARES_LIBS
27304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27305$as_echo "yes" >&6; }
27306 _ecore_have_cares="yes"
27307fi
27308fi
27309
27310if test "x${_ecore_have_cares}" = "xyes" ; then
27311
27312$as_echo "#define HAVE_CARES 1" >>confdefs.h
27313
27314fi
27315
27316if test "x$_ecore_have_cares" = "xyes" ; then
27317
27318 have_cares="yes"
27319 requirements_ecore_con="libcares ${requirements_ecore_con}"
27320
27321else
27322 have_cares="no"
27323fi
27324
27325
27326fi
27327
27328 if test "x${have_cares}" = "xyes"; then
27329 HAVE_CARES_TRUE=
27330 HAVE_CARES_FALSE='#'
27331else
27332 HAVE_CARES_TRUE='#'
27333 HAVE_CARES_FALSE=
27334fi
27335
27336
27337# ecore_ipc
27338
27339
27340have_ecore_ipc=no
27341ecore_ipc_cflags=
27342ecore_ipc_libs=
27343want_module=${want_ecore_ipc}
27344
27345# Check whether --enable-ecore-ipc was given.
27346if test "${enable_ecore_ipc+set}" = set; then :
27347 enableval=$enable_ecore_ipc;
27348 if test "x${enableval}" = "xyes" ; then
27349 want_module="yes"
27350 else
27351 want_module="no"
27352 fi
27353
27354fi
27355
27356
27357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Ipc module is to be built" >&5
27358$as_echo_n "checking whether Ecore_Ipc module is to be built... " >&6; }
27359
27360if test "x${want_module}" = "xyes" ; then
27361 if test "x${have_ecore_con}" = "x" || test "x${have_ecore_con}" = "xyes" ; then
27362
27363$as_echo "#define BUILD_ECORE_IPC 1" >>confdefs.h
27364
27365 have_ecore_ipc="yes"
27366 ecore_ipc_libs="-lecore_ipc"
27367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27368$as_echo "yes" >&6; }
27369 else
27370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
27371$as_echo "no (dependency failed)" >&6; }
27372 fi
27373else
27374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27375$as_echo "no" >&6; }
27376fi
27377
27378 if test "x$have_ecore_ipc" = "xyes"; then
27379 BUILD_ECORE_IPC_TRUE=
27380 BUILD_ECORE_IPC_FALSE='#'
27381else
27382 BUILD_ECORE_IPC_TRUE='#'
27383 BUILD_ECORE_IPC_FALSE=
27384fi
27385
27386
27387if test "x$have_ecore_ipc" = "xyes"; then :
27388 requirements_ecore_ipc="ecore-con >= 1.1.0 ${requirements_ecore_ipc}"
27389fi
27390
27391
27392
27393
27394
27395
27396
27397
27398# ecore_file
27399
27400
27401have_ecore_file=no
27402ecore_file_cflags=
27403ecore_file_libs=
27404want_module=${want_ecore_file}
27405
27406# Check whether --enable-ecore-file was given.
27407if test "${enable_ecore_file+set}" = set; then :
27408 enableval=$enable_ecore_file;
27409 if test "x${enableval}" = "xyes" ; then
27410 want_module="yes"
27411 else
27412 want_module="no"
27413 fi
27414
27415fi
27416
27417
27418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_File module is to be built" >&5
27419$as_echo_n "checking whether Ecore_File module is to be built... " >&6; }
27420
27421if test "x${want_module}" = "xyes" ; then
27422 if test "x" = "x" || test "x" = "xyes" ; then
27423
27424$as_echo "#define BUILD_ECORE_FILE 1" >>confdefs.h
27425
27426 have_ecore_file="yes"
27427 ecore_file_libs="-lecore_file"
27428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27429$as_echo "yes" >&6; }
27430 else
27431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
27432$as_echo "no (dependency failed)" >&6; }
27433 fi
27434else
27435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27436$as_echo "no" >&6; }
27437fi
27438
27439 if test "x$have_ecore_file" = "xyes"; then
27440 BUILD_ECORE_FILE_TRUE=
27441 BUILD_ECORE_FILE_FALSE='#'
27442else
27443 BUILD_ECORE_FILE_TRUE='#'
27444 BUILD_ECORE_FILE_FALSE=
27445fi
27446
27447
27448if test "x$have_ecore_file" = "xyes"; then :
27449
27450fi
27451
27452
27453
27454
27455
27456
27457
27458
27459have_poll="no"
27460have_inotify="no"
27461have_notify_win32="no"
27462if test "x${have_ecore_file}" = "xyes" ; then
27463
27464_ecore_want_poll=${want_poll}
27465_ecore_have_poll="no"
27466
27467# Check whether --enable-poll was given.
27468if test "${enable_poll+set}" = set; then :
27469 enableval=$enable_poll;
27470 if test "x${enableval}" = "xyes" ; then
27471 _ecore_want_poll="yes"
27472 else
27473 _ecore_want_poll="no"
27474 fi
27475
27476fi
27477
27478
27479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether polling is to be used for filemonitoring" >&5
27480$as_echo_n "checking whether polling is to be used for filemonitoring... " >&6; }
27481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_ecore_want_poll}" >&5
27482$as_echo "${_ecore_want_poll}" >&6; }
27483
27484if test "x${_ecore_want_poll}" = "xyes" ; then
27485
27486$as_echo "#define HAVE_POLL 1" >>confdefs.h
27487
27488 _ecore_have_poll="yes"
27489fi
27490
27491if test "x${_ecore_have_poll}" = "xyes" ; then
27492 have_poll="yes"
27493else
27494 have_poll="no"
27495fi
27496
27497
27498_ecore_want_inotify=${want_inotify}
27499_ecore_have_inotify="no"
27500
27501_ecore_want_inotify="yes"
27502# Check whether --enable-inotify was given.
27503if test "${enable_inotify+set}" = set; then :
27504 enableval=$enable_inotify;
27505 if test "x${enableval}" = "xyes" ; then
27506 _ecore_want_inotify="yes"
27507 else
27508 _ecore_want_inotify="no"
27509 fi
27510
27511fi
27512
27513
27514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether inotify is to be used for filemonitoring" >&5
27515$as_echo_n "checking whether inotify is to be used for filemonitoring... " >&6; }
27516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_ecore_want_inotify" >&5
27517$as_echo "$_ecore_want_inotify" >&6; }
27518
27519
27520if test "x${_ecore_want_inotify}" = "xyes" ; then
27521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_init in -lc" >&5
27522$as_echo_n "checking for inotify_init in -lc... " >&6; }
27523if test "${ac_cv_lib_c_inotify_init+set}" = set; then :
27524 $as_echo_n "(cached) " >&6
27525else
27526 ac_check_lib_save_LIBS=$LIBS
27527LIBS="-lc $LIBS"
27528cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27529/* end confdefs.h. */
27530
27531/* Override any GCC internal prototype to avoid an error.
27532 Use char because int might match the return type of a GCC
27533 builtin and then its argument prototype would still apply. */
27534#ifdef __cplusplus
27535extern "C"
27536#endif
27537char inotify_init ();
27538int
27539main ()
27540{
27541return inotify_init ();
27542 ;
27543 return 0;
27544}
27545_ACEOF
27546if ac_fn_c_try_link "$LINENO"; then :
27547 ac_cv_lib_c_inotify_init=yes
27548else
27549 ac_cv_lib_c_inotify_init=no
27550fi
27551rm -f core conftest.err conftest.$ac_objext \
27552 conftest$ac_exeext conftest.$ac_ext
27553LIBS=$ac_check_lib_save_LIBS
27554fi
27555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inotify_init" >&5
27556$as_echo "$ac_cv_lib_c_inotify_init" >&6; }
27557if test "x$ac_cv_lib_c_inotify_init" = x""yes; then :
27558
27559
27560$as_echo "#define HAVE_INOTIFY 1" >>confdefs.h
27561
27562
27563$as_echo "#define HAVE_SYS_INOTIFY 1" >>confdefs.h
27564
27565 _ecore_have_inotify="yes"
27566
27567else
27568
27569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27570/* end confdefs.h. */
27571
27572 #include <asm/unistd.h>
27573 #include <linux/inotify.h>
27574
27575int
27576main ()
27577{
27578int a = __NR_inotify_init; int b = IN_MOVE_SELF;
27579 ;
27580 return 0;
27581}
27582_ACEOF
27583if ac_fn_c_try_compile "$LINENO"; then :
27584
27585
27586$as_echo "#define HAVE_INOTIFY 1" >>confdefs.h
27587
27588 _ecore_have_inotify="yes"
27589
27590else
27591 _ecore_have_inotify="no"
27592fi
27593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27594
27595fi
27596
27597fi
27598
27599if test "x$_ecore_have_inotify" = "xyes" ; then
27600 have_inotify="yes"
27601else
27602 have_inotify="no"
27603fi
27604
27605
27606_ecore_want_notify_win32=${want_notify_win32}
27607_ecore_have_notify_win32="no"
27608
27609# Check whether --enable-notify-win32 was given.
27610if test "${enable_notify_win32+set}" = set; then :
27611 enableval=$enable_notify_win32;
27612 if test "x${enableval}" = "xyes" ; then
27613 _ecore_want_notify_win32="yes"
27614 else
27615 _ecore_want_notify_win32="no"
27616 fi
27617
27618fi
27619
27620
27621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Windows notification is to be used for filemonitoring" >&5
27622$as_echo_n "checking whether Windows notification is to be used for filemonitoring... " >&6; }
27623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_ecore_want_notify_win32}" >&5
27624$as_echo "${_ecore_want_notify_win32}" >&6; }
27625
27626if test "x${_ecore_want_notify_win32}" = "xyes" ; then
27627
27628$as_echo "#define HAVE_NOTIFY_WIN32 1" >>confdefs.h
27629
27630 _ecore_have_notify_win32="yes"
27631fi
27632
27633if test "x${_ecore_have_notify_win32}" = "xyes" ; then
27634 have_notify_win32="yes"
27635else
27636 have_notify_win32="no"
27637fi
27638
27639
27640 if test "x${have_ecore_con}" = "xyes" ; then
27641 requirements_ecore_file="ecore-con >= 1.1.0 ${requirements_ecore_file}"
27642 else
27643
27644_ecore_want_curl=${want_curl}
27645_ecore_have_curl="no"
27646
27647# Check whether --enable-curl was given.
27648if test "${enable_curl+set}" = set; then :
27649 enableval=$enable_curl;
27650 if test "x${enableval}" = "xyes" ; then
27651 _ecore_want_curl="yes"
27652 else
27653 _ecore_want_curl="no"
27654 fi
27655
27656fi
27657
27658
27659if test "x${_ecore_want_curl}" = "xyes" ; then
27660
27661pkg_failed=no
27662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
27663$as_echo_n "checking for CURL... " >&6; }
27664
27665if test -n "$CURL_CFLAGS"; then
27666 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
27667 elif test -n "$PKG_CONFIG"; then
27668 if test -n "$PKG_CONFIG" && \
27669 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
27670 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
27671 ac_status=$?
27672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27673 test $ac_status = 0; }; then
27674 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
27675else
27676 pkg_failed=yes
27677fi
27678 else
27679 pkg_failed=untried
27680fi
27681if test -n "$CURL_LIBS"; then
27682 pkg_cv_CURL_LIBS="$CURL_LIBS"
27683 elif test -n "$PKG_CONFIG"; then
27684 if test -n "$PKG_CONFIG" && \
27685 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
27686 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
27687 ac_status=$?
27688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27689 test $ac_status = 0; }; then
27690 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
27691else
27692 pkg_failed=yes
27693fi
27694 else
27695 pkg_failed=untried
27696fi
27697
27698
27699
27700if test $pkg_failed = yes; then
27701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27702$as_echo "no" >&6; }
27703
27704if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27705 _pkg_short_errors_supported=yes
27706else
27707 _pkg_short_errors_supported=no
27708fi
27709 if test $_pkg_short_errors_supported = yes; then
27710 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcurl" 2>&1`
27711 else
27712 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcurl" 2>&1`
27713 fi
27714 # Put the nasty error message in config.log where it belongs
27715 echo "$CURL_PKG_ERRORS" >&5
27716
27717 _ecore_have_curl="no"
27718elif test $pkg_failed = untried; then
27719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27720$as_echo "no" >&6; }
27721 _ecore_have_curl="no"
27722else
27723 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
27724 CURL_LIBS=$pkg_cv_CURL_LIBS
27725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27726$as_echo "yes" >&6; }
27727
27728
27729$as_echo "#define HAVE_CURL 1" >>confdefs.h
27730
27731 _ecore_have_curl="yes"
27732
27733fi
27734fi
27735
27736if test "x$_ecore_have_curl" = "xyes" ; then
27737
27738 have_curl="yes"
27739 requirements_ecore_file="libcurl ${requirements_ecore_file}"
27740
27741else
27742 have_curl="no"
27743fi
27744
27745 fi
27746
27747fi
27748
27749# ecore_config
27750#ecore_config_deps="no"
27751#if test "x${have_eet}" = "xyes" -a "x${have_evas}" -a "x${have_ecore_ipc}" ; then
27752# ecore_config_deps="yes"
27753#fi
27754
27755#ECORE_CHECK_MODULE([config], [${want_ecore_config}], [Config], [${ecore_config_deps}],
27756# [requirements_ecore_config="ecore-ipc >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 ${requirements_ecore_config}"])
27757
27758 if false; then
27759 BUILD_ECORE_CONFIG_TRUE=
27760 BUILD_ECORE_CONFIG_FALSE='#'
27761else
27762 BUILD_ECORE_CONFIG_TRUE='#'
27763 BUILD_ECORE_CONFIG_FALSE=
27764fi
27765
27766
27767# ecore_imf
27768
27769
27770
27771have_ecore_imf=no
27772ecore_imf_cflags=
27773ecore_imf_libs=
27774want_module=${want_ecore_imf}
27775
27776# Check whether --enable-ecore-imf was given.
27777if test "${enable_ecore_imf+set}" = set; then :
27778 enableval=$enable_ecore_imf;
27779 if test "x${enableval}" = "xyes" ; then
27780 want_module="yes"
27781 else
27782 want_module="no"
27783 fi
27784
27785fi
27786
27787
27788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Imf module is to be built" >&5
27789$as_echo_n "checking whether Ecore_Imf module is to be built... " >&6; }
27790
27791if test "x${want_module}" = "xyes" ; then
27792 if test "x" = "x" || test "x" = "xyes" ; then
27793
27794$as_echo "#define BUILD_ECORE_IMF 1" >>confdefs.h
27795
27796 have_ecore_imf="yes"
27797 ecore_imf_libs="-lecore_imf"
27798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27799$as_echo "yes" >&6; }
27800 else
27801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
27802$as_echo "no (dependency failed)" >&6; }
27803 fi
27804else
27805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27806$as_echo "no" >&6; }
27807fi
27808
27809 if test "x$have_ecore_imf" = "xyes"; then
27810 BUILD_ECORE_IMF_TRUE=
27811 BUILD_ECORE_IMF_FALSE='#'
27812else
27813 BUILD_ECORE_IMF_TRUE='#'
27814 BUILD_ECORE_IMF_FALSE=
27815fi
27816
27817
27818if test "x$have_ecore_imf" = "xyes"; then :
27819
27820fi
27821
27822
27823
27824
27825
27826
27827
27828
27829# ecore_imf_evas
27830
27831ecore_imf_evas_deps="no"
27832if test "x${have_ecore_imf}" = "xyes" -a "x${have_evas}" = "xyes" ; then
27833 ecore_imf_evas_deps="yes"
27834fi
27835
27836
27837
27838have_ecore_imf_evas=no
27839ecore_imf_evas_cflags=
27840ecore_imf_evas_libs=
27841want_module=${want_ecore_imf}
27842
27843# Check whether --enable-ecore-imf-evas was given.
27844if test "${enable_ecore_imf_evas+set}" = set; then :
27845 enableval=$enable_ecore_imf_evas;
27846 if test "x${enableval}" = "xyes" ; then
27847 want_module="yes"
27848 else
27849 want_module="no"
27850 fi
27851
27852fi
27853
27854
27855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Imf_Evas module is to be built" >&5
27856$as_echo_n "checking whether Ecore_Imf_Evas module is to be built... " >&6; }
27857
27858if test "x${want_module}" = "xyes" ; then
27859 if test "x${ecore_imf_evas_deps}" = "x" || test "x${ecore_imf_evas_deps}" = "xyes" ; then
27860
27861$as_echo "#define BUILD_ECORE_IMF_EVAS 1" >>confdefs.h
27862
27863 have_ecore_imf_evas="yes"
27864 ecore_imf_evas_libs="-lecore_imf_evas"
27865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27866$as_echo "yes" >&6; }
27867 else
27868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
27869$as_echo "no (dependency failed)" >&6; }
27870 fi
27871else
27872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27873$as_echo "no" >&6; }
27874fi
27875
27876 if test "x$have_ecore_imf_evas" = "xyes"; then
27877 BUILD_ECORE_IMF_EVAS_TRUE=
27878 BUILD_ECORE_IMF_EVAS_FALSE='#'
27879else
27880 BUILD_ECORE_IMF_EVAS_TRUE='#'
27881 BUILD_ECORE_IMF_EVAS_FALSE=
27882fi
27883
27884
27885if test "x$have_ecore_imf_evas" = "xyes"; then :
27886 requirements_ecore_imf_evas="ecore-imf >= 1.1.0 evas >= 1.1.0 ${requirements_ecore_imf_evas}"
27887fi
27888
27889
27890
27891
27892
27893
27894
27895
27896# ecore_input{_evas}
27897
27898
27899have_ecore_input=no
27900ecore_input_cflags=
27901ecore_input_libs=
27902want_module=${want_ecore_input}
27903
27904# Check whether --enable-ecore-input was given.
27905if test "${enable_ecore_input+set}" = set; then :
27906 enableval=$enable_ecore_input;
27907 if test "x${enableval}" = "xyes" ; then
27908 want_module="yes"
27909 else
27910 want_module="no"
27911 fi
27912
27913fi
27914
27915
27916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Input module is to be built" >&5
27917$as_echo_n "checking whether Ecore_Input module is to be built... " >&6; }
27918
27919if test "x${want_module}" = "xyes" ; then
27920 if test "x" = "x" || test "x" = "xyes" ; then
27921
27922$as_echo "#define BUILD_ECORE_INPUT 1" >>confdefs.h
27923
27924 have_ecore_input="yes"
27925 ecore_input_libs="-lecore_input"
27926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27927$as_echo "yes" >&6; }
27928 else
27929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
27930$as_echo "no (dependency failed)" >&6; }
27931 fi
27932else
27933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27934$as_echo "no" >&6; }
27935fi
27936
27937 if test "x$have_ecore_input" = "xyes"; then
27938 BUILD_ECORE_INPUT_TRUE=
27939 BUILD_ECORE_INPUT_FALSE='#'
27940else
27941 BUILD_ECORE_INPUT_TRUE='#'
27942 BUILD_ECORE_INPUT_FALSE=
27943fi
27944
27945
27946if test "x$have_ecore_input" = "xyes"; then :
27947
27948fi
27949
27950
27951
27952
27953
27954
27955
27956
27957
27958have_ecore_input_evas=no
27959ecore_input_evas_cflags=
27960ecore_input_evas_libs=
27961want_module=${want_ecore_input}
27962
27963# Check whether --enable-ecore-input-evas was given.
27964if test "${enable_ecore_input_evas+set}" = set; then :
27965 enableval=$enable_ecore_input_evas;
27966 if test "x${enableval}" = "xyes" ; then
27967 want_module="yes"
27968 else
27969 want_module="no"
27970 fi
27971
27972fi
27973
27974
27975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Input_Evas module is to be built" >&5
27976$as_echo_n "checking whether Ecore_Input_Evas module is to be built... " >&6; }
27977
27978if test "x${want_module}" = "xyes" ; then
27979 if test "x${have_evas}" = "x" || test "x${have_evas}" = "xyes" ; then
27980
27981$as_echo "#define BUILD_ECORE_INPUT_EVAS 1" >>confdefs.h
27982
27983 have_ecore_input_evas="yes"
27984 ecore_input_evas_libs="-lecore_input_evas"
27985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27986$as_echo "yes" >&6; }
27987 else
27988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
27989$as_echo "no (dependency failed)" >&6; }
27990 fi
27991else
27992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27993$as_echo "no" >&6; }
27994fi
27995
27996 if test "x$have_ecore_input_evas" = "xyes"; then
27997 BUILD_ECORE_INPUT_EVAS_TRUE=
27998 BUILD_ECORE_INPUT_EVAS_FALSE='#'
27999else
28000 BUILD_ECORE_INPUT_EVAS_TRUE='#'
28001 BUILD_ECORE_INPUT_EVAS_FALSE=
28002fi
28003
28004
28005if test "x$have_ecore_input_evas" = "xyes"; then :
28006 requirements_ecore_input_evas="ecore-input >= 1.1.0 evas >= 1.1.0 ${requirements_ecore_input}"
28007fi
28008
28009
28010
28011
28012
28013
28014
28015
28016# ecore_imf_xim
28017 if false; then
28018 BUILD_ECORE_IMF_XIM_TRUE=
28019 BUILD_ECORE_IMF_XIM_FALSE='#'
28020else
28021 BUILD_ECORE_IMF_XIM_TRUE='#'
28022 BUILD_ECORE_IMF_XIM_FALSE=
28023fi
28024
28025ecore_imf_xim_deps="no"
28026echo "have_ecore_x_xlib: ${have_ecore_x_xlib}"
28027if test "x${have_ecore_imf}" = "xyes" \
28028 -a "x${have_ecore_x_xlib}" = "xyes" \
28029 -a "x${have_ecore_input}" = "xyes" ; then
28030 ecore_imf_xim_deps="yes"
28031
28032$as_echo "#define BUILD_ECORE_IMF_XIM 1" >>confdefs.h
28033
28034fi
28035
28036
28037
28038have_ecore_imf_xim=no
28039ecore_imf_xim_cflags=
28040ecore_imf_xim_libs=
28041want_module=${want_ecore_imf}
28042
28043# Check whether --enable-ecore-imf-xim was given.
28044if test "${enable_ecore_imf_xim+set}" = set; then :
28045 enableval=$enable_ecore_imf_xim;
28046 if test "x${enableval}" = "xyes" ; then
28047 want_module="yes"
28048 else
28049 want_module="no"
28050 fi
28051
28052fi
28053
28054
28055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Imf_XIM module is to be built" >&5
28056$as_echo_n "checking whether Ecore_Imf_XIM module is to be built... " >&6; }
28057
28058if test "x${want_module}" = "xyes" ; then
28059 if test "x${ecore_imf_xim_deps}" = "x" || test "x${ecore_imf_xim_deps}" = "xyes" ; then
28060
28061$as_echo "#define BUILD_ECORE_IMF_XIM 1" >>confdefs.h
28062
28063 have_ecore_imf_xim="yes"
28064 ecore_imf_xim_libs="-lecore_imf_xim"
28065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28066$as_echo "yes" >&6; }
28067 else
28068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28069$as_echo "no (dependency failed)" >&6; }
28070 fi
28071else
28072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28073$as_echo "no" >&6; }
28074fi
28075
28076 if test "x$have_ecore_imf_xim" = "xyes"; then
28077 BUILD_ECORE_IMF_XIM_TRUE=
28078 BUILD_ECORE_IMF_XIM_FALSE='#'
28079else
28080 BUILD_ECORE_IMF_XIM_TRUE='#'
28081 BUILD_ECORE_IMF_XIM_FALSE=
28082fi
28083
28084
28085if test "x$have_ecore_imf_xim" = "xyes"; then :
28086 requirements_ecore_imf_xim="ecore-imf >= 1.1.0 ecore-x >= 1.1.0 ecore-input >= 1.1.0 ${requirements_ecore_imf_xim}"
28087fi
28088
28089
28090
28091
28092
28093
28094
28095
28096## Graphic systems
28097
28098# ecore_x{cb}
28099
28100ecore_x_deps="no"
28101if test "x${have_x}" = "xyes" -a \
28102 "x${have_ecore_input}" = "xyes" ; then
28103 ecore_x_deps="yes"
28104fi
28105
28106
28107
28108have_ecore_x=no
28109ecore_x_cflags=
28110ecore_x_libs=
28111want_module=${want_ecore_x}
28112
28113# Check whether --enable-ecore-x was given.
28114if test "${enable_ecore_x+set}" = set; then :
28115 enableval=$enable_ecore_x;
28116 if test "x${enableval}" = "xyes" ; then
28117 want_module="yes"
28118 else
28119 want_module="no"
28120 fi
28121
28122fi
28123
28124
28125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_X module is to be built" >&5
28126$as_echo_n "checking whether Ecore_X module is to be built... " >&6; }
28127
28128if test "x${want_module}" = "xyes" ; then
28129 if test "x${ecore_x_deps}" = "x" || test "x${ecore_x_deps}" = "xyes" ; then
28130
28131$as_echo "#define BUILD_ECORE_X 1" >>confdefs.h
28132
28133 have_ecore_x="yes"
28134 ecore_x_libs="-lecore_x"
28135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28136$as_echo "yes" >&6; }
28137 else
28138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28139$as_echo "no (dependency failed)" >&6; }
28140 fi
28141else
28142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28143$as_echo "no" >&6; }
28144fi
28145
28146 if test "x$have_ecore_x" = "xyes"; then
28147 BUILD_ECORE_X_TRUE=
28148 BUILD_ECORE_X_FALSE='#'
28149else
28150 BUILD_ECORE_X_TRUE='#'
28151 BUILD_ECORE_X_FALSE=
28152fi
28153
28154
28155if test "x$have_ecore_x" = "xyes"; then :
28156
28157 ecore_x_libs="$ecore_x_libs $x_libs"
28158 requirements_ecore_x="ecore-input >= 1.1.0 ${requirements_ecore_x}"
28159
28160fi
28161
28162
28163
28164
28165
28166
28167
28168
28169# ecore_win32
28170
28171
28172
28173have_ecore_win32=no
28174ecore_win32_cflags=
28175ecore_win32_libs=
28176want_module=${want_ecore_win32}
28177
28178# Check whether --enable-ecore-win32 was given.
28179if test "${enable_ecore_win32+set}" = set; then :
28180 enableval=$enable_ecore_win32;
28181 if test "x${enableval}" = "xyes" ; then
28182 want_module="yes"
28183 else
28184 want_module="no"
28185 fi
28186
28187fi
28188
28189
28190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Win32 module is to be built" >&5
28191$as_echo_n "checking whether Ecore_Win32 module is to be built... " >&6; }
28192
28193if test "x${want_module}" = "xyes" ; then
28194 if test "x${have_ecore_input}" = "x" || test "x${have_ecore_input}" = "xyes" ; then
28195
28196$as_echo "#define BUILD_ECORE_WIN32 1" >>confdefs.h
28197
28198 have_ecore_win32="yes"
28199 ecore_win32_libs="-lecore_win32"
28200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28201$as_echo "yes" >&6; }
28202 else
28203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28204$as_echo "no (dependency failed)" >&6; }
28205 fi
28206else
28207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28208$as_echo "no" >&6; }
28209fi
28210
28211 if test "x$have_ecore_win32" = "xyes"; then
28212 BUILD_ECORE_WIN32_TRUE=
28213 BUILD_ECORE_WIN32_FALSE='#'
28214else
28215 BUILD_ECORE_WIN32_TRUE='#'
28216 BUILD_ECORE_WIN32_FALSE=
28217fi
28218
28219
28220if test "x$have_ecore_win32" = "xyes"; then :
28221
28222 ecore_win32_libs="-lole32 -lgdi32"
28223 requirements_ecore_win32="ecore-input >= 1.1.0 ${requirements_ecore_win32}"
28224
28225fi
28226
28227
28228
28229
28230
28231
28232
28233
28234
28235# ecore_cocoa
28236
28237ecore_cocoa_deps="no"
28238if test "x${have_ecore_input}" = "xyes" -a "x${have_cocoa}" = "xyes" ; then
28239 ecore_cocoa_deps="yes"
28240fi
28241
28242
28243
28244have_ecore_cocoa=no
28245ecore_cocoa_cflags=
28246ecore_cocoa_libs=
28247want_module=${want_ecore_cocoa}
28248
28249# Check whether --enable-ecore-cocoa was given.
28250if test "${enable_ecore_cocoa+set}" = set; then :
28251 enableval=$enable_ecore_cocoa;
28252 if test "x${enableval}" = "xyes" ; then
28253 want_module="yes"
28254 else
28255 want_module="no"
28256 fi
28257
28258fi
28259
28260
28261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Cocoa module is to be built" >&5
28262$as_echo_n "checking whether Ecore_Cocoa module is to be built... " >&6; }
28263
28264if test "x${want_module}" = "xyes" ; then
28265 if test "x${ecore_cocoa_deps}" = "x" || test "x${ecore_cocoa_deps}" = "xyes" ; then
28266
28267$as_echo "#define BUILD_ECORE_COCOA 1" >>confdefs.h
28268
28269 have_ecore_cocoa="yes"
28270 ecore_cocoa_libs="-lecore_cocoa"
28271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28272$as_echo "yes" >&6; }
28273 else
28274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28275$as_echo "no (dependency failed)" >&6; }
28276 fi
28277else
28278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28279$as_echo "no" >&6; }
28280fi
28281
28282 if test "x$have_ecore_cocoa" = "xyes"; then
28283 BUILD_ECORE_COCOA_TRUE=
28284 BUILD_ECORE_COCOA_FALSE='#'
28285else
28286 BUILD_ECORE_COCOA_TRUE='#'
28287 BUILD_ECORE_COCOA_FALSE=
28288fi
28289
28290
28291if test "x$have_ecore_cocoa" = "xyes"; then :
28292 requirements_ecore_cocoa="ecore-input >= 1.1.0 ${requirements_ecore_cocoa}"
28293fi
28294
28295
28296
28297
28298
28299
28300
28301
28302# ecore_sdl
28303
28304ecore_sdl_deps="no"
28305if test "x${have_sdl}" = "xyes" -a "x${have_ecore_input}" = "xyes" ; then
28306 ecore_sdl_deps="yes"
28307fi
28308
28309
28310
28311have_ecore_sdl=no
28312ecore_sdl_cflags=
28313ecore_sdl_libs=
28314want_module=${want_ecore_sdl}
28315
28316# Check whether --enable-ecore-sdl was given.
28317if test "${enable_ecore_sdl+set}" = set; then :
28318 enableval=$enable_ecore_sdl;
28319 if test "x${enableval}" = "xyes" ; then
28320 want_module="yes"
28321 else
28322 want_module="no"
28323 fi
28324
28325fi
28326
28327
28328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Sdl module is to be built" >&5
28329$as_echo_n "checking whether Ecore_Sdl module is to be built... " >&6; }
28330
28331if test "x${want_module}" = "xyes" ; then
28332 if test "x${ecore_sdl_deps}" = "x" || test "x${ecore_sdl_deps}" = "xyes" ; then
28333
28334$as_echo "#define BUILD_ECORE_SDL 1" >>confdefs.h
28335
28336 have_ecore_sdl="yes"
28337 ecore_sdl_libs="-lecore_sdl"
28338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28339$as_echo "yes" >&6; }
28340 else
28341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28342$as_echo "no (dependency failed)" >&6; }
28343 fi
28344else
28345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28346$as_echo "no" >&6; }
28347fi
28348
28349 if test "x$have_ecore_sdl" = "xyes"; then
28350 BUILD_ECORE_SDL_TRUE=
28351 BUILD_ECORE_SDL_FALSE='#'
28352else
28353 BUILD_ECORE_SDL_TRUE='#'
28354 BUILD_ECORE_SDL_FALSE=
28355fi
28356
28357
28358if test "x$have_ecore_sdl" = "xyes"; then :
28359 requirements_ecore_sdl="ecore-input >= 1.1.0 ${requirements_ecore_sdl}"
28360fi
28361
28362
28363
28364
28365
28366
28367
28368
28369
28370
28371have_ecore_psl1ght=no
28372ecore_psl1ght_cflags=
28373ecore_psl1ght_libs=
28374want_module=${want_ecore_psl1ght}
28375
28376# Check whether --enable-ecore-psl1ght was given.
28377if test "${enable_ecore_psl1ght+set}" = set; then :
28378 enableval=$enable_ecore_psl1ght;
28379 if test "x${enableval}" = "xyes" ; then
28380 want_module="yes"
28381 else
28382 want_module="no"
28383 fi
28384
28385fi
28386
28387
28388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_psl1ght module is to be built" >&5
28389$as_echo_n "checking whether Ecore_psl1ght module is to be built... " >&6; }
28390
28391if test "x${want_module}" = "xyes" ; then
28392 if test "x${ecore_psl1ght_deps}" = "x" || test "x${ecore_psl1ght_deps}" = "xyes" ; then
28393
28394$as_echo "#define BUILD_ECORE_PSL1GHT 1" >>confdefs.h
28395
28396 have_ecore_psl1ght="yes"
28397 ecore_psl1ght_libs="-lecore_psl1ght"
28398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28399$as_echo "yes" >&6; }
28400 else
28401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28402$as_echo "no (dependency failed)" >&6; }
28403 fi
28404else
28405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28406$as_echo "no" >&6; }
28407fi
28408
28409 if test "x$have_ecore_psl1ght" = "xyes"; then
28410 BUILD_ECORE_PSL1GHT_TRUE=
28411 BUILD_ECORE_PSL1GHT_FALSE='#'
28412else
28413 BUILD_ECORE_PSL1GHT_TRUE='#'
28414 BUILD_ECORE_PSL1GHT_FALSE=
28415fi
28416
28417
28418if test "x$have_ecore_psl1ght" = "xyes"; then :
28419 requirements_ecore_psl1ght="ecore-input >= 1.1.0 ${requirements_ecore_psl1ght}"
28420fi
28421
28422
28423
28424
28425
28426
28427
28428
28429# ecore_fb
28430
28431
28432have_ecore_fb=no
28433ecore_fb_cflags=
28434ecore_fb_libs=
28435want_module=${want_ecore_fb}
28436
28437# Check whether --enable-ecore-fb was given.
28438if test "${enable_ecore_fb+set}" = set; then :
28439 enableval=$enable_ecore_fb;
28440 if test "x${enableval}" = "xyes" ; then
28441 want_module="yes"
28442 else
28443 want_module="no"
28444 fi
28445
28446fi
28447
28448
28449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_FB module is to be built" >&5
28450$as_echo_n "checking whether Ecore_FB module is to be built... " >&6; }
28451
28452if test "x${want_module}" = "xyes" ; then
28453 if test "x$have_fb" = "x" || test "x$have_fb" = "xyes" ; then
28454
28455$as_echo "#define BUILD_ECORE_FB 1" >>confdefs.h
28456
28457 have_ecore_fb="yes"
28458 ecore_fb_libs="-lecore_fb"
28459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28460$as_echo "yes" >&6; }
28461 else
28462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28463$as_echo "no (dependency failed)" >&6; }
28464 fi
28465else
28466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28467$as_echo "no" >&6; }
28468fi
28469
28470 if test "x$have_ecore_fb" = "xyes"; then
28471 BUILD_ECORE_FB_TRUE=
28472 BUILD_ECORE_FB_FALSE='#'
28473else
28474 BUILD_ECORE_FB_TRUE='#'
28475 BUILD_ECORE_FB_FALSE=
28476fi
28477
28478
28479if test "x$have_ecore_fb" = "xyes"; then :
28480
28481fi
28482
28483
28484
28485
28486
28487
28488
28489
28490if test "x${have_ecore_fb}" = "xyes" ; then
28491
28492_tslib_requirement=""
28493_ecore_want_tslib=${want_tslib}
28494_ecore_have_tslib="no"
28495TSLIB_LIBS=""
28496TSLIB_CFLAGS=""
28497
28498# Check whether --enable-tslib was given.
28499if test "${enable_tslib+set}" = set; then :
28500 enableval=$enable_tslib;
28501 if test "x${enableval}" = "xyes" ; then
28502 _ecore_want_tslib="yes"
28503 else
28504 _ecore_want_tslib="no"
28505 fi
28506
28507fi
28508
28509
28510if test "x${_ecore_want_tslib}" = "xyes" -o "x${_ecore_want_tslib}" = "xauto" ; then
28511
28512pkg_failed=no
28513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
28514$as_echo_n "checking for TSLIB... " >&6; }
28515
28516if test -n "$TSLIB_CFLAGS"; then
28517 pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
28518 elif test -n "$PKG_CONFIG"; then
28519 if test -n "$PKG_CONFIG" && \
28520 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5
28521 ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
28522 ac_status=$?
28523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28524 test $ac_status = 0; }; then
28525 pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib-1.0" 2>/dev/null`
28526else
28527 pkg_failed=yes
28528fi
28529 else
28530 pkg_failed=untried
28531fi
28532if test -n "$TSLIB_LIBS"; then
28533 pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
28534 elif test -n "$PKG_CONFIG"; then
28535 if test -n "$PKG_CONFIG" && \
28536 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5
28537 ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
28538 ac_status=$?
28539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28540 test $ac_status = 0; }; then
28541 pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib-1.0" 2>/dev/null`
28542else
28543 pkg_failed=yes
28544fi
28545 else
28546 pkg_failed=untried
28547fi
28548
28549
28550
28551if test $pkg_failed = yes; then
28552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28553$as_echo "no" >&6; }
28554
28555if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28556 _pkg_short_errors_supported=yes
28557else
28558 _pkg_short_errors_supported=no
28559fi
28560 if test $_pkg_short_errors_supported = yes; then
28561 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "tslib-1.0" 2>&1`
28562 else
28563 TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "tslib-1.0" 2>&1`
28564 fi
28565 # Put the nasty error message in config.log where it belongs
28566 echo "$TSLIB_PKG_ERRORS" >&5
28567
28568
28569
28570pkg_failed=no
28571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
28572$as_echo_n "checking for TSLIB... " >&6; }
28573
28574if test -n "$TSLIB_CFLAGS"; then
28575 pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
28576 elif test -n "$PKG_CONFIG"; then
28577 if test -n "$PKG_CONFIG" && \
28578 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
28579 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
28580 ac_status=$?
28581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28582 test $ac_status = 0; }; then
28583 pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib" 2>/dev/null`
28584else
28585 pkg_failed=yes
28586fi
28587 else
28588 pkg_failed=untried
28589fi
28590if test -n "$TSLIB_LIBS"; then
28591 pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
28592 elif test -n "$PKG_CONFIG"; then
28593 if test -n "$PKG_CONFIG" && \
28594 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
28595 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
28596 ac_status=$?
28597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28598 test $ac_status = 0; }; then
28599 pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib" 2>/dev/null`
28600else
28601 pkg_failed=yes
28602fi
28603 else
28604 pkg_failed=untried
28605fi
28606
28607
28608
28609if test $pkg_failed = yes; then
28610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28611$as_echo "no" >&6; }
28612
28613if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28614 _pkg_short_errors_supported=yes
28615else
28616 _pkg_short_errors_supported=no
28617fi
28618 if test $_pkg_short_errors_supported = yes; then
28619 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "tslib" 2>&1`
28620 else
28621 TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "tslib" 2>&1`
28622 fi
28623 # Put the nasty error message in config.log where it belongs
28624 echo "$TSLIB_PKG_ERRORS" >&5
28625
28626
28627 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
28628if test "x$ac_cv_header_tslib_h" = x""yes; then :
28629
28630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -lts" >&5
28631$as_echo_n "checking for ts_open in -lts... " >&6; }
28632if test "${ac_cv_lib_ts_ts_open+set}" = set; then :
28633 $as_echo_n "(cached) " >&6
28634else
28635 ac_check_lib_save_LIBS=$LIBS
28636LIBS="-lts $LIBS"
28637cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28638/* end confdefs.h. */
28639
28640/* Override any GCC internal prototype to avoid an error.
28641 Use char because int might match the return type of a GCC
28642 builtin and then its argument prototype would still apply. */
28643#ifdef __cplusplus
28644extern "C"
28645#endif
28646char ts_open ();
28647int
28648main ()
28649{
28650return ts_open ();
28651 ;
28652 return 0;
28653}
28654_ACEOF
28655if ac_fn_c_try_link "$LINENO"; then :
28656 ac_cv_lib_ts_ts_open=yes
28657else
28658 ac_cv_lib_ts_ts_open=no
28659fi
28660rm -f core conftest.err conftest.$ac_objext \
28661 conftest$ac_exeext conftest.$ac_ext
28662LIBS=$ac_check_lib_save_LIBS
28663fi
28664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ts_ts_open" >&5
28665$as_echo "$ac_cv_lib_ts_ts_open" >&6; }
28666if test "x$ac_cv_lib_ts_ts_open" = x""yes; then :
28667
28668 TSLIB_LIBS="-lts"
28669 TSLIB_CFLAGS=""
28670
28671$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
28672
28673 _ecore_have_tslib="yes"
28674
28675else
28676
28677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -ltslib" >&5
28678$as_echo_n "checking for ts_open in -ltslib... " >&6; }
28679if test "${ac_cv_lib_tslib_ts_open+set}" = set; then :
28680 $as_echo_n "(cached) " >&6
28681else
28682 ac_check_lib_save_LIBS=$LIBS
28683LIBS="-ltslib $LIBS"
28684cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28685/* end confdefs.h. */
28686
28687/* Override any GCC internal prototype to avoid an error.
28688 Use char because int might match the return type of a GCC
28689 builtin and then its argument prototype would still apply. */
28690#ifdef __cplusplus
28691extern "C"
28692#endif
28693char ts_open ();
28694int
28695main ()
28696{
28697return ts_open ();
28698 ;
28699 return 0;
28700}
28701_ACEOF
28702if ac_fn_c_try_link "$LINENO"; then :
28703 ac_cv_lib_tslib_ts_open=yes
28704else
28705 ac_cv_lib_tslib_ts_open=no
28706fi
28707rm -f core conftest.err conftest.$ac_objext \
28708 conftest$ac_exeext conftest.$ac_ext
28709LIBS=$ac_check_lib_save_LIBS
28710fi
28711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tslib_ts_open" >&5
28712$as_echo "$ac_cv_lib_tslib_ts_open" >&6; }
28713if test "x$ac_cv_lib_tslib_ts_open" = x""yes; then :
28714
28715 TSLIB_LIBS="-ltslib"
28716 TSLIB_CFLAGS=""
28717
28718$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
28719
28720 _ecore_have_tslib="yes"
28721
28722else
28723
28724 _ecore_have_tslib="no"
28725
28726fi
28727
28728
28729fi
28730
28731
28732fi
28733
28734
28735
28736elif test $pkg_failed = untried; then
28737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28738$as_echo "no" >&6; }
28739
28740 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
28741if test "x$ac_cv_header_tslib_h" = x""yes; then :
28742
28743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -lts" >&5
28744$as_echo_n "checking for ts_open in -lts... " >&6; }
28745if test "${ac_cv_lib_ts_ts_open+set}" = set; then :
28746 $as_echo_n "(cached) " >&6
28747else
28748 ac_check_lib_save_LIBS=$LIBS
28749LIBS="-lts $LIBS"
28750cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28751/* end confdefs.h. */
28752
28753/* Override any GCC internal prototype to avoid an error.
28754 Use char because int might match the return type of a GCC
28755 builtin and then its argument prototype would still apply. */
28756#ifdef __cplusplus
28757extern "C"
28758#endif
28759char ts_open ();
28760int
28761main ()
28762{
28763return ts_open ();
28764 ;
28765 return 0;
28766}
28767_ACEOF
28768if ac_fn_c_try_link "$LINENO"; then :
28769 ac_cv_lib_ts_ts_open=yes
28770else
28771 ac_cv_lib_ts_ts_open=no
28772fi
28773rm -f core conftest.err conftest.$ac_objext \
28774 conftest$ac_exeext conftest.$ac_ext
28775LIBS=$ac_check_lib_save_LIBS
28776fi
28777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ts_ts_open" >&5
28778$as_echo "$ac_cv_lib_ts_ts_open" >&6; }
28779if test "x$ac_cv_lib_ts_ts_open" = x""yes; then :
28780
28781 TSLIB_LIBS="-lts"
28782 TSLIB_CFLAGS=""
28783
28784$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
28785
28786 _ecore_have_tslib="yes"
28787
28788else
28789
28790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -ltslib" >&5
28791$as_echo_n "checking for ts_open in -ltslib... " >&6; }
28792if test "${ac_cv_lib_tslib_ts_open+set}" = set; then :
28793 $as_echo_n "(cached) " >&6
28794else
28795 ac_check_lib_save_LIBS=$LIBS
28796LIBS="-ltslib $LIBS"
28797cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28798/* end confdefs.h. */
28799
28800/* Override any GCC internal prototype to avoid an error.
28801 Use char because int might match the return type of a GCC
28802 builtin and then its argument prototype would still apply. */
28803#ifdef __cplusplus
28804extern "C"
28805#endif
28806char ts_open ();
28807int
28808main ()
28809{
28810return ts_open ();
28811 ;
28812 return 0;
28813}
28814_ACEOF
28815if ac_fn_c_try_link "$LINENO"; then :
28816 ac_cv_lib_tslib_ts_open=yes
28817else
28818 ac_cv_lib_tslib_ts_open=no
28819fi
28820rm -f core conftest.err conftest.$ac_objext \
28821 conftest$ac_exeext conftest.$ac_ext
28822LIBS=$ac_check_lib_save_LIBS
28823fi
28824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tslib_ts_open" >&5
28825$as_echo "$ac_cv_lib_tslib_ts_open" >&6; }
28826if test "x$ac_cv_lib_tslib_ts_open" = x""yes; then :
28827
28828 TSLIB_LIBS="-ltslib"
28829 TSLIB_CFLAGS=""
28830
28831$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
28832
28833 _ecore_have_tslib="yes"
28834
28835else
28836
28837 _ecore_have_tslib="no"
28838
28839fi
28840
28841
28842fi
28843
28844
28845fi
28846
28847
28848
28849else
28850 TSLIB_CFLAGS=$pkg_cv_TSLIB_CFLAGS
28851 TSLIB_LIBS=$pkg_cv_TSLIB_LIBS
28852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28853$as_echo "yes" >&6; }
28854
28855
28856$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
28857
28858 _ecore_have_tslib="yes"
28859 _tslib_requirement="tslib"
28860
28861fi
28862
28863elif test $pkg_failed = untried; then
28864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28865$as_echo "no" >&6; }
28866
28867
28868pkg_failed=no
28869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
28870$as_echo_n "checking for TSLIB... " >&6; }
28871
28872if test -n "$TSLIB_CFLAGS"; then
28873 pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
28874 elif test -n "$PKG_CONFIG"; then
28875 if test -n "$PKG_CONFIG" && \
28876 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
28877 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
28878 ac_status=$?
28879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28880 test $ac_status = 0; }; then
28881 pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib" 2>/dev/null`
28882else
28883 pkg_failed=yes
28884fi
28885 else
28886 pkg_failed=untried
28887fi
28888if test -n "$TSLIB_LIBS"; then
28889 pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
28890 elif test -n "$PKG_CONFIG"; then
28891 if test -n "$PKG_CONFIG" && \
28892 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
28893 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
28894 ac_status=$?
28895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28896 test $ac_status = 0; }; then
28897 pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib" 2>/dev/null`
28898else
28899 pkg_failed=yes
28900fi
28901 else
28902 pkg_failed=untried
28903fi
28904
28905
28906
28907if test $pkg_failed = yes; then
28908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28909$as_echo "no" >&6; }
28910
28911if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28912 _pkg_short_errors_supported=yes
28913else
28914 _pkg_short_errors_supported=no
28915fi
28916 if test $_pkg_short_errors_supported = yes; then
28917 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "tslib" 2>&1`
28918 else
28919 TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "tslib" 2>&1`
28920 fi
28921 # Put the nasty error message in config.log where it belongs
28922 echo "$TSLIB_PKG_ERRORS" >&5
28923
28924
28925 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
28926if test "x$ac_cv_header_tslib_h" = x""yes; then :
28927
28928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -lts" >&5
28929$as_echo_n "checking for ts_open in -lts... " >&6; }
28930if test "${ac_cv_lib_ts_ts_open+set}" = set; then :
28931 $as_echo_n "(cached) " >&6
28932else
28933 ac_check_lib_save_LIBS=$LIBS
28934LIBS="-lts $LIBS"
28935cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28936/* end confdefs.h. */
28937
28938/* Override any GCC internal prototype to avoid an error.
28939 Use char because int might match the return type of a GCC
28940 builtin and then its argument prototype would still apply. */
28941#ifdef __cplusplus
28942extern "C"
28943#endif
28944char ts_open ();
28945int
28946main ()
28947{
28948return ts_open ();
28949 ;
28950 return 0;
28951}
28952_ACEOF
28953if ac_fn_c_try_link "$LINENO"; then :
28954 ac_cv_lib_ts_ts_open=yes
28955else
28956 ac_cv_lib_ts_ts_open=no
28957fi
28958rm -f core conftest.err conftest.$ac_objext \
28959 conftest$ac_exeext conftest.$ac_ext
28960LIBS=$ac_check_lib_save_LIBS
28961fi
28962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ts_ts_open" >&5
28963$as_echo "$ac_cv_lib_ts_ts_open" >&6; }
28964if test "x$ac_cv_lib_ts_ts_open" = x""yes; then :
28965
28966 TSLIB_LIBS="-lts"
28967 TSLIB_CFLAGS=""
28968
28969$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
28970
28971 _ecore_have_tslib="yes"
28972
28973else
28974
28975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -ltslib" >&5
28976$as_echo_n "checking for ts_open in -ltslib... " >&6; }
28977if test "${ac_cv_lib_tslib_ts_open+set}" = set; then :
28978 $as_echo_n "(cached) " >&6
28979else
28980 ac_check_lib_save_LIBS=$LIBS
28981LIBS="-ltslib $LIBS"
28982cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28983/* end confdefs.h. */
28984
28985/* Override any GCC internal prototype to avoid an error.
28986 Use char because int might match the return type of a GCC
28987 builtin and then its argument prototype would still apply. */
28988#ifdef __cplusplus
28989extern "C"
28990#endif
28991char ts_open ();
28992int
28993main ()
28994{
28995return ts_open ();
28996 ;
28997 return 0;
28998}
28999_ACEOF
29000if ac_fn_c_try_link "$LINENO"; then :
29001 ac_cv_lib_tslib_ts_open=yes
29002else
29003 ac_cv_lib_tslib_ts_open=no
29004fi
29005rm -f core conftest.err conftest.$ac_objext \
29006 conftest$ac_exeext conftest.$ac_ext
29007LIBS=$ac_check_lib_save_LIBS
29008fi
29009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tslib_ts_open" >&5
29010$as_echo "$ac_cv_lib_tslib_ts_open" >&6; }
29011if test "x$ac_cv_lib_tslib_ts_open" = x""yes; then :
29012
29013 TSLIB_LIBS="-ltslib"
29014 TSLIB_CFLAGS=""
29015
29016$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29017
29018 _ecore_have_tslib="yes"
29019
29020else
29021
29022 _ecore_have_tslib="no"
29023
29024fi
29025
29026
29027fi
29028
29029
29030fi
29031
29032
29033
29034elif test $pkg_failed = untried; then
29035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29036$as_echo "no" >&6; }
29037
29038 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
29039if test "x$ac_cv_header_tslib_h" = x""yes; then :
29040
29041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -lts" >&5
29042$as_echo_n "checking for ts_open in -lts... " >&6; }
29043if test "${ac_cv_lib_ts_ts_open+set}" = set; then :
29044 $as_echo_n "(cached) " >&6
29045else
29046 ac_check_lib_save_LIBS=$LIBS
29047LIBS="-lts $LIBS"
29048cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29049/* end confdefs.h. */
29050
29051/* Override any GCC internal prototype to avoid an error.
29052 Use char because int might match the return type of a GCC
29053 builtin and then its argument prototype would still apply. */
29054#ifdef __cplusplus
29055extern "C"
29056#endif
29057char ts_open ();
29058int
29059main ()
29060{
29061return ts_open ();
29062 ;
29063 return 0;
29064}
29065_ACEOF
29066if ac_fn_c_try_link "$LINENO"; then :
29067 ac_cv_lib_ts_ts_open=yes
29068else
29069 ac_cv_lib_ts_ts_open=no
29070fi
29071rm -f core conftest.err conftest.$ac_objext \
29072 conftest$ac_exeext conftest.$ac_ext
29073LIBS=$ac_check_lib_save_LIBS
29074fi
29075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ts_ts_open" >&5
29076$as_echo "$ac_cv_lib_ts_ts_open" >&6; }
29077if test "x$ac_cv_lib_ts_ts_open" = x""yes; then :
29078
29079 TSLIB_LIBS="-lts"
29080 TSLIB_CFLAGS=""
29081
29082$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29083
29084 _ecore_have_tslib="yes"
29085
29086else
29087
29088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -ltslib" >&5
29089$as_echo_n "checking for ts_open in -ltslib... " >&6; }
29090if test "${ac_cv_lib_tslib_ts_open+set}" = set; then :
29091 $as_echo_n "(cached) " >&6
29092else
29093 ac_check_lib_save_LIBS=$LIBS
29094LIBS="-ltslib $LIBS"
29095cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29096/* end confdefs.h. */
29097
29098/* Override any GCC internal prototype to avoid an error.
29099 Use char because int might match the return type of a GCC
29100 builtin and then its argument prototype would still apply. */
29101#ifdef __cplusplus
29102extern "C"
29103#endif
29104char ts_open ();
29105int
29106main ()
29107{
29108return ts_open ();
29109 ;
29110 return 0;
29111}
29112_ACEOF
29113if ac_fn_c_try_link "$LINENO"; then :
29114 ac_cv_lib_tslib_ts_open=yes
29115else
29116 ac_cv_lib_tslib_ts_open=no
29117fi
29118rm -f core conftest.err conftest.$ac_objext \
29119 conftest$ac_exeext conftest.$ac_ext
29120LIBS=$ac_check_lib_save_LIBS
29121fi
29122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tslib_ts_open" >&5
29123$as_echo "$ac_cv_lib_tslib_ts_open" >&6; }
29124if test "x$ac_cv_lib_tslib_ts_open" = x""yes; then :
29125
29126 TSLIB_LIBS="-ltslib"
29127 TSLIB_CFLAGS=""
29128
29129$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29130
29131 _ecore_have_tslib="yes"
29132
29133else
29134
29135 _ecore_have_tslib="no"
29136
29137fi
29138
29139
29140fi
29141
29142
29143fi
29144
29145
29146
29147else
29148 TSLIB_CFLAGS=$pkg_cv_TSLIB_CFLAGS
29149 TSLIB_LIBS=$pkg_cv_TSLIB_LIBS
29150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29151$as_echo "yes" >&6; }
29152
29153
29154$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29155
29156 _ecore_have_tslib="yes"
29157 _tslib_requirement="tslib"
29158
29159fi
29160
29161else
29162 TSLIB_CFLAGS=$pkg_cv_TSLIB_CFLAGS
29163 TSLIB_LIBS=$pkg_cv_TSLIB_LIBS
29164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29165$as_echo "yes" >&6; }
29166
29167
29168$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29169
29170 _ecore_have_tslib="yes"
29171 _tslib_requirement="tslib-1.0"
29172
29173fi
29174fi
29175
29176
29177
29178
29179if test "x$_ecore_have_tslib" = "xyes" ; then
29180
29181 have_tslib="yes"
29182 requirements_ecore_fb="${_tslib_requirement} ${requirements_ecore_fb}"
29183
29184else
29185 have_tslib="no"
29186fi
29187
29188fi
29189
29190# ecore_directfb
29191
29192
29193
29194have_ecore_directfb=no
29195ecore_directfb_cflags=
29196ecore_directfb_libs=
29197want_module=${want_ecore_directfb}
29198
29199# Check whether --enable-ecore-directfb was given.
29200if test "${enable_ecore_directfb+set}" = set; then :
29201 enableval=$enable_ecore_directfb;
29202 if test "x${enableval}" = "xyes" ; then
29203 want_module="yes"
29204 else
29205 want_module="no"
29206 fi
29207
29208fi
29209
29210
29211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_DirectFB module is to be built" >&5
29212$as_echo_n "checking whether Ecore_DirectFB module is to be built... " >&6; }
29213
29214if test "x${want_module}" = "xyes" ; then
29215 if test "x${have_directfb}" = "x" || test "x${have_directfb}" = "xyes" ; then
29216
29217$as_echo "#define BUILD_ECORE_DIRECTFB 1" >>confdefs.h
29218
29219 have_ecore_directfb="yes"
29220 ecore_directfb_libs="-lecore_directfb"
29221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29222$as_echo "yes" >&6; }
29223 else
29224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
29225$as_echo "no (dependency failed)" >&6; }
29226 fi
29227else
29228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29229$as_echo "no" >&6; }
29230fi
29231
29232 if test "x$have_ecore_directfb" = "xyes"; then
29233 BUILD_ECORE_DIRECTFB_TRUE=
29234 BUILD_ECORE_DIRECTFB_FALSE='#'
29235else
29236 BUILD_ECORE_DIRECTFB_TRUE='#'
29237 BUILD_ECORE_DIRECTFB_FALSE=
29238fi
29239
29240
29241if test "x$have_ecore_directfb" = "xyes"; then :
29242 requirements_ecore_directfb="directfb ${requirements_ecore_directfb}"
29243fi
29244
29245
29246
29247
29248
29249
29250
29251
29252# ecore_wince
29253
29254
29255
29256have_ecore_wince=no
29257ecore_wince_cflags=
29258ecore_wince_libs=
29259want_module=${want_ecore_wince}
29260
29261# Check whether --enable-ecore-wince was given.
29262if test "${enable_ecore_wince+set}" = set; then :
29263 enableval=$enable_ecore_wince;
29264 if test "x${enableval}" = "xyes" ; then
29265 want_module="yes"
29266 else
29267 want_module="no"
29268 fi
29269
29270fi
29271
29272
29273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_WinCE module is to be built" >&5
29274$as_echo_n "checking whether Ecore_WinCE module is to be built... " >&6; }
29275
29276if test "x${want_module}" = "xyes" ; then
29277 if test "x${have_ecore_input}" = "x" || test "x${have_ecore_input}" = "xyes" ; then
29278
29279$as_echo "#define BUILD_ECORE_WINCE 1" >>confdefs.h
29280
29281 have_ecore_wince="yes"
29282 ecore_wince_libs="-lecore_wince"
29283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29284$as_echo "yes" >&6; }
29285 else
29286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
29287$as_echo "no (dependency failed)" >&6; }
29288 fi
29289else
29290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29291$as_echo "no" >&6; }
29292fi
29293
29294 if test "x$have_ecore_wince" = "xyes"; then
29295 BUILD_ECORE_WINCE_TRUE=
29296 BUILD_ECORE_WINCE_FALSE='#'
29297else
29298 BUILD_ECORE_WINCE_TRUE='#'
29299 BUILD_ECORE_WINCE_FALSE=
29300fi
29301
29302
29303if test "x$have_ecore_wince" = "xyes"; then :
29304 requirements_ecore_win32="ecore-input >= 1.1.0 ${requirements_ecore_win32}"
29305fi
29306
29307
29308
29309
29310
29311
29312
29313
29314## Ecore Evas
29315
29316# ecore_evas
29317
29318ecore_evas_deps="no"
29319if test "x${have_evas}" = "xyes" -a "x${have_ecore_input}" = "xyes" -a "x${have_ecore_input_evas}" = "xyes" ; then
29320 ecore_evas_deps="yes"
29321fi
29322
29323
29324
29325have_ecore_evas=no
29326ecore_evas_cflags=
29327ecore_evas_libs=
29328want_module=${want_ecore_evas}
29329
29330# Check whether --enable-ecore-evas was given.
29331if test "${enable_ecore_evas+set}" = set; then :
29332 enableval=$enable_ecore_evas;
29333 if test "x${enableval}" = "xyes" ; then
29334 want_module="yes"
29335 else
29336 want_module="no"
29337 fi
29338
29339fi
29340
29341
29342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Evas module is to be built" >&5
29343$as_echo_n "checking whether Ecore_Evas module is to be built... " >&6; }
29344
29345if test "x${want_module}" = "xyes" ; then
29346 if test "x${ecore_evas_deps}" = "x" || test "x${ecore_evas_deps}" = "xyes" ; then
29347
29348$as_echo "#define BUILD_ECORE_EVAS 1" >>confdefs.h
29349
29350 have_ecore_evas="yes"
29351 ecore_evas_libs="-lecore_evas"
29352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29353$as_echo "yes" >&6; }
29354 else
29355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
29356$as_echo "no (dependency failed)" >&6; }
29357 fi
29358else
29359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29360$as_echo "no" >&6; }
29361fi
29362
29363 if test "x$have_ecore_evas" = "xyes"; then
29364 BUILD_ECORE_EVAS_TRUE=
29365 BUILD_ECORE_EVAS_FALSE='#'
29366else
29367 BUILD_ECORE_EVAS_TRUE='#'
29368 BUILD_ECORE_EVAS_FALSE=
29369fi
29370
29371
29372if test "x$have_ecore_evas" = "xyes"; then :
29373 requirements_ecore_evas="ecore-input >= 1.1.0 ecore-input-evas >= 1.1.0 evas >= 1.1.0 ${requirements_ecore_evas}"
29374fi
29375
29376
29377
29378
29379
29380
29381
29382
29383# ecore_evas_buffer
29384
29385
29386
29387have_ecore_evas_software_buffer="no"
29388want_module="${want_ecore_evas_software_buffer}"
29389
29390# Check whether --enable-ecore-evas-software-buffer was given.
29391if test "${enable_ecore_evas_software_buffer+set}" = set; then :
29392 enableval=$enable_ecore_evas_software_buffer;
29393 if test "x${enableval}" = "xyes" ; then
29394 want_module="yes"
29395 else
29396 want_module="no"
29397 fi
29398
29399fi
29400
29401
29402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software Buffer support is to be built" >&5
29403$as_echo_n "checking whether ecore_evas Software Buffer support is to be built... " >&6; }
29404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
29405$as_echo "${want_module}" >&6; }
29406
29407if test "xyes" = "xyes" -a \
29408 "x$have_ecore_evas" = "xyes" -a \
29409 "x$want_module" = "xyes" ; then
29410 if test -n "$PKG_CONFIG" && \
29411 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-buffer\""; } >&5
29412 ($PKG_CONFIG --exists --print-errors "evas-software-buffer") 2>&5
29413 ac_status=$?
29414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29415 test $ac_status = 0; }; then
29416
29417
29418$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_BUFFER 1" >>confdefs.h
29419
29420 have_ecore_evas_software_buffer="yes"
29421
29422fi
29423fi
29424
29425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software Buffer support is built" >&5
29426$as_echo_n "checking whether ecore_evas Software Buffer support is built... " >&6; }
29427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_buffer" >&5
29428$as_echo "$have_ecore_evas_software_buffer" >&6; }
29429
29430if test "x$have_ecore_evas_software_buffer" = "xyes"; then :
29431
29432fi
29433
29434
29435
29436
29437
29438# ecore_evas_x11
29439
29440# ecore_evas_software_x11
29441
29442
29443
29444have_ecore_evas_software_x11="no"
29445want_module="${want_ecore_evas_software_x11}"
29446
29447# Check whether --enable-ecore-evas-software-x11 was given.
29448if test "${enable_ecore_evas_software_x11+set}" = set; then :
29449 enableval=$enable_ecore_evas_software_x11;
29450 if test "x${enableval}" = "xyes" ; then
29451 want_module="yes"
29452 else
29453 want_module="no"
29454 fi
29455
29456fi
29457
29458
29459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software X11 support is to be built" >&5
29460$as_echo_n "checking whether ecore_evas Software X11 support is to be built... " >&6; }
29461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
29462$as_echo "${want_module}" >&6; }
29463
29464if test "x${have_ecore_x}" = "xyes" -a \
29465 "x$have_ecore_evas" = "xyes" -a \
29466 "x$want_module" = "xyes" ; then
29467 if test -n "$PKG_CONFIG" && \
29468 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-x11\""; } >&5
29469 ($PKG_CONFIG --exists --print-errors "evas-software-x11") 2>&5
29470 ac_status=$?
29471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29472 test $ac_status = 0; }; then
29473
29474
29475$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_X11 1" >>confdefs.h
29476
29477 have_ecore_evas_software_x11="yes"
29478
29479fi
29480fi
29481
29482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software X11 support is built" >&5
29483$as_echo_n "checking whether ecore_evas Software X11 support is built... " >&6; }
29484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_x11" >&5
29485$as_echo "$have_ecore_evas_software_x11" >&6; }
29486
29487if test "x$have_ecore_evas_software_x11" = "xyes"; then :
29488
29489fi
29490
29491
29492
29493
29494
29495have_ecore_evas_software_xlib="no"
29496have_ecore_evas_software_xcb="no"
29497if test "x$have_ecore_evas_software_x11" = "xyes" ; then
29498 have_ecore_evas_software_xlib=`${PKG_CONFIG} --variable=Xlib evas-software-x11`
29499 if test "x${have_ecore_evas_software_xlib}" = "xstatic"; then
29500 have_ecore_evas_software_xlib="yes"
29501 fi
29502 if test "x${have_ecore_evas_software_xlib}" = "xyes" -a "x${have_ecore_x_xlib}" = "xyes" ; then
29503
29504$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_XLIB 1" >>confdefs.h
29505
29506 fi
29507 have_ecore_evas_software_xcb=`${PKG_CONFIG} --variable=XCB evas-software-x11`
29508 if test "x$have_ecore_evas_software_xcb" = "xstatic"; then
29509 have_ecore_evas_software_xcb="yes"
29510 fi
29511 if test "x$have_ecore_evas_software_xcb" = "xyes" -a "x${have_ecore_x_xcb}" = "xyes" ; then
29512
29513$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_XCB 1" >>confdefs.h
29514
29515 fi
29516fi
29517
29518# ecore_evas_opengl_x11
29519
29520
29521
29522have_ecore_evas_opengl_x11="no"
29523want_module="${want_ecore_evas_opengl_x11}"
29524
29525# Check whether --enable-ecore-evas-opengl-x11 was given.
29526if test "${enable_ecore_evas_opengl_x11+set}" = set; then :
29527 enableval=$enable_ecore_evas_opengl_x11;
29528 if test "x${enableval}" = "xyes" ; then
29529 want_module="yes"
29530 else
29531 want_module="no"
29532 fi
29533
29534fi
29535
29536
29537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL Xlib support is to be built" >&5
29538$as_echo_n "checking whether ecore_evas OpenGL Xlib support is to be built... " >&6; }
29539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
29540$as_echo "${want_module}" >&6; }
29541
29542if test "x${have_ecore_x}" = "xyes" -a \
29543 "x$have_ecore_evas" = "xyes" -a \
29544 "x$want_module" = "xyes" ; then
29545 if test -n "$PKG_CONFIG" && \
29546 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-x11\""; } >&5
29547 ($PKG_CONFIG --exists --print-errors "evas-opengl-x11") 2>&5
29548 ac_status=$?
29549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29550 test $ac_status = 0; }; then
29551
29552
29553$as_echo "#define BUILD_ECORE_EVAS_OPENGL_X11 1" >>confdefs.h
29554
29555 have_ecore_evas_opengl_x11="yes"
29556
29557fi
29558fi
29559
29560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL Xlib support is built" >&5
29561$as_echo_n "checking whether ecore_evas OpenGL Xlib support is built... " >&6; }
29562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_opengl_x11" >&5
29563$as_echo "$have_ecore_evas_opengl_x11" >&6; }
29564
29565if test "x$have_ecore_evas_opengl_x11" = "xyes"; then :
29566
29567fi
29568
29569
29570
29571
29572
29573have_ecore_evas_opengl_xlib="no"
29574have_ecore_evas_opengl_xcb="no"
29575if test "x${have_ecore_evas_opengl_x11}" = "xyes" -o "x${have_ecore_evas_opengl_x11}" = "xstatic" ; then
29576 have_ecore_evas_opengl_xlib=`${PKG_CONFIG} --variable=Xlib evas-opengl-x11`
29577 if test "x${have_ecore_evas_opengl_xlib}" = "xyes" ; then
29578
29579$as_echo "#define BUILD_ECORE_EVAS_OPENGL_XLIB 1" >>confdefs.h
29580
29581 fi
29582
29583# opengl does not work with xcb (yet)
29584 have_ecore_evas_opengl_xcb=`${PKG_CONFIG} --variable=XCB evas-opengl-x11`
29585 if test "x${have_ecore_evas_opengl_xcb}" = "xstatic"; then
29586 have_ecore_evas_opengl_xcb="yes"
29587 fi
29588 if test "x${have_ecore_evas_opengl_xcb}" = "xyes" -a "x${have_ecore_x_xcb}" = "xyes" ; then
29589
29590pkg_failed=no
29591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_X11" >&5
29592$as_echo_n "checking for XCB_X11... " >&6; }
29593
29594if test -n "$XCB_X11_CFLAGS"; then
29595 pkg_cv_XCB_X11_CFLAGS="$XCB_X11_CFLAGS"
29596 elif test -n "$PKG_CONFIG"; then
29597 if test -n "$PKG_CONFIG" && \
29598 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb\""; } >&5
29599 ($PKG_CONFIG --exists --print-errors "x11-xcb") 2>&5
29600 ac_status=$?
29601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29602 test $ac_status = 0; }; then
29603 pkg_cv_XCB_X11_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb" 2>/dev/null`
29604else
29605 pkg_failed=yes
29606fi
29607 else
29608 pkg_failed=untried
29609fi
29610if test -n "$XCB_X11_LIBS"; then
29611 pkg_cv_XCB_X11_LIBS="$XCB_X11_LIBS"
29612 elif test -n "$PKG_CONFIG"; then
29613 if test -n "$PKG_CONFIG" && \
29614 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb\""; } >&5
29615 ($PKG_CONFIG --exists --print-errors "x11-xcb") 2>&5
29616 ac_status=$?
29617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29618 test $ac_status = 0; }; then
29619 pkg_cv_XCB_X11_LIBS=`$PKG_CONFIG --libs "x11-xcb" 2>/dev/null`
29620else
29621 pkg_failed=yes
29622fi
29623 else
29624 pkg_failed=untried
29625fi
29626
29627
29628
29629if test $pkg_failed = yes; then
29630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29631$as_echo "no" >&6; }
29632
29633if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29634 _pkg_short_errors_supported=yes
29635else
29636 _pkg_short_errors_supported=no
29637fi
29638 if test $_pkg_short_errors_supported = yes; then
29639 XCB_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11-xcb" 2>&1`
29640 else
29641 XCB_X11_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11-xcb" 2>&1`
29642 fi
29643 # Put the nasty error message in config.log where it belongs
29644 echo "$XCB_X11_PKG_ERRORS" >&5
29645
29646 have_ecore_x_opengl_xcb="no"
29647elif test $pkg_failed = untried; then
29648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29649$as_echo "no" >&6; }
29650 have_ecore_x_opengl_xcb="no"
29651else
29652 XCB_X11_CFLAGS=$pkg_cv_XCB_X11_CFLAGS
29653 XCB_X11_LIBS=$pkg_cv_XCB_X11_LIBS
29654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29655$as_echo "yes" >&6; }
29656 have_ecore_x_opengl_xcb="yes"
29657 requirements_ecore_x="x11-xcb ${requirements_ecore_x}"
29658
29659$as_echo "#define BUILD_ECORE_X_OPENGL_XCB 1" >>confdefs.h
29660
29661
29662$as_echo "#define BUILD_ECORE_EVAS_OPENGL_XCB 1" >>confdefs.h
29663
29664
29665fi
29666 else
29667 have_ecore_x_opengl_xcb="no"
29668 { $as_echo "$as_me:${as_lineno-$LINENO}: \"XCB-based OpenGL explicitly disabled\"" >&5
29669$as_echo "$as_me: \"XCB-based OpenGL explicitly disabled\"" >&6;}
29670 fi
29671fi
29672
29673# ecore_evas_software_x11 16 bits
29674
29675
29676
29677have_ecore_evas_software_16_x11="no"
29678want_module="${want_ecore_evas_software_16_x11}"
29679
29680# Check whether --enable-ecore-evas-software-16-x11 was given.
29681if test "${enable_ecore_evas_software_16_x11+set}" = set; then :
29682 enableval=$enable_ecore_evas_software_16_x11;
29683 if test "x${enableval}" = "xyes" ; then
29684 want_module="yes"
29685 else
29686 want_module="no"
29687 fi
29688
29689fi
29690
29691
29692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software Xlib 16 bits support is to be built" >&5
29693$as_echo_n "checking whether ecore_evas Software Xlib 16 bits support is to be built... " >&6; }
29694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
29695$as_echo "${want_module}" >&6; }
29696
29697if test "x${have_ecore_x_xlib}" = "xyes" -a \
29698 "x$have_ecore_evas" = "xyes" -a \
29699 "x$want_module" = "xyes" ; then
29700 if test -n "$PKG_CONFIG" && \
29701 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-16-x11\""; } >&5
29702 ($PKG_CONFIG --exists --print-errors "evas-software-16-x11") 2>&5
29703 ac_status=$?
29704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29705 test $ac_status = 0; }; then
29706
29707
29708$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_16_X11 1" >>confdefs.h
29709
29710 have_ecore_evas_software_16_x11="yes"
29711
29712fi
29713fi
29714
29715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software Xlib 16 bits support is built" >&5
29716$as_echo_n "checking whether ecore_evas Software Xlib 16 bits support is built... " >&6; }
29717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_16_x11" >&5
29718$as_echo "$have_ecore_evas_software_16_x11" >&6; }
29719
29720if test "x$have_ecore_evas_software_16_x11" = "xyes"; then :
29721
29722fi
29723
29724
29725
29726
29727
29728
29729
29730have_ecore_evas_software_8_x11="no"
29731want_module="$want_ecore_evas_software_8_x11"
29732
29733# Check whether --enable-ecore-evas-software-8-x11 was given.
29734if test "${enable_ecore_evas_software_8_x11+set}" = set; then :
29735 enableval=$enable_ecore_evas_software_8_x11;
29736 if test "x${enableval}" = "xyes" ; then
29737 want_module="yes"
29738 else
29739 want_module="no"
29740 fi
29741
29742fi
29743
29744
29745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software 8bit X11 support is to be built" >&5
29746$as_echo_n "checking whether ecore_evas Software 8bit X11 support is to be built... " >&6; }
29747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
29748$as_echo "${want_module}" >&6; }
29749
29750if test "x$have_ecore_x_xcb" = "xyes" -a \
29751 "x$have_ecore_evas" = "xyes" -a \
29752 "x$want_module" = "xyes" ; then
29753 if test -n "$PKG_CONFIG" && \
29754 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-8-x11\""; } >&5
29755 ($PKG_CONFIG --exists --print-errors "evas-software-8-x11") 2>&5
29756 ac_status=$?
29757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29758 test $ac_status = 0; }; then
29759
29760
29761$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_8_X11 1" >>confdefs.h
29762
29763 have_ecore_evas_software_8_x11="yes"
29764
29765fi
29766fi
29767
29768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software 8bit X11 support is built" >&5
29769$as_echo_n "checking whether ecore_evas Software 8bit X11 support is built... " >&6; }
29770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_8_x11" >&5
29771$as_echo "$have_ecore_evas_software_8_x11" >&6; }
29772
29773if test "x$have_ecore_evas_software_8_x11" = "xyes"; then :
29774
29775fi
29776
29777
29778
29779
29780
29781
29782if test "x$have_ecore_evas_software_x11" = "xyes" -o \
29783 "x$have_ecore_evas_opengl_x11" = "xyes" -o \
29784 "x$have_ecore_evas_software_8_x11" = "xyes" -o \
29785 "x$have_ecore_evas_software_16_x11" = "xyes" -o \
29786 "x$have_ecore_evas_software_xcb" = "xyes"; then
29787
29788$as_echo "#define BUILD_ECORE_EVAS_X11 1" >>confdefs.h
29789
29790 requirements_ecore_evas="ecore-x >= 1.1.0 ${requirements_ecore_evas}"
29791fi
29792
29793# ecore_evas_win32
29794
29795
29796
29797have_ecore_evas_software_gdi="no"
29798want_module="${want_ecore_evas_software_gdi}"
29799
29800# Check whether --enable-ecore-evas-software-gdi was given.
29801if test "${enable_ecore_evas_software_gdi+set}" = set; then :
29802 enableval=$enable_ecore_evas_software_gdi;
29803 if test "x${enableval}" = "xyes" ; then
29804 want_module="yes"
29805 else
29806 want_module="no"
29807 fi
29808
29809fi
29810
29811
29812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software GDI support is to be built" >&5
29813$as_echo_n "checking whether ecore_evas Software GDI support is to be built... " >&6; }
29814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
29815$as_echo "${want_module}" >&6; }
29816
29817if test "x${have_ecore_win32}" = "xyes" -a \
29818 "x$have_ecore_evas" = "xyes" -a \
29819 "x$want_module" = "xyes" ; then
29820 if test -n "$PKG_CONFIG" && \
29821 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-gdi\""; } >&5
29822 ($PKG_CONFIG --exists --print-errors "evas-software-gdi") 2>&5
29823 ac_status=$?
29824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29825 test $ac_status = 0; }; then
29826
29827
29828$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_GDI 1" >>confdefs.h
29829
29830 have_ecore_evas_software_gdi="yes"
29831
29832fi
29833fi
29834
29835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software GDI support is built" >&5
29836$as_echo_n "checking whether ecore_evas Software GDI support is built... " >&6; }
29837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_gdi" >&5
29838$as_echo "$have_ecore_evas_software_gdi" >&6; }
29839
29840if test "x$have_ecore_evas_software_gdi" = "xyes"; then :
29841
29842fi
29843
29844
29845
29846
29847
29848
29849
29850have_ecore_evas_software_ddraw="no"
29851want_module="${want_ecore_evas_software_ddraw}"
29852
29853# Check whether --enable-ecore-evas-software-ddraw was given.
29854if test "${enable_ecore_evas_software_ddraw+set}" = set; then :
29855 enableval=$enable_ecore_evas_software_ddraw;
29856 if test "x${enableval}" = "xyes" ; then
29857 want_module="yes"
29858 else
29859 want_module="no"
29860 fi
29861
29862fi
29863
29864
29865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software DirectDraw support is to be built" >&5
29866$as_echo_n "checking whether ecore_evas Software DirectDraw support is to be built... " >&6; }
29867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
29868$as_echo "${want_module}" >&6; }
29869
29870if test "x${have_ecore_win32}" = "xyes" -a \
29871 "x$have_ecore_evas" = "xyes" -a \
29872 "x$want_module" = "xyes" ; then
29873 if test -n "$PKG_CONFIG" && \
29874 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-ddraw\""; } >&5
29875 ($PKG_CONFIG --exists --print-errors "evas-software-ddraw") 2>&5
29876 ac_status=$?
29877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29878 test $ac_status = 0; }; then
29879
29880
29881$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_DDRAW 1" >>confdefs.h
29882
29883 have_ecore_evas_software_ddraw="yes"
29884
29885fi
29886fi
29887
29888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software DirectDraw support is built" >&5
29889$as_echo_n "checking whether ecore_evas Software DirectDraw support is built... " >&6; }
29890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_ddraw" >&5
29891$as_echo "$have_ecore_evas_software_ddraw" >&6; }
29892
29893if test "x$have_ecore_evas_software_ddraw" = "xyes"; then :
29894
29895fi
29896
29897
29898
29899
29900
29901
29902
29903have_ecore_evas_direct3d="no"
29904want_module="${want_ecore_evas_direct3d}"
29905
29906# Check whether --enable-ecore-evas-direct3d was given.
29907if test "${enable_ecore_evas_direct3d+set}" = set; then :
29908 enableval=$enable_ecore_evas_direct3d;
29909 if test "x${enableval}" = "xyes" ; then
29910 want_module="yes"
29911 else
29912 want_module="no"
29913 fi
29914
29915fi
29916
29917
29918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Direct3d support is to be built" >&5
29919$as_echo_n "checking whether ecore_evas Direct3d support is to be built... " >&6; }
29920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
29921$as_echo "${want_module}" >&6; }
29922
29923if test "x${have_ecore_win32}" = "xyes" -a \
29924 "x$have_ecore_evas" = "xyes" -a \
29925 "x$want_module" = "xyes" ; then
29926 if test -n "$PKG_CONFIG" && \
29927 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-direct3d\""; } >&5
29928 ($PKG_CONFIG --exists --print-errors "evas-direct3d") 2>&5
29929 ac_status=$?
29930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29931 test $ac_status = 0; }; then
29932
29933
29934$as_echo "#define BUILD_ECORE_EVAS_DIRECT3D 1" >>confdefs.h
29935
29936 have_ecore_evas_direct3d="yes"
29937
29938fi
29939fi
29940
29941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Direct3d support is built" >&5
29942$as_echo_n "checking whether ecore_evas Direct3d support is built... " >&6; }
29943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_direct3d" >&5
29944$as_echo "$have_ecore_evas_direct3d" >&6; }
29945
29946if test "x$have_ecore_evas_direct3d" = "xyes"; then :
29947
29948fi
29949
29950
29951
29952
29953
29954
29955
29956have_ecore_evas_opengl_glew="no"
29957want_module="${want_ecore_evas_opengl_glew}"
29958
29959# Check whether --enable-ecore-evas-opengl-glew was given.
29960if test "${enable_ecore_evas_opengl_glew+set}" = set; then :
29961 enableval=$enable_ecore_evas_opengl_glew;
29962 if test "x${enableval}" = "xyes" ; then
29963 want_module="yes"
29964 else
29965 want_module="no"
29966 fi
29967
29968fi
29969
29970
29971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Glew OpenGL support is to be built" >&5
29972$as_echo_n "checking whether ecore_evas Glew OpenGL support is to be built... " >&6; }
29973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
29974$as_echo "${want_module}" >&6; }
29975
29976if test "x${have_ecore_win32}" = "xyes" -a \
29977 "x$have_ecore_evas" = "xyes" -a \
29978 "x$want_module" = "xyes" ; then
29979 if test -n "$PKG_CONFIG" && \
29980 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-glew\""; } >&5
29981 ($PKG_CONFIG --exists --print-errors "evas-opengl-glew") 2>&5
29982 ac_status=$?
29983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29984 test $ac_status = 0; }; then
29985
29986
29987$as_echo "#define BUILD_ECORE_EVAS_OPENGL_GLEW 1" >>confdefs.h
29988
29989 have_ecore_evas_opengl_glew="yes"
29990
29991fi
29992fi
29993
29994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Glew OpenGL support is built" >&5
29995$as_echo_n "checking whether ecore_evas Glew OpenGL support is built... " >&6; }
29996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_opengl_glew" >&5
29997$as_echo "$have_ecore_evas_opengl_glew" >&6; }
29998
29999if test "x$have_ecore_evas_opengl_glew" = "xyes"; then :
30000
30001fi
30002
30003
30004
30005
30006
30007
30008
30009have_ecore_evas_software_16_ddraw="no"
30010want_module="${want_ecore_evas_software_16_ddraw}"
30011
30012# Check whether --enable-ecore-evas-software-16-ddraw was given.
30013if test "${enable_ecore_evas_software_16_ddraw+set}" = set; then :
30014 enableval=$enable_ecore_evas_software_16_ddraw;
30015 if test "x${enableval}" = "xyes" ; then
30016 want_module="yes"
30017 else
30018 want_module="no"
30019 fi
30020
30021fi
30022
30023
30024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas 16 bpp Software DirectDraw support is to be built" >&5
30025$as_echo_n "checking whether ecore_evas 16 bpp Software DirectDraw support is to be built... " >&6; }
30026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30027$as_echo "${want_module}" >&6; }
30028
30029if test "x${have_ecore_win32}" = "xyes" -a \
30030 "x$have_ecore_evas" = "xyes" -a \
30031 "x$want_module" = "xyes" ; then
30032 if test -n "$PKG_CONFIG" && \
30033 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-16-ddraw\""; } >&5
30034 ($PKG_CONFIG --exists --print-errors "evas-software-16-ddraw") 2>&5
30035 ac_status=$?
30036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30037 test $ac_status = 0; }; then
30038
30039
30040$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_16_DDRAW 1" >>confdefs.h
30041
30042 have_ecore_evas_software_16_ddraw="yes"
30043
30044fi
30045fi
30046
30047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas 16 bpp Software DirectDraw support is built" >&5
30048$as_echo_n "checking whether ecore_evas 16 bpp Software DirectDraw support is built... " >&6; }
30049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_16_ddraw" >&5
30050$as_echo "$have_ecore_evas_software_16_ddraw" >&6; }
30051
30052if test "x$have_ecore_evas_software_16_ddraw" = "xyes"; then :
30053
30054fi
30055
30056
30057
30058
30059
30060if test "x${have_ecore_evas_software_gdi}" = "xyes" -o \
30061 "x${have_ecore_evas_software_ddraw}" = "xyes" -o \
30062 "x${have_ecore_evas_direct3d}" = "xyes" -o \
30063 "x${have_ecore_evas_opengl_glew}" = "xyes" -o \
30064 "x${have_ecore_evas_software_16_ddraw}" = "xyes" ; then
30065
30066$as_echo "#define BUILD_ECORE_EVAS_WIN32 1" >>confdefs.h
30067
30068 requirements_ecore_evas="ecore-win32 >= 1.1.0 ${requirements_ecore_evas}"
30069fi
30070
30071# ecore_evas_software_sdl
30072
30073
30074
30075have_ecore_evas_software_sdl="no"
30076want_module="${want_ecore_evas_software_sdl}"
30077
30078# Check whether --enable-ecore-evas-software-sdl was given.
30079if test "${enable_ecore_evas_software_sdl+set}" = set; then :
30080 enableval=$enable_ecore_evas_software_sdl;
30081 if test "x${enableval}" = "xyes" ; then
30082 want_module="yes"
30083 else
30084 want_module="no"
30085 fi
30086
30087fi
30088
30089
30090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software SDL support is to be built" >&5
30091$as_echo_n "checking whether ecore_evas Software SDL support is to be built... " >&6; }
30092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30093$as_echo "${want_module}" >&6; }
30094
30095if test "x${have_ecore_sdl}" = "xyes" -a \
30096 "x$have_ecore_evas" = "xyes" -a \
30097 "x$want_module" = "xyes" ; then
30098 if test -n "$PKG_CONFIG" && \
30099 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-sdl\""; } >&5
30100 ($PKG_CONFIG --exists --print-errors "evas-software-sdl") 2>&5
30101 ac_status=$?
30102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30103 test $ac_status = 0; }; then
30104
30105
30106$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_SDL 1" >>confdefs.h
30107
30108 have_ecore_evas_software_sdl="yes"
30109
30110fi
30111fi
30112
30113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software SDL support is built" >&5
30114$as_echo_n "checking whether ecore_evas Software SDL support is built... " >&6; }
30115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_sdl" >&5
30116$as_echo "$have_ecore_evas_software_sdl" >&6; }
30117
30118if test "x$have_ecore_evas_software_sdl" = "xyes"; then :
30119 requirements_ecore_evas="ecore-sdl >= 1.1.0 ${requirements_ecore_evas}"
30120fi
30121
30122
30123
30124
30125
30126# ecore_evas_gl_sdl
30127
30128
30129
30130have_ecore_evas_opengl_sdl="no"
30131want_module="${want_ecore_evas_gl_sdl}"
30132
30133# Check whether --enable-ecore-evas-opengl-sdl was given.
30134if test "${enable_ecore_evas_opengl_sdl+set}" = set; then :
30135 enableval=$enable_ecore_evas_opengl_sdl;
30136 if test "x${enableval}" = "xyes" ; then
30137 want_module="yes"
30138 else
30139 want_module="no"
30140 fi
30141
30142fi
30143
30144
30145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL SDL support is to be built" >&5
30146$as_echo_n "checking whether ecore_evas OpenGL SDL support is to be built... " >&6; }
30147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30148$as_echo "${want_module}" >&6; }
30149
30150if test "x${have_ecore_sdl}" = "xyes" -a \
30151 "x$have_ecore_evas" = "xyes" -a \
30152 "x$want_module" = "xyes" ; then
30153 if test -n "$PKG_CONFIG" && \
30154 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-sdl\""; } >&5
30155 ($PKG_CONFIG --exists --print-errors "evas-opengl-sdl") 2>&5
30156 ac_status=$?
30157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30158 test $ac_status = 0; }; then
30159
30160
30161$as_echo "#define BUILD_ECORE_EVAS_OPENGL_SDL 1" >>confdefs.h
30162
30163 have_ecore_evas_opengl_sdl="yes"
30164
30165fi
30166fi
30167
30168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL SDL support is built" >&5
30169$as_echo_n "checking whether ecore_evas OpenGL SDL support is built... " >&6; }
30170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_opengl_sdl" >&5
30171$as_echo "$have_ecore_evas_opengl_sdl" >&6; }
30172
30173if test "x$have_ecore_evas_opengl_sdl" = "xyes"; then :
30174 requirements_ecore_evas="ecore-sdl >= 1.1.0 ${requirements_ecore_evas}"
30175fi
30176
30177
30178
30179
30180
30181# ecore_evas_cocoa
30182
30183
30184
30185have_ecore_evas_opengl_cocoa="no"
30186want_module="${want_ecore_evas_gl_cocoa}"
30187
30188# Check whether --enable-ecore-evas-opengl-cocoa was given.
30189if test "${enable_ecore_evas_opengl_cocoa+set}" = set; then :
30190 enableval=$enable_ecore_evas_opengl_cocoa;
30191 if test "x${enableval}" = "xyes" ; then
30192 want_module="yes"
30193 else
30194 want_module="no"
30195 fi
30196
30197fi
30198
30199
30200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL Cocoa support is to be built" >&5
30201$as_echo_n "checking whether ecore_evas OpenGL Cocoa support is to be built... " >&6; }
30202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30203$as_echo "${want_module}" >&6; }
30204
30205if test "x${have_ecore_cocoa}" = "xyes" -a \
30206 "x$have_ecore_evas" = "xyes" -a \
30207 "x$want_module" = "xyes" ; then
30208 if test -n "$PKG_CONFIG" && \
30209 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-cocoa\""; } >&5
30210 ($PKG_CONFIG --exists --print-errors "evas-opengl-cocoa") 2>&5
30211 ac_status=$?
30212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30213 test $ac_status = 0; }; then
30214
30215
30216$as_echo "#define BUILD_ECORE_EVAS_OPENGL_COCOA 1" >>confdefs.h
30217
30218 have_ecore_evas_opengl_cocoa="yes"
30219
30220fi
30221fi
30222
30223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL Cocoa support is built" >&5
30224$as_echo_n "checking whether ecore_evas OpenGL Cocoa support is built... " >&6; }
30225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_opengl_cocoa" >&5
30226$as_echo "$have_ecore_evas_opengl_cocoa" >&6; }
30227
30228if test "x$have_ecore_evas_opengl_cocoa" = "xyes"; then :
30229 requirements_ecore_evas="ecore-cocoa >= 1.1.0 ${requirements_ecore_evas}"
30230fi
30231
30232
30233
30234
30235
30236# ecore_evas_directfb
30237
30238
30239
30240have_ecore_evas_directfb="no"
30241want_module="${want_ecore_evas_directfb}"
30242
30243# Check whether --enable-ecore-evas-directfb was given.
30244if test "${enable_ecore_evas_directfb+set}" = set; then :
30245 enableval=$enable_ecore_evas_directfb;
30246 if test "x${enableval}" = "xyes" ; then
30247 want_module="yes"
30248 else
30249 want_module="no"
30250 fi
30251
30252fi
30253
30254
30255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas DirectFB support is to be built" >&5
30256$as_echo_n "checking whether ecore_evas DirectFB support is to be built... " >&6; }
30257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30258$as_echo "${want_module}" >&6; }
30259
30260if test "x${have_ecore_directfb}" = "xyes" -a \
30261 "x$have_ecore_evas" = "xyes" -a \
30262 "x$want_module" = "xyes" ; then
30263 if test -n "$PKG_CONFIG" && \
30264 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-directfb\""; } >&5
30265 ($PKG_CONFIG --exists --print-errors "evas-directfb") 2>&5
30266 ac_status=$?
30267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30268 test $ac_status = 0; }; then
30269
30270
30271$as_echo "#define BUILD_ECORE_EVAS_DIRECTFB 1" >>confdefs.h
30272
30273 have_ecore_evas_directfb="yes"
30274
30275fi
30276fi
30277
30278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas DirectFB support is built" >&5
30279$as_echo_n "checking whether ecore_evas DirectFB support is built... " >&6; }
30280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_directfb" >&5
30281$as_echo "$have_ecore_evas_directfb" >&6; }
30282
30283if test "x$have_ecore_evas_directfb" = "xyes"; then :
30284 requirements_ecore_evas="ecore-directfb >= 1.1.0 ${requirements_ecore_evas}"
30285fi
30286
30287
30288
30289
30290
30291# ecore_evas_fb
30292
30293
30294
30295have_ecore_evas_fb="no"
30296want_module="${want_ecore_evas_fb}"
30297
30298# Check whether --enable-ecore-evas-fb was given.
30299if test "${enable_ecore_evas_fb+set}" = set; then :
30300 enableval=$enable_ecore_evas_fb;
30301 if test "x${enableval}" = "xyes" ; then
30302 want_module="yes"
30303 else
30304 want_module="no"
30305 fi
30306
30307fi
30308
30309
30310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Linux Framebuffer support is to be built" >&5
30311$as_echo_n "checking whether ecore_evas Linux Framebuffer support is to be built... " >&6; }
30312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30313$as_echo "${want_module}" >&6; }
30314
30315if test "x${have_ecore_fb}" = "xyes" -a \
30316 "x$have_ecore_evas" = "xyes" -a \
30317 "x$want_module" = "xyes" ; then
30318 if test -n "$PKG_CONFIG" && \
30319 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-fb\""; } >&5
30320 ($PKG_CONFIG --exists --print-errors "evas-fb") 2>&5
30321 ac_status=$?
30322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30323 test $ac_status = 0; }; then
30324
30325
30326$as_echo "#define BUILD_ECORE_EVAS_FB 1" >>confdefs.h
30327
30328 have_ecore_evas_fb="yes"
30329
30330fi
30331fi
30332
30333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Linux Framebuffer support is built" >&5
30334$as_echo_n "checking whether ecore_evas Linux Framebuffer support is built... " >&6; }
30335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_fb" >&5
30336$as_echo "$have_ecore_evas_fb" >&6; }
30337
30338if test "x$have_ecore_evas_fb" = "xyes"; then :
30339 requirements_ecore_evas="ecore-fb >= 1.1.0 ${requirements_ecore_evas}"
30340fi
30341
30342
30343
30344
30345
30346# ecore_evas_wince
30347
30348
30349
30350have_ecore_evas_software_16_wince="no"
30351want_module="${want_ecore_evas_software_16_wince}"
30352
30353# Check whether --enable-ecore-evas-software-16-wince was given.
30354if test "${enable_ecore_evas_software_16_wince+set}" = set; then :
30355 enableval=$enable_ecore_evas_software_16_wince;
30356 if test "x${enableval}" = "xyes" ; then
30357 want_module="yes"
30358 else
30359 want_module="no"
30360 fi
30361
30362fi
30363
30364
30365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas 16 bpp Software Windows CE support is to be built" >&5
30366$as_echo_n "checking whether ecore_evas 16 bpp Software Windows CE support is to be built... " >&6; }
30367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30368$as_echo "${want_module}" >&6; }
30369
30370if test "x${have_ecore_wince}" = "xyes" -a \
30371 "x$have_ecore_evas" = "xyes" -a \
30372 "x$want_module" = "xyes" ; then
30373 if test -n "$PKG_CONFIG" && \
30374 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-16-wince\""; } >&5
30375 ($PKG_CONFIG --exists --print-errors "evas-software-16-wince") 2>&5
30376 ac_status=$?
30377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30378 test $ac_status = 0; }; then
30379
30380
30381$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_16_WINCE 1" >>confdefs.h
30382
30383 have_ecore_evas_software_16_wince="yes"
30384
30385fi
30386fi
30387
30388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas 16 bpp Software Windows CE support is built" >&5
30389$as_echo_n "checking whether ecore_evas 16 bpp Software Windows CE support is built... " >&6; }
30390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_16_wince" >&5
30391$as_echo "$have_ecore_evas_software_16_wince" >&6; }
30392
30393if test "x$have_ecore_evas_software_16_wince" = "xyes"; then :
30394 requirements_ecore_evas="ecore-wince >= 1.1.0 ${requirements_ecore_evas}"
30395fi
30396
30397
30398
30399
30400
30401# ecore_evas_ews
30402
30403
30404
30405have_ecore_evas_ews="no"
30406want_module="${want_ecore_evas_ews}"
30407
30408# Check whether --enable-ecore-evas-ews was given.
30409if test "${enable_ecore_evas_ews+set}" = set; then :
30410 enableval=$enable_ecore_evas_ews;
30411 if test "x${enableval}" = "xyes" ; then
30412 want_module="yes"
30413 else
30414 want_module="no"
30415 fi
30416
30417fi
30418
30419
30420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Ecore Evas Single Process Windowing System support is to be built" >&5
30421$as_echo_n "checking whether ecore_evas Ecore Evas Single Process Windowing System support is to be built... " >&6; }
30422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30423$as_echo "${want_module}" >&6; }
30424
30425if test "xyes" = "xyes" -a \
30426 "x$have_ecore_evas" = "xyes" -a \
30427 "x$want_module" = "xyes" ; then
30428 if test -n "$PKG_CONFIG" && \
30429 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-buffer\""; } >&5
30430 ($PKG_CONFIG --exists --print-errors "evas-software-buffer") 2>&5
30431 ac_status=$?
30432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30433 test $ac_status = 0; }; then
30434
30435
30436$as_echo "#define BUILD_ECORE_EVAS_EWS 1" >>confdefs.h
30437
30438 have_ecore_evas_ews="yes"
30439
30440fi
30441fi
30442
30443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Ecore Evas Single Process Windowing System support is built" >&5
30444$as_echo_n "checking whether ecore_evas Ecore Evas Single Process Windowing System support is built... " >&6; }
30445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_ews" >&5
30446$as_echo "$have_ecore_evas_ews" >&6; }
30447
30448if test "x$have_ecore_evas_ews" = "xyes"; then :
30449
30450fi
30451
30452
30453
30454
30455
30456# ecore_evas_psl1ght
30457
30458
30459
30460have_ecore_evas_psl1ght="no"
30461want_module="${want_ecore_evas_psl1ght}"
30462
30463# Check whether --enable-ecore-evas-psl1ght was given.
30464if test "${enable_ecore_evas_psl1ght+set}" = set; then :
30465 enableval=$enable_ecore_evas_psl1ght;
30466 if test "x${enableval}" = "xyes" ; then
30467 want_module="yes"
30468 else
30469 want_module="no"
30470 fi
30471
30472fi
30473
30474
30475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas PSL1GHT support is to be built" >&5
30476$as_echo_n "checking whether ecore_evas PSL1GHT support is to be built... " >&6; }
30477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30478$as_echo "${want_module}" >&6; }
30479
30480if test "x${have_ecore_psl1ght}" = "xyes" -a \
30481 "x$have_ecore_evas" = "xyes" -a \
30482 "x$want_module" = "xyes" ; then
30483 if test -n "$PKG_CONFIG" && \
30484 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-psl1ght\""; } >&5
30485 ($PKG_CONFIG --exists --print-errors "evas-psl1ght") 2>&5
30486 ac_status=$?
30487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30488 test $ac_status = 0; }; then
30489
30490
30491$as_echo "#define BUILD_ECORE_EVAS_PSL1GHT 1" >>confdefs.h
30492
30493 have_ecore_evas_psl1ght="yes"
30494
30495fi
30496fi
30497
30498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas PSL1GHT support is built" >&5
30499$as_echo_n "checking whether ecore_evas PSL1GHT support is built... " >&6; }
30500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_psl1ght" >&5
30501$as_echo "$have_ecore_evas_psl1ght" >&6; }
30502
30503if test "x$have_ecore_evas_psl1ght" = "xyes"; then :
30504 requirements_ecore_evas="ecore-psl1ght >= 1.1.0 ${requirements_ecore_evas}"
30505fi
30506
30507
30508
30509
30510
30511### install and build examples
30512
30513
30514
30515
30516# Check whether --enable-build-examples was given.
30517if test "${enable_build_examples+set}" = set; then :
30518 enableval=$enable_build_examples;
30519 if test "x${enableval}" = "xyes" ; then
30520 _efl_enable_build_examples="yes"
30521 else
30522 _efl_enable_build_examples="no"
30523 fi
30524
30525else
30526 _efl_enable_build_examples="no"
30527fi
30528
30529
30530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are built" >&5
30531$as_echo_n "checking whether examples are built... " >&6; }
30532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_build_examples}" >&5
30533$as_echo "${_efl_enable_build_examples}" >&6; }
30534
30535 if test "x${_efl_enable_build_examples}" = "xyes"; then
30536 EFL_BUILD_EXAMPLES_TRUE=
30537 EFL_BUILD_EXAMPLES_FALSE='#'
30538else
30539 EFL_BUILD_EXAMPLES_TRUE='#'
30540 EFL_BUILD_EXAMPLES_FALSE=
30541fi
30542
30543
30544if test "x$_efl_enable_build_examples" = "xyes"; then :
30545 enable_build_examples="yes"
30546else
30547 enable_build_examples="no"
30548fi
30549
30550
30551
30552
30553# Check whether --enable-install-examples was given.
30554if test "${enable_install_examples+set}" = set; then :
30555 enableval=$enable_install_examples;
30556 if test "x${enableval}" = "xyes" ; then
30557 _efl_enable_install_examples="yes"
30558 else
30559 _efl_enable_install_examples="no"
30560 fi
30561
30562else
30563 _efl_enable_install_examples="no"
30564fi
30565
30566
30567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are installed" >&5
30568$as_echo_n "checking whether examples are installed... " >&6; }
30569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_install_examples}" >&5
30570$as_echo "${_efl_enable_install_examples}" >&6; }
30571
30572 if test "x${_efl_enable_install_examples}" = "xyes"; then
30573 EFL_INSTALL_EXAMPLES_TRUE=
30574 EFL_INSTALL_EXAMPLES_FALSE='#'
30575else
30576 EFL_INSTALL_EXAMPLES_TRUE='#'
30577 EFL_INSTALL_EXAMPLES_FALSE=
30578fi
30579
30580
30581if test "x$_efl_enable_install_examples" = "xyes"; then :
30582 enable_install_examples="yes"
30583else
30584 enable_install_examples="no"
30585fi
30586
30587
30588### requirements
30589
30590
30591
30592#AC_SUBST(requirements_ecore_config)
30593
30594
30595
30596
30597
30598
30599
30600
30601
30602
30603
30604
30605
30606
30607
30608
30609
30610ac_config_files="$ac_config_files Makefile ecore-con.pc ecore-config.pc ecore-directfb.pc ecore-evas.pc ecore-fb.pc ecore-file.pc ecore-imf.pc ecore-imf-evas.pc ecore-ipc.pc ecore-x.pc ecore-input.pc ecore-input-evas.pc ecore-win32.pc ecore-sdl.pc ecore-cocoa.pc ecore-psl1ght.pc ecore-wince.pc ecore.pc doc/ecore.dox doc/Makefile doc/Doxyfile src/Makefile src/util/Makefile src/bin/Makefile src/lib/Makefile src/lib/ecore/Makefile src/lib/ecore_con/Makefile src/lib/ecore_config/Makefile src/lib/ecore_directfb/Makefile src/lib/ecore_evas/Makefile src/lib/ecore_fb/Makefile src/lib/ecore_file/Makefile src/lib/ecore_cocoa/Makefile src/lib/ecore_sdl/Makefile src/lib/ecore_psl1ght/Makefile src/lib/ecore_imf/Makefile src/lib/ecore_imf_evas/Makefile src/lib/ecore_input/Makefile src/lib/ecore_input_evas/Makefile src/lib/ecore_ipc/Makefile src/lib/ecore_win32/Makefile src/lib/ecore_wince/Makefile src/lib/ecore_x/Makefile src/lib/ecore_x/xlib/Makefile src/lib/ecore_x/xcb/Makefile src/examples/Makefile src/tests/Makefile src/modules/Makefile src/modules/immodules/Makefile src/modules/immodules/xim/Makefile ecore.spec $po_makefile_in"
30611
30612
30613cat >confcache <<\_ACEOF
30614# This file is a shell script that caches the results of configure
30615# tests run on this system so they can be shared between configure
30616# scripts and configure runs, see configure's option --config-cache.
30617# It is not useful on other systems. If it contains results you don't
30618# want to keep, you may remove or edit it.
30619#
30620# config.status only pays attention to the cache file if you give it
30621# the --recheck option to rerun configure.
30622#
30623# `ac_cv_env_foo' variables (set or unset) will be overridden when
30624# loading this file, other *unset* `ac_cv_foo' will be assigned the
30625# following values.
30626
30627_ACEOF
30628
30629# The following way of writing the cache mishandles newlines in values,
30630# but we know of no workaround that is simple, portable, and efficient.
30631# So, we kill variables containing newlines.
30632# Ultrix sh set writes to stderr and can't be redirected directly,
30633# and sets the high bit in the cache file unless we assign to the vars.
30634(
30635 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
30636 eval ac_val=\$$ac_var
30637 case $ac_val in #(
30638 *${as_nl}*)
30639 case $ac_var in #(
30640 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
30641$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
30642 esac
30643 case $ac_var in #(
30644 _ | IFS | as_nl) ;; #(
30645 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
30646 *) { eval $ac_var=; unset $ac_var;} ;;
30647 esac ;;
30648 esac
30649 done
30650
30651 (set) 2>&1 |
30652 case $as_nl`(ac_space=' '; set) 2>&1` in #(
30653 *${as_nl}ac_space=\ *)
30654 # `set' does not quote correctly, so add quotes: double-quote
30655 # substitution turns \\\\ into \\, and sed turns \\ into \.
30656 sed -n \
30657 "s/'/'\\\\''/g;
30658 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
30659 ;; #(
30660 *)
30661 # `set' quotes correctly as required by POSIX, so do not add quotes.
30662 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
30663 ;;
30664 esac |
30665 sort
30666) |
30667 sed '
30668 /^ac_cv_env_/b end
30669 t clear
30670 :clear
30671 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
30672 t end
30673 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
30674 :end' >>confcache
30675if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
30676 if test -w "$cache_file"; then
30677 test "x$cache_file" != "x/dev/null" &&
30678 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
30679$as_echo "$as_me: updating cache $cache_file" >&6;}
30680 cat confcache >$cache_file
30681 else
30682 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
30683$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
30684 fi
30685fi
30686rm -f confcache
30687
30688test "x$prefix" = xNONE && prefix=$ac_default_prefix
30689# Let make expand exec_prefix.
30690test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
30691
30692DEFS=-DHAVE_CONFIG_H
30693
30694ac_libobjs=
30695ac_ltlibobjs=
30696U=
30697for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
30698 # 1. Remove the extension, and $U if already installed.
30699 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
30700 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
30701 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
30702 # will be set to the directory where LIBOBJS objects are built.
30703 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
30704 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
30705done
30706LIBOBJS=$ac_libobjs
30707
30708LTLIBOBJS=$ac_ltlibobjs
30709
30710
30711 if test -n "$EXEEXT"; then
30712 am__EXEEXT_TRUE=
30713 am__EXEEXT_FALSE='#'
30714else
30715 am__EXEEXT_TRUE='#'
30716 am__EXEEXT_FALSE=
30717fi
30718
30719if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
30720 as_fn_error $? "conditional \"AMDEP\" was never defined.
30721Usually this means the macro was only invoked conditionally." "$LINENO" 5
30722fi
30723if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
30724 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
30725Usually this means the macro was only invoked conditionally." "$LINENO" 5
30726fi
30727if test -z "${HAVE_PO_TRUE}" && test -z "${HAVE_PO_FALSE}"; then
30728 as_fn_error $? "conditional \"HAVE_PO\" was never defined.
30729Usually this means the macro was only invoked conditionally." "$LINENO" 5
30730fi
30731if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
30732 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
30733Usually this means the macro was only invoked conditionally." "$LINENO" 5
30734fi
30735if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
30736 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
30737Usually this means the macro was only invoked conditionally." "$LINENO" 5
30738fi
30739if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
30740 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
30741Usually this means the macro was only invoked conditionally." "$LINENO" 5
30742fi
30743if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
30744 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
30745Usually this means the macro was only invoked conditionally." "$LINENO" 5
30746fi
30747if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
30748 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
30749Usually this means the macro was only invoked conditionally." "$LINENO" 5
30750fi
30751if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
30752 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
30753Usually this means the macro was only invoked conditionally." "$LINENO" 5
30754fi
30755if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
30756 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
30757Usually this means the macro was only invoked conditionally." "$LINENO" 5
30758fi
30759if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
30760 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
30761Usually this means the macro was only invoked conditionally." "$LINENO" 5
30762fi
30763if test -z "${ECORE_HAVE_WINCE_TRUE}" && test -z "${ECORE_HAVE_WINCE_FALSE}"; then
30764 as_fn_error $? "conditional \"ECORE_HAVE_WINCE\" was never defined.
30765Usually this means the macro was only invoked conditionally." "$LINENO" 5
30766fi
30767if test -z "${ECORE_HAVE_WIN32_TRUE}" && test -z "${ECORE_HAVE_WIN32_FALSE}"; then
30768 as_fn_error $? "conditional \"ECORE_HAVE_WIN32\" was never defined.
30769Usually this means the macro was only invoked conditionally." "$LINENO" 5
30770fi
30771if test -z "${ECORE_HAVE_PS3_TRUE}" && test -z "${ECORE_HAVE_PS3_FALSE}"; then
30772 as_fn_error $? "conditional \"ECORE_HAVE_PS3\" was never defined.
30773Usually this means the macro was only invoked conditionally." "$LINENO" 5
30774fi
30775if test -z "${BUILD_ECORE_X_XLIB_TRUE}" && test -z "${BUILD_ECORE_X_XLIB_FALSE}"; then
30776 as_fn_error $? "conditional \"BUILD_ECORE_X_XLIB\" was never defined.
30777Usually this means the macro was only invoked conditionally." "$LINENO" 5
30778fi
30779if test -z "${BUILD_ECORE_X_XCB_TRUE}" && test -z "${BUILD_ECORE_X_XCB_FALSE}"; then
30780 as_fn_error $? "conditional \"BUILD_ECORE_X_XCB\" was never defined.
30781Usually this means the macro was only invoked conditionally." "$LINENO" 5
30782fi
30783
30784if test -z "${BUILD_ECORE_CON_TRUE}" && test -z "${BUILD_ECORE_CON_FALSE}"; then
30785 as_fn_error $? "conditional \"BUILD_ECORE_CON\" was never defined.
30786Usually this means the macro was only invoked conditionally." "$LINENO" 5
30787fi
30788if test -z "${HAVE_CARES_TRUE}" && test -z "${HAVE_CARES_FALSE}"; then
30789 as_fn_error $? "conditional \"HAVE_CARES\" was never defined.
30790Usually this means the macro was only invoked conditionally." "$LINENO" 5
30791fi
30792if test -z "${BUILD_ECORE_IPC_TRUE}" && test -z "${BUILD_ECORE_IPC_FALSE}"; then
30793 as_fn_error $? "conditional \"BUILD_ECORE_IPC\" was never defined.
30794Usually this means the macro was only invoked conditionally." "$LINENO" 5
30795fi
30796if test -z "${BUILD_ECORE_FILE_TRUE}" && test -z "${BUILD_ECORE_FILE_FALSE}"; then
30797 as_fn_error $? "conditional \"BUILD_ECORE_FILE\" was never defined.
30798Usually this means the macro was only invoked conditionally." "$LINENO" 5
30799fi
30800if test -z "${BUILD_ECORE_CONFIG_TRUE}" && test -z "${BUILD_ECORE_CONFIG_FALSE}"; then
30801 as_fn_error $? "conditional \"BUILD_ECORE_CONFIG\" was never defined.
30802Usually this means the macro was only invoked conditionally." "$LINENO" 5
30803fi
30804if test -z "${BUILD_ECORE_IMF_TRUE}" && test -z "${BUILD_ECORE_IMF_FALSE}"; then
30805 as_fn_error $? "conditional \"BUILD_ECORE_IMF\" was never defined.
30806Usually this means the macro was only invoked conditionally." "$LINENO" 5
30807fi
30808if test -z "${BUILD_ECORE_IMF_EVAS_TRUE}" && test -z "${BUILD_ECORE_IMF_EVAS_FALSE}"; then
30809 as_fn_error $? "conditional \"BUILD_ECORE_IMF_EVAS\" was never defined.
30810Usually this means the macro was only invoked conditionally." "$LINENO" 5
30811fi
30812if test -z "${BUILD_ECORE_INPUT_TRUE}" && test -z "${BUILD_ECORE_INPUT_FALSE}"; then
30813 as_fn_error $? "conditional \"BUILD_ECORE_INPUT\" was never defined.
30814Usually this means the macro was only invoked conditionally." "$LINENO" 5
30815fi
30816if test -z "${BUILD_ECORE_INPUT_EVAS_TRUE}" && test -z "${BUILD_ECORE_INPUT_EVAS_FALSE}"; then
30817 as_fn_error $? "conditional \"BUILD_ECORE_INPUT_EVAS\" was never defined.
30818Usually this means the macro was only invoked conditionally." "$LINENO" 5
30819fi
30820if test -z "${BUILD_ECORE_IMF_XIM_TRUE}" && test -z "${BUILD_ECORE_IMF_XIM_FALSE}"; then
30821 as_fn_error $? "conditional \"BUILD_ECORE_IMF_XIM\" was never defined.
30822Usually this means the macro was only invoked conditionally." "$LINENO" 5
30823fi
30824if test -z "${BUILD_ECORE_IMF_XIM_TRUE}" && test -z "${BUILD_ECORE_IMF_XIM_FALSE}"; then
30825 as_fn_error $? "conditional \"BUILD_ECORE_IMF_XIM\" was never defined.
30826Usually this means the macro was only invoked conditionally." "$LINENO" 5
30827fi
30828if test -z "${BUILD_ECORE_X_TRUE}" && test -z "${BUILD_ECORE_X_FALSE}"; then
30829 as_fn_error $? "conditional \"BUILD_ECORE_X\" was never defined.
30830Usually this means the macro was only invoked conditionally." "$LINENO" 5
30831fi
30832if test -z "${BUILD_ECORE_WIN32_TRUE}" && test -z "${BUILD_ECORE_WIN32_FALSE}"; then
30833 as_fn_error $? "conditional \"BUILD_ECORE_WIN32\" was never defined.
30834Usually this means the macro was only invoked conditionally." "$LINENO" 5
30835fi
30836if test -z "${BUILD_ECORE_COCOA_TRUE}" && test -z "${BUILD_ECORE_COCOA_FALSE}"; then
30837 as_fn_error $? "conditional \"BUILD_ECORE_COCOA\" was never defined.
30838Usually this means the macro was only invoked conditionally." "$LINENO" 5
30839fi
30840if test -z "${BUILD_ECORE_SDL_TRUE}" && test -z "${BUILD_ECORE_SDL_FALSE}"; then
30841 as_fn_error $? "conditional \"BUILD_ECORE_SDL\" was never defined.
30842Usually this means the macro was only invoked conditionally." "$LINENO" 5
30843fi
30844if test -z "${BUILD_ECORE_PSL1GHT_TRUE}" && test -z "${BUILD_ECORE_PSL1GHT_FALSE}"; then
30845 as_fn_error $? "conditional \"BUILD_ECORE_PSL1GHT\" was never defined.
30846Usually this means the macro was only invoked conditionally." "$LINENO" 5
30847fi
30848if test -z "${BUILD_ECORE_FB_TRUE}" && test -z "${BUILD_ECORE_FB_FALSE}"; then
30849 as_fn_error $? "conditional \"BUILD_ECORE_FB\" was never defined.
30850Usually this means the macro was only invoked conditionally." "$LINENO" 5
30851fi
30852if test -z "${BUILD_ECORE_DIRECTFB_TRUE}" && test -z "${BUILD_ECORE_DIRECTFB_FALSE}"; then
30853 as_fn_error $? "conditional \"BUILD_ECORE_DIRECTFB\" was never defined.
30854Usually this means the macro was only invoked conditionally." "$LINENO" 5
30855fi
30856if test -z "${BUILD_ECORE_WINCE_TRUE}" && test -z "${BUILD_ECORE_WINCE_FALSE}"; then
30857 as_fn_error $? "conditional \"BUILD_ECORE_WINCE\" was never defined.
30858Usually this means the macro was only invoked conditionally." "$LINENO" 5
30859fi
30860if test -z "${BUILD_ECORE_EVAS_TRUE}" && test -z "${BUILD_ECORE_EVAS_FALSE}"; then
30861 as_fn_error $? "conditional \"BUILD_ECORE_EVAS\" was never defined.
30862Usually this means the macro was only invoked conditionally." "$LINENO" 5
30863fi
30864if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
30865 as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
30866Usually this means the macro was only invoked conditionally." "$LINENO" 5
30867fi
30868if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
30869 as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
30870Usually this means the macro was only invoked conditionally." "$LINENO" 5
30871fi
30872
30873: ${CONFIG_STATUS=./config.status}
30874ac_write_fail=0
30875ac_clean_files_save=$ac_clean_files
30876ac_clean_files="$ac_clean_files $CONFIG_STATUS"
30877{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
30878$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
30879as_write_fail=0
30880cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
30881#! $SHELL
30882# Generated by $as_me.
30883# Run this file to recreate the current configuration.
30884# Compiler output produced by configure, useful for debugging
30885# configure, is in config.log if it exists.
30886
30887debug=false
30888ac_cs_recheck=false
30889ac_cs_silent=false
30890
30891SHELL=\${CONFIG_SHELL-$SHELL}
30892export SHELL
30893_ASEOF
30894cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
30895## -------------------- ##
30896## M4sh Initialization. ##
30897## -------------------- ##
30898
30899# Be more Bourne compatible
30900DUALCASE=1; export DUALCASE # for MKS sh
30901if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
30902 emulate sh
30903 NULLCMD=:
30904 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
30905 # is contrary to our usage. Disable this feature.
30906 alias -g '${1+"$@"}'='"$@"'
30907 setopt NO_GLOB_SUBST
30908else
30909 case `(set -o) 2>/dev/null` in #(
30910 *posix*) :
30911 set -o posix ;; #(
30912 *) :
30913 ;;
30914esac
30915fi
30916
30917
30918as_nl='
30919'
30920export as_nl
30921# Printing a long string crashes Solaris 7 /usr/bin/printf.
30922as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
30923as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
30924as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
30925# Prefer a ksh shell builtin over an external printf program on Solaris,
30926# but without wasting forks for bash or zsh.
30927if test -z "$BASH_VERSION$ZSH_VERSION" \
30928 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
30929 as_echo='print -r --'
30930 as_echo_n='print -rn --'
30931elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
30932 as_echo='printf %s\n'
30933 as_echo_n='printf %s'
30934else
30935 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
30936 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
30937 as_echo_n='/usr/ucb/echo -n'
30938 else
30939 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
30940 as_echo_n_body='eval
30941 arg=$1;
30942 case $arg in #(
30943 *"$as_nl"*)
30944 expr "X$arg" : "X\\(.*\\)$as_nl";
30945 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
30946 esac;
30947 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
30948 '
30949 export as_echo_n_body
30950 as_echo_n='sh -c $as_echo_n_body as_echo'
30951 fi
30952 export as_echo_body
30953 as_echo='sh -c $as_echo_body as_echo'
30954fi
30955
30956# The user is always right.
30957if test "${PATH_SEPARATOR+set}" != set; then
30958 PATH_SEPARATOR=:
30959 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
30960 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
30961 PATH_SEPARATOR=';'
30962 }
30963fi
30964
30965
30966# IFS
30967# We need space, tab and new line, in precisely that order. Quoting is
30968# there to prevent editors from complaining about space-tab.
30969# (If _AS_PATH_WALK were called with IFS unset, it would disable word
30970# splitting by setting IFS to empty value.)
30971IFS=" "" $as_nl"
30972
30973# Find who we are. Look in the path if we contain no directory separator.
30974case $0 in #((
30975 *[\\/]* ) as_myself=$0 ;;
30976 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30977for as_dir in $PATH
30978do
30979 IFS=$as_save_IFS
30980 test -z "$as_dir" && as_dir=.
30981 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
30982 done
30983IFS=$as_save_IFS
30984
30985 ;;
30986esac
30987# We did not find ourselves, most probably we were run as `sh COMMAND'
30988# in which case we are not to be found in the path.
30989if test "x$as_myself" = x; then
30990 as_myself=$0
30991fi
30992if test ! -f "$as_myself"; then
30993 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
30994 exit 1
30995fi
30996
30997# Unset variables that we do not need and which cause bugs (e.g. in
30998# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
30999# suppresses any "Segmentation fault" message there. '((' could
31000# trigger a bug in pdksh 5.2.14.
31001for as_var in BASH_ENV ENV MAIL MAILPATH
31002do eval test x\${$as_var+set} = xset \
31003 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
31004done
31005PS1='$ '
31006PS2='> '
31007PS4='+ '
31008
31009# NLS nuisances.
31010LC_ALL=C
31011export LC_ALL
31012LANGUAGE=C
31013export LANGUAGE
31014
31015# CDPATH.
31016(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31017
31018
31019# as_fn_error STATUS ERROR [LINENO LOG_FD]
31020# ----------------------------------------
31021# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31022# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31023# script with STATUS, using 1 if that was 0.
31024as_fn_error ()
31025{
31026 as_status=$1; test $as_status -eq 0 && as_status=1
31027 if test "$4"; then
31028 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
31029 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31030 fi
31031 $as_echo "$as_me: error: $2" >&2
31032 as_fn_exit $as_status
31033} # as_fn_error
31034
31035
31036# as_fn_set_status STATUS
31037# -----------------------
31038# Set $? to STATUS, without forking.
31039as_fn_set_status ()
31040{
31041 return $1
31042} # as_fn_set_status
31043
31044# as_fn_exit STATUS
31045# -----------------
31046# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31047as_fn_exit ()
31048{
31049 set +e
31050 as_fn_set_status $1
31051 exit $1
31052} # as_fn_exit
31053
31054# as_fn_unset VAR
31055# ---------------
31056# Portably unset VAR.
31057as_fn_unset ()
31058{
31059 { eval $1=; unset $1;}
31060}
31061as_unset=as_fn_unset
31062# as_fn_append VAR VALUE
31063# ----------------------
31064# Append the text in VALUE to the end of the definition contained in VAR. Take
31065# advantage of any shell optimizations that allow amortized linear growth over
31066# repeated appends, instead of the typical quadratic growth present in naive
31067# implementations.
31068if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
31069 eval 'as_fn_append ()
31070 {
31071 eval $1+=\$2
31072 }'
31073else
31074 as_fn_append ()
31075 {
31076 eval $1=\$$1\$2
31077 }
31078fi # as_fn_append
31079
31080# as_fn_arith ARG...
31081# ------------------
31082# Perform arithmetic evaluation on the ARGs, and store the result in the
31083# global $as_val. Take advantage of shells that can avoid forks. The arguments
31084# must be portable across $(()) and expr.
31085if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
31086 eval 'as_fn_arith ()
31087 {
31088 as_val=$(( $* ))
31089 }'
31090else
31091 as_fn_arith ()
31092 {
31093 as_val=`expr "$@" || test $? -eq 1`
31094 }
31095fi # as_fn_arith
31096
31097
31098if expr a : '\(a\)' >/dev/null 2>&1 &&
31099 test "X`expr 00001 : '.*\(...\)'`" = X001; then
31100 as_expr=expr
31101else
31102 as_expr=false
31103fi
31104
31105if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31106 as_basename=basename
31107else
31108 as_basename=false
31109fi
31110
31111if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
31112 as_dirname=dirname
31113else
31114 as_dirname=false
31115fi
31116
31117as_me=`$as_basename -- "$0" ||
31118$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31119 X"$0" : 'X\(//\)$' \| \
31120 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31121$as_echo X/"$0" |
31122 sed '/^.*\/\([^/][^/]*\)\/*$/{
31123 s//\1/
31124 q
31125 }
31126 /^X\/\(\/\/\)$/{
31127 s//\1/
31128 q
31129 }
31130 /^X\/\(\/\).*/{
31131 s//\1/
31132 q
31133 }
31134 s/.*/./; q'`
31135
31136# Avoid depending upon Character Ranges.
31137as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31138as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31139as_cr_Letters=$as_cr_letters$as_cr_LETTERS
31140as_cr_digits='0123456789'
31141as_cr_alnum=$as_cr_Letters$as_cr_digits
31142
31143ECHO_C= ECHO_N= ECHO_T=
31144case `echo -n x` in #(((((
31145-n*)
31146 case `echo 'xy\c'` in
31147 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
31148 xy) ECHO_C='\c';;
31149 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
31150 ECHO_T=' ';;
31151 esac;;
31152*)
31153 ECHO_N='-n';;
31154esac
31155
31156rm -f conf$$ conf$$.exe conf$$.file
31157if test -d conf$$.dir; then
31158 rm -f conf$$.dir/conf$$.file
31159else
31160 rm -f conf$$.dir
31161 mkdir conf$$.dir 2>/dev/null
31162fi
31163if (echo >conf$$.file) 2>/dev/null; then
31164 if ln -s conf$$.file conf$$ 2>/dev/null; then
31165 as_ln_s='ln -s'
31166 # ... but there are two gotchas:
31167 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
31168 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
31169 # In both cases, we have to default to `cp -p'.
31170 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
31171 as_ln_s='cp -p'
31172 elif ln conf$$.file conf$$ 2>/dev/null; then
31173 as_ln_s=ln
31174 else
31175 as_ln_s='cp -p'
31176 fi
31177else
31178 as_ln_s='cp -p'
31179fi
31180rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
31181rmdir conf$$.dir 2>/dev/null
31182
31183
31184# as_fn_mkdir_p
31185# -------------
31186# Create "$as_dir" as a directory, including parents if necessary.
31187as_fn_mkdir_p ()
31188{
31189
31190 case $as_dir in #(
31191 -*) as_dir=./$as_dir;;
31192 esac
31193 test -d "$as_dir" || eval $as_mkdir_p || {
31194 as_dirs=
31195 while :; do
31196 case $as_dir in #(
31197 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
31198 *) as_qdir=$as_dir;;
31199 esac
31200 as_dirs="'$as_qdir' $as_dirs"
31201 as_dir=`$as_dirname -- "$as_dir" ||
31202$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31203 X"$as_dir" : 'X\(//\)[^/]' \| \
31204 X"$as_dir" : 'X\(//\)$' \| \
31205 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31206$as_echo X"$as_dir" |
31207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31208 s//\1/
31209 q
31210 }
31211 /^X\(\/\/\)[^/].*/{
31212 s//\1/
31213 q
31214 }
31215 /^X\(\/\/\)$/{
31216 s//\1/
31217 q
31218 }
31219 /^X\(\/\).*/{
31220 s//\1/
31221 q
31222 }
31223 s/.*/./; q'`
31224 test -d "$as_dir" && break
31225 done
31226 test -z "$as_dirs" || eval "mkdir $as_dirs"
31227 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
31228
31229
31230} # as_fn_mkdir_p
31231if mkdir -p . 2>/dev/null; then
31232 as_mkdir_p='mkdir -p "$as_dir"'
31233else
31234 test -d ./-p && rmdir ./-p
31235 as_mkdir_p=false
31236fi
31237
31238if test -x / >/dev/null 2>&1; then
31239 as_test_x='test -x'
31240else
31241 if ls -dL / >/dev/null 2>&1; then
31242 as_ls_L_option=L
31243 else
31244 as_ls_L_option=
31245 fi
31246 as_test_x='
31247 eval sh -c '\''
31248 if test -d "$1"; then
31249 test -d "$1/.";
31250 else
31251 case $1 in #(
31252 -*)set "./$1";;
31253 esac;
31254 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
31255 ???[sx]*):;;*)false;;esac;fi
31256 '\'' sh
31257 '
31258fi
31259as_executable_p=$as_test_x
31260
31261# Sed expression to map a string onto a valid CPP name.
31262as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
31263
31264# Sed expression to map a string onto a valid variable name.
31265as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
31266
31267
31268exec 6>&1
31269## ----------------------------------- ##
31270## Main body of $CONFIG_STATUS script. ##
31271## ----------------------------------- ##
31272_ASEOF
31273test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
31274
31275cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31276# Save the log message, to keep $0 and so on meaningful, and to
31277# report actual input values of CONFIG_FILES etc. instead of their
31278# values after options handling.
31279ac_log="
31280This file was extended by ecore $as_me 1.1.0, which was
31281generated by GNU Autoconf 2.67. Invocation command line was
31282
31283 CONFIG_FILES = $CONFIG_FILES
31284 CONFIG_HEADERS = $CONFIG_HEADERS
31285 CONFIG_LINKS = $CONFIG_LINKS
31286 CONFIG_COMMANDS = $CONFIG_COMMANDS
31287 $ $0 $@
31288
31289on `(hostname || uname -n) 2>/dev/null | sed 1q`
31290"
31291
31292_ACEOF
31293
31294case $ac_config_files in *"
31295"*) set x $ac_config_files; shift; ac_config_files=$*;;
31296esac
31297
31298case $ac_config_headers in *"
31299"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
31300esac
31301
31302
31303cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31304# Files that config.status was made for.
31305config_files="$ac_config_files"
31306config_headers="$ac_config_headers"
31307config_commands="$ac_config_commands"
31308
31309_ACEOF
31310
31311cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31312ac_cs_usage="\
31313\`$as_me' instantiates files and other configuration actions
31314from templates according to the current configuration. Unless the files
31315and actions are specified as TAGs, all are instantiated by default.
31316
31317Usage: $0 [OPTION]... [TAG]...
31318
31319 -h, --help print this help, then exit
31320 -V, --version print version number and configuration settings, then exit
31321 --config print configuration, then exit
31322 -q, --quiet, --silent
31323 do not print progress messages
31324 -d, --debug don't remove temporary files
31325 --recheck update $as_me by reconfiguring in the same conditions
31326 --file=FILE[:TEMPLATE]
31327 instantiate the configuration file FILE
31328 --header=FILE[:TEMPLATE]
31329 instantiate the configuration header FILE
31330
31331Configuration files:
31332$config_files
31333
31334Configuration headers:
31335$config_headers
31336
31337Configuration commands:
31338$config_commands
31339
31340Report bugs to <enlightenment-devel@lists.sourceforge.net>."
31341
31342_ACEOF
31343cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31344ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
31345ac_cs_version="\\
31346ecore config.status 1.1.0
31347configured by $0, generated by GNU Autoconf 2.67,
31348 with options \\"\$ac_cs_config\\"
31349
31350Copyright (C) 2010 Free Software Foundation, Inc.
31351This config.status script is free software; the Free Software Foundation
31352gives unlimited permission to copy, distribute and modify it."
31353
31354ac_pwd='$ac_pwd'
31355srcdir='$srcdir'
31356INSTALL='$INSTALL'
31357MKDIR_P='$MKDIR_P'
31358AWK='$AWK'
31359test -n "\$AWK" || AWK=awk
31360_ACEOF
31361
31362cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31363# The default lists apply if the user does not specify any file.
31364ac_need_defaults=:
31365while test $# != 0
31366do
31367 case $1 in
31368 --*=?*)
31369 ac_option=`expr "X$1" : 'X\([^=]*\)='`
31370 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
31371 ac_shift=:
31372 ;;
31373 --*=)
31374 ac_option=`expr "X$1" : 'X\([^=]*\)='`
31375 ac_optarg=
31376 ac_shift=:
31377 ;;
31378 *)
31379 ac_option=$1
31380 ac_optarg=$2
31381 ac_shift=shift
31382 ;;
31383 esac
31384
31385 case $ac_option in
31386 # Handling of the options.
31387 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
31388 ac_cs_recheck=: ;;
31389 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
31390 $as_echo "$ac_cs_version"; exit ;;
31391 --config | --confi | --conf | --con | --co | --c )
31392 $as_echo "$ac_cs_config"; exit ;;
31393 --debug | --debu | --deb | --de | --d | -d )
31394 debug=: ;;
31395 --file | --fil | --fi | --f )
31396 $ac_shift
31397 case $ac_optarg in
31398 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
31399 '') as_fn_error $? "missing file argument" ;;
31400 esac
31401 as_fn_append CONFIG_FILES " '$ac_optarg'"
31402 ac_need_defaults=false;;
31403 --header | --heade | --head | --hea )
31404 $ac_shift
31405 case $ac_optarg in
31406 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
31407 esac
31408 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
31409 ac_need_defaults=false;;
31410 --he | --h)
31411 # Conflict between --help and --header
31412 as_fn_error $? "ambiguous option: \`$1'
31413Try \`$0 --help' for more information.";;
31414 --help | --hel | -h )
31415 $as_echo "$ac_cs_usage"; exit ;;
31416 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
31417 | -silent | --silent | --silen | --sile | --sil | --si | --s)
31418 ac_cs_silent=: ;;
31419
31420 # This is an error.
31421 -*) as_fn_error $? "unrecognized option: \`$1'
31422Try \`$0 --help' for more information." ;;
31423
31424 *) as_fn_append ac_config_targets " $1"
31425 ac_need_defaults=false ;;
31426
31427 esac
31428 shift
31429done
31430
31431ac_configure_extra_args=
31432
31433if $ac_cs_silent; then
31434 exec 6>/dev/null
31435 ac_configure_extra_args="$ac_configure_extra_args --silent"
31436fi
31437
31438_ACEOF
31439cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31440if \$ac_cs_recheck; then
31441 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
31442 shift
31443 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
31444 CONFIG_SHELL='$SHELL'
31445 export CONFIG_SHELL
31446 exec "\$@"
31447fi
31448
31449_ACEOF
31450cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31451exec 5>>config.log
31452{
31453 echo
31454 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
31455## Running $as_me. ##
31456_ASBOX
31457 $as_echo "$ac_log"
31458} >&5
31459
31460_ACEOF
31461cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31462#
31463# INIT-COMMANDS
31464#
31465AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
31466
31467
31468# The HP-UX ksh and POSIX shell print the target directory to stdout
31469# if CDPATH is set.
31470(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31471
31472sed_quote_subst='$sed_quote_subst'
31473double_quote_subst='$double_quote_subst'
31474delay_variable_subst='$delay_variable_subst'
31475AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
31476DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
31477OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
31478macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
31479macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
31480enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
31481enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
31482pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
31483enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
31484host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
31485host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
31486host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
31487build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
31488build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
31489build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
31490SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
31491Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
31492GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
31493EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
31494FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
31495LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
31496NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
31497LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
31498max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
31499ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
31500exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
31501lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
31502lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
31503lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
31504reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
31505reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31506deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
31507file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
31508AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
31509AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
31510STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
31511RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
31512old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31513old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31514old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31515CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
31516CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
31517compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
31518GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
31519lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
31520lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
31521lt_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"`'
31522lt_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"`'
31523objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
31524SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
31525ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
31526MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
31527lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
31528lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
31529lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
31530lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
31531lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
31532need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
31533DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
31534NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
31535LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
31536OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
31537OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
31538libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
31539shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31540extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31541archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
31542enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
31543export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
31544whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
31545compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
31546old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31547old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31548archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31549archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31550module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31551module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31552with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
31553allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
31554no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
31555hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
31556hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
31557hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
31558hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
31559hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
31560hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
31561hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
31562hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
31563inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
31564link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
31565fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
31566always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
31567export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31568exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
31569include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
31570prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31571file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
31572variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
31573need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
31574need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
31575version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
31576runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
31577shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
31578shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
31579libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
31580library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
31581soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
31582postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31583postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31584finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31585finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
31586hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
31587sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
31588sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
31589hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
31590enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
31591enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
31592enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
31593old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
31594striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
31595compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
31596predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
31597postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
31598predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
31599postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
31600compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
31601LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31602old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31603compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31604GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31605lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31606lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31607lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31608lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31609lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31610archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31611enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31612export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31613whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31614compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31615old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31616old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31617archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31618archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31619module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31620module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31621with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31622allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31623no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31624hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31625hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31626hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31627hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31628hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31629hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31630hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31631hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31632inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31633link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31634fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31635always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31636export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31637exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31638include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31639prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31640file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31641hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31642compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31643predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31644postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31645predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31646postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31647compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31648
31649LTCC='$LTCC'
31650LTCFLAGS='$LTCFLAGS'
31651compiler='$compiler_DEFAULT'
31652
31653# Quote evaled strings.
31654for var in SED \
31655GREP \
31656EGREP \
31657FGREP \
31658LD \
31659NM \
31660LN_S \
31661lt_SP2NL \
31662lt_NL2SP \
31663reload_flag \
31664deplibs_check_method \
31665file_magic_cmd \
31666AR \
31667AR_FLAGS \
31668STRIP \
31669RANLIB \
31670CC \
31671CFLAGS \
31672compiler \
31673lt_cv_sys_global_symbol_pipe \
31674lt_cv_sys_global_symbol_to_cdecl \
31675lt_cv_sys_global_symbol_to_c_name_address \
31676lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
31677SHELL \
31678ECHO \
31679lt_prog_compiler_no_builtin_flag \
31680lt_prog_compiler_wl \
31681lt_prog_compiler_pic \
31682lt_prog_compiler_static \
31683lt_cv_prog_compiler_c_o \
31684need_locks \
31685DSYMUTIL \
31686NMEDIT \
31687LIPO \
31688OTOOL \
31689OTOOL64 \
31690shrext_cmds \
31691export_dynamic_flag_spec \
31692whole_archive_flag_spec \
31693compiler_needs_object \
31694with_gnu_ld \
31695allow_undefined_flag \
31696no_undefined_flag \
31697hardcode_libdir_flag_spec \
31698hardcode_libdir_flag_spec_ld \
31699hardcode_libdir_separator \
31700fix_srcfile_path \
31701exclude_expsyms \
31702include_expsyms \
31703file_list_spec \
31704variables_saved_for_relink \
31705libname_spec \
31706library_names_spec \
31707soname_spec \
31708finish_eval \
31709old_striplib \
31710striplib \
31711compiler_lib_search_dirs \
31712predep_objects \
31713postdep_objects \
31714predeps \
31715postdeps \
31716compiler_lib_search_path \
31717LD_CXX \
31718compiler_CXX \
31719lt_prog_compiler_no_builtin_flag_CXX \
31720lt_prog_compiler_wl_CXX \
31721lt_prog_compiler_pic_CXX \
31722lt_prog_compiler_static_CXX \
31723lt_cv_prog_compiler_c_o_CXX \
31724export_dynamic_flag_spec_CXX \
31725whole_archive_flag_spec_CXX \
31726compiler_needs_object_CXX \
31727with_gnu_ld_CXX \
31728allow_undefined_flag_CXX \
31729no_undefined_flag_CXX \
31730hardcode_libdir_flag_spec_CXX \
31731hardcode_libdir_flag_spec_ld_CXX \
31732hardcode_libdir_separator_CXX \
31733fix_srcfile_path_CXX \
31734exclude_expsyms_CXX \
31735include_expsyms_CXX \
31736file_list_spec_CXX \
31737compiler_lib_search_dirs_CXX \
31738predep_objects_CXX \
31739postdep_objects_CXX \
31740predeps_CXX \
31741postdeps_CXX \
31742compiler_lib_search_path_CXX; do
31743 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
31744 *[\\\\\\\`\\"\\\$]*)
31745 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
31746 ;;
31747 *)
31748 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
31749 ;;
31750 esac
31751done
31752
31753# Double-quote double-evaled strings.
31754for var in reload_cmds \
31755old_postinstall_cmds \
31756old_postuninstall_cmds \
31757old_archive_cmds \
31758extract_expsyms_cmds \
31759old_archive_from_new_cmds \
31760old_archive_from_expsyms_cmds \
31761archive_cmds \
31762archive_expsym_cmds \
31763module_cmds \
31764module_expsym_cmds \
31765export_symbols_cmds \
31766prelink_cmds \
31767postinstall_cmds \
31768postuninstall_cmds \
31769finish_cmds \
31770sys_lib_search_path_spec \
31771sys_lib_dlsearch_path_spec \
31772old_archive_cmds_CXX \
31773old_archive_from_new_cmds_CXX \
31774old_archive_from_expsyms_cmds_CXX \
31775archive_cmds_CXX \
31776archive_expsym_cmds_CXX \
31777module_cmds_CXX \
31778module_expsym_cmds_CXX \
31779export_symbols_cmds_CXX \
31780prelink_cmds_CXX; do
31781 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
31782 *[\\\\\\\`\\"\\\$]*)
31783 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
31784 ;;
31785 *)
31786 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
31787 ;;
31788 esac
31789done
31790
31791# Fix-up fallback echo if it was mangled by the above quoting rules.
31792case \$lt_ECHO in
31793*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
31794 ;;
31795esac
31796
31797ac_aux_dir='$ac_aux_dir'
31798xsi_shell='$xsi_shell'
31799lt_shell_append='$lt_shell_append'
31800
31801# See if we are running on zsh, and set the options which allow our
31802# commands through without removal of \ escapes INIT.
31803if test -n "\${ZSH_VERSION+set}" ; then
31804 setopt NO_GLOB_SUBST
31805fi
31806
31807
31808 PACKAGE='$PACKAGE'
31809 VERSION='$VERSION'
31810 TIMESTAMP='$TIMESTAMP'
31811 RM='$RM'
31812 ofile='$ofile'
31813
31814
31815
31816
31817
31818# Capture the value of obsolete ALL_LINGUAS because we need it to compute
31819 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
31820 # from automake < 1.5.
31821 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
31822 # Capture the value of LINGUAS because we need it to compute CATALOGS.
31823 LINGUAS="${LINGUAS-%UNSET%}"
31824
31825
31826_ACEOF
31827
31828cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31829
31830# Handling of arguments.
31831for ac_config_target in $ac_config_targets
31832do
31833 case $ac_config_target in
31834 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
31835 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
31836 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
31837 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
31838 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
31839 "ecore-con.pc") CONFIG_FILES="$CONFIG_FILES ecore-con.pc" ;;
31840 "ecore-config.pc") CONFIG_FILES="$CONFIG_FILES ecore-config.pc" ;;
31841 "ecore-directfb.pc") CONFIG_FILES="$CONFIG_FILES ecore-directfb.pc" ;;
31842 "ecore-evas.pc") CONFIG_FILES="$CONFIG_FILES ecore-evas.pc" ;;
31843 "ecore-fb.pc") CONFIG_FILES="$CONFIG_FILES ecore-fb.pc" ;;
31844 "ecore-file.pc") CONFIG_FILES="$CONFIG_FILES ecore-file.pc" ;;
31845 "ecore-imf.pc") CONFIG_FILES="$CONFIG_FILES ecore-imf.pc" ;;
31846 "ecore-imf-evas.pc") CONFIG_FILES="$CONFIG_FILES ecore-imf-evas.pc" ;;
31847 "ecore-ipc.pc") CONFIG_FILES="$CONFIG_FILES ecore-ipc.pc" ;;
31848 "ecore-x.pc") CONFIG_FILES="$CONFIG_FILES ecore-x.pc" ;;
31849 "ecore-input.pc") CONFIG_FILES="$CONFIG_FILES ecore-input.pc" ;;
31850 "ecore-input-evas.pc") CONFIG_FILES="$CONFIG_FILES ecore-input-evas.pc" ;;
31851 "ecore-win32.pc") CONFIG_FILES="$CONFIG_FILES ecore-win32.pc" ;;
31852 "ecore-sdl.pc") CONFIG_FILES="$CONFIG_FILES ecore-sdl.pc" ;;
31853 "ecore-cocoa.pc") CONFIG_FILES="$CONFIG_FILES ecore-cocoa.pc" ;;
31854 "ecore-psl1ght.pc") CONFIG_FILES="$CONFIG_FILES ecore-psl1ght.pc" ;;
31855 "ecore-wince.pc") CONFIG_FILES="$CONFIG_FILES ecore-wince.pc" ;;
31856 "ecore.pc") CONFIG_FILES="$CONFIG_FILES ecore.pc" ;;
31857 "doc/ecore.dox") CONFIG_FILES="$CONFIG_FILES doc/ecore.dox" ;;
31858 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
31859 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
31860 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
31861 "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;;
31862 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
31863 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
31864 "src/lib/ecore/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore/Makefile" ;;
31865 "src/lib/ecore_con/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_con/Makefile" ;;
31866 "src/lib/ecore_config/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_config/Makefile" ;;
31867 "src/lib/ecore_directfb/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_directfb/Makefile" ;;
31868 "src/lib/ecore_evas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_evas/Makefile" ;;
31869 "src/lib/ecore_fb/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_fb/Makefile" ;;
31870 "src/lib/ecore_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_file/Makefile" ;;
31871 "src/lib/ecore_cocoa/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_cocoa/Makefile" ;;
31872 "src/lib/ecore_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_sdl/Makefile" ;;
31873 "src/lib/ecore_psl1ght/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_psl1ght/Makefile" ;;
31874 "src/lib/ecore_imf/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_imf/Makefile" ;;
31875 "src/lib/ecore_imf_evas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_imf_evas/Makefile" ;;
31876 "src/lib/ecore_input/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_input/Makefile" ;;
31877 "src/lib/ecore_input_evas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_input_evas/Makefile" ;;
31878 "src/lib/ecore_ipc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_ipc/Makefile" ;;
31879 "src/lib/ecore_win32/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_win32/Makefile" ;;
31880 "src/lib/ecore_wince/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_wince/Makefile" ;;
31881 "src/lib/ecore_x/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_x/Makefile" ;;
31882 "src/lib/ecore_x/xlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_x/xlib/Makefile" ;;
31883 "src/lib/ecore_x/xcb/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_x/xcb/Makefile" ;;
31884 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
31885 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
31886 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
31887 "src/modules/immodules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/immodules/Makefile" ;;
31888 "src/modules/immodules/xim/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/immodules/xim/Makefile" ;;
31889 "ecore.spec") CONFIG_FILES="$CONFIG_FILES ecore.spec" ;;
31890 "$po_makefile_in") CONFIG_FILES="$CONFIG_FILES $po_makefile_in" ;;
31891
31892 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
31893 esac
31894done
31895
31896
31897# If the user did not use the arguments to specify the items to instantiate,
31898# then the envvar interface is used. Set only those that are not.
31899# We use the long form for the default assignment because of an extremely
31900# bizarre bug on SunOS 4.1.3.
31901if $ac_need_defaults; then
31902 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
31903 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
31904 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
31905fi
31906
31907# Have a temporary directory for convenience. Make it in the build tree
31908# simply because there is no reason against having it here, and in addition,
31909# creating and moving files from /tmp can sometimes cause problems.
31910# Hook for its removal unless debugging.
31911# Note that there is a small window in which the directory will not be cleaned:
31912# after its creation but before its name has been assigned to `$tmp'.
31913$debug ||
31914{
31915 tmp=
31916 trap 'exit_status=$?
31917 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
31918' 0
31919 trap 'as_fn_exit 1' 1 2 13 15
31920}
31921# Create a (secure) tmp directory for tmp files.
31922
31923{
31924 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
31925 test -n "$tmp" && test -d "$tmp"
31926} ||
31927{
31928 tmp=./conf$$-$RANDOM
31929 (umask 077 && mkdir "$tmp")
31930} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
31931
31932# Set up the scripts for CONFIG_FILES section.
31933# No need to generate them if there are no CONFIG_FILES.
31934# This happens for instance with `./config.status config.h'.
31935if test -n "$CONFIG_FILES"; then
31936
31937
31938ac_cr=`echo X | tr X '\015'`
31939# On cygwin, bash can eat \r inside `` if the user requested igncr.
31940# But we know of no other shell where ac_cr would be empty at this
31941# point, so we can use a bashism as a fallback.
31942if test "x$ac_cr" = x; then
31943 eval ac_cr=\$\'\\r\'
31944fi
31945ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
31946if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
31947 ac_cs_awk_cr='\\r'
31948else
31949 ac_cs_awk_cr=$ac_cr
31950fi
31951
31952echo 'BEGIN {' >"$tmp/subs1.awk" &&
31953_ACEOF
31954
31955
31956{
31957 echo "cat >conf$$subs.awk <<_ACEOF" &&
31958 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
31959 echo "_ACEOF"
31960} >conf$$subs.sh ||
31961 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
31962ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
31963ac_delim='%!_!# '
31964for ac_last_try in false false false false false :; do
31965 . ./conf$$subs.sh ||
31966 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
31967
31968 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
31969 if test $ac_delim_n = $ac_delim_num; then
31970 break
31971 elif $ac_last_try; then
31972 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
31973 else
31974 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
31975 fi
31976done
31977rm -f conf$$subs.sh
31978
31979cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31980cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
31981_ACEOF
31982sed -n '
31983h
31984s/^/S["/; s/!.*/"]=/
31985p
31986g
31987s/^[^!]*!//
31988:repl
31989t repl
31990s/'"$ac_delim"'$//
31991t delim
31992:nl
31993h
31994s/\(.\{148\}\)..*/\1/
31995t more1
31996s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
31997p
31998n
31999b repl
32000:more1
32001s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32002p
32003g
32004s/.\{148\}//
32005t nl
32006:delim
32007h
32008s/\(.\{148\}\)..*/\1/
32009t more2
32010s/["\\]/\\&/g; s/^/"/; s/$/"/
32011p
32012b
32013:more2
32014s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32015p
32016g
32017s/.\{148\}//
32018t delim
32019' <conf$$subs.awk | sed '
32020/^[^""]/{
32021 N
32022 s/\n//
32023}
32024' >>$CONFIG_STATUS || ac_write_fail=1
32025rm -f conf$$subs.awk
32026cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32027_ACAWK
32028cat >>"\$tmp/subs1.awk" <<_ACAWK &&
32029 for (key in S) S_is_set[key] = 1
32030 FS = ""
32031
32032}
32033{
32034 line = $ 0
32035 nfields = split(line, field, "@")
32036 substed = 0
32037 len = length(field[1])
32038 for (i = 2; i < nfields; i++) {
32039 key = field[i]
32040 keylen = length(key)
32041 if (S_is_set[key]) {
32042 value = S[key]
32043 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32044 len += length(value) + length(field[++i])
32045 substed = 1
32046 } else
32047 len += 1 + keylen
32048 }
32049
32050 print line
32051}
32052
32053_ACAWK
32054_ACEOF
32055cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32056if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32057 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
32058else
32059 cat
32060fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
32061 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
32062_ACEOF
32063
32064# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32065# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
32066# trailing colons and then remove the whole line if VPATH becomes empty
32067# (actually we leave an empty line to preserve line numbers).
32068if test "x$srcdir" = x.; then
32069 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32070h
32071s///
32072s/^/:/
32073s/[ ]*$/:/
32074s/:\$(srcdir):/:/g
32075s/:\${srcdir}:/:/g
32076s/:@srcdir@:/:/g
32077s/^:*//
32078s/:*$//
32079x
32080s/\(=[ ]*\).*/\1/
32081G
32082s/\n//
32083s/^[^=]*=[ ]*$//
32084}'
32085fi
32086
32087cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32088fi # test -n "$CONFIG_FILES"
32089
32090# Set up the scripts for CONFIG_HEADERS section.
32091# No need to generate them if there are no CONFIG_HEADERS.
32092# This happens for instance with `./config.status Makefile'.
32093if test -n "$CONFIG_HEADERS"; then
32094cat >"$tmp/defines.awk" <<\_ACAWK ||
32095BEGIN {
32096_ACEOF
32097
32098# Transform confdefs.h into an awk script `defines.awk', embedded as
32099# here-document in config.status, that substitutes the proper values into
32100# config.h.in to produce config.h.
32101
32102# Create a delimiter string that does not exist in confdefs.h, to ease
32103# handling of long lines.
32104ac_delim='%!_!# '
32105for ac_last_try in false false :; do
32106 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
32107 if test -z "$ac_t"; then
32108 break
32109 elif $ac_last_try; then
32110 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
32111 else
32112 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32113 fi
32114done
32115
32116# For the awk script, D is an array of macro values keyed by name,
32117# likewise P contains macro parameters if any. Preserve backslash
32118# newline sequences.
32119
32120ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32121sed -n '
32122s/.\{148\}/&'"$ac_delim"'/g
32123t rset
32124:rset
32125s/^[ ]*#[ ]*define[ ][ ]*/ /
32126t def
32127d
32128:def
32129s/\\$//
32130t bsnl
32131s/["\\]/\\&/g
32132s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32133D["\1"]=" \3"/p
32134s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
32135d
32136:bsnl
32137s/["\\]/\\&/g
32138s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32139D["\1"]=" \3\\\\\\n"\\/p
32140t cont
32141s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
32142t cont
32143d
32144:cont
32145n
32146s/.\{148\}/&'"$ac_delim"'/g
32147t clear
32148:clear
32149s/\\$//
32150t bsnlc
32151s/["\\]/\\&/g; s/^/"/; s/$/"/p
32152d
32153:bsnlc
32154s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
32155b cont
32156' <confdefs.h | sed '
32157s/'"$ac_delim"'/"\\\
32158"/g' >>$CONFIG_STATUS || ac_write_fail=1
32159
32160cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32161 for (key in D) D_is_set[key] = 1
32162 FS = ""
32163}
32164/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32165 line = \$ 0
32166 split(line, arg, " ")
32167 if (arg[1] == "#") {
32168 defundef = arg[2]
32169 mac1 = arg[3]
32170 } else {
32171 defundef = substr(arg[1], 2)
32172 mac1 = arg[2]
32173 }
32174 split(mac1, mac2, "(") #)
32175 macro = mac2[1]
32176 prefix = substr(line, 1, index(line, defundef) - 1)
32177 if (D_is_set[macro]) {
32178 # Preserve the white space surrounding the "#".
32179 print prefix "define", macro P[macro] D[macro]
32180 next
32181 } else {
32182 # Replace #undef with comments. This is necessary, for example,
32183 # in the case of _POSIX_SOURCE, which is predefined and required
32184 # on some systems where configure will not decide to define it.
32185 if (defundef == "undef") {
32186 print "/*", prefix defundef, macro, "*/"
32187 next
32188 }
32189 }
32190}
32191{ print }
32192_ACAWK
32193_ACEOF
32194cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32195 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
32196fi # test -n "$CONFIG_HEADERS"
32197
32198
32199eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
32200shift
32201for ac_tag
32202do
32203 case $ac_tag in
32204 :[FHLC]) ac_mode=$ac_tag; continue;;
32205 esac
32206 case $ac_mode$ac_tag in
32207 :[FHL]*:*);;
32208 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
32209 :[FH]-) ac_tag=-:-;;
32210 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
32211 esac
32212 ac_save_IFS=$IFS
32213 IFS=:
32214 set x $ac_tag
32215 IFS=$ac_save_IFS
32216 shift
32217 ac_file=$1
32218 shift
32219
32220 case $ac_mode in
32221 :L) ac_source=$1;;
32222 :[FH])
32223 ac_file_inputs=
32224 for ac_f
32225 do
32226 case $ac_f in
32227 -) ac_f="$tmp/stdin";;
32228 *) # Look for the file first in the build tree, then in the source tree
32229 # (if the path is not absolute). The absolute path cannot be DOS-style,
32230 # because $ac_f cannot contain `:'.
32231 test -f "$ac_f" ||
32232 case $ac_f in
32233 [\\/$]*) false;;
32234 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
32235 esac ||
32236 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
32237 esac
32238 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
32239 as_fn_append ac_file_inputs " '$ac_f'"
32240 done
32241
32242 # Let's still pretend it is `configure' which instantiates (i.e., don't
32243 # use $as_me), people would be surprised to read:
32244 # /* config.h. Generated by config.status. */
32245 configure_input='Generated from '`
32246 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
32247 `' by configure.'
32248 if test x"$ac_file" != x-; then
32249 configure_input="$ac_file. $configure_input"
32250 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
32251$as_echo "$as_me: creating $ac_file" >&6;}
32252 fi
32253 # Neutralize special characters interpreted by sed in replacement strings.
32254 case $configure_input in #(
32255 *\&* | *\|* | *\\* )
32256 ac_sed_conf_input=`$as_echo "$configure_input" |
32257 sed 's/[\\\\&|]/\\\\&/g'`;; #(
32258 *) ac_sed_conf_input=$configure_input;;
32259 esac
32260
32261 case $ac_tag in
32262 *:-:* | *:-) cat >"$tmp/stdin" \
32263 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
32264 esac
32265 ;;
32266 esac
32267
32268 ac_dir=`$as_dirname -- "$ac_file" ||
32269$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32270 X"$ac_file" : 'X\(//\)[^/]' \| \
32271 X"$ac_file" : 'X\(//\)$' \| \
32272 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32273$as_echo X"$ac_file" |
32274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32275 s//\1/
32276 q
32277 }
32278 /^X\(\/\/\)[^/].*/{
32279 s//\1/
32280 q
32281 }
32282 /^X\(\/\/\)$/{
32283 s//\1/
32284 q
32285 }
32286 /^X\(\/\).*/{
32287 s//\1/
32288 q
32289 }
32290 s/.*/./; q'`
32291 as_dir="$ac_dir"; as_fn_mkdir_p
32292 ac_builddir=.
32293
32294case "$ac_dir" in
32295.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
32296*)
32297 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
32298 # A ".." for each directory in $ac_dir_suffix.
32299 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
32300 case $ac_top_builddir_sub in
32301 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
32302 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
32303 esac ;;
32304esac
32305ac_abs_top_builddir=$ac_pwd
32306ac_abs_builddir=$ac_pwd$ac_dir_suffix
32307# for backward compatibility:
32308ac_top_builddir=$ac_top_build_prefix
32309
32310case $srcdir in
32311 .) # We are building in place.
32312 ac_srcdir=.
32313 ac_top_srcdir=$ac_top_builddir_sub
32314 ac_abs_top_srcdir=$ac_pwd ;;
32315 [\\/]* | ?:[\\/]* ) # Absolute name.
32316 ac_srcdir=$srcdir$ac_dir_suffix;
32317 ac_top_srcdir=$srcdir
32318 ac_abs_top_srcdir=$srcdir ;;
32319 *) # Relative name.
32320 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
32321 ac_top_srcdir=$ac_top_build_prefix$srcdir
32322 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
32323esac
32324ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
32325
32326
32327 case $ac_mode in
32328 :F)
32329 #
32330 # CONFIG_FILE
32331 #
32332
32333 case $INSTALL in
32334 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
32335 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
32336 esac
32337 ac_MKDIR_P=$MKDIR_P
32338 case $MKDIR_P in
32339 [\\/$]* | ?:[\\/]* ) ;;
32340 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
32341 esac
32342_ACEOF
32343
32344cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32345# If the template does not know about datarootdir, expand it.
32346# FIXME: This hack should be removed a few years after 2.60.
32347ac_datarootdir_hack=; ac_datarootdir_seen=
32348ac_sed_dataroot='
32349/datarootdir/ {
32350 p
32351 q
32352}
32353/@datadir@/p
32354/@docdir@/p
32355/@infodir@/p
32356/@localedir@/p
32357/@mandir@/p'
32358case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
32359*datarootdir*) ac_datarootdir_seen=yes;;
32360*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
32361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
32362$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
32363_ACEOF
32364cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32365 ac_datarootdir_hack='
32366 s&@datadir@&$datadir&g
32367 s&@docdir@&$docdir&g
32368 s&@infodir@&$infodir&g
32369 s&@localedir@&$localedir&g
32370 s&@mandir@&$mandir&g
32371 s&\\\${datarootdir}&$datarootdir&g' ;;
32372esac
32373_ACEOF
32374
32375# Neutralize VPATH when `$srcdir' = `.'.
32376# Shell code in configure.ac might set extrasub.
32377# FIXME: do we really want to maintain this feature?
32378cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32379ac_sed_extra="$ac_vpsub
32380$extrasub
32381_ACEOF
32382cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32383:t
32384/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
32385s|@configure_input@|$ac_sed_conf_input|;t t
32386s&@top_builddir@&$ac_top_builddir_sub&;t t
32387s&@top_build_prefix@&$ac_top_build_prefix&;t t
32388s&@srcdir@&$ac_srcdir&;t t
32389s&@abs_srcdir@&$ac_abs_srcdir&;t t
32390s&@top_srcdir@&$ac_top_srcdir&;t t
32391s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
32392s&@builddir@&$ac_builddir&;t t
32393s&@abs_builddir@&$ac_abs_builddir&;t t
32394s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
32395s&@INSTALL@&$ac_INSTALL&;t t
32396s&@MKDIR_P@&$ac_MKDIR_P&;t t
32397$ac_datarootdir_hack
32398"
32399eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
32400 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
32401
32402test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
32403 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
32404 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
32405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
32406which seems to be undefined. Please make sure it is defined" >&5
32407$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
32408which seems to be undefined. Please make sure it is defined" >&2;}
32409
32410 rm -f "$tmp/stdin"
32411 case $ac_file in
32412 -) cat "$tmp/out" && rm -f "$tmp/out";;
32413 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
32414 esac \
32415 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
32416 ;;
32417 :H)
32418 #
32419 # CONFIG_HEADER
32420 #
32421 if test x"$ac_file" != x-; then
32422 {
32423 $as_echo "/* $configure_input */" \
32424 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
32425 } >"$tmp/config.h" \
32426 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
32427 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
32428 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
32429$as_echo "$as_me: $ac_file is unchanged" >&6;}
32430 else
32431 rm -f "$ac_file"
32432 mv "$tmp/config.h" "$ac_file" \
32433 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
32434 fi
32435 else
32436 $as_echo "/* $configure_input */" \
32437 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
32438 || as_fn_error $? "could not create -" "$LINENO" 5
32439 fi
32440# Compute "$ac_file"'s index in $config_headers.
32441_am_arg="$ac_file"
32442_am_stamp_count=1
32443for _am_header in $config_headers :; do
32444 case $_am_header in
32445 $_am_arg | $_am_arg:* )
32446 break ;;
32447 * )
32448 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
32449 esac
32450done
32451echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
32452$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32453 X"$_am_arg" : 'X\(//\)[^/]' \| \
32454 X"$_am_arg" : 'X\(//\)$' \| \
32455 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
32456$as_echo X"$_am_arg" |
32457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32458 s//\1/
32459 q
32460 }
32461 /^X\(\/\/\)[^/].*/{
32462 s//\1/
32463 q
32464 }
32465 /^X\(\/\/\)$/{
32466 s//\1/
32467 q
32468 }
32469 /^X\(\/\).*/{
32470 s//\1/
32471 q
32472 }
32473 s/.*/./; q'`/stamp-h$_am_stamp_count
32474 ;;
32475
32476 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
32477$as_echo "$as_me: executing $ac_file commands" >&6;}
32478 ;;
32479 esac
32480
32481
32482 case $ac_file$ac_mode in
32483 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
32484 # Autoconf 2.62 quotes --file arguments for eval, but not when files
32485 # are listed without --file. Let's play safe and only enable the eval
32486 # if we detect the quoting.
32487 case $CONFIG_FILES in
32488 *\'*) eval set x "$CONFIG_FILES" ;;
32489 *) set x $CONFIG_FILES ;;
32490 esac
32491 shift
32492 for mf
32493 do
32494 # Strip MF so we end up with the name of the file.
32495 mf=`echo "$mf" | sed -e 's/:.*$//'`
32496 # Check whether this is an Automake generated Makefile or not.
32497 # We used to match only the files named `Makefile.in', but
32498 # some people rename them; so instead we look at the file content.
32499 # Grep'ing the first line is not enough: some people post-process
32500 # each Makefile.in and add a new line on top of each file to say so.
32501 # Grep'ing the whole file is not good either: AIX grep has a line
32502 # limit of 2048, but all sed's we know have understand at least 4000.
32503 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
32504 dirpart=`$as_dirname -- "$mf" ||
32505$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32506 X"$mf" : 'X\(//\)[^/]' \| \
32507 X"$mf" : 'X\(//\)$' \| \
32508 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
32509$as_echo X"$mf" |
32510 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32511 s//\1/
32512 q
32513 }
32514 /^X\(\/\/\)[^/].*/{
32515 s//\1/
32516 q
32517 }
32518 /^X\(\/\/\)$/{
32519 s//\1/
32520 q
32521 }
32522 /^X\(\/\).*/{
32523 s//\1/
32524 q
32525 }
32526 s/.*/./; q'`
32527 else
32528 continue
32529 fi
32530 # Extract the definition of DEPDIR, am__include, and am__quote
32531 # from the Makefile without running `make'.
32532 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
32533 test -z "$DEPDIR" && continue
32534 am__include=`sed -n 's/^am__include = //p' < "$mf"`
32535 test -z "am__include" && continue
32536 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
32537 # When using ansi2knr, U may be empty or an underscore; expand it
32538 U=`sed -n 's/^U = //p' < "$mf"`
32539 # Find all dependency output files, they are included files with
32540 # $(DEPDIR) in their names. We invoke sed twice because it is the
32541 # simplest approach to changing $(DEPDIR) to its actual value in the
32542 # expansion.
32543 for file in `sed -n "
32544 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
32545 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
32546 # Make sure the directory exists.
32547 test -f "$dirpart/$file" && continue
32548 fdir=`$as_dirname -- "$file" ||
32549$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32550 X"$file" : 'X\(//\)[^/]' \| \
32551 X"$file" : 'X\(//\)$' \| \
32552 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
32553$as_echo X"$file" |
32554 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32555 s//\1/
32556 q
32557 }
32558 /^X\(\/\/\)[^/].*/{
32559 s//\1/
32560 q
32561 }
32562 /^X\(\/\/\)$/{
32563 s//\1/
32564 q
32565 }
32566 /^X\(\/\).*/{
32567 s//\1/
32568 q
32569 }
32570 s/.*/./; q'`
32571 as_dir=$dirpart/$fdir; as_fn_mkdir_p
32572 # echo "creating $dirpart/$file"
32573 echo '# dummy' > "$dirpart/$file"
32574 done
32575 done
32576}
32577 ;;
32578 "libtool":C)
32579
32580 # See if we are running on zsh, and set the options which allow our
32581 # commands through without removal of \ escapes.
32582 if test -n "${ZSH_VERSION+set}" ; then
32583 setopt NO_GLOB_SUBST
32584 fi
32585
32586 cfgfile="${ofile}T"
32587 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
32588 $RM "$cfgfile"
32589
32590 cat <<_LT_EOF >> "$cfgfile"
32591#! $SHELL
32592
32593# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
32594# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
32595# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
32596# NOTE: Changes made to this file will be lost: look at ltmain.sh.
32597#
32598# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
32599# 2006, 2007, 2008 Free Software Foundation, Inc.
32600# Written by Gordon Matzigkeit, 1996
32601#
32602# This file is part of GNU Libtool.
32603#
32604# GNU Libtool is free software; you can redistribute it and/or
32605# modify it under the terms of the GNU General Public License as
32606# published by the Free Software Foundation; either version 2 of
32607# the License, or (at your option) any later version.
32608#
32609# As a special exception to the GNU General Public License,
32610# if you distribute this file as part of a program or library that
32611# is built using GNU Libtool, you may include this file under the
32612# same distribution terms that you use for the rest of that program.
32613#
32614# GNU Libtool is distributed in the hope that it will be useful,
32615# but WITHOUT ANY WARRANTY; without even the implied warranty of
32616# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32617# GNU General Public License for more details.
32618#
32619# You should have received a copy of the GNU General Public License
32620# along with GNU Libtool; see the file COPYING. If not, a copy
32621# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
32622# obtained by writing to the Free Software Foundation, Inc.,
32623# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
32624
32625
32626# The names of the tagged configurations supported by this script.
32627available_tags="CXX "
32628
32629# ### BEGIN LIBTOOL CONFIG
32630
32631# Assembler program.
32632AS=$AS
32633
32634# DLL creation program.
32635DLLTOOL=$DLLTOOL
32636
32637# Object dumper program.
32638OBJDUMP=$OBJDUMP
32639
32640# Which release of libtool.m4 was used?
32641macro_version=$macro_version
32642macro_revision=$macro_revision
32643
32644# Whether or not to build shared libraries.
32645build_libtool_libs=$enable_shared
32646
32647# Whether or not to build static libraries.
32648build_old_libs=$enable_static
32649
32650# What type of objects to build.
32651pic_mode=$pic_mode
32652
32653# Whether or not to optimize for fast installation.
32654fast_install=$enable_fast_install
32655
32656# The host system.
32657host_alias=$host_alias
32658host=$host
32659host_os=$host_os
32660
32661# The build system.
32662build_alias=$build_alias
32663build=$build
32664build_os=$build_os
32665
32666# A sed program that does not truncate output.
32667SED=$lt_SED
32668
32669# Sed that helps us avoid accidentally triggering echo(1) options like -n.
32670Xsed="\$SED -e 1s/^X//"
32671
32672# A grep program that handles long lines.
32673GREP=$lt_GREP
32674
32675# An ERE matcher.
32676EGREP=$lt_EGREP
32677
32678# A literal string matcher.
32679FGREP=$lt_FGREP
32680
32681# A BSD- or MS-compatible name lister.
32682NM=$lt_NM
32683
32684# Whether we need soft or hard links.
32685LN_S=$lt_LN_S
32686
32687# What is the maximum length of a command?
32688max_cmd_len=$max_cmd_len
32689
32690# Object file suffix (normally "o").
32691objext=$ac_objext
32692
32693# Executable file suffix (normally "").
32694exeext=$exeext
32695
32696# whether the shell understands "unset".
32697lt_unset=$lt_unset
32698
32699# turn spaces into newlines.
32700SP2NL=$lt_lt_SP2NL
32701
32702# turn newlines into spaces.
32703NL2SP=$lt_lt_NL2SP
32704
32705# How to create reloadable object files.
32706reload_flag=$lt_reload_flag
32707reload_cmds=$lt_reload_cmds
32708
32709# Method to check whether dependent libraries are shared objects.
32710deplibs_check_method=$lt_deplibs_check_method
32711
32712# Command to use when deplibs_check_method == "file_magic".
32713file_magic_cmd=$lt_file_magic_cmd
32714
32715# The archiver.
32716AR=$lt_AR
32717AR_FLAGS=$lt_AR_FLAGS
32718
32719# A symbol stripping program.
32720STRIP=$lt_STRIP
32721
32722# Commands used to install an old-style archive.
32723RANLIB=$lt_RANLIB
32724old_postinstall_cmds=$lt_old_postinstall_cmds
32725old_postuninstall_cmds=$lt_old_postuninstall_cmds
32726
32727# A C compiler.
32728LTCC=$lt_CC
32729
32730# LTCC compiler flags.
32731LTCFLAGS=$lt_CFLAGS
32732
32733# Take the output of nm and produce a listing of raw symbols and C names.
32734global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
32735
32736# Transform the output of nm in a proper C declaration.
32737global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
32738
32739# Transform the output of nm in a C name address pair.
32740global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
32741
32742# Transform the output of nm in a C name address pair when lib prefix is needed.
32743global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
32744
32745# The name of the directory that contains temporary libtool files.
32746objdir=$objdir
32747
32748# Shell to use when invoking shell scripts.
32749SHELL=$lt_SHELL
32750
32751# An echo program that does not interpret backslashes.
32752ECHO=$lt_ECHO
32753
32754# Used to examine libraries when file_magic_cmd begins with "file".
32755MAGIC_CMD=$MAGIC_CMD
32756
32757# Must we lock files when doing compilation?
32758need_locks=$lt_need_locks
32759
32760# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
32761DSYMUTIL=$lt_DSYMUTIL
32762
32763# Tool to change global to local symbols on Mac OS X.
32764NMEDIT=$lt_NMEDIT
32765
32766# Tool to manipulate fat objects and archives on Mac OS X.
32767LIPO=$lt_LIPO
32768
32769# ldd/readelf like tool for Mach-O binaries on Mac OS X.
32770OTOOL=$lt_OTOOL
32771
32772# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
32773OTOOL64=$lt_OTOOL64
32774
32775# Old archive suffix (normally "a").
32776libext=$libext
32777
32778# Shared library suffix (normally ".so").
32779shrext_cmds=$lt_shrext_cmds
32780
32781# The commands to extract the exported symbol list from a shared archive.
32782extract_expsyms_cmds=$lt_extract_expsyms_cmds
32783
32784# Variables whose values should be saved in libtool wrapper scripts and
32785# restored at link time.
32786variables_saved_for_relink=$lt_variables_saved_for_relink
32787
32788# Do we need the "lib" prefix for modules?
32789need_lib_prefix=$need_lib_prefix
32790
32791# Do we need a version for libraries?
32792need_version=$need_version
32793
32794# Library versioning type.
32795version_type=$version_type
32796
32797# Shared library runtime path variable.
32798runpath_var=$runpath_var
32799
32800# Shared library path variable.
32801shlibpath_var=$shlibpath_var
32802
32803# Is shlibpath searched before the hard-coded library search path?
32804shlibpath_overrides_runpath=$shlibpath_overrides_runpath
32805
32806# Format of library name prefix.
32807libname_spec=$lt_libname_spec
32808
32809# List of archive names. First name is the real one, the rest are links.
32810# The last name is the one that the linker finds with -lNAME
32811library_names_spec=$lt_library_names_spec
32812
32813# The coded name of the library, if different from the real name.
32814soname_spec=$lt_soname_spec
32815
32816# Command to use after installation of a shared archive.
32817postinstall_cmds=$lt_postinstall_cmds
32818
32819# Command to use after uninstallation of a shared archive.
32820postuninstall_cmds=$lt_postuninstall_cmds
32821
32822# Commands used to finish a libtool library installation in a directory.
32823finish_cmds=$lt_finish_cmds
32824
32825# As "finish_cmds", except a single script fragment to be evaled but
32826# not shown.
32827finish_eval=$lt_finish_eval
32828
32829# Whether we should hardcode library paths into libraries.
32830hardcode_into_libs=$hardcode_into_libs
32831
32832# Compile-time system search path for libraries.
32833sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
32834
32835# Run-time system search path for libraries.
32836sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
32837
32838# Whether dlopen is supported.
32839dlopen_support=$enable_dlopen
32840
32841# Whether dlopen of programs is supported.
32842dlopen_self=$enable_dlopen_self
32843
32844# Whether dlopen of statically linked programs is supported.
32845dlopen_self_static=$enable_dlopen_self_static
32846
32847# Commands to strip libraries.
32848old_striplib=$lt_old_striplib
32849striplib=$lt_striplib
32850
32851
32852# The linker used to build libraries.
32853LD=$lt_LD
32854
32855# Commands used to build an old-style archive.
32856old_archive_cmds=$lt_old_archive_cmds
32857
32858# A language specific compiler.
32859CC=$lt_compiler
32860
32861# Is the compiler the GNU compiler?
32862with_gcc=$GCC
32863
32864# Compiler flag to turn off builtin functions.
32865no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
32866
32867# How to pass a linker flag through the compiler.
32868wl=$lt_lt_prog_compiler_wl
32869
32870# Additional compiler flags for building library objects.
32871pic_flag=$lt_lt_prog_compiler_pic
32872
32873# Compiler flag to prevent dynamic linking.
32874link_static_flag=$lt_lt_prog_compiler_static
32875
32876# Does compiler simultaneously support -c and -o options?
32877compiler_c_o=$lt_lt_cv_prog_compiler_c_o
32878
32879# Whether or not to add -lc for building shared libraries.
32880build_libtool_need_lc=$archive_cmds_need_lc
32881
32882# Whether or not to disallow shared libs when runtime libs are static.
32883allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
32884
32885# Compiler flag to allow reflexive dlopens.
32886export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
32887
32888# Compiler flag to generate shared objects directly from archives.
32889whole_archive_flag_spec=$lt_whole_archive_flag_spec
32890
32891# Whether the compiler copes with passing no objects directly.
32892compiler_needs_object=$lt_compiler_needs_object
32893
32894# Create an old-style archive from a shared archive.
32895old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
32896
32897# Create a temporary old-style archive to link instead of a shared archive.
32898old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
32899
32900# Commands used to build a shared archive.
32901archive_cmds=$lt_archive_cmds
32902archive_expsym_cmds=$lt_archive_expsym_cmds
32903
32904# Commands used to build a loadable module if different from building
32905# a shared archive.
32906module_cmds=$lt_module_cmds
32907module_expsym_cmds=$lt_module_expsym_cmds
32908
32909# Whether we are building with GNU ld or not.
32910with_gnu_ld=$lt_with_gnu_ld
32911
32912# Flag that allows shared libraries with undefined symbols to be built.
32913allow_undefined_flag=$lt_allow_undefined_flag
32914
32915# Flag that enforces no undefined symbols.
32916no_undefined_flag=$lt_no_undefined_flag
32917
32918# Flag to hardcode \$libdir into a binary during linking.
32919# This must work even if \$libdir does not exist
32920hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
32921
32922# If ld is used when linking, flag to hardcode \$libdir into a binary
32923# during linking. This must work even if \$libdir does not exist.
32924hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
32925
32926# Whether we need a single "-rpath" flag with a separated argument.
32927hardcode_libdir_separator=$lt_hardcode_libdir_separator
32928
32929# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
32930# DIR into the resulting binary.
32931hardcode_direct=$hardcode_direct
32932
32933# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
32934# DIR into the resulting binary and the resulting library dependency is
32935# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
32936# library is relocated.
32937hardcode_direct_absolute=$hardcode_direct_absolute
32938
32939# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32940# into the resulting binary.
32941hardcode_minus_L=$hardcode_minus_L
32942
32943# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32944# into the resulting binary.
32945hardcode_shlibpath_var=$hardcode_shlibpath_var
32946
32947# Set to "yes" if building a shared library automatically hardcodes DIR
32948# into the library and all subsequent libraries and executables linked
32949# against it.
32950hardcode_automatic=$hardcode_automatic
32951
32952# Set to yes if linker adds runtime paths of dependent libraries
32953# to runtime path list.
32954inherit_rpath=$inherit_rpath
32955
32956# Whether libtool must link a program against all its dependency libraries.
32957link_all_deplibs=$link_all_deplibs
32958
32959# Fix the shell variable \$srcfile for the compiler.
32960fix_srcfile_path=$lt_fix_srcfile_path
32961
32962# Set to "yes" if exported symbols are required.
32963always_export_symbols=$always_export_symbols
32964
32965# The commands to list exported symbols.
32966export_symbols_cmds=$lt_export_symbols_cmds
32967
32968# Symbols that should not be listed in the preloaded symbols.
32969exclude_expsyms=$lt_exclude_expsyms
32970
32971# Symbols that must always be exported.
32972include_expsyms=$lt_include_expsyms
32973
32974# Commands necessary for linking programs (against libraries) with templates.
32975prelink_cmds=$lt_prelink_cmds
32976
32977# Specify filename containing input files.
32978file_list_spec=$lt_file_list_spec
32979
32980# How to hardcode a shared library path into an executable.
32981hardcode_action=$hardcode_action
32982
32983# The directories searched by this compiler when creating a shared library.
32984compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
32985
32986# Dependencies to place before and after the objects being linked to
32987# create a shared library.
32988predep_objects=$lt_predep_objects
32989postdep_objects=$lt_postdep_objects
32990predeps=$lt_predeps
32991postdeps=$lt_postdeps
32992
32993# The library search path used internally by the compiler when linking
32994# a shared library.
32995compiler_lib_search_path=$lt_compiler_lib_search_path
32996
32997# ### END LIBTOOL CONFIG
32998
32999_LT_EOF
33000
33001 case $host_os in
33002 aix3*)
33003 cat <<\_LT_EOF >> "$cfgfile"
33004# AIX sometimes has problems with the GCC collect2 program. For some
33005# reason, if we set the COLLECT_NAMES environment variable, the problems
33006# vanish in a puff of smoke.
33007if test "X${COLLECT_NAMES+set}" != Xset; then
33008 COLLECT_NAMES=
33009 export COLLECT_NAMES
33010fi
33011_LT_EOF
33012 ;;
33013 esac
33014
33015
33016ltmain="$ac_aux_dir/ltmain.sh"
33017
33018
33019 # We use sed instead of cat because bash on DJGPP gets confused if
33020 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33021 # text mode, it properly converts lines to CR/LF. This bash problem
33022 # is reportedly fixed, but why not run on old versions too?
33023 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33024 || (rm -f "$cfgfile"; exit 1)
33025
33026 case $xsi_shell in
33027 yes)
33028 cat << \_LT_EOF >> "$cfgfile"
33029
33030# func_dirname file append nondir_replacement
33031# Compute the dirname of FILE. If nonempty, add APPEND to the result,
33032# otherwise set result to NONDIR_REPLACEMENT.
33033func_dirname ()
33034{
33035 case ${1} in
33036 */*) func_dirname_result="${1%/*}${2}" ;;
33037 * ) func_dirname_result="${3}" ;;
33038 esac
33039}
33040
33041# func_basename file
33042func_basename ()
33043{
33044 func_basename_result="${1##*/}"
33045}
33046
33047# func_dirname_and_basename file append nondir_replacement
33048# perform func_basename and func_dirname in a single function
33049# call:
33050# dirname: Compute the dirname of FILE. If nonempty,
33051# add APPEND to the result, otherwise set result
33052# to NONDIR_REPLACEMENT.
33053# value returned in "$func_dirname_result"
33054# basename: Compute filename of FILE.
33055# value retuned in "$func_basename_result"
33056# Implementation must be kept synchronized with func_dirname
33057# and func_basename. For efficiency, we do not delegate to
33058# those functions but instead duplicate the functionality here.
33059func_dirname_and_basename ()
33060{
33061 case ${1} in
33062 */*) func_dirname_result="${1%/*}${2}" ;;
33063 * ) func_dirname_result="${3}" ;;
33064 esac
33065 func_basename_result="${1##*/}"
33066}
33067
33068# func_stripname prefix suffix name
33069# strip PREFIX and SUFFIX off of NAME.
33070# PREFIX and SUFFIX must not contain globbing or regex special
33071# characters, hashes, percent signs, but SUFFIX may contain a leading
33072# dot (in which case that matches only a dot).
33073func_stripname ()
33074{
33075 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33076 # positional parameters, so assign one to ordinary parameter first.
33077 func_stripname_result=${3}
33078 func_stripname_result=${func_stripname_result#"${1}"}
33079 func_stripname_result=${func_stripname_result%"${2}"}
33080}
33081
33082# func_opt_split
33083func_opt_split ()
33084{
33085 func_opt_split_opt=${1%%=*}
33086 func_opt_split_arg=${1#*=}
33087}
33088
33089# func_lo2o object
33090func_lo2o ()
33091{
33092 case ${1} in
33093 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
33094 *) func_lo2o_result=${1} ;;
33095 esac
33096}
33097
33098# func_xform libobj-or-source
33099func_xform ()
33100{
33101 func_xform_result=${1%.*}.lo
33102}
33103
33104# func_arith arithmetic-term...
33105func_arith ()
33106{
33107 func_arith_result=$(( $* ))
33108}
33109
33110# func_len string
33111# STRING may not start with a hyphen.
33112func_len ()
33113{
33114 func_len_result=${#1}
33115}
33116
33117_LT_EOF
33118 ;;
33119 *) # Bourne compatible functions.
33120 cat << \_LT_EOF >> "$cfgfile"
33121
33122# func_dirname file append nondir_replacement
33123# Compute the dirname of FILE. If nonempty, add APPEND to the result,
33124# otherwise set result to NONDIR_REPLACEMENT.
33125func_dirname ()
33126{
33127 # Extract subdirectory from the argument.
33128 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
33129 if test "X$func_dirname_result" = "X${1}"; then
33130 func_dirname_result="${3}"
33131 else
33132 func_dirname_result="$func_dirname_result${2}"
33133 fi
33134}
33135
33136# func_basename file
33137func_basename ()
33138{
33139 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
33140}
33141
33142
33143# func_stripname prefix suffix name
33144# strip PREFIX and SUFFIX off of NAME.
33145# PREFIX and SUFFIX must not contain globbing or regex special
33146# characters, hashes, percent signs, but SUFFIX may contain a leading
33147# dot (in which case that matches only a dot).
33148# func_strip_suffix prefix name
33149func_stripname ()
33150{
33151 case ${2} in
33152 .*) func_stripname_result=`$ECHO "X${3}" \
33153 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
33154 *) func_stripname_result=`$ECHO "X${3}" \
33155 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
33156 esac
33157}
33158
33159# sed scripts:
33160my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
33161my_sed_long_arg='1s/^-[^=]*=//'
33162
33163# func_opt_split
33164func_opt_split ()
33165{
33166 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
33167 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
33168}
33169
33170# func_lo2o object
33171func_lo2o ()
33172{
33173 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
33174}
33175
33176# func_xform libobj-or-source
33177func_xform ()
33178{
33179 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
33180}
33181
33182# func_arith arithmetic-term...
33183func_arith ()
33184{
33185 func_arith_result=`expr "$@"`
33186}
33187
33188# func_len string
33189# STRING may not start with a hyphen.
33190func_len ()
33191{
33192 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
33193}
33194
33195_LT_EOF
33196esac
33197
33198case $lt_shell_append in
33199 yes)
33200 cat << \_LT_EOF >> "$cfgfile"
33201
33202# func_append var value
33203# Append VALUE to the end of shell variable VAR.
33204func_append ()
33205{
33206 eval "$1+=\$2"
33207}
33208_LT_EOF
33209 ;;
33210 *)
33211 cat << \_LT_EOF >> "$cfgfile"
33212
33213# func_append var value
33214# Append VALUE to the end of shell variable VAR.
33215func_append ()
33216{
33217 eval "$1=\$$1\$2"
33218}
33219
33220_LT_EOF
33221 ;;
33222 esac
33223
33224
33225 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
33226 || (rm -f "$cfgfile"; exit 1)
33227
33228 mv -f "$cfgfile" "$ofile" ||
33229 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
33230 chmod +x "$ofile"
33231
33232
33233 cat <<_LT_EOF >> "$ofile"
33234
33235# ### BEGIN LIBTOOL TAG CONFIG: CXX
33236
33237# The linker used to build libraries.
33238LD=$lt_LD_CXX
33239
33240# Commands used to build an old-style archive.
33241old_archive_cmds=$lt_old_archive_cmds_CXX
33242
33243# A language specific compiler.
33244CC=$lt_compiler_CXX
33245
33246# Is the compiler the GNU compiler?
33247with_gcc=$GCC_CXX
33248
33249# Compiler flag to turn off builtin functions.
33250no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
33251
33252# How to pass a linker flag through the compiler.
33253wl=$lt_lt_prog_compiler_wl_CXX
33254
33255# Additional compiler flags for building library objects.
33256pic_flag=$lt_lt_prog_compiler_pic_CXX
33257
33258# Compiler flag to prevent dynamic linking.
33259link_static_flag=$lt_lt_prog_compiler_static_CXX
33260
33261# Does compiler simultaneously support -c and -o options?
33262compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
33263
33264# Whether or not to add -lc for building shared libraries.
33265build_libtool_need_lc=$archive_cmds_need_lc_CXX
33266
33267# Whether or not to disallow shared libs when runtime libs are static.
33268allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
33269
33270# Compiler flag to allow reflexive dlopens.
33271export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
33272
33273# Compiler flag to generate shared objects directly from archives.
33274whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
33275
33276# Whether the compiler copes with passing no objects directly.
33277compiler_needs_object=$lt_compiler_needs_object_CXX
33278
33279# Create an old-style archive from a shared archive.
33280old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
33281
33282# Create a temporary old-style archive to link instead of a shared archive.
33283old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
33284
33285# Commands used to build a shared archive.
33286archive_cmds=$lt_archive_cmds_CXX
33287archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
33288
33289# Commands used to build a loadable module if different from building
33290# a shared archive.
33291module_cmds=$lt_module_cmds_CXX
33292module_expsym_cmds=$lt_module_expsym_cmds_CXX
33293
33294# Whether we are building with GNU ld or not.
33295with_gnu_ld=$lt_with_gnu_ld_CXX
33296
33297# Flag that allows shared libraries with undefined symbols to be built.
33298allow_undefined_flag=$lt_allow_undefined_flag_CXX
33299
33300# Flag that enforces no undefined symbols.
33301no_undefined_flag=$lt_no_undefined_flag_CXX
33302
33303# Flag to hardcode \$libdir into a binary during linking.
33304# This must work even if \$libdir does not exist
33305hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
33306
33307# If ld is used when linking, flag to hardcode \$libdir into a binary
33308# during linking. This must work even if \$libdir does not exist.
33309hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
33310
33311# Whether we need a single "-rpath" flag with a separated argument.
33312hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
33313
33314# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33315# DIR into the resulting binary.
33316hardcode_direct=$hardcode_direct_CXX
33317
33318# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33319# DIR into the resulting binary and the resulting library dependency is
33320# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33321# library is relocated.
33322hardcode_direct_absolute=$hardcode_direct_absolute_CXX
33323
33324# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33325# into the resulting binary.
33326hardcode_minus_L=$hardcode_minus_L_CXX
33327
33328# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33329# into the resulting binary.
33330hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
33331
33332# Set to "yes" if building a shared library automatically hardcodes DIR
33333# into the library and all subsequent libraries and executables linked
33334# against it.
33335hardcode_automatic=$hardcode_automatic_CXX
33336
33337# Set to yes if linker adds runtime paths of dependent libraries
33338# to runtime path list.
33339inherit_rpath=$inherit_rpath_CXX
33340
33341# Whether libtool must link a program against all its dependency libraries.
33342link_all_deplibs=$link_all_deplibs_CXX
33343
33344# Fix the shell variable \$srcfile for the compiler.
33345fix_srcfile_path=$lt_fix_srcfile_path_CXX
33346
33347# Set to "yes" if exported symbols are required.
33348always_export_symbols=$always_export_symbols_CXX
33349
33350# The commands to list exported symbols.
33351export_symbols_cmds=$lt_export_symbols_cmds_CXX
33352
33353# Symbols that should not be listed in the preloaded symbols.
33354exclude_expsyms=$lt_exclude_expsyms_CXX
33355
33356# Symbols that must always be exported.
33357include_expsyms=$lt_include_expsyms_CXX
33358
33359# Commands necessary for linking programs (against libraries) with templates.
33360prelink_cmds=$lt_prelink_cmds_CXX
33361
33362# Specify filename containing input files.
33363file_list_spec=$lt_file_list_spec_CXX
33364
33365# How to hardcode a shared library path into an executable.
33366hardcode_action=$hardcode_action_CXX
33367
33368# The directories searched by this compiler when creating a shared library.
33369compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
33370
33371# Dependencies to place before and after the objects being linked to
33372# create a shared library.
33373predep_objects=$lt_predep_objects_CXX
33374postdep_objects=$lt_postdep_objects_CXX
33375predeps=$lt_predeps_CXX
33376postdeps=$lt_postdeps_CXX
33377
33378# The library search path used internally by the compiler when linking
33379# a shared library.
33380compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
33381
33382# ### END LIBTOOL TAG CONFIG: CXX
33383_LT_EOF
33384
33385 ;;
33386 "po-directories":C)
33387 for ac_file in $CONFIG_FILES; do
33388 # Support "outfile[:infile[:infile...]]"
33389 case "$ac_file" in
33390 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
33391 esac
33392 # PO directories have a Makefile.in generated from Makefile.in.in.
33393 case "$ac_file" in */Makefile.in)
33394 # Adjust a relative srcdir.
33395 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
33396 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
33397 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
33398 # In autoconf-2.13 it is called $ac_given_srcdir.
33399 # In autoconf-2.50 it is called $srcdir.
33400 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
33401 case "$ac_given_srcdir" in
33402 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
33403 /*) top_srcdir="$ac_given_srcdir" ;;
33404 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
33405 esac
33406 # Treat a directory as a PO directory if and only if it has a
33407 # POTFILES.in file. This allows packages to have multiple PO
33408 # directories under different names or in different locations.
33409 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
33410 rm -f "$ac_dir/POTFILES"
33411 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
33412 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
33413 POMAKEFILEDEPS="POTFILES.in"
33414 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
33415 # on $ac_dir but don't depend on user-specified configuration
33416 # parameters.
33417 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
33418 # The LINGUAS file contains the set of available languages.
33419 if test -n "$OBSOLETE_ALL_LINGUAS"; then
33420 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
33421 fi
33422 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
33423 # Hide the ALL_LINGUAS assigment from automake < 1.5.
33424 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
33425 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
33426 else
33427 # The set of available languages was given in configure.in.
33428 # Hide the ALL_LINGUAS assigment from automake < 1.5.
33429 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
33430 fi
33431 # Compute POFILES
33432 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
33433 # Compute UPDATEPOFILES
33434 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
33435 # Compute DUMMYPOFILES
33436 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
33437 # Compute GMOFILES
33438 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
33439 case "$ac_given_srcdir" in
33440 .) srcdirpre= ;;
33441 *) srcdirpre='$(srcdir)/' ;;
33442 esac
33443 POFILES=
33444 UPDATEPOFILES=
33445 DUMMYPOFILES=
33446 GMOFILES=
33447 for lang in $ALL_LINGUAS; do
33448 POFILES="$POFILES $srcdirpre$lang.po"
33449 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
33450 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
33451 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
33452 done
33453 # CATALOGS depends on both $ac_dir and the user's LINGUAS
33454 # environment variable.
33455 INST_LINGUAS=
33456 if test -n "$ALL_LINGUAS"; then
33457 for presentlang in $ALL_LINGUAS; do
33458 useit=no
33459 if test "%UNSET%" != "$LINGUAS"; then
33460 desiredlanguages="$LINGUAS"
33461 else
33462 desiredlanguages="$ALL_LINGUAS"
33463 fi
33464 for desiredlang in $desiredlanguages; do
33465 # Use the presentlang catalog if desiredlang is
33466 # a. equal to presentlang, or
33467 # b. a variant of presentlang (because in this case,
33468 # presentlang can be used as a fallback for messages
33469 # which are not translated in the desiredlang catalog).
33470 case "$desiredlang" in
33471 "$presentlang"*) useit=yes;;
33472 esac
33473 done
33474 if test $useit = yes; then
33475 INST_LINGUAS="$INST_LINGUAS $presentlang"
33476 fi
33477 done
33478 fi
33479 CATALOGS=
33480 if test -n "$INST_LINGUAS"; then
33481 for lang in $INST_LINGUAS; do
33482 CATALOGS="$CATALOGS $lang.gmo"
33483 done
33484 fi
33485 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
33486 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
33487 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
33488 if test -f "$f"; then
33489 case "$f" in
33490 *.orig | *.bak | *~) ;;
33491 *) cat "$f" >> "$ac_dir/Makefile" ;;
33492 esac
33493 fi
33494 done
33495 fi
33496 ;;
33497 esac
33498 done ;;
33499
33500 esac
33501done # for ac_tag
33502
33503
33504as_fn_exit 0
33505_ACEOF
33506ac_clean_files=$ac_clean_files_save
33507
33508test $ac_write_fail = 0 ||
33509 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
33510
33511
33512# configure is writing to config.log, and then calls config.status.
33513# config.status does its own redirection, appending to config.log.
33514# Unfortunately, on DOS this fails, as config.log is still kept open
33515# by configure, so config.status won't be able to write to it; its
33516# output is simply discarded. So we exec the FD to /dev/null,
33517# effectively closing config.log, so it can be properly (re)opened and
33518# appended to by config.status. When coming back to configure, we
33519# need to make the FD available again.
33520if test "$no_create" != yes; then
33521 ac_cs_success=:
33522 ac_config_status_args=
33523 test "$silent" = yes &&
33524 ac_config_status_args="$ac_config_status_args --quiet"
33525 exec 5>/dev/null
33526 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
33527 exec 5>>config.log
33528 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
33529 # would make configure fail if this is the last instruction.
33530 $ac_cs_success || as_fn_exit 1
33531fi
33532if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
33533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
33534$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
33535fi
33536
33537
33538echo
33539echo "$PACKAGE $VERSION"
33540echo
33541echo "Optional Modules:"
33542echo
33543echo " Core:"
33544echo
33545echo " Ecore........................: always"
33546echo " Thread support.............: $have_threads"
33547echo " Thread safety..............: $want_thread_safety"
33548echo " GLib support...............: $have_glib"
33549echo " Always integrate GLib......: $want_glib_integration_always"
33550echo " Use g_main_loop............: $want_g_main_loop"
33551echo " Gathering memory statistic.: $have_mallinfo"
33552echo " Gathering timer allocation.: $want_ecore_timer_dump"
33553echo " Ecore_Con....................: $have_ecore_con"
33554if test "x$have_ecore_con" = "xyes" ; then
33555 echo $ECHO_N " OpenSSL....................: $have_openssl $ECHO_C"
33556if test "x$have_gnutls" = "xyes" ; then
33557 echo " (disabled)"
33558else
33559 echo
33560fi
33561 echo " IPv6.......................: $have_ipv6"
33562 echo " GnuTLS.....................: $have_gnutls"
33563 echo " CURL.......................: $have_curl"
33564 echo " Local Sockets..............: $want_ecore_con_local_sockets"
33565if test "x$want_ecore_con_local_sockets" = "xyes" ; then
33566 echo " Abstract Sockets.........: $want_ecore_con_abstract_sockets"
33567fi
33568 echo " c-ares.....................: $have_cares"
33569fi
33570echo " Ecore_Ipc....................: $have_ecore_ipc"
33571if test "x$have_ecore_ipc" = "xyes" ; then
33572 echo $ECHO_N " OpenSSL....................: $have_openssl $ECHO_C"
33573if test "x$have_gnutls" = "xyes" ; then
33574 echo " (disabled)"
33575else
33576 echo
33577fi
33578 echo " GnuTLS.....................: $have_gnutls"
33579fi
33580echo " Ecore_File...................: $have_ecore_file"
33581if test "x$have_ecore_file" = "xyes" ; then
33582 echo " Inotify....................: $have_inotify"
33583 echo " Windows notification.......: $have_notify_win32"
33584 echo " Poll.......................: $have_poll"
33585 echo " CURL.......................: $have_curl"
33586fi
33587#echo " Ecore_Config.................: $have_ecore_config (deprecated)"
33588echo " Ecore_IMF....................: $have_ecore_imf"
33589echo " XIM........................: $have_ecore_imf_xim"
33590echo " Ecore_IMF_Evas...............: $have_ecore_imf_evas"
33591echo " Ecore_Input..................: $have_ecore_input"
33592echo " Ecore_Input_Evas.............: $have_ecore_input_evas"
33593
33594echo
33595echo " Graphic systems:"
33596echo
33597
33598if test "x$have_ecore_x" = "xyes" ; then
33599 if test "x$have_ecore_x_xcb" = "xyes" ; then
33600 echo " Ecore_X (XCB backend)........: $have_ecore_x_xcb"
33601 echo " Xprint.....................: $have_ecore_x_xcb_xprint"
33602 echo " Xinerama...................: $have_ecore_x_xcb_xinerama"
33603 echo " Xrandr.....................: $have_ecore_x_xcb_randr"
33604 echo " Xscreensaver...............: $have_ecore_x_xcb_screensaver"
33605 echo " Xshape.....................: $have_ecore_x_xcb_shape"
33606 echo " Xgesture...................: $have_ecore_x_xcb_gesture"
33607 echo " Xsync......................: $have_ecore_x_xcb_sync"
33608 echo " Xrender....................: $have_ecore_x_xcb_render"
33609 echo " Xcomposite.................: $have_ecore_x_xcb_composite"
33610 echo " Xfixes.....................: $have_ecore_x_xcb_xfixes"
33611 echo " Xdamage....................: $have_ecore_x_xcb_damage"
33612 echo " Xdpms......................: $have_ecore_x_xcb_dpms"
33613 echo " Xtest......................: $have_ecore_x_xcb_xtest"
33614 else
33615 echo " Ecore_X (Xlib backend).......: $have_ecore_x"
33616 echo " Xcursor....................: $use_Xcursor"
33617 echo " Xkb........................: $use_xkb"
33618 echo " Xprint.....................: $use_xprint"
33619 echo " Xinerama...................: $use_xinerama"
33620 echo " Xrandr.....................: $use_xrandr"
33621 echo " Xgesture...................: $use_xgesture"
33622 echo " Xscreensaver...............: $use_xss"
33623 echo " Xrender....................: $use_xrender"
33624 echo " Xcomposite.................: $use_xcomposite"
33625 echo " Xfixes.....................: $use_xfixes"
33626 echo " Xdamage....................: $use_xdamage"
33627 echo " Xdpms......................: $use_xdpms"
33628 echo " Xtest......................: $use_xtest"
33629 echo " XIM........................: $want_xim"
33630 echo " Xi2........................: $use_xi2"
33631 fi
33632else
33633 echo " Ecore_X......................: $have_ecore_x"
33634fi
33635echo " Ecore_Win32..................: $have_ecore_win32"
33636echo " Ecore_Cocoa..................: $have_ecore_cocoa"
33637echo " Ecore_SDL....................: $have_ecore_sdl"
33638echo " Ecore_FB.....................: $have_ecore_fb"
33639if test "x${have_ecore_fb}" = "xyes" ; then
33640 echo " Touchscreen................: $have_tslib"
33641fi
33642echo " Ecore_DirectFB...............: $have_ecore_directfb"
33643echo " Ecore_WinCE..................: $have_ecore_wince"
33644echo " Ecore_PSL1GHT................: $have_ecore_psl1ght"
33645
33646echo
33647echo " Ecore Evas:"
33648echo
33649
33650echo " Ecore_Evas...................: $have_ecore_evas"
33651if test "x${have_ecore_evas}" = "xyes" ; then
33652 echo " Software Memory Buffer.....: $have_ecore_evas_software_buffer"
33653 if test "x${have_ecore_evas_software_x11}" = "xyes" ; then
33654 echo " Software X11...............: $have_ecore_evas_software_x11 (Xlib=${have_ecore_evas_software_xlib}) (XCB=${have_ecore_evas_software_xcb})"
33655 else
33656 echo " Software X11...............: $have_ecore_evas_software_x11"
33657 fi
33658 if test "x${have_ecore_evas_opengl_x11}" = "xyes" ; then
33659 echo " OpenGL X11.................: $have_ecore_evas_opengl_x11 (Xlib=${have_ecore_evas_opengl_xlib}) (XCB=${have_ecore_evas_opengl_xcb})"
33660 else
33661 echo " OpenGL X11.................: $have_ecore_evas_opengl_x11"
33662 fi
33663 echo " Software GDI...............: $have_ecore_evas_software_gdi"
33664 echo " Software DirectDraw........: $have_ecore_evas_software_ddraw"
33665 echo " Direct3D...................: $have_ecore_evas_direct3d"
33666 echo " OpenGL Glew................: $have_ecore_evas_opengl_glew"
33667 echo " Software SDL...............: $have_ecore_evas_software_sdl"
33668 echo " OpenGL SDL.................: $have_ecore_evas_opengl_sdl"
33669 echo " OpenGL Cocoa...............: $have_ecore_evas_opengl_cocoa"
33670 echo " DirectFB...................: $have_ecore_evas_directfb"
33671 echo " PSL1GHT....................: $have_ecore_evas_psl1ght"
33672 echo " Software Framebuffer.......: $have_ecore_evas_fb"
33673 echo " Software 8bit grayscale XCB: $have_ecore_evas_software_8_x11"
33674 echo " Software 16bit X11.........: $have_ecore_evas_software_16_x11"
33675 echo " Software 16bit DirectDraw..: $have_ecore_evas_software_16_ddraw"
33676 echo " Software 16bit WinCE.......: $have_ecore_evas_software_16_wince"
33677 echo " Sing.Proc. Windowing System: $have_ecore_evas_ews"
33678fi
33679echo
33680echo " Tests................: ${enable_tests}"
33681echo " Maximum log level....: ${with_max_log_level}"
33682echo "Documentation..........: ${build_doc}"
33683echo
33684echo "Compilation............: make (or gmake)"
33685echo " CPPFLAGS.............: $CPPFLAGS"
33686echo " CFLAGS...............: $CFLAGS"
33687echo " CXXFLAGS.............: $CXXFLAGS"
33688echo " LDFLAGS..............: $LDFLAGS"
33689echo
33690echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
33691echo " prefix...............: $prefix"
33692echo