aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/eina/configure
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 17:29:19 +1000
committerDavid Walter Seikel2013-01-13 17:29:19 +1000
commit07274513e984f0b5544586c74508ccd16e7dcafa (patch)
treeb32ff2a9136fbc1a4a6a0ed1e4d79cde0f5f16d9 /libraries/eina/configure
parentAdded Irrlicht 1.8, but without all the Windows binaries. (diff)
downloadSledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.zip
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.gz
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.bz2
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.xz
Remove EFL, since it's been released now.
Diffstat (limited to 'libraries/eina/configure')
-rwxr-xr-xlibraries/eina/configure23820
1 files changed, 0 insertions, 23820 deletions
diff --git a/libraries/eina/configure b/libraries/eina/configure
deleted file mode 100755
index ef62c1d..0000000
--- a/libraries/eina/configure
+++ /dev/null
@@ -1,23820 +0,0 @@
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67 for eina 1.2.0-alpha.
4#
5# Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Foundation, Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order. Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" "" $as_nl"
92
93# Find who we are. Look in the path if we contain no directory separator.
94case $0 in #((
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97for as_dir in $PATH
98do
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
103IFS=$as_save_IFS
104
105 ;;
106esac
107# We did not find ourselves, most probably we were run as `sh COMMAND'
108# in which case we are not to be found in the path.
109if test "x$as_myself" = x; then
110 as_myself=$0
111fi
112if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1
115fi
116
117# Unset variables that we do not need and which cause bugs (e.g. in
118# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119# suppresses any "Segmentation fault" message there. '((' could
120# trigger a bug in pdksh 5.2.14.
121for as_var in BASH_ENV ENV MAIL MAILPATH
122do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124done
125PS1='$ '
126PS2='> '
127PS4='+ '
128
129# NLS nuisances.
130LC_ALL=C
131export LC_ALL
132LANGUAGE=C
133export LANGUAGE
134
135# CDPATH.
136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 emulate sh
141 NULLCMD=:
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 setopt NO_GLOB_SUBST
146else
147 case \`(set -o) 2>/dev/null\` in #(
148 *posix*) :
149 set -o posix ;; #(
150 *) :
151 ;;
152esac
153fi
154"
155 as_required="as_fn_return () { (exit \$1); }
156as_fn_success () { as_fn_return 0; }
157as_fn_failure () { as_fn_return 1; }
158as_fn_ret_success () { return 0; }
159as_fn_ret_failure () { return 1; }
160
161exitcode=0
162as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168else
169 exitcode=1; echo positional parameters were not saved.
170fi
171test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
178 as_have_required=yes
179else
180 as_have_required=no
181fi
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184else
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186as_found=false
187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188do
189 IFS=$as_save_IFS
190 test -z "$as_dir" && as_dir=.
191 as_found=:
192 case $as_dir in #(
193 /*)
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201 break 2
202fi
203fi
204 done;;
205 esac
206 as_found=false
207done
208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
211fi; }
212IFS=$as_save_IFS
213
214
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
219 BASH_ENV=/dev/null
220 ENV=/dev/null
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 export CONFIG_SHELL
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224fi
225
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232 else
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234$0: enlightenment-devel@lists.sourceforge.net about your
235$0: system, including any error possibly output before this
236$0: message. Then install a modern shell, or manually run
237$0: the script under such a shell if you do have one."
238 fi
239 exit 1
240fi
241fi
242fi
243SHELL=${CONFIG_SHELL-/bin/sh}
244export SHELL
245# Unset more variables known to interfere with behavior of common tools.
246CLICOLOR_FORCE= GREP_OPTIONS=
247unset CLICOLOR_FORCE GREP_OPTIONS
248
249## --------------------- ##
250## M4sh Shell Functions. ##
251## --------------------- ##
252# as_fn_unset VAR
253# ---------------
254# Portably unset VAR.
255as_fn_unset ()
256{
257 { eval $1=; unset $1;}
258}
259as_unset=as_fn_unset
260
261# as_fn_set_status STATUS
262# -----------------------
263# Set $? to STATUS, without forking.
264as_fn_set_status ()
265{
266 return $1
267} # as_fn_set_status
268
269# as_fn_exit STATUS
270# -----------------
271# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272as_fn_exit ()
273{
274 set +e
275 as_fn_set_status $1
276 exit $1
277} # as_fn_exit
278
279# as_fn_mkdir_p
280# -------------
281# Create "$as_dir" as a directory, including parents if necessary.
282as_fn_mkdir_p ()
283{
284
285 case $as_dir in #(
286 -*) as_dir=./$as_dir;;
287 esac
288 test -d "$as_dir" || eval $as_mkdir_p || {
289 as_dirs=
290 while :; do
291 case $as_dir in #(
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293 *) as_qdir=$as_dir;;
294 esac
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301$as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303 s//\1/
304 q
305 }
306 /^X\(\/\/\)[^/].*/{
307 s//\1/
308 q
309 }
310 /^X\(\/\/\)$/{
311 s//\1/
312 q
313 }
314 /^X\(\/\).*/{
315 s//\1/
316 q
317 }
318 s/.*/./; q'`
319 test -d "$as_dir" && break
320 done
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323
324
325} # as_fn_mkdir_p
326# as_fn_append VAR VALUE
327# ----------------------
328# Append the text in VALUE to the end of the definition contained in VAR. Take
329# advantage of any shell optimizations that allow amortized linear growth over
330# repeated appends, instead of the typical quadratic growth present in naive
331# implementations.
332if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
334 {
335 eval $1+=\$2
336 }'
337else
338 as_fn_append ()
339 {
340 eval $1=\$$1\$2
341 }
342fi # as_fn_append
343
344# as_fn_arith ARG...
345# ------------------
346# Perform arithmetic evaluation on the ARGs, and store the result in the
347# global $as_val. Take advantage of shells that can avoid forks. The arguments
348# must be portable across $(()) and expr.
349if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350 eval 'as_fn_arith ()
351 {
352 as_val=$(( $* ))
353 }'
354else
355 as_fn_arith ()
356 {
357 as_val=`expr "$@" || test $? -eq 1`
358 }
359fi # as_fn_arith
360
361
362# as_fn_error STATUS ERROR [LINENO LOG_FD]
363# ----------------------------------------
364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366# script with STATUS, using 1 if that was 0.
367as_fn_error ()
368{
369 as_status=$1; test $as_status -eq 0 && as_status=1
370 if test "$4"; then
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373 fi
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
376} # as_fn_error
377
378if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 as_expr=expr
381else
382 as_expr=false
383fi
384
385if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 as_basename=basename
387else
388 as_basename=false
389fi
390
391if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_dirname=dirname
393else
394 as_dirname=false
395fi
396
397as_me=`$as_basename -- "$0" ||
398$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401$as_echo X/"$0" |
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
403 s//\1/
404 q
405 }
406 /^X\/\(\/\/\)$/{
407 s//\1/
408 q
409 }
410 /^X\/\(\/\).*/{
411 s//\1/
412 q
413 }
414 s/.*/./; q'`
415
416# Avoid depending upon Character Ranges.
417as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420as_cr_digits='0123456789'
421as_cr_alnum=$as_cr_Letters$as_cr_digits
422
423
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
429 sed -n '
430 p
431 /[$]LINENO/=
432 ' <$as_myself |
433 sed '
434 s/[$]LINENO.*/&-/
435 t lineno
436 b
437 :lineno
438 N
439 :loop
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 t loop
442 s/-\n.*//
443 ' >$as_me.lineno &&
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
450 . "./$as_me.lineno"
451 # Exit status is that of the last command.
452 exit
453}
454
455ECHO_C= ECHO_N= ECHO_T=
456case `echo -n x` in #(((((
457-n*)
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
460 xy) ECHO_C='\c';;
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
462 ECHO_T=' ';;
463 esac;;
464*)
465 ECHO_N='-n';;
466esac
467
468rm -f conf$$ conf$$.exe conf$$.file
469if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
471else
472 rm -f conf$$.dir
473 mkdir conf$$.dir 2>/dev/null
474fi
475if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
477 as_ln_s='ln -s'
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483 as_ln_s='cp -p'
484 elif ln conf$$.file conf$$ 2>/dev/null; then
485 as_ln_s=ln
486 else
487 as_ln_s='cp -p'
488 fi
489else
490 as_ln_s='cp -p'
491fi
492rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493rmdir conf$$.dir 2>/dev/null
494
495if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
497else
498 test -d ./-p && rmdir ./-p
499 as_mkdir_p=false
500fi
501
502if test -x / >/dev/null 2>&1; then
503 as_test_x='test -x'
504else
505 if ls -dL / >/dev/null 2>&1; then
506 as_ls_L_option=L
507 else
508 as_ls_L_option=
509 fi
510 as_test_x='
511 eval sh -c '\''
512 if test -d "$1"; then
513 test -d "$1/.";
514 else
515 case $1 in #(
516 -*)set "./$1";;
517 esac;
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
520 '\'' sh
521 '
522fi
523as_executable_p=$as_test_x
524
525# Sed expression to map a string onto a valid CPP name.
526as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
528# Sed expression to map a string onto a valid variable name.
529as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
531
532
533# Check that we are running under the correct shell.
534SHELL=${CONFIG_SHELL-/bin/sh}
535
536case X$lt_ECHO in
537X*--fallback-echo)
538 # Remove one level of quotation (which was required for Make).
539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540 ;;
541esac
542
543ECHO=${lt_ECHO-echo}
544if test "X$1" = X--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
546 shift
547elif test "X$1" = X--fallback-echo; then
548 # Avoid inline document here, it may be left over
549 :
550elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
552 :
553else
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
556fi
557
558if test "X$1" = X--fallback-echo; then
559 # used as fallback echo
560 shift
561 cat <<_LT_EOF
562$*
563_LT_EOF
564 exit 0
565fi
566
567# The HP-UX ksh and POSIX shell print the target directory to stdout
568# if CDPATH is set.
569(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
571if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578 then
579 break
580 fi
581 done
582 fi
583
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
587 :
588 else
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
592 #
593 # So, first we look for a working echo in the user's PATH.
594
595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596 for dir in $PATH /usr/ucb; do
597 IFS="$lt_save_ifs"
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
602 ECHO="$dir/echo"
603 break
604 fi
605 done
606 IFS="$lt_save_ifs"
607
608 if test "X$ECHO" = Xecho; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
614 ECHO='print -r'
615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X/bin/ksh; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL=/bin/ksh
621 export CONFIG_SHELL
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623 else
624 # Try using printf.
625 ECHO='printf %s\n'
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
629 # Cool, printf works
630 :
631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636 export CONFIG_SHELL
637 SHELL="$CONFIG_SHELL"
638 export SHELL
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO="$CONFIG_SHELL $0 --fallback-echo"
645 else
646 # maybe with a smaller string...
647 prev=:
648
649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651 then
652 break
653 fi
654 prev="$cmd"
655 done
656
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661 else
662 # Oops. We lost completely, so just stick with echo.
663 ECHO=echo
664 fi
665 fi
666 fi
667 fi
668 fi
669fi
670
671# Copy echo and quote the copy suitably for passing to libtool from
672# the Makefile, instead of quoting the original, which is used later.
673lt_ECHO=$ECHO
674if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676fi
677
678
679
680
681test -n "$DJDIR" || exec 7<&0 </dev/null
682exec 6>&1
683
684# Name of the host.
685# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686# so uname gets run too.
687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688
689#
690# Initializations.
691#
692ac_default_prefix=/usr/local
693ac_clean_files=
694ac_config_libobj_dir=.
695LIBOBJS=
696cross_compiling=no
697subdirs=
698MFLAGS=
699MAKEFLAGS=
700
701# Identity of this package.
702PACKAGE_NAME='eina'
703PACKAGE_TARNAME='eina'
704PACKAGE_VERSION='1.2.0-alpha'
705PACKAGE_STRING='eina 1.2.0-alpha'
706PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
707PACKAGE_URL=''
708
709ac_unique_file="configure.ac"
710# Factoring default headers for most tests.
711ac_includes_default="\
712#include <stdio.h>
713#ifdef HAVE_SYS_TYPES_H
714# include <sys/types.h>
715#endif
716#ifdef HAVE_SYS_STAT_H
717# include <sys/stat.h>
718#endif
719#ifdef STDC_HEADERS
720# include <stdlib.h>
721# include <stddef.h>
722#else
723# ifdef HAVE_STDLIB_H
724# include <stdlib.h>
725# endif
726#endif
727#ifdef HAVE_STRING_H
728# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729# include <memory.h>
730# endif
731# include <string.h>
732#endif
733#ifdef HAVE_STRINGS_H
734# include <strings.h>
735#endif
736#ifdef HAVE_INTTYPES_H
737# include <inttypes.h>
738#endif
739#ifdef HAVE_STDINT_H
740# include <stdint.h>
741#endif
742#ifdef HAVE_UNISTD_H
743# include <unistd.h>
744#endif"
745
746ac_subst_vars='am__EXEEXT_FALSE
747am__EXEEXT_TRUE
748LTLIBOBJS
749LIBOBJS
750EFL_INSTALL_EXAMPLES_FALSE
751EFL_INSTALL_EXAMPLES_TRUE
752EFL_BUILD_EXAMPLES_FALSE
753EFL_BUILD_EXAMPLES_TRUE
754requirement_eina
755CITYHASH_BENCH_FALSE
756CITYHASH_BENCH_TRUE
757EINA_HAVE_GLIB_FALSE
758EINA_HAVE_GLIB_TRUE
759GLIB_LIBS
760GLIB_CFLAGS
761EFL_ENABLE_BENCHMARK_FALSE
762EFL_ENABLE_BENCHMARK_TRUE
763EFL_ENABLE_COVERAGE_FALSE
764EFL_ENABLE_COVERAGE_TRUE
765EFL_COVERAGE_LIBS
766EFL_COVERAGE_CFLAGS
767have_lcov
768EFL_ENABLE_TESTS_FALSE
769EFL_ENABLE_TESTS_TRUE
770CHECK_LIBS
771CHECK_CFLAGS
772EINA_STATIC_BUILD_ONE_BIG_FALSE
773EINA_STATIC_BUILD_ONE_BIG_TRUE
774EINA_BUILD_ONE_BIG_FALSE
775EINA_BUILD_ONE_BIG_TRUE
776EINA_STATIC_BUILD_BUDDY_FALSE
777EINA_STATIC_BUILD_BUDDY_TRUE
778EINA_BUILD_BUDDY_FALSE
779EINA_BUILD_BUDDY_TRUE
780EINA_STATIC_BUILD_PASS_THROUGH_FALSE
781EINA_STATIC_BUILD_PASS_THROUGH_TRUE
782EINA_BUILD_PASS_THROUGH_FALSE
783EINA_BUILD_PASS_THROUGH_TRUE
784EINA_STATIC_BUILD_FIXED_BITMAP_FALSE
785EINA_STATIC_BUILD_FIXED_BITMAP_TRUE
786EINA_BUILD_FIXED_BITMAP_FALSE
787EINA_BUILD_FIXED_BITMAP_TRUE
788EINA_STATIC_BUILD_EMEMOA_UNKNOWN_FALSE
789EINA_STATIC_BUILD_EMEMOA_UNKNOWN_TRUE
790EINA_BUILD_EMEMOA_UNKNOWN_FALSE
791EINA_BUILD_EMEMOA_UNKNOWN_TRUE
792EINA_STATIC_BUILD_EMEMOA_FIXED_FALSE
793EINA_STATIC_BUILD_EMEMOA_FIXED_TRUE
794EINA_BUILD_EMEMOA_FIXED_FALSE
795EINA_BUILD_EMEMOA_FIXED_TRUE
796EINA_STATIC_BUILD_CHAINED_POOL_FALSE
797EINA_STATIC_BUILD_CHAINED_POOL_TRUE
798EINA_BUILD_CHAINED_POOL_FALSE
799EINA_BUILD_CHAINED_POOL_TRUE
800rt_libs
801iconv_libs
802EINA_CONFIGURE_ENABLE_LOG
803EFL_FNMATCH_LIBS
804dlopen_libs
805ALLOCA
806EINA_CONFIGURE_HAVE_DIRENT_H
807EINA_SIZEOF_WCHAR_T
808EINA_CONFIGURE_HAVE_STDINT_H
809EINA_CONFIGURE_HAVE_INTTYPES_H
810lt_enable_auto_import
811EINA_LIBS
812EINA_CFLAGS
813ESCAPE_LIBS
814ESCAPE_CFLAGS
815EINA_CONFIGURE_HAVE_EXOTIC
816EINA_HAVE_EXOTIC_FALSE
817EINA_HAVE_EXOTIC_TRUE
818EXOTIC_LIBS
819EXOTIC_CFLAGS
820EINA_HAVE_WIN32_FALSE
821EINA_HAVE_WIN32_TRUE
822EINA_HAVE_WINCE_FALSE
823EINA_HAVE_WINCE_TRUE
824BUILD_TILER_EXAMPLE_FALSE
825BUILD_TILER_EXAMPLE_TRUE
826ECORE_EVAS_LIBS
827ECORE_EVAS_CFLAGS
828EMEMOA_LIBS
829EMEMOA_CFLAGS
830EFL_EINA_BUILD
831EVIL_LIBS
832EVIL_CFLAGS
833VALGRIND_LIBS
834VALGRIND_CFLAGS
835EFL_BUILD_DOC_FALSE
836EFL_BUILD_DOC_TRUE
837efl_doxygen
838efl_have_doxygen
839pkgconfig_requires_private
840PKG_CONFIG_LIBDIR
841PKG_CONFIG_PATH
842PKG_CONFIG
843CXXCPP
844am__fastdepCXX_FALSE
845am__fastdepCXX_TRUE
846CXXDEPMODE
847ac_ct_CXX
848CXXFLAGS
849CXX
850EINA_ENABLE_BENCHMARK_E17_FALSE
851EINA_ENABLE_BENCHMARK_E17_TRUE
852EINA_CONFIGURE_DEFAULT_MEMPOOL
853EINA_AMALGAMATION_FALSE
854EINA_AMALGAMATION_TRUE
855EINA_CONFIGURE_SAFETY_CHECKS
856SAFETY_CHECKS_FALSE
857SAFETY_CHECKS_TRUE
858EINA_CONFIGURE_MAGIC_DEBUG
859EINA_ON_OFF_THREADS_FALSE
860EINA_ON_OFF_THREADS_TRUE
861EINA_CONFIGURE_HAVE_ON_OFF_THREADS
862EINA_DEBUG_THREADS_FALSE
863EINA_DEBUG_THREADS_TRUE
864EINA_CONFIGURE_HAVE_DEBUG_THREADS
865EINA_HAVE_THREADS_FALSE
866EINA_HAVE_THREADS_TRUE
867EINA_CONFIGURE_HAVE_THREADS
868EFL_PTHREAD_LIBS
869EFL_PTHREAD_CFLAGS
870EFL_SIMD_FLAGS
871MODULE_ARCH
872VMAJ
873release_info
874version_info
875OTOOL64
876OTOOL
877LIPO
878NMEDIT
879DSYMUTIL
880lt_ECHO
881RANLIB
882AR
883LN_S
884NM
885ac_ct_DUMPBIN
886DUMPBIN
887LD
888FGREP
889SED
890LIBTOOL
891OBJDUMP
892DLLTOOL
893AS
894host_os
895host_vendor
896host_cpu
897host
898build_os
899build_vendor
900build_cpu
901build
902EGREP
903GREP
904CPP
905am__fastdepCC_FALSE
906am__fastdepCC_TRUE
907CCDEPMODE
908AMDEPBACKSLASH
909AMDEP_FALSE
910AMDEP_TRUE
911am__quote
912am__include
913DEPDIR
914OBJEXT
915EXEEXT
916ac_ct_CC
917CPPFLAGS
918LDFLAGS
919CFLAGS
920CC
921AM_BACKSLASH
922AM_DEFAULT_VERBOSITY
923am__untar
924am__tar
925AMTAR
926am__leading_dot
927SET_MAKE
928AWK
929mkdir_p
930MKDIR_P
931INSTALL_STRIP_PROGRAM
932STRIP
933install_sh
934MAKEINFO
935AUTOHEADER
936AUTOMAKE
937AUTOCONF
938ACLOCAL
939VERSION
940PACKAGE
941CYGPATH_W
942am__isrc
943INSTALL_DATA
944INSTALL_SCRIPT
945INSTALL_PROGRAM
946target_alias
947host_alias
948build_alias
949LIBS
950ECHO_T
951ECHO_N
952ECHO_C
953DEFS
954mandir
955localedir
956libdir
957psdir
958pdfdir
959dvidir
960htmldir
961infodir
962docdir
963oldincludedir
964includedir
965localstatedir
966sharedstatedir
967sysconfdir
968datadir
969datarootdir
970libexecdir
971sbindir
972bindir
973program_transform_name
974prefix
975exec_prefix
976PACKAGE_URL
977PACKAGE_BUGREPORT
978PACKAGE_STRING
979PACKAGE_VERSION
980PACKAGE_TARNAME
981PACKAGE_NAME
982PATH_SEPARATOR
983SHELL'
984ac_subst_files=''
985ac_user_opts='
986enable_option_checking
987enable_silent_rules
988enable_dependency_tracking
989enable_largefile
990enable_shared
991enable_static
992with_pic
993enable_fast_install
994with_gnu_ld
995enable_libtool_lock
996enable_cpu_mmx
997enable_cpu_sse
998enable_cpu_sse2
999enable_cpu_altivec
1000enable_posix_threads
1001enable_win32_threads
1002enable_on_off_threads
1003enable_debug_threads
1004enable_magic_debug
1005enable_safety_checks
1006with_internal_maximum_log_level
1007enable_amalgamation
1008enable_default_mempool
1009enable_stringshare_usage
1010enable_e17
1011enable_doc
1012with_doxygen
1013enable_valgrind
1014enable_ememoa
1015enable_assert
1016enable_debug_malloc
1017enable_log
1018with_iconv_link
1019enable_mempool_chained_pool
1020enable_mempool_ememoa_fixed
1021enable_mempool_ememoa_unknown
1022enable_mempool_fixed_bitmap
1023enable_mempool_pass_through
1024enable_mempool_buddy
1025enable_mempool_one_big
1026enable_tests
1027enable_coverage
1028enable_benchmark
1029enable_glib
1030enable_build_examples
1031enable_install_examples
1032enable_voltron
1033'
1034 ac_precious_vars='build_alias
1035host_alias
1036target_alias
1037CC
1038CFLAGS
1039LDFLAGS
1040LIBS
1041CPPFLAGS
1042CPP
1043CXX
1044CXXFLAGS
1045CCC
1046CXXCPP
1047PKG_CONFIG
1048PKG_CONFIG_PATH
1049PKG_CONFIG_LIBDIR
1050VALGRIND_CFLAGS
1051VALGRIND_LIBS
1052EVIL_CFLAGS
1053EVIL_LIBS
1054EMEMOA_CFLAGS
1055EMEMOA_LIBS
1056ECORE_EVAS_CFLAGS
1057ECORE_EVAS_LIBS
1058EXOTIC_CFLAGS
1059EXOTIC_LIBS
1060ESCAPE_CFLAGS
1061ESCAPE_LIBS
1062CHECK_CFLAGS
1063CHECK_LIBS
1064GLIB_CFLAGS
1065GLIB_LIBS'
1066
1067
1068# Initialize some variables set by options.
1069ac_init_help=
1070ac_init_version=false
1071ac_unrecognized_opts=
1072ac_unrecognized_sep=
1073# The variables have the same names as the options, with
1074# dashes changed to underlines.
1075cache_file=/dev/null
1076exec_prefix=NONE
1077no_create=
1078no_recursion=
1079prefix=NONE
1080program_prefix=NONE
1081program_suffix=NONE
1082program_transform_name=s,x,x,
1083silent=
1084site=
1085srcdir=
1086verbose=
1087x_includes=NONE
1088x_libraries=NONE
1089
1090# Installation directory options.
1091# These are left unexpanded so users can "make install exec_prefix=/foo"
1092# and all the variables that are supposed to be based on exec_prefix
1093# by default will actually change.
1094# Use braces instead of parens because sh, perl, etc. also accept them.
1095# (The list follows the same order as the GNU Coding Standards.)
1096bindir='${exec_prefix}/bin'
1097sbindir='${exec_prefix}/sbin'
1098libexecdir='${exec_prefix}/libexec'
1099datarootdir='${prefix}/share'
1100datadir='${datarootdir}'
1101sysconfdir='${prefix}/etc'
1102sharedstatedir='${prefix}/com'
1103localstatedir='${prefix}/var'
1104includedir='${prefix}/include'
1105oldincludedir='/usr/include'
1106docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1107infodir='${datarootdir}/info'
1108htmldir='${docdir}'
1109dvidir='${docdir}'
1110pdfdir='${docdir}'
1111psdir='${docdir}'
1112libdir='${exec_prefix}/lib'
1113localedir='${datarootdir}/locale'
1114mandir='${datarootdir}/man'
1115
1116ac_prev=
1117ac_dashdash=
1118for ac_option
1119do
1120 # If the previous option needs an argument, assign it.
1121 if test -n "$ac_prev"; then
1122 eval $ac_prev=\$ac_option
1123 ac_prev=
1124 continue
1125 fi
1126
1127 case $ac_option in
1128 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1129 *=) ac_optarg= ;;
1130 *) ac_optarg=yes ;;
1131 esac
1132
1133 # Accept the important Cygnus configure options, so we can diagnose typos.
1134
1135 case $ac_dashdash$ac_option in
1136 --)
1137 ac_dashdash=yes ;;
1138
1139 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1140 ac_prev=bindir ;;
1141 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1142 bindir=$ac_optarg ;;
1143
1144 -build | --build | --buil | --bui | --bu)
1145 ac_prev=build_alias ;;
1146 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1147 build_alias=$ac_optarg ;;
1148
1149 -cache-file | --cache-file | --cache-fil | --cache-fi \
1150 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1151 ac_prev=cache_file ;;
1152 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1153 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1154 cache_file=$ac_optarg ;;
1155
1156 --config-cache | -C)
1157 cache_file=config.cache ;;
1158
1159 -datadir | --datadir | --datadi | --datad)
1160 ac_prev=datadir ;;
1161 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1162 datadir=$ac_optarg ;;
1163
1164 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1165 | --dataroo | --dataro | --datar)
1166 ac_prev=datarootdir ;;
1167 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1168 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1169 datarootdir=$ac_optarg ;;
1170
1171 -disable-* | --disable-*)
1172 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1173 # Reject names that are not valid shell variable names.
1174 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1175 as_fn_error $? "invalid feature name: $ac_useropt"
1176 ac_useropt_orig=$ac_useropt
1177 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1178 case $ac_user_opts in
1179 *"
1180"enable_$ac_useropt"
1181"*) ;;
1182 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1183 ac_unrecognized_sep=', ';;
1184 esac
1185 eval enable_$ac_useropt=no ;;
1186
1187 -docdir | --docdir | --docdi | --doc | --do)
1188 ac_prev=docdir ;;
1189 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1190 docdir=$ac_optarg ;;
1191
1192 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1193 ac_prev=dvidir ;;
1194 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1195 dvidir=$ac_optarg ;;
1196
1197 -enable-* | --enable-*)
1198 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1199 # Reject names that are not valid shell variable names.
1200 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1201 as_fn_error $? "invalid feature name: $ac_useropt"
1202 ac_useropt_orig=$ac_useropt
1203 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1204 case $ac_user_opts in
1205 *"
1206"enable_$ac_useropt"
1207"*) ;;
1208 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1209 ac_unrecognized_sep=', ';;
1210 esac
1211 eval enable_$ac_useropt=\$ac_optarg ;;
1212
1213 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1214 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1215 | --exec | --exe | --ex)
1216 ac_prev=exec_prefix ;;
1217 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1218 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1219 | --exec=* | --exe=* | --ex=*)
1220 exec_prefix=$ac_optarg ;;
1221
1222 -gas | --gas | --ga | --g)
1223 # Obsolete; use --with-gas.
1224 with_gas=yes ;;
1225
1226 -help | --help | --hel | --he | -h)
1227 ac_init_help=long ;;
1228 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1229 ac_init_help=recursive ;;
1230 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1231 ac_init_help=short ;;
1232
1233 -host | --host | --hos | --ho)
1234 ac_prev=host_alias ;;
1235 -host=* | --host=* | --hos=* | --ho=*)
1236 host_alias=$ac_optarg ;;
1237
1238 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1239 ac_prev=htmldir ;;
1240 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1241 | --ht=*)
1242 htmldir=$ac_optarg ;;
1243
1244 -includedir | --includedir | --includedi | --included | --include \
1245 | --includ | --inclu | --incl | --inc)
1246 ac_prev=includedir ;;
1247 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1248 | --includ=* | --inclu=* | --incl=* | --inc=*)
1249 includedir=$ac_optarg ;;
1250
1251 -infodir | --infodir | --infodi | --infod | --info | --inf)
1252 ac_prev=infodir ;;
1253 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1254 infodir=$ac_optarg ;;
1255
1256 -libdir | --libdir | --libdi | --libd)
1257 ac_prev=libdir ;;
1258 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1259 libdir=$ac_optarg ;;
1260
1261 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1262 | --libexe | --libex | --libe)
1263 ac_prev=libexecdir ;;
1264 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1265 | --libexe=* | --libex=* | --libe=*)
1266 libexecdir=$ac_optarg ;;
1267
1268 -localedir | --localedir | --localedi | --localed | --locale)
1269 ac_prev=localedir ;;
1270 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1271 localedir=$ac_optarg ;;
1272
1273 -localstatedir | --localstatedir | --localstatedi | --localstated \
1274 | --localstate | --localstat | --localsta | --localst | --locals)
1275 ac_prev=localstatedir ;;
1276 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1277 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1278 localstatedir=$ac_optarg ;;
1279
1280 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1281 ac_prev=mandir ;;
1282 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1283 mandir=$ac_optarg ;;
1284
1285 -nfp | --nfp | --nf)
1286 # Obsolete; use --without-fp.
1287 with_fp=no ;;
1288
1289 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1290 | --no-cr | --no-c | -n)
1291 no_create=yes ;;
1292
1293 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1294 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1295 no_recursion=yes ;;
1296
1297 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1298 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1299 | --oldin | --oldi | --old | --ol | --o)
1300 ac_prev=oldincludedir ;;
1301 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1302 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1303 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1304 oldincludedir=$ac_optarg ;;
1305
1306 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1307 ac_prev=prefix ;;
1308 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1309 prefix=$ac_optarg ;;
1310
1311 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1312 | --program-pre | --program-pr | --program-p)
1313 ac_prev=program_prefix ;;
1314 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1315 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1316 program_prefix=$ac_optarg ;;
1317
1318 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1319 | --program-suf | --program-su | --program-s)
1320 ac_prev=program_suffix ;;
1321 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1322 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1323 program_suffix=$ac_optarg ;;
1324
1325 -program-transform-name | --program-transform-name \
1326 | --program-transform-nam | --program-transform-na \
1327 | --program-transform-n | --program-transform- \
1328 | --program-transform | --program-transfor \
1329 | --program-transfo | --program-transf \
1330 | --program-trans | --program-tran \
1331 | --progr-tra | --program-tr | --program-t)
1332 ac_prev=program_transform_name ;;
1333 -program-transform-name=* | --program-transform-name=* \
1334 | --program-transform-nam=* | --program-transform-na=* \
1335 | --program-transform-n=* | --program-transform-=* \
1336 | --program-transform=* | --program-transfor=* \
1337 | --program-transfo=* | --program-transf=* \
1338 | --program-trans=* | --program-tran=* \
1339 | --progr-tra=* | --program-tr=* | --program-t=*)
1340 program_transform_name=$ac_optarg ;;
1341
1342 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1343 ac_prev=pdfdir ;;
1344 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1345 pdfdir=$ac_optarg ;;
1346
1347 -psdir | --psdir | --psdi | --psd | --ps)
1348 ac_prev=psdir ;;
1349 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1350 psdir=$ac_optarg ;;
1351
1352 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1353 | -silent | --silent | --silen | --sile | --sil)
1354 silent=yes ;;
1355
1356 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1357 ac_prev=sbindir ;;
1358 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1359 | --sbi=* | --sb=*)
1360 sbindir=$ac_optarg ;;
1361
1362 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1363 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1364 | --sharedst | --shareds | --shared | --share | --shar \
1365 | --sha | --sh)
1366 ac_prev=sharedstatedir ;;
1367 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1368 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1369 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1370 | --sha=* | --sh=*)
1371 sharedstatedir=$ac_optarg ;;
1372
1373 -site | --site | --sit)
1374 ac_prev=site ;;
1375 -site=* | --site=* | --sit=*)
1376 site=$ac_optarg ;;
1377
1378 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1379 ac_prev=srcdir ;;
1380 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1381 srcdir=$ac_optarg ;;
1382
1383 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1384 | --syscon | --sysco | --sysc | --sys | --sy)
1385 ac_prev=sysconfdir ;;
1386 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1387 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1388 sysconfdir=$ac_optarg ;;
1389
1390 -target | --target | --targe | --targ | --tar | --ta | --t)
1391 ac_prev=target_alias ;;
1392 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1393 target_alias=$ac_optarg ;;
1394
1395 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1396 verbose=yes ;;
1397
1398 -version | --version | --versio | --versi | --vers | -V)
1399 ac_init_version=: ;;
1400
1401 -with-* | --with-*)
1402 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1403 # Reject names that are not valid shell variable names.
1404 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1405 as_fn_error $? "invalid package name: $ac_useropt"
1406 ac_useropt_orig=$ac_useropt
1407 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1408 case $ac_user_opts in
1409 *"
1410"with_$ac_useropt"
1411"*) ;;
1412 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1413 ac_unrecognized_sep=', ';;
1414 esac
1415 eval with_$ac_useropt=\$ac_optarg ;;
1416
1417 -without-* | --without-*)
1418 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1419 # Reject names that are not valid shell variable names.
1420 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1421 as_fn_error $? "invalid package name: $ac_useropt"
1422 ac_useropt_orig=$ac_useropt
1423 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1424 case $ac_user_opts in
1425 *"
1426"with_$ac_useropt"
1427"*) ;;
1428 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1429 ac_unrecognized_sep=', ';;
1430 esac
1431 eval with_$ac_useropt=no ;;
1432
1433 --x)
1434 # Obsolete; use --with-x.
1435 with_x=yes ;;
1436
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev=x_includes ;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes=$ac_optarg ;;
1443
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev=x_libraries ;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries=$ac_optarg ;;
1450
1451 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1452Try \`$0 --help' for more information"
1453 ;;
1454
1455 *=*)
1456 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1457 # Reject names that are not valid shell variable names.
1458 case $ac_envvar in #(
1459 '' | [0-9]* | *[!_$as_cr_alnum]* )
1460 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1461 esac
1462 eval $ac_envvar=\$ac_optarg
1463 export $ac_envvar ;;
1464
1465 *)
1466 # FIXME: should be removed in autoconf 3.0.
1467 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1469 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1471 ;;
1472
1473 esac
1474done
1475
1476if test -n "$ac_prev"; then
1477 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1478 as_fn_error $? "missing argument to $ac_option"
1479fi
1480
1481if test -n "$ac_unrecognized_opts"; then
1482 case $enable_option_checking in
1483 no) ;;
1484 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1485 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1486 esac
1487fi
1488
1489# Check all directory arguments for consistency.
1490for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1491 datadir sysconfdir sharedstatedir localstatedir includedir \
1492 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1493 libdir localedir mandir
1494do
1495 eval ac_val=\$$ac_var
1496 # Remove trailing slashes.
1497 case $ac_val in
1498 */ )
1499 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1500 eval $ac_var=\$ac_val;;
1501 esac
1502 # Be sure to have absolute directory names.
1503 case $ac_val in
1504 [\\/$]* | ?:[\\/]* ) continue;;
1505 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1506 esac
1507 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1508done
1509
1510# There might be people who depend on the old broken behavior: `$host'
1511# used to hold the argument of --host etc.
1512# FIXME: To remove some day.
1513build=$build_alias
1514host=$host_alias
1515target=$target_alias
1516
1517# FIXME: To remove some day.
1518if test "x$host_alias" != x; then
1519 if test "x$build_alias" = x; then
1520 cross_compiling=maybe
1521 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1522 If a cross compiler is detected then cross compile mode will be used" >&2
1523 elif test "x$build_alias" != "x$host_alias"; then
1524 cross_compiling=yes
1525 fi
1526fi
1527
1528ac_tool_prefix=
1529test -n "$host_alias" && ac_tool_prefix=$host_alias-
1530
1531test "$silent" = yes && exec 6>/dev/null
1532
1533
1534ac_pwd=`pwd` && test -n "$ac_pwd" &&
1535ac_ls_di=`ls -di .` &&
1536ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1537 as_fn_error $? "working directory cannot be determined"
1538test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1539 as_fn_error $? "pwd does not report name of working directory"
1540
1541
1542# Find the source files, if location was not specified.
1543if test -z "$srcdir"; then
1544 ac_srcdir_defaulted=yes
1545 # Try the directory containing this script, then the parent directory.
1546 ac_confdir=`$as_dirname -- "$as_myself" ||
1547$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1548 X"$as_myself" : 'X\(//\)[^/]' \| \
1549 X"$as_myself" : 'X\(//\)$' \| \
1550 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1551$as_echo X"$as_myself" |
1552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1553 s//\1/
1554 q
1555 }
1556 /^X\(\/\/\)[^/].*/{
1557 s//\1/
1558 q
1559 }
1560 /^X\(\/\/\)$/{
1561 s//\1/
1562 q
1563 }
1564 /^X\(\/\).*/{
1565 s//\1/
1566 q
1567 }
1568 s/.*/./; q'`
1569 srcdir=$ac_confdir
1570 if test ! -r "$srcdir/$ac_unique_file"; then
1571 srcdir=..
1572 fi
1573else
1574 ac_srcdir_defaulted=no
1575fi
1576if test ! -r "$srcdir/$ac_unique_file"; then
1577 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1578 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1579fi
1580ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1581ac_abs_confdir=`(
1582 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1583 pwd)`
1584# When building in place, set srcdir=.
1585if test "$ac_abs_confdir" = "$ac_pwd"; then
1586 srcdir=.
1587fi
1588# Remove unnecessary trailing slashes from srcdir.
1589# Double slashes in file names in object file debugging info
1590# mess up M-x gdb in Emacs.
1591case $srcdir in
1592*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1593esac
1594for ac_var in $ac_precious_vars; do
1595 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1596 eval ac_env_${ac_var}_value=\$${ac_var}
1597 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1598 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1599done
1600
1601#
1602# Report the --help message.
1603#
1604if test "$ac_init_help" = "long"; then
1605 # Omit some internal or obsolete options to make the list less imposing.
1606 # This message is too long to be a string in the A/UX 3.1 sh.
1607 cat <<_ACEOF
1608\`configure' configures eina 1.2.0-alpha to adapt to many kinds of systems.
1609
1610Usage: $0 [OPTION]... [VAR=VALUE]...
1611
1612To assign environment variables (e.g., CC, CFLAGS...), specify them as
1613VAR=VALUE. See below for descriptions of some of the useful variables.
1614
1615Defaults for the options are specified in brackets.
1616
1617Configuration:
1618 -h, --help display this help and exit
1619 --help=short display options specific to this package
1620 --help=recursive display the short help of all the included packages
1621 -V, --version display version information and exit
1622 -q, --quiet, --silent do not print \`checking ...' messages
1623 --cache-file=FILE cache test results in FILE [disabled]
1624 -C, --config-cache alias for \`--cache-file=config.cache'
1625 -n, --no-create do not create output files
1626 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1627
1628Installation directories:
1629 --prefix=PREFIX install architecture-independent files in PREFIX
1630 [$ac_default_prefix]
1631 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1632 [PREFIX]
1633
1634By default, \`make install' will install all the files in
1635\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1636an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1637for instance \`--prefix=\$HOME'.
1638
1639For better control, use the options below.
1640
1641Fine tuning of the installation directories:
1642 --bindir=DIR user executables [EPREFIX/bin]
1643 --sbindir=DIR system admin executables [EPREFIX/sbin]
1644 --libexecdir=DIR program executables [EPREFIX/libexec]
1645 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1646 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1647 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1648 --libdir=DIR object code libraries [EPREFIX/lib]
1649 --includedir=DIR C header files [PREFIX/include]
1650 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1651 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1652 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1653 --infodir=DIR info documentation [DATAROOTDIR/info]
1654 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1655 --mandir=DIR man documentation [DATAROOTDIR/man]
1656 --docdir=DIR documentation root [DATAROOTDIR/doc/eina]
1657 --htmldir=DIR html documentation [DOCDIR]
1658 --dvidir=DIR dvi documentation [DOCDIR]
1659 --pdfdir=DIR pdf documentation [DOCDIR]
1660 --psdir=DIR ps documentation [DOCDIR]
1661_ACEOF
1662
1663 cat <<\_ACEOF
1664
1665Program names:
1666 --program-prefix=PREFIX prepend PREFIX to installed program names
1667 --program-suffix=SUFFIX append SUFFIX to installed program names
1668 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1669
1670System types:
1671 --build=BUILD configure for building on BUILD [guessed]
1672 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1673_ACEOF
1674fi
1675
1676if test -n "$ac_init_help"; then
1677 case $ac_init_help in
1678 short | recursive ) echo "Configuration of eina 1.2.0-alpha:";;
1679 esac
1680 cat <<\_ACEOF
1681
1682Optional Features:
1683 --disable-option-checking ignore unrecognized --enable/--with options
1684 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1685 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1686 --enable-silent-rules less verbose build output (undo: `make V=1')
1687 --disable-silent-rules verbose build output (undo: `make V=0')
1688 --disable-dependency-tracking speeds up one-time build
1689 --enable-dependency-tracking do not reject slow dependency extractors
1690 --disable-largefile omit support for large files
1691 --enable-shared[=PKGS] build shared libraries [default=yes]
1692 --enable-static[=PKGS] build static libraries [default=yes]
1693 --enable-fast-install[=PKGS]
1694 optimize for fast installation [default=yes]
1695 --disable-libtool-lock avoid locking (might break parallel builds)
1696 --disable-cpu-mmx disable mmx code [default=enabled]
1697 --disable-cpu-sse disable sse code [default=enabled]
1698 --disable-cpu-sse2 disable sse2 code [default=enabled]
1699 --disable-cpu-altivec disable altivec code [default=enabled]
1700 --disable-posix-threads enable POSIX threads code [default=auto]
1701 --disable-win32-threads enable Win32 threads code [default=no]
1702 --enable-on-off-threads only turn this on if you know what you are doing,
1703 and don't complain if the world freeze
1704 --enable-debug-threads disable assert when you forgot to call
1705 eina_threads_init
1706 --disable-magic-debug disable magic debug of eina structure
1707 [default=enabled]
1708 --disable-safety-checks disable safety checks for NULL pointers and like.
1709 [default=enabled]
1710 --enable-amalgamation enable generation of one single file with all source
1711 code in it, helps compiler optimizations.
1712 --enable-default-mempool
1713 Default memory allocator could be faster for some
1714 computer. [default=disabled]
1715 --enable-stringshare-usage
1716 Report stringshare usage on stringshare shutdown.
1717 [default=disabled]
1718 --enable-e17 enable heavy benchmark [default=no]
1719 --disable-doc Disable documentation build [default=enabled]
1720 --enable-valgrind improve valgrind support by hinting it of our memory
1721 usages, having it to report proper mempool leaks.
1722 --enable-ememoa build ememoa memory pool module [default=yes]
1723 --disable-assert turn off assertions
1724 --enable-debug-malloc enable debugging of malloc usage overhead in our
1725 allocator [default=enabled]
1726 --disable-log disable Eina_Log infrastructure completly
1727 [default=enabled]
1728 --enable-mempool-chained-pool
1729 enable build of chained pool
1730 [default=${enable_chained_pool}]
1731 --enable-mempool-ememoa-fixed
1732 enable build of ememoa fixed
1733 [default=${enable_ememoa}]
1734 --enable-mempool-ememoa-unknown
1735 enable build of ememoa unknown
1736 [default=${enable_ememoa}]
1737 --enable-mempool-fixed-bitmap
1738 enable build of fixed bitmap [default=no]
1739 --enable-mempool-pass-through
1740 enable build of pass through
1741 [default=${enable_pass_through}]
1742 --enable-mempool-buddy enable build of buddy [default=no]
1743 --enable-mempool-one-big
1744 enable build of one big [default=${enable_one_big}]
1745 --enable-tests enable tests [default=disabled]
1746 --enable-coverage enable coverage profiling instrumentation
1747 [default=disabled]
1748 --enable-benchmark enable benchmarking [default=disabled]
1749 --disable-benchmark-glib
1750 disable benchmarking against glib [default=yes]
1751 --enable-build-examples enable building examples [default=disabled]
1752 --enable-install-examples
1753 enable installing example source files
1754 [default=disabled]
1755 --enable-voltron enable forming of voltron when all files combine
1756 [default=no]
1757
1758Optional Packages:
1759 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1760 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1761 --with-pic try to use only PIC/non-PIC objects [default=use
1762 both]
1763 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1764 --with-internal-maximum-log-level=NUMBER
1765 limit eina internal log level to the given number,
1766 any call to EINA_LOG() with values greater than this
1767 will be compiled out, ignoring runtime settings, but
1768 saving function calls.
1769 --with-doxygen=FILE doxygen program to use [default=doxygen]
1770 --with-iconv-link=ICONV_LINK
1771 explicitly specify an iconv link option
1772
1773Some influential environment variables:
1774 CC C compiler command
1775 CFLAGS C compiler flags
1776 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1777 nonstandard directory <lib dir>
1778 LIBS libraries to pass to the linker, e.g. -l<library>
1779 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1780 you have headers in a nonstandard directory <include dir>
1781 CPP C preprocessor
1782 CXX C++ compiler command
1783 CXXFLAGS C++ compiler flags
1784 CXXCPP C++ preprocessor
1785 PKG_CONFIG path to pkg-config utility
1786 PKG_CONFIG_PATH
1787 directories to add to pkg-config's search path
1788 PKG_CONFIG_LIBDIR
1789 path overriding pkg-config's built-in search path
1790 VALGRIND_CFLAGS
1791 C compiler flags for VALGRIND, overriding pkg-config
1792 VALGRIND_LIBS
1793 linker flags for VALGRIND, overriding pkg-config
1794 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1795 EVIL_LIBS linker flags for EVIL, overriding pkg-config
1796 EMEMOA_CFLAGS
1797 C compiler flags for EMEMOA, overriding pkg-config
1798 EMEMOA_LIBS linker flags for EMEMOA, overriding pkg-config
1799 ECORE_EVAS_CFLAGS
1800 C compiler flags for ECORE_EVAS, overriding pkg-config
1801 ECORE_EVAS_LIBS
1802 linker flags for ECORE_EVAS, overriding pkg-config
1803 EXOTIC_CFLAGS
1804 C compiler flags for EXOTIC, overriding pkg-config
1805 EXOTIC_LIBS linker flags for EXOTIC, overriding pkg-config
1806 ESCAPE_CFLAGS
1807 C compiler flags for ESCAPE, overriding pkg-config
1808 ESCAPE_LIBS linker flags for ESCAPE, overriding pkg-config
1809 CHECK_CFLAGS
1810 C compiler flags for CHECK, overriding pkg-config
1811 CHECK_LIBS linker flags for CHECK, overriding pkg-config
1812 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1813 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1814
1815Use these variables to override the choices made by `configure' or to help
1816it to find libraries and programs with nonstandard names/locations.
1817
1818Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1819_ACEOF
1820ac_status=$?
1821fi
1822
1823if test "$ac_init_help" = "recursive"; then
1824 # If there are subdirs, report their specific --help.
1825 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1826 test -d "$ac_dir" ||
1827 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1828 continue
1829 ac_builddir=.
1830
1831case "$ac_dir" in
1832.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1833*)
1834 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1835 # A ".." for each directory in $ac_dir_suffix.
1836 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1837 case $ac_top_builddir_sub in
1838 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1839 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1840 esac ;;
1841esac
1842ac_abs_top_builddir=$ac_pwd
1843ac_abs_builddir=$ac_pwd$ac_dir_suffix
1844# for backward compatibility:
1845ac_top_builddir=$ac_top_build_prefix
1846
1847case $srcdir in
1848 .) # We are building in place.
1849 ac_srcdir=.
1850 ac_top_srcdir=$ac_top_builddir_sub
1851 ac_abs_top_srcdir=$ac_pwd ;;
1852 [\\/]* | ?:[\\/]* ) # Absolute name.
1853 ac_srcdir=$srcdir$ac_dir_suffix;
1854 ac_top_srcdir=$srcdir
1855 ac_abs_top_srcdir=$srcdir ;;
1856 *) # Relative name.
1857 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1858 ac_top_srcdir=$ac_top_build_prefix$srcdir
1859 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1860esac
1861ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1862
1863 cd "$ac_dir" || { ac_status=$?; continue; }
1864 # Check for guested configure.
1865 if test -f "$ac_srcdir/configure.gnu"; then
1866 echo &&
1867 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1868 elif test -f "$ac_srcdir/configure"; then
1869 echo &&
1870 $SHELL "$ac_srcdir/configure" --help=recursive
1871 else
1872 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1873 fi || ac_status=$?
1874 cd "$ac_pwd" || { ac_status=$?; break; }
1875 done
1876fi
1877
1878test -n "$ac_init_help" && exit $ac_status
1879if $ac_init_version; then
1880 cat <<\_ACEOF
1881eina configure 1.2.0-alpha
1882generated by GNU Autoconf 2.67
1883
1884Copyright (C) 2010 Free Software Foundation, Inc.
1885This configure script is free software; the Free Software Foundation
1886gives unlimited permission to copy, distribute and modify it.
1887_ACEOF
1888 exit
1889fi
1890
1891## ------------------------ ##
1892## Autoconf initialization. ##
1893## ------------------------ ##
1894
1895# ac_fn_c_try_compile LINENO
1896# --------------------------
1897# Try to compile conftest.$ac_ext, and return whether this succeeded.
1898ac_fn_c_try_compile ()
1899{
1900 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1901 rm -f conftest.$ac_objext
1902 if { { ac_try="$ac_compile"
1903case "(($ac_try" in
1904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1905 *) ac_try_echo=$ac_try;;
1906esac
1907eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1908$as_echo "$ac_try_echo"; } >&5
1909 (eval "$ac_compile") 2>conftest.err
1910 ac_status=$?
1911 if test -s conftest.err; then
1912 grep -v '^ *+' conftest.err >conftest.er1
1913 cat conftest.er1 >&5
1914 mv -f conftest.er1 conftest.err
1915 fi
1916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1917 test $ac_status = 0; } && {
1918 test -z "$ac_c_werror_flag" ||
1919 test ! -s conftest.err
1920 } && test -s conftest.$ac_objext; then :
1921 ac_retval=0
1922else
1923 $as_echo "$as_me: failed program was:" >&5
1924sed 's/^/| /' conftest.$ac_ext >&5
1925
1926 ac_retval=1
1927fi
1928 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1929 as_fn_set_status $ac_retval
1930
1931} # ac_fn_c_try_compile
1932
1933# ac_fn_c_try_cpp LINENO
1934# ----------------------
1935# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1936ac_fn_c_try_cpp ()
1937{
1938 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1939 if { { ac_try="$ac_cpp conftest.$ac_ext"
1940case "(($ac_try" in
1941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1942 *) ac_try_echo=$ac_try;;
1943esac
1944eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1945$as_echo "$ac_try_echo"; } >&5
1946 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1947 ac_status=$?
1948 if test -s conftest.err; then
1949 grep -v '^ *+' conftest.err >conftest.er1
1950 cat conftest.er1 >&5
1951 mv -f conftest.er1 conftest.err
1952 fi
1953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1954 test $ac_status = 0; } > conftest.i && {
1955 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1956 test ! -s conftest.err
1957 }; then :
1958 ac_retval=0
1959else
1960 $as_echo "$as_me: failed program was:" >&5
1961sed 's/^/| /' conftest.$ac_ext >&5
1962
1963 ac_retval=1
1964fi
1965 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1966 as_fn_set_status $ac_retval
1967
1968} # ac_fn_c_try_cpp
1969
1970# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1971# -------------------------------------------------------
1972# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1973# the include files in INCLUDES and setting the cache variable VAR
1974# accordingly.
1975ac_fn_c_check_header_mongrel ()
1976{
1977 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1978 if eval "test \"\${$3+set}\"" = set; then :
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1980$as_echo_n "checking for $2... " >&6; }
1981if eval "test \"\${$3+set}\"" = set; then :
1982 $as_echo_n "(cached) " >&6
1983fi
1984eval ac_res=\$$3
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1986$as_echo "$ac_res" >&6; }
1987else
1988 # Is the header compilable?
1989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1990$as_echo_n "checking $2 usability... " >&6; }
1991cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1992/* end confdefs.h. */
1993$4
1994#include <$2>
1995_ACEOF
1996if ac_fn_c_try_compile "$LINENO"; then :
1997 ac_header_compiler=yes
1998else
1999 ac_header_compiler=no
2000fi
2001rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2003$as_echo "$ac_header_compiler" >&6; }
2004
2005# Is the header present?
2006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2007$as_echo_n "checking $2 presence... " >&6; }
2008cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2009/* end confdefs.h. */
2010#include <$2>
2011_ACEOF
2012if ac_fn_c_try_cpp "$LINENO"; then :
2013 ac_header_preproc=yes
2014else
2015 ac_header_preproc=no
2016fi
2017rm -f conftest.err conftest.i conftest.$ac_ext
2018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2019$as_echo "$ac_header_preproc" >&6; }
2020
2021# So? What about this header?
2022case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2023 yes:no: )
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2025$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2027$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2028 ;;
2029 no:yes:* )
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2031$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2033$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2035$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2037$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2039$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2040( $as_echo "## -------------------------------------------------------- ##
2041## Report this to enlightenment-devel@lists.sourceforge.net ##
2042## -------------------------------------------------------- ##"
2043 ) | sed "s/^/$as_me: WARNING: /" >&2
2044 ;;
2045esac
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2047$as_echo_n "checking for $2... " >&6; }
2048if eval "test \"\${$3+set}\"" = set; then :
2049 $as_echo_n "(cached) " >&6
2050else
2051 eval "$3=\$ac_header_compiler"
2052fi
2053eval ac_res=\$$3
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2055$as_echo "$ac_res" >&6; }
2056fi
2057 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2058
2059} # ac_fn_c_check_header_mongrel
2060
2061# ac_fn_c_try_run LINENO
2062# ----------------------
2063# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2064# that executables *can* be run.
2065ac_fn_c_try_run ()
2066{
2067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2068 if { { ac_try="$ac_link"
2069case "(($ac_try" in
2070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2071 *) ac_try_echo=$ac_try;;
2072esac
2073eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2074$as_echo "$ac_try_echo"; } >&5
2075 (eval "$ac_link") 2>&5
2076 ac_status=$?
2077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2078 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2079 { { case "(($ac_try" in
2080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2081 *) ac_try_echo=$ac_try;;
2082esac
2083eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2084$as_echo "$ac_try_echo"; } >&5
2085 (eval "$ac_try") 2>&5
2086 ac_status=$?
2087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2088 test $ac_status = 0; }; }; then :
2089 ac_retval=0
2090else
2091 $as_echo "$as_me: program exited with status $ac_status" >&5
2092 $as_echo "$as_me: failed program was:" >&5
2093sed 's/^/| /' conftest.$ac_ext >&5
2094
2095 ac_retval=$ac_status
2096fi
2097 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2098 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2099 as_fn_set_status $ac_retval
2100
2101} # ac_fn_c_try_run
2102
2103# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2104# -------------------------------------------------------
2105# Tests whether HEADER exists and can be compiled using the include files in
2106# INCLUDES, setting the cache variable VAR accordingly.
2107ac_fn_c_check_header_compile ()
2108{
2109 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2111$as_echo_n "checking for $2... " >&6; }
2112if eval "test \"\${$3+set}\"" = set; then :
2113 $as_echo_n "(cached) " >&6
2114else
2115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2116/* end confdefs.h. */
2117$4
2118#include <$2>
2119_ACEOF
2120if ac_fn_c_try_compile "$LINENO"; then :
2121 eval "$3=yes"
2122else
2123 eval "$3=no"
2124fi
2125rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2126fi
2127eval ac_res=\$$3
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2129$as_echo "$ac_res" >&6; }
2130 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2131
2132} # ac_fn_c_check_header_compile
2133
2134# ac_fn_c_try_link LINENO
2135# -----------------------
2136# Try to link conftest.$ac_ext, and return whether this succeeded.
2137ac_fn_c_try_link ()
2138{
2139 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2140 rm -f conftest.$ac_objext conftest$ac_exeext
2141 if { { ac_try="$ac_link"
2142case "(($ac_try" in
2143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2144 *) ac_try_echo=$ac_try;;
2145esac
2146eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2147$as_echo "$ac_try_echo"; } >&5
2148 (eval "$ac_link") 2>conftest.err
2149 ac_status=$?
2150 if test -s conftest.err; then
2151 grep -v '^ *+' conftest.err >conftest.er1
2152 cat conftest.er1 >&5
2153 mv -f conftest.er1 conftest.err
2154 fi
2155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2156 test $ac_status = 0; } && {
2157 test -z "$ac_c_werror_flag" ||
2158 test ! -s conftest.err
2159 } && test -s conftest$ac_exeext && {
2160 test "$cross_compiling" = yes ||
2161 $as_test_x conftest$ac_exeext
2162 }; then :
2163 ac_retval=0
2164else
2165 $as_echo "$as_me: failed program was:" >&5
2166sed 's/^/| /' conftest.$ac_ext >&5
2167
2168 ac_retval=1
2169fi
2170 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2171 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2172 # interfere with the next link command; also delete a directory that is
2173 # left behind by Apple's compiler. We do this before executing the actions.
2174 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2175 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2176 as_fn_set_status $ac_retval
2177
2178} # ac_fn_c_try_link
2179
2180# ac_fn_c_check_func LINENO FUNC VAR
2181# ----------------------------------
2182# Tests whether FUNC exists, setting the cache variable VAR accordingly
2183ac_fn_c_check_func ()
2184{
2185 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2187$as_echo_n "checking for $2... " >&6; }
2188if eval "test \"\${$3+set}\"" = set; then :
2189 $as_echo_n "(cached) " >&6
2190else
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192/* end confdefs.h. */
2193/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2195#define $2 innocuous_$2
2196
2197/* System header to define __stub macros and hopefully few prototypes,
2198 which can conflict with char $2 (); below.
2199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2200 <limits.h> exists even on freestanding compilers. */
2201
2202#ifdef __STDC__
2203# include <limits.h>
2204#else
2205# include <assert.h>
2206#endif
2207
2208#undef $2
2209
2210/* Override any GCC internal prototype to avoid an error.
2211 Use char because int might match the return type of a GCC
2212 builtin and then its argument prototype would still apply. */
2213#ifdef __cplusplus
2214extern "C"
2215#endif
2216char $2 ();
2217/* The GNU C library defines this for functions which it implements
2218 to always fail with ENOSYS. Some functions are actually named
2219 something starting with __ and the normal name is an alias. */
2220#if defined __stub_$2 || defined __stub___$2
2221choke me
2222#endif
2223
2224int
2225main ()
2226{
2227return $2 ();
2228 ;
2229 return 0;
2230}
2231_ACEOF
2232if ac_fn_c_try_link "$LINENO"; then :
2233 eval "$3=yes"
2234else
2235 eval "$3=no"
2236fi
2237rm -f core conftest.err conftest.$ac_objext \
2238 conftest$ac_exeext conftest.$ac_ext
2239fi
2240eval ac_res=\$$3
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2242$as_echo "$ac_res" >&6; }
2243 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2244
2245} # ac_fn_c_check_func
2246
2247# ac_fn_cxx_try_compile LINENO
2248# ----------------------------
2249# Try to compile conftest.$ac_ext, and return whether this succeeded.
2250ac_fn_cxx_try_compile ()
2251{
2252 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2253 rm -f conftest.$ac_objext
2254 if { { ac_try="$ac_compile"
2255case "(($ac_try" in
2256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2257 *) ac_try_echo=$ac_try;;
2258esac
2259eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2260$as_echo "$ac_try_echo"; } >&5
2261 (eval "$ac_compile") 2>conftest.err
2262 ac_status=$?
2263 if test -s conftest.err; then
2264 grep -v '^ *+' conftest.err >conftest.er1
2265 cat conftest.er1 >&5
2266 mv -f conftest.er1 conftest.err
2267 fi
2268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2269 test $ac_status = 0; } && {
2270 test -z "$ac_cxx_werror_flag" ||
2271 test ! -s conftest.err
2272 } && test -s conftest.$ac_objext; then :
2273 ac_retval=0
2274else
2275 $as_echo "$as_me: failed program was:" >&5
2276sed 's/^/| /' conftest.$ac_ext >&5
2277
2278 ac_retval=1
2279fi
2280 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2281 as_fn_set_status $ac_retval
2282
2283} # ac_fn_cxx_try_compile
2284
2285# ac_fn_cxx_try_cpp LINENO
2286# ------------------------
2287# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2288ac_fn_cxx_try_cpp ()
2289{
2290 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2291 if { { ac_try="$ac_cpp conftest.$ac_ext"
2292case "(($ac_try" in
2293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2294 *) ac_try_echo=$ac_try;;
2295esac
2296eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2297$as_echo "$ac_try_echo"; } >&5
2298 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2299 ac_status=$?
2300 if test -s conftest.err; then
2301 grep -v '^ *+' conftest.err >conftest.er1
2302 cat conftest.er1 >&5
2303 mv -f conftest.er1 conftest.err
2304 fi
2305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2306 test $ac_status = 0; } > conftest.i && {
2307 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2308 test ! -s conftest.err
2309 }; then :
2310 ac_retval=0
2311else
2312 $as_echo "$as_me: failed program was:" >&5
2313sed 's/^/| /' conftest.$ac_ext >&5
2314
2315 ac_retval=1
2316fi
2317 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2318 as_fn_set_status $ac_retval
2319
2320} # ac_fn_cxx_try_cpp
2321
2322# ac_fn_cxx_try_link LINENO
2323# -------------------------
2324# Try to link conftest.$ac_ext, and return whether this succeeded.
2325ac_fn_cxx_try_link ()
2326{
2327 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2328 rm -f conftest.$ac_objext conftest$ac_exeext
2329 if { { ac_try="$ac_link"
2330case "(($ac_try" in
2331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2332 *) ac_try_echo=$ac_try;;
2333esac
2334eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2335$as_echo "$ac_try_echo"; } >&5
2336 (eval "$ac_link") 2>conftest.err
2337 ac_status=$?
2338 if test -s conftest.err; then
2339 grep -v '^ *+' conftest.err >conftest.er1
2340 cat conftest.er1 >&5
2341 mv -f conftest.er1 conftest.err
2342 fi
2343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2344 test $ac_status = 0; } && {
2345 test -z "$ac_cxx_werror_flag" ||
2346 test ! -s conftest.err
2347 } && test -s conftest$ac_exeext && {
2348 test "$cross_compiling" = yes ||
2349 $as_test_x conftest$ac_exeext
2350 }; then :
2351 ac_retval=0
2352else
2353 $as_echo "$as_me: failed program was:" >&5
2354sed 's/^/| /' conftest.$ac_ext >&5
2355
2356 ac_retval=1
2357fi
2358 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2359 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2360 # interfere with the next link command; also delete a directory that is
2361 # left behind by Apple's compiler. We do this before executing the actions.
2362 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2363 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2364 as_fn_set_status $ac_retval
2365
2366} # ac_fn_cxx_try_link
2367
2368# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2369# --------------------------------------------
2370# Tries to find the compile-time value of EXPR in a program that includes
2371# INCLUDES, setting VAR accordingly. Returns whether the value could be
2372# computed
2373ac_fn_c_compute_int ()
2374{
2375 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2376 if test "$cross_compiling" = yes; then
2377 # Depending upon the size, compute the lo and hi bounds.
2378cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2379/* end confdefs.h. */
2380$4
2381int
2382main ()
2383{
2384static int test_array [1 - 2 * !(($2) >= 0)];
2385test_array [0] = 0
2386
2387 ;
2388 return 0;
2389}
2390_ACEOF
2391if ac_fn_c_try_compile "$LINENO"; then :
2392 ac_lo=0 ac_mid=0
2393 while :; do
2394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2395/* end confdefs.h. */
2396$4
2397int
2398main ()
2399{
2400static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2401test_array [0] = 0
2402
2403 ;
2404 return 0;
2405}
2406_ACEOF
2407if ac_fn_c_try_compile "$LINENO"; then :
2408 ac_hi=$ac_mid; break
2409else
2410 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2411 if test $ac_lo -le $ac_mid; then
2412 ac_lo= ac_hi=
2413 break
2414 fi
2415 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2416fi
2417rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2418 done
2419else
2420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2421/* end confdefs.h. */
2422$4
2423int
2424main ()
2425{
2426static int test_array [1 - 2 * !(($2) < 0)];
2427test_array [0] = 0
2428
2429 ;
2430 return 0;
2431}
2432_ACEOF
2433if ac_fn_c_try_compile "$LINENO"; then :
2434 ac_hi=-1 ac_mid=-1
2435 while :; do
2436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2437/* end confdefs.h. */
2438$4
2439int
2440main ()
2441{
2442static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2443test_array [0] = 0
2444
2445 ;
2446 return 0;
2447}
2448_ACEOF
2449if ac_fn_c_try_compile "$LINENO"; then :
2450 ac_lo=$ac_mid; break
2451else
2452 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2453 if test $ac_mid -le $ac_hi; then
2454 ac_lo= ac_hi=
2455 break
2456 fi
2457 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2458fi
2459rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2460 done
2461else
2462 ac_lo= ac_hi=
2463fi
2464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2465fi
2466rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2467# Binary search between lo and hi bounds.
2468while test "x$ac_lo" != "x$ac_hi"; do
2469 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2471/* end confdefs.h. */
2472$4
2473int
2474main ()
2475{
2476static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2477test_array [0] = 0
2478
2479 ;
2480 return 0;
2481}
2482_ACEOF
2483if ac_fn_c_try_compile "$LINENO"; then :
2484 ac_hi=$ac_mid
2485else
2486 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2487fi
2488rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2489done
2490case $ac_lo in #((
2491?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2492'') ac_retval=1 ;;
2493esac
2494 else
2495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2496/* end confdefs.h. */
2497$4
2498static long int longval () { return $2; }
2499static unsigned long int ulongval () { return $2; }
2500#include <stdio.h>
2501#include <stdlib.h>
2502int
2503main ()
2504{
2505
2506 FILE *f = fopen ("conftest.val", "w");
2507 if (! f)
2508 return 1;
2509 if (($2) < 0)
2510 {
2511 long int i = longval ();
2512 if (i != ($2))
2513 return 1;
2514 fprintf (f, "%ld", i);
2515 }
2516 else
2517 {
2518 unsigned long int i = ulongval ();
2519 if (i != ($2))
2520 return 1;
2521 fprintf (f, "%lu", i);
2522 }
2523 /* Do not output a trailing newline, as this causes \r\n confusion
2524 on some platforms. */
2525 return ferror (f) || fclose (f) != 0;
2526
2527 ;
2528 return 0;
2529}
2530_ACEOF
2531if ac_fn_c_try_run "$LINENO"; then :
2532 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2533else
2534 ac_retval=1
2535fi
2536rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2537 conftest.$ac_objext conftest.beam conftest.$ac_ext
2538rm -f conftest.val
2539
2540 fi
2541 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2542 as_fn_set_status $ac_retval
2543
2544} # ac_fn_c_compute_int
2545
2546# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2547# -------------------------------------------
2548# Tests whether TYPE exists after having included INCLUDES, setting cache
2549# variable VAR accordingly.
2550ac_fn_c_check_type ()
2551{
2552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2554$as_echo_n "checking for $2... " >&6; }
2555if eval "test \"\${$3+set}\"" = set; then :
2556 $as_echo_n "(cached) " >&6
2557else
2558 eval "$3=no"
2559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2560/* end confdefs.h. */
2561$4
2562int
2563main ()
2564{
2565if (sizeof ($2))
2566 return 0;
2567 ;
2568 return 0;
2569}
2570_ACEOF
2571if ac_fn_c_try_compile "$LINENO"; then :
2572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2573/* end confdefs.h. */
2574$4
2575int
2576main ()
2577{
2578if (sizeof (($2)))
2579 return 0;
2580 ;
2581 return 0;
2582}
2583_ACEOF
2584if ac_fn_c_try_compile "$LINENO"; then :
2585
2586else
2587 eval "$3=yes"
2588fi
2589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2590fi
2591rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2592fi
2593eval ac_res=\$$3
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2595$as_echo "$ac_res" >&6; }
2596 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2597
2598} # ac_fn_c_check_type
2599cat >config.log <<_ACEOF
2600This file contains any messages produced by compilers while
2601running configure, to aid debugging if configure makes a mistake.
2602
2603It was created by eina $as_me 1.2.0-alpha, which was
2604generated by GNU Autoconf 2.67. Invocation command line was
2605
2606 $ $0 $@
2607
2608_ACEOF
2609exec 5>>config.log
2610{
2611cat <<_ASUNAME
2612## --------- ##
2613## Platform. ##
2614## --------- ##
2615
2616hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2617uname -m = `(uname -m) 2>/dev/null || echo unknown`
2618uname -r = `(uname -r) 2>/dev/null || echo unknown`
2619uname -s = `(uname -s) 2>/dev/null || echo unknown`
2620uname -v = `(uname -v) 2>/dev/null || echo unknown`
2621
2622/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2623/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2624
2625/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2626/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2627/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2628/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2629/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2630/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2631/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2632
2633_ASUNAME
2634
2635as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636for as_dir in $PATH
2637do
2638 IFS=$as_save_IFS
2639 test -z "$as_dir" && as_dir=.
2640 $as_echo "PATH: $as_dir"
2641 done
2642IFS=$as_save_IFS
2643
2644} >&5
2645
2646cat >&5 <<_ACEOF
2647
2648
2649## ----------- ##
2650## Core tests. ##
2651## ----------- ##
2652
2653_ACEOF
2654
2655
2656# Keep a trace of the command line.
2657# Strip out --no-create and --no-recursion so they do not pile up.
2658# Strip out --silent because we don't want to record it for future runs.
2659# Also quote any args containing shell meta-characters.
2660# Make two passes to allow for proper duplicate-argument suppression.
2661ac_configure_args=
2662ac_configure_args0=
2663ac_configure_args1=
2664ac_must_keep_next=false
2665for ac_pass in 1 2
2666do
2667 for ac_arg
2668 do
2669 case $ac_arg in
2670 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2671 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2672 | -silent | --silent | --silen | --sile | --sil)
2673 continue ;;
2674 *\'*)
2675 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2676 esac
2677 case $ac_pass in
2678 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2679 2)
2680 as_fn_append ac_configure_args1 " '$ac_arg'"
2681 if test $ac_must_keep_next = true; then
2682 ac_must_keep_next=false # Got value, back to normal.
2683 else
2684 case $ac_arg in
2685 *=* | --config-cache | -C | -disable-* | --disable-* \
2686 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2687 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2688 | -with-* | --with-* | -without-* | --without-* | --x)
2689 case "$ac_configure_args0 " in
2690 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2691 esac
2692 ;;
2693 -* ) ac_must_keep_next=true ;;
2694 esac
2695 fi
2696 as_fn_append ac_configure_args " '$ac_arg'"
2697 ;;
2698 esac
2699 done
2700done
2701{ ac_configure_args0=; unset ac_configure_args0;}
2702{ ac_configure_args1=; unset ac_configure_args1;}
2703
2704# When interrupted or exit'd, cleanup temporary files, and complete
2705# config.log. We remove comments because anyway the quotes in there
2706# would cause problems or look ugly.
2707# WARNING: Use '\'' to represent an apostrophe within the trap.
2708# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2709trap 'exit_status=$?
2710 # Save into config.log some information that might help in debugging.
2711 {
2712 echo
2713
2714 $as_echo "## ---------------- ##
2715## Cache variables. ##
2716## ---------------- ##"
2717 echo
2718 # The following way of writing the cache mishandles newlines in values,
2719(
2720 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2721 eval ac_val=\$$ac_var
2722 case $ac_val in #(
2723 *${as_nl}*)
2724 case $ac_var in #(
2725 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2726$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2727 esac
2728 case $ac_var in #(
2729 _ | IFS | as_nl) ;; #(
2730 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2731 *) { eval $ac_var=; unset $ac_var;} ;;
2732 esac ;;
2733 esac
2734 done
2735 (set) 2>&1 |
2736 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2737 *${as_nl}ac_space=\ *)
2738 sed -n \
2739 "s/'\''/'\''\\\\'\'''\''/g;
2740 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2741 ;; #(
2742 *)
2743 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2744 ;;
2745 esac |
2746 sort
2747)
2748 echo
2749
2750 $as_echo "## ----------------- ##
2751## Output variables. ##
2752## ----------------- ##"
2753 echo
2754 for ac_var in $ac_subst_vars
2755 do
2756 eval ac_val=\$$ac_var
2757 case $ac_val in
2758 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2759 esac
2760 $as_echo "$ac_var='\''$ac_val'\''"
2761 done | sort
2762 echo
2763
2764 if test -n "$ac_subst_files"; then
2765 $as_echo "## ------------------- ##
2766## File substitutions. ##
2767## ------------------- ##"
2768 echo
2769 for ac_var in $ac_subst_files
2770 do
2771 eval ac_val=\$$ac_var
2772 case $ac_val in
2773 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2774 esac
2775 $as_echo "$ac_var='\''$ac_val'\''"
2776 done | sort
2777 echo
2778 fi
2779
2780 if test -s confdefs.h; then
2781 $as_echo "## ----------- ##
2782## confdefs.h. ##
2783## ----------- ##"
2784 echo
2785 cat confdefs.h
2786 echo
2787 fi
2788 test "$ac_signal" != 0 &&
2789 $as_echo "$as_me: caught signal $ac_signal"
2790 $as_echo "$as_me: exit $exit_status"
2791 } >&5
2792 rm -f core *.core core.conftest.* &&
2793 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2794 exit $exit_status
2795' 0
2796for ac_signal in 1 2 13 15; do
2797 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2798done
2799ac_signal=0
2800
2801# confdefs.h avoids OS command line length limits that DEFS can exceed.
2802rm -f -r conftest* confdefs.h
2803
2804$as_echo "/* confdefs.h */" > confdefs.h
2805
2806# Predefined preprocessor variables.
2807
2808cat >>confdefs.h <<_ACEOF
2809#define PACKAGE_NAME "$PACKAGE_NAME"
2810_ACEOF
2811
2812cat >>confdefs.h <<_ACEOF
2813#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2814_ACEOF
2815
2816cat >>confdefs.h <<_ACEOF
2817#define PACKAGE_VERSION "$PACKAGE_VERSION"
2818_ACEOF
2819
2820cat >>confdefs.h <<_ACEOF
2821#define PACKAGE_STRING "$PACKAGE_STRING"
2822_ACEOF
2823
2824cat >>confdefs.h <<_ACEOF
2825#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2826_ACEOF
2827
2828cat >>confdefs.h <<_ACEOF
2829#define PACKAGE_URL "$PACKAGE_URL"
2830_ACEOF
2831
2832
2833# Let the site file select an alternate cache file if it wants to.
2834# Prefer an explicitly selected file to automatically selected ones.
2835ac_site_file1=NONE
2836ac_site_file2=NONE
2837if test -n "$CONFIG_SITE"; then
2838 # We do not want a PATH search for config.site.
2839 case $CONFIG_SITE in #((
2840 -*) ac_site_file1=./$CONFIG_SITE;;
2841 */*) ac_site_file1=$CONFIG_SITE;;
2842 *) ac_site_file1=./$CONFIG_SITE;;
2843 esac
2844elif test "x$prefix" != xNONE; then
2845 ac_site_file1=$prefix/share/config.site
2846 ac_site_file2=$prefix/etc/config.site
2847else
2848 ac_site_file1=$ac_default_prefix/share/config.site
2849 ac_site_file2=$ac_default_prefix/etc/config.site
2850fi
2851for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2852do
2853 test "x$ac_site_file" = xNONE && continue
2854 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2856$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2857 sed 's/^/| /' "$ac_site_file" >&5
2858 . "$ac_site_file" \
2859 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2860$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2861as_fn_error $? "failed to load site script $ac_site_file
2862See \`config.log' for more details" "$LINENO" 5 ; }
2863 fi
2864done
2865
2866if test -r "$cache_file"; then
2867 # Some versions of bash will fail to source /dev/null (special files
2868 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2869 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2871$as_echo "$as_me: loading cache $cache_file" >&6;}
2872 case $cache_file in
2873 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2874 *) . "./$cache_file";;
2875 esac
2876 fi
2877else
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2879$as_echo "$as_me: creating cache $cache_file" >&6;}
2880 >$cache_file
2881fi
2882
2883# Check that the precious variables saved in the cache have kept the same
2884# value.
2885ac_cache_corrupted=false
2886for ac_var in $ac_precious_vars; do
2887 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2888 eval ac_new_set=\$ac_env_${ac_var}_set
2889 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2890 eval ac_new_val=\$ac_env_${ac_var}_value
2891 case $ac_old_set,$ac_new_set in
2892 set,)
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2894$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2895 ac_cache_corrupted=: ;;
2896 ,set)
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2898$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2899 ac_cache_corrupted=: ;;
2900 ,);;
2901 *)
2902 if test "x$ac_old_val" != "x$ac_new_val"; then
2903 # differences in whitespace do not lead to failure.
2904 ac_old_val_w=`echo x $ac_old_val`
2905 ac_new_val_w=`echo x $ac_new_val`
2906 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2908$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2909 ac_cache_corrupted=:
2910 else
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2912$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2913 eval $ac_var=\$ac_old_val
2914 fi
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2916$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2918$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2919 fi;;
2920 esac
2921 # Pass precious variables to config.status.
2922 if test "$ac_new_set" = set; then
2923 case $ac_new_val in
2924 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2925 *) ac_arg=$ac_var=$ac_new_val ;;
2926 esac
2927 case " $ac_configure_args " in
2928 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2929 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2930 esac
2931 fi
2932done
2933if $ac_cache_corrupted; then
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2935$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2937$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2938 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2939fi
2940## -------------------- ##
2941## Main body of script. ##
2942## -------------------- ##
2943
2944ac_ext=c
2945ac_cpp='$CPP $CPPFLAGS'
2946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2948ac_compiler_gnu=$ac_cv_c_compiler_gnu
2949
2950
2951
2952
2953
2954
2955ac_config_headers="$ac_config_headers config.h"
2956
2957
2958
2959
2960am__api_version='1.11'
2961
2962ac_aux_dir=
2963for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2964 if test -f "$ac_dir/install-sh"; then
2965 ac_aux_dir=$ac_dir
2966 ac_install_sh="$ac_aux_dir/install-sh -c"
2967 break
2968 elif test -f "$ac_dir/install.sh"; then
2969 ac_aux_dir=$ac_dir
2970 ac_install_sh="$ac_aux_dir/install.sh -c"
2971 break
2972 elif test -f "$ac_dir/shtool"; then
2973 ac_aux_dir=$ac_dir
2974 ac_install_sh="$ac_aux_dir/shtool install -c"
2975 break
2976 fi
2977done
2978if test -z "$ac_aux_dir"; then
2979 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2980fi
2981
2982# These three variables are undocumented and unsupported,
2983# and are intended to be withdrawn in a future Autoconf release.
2984# They can cause serious problems if a builder's source tree is in a directory
2985# whose full name contains unusual characters.
2986ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2987ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2988ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2989
2990
2991# Find a good install program. We prefer a C program (faster),
2992# so one script is as good as another. But avoid the broken or
2993# incompatible versions:
2994# SysV /etc/install, /usr/sbin/install
2995# SunOS /usr/etc/install
2996# IRIX /sbin/install
2997# AIX /bin/install
2998# AmigaOS /C/install, which installs bootblocks on floppy discs
2999# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3000# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3001# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3002# OS/2's system install, which has a completely different semantic
3003# ./install, which can be erroneously created by make from ./install.sh.
3004# Reject install programs that cannot install multiple files.
3005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3006$as_echo_n "checking for a BSD-compatible install... " >&6; }
3007if test -z "$INSTALL"; then
3008if test "${ac_cv_path_install+set}" = set; then :
3009 $as_echo_n "(cached) " >&6
3010else
3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3012for as_dir in $PATH
3013do
3014 IFS=$as_save_IFS
3015 test -z "$as_dir" && as_dir=.
3016 # Account for people who put trailing slashes in PATH elements.
3017case $as_dir/ in #((
3018 ./ | .// | /[cC]/* | \
3019 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3020 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3021 /usr/ucb/* ) ;;
3022 *)
3023 # OSF1 and SCO ODT 3.0 have their own names for install.
3024 # Don't use installbsd from OSF since it installs stuff as root
3025 # by default.
3026 for ac_prog in ginstall scoinst install; do
3027 for ac_exec_ext in '' $ac_executable_extensions; do
3028 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3029 if test $ac_prog = install &&
3030 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3031 # AIX install. It has an incompatible calling convention.
3032 :
3033 elif test $ac_prog = install &&
3034 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3035 # program-specific install script used by HP pwplus--don't use.
3036 :
3037 else
3038 rm -rf conftest.one conftest.two conftest.dir
3039 echo one > conftest.one
3040 echo two > conftest.two
3041 mkdir conftest.dir
3042 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3043 test -s conftest.one && test -s conftest.two &&
3044 test -s conftest.dir/conftest.one &&
3045 test -s conftest.dir/conftest.two
3046 then
3047 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3048 break 3
3049 fi
3050 fi
3051 fi
3052 done
3053 done
3054 ;;
3055esac
3056
3057 done
3058IFS=$as_save_IFS
3059
3060rm -rf conftest.one conftest.two conftest.dir
3061
3062fi
3063 if test "${ac_cv_path_install+set}" = set; then
3064 INSTALL=$ac_cv_path_install
3065 else
3066 # As a last resort, use the slow shell script. Don't cache a
3067 # value for INSTALL within a source directory, because that will
3068 # break other packages using the cache if that directory is
3069 # removed, or if the value is a relative name.
3070 INSTALL=$ac_install_sh
3071 fi
3072fi
3073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3074$as_echo "$INSTALL" >&6; }
3075
3076# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3077# It thinks the first close brace ends the variable substitution.
3078test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3079
3080test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3081
3082test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3083
3084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3085$as_echo_n "checking whether build environment is sane... " >&6; }
3086# Just in case
3087sleep 1
3088echo timestamp > conftest.file
3089# Reject unsafe characters in $srcdir or the absolute working directory
3090# name. Accept space and tab only in the latter.
3091am_lf='
3092'
3093case `pwd` in
3094 *[\\\"\#\$\&\'\`$am_lf]*)
3095 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3096esac
3097case $srcdir in
3098 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3099 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3100esac
3101
3102# Do `set' in a subshell so we don't clobber the current shell's
3103# arguments. Must try -L first in case configure is actually a
3104# symlink; some systems play weird games with the mod time of symlinks
3105# (eg FreeBSD returns the mod time of the symlink's containing
3106# directory).
3107if (
3108 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3109 if test "$*" = "X"; then
3110 # -L didn't work.
3111 set X `ls -t "$srcdir/configure" conftest.file`
3112 fi
3113 rm -f conftest.file
3114 if test "$*" != "X $srcdir/configure conftest.file" \
3115 && test "$*" != "X conftest.file $srcdir/configure"; then
3116
3117 # If neither matched, then we have a broken ls. This can happen
3118 # if, for instance, CONFIG_SHELL is bash and it inherits a
3119 # broken ls alias from the environment. This has actually
3120 # happened. Such a system could not be considered "sane".
3121 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3122alias in your environment" "$LINENO" 5
3123 fi
3124
3125 test "$2" = conftest.file
3126 )
3127then
3128 # Ok.
3129 :
3130else
3131 as_fn_error $? "newly created file is older than distributed files!
3132Check your system clock" "$LINENO" 5
3133fi
3134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3135$as_echo "yes" >&6; }
3136test "$program_prefix" != NONE &&
3137 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3138# Use a double $ so make ignores it.
3139test "$program_suffix" != NONE &&
3140 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3141# Double any \ or $.
3142# By default was `s,x,x', remove it if useless.
3143ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3144program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3145
3146# expand $ac_aux_dir to an absolute path
3147am_aux_dir=`cd $ac_aux_dir && pwd`
3148
3149if test x"${MISSING+set}" != xset; then
3150 case $am_aux_dir in
3151 *\ * | *\ *)
3152 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3153 *)
3154 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3155 esac
3156fi
3157# Use eval to expand $SHELL
3158if eval "$MISSING --run true"; then
3159 am_missing_run="$MISSING --run "
3160else
3161 am_missing_run=
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3163$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3164fi
3165
3166if test x"${install_sh}" != xset; then
3167 case $am_aux_dir in
3168 *\ * | *\ *)
3169 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3170 *)
3171 install_sh="\${SHELL} $am_aux_dir/install-sh"
3172 esac
3173fi
3174
3175# Installed binaries are usually stripped using `strip' when the user
3176# run `make install-strip'. However `strip' might not be the right
3177# tool to use in cross-compilation environments, therefore Automake
3178# will honor the `STRIP' environment variable to overrule this program.
3179if test "$cross_compiling" != no; then
3180 if test -n "$ac_tool_prefix"; then
3181 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3182set dummy ${ac_tool_prefix}strip; ac_word=$2
3183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3184$as_echo_n "checking for $ac_word... " >&6; }
3185if test "${ac_cv_prog_STRIP+set}" = set; then :
3186 $as_echo_n "(cached) " >&6
3187else
3188 if test -n "$STRIP"; then
3189 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3190else
3191as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3192for as_dir in $PATH
3193do
3194 IFS=$as_save_IFS
3195 test -z "$as_dir" && as_dir=.
3196 for ac_exec_ext in '' $ac_executable_extensions; do
3197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3198 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3200 break 2
3201 fi
3202done
3203 done
3204IFS=$as_save_IFS
3205
3206fi
3207fi
3208STRIP=$ac_cv_prog_STRIP
3209if test -n "$STRIP"; then
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3211$as_echo "$STRIP" >&6; }
3212else
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3214$as_echo "no" >&6; }
3215fi
3216
3217
3218fi
3219if test -z "$ac_cv_prog_STRIP"; then
3220 ac_ct_STRIP=$STRIP
3221 # Extract the first word of "strip", so it can be a program name with args.
3222set dummy strip; ac_word=$2
3223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3224$as_echo_n "checking for $ac_word... " >&6; }
3225if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3226 $as_echo_n "(cached) " >&6
3227else
3228 if test -n "$ac_ct_STRIP"; then
3229 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3230else
3231as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3232for as_dir in $PATH
3233do
3234 IFS=$as_save_IFS
3235 test -z "$as_dir" && as_dir=.
3236 for ac_exec_ext in '' $ac_executable_extensions; do
3237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3238 ac_cv_prog_ac_ct_STRIP="strip"
3239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3240 break 2
3241 fi
3242done
3243 done
3244IFS=$as_save_IFS
3245
3246fi
3247fi
3248ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3249if test -n "$ac_ct_STRIP"; then
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3251$as_echo "$ac_ct_STRIP" >&6; }
3252else
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254$as_echo "no" >&6; }
3255fi
3256
3257 if test "x$ac_ct_STRIP" = x; then
3258 STRIP=":"
3259 else
3260 case $cross_compiling:$ac_tool_warned in
3261yes:)
3262{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3263$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3264ac_tool_warned=yes ;;
3265esac
3266 STRIP=$ac_ct_STRIP
3267 fi
3268else
3269 STRIP="$ac_cv_prog_STRIP"
3270fi
3271
3272fi
3273INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3274
3275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3276$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3277if test -z "$MKDIR_P"; then
3278 if test "${ac_cv_path_mkdir+set}" = set; then :
3279 $as_echo_n "(cached) " >&6
3280else
3281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3282for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3283do
3284 IFS=$as_save_IFS
3285 test -z "$as_dir" && as_dir=.
3286 for ac_prog in mkdir gmkdir; do
3287 for ac_exec_ext in '' $ac_executable_extensions; do
3288 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3289 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3290 'mkdir (GNU coreutils) '* | \
3291 'mkdir (coreutils) '* | \
3292 'mkdir (fileutils) '4.1*)
3293 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3294 break 3;;
3295 esac
3296 done
3297 done
3298 done
3299IFS=$as_save_IFS
3300
3301fi
3302
3303 test -d ./--version && rmdir ./--version
3304 if test "${ac_cv_path_mkdir+set}" = set; then
3305 MKDIR_P="$ac_cv_path_mkdir -p"
3306 else
3307 # As a last resort, use the slow shell script. Don't cache a
3308 # value for MKDIR_P within a source directory, because that will
3309 # break other packages using the cache if that directory is
3310 # removed, or if the value is a relative name.
3311 MKDIR_P="$ac_install_sh -d"
3312 fi
3313fi
3314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3315$as_echo "$MKDIR_P" >&6; }
3316
3317mkdir_p="$MKDIR_P"
3318case $mkdir_p in
3319 [\\/$]* | ?:[\\/]*) ;;
3320 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3321esac
3322
3323for ac_prog in gawk mawk nawk awk
3324do
3325 # Extract the first word of "$ac_prog", so it can be a program name with args.
3326set dummy $ac_prog; ac_word=$2
3327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3328$as_echo_n "checking for $ac_word... " >&6; }
3329if test "${ac_cv_prog_AWK+set}" = set; then :
3330 $as_echo_n "(cached) " >&6
3331else
3332 if test -n "$AWK"; then
3333 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3334else
3335as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3336for as_dir in $PATH
3337do
3338 IFS=$as_save_IFS
3339 test -z "$as_dir" && as_dir=.
3340 for ac_exec_ext in '' $ac_executable_extensions; do
3341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3342 ac_cv_prog_AWK="$ac_prog"
3343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3344 break 2
3345 fi
3346done
3347 done
3348IFS=$as_save_IFS
3349
3350fi
3351fi
3352AWK=$ac_cv_prog_AWK
3353if test -n "$AWK"; then
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3355$as_echo "$AWK" >&6; }
3356else
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3358$as_echo "no" >&6; }
3359fi
3360
3361
3362 test -n "$AWK" && break
3363done
3364
3365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3366$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3367set x ${MAKE-make}
3368ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3369if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3370 $as_echo_n "(cached) " >&6
3371else
3372 cat >conftest.make <<\_ACEOF
3373SHELL = /bin/sh
3374all:
3375 @echo '@@@%%%=$(MAKE)=@@@%%%'
3376_ACEOF
3377# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3378case `${MAKE-make} -f conftest.make 2>/dev/null` in
3379 *@@@%%%=?*=@@@%%%*)
3380 eval ac_cv_prog_make_${ac_make}_set=yes;;
3381 *)
3382 eval ac_cv_prog_make_${ac_make}_set=no;;
3383esac
3384rm -f conftest.make
3385fi
3386if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3388$as_echo "yes" >&6; }
3389 SET_MAKE=
3390else
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3392$as_echo "no" >&6; }
3393 SET_MAKE="MAKE=${MAKE-make}"
3394fi
3395
3396rm -rf .tst 2>/dev/null
3397mkdir .tst 2>/dev/null
3398if test -d .tst; then
3399 am__leading_dot=.
3400else
3401 am__leading_dot=_
3402fi
3403rmdir .tst 2>/dev/null
3404
3405if test "`cd $srcdir && pwd`" != "`pwd`"; then
3406 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3407 # is not polluted with repeated "-I."
3408 am__isrc=' -I$(srcdir)'
3409 # test to see if srcdir already configured
3410 if test -f $srcdir/config.status; then
3411 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3412 fi
3413fi
3414
3415# test whether we have cygpath
3416if test -z "$CYGPATH_W"; then
3417 if (cygpath --version) >/dev/null 2>/dev/null; then
3418 CYGPATH_W='cygpath -w'
3419 else
3420 CYGPATH_W=echo
3421 fi
3422fi
3423
3424
3425# Define the identity of the package.
3426 PACKAGE='eina'
3427 VERSION='1.2.0-alpha'
3428
3429
3430cat >>confdefs.h <<_ACEOF
3431#define PACKAGE "$PACKAGE"
3432_ACEOF
3433
3434
3435cat >>confdefs.h <<_ACEOF
3436#define VERSION "$VERSION"
3437_ACEOF
3438
3439# Some tools Automake needs.
3440
3441ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3442
3443
3444AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3445
3446
3447AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3448
3449
3450AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3451
3452
3453MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3454
3455# We need awk for the "check" target. The system "awk" is bad on
3456# some platforms.
3457# Always define AMTAR for backward compatibility.
3458
3459AMTAR=${AMTAR-"${am_missing_run}tar"}
3460
3461am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3462
3463
3464
3465
3466
3467# Check whether --enable-silent-rules was given.
3468if test "${enable_silent_rules+set}" = set; then :
3469 enableval=$enable_silent_rules;
3470fi
3471
3472case $enable_silent_rules in
3473yes) AM_DEFAULT_VERBOSITY=0;;
3474no) AM_DEFAULT_VERBOSITY=1;;
3475*) AM_DEFAULT_VERBOSITY=0;;
3476esac
3477AM_BACKSLASH='\'
3478
3479
3480DEPDIR="${am__leading_dot}deps"
3481
3482ac_config_commands="$ac_config_commands depfiles"
3483
3484
3485am_make=${MAKE-make}
3486cat > confinc << 'END'
3487am__doit:
3488 @echo this is the am__doit target
3489.PHONY: am__doit
3490END
3491# If we don't find an include directive, just comment out the code.
3492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3493$as_echo_n "checking for style of include used by $am_make... " >&6; }
3494am__include="#"
3495am__quote=
3496_am_result=none
3497# First try GNU make style include.
3498echo "include confinc" > confmf
3499# Ignore all kinds of additional output from `make'.
3500case `$am_make -s -f confmf 2> /dev/null` in #(
3501*the\ am__doit\ target*)
3502 am__include=include
3503 am__quote=
3504 _am_result=GNU
3505 ;;
3506esac
3507# Now try BSD make style include.
3508if test "$am__include" = "#"; then
3509 echo '.include "confinc"' > confmf
3510 case `$am_make -s -f confmf 2> /dev/null` in #(
3511 *the\ am__doit\ target*)
3512 am__include=.include
3513 am__quote="\""
3514 _am_result=BSD
3515 ;;
3516 esac
3517fi
3518
3519
3520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3521$as_echo "$_am_result" >&6; }
3522rm -f confinc confmf
3523
3524# Check whether --enable-dependency-tracking was given.
3525if test "${enable_dependency_tracking+set}" = set; then :
3526 enableval=$enable_dependency_tracking;
3527fi
3528
3529if test "x$enable_dependency_tracking" != xno; then
3530 am_depcomp="$ac_aux_dir/depcomp"
3531 AMDEPBACKSLASH='\'
3532fi
3533 if test "x$enable_dependency_tracking" != xno; then
3534 AMDEP_TRUE=
3535 AMDEP_FALSE='#'
3536else
3537 AMDEP_TRUE='#'
3538 AMDEP_FALSE=
3539fi
3540
3541
3542ac_ext=c
3543ac_cpp='$CPP $CPPFLAGS'
3544ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3545ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3546ac_compiler_gnu=$ac_cv_c_compiler_gnu
3547if test -n "$ac_tool_prefix"; then
3548 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3549set dummy ${ac_tool_prefix}gcc; ac_word=$2
3550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3551$as_echo_n "checking for $ac_word... " >&6; }
3552if test "${ac_cv_prog_CC+set}" = set; then :
3553 $as_echo_n "(cached) " >&6
3554else
3555 if test -n "$CC"; then
3556 ac_cv_prog_CC="$CC" # Let the user override the test.
3557else
3558as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3559for as_dir in $PATH
3560do
3561 IFS=$as_save_IFS
3562 test -z "$as_dir" && as_dir=.
3563 for ac_exec_ext in '' $ac_executable_extensions; do
3564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3565 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3567 break 2
3568 fi
3569done
3570 done
3571IFS=$as_save_IFS
3572
3573fi
3574fi
3575CC=$ac_cv_prog_CC
3576if test -n "$CC"; then
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3578$as_echo "$CC" >&6; }
3579else
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3581$as_echo "no" >&6; }
3582fi
3583
3584
3585fi
3586if test -z "$ac_cv_prog_CC"; then
3587 ac_ct_CC=$CC
3588 # Extract the first word of "gcc", so it can be a program name with args.
3589set dummy gcc; ac_word=$2
3590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3591$as_echo_n "checking for $ac_word... " >&6; }
3592if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3593 $as_echo_n "(cached) " >&6
3594else
3595 if test -n "$ac_ct_CC"; then
3596 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3597else
3598as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3599for as_dir in $PATH
3600do
3601 IFS=$as_save_IFS
3602 test -z "$as_dir" && as_dir=.
3603 for ac_exec_ext in '' $ac_executable_extensions; do
3604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3605 ac_cv_prog_ac_ct_CC="gcc"
3606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3607 break 2
3608 fi
3609done
3610 done
3611IFS=$as_save_IFS
3612
3613fi
3614fi
3615ac_ct_CC=$ac_cv_prog_ac_ct_CC
3616if test -n "$ac_ct_CC"; then
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3618$as_echo "$ac_ct_CC" >&6; }
3619else
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3621$as_echo "no" >&6; }
3622fi
3623
3624 if test "x$ac_ct_CC" = x; then
3625 CC=""
3626 else
3627 case $cross_compiling:$ac_tool_warned in
3628yes:)
3629{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3630$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3631ac_tool_warned=yes ;;
3632esac
3633 CC=$ac_ct_CC
3634 fi
3635else
3636 CC="$ac_cv_prog_CC"
3637fi
3638
3639if test -z "$CC"; then
3640 if test -n "$ac_tool_prefix"; then
3641 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3642set dummy ${ac_tool_prefix}cc; ac_word=$2
3643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3644$as_echo_n "checking for $ac_word... " >&6; }
3645if test "${ac_cv_prog_CC+set}" = set; then :
3646 $as_echo_n "(cached) " >&6
3647else
3648 if test -n "$CC"; then
3649 ac_cv_prog_CC="$CC" # Let the user override the test.
3650else
3651as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3652for as_dir in $PATH
3653do
3654 IFS=$as_save_IFS
3655 test -z "$as_dir" && as_dir=.
3656 for ac_exec_ext in '' $ac_executable_extensions; do
3657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3658 ac_cv_prog_CC="${ac_tool_prefix}cc"
3659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3660 break 2
3661 fi
3662done
3663 done
3664IFS=$as_save_IFS
3665
3666fi
3667fi
3668CC=$ac_cv_prog_CC
3669if test -n "$CC"; then
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3671$as_echo "$CC" >&6; }
3672else
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3674$as_echo "no" >&6; }
3675fi
3676
3677
3678 fi
3679fi
3680if test -z "$CC"; then
3681 # Extract the first word of "cc", so it can be a program name with args.
3682set dummy cc; ac_word=$2
3683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3684$as_echo_n "checking for $ac_word... " >&6; }
3685if test "${ac_cv_prog_CC+set}" = set; then :
3686 $as_echo_n "(cached) " >&6
3687else
3688 if test -n "$CC"; then
3689 ac_cv_prog_CC="$CC" # Let the user override the test.
3690else
3691 ac_prog_rejected=no
3692as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3693for as_dir in $PATH
3694do
3695 IFS=$as_save_IFS
3696 test -z "$as_dir" && as_dir=.
3697 for ac_exec_ext in '' $ac_executable_extensions; do
3698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3699 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3700 ac_prog_rejected=yes
3701 continue
3702 fi
3703 ac_cv_prog_CC="cc"
3704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3705 break 2
3706 fi
3707done
3708 done
3709IFS=$as_save_IFS
3710
3711if test $ac_prog_rejected = yes; then
3712 # We found a bogon in the path, so make sure we never use it.
3713 set dummy $ac_cv_prog_CC
3714 shift
3715 if test $# != 0; then
3716 # We chose a different compiler from the bogus one.
3717 # However, it has the same basename, so the bogon will be chosen
3718 # first if we set CC to just the basename; use the full file name.
3719 shift
3720 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3721 fi
3722fi
3723fi
3724fi
3725CC=$ac_cv_prog_CC
3726if test -n "$CC"; then
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3728$as_echo "$CC" >&6; }
3729else
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731$as_echo "no" >&6; }
3732fi
3733
3734
3735fi
3736if test -z "$CC"; then
3737 if test -n "$ac_tool_prefix"; then
3738 for ac_prog in cl.exe
3739 do
3740 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3741set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3743$as_echo_n "checking for $ac_word... " >&6; }
3744if test "${ac_cv_prog_CC+set}" = set; then :
3745 $as_echo_n "(cached) " >&6
3746else
3747 if test -n "$CC"; then
3748 ac_cv_prog_CC="$CC" # Let the user override the test.
3749else
3750as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3751for as_dir in $PATH
3752do
3753 IFS=$as_save_IFS
3754 test -z "$as_dir" && as_dir=.
3755 for ac_exec_ext in '' $ac_executable_extensions; do
3756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3757 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3759 break 2
3760 fi
3761done
3762 done
3763IFS=$as_save_IFS
3764
3765fi
3766fi
3767CC=$ac_cv_prog_CC
3768if test -n "$CC"; then
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3770$as_echo "$CC" >&6; }
3771else
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3773$as_echo "no" >&6; }
3774fi
3775
3776
3777 test -n "$CC" && break
3778 done
3779fi
3780if test -z "$CC"; then
3781 ac_ct_CC=$CC
3782 for ac_prog in cl.exe
3783do
3784 # Extract the first word of "$ac_prog", so it can be a program name with args.
3785set dummy $ac_prog; ac_word=$2
3786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3787$as_echo_n "checking for $ac_word... " >&6; }
3788if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3789 $as_echo_n "(cached) " >&6
3790else
3791 if test -n "$ac_ct_CC"; then
3792 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3793else
3794as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795for as_dir in $PATH
3796do
3797 IFS=$as_save_IFS
3798 test -z "$as_dir" && as_dir=.
3799 for ac_exec_ext in '' $ac_executable_extensions; do
3800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3801 ac_cv_prog_ac_ct_CC="$ac_prog"
3802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 break 2
3804 fi
3805done
3806 done
3807IFS=$as_save_IFS
3808
3809fi
3810fi
3811ac_ct_CC=$ac_cv_prog_ac_ct_CC
3812if test -n "$ac_ct_CC"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3814$as_echo "$ac_ct_CC" >&6; }
3815else
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817$as_echo "no" >&6; }
3818fi
3819
3820
3821 test -n "$ac_ct_CC" && break
3822done
3823
3824 if test "x$ac_ct_CC" = x; then
3825 CC=""
3826 else
3827 case $cross_compiling:$ac_tool_warned in
3828yes:)
3829{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3830$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3831ac_tool_warned=yes ;;
3832esac
3833 CC=$ac_ct_CC
3834 fi
3835fi
3836
3837fi
3838
3839
3840test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3841$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3842as_fn_error $? "no acceptable C compiler found in \$PATH
3843See \`config.log' for more details" "$LINENO" 5 ; }
3844
3845# Provide some information about the compiler.
3846$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3847set X $ac_compile
3848ac_compiler=$2
3849for ac_option in --version -v -V -qversion; do
3850 { { ac_try="$ac_compiler $ac_option >&5"
3851case "(($ac_try" in
3852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3853 *) ac_try_echo=$ac_try;;
3854esac
3855eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3856$as_echo "$ac_try_echo"; } >&5
3857 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3858 ac_status=$?
3859 if test -s conftest.err; then
3860 sed '10a\
3861... rest of stderr output deleted ...
3862 10q' conftest.err >conftest.er1
3863 cat conftest.er1 >&5
3864 fi
3865 rm -f conftest.er1 conftest.err
3866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3867 test $ac_status = 0; }
3868done
3869
3870cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3871/* end confdefs.h. */
3872
3873int
3874main ()
3875{
3876
3877 ;
3878 return 0;
3879}
3880_ACEOF
3881ac_clean_files_save=$ac_clean_files
3882ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3883# Try to create an executable without -o first, disregard a.out.
3884# It will help us diagnose broken compilers, and finding out an intuition
3885# of exeext.
3886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3887$as_echo_n "checking whether the C compiler works... " >&6; }
3888ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3889
3890# The possible output files:
3891ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3892
3893ac_rmfiles=
3894for ac_file in $ac_files
3895do
3896 case $ac_file in
3897 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3898 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3899 esac
3900done
3901rm -f $ac_rmfiles
3902
3903if { { ac_try="$ac_link_default"
3904case "(($ac_try" in
3905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3906 *) ac_try_echo=$ac_try;;
3907esac
3908eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3909$as_echo "$ac_try_echo"; } >&5
3910 (eval "$ac_link_default") 2>&5
3911 ac_status=$?
3912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3913 test $ac_status = 0; }; then :
3914 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3915# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3916# in a Makefile. We should not override ac_cv_exeext if it was cached,
3917# so that the user can short-circuit this test for compilers unknown to
3918# Autoconf.
3919for ac_file in $ac_files ''
3920do
3921 test -f "$ac_file" || continue
3922 case $ac_file in
3923 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3924 ;;
3925 [ab].out )
3926 # We found the default executable, but exeext='' is most
3927 # certainly right.
3928 break;;
3929 *.* )
3930 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3931 then :; else
3932 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3933 fi
3934 # We set ac_cv_exeext here because the later test for it is not
3935 # safe: cross compilers may not add the suffix if given an `-o'
3936 # argument, so we may need to know it at that point already.
3937 # Even if this section looks crufty: it has the advantage of
3938 # actually working.
3939 break;;
3940 * )
3941 break;;
3942 esac
3943done
3944test "$ac_cv_exeext" = no && ac_cv_exeext=
3945
3946else
3947 ac_file=''
3948fi
3949if test -z "$ac_file"; then :
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3951$as_echo "no" >&6; }
3952$as_echo "$as_me: failed program was:" >&5
3953sed 's/^/| /' conftest.$ac_ext >&5
3954
3955{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3956$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3957as_fn_error 77 "C compiler cannot create executables
3958See \`config.log' for more details" "$LINENO" 5 ; }
3959else
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3961$as_echo "yes" >&6; }
3962fi
3963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3964$as_echo_n "checking for C compiler default output file name... " >&6; }
3965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3966$as_echo "$ac_file" >&6; }
3967ac_exeext=$ac_cv_exeext
3968
3969rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3970ac_clean_files=$ac_clean_files_save
3971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3972$as_echo_n "checking for suffix of executables... " >&6; }
3973if { { ac_try="$ac_link"
3974case "(($ac_try" in
3975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3976 *) ac_try_echo=$ac_try;;
3977esac
3978eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3979$as_echo "$ac_try_echo"; } >&5
3980 (eval "$ac_link") 2>&5
3981 ac_status=$?
3982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3983 test $ac_status = 0; }; then :
3984 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3985# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3986# work properly (i.e., refer to `conftest.exe'), while it won't with
3987# `rm'.
3988for ac_file in conftest.exe conftest conftest.*; do
3989 test -f "$ac_file" || continue
3990 case $ac_file in
3991 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3992 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3993 break;;
3994 * ) break;;
3995 esac
3996done
3997else
3998 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3999$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4000as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4001See \`config.log' for more details" "$LINENO" 5 ; }
4002fi
4003rm -f conftest conftest$ac_cv_exeext
4004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4005$as_echo "$ac_cv_exeext" >&6; }
4006
4007rm -f conftest.$ac_ext
4008EXEEXT=$ac_cv_exeext
4009ac_exeext=$EXEEXT
4010cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4011/* end confdefs.h. */
4012#include <stdio.h>
4013int
4014main ()
4015{
4016FILE *f = fopen ("conftest.out", "w");
4017 return ferror (f) || fclose (f) != 0;
4018
4019 ;
4020 return 0;
4021}
4022_ACEOF
4023ac_clean_files="$ac_clean_files conftest.out"
4024# Check that the compiler produces executables we can run. If not, either
4025# the compiler is broken, or we cross compile.
4026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4027$as_echo_n "checking whether we are cross compiling... " >&6; }
4028if test "$cross_compiling" != yes; then
4029 { { ac_try="$ac_link"
4030case "(($ac_try" in
4031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4033esac
4034eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4035$as_echo "$ac_try_echo"; } >&5
4036 (eval "$ac_link") 2>&5
4037 ac_status=$?
4038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4039 test $ac_status = 0; }
4040 if { ac_try='./conftest$ac_cv_exeext'
4041 { { case "(($ac_try" in
4042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4044esac
4045eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4046$as_echo "$ac_try_echo"; } >&5
4047 (eval "$ac_try") 2>&5
4048 ac_status=$?
4049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4050 test $ac_status = 0; }; }; then
4051 cross_compiling=no
4052 else
4053 if test "$cross_compiling" = maybe; then
4054 cross_compiling=yes
4055 else
4056 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4057$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4058as_fn_error $? "cannot run C compiled programs.
4059If you meant to cross compile, use \`--host'.
4060See \`config.log' for more details" "$LINENO" 5 ; }
4061 fi
4062 fi
4063fi
4064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4065$as_echo "$cross_compiling" >&6; }
4066
4067rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4068ac_clean_files=$ac_clean_files_save
4069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4070$as_echo_n "checking for suffix of object files... " >&6; }
4071if test "${ac_cv_objext+set}" = set; then :
4072 $as_echo_n "(cached) " >&6
4073else
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075/* end confdefs.h. */
4076
4077int
4078main ()
4079{
4080
4081 ;
4082 return 0;
4083}
4084_ACEOF
4085rm -f conftest.o conftest.obj
4086if { { ac_try="$ac_compile"
4087case "(($ac_try" in
4088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4089 *) ac_try_echo=$ac_try;;
4090esac
4091eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4092$as_echo "$ac_try_echo"; } >&5
4093 (eval "$ac_compile") 2>&5
4094 ac_status=$?
4095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4096 test $ac_status = 0; }; then :
4097 for ac_file in conftest.o conftest.obj conftest.*; do
4098 test -f "$ac_file" || continue;
4099 case $ac_file in
4100 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4101 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4102 break;;
4103 esac
4104done
4105else
4106 $as_echo "$as_me: failed program was:" >&5
4107sed 's/^/| /' conftest.$ac_ext >&5
4108
4109{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4110$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4111as_fn_error $? "cannot compute suffix of object files: cannot compile
4112See \`config.log' for more details" "$LINENO" 5 ; }
4113fi
4114rm -f conftest.$ac_cv_objext conftest.$ac_ext
4115fi
4116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4117$as_echo "$ac_cv_objext" >&6; }
4118OBJEXT=$ac_cv_objext
4119ac_objext=$OBJEXT
4120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4121$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4122if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4123 $as_echo_n "(cached) " >&6
4124else
4125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126/* end confdefs.h. */
4127
4128int
4129main ()
4130{
4131#ifndef __GNUC__
4132 choke me
4133#endif
4134
4135 ;
4136 return 0;
4137}
4138_ACEOF
4139if ac_fn_c_try_compile "$LINENO"; then :
4140 ac_compiler_gnu=yes
4141else
4142 ac_compiler_gnu=no
4143fi
4144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4145ac_cv_c_compiler_gnu=$ac_compiler_gnu
4146
4147fi
4148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4149$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4150if test $ac_compiler_gnu = yes; then
4151 GCC=yes
4152else
4153 GCC=
4154fi
4155ac_test_CFLAGS=${CFLAGS+set}
4156ac_save_CFLAGS=$CFLAGS
4157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4158$as_echo_n "checking whether $CC accepts -g... " >&6; }
4159if test "${ac_cv_prog_cc_g+set}" = set; then :
4160 $as_echo_n "(cached) " >&6
4161else
4162 ac_save_c_werror_flag=$ac_c_werror_flag
4163 ac_c_werror_flag=yes
4164 ac_cv_prog_cc_g=no
4165 CFLAGS="-g"
4166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167/* end confdefs.h. */
4168
4169int
4170main ()
4171{
4172
4173 ;
4174 return 0;
4175}
4176_ACEOF
4177if ac_fn_c_try_compile "$LINENO"; then :
4178 ac_cv_prog_cc_g=yes
4179else
4180 CFLAGS=""
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182/* end confdefs.h. */
4183
4184int
4185main ()
4186{
4187
4188 ;
4189 return 0;
4190}
4191_ACEOF
4192if ac_fn_c_try_compile "$LINENO"; then :
4193
4194else
4195 ac_c_werror_flag=$ac_save_c_werror_flag
4196 CFLAGS="-g"
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198/* end confdefs.h. */
4199
4200int
4201main ()
4202{
4203
4204 ;
4205 return 0;
4206}
4207_ACEOF
4208if ac_fn_c_try_compile "$LINENO"; then :
4209 ac_cv_prog_cc_g=yes
4210fi
4211rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212fi
4213rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214fi
4215rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 ac_c_werror_flag=$ac_save_c_werror_flag
4217fi
4218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4219$as_echo "$ac_cv_prog_cc_g" >&6; }
4220if test "$ac_test_CFLAGS" = set; then
4221 CFLAGS=$ac_save_CFLAGS
4222elif test $ac_cv_prog_cc_g = yes; then
4223 if test "$GCC" = yes; then
4224 CFLAGS="-g -O2"
4225 else
4226 CFLAGS="-g"
4227 fi
4228else
4229 if test "$GCC" = yes; then
4230 CFLAGS="-O2"
4231 else
4232 CFLAGS=
4233 fi
4234fi
4235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4236$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4237if test "${ac_cv_prog_cc_c89+set}" = set; then :
4238 $as_echo_n "(cached) " >&6
4239else
4240 ac_cv_prog_cc_c89=no
4241ac_save_CC=$CC
4242cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4243/* end confdefs.h. */
4244#include <stdarg.h>
4245#include <stdio.h>
4246#include <sys/types.h>
4247#include <sys/stat.h>
4248/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4249struct buf { int x; };
4250FILE * (*rcsopen) (struct buf *, struct stat *, int);
4251static char *e (p, i)
4252 char **p;
4253 int i;
4254{
4255 return p[i];
4256}
4257static char *f (char * (*g) (char **, int), char **p, ...)
4258{
4259 char *s;
4260 va_list v;
4261 va_start (v,p);
4262 s = g (p, va_arg (v,int));
4263 va_end (v);
4264 return s;
4265}
4266
4267/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4268 function prototypes and stuff, but not '\xHH' hex character constants.
4269 These don't provoke an error unfortunately, instead are silently treated
4270 as 'x'. The following induces an error, until -std is added to get
4271 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4272 array size at least. It's necessary to write '\x00'==0 to get something
4273 that's true only with -std. */
4274int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4275
4276/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4277 inside strings and character constants. */
4278#define FOO(x) 'x'
4279int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4280
4281int test (int i, double x);
4282struct s1 {int (*f) (int a);};
4283struct s2 {int (*f) (double a);};
4284int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4285int argc;
4286char **argv;
4287int
4288main ()
4289{
4290return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4291 ;
4292 return 0;
4293}
4294_ACEOF
4295for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4296 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4297do
4298 CC="$ac_save_CC $ac_arg"
4299 if ac_fn_c_try_compile "$LINENO"; then :
4300 ac_cv_prog_cc_c89=$ac_arg
4301fi
4302rm -f core conftest.err conftest.$ac_objext
4303 test "x$ac_cv_prog_cc_c89" != "xno" && break
4304done
4305rm -f conftest.$ac_ext
4306CC=$ac_save_CC
4307
4308fi
4309# AC_CACHE_VAL
4310case "x$ac_cv_prog_cc_c89" in
4311 x)
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4313$as_echo "none needed" >&6; } ;;
4314 xno)
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4316$as_echo "unsupported" >&6; } ;;
4317 *)
4318 CC="$CC $ac_cv_prog_cc_c89"
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4320$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4321esac
4322if test "x$ac_cv_prog_cc_c89" != xno; then :
4323
4324fi
4325
4326ac_ext=c
4327ac_cpp='$CPP $CPPFLAGS'
4328ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4329ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4330ac_compiler_gnu=$ac_cv_c_compiler_gnu
4331
4332depcc="$CC" am_compiler_list=
4333
4334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4335$as_echo_n "checking dependency style of $depcc... " >&6; }
4336if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4337 $as_echo_n "(cached) " >&6
4338else
4339 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4340 # We make a subdir and do the tests there. Otherwise we can end up
4341 # making bogus files that we don't know about and never remove. For
4342 # instance it was reported that on HP-UX the gcc test will end up
4343 # making a dummy file named `D' -- because `-MD' means `put the output
4344 # in D'.
4345 mkdir conftest.dir
4346 # Copy depcomp to subdir because otherwise we won't find it if we're
4347 # using a relative directory.
4348 cp "$am_depcomp" conftest.dir
4349 cd conftest.dir
4350 # We will build objects and dependencies in a subdirectory because
4351 # it helps to detect inapplicable dependency modes. For instance
4352 # both Tru64's cc and ICC support -MD to output dependencies as a
4353 # side effect of compilation, but ICC will put the dependencies in
4354 # the current directory while Tru64 will put them in the object
4355 # directory.
4356 mkdir sub
4357
4358 am_cv_CC_dependencies_compiler_type=none
4359 if test "$am_compiler_list" = ""; then
4360 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4361 fi
4362 am__universal=false
4363 case " $depcc " in #(
4364 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4365 esac
4366
4367 for depmode in $am_compiler_list; do
4368 # Setup a source with many dependencies, because some compilers
4369 # like to wrap large dependency lists on column 80 (with \), and
4370 # we should not choose a depcomp mode which is confused by this.
4371 #
4372 # We need to recreate these files for each test, as the compiler may
4373 # overwrite some of them when testing with obscure command lines.
4374 # This happens at least with the AIX C compiler.
4375 : > sub/conftest.c
4376 for i in 1 2 3 4 5 6; do
4377 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4378 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4379 # Solaris 8's {/usr,}/bin/sh.
4380 touch sub/conftst$i.h
4381 done
4382 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4383
4384 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4385 # mode. It turns out that the SunPro C++ compiler does not properly
4386 # handle `-M -o', and we need to detect this. Also, some Intel
4387 # versions had trouble with output in subdirs
4388 am__obj=sub/conftest.${OBJEXT-o}
4389 am__minus_obj="-o $am__obj"
4390 case $depmode in
4391 gcc)
4392 # This depmode causes a compiler race in universal mode.
4393 test "$am__universal" = false || continue
4394 ;;
4395 nosideeffect)
4396 # after this tag, mechanisms are not by side-effect, so they'll
4397 # only be used when explicitly requested
4398 if test "x$enable_dependency_tracking" = xyes; then
4399 continue
4400 else
4401 break
4402 fi
4403 ;;
4404 msvisualcpp | msvcmsys)
4405 # This compiler won't grok `-c -o', but also, the minuso test has
4406 # not run yet. These depmodes are late enough in the game, and
4407 # so weak that their functioning should not be impacted.
4408 am__obj=conftest.${OBJEXT-o}
4409 am__minus_obj=
4410 ;;
4411 none) break ;;
4412 esac
4413 if depmode=$depmode \
4414 source=sub/conftest.c object=$am__obj \
4415 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4416 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4417 >/dev/null 2>conftest.err &&
4418 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4419 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4420 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4421 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4422 # icc doesn't choke on unknown options, it will just issue warnings
4423 # or remarks (even with -Werror). So we grep stderr for any message
4424 # that says an option was ignored or not supported.
4425 # When given -MP, icc 7.0 and 7.1 complain thusly:
4426 # icc: Command line warning: ignoring option '-M'; no argument required
4427 # The diagnosis changed in icc 8.0:
4428 # icc: Command line remark: option '-MP' not supported
4429 if (grep 'ignoring option' conftest.err ||
4430 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4431 am_cv_CC_dependencies_compiler_type=$depmode
4432 break
4433 fi
4434 fi
4435 done
4436
4437 cd ..
4438 rm -rf conftest.dir
4439else
4440 am_cv_CC_dependencies_compiler_type=none
4441fi
4442
4443fi
4444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4445$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4446CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4447
4448 if
4449 test "x$enable_dependency_tracking" != xno \
4450 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4451 am__fastdepCC_TRUE=
4452 am__fastdepCC_FALSE='#'
4453else
4454 am__fastdepCC_TRUE='#'
4455 am__fastdepCC_FALSE=
4456fi
4457
4458
4459
4460ac_ext=c
4461ac_cpp='$CPP $CPPFLAGS'
4462ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4463ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4464ac_compiler_gnu=$ac_cv_c_compiler_gnu
4465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4466$as_echo_n "checking how to run the C preprocessor... " >&6; }
4467# On Suns, sometimes $CPP names a directory.
4468if test -n "$CPP" && test -d "$CPP"; then
4469 CPP=
4470fi
4471if test -z "$CPP"; then
4472 if test "${ac_cv_prog_CPP+set}" = set; then :
4473 $as_echo_n "(cached) " >&6
4474else
4475 # Double quotes because CPP needs to be expanded
4476 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4477 do
4478 ac_preproc_ok=false
4479for ac_c_preproc_warn_flag in '' yes
4480do
4481 # Use a header file that comes with gcc, so configuring glibc
4482 # with a fresh cross-compiler works.
4483 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4484 # <limits.h> exists even on freestanding compilers.
4485 # On the NeXT, cc -E runs the code through the compiler's parser,
4486 # not just through cpp. "Syntax error" is here to catch this case.
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488/* end confdefs.h. */
4489#ifdef __STDC__
4490# include <limits.h>
4491#else
4492# include <assert.h>
4493#endif
4494 Syntax error
4495_ACEOF
4496if ac_fn_c_try_cpp "$LINENO"; then :
4497
4498else
4499 # Broken: fails on valid input.
4500continue
4501fi
4502rm -f conftest.err conftest.i conftest.$ac_ext
4503
4504 # OK, works on sane cases. Now check whether nonexistent headers
4505 # can be detected and how.
4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4507/* end confdefs.h. */
4508#include <ac_nonexistent.h>
4509_ACEOF
4510if ac_fn_c_try_cpp "$LINENO"; then :
4511 # Broken: success on invalid input.
4512continue
4513else
4514 # Passes both tests.
4515ac_preproc_ok=:
4516break
4517fi
4518rm -f conftest.err conftest.i conftest.$ac_ext
4519
4520done
4521# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4522rm -f conftest.i conftest.err conftest.$ac_ext
4523if $ac_preproc_ok; then :
4524 break
4525fi
4526
4527 done
4528 ac_cv_prog_CPP=$CPP
4529
4530fi
4531 CPP=$ac_cv_prog_CPP
4532else
4533 ac_cv_prog_CPP=$CPP
4534fi
4535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4536$as_echo "$CPP" >&6; }
4537ac_preproc_ok=false
4538for ac_c_preproc_warn_flag in '' yes
4539do
4540 # Use a header file that comes with gcc, so configuring glibc
4541 # with a fresh cross-compiler works.
4542 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4543 # <limits.h> exists even on freestanding compilers.
4544 # On the NeXT, cc -E runs the code through the compiler's parser,
4545 # not just through cpp. "Syntax error" is here to catch this case.
4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547/* end confdefs.h. */
4548#ifdef __STDC__
4549# include <limits.h>
4550#else
4551# include <assert.h>
4552#endif
4553 Syntax error
4554_ACEOF
4555if ac_fn_c_try_cpp "$LINENO"; then :
4556
4557else
4558 # Broken: fails on valid input.
4559continue
4560fi
4561rm -f conftest.err conftest.i conftest.$ac_ext
4562
4563 # OK, works on sane cases. Now check whether nonexistent headers
4564 # can be detected and how.
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566/* end confdefs.h. */
4567#include <ac_nonexistent.h>
4568_ACEOF
4569if ac_fn_c_try_cpp "$LINENO"; then :
4570 # Broken: success on invalid input.
4571continue
4572else
4573 # Passes both tests.
4574ac_preproc_ok=:
4575break
4576fi
4577rm -f conftest.err conftest.i conftest.$ac_ext
4578
4579done
4580# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4581rm -f conftest.i conftest.err conftest.$ac_ext
4582if $ac_preproc_ok; then :
4583
4584else
4585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4586$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4587as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4588See \`config.log' for more details" "$LINENO" 5 ; }
4589fi
4590
4591ac_ext=c
4592ac_cpp='$CPP $CPPFLAGS'
4593ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595ac_compiler_gnu=$ac_cv_c_compiler_gnu
4596
4597
4598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4599$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4600if test "${ac_cv_path_GREP+set}" = set; then :
4601 $as_echo_n "(cached) " >&6
4602else
4603 if test -z "$GREP"; then
4604 ac_path_GREP_found=false
4605 # Loop through the user's path and test for each of PROGNAME-LIST
4606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4607for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4608do
4609 IFS=$as_save_IFS
4610 test -z "$as_dir" && as_dir=.
4611 for ac_prog in grep ggrep; do
4612 for ac_exec_ext in '' $ac_executable_extensions; do
4613 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4614 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4615# Check for GNU ac_path_GREP and select it if it is found.
4616 # Check for GNU $ac_path_GREP
4617case `"$ac_path_GREP" --version 2>&1` in
4618*GNU*)
4619 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4620*)
4621 ac_count=0
4622 $as_echo_n 0123456789 >"conftest.in"
4623 while :
4624 do
4625 cat "conftest.in" "conftest.in" >"conftest.tmp"
4626 mv "conftest.tmp" "conftest.in"
4627 cp "conftest.in" "conftest.nl"
4628 $as_echo 'GREP' >> "conftest.nl"
4629 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4630 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4631 as_fn_arith $ac_count + 1 && ac_count=$as_val
4632 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4633 # Best one so far, save it but keep looking for a better one
4634 ac_cv_path_GREP="$ac_path_GREP"
4635 ac_path_GREP_max=$ac_count
4636 fi
4637 # 10*(2^10) chars as input seems more than enough
4638 test $ac_count -gt 10 && break
4639 done
4640 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4641esac
4642
4643 $ac_path_GREP_found && break 3
4644 done
4645 done
4646 done
4647IFS=$as_save_IFS
4648 if test -z "$ac_cv_path_GREP"; then
4649 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4650 fi
4651else
4652 ac_cv_path_GREP=$GREP
4653fi
4654
4655fi
4656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4657$as_echo "$ac_cv_path_GREP" >&6; }
4658 GREP="$ac_cv_path_GREP"
4659
4660
4661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4662$as_echo_n "checking for egrep... " >&6; }
4663if test "${ac_cv_path_EGREP+set}" = set; then :
4664 $as_echo_n "(cached) " >&6
4665else
4666 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4667 then ac_cv_path_EGREP="$GREP -E"
4668 else
4669 if test -z "$EGREP"; then
4670 ac_path_EGREP_found=false
4671 # Loop through the user's path and test for each of PROGNAME-LIST
4672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4673for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4674do
4675 IFS=$as_save_IFS
4676 test -z "$as_dir" && as_dir=.
4677 for ac_prog in egrep; do
4678 for ac_exec_ext in '' $ac_executable_extensions; do
4679 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4680 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4681# Check for GNU ac_path_EGREP and select it if it is found.
4682 # Check for GNU $ac_path_EGREP
4683case `"$ac_path_EGREP" --version 2>&1` in
4684*GNU*)
4685 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4686*)
4687 ac_count=0
4688 $as_echo_n 0123456789 >"conftest.in"
4689 while :
4690 do
4691 cat "conftest.in" "conftest.in" >"conftest.tmp"
4692 mv "conftest.tmp" "conftest.in"
4693 cp "conftest.in" "conftest.nl"
4694 $as_echo 'EGREP' >> "conftest.nl"
4695 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4696 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4697 as_fn_arith $ac_count + 1 && ac_count=$as_val
4698 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4699 # Best one so far, save it but keep looking for a better one
4700 ac_cv_path_EGREP="$ac_path_EGREP"
4701 ac_path_EGREP_max=$ac_count
4702 fi
4703 # 10*(2^10) chars as input seems more than enough
4704 test $ac_count -gt 10 && break
4705 done
4706 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4707esac
4708
4709 $ac_path_EGREP_found && break 3
4710 done
4711 done
4712 done
4713IFS=$as_save_IFS
4714 if test -z "$ac_cv_path_EGREP"; then
4715 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4716 fi
4717else
4718 ac_cv_path_EGREP=$EGREP
4719fi
4720
4721 fi
4722fi
4723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4724$as_echo "$ac_cv_path_EGREP" >&6; }
4725 EGREP="$ac_cv_path_EGREP"
4726
4727
4728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4729$as_echo_n "checking for ANSI C header files... " >&6; }
4730if test "${ac_cv_header_stdc+set}" = set; then :
4731 $as_echo_n "(cached) " >&6
4732else
4733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4734/* end confdefs.h. */
4735#include <stdlib.h>
4736#include <stdarg.h>
4737#include <string.h>
4738#include <float.h>
4739
4740int
4741main ()
4742{
4743
4744 ;
4745 return 0;
4746}
4747_ACEOF
4748if ac_fn_c_try_compile "$LINENO"; then :
4749 ac_cv_header_stdc=yes
4750else
4751 ac_cv_header_stdc=no
4752fi
4753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4754
4755if test $ac_cv_header_stdc = yes; then
4756 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4758/* end confdefs.h. */
4759#include <string.h>
4760
4761_ACEOF
4762if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4763 $EGREP "memchr" >/dev/null 2>&1; then :
4764
4765else
4766 ac_cv_header_stdc=no
4767fi
4768rm -f conftest*
4769
4770fi
4771
4772if test $ac_cv_header_stdc = yes; then
4773 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4775/* end confdefs.h. */
4776#include <stdlib.h>
4777
4778_ACEOF
4779if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4780 $EGREP "free" >/dev/null 2>&1; then :
4781
4782else
4783 ac_cv_header_stdc=no
4784fi
4785rm -f conftest*
4786
4787fi
4788
4789if test $ac_cv_header_stdc = yes; then
4790 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4791 if test "$cross_compiling" = yes; then :
4792 :
4793else
4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4795/* end confdefs.h. */
4796#include <ctype.h>
4797#include <stdlib.h>
4798#if ((' ' & 0x0FF) == 0x020)
4799# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4800# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4801#else
4802# define ISLOWER(c) \
4803 (('a' <= (c) && (c) <= 'i') \
4804 || ('j' <= (c) && (c) <= 'r') \
4805 || ('s' <= (c) && (c) <= 'z'))
4806# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4807#endif
4808
4809#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4810int
4811main ()
4812{
4813 int i;
4814 for (i = 0; i < 256; i++)
4815 if (XOR (islower (i), ISLOWER (i))
4816 || toupper (i) != TOUPPER (i))
4817 return 2;
4818 return 0;
4819}
4820_ACEOF
4821if ac_fn_c_try_run "$LINENO"; then :
4822
4823else
4824 ac_cv_header_stdc=no
4825fi
4826rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4827 conftest.$ac_objext conftest.beam conftest.$ac_ext
4828fi
4829
4830fi
4831fi
4832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4833$as_echo "$ac_cv_header_stdc" >&6; }
4834if test $ac_cv_header_stdc = yes; then
4835
4836$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4837
4838fi
4839
4840# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4841for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4842 inttypes.h stdint.h unistd.h
4843do :
4844 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4845ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4846"
4847if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4848 cat >>confdefs.h <<_ACEOF
4849#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4850_ACEOF
4851
4852fi
4853
4854done
4855
4856
4857
4858 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4859if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4860 MINIX=yes
4861else
4862 MINIX=
4863fi
4864
4865
4866 if test "$MINIX" = yes; then
4867
4868$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4869
4870
4871$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4872
4873
4874$as_echo "#define _MINIX 1" >>confdefs.h
4875
4876 fi
4877
4878
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4880$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4881if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4882 $as_echo_n "(cached) " >&6
4883else
4884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4885/* end confdefs.h. */
4886
4887# define __EXTENSIONS__ 1
4888 $ac_includes_default
4889int
4890main ()
4891{
4892
4893 ;
4894 return 0;
4895}
4896_ACEOF
4897if ac_fn_c_try_compile "$LINENO"; then :
4898 ac_cv_safe_to_define___extensions__=yes
4899else
4900 ac_cv_safe_to_define___extensions__=no
4901fi
4902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4903fi
4904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4905$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4906 test $ac_cv_safe_to_define___extensions__ = yes &&
4907 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4908
4909 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4910
4911 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4912
4913 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4914
4915 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4916
4917
4918
4919# Check whether --enable-largefile was given.
4920if test "${enable_largefile+set}" = set; then :
4921 enableval=$enable_largefile;
4922fi
4923
4924if test "$enable_largefile" != no; then
4925
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4927$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4928if test "${ac_cv_sys_largefile_CC+set}" = set; then :
4929 $as_echo_n "(cached) " >&6
4930else
4931 ac_cv_sys_largefile_CC=no
4932 if test "$GCC" != yes; then
4933 ac_save_CC=$CC
4934 while :; do
4935 # IRIX 6.2 and later do not support large files by default,
4936 # so use the C compiler's -n32 option if that helps.
4937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4938/* end confdefs.h. */
4939#include <sys/types.h>
4940 /* Check that off_t can represent 2**63 - 1 correctly.
4941 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4942 since some C++ compilers masquerading as C compilers
4943 incorrectly reject 9223372036854775807. */
4944#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4945 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4946 && LARGE_OFF_T % 2147483647 == 1)
4947 ? 1 : -1];
4948int
4949main ()
4950{
4951
4952 ;
4953 return 0;
4954}
4955_ACEOF
4956 if ac_fn_c_try_compile "$LINENO"; then :
4957 break
4958fi
4959rm -f core conftest.err conftest.$ac_objext
4960 CC="$CC -n32"
4961 if ac_fn_c_try_compile "$LINENO"; then :
4962 ac_cv_sys_largefile_CC=' -n32'; break
4963fi
4964rm -f core conftest.err conftest.$ac_objext
4965 break
4966 done
4967 CC=$ac_save_CC
4968 rm -f conftest.$ac_ext
4969 fi
4970fi
4971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4972$as_echo "$ac_cv_sys_largefile_CC" >&6; }
4973 if test "$ac_cv_sys_largefile_CC" != no; then
4974 CC=$CC$ac_cv_sys_largefile_CC
4975 fi
4976
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4978$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4979if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
4980 $as_echo_n "(cached) " >&6
4981else
4982 while :; do
4983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4984/* end confdefs.h. */
4985#include <sys/types.h>
4986 /* Check that off_t can represent 2**63 - 1 correctly.
4987 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4988 since some C++ compilers masquerading as C compilers
4989 incorrectly reject 9223372036854775807. */
4990#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4991 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4992 && LARGE_OFF_T % 2147483647 == 1)
4993 ? 1 : -1];
4994int
4995main ()
4996{
4997
4998 ;
4999 return 0;
5000}
5001_ACEOF
5002if ac_fn_c_try_compile "$LINENO"; then :
5003 ac_cv_sys_file_offset_bits=no; break
5004fi
5005rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5007/* end confdefs.h. */
5008#define _FILE_OFFSET_BITS 64
5009#include <sys/types.h>
5010 /* Check that off_t can represent 2**63 - 1 correctly.
5011 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5012 since some C++ compilers masquerading as C compilers
5013 incorrectly reject 9223372036854775807. */
5014#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5015 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5016 && LARGE_OFF_T % 2147483647 == 1)
5017 ? 1 : -1];
5018int
5019main ()
5020{
5021
5022 ;
5023 return 0;
5024}
5025_ACEOF
5026if ac_fn_c_try_compile "$LINENO"; then :
5027 ac_cv_sys_file_offset_bits=64; break
5028fi
5029rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5030 ac_cv_sys_file_offset_bits=unknown
5031 break
5032done
5033fi
5034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5035$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5036case $ac_cv_sys_file_offset_bits in #(
5037 no | unknown) ;;
5038 *)
5039cat >>confdefs.h <<_ACEOF
5040#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5041_ACEOF
5042;;
5043esac
5044rm -rf conftest*
5045 if test $ac_cv_sys_file_offset_bits = unknown; then
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5047$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5048if test "${ac_cv_sys_large_files+set}" = set; then :
5049 $as_echo_n "(cached) " >&6
5050else
5051 while :; do
5052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5053/* end confdefs.h. */
5054#include <sys/types.h>
5055 /* Check that off_t can represent 2**63 - 1 correctly.
5056 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5057 since some C++ compilers masquerading as C compilers
5058 incorrectly reject 9223372036854775807. */
5059#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5060 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5061 && LARGE_OFF_T % 2147483647 == 1)
5062 ? 1 : -1];
5063int
5064main ()
5065{
5066
5067 ;
5068 return 0;
5069}
5070_ACEOF
5071if ac_fn_c_try_compile "$LINENO"; then :
5072 ac_cv_sys_large_files=no; break
5073fi
5074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5076/* end confdefs.h. */
5077#define _LARGE_FILES 1
5078#include <sys/types.h>
5079 /* Check that off_t can represent 2**63 - 1 correctly.
5080 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5081 since some C++ compilers masquerading as C compilers
5082 incorrectly reject 9223372036854775807. */
5083#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5084 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5085 && LARGE_OFF_T % 2147483647 == 1)
5086 ? 1 : -1];
5087int
5088main ()
5089{
5090
5091 ;
5092 return 0;
5093}
5094_ACEOF
5095if ac_fn_c_try_compile "$LINENO"; then :
5096 ac_cv_sys_large_files=1; break
5097fi
5098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5099 ac_cv_sys_large_files=unknown
5100 break
5101done
5102fi
5103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5104$as_echo "$ac_cv_sys_large_files" >&6; }
5105case $ac_cv_sys_large_files in #(
5106 no | unknown) ;;
5107 *)
5108cat >>confdefs.h <<_ACEOF
5109#define _LARGE_FILES $ac_cv_sys_large_files
5110_ACEOF
5111;;
5112esac
5113rm -rf conftest*
5114 fi
5115fi
5116
5117
5118# Make sure we can run config.sub.
5119$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5120 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5121
5122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5123$as_echo_n "checking build system type... " >&6; }
5124if test "${ac_cv_build+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5126else
5127 ac_build_alias=$build_alias
5128test "x$ac_build_alias" = x &&
5129 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5130test "x$ac_build_alias" = x &&
5131 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5132ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5133 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5134
5135fi
5136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5137$as_echo "$ac_cv_build" >&6; }
5138case $ac_cv_build in
5139*-*-*) ;;
5140*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5141esac
5142build=$ac_cv_build
5143ac_save_IFS=$IFS; IFS='-'
5144set x $ac_cv_build
5145shift
5146build_cpu=$1
5147build_vendor=$2
5148shift; shift
5149# Remember, the first character of IFS is used to create $*,
5150# except with old shells:
5151build_os=$*
5152IFS=$ac_save_IFS
5153case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5154
5155
5156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5157$as_echo_n "checking host system type... " >&6; }
5158if test "${ac_cv_host+set}" = set; then :
5159 $as_echo_n "(cached) " >&6
5160else
5161 if test "x$host_alias" = x; then
5162 ac_cv_host=$ac_cv_build
5163else
5164 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5165 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5166fi
5167
5168fi
5169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5170$as_echo "$ac_cv_host" >&6; }
5171case $ac_cv_host in
5172*-*-*) ;;
5173*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5174esac
5175host=$ac_cv_host
5176ac_save_IFS=$IFS; IFS='-'
5177set x $ac_cv_host
5178shift
5179host_cpu=$1
5180host_vendor=$2
5181shift; shift
5182# Remember, the first character of IFS is used to create $*,
5183# except with old shells:
5184host_os=$*
5185IFS=$ac_save_IFS
5186case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5187
5188
5189enable_win32_dll=yes
5190
5191case $host in
5192*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
5193 if test -n "$ac_tool_prefix"; then
5194 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5195set dummy ${ac_tool_prefix}as; ac_word=$2
5196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5197$as_echo_n "checking for $ac_word... " >&6; }
5198if test "${ac_cv_prog_AS+set}" = set; then :
5199 $as_echo_n "(cached) " >&6
5200else
5201 if test -n "$AS"; then
5202 ac_cv_prog_AS="$AS" # Let the user override the test.
5203else
5204as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5205for as_dir in $PATH
5206do
5207 IFS=$as_save_IFS
5208 test -z "$as_dir" && as_dir=.
5209 for ac_exec_ext in '' $ac_executable_extensions; do
5210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5211 ac_cv_prog_AS="${ac_tool_prefix}as"
5212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5213 break 2
5214 fi
5215done
5216 done
5217IFS=$as_save_IFS
5218
5219fi
5220fi
5221AS=$ac_cv_prog_AS
5222if test -n "$AS"; then
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5224$as_echo "$AS" >&6; }
5225else
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5227$as_echo "no" >&6; }
5228fi
5229
5230
5231fi
5232if test -z "$ac_cv_prog_AS"; then
5233 ac_ct_AS=$AS
5234 # Extract the first word of "as", so it can be a program name with args.
5235set dummy as; ac_word=$2
5236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5237$as_echo_n "checking for $ac_word... " >&6; }
5238if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5239 $as_echo_n "(cached) " >&6
5240else
5241 if test -n "$ac_ct_AS"; then
5242 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5243else
5244as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5245for as_dir in $PATH
5246do
5247 IFS=$as_save_IFS
5248 test -z "$as_dir" && as_dir=.
5249 for ac_exec_ext in '' $ac_executable_extensions; do
5250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5251 ac_cv_prog_ac_ct_AS="as"
5252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5253 break 2
5254 fi
5255done
5256 done
5257IFS=$as_save_IFS
5258
5259fi
5260fi
5261ac_ct_AS=$ac_cv_prog_ac_ct_AS
5262if test -n "$ac_ct_AS"; then
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5264$as_echo "$ac_ct_AS" >&6; }
5265else
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5267$as_echo "no" >&6; }
5268fi
5269
5270 if test "x$ac_ct_AS" = x; then
5271 AS="false"
5272 else
5273 case $cross_compiling:$ac_tool_warned in
5274yes:)
5275{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5276$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5277ac_tool_warned=yes ;;
5278esac
5279 AS=$ac_ct_AS
5280 fi
5281else
5282 AS="$ac_cv_prog_AS"
5283fi
5284
5285 if test -n "$ac_tool_prefix"; then
5286 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5287set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5289$as_echo_n "checking for $ac_word... " >&6; }
5290if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5291 $as_echo_n "(cached) " >&6
5292else
5293 if test -n "$DLLTOOL"; then
5294 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5295else
5296as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5297for as_dir in $PATH
5298do
5299 IFS=$as_save_IFS
5300 test -z "$as_dir" && as_dir=.
5301 for ac_exec_ext in '' $ac_executable_extensions; do
5302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5303 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5305 break 2
5306 fi
5307done
5308 done
5309IFS=$as_save_IFS
5310
5311fi
5312fi
5313DLLTOOL=$ac_cv_prog_DLLTOOL
5314if test -n "$DLLTOOL"; then
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5316$as_echo "$DLLTOOL" >&6; }
5317else
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5319$as_echo "no" >&6; }
5320fi
5321
5322
5323fi
5324if test -z "$ac_cv_prog_DLLTOOL"; then
5325 ac_ct_DLLTOOL=$DLLTOOL
5326 # Extract the first word of "dlltool", so it can be a program name with args.
5327set dummy dlltool; ac_word=$2
5328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5329$as_echo_n "checking for $ac_word... " >&6; }
5330if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5331 $as_echo_n "(cached) " >&6
5332else
5333 if test -n "$ac_ct_DLLTOOL"; then
5334 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5335else
5336as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5337for as_dir in $PATH
5338do
5339 IFS=$as_save_IFS
5340 test -z "$as_dir" && as_dir=.
5341 for ac_exec_ext in '' $ac_executable_extensions; do
5342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5343 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5345 break 2
5346 fi
5347done
5348 done
5349IFS=$as_save_IFS
5350
5351fi
5352fi
5353ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5354if test -n "$ac_ct_DLLTOOL"; then
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5356$as_echo "$ac_ct_DLLTOOL" >&6; }
5357else
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5359$as_echo "no" >&6; }
5360fi
5361
5362 if test "x$ac_ct_DLLTOOL" = x; then
5363 DLLTOOL="false"
5364 else
5365 case $cross_compiling:$ac_tool_warned in
5366yes:)
5367{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5368$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5369ac_tool_warned=yes ;;
5370esac
5371 DLLTOOL=$ac_ct_DLLTOOL
5372 fi
5373else
5374 DLLTOOL="$ac_cv_prog_DLLTOOL"
5375fi
5376
5377 if test -n "$ac_tool_prefix"; then
5378 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5379set dummy ${ac_tool_prefix}objdump; ac_word=$2
5380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5381$as_echo_n "checking for $ac_word... " >&6; }
5382if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5383 $as_echo_n "(cached) " >&6
5384else
5385 if test -n "$OBJDUMP"; then
5386 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5387else
5388as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389for as_dir in $PATH
5390do
5391 IFS=$as_save_IFS
5392 test -z "$as_dir" && as_dir=.
5393 for ac_exec_ext in '' $ac_executable_extensions; do
5394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5395 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5397 break 2
5398 fi
5399done
5400 done
5401IFS=$as_save_IFS
5402
5403fi
5404fi
5405OBJDUMP=$ac_cv_prog_OBJDUMP
5406if test -n "$OBJDUMP"; then
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5408$as_echo "$OBJDUMP" >&6; }
5409else
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5411$as_echo "no" >&6; }
5412fi
5413
5414
5415fi
5416if test -z "$ac_cv_prog_OBJDUMP"; then
5417 ac_ct_OBJDUMP=$OBJDUMP
5418 # Extract the first word of "objdump", so it can be a program name with args.
5419set dummy objdump; ac_word=$2
5420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421$as_echo_n "checking for $ac_word... " >&6; }
5422if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5423 $as_echo_n "(cached) " >&6
5424else
5425 if test -n "$ac_ct_OBJDUMP"; then
5426 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5427else
5428as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5429for as_dir in $PATH
5430do
5431 IFS=$as_save_IFS
5432 test -z "$as_dir" && as_dir=.
5433 for ac_exec_ext in '' $ac_executable_extensions; do
5434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5435 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 break 2
5438 fi
5439done
5440 done
5441IFS=$as_save_IFS
5442
5443fi
5444fi
5445ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5446if test -n "$ac_ct_OBJDUMP"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5448$as_echo "$ac_ct_OBJDUMP" >&6; }
5449else
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451$as_echo "no" >&6; }
5452fi
5453
5454 if test "x$ac_ct_OBJDUMP" = x; then
5455 OBJDUMP="false"
5456 else
5457 case $cross_compiling:$ac_tool_warned in
5458yes:)
5459{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5460$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5461ac_tool_warned=yes ;;
5462esac
5463 OBJDUMP=$ac_ct_OBJDUMP
5464 fi
5465else
5466 OBJDUMP="$ac_cv_prog_OBJDUMP"
5467fi
5468
5469 ;;
5470esac
5471
5472test -z "$AS" && AS=as
5473
5474
5475
5476
5477
5478test -z "$DLLTOOL" && DLLTOOL=dlltool
5479
5480
5481
5482
5483
5484test -z "$OBJDUMP" && OBJDUMP=objdump
5485
5486
5487
5488
5489
5490
5491
5492case `pwd` in
5493 *\ * | *\ *)
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5495$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5496esac
5497
5498
5499
5500macro_version='2.2.6b'
5501macro_revision='1.3017'
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515ltmain="$ac_aux_dir/ltmain.sh"
5516
5517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5518$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5519if test "${ac_cv_path_SED+set}" = set; then :
5520 $as_echo_n "(cached) " >&6
5521else
5522 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5523 for ac_i in 1 2 3 4 5 6 7; do
5524 ac_script="$ac_script$as_nl$ac_script"
5525 done
5526 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5527 { ac_script=; unset ac_script;}
5528 if test -z "$SED"; then
5529 ac_path_SED_found=false
5530 # Loop through the user's path and test for each of PROGNAME-LIST
5531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5532for as_dir in $PATH
5533do
5534 IFS=$as_save_IFS
5535 test -z "$as_dir" && as_dir=.
5536 for ac_prog in sed gsed; do
5537 for ac_exec_ext in '' $ac_executable_extensions; do
5538 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5539 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5540# Check for GNU ac_path_SED and select it if it is found.
5541 # Check for GNU $ac_path_SED
5542case `"$ac_path_SED" --version 2>&1` in
5543*GNU*)
5544 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5545*)
5546 ac_count=0
5547 $as_echo_n 0123456789 >"conftest.in"
5548 while :
5549 do
5550 cat "conftest.in" "conftest.in" >"conftest.tmp"
5551 mv "conftest.tmp" "conftest.in"
5552 cp "conftest.in" "conftest.nl"
5553 $as_echo '' >> "conftest.nl"
5554 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5555 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5556 as_fn_arith $ac_count + 1 && ac_count=$as_val
5557 if test $ac_count -gt ${ac_path_SED_max-0}; then
5558 # Best one so far, save it but keep looking for a better one
5559 ac_cv_path_SED="$ac_path_SED"
5560 ac_path_SED_max=$ac_count
5561 fi
5562 # 10*(2^10) chars as input seems more than enough
5563 test $ac_count -gt 10 && break
5564 done
5565 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5566esac
5567
5568 $ac_path_SED_found && break 3
5569 done
5570 done
5571 done
5572IFS=$as_save_IFS
5573 if test -z "$ac_cv_path_SED"; then
5574 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5575 fi
5576else
5577 ac_cv_path_SED=$SED
5578fi
5579
5580fi
5581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5582$as_echo "$ac_cv_path_SED" >&6; }
5583 SED="$ac_cv_path_SED"
5584 rm -f conftest.sed
5585
5586test -z "$SED" && SED=sed
5587Xsed="$SED -e 1s/^X//"
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5600$as_echo_n "checking for fgrep... " >&6; }
5601if test "${ac_cv_path_FGREP+set}" = set; then :
5602 $as_echo_n "(cached) " >&6
5603else
5604 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5605 then ac_cv_path_FGREP="$GREP -F"
5606 else
5607 if test -z "$FGREP"; then
5608 ac_path_FGREP_found=false
5609 # Loop through the user's path and test for each of PROGNAME-LIST
5610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5611for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5612do
5613 IFS=$as_save_IFS
5614 test -z "$as_dir" && as_dir=.
5615 for ac_prog in fgrep; do
5616 for ac_exec_ext in '' $ac_executable_extensions; do
5617 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5618 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5619# Check for GNU ac_path_FGREP and select it if it is found.
5620 # Check for GNU $ac_path_FGREP
5621case `"$ac_path_FGREP" --version 2>&1` in
5622*GNU*)
5623 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5624*)
5625 ac_count=0
5626 $as_echo_n 0123456789 >"conftest.in"
5627 while :
5628 do
5629 cat "conftest.in" "conftest.in" >"conftest.tmp"
5630 mv "conftest.tmp" "conftest.in"
5631 cp "conftest.in" "conftest.nl"
5632 $as_echo 'FGREP' >> "conftest.nl"
5633 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5634 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5635 as_fn_arith $ac_count + 1 && ac_count=$as_val
5636 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5637 # Best one so far, save it but keep looking for a better one
5638 ac_cv_path_FGREP="$ac_path_FGREP"
5639 ac_path_FGREP_max=$ac_count
5640 fi
5641 # 10*(2^10) chars as input seems more than enough
5642 test $ac_count -gt 10 && break
5643 done
5644 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5645esac
5646
5647 $ac_path_FGREP_found && break 3
5648 done
5649 done
5650 done
5651IFS=$as_save_IFS
5652 if test -z "$ac_cv_path_FGREP"; then
5653 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5654 fi
5655else
5656 ac_cv_path_FGREP=$FGREP
5657fi
5658
5659 fi
5660fi
5661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5662$as_echo "$ac_cv_path_FGREP" >&6; }
5663 FGREP="$ac_cv_path_FGREP"
5664
5665
5666test -z "$GREP" && GREP=grep
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686# Check whether --with-gnu-ld was given.
5687if test "${with_gnu_ld+set}" = set; then :
5688 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5689else
5690 with_gnu_ld=no
5691fi
5692
5693ac_prog=ld
5694if test "$GCC" = yes; then
5695 # Check if gcc -print-prog-name=ld gives a path.
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5697$as_echo_n "checking for ld used by $CC... " >&6; }
5698 case $host in
5699 *-*-mingw*)
5700 # gcc leaves a trailing carriage return which upsets mingw
5701 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5702 *)
5703 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5704 esac
5705 case $ac_prog in
5706 # Accept absolute paths.
5707 [\\/]* | ?:[\\/]*)
5708 re_direlt='/[^/][^/]*/\.\./'
5709 # Canonicalize the pathname of ld
5710 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5711 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5712 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5713 done
5714 test -z "$LD" && LD="$ac_prog"
5715 ;;
5716 "")
5717 # If it fails, then pretend we aren't using GCC.
5718 ac_prog=ld
5719 ;;
5720 *)
5721 # If it is relative, then search for the first ld in PATH.
5722 with_gnu_ld=unknown
5723 ;;
5724 esac
5725elif test "$with_gnu_ld" = yes; then
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5727$as_echo_n "checking for GNU ld... " >&6; }
5728else
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5730$as_echo_n "checking for non-GNU ld... " >&6; }
5731fi
5732if test "${lt_cv_path_LD+set}" = set; then :
5733 $as_echo_n "(cached) " >&6
5734else
5735 if test -z "$LD"; then
5736 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5737 for ac_dir in $PATH; do
5738 IFS="$lt_save_ifs"
5739 test -z "$ac_dir" && ac_dir=.
5740 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5741 lt_cv_path_LD="$ac_dir/$ac_prog"
5742 # Check to see if the program is GNU ld. I'd rather use --version,
5743 # but apparently some variants of GNU ld only accept -v.
5744 # Break only if it was the GNU/non-GNU ld that we prefer.
5745 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5746 *GNU* | *'with BFD'*)
5747 test "$with_gnu_ld" != no && break
5748 ;;
5749 *)
5750 test "$with_gnu_ld" != yes && break
5751 ;;
5752 esac
5753 fi
5754 done
5755 IFS="$lt_save_ifs"
5756else
5757 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5758fi
5759fi
5760
5761LD="$lt_cv_path_LD"
5762if test -n "$LD"; then
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5764$as_echo "$LD" >&6; }
5765else
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5767$as_echo "no" >&6; }
5768fi
5769test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5771$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5772if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5773 $as_echo_n "(cached) " >&6
5774else
5775 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5776case `$LD -v 2>&1 </dev/null` in
5777*GNU* | *'with BFD'*)
5778 lt_cv_prog_gnu_ld=yes
5779 ;;
5780*)
5781 lt_cv_prog_gnu_ld=no
5782 ;;
5783esac
5784fi
5785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5786$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5787with_gnu_ld=$lt_cv_prog_gnu_ld
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5798$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5799if test "${lt_cv_path_NM+set}" = set; then :
5800 $as_echo_n "(cached) " >&6
5801else
5802 if test -n "$NM"; then
5803 # Let the user override the test.
5804 lt_cv_path_NM="$NM"
5805else
5806 lt_nm_to_check="${ac_tool_prefix}nm"
5807 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5808 lt_nm_to_check="$lt_nm_to_check nm"
5809 fi
5810 for lt_tmp_nm in $lt_nm_to_check; do
5811 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5812 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5813 IFS="$lt_save_ifs"
5814 test -z "$ac_dir" && ac_dir=.
5815 tmp_nm="$ac_dir/$lt_tmp_nm"
5816 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5817 # Check to see if the nm accepts a BSD-compat flag.
5818 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5819 # nm: unknown option "B" ignored
5820 # Tru64's nm complains that /dev/null is an invalid object file
5821 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5822 */dev/null* | *'Invalid file or object type'*)
5823 lt_cv_path_NM="$tmp_nm -B"
5824 break
5825 ;;
5826 *)
5827 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5828 */dev/null*)
5829 lt_cv_path_NM="$tmp_nm -p"
5830 break
5831 ;;
5832 *)
5833 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5834 continue # so that we can try to find one that supports BSD flags
5835 ;;
5836 esac
5837 ;;
5838 esac
5839 fi
5840 done
5841 IFS="$lt_save_ifs"
5842 done
5843 : ${lt_cv_path_NM=no}
5844fi
5845fi
5846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5847$as_echo "$lt_cv_path_NM" >&6; }
5848if test "$lt_cv_path_NM" != "no"; then
5849 NM="$lt_cv_path_NM"
5850else
5851 # Didn't find any BSD compatible name lister, look for dumpbin.
5852 if test -n "$ac_tool_prefix"; then
5853 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5854 do
5855 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5856set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858$as_echo_n "checking for $ac_word... " >&6; }
5859if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5861else
5862 if test -n "$DUMPBIN"; then
5863 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5864else
5865as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866for as_dir in $PATH
5867do
5868 IFS=$as_save_IFS
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 break 2
5875 fi
5876done
5877 done
5878IFS=$as_save_IFS
5879
5880fi
5881fi
5882DUMPBIN=$ac_cv_prog_DUMPBIN
5883if test -n "$DUMPBIN"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5885$as_echo "$DUMPBIN" >&6; }
5886else
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888$as_echo "no" >&6; }
5889fi
5890
5891
5892 test -n "$DUMPBIN" && break
5893 done
5894fi
5895if test -z "$DUMPBIN"; then
5896 ac_ct_DUMPBIN=$DUMPBIN
5897 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5898do
5899 # Extract the first word of "$ac_prog", so it can be a program name with args.
5900set dummy $ac_prog; ac_word=$2
5901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902$as_echo_n "checking for $ac_word... " >&6; }
5903if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5904 $as_echo_n "(cached) " >&6
5905else
5906 if test -n "$ac_ct_DUMPBIN"; then
5907 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5908else
5909as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910for as_dir in $PATH
5911do
5912 IFS=$as_save_IFS
5913 test -z "$as_dir" && as_dir=.
5914 for ac_exec_ext in '' $ac_executable_extensions; do
5915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5916 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 break 2
5919 fi
5920done
5921 done
5922IFS=$as_save_IFS
5923
5924fi
5925fi
5926ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5927if test -n "$ac_ct_DUMPBIN"; then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5929$as_echo "$ac_ct_DUMPBIN" >&6; }
5930else
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5932$as_echo "no" >&6; }
5933fi
5934
5935
5936 test -n "$ac_ct_DUMPBIN" && break
5937done
5938
5939 if test "x$ac_ct_DUMPBIN" = x; then
5940 DUMPBIN=":"
5941 else
5942 case $cross_compiling:$ac_tool_warned in
5943yes:)
5944{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5945$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5946ac_tool_warned=yes ;;
5947esac
5948 DUMPBIN=$ac_ct_DUMPBIN
5949 fi
5950fi
5951
5952
5953 if test "$DUMPBIN" != ":"; then
5954 NM="$DUMPBIN"
5955 fi
5956fi
5957test -z "$NM" && NM=nm
5958
5959
5960
5961
5962
5963
5964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5965$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5966if test "${lt_cv_nm_interface+set}" = set; then :
5967 $as_echo_n "(cached) " >&6
5968else
5969 lt_cv_nm_interface="BSD nm"
5970 echo "int some_variable = 0;" > conftest.$ac_ext
5971 (eval echo "\"\$as_me:5971: $ac_compile\"" >&5)
5972 (eval "$ac_compile" 2>conftest.err)
5973 cat conftest.err >&5
5974 (eval echo "\"\$as_me:5974: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5975 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5976 cat conftest.err >&5
5977 (eval echo "\"\$as_me:5977: output\"" >&5)
5978 cat conftest.out >&5
5979 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5980 lt_cv_nm_interface="MS dumpbin"
5981 fi
5982 rm -f conftest*
5983fi
5984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5985$as_echo "$lt_cv_nm_interface" >&6; }
5986
5987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5988$as_echo_n "checking whether ln -s works... " >&6; }
5989LN_S=$as_ln_s
5990if test "$LN_S" = "ln -s"; then
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5992$as_echo "yes" >&6; }
5993else
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5995$as_echo "no, using $LN_S" >&6; }
5996fi
5997
5998# find the maximum length of command line arguments
5999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6000$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6001if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6002 $as_echo_n "(cached) " >&6
6003else
6004 i=0
6005 teststring="ABCD"
6006
6007 case $build_os in
6008 msdosdjgpp*)
6009 # On DJGPP, this test can blow up pretty badly due to problems in libc
6010 # (any single argument exceeding 2000 bytes causes a buffer overrun
6011 # during glob expansion). Even if it were fixed, the result of this
6012 # check would be larger than it should be.
6013 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6014 ;;
6015
6016 gnu*)
6017 # Under GNU Hurd, this test is not required because there is
6018 # no limit to the length of command line arguments.
6019 # Libtool will interpret -1 as no limit whatsoever
6020 lt_cv_sys_max_cmd_len=-1;
6021 ;;
6022
6023 cygwin* | mingw* | cegcc*)
6024 # On Win9x/ME, this test blows up -- it succeeds, but takes
6025 # about 5 minutes as the teststring grows exponentially.
6026 # Worse, since 9x/ME are not pre-emptively multitasking,
6027 # you end up with a "frozen" computer, even though with patience
6028 # the test eventually succeeds (with a max line length of 256k).
6029 # Instead, let's just punt: use the minimum linelength reported by
6030 # all of the supported platforms: 8192 (on NT/2K/XP).
6031 lt_cv_sys_max_cmd_len=8192;
6032 ;;
6033
6034 amigaos*)
6035 # On AmigaOS with pdksh, this test takes hours, literally.
6036 # So we just punt and use a minimum line length of 8192.
6037 lt_cv_sys_max_cmd_len=8192;
6038 ;;
6039
6040 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6041 # This has been around since 386BSD, at least. Likely further.
6042 if test -x /sbin/sysctl; then
6043 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6044 elif test -x /usr/sbin/sysctl; then
6045 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6046 else
6047 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6048 fi
6049 # And add a safety zone
6050 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6051 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6052 ;;
6053
6054 interix*)
6055 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6056 lt_cv_sys_max_cmd_len=196608
6057 ;;
6058
6059 osf*)
6060 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6061 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6062 # nice to cause kernel panics so lets avoid the loop below.
6063 # First set a reasonable default.
6064 lt_cv_sys_max_cmd_len=16384
6065 #
6066 if test -x /sbin/sysconfig; then
6067 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6068 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6069 esac
6070 fi
6071 ;;
6072 sco3.2v5*)
6073 lt_cv_sys_max_cmd_len=102400
6074 ;;
6075 sysv5* | sco5v6* | sysv4.2uw2*)
6076 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6077 if test -n "$kargmax"; then
6078 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6079 else
6080 lt_cv_sys_max_cmd_len=32768
6081 fi
6082 ;;
6083 *)
6084 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6085 if test -n "$lt_cv_sys_max_cmd_len"; then
6086 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6087 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6088 else
6089 # Make teststring a little bigger before we do anything with it.
6090 # a 1K string should be a reasonable start.
6091 for i in 1 2 3 4 5 6 7 8 ; do
6092 teststring=$teststring$teststring
6093 done
6094 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6095 # If test is not a shell built-in, we'll probably end up computing a
6096 # maximum length that is only half of the actual maximum length, but
6097 # we can't tell.
6098 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6099 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6100 test $i != 17 # 1/2 MB should be enough
6101 do
6102 i=`expr $i + 1`
6103 teststring=$teststring$teststring
6104 done
6105 # Only check the string length outside the loop.
6106 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6107 teststring=
6108 # Add a significant safety factor because C++ compilers can tack on
6109 # massive amounts of additional arguments before passing them to the
6110 # linker. It appears as though 1/2 is a usable value.
6111 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6112 fi
6113 ;;
6114 esac
6115
6116fi
6117
6118if test -n $lt_cv_sys_max_cmd_len ; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6120$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6121else
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6123$as_echo "none" >&6; }
6124fi
6125max_cmd_len=$lt_cv_sys_max_cmd_len
6126
6127
6128
6129
6130
6131
6132: ${CP="cp -f"}
6133: ${MV="mv -f"}
6134: ${RM="rm -f"}
6135
6136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6137$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6138# Try some XSI features
6139xsi_shell=no
6140( _lt_dummy="a/b/c"
6141 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6142 = c,a/b,, \
6143 && eval 'test $(( 1 + 1 )) -eq 2 \
6144 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6145 && xsi_shell=yes
6146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6147$as_echo "$xsi_shell" >&6; }
6148
6149
6150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6151$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6152lt_shell_append=no
6153( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6154 >/dev/null 2>&1 \
6155 && lt_shell_append=yes
6156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6157$as_echo "$lt_shell_append" >&6; }
6158
6159
6160if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6161 lt_unset=unset
6162else
6163 lt_unset=false
6164fi
6165
6166
6167
6168
6169
6170# test EBCDIC or ASCII
6171case `echo X|tr X '\101'` in
6172 A) # ASCII based system
6173 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6174 lt_SP2NL='tr \040 \012'
6175 lt_NL2SP='tr \015\012 \040\040'
6176 ;;
6177 *) # EBCDIC based system
6178 lt_SP2NL='tr \100 \n'
6179 lt_NL2SP='tr \r\n \100\100'
6180 ;;
6181esac
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6192$as_echo_n "checking for $LD option to reload object files... " >&6; }
6193if test "${lt_cv_ld_reload_flag+set}" = set; then :
6194 $as_echo_n "(cached) " >&6
6195else
6196 lt_cv_ld_reload_flag='-r'
6197fi
6198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6199$as_echo "$lt_cv_ld_reload_flag" >&6; }
6200reload_flag=$lt_cv_ld_reload_flag
6201case $reload_flag in
6202"" | " "*) ;;
6203*) reload_flag=" $reload_flag" ;;
6204esac
6205reload_cmds='$LD$reload_flag -o $output$reload_objs'
6206case $host_os in
6207 darwin*)
6208 if test "$GCC" = yes; then
6209 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6210 else
6211 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6212 fi
6213 ;;
6214esac
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224if test -n "$ac_tool_prefix"; then
6225 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6226set dummy ${ac_tool_prefix}objdump; ac_word=$2
6227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6228$as_echo_n "checking for $ac_word... " >&6; }
6229if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6230 $as_echo_n "(cached) " >&6
6231else
6232 if test -n "$OBJDUMP"; then
6233 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6234else
6235as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6236for as_dir in $PATH
6237do
6238 IFS=$as_save_IFS
6239 test -z "$as_dir" && as_dir=.
6240 for ac_exec_ext in '' $ac_executable_extensions; do
6241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6242 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6244 break 2
6245 fi
6246done
6247 done
6248IFS=$as_save_IFS
6249
6250fi
6251fi
6252OBJDUMP=$ac_cv_prog_OBJDUMP
6253if test -n "$OBJDUMP"; then
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6255$as_echo "$OBJDUMP" >&6; }
6256else
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6258$as_echo "no" >&6; }
6259fi
6260
6261
6262fi
6263if test -z "$ac_cv_prog_OBJDUMP"; then
6264 ac_ct_OBJDUMP=$OBJDUMP
6265 # Extract the first word of "objdump", so it can be a program name with args.
6266set dummy objdump; ac_word=$2
6267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6268$as_echo_n "checking for $ac_word... " >&6; }
6269if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6270 $as_echo_n "(cached) " >&6
6271else
6272 if test -n "$ac_ct_OBJDUMP"; then
6273 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6274else
6275as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6276for as_dir in $PATH
6277do
6278 IFS=$as_save_IFS
6279 test -z "$as_dir" && as_dir=.
6280 for ac_exec_ext in '' $ac_executable_extensions; do
6281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6282 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6284 break 2
6285 fi
6286done
6287 done
6288IFS=$as_save_IFS
6289
6290fi
6291fi
6292ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6293if test -n "$ac_ct_OBJDUMP"; then
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6295$as_echo "$ac_ct_OBJDUMP" >&6; }
6296else
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6298$as_echo "no" >&6; }
6299fi
6300
6301 if test "x$ac_ct_OBJDUMP" = x; then
6302 OBJDUMP="false"
6303 else
6304 case $cross_compiling:$ac_tool_warned in
6305yes:)
6306{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6307$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6308ac_tool_warned=yes ;;
6309esac
6310 OBJDUMP=$ac_ct_OBJDUMP
6311 fi
6312else
6313 OBJDUMP="$ac_cv_prog_OBJDUMP"
6314fi
6315
6316test -z "$OBJDUMP" && OBJDUMP=objdump
6317
6318
6319
6320
6321
6322
6323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6324$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6325if test "${lt_cv_deplibs_check_method+set}" = set; then :
6326 $as_echo_n "(cached) " >&6
6327else
6328 lt_cv_file_magic_cmd='$MAGIC_CMD'
6329lt_cv_file_magic_test_file=
6330lt_cv_deplibs_check_method='unknown'
6331# Need to set the preceding variable on all platforms that support
6332# interlibrary dependencies.
6333# 'none' -- dependencies not supported.
6334# `unknown' -- same as none, but documents that we really don't know.
6335# 'pass_all' -- all dependencies passed with no checks.
6336# 'test_compile' -- check by making test program.
6337# 'file_magic [[regex]]' -- check by looking for files in library path
6338# which responds to the $file_magic_cmd with a given extended regex.
6339# If you have `file' or equivalent on your system and you're not sure
6340# whether `pass_all' will *always* work, you probably want this one.
6341
6342case $host_os in
6343aix[4-9]*)
6344 lt_cv_deplibs_check_method=pass_all
6345 ;;
6346
6347beos*)
6348 lt_cv_deplibs_check_method=pass_all
6349 ;;
6350
6351bsdi[45]*)
6352 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6353 lt_cv_file_magic_cmd='/usr/bin/file -L'
6354 lt_cv_file_magic_test_file=/shlib/libc.so
6355 ;;
6356
6357cygwin*)
6358 # func_win32_libid is a shell function defined in ltmain.sh
6359 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6360 lt_cv_file_magic_cmd='func_win32_libid'
6361 ;;
6362
6363mingw* | pw32*)
6364 # Base MSYS/MinGW do not provide the 'file' command needed by
6365 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6366 # unless we find 'file', for example because we are cross-compiling.
6367 if ( file / ) >/dev/null 2>&1; then
6368 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6369 lt_cv_file_magic_cmd='func_win32_libid'
6370 else
6371 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6372 lt_cv_file_magic_cmd='$OBJDUMP -f'
6373 fi
6374 ;;
6375
6376cegcc)
6377 # use the weaker test based on 'objdump'. See mingw*.
6378 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6379 lt_cv_file_magic_cmd='$OBJDUMP -f'
6380 ;;
6381
6382darwin* | rhapsody*)
6383 lt_cv_deplibs_check_method=pass_all
6384 ;;
6385
6386freebsd* | dragonfly*)
6387 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6388 case $host_cpu in
6389 i*86 )
6390 # Not sure whether the presence of OpenBSD here was a mistake.
6391 # Let's accept both of them until this is cleared up.
6392 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6393 lt_cv_file_magic_cmd=/usr/bin/file
6394 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6395 ;;
6396 esac
6397 else
6398 lt_cv_deplibs_check_method=pass_all
6399 fi
6400 ;;
6401
6402gnu*)
6403 lt_cv_deplibs_check_method=pass_all
6404 ;;
6405
6406hpux10.20* | hpux11*)
6407 lt_cv_file_magic_cmd=/usr/bin/file
6408 case $host_cpu in
6409 ia64*)
6410 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6411 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6412 ;;
6413 hppa*64*)
6414 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]'
6415 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6416 ;;
6417 *)
6418 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6419 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6420 ;;
6421 esac
6422 ;;
6423
6424interix[3-9]*)
6425 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6426 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6427 ;;
6428
6429irix5* | irix6* | nonstopux*)
6430 case $LD in
6431 *-32|*"-32 ") libmagic=32-bit;;
6432 *-n32|*"-n32 ") libmagic=N32;;
6433 *-64|*"-64 ") libmagic=64-bit;;
6434 *) libmagic=never-match;;
6435 esac
6436 lt_cv_deplibs_check_method=pass_all
6437 ;;
6438
6439# This must be Linux ELF.
6440linux* | k*bsd*-gnu | kopensolaris*-gnu)
6441 lt_cv_deplibs_check_method=pass_all
6442 ;;
6443
6444netbsd* | netbsdelf*-gnu)
6445 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6446 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6447 else
6448 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6449 fi
6450 ;;
6451
6452newos6*)
6453 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6454 lt_cv_file_magic_cmd=/usr/bin/file
6455 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6456 ;;
6457
6458*nto* | *qnx*)
6459 lt_cv_deplibs_check_method=pass_all
6460 ;;
6461
6462openbsd*)
6463 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6464 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6465 else
6466 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6467 fi
6468 ;;
6469
6470osf3* | osf4* | osf5*)
6471 lt_cv_deplibs_check_method=pass_all
6472 ;;
6473
6474rdos*)
6475 lt_cv_deplibs_check_method=pass_all
6476 ;;
6477
6478solaris*)
6479 lt_cv_deplibs_check_method=pass_all
6480 ;;
6481
6482sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6483 lt_cv_deplibs_check_method=pass_all
6484 ;;
6485
6486sysv4 | sysv4.3*)
6487 case $host_vendor in
6488 motorola)
6489 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]'
6490 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6491 ;;
6492 ncr)
6493 lt_cv_deplibs_check_method=pass_all
6494 ;;
6495 sequent)
6496 lt_cv_file_magic_cmd='/bin/file'
6497 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6498 ;;
6499 sni)
6500 lt_cv_file_magic_cmd='/bin/file'
6501 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6502 lt_cv_file_magic_test_file=/lib/libc.so
6503 ;;
6504 siemens)
6505 lt_cv_deplibs_check_method=pass_all
6506 ;;
6507 pc)
6508 lt_cv_deplibs_check_method=pass_all
6509 ;;
6510 esac
6511 ;;
6512
6513tpf*)
6514 lt_cv_deplibs_check_method=pass_all
6515 ;;
6516esac
6517
6518fi
6519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6520$as_echo "$lt_cv_deplibs_check_method" >&6; }
6521file_magic_cmd=$lt_cv_file_magic_cmd
6522deplibs_check_method=$lt_cv_deplibs_check_method
6523test -z "$deplibs_check_method" && deplibs_check_method=unknown
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536if test -n "$ac_tool_prefix"; then
6537 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6538set dummy ${ac_tool_prefix}ar; ac_word=$2
6539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540$as_echo_n "checking for $ac_word... " >&6; }
6541if test "${ac_cv_prog_AR+set}" = set; then :
6542 $as_echo_n "(cached) " >&6
6543else
6544 if test -n "$AR"; then
6545 ac_cv_prog_AR="$AR" # Let the user override the test.
6546else
6547as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548for as_dir in $PATH
6549do
6550 IFS=$as_save_IFS
6551 test -z "$as_dir" && as_dir=.
6552 for ac_exec_ext in '' $ac_executable_extensions; do
6553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554 ac_cv_prog_AR="${ac_tool_prefix}ar"
6555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6556 break 2
6557 fi
6558done
6559 done
6560IFS=$as_save_IFS
6561
6562fi
6563fi
6564AR=$ac_cv_prog_AR
6565if test -n "$AR"; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6567$as_echo "$AR" >&6; }
6568else
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570$as_echo "no" >&6; }
6571fi
6572
6573
6574fi
6575if test -z "$ac_cv_prog_AR"; then
6576 ac_ct_AR=$AR
6577 # Extract the first word of "ar", so it can be a program name with args.
6578set dummy ar; ac_word=$2
6579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6580$as_echo_n "checking for $ac_word... " >&6; }
6581if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6582 $as_echo_n "(cached) " >&6
6583else
6584 if test -n "$ac_ct_AR"; then
6585 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6586else
6587as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588for as_dir in $PATH
6589do
6590 IFS=$as_save_IFS
6591 test -z "$as_dir" && as_dir=.
6592 for ac_exec_ext in '' $ac_executable_extensions; do
6593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6594 ac_cv_prog_ac_ct_AR="ar"
6595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6596 break 2
6597 fi
6598done
6599 done
6600IFS=$as_save_IFS
6601
6602fi
6603fi
6604ac_ct_AR=$ac_cv_prog_ac_ct_AR
6605if test -n "$ac_ct_AR"; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6607$as_echo "$ac_ct_AR" >&6; }
6608else
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610$as_echo "no" >&6; }
6611fi
6612
6613 if test "x$ac_ct_AR" = x; then
6614 AR="false"
6615 else
6616 case $cross_compiling:$ac_tool_warned in
6617yes:)
6618{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6619$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6620ac_tool_warned=yes ;;
6621esac
6622 AR=$ac_ct_AR
6623 fi
6624else
6625 AR="$ac_cv_prog_AR"
6626fi
6627
6628test -z "$AR" && AR=ar
6629test -z "$AR_FLAGS" && AR_FLAGS=cru
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641if test -n "$ac_tool_prefix"; then
6642 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6643set dummy ${ac_tool_prefix}strip; ac_word=$2
6644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6645$as_echo_n "checking for $ac_word... " >&6; }
6646if test "${ac_cv_prog_STRIP+set}" = set; then :
6647 $as_echo_n "(cached) " >&6
6648else
6649 if test -n "$STRIP"; then
6650 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6651else
6652as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653for as_dir in $PATH
6654do
6655 IFS=$as_save_IFS
6656 test -z "$as_dir" && as_dir=.
6657 for ac_exec_ext in '' $ac_executable_extensions; do
6658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6659 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6661 break 2
6662 fi
6663done
6664 done
6665IFS=$as_save_IFS
6666
6667fi
6668fi
6669STRIP=$ac_cv_prog_STRIP
6670if test -n "$STRIP"; then
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6672$as_echo "$STRIP" >&6; }
6673else
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675$as_echo "no" >&6; }
6676fi
6677
6678
6679fi
6680if test -z "$ac_cv_prog_STRIP"; then
6681 ac_ct_STRIP=$STRIP
6682 # Extract the first word of "strip", so it can be a program name with args.
6683set dummy strip; ac_word=$2
6684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685$as_echo_n "checking for $ac_word... " >&6; }
6686if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6687 $as_echo_n "(cached) " >&6
6688else
6689 if test -n "$ac_ct_STRIP"; then
6690 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6691else
6692as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6693for as_dir in $PATH
6694do
6695 IFS=$as_save_IFS
6696 test -z "$as_dir" && as_dir=.
6697 for ac_exec_ext in '' $ac_executable_extensions; do
6698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6699 ac_cv_prog_ac_ct_STRIP="strip"
6700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6701 break 2
6702 fi
6703done
6704 done
6705IFS=$as_save_IFS
6706
6707fi
6708fi
6709ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6710if test -n "$ac_ct_STRIP"; then
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6712$as_echo "$ac_ct_STRIP" >&6; }
6713else
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715$as_echo "no" >&6; }
6716fi
6717
6718 if test "x$ac_ct_STRIP" = x; then
6719 STRIP=":"
6720 else
6721 case $cross_compiling:$ac_tool_warned in
6722yes:)
6723{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6724$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6725ac_tool_warned=yes ;;
6726esac
6727 STRIP=$ac_ct_STRIP
6728 fi
6729else
6730 STRIP="$ac_cv_prog_STRIP"
6731fi
6732
6733test -z "$STRIP" && STRIP=:
6734
6735
6736
6737
6738
6739
6740if test -n "$ac_tool_prefix"; then
6741 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6742set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6744$as_echo_n "checking for $ac_word... " >&6; }
6745if test "${ac_cv_prog_RANLIB+set}" = set; then :
6746 $as_echo_n "(cached) " >&6
6747else
6748 if test -n "$RANLIB"; then
6749 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6750else
6751as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6752for as_dir in $PATH
6753do
6754 IFS=$as_save_IFS
6755 test -z "$as_dir" && as_dir=.
6756 for ac_exec_ext in '' $ac_executable_extensions; do
6757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6758 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6760 break 2
6761 fi
6762done
6763 done
6764IFS=$as_save_IFS
6765
6766fi
6767fi
6768RANLIB=$ac_cv_prog_RANLIB
6769if test -n "$RANLIB"; then
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6771$as_echo "$RANLIB" >&6; }
6772else
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6774$as_echo "no" >&6; }
6775fi
6776
6777
6778fi
6779if test -z "$ac_cv_prog_RANLIB"; then
6780 ac_ct_RANLIB=$RANLIB
6781 # Extract the first word of "ranlib", so it can be a program name with args.
6782set dummy ranlib; ac_word=$2
6783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6784$as_echo_n "checking for $ac_word... " >&6; }
6785if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6786 $as_echo_n "(cached) " >&6
6787else
6788 if test -n "$ac_ct_RANLIB"; then
6789 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6790else
6791as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6792for as_dir in $PATH
6793do
6794 IFS=$as_save_IFS
6795 test -z "$as_dir" && as_dir=.
6796 for ac_exec_ext in '' $ac_executable_extensions; do
6797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6798 ac_cv_prog_ac_ct_RANLIB="ranlib"
6799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6800 break 2
6801 fi
6802done
6803 done
6804IFS=$as_save_IFS
6805
6806fi
6807fi
6808ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6809if test -n "$ac_ct_RANLIB"; then
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6811$as_echo "$ac_ct_RANLIB" >&6; }
6812else
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6814$as_echo "no" >&6; }
6815fi
6816
6817 if test "x$ac_ct_RANLIB" = x; then
6818 RANLIB=":"
6819 else
6820 case $cross_compiling:$ac_tool_warned in
6821yes:)
6822{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6823$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6824ac_tool_warned=yes ;;
6825esac
6826 RANLIB=$ac_ct_RANLIB
6827 fi
6828else
6829 RANLIB="$ac_cv_prog_RANLIB"
6830fi
6831
6832test -z "$RANLIB" && RANLIB=:
6833
6834
6835
6836
6837
6838
6839# Determine commands to create old-style static archives.
6840old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6841old_postinstall_cmds='chmod 644 $oldlib'
6842old_postuninstall_cmds=
6843
6844if test -n "$RANLIB"; then
6845 case $host_os in
6846 openbsd*)
6847 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6848 ;;
6849 *)
6850 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6851 ;;
6852 esac
6853 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6854fi
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889# If no C compiler was specified, use CC.
6890LTCC=${LTCC-"$CC"}
6891
6892# If no C compiler flags were specified, use CFLAGS.
6893LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6894
6895# Allow CC to be a program name with arguments.
6896compiler=$CC
6897
6898
6899# Check for command to grab the raw symbol name followed by C symbol from nm.
6900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6901$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6902if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6903 $as_echo_n "(cached) " >&6
6904else
6905
6906# These are sane defaults that work on at least a few old systems.
6907# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6908
6909# Character class describing NM global symbol codes.
6910symcode='[BCDEGRST]'
6911
6912# Regexp to match symbols that can be accessed directly from C.
6913sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6914
6915# Define system-specific variables.
6916case $host_os in
6917aix*)
6918 symcode='[BCDT]'
6919 ;;
6920cygwin* | mingw* | pw32* | cegcc*)
6921 symcode='[ABCDGISTW]'
6922 ;;
6923hpux*)
6924 if test "$host_cpu" = ia64; then
6925 symcode='[ABCDEGRST]'
6926 fi
6927 ;;
6928irix* | nonstopux*)
6929 symcode='[BCDEGRST]'
6930 ;;
6931osf*)
6932 symcode='[BCDEGQRST]'
6933 ;;
6934solaris*)
6935 symcode='[BDRT]'
6936 ;;
6937sco3.2v5*)
6938 symcode='[DT]'
6939 ;;
6940sysv4.2uw2*)
6941 symcode='[DT]'
6942 ;;
6943sysv5* | sco5v6* | unixware* | OpenUNIX*)
6944 symcode='[ABDT]'
6945 ;;
6946sysv4)
6947 symcode='[DFNSTU]'
6948 ;;
6949esac
6950
6951# If we're using GNU nm, then use its standard symbol codes.
6952case `$NM -V 2>&1` in
6953*GNU* | *'with BFD'*)
6954 symcode='[ABCDGIRSTW]' ;;
6955esac
6956
6957# Transform an extracted symbol line into a proper C declaration.
6958# Some systems (esp. on ia64) link data and code symbols differently,
6959# so use this general approach.
6960lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6961
6962# Transform an extracted symbol line into symbol name and symbol address
6963lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6964lt_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'"
6965
6966# Handle CRLF in mingw tool chain
6967opt_cr=
6968case $build_os in
6969mingw*)
6970 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6971 ;;
6972esac
6973
6974# Try without a prefix underscore, then with it.
6975for ac_symprfx in "" "_"; do
6976
6977 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6978 symxfrm="\\1 $ac_symprfx\\2 \\2"
6979
6980 # Write the raw and C identifiers.
6981 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6982 # Fake it for dumpbin and say T for any non-static function
6983 # and D for any global variable.
6984 # Also find C++ and __fastcall symbols from MSVC++,
6985 # which start with @ or ?.
6986 lt_cv_sys_global_symbol_pipe="$AWK '"\
6987" {last_section=section; section=\$ 3};"\
6988" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6989" \$ 0!~/External *\|/{next};"\
6990" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6991" {if(hide[section]) next};"\
6992" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6993" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6994" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6995" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6996" ' prfx=^$ac_symprfx"
6997 else
6998 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6999 fi
7000
7001 # Check to see that the pipe works correctly.
7002 pipe_works=no
7003
7004 rm -f conftest*
7005 cat > conftest.$ac_ext <<_LT_EOF
7006#ifdef __cplusplus
7007extern "C" {
7008#endif
7009char nm_test_var;
7010void nm_test_func(void);
7011void nm_test_func(void){}
7012#ifdef __cplusplus
7013}
7014#endif
7015int main(){nm_test_var='a';nm_test_func();return(0);}
7016_LT_EOF
7017
7018 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7019 (eval $ac_compile) 2>&5
7020 ac_status=$?
7021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7022 test $ac_status = 0; }; then
7023 # Now try to grab the symbols.
7024 nlist=conftest.nm
7025 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7026 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7027 ac_status=$?
7028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7029 test $ac_status = 0; } && test -s "$nlist"; then
7030 # Try sorting and uniquifying the output.
7031 if sort "$nlist" | uniq > "$nlist"T; then
7032 mv -f "$nlist"T "$nlist"
7033 else
7034 rm -f "$nlist"T
7035 fi
7036
7037 # Make sure that we snagged all the symbols we need.
7038 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7039 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7040 cat <<_LT_EOF > conftest.$ac_ext
7041#ifdef __cplusplus
7042extern "C" {
7043#endif
7044
7045_LT_EOF
7046 # Now generate the symbol file.
7047 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7048
7049 cat <<_LT_EOF >> conftest.$ac_ext
7050
7051/* The mapping between symbol names and symbols. */
7052const struct {
7053 const char *name;
7054 void *address;
7055}
7056lt__PROGRAM__LTX_preloaded_symbols[] =
7057{
7058 { "@PROGRAM@", (void *) 0 },
7059_LT_EOF
7060 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7061 cat <<\_LT_EOF >> conftest.$ac_ext
7062 {0, (void *) 0}
7063};
7064
7065/* This works around a problem in FreeBSD linker */
7066#ifdef FREEBSD_WORKAROUND
7067static const void *lt_preloaded_setup() {
7068 return lt__PROGRAM__LTX_preloaded_symbols;
7069}
7070#endif
7071
7072#ifdef __cplusplus
7073}
7074#endif
7075_LT_EOF
7076 # Now try linking the two files.
7077 mv conftest.$ac_objext conftstm.$ac_objext
7078 lt_save_LIBS="$LIBS"
7079 lt_save_CFLAGS="$CFLAGS"
7080 LIBS="conftstm.$ac_objext"
7081 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7082 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7083 (eval $ac_link) 2>&5
7084 ac_status=$?
7085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7086 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7087 pipe_works=yes
7088 fi
7089 LIBS="$lt_save_LIBS"
7090 CFLAGS="$lt_save_CFLAGS"
7091 else
7092 echo "cannot find nm_test_func in $nlist" >&5
7093 fi
7094 else
7095 echo "cannot find nm_test_var in $nlist" >&5
7096 fi
7097 else
7098 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7099 fi
7100 else
7101 echo "$progname: failed program was:" >&5
7102 cat conftest.$ac_ext >&5
7103 fi
7104 rm -rf conftest* conftst*
7105
7106 # Do not use the global_symbol_pipe unless it works.
7107 if test "$pipe_works" = yes; then
7108 break
7109 else
7110 lt_cv_sys_global_symbol_pipe=
7111 fi
7112done
7113
7114fi
7115
7116if test -z "$lt_cv_sys_global_symbol_pipe"; then
7117 lt_cv_sys_global_symbol_to_cdecl=
7118fi
7119if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7121$as_echo "failed" >&6; }
7122else
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7124$as_echo "ok" >&6; }
7125fi
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148# Check whether --enable-libtool-lock was given.
7149if test "${enable_libtool_lock+set}" = set; then :
7150 enableval=$enable_libtool_lock;
7151fi
7152
7153test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7154
7155# Some flags need to be propagated to the compiler or linker for good
7156# libtool support.
7157case $host in
7158ia64-*-hpux*)
7159 # Find out which ABI we are using.
7160 echo 'int i;' > conftest.$ac_ext
7161 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7162 (eval $ac_compile) 2>&5
7163 ac_status=$?
7164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7165 test $ac_status = 0; }; then
7166 case `/usr/bin/file conftest.$ac_objext` in
7167 *ELF-32*)
7168 HPUX_IA64_MODE="32"
7169 ;;
7170 *ELF-64*)
7171 HPUX_IA64_MODE="64"
7172 ;;
7173 esac
7174 fi
7175 rm -rf conftest*
7176 ;;
7177*-*-irix6*)
7178 # Find out which ABI we are using.
7179 echo '#line 7179 "configure"' > conftest.$ac_ext
7180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7181 (eval $ac_compile) 2>&5
7182 ac_status=$?
7183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7184 test $ac_status = 0; }; then
7185 if test "$lt_cv_prog_gnu_ld" = yes; then
7186 case `/usr/bin/file conftest.$ac_objext` in
7187 *32-bit*)
7188 LD="${LD-ld} -melf32bsmip"
7189 ;;
7190 *N32*)
7191 LD="${LD-ld} -melf32bmipn32"
7192 ;;
7193 *64-bit*)
7194 LD="${LD-ld} -melf64bmip"
7195 ;;
7196 esac
7197 else
7198 case `/usr/bin/file conftest.$ac_objext` in
7199 *32-bit*)
7200 LD="${LD-ld} -32"
7201 ;;
7202 *N32*)
7203 LD="${LD-ld} -n32"
7204 ;;
7205 *64-bit*)
7206 LD="${LD-ld} -64"
7207 ;;
7208 esac
7209 fi
7210 fi
7211 rm -rf conftest*
7212 ;;
7213
7214x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7215s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7216 # Find out which ABI we are using.
7217 echo 'int i;' > conftest.$ac_ext
7218 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7219 (eval $ac_compile) 2>&5
7220 ac_status=$?
7221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7222 test $ac_status = 0; }; then
7223 case `/usr/bin/file conftest.o` in
7224 *32-bit*)
7225 case $host in
7226 x86_64-*kfreebsd*-gnu)
7227 LD="${LD-ld} -m elf_i386_fbsd"
7228 ;;
7229 x86_64-*linux*)
7230 LD="${LD-ld} -m elf_i386"
7231 ;;
7232 ppc64-*linux*|powerpc64-*linux*)
7233 LD="${LD-ld} -m elf32ppclinux"
7234 ;;
7235 s390x-*linux*)
7236 LD="${LD-ld} -m elf_s390"
7237 ;;
7238 sparc64-*linux*)
7239 LD="${LD-ld} -m elf32_sparc"
7240 ;;
7241 esac
7242 ;;
7243 *64-bit*)
7244 case $host in
7245 x86_64-*kfreebsd*-gnu)
7246 LD="${LD-ld} -m elf_x86_64_fbsd"
7247 ;;
7248 x86_64-*linux*)
7249 LD="${LD-ld} -m elf_x86_64"
7250 ;;
7251 ppc*-*linux*|powerpc*-*linux*)
7252 LD="${LD-ld} -m elf64ppc"
7253 ;;
7254 s390*-*linux*|s390*-*tpf*)
7255 LD="${LD-ld} -m elf64_s390"
7256 ;;
7257 sparc*-*linux*)
7258 LD="${LD-ld} -m elf64_sparc"
7259 ;;
7260 esac
7261 ;;
7262 esac
7263 fi
7264 rm -rf conftest*
7265 ;;
7266
7267*-*-sco3.2v5*)
7268 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7269 SAVE_CFLAGS="$CFLAGS"
7270 CFLAGS="$CFLAGS -belf"
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7272$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7273if test "${lt_cv_cc_needs_belf+set}" = set; then :
7274 $as_echo_n "(cached) " >&6
7275else
7276 ac_ext=c
7277ac_cpp='$CPP $CPPFLAGS'
7278ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7279ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7280ac_compiler_gnu=$ac_cv_c_compiler_gnu
7281
7282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7283/* end confdefs.h. */
7284
7285int
7286main ()
7287{
7288
7289 ;
7290 return 0;
7291}
7292_ACEOF
7293if ac_fn_c_try_link "$LINENO"; then :
7294 lt_cv_cc_needs_belf=yes
7295else
7296 lt_cv_cc_needs_belf=no
7297fi
7298rm -f core conftest.err conftest.$ac_objext \
7299 conftest$ac_exeext conftest.$ac_ext
7300 ac_ext=c
7301ac_cpp='$CPP $CPPFLAGS'
7302ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7303ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7304ac_compiler_gnu=$ac_cv_c_compiler_gnu
7305
7306fi
7307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7308$as_echo "$lt_cv_cc_needs_belf" >&6; }
7309 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7310 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7311 CFLAGS="$SAVE_CFLAGS"
7312 fi
7313 ;;
7314sparc*-*solaris*)
7315 # Find out which ABI we are using.
7316 echo 'int i;' > conftest.$ac_ext
7317 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7318 (eval $ac_compile) 2>&5
7319 ac_status=$?
7320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7321 test $ac_status = 0; }; then
7322 case `/usr/bin/file conftest.o` in
7323 *64-bit*)
7324 case $lt_cv_prog_gnu_ld in
7325 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7326 *)
7327 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7328 LD="${LD-ld} -64"
7329 fi
7330 ;;
7331 esac
7332 ;;
7333 esac
7334 fi
7335 rm -rf conftest*
7336 ;;
7337esac
7338
7339need_locks="$enable_libtool_lock"
7340
7341
7342 case $host_os in
7343 rhapsody* | darwin*)
7344 if test -n "$ac_tool_prefix"; then
7345 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7346set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7348$as_echo_n "checking for $ac_word... " >&6; }
7349if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7350 $as_echo_n "(cached) " >&6
7351else
7352 if test -n "$DSYMUTIL"; then
7353 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7354else
7355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7356for as_dir in $PATH
7357do
7358 IFS=$as_save_IFS
7359 test -z "$as_dir" && as_dir=.
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7362 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7364 break 2
7365 fi
7366done
7367 done
7368IFS=$as_save_IFS
7369
7370fi
7371fi
7372DSYMUTIL=$ac_cv_prog_DSYMUTIL
7373if test -n "$DSYMUTIL"; then
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7375$as_echo "$DSYMUTIL" >&6; }
7376else
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378$as_echo "no" >&6; }
7379fi
7380
7381
7382fi
7383if test -z "$ac_cv_prog_DSYMUTIL"; then
7384 ac_ct_DSYMUTIL=$DSYMUTIL
7385 # Extract the first word of "dsymutil", so it can be a program name with args.
7386set dummy dsymutil; ac_word=$2
7387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7388$as_echo_n "checking for $ac_word... " >&6; }
7389if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7390 $as_echo_n "(cached) " >&6
7391else
7392 if test -n "$ac_ct_DSYMUTIL"; then
7393 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7394else
7395as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7396for as_dir in $PATH
7397do
7398 IFS=$as_save_IFS
7399 test -z "$as_dir" && as_dir=.
7400 for ac_exec_ext in '' $ac_executable_extensions; do
7401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7402 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7404 break 2
7405 fi
7406done
7407 done
7408IFS=$as_save_IFS
7409
7410fi
7411fi
7412ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7413if test -n "$ac_ct_DSYMUTIL"; then
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7415$as_echo "$ac_ct_DSYMUTIL" >&6; }
7416else
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7418$as_echo "no" >&6; }
7419fi
7420
7421 if test "x$ac_ct_DSYMUTIL" = x; then
7422 DSYMUTIL=":"
7423 else
7424 case $cross_compiling:$ac_tool_warned in
7425yes:)
7426{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7427$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7428ac_tool_warned=yes ;;
7429esac
7430 DSYMUTIL=$ac_ct_DSYMUTIL
7431 fi
7432else
7433 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7434fi
7435
7436 if test -n "$ac_tool_prefix"; then
7437 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7438set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7440$as_echo_n "checking for $ac_word... " >&6; }
7441if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7442 $as_echo_n "(cached) " >&6
7443else
7444 if test -n "$NMEDIT"; then
7445 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7446else
7447as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7448for as_dir in $PATH
7449do
7450 IFS=$as_save_IFS
7451 test -z "$as_dir" && as_dir=.
7452 for ac_exec_ext in '' $ac_executable_extensions; do
7453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7454 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7456 break 2
7457 fi
7458done
7459 done
7460IFS=$as_save_IFS
7461
7462fi
7463fi
7464NMEDIT=$ac_cv_prog_NMEDIT
7465if test -n "$NMEDIT"; then
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7467$as_echo "$NMEDIT" >&6; }
7468else
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7470$as_echo "no" >&6; }
7471fi
7472
7473
7474fi
7475if test -z "$ac_cv_prog_NMEDIT"; then
7476 ac_ct_NMEDIT=$NMEDIT
7477 # Extract the first word of "nmedit", so it can be a program name with args.
7478set dummy nmedit; ac_word=$2
7479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7480$as_echo_n "checking for $ac_word... " >&6; }
7481if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7482 $as_echo_n "(cached) " >&6
7483else
7484 if test -n "$ac_ct_NMEDIT"; then
7485 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7486else
7487as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7488for as_dir in $PATH
7489do
7490 IFS=$as_save_IFS
7491 test -z "$as_dir" && as_dir=.
7492 for ac_exec_ext in '' $ac_executable_extensions; do
7493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7494 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7496 break 2
7497 fi
7498done
7499 done
7500IFS=$as_save_IFS
7501
7502fi
7503fi
7504ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7505if test -n "$ac_ct_NMEDIT"; then
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7507$as_echo "$ac_ct_NMEDIT" >&6; }
7508else
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7510$as_echo "no" >&6; }
7511fi
7512
7513 if test "x$ac_ct_NMEDIT" = x; then
7514 NMEDIT=":"
7515 else
7516 case $cross_compiling:$ac_tool_warned in
7517yes:)
7518{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7519$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7520ac_tool_warned=yes ;;
7521esac
7522 NMEDIT=$ac_ct_NMEDIT
7523 fi
7524else
7525 NMEDIT="$ac_cv_prog_NMEDIT"
7526fi
7527
7528 if test -n "$ac_tool_prefix"; then
7529 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7530set dummy ${ac_tool_prefix}lipo; ac_word=$2
7531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7532$as_echo_n "checking for $ac_word... " >&6; }
7533if test "${ac_cv_prog_LIPO+set}" = set; then :
7534 $as_echo_n "(cached) " >&6
7535else
7536 if test -n "$LIPO"; then
7537 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7538else
7539as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7540for as_dir in $PATH
7541do
7542 IFS=$as_save_IFS
7543 test -z "$as_dir" && as_dir=.
7544 for ac_exec_ext in '' $ac_executable_extensions; do
7545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7546 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7548 break 2
7549 fi
7550done
7551 done
7552IFS=$as_save_IFS
7553
7554fi
7555fi
7556LIPO=$ac_cv_prog_LIPO
7557if test -n "$LIPO"; then
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7559$as_echo "$LIPO" >&6; }
7560else
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562$as_echo "no" >&6; }
7563fi
7564
7565
7566fi
7567if test -z "$ac_cv_prog_LIPO"; then
7568 ac_ct_LIPO=$LIPO
7569 # Extract the first word of "lipo", so it can be a program name with args.
7570set dummy lipo; ac_word=$2
7571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7572$as_echo_n "checking for $ac_word... " >&6; }
7573if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7574 $as_echo_n "(cached) " >&6
7575else
7576 if test -n "$ac_ct_LIPO"; then
7577 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7578else
7579as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7580for as_dir in $PATH
7581do
7582 IFS=$as_save_IFS
7583 test -z "$as_dir" && as_dir=.
7584 for ac_exec_ext in '' $ac_executable_extensions; do
7585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7586 ac_cv_prog_ac_ct_LIPO="lipo"
7587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7588 break 2
7589 fi
7590done
7591 done
7592IFS=$as_save_IFS
7593
7594fi
7595fi
7596ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7597if test -n "$ac_ct_LIPO"; then
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7599$as_echo "$ac_ct_LIPO" >&6; }
7600else
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7602$as_echo "no" >&6; }
7603fi
7604
7605 if test "x$ac_ct_LIPO" = x; then
7606 LIPO=":"
7607 else
7608 case $cross_compiling:$ac_tool_warned in
7609yes:)
7610{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7611$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7612ac_tool_warned=yes ;;
7613esac
7614 LIPO=$ac_ct_LIPO
7615 fi
7616else
7617 LIPO="$ac_cv_prog_LIPO"
7618fi
7619
7620 if test -n "$ac_tool_prefix"; then
7621 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7622set dummy ${ac_tool_prefix}otool; ac_word=$2
7623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7624$as_echo_n "checking for $ac_word... " >&6; }
7625if test "${ac_cv_prog_OTOOL+set}" = set; then :
7626 $as_echo_n "(cached) " >&6
7627else
7628 if test -n "$OTOOL"; then
7629 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7630else
7631as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7632for as_dir in $PATH
7633do
7634 IFS=$as_save_IFS
7635 test -z "$as_dir" && as_dir=.
7636 for ac_exec_ext in '' $ac_executable_extensions; do
7637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7638 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7640 break 2
7641 fi
7642done
7643 done
7644IFS=$as_save_IFS
7645
7646fi
7647fi
7648OTOOL=$ac_cv_prog_OTOOL
7649if test -n "$OTOOL"; then
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7651$as_echo "$OTOOL" >&6; }
7652else
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7654$as_echo "no" >&6; }
7655fi
7656
7657
7658fi
7659if test -z "$ac_cv_prog_OTOOL"; then
7660 ac_ct_OTOOL=$OTOOL
7661 # Extract the first word of "otool", so it can be a program name with args.
7662set dummy otool; ac_word=$2
7663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7664$as_echo_n "checking for $ac_word... " >&6; }
7665if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7666 $as_echo_n "(cached) " >&6
7667else
7668 if test -n "$ac_ct_OTOOL"; then
7669 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7670else
7671as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7672for as_dir in $PATH
7673do
7674 IFS=$as_save_IFS
7675 test -z "$as_dir" && as_dir=.
7676 for ac_exec_ext in '' $ac_executable_extensions; do
7677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7678 ac_cv_prog_ac_ct_OTOOL="otool"
7679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7680 break 2
7681 fi
7682done
7683 done
7684IFS=$as_save_IFS
7685
7686fi
7687fi
7688ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7689if test -n "$ac_ct_OTOOL"; then
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7691$as_echo "$ac_ct_OTOOL" >&6; }
7692else
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7694$as_echo "no" >&6; }
7695fi
7696
7697 if test "x$ac_ct_OTOOL" = x; then
7698 OTOOL=":"
7699 else
7700 case $cross_compiling:$ac_tool_warned in
7701yes:)
7702{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7703$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7704ac_tool_warned=yes ;;
7705esac
7706 OTOOL=$ac_ct_OTOOL
7707 fi
7708else
7709 OTOOL="$ac_cv_prog_OTOOL"
7710fi
7711
7712 if test -n "$ac_tool_prefix"; then
7713 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7714set dummy ${ac_tool_prefix}otool64; ac_word=$2
7715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7716$as_echo_n "checking for $ac_word... " >&6; }
7717if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7718 $as_echo_n "(cached) " >&6
7719else
7720 if test -n "$OTOOL64"; then
7721 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7722else
7723as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7724for as_dir in $PATH
7725do
7726 IFS=$as_save_IFS
7727 test -z "$as_dir" && as_dir=.
7728 for ac_exec_ext in '' $ac_executable_extensions; do
7729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7730 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7732 break 2
7733 fi
7734done
7735 done
7736IFS=$as_save_IFS
7737
7738fi
7739fi
7740OTOOL64=$ac_cv_prog_OTOOL64
7741if test -n "$OTOOL64"; then
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7743$as_echo "$OTOOL64" >&6; }
7744else
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7746$as_echo "no" >&6; }
7747fi
7748
7749
7750fi
7751if test -z "$ac_cv_prog_OTOOL64"; then
7752 ac_ct_OTOOL64=$OTOOL64
7753 # Extract the first word of "otool64", so it can be a program name with args.
7754set dummy otool64; ac_word=$2
7755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7756$as_echo_n "checking for $ac_word... " >&6; }
7757if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7758 $as_echo_n "(cached) " >&6
7759else
7760 if test -n "$ac_ct_OTOOL64"; then
7761 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7762else
7763as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7764for as_dir in $PATH
7765do
7766 IFS=$as_save_IFS
7767 test -z "$as_dir" && as_dir=.
7768 for ac_exec_ext in '' $ac_executable_extensions; do
7769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7770 ac_cv_prog_ac_ct_OTOOL64="otool64"
7771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7772 break 2
7773 fi
7774done
7775 done
7776IFS=$as_save_IFS
7777
7778fi
7779fi
7780ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7781if test -n "$ac_ct_OTOOL64"; then
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7783$as_echo "$ac_ct_OTOOL64" >&6; }
7784else
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7786$as_echo "no" >&6; }
7787fi
7788
7789 if test "x$ac_ct_OTOOL64" = x; then
7790 OTOOL64=":"
7791 else
7792 case $cross_compiling:$ac_tool_warned in
7793yes:)
7794{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7795$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7796ac_tool_warned=yes ;;
7797esac
7798 OTOOL64=$ac_ct_OTOOL64
7799 fi
7800else
7801 OTOOL64="$ac_cv_prog_OTOOL64"
7802fi
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7831$as_echo_n "checking for -single_module linker flag... " >&6; }
7832if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7833 $as_echo_n "(cached) " >&6
7834else
7835 lt_cv_apple_cc_single_mod=no
7836 if test -z "${LT_MULTI_MODULE}"; then
7837 # By default we will add the -single_module flag. You can override
7838 # by either setting the environment variable LT_MULTI_MODULE
7839 # non-empty at configure time, or by adding -multi_module to the
7840 # link flags.
7841 rm -rf libconftest.dylib*
7842 echo "int foo(void){return 1;}" > conftest.c
7843 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7844-dynamiclib -Wl,-single_module conftest.c" >&5
7845 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7846 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7847 _lt_result=$?
7848 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7849 lt_cv_apple_cc_single_mod=yes
7850 else
7851 cat conftest.err >&5
7852 fi
7853 rm -rf libconftest.dylib*
7854 rm -f conftest.*
7855 fi
7856fi
7857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7858$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7860$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7861if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7862 $as_echo_n "(cached) " >&6
7863else
7864 lt_cv_ld_exported_symbols_list=no
7865 save_LDFLAGS=$LDFLAGS
7866 echo "_main" > conftest.sym
7867 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7869/* end confdefs.h. */
7870
7871int
7872main ()
7873{
7874
7875 ;
7876 return 0;
7877}
7878_ACEOF
7879if ac_fn_c_try_link "$LINENO"; then :
7880 lt_cv_ld_exported_symbols_list=yes
7881else
7882 lt_cv_ld_exported_symbols_list=no
7883fi
7884rm -f core conftest.err conftest.$ac_objext \
7885 conftest$ac_exeext conftest.$ac_ext
7886 LDFLAGS="$save_LDFLAGS"
7887
7888fi
7889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7890$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7891 case $host_os in
7892 rhapsody* | darwin1.[012])
7893 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7894 darwin1.*)
7895 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7896 darwin*) # darwin 5.x on
7897 # if running on 10.5 or later, the deployment target defaults
7898 # to the OS version, if on x86, and 10.4, the deployment
7899 # target defaults to 10.4. Don't you love it?
7900 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7901 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7902 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7903 10.[012]*)
7904 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7905 10.*)
7906 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7907 esac
7908 ;;
7909 esac
7910 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7911 _lt_dar_single_mod='$single_module'
7912 fi
7913 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7914 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7915 else
7916 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7917 fi
7918 if test "$DSYMUTIL" != ":"; then
7919 _lt_dsymutil='~$DSYMUTIL $lib || :'
7920 else
7921 _lt_dsymutil=
7922 fi
7923 ;;
7924 esac
7925
7926for ac_header in dlfcn.h
7927do :
7928 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7929"
7930if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7931 cat >>confdefs.h <<_ACEOF
7932#define HAVE_DLFCN_H 1
7933_ACEOF
7934
7935fi
7936
7937done
7938
7939
7940
7941# Set options
7942
7943
7944
7945 enable_dlopen=no
7946
7947
7948
7949 # Check whether --enable-shared was given.
7950if test "${enable_shared+set}" = set; then :
7951 enableval=$enable_shared; p=${PACKAGE-default}
7952 case $enableval in
7953 yes) enable_shared=yes ;;
7954 no) enable_shared=no ;;
7955 *)
7956 enable_shared=no
7957 # Look at the argument we got. We use all the common list separators.
7958 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7959 for pkg in $enableval; do
7960 IFS="$lt_save_ifs"
7961 if test "X$pkg" = "X$p"; then
7962 enable_shared=yes
7963 fi
7964 done
7965 IFS="$lt_save_ifs"
7966 ;;
7967 esac
7968else
7969 enable_shared=yes
7970fi
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980 # Check whether --enable-static was given.
7981if test "${enable_static+set}" = set; then :
7982 enableval=$enable_static; p=${PACKAGE-default}
7983 case $enableval in
7984 yes) enable_static=yes ;;
7985 no) enable_static=no ;;
7986 *)
7987 enable_static=no
7988 # Look at the argument we got. We use all the common list separators.
7989 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7990 for pkg in $enableval; do
7991 IFS="$lt_save_ifs"
7992 if test "X$pkg" = "X$p"; then
7993 enable_static=yes
7994 fi
7995 done
7996 IFS="$lt_save_ifs"
7997 ;;
7998 esac
7999else
8000 enable_static=yes
8001fi
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012# Check whether --with-pic was given.
8013if test "${with_pic+set}" = set; then :
8014 withval=$with_pic; pic_mode="$withval"
8015else
8016 pic_mode=default
8017fi
8018
8019
8020test -z "$pic_mode" && pic_mode=default
8021
8022
8023
8024
8025
8026
8027
8028 # Check whether --enable-fast-install was given.
8029if test "${enable_fast_install+set}" = set; then :
8030 enableval=$enable_fast_install; p=${PACKAGE-default}
8031 case $enableval in
8032 yes) enable_fast_install=yes ;;
8033 no) enable_fast_install=no ;;
8034 *)
8035 enable_fast_install=no
8036 # Look at the argument we got. We use all the common list separators.
8037 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8038 for pkg in $enableval; do
8039 IFS="$lt_save_ifs"
8040 if test "X$pkg" = "X$p"; then
8041 enable_fast_install=yes
8042 fi
8043 done
8044 IFS="$lt_save_ifs"
8045 ;;
8046 esac
8047else
8048 enable_fast_install=yes
8049fi
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061# This can be used to rebuild libtool when needed
8062LIBTOOL_DEPS="$ltmain"
8063
8064# Always use our own libtool.
8065LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091test -z "$LN_S" && LN_S="ln -s"
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106if test -n "${ZSH_VERSION+set}" ; then
8107 setopt NO_GLOB_SUBST
8108fi
8109
8110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8111$as_echo_n "checking for objdir... " >&6; }
8112if test "${lt_cv_objdir+set}" = set; then :
8113 $as_echo_n "(cached) " >&6
8114else
8115 rm -f .libs 2>/dev/null
8116mkdir .libs 2>/dev/null
8117if test -d .libs; then
8118 lt_cv_objdir=.libs
8119else
8120 # MS-DOS does not allow filenames that begin with a dot.
8121 lt_cv_objdir=_libs
8122fi
8123rmdir .libs 2>/dev/null
8124fi
8125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8126$as_echo "$lt_cv_objdir" >&6; }
8127objdir=$lt_cv_objdir
8128
8129
8130
8131
8132
8133cat >>confdefs.h <<_ACEOF
8134#define LT_OBJDIR "$lt_cv_objdir/"
8135_ACEOF
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153case $host_os in
8154aix3*)
8155 # AIX sometimes has problems with the GCC collect2 program. For some
8156 # reason, if we set the COLLECT_NAMES environment variable, the problems
8157 # vanish in a puff of smoke.
8158 if test "X${COLLECT_NAMES+set}" != Xset; then
8159 COLLECT_NAMES=
8160 export COLLECT_NAMES
8161 fi
8162 ;;
8163esac
8164
8165# Sed substitution that helps us do robust quoting. It backslashifies
8166# metacharacters that are still active within double-quoted strings.
8167sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8168
8169# Same as above, but do not quote variable references.
8170double_quote_subst='s/\(["`\\]\)/\\\1/g'
8171
8172# Sed substitution to delay expansion of an escaped shell variable in a
8173# double_quote_subst'ed string.
8174delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8175
8176# Sed substitution to delay expansion of an escaped single quote.
8177delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8178
8179# Sed substitution to avoid accidental globbing in evaled expressions
8180no_glob_subst='s/\*/\\\*/g'
8181
8182# Global variables:
8183ofile=libtool
8184can_build_shared=yes
8185
8186# All known linkers require a `.a' archive for static linking (except MSVC,
8187# which needs '.lib').
8188libext=a
8189
8190with_gnu_ld="$lt_cv_prog_gnu_ld"
8191
8192old_CC="$CC"
8193old_CFLAGS="$CFLAGS"
8194
8195# Set sane defaults for various variables
8196test -z "$CC" && CC=cc
8197test -z "$LTCC" && LTCC=$CC
8198test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8199test -z "$LD" && LD=ld
8200test -z "$ac_objext" && ac_objext=o
8201
8202for cc_temp in $compiler""; do
8203 case $cc_temp in
8204 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8205 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8206 \-*) ;;
8207 *) break;;
8208 esac
8209done
8210cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8211
8212
8213# Only perform the check for file, if the check method requires it
8214test -z "$MAGIC_CMD" && MAGIC_CMD=file
8215case $deplibs_check_method in
8216file_magic*)
8217 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8219$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8220if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8221 $as_echo_n "(cached) " >&6
8222else
8223 case $MAGIC_CMD in
8224[\\/*] | ?:[\\/]*)
8225 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8226 ;;
8227*)
8228 lt_save_MAGIC_CMD="$MAGIC_CMD"
8229 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8230 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8231 for ac_dir in $ac_dummy; do
8232 IFS="$lt_save_ifs"
8233 test -z "$ac_dir" && ac_dir=.
8234 if test -f $ac_dir/${ac_tool_prefix}file; then
8235 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8236 if test -n "$file_magic_test_file"; then
8237 case $deplibs_check_method in
8238 "file_magic "*)
8239 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8240 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8241 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8242 $EGREP "$file_magic_regex" > /dev/null; then
8243 :
8244 else
8245 cat <<_LT_EOF 1>&2
8246
8247*** Warning: the command libtool uses to detect shared libraries,
8248*** $file_magic_cmd, produces output that libtool cannot recognize.
8249*** The result is that libtool may fail to recognize shared libraries
8250*** as such. This will affect the creation of libtool libraries that
8251*** depend on shared libraries, but programs linked with such libtool
8252*** libraries will work regardless of this problem. Nevertheless, you
8253*** may want to report the problem to your system manager and/or to
8254*** bug-libtool@gnu.org
8255
8256_LT_EOF
8257 fi ;;
8258 esac
8259 fi
8260 break
8261 fi
8262 done
8263 IFS="$lt_save_ifs"
8264 MAGIC_CMD="$lt_save_MAGIC_CMD"
8265 ;;
8266esac
8267fi
8268
8269MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8270if test -n "$MAGIC_CMD"; then
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8272$as_echo "$MAGIC_CMD" >&6; }
8273else
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8275$as_echo "no" >&6; }
8276fi
8277
8278
8279
8280
8281
8282if test -z "$lt_cv_path_MAGIC_CMD"; then
8283 if test -n "$ac_tool_prefix"; then
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8285$as_echo_n "checking for file... " >&6; }
8286if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8287 $as_echo_n "(cached) " >&6
8288else
8289 case $MAGIC_CMD in
8290[\\/*] | ?:[\\/]*)
8291 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8292 ;;
8293*)
8294 lt_save_MAGIC_CMD="$MAGIC_CMD"
8295 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8296 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8297 for ac_dir in $ac_dummy; do
8298 IFS="$lt_save_ifs"
8299 test -z "$ac_dir" && ac_dir=.
8300 if test -f $ac_dir/file; then
8301 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8302 if test -n "$file_magic_test_file"; then
8303 case $deplibs_check_method in
8304 "file_magic "*)
8305 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8306 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8307 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8308 $EGREP "$file_magic_regex" > /dev/null; then
8309 :
8310 else
8311 cat <<_LT_EOF 1>&2
8312
8313*** Warning: the command libtool uses to detect shared libraries,
8314*** $file_magic_cmd, produces output that libtool cannot recognize.
8315*** The result is that libtool may fail to recognize shared libraries
8316*** as such. This will affect the creation of libtool libraries that
8317*** depend on shared libraries, but programs linked with such libtool
8318*** libraries will work regardless of this problem. Nevertheless, you
8319*** may want to report the problem to your system manager and/or to
8320*** bug-libtool@gnu.org
8321
8322_LT_EOF
8323 fi ;;
8324 esac
8325 fi
8326 break
8327 fi
8328 done
8329 IFS="$lt_save_ifs"
8330 MAGIC_CMD="$lt_save_MAGIC_CMD"
8331 ;;
8332esac
8333fi
8334
8335MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8336if test -n "$MAGIC_CMD"; then
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8338$as_echo "$MAGIC_CMD" >&6; }
8339else
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8341$as_echo "no" >&6; }
8342fi
8343
8344
8345 else
8346 MAGIC_CMD=:
8347 fi
8348fi
8349
8350 fi
8351 ;;
8352esac
8353
8354# Use C for the default configuration in the libtool script
8355
8356lt_save_CC="$CC"
8357ac_ext=c
8358ac_cpp='$CPP $CPPFLAGS'
8359ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8360ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8361ac_compiler_gnu=$ac_cv_c_compiler_gnu
8362
8363
8364# Source file extension for C test sources.
8365ac_ext=c
8366
8367# Object file extension for compiled C test sources.
8368objext=o
8369objext=$objext
8370
8371# Code to be used in simple compile tests
8372lt_simple_compile_test_code="int some_variable = 0;"
8373
8374# Code to be used in simple link tests
8375lt_simple_link_test_code='int main(){return(0);}'
8376
8377
8378
8379
8380
8381
8382
8383# If no C compiler was specified, use CC.
8384LTCC=${LTCC-"$CC"}
8385
8386# If no C compiler flags were specified, use CFLAGS.
8387LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8388
8389# Allow CC to be a program name with arguments.
8390compiler=$CC
8391
8392# Save the default compiler, since it gets overwritten when the other
8393# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8394compiler_DEFAULT=$CC
8395
8396# save warnings/boilerplate of simple test code
8397ac_outfile=conftest.$ac_objext
8398echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8399eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8400_lt_compiler_boilerplate=`cat conftest.err`
8401$RM conftest*
8402
8403ac_outfile=conftest.$ac_objext
8404echo "$lt_simple_link_test_code" >conftest.$ac_ext
8405eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8406_lt_linker_boilerplate=`cat conftest.err`
8407$RM -r conftest*
8408
8409
8410## CAVEAT EMPTOR:
8411## There is no encapsulation within the following macros, do not change
8412## the running order or otherwise move them around unless you know exactly
8413## what you are doing...
8414if test -n "$compiler"; then
8415
8416lt_prog_compiler_no_builtin_flag=
8417
8418if test "$GCC" = yes; then
8419 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8420
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8422$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8423if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8424 $as_echo_n "(cached) " >&6
8425else
8426 lt_cv_prog_compiler_rtti_exceptions=no
8427 ac_outfile=conftest.$ac_objext
8428 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8429 lt_compiler_flag="-fno-rtti -fno-exceptions"
8430 # Insert the option either (1) after the last *FLAGS variable, or
8431 # (2) before a word containing "conftest.", or (3) at the end.
8432 # Note that $ac_compile itself does not contain backslashes and begins
8433 # with a dollar sign (not a hyphen), so the echo should work correctly.
8434 # The option is referenced via a variable to avoid confusing sed.
8435 lt_compile=`echo "$ac_compile" | $SED \
8436 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8437 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8438 -e 's:$: $lt_compiler_flag:'`
8439 (eval echo "\"\$as_me:8439: $lt_compile\"" >&5)
8440 (eval "$lt_compile" 2>conftest.err)
8441 ac_status=$?
8442 cat conftest.err >&5
8443 echo "$as_me:8443: \$? = $ac_status" >&5
8444 if (exit $ac_status) && test -s "$ac_outfile"; then
8445 # The compiler can only warn and ignore the option if not recognized
8446 # So say no if there are warnings other than the usual output.
8447 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8448 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8449 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8450 lt_cv_prog_compiler_rtti_exceptions=yes
8451 fi
8452 fi
8453 $RM conftest*
8454
8455fi
8456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8457$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8458
8459if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8460 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8461else
8462 :
8463fi
8464
8465fi
8466
8467
8468
8469
8470
8471
8472 lt_prog_compiler_wl=
8473lt_prog_compiler_pic=
8474lt_prog_compiler_static=
8475
8476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8477$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8478
8479 if test "$GCC" = yes; then
8480 lt_prog_compiler_wl='-Wl,'
8481 lt_prog_compiler_static='-static'
8482
8483 case $host_os in
8484 aix*)
8485 # All AIX code is PIC.
8486 if test "$host_cpu" = ia64; then
8487 # AIX 5 now supports IA64 processor
8488 lt_prog_compiler_static='-Bstatic'
8489 fi
8490 ;;
8491
8492 amigaos*)
8493 case $host_cpu in
8494 powerpc)
8495 # see comment about AmigaOS4 .so support
8496 lt_prog_compiler_pic='-fPIC'
8497 ;;
8498 m68k)
8499 # FIXME: we need at least 68020 code to build shared libraries, but
8500 # adding the `-m68020' flag to GCC prevents building anything better,
8501 # like `-m68040'.
8502 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8503 ;;
8504 esac
8505 ;;
8506
8507 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8508 # PIC is the default for these OSes.
8509 ;;
8510
8511 mingw* | cygwin* | pw32* | os2* | cegcc*)
8512 # This hack is so that the source file can tell whether it is being
8513 # built for inclusion in a dll (and should export symbols for example).
8514 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8515 # (--disable-auto-import) libraries
8516 lt_prog_compiler_pic='-DDLL_EXPORT'
8517 ;;
8518
8519 darwin* | rhapsody*)
8520 # PIC is the default on this platform
8521 # Common symbols not allowed in MH_DYLIB files
8522 lt_prog_compiler_pic='-fno-common'
8523 ;;
8524
8525 hpux*)
8526 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8527 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8528 # sets the default TLS model and affects inlining.
8529 case $host_cpu in
8530 hppa*64*)
8531 # +Z the default
8532 ;;
8533 *)
8534 lt_prog_compiler_pic='-fPIC'
8535 ;;
8536 esac
8537 ;;
8538
8539 interix[3-9]*)
8540 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8541 # Instead, we relocate shared libraries at runtime.
8542 ;;
8543
8544 msdosdjgpp*)
8545 # Just because we use GCC doesn't mean we suddenly get shared libraries
8546 # on systems that don't support them.
8547 lt_prog_compiler_can_build_shared=no
8548 enable_shared=no
8549 ;;
8550
8551 *nto* | *qnx*)
8552 # QNX uses GNU C++, but need to define -shared option too, otherwise
8553 # it will coredump.
8554 lt_prog_compiler_pic='-fPIC -shared'
8555 ;;
8556
8557 sysv4*MP*)
8558 if test -d /usr/nec; then
8559 lt_prog_compiler_pic=-Kconform_pic
8560 fi
8561 ;;
8562
8563 *)
8564 lt_prog_compiler_pic='-fPIC'
8565 ;;
8566 esac
8567 else
8568 # PORTME Check for flag to pass linker flags through the system compiler.
8569 case $host_os in
8570 aix*)
8571 lt_prog_compiler_wl='-Wl,'
8572 if test "$host_cpu" = ia64; then
8573 # AIX 5 now supports IA64 processor
8574 lt_prog_compiler_static='-Bstatic'
8575 else
8576 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8577 fi
8578 ;;
8579
8580 mingw* | cygwin* | pw32* | os2* | cegcc*)
8581 # This hack is so that the source file can tell whether it is being
8582 # built for inclusion in a dll (and should export symbols for example).
8583 lt_prog_compiler_pic='-DDLL_EXPORT'
8584 ;;
8585
8586 hpux9* | hpux10* | hpux11*)
8587 lt_prog_compiler_wl='-Wl,'
8588 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8589 # not for PA HP-UX.
8590 case $host_cpu in
8591 hppa*64*|ia64*)
8592 # +Z the default
8593 ;;
8594 *)
8595 lt_prog_compiler_pic='+Z'
8596 ;;
8597 esac
8598 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8599 lt_prog_compiler_static='${wl}-a ${wl}archive'
8600 ;;
8601
8602 irix5* | irix6* | nonstopux*)
8603 lt_prog_compiler_wl='-Wl,'
8604 # PIC (with -KPIC) is the default.
8605 lt_prog_compiler_static='-non_shared'
8606 ;;
8607
8608 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8609 case $cc_basename in
8610 # old Intel for x86_64 which still supported -KPIC.
8611 ecc*)
8612 lt_prog_compiler_wl='-Wl,'
8613 lt_prog_compiler_pic='-KPIC'
8614 lt_prog_compiler_static='-static'
8615 ;;
8616 # icc used to be incompatible with GCC.
8617 # ICC 10 doesn't accept -KPIC any more.
8618 icc* | ifort*)
8619 lt_prog_compiler_wl='-Wl,'
8620 lt_prog_compiler_pic='-fPIC'
8621 lt_prog_compiler_static='-static'
8622 ;;
8623 # Lahey Fortran 8.1.
8624 lf95*)
8625 lt_prog_compiler_wl='-Wl,'
8626 lt_prog_compiler_pic='--shared'
8627 lt_prog_compiler_static='--static'
8628 ;;
8629 pgcc* | pgf77* | pgf90* | pgf95*)
8630 # Portland Group compilers (*not* the Pentium gcc compiler,
8631 # which looks to be a dead project)
8632 lt_prog_compiler_wl='-Wl,'
8633 lt_prog_compiler_pic='-fpic'
8634 lt_prog_compiler_static='-Bstatic'
8635 ;;
8636 ccc*)
8637 lt_prog_compiler_wl='-Wl,'
8638 # All Alpha code is PIC.
8639 lt_prog_compiler_static='-non_shared'
8640 ;;
8641 xl*)
8642 # IBM XL C 8.0/Fortran 10.1 on PPC
8643 lt_prog_compiler_wl='-Wl,'
8644 lt_prog_compiler_pic='-qpic'
8645 lt_prog_compiler_static='-qstaticlink'
8646 ;;
8647 *)
8648 case `$CC -V 2>&1 | sed 5q` in
8649 *Sun\ C*)
8650 # Sun C 5.9
8651 lt_prog_compiler_pic='-KPIC'
8652 lt_prog_compiler_static='-Bstatic'
8653 lt_prog_compiler_wl='-Wl,'
8654 ;;
8655 *Sun\ F*)
8656 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8657 lt_prog_compiler_pic='-KPIC'
8658 lt_prog_compiler_static='-Bstatic'
8659 lt_prog_compiler_wl=''
8660 ;;
8661 esac
8662 ;;
8663 esac
8664 ;;
8665
8666 newsos6)
8667 lt_prog_compiler_pic='-KPIC'
8668 lt_prog_compiler_static='-Bstatic'
8669 ;;
8670
8671 *nto* | *qnx*)
8672 # QNX uses GNU C++, but need to define -shared option too, otherwise
8673 # it will coredump.
8674 lt_prog_compiler_pic='-fPIC -shared'
8675 ;;
8676
8677 osf3* | osf4* | osf5*)
8678 lt_prog_compiler_wl='-Wl,'
8679 # All OSF/1 code is PIC.
8680 lt_prog_compiler_static='-non_shared'
8681 ;;
8682
8683 rdos*)
8684 lt_prog_compiler_static='-non_shared'
8685 ;;
8686
8687 solaris*)
8688 lt_prog_compiler_pic='-KPIC'
8689 lt_prog_compiler_static='-Bstatic'
8690 case $cc_basename in
8691 f77* | f90* | f95*)
8692 lt_prog_compiler_wl='-Qoption ld ';;
8693 *)
8694 lt_prog_compiler_wl='-Wl,';;
8695 esac
8696 ;;
8697
8698 sunos4*)
8699 lt_prog_compiler_wl='-Qoption ld '
8700 lt_prog_compiler_pic='-PIC'
8701 lt_prog_compiler_static='-Bstatic'
8702 ;;
8703
8704 sysv4 | sysv4.2uw2* | sysv4.3*)
8705 lt_prog_compiler_wl='-Wl,'
8706 lt_prog_compiler_pic='-KPIC'
8707 lt_prog_compiler_static='-Bstatic'
8708 ;;
8709
8710 sysv4*MP*)
8711 if test -d /usr/nec ;then
8712 lt_prog_compiler_pic='-Kconform_pic'
8713 lt_prog_compiler_static='-Bstatic'
8714 fi
8715 ;;
8716
8717 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8718 lt_prog_compiler_wl='-Wl,'
8719 lt_prog_compiler_pic='-KPIC'
8720 lt_prog_compiler_static='-Bstatic'
8721 ;;
8722
8723 unicos*)
8724 lt_prog_compiler_wl='-Wl,'
8725 lt_prog_compiler_can_build_shared=no
8726 ;;
8727
8728 uts4*)
8729 lt_prog_compiler_pic='-pic'
8730 lt_prog_compiler_static='-Bstatic'
8731 ;;
8732
8733 *)
8734 lt_prog_compiler_can_build_shared=no
8735 ;;
8736 esac
8737 fi
8738
8739case $host_os in
8740 # For platforms which do not support PIC, -DPIC is meaningless:
8741 *djgpp*)
8742 lt_prog_compiler_pic=
8743 ;;
8744 *)
8745 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8746 ;;
8747esac
8748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8749$as_echo "$lt_prog_compiler_pic" >&6; }
8750
8751
8752
8753
8754
8755
8756#
8757# Check to make sure the PIC flag actually works.
8758#
8759if test -n "$lt_prog_compiler_pic"; then
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8761$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8762if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8763 $as_echo_n "(cached) " >&6
8764else
8765 lt_cv_prog_compiler_pic_works=no
8766 ac_outfile=conftest.$ac_objext
8767 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8768 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8769 # Insert the option either (1) after the last *FLAGS variable, or
8770 # (2) before a word containing "conftest.", or (3) at the end.
8771 # Note that $ac_compile itself does not contain backslashes and begins
8772 # with a dollar sign (not a hyphen), so the echo should work correctly.
8773 # The option is referenced via a variable to avoid confusing sed.
8774 lt_compile=`echo "$ac_compile" | $SED \
8775 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8776 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8777 -e 's:$: $lt_compiler_flag:'`
8778 (eval echo "\"\$as_me:8778: $lt_compile\"" >&5)
8779 (eval "$lt_compile" 2>conftest.err)
8780 ac_status=$?
8781 cat conftest.err >&5
8782 echo "$as_me:8782: \$? = $ac_status" >&5
8783 if (exit $ac_status) && test -s "$ac_outfile"; then
8784 # The compiler can only warn and ignore the option if not recognized
8785 # So say no if there are warnings other than the usual output.
8786 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8787 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8788 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8789 lt_cv_prog_compiler_pic_works=yes
8790 fi
8791 fi
8792 $RM conftest*
8793
8794fi
8795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8796$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8797
8798if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8799 case $lt_prog_compiler_pic in
8800 "" | " "*) ;;
8801 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8802 esac
8803else
8804 lt_prog_compiler_pic=
8805 lt_prog_compiler_can_build_shared=no
8806fi
8807
8808fi
8809
8810
8811
8812
8813
8814
8815#
8816# Check to make sure the static flag actually works.
8817#
8818wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8820$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8821if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8822 $as_echo_n "(cached) " >&6
8823else
8824 lt_cv_prog_compiler_static_works=no
8825 save_LDFLAGS="$LDFLAGS"
8826 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8827 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8828 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8829 # The linker can only warn and ignore the option if not recognized
8830 # So say no if there are warnings
8831 if test -s conftest.err; then
8832 # Append any errors to the config.log.
8833 cat conftest.err 1>&5
8834 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8835 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8836 if diff conftest.exp conftest.er2 >/dev/null; then
8837 lt_cv_prog_compiler_static_works=yes
8838 fi
8839 else
8840 lt_cv_prog_compiler_static_works=yes
8841 fi
8842 fi
8843 $RM -r conftest*
8844 LDFLAGS="$save_LDFLAGS"
8845
8846fi
8847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8848$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8849
8850if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8851 :
8852else
8853 lt_prog_compiler_static=
8854fi
8855
8856
8857
8858
8859
8860
8861
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8863$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8864if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8865 $as_echo_n "(cached) " >&6
8866else
8867 lt_cv_prog_compiler_c_o=no
8868 $RM -r conftest 2>/dev/null
8869 mkdir conftest
8870 cd conftest
8871 mkdir out
8872 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8873
8874 lt_compiler_flag="-o out/conftest2.$ac_objext"
8875 # Insert the option either (1) after the last *FLAGS variable, or
8876 # (2) before a word containing "conftest.", or (3) at the end.
8877 # Note that $ac_compile itself does not contain backslashes and begins
8878 # with a dollar sign (not a hyphen), so the echo should work correctly.
8879 lt_compile=`echo "$ac_compile" | $SED \
8880 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8881 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8882 -e 's:$: $lt_compiler_flag:'`
8883 (eval echo "\"\$as_me:8883: $lt_compile\"" >&5)
8884 (eval "$lt_compile" 2>out/conftest.err)
8885 ac_status=$?
8886 cat out/conftest.err >&5
8887 echo "$as_me:8887: \$? = $ac_status" >&5
8888 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8889 then
8890 # The compiler can only warn and ignore the option if not recognized
8891 # So say no if there are warnings
8892 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8893 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8894 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8895 lt_cv_prog_compiler_c_o=yes
8896 fi
8897 fi
8898 chmod u+w . 2>&5
8899 $RM conftest*
8900 # SGI C++ compiler will create directory out/ii_files/ for
8901 # template instantiation
8902 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8903 $RM out/* && rmdir out
8904 cd ..
8905 $RM -r conftest
8906 $RM conftest*
8907
8908fi
8909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8910$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8911
8912
8913
8914
8915
8916
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8918$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8919if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8920 $as_echo_n "(cached) " >&6
8921else
8922 lt_cv_prog_compiler_c_o=no
8923 $RM -r conftest 2>/dev/null
8924 mkdir conftest
8925 cd conftest
8926 mkdir out
8927 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8928
8929 lt_compiler_flag="-o out/conftest2.$ac_objext"
8930 # Insert the option either (1) after the last *FLAGS variable, or
8931 # (2) before a word containing "conftest.", or (3) at the end.
8932 # Note that $ac_compile itself does not contain backslashes and begins
8933 # with a dollar sign (not a hyphen), so the echo should work correctly.
8934 lt_compile=`echo "$ac_compile" | $SED \
8935 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8936 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8937 -e 's:$: $lt_compiler_flag:'`
8938 (eval echo "\"\$as_me:8938: $lt_compile\"" >&5)
8939 (eval "$lt_compile" 2>out/conftest.err)
8940 ac_status=$?
8941 cat out/conftest.err >&5
8942 echo "$as_me:8942: \$? = $ac_status" >&5
8943 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8944 then
8945 # The compiler can only warn and ignore the option if not recognized
8946 # So say no if there are warnings
8947 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8948 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8949 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8950 lt_cv_prog_compiler_c_o=yes
8951 fi
8952 fi
8953 chmod u+w . 2>&5
8954 $RM conftest*
8955 # SGI C++ compiler will create directory out/ii_files/ for
8956 # template instantiation
8957 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8958 $RM out/* && rmdir out
8959 cd ..
8960 $RM -r conftest
8961 $RM conftest*
8962
8963fi
8964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8965$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8966
8967
8968
8969
8970hard_links="nottested"
8971if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8972 # do not overwrite the value of need_locks provided by the user
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8974$as_echo_n "checking if we can lock with hard links... " >&6; }
8975 hard_links=yes
8976 $RM conftest*
8977 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8978 touch conftest.a
8979 ln conftest.a conftest.b 2>&5 || hard_links=no
8980 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8982$as_echo "$hard_links" >&6; }
8983 if test "$hard_links" = no; then
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8985$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8986 need_locks=warn
8987 fi
8988else
8989 need_locks=no
8990fi
8991
8992
8993
8994
8995
8996
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8998$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8999
9000 runpath_var=
9001 allow_undefined_flag=
9002 always_export_symbols=no
9003 archive_cmds=
9004 archive_expsym_cmds=
9005 compiler_needs_object=no
9006 enable_shared_with_static_runtimes=no
9007 export_dynamic_flag_spec=
9008 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9009 hardcode_automatic=no
9010 hardcode_direct=no
9011 hardcode_direct_absolute=no
9012 hardcode_libdir_flag_spec=
9013 hardcode_libdir_flag_spec_ld=
9014 hardcode_libdir_separator=
9015 hardcode_minus_L=no
9016 hardcode_shlibpath_var=unsupported
9017 inherit_rpath=no
9018 link_all_deplibs=unknown
9019 module_cmds=
9020 module_expsym_cmds=
9021 old_archive_from_new_cmds=
9022 old_archive_from_expsyms_cmds=
9023 thread_safe_flag_spec=
9024 whole_archive_flag_spec=
9025 # include_expsyms should be a list of space-separated symbols to be *always*
9026 # included in the symbol list
9027 include_expsyms=
9028 # exclude_expsyms can be an extended regexp of symbols to exclude
9029 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9030 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9031 # as well as any symbol that contains `d'.
9032 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9033 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9034 # platforms (ab)use it in PIC code, but their linkers get confused if
9035 # the symbol is explicitly referenced. Since portable code cannot
9036 # rely on this symbol name, it's probably fine to never include it in
9037 # preloaded symbol tables.
9038 # Exclude shared library initialization/finalization symbols.
9039 extract_expsyms_cmds=
9040
9041 case $host_os in
9042 cygwin* | mingw* | pw32* | cegcc*)
9043 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9044 # When not using gcc, we currently assume that we are using
9045 # Microsoft Visual C++.
9046 if test "$GCC" != yes; then
9047 with_gnu_ld=no
9048 fi
9049 ;;
9050 interix*)
9051 # we just hope/assume this is gcc and not c89 (= MSVC++)
9052 with_gnu_ld=yes
9053 ;;
9054 openbsd*)
9055 with_gnu_ld=no
9056 ;;
9057 linux* | k*bsd*-gnu)
9058 link_all_deplibs=no
9059 ;;
9060 esac
9061
9062 ld_shlibs=yes
9063 if test "$with_gnu_ld" = yes; then
9064 # If archive_cmds runs LD, not CC, wlarc should be empty
9065 wlarc='${wl}'
9066
9067 # Set some defaults for GNU ld with shared library support. These
9068 # are reset later if shared libraries are not supported. Putting them
9069 # here allows them to be overridden if necessary.
9070 runpath_var=LD_RUN_PATH
9071 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9072 export_dynamic_flag_spec='${wl}--export-dynamic'
9073 # ancient GNU ld didn't support --whole-archive et. al.
9074 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9075 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9076 else
9077 whole_archive_flag_spec=
9078 fi
9079 supports_anon_versioning=no
9080 case `$LD -v 2>&1` in
9081 *GNU\ gold*) supports_anon_versioning=yes ;;
9082 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9083 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9084 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9085 *\ 2.11.*) ;; # other 2.11 versions
9086 *) supports_anon_versioning=yes ;;
9087 esac
9088
9089 # See if GNU ld supports shared libraries.
9090 case $host_os in
9091 aix[3-9]*)
9092 # On AIX/PPC, the GNU linker is very broken
9093 if test "$host_cpu" != ia64; then
9094 ld_shlibs=no
9095 cat <<_LT_EOF 1>&2
9096
9097*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9098*** to be unable to reliably create shared libraries on AIX.
9099*** Therefore, libtool is disabling shared libraries support. If you
9100*** really care for shared libraries, you may want to modify your PATH
9101*** so that a non-GNU linker is found, and then restart.
9102
9103_LT_EOF
9104 fi
9105 ;;
9106
9107 amigaos*)
9108 case $host_cpu in
9109 powerpc)
9110 # see comment about AmigaOS4 .so support
9111 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9112 archive_expsym_cmds=''
9113 ;;
9114 m68k)
9115 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)'
9116 hardcode_libdir_flag_spec='-L$libdir'
9117 hardcode_minus_L=yes
9118 ;;
9119 esac
9120 ;;
9121
9122 beos*)
9123 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9124 allow_undefined_flag=unsupported
9125 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9126 # support --undefined. This deserves some investigation. FIXME
9127 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9128 else
9129 ld_shlibs=no
9130 fi
9131 ;;
9132
9133 cygwin* | mingw* | pw32* | cegcc*)
9134 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9135 # as there is no search path for DLLs.
9136 hardcode_libdir_flag_spec='-L$libdir'
9137 allow_undefined_flag=unsupported
9138 always_export_symbols=no
9139 enable_shared_with_static_runtimes=yes
9140 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9141
9142 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9143 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9144 # If the export-symbols file already is a .def file (1st line
9145 # is EXPORTS), use it as is; otherwise, prepend...
9146 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9147 cp $export_symbols $output_objdir/$soname.def;
9148 else
9149 echo EXPORTS > $output_objdir/$soname.def;
9150 cat $export_symbols >> $output_objdir/$soname.def;
9151 fi~
9152 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9153 else
9154 ld_shlibs=no
9155 fi
9156 ;;
9157
9158 interix[3-9]*)
9159 hardcode_direct=no
9160 hardcode_shlibpath_var=no
9161 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9162 export_dynamic_flag_spec='${wl}-E'
9163 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9164 # Instead, shared libraries are loaded at an image base (0x10000000 by
9165 # default) and relocated if they conflict, which is a slow very memory
9166 # consuming and fragmenting process. To avoid this, we pick a random,
9167 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9168 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9169 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9170 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'
9171 ;;
9172
9173 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9174 tmp_diet=no
9175 if test "$host_os" = linux-dietlibc; then
9176 case $cc_basename in
9177 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9178 esac
9179 fi
9180 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9181 && test "$tmp_diet" = no
9182 then
9183 tmp_addflag=
9184 tmp_sharedflag='-shared'
9185 case $cc_basename,$host_cpu in
9186 pgcc*) # Portland Group C compiler
9187 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'
9188 tmp_addflag=' $pic_flag'
9189 ;;
9190 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9191 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'
9192 tmp_addflag=' $pic_flag -Mnomain' ;;
9193 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9194 tmp_addflag=' -i_dynamic' ;;
9195 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9196 tmp_addflag=' -i_dynamic -nofor_main' ;;
9197 ifc* | ifort*) # Intel Fortran compiler
9198 tmp_addflag=' -nofor_main' ;;
9199 lf95*) # Lahey Fortran 8.1
9200 whole_archive_flag_spec=
9201 tmp_sharedflag='--shared' ;;
9202 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9203 tmp_sharedflag='-qmkshrobj'
9204 tmp_addflag= ;;
9205 esac
9206 case `$CC -V 2>&1 | sed 5q` in
9207 *Sun\ C*) # Sun C 5.9
9208 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'
9209 compiler_needs_object=yes
9210 tmp_sharedflag='-G' ;;
9211 *Sun\ F*) # Sun Fortran 8.3
9212 tmp_sharedflag='-G' ;;
9213 esac
9214 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9215
9216 if test "x$supports_anon_versioning" = xyes; then
9217 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9218 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9219 echo "local: *; };" >> $output_objdir/$libname.ver~
9220 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9221 fi
9222
9223 case $cc_basename in
9224 xlf*)
9225 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9226 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9227 hardcode_libdir_flag_spec=
9228 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9229 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9230 if test "x$supports_anon_versioning" = xyes; then
9231 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9232 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9233 echo "local: *; };" >> $output_objdir/$libname.ver~
9234 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9235 fi
9236 ;;
9237 esac
9238 else
9239 ld_shlibs=no
9240 fi
9241 ;;
9242
9243 netbsd* | netbsdelf*-gnu)
9244 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9245 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9246 wlarc=
9247 else
9248 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9249 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9250 fi
9251 ;;
9252
9253 solaris*)
9254 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9255 ld_shlibs=no
9256 cat <<_LT_EOF 1>&2
9257
9258*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9259*** create shared libraries on Solaris systems. Therefore, libtool
9260*** is disabling shared libraries support. We urge you to upgrade GNU
9261*** binutils to release 2.9.1 or newer. Another option is to modify
9262*** your PATH or compiler configuration so that the native linker is
9263*** used, and then restart.
9264
9265_LT_EOF
9266 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9267 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9268 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9269 else
9270 ld_shlibs=no
9271 fi
9272 ;;
9273
9274 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9275 case `$LD -v 2>&1` in
9276 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9277 ld_shlibs=no
9278 cat <<_LT_EOF 1>&2
9279
9280*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9281*** reliably create shared libraries on SCO systems. Therefore, libtool
9282*** is disabling shared libraries support. We urge you to upgrade GNU
9283*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9284*** your PATH or compiler configuration so that the native linker is
9285*** used, and then restart.
9286
9287_LT_EOF
9288 ;;
9289 *)
9290 # For security reasons, it is highly recommended that you always
9291 # use absolute paths for naming shared libraries, and exclude the
9292 # DT_RUNPATH tag from executables and libraries. But doing so
9293 # requires that you compile everything twice, which is a pain.
9294 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9295 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9296 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9297 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9298 else
9299 ld_shlibs=no
9300 fi
9301 ;;
9302 esac
9303 ;;
9304
9305 sunos4*)
9306 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9307 wlarc=
9308 hardcode_direct=yes
9309 hardcode_shlibpath_var=no
9310 ;;
9311
9312 *)
9313 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9314 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9315 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9316 else
9317 ld_shlibs=no
9318 fi
9319 ;;
9320 esac
9321
9322 if test "$ld_shlibs" = no; then
9323 runpath_var=
9324 hardcode_libdir_flag_spec=
9325 export_dynamic_flag_spec=
9326 whole_archive_flag_spec=
9327 fi
9328 else
9329 # PORTME fill in a description of your system's linker (not GNU ld)
9330 case $host_os in
9331 aix3*)
9332 allow_undefined_flag=unsupported
9333 always_export_symbols=yes
9334 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'
9335 # Note: this linker hardcodes the directories in LIBPATH if there
9336 # are no directories specified by -L.
9337 hardcode_minus_L=yes
9338 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9339 # Neither direct hardcoding nor static linking is supported with a
9340 # broken collect2.
9341 hardcode_direct=unsupported
9342 fi
9343 ;;
9344
9345 aix[4-9]*)
9346 if test "$host_cpu" = ia64; then
9347 # On IA64, the linker does run time linking by default, so we don't
9348 # have to do anything special.
9349 aix_use_runtimelinking=no
9350 exp_sym_flag='-Bexport'
9351 no_entry_flag=""
9352 else
9353 # If we're using GNU nm, then we don't want the "-C" option.
9354 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9355 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9356 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'
9357 else
9358 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'
9359 fi
9360 aix_use_runtimelinking=no
9361
9362 # Test if we are trying to use run time linking or normal
9363 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9364 # need to do runtime linking.
9365 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9366 for ld_flag in $LDFLAGS; do
9367 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9368 aix_use_runtimelinking=yes
9369 break
9370 fi
9371 done
9372 ;;
9373 esac
9374
9375 exp_sym_flag='-bexport'
9376 no_entry_flag='-bnoentry'
9377 fi
9378
9379 # When large executables or shared objects are built, AIX ld can
9380 # have problems creating the table of contents. If linking a library
9381 # or program results in "error TOC overflow" add -mminimal-toc to
9382 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9383 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9384
9385 archive_cmds=''
9386 hardcode_direct=yes
9387 hardcode_direct_absolute=yes
9388 hardcode_libdir_separator=':'
9389 link_all_deplibs=yes
9390 file_list_spec='${wl}-f,'
9391
9392 if test "$GCC" = yes; then
9393 case $host_os in aix4.[012]|aix4.[012].*)
9394 # We only want to do this on AIX 4.2 and lower, the check
9395 # below for broken collect2 doesn't work under 4.3+
9396 collect2name=`${CC} -print-prog-name=collect2`
9397 if test -f "$collect2name" &&
9398 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9399 then
9400 # We have reworked collect2
9401 :
9402 else
9403 # We have old collect2
9404 hardcode_direct=unsupported
9405 # It fails to find uninstalled libraries when the uninstalled
9406 # path is not listed in the libpath. Setting hardcode_minus_L
9407 # to unsupported forces relinking
9408 hardcode_minus_L=yes
9409 hardcode_libdir_flag_spec='-L$libdir'
9410 hardcode_libdir_separator=
9411 fi
9412 ;;
9413 esac
9414 shared_flag='-shared'
9415 if test "$aix_use_runtimelinking" = yes; then
9416 shared_flag="$shared_flag "'${wl}-G'
9417 fi
9418 link_all_deplibs=no
9419 else
9420 # not using gcc
9421 if test "$host_cpu" = ia64; then
9422 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9423 # chokes on -Wl,-G. The following line is correct:
9424 shared_flag='-G'
9425 else
9426 if test "$aix_use_runtimelinking" = yes; then
9427 shared_flag='${wl}-G'
9428 else
9429 shared_flag='${wl}-bM:SRE'
9430 fi
9431 fi
9432 fi
9433
9434 export_dynamic_flag_spec='${wl}-bexpall'
9435 # It seems that -bexpall does not export symbols beginning with
9436 # underscore (_), so it is better to generate a list of symbols to export.
9437 always_export_symbols=yes
9438 if test "$aix_use_runtimelinking" = yes; then
9439 # Warning - without using the other runtime loading flags (-brtl),
9440 # -berok will link without error, but may produce a broken library.
9441 allow_undefined_flag='-berok'
9442 # Determine the default libpath from the value encoded in an
9443 # empty executable.
9444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9445/* end confdefs.h. */
9446
9447int
9448main ()
9449{
9450
9451 ;
9452 return 0;
9453}
9454_ACEOF
9455if ac_fn_c_try_link "$LINENO"; then :
9456
9457lt_aix_libpath_sed='
9458 /Import File Strings/,/^$/ {
9459 /^0/ {
9460 s/^0 *\(.*\)$/\1/
9461 p
9462 }
9463 }'
9464aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9465# Check for a 64-bit object if we didn't find anything.
9466if test -z "$aix_libpath"; then
9467 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9468fi
9469fi
9470rm -f core conftest.err conftest.$ac_objext \
9471 conftest$ac_exeext conftest.$ac_ext
9472if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9473
9474 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9475 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"
9476 else
9477 if test "$host_cpu" = ia64; then
9478 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9479 allow_undefined_flag="-z nodefs"
9480 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"
9481 else
9482 # Determine the default libpath from the value encoded in an
9483 # empty executable.
9484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9485/* end confdefs.h. */
9486
9487int
9488main ()
9489{
9490
9491 ;
9492 return 0;
9493}
9494_ACEOF
9495if ac_fn_c_try_link "$LINENO"; then :
9496
9497lt_aix_libpath_sed='
9498 /Import File Strings/,/^$/ {
9499 /^0/ {
9500 s/^0 *\(.*\)$/\1/
9501 p
9502 }
9503 }'
9504aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9505# Check for a 64-bit object if we didn't find anything.
9506if test -z "$aix_libpath"; then
9507 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9508fi
9509fi
9510rm -f core conftest.err conftest.$ac_objext \
9511 conftest$ac_exeext conftest.$ac_ext
9512if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9513
9514 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9515 # Warning - without using the other run time loading flags,
9516 # -berok will link without error, but may produce a broken library.
9517 no_undefined_flag=' ${wl}-bernotok'
9518 allow_undefined_flag=' ${wl}-berok'
9519 # Exported symbols can be pulled into shared objects from archives
9520 whole_archive_flag_spec='$convenience'
9521 archive_cmds_need_lc=yes
9522 # This is similar to how AIX traditionally builds its shared libraries.
9523 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'
9524 fi
9525 fi
9526 ;;
9527
9528 amigaos*)
9529 case $host_cpu in
9530 powerpc)
9531 # see comment about AmigaOS4 .so support
9532 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9533 archive_expsym_cmds=''
9534 ;;
9535 m68k)
9536 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)'
9537 hardcode_libdir_flag_spec='-L$libdir'
9538 hardcode_minus_L=yes
9539 ;;
9540 esac
9541 ;;
9542
9543 bsdi[45]*)
9544 export_dynamic_flag_spec=-rdynamic
9545 ;;
9546
9547 cygwin* | mingw* | pw32* | cegcc*)
9548 # When not using gcc, we currently assume that we are using
9549 # Microsoft Visual C++.
9550 # hardcode_libdir_flag_spec is actually meaningless, as there is
9551 # no search path for DLLs.
9552 hardcode_libdir_flag_spec=' '
9553 allow_undefined_flag=unsupported
9554 # Tell ltmain to make .lib files, not .a files.
9555 libext=lib
9556 # Tell ltmain to make .dll files, not .so files.
9557 shrext_cmds=".dll"
9558 # FIXME: Setting linknames here is a bad hack.
9559 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9560 # The linker will automatically build a .lib file if we build a DLL.
9561 old_archive_from_new_cmds='true'
9562 # FIXME: Should let the user specify the lib program.
9563 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9564 fix_srcfile_path='`cygpath -w "$srcfile"`'
9565 enable_shared_with_static_runtimes=yes
9566 ;;
9567
9568 darwin* | rhapsody*)
9569
9570
9571 archive_cmds_need_lc=no
9572 hardcode_direct=no
9573 hardcode_automatic=yes
9574 hardcode_shlibpath_var=unsupported
9575 whole_archive_flag_spec=''
9576 link_all_deplibs=yes
9577 allow_undefined_flag="$_lt_dar_allow_undefined"
9578 case $cc_basename in
9579 ifort*) _lt_dar_can_shared=yes ;;
9580 *) _lt_dar_can_shared=$GCC ;;
9581 esac
9582 if test "$_lt_dar_can_shared" = "yes"; then
9583 output_verbose_link_cmd=echo
9584 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9585 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9586 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}"
9587 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}"
9588
9589 else
9590 ld_shlibs=no
9591 fi
9592
9593 ;;
9594
9595 dgux*)
9596 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9597 hardcode_libdir_flag_spec='-L$libdir'
9598 hardcode_shlibpath_var=no
9599 ;;
9600
9601 freebsd1*)
9602 ld_shlibs=no
9603 ;;
9604
9605 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9606 # support. Future versions do this automatically, but an explicit c++rt0.o
9607 # does not break anything, and helps significantly (at the cost of a little
9608 # extra space).
9609 freebsd2.2*)
9610 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9611 hardcode_libdir_flag_spec='-R$libdir'
9612 hardcode_direct=yes
9613 hardcode_shlibpath_var=no
9614 ;;
9615
9616 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9617 freebsd2*)
9618 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9619 hardcode_direct=yes
9620 hardcode_minus_L=yes
9621 hardcode_shlibpath_var=no
9622 ;;
9623
9624 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9625 freebsd* | dragonfly*)
9626 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9627 hardcode_libdir_flag_spec='-R$libdir'
9628 hardcode_direct=yes
9629 hardcode_shlibpath_var=no
9630 ;;
9631
9632 hpux9*)
9633 if test "$GCC" = yes; then
9634 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'
9635 else
9636 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'
9637 fi
9638 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9639 hardcode_libdir_separator=:
9640 hardcode_direct=yes
9641
9642 # hardcode_minus_L: Not really in the search PATH,
9643 # but as the default location of the library.
9644 hardcode_minus_L=yes
9645 export_dynamic_flag_spec='${wl}-E'
9646 ;;
9647
9648 hpux10*)
9649 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9650 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9651 else
9652 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9653 fi
9654 if test "$with_gnu_ld" = no; then
9655 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9656 hardcode_libdir_flag_spec_ld='+b $libdir'
9657 hardcode_libdir_separator=:
9658 hardcode_direct=yes
9659 hardcode_direct_absolute=yes
9660 export_dynamic_flag_spec='${wl}-E'
9661 # hardcode_minus_L: Not really in the search PATH,
9662 # but as the default location of the library.
9663 hardcode_minus_L=yes
9664 fi
9665 ;;
9666
9667 hpux11*)
9668 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9669 case $host_cpu in
9670 hppa*64*)
9671 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9672 ;;
9673 ia64*)
9674 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9675 ;;
9676 *)
9677 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9678 ;;
9679 esac
9680 else
9681 case $host_cpu in
9682 hppa*64*)
9683 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9684 ;;
9685 ia64*)
9686 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9687 ;;
9688 *)
9689 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9690 ;;
9691 esac
9692 fi
9693 if test "$with_gnu_ld" = no; then
9694 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9695 hardcode_libdir_separator=:
9696
9697 case $host_cpu in
9698 hppa*64*|ia64*)
9699 hardcode_direct=no
9700 hardcode_shlibpath_var=no
9701 ;;
9702 *)
9703 hardcode_direct=yes
9704 hardcode_direct_absolute=yes
9705 export_dynamic_flag_spec='${wl}-E'
9706
9707 # hardcode_minus_L: Not really in the search PATH,
9708 # but as the default location of the library.
9709 hardcode_minus_L=yes
9710 ;;
9711 esac
9712 fi
9713 ;;
9714
9715 irix5* | irix6* | nonstopux*)
9716 if test "$GCC" = yes; then
9717 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'
9718 # Try to use the -exported_symbol ld option, if it does not
9719 # work, assume that -exports_file does not work either and
9720 # implicitly export all symbols.
9721 save_LDFLAGS="$LDFLAGS"
9722 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9724/* end confdefs.h. */
9725int foo(void) {}
9726_ACEOF
9727if ac_fn_c_try_link "$LINENO"; then :
9728 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'
9729
9730fi
9731rm -f core conftest.err conftest.$ac_objext \
9732 conftest$ac_exeext conftest.$ac_ext
9733 LDFLAGS="$save_LDFLAGS"
9734 else
9735 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'
9736 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'
9737 fi
9738 archive_cmds_need_lc='no'
9739 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9740 hardcode_libdir_separator=:
9741 inherit_rpath=yes
9742 link_all_deplibs=yes
9743 ;;
9744
9745 netbsd* | netbsdelf*-gnu)
9746 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9747 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9748 else
9749 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9750 fi
9751 hardcode_libdir_flag_spec='-R$libdir'
9752 hardcode_direct=yes
9753 hardcode_shlibpath_var=no
9754 ;;
9755
9756 newsos6)
9757 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9758 hardcode_direct=yes
9759 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9760 hardcode_libdir_separator=:
9761 hardcode_shlibpath_var=no
9762 ;;
9763
9764 *nto* | *qnx*)
9765 ;;
9766
9767 openbsd*)
9768 if test -f /usr/libexec/ld.so; then
9769 hardcode_direct=yes
9770 hardcode_shlibpath_var=no
9771 hardcode_direct_absolute=yes
9772 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9773 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9774 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9775 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9776 export_dynamic_flag_spec='${wl}-E'
9777 else
9778 case $host_os in
9779 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9780 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9781 hardcode_libdir_flag_spec='-R$libdir'
9782 ;;
9783 *)
9784 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9785 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9786 ;;
9787 esac
9788 fi
9789 else
9790 ld_shlibs=no
9791 fi
9792 ;;
9793
9794 os2*)
9795 hardcode_libdir_flag_spec='-L$libdir'
9796 hardcode_minus_L=yes
9797 allow_undefined_flag=unsupported
9798 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'
9799 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9800 ;;
9801
9802 osf3*)
9803 if test "$GCC" = yes; then
9804 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9805 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'
9806 else
9807 allow_undefined_flag=' -expect_unresolved \*'
9808 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'
9809 fi
9810 archive_cmds_need_lc='no'
9811 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9812 hardcode_libdir_separator=:
9813 ;;
9814
9815 osf4* | osf5*) # as osf3* with the addition of -msym flag
9816 if test "$GCC" = yes; then
9817 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9818 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'
9819 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9820 else
9821 allow_undefined_flag=' -expect_unresolved \*'
9822 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'
9823 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~
9824 $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'
9825
9826 # Both c and cxx compiler support -rpath directly
9827 hardcode_libdir_flag_spec='-rpath $libdir'
9828 fi
9829 archive_cmds_need_lc='no'
9830 hardcode_libdir_separator=:
9831 ;;
9832
9833 solaris*)
9834 no_undefined_flag=' -z defs'
9835 if test "$GCC" = yes; then
9836 wlarc='${wl}'
9837 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9838 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9839 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9840 else
9841 case `$CC -V 2>&1` in
9842 *"Compilers 5.0"*)
9843 wlarc=''
9844 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9845 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9846 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9847 ;;
9848 *)
9849 wlarc='${wl}'
9850 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9851 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9852 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9853 ;;
9854 esac
9855 fi
9856 hardcode_libdir_flag_spec='-R$libdir'
9857 hardcode_shlibpath_var=no
9858 case $host_os in
9859 solaris2.[0-5] | solaris2.[0-5].*) ;;
9860 *)
9861 # The compiler driver will combine and reorder linker options,
9862 # but understands `-z linker_flag'. GCC discards it without `$wl',
9863 # but is careful enough not to reorder.
9864 # Supported since Solaris 2.6 (maybe 2.5.1?)
9865 if test "$GCC" = yes; then
9866 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9867 else
9868 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9869 fi
9870 ;;
9871 esac
9872 link_all_deplibs=yes
9873 ;;
9874
9875 sunos4*)
9876 if test "x$host_vendor" = xsequent; then
9877 # Use $CC to link under sequent, because it throws in some extra .o
9878 # files that make .init and .fini sections work.
9879 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9880 else
9881 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9882 fi
9883 hardcode_libdir_flag_spec='-L$libdir'
9884 hardcode_direct=yes
9885 hardcode_minus_L=yes
9886 hardcode_shlibpath_var=no
9887 ;;
9888
9889 sysv4)
9890 case $host_vendor in
9891 sni)
9892 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9893 hardcode_direct=yes # is this really true???
9894 ;;
9895 siemens)
9896 ## LD is ld it makes a PLAMLIB
9897 ## CC just makes a GrossModule.
9898 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9899 reload_cmds='$CC -r -o $output$reload_objs'
9900 hardcode_direct=no
9901 ;;
9902 motorola)
9903 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9904 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9905 ;;
9906 esac
9907 runpath_var='LD_RUN_PATH'
9908 hardcode_shlibpath_var=no
9909 ;;
9910
9911 sysv4.3*)
9912 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9913 hardcode_shlibpath_var=no
9914 export_dynamic_flag_spec='-Bexport'
9915 ;;
9916
9917 sysv4*MP*)
9918 if test -d /usr/nec; then
9919 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9920 hardcode_shlibpath_var=no
9921 runpath_var=LD_RUN_PATH
9922 hardcode_runpath_var=yes
9923 ld_shlibs=yes
9924 fi
9925 ;;
9926
9927 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9928 no_undefined_flag='${wl}-z,text'
9929 archive_cmds_need_lc=no
9930 hardcode_shlibpath_var=no
9931 runpath_var='LD_RUN_PATH'
9932
9933 if test "$GCC" = yes; then
9934 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9935 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9936 else
9937 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9938 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9939 fi
9940 ;;
9941
9942 sysv5* | sco3.2v5* | sco5v6*)
9943 # Note: We can NOT use -z defs as we might desire, because we do not
9944 # link with -lc, and that would cause any symbols used from libc to
9945 # always be unresolved, which means just about no library would
9946 # ever link correctly. If we're not using GNU ld we use -z text
9947 # though, which does catch some bad symbols but isn't as heavy-handed
9948 # as -z defs.
9949 no_undefined_flag='${wl}-z,text'
9950 allow_undefined_flag='${wl}-z,nodefs'
9951 archive_cmds_need_lc=no
9952 hardcode_shlibpath_var=no
9953 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9954 hardcode_libdir_separator=':'
9955 link_all_deplibs=yes
9956 export_dynamic_flag_spec='${wl}-Bexport'
9957 runpath_var='LD_RUN_PATH'
9958
9959 if test "$GCC" = yes; then
9960 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9961 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9962 else
9963 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9964 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9965 fi
9966 ;;
9967
9968 uts4*)
9969 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9970 hardcode_libdir_flag_spec='-L$libdir'
9971 hardcode_shlibpath_var=no
9972 ;;
9973
9974 *)
9975 ld_shlibs=no
9976 ;;
9977 esac
9978
9979 if test x$host_vendor = xsni; then
9980 case $host in
9981 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9982 export_dynamic_flag_spec='${wl}-Blargedynsym'
9983 ;;
9984 esac
9985 fi
9986 fi
9987
9988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9989$as_echo "$ld_shlibs" >&6; }
9990test "$ld_shlibs" = no && can_build_shared=no
9991
9992with_gnu_ld=$with_gnu_ld
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008#
10009# Do we need to explicitly link libc?
10010#
10011case "x$archive_cmds_need_lc" in
10012x|xyes)
10013 # Assume -lc should be added
10014 archive_cmds_need_lc=yes
10015
10016 if test "$enable_shared" = yes && test "$GCC" = yes; then
10017 case $archive_cmds in
10018 *'~'*)
10019 # FIXME: we may have to deal with multi-command sequences.
10020 ;;
10021 '$CC '*)
10022 # Test whether the compiler implicitly links with -lc since on some
10023 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10024 # to ld, don't add -lc before -lgcc.
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10026$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10027 $RM conftest*
10028 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10029
10030 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10031 (eval $ac_compile) 2>&5
10032 ac_status=$?
10033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10034 test $ac_status = 0; } 2>conftest.err; then
10035 soname=conftest
10036 lib=conftest
10037 libobjs=conftest.$ac_objext
10038 deplibs=
10039 wl=$lt_prog_compiler_wl
10040 pic_flag=$lt_prog_compiler_pic
10041 compiler_flags=-v
10042 linker_flags=-v
10043 verstring=
10044 output_objdir=.
10045 libname=conftest
10046 lt_save_allow_undefined_flag=$allow_undefined_flag
10047 allow_undefined_flag=
10048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10049 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10050 ac_status=$?
10051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10052 test $ac_status = 0; }
10053 then
10054 archive_cmds_need_lc=no
10055 else
10056 archive_cmds_need_lc=yes
10057 fi
10058 allow_undefined_flag=$lt_save_allow_undefined_flag
10059 else
10060 cat conftest.err 1>&5
10061 fi
10062 $RM conftest*
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10064$as_echo "$archive_cmds_need_lc" >&6; }
10065 ;;
10066 esac
10067 fi
10068 ;;
10069esac
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10228$as_echo_n "checking dynamic linker characteristics... " >&6; }
10229
10230if test "$GCC" = yes; then
10231 case $host_os in
10232 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10233 *) lt_awk_arg="/^libraries:/" ;;
10234 esac
10235 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10236 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10237 # if the path contains ";" then we assume it to be the separator
10238 # otherwise default to the standard path separator (i.e. ":") - it is
10239 # assumed that no part of a normal pathname contains ";" but that should
10240 # okay in the real world where ";" in dirpaths is itself problematic.
10241 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10242 else
10243 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10244 fi
10245 # Ok, now we have the path, separated by spaces, we can step through it
10246 # and add multilib dir if necessary.
10247 lt_tmp_lt_search_path_spec=
10248 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10249 for lt_sys_path in $lt_search_path_spec; do
10250 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10251 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10252 else
10253 test -d "$lt_sys_path" && \
10254 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10255 fi
10256 done
10257 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10258BEGIN {RS=" "; FS="/|\n";} {
10259 lt_foo="";
10260 lt_count=0;
10261 for (lt_i = NF; lt_i > 0; lt_i--) {
10262 if ($lt_i != "" && $lt_i != ".") {
10263 if ($lt_i == "..") {
10264 lt_count++;
10265 } else {
10266 if (lt_count == 0) {
10267 lt_foo="/" $lt_i lt_foo;
10268 } else {
10269 lt_count--;
10270 }
10271 }
10272 }
10273 }
10274 if (lt_foo != "") { lt_freq[lt_foo]++; }
10275 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10276}'`
10277 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10278else
10279 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10280fi
10281library_names_spec=
10282libname_spec='lib$name'
10283soname_spec=
10284shrext_cmds=".so"
10285postinstall_cmds=
10286postuninstall_cmds=
10287finish_cmds=
10288finish_eval=
10289shlibpath_var=
10290shlibpath_overrides_runpath=unknown
10291version_type=none
10292dynamic_linker="$host_os ld.so"
10293sys_lib_dlsearch_path_spec="/lib /usr/lib"
10294need_lib_prefix=unknown
10295hardcode_into_libs=no
10296
10297# when you set need_version to no, make sure it does not cause -set_version
10298# flags to be left without arguments
10299need_version=unknown
10300
10301case $host_os in
10302aix3*)
10303 version_type=linux
10304 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10305 shlibpath_var=LIBPATH
10306
10307 # AIX 3 has no versioning support, so we append a major version to the name.
10308 soname_spec='${libname}${release}${shared_ext}$major'
10309 ;;
10310
10311aix[4-9]*)
10312 version_type=linux
10313 need_lib_prefix=no
10314 need_version=no
10315 hardcode_into_libs=yes
10316 if test "$host_cpu" = ia64; then
10317 # AIX 5 supports IA64
10318 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10319 shlibpath_var=LD_LIBRARY_PATH
10320 else
10321 # With GCC up to 2.95.x, collect2 would create an import file
10322 # for dependence libraries. The import file would start with
10323 # the line `#! .'. This would cause the generated library to
10324 # depend on `.', always an invalid library. This was fixed in
10325 # development snapshots of GCC prior to 3.0.
10326 case $host_os in
10327 aix4 | aix4.[01] | aix4.[01].*)
10328 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10329 echo ' yes '
10330 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10331 :
10332 else
10333 can_build_shared=no
10334 fi
10335 ;;
10336 esac
10337 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10338 # soname into executable. Probably we can add versioning support to
10339 # collect2, so additional links can be useful in future.
10340 if test "$aix_use_runtimelinking" = yes; then
10341 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10342 # instead of lib<name>.a to let people know that these are not
10343 # typical AIX shared libraries.
10344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10345 else
10346 # We preserve .a as extension for shared libraries through AIX4.2
10347 # and later when we are not doing run time linking.
10348 library_names_spec='${libname}${release}.a $libname.a'
10349 soname_spec='${libname}${release}${shared_ext}$major'
10350 fi
10351 shlibpath_var=LIBPATH
10352 fi
10353 ;;
10354
10355amigaos*)
10356 case $host_cpu in
10357 powerpc)
10358 # Since July 2007 AmigaOS4 officially supports .so libraries.
10359 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10361 ;;
10362 m68k)
10363 library_names_spec='$libname.ixlibrary $libname.a'
10364 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10365 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'
10366 ;;
10367 esac
10368 ;;
10369
10370beos*)
10371 library_names_spec='${libname}${shared_ext}'
10372 dynamic_linker="$host_os ld.so"
10373 shlibpath_var=LIBRARY_PATH
10374 ;;
10375
10376bsdi[45]*)
10377 version_type=linux
10378 need_version=no
10379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10380 soname_spec='${libname}${release}${shared_ext}$major'
10381 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10382 shlibpath_var=LD_LIBRARY_PATH
10383 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10384 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10385 # the default ld.so.conf also contains /usr/contrib/lib and
10386 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10387 # libtool to hard-code these into programs
10388 ;;
10389
10390cygwin* | mingw* | pw32* | cegcc*)
10391 version_type=windows
10392 shrext_cmds=".dll"
10393 need_version=no
10394 need_lib_prefix=no
10395
10396 case $GCC,$host_os in
10397 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10398 library_names_spec='$libname.dll.a'
10399 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10400 postinstall_cmds='base_file=`basename \${file}`~
10401 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10402 dldir=$destdir/`dirname \$dlpath`~
10403 test -d \$dldir || mkdir -p \$dldir~
10404 $install_prog $dir/$dlname \$dldir/$dlname~
10405 chmod a+x \$dldir/$dlname~
10406 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10407 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10408 fi'
10409 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10410 dlpath=$dir/\$dldll~
10411 $RM \$dlpath'
10412 shlibpath_overrides_runpath=yes
10413
10414 case $host_os in
10415 cygwin*)
10416 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10417 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10418 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10419 ;;
10420 mingw* | cegcc*)
10421 # MinGW DLLs use traditional 'lib' prefix
10422 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10423 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10424 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10425 # It is most probably a Windows format PATH printed by
10426 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10427 # path with ; separators, and with drive letters. We can handle the
10428 # drive letters (cygwin fileutils understands them), so leave them,
10429 # especially as we might pass files found there to a mingw objdump,
10430 # which wouldn't understand a cygwinified path. Ahh.
10431 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10432 else
10433 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10434 fi
10435 ;;
10436 pw32*)
10437 # pw32 DLLs use 'pw' prefix rather than 'lib'
10438 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10439 ;;
10440 esac
10441 ;;
10442
10443 *)
10444 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10445 ;;
10446 esac
10447 dynamic_linker='Win32 ld.exe'
10448 # FIXME: first we should search . and the directory the executable is in
10449 shlibpath_var=PATH
10450 ;;
10451
10452darwin* | rhapsody*)
10453 dynamic_linker="$host_os dyld"
10454 version_type=darwin
10455 need_lib_prefix=no
10456 need_version=no
10457 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10458 soname_spec='${libname}${release}${major}$shared_ext'
10459 shlibpath_overrides_runpath=yes
10460 shlibpath_var=DYLD_LIBRARY_PATH
10461 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10462
10463 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10464 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10465 ;;
10466
10467dgux*)
10468 version_type=linux
10469 need_lib_prefix=no
10470 need_version=no
10471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10472 soname_spec='${libname}${release}${shared_ext}$major'
10473 shlibpath_var=LD_LIBRARY_PATH
10474 ;;
10475
10476freebsd1*)
10477 dynamic_linker=no
10478 ;;
10479
10480freebsd* | dragonfly*)
10481 # DragonFly does not have aout. When/if they implement a new
10482 # versioning mechanism, adjust this.
10483 if test -x /usr/bin/objformat; then
10484 objformat=`/usr/bin/objformat`
10485 else
10486 case $host_os in
10487 freebsd[123]*) objformat=aout ;;
10488 *) objformat=elf ;;
10489 esac
10490 fi
10491 version_type=freebsd-$objformat
10492 case $version_type in
10493 freebsd-elf*)
10494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10495 need_version=no
10496 need_lib_prefix=no
10497 ;;
10498 freebsd-*)
10499 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10500 need_version=yes
10501 ;;
10502 esac
10503 shlibpath_var=LD_LIBRARY_PATH
10504 case $host_os in
10505 freebsd2*)
10506 shlibpath_overrides_runpath=yes
10507 ;;
10508 freebsd3.[01]* | freebsdelf3.[01]*)
10509 shlibpath_overrides_runpath=yes
10510 hardcode_into_libs=yes
10511 ;;
10512 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10513 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10514 shlibpath_overrides_runpath=no
10515 hardcode_into_libs=yes
10516 ;;
10517 *) # from 4.6 on, and DragonFly
10518 shlibpath_overrides_runpath=yes
10519 hardcode_into_libs=yes
10520 ;;
10521 esac
10522 ;;
10523
10524gnu*)
10525 version_type=linux
10526 need_lib_prefix=no
10527 need_version=no
10528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10529 soname_spec='${libname}${release}${shared_ext}$major'
10530 shlibpath_var=LD_LIBRARY_PATH
10531 hardcode_into_libs=yes
10532 ;;
10533
10534hpux9* | hpux10* | hpux11*)
10535 # Give a soname corresponding to the major version so that dld.sl refuses to
10536 # link against other versions.
10537 version_type=sunos
10538 need_lib_prefix=no
10539 need_version=no
10540 case $host_cpu in
10541 ia64*)
10542 shrext_cmds='.so'
10543 hardcode_into_libs=yes
10544 dynamic_linker="$host_os dld.so"
10545 shlibpath_var=LD_LIBRARY_PATH
10546 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10548 soname_spec='${libname}${release}${shared_ext}$major'
10549 if test "X$HPUX_IA64_MODE" = X32; then
10550 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10551 else
10552 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10553 fi
10554 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10555 ;;
10556 hppa*64*)
10557 shrext_cmds='.sl'
10558 hardcode_into_libs=yes
10559 dynamic_linker="$host_os dld.sl"
10560 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10561 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10563 soname_spec='${libname}${release}${shared_ext}$major'
10564 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10565 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10566 ;;
10567 *)
10568 shrext_cmds='.sl'
10569 dynamic_linker="$host_os dld.sl"
10570 shlibpath_var=SHLIB_PATH
10571 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10573 soname_spec='${libname}${release}${shared_ext}$major'
10574 ;;
10575 esac
10576 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10577 postinstall_cmds='chmod 555 $lib'
10578 ;;
10579
10580interix[3-9]*)
10581 version_type=linux
10582 need_lib_prefix=no
10583 need_version=no
10584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10585 soname_spec='${libname}${release}${shared_ext}$major'
10586 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10587 shlibpath_var=LD_LIBRARY_PATH
10588 shlibpath_overrides_runpath=no
10589 hardcode_into_libs=yes
10590 ;;
10591
10592irix5* | irix6* | nonstopux*)
10593 case $host_os in
10594 nonstopux*) version_type=nonstopux ;;
10595 *)
10596 if test "$lt_cv_prog_gnu_ld" = yes; then
10597 version_type=linux
10598 else
10599 version_type=irix
10600 fi ;;
10601 esac
10602 need_lib_prefix=no
10603 need_version=no
10604 soname_spec='${libname}${release}${shared_ext}$major'
10605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10606 case $host_os in
10607 irix5* | nonstopux*)
10608 libsuff= shlibsuff=
10609 ;;
10610 *)
10611 case $LD in # libtool.m4 will add one of these switches to LD
10612 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10613 libsuff= shlibsuff= libmagic=32-bit;;
10614 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10615 libsuff=32 shlibsuff=N32 libmagic=N32;;
10616 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10617 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10618 *) libsuff= shlibsuff= libmagic=never-match;;
10619 esac
10620 ;;
10621 esac
10622 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10623 shlibpath_overrides_runpath=no
10624 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10625 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10626 hardcode_into_libs=yes
10627 ;;
10628
10629# No shared lib support for Linux oldld, aout, or coff.
10630linux*oldld* | linux*aout* | linux*coff*)
10631 dynamic_linker=no
10632 ;;
10633
10634# This must be Linux ELF.
10635linux* | k*bsd*-gnu | kopensolaris*-gnu)
10636 version_type=linux
10637 need_lib_prefix=no
10638 need_version=no
10639 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10640 soname_spec='${libname}${release}${shared_ext}$major'
10641 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10642 shlibpath_var=LD_LIBRARY_PATH
10643 shlibpath_overrides_runpath=no
10644 # Some binutils ld are patched to set DT_RUNPATH
10645 save_LDFLAGS=$LDFLAGS
10646 save_libdir=$libdir
10647 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10648 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10650/* end confdefs.h. */
10651
10652int
10653main ()
10654{
10655
10656 ;
10657 return 0;
10658}
10659_ACEOF
10660if ac_fn_c_try_link "$LINENO"; then :
10661 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10662 shlibpath_overrides_runpath=yes
10663fi
10664fi
10665rm -f core conftest.err conftest.$ac_objext \
10666 conftest$ac_exeext conftest.$ac_ext
10667 LDFLAGS=$save_LDFLAGS
10668 libdir=$save_libdir
10669
10670 # This implies no fast_install, which is unacceptable.
10671 # Some rework will be needed to allow for fast_install
10672 # before this can be enabled.
10673 hardcode_into_libs=yes
10674
10675 # Append ld.so.conf contents to the search path
10676 if test -f /etc/ld.so.conf; then
10677 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' ' '`
10678 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10679 fi
10680
10681 # We used to test for /lib/ld.so.1 and disable shared libraries on
10682 # powerpc, because MkLinux only supported shared libraries with the
10683 # GNU dynamic linker. Since this was broken with cross compilers,
10684 # most powerpc-linux boxes support dynamic linking these days and
10685 # people can always --disable-shared, the test was removed, and we
10686 # assume the GNU/Linux dynamic linker is in use.
10687 dynamic_linker='GNU/Linux ld.so'
10688 ;;
10689
10690netbsdelf*-gnu)
10691 version_type=linux
10692 need_lib_prefix=no
10693 need_version=no
10694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10695 soname_spec='${libname}${release}${shared_ext}$major'
10696 shlibpath_var=LD_LIBRARY_PATH
10697 shlibpath_overrides_runpath=no
10698 hardcode_into_libs=yes
10699 dynamic_linker='NetBSD ld.elf_so'
10700 ;;
10701
10702netbsd*)
10703 version_type=sunos
10704 need_lib_prefix=no
10705 need_version=no
10706 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10708 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10709 dynamic_linker='NetBSD (a.out) ld.so'
10710 else
10711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10712 soname_spec='${libname}${release}${shared_ext}$major'
10713 dynamic_linker='NetBSD ld.elf_so'
10714 fi
10715 shlibpath_var=LD_LIBRARY_PATH
10716 shlibpath_overrides_runpath=yes
10717 hardcode_into_libs=yes
10718 ;;
10719
10720newsos6)
10721 version_type=linux
10722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10723 shlibpath_var=LD_LIBRARY_PATH
10724 shlibpath_overrides_runpath=yes
10725 ;;
10726
10727*nto* | *qnx*)
10728 version_type=qnx
10729 need_lib_prefix=no
10730 need_version=no
10731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10732 soname_spec='${libname}${release}${shared_ext}$major'
10733 shlibpath_var=LD_LIBRARY_PATH
10734 shlibpath_overrides_runpath=no
10735 hardcode_into_libs=yes
10736 dynamic_linker='ldqnx.so'
10737 ;;
10738
10739openbsd*)
10740 version_type=sunos
10741 sys_lib_dlsearch_path_spec="/usr/lib"
10742 need_lib_prefix=no
10743 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10744 case $host_os in
10745 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10746 *) need_version=no ;;
10747 esac
10748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10749 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10750 shlibpath_var=LD_LIBRARY_PATH
10751 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10752 case $host_os in
10753 openbsd2.[89] | openbsd2.[89].*)
10754 shlibpath_overrides_runpath=no
10755 ;;
10756 *)
10757 shlibpath_overrides_runpath=yes
10758 ;;
10759 esac
10760 else
10761 shlibpath_overrides_runpath=yes
10762 fi
10763 ;;
10764
10765os2*)
10766 libname_spec='$name'
10767 shrext_cmds=".dll"
10768 need_lib_prefix=no
10769 library_names_spec='$libname${shared_ext} $libname.a'
10770 dynamic_linker='OS/2 ld.exe'
10771 shlibpath_var=LIBPATH
10772 ;;
10773
10774osf3* | osf4* | osf5*)
10775 version_type=osf
10776 need_lib_prefix=no
10777 need_version=no
10778 soname_spec='${libname}${release}${shared_ext}$major'
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10780 shlibpath_var=LD_LIBRARY_PATH
10781 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10782 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10783 ;;
10784
10785rdos*)
10786 dynamic_linker=no
10787 ;;
10788
10789solaris*)
10790 version_type=linux
10791 need_lib_prefix=no
10792 need_version=no
10793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10794 soname_spec='${libname}${release}${shared_ext}$major'
10795 shlibpath_var=LD_LIBRARY_PATH
10796 shlibpath_overrides_runpath=yes
10797 hardcode_into_libs=yes
10798 # ldd complains unless libraries are executable
10799 postinstall_cmds='chmod +x $lib'
10800 ;;
10801
10802sunos4*)
10803 version_type=sunos
10804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10805 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10806 shlibpath_var=LD_LIBRARY_PATH
10807 shlibpath_overrides_runpath=yes
10808 if test "$with_gnu_ld" = yes; then
10809 need_lib_prefix=no
10810 fi
10811 need_version=yes
10812 ;;
10813
10814sysv4 | sysv4.3*)
10815 version_type=linux
10816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10817 soname_spec='${libname}${release}${shared_ext}$major'
10818 shlibpath_var=LD_LIBRARY_PATH
10819 case $host_vendor in
10820 sni)
10821 shlibpath_overrides_runpath=no
10822 need_lib_prefix=no
10823 runpath_var=LD_RUN_PATH
10824 ;;
10825 siemens)
10826 need_lib_prefix=no
10827 ;;
10828 motorola)
10829 need_lib_prefix=no
10830 need_version=no
10831 shlibpath_overrides_runpath=no
10832 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10833 ;;
10834 esac
10835 ;;
10836
10837sysv4*MP*)
10838 if test -d /usr/nec ;then
10839 version_type=linux
10840 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10841 soname_spec='$libname${shared_ext}.$major'
10842 shlibpath_var=LD_LIBRARY_PATH
10843 fi
10844 ;;
10845
10846sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10847 version_type=freebsd-elf
10848 need_lib_prefix=no
10849 need_version=no
10850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10851 soname_spec='${libname}${release}${shared_ext}$major'
10852 shlibpath_var=LD_LIBRARY_PATH
10853 shlibpath_overrides_runpath=yes
10854 hardcode_into_libs=yes
10855 if test "$with_gnu_ld" = yes; then
10856 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10857 else
10858 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10859 case $host_os in
10860 sco3.2v5*)
10861 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10862 ;;
10863 esac
10864 fi
10865 sys_lib_dlsearch_path_spec='/usr/lib'
10866 ;;
10867
10868tpf*)
10869 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10870 version_type=linux
10871 need_lib_prefix=no
10872 need_version=no
10873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10874 shlibpath_var=LD_LIBRARY_PATH
10875 shlibpath_overrides_runpath=no
10876 hardcode_into_libs=yes
10877 ;;
10878
10879uts4*)
10880 version_type=linux
10881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10882 soname_spec='${libname}${release}${shared_ext}$major'
10883 shlibpath_var=LD_LIBRARY_PATH
10884 ;;
10885
10886*)
10887 dynamic_linker=no
10888 ;;
10889esac
10890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10891$as_echo "$dynamic_linker" >&6; }
10892test "$dynamic_linker" = no && can_build_shared=no
10893
10894variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10895if test "$GCC" = yes; then
10896 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10897fi
10898
10899if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10900 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10901fi
10902if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10903 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10904fi
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10993$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10994hardcode_action=
10995if test -n "$hardcode_libdir_flag_spec" ||
10996 test -n "$runpath_var" ||
10997 test "X$hardcode_automatic" = "Xyes" ; then
10998
10999 # We can hardcode non-existent directories.
11000 if test "$hardcode_direct" != no &&
11001 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11002 # have to relink, otherwise we might link with an installed library
11003 # when we should be linking with a yet-to-be-installed one
11004 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11005 test "$hardcode_minus_L" != no; then
11006 # Linking always hardcodes the temporary library directory.
11007 hardcode_action=relink
11008 else
11009 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11010 hardcode_action=immediate
11011 fi
11012else
11013 # We cannot hardcode anything, or else we can only hardcode existing
11014 # directories.
11015 hardcode_action=unsupported
11016fi
11017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11018$as_echo "$hardcode_action" >&6; }
11019
11020if test "$hardcode_action" = relink ||
11021 test "$inherit_rpath" = yes; then
11022 # Fast installation is not supported
11023 enable_fast_install=no
11024elif test "$shlibpath_overrides_runpath" = yes ||
11025 test "$enable_shared" = no; then
11026 # Fast installation is not necessary
11027 enable_fast_install=needless
11028fi
11029
11030
11031
11032
11033
11034
11035 if test "x$enable_dlopen" != xyes; then
11036 enable_dlopen=unknown
11037 enable_dlopen_self=unknown
11038 enable_dlopen_self_static=unknown
11039else
11040 lt_cv_dlopen=no
11041 lt_cv_dlopen_libs=
11042
11043 case $host_os in
11044 beos*)
11045 lt_cv_dlopen="load_add_on"
11046 lt_cv_dlopen_libs=
11047 lt_cv_dlopen_self=yes
11048 ;;
11049
11050 mingw* | pw32* | cegcc*)
11051 lt_cv_dlopen="LoadLibrary"
11052 lt_cv_dlopen_libs=
11053 ;;
11054
11055 cygwin*)
11056 lt_cv_dlopen="dlopen"
11057 lt_cv_dlopen_libs=
11058 ;;
11059
11060 darwin*)
11061 # if libdl is installed we need to link against it
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11063$as_echo_n "checking for dlopen in -ldl... " >&6; }
11064if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11065 $as_echo_n "(cached) " >&6
11066else
11067 ac_check_lib_save_LIBS=$LIBS
11068LIBS="-ldl $LIBS"
11069cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070/* end confdefs.h. */
11071
11072/* Override any GCC internal prototype to avoid an error.
11073 Use char because int might match the return type of a GCC
11074 builtin and then its argument prototype would still apply. */
11075#ifdef __cplusplus
11076extern "C"
11077#endif
11078char dlopen ();
11079int
11080main ()
11081{
11082return dlopen ();
11083 ;
11084 return 0;
11085}
11086_ACEOF
11087if ac_fn_c_try_link "$LINENO"; then :
11088 ac_cv_lib_dl_dlopen=yes
11089else
11090 ac_cv_lib_dl_dlopen=no
11091fi
11092rm -f core conftest.err conftest.$ac_objext \
11093 conftest$ac_exeext conftest.$ac_ext
11094LIBS=$ac_check_lib_save_LIBS
11095fi
11096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11097$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11098if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11099 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11100else
11101
11102 lt_cv_dlopen="dyld"
11103 lt_cv_dlopen_libs=
11104 lt_cv_dlopen_self=yes
11105
11106fi
11107
11108 ;;
11109
11110 *)
11111 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11112if test "x$ac_cv_func_shl_load" = x""yes; then :
11113 lt_cv_dlopen="shl_load"
11114else
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11116$as_echo_n "checking for shl_load in -ldld... " >&6; }
11117if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11118 $as_echo_n "(cached) " >&6
11119else
11120 ac_check_lib_save_LIBS=$LIBS
11121LIBS="-ldld $LIBS"
11122cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123/* end confdefs.h. */
11124
11125/* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11128#ifdef __cplusplus
11129extern "C"
11130#endif
11131char shl_load ();
11132int
11133main ()
11134{
11135return shl_load ();
11136 ;
11137 return 0;
11138}
11139_ACEOF
11140if ac_fn_c_try_link "$LINENO"; then :
11141 ac_cv_lib_dld_shl_load=yes
11142else
11143 ac_cv_lib_dld_shl_load=no
11144fi
11145rm -f core conftest.err conftest.$ac_objext \
11146 conftest$ac_exeext conftest.$ac_ext
11147LIBS=$ac_check_lib_save_LIBS
11148fi
11149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11150$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11151if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11152 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11153else
11154 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11155if test "x$ac_cv_func_dlopen" = x""yes; then :
11156 lt_cv_dlopen="dlopen"
11157else
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11159$as_echo_n "checking for dlopen in -ldl... " >&6; }
11160if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11161 $as_echo_n "(cached) " >&6
11162else
11163 ac_check_lib_save_LIBS=$LIBS
11164LIBS="-ldl $LIBS"
11165cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11166/* end confdefs.h. */
11167
11168/* Override any GCC internal prototype to avoid an error.
11169 Use char because int might match the return type of a GCC
11170 builtin and then its argument prototype would still apply. */
11171#ifdef __cplusplus
11172extern "C"
11173#endif
11174char dlopen ();
11175int
11176main ()
11177{
11178return dlopen ();
11179 ;
11180 return 0;
11181}
11182_ACEOF
11183if ac_fn_c_try_link "$LINENO"; then :
11184 ac_cv_lib_dl_dlopen=yes
11185else
11186 ac_cv_lib_dl_dlopen=no
11187fi
11188rm -f core conftest.err conftest.$ac_objext \
11189 conftest$ac_exeext conftest.$ac_ext
11190LIBS=$ac_check_lib_save_LIBS
11191fi
11192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11193$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11194if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11195 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11196else
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11198$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11199if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11200 $as_echo_n "(cached) " >&6
11201else
11202 ac_check_lib_save_LIBS=$LIBS
11203LIBS="-lsvld $LIBS"
11204cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11205/* end confdefs.h. */
11206
11207/* Override any GCC internal prototype to avoid an error.
11208 Use char because int might match the return type of a GCC
11209 builtin and then its argument prototype would still apply. */
11210#ifdef __cplusplus
11211extern "C"
11212#endif
11213char dlopen ();
11214int
11215main ()
11216{
11217return dlopen ();
11218 ;
11219 return 0;
11220}
11221_ACEOF
11222if ac_fn_c_try_link "$LINENO"; then :
11223 ac_cv_lib_svld_dlopen=yes
11224else
11225 ac_cv_lib_svld_dlopen=no
11226fi
11227rm -f core conftest.err conftest.$ac_objext \
11228 conftest$ac_exeext conftest.$ac_ext
11229LIBS=$ac_check_lib_save_LIBS
11230fi
11231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11232$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11233if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11234 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11235else
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11237$as_echo_n "checking for dld_link in -ldld... " >&6; }
11238if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11239 $as_echo_n "(cached) " >&6
11240else
11241 ac_check_lib_save_LIBS=$LIBS
11242LIBS="-ldld $LIBS"
11243cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11244/* end confdefs.h. */
11245
11246/* Override any GCC internal prototype to avoid an error.
11247 Use char because int might match the return type of a GCC
11248 builtin and then its argument prototype would still apply. */
11249#ifdef __cplusplus
11250extern "C"
11251#endif
11252char dld_link ();
11253int
11254main ()
11255{
11256return dld_link ();
11257 ;
11258 return 0;
11259}
11260_ACEOF
11261if ac_fn_c_try_link "$LINENO"; then :
11262 ac_cv_lib_dld_dld_link=yes
11263else
11264 ac_cv_lib_dld_dld_link=no
11265fi
11266rm -f core conftest.err conftest.$ac_objext \
11267 conftest$ac_exeext conftest.$ac_ext
11268LIBS=$ac_check_lib_save_LIBS
11269fi
11270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11271$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11272if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11273 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11274fi
11275
11276
11277fi
11278
11279
11280fi
11281
11282
11283fi
11284
11285
11286fi
11287
11288
11289fi
11290
11291 ;;
11292 esac
11293
11294 if test "x$lt_cv_dlopen" != xno; then
11295 enable_dlopen=yes
11296 else
11297 enable_dlopen=no
11298 fi
11299
11300 case $lt_cv_dlopen in
11301 dlopen)
11302 save_CPPFLAGS="$CPPFLAGS"
11303 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11304
11305 save_LDFLAGS="$LDFLAGS"
11306 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11307
11308 save_LIBS="$LIBS"
11309 LIBS="$lt_cv_dlopen_libs $LIBS"
11310
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11312$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11313if test "${lt_cv_dlopen_self+set}" = set; then :
11314 $as_echo_n "(cached) " >&6
11315else
11316 if test "$cross_compiling" = yes; then :
11317 lt_cv_dlopen_self=cross
11318else
11319 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11320 lt_status=$lt_dlunknown
11321 cat > conftest.$ac_ext <<_LT_EOF
11322#line 11322 "configure"
11323#include "confdefs.h"
11324
11325#if HAVE_DLFCN_H
11326#include <dlfcn.h>
11327#endif
11328
11329#include <stdio.h>
11330
11331#ifdef RTLD_GLOBAL
11332# define LT_DLGLOBAL RTLD_GLOBAL
11333#else
11334# ifdef DL_GLOBAL
11335# define LT_DLGLOBAL DL_GLOBAL
11336# else
11337# define LT_DLGLOBAL 0
11338# endif
11339#endif
11340
11341/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11342 find out it does not work in some platform. */
11343#ifndef LT_DLLAZY_OR_NOW
11344# ifdef RTLD_LAZY
11345# define LT_DLLAZY_OR_NOW RTLD_LAZY
11346# else
11347# ifdef DL_LAZY
11348# define LT_DLLAZY_OR_NOW DL_LAZY
11349# else
11350# ifdef RTLD_NOW
11351# define LT_DLLAZY_OR_NOW RTLD_NOW
11352# else
11353# ifdef DL_NOW
11354# define LT_DLLAZY_OR_NOW DL_NOW
11355# else
11356# define LT_DLLAZY_OR_NOW 0
11357# endif
11358# endif
11359# endif
11360# endif
11361#endif
11362
11363void fnord() { int i=42;}
11364int main ()
11365{
11366 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11367 int status = $lt_dlunknown;
11368
11369 if (self)
11370 {
11371 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11372 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11373 /* dlclose (self); */
11374 }
11375 else
11376 puts (dlerror ());
11377
11378 return status;
11379}
11380_LT_EOF
11381 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11382 (eval $ac_link) 2>&5
11383 ac_status=$?
11384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11385 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11386 (./conftest; exit; ) >&5 2>/dev/null
11387 lt_status=$?
11388 case x$lt_status in
11389 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11390 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11391 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11392 esac
11393 else :
11394 # compilation failed
11395 lt_cv_dlopen_self=no
11396 fi
11397fi
11398rm -fr conftest*
11399
11400
11401fi
11402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11403$as_echo "$lt_cv_dlopen_self" >&6; }
11404
11405 if test "x$lt_cv_dlopen_self" = xyes; then
11406 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11408$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11409if test "${lt_cv_dlopen_self_static+set}" = set; then :
11410 $as_echo_n "(cached) " >&6
11411else
11412 if test "$cross_compiling" = yes; then :
11413 lt_cv_dlopen_self_static=cross
11414else
11415 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11416 lt_status=$lt_dlunknown
11417 cat > conftest.$ac_ext <<_LT_EOF
11418#line 11418 "configure"
11419#include "confdefs.h"
11420
11421#if HAVE_DLFCN_H
11422#include <dlfcn.h>
11423#endif
11424
11425#include <stdio.h>
11426
11427#ifdef RTLD_GLOBAL
11428# define LT_DLGLOBAL RTLD_GLOBAL
11429#else
11430# ifdef DL_GLOBAL
11431# define LT_DLGLOBAL DL_GLOBAL
11432# else
11433# define LT_DLGLOBAL 0
11434# endif
11435#endif
11436
11437/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11438 find out it does not work in some platform. */
11439#ifndef LT_DLLAZY_OR_NOW
11440# ifdef RTLD_LAZY
11441# define LT_DLLAZY_OR_NOW RTLD_LAZY
11442# else
11443# ifdef DL_LAZY
11444# define LT_DLLAZY_OR_NOW DL_LAZY
11445# else
11446# ifdef RTLD_NOW
11447# define LT_DLLAZY_OR_NOW RTLD_NOW
11448# else
11449# ifdef DL_NOW
11450# define LT_DLLAZY_OR_NOW DL_NOW
11451# else
11452# define LT_DLLAZY_OR_NOW 0
11453# endif
11454# endif
11455# endif
11456# endif
11457#endif
11458
11459void fnord() { int i=42;}
11460int main ()
11461{
11462 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11463 int status = $lt_dlunknown;
11464
11465 if (self)
11466 {
11467 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11468 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11469 /* dlclose (self); */
11470 }
11471 else
11472 puts (dlerror ());
11473
11474 return status;
11475}
11476_LT_EOF
11477 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11478 (eval $ac_link) 2>&5
11479 ac_status=$?
11480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11481 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11482 (./conftest; exit; ) >&5 2>/dev/null
11483 lt_status=$?
11484 case x$lt_status in
11485 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11486 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11487 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11488 esac
11489 else :
11490 # compilation failed
11491 lt_cv_dlopen_self_static=no
11492 fi
11493fi
11494rm -fr conftest*
11495
11496
11497fi
11498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11499$as_echo "$lt_cv_dlopen_self_static" >&6; }
11500 fi
11501
11502 CPPFLAGS="$save_CPPFLAGS"
11503 LDFLAGS="$save_LDFLAGS"
11504 LIBS="$save_LIBS"
11505 ;;
11506 esac
11507
11508 case $lt_cv_dlopen_self in
11509 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11510 *) enable_dlopen_self=unknown ;;
11511 esac
11512
11513 case $lt_cv_dlopen_self_static in
11514 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11515 *) enable_dlopen_self_static=unknown ;;
11516 esac
11517fi
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535striplib=
11536old_striplib=
11537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11538$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11539if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11540 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11541 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11543$as_echo "yes" >&6; }
11544else
11545# FIXME - insert some real tests, host_os isn't really good enough
11546 case $host_os in
11547 darwin*)
11548 if test -n "$STRIP" ; then
11549 striplib="$STRIP -x"
11550 old_striplib="$STRIP -S"
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11552$as_echo "yes" >&6; }
11553 else
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11555$as_echo "no" >&6; }
11556 fi
11557 ;;
11558 *)
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11560$as_echo "no" >&6; }
11561 ;;
11562 esac
11563fi
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576 # Report which library types will actually be built
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11578$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11580$as_echo "$can_build_shared" >&6; }
11581
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11583$as_echo_n "checking whether to build shared libraries... " >&6; }
11584 test "$can_build_shared" = "no" && enable_shared=no
11585
11586 # On AIX, shared libraries and static libraries use the same namespace, and
11587 # are all built from PIC.
11588 case $host_os in
11589 aix3*)
11590 test "$enable_shared" = yes && enable_static=no
11591 if test -n "$RANLIB"; then
11592 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11593 postinstall_cmds='$RANLIB $lib'
11594 fi
11595 ;;
11596
11597 aix[4-9]*)
11598 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11599 test "$enable_shared" = yes && enable_static=no
11600 fi
11601 ;;
11602 esac
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11604$as_echo "$enable_shared" >&6; }
11605
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11607$as_echo_n "checking whether to build static libraries... " >&6; }
11608 # Make sure either enable_shared or enable_static is yes.
11609 test "$enable_shared" = yes || enable_static=yes
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11611$as_echo "$enable_static" >&6; }
11612
11613
11614
11615
11616fi
11617ac_ext=c
11618ac_cpp='$CPP $CPPFLAGS'
11619ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11620ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11621ac_compiler_gnu=$ac_cv_c_compiler_gnu
11622
11623CC="$lt_save_CC"
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637 ac_config_commands="$ac_config_commands libtool"
11638
11639
11640
11641
11642# Only expand once:
11643
11644
11645
11646##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11647##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11648
11649
11650
11651cat >>confdefs.h <<_ACEOF
11652#define VMAJ 1
11653_ACEOF
11654
11655
11656cat >>confdefs.h <<_ACEOF
11657#define VMIN 2
11658_ACEOF
11659
11660
11661cat >>confdefs.h <<_ACEOF
11662#define VMIC 0
11663_ACEOF
11664
11665
11666cat >>confdefs.h <<_ACEOF
11667#define VREV 0
11668_ACEOF
11669
11670version_info="3:0:2"
11671release_info=""
11672
11673
11674##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11675##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11676VMAJ=1
11677
11678
11679
11680### Needed information
11681
11682
11683
11684
11685requirement_eina=""
11686
11687case "$host_os" in
11688 mingw32ce*)
11689 MODULE_ARCH="$host_os-$host_cpu"
11690 ;;
11691 *)
11692 MODULE_ARCH="$host_os-$host_cpu-1.2.0"
11693 ;;
11694esac
11695
11696
11697cat >>confdefs.h <<_ACEOF
11698#define MODULE_ARCH "${MODULE_ARCH}"
11699_ACEOF
11700
11701
11702case "$host_os" in
11703 mingw*)
11704 MODULE_EXT=".dll"
11705 ;;
11706 *)
11707 MODULE_EXT=".so"
11708 ;;
11709esac
11710
11711
11712cat >>confdefs.h <<_ACEOF
11713#define SHARED_LIB_SUFFIX "${MODULE_EXT}"
11714_ACEOF
11715
11716
11717
11718
11719# Check whether --enable-cpu-mmx was given.
11720if test "${enable_cpu_mmx+set}" = set; then :
11721 enableval=$enable_cpu_mmx;
11722 if test "x${enableval}" = "xyes" ; then
11723 _efl_enable_cpu_mmx="yes"
11724 else
11725 _efl_enable_cpu_mmx="no"
11726 fi
11727
11728else
11729 _efl_enable_cpu_mmx="yes"
11730fi
11731
11732
11733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build mmx code" >&5
11734$as_echo_n "checking whether to build mmx code... " >&6; }
11735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_cpu_mmx}" >&5
11736$as_echo "${_efl_enable_cpu_mmx}" >&6; }
11737
11738
11739_efl_build_cpu_mmx="no"
11740if test "x${_efl_enable_cpu_mmx}" = "xyes" ; then
11741 case $host_cpu in
11742 i*86 | x86_64 | amd64)
11743 _efl_build_cpu_mmx="yes"
11744 ;;
11745 esac
11746fi
11747
11748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmx instructions set is available" >&5
11749$as_echo_n "checking whether mmx instructions set is available... " >&6; }
11750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_build_cpu_mmx}" >&5
11751$as_echo "${_efl_build_cpu_mmx}" >&6; }
11752
11753
11754if test "x${_efl_build_cpu_mmx}" = "xyes" ; then
11755 SAVE_CFLAGS=${CFLAGS}
11756 CFLAGS="-mmmx"
11757 ac_ext=c
11758ac_cpp='$CPP $CPPFLAGS'
11759ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11760ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11761ac_compiler_gnu=$ac_cv_c_compiler_gnu
11762
11763
11764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11765/* end confdefs.h. */
11766
11767int
11768main ()
11769{
11770
11771 ;
11772 return 0;
11773}
11774_ACEOF
11775if ac_fn_c_try_compile "$LINENO"; then :
11776
11777 have_linker_option="yes"
11778 EFL_SIMD_FLAGS="${EFL_SIMD_FLAGS} -mmmx"
11779else
11780 have_linker_option="no"
11781fi
11782rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11783
11784 ac_ext=c
11785ac_cpp='$CPP $CPPFLAGS'
11786ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11787ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11788ac_compiler_gnu=$ac_cv_c_compiler_gnu
11789
11790 CFLAGS=${SAVE_CFLAGS}
11791
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmx linker option is supported" >&5
11793$as_echo_n "checking whether mmx linker option is supported... " >&6; }
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_linker_option}" >&5
11795$as_echo "${have_linker_option}" >&6; }
11796fi
11797
11798
11799
11800if test "x${_efl_build_cpu_mmx}" = "xyes" ; then
11801
11802$as_echo "#define EFL_HAVE_MMX 1" >>confdefs.h
11803
11804fi
11805
11806if test "x$_efl_build_cpu_mmx" = "xyes"; then :
11807 have_mmx="yes"
11808else
11809 have_mmx="no"
11810fi
11811
11812
11813
11814# Check whether --enable-cpu-sse was given.
11815if test "${enable_cpu_sse+set}" = set; then :
11816 enableval=$enable_cpu_sse;
11817 if test "x${enableval}" = "xyes" ; then
11818 _efl_enable_cpu_sse="yes"
11819 else
11820 _efl_enable_cpu_sse="no"
11821 fi
11822
11823else
11824 _efl_enable_cpu_sse="yes"
11825fi
11826
11827
11828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sse code" >&5
11829$as_echo_n "checking whether to build sse code... " >&6; }
11830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_cpu_sse}" >&5
11831$as_echo "${_efl_enable_cpu_sse}" >&6; }
11832
11833
11834_efl_build_cpu_sse="no"
11835if test "x${_efl_enable_cpu_sse}" = "xyes" ; then
11836 case $host_cpu in
11837 i*86 | x86_64 | amd64)
11838 _efl_build_cpu_sse="yes"
11839 ;;
11840 esac
11841fi
11842
11843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sse instructions set is available" >&5
11844$as_echo_n "checking whether sse instructions set is available... " >&6; }
11845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_build_cpu_sse}" >&5
11846$as_echo "${_efl_build_cpu_sse}" >&6; }
11847
11848
11849if test "x${_efl_build_cpu_sse}" = "xyes" ; then
11850 SAVE_CFLAGS=${CFLAGS}
11851 CFLAGS="-msse"
11852 ac_ext=c
11853ac_cpp='$CPP $CPPFLAGS'
11854ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11855ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11856ac_compiler_gnu=$ac_cv_c_compiler_gnu
11857
11858
11859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11860/* end confdefs.h. */
11861
11862int
11863main ()
11864{
11865
11866 ;
11867 return 0;
11868}
11869
11870_ACEOF
11871if ac_fn_c_try_compile "$LINENO"; then :
11872
11873 have_linker_option="yes"
11874 EFL_SIMD_FLAGS="${EFL_SIMD_FLAGS} -msse"
11875
11876else
11877 have_linker_option="no"
11878fi
11879rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11880
11881 ac_ext=c
11882ac_cpp='$CPP $CPPFLAGS'
11883ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11884ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11885ac_compiler_gnu=$ac_cv_c_compiler_gnu
11886
11887 CFLAGS=${SAVE_CFLAGS}
11888
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sse linker option is supported" >&5
11890$as_echo_n "checking whether sse linker option is supported... " >&6; }
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_linker_option}" >&5
11892$as_echo "${have_linker_option}" >&6; }
11893fi
11894
11895
11896
11897if test "x${_efl_build_cpu_sse}" = "xyes" ; then
11898
11899$as_echo "#define EFL_HAVE_SSE 1" >>confdefs.h
11900
11901fi
11902
11903if test "x$_efl_build_cpu_sse" = "xyes"; then :
11904 have_sse="yes"
11905else
11906 have_sse="no"
11907fi
11908
11909
11910
11911
11912# Check whether --enable-cpu-sse2 was given.
11913if test "${enable_cpu_sse2+set}" = set; then :
11914 enableval=$enable_cpu_sse2;
11915 if test "x${enableval}" = "xyes" ; then
11916 _efl_enable_cpu_sse2="yes"
11917 else
11918 _efl_enable_cpu_sse2="no"
11919 fi
11920
11921else
11922 _efl_enable_cpu_sse2="yes"
11923fi
11924
11925
11926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sse2 code" >&5
11927$as_echo_n "checking whether to build sse2 code... " >&6; }
11928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_cpu_sse2}" >&5
11929$as_echo "${_efl_enable_cpu_sse2}" >&6; }
11930
11931
11932_efl_build_cpu_sse2="no"
11933if test "x${_efl_enable_cpu_sse2}" = "xyes" ; then
11934 case $host_cpu in
11935 i*86 | x86_64 | amd64)
11936 _efl_build_cpu_sse2="yes"
11937 ;;
11938 esac
11939fi
11940
11941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sse2 instructions set is available" >&5
11942$as_echo_n "checking whether sse2 instructions set is available... " >&6; }
11943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_build_cpu_sse2}" >&5
11944$as_echo "${_efl_build_cpu_sse2}" >&6; }
11945
11946
11947if test "x${_efl_build_cpu_sse2}" = "xyes" ; then
11948 SAVE_CFLAGS=${CFLAGS}
11949 CFLAGS="-msse2"
11950 ac_ext=c
11951ac_cpp='$CPP $CPPFLAGS'
11952ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11953ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11954ac_compiler_gnu=$ac_cv_c_compiler_gnu
11955
11956
11957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11958/* end confdefs.h. */
11959
11960int
11961main ()
11962{
11963
11964 ;
11965 return 0;
11966}
11967
11968_ACEOF
11969if ac_fn_c_try_compile "$LINENO"; then :
11970
11971 have_linker_option="yes"
11972 EFL_SIMD_FLAGS="${EFL_SIMD_FLAGS} -msse2"
11973
11974else
11975 have_linker_option="no"
11976fi
11977rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11978
11979 ac_ext=c
11980ac_cpp='$CPP $CPPFLAGS'
11981ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11982ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11983ac_compiler_gnu=$ac_cv_c_compiler_gnu
11984
11985 CFLAGS=${SAVE_CFLAGS}
11986
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sse2 linker option is supported" >&5
11988$as_echo_n "checking whether sse2 linker option is supported... " >&6; }
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_linker_option}" >&5
11990$as_echo "${have_linker_option}" >&6; }
11991fi
11992
11993
11994
11995if test "x${_efl_build_cpu_sse2}" = "xyes" ; then
11996
11997$as_echo "#define EFL_HAVE_SSE2 1" >>confdefs.h
11998
11999fi
12000
12001if test "x$_efl_build_cpu_sse2" = "xyes"; then :
12002 have_sse2="yes"
12003else
12004 have_sse2="no"
12005fi
12006
12007
12008
12009
12010# Check whether --enable-cpu-altivec was given.
12011if test "${enable_cpu_altivec+set}" = set; then :
12012 enableval=$enable_cpu_altivec;
12013 if test "x${enableval}" = "xyes" ; then
12014 _efl_enable_cpu_altivec="yes"
12015 else
12016 _efl_enable_cpu_altivec="no"
12017 fi
12018
12019else
12020 _efl_enable_cpu_altivec="yes"
12021
12022fi
12023
12024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build altivec code" >&5
12025$as_echo_n "checking whether to build altivec code... " >&6; }
12026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_cpu_altivec}" >&5
12027$as_echo "${_efl_enable_cpu_altivec}" >&6; }
12028
12029
12030_efl_build_cpu_altivec="no"
12031if test "x${_efl_enable_cpu_altivec}" = "xyes" ; then
12032 case $host_cpu in
12033 *power* | *ppc*)
12034 _efl_build_cpu_altivec="yes"
12035 ;;
12036 esac
12037fi
12038
12039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether altivec instructions set is available" >&5
12040$as_echo_n "checking whether altivec instructions set is available... " >&6; }
12041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_build_cpu_altivec}" >&5
12042$as_echo "${_efl_build_cpu_altivec}" >&6; }
12043
12044
12045_efl_have_faltivec="no"
12046if test "x${_efl_build_cpu_altivec}" = "xyes" ; then
12047 SAVE_CFLAGS=${CFLAGS}
12048 CFLAGS="-faltivec"
12049 ac_ext=c
12050ac_cpp='$CPP $CPPFLAGS'
12051ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12052ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12053ac_compiler_gnu=$ac_cv_c_compiler_gnu
12054
12055
12056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12057/* end confdefs.h. */
12058
12059#include <altivec.h>
12060
12061int
12062main ()
12063{
12064
12065 ;
12066 return 0;
12067}
12068_ACEOF
12069if ac_fn_c_try_compile "$LINENO"; then :
12070 _efl_have_faltivec="yes"
12071 _efl_altivec_flag="-faltivec"
12072else
12073 _efl_have_faltivec="no"
12074fi
12075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12076
12077 if test "x${_efl_have_faltivec}" = "xno" ; then
12078 CFLAGS="-maltivec"
12079
12080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12081/* end confdefs.h. */
12082
12083#include <altivec.h>
12084
12085int
12086main ()
12087{
12088
12089 ;
12090 return 0;
12091}
12092_ACEOF
12093if ac_fn_c_try_compile "$LINENO"; then :
12094 _efl_have_faltivec="yes"
12095 _efl_altivec_flag="-maltivec"
12096else
12097 _efl_have_faltivec="no"
12098fi
12099rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12100 fi
12101
12102 ac_ext=c
12103ac_cpp='$CPP $CPPFLAGS'
12104ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12105ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12106ac_compiler_gnu=$ac_cv_c_compiler_gnu
12107
12108 CFLAGS=${SAVE_CFLAGS}
12109
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether altivec linker option is supported" >&5
12111$as_echo_n "checking whether altivec linker option is supported... " >&6; }
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_faltivec}" >&5
12113$as_echo "${_efl_have_faltivec}" >&6; }
12114fi
12115
12116EFL_SIMD_FLAGS="${EFL_SIMD_FLAGS} ${_efl_altivec_flag}"
12117
12118
12119if test "x${_efl_have_faltivec}" = "xyes" ; then
12120
12121$as_echo "#define EFL_HAVE_ALTIVEC 1" >>confdefs.h
12122
12123fi
12124
12125if test "x$_efl_have_faltivec" = "xyes"; then :
12126 have_altivec="yes"
12127else
12128 have_altivec="no"
12129fi
12130
12131
12132
12133
12134
12135# Check whether --enable-posix-threads was given.
12136if test "${enable_posix_threads+set}" = set; then :
12137 enableval=$enable_posix_threads;
12138 if test "x${enableval}" = "xyes" ; then
12139 _efl_enable_posix_threads="yes"
12140 else
12141 _efl_enable_posix_threads="no"
12142 fi
12143
12144else
12145 _efl_enable_posix_threads="auto"
12146fi
12147
12148
12149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build POSIX threads code" >&5
12150$as_echo_n "checking whether to build POSIX threads code... " >&6; }
12151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_posix_threads}" >&5
12152$as_echo "${_efl_enable_posix_threads}" >&6; }
12153
12154# Check whether --enable-win32-threads was given.
12155if test "${enable_win32_threads+set}" = set; then :
12156 enableval=$enable_win32_threads;
12157 if test "x${enableval}" = "xyes" ; then
12158 _efl_enable_win32_threads="yes"
12159 else
12160 _efl_enable_win32_threads="no"
12161 fi
12162
12163else
12164 _efl_enable_win32_threads="no"
12165fi
12166
12167
12168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Windows threads code" >&5
12169$as_echo_n "checking whether to build Windows threads code... " >&6; }
12170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_win32_threads}" >&5
12171$as_echo "${_efl_enable_win32_threads}" >&6; }
12172
12173
12174if test "x${_efl_enable_posix_threads}" = "xyes" && test "x${_efl_enable_win32_threads}" = "xyes" ; then
12175 case "$host_os" in
12176 mingw*)
12177 _efl_enable_posix_threads=no
12178 ;;
12179 *)
12180 _efl_enable_win32_threads=no
12181 ;;
12182 esac
12183fi
12184
12185if test "x${_efl_enable_win32_threads}" = "xyes" ; then
12186 case "$host_os" in
12187 mingw*)
12188 ;;
12189 *)
12190 as_fn_error $? "Win32 threads support requested but non Windows system found." "$LINENO" 5
12191 ;;
12192 esac
12193fi
12194
12195if test "x${_efl_enable_posix_threads}" = "xyes" ; then
12196 case "$host_os" in
12197 mingw*)
12198 as_fn_error $? "POSIX threads support requested but Windows system found." "$LINENO" 5
12199 ;;
12200 *)
12201 ;;
12202 esac
12203fi
12204
12205
12206case "$host_os" in
12207 mingw*)
12208 ;;
12209 solaris*)
12210 _efl_threads_cflags="-mt"
12211 _efl_threads_libs="-mt"
12212 ;;
12213 *)
12214 _efl_threads_cflags="-pthread"
12215 _efl_threads_libs="-pthread"
12216 ;;
12217esac
12218
12219_efl_have_posix_threads="no"
12220_efl_have_win32_threads="no"
12221
12222if test "x${_efl_enable_posix_threads}" = "xyes" || test "x${_efl_enable_posix_threads}" = "xauto" ; then
12223
12224 SAVE_CFLAGS=${CFLAGS}
12225 CFLAGS="${CFLAGS} ${_efl_threads_cflags}"
12226 SAVE_LIBS=${LIBS}
12227 LIBS="${LIBS} ${_efl_threads_libs}"
12228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12229/* end confdefs.h. */
12230
12231#include <pthread.h>
12232
12233int
12234main ()
12235{
12236
12237pthread_t id;
12238id = pthread_self();
12239
12240 ;
12241 return 0;
12242}
12243_ACEOF
12244if ac_fn_c_try_link "$LINENO"; then :
12245 _efl_have_posix_threads="yes"
12246else
12247 _efl_have_posix_threads="no"
12248fi
12249rm -f core conftest.err conftest.$ac_objext \
12250 conftest$ac_exeext conftest.$ac_ext
12251 CFLAGS=${SAVE_CFLAGS}
12252 LIBS=${SAVE_LIBS}
12253
12254fi
12255
12256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system support POSIX threads" >&5
12257$as_echo_n "checking whether system support POSIX threads... " >&6; }
12258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_posix_threads}" >&5
12259$as_echo "${_efl_have_posix_threads}" >&6; }
12260if test "$x{_efl_enable_posix_threads}" = "xyes" && test "x${_efl_have_posix_threads}" = "xno"; then
12261 as_fn_error $? "POSIX threads support requested but not found." "$LINENO" 5
12262fi
12263
12264EFL_PTHREAD_CFLAGS=""
12265EFL_PTHREAD_LIBS=""
12266if test "x${_efl_have_posix_threads}" = "xyes" ; then
12267 EFL_PTHREAD_CFLAGS=${_efl_threads_cflags}
12268 EFL_PTHREAD_LIBS=${_efl_threads_libs}
12269fi
12270
12271
12272
12273
12274_efl_enable_on_off_threads="no"
12275# Check whether --enable-on-off-threads was given.
12276if test "${enable_on_off_threads+set}" = set; then :
12277 enableval=$enable_on_off_threads; _efl_enable_on_off_threads="${enableval}"
12278fi
12279
12280
12281have_on_off_threads="no"
12282if test "x${_efl_enable_on_off_threads}" = "xyes"; then
12283 have_on_off_threads="yes"
12284
12285$as_echo "#define EFL_ON_OFF_THREADS 1" >>confdefs.h
12286
12287fi
12288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to turn on/off threads lock on demand" >&5
12289$as_echo_n "checking whether to turn on/off threads lock on demand... " >&6; }
12290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_on_off_threads}" >&5
12291$as_echo "${_efl_enable_on_off_threads}" >&6; }
12292
12293_efl_enable_debug_threads="no"
12294# Check whether --enable-debug-threads was given.
12295if test "${enable_debug_threads+set}" = set; then :
12296 enableval=$enable_debug_threads; _efl_enable_debug_threads="${enableval}"
12297fi
12298
12299
12300have_debug_threads="no"
12301if test "x${_efl_have_posix_threads}" = "xyes" -a "x${_efl_enable_debug_threads}" = "xyes"; then
12302 have_debug_threads="yes"
12303
12304$as_echo "#define EFL_DEBUG_THREADS 1" >>confdefs.h
12305
12306fi
12307
12308if test "x${_efl_have_posix_threads}" = "xyes" ; then
12309
12310$as_echo "#define EFL_HAVE_POSIX_THREADS 1" >>confdefs.h
12311
12312fi
12313
12314if test "x${_efl_enable_win32_threads}" = "xyes" ; then
12315 _efl_have_win32_threads="yes"
12316
12317$as_echo "#define EFL_HAVE_WIN32_THREADS 1" >>confdefs.h
12318
12319fi
12320
12321if test "x${_efl_have_posix_threads}" = "xyes" || test "x${_efl_have_win32_threads}" = "xyes" ; then
12322
12323$as_echo "#define EFL_HAVE_THREADS 1" >>confdefs.h
12324
12325fi
12326
12327if test "x$_efl_have_posix_threads" = "xyes" || test "x$_efl_have_win32_threads" = "xyes"; then :
12328
12329 if test "x${_efl_have_posix_threads}" = "xyes" ; then
12330 have_threads="POSIX"
12331 else
12332 if test "x${_efl_have_win32_threads}" = "xyes" ; then
12333 have_threads="Win32"
12334 else
12335 have_threads="no"
12336 fi
12337 fi
12338
12339else
12340 have_threads="no"
12341fi
12342
12343
12344
12345
12346_efl_have_posix_threads_spinlock="no"
12347
12348if test "x${_efl_have_posix_threads}" = "xyes" ; then
12349
12350 SAVE_CFLAGS=${CFLAGS}
12351 CFLAGS="${CFLAGS} ${EFL_PTHREAD_CFLAGS}"
12352 SAVE_LIBS=${LIBS}
12353 LIBS="${LIBS} ${EFL_PTHREAD_LIBS}"
12354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12355/* end confdefs.h. */
12356
12357#include <pthread.h>
12358
12359int
12360main ()
12361{
12362
12363pthread_spinlock_t lock;
12364int res;
12365res = pthread_spin_init(&lock, PTHREAD_PROCESS_PRIVATE);
12366
12367 ;
12368 return 0;
12369}
12370_ACEOF
12371if ac_fn_c_try_link "$LINENO"; then :
12372 _efl_have_posix_threads_spinlock="yes"
12373else
12374 _efl_have_posix_threads_spinlock="no"
12375fi
12376rm -f core conftest.err conftest.$ac_objext \
12377 conftest$ac_exeext conftest.$ac_ext
12378 CFLAGS=${SAVE_CFLAGS}
12379 LIBS=${SAVE_LIBS}
12380
12381fi
12382
12383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build POSIX threads spinlock code" >&5
12384$as_echo_n "checking whether to build POSIX threads spinlock code... " >&6; }
12385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_posix_threads_spinlock}" >&5
12386$as_echo "${_efl_have_posix_threads_spinlock}" >&6; }
12387if test "x${_efl_enable_posix_threads}" = "xyes" && test "x${_efl_have_posix_threads_spinlock}" = "xno" ; then
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: POSIX threads support requested but spinlocks are not supported" >&5
12389$as_echo "$as_me: WARNING: POSIX threads support requested but spinlocks are not supported" >&2;}
12390fi
12391
12392if test "x${_efl_have_posix_threads_spinlock}" = "xyes" ; then
12393
12394$as_echo "#define EFL_HAVE_POSIX_THREADS_SPINLOCK 1" >>confdefs.h
12395
12396fi
12397if test "x$_efl_have_posix_threads_spinlock" = "xyes"; then :
12398 have_posix_threads_spinlock="yes"
12399else
12400 have_posix_threads_spinlock="no"
12401fi
12402
12403
12404if ! test "x${have_threads}" = "xno" ; then
12405 EINA_CONFIGURE_HAVE_THREADS="#define EINA_HAVE_THREADS"
12406fi
12407
12408 if ! test "x${have_threads}" = "xno"; then
12409 EINA_HAVE_THREADS_TRUE=
12410 EINA_HAVE_THREADS_FALSE='#'
12411else
12412 EINA_HAVE_THREADS_TRUE='#'
12413 EINA_HAVE_THREADS_FALSE=
12414fi
12415
12416
12417if ! test "x${have_debug_threads}" = "xno"; then
12418 EINA_CONFIGURE_HAVE_DEBUG_THREADS="#define EINA_HAVE_DEBUG_THREADS"
12419fi
12420
12421 if ! test "x${have_debug_threads}" = "xno"; then
12422 EINA_DEBUG_THREADS_TRUE=
12423 EINA_DEBUG_THREADS_FALSE='#'
12424else
12425 EINA_DEBUG_THREADS_TRUE='#'
12426 EINA_DEBUG_THREADS_FALSE=
12427fi
12428
12429
12430if ! test "x${have_on_off_threads}" = "xno"; then
12431 EINA_CONFIGURE_HAVE_ON_OFF_THREADS="#define EINA_HAVE_ON_OFF_THREADS"
12432fi
12433
12434 if ! test "x${have_on_off_threads}" = "xno"; then
12435 EINA_ON_OFF_THREADS_TRUE=
12436 EINA_ON_OFF_THREADS_FALSE='#'
12437else
12438 EINA_ON_OFF_THREADS_TRUE='#'
12439 EINA_ON_OFF_THREADS_FALSE=
12440fi
12441
12442
12443### Additional options to configure
12444
12445# Magic debug
12446# Check whether --enable-magic-debug was given.
12447if test "${enable_magic_debug+set}" = set; then :
12448 enableval=$enable_magic_debug;
12449 if test "x${enableval}" = "xyes" ; then
12450 have_magic_debug="yes"
12451 else
12452 have_magic_debug="no"
12453 fi
12454
12455else
12456 have_magic_debug="yes"
12457fi
12458
12459
12460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether magic debug is enable" >&5
12461$as_echo_n "checking whether magic debug is enable... " >&6; }
12462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_magic_debug}" >&5
12463$as_echo "${have_magic_debug}" >&6; }
12464
12465if test "x${have_magic_debug}" = "xyes" ; then
12466 EINA_CONFIGURE_MAGIC_DEBUG="#define EINA_MAGIC_DEBUG"
12467fi
12468
12469
12470# Safety checks (avoid crashes on wrong api usage)
12471# Check whether --enable-safety-checks was given.
12472if test "${enable_safety_checks+set}" = set; then :
12473 enableval=$enable_safety_checks;
12474 if test "x${enableval}" = "xyes" ; then
12475 have_safety_checks="yes"
12476 else
12477 have_safety_checks="no"
12478 fi
12479
12480else
12481 have_safety_checks="yes"
12482fi
12483
12484
12485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to do safety checking on api parameters" >&5
12486$as_echo_n "checking whether to do safety checking on api parameters... " >&6; }
12487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_safety_checks" >&5
12488$as_echo "$have_safety_checks" >&6; }
12489
12490 if test "x$have_safety_checks" = "xyes"; then
12491 SAFETY_CHECKS_TRUE=
12492 SAFETY_CHECKS_FALSE='#'
12493else
12494 SAFETY_CHECKS_TRUE='#'
12495 SAFETY_CHECKS_FALSE=
12496fi
12497
12498if test "x$have_safety_checks" = "xyes"; then
12499
12500$as_echo "#define EINA_SAFETY_CHECKS 1" >>confdefs.h
12501
12502 EINA_CONFIGURE_SAFETY_CHECKS="#define EINA_SAFETY_CHECKS"
12503fi
12504
12505
12506with_max_log_level="<unset>"
12507
12508# Check whether --with-internal-maximum-log-level was given.
12509if test "${with_internal_maximum_log_level+set}" = set; then :
12510 withval=$with_internal_maximum_log_level;
12511 if test "x${withval}" != "xno"; then
12512 if echo "${withval}" | grep -E '^[0-9]+$' >/dev/null 2>/dev/null; then
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: ignoring any EINA_LOG() with level greater than ${withval}" >&5
12514$as_echo "$as_me: ignoring any EINA_LOG() with level greater than ${withval}" >&6;}
12515
12516cat >>confdefs.h <<_ACEOF
12517#define EINA_LOG_LEVEL_MAXIMUM ${withval}
12518_ACEOF
12519
12520 with_max_log_level="${withval}"
12521 else
12522 as_fn_error $? "--with-internal-maximum-log-level takes a decimal number, got \"${withval}\" instead." "$LINENO" 5
12523 fi
12524 fi
12525
12526else
12527 :
12528fi
12529
12530
12531# Check whether --enable-amalgamation was given.
12532if test "${enable_amalgamation+set}" = set; then :
12533 enableval=$enable_amalgamation; if test "x${enableval}" = "xyes"; then
12534 do_amalgamation="yes"
12535 else
12536 do_amalgamation="no"
12537 fi
12538
12539else
12540 do_amalgamation="no"
12541
12542fi
12543
12544 if test "x${do_amalgamation}" = "xyes"; then
12545 EINA_AMALGAMATION_TRUE=
12546 EINA_AMALGAMATION_FALSE='#'
12547else
12548 EINA_AMALGAMATION_TRUE='#'
12549 EINA_AMALGAMATION_FALSE=
12550fi
12551
12552
12553# Choose best memory pool
12554# Check whether --enable-default-mempool was given.
12555if test "${enable_default_mempool+set}" = set; then :
12556 enableval=$enable_default_mempool;
12557 if test "x${enableval}" = "xyes"; then
12558 have_default_mempool="yes"
12559 else
12560 have_default_mempool="no"
12561 fi
12562
12563else
12564 have_default_mempool="no"
12565
12566fi
12567
12568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use default mempool allocator" >&5
12569$as_echo_n "checking whether to use default mempool allocator... " >&6; }
12570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_default_mempool}" >&5
12571$as_echo "${have_default_mempool}" >&6; }
12572
12573if test "x${have_default_mempool}" = "xyes" ; then
12574 EINA_CONFIGURE_DEFAULT_MEMPOOL="#define EINA_DEFAULT_MEMPOOL"
12575fi
12576
12577
12578# Report stringshare usage
12579# Check whether --enable-stringshare-usage was given.
12580if test "${enable_stringshare_usage+set}" = set; then :
12581 enableval=$enable_stringshare_usage;
12582 if test "x${enableval}" = "xyes"; then
12583 have_stringshare_usage="yes"
12584 else
12585 have_stringshare_usage="no"
12586 fi
12587
12588else
12589 have_stringshare_usage="no"
12590
12591fi
12592
12593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to report stringshare usage" >&5
12594$as_echo_n "checking whether to report stringshare usage... " >&6; }
12595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_stringshare_usage}" >&5
12596$as_echo "${have_stringshare_usage}" >&6; }
12597
12598if test "x${have_stringshare_usage}" = "xyes"; then
12599
12600$as_echo "#define EINA_STRINGSHARE_USAGE 1" >>confdefs.h
12601
12602fi
12603
12604# Check if we want to benchmark on real data
12605enable_benchmark_e17="no"
12606# Check whether --enable-e17 was given.
12607if test "${enable_e17+set}" = set; then :
12608 enableval=$enable_e17;
12609 if test "x${enableval}" = "xyes" ; then
12610 enable_benchmark_e17="yes"
12611 else
12612 enable_benchmark_e17="no"
12613 fi
12614
12615else
12616 enable_benchmark_e17="no"
12617fi
12618
12619
12620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether e17 real data benchmark are built" >&5
12621$as_echo_n "checking whether e17 real data benchmark are built... " >&6; }
12622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_benchmark_e17}" >&5
12623$as_echo "${enable_benchmark_e17}" >&6; }
12624
12625 if test "x${enable_benchmark_e17}" = "xyes"; then
12626 EINA_ENABLE_BENCHMARK_E17_TRUE=
12627 EINA_ENABLE_BENCHMARK_E17_FALSE='#'
12628else
12629 EINA_ENABLE_BENCHMARK_E17_TRUE='#'
12630 EINA_ENABLE_BENCHMARK_E17_FALSE=
12631fi
12632
12633
12634
12635### Checks for programs
12636ac_ext=c
12637ac_cpp='$CPP $CPPFLAGS'
12638ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12639ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12640ac_compiler_gnu=$ac_cv_c_compiler_gnu
12641if test -n "$ac_tool_prefix"; then
12642 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12643set dummy ${ac_tool_prefix}gcc; ac_word=$2
12644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12645$as_echo_n "checking for $ac_word... " >&6; }
12646if test "${ac_cv_prog_CC+set}" = set; then :
12647 $as_echo_n "(cached) " >&6
12648else
12649 if test -n "$CC"; then
12650 ac_cv_prog_CC="$CC" # Let the user override the test.
12651else
12652as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12653for as_dir in $PATH
12654do
12655 IFS=$as_save_IFS
12656 test -z "$as_dir" && as_dir=.
12657 for ac_exec_ext in '' $ac_executable_extensions; do
12658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12659 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12661 break 2
12662 fi
12663done
12664 done
12665IFS=$as_save_IFS
12666
12667fi
12668fi
12669CC=$ac_cv_prog_CC
12670if test -n "$CC"; then
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12672$as_echo "$CC" >&6; }
12673else
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12675$as_echo "no" >&6; }
12676fi
12677
12678
12679fi
12680if test -z "$ac_cv_prog_CC"; then
12681 ac_ct_CC=$CC
12682 # Extract the first word of "gcc", so it can be a program name with args.
12683set dummy gcc; ac_word=$2
12684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12685$as_echo_n "checking for $ac_word... " >&6; }
12686if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12687 $as_echo_n "(cached) " >&6
12688else
12689 if test -n "$ac_ct_CC"; then
12690 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12691else
12692as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12693for as_dir in $PATH
12694do
12695 IFS=$as_save_IFS
12696 test -z "$as_dir" && as_dir=.
12697 for ac_exec_ext in '' $ac_executable_extensions; do
12698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12699 ac_cv_prog_ac_ct_CC="gcc"
12700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12701 break 2
12702 fi
12703done
12704 done
12705IFS=$as_save_IFS
12706
12707fi
12708fi
12709ac_ct_CC=$ac_cv_prog_ac_ct_CC
12710if test -n "$ac_ct_CC"; then
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12712$as_echo "$ac_ct_CC" >&6; }
12713else
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12715$as_echo "no" >&6; }
12716fi
12717
12718 if test "x$ac_ct_CC" = x; then
12719 CC=""
12720 else
12721 case $cross_compiling:$ac_tool_warned in
12722yes:)
12723{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12724$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12725ac_tool_warned=yes ;;
12726esac
12727 CC=$ac_ct_CC
12728 fi
12729else
12730 CC="$ac_cv_prog_CC"
12731fi
12732
12733if test -z "$CC"; then
12734 if test -n "$ac_tool_prefix"; then
12735 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12736set dummy ${ac_tool_prefix}cc; ac_word=$2
12737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12738$as_echo_n "checking for $ac_word... " >&6; }
12739if test "${ac_cv_prog_CC+set}" = set; then :
12740 $as_echo_n "(cached) " >&6
12741else
12742 if test -n "$CC"; then
12743 ac_cv_prog_CC="$CC" # Let the user override the test.
12744else
12745as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12746for as_dir in $PATH
12747do
12748 IFS=$as_save_IFS
12749 test -z "$as_dir" && as_dir=.
12750 for ac_exec_ext in '' $ac_executable_extensions; do
12751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12752 ac_cv_prog_CC="${ac_tool_prefix}cc"
12753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12754 break 2
12755 fi
12756done
12757 done
12758IFS=$as_save_IFS
12759
12760fi
12761fi
12762CC=$ac_cv_prog_CC
12763if test -n "$CC"; then
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12765$as_echo "$CC" >&6; }
12766else
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12768$as_echo "no" >&6; }
12769fi
12770
12771
12772 fi
12773fi
12774if test -z "$CC"; then
12775 # Extract the first word of "cc", so it can be a program name with args.
12776set dummy cc; ac_word=$2
12777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12778$as_echo_n "checking for $ac_word... " >&6; }
12779if test "${ac_cv_prog_CC+set}" = set; then :
12780 $as_echo_n "(cached) " >&6
12781else
12782 if test -n "$CC"; then
12783 ac_cv_prog_CC="$CC" # Let the user override the test.
12784else
12785 ac_prog_rejected=no
12786as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12787for as_dir in $PATH
12788do
12789 IFS=$as_save_IFS
12790 test -z "$as_dir" && as_dir=.
12791 for ac_exec_ext in '' $ac_executable_extensions; do
12792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12793 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12794 ac_prog_rejected=yes
12795 continue
12796 fi
12797 ac_cv_prog_CC="cc"
12798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12799 break 2
12800 fi
12801done
12802 done
12803IFS=$as_save_IFS
12804
12805if test $ac_prog_rejected = yes; then
12806 # We found a bogon in the path, so make sure we never use it.
12807 set dummy $ac_cv_prog_CC
12808 shift
12809 if test $# != 0; then
12810 # We chose a different compiler from the bogus one.
12811 # However, it has the same basename, so the bogon will be chosen
12812 # first if we set CC to just the basename; use the full file name.
12813 shift
12814 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12815 fi
12816fi
12817fi
12818fi
12819CC=$ac_cv_prog_CC
12820if test -n "$CC"; then
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12822$as_echo "$CC" >&6; }
12823else
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12825$as_echo "no" >&6; }
12826fi
12827
12828
12829fi
12830if test -z "$CC"; then
12831 if test -n "$ac_tool_prefix"; then
12832 for ac_prog in cl.exe
12833 do
12834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12835set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12837$as_echo_n "checking for $ac_word... " >&6; }
12838if test "${ac_cv_prog_CC+set}" = set; then :
12839 $as_echo_n "(cached) " >&6
12840else
12841 if test -n "$CC"; then
12842 ac_cv_prog_CC="$CC" # Let the user override the test.
12843else
12844as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12845for as_dir in $PATH
12846do
12847 IFS=$as_save_IFS
12848 test -z "$as_dir" && as_dir=.
12849 for ac_exec_ext in '' $ac_executable_extensions; do
12850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12851 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12853 break 2
12854 fi
12855done
12856 done
12857IFS=$as_save_IFS
12858
12859fi
12860fi
12861CC=$ac_cv_prog_CC
12862if test -n "$CC"; then
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12864$as_echo "$CC" >&6; }
12865else
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12867$as_echo "no" >&6; }
12868fi
12869
12870
12871 test -n "$CC" && break
12872 done
12873fi
12874if test -z "$CC"; then
12875 ac_ct_CC=$CC
12876 for ac_prog in cl.exe
12877do
12878 # Extract the first word of "$ac_prog", so it can be a program name with args.
12879set dummy $ac_prog; ac_word=$2
12880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12881$as_echo_n "checking for $ac_word... " >&6; }
12882if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12883 $as_echo_n "(cached) " >&6
12884else
12885 if test -n "$ac_ct_CC"; then
12886 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12887else
12888as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12889for as_dir in $PATH
12890do
12891 IFS=$as_save_IFS
12892 test -z "$as_dir" && as_dir=.
12893 for ac_exec_ext in '' $ac_executable_extensions; do
12894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12895 ac_cv_prog_ac_ct_CC="$ac_prog"
12896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12897 break 2
12898 fi
12899done
12900 done
12901IFS=$as_save_IFS
12902
12903fi
12904fi
12905ac_ct_CC=$ac_cv_prog_ac_ct_CC
12906if test -n "$ac_ct_CC"; then
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12908$as_echo "$ac_ct_CC" >&6; }
12909else
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12911$as_echo "no" >&6; }
12912fi
12913
12914
12915 test -n "$ac_ct_CC" && break
12916done
12917
12918 if test "x$ac_ct_CC" = x; then
12919 CC=""
12920 else
12921 case $cross_compiling:$ac_tool_warned in
12922yes:)
12923{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12924$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12925ac_tool_warned=yes ;;
12926esac
12927 CC=$ac_ct_CC
12928 fi
12929fi
12930
12931fi
12932
12933
12934test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12935$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12936as_fn_error $? "no acceptable C compiler found in \$PATH
12937See \`config.log' for more details" "$LINENO" 5 ; }
12938
12939# Provide some information about the compiler.
12940$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12941set X $ac_compile
12942ac_compiler=$2
12943for ac_option in --version -v -V -qversion; do
12944 { { ac_try="$ac_compiler $ac_option >&5"
12945case "(($ac_try" in
12946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12947 *) ac_try_echo=$ac_try;;
12948esac
12949eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12950$as_echo "$ac_try_echo"; } >&5
12951 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12952 ac_status=$?
12953 if test -s conftest.err; then
12954 sed '10a\
12955... rest of stderr output deleted ...
12956 10q' conftest.err >conftest.er1
12957 cat conftest.er1 >&5
12958 fi
12959 rm -f conftest.er1 conftest.err
12960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12961 test $ac_status = 0; }
12962done
12963
12964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12965$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12966if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12967 $as_echo_n "(cached) " >&6
12968else
12969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12970/* end confdefs.h. */
12971
12972int
12973main ()
12974{
12975#ifndef __GNUC__
12976 choke me
12977#endif
12978
12979 ;
12980 return 0;
12981}
12982_ACEOF
12983if ac_fn_c_try_compile "$LINENO"; then :
12984 ac_compiler_gnu=yes
12985else
12986 ac_compiler_gnu=no
12987fi
12988rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12989ac_cv_c_compiler_gnu=$ac_compiler_gnu
12990
12991fi
12992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12993$as_echo "$ac_cv_c_compiler_gnu" >&6; }
12994if test $ac_compiler_gnu = yes; then
12995 GCC=yes
12996else
12997 GCC=
12998fi
12999ac_test_CFLAGS=${CFLAGS+set}
13000ac_save_CFLAGS=$CFLAGS
13001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13002$as_echo_n "checking whether $CC accepts -g... " >&6; }
13003if test "${ac_cv_prog_cc_g+set}" = set; then :
13004 $as_echo_n "(cached) " >&6
13005else
13006 ac_save_c_werror_flag=$ac_c_werror_flag
13007 ac_c_werror_flag=yes
13008 ac_cv_prog_cc_g=no
13009 CFLAGS="-g"
13010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13011/* end confdefs.h. */
13012
13013int
13014main ()
13015{
13016
13017 ;
13018 return 0;
13019}
13020_ACEOF
13021if ac_fn_c_try_compile "$LINENO"; then :
13022 ac_cv_prog_cc_g=yes
13023else
13024 CFLAGS=""
13025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13026/* end confdefs.h. */
13027
13028int
13029main ()
13030{
13031
13032 ;
13033 return 0;
13034}
13035_ACEOF
13036if ac_fn_c_try_compile "$LINENO"; then :
13037
13038else
13039 ac_c_werror_flag=$ac_save_c_werror_flag
13040 CFLAGS="-g"
13041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13042/* end confdefs.h. */
13043
13044int
13045main ()
13046{
13047
13048 ;
13049 return 0;
13050}
13051_ACEOF
13052if ac_fn_c_try_compile "$LINENO"; then :
13053 ac_cv_prog_cc_g=yes
13054fi
13055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13056fi
13057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13058fi
13059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13060 ac_c_werror_flag=$ac_save_c_werror_flag
13061fi
13062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13063$as_echo "$ac_cv_prog_cc_g" >&6; }
13064if test "$ac_test_CFLAGS" = set; then
13065 CFLAGS=$ac_save_CFLAGS
13066elif test $ac_cv_prog_cc_g = yes; then
13067 if test "$GCC" = yes; then
13068 CFLAGS="-g -O2"
13069 else
13070 CFLAGS="-g"
13071 fi
13072else
13073 if test "$GCC" = yes; then
13074 CFLAGS="-O2"
13075 else
13076 CFLAGS=
13077 fi
13078fi
13079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13080$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13081if test "${ac_cv_prog_cc_c89+set}" = set; then :
13082 $as_echo_n "(cached) " >&6
13083else
13084 ac_cv_prog_cc_c89=no
13085ac_save_CC=$CC
13086cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13087/* end confdefs.h. */
13088#include <stdarg.h>
13089#include <stdio.h>
13090#include <sys/types.h>
13091#include <sys/stat.h>
13092/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13093struct buf { int x; };
13094FILE * (*rcsopen) (struct buf *, struct stat *, int);
13095static char *e (p, i)
13096 char **p;
13097 int i;
13098{
13099 return p[i];
13100}
13101static char *f (char * (*g) (char **, int), char **p, ...)
13102{
13103 char *s;
13104 va_list v;
13105 va_start (v,p);
13106 s = g (p, va_arg (v,int));
13107 va_end (v);
13108 return s;
13109}
13110
13111/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13112 function prototypes and stuff, but not '\xHH' hex character constants.
13113 These don't provoke an error unfortunately, instead are silently treated
13114 as 'x'. The following induces an error, until -std is added to get
13115 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13116 array size at least. It's necessary to write '\x00'==0 to get something
13117 that's true only with -std. */
13118int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13119
13120/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13121 inside strings and character constants. */
13122#define FOO(x) 'x'
13123int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13124
13125int test (int i, double x);
13126struct s1 {int (*f) (int a);};
13127struct s2 {int (*f) (double a);};
13128int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13129int argc;
13130char **argv;
13131int
13132main ()
13133{
13134return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13135 ;
13136 return 0;
13137}
13138_ACEOF
13139for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13140 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13141do
13142 CC="$ac_save_CC $ac_arg"
13143 if ac_fn_c_try_compile "$LINENO"; then :
13144 ac_cv_prog_cc_c89=$ac_arg
13145fi
13146rm -f core conftest.err conftest.$ac_objext
13147 test "x$ac_cv_prog_cc_c89" != "xno" && break
13148done
13149rm -f conftest.$ac_ext
13150CC=$ac_save_CC
13151
13152fi
13153# AC_CACHE_VAL
13154case "x$ac_cv_prog_cc_c89" in
13155 x)
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13157$as_echo "none needed" >&6; } ;;
13158 xno)
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13160$as_echo "unsupported" >&6; } ;;
13161 *)
13162 CC="$CC $ac_cv_prog_cc_c89"
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13164$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13165esac
13166if test "x$ac_cv_prog_cc_c89" != xno; then :
13167
13168fi
13169
13170ac_ext=c
13171ac_cpp='$CPP $CPPFLAGS'
13172ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13173ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13174ac_compiler_gnu=$ac_cv_c_compiler_gnu
13175
13176depcc="$CC" am_compiler_list=
13177
13178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13179$as_echo_n "checking dependency style of $depcc... " >&6; }
13180if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
13181 $as_echo_n "(cached) " >&6
13182else
13183 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13184 # We make a subdir and do the tests there. Otherwise we can end up
13185 # making bogus files that we don't know about and never remove. For
13186 # instance it was reported that on HP-UX the gcc test will end up
13187 # making a dummy file named `D' -- because `-MD' means `put the output
13188 # in D'.
13189 mkdir conftest.dir
13190 # Copy depcomp to subdir because otherwise we won't find it if we're
13191 # using a relative directory.
13192 cp "$am_depcomp" conftest.dir
13193 cd conftest.dir
13194 # We will build objects and dependencies in a subdirectory because
13195 # it helps to detect inapplicable dependency modes. For instance
13196 # both Tru64's cc and ICC support -MD to output dependencies as a
13197 # side effect of compilation, but ICC will put the dependencies in
13198 # the current directory while Tru64 will put them in the object
13199 # directory.
13200 mkdir sub
13201
13202 am_cv_CC_dependencies_compiler_type=none
13203 if test "$am_compiler_list" = ""; then
13204 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13205 fi
13206 am__universal=false
13207 case " $depcc " in #(
13208 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13209 esac
13210
13211 for depmode in $am_compiler_list; do
13212 # Setup a source with many dependencies, because some compilers
13213 # like to wrap large dependency lists on column 80 (with \), and
13214 # we should not choose a depcomp mode which is confused by this.
13215 #
13216 # We need to recreate these files for each test, as the compiler may
13217 # overwrite some of them when testing with obscure command lines.
13218 # This happens at least with the AIX C compiler.
13219 : > sub/conftest.c
13220 for i in 1 2 3 4 5 6; do
13221 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13222 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13223 # Solaris 8's {/usr,}/bin/sh.
13224 touch sub/conftst$i.h
13225 done
13226 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13227
13228 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13229 # mode. It turns out that the SunPro C++ compiler does not properly
13230 # handle `-M -o', and we need to detect this. Also, some Intel
13231 # versions had trouble with output in subdirs
13232 am__obj=sub/conftest.${OBJEXT-o}
13233 am__minus_obj="-o $am__obj"
13234 case $depmode in
13235 gcc)
13236 # This depmode causes a compiler race in universal mode.
13237 test "$am__universal" = false || continue
13238 ;;
13239 nosideeffect)
13240 # after this tag, mechanisms are not by side-effect, so they'll
13241 # only be used when explicitly requested
13242 if test "x$enable_dependency_tracking" = xyes; then
13243 continue
13244 else
13245 break
13246 fi
13247 ;;
13248 msvisualcpp | msvcmsys)
13249 # This compiler won't grok `-c -o', but also, the minuso test has
13250 # not run yet. These depmodes are late enough in the game, and
13251 # so weak that their functioning should not be impacted.
13252 am__obj=conftest.${OBJEXT-o}
13253 am__minus_obj=
13254 ;;
13255 none) break ;;
13256 esac
13257 if depmode=$depmode \
13258 source=sub/conftest.c object=$am__obj \
13259 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13260 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13261 >/dev/null 2>conftest.err &&
13262 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13263 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13264 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13265 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13266 # icc doesn't choke on unknown options, it will just issue warnings
13267 # or remarks (even with -Werror). So we grep stderr for any message
13268 # that says an option was ignored or not supported.
13269 # When given -MP, icc 7.0 and 7.1 complain thusly:
13270 # icc: Command line warning: ignoring option '-M'; no argument required
13271 # The diagnosis changed in icc 8.0:
13272 # icc: Command line remark: option '-MP' not supported
13273 if (grep 'ignoring option' conftest.err ||
13274 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13275 am_cv_CC_dependencies_compiler_type=$depmode
13276 break
13277 fi
13278 fi
13279 done
13280
13281 cd ..
13282 rm -rf conftest.dir
13283else
13284 am_cv_CC_dependencies_compiler_type=none
13285fi
13286
13287fi
13288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13289$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13290CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13291
13292 if
13293 test "x$enable_dependency_tracking" != xno \
13294 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13295 am__fastdepCC_TRUE=
13296 am__fastdepCC_FALSE='#'
13297else
13298 am__fastdepCC_TRUE='#'
13299 am__fastdepCC_FALSE=
13300fi
13301
13302
13303ac_ext=cpp
13304ac_cpp='$CXXCPP $CPPFLAGS'
13305ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13306ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13307ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13308if test -z "$CXX"; then
13309 if test -n "$CCC"; then
13310 CXX=$CCC
13311 else
13312 if test -n "$ac_tool_prefix"; then
13313 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13314 do
13315 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13316set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13318$as_echo_n "checking for $ac_word... " >&6; }
13319if test "${ac_cv_prog_CXX+set}" = set; then :
13320 $as_echo_n "(cached) " >&6
13321else
13322 if test -n "$CXX"; then
13323 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13324else
13325as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13326for as_dir in $PATH
13327do
13328 IFS=$as_save_IFS
13329 test -z "$as_dir" && as_dir=.
13330 for ac_exec_ext in '' $ac_executable_extensions; do
13331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13332 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13334 break 2
13335 fi
13336done
13337 done
13338IFS=$as_save_IFS
13339
13340fi
13341fi
13342CXX=$ac_cv_prog_CXX
13343if test -n "$CXX"; then
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13345$as_echo "$CXX" >&6; }
13346else
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13348$as_echo "no" >&6; }
13349fi
13350
13351
13352 test -n "$CXX" && break
13353 done
13354fi
13355if test -z "$CXX"; then
13356 ac_ct_CXX=$CXX
13357 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13358do
13359 # Extract the first word of "$ac_prog", so it can be a program name with args.
13360set dummy $ac_prog; ac_word=$2
13361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13362$as_echo_n "checking for $ac_word... " >&6; }
13363if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13364 $as_echo_n "(cached) " >&6
13365else
13366 if test -n "$ac_ct_CXX"; then
13367 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13368else
13369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13370for as_dir in $PATH
13371do
13372 IFS=$as_save_IFS
13373 test -z "$as_dir" && as_dir=.
13374 for ac_exec_ext in '' $ac_executable_extensions; do
13375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13376 ac_cv_prog_ac_ct_CXX="$ac_prog"
13377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13378 break 2
13379 fi
13380done
13381 done
13382IFS=$as_save_IFS
13383
13384fi
13385fi
13386ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13387if test -n "$ac_ct_CXX"; then
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13389$as_echo "$ac_ct_CXX" >&6; }
13390else
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13392$as_echo "no" >&6; }
13393fi
13394
13395
13396 test -n "$ac_ct_CXX" && break
13397done
13398
13399 if test "x$ac_ct_CXX" = x; then
13400 CXX="g++"
13401 else
13402 case $cross_compiling:$ac_tool_warned in
13403yes:)
13404{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13405$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13406ac_tool_warned=yes ;;
13407esac
13408 CXX=$ac_ct_CXX
13409 fi
13410fi
13411
13412 fi
13413fi
13414# Provide some information about the compiler.
13415$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13416set X $ac_compile
13417ac_compiler=$2
13418for ac_option in --version -v -V -qversion; do
13419 { { ac_try="$ac_compiler $ac_option >&5"
13420case "(($ac_try" in
13421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13422 *) ac_try_echo=$ac_try;;
13423esac
13424eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13425$as_echo "$ac_try_echo"; } >&5
13426 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13427 ac_status=$?
13428 if test -s conftest.err; then
13429 sed '10a\
13430... rest of stderr output deleted ...
13431 10q' conftest.err >conftest.er1
13432 cat conftest.er1 >&5
13433 fi
13434 rm -f conftest.er1 conftest.err
13435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13436 test $ac_status = 0; }
13437done
13438
13439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13440$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13441if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13442 $as_echo_n "(cached) " >&6
13443else
13444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13445/* end confdefs.h. */
13446
13447int
13448main ()
13449{
13450#ifndef __GNUC__
13451 choke me
13452#endif
13453
13454 ;
13455 return 0;
13456}
13457_ACEOF
13458if ac_fn_cxx_try_compile "$LINENO"; then :
13459 ac_compiler_gnu=yes
13460else
13461 ac_compiler_gnu=no
13462fi
13463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13464ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13465
13466fi
13467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13468$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13469if test $ac_compiler_gnu = yes; then
13470 GXX=yes
13471else
13472 GXX=
13473fi
13474ac_test_CXXFLAGS=${CXXFLAGS+set}
13475ac_save_CXXFLAGS=$CXXFLAGS
13476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13477$as_echo_n "checking whether $CXX accepts -g... " >&6; }
13478if test "${ac_cv_prog_cxx_g+set}" = set; then :
13479 $as_echo_n "(cached) " >&6
13480else
13481 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13482 ac_cxx_werror_flag=yes
13483 ac_cv_prog_cxx_g=no
13484 CXXFLAGS="-g"
13485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13486/* end confdefs.h. */
13487
13488int
13489main ()
13490{
13491
13492 ;
13493 return 0;
13494}
13495_ACEOF
13496if ac_fn_cxx_try_compile "$LINENO"; then :
13497 ac_cv_prog_cxx_g=yes
13498else
13499 CXXFLAGS=""
13500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13501/* end confdefs.h. */
13502
13503int
13504main ()
13505{
13506
13507 ;
13508 return 0;
13509}
13510_ACEOF
13511if ac_fn_cxx_try_compile "$LINENO"; then :
13512
13513else
13514 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13515 CXXFLAGS="-g"
13516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13517/* end confdefs.h. */
13518
13519int
13520main ()
13521{
13522
13523 ;
13524 return 0;
13525}
13526_ACEOF
13527if ac_fn_cxx_try_compile "$LINENO"; then :
13528 ac_cv_prog_cxx_g=yes
13529fi
13530rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13531fi
13532rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13533fi
13534rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13535 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13536fi
13537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13538$as_echo "$ac_cv_prog_cxx_g" >&6; }
13539if test "$ac_test_CXXFLAGS" = set; then
13540 CXXFLAGS=$ac_save_CXXFLAGS
13541elif test $ac_cv_prog_cxx_g = yes; then
13542 if test "$GXX" = yes; then
13543 CXXFLAGS="-g -O2"
13544 else
13545 CXXFLAGS="-g"
13546 fi
13547else
13548 if test "$GXX" = yes; then
13549 CXXFLAGS="-O2"
13550 else
13551 CXXFLAGS=
13552 fi
13553fi
13554ac_ext=c
13555ac_cpp='$CPP $CPPFLAGS'
13556ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13557ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13558ac_compiler_gnu=$ac_cv_c_compiler_gnu
13559
13560depcc="$CXX" am_compiler_list=
13561
13562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13563$as_echo_n "checking dependency style of $depcc... " >&6; }
13564if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13565 $as_echo_n "(cached) " >&6
13566else
13567 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13568 # We make a subdir and do the tests there. Otherwise we can end up
13569 # making bogus files that we don't know about and never remove. For
13570 # instance it was reported that on HP-UX the gcc test will end up
13571 # making a dummy file named `D' -- because `-MD' means `put the output
13572 # in D'.
13573 mkdir conftest.dir
13574 # Copy depcomp to subdir because otherwise we won't find it if we're
13575 # using a relative directory.
13576 cp "$am_depcomp" conftest.dir
13577 cd conftest.dir
13578 # We will build objects and dependencies in a subdirectory because
13579 # it helps to detect inapplicable dependency modes. For instance
13580 # both Tru64's cc and ICC support -MD to output dependencies as a
13581 # side effect of compilation, but ICC will put the dependencies in
13582 # the current directory while Tru64 will put them in the object
13583 # directory.
13584 mkdir sub
13585
13586 am_cv_CXX_dependencies_compiler_type=none
13587 if test "$am_compiler_list" = ""; then
13588 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13589 fi
13590 am__universal=false
13591 case " $depcc " in #(
13592 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13593 esac
13594
13595 for depmode in $am_compiler_list; do
13596 # Setup a source with many dependencies, because some compilers
13597 # like to wrap large dependency lists on column 80 (with \), and
13598 # we should not choose a depcomp mode which is confused by this.
13599 #
13600 # We need to recreate these files for each test, as the compiler may
13601 # overwrite some of them when testing with obscure command lines.
13602 # This happens at least with the AIX C compiler.
13603 : > sub/conftest.c
13604 for i in 1 2 3 4 5 6; do
13605 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13606 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13607 # Solaris 8's {/usr,}/bin/sh.
13608 touch sub/conftst$i.h
13609 done
13610 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13611
13612 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13613 # mode. It turns out that the SunPro C++ compiler does not properly
13614 # handle `-M -o', and we need to detect this. Also, some Intel
13615 # versions had trouble with output in subdirs
13616 am__obj=sub/conftest.${OBJEXT-o}
13617 am__minus_obj="-o $am__obj"
13618 case $depmode in
13619 gcc)
13620 # This depmode causes a compiler race in universal mode.
13621 test "$am__universal" = false || continue
13622 ;;
13623 nosideeffect)
13624 # after this tag, mechanisms are not by side-effect, so they'll
13625 # only be used when explicitly requested
13626 if test "x$enable_dependency_tracking" = xyes; then
13627 continue
13628 else
13629 break
13630 fi
13631 ;;
13632 msvisualcpp | msvcmsys)
13633 # This compiler won't grok `-c -o', but also, the minuso test has
13634 # not run yet. These depmodes are late enough in the game, and
13635 # so weak that their functioning should not be impacted.
13636 am__obj=conftest.${OBJEXT-o}
13637 am__minus_obj=
13638 ;;
13639 none) break ;;
13640 esac
13641 if depmode=$depmode \
13642 source=sub/conftest.c object=$am__obj \
13643 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13644 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13645 >/dev/null 2>conftest.err &&
13646 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13647 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13648 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13649 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13650 # icc doesn't choke on unknown options, it will just issue warnings
13651 # or remarks (even with -Werror). So we grep stderr for any message
13652 # that says an option was ignored or not supported.
13653 # When given -MP, icc 7.0 and 7.1 complain thusly:
13654 # icc: Command line warning: ignoring option '-M'; no argument required
13655 # The diagnosis changed in icc 8.0:
13656 # icc: Command line remark: option '-MP' not supported
13657 if (grep 'ignoring option' conftest.err ||
13658 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13659 am_cv_CXX_dependencies_compiler_type=$depmode
13660 break
13661 fi
13662 fi
13663 done
13664
13665 cd ..
13666 rm -rf conftest.dir
13667else
13668 am_cv_CXX_dependencies_compiler_type=none
13669fi
13670
13671fi
13672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13673$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13674CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13675
13676 if
13677 test "x$enable_dependency_tracking" != xno \
13678 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13679 am__fastdepCXX_TRUE=
13680 am__fastdepCXX_FALSE='#'
13681else
13682 am__fastdepCXX_TRUE='#'
13683 am__fastdepCXX_FALSE=
13684fi
13685
13686
13687
13688ac_ext=cpp
13689ac_cpp='$CXXCPP $CPPFLAGS'
13690ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13691ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13692ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13693if test -z "$CXX"; then
13694 if test -n "$CCC"; then
13695 CXX=$CCC
13696 else
13697 if test -n "$ac_tool_prefix"; then
13698 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13699 do
13700 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13701set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13703$as_echo_n "checking for $ac_word... " >&6; }
13704if test "${ac_cv_prog_CXX+set}" = set; then :
13705 $as_echo_n "(cached) " >&6
13706else
13707 if test -n "$CXX"; then
13708 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13709else
13710as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13711for as_dir in $PATH
13712do
13713 IFS=$as_save_IFS
13714 test -z "$as_dir" && as_dir=.
13715 for ac_exec_ext in '' $ac_executable_extensions; do
13716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13717 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13719 break 2
13720 fi
13721done
13722 done
13723IFS=$as_save_IFS
13724
13725fi
13726fi
13727CXX=$ac_cv_prog_CXX
13728if test -n "$CXX"; then
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13730$as_echo "$CXX" >&6; }
13731else
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13733$as_echo "no" >&6; }
13734fi
13735
13736
13737 test -n "$CXX" && break
13738 done
13739fi
13740if test -z "$CXX"; then
13741 ac_ct_CXX=$CXX
13742 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13743do
13744 # Extract the first word of "$ac_prog", so it can be a program name with args.
13745set dummy $ac_prog; ac_word=$2
13746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13747$as_echo_n "checking for $ac_word... " >&6; }
13748if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13749 $as_echo_n "(cached) " >&6
13750else
13751 if test -n "$ac_ct_CXX"; then
13752 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13753else
13754as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13755for as_dir in $PATH
13756do
13757 IFS=$as_save_IFS
13758 test -z "$as_dir" && as_dir=.
13759 for ac_exec_ext in '' $ac_executable_extensions; do
13760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13761 ac_cv_prog_ac_ct_CXX="$ac_prog"
13762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13763 break 2
13764 fi
13765done
13766 done
13767IFS=$as_save_IFS
13768
13769fi
13770fi
13771ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13772if test -n "$ac_ct_CXX"; then
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13774$as_echo "$ac_ct_CXX" >&6; }
13775else
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13777$as_echo "no" >&6; }
13778fi
13779
13780
13781 test -n "$ac_ct_CXX" && break
13782done
13783
13784 if test "x$ac_ct_CXX" = x; then
13785 CXX="g++"
13786 else
13787 case $cross_compiling:$ac_tool_warned in
13788yes:)
13789{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13790$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13791ac_tool_warned=yes ;;
13792esac
13793 CXX=$ac_ct_CXX
13794 fi
13795fi
13796
13797 fi
13798fi
13799# Provide some information about the compiler.
13800$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13801set X $ac_compile
13802ac_compiler=$2
13803for ac_option in --version -v -V -qversion; do
13804 { { ac_try="$ac_compiler $ac_option >&5"
13805case "(($ac_try" in
13806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13807 *) ac_try_echo=$ac_try;;
13808esac
13809eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13810$as_echo "$ac_try_echo"; } >&5
13811 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13812 ac_status=$?
13813 if test -s conftest.err; then
13814 sed '10a\
13815... rest of stderr output deleted ...
13816 10q' conftest.err >conftest.er1
13817 cat conftest.er1 >&5
13818 fi
13819 rm -f conftest.er1 conftest.err
13820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13821 test $ac_status = 0; }
13822done
13823
13824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13825$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13826if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13827 $as_echo_n "(cached) " >&6
13828else
13829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13830/* end confdefs.h. */
13831
13832int
13833main ()
13834{
13835#ifndef __GNUC__
13836 choke me
13837#endif
13838
13839 ;
13840 return 0;
13841}
13842_ACEOF
13843if ac_fn_cxx_try_compile "$LINENO"; then :
13844 ac_compiler_gnu=yes
13845else
13846 ac_compiler_gnu=no
13847fi
13848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13849ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13850
13851fi
13852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13853$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13854if test $ac_compiler_gnu = yes; then
13855 GXX=yes
13856else
13857 GXX=
13858fi
13859ac_test_CXXFLAGS=${CXXFLAGS+set}
13860ac_save_CXXFLAGS=$CXXFLAGS
13861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13862$as_echo_n "checking whether $CXX accepts -g... " >&6; }
13863if test "${ac_cv_prog_cxx_g+set}" = set; then :
13864 $as_echo_n "(cached) " >&6
13865else
13866 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13867 ac_cxx_werror_flag=yes
13868 ac_cv_prog_cxx_g=no
13869 CXXFLAGS="-g"
13870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13871/* end confdefs.h. */
13872
13873int
13874main ()
13875{
13876
13877 ;
13878 return 0;
13879}
13880_ACEOF
13881if ac_fn_cxx_try_compile "$LINENO"; then :
13882 ac_cv_prog_cxx_g=yes
13883else
13884 CXXFLAGS=""
13885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13886/* end confdefs.h. */
13887
13888int
13889main ()
13890{
13891
13892 ;
13893 return 0;
13894}
13895_ACEOF
13896if ac_fn_cxx_try_compile "$LINENO"; then :
13897
13898else
13899 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13900 CXXFLAGS="-g"
13901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13902/* end confdefs.h. */
13903
13904int
13905main ()
13906{
13907
13908 ;
13909 return 0;
13910}
13911_ACEOF
13912if ac_fn_cxx_try_compile "$LINENO"; then :
13913 ac_cv_prog_cxx_g=yes
13914fi
13915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13916fi
13917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13918fi
13919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13920 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13921fi
13922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13923$as_echo "$ac_cv_prog_cxx_g" >&6; }
13924if test "$ac_test_CXXFLAGS" = set; then
13925 CXXFLAGS=$ac_save_CXXFLAGS
13926elif test $ac_cv_prog_cxx_g = yes; then
13927 if test "$GXX" = yes; then
13928 CXXFLAGS="-g -O2"
13929 else
13930 CXXFLAGS="-g"
13931 fi
13932else
13933 if test "$GXX" = yes; then
13934 CXXFLAGS="-O2"
13935 else
13936 CXXFLAGS=
13937 fi
13938fi
13939ac_ext=c
13940ac_cpp='$CPP $CPPFLAGS'
13941ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13942ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13943ac_compiler_gnu=$ac_cv_c_compiler_gnu
13944
13945depcc="$CXX" am_compiler_list=
13946
13947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13948$as_echo_n "checking dependency style of $depcc... " >&6; }
13949if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13950 $as_echo_n "(cached) " >&6
13951else
13952 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13953 # We make a subdir and do the tests there. Otherwise we can end up
13954 # making bogus files that we don't know about and never remove. For
13955 # instance it was reported that on HP-UX the gcc test will end up
13956 # making a dummy file named `D' -- because `-MD' means `put the output
13957 # in D'.
13958 mkdir conftest.dir
13959 # Copy depcomp to subdir because otherwise we won't find it if we're
13960 # using a relative directory.
13961 cp "$am_depcomp" conftest.dir
13962 cd conftest.dir
13963 # We will build objects and dependencies in a subdirectory because
13964 # it helps to detect inapplicable dependency modes. For instance
13965 # both Tru64's cc and ICC support -MD to output dependencies as a
13966 # side effect of compilation, but ICC will put the dependencies in
13967 # the current directory while Tru64 will put them in the object
13968 # directory.
13969 mkdir sub
13970
13971 am_cv_CXX_dependencies_compiler_type=none
13972 if test "$am_compiler_list" = ""; then
13973 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13974 fi
13975 am__universal=false
13976 case " $depcc " in #(
13977 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13978 esac
13979
13980 for depmode in $am_compiler_list; do
13981 # Setup a source with many dependencies, because some compilers
13982 # like to wrap large dependency lists on column 80 (with \), and
13983 # we should not choose a depcomp mode which is confused by this.
13984 #
13985 # We need to recreate these files for each test, as the compiler may
13986 # overwrite some of them when testing with obscure command lines.
13987 # This happens at least with the AIX C compiler.
13988 : > sub/conftest.c
13989 for i in 1 2 3 4 5 6; do
13990 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13991 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13992 # Solaris 8's {/usr,}/bin/sh.
13993 touch sub/conftst$i.h
13994 done
13995 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13996
13997 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13998 # mode. It turns out that the SunPro C++ compiler does not properly
13999 # handle `-M -o', and we need to detect this. Also, some Intel
14000 # versions had trouble with output in subdirs
14001 am__obj=sub/conftest.${OBJEXT-o}
14002 am__minus_obj="-o $am__obj"
14003 case $depmode in
14004 gcc)
14005 # This depmode causes a compiler race in universal mode.
14006 test "$am__universal" = false || continue
14007 ;;
14008 nosideeffect)
14009 # after this tag, mechanisms are not by side-effect, so they'll
14010 # only be used when explicitly requested
14011 if test "x$enable_dependency_tracking" = xyes; then
14012 continue
14013 else
14014 break
14015 fi
14016 ;;
14017 msvisualcpp | msvcmsys)
14018 # This compiler won't grok `-c -o', but also, the minuso test has
14019 # not run yet. These depmodes are late enough in the game, and
14020 # so weak that their functioning should not be impacted.
14021 am__obj=conftest.${OBJEXT-o}
14022 am__minus_obj=
14023 ;;
14024 none) break ;;
14025 esac
14026 if depmode=$depmode \
14027 source=sub/conftest.c object=$am__obj \
14028 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14029 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14030 >/dev/null 2>conftest.err &&
14031 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14032 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14033 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14034 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14035 # icc doesn't choke on unknown options, it will just issue warnings
14036 # or remarks (even with -Werror). So we grep stderr for any message
14037 # that says an option was ignored or not supported.
14038 # When given -MP, icc 7.0 and 7.1 complain thusly:
14039 # icc: Command line warning: ignoring option '-M'; no argument required
14040 # The diagnosis changed in icc 8.0:
14041 # icc: Command line remark: option '-MP' not supported
14042 if (grep 'ignoring option' conftest.err ||
14043 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14044 am_cv_CXX_dependencies_compiler_type=$depmode
14045 break
14046 fi
14047 fi
14048 done
14049
14050 cd ..
14051 rm -rf conftest.dir
14052else
14053 am_cv_CXX_dependencies_compiler_type=none
14054fi
14055
14056fi
14057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14058$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14059CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14060
14061 if
14062 test "x$enable_dependency_tracking" != xno \
14063 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14064 am__fastdepCXX_TRUE=
14065 am__fastdepCXX_FALSE='#'
14066else
14067 am__fastdepCXX_TRUE='#'
14068 am__fastdepCXX_FALSE=
14069fi
14070
14071
14072if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14073 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14074 (test "X$CXX" != "Xg++"))) ; then
14075 ac_ext=cpp
14076ac_cpp='$CXXCPP $CPPFLAGS'
14077ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14078ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14079ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14081$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14082if test -z "$CXXCPP"; then
14083 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
14084 $as_echo_n "(cached) " >&6
14085else
14086 # Double quotes because CXXCPP needs to be expanded
14087 for CXXCPP in "$CXX -E" "/lib/cpp"
14088 do
14089 ac_preproc_ok=false
14090for ac_cxx_preproc_warn_flag in '' yes
14091do
14092 # Use a header file that comes with gcc, so configuring glibc
14093 # with a fresh cross-compiler works.
14094 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14095 # <limits.h> exists even on freestanding compilers.
14096 # On the NeXT, cc -E runs the code through the compiler's parser,
14097 # not just through cpp. "Syntax error" is here to catch this case.
14098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14099/* end confdefs.h. */
14100#ifdef __STDC__
14101# include <limits.h>
14102#else
14103# include <assert.h>
14104#endif
14105 Syntax error
14106_ACEOF
14107if ac_fn_cxx_try_cpp "$LINENO"; then :
14108
14109else
14110 # Broken: fails on valid input.
14111continue
14112fi
14113rm -f conftest.err conftest.i conftest.$ac_ext
14114
14115 # OK, works on sane cases. Now check whether nonexistent headers
14116 # can be detected and how.
14117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14118/* end confdefs.h. */
14119#include <ac_nonexistent.h>
14120_ACEOF
14121if ac_fn_cxx_try_cpp "$LINENO"; then :
14122 # Broken: success on invalid input.
14123continue
14124else
14125 # Passes both tests.
14126ac_preproc_ok=:
14127break
14128fi
14129rm -f conftest.err conftest.i conftest.$ac_ext
14130
14131done
14132# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14133rm -f conftest.i conftest.err conftest.$ac_ext
14134if $ac_preproc_ok; then :
14135 break
14136fi
14137
14138 done
14139 ac_cv_prog_CXXCPP=$CXXCPP
14140
14141fi
14142 CXXCPP=$ac_cv_prog_CXXCPP
14143else
14144 ac_cv_prog_CXXCPP=$CXXCPP
14145fi
14146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14147$as_echo "$CXXCPP" >&6; }
14148ac_preproc_ok=false
14149for ac_cxx_preproc_warn_flag in '' yes
14150do
14151 # Use a header file that comes with gcc, so configuring glibc
14152 # with a fresh cross-compiler works.
14153 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14154 # <limits.h> exists even on freestanding compilers.
14155 # On the NeXT, cc -E runs the code through the compiler's parser,
14156 # not just through cpp. "Syntax error" is here to catch this case.
14157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14158/* end confdefs.h. */
14159#ifdef __STDC__
14160# include <limits.h>
14161#else
14162# include <assert.h>
14163#endif
14164 Syntax error
14165_ACEOF
14166if ac_fn_cxx_try_cpp "$LINENO"; then :
14167
14168else
14169 # Broken: fails on valid input.
14170continue
14171fi
14172rm -f conftest.err conftest.i conftest.$ac_ext
14173
14174 # OK, works on sane cases. Now check whether nonexistent headers
14175 # can be detected and how.
14176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14177/* end confdefs.h. */
14178#include <ac_nonexistent.h>
14179_ACEOF
14180if ac_fn_cxx_try_cpp "$LINENO"; then :
14181 # Broken: success on invalid input.
14182continue
14183else
14184 # Passes both tests.
14185ac_preproc_ok=:
14186break
14187fi
14188rm -f conftest.err conftest.i conftest.$ac_ext
14189
14190done
14191# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14192rm -f conftest.i conftest.err conftest.$ac_ext
14193if $ac_preproc_ok; then :
14194
14195else
14196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14197$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14198_lt_caught_CXX_error=yes; }
14199fi
14200
14201ac_ext=c
14202ac_cpp='$CPP $CPPFLAGS'
14203ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14204ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14205ac_compiler_gnu=$ac_cv_c_compiler_gnu
14206
14207else
14208 _lt_caught_CXX_error=yes
14209fi
14210
14211
14212
14213
14214ac_ext=cpp
14215ac_cpp='$CXXCPP $CPPFLAGS'
14216ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14217ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14218ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14219
14220archive_cmds_need_lc_CXX=no
14221allow_undefined_flag_CXX=
14222always_export_symbols_CXX=no
14223archive_expsym_cmds_CXX=
14224compiler_needs_object_CXX=no
14225export_dynamic_flag_spec_CXX=
14226hardcode_direct_CXX=no
14227hardcode_direct_absolute_CXX=no
14228hardcode_libdir_flag_spec_CXX=
14229hardcode_libdir_flag_spec_ld_CXX=
14230hardcode_libdir_separator_CXX=
14231hardcode_minus_L_CXX=no
14232hardcode_shlibpath_var_CXX=unsupported
14233hardcode_automatic_CXX=no
14234inherit_rpath_CXX=no
14235module_cmds_CXX=
14236module_expsym_cmds_CXX=
14237link_all_deplibs_CXX=unknown
14238old_archive_cmds_CXX=$old_archive_cmds
14239no_undefined_flag_CXX=
14240whole_archive_flag_spec_CXX=
14241enable_shared_with_static_runtimes_CXX=no
14242
14243# Source file extension for C++ test sources.
14244ac_ext=cpp
14245
14246# Object file extension for compiled C++ test sources.
14247objext=o
14248objext_CXX=$objext
14249
14250# No sense in running all these tests if we already determined that
14251# the CXX compiler isn't working. Some variables (like enable_shared)
14252# are currently assumed to apply to all compilers on this platform,
14253# and will be corrupted by setting them based on a non-working compiler.
14254if test "$_lt_caught_CXX_error" != yes; then
14255 # Code to be used in simple compile tests
14256 lt_simple_compile_test_code="int some_variable = 0;"
14257
14258 # Code to be used in simple link tests
14259 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14260
14261 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14262
14263
14264
14265
14266
14267
14268# If no C compiler was specified, use CC.
14269LTCC=${LTCC-"$CC"}
14270
14271# If no C compiler flags were specified, use CFLAGS.
14272LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14273
14274# Allow CC to be a program name with arguments.
14275compiler=$CC
14276
14277
14278 # save warnings/boilerplate of simple test code
14279 ac_outfile=conftest.$ac_objext
14280echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14281eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14282_lt_compiler_boilerplate=`cat conftest.err`
14283$RM conftest*
14284
14285 ac_outfile=conftest.$ac_objext
14286echo "$lt_simple_link_test_code" >conftest.$ac_ext
14287eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14288_lt_linker_boilerplate=`cat conftest.err`
14289$RM -r conftest*
14290
14291
14292 # Allow CC to be a program name with arguments.
14293 lt_save_CC=$CC
14294 lt_save_LD=$LD
14295 lt_save_GCC=$GCC
14296 GCC=$GXX
14297 lt_save_with_gnu_ld=$with_gnu_ld
14298 lt_save_path_LD=$lt_cv_path_LD
14299 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14300 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14301 else
14302 $as_unset lt_cv_prog_gnu_ld
14303 fi
14304 if test -n "${lt_cv_path_LDCXX+set}"; then
14305 lt_cv_path_LD=$lt_cv_path_LDCXX
14306 else
14307 $as_unset lt_cv_path_LD
14308 fi
14309 test -z "${LDCXX+set}" || LD=$LDCXX
14310 CC=${CXX-"c++"}
14311 compiler=$CC
14312 compiler_CXX=$CC
14313 for cc_temp in $compiler""; do
14314 case $cc_temp in
14315 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14316 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14317 \-*) ;;
14318 *) break;;
14319 esac
14320done
14321cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14322
14323
14324 if test -n "$compiler"; then
14325 # We don't want -fno-exception when compiling C++ code, so set the
14326 # no_builtin_flag separately
14327 if test "$GXX" = yes; then
14328 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14329 else
14330 lt_prog_compiler_no_builtin_flag_CXX=
14331 fi
14332
14333 if test "$GXX" = yes; then
14334 # Set up default GNU C++ configuration
14335
14336
14337
14338# Check whether --with-gnu-ld was given.
14339if test "${with_gnu_ld+set}" = set; then :
14340 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14341else
14342 with_gnu_ld=no
14343fi
14344
14345ac_prog=ld
14346if test "$GCC" = yes; then
14347 # Check if gcc -print-prog-name=ld gives a path.
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14349$as_echo_n "checking for ld used by $CC... " >&6; }
14350 case $host in
14351 *-*-mingw*)
14352 # gcc leaves a trailing carriage return which upsets mingw
14353 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14354 *)
14355 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14356 esac
14357 case $ac_prog in
14358 # Accept absolute paths.
14359 [\\/]* | ?:[\\/]*)
14360 re_direlt='/[^/][^/]*/\.\./'
14361 # Canonicalize the pathname of ld
14362 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14363 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14364 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14365 done
14366 test -z "$LD" && LD="$ac_prog"
14367 ;;
14368 "")
14369 # If it fails, then pretend we aren't using GCC.
14370 ac_prog=ld
14371 ;;
14372 *)
14373 # If it is relative, then search for the first ld in PATH.
14374 with_gnu_ld=unknown
14375 ;;
14376 esac
14377elif test "$with_gnu_ld" = yes; then
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14379$as_echo_n "checking for GNU ld... " >&6; }
14380else
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14382$as_echo_n "checking for non-GNU ld... " >&6; }
14383fi
14384if test "${lt_cv_path_LD+set}" = set; then :
14385 $as_echo_n "(cached) " >&6
14386else
14387 if test -z "$LD"; then
14388 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14389 for ac_dir in $PATH; do
14390 IFS="$lt_save_ifs"
14391 test -z "$ac_dir" && ac_dir=.
14392 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14393 lt_cv_path_LD="$ac_dir/$ac_prog"
14394 # Check to see if the program is GNU ld. I'd rather use --version,
14395 # but apparently some variants of GNU ld only accept -v.
14396 # Break only if it was the GNU/non-GNU ld that we prefer.
14397 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14398 *GNU* | *'with BFD'*)
14399 test "$with_gnu_ld" != no && break
14400 ;;
14401 *)
14402 test "$with_gnu_ld" != yes && break
14403 ;;
14404 esac
14405 fi
14406 done
14407 IFS="$lt_save_ifs"
14408else
14409 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14410fi
14411fi
14412
14413LD="$lt_cv_path_LD"
14414if test -n "$LD"; then
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14416$as_echo "$LD" >&6; }
14417else
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14419$as_echo "no" >&6; }
14420fi
14421test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14423$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14424if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14425 $as_echo_n "(cached) " >&6
14426else
14427 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14428case `$LD -v 2>&1 </dev/null` in
14429*GNU* | *'with BFD'*)
14430 lt_cv_prog_gnu_ld=yes
14431 ;;
14432*)
14433 lt_cv_prog_gnu_ld=no
14434 ;;
14435esac
14436fi
14437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14438$as_echo "$lt_cv_prog_gnu_ld" >&6; }
14439with_gnu_ld=$lt_cv_prog_gnu_ld
14440
14441
14442
14443
14444
14445
14446
14447 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14448 # archiving commands below assume that GNU ld is being used.
14449 if test "$with_gnu_ld" = yes; then
14450 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14451 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'
14452
14453 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14454 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14455
14456 # If archive_cmds runs LD, not CC, wlarc should be empty
14457 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14458 # investigate it a little bit more. (MM)
14459 wlarc='${wl}'
14460
14461 # ancient GNU ld didn't support --whole-archive et. al.
14462 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14463 $GREP 'no-whole-archive' > /dev/null; then
14464 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14465 else
14466 whole_archive_flag_spec_CXX=
14467 fi
14468 else
14469 with_gnu_ld=no
14470 wlarc=
14471
14472 # A generic and very simple default shared library creation
14473 # command for GNU C++ for the case where it uses the native
14474 # linker, instead of GNU ld. If possible, this setting should
14475 # overridden to take advantage of the native linker features on
14476 # the platform it is being used on.
14477 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14478 fi
14479
14480 # Commands to make compiler produce verbose output that lists
14481 # what "hidden" libraries, object files and flags are used when
14482 # linking a shared library.
14483 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14484
14485 else
14486 GXX=no
14487 with_gnu_ld=no
14488 wlarc=
14489 fi
14490
14491 # PORTME: fill in a description of your system's C++ link characteristics
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14493$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14494 ld_shlibs_CXX=yes
14495 case $host_os in
14496 aix3*)
14497 # FIXME: insert proper C++ library support
14498 ld_shlibs_CXX=no
14499 ;;
14500 aix[4-9]*)
14501 if test "$host_cpu" = ia64; then
14502 # On IA64, the linker does run time linking by default, so we don't
14503 # have to do anything special.
14504 aix_use_runtimelinking=no
14505 exp_sym_flag='-Bexport'
14506 no_entry_flag=""
14507 else
14508 aix_use_runtimelinking=no
14509
14510 # Test if we are trying to use run time linking or normal
14511 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14512 # need to do runtime linking.
14513 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14514 for ld_flag in $LDFLAGS; do
14515 case $ld_flag in
14516 *-brtl*)
14517 aix_use_runtimelinking=yes
14518 break
14519 ;;
14520 esac
14521 done
14522 ;;
14523 esac
14524
14525 exp_sym_flag='-bexport'
14526 no_entry_flag='-bnoentry'
14527 fi
14528
14529 # When large executables or shared objects are built, AIX ld can
14530 # have problems creating the table of contents. If linking a library
14531 # or program results in "error TOC overflow" add -mminimal-toc to
14532 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14533 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14534
14535 archive_cmds_CXX=''
14536 hardcode_direct_CXX=yes
14537 hardcode_direct_absolute_CXX=yes
14538 hardcode_libdir_separator_CXX=':'
14539 link_all_deplibs_CXX=yes
14540 file_list_spec_CXX='${wl}-f,'
14541
14542 if test "$GXX" = yes; then
14543 case $host_os in aix4.[012]|aix4.[012].*)
14544 # We only want to do this on AIX 4.2 and lower, the check
14545 # below for broken collect2 doesn't work under 4.3+
14546 collect2name=`${CC} -print-prog-name=collect2`
14547 if test -f "$collect2name" &&
14548 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14549 then
14550 # We have reworked collect2
14551 :
14552 else
14553 # We have old collect2
14554 hardcode_direct_CXX=unsupported
14555 # It fails to find uninstalled libraries when the uninstalled
14556 # path is not listed in the libpath. Setting hardcode_minus_L
14557 # to unsupported forces relinking
14558 hardcode_minus_L_CXX=yes
14559 hardcode_libdir_flag_spec_CXX='-L$libdir'
14560 hardcode_libdir_separator_CXX=
14561 fi
14562 esac
14563 shared_flag='-shared'
14564 if test "$aix_use_runtimelinking" = yes; then
14565 shared_flag="$shared_flag "'${wl}-G'
14566 fi
14567 else
14568 # not using gcc
14569 if test "$host_cpu" = ia64; then
14570 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14571 # chokes on -Wl,-G. The following line is correct:
14572 shared_flag='-G'
14573 else
14574 if test "$aix_use_runtimelinking" = yes; then
14575 shared_flag='${wl}-G'
14576 else
14577 shared_flag='${wl}-bM:SRE'
14578 fi
14579 fi
14580 fi
14581
14582 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14583 # It seems that -bexpall does not export symbols beginning with
14584 # underscore (_), so it is better to generate a list of symbols to
14585 # export.
14586 always_export_symbols_CXX=yes
14587 if test "$aix_use_runtimelinking" = yes; then
14588 # Warning - without using the other runtime loading flags (-brtl),
14589 # -berok will link without error, but may produce a broken library.
14590 allow_undefined_flag_CXX='-berok'
14591 # Determine the default libpath from the value encoded in an empty
14592 # executable.
14593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14594/* end confdefs.h. */
14595
14596int
14597main ()
14598{
14599
14600 ;
14601 return 0;
14602}
14603_ACEOF
14604if ac_fn_cxx_try_link "$LINENO"; then :
14605
14606lt_aix_libpath_sed='
14607 /Import File Strings/,/^$/ {
14608 /^0/ {
14609 s/^0 *\(.*\)$/\1/
14610 p
14611 }
14612 }'
14613aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14614# Check for a 64-bit object if we didn't find anything.
14615if test -z "$aix_libpath"; then
14616 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14617fi
14618fi
14619rm -f core conftest.err conftest.$ac_objext \
14620 conftest$ac_exeext conftest.$ac_ext
14621if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14622
14623 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14624
14625 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"
14626 else
14627 if test "$host_cpu" = ia64; then
14628 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14629 allow_undefined_flag_CXX="-z nodefs"
14630 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"
14631 else
14632 # Determine the default libpath from the value encoded in an
14633 # empty executable.
14634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14635/* end confdefs.h. */
14636
14637int
14638main ()
14639{
14640
14641 ;
14642 return 0;
14643}
14644_ACEOF
14645if ac_fn_cxx_try_link "$LINENO"; then :
14646
14647lt_aix_libpath_sed='
14648 /Import File Strings/,/^$/ {
14649 /^0/ {
14650 s/^0 *\(.*\)$/\1/
14651 p
14652 }
14653 }'
14654aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14655# Check for a 64-bit object if we didn't find anything.
14656if test -z "$aix_libpath"; then
14657 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14658fi
14659fi
14660rm -f core conftest.err conftest.$ac_objext \
14661 conftest$ac_exeext conftest.$ac_ext
14662if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14663
14664 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14665 # Warning - without using the other run time loading flags,
14666 # -berok will link without error, but may produce a broken library.
14667 no_undefined_flag_CXX=' ${wl}-bernotok'
14668 allow_undefined_flag_CXX=' ${wl}-berok'
14669 # Exported symbols can be pulled into shared objects from archives
14670 whole_archive_flag_spec_CXX='$convenience'
14671 archive_cmds_need_lc_CXX=yes
14672 # This is similar to how AIX traditionally builds its shared
14673 # libraries.
14674 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'
14675 fi
14676 fi
14677 ;;
14678
14679 beos*)
14680 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14681 allow_undefined_flag_CXX=unsupported
14682 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14683 # support --undefined. This deserves some investigation. FIXME
14684 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14685 else
14686 ld_shlibs_CXX=no
14687 fi
14688 ;;
14689
14690 chorus*)
14691 case $cc_basename in
14692 *)
14693 # FIXME: insert proper C++ library support
14694 ld_shlibs_CXX=no
14695 ;;
14696 esac
14697 ;;
14698
14699 cygwin* | mingw* | pw32* | cegcc*)
14700 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14701 # as there is no search path for DLLs.
14702 hardcode_libdir_flag_spec_CXX='-L$libdir'
14703 allow_undefined_flag_CXX=unsupported
14704 always_export_symbols_CXX=no
14705 enable_shared_with_static_runtimes_CXX=yes
14706
14707 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14708 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'
14709 # If the export-symbols file already is a .def file (1st line
14710 # is EXPORTS), use it as is; otherwise, prepend...
14711 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14712 cp $export_symbols $output_objdir/$soname.def;
14713 else
14714 echo EXPORTS > $output_objdir/$soname.def;
14715 cat $export_symbols >> $output_objdir/$soname.def;
14716 fi~
14717 $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'
14718 else
14719 ld_shlibs_CXX=no
14720 fi
14721 ;;
14722 darwin* | rhapsody*)
14723
14724
14725 archive_cmds_need_lc_CXX=no
14726 hardcode_direct_CXX=no
14727 hardcode_automatic_CXX=yes
14728 hardcode_shlibpath_var_CXX=unsupported
14729 whole_archive_flag_spec_CXX=''
14730 link_all_deplibs_CXX=yes
14731 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14732 case $cc_basename in
14733 ifort*) _lt_dar_can_shared=yes ;;
14734 *) _lt_dar_can_shared=$GCC ;;
14735 esac
14736 if test "$_lt_dar_can_shared" = "yes"; then
14737 output_verbose_link_cmd=echo
14738 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}"
14739 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14740 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}"
14741 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}"
14742 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14743 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}"
14744 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}"
14745 fi
14746
14747 else
14748 ld_shlibs_CXX=no
14749 fi
14750
14751 ;;
14752
14753 dgux*)
14754 case $cc_basename in
14755 ec++*)
14756 # FIXME: insert proper C++ library support
14757 ld_shlibs_CXX=no
14758 ;;
14759 ghcx*)
14760 # Green Hills C++ Compiler
14761 # FIXME: insert proper C++ library support
14762 ld_shlibs_CXX=no
14763 ;;
14764 *)
14765 # FIXME: insert proper C++ library support
14766 ld_shlibs_CXX=no
14767 ;;
14768 esac
14769 ;;
14770
14771 freebsd[12]*)
14772 # C++ shared libraries reported to be fairly broken before
14773 # switch to ELF
14774 ld_shlibs_CXX=no
14775 ;;
14776
14777 freebsd-elf*)
14778 archive_cmds_need_lc_CXX=no
14779 ;;
14780
14781 freebsd* | dragonfly*)
14782 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14783 # conventions
14784 ld_shlibs_CXX=yes
14785 ;;
14786
14787 gnu*)
14788 ;;
14789
14790 hpux9*)
14791 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14792 hardcode_libdir_separator_CXX=:
14793 export_dynamic_flag_spec_CXX='${wl}-E'
14794 hardcode_direct_CXX=yes
14795 hardcode_minus_L_CXX=yes # Not in the search PATH,
14796 # but as the default
14797 # location of the library.
14798
14799 case $cc_basename in
14800 CC*)
14801 # FIXME: insert proper C++ library support
14802 ld_shlibs_CXX=no
14803 ;;
14804 aCC*)
14805 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'
14806 # Commands to make compiler produce verbose output that lists
14807 # what "hidden" libraries, object files and flags are used when
14808 # linking a shared library.
14809 #
14810 # There doesn't appear to be a way to prevent this compiler from
14811 # explicitly linking system object files so we need to strip them
14812 # from the output so that they don't get included in the library
14813 # dependencies.
14814 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'
14815 ;;
14816 *)
14817 if test "$GXX" = yes; then
14818 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'
14819 else
14820 # FIXME: insert proper C++ library support
14821 ld_shlibs_CXX=no
14822 fi
14823 ;;
14824 esac
14825 ;;
14826
14827 hpux10*|hpux11*)
14828 if test $with_gnu_ld = no; then
14829 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14830 hardcode_libdir_separator_CXX=:
14831
14832 case $host_cpu in
14833 hppa*64*|ia64*)
14834 ;;
14835 *)
14836 export_dynamic_flag_spec_CXX='${wl}-E'
14837 ;;
14838 esac
14839 fi
14840 case $host_cpu in
14841 hppa*64*|ia64*)
14842 hardcode_direct_CXX=no
14843 hardcode_shlibpath_var_CXX=no
14844 ;;
14845 *)
14846 hardcode_direct_CXX=yes
14847 hardcode_direct_absolute_CXX=yes
14848 hardcode_minus_L_CXX=yes # Not in the search PATH,
14849 # but as the default
14850 # location of the library.
14851 ;;
14852 esac
14853
14854 case $cc_basename in
14855 CC*)
14856 # FIXME: insert proper C++ library support
14857 ld_shlibs_CXX=no
14858 ;;
14859 aCC*)
14860 case $host_cpu in
14861 hppa*64*)
14862 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14863 ;;
14864 ia64*)
14865 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14866 ;;
14867 *)
14868 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14869 ;;
14870 esac
14871 # Commands to make compiler produce verbose output that lists
14872 # what "hidden" libraries, object files and flags are used when
14873 # linking a shared library.
14874 #
14875 # There doesn't appear to be a way to prevent this compiler from
14876 # explicitly linking system object files so we need to strip them
14877 # from the output so that they don't get included in the library
14878 # dependencies.
14879 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'
14880 ;;
14881 *)
14882 if test "$GXX" = yes; then
14883 if test $with_gnu_ld = no; then
14884 case $host_cpu in
14885 hppa*64*)
14886 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14887 ;;
14888 ia64*)
14889 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14890 ;;
14891 *)
14892 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'
14893 ;;
14894 esac
14895 fi
14896 else
14897 # FIXME: insert proper C++ library support
14898 ld_shlibs_CXX=no
14899 fi
14900 ;;
14901 esac
14902 ;;
14903
14904 interix[3-9]*)
14905 hardcode_direct_CXX=no
14906 hardcode_shlibpath_var_CXX=no
14907 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14908 export_dynamic_flag_spec_CXX='${wl}-E'
14909 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14910 # Instead, shared libraries are loaded at an image base (0x10000000 by
14911 # default) and relocated if they conflict, which is a slow very memory
14912 # consuming and fragmenting process. To avoid this, we pick a random,
14913 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14914 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14915 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'
14916 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'
14917 ;;
14918 irix5* | irix6*)
14919 case $cc_basename in
14920 CC*)
14921 # SGI C++
14922 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'
14923
14924 # Archives containing C++ object files must be created using
14925 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14926 # necessary to make sure instantiated templates are included
14927 # in the archive.
14928 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14929 ;;
14930 *)
14931 if test "$GXX" = yes; then
14932 if test "$with_gnu_ld" = no; then
14933 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'
14934 else
14935 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'
14936 fi
14937 fi
14938 link_all_deplibs_CXX=yes
14939 ;;
14940 esac
14941 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14942 hardcode_libdir_separator_CXX=:
14943 inherit_rpath_CXX=yes
14944 ;;
14945
14946 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14947 case $cc_basename in
14948 KCC*)
14949 # Kuck and Associates, Inc. (KAI) C++ Compiler
14950
14951 # KCC will only create a shared library if the output file
14952 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14953 # to its proper name (with version) after linking.
14954 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'
14955 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'
14956 # Commands to make compiler produce verbose output that lists
14957 # what "hidden" libraries, object files and flags are used when
14958 # linking a shared library.
14959 #
14960 # There doesn't appear to be a way to prevent this compiler from
14961 # explicitly linking system object files so we need to strip them
14962 # from the output so that they don't get included in the library
14963 # dependencies.
14964 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'
14965
14966 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14967 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14968
14969 # Archives containing C++ object files must be created using
14970 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14971 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14972 ;;
14973 icpc* | ecpc* )
14974 # Intel C++
14975 with_gnu_ld=yes
14976 # version 8.0 and above of icpc choke on multiply defined symbols
14977 # if we add $predep_objects and $postdep_objects, however 7.1 and
14978 # earlier do not add the objects themselves.
14979 case `$CC -V 2>&1` in
14980 *"Version 7."*)
14981 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14982 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'
14983 ;;
14984 *) # Version 8.0 or newer
14985 tmp_idyn=
14986 case $host_cpu in
14987 ia64*) tmp_idyn=' -i_dynamic';;
14988 esac
14989 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14990 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'
14991 ;;
14992 esac
14993 archive_cmds_need_lc_CXX=no
14994 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14995 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14996 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14997 ;;
14998 pgCC* | pgcpp*)
14999 # Portland Group C++ compiler
15000 case `$CC -V` in
15001 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
15002 prelink_cmds_CXX='tpldir=Template.dir~
15003 rm -rf $tpldir~
15004 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15005 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
15006 old_archive_cmds_CXX='tpldir=Template.dir~
15007 rm -rf $tpldir~
15008 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15009 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
15010 $RANLIB $oldlib'
15011 archive_cmds_CXX='tpldir=Template.dir~
15012 rm -rf $tpldir~
15013 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15014 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15015 archive_expsym_cmds_CXX='tpldir=Template.dir~
15016 rm -rf $tpldir~
15017 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15018 $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'
15019 ;;
15020 *) # Version 6 will use weak symbols
15021 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15022 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'
15023 ;;
15024 esac
15025
15026 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15027 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15028 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'
15029 ;;
15030 cxx*)
15031 # Compaq C++
15032 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15033 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'
15034
15035 runpath_var=LD_RUN_PATH
15036 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15037 hardcode_libdir_separator_CXX=:
15038
15039 # Commands to make compiler produce verbose output that lists
15040 # what "hidden" libraries, object files and flags are used when
15041 # linking a shared library.
15042 #
15043 # There doesn't appear to be a way to prevent this compiler from
15044 # explicitly linking system object files so we need to strip them
15045 # from the output so that they don't get included in the library
15046 # dependencies.
15047 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'
15048 ;;
15049 xl*)
15050 # IBM XL 8.0 on PPC, with GNU ld
15051 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15052 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15053 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15054 if test "x$supports_anon_versioning" = xyes; then
15055 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15056 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15057 echo "local: *; };" >> $output_objdir/$libname.ver~
15058 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15059 fi
15060 ;;
15061 *)
15062 case `$CC -V 2>&1 | sed 5q` in
15063 *Sun\ C*)
15064 # Sun C++ 5.9
15065 no_undefined_flag_CXX=' -zdefs'
15066 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15067 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'
15068 hardcode_libdir_flag_spec_CXX='-R$libdir'
15069 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'
15070 compiler_needs_object_CXX=yes
15071
15072 # Not sure whether something based on
15073 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15074 # would be better.
15075 output_verbose_link_cmd='echo'
15076
15077 # Archives containing C++ object files must be created using
15078 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15079 # necessary to make sure instantiated templates are included
15080 # in the archive.
15081 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15082 ;;
15083 esac
15084 ;;
15085 esac
15086 ;;
15087
15088 lynxos*)
15089 # FIXME: insert proper C++ library support
15090 ld_shlibs_CXX=no
15091 ;;
15092
15093 m88k*)
15094 # FIXME: insert proper C++ library support
15095 ld_shlibs_CXX=no
15096 ;;
15097
15098 mvs*)
15099 case $cc_basename in
15100 cxx*)
15101 # FIXME: insert proper C++ library support
15102 ld_shlibs_CXX=no
15103 ;;
15104 *)
15105 # FIXME: insert proper C++ library support
15106 ld_shlibs_CXX=no
15107 ;;
15108 esac
15109 ;;
15110
15111 netbsd*)
15112 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15113 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15114 wlarc=
15115 hardcode_libdir_flag_spec_CXX='-R$libdir'
15116 hardcode_direct_CXX=yes
15117 hardcode_shlibpath_var_CXX=no
15118 fi
15119 # Workaround some broken pre-1.5 toolchains
15120 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15121 ;;
15122
15123 *nto* | *qnx*)
15124 ld_shlibs_CXX=yes
15125 ;;
15126
15127 openbsd2*)
15128 # C++ shared libraries are fairly broken
15129 ld_shlibs_CXX=no
15130 ;;
15131
15132 openbsd*)
15133 if test -f /usr/libexec/ld.so; then
15134 hardcode_direct_CXX=yes
15135 hardcode_shlibpath_var_CXX=no
15136 hardcode_direct_absolute_CXX=yes
15137 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15138 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15139 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15140 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15141 export_dynamic_flag_spec_CXX='${wl}-E'
15142 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15143 fi
15144 output_verbose_link_cmd=echo
15145 else
15146 ld_shlibs_CXX=no
15147 fi
15148 ;;
15149
15150 osf3* | osf4* | osf5*)
15151 case $cc_basename in
15152 KCC*)
15153 # Kuck and Associates, Inc. (KAI) C++ Compiler
15154
15155 # KCC will only create a shared library if the output file
15156 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15157 # to its proper name (with version) after linking.
15158 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'
15159
15160 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15161 hardcode_libdir_separator_CXX=:
15162
15163 # Archives containing C++ object files must be created using
15164 # the KAI C++ compiler.
15165 case $host in
15166 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15167 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15168 esac
15169 ;;
15170 RCC*)
15171 # Rational C++ 2.4.1
15172 # FIXME: insert proper C++ library support
15173 ld_shlibs_CXX=no
15174 ;;
15175 cxx*)
15176 case $host in
15177 osf3*)
15178 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15179 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'
15180 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15181 ;;
15182 *)
15183 allow_undefined_flag_CXX=' -expect_unresolved \*'
15184 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'
15185 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15186 echo "-hidden">> $lib.exp~
15187 $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~
15188 $RM $lib.exp'
15189 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15190 ;;
15191 esac
15192
15193 hardcode_libdir_separator_CXX=:
15194
15195 # Commands to make compiler produce verbose output that lists
15196 # what "hidden" libraries, object files and flags are used when
15197 # linking a shared library.
15198 #
15199 # There doesn't appear to be a way to prevent this compiler from
15200 # explicitly linking system object files so we need to strip them
15201 # from the output so that they don't get included in the library
15202 # dependencies.
15203 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'
15204 ;;
15205 *)
15206 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15207 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15208 case $host in
15209 osf3*)
15210 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'
15211 ;;
15212 *)
15213 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'
15214 ;;
15215 esac
15216
15217 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15218 hardcode_libdir_separator_CXX=:
15219
15220 # Commands to make compiler produce verbose output that lists
15221 # what "hidden" libraries, object files and flags are used when
15222 # linking a shared library.
15223 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15224
15225 else
15226 # FIXME: insert proper C++ library support
15227 ld_shlibs_CXX=no
15228 fi
15229 ;;
15230 esac
15231 ;;
15232
15233 psos*)
15234 # FIXME: insert proper C++ library support
15235 ld_shlibs_CXX=no
15236 ;;
15237
15238 sunos4*)
15239 case $cc_basename in
15240 CC*)
15241 # Sun C++ 4.x
15242 # FIXME: insert proper C++ library support
15243 ld_shlibs_CXX=no
15244 ;;
15245 lcc*)
15246 # Lucid
15247 # FIXME: insert proper C++ library support
15248 ld_shlibs_CXX=no
15249 ;;
15250 *)
15251 # FIXME: insert proper C++ library support
15252 ld_shlibs_CXX=no
15253 ;;
15254 esac
15255 ;;
15256
15257 solaris*)
15258 case $cc_basename in
15259 CC*)
15260 # Sun C++ 4.2, 5.x and Centerline C++
15261 archive_cmds_need_lc_CXX=yes
15262 no_undefined_flag_CXX=' -zdefs'
15263 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15264 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15265 $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'
15266
15267 hardcode_libdir_flag_spec_CXX='-R$libdir'
15268 hardcode_shlibpath_var_CXX=no
15269 case $host_os in
15270 solaris2.[0-5] | solaris2.[0-5].*) ;;
15271 *)
15272 # The compiler driver will combine and reorder linker options,
15273 # but understands `-z linker_flag'.
15274 # Supported since Solaris 2.6 (maybe 2.5.1?)
15275 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15276 ;;
15277 esac
15278 link_all_deplibs_CXX=yes
15279
15280 output_verbose_link_cmd='echo'
15281
15282 # Archives containing C++ object files must be created using
15283 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15284 # necessary to make sure instantiated templates are included
15285 # in the archive.
15286 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15287 ;;
15288 gcx*)
15289 # Green Hills C++ Compiler
15290 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15291
15292 # The C++ compiler must be used to create the archive.
15293 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15294 ;;
15295 *)
15296 # GNU C++ compiler with Solaris linker
15297 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15298 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15299 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15300 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15301 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15302 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15303
15304 # Commands to make compiler produce verbose output that lists
15305 # what "hidden" libraries, object files and flags are used when
15306 # linking a shared library.
15307 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15308 else
15309 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15310 # platform.
15311 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15312 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15313 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15314
15315 # Commands to make compiler produce verbose output that lists
15316 # what "hidden" libraries, object files and flags are used when
15317 # linking a shared library.
15318 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15319 fi
15320
15321 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15322 case $host_os in
15323 solaris2.[0-5] | solaris2.[0-5].*) ;;
15324 *)
15325 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15326 ;;
15327 esac
15328 fi
15329 ;;
15330 esac
15331 ;;
15332
15333 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15334 no_undefined_flag_CXX='${wl}-z,text'
15335 archive_cmds_need_lc_CXX=no
15336 hardcode_shlibpath_var_CXX=no
15337 runpath_var='LD_RUN_PATH'
15338
15339 case $cc_basename in
15340 CC*)
15341 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15342 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15343 ;;
15344 *)
15345 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15346 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15347 ;;
15348 esac
15349 ;;
15350
15351 sysv5* | sco3.2v5* | sco5v6*)
15352 # Note: We can NOT use -z defs as we might desire, because we do not
15353 # link with -lc, and that would cause any symbols used from libc to
15354 # always be unresolved, which means just about no library would
15355 # ever link correctly. If we're not using GNU ld we use -z text
15356 # though, which does catch some bad symbols but isn't as heavy-handed
15357 # as -z defs.
15358 no_undefined_flag_CXX='${wl}-z,text'
15359 allow_undefined_flag_CXX='${wl}-z,nodefs'
15360 archive_cmds_need_lc_CXX=no
15361 hardcode_shlibpath_var_CXX=no
15362 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15363 hardcode_libdir_separator_CXX=':'
15364 link_all_deplibs_CXX=yes
15365 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15366 runpath_var='LD_RUN_PATH'
15367
15368 case $cc_basename in
15369 CC*)
15370 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15371 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15372 ;;
15373 *)
15374 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15375 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15376 ;;
15377 esac
15378 ;;
15379
15380 tandem*)
15381 case $cc_basename in
15382 NCC*)
15383 # NonStop-UX NCC 3.20
15384 # FIXME: insert proper C++ library support
15385 ld_shlibs_CXX=no
15386 ;;
15387 *)
15388 # FIXME: insert proper C++ library support
15389 ld_shlibs_CXX=no
15390 ;;
15391 esac
15392 ;;
15393
15394 vxworks*)
15395 # FIXME: insert proper C++ library support
15396 ld_shlibs_CXX=no
15397 ;;
15398
15399 *)
15400 # FIXME: insert proper C++ library support
15401 ld_shlibs_CXX=no
15402 ;;
15403 esac
15404
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15406$as_echo "$ld_shlibs_CXX" >&6; }
15407 test "$ld_shlibs_CXX" = no && can_build_shared=no
15408
15409 GCC_CXX="$GXX"
15410 LD_CXX="$LD"
15411
15412 ## CAVEAT EMPTOR:
15413 ## There is no encapsulation within the following macros, do not change
15414 ## the running order or otherwise move them around unless you know exactly
15415 ## what you are doing...
15416 # Dependencies to place before and after the object being linked:
15417predep_objects_CXX=
15418postdep_objects_CXX=
15419predeps_CXX=
15420postdeps_CXX=
15421compiler_lib_search_path_CXX=
15422
15423cat > conftest.$ac_ext <<_LT_EOF
15424class Foo
15425{
15426public:
15427 Foo (void) { a = 0; }
15428private:
15429 int a;
15430};
15431_LT_EOF
15432
15433if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15434 (eval $ac_compile) 2>&5
15435 ac_status=$?
15436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15437 test $ac_status = 0; }; then
15438 # Parse the compiler output and extract the necessary
15439 # objects, libraries and library flags.
15440
15441 # Sentinel used to keep track of whether or not we are before
15442 # the conftest object file.
15443 pre_test_object_deps_done=no
15444
15445 for p in `eval "$output_verbose_link_cmd"`; do
15446 case $p in
15447
15448 -L* | -R* | -l*)
15449 # Some compilers place space between "-{L,R}" and the path.
15450 # Remove the space.
15451 if test $p = "-L" ||
15452 test $p = "-R"; then
15453 prev=$p
15454 continue
15455 else
15456 prev=
15457 fi
15458
15459 if test "$pre_test_object_deps_done" = no; then
15460 case $p in
15461 -L* | -R*)
15462 # Internal compiler library paths should come after those
15463 # provided the user. The postdeps already come after the
15464 # user supplied libs so there is no need to process them.
15465 if test -z "$compiler_lib_search_path_CXX"; then
15466 compiler_lib_search_path_CXX="${prev}${p}"
15467 else
15468 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15469 fi
15470 ;;
15471 # The "-l" case would never come before the object being
15472 # linked, so don't bother handling this case.
15473 esac
15474 else
15475 if test -z "$postdeps_CXX"; then
15476 postdeps_CXX="${prev}${p}"
15477 else
15478 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15479 fi
15480 fi
15481 ;;
15482
15483 *.$objext)
15484 # This assumes that the test object file only shows up
15485 # once in the compiler output.
15486 if test "$p" = "conftest.$objext"; then
15487 pre_test_object_deps_done=yes
15488 continue
15489 fi
15490
15491 if test "$pre_test_object_deps_done" = no; then
15492 if test -z "$predep_objects_CXX"; then
15493 predep_objects_CXX="$p"
15494 else
15495 predep_objects_CXX="$predep_objects_CXX $p"
15496 fi
15497 else
15498 if test -z "$postdep_objects_CXX"; then
15499 postdep_objects_CXX="$p"
15500 else
15501 postdep_objects_CXX="$postdep_objects_CXX $p"
15502 fi
15503 fi
15504 ;;
15505
15506 *) ;; # Ignore the rest.
15507
15508 esac
15509 done
15510
15511 # Clean up.
15512 rm -f a.out a.exe
15513else
15514 echo "libtool.m4: error: problem compiling CXX test program"
15515fi
15516
15517$RM -f confest.$objext
15518
15519# PORTME: override above test on systems where it is broken
15520case $host_os in
15521interix[3-9]*)
15522 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15523 # hack all around it, let's just trust "g++" to DTRT.
15524 predep_objects_CXX=
15525 postdep_objects_CXX=
15526 postdeps_CXX=
15527 ;;
15528
15529linux*)
15530 case `$CC -V 2>&1 | sed 5q` in
15531 *Sun\ C*)
15532 # Sun C++ 5.9
15533
15534 # The more standards-conforming stlport4 library is
15535 # incompatible with the Cstd library. Avoid specifying
15536 # it if it's in CXXFLAGS. Ignore libCrun as
15537 # -library=stlport4 depends on it.
15538 case " $CXX $CXXFLAGS " in
15539 *" -library=stlport4 "*)
15540 solaris_use_stlport4=yes
15541 ;;
15542 esac
15543
15544 if test "$solaris_use_stlport4" != yes; then
15545 postdeps_CXX='-library=Cstd -library=Crun'
15546 fi
15547 ;;
15548 esac
15549 ;;
15550
15551solaris*)
15552 case $cc_basename in
15553 CC*)
15554 # The more standards-conforming stlport4 library is
15555 # incompatible with the Cstd library. Avoid specifying
15556 # it if it's in CXXFLAGS. Ignore libCrun as
15557 # -library=stlport4 depends on it.
15558 case " $CXX $CXXFLAGS " in
15559 *" -library=stlport4 "*)
15560 solaris_use_stlport4=yes
15561 ;;
15562 esac
15563
15564 # Adding this requires a known-good setup of shared libraries for
15565 # Sun compiler versions before 5.6, else PIC objects from an old
15566 # archive will be linked into the output, leading to subtle bugs.
15567 if test "$solaris_use_stlport4" != yes; then
15568 postdeps_CXX='-library=Cstd -library=Crun'
15569 fi
15570 ;;
15571 esac
15572 ;;
15573esac
15574
15575
15576case " $postdeps_CXX " in
15577*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15578esac
15579 compiler_lib_search_dirs_CXX=
15580if test -n "${compiler_lib_search_path_CXX}"; then
15581 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15582fi
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614 lt_prog_compiler_wl_CXX=
15615lt_prog_compiler_pic_CXX=
15616lt_prog_compiler_static_CXX=
15617
15618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15619$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15620
15621 # C++ specific cases for pic, static, wl, etc.
15622 if test "$GXX" = yes; then
15623 lt_prog_compiler_wl_CXX='-Wl,'
15624 lt_prog_compiler_static_CXX='-static'
15625
15626 case $host_os in
15627 aix*)
15628 # All AIX code is PIC.
15629 if test "$host_cpu" = ia64; then
15630 # AIX 5 now supports IA64 processor
15631 lt_prog_compiler_static_CXX='-Bstatic'
15632 fi
15633 ;;
15634
15635 amigaos*)
15636 case $host_cpu in
15637 powerpc)
15638 # see comment about AmigaOS4 .so support
15639 lt_prog_compiler_pic_CXX='-fPIC'
15640 ;;
15641 m68k)
15642 # FIXME: we need at least 68020 code to build shared libraries, but
15643 # adding the `-m68020' flag to GCC prevents building anything better,
15644 # like `-m68040'.
15645 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15646 ;;
15647 esac
15648 ;;
15649
15650 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15651 # PIC is the default for these OSes.
15652 ;;
15653 mingw* | cygwin* | os2* | pw32* | cegcc*)
15654 # This hack is so that the source file can tell whether it is being
15655 # built for inclusion in a dll (and should export symbols for example).
15656 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15657 # (--disable-auto-import) libraries
15658 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15659 ;;
15660 darwin* | rhapsody*)
15661 # PIC is the default on this platform
15662 # Common symbols not allowed in MH_DYLIB files
15663 lt_prog_compiler_pic_CXX='-fno-common'
15664 ;;
15665 *djgpp*)
15666 # DJGPP does not support shared libraries at all
15667 lt_prog_compiler_pic_CXX=
15668 ;;
15669 interix[3-9]*)
15670 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15671 # Instead, we relocate shared libraries at runtime.
15672 ;;
15673 sysv4*MP*)
15674 if test -d /usr/nec; then
15675 lt_prog_compiler_pic_CXX=-Kconform_pic
15676 fi
15677 ;;
15678 hpux*)
15679 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15680 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15681 # sets the default TLS model and affects inlining.
15682 case $host_cpu in
15683 hppa*64*)
15684 ;;
15685 *)
15686 lt_prog_compiler_pic_CXX='-fPIC'
15687 ;;
15688 esac
15689 ;;
15690 *qnx* | *nto*)
15691 # QNX uses GNU C++, but need to define -shared option too, otherwise
15692 # it will coredump.
15693 lt_prog_compiler_pic_CXX='-fPIC -shared'
15694 ;;
15695 *)
15696 lt_prog_compiler_pic_CXX='-fPIC'
15697 ;;
15698 esac
15699 else
15700 case $host_os in
15701 aix[4-9]*)
15702 # All AIX code is PIC.
15703 if test "$host_cpu" = ia64; then
15704 # AIX 5 now supports IA64 processor
15705 lt_prog_compiler_static_CXX='-Bstatic'
15706 else
15707 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15708 fi
15709 ;;
15710 chorus*)
15711 case $cc_basename in
15712 cxch68*)
15713 # Green Hills C++ Compiler
15714 # _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"
15715 ;;
15716 esac
15717 ;;
15718 dgux*)
15719 case $cc_basename in
15720 ec++*)
15721 lt_prog_compiler_pic_CXX='-KPIC'
15722 ;;
15723 ghcx*)
15724 # Green Hills C++ Compiler
15725 lt_prog_compiler_pic_CXX='-pic'
15726 ;;
15727 *)
15728 ;;
15729 esac
15730 ;;
15731 freebsd* | dragonfly*)
15732 # FreeBSD uses GNU C++
15733 ;;
15734 hpux9* | hpux10* | hpux11*)
15735 case $cc_basename in
15736 CC*)
15737 lt_prog_compiler_wl_CXX='-Wl,'
15738 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15739 if test "$host_cpu" != ia64; then
15740 lt_prog_compiler_pic_CXX='+Z'
15741 fi
15742 ;;
15743 aCC*)
15744 lt_prog_compiler_wl_CXX='-Wl,'
15745 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15746 case $host_cpu in
15747 hppa*64*|ia64*)
15748 # +Z the default
15749 ;;
15750 *)
15751 lt_prog_compiler_pic_CXX='+Z'
15752 ;;
15753 esac
15754 ;;
15755 *)
15756 ;;
15757 esac
15758 ;;
15759 interix*)
15760 # This is c89, which is MS Visual C++ (no shared libs)
15761 # Anyone wants to do a port?
15762 ;;
15763 irix5* | irix6* | nonstopux*)
15764 case $cc_basename in
15765 CC*)
15766 lt_prog_compiler_wl_CXX='-Wl,'
15767 lt_prog_compiler_static_CXX='-non_shared'
15768 # CC pic flag -KPIC is the default.
15769 ;;
15770 *)
15771 ;;
15772 esac
15773 ;;
15774 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15775 case $cc_basename in
15776 KCC*)
15777 # KAI C++ Compiler
15778 lt_prog_compiler_wl_CXX='--backend -Wl,'
15779 lt_prog_compiler_pic_CXX='-fPIC'
15780 ;;
15781 ecpc* )
15782 # old Intel C++ for x86_64 which still supported -KPIC.
15783 lt_prog_compiler_wl_CXX='-Wl,'
15784 lt_prog_compiler_pic_CXX='-KPIC'
15785 lt_prog_compiler_static_CXX='-static'
15786 ;;
15787 icpc* )
15788 # Intel C++, used to be incompatible with GCC.
15789 # ICC 10 doesn't accept -KPIC any more.
15790 lt_prog_compiler_wl_CXX='-Wl,'
15791 lt_prog_compiler_pic_CXX='-fPIC'
15792 lt_prog_compiler_static_CXX='-static'
15793 ;;
15794 pgCC* | pgcpp*)
15795 # Portland Group C++ compiler
15796 lt_prog_compiler_wl_CXX='-Wl,'
15797 lt_prog_compiler_pic_CXX='-fpic'
15798 lt_prog_compiler_static_CXX='-Bstatic'
15799 ;;
15800 cxx*)
15801 # Compaq C++
15802 # Make sure the PIC flag is empty. It appears that all Alpha
15803 # Linux and Compaq Tru64 Unix objects are PIC.
15804 lt_prog_compiler_pic_CXX=
15805 lt_prog_compiler_static_CXX='-non_shared'
15806 ;;
15807 xlc* | xlC*)
15808 # IBM XL 8.0 on PPC
15809 lt_prog_compiler_wl_CXX='-Wl,'
15810 lt_prog_compiler_pic_CXX='-qpic'
15811 lt_prog_compiler_static_CXX='-qstaticlink'
15812 ;;
15813 *)
15814 case `$CC -V 2>&1 | sed 5q` in
15815 *Sun\ C*)
15816 # Sun C++ 5.9
15817 lt_prog_compiler_pic_CXX='-KPIC'
15818 lt_prog_compiler_static_CXX='-Bstatic'
15819 lt_prog_compiler_wl_CXX='-Qoption ld '
15820 ;;
15821 esac
15822 ;;
15823 esac
15824 ;;
15825 lynxos*)
15826 ;;
15827 m88k*)
15828 ;;
15829 mvs*)
15830 case $cc_basename in
15831 cxx*)
15832 lt_prog_compiler_pic_CXX='-W c,exportall'
15833 ;;
15834 *)
15835 ;;
15836 esac
15837 ;;
15838 netbsd* | netbsdelf*-gnu)
15839 ;;
15840 *qnx* | *nto*)
15841 # QNX uses GNU C++, but need to define -shared option too, otherwise
15842 # it will coredump.
15843 lt_prog_compiler_pic_CXX='-fPIC -shared'
15844 ;;
15845 osf3* | osf4* | osf5*)
15846 case $cc_basename in
15847 KCC*)
15848 lt_prog_compiler_wl_CXX='--backend -Wl,'
15849 ;;
15850 RCC*)
15851 # Rational C++ 2.4.1
15852 lt_prog_compiler_pic_CXX='-pic'
15853 ;;
15854 cxx*)
15855 # Digital/Compaq C++
15856 lt_prog_compiler_wl_CXX='-Wl,'
15857 # Make sure the PIC flag is empty. It appears that all Alpha
15858 # Linux and Compaq Tru64 Unix objects are PIC.
15859 lt_prog_compiler_pic_CXX=
15860 lt_prog_compiler_static_CXX='-non_shared'
15861 ;;
15862 *)
15863 ;;
15864 esac
15865 ;;
15866 psos*)
15867 ;;
15868 solaris*)
15869 case $cc_basename in
15870 CC*)
15871 # Sun C++ 4.2, 5.x and Centerline C++
15872 lt_prog_compiler_pic_CXX='-KPIC'
15873 lt_prog_compiler_static_CXX='-Bstatic'
15874 lt_prog_compiler_wl_CXX='-Qoption ld '
15875 ;;
15876 gcx*)
15877 # Green Hills C++ Compiler
15878 lt_prog_compiler_pic_CXX='-PIC'
15879 ;;
15880 *)
15881 ;;
15882 esac
15883 ;;
15884 sunos4*)
15885 case $cc_basename in
15886 CC*)
15887 # Sun C++ 4.x
15888 lt_prog_compiler_pic_CXX='-pic'
15889 lt_prog_compiler_static_CXX='-Bstatic'
15890 ;;
15891 lcc*)
15892 # Lucid
15893 lt_prog_compiler_pic_CXX='-pic'
15894 ;;
15895 *)
15896 ;;
15897 esac
15898 ;;
15899 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15900 case $cc_basename in
15901 CC*)
15902 lt_prog_compiler_wl_CXX='-Wl,'
15903 lt_prog_compiler_pic_CXX='-KPIC'
15904 lt_prog_compiler_static_CXX='-Bstatic'
15905 ;;
15906 esac
15907 ;;
15908 tandem*)
15909 case $cc_basename in
15910 NCC*)
15911 # NonStop-UX NCC 3.20
15912 lt_prog_compiler_pic_CXX='-KPIC'
15913 ;;
15914 *)
15915 ;;
15916 esac
15917 ;;
15918 vxworks*)
15919 ;;
15920 *)
15921 lt_prog_compiler_can_build_shared_CXX=no
15922 ;;
15923 esac
15924 fi
15925
15926case $host_os in
15927 # For platforms which do not support PIC, -DPIC is meaningless:
15928 *djgpp*)
15929 lt_prog_compiler_pic_CXX=
15930 ;;
15931 *)
15932 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15933 ;;
15934esac
15935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15936$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15937
15938
15939
15940#
15941# Check to make sure the PIC flag actually works.
15942#
15943if test -n "$lt_prog_compiler_pic_CXX"; then
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15945$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15946if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15947 $as_echo_n "(cached) " >&6
15948else
15949 lt_cv_prog_compiler_pic_works_CXX=no
15950 ac_outfile=conftest.$ac_objext
15951 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15952 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15953 # Insert the option either (1) after the last *FLAGS variable, or
15954 # (2) before a word containing "conftest.", or (3) at the end.
15955 # Note that $ac_compile itself does not contain backslashes and begins
15956 # with a dollar sign (not a hyphen), so the echo should work correctly.
15957 # The option is referenced via a variable to avoid confusing sed.
15958 lt_compile=`echo "$ac_compile" | $SED \
15959 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15960 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15961 -e 's:$: $lt_compiler_flag:'`
15962 (eval echo "\"\$as_me:15962: $lt_compile\"" >&5)
15963 (eval "$lt_compile" 2>conftest.err)
15964 ac_status=$?
15965 cat conftest.err >&5
15966 echo "$as_me:15966: \$? = $ac_status" >&5
15967 if (exit $ac_status) && test -s "$ac_outfile"; then
15968 # The compiler can only warn and ignore the option if not recognized
15969 # So say no if there are warnings other than the usual output.
15970 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15971 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15972 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15973 lt_cv_prog_compiler_pic_works_CXX=yes
15974 fi
15975 fi
15976 $RM conftest*
15977
15978fi
15979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15980$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15981
15982if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15983 case $lt_prog_compiler_pic_CXX in
15984 "" | " "*) ;;
15985 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15986 esac
15987else
15988 lt_prog_compiler_pic_CXX=
15989 lt_prog_compiler_can_build_shared_CXX=no
15990fi
15991
15992fi
15993
15994
15995
15996#
15997# Check to make sure the static flag actually works.
15998#
15999wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16001$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16002if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
16003 $as_echo_n "(cached) " >&6
16004else
16005 lt_cv_prog_compiler_static_works_CXX=no
16006 save_LDFLAGS="$LDFLAGS"
16007 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16008 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16009 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16010 # The linker can only warn and ignore the option if not recognized
16011 # So say no if there are warnings
16012 if test -s conftest.err; then
16013 # Append any errors to the config.log.
16014 cat conftest.err 1>&5
16015 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16016 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16017 if diff conftest.exp conftest.er2 >/dev/null; then
16018 lt_cv_prog_compiler_static_works_CXX=yes
16019 fi
16020 else
16021 lt_cv_prog_compiler_static_works_CXX=yes
16022 fi
16023 fi
16024 $RM -r conftest*
16025 LDFLAGS="$save_LDFLAGS"
16026
16027fi
16028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16029$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16030
16031if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16032 :
16033else
16034 lt_prog_compiler_static_CXX=
16035fi
16036
16037
16038
16039
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16041$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16042if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16043 $as_echo_n "(cached) " >&6
16044else
16045 lt_cv_prog_compiler_c_o_CXX=no
16046 $RM -r conftest 2>/dev/null
16047 mkdir conftest
16048 cd conftest
16049 mkdir out
16050 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16051
16052 lt_compiler_flag="-o out/conftest2.$ac_objext"
16053 # Insert the option either (1) after the last *FLAGS variable, or
16054 # (2) before a word containing "conftest.", or (3) at the end.
16055 # Note that $ac_compile itself does not contain backslashes and begins
16056 # with a dollar sign (not a hyphen), so the echo should work correctly.
16057 lt_compile=`echo "$ac_compile" | $SED \
16058 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16059 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16060 -e 's:$: $lt_compiler_flag:'`
16061 (eval echo "\"\$as_me:16061: $lt_compile\"" >&5)
16062 (eval "$lt_compile" 2>out/conftest.err)
16063 ac_status=$?
16064 cat out/conftest.err >&5
16065 echo "$as_me:16065: \$? = $ac_status" >&5
16066 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16067 then
16068 # The compiler can only warn and ignore the option if not recognized
16069 # So say no if there are warnings
16070 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16071 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16072 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16073 lt_cv_prog_compiler_c_o_CXX=yes
16074 fi
16075 fi
16076 chmod u+w . 2>&5
16077 $RM conftest*
16078 # SGI C++ compiler will create directory out/ii_files/ for
16079 # template instantiation
16080 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16081 $RM out/* && rmdir out
16082 cd ..
16083 $RM -r conftest
16084 $RM conftest*
16085
16086fi
16087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16088$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16089
16090
16091
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16093$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16094if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16095 $as_echo_n "(cached) " >&6
16096else
16097 lt_cv_prog_compiler_c_o_CXX=no
16098 $RM -r conftest 2>/dev/null
16099 mkdir conftest
16100 cd conftest
16101 mkdir out
16102 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16103
16104 lt_compiler_flag="-o out/conftest2.$ac_objext"
16105 # Insert the option either (1) after the last *FLAGS variable, or
16106 # (2) before a word containing "conftest.", or (3) at the end.
16107 # Note that $ac_compile itself does not contain backslashes and begins
16108 # with a dollar sign (not a hyphen), so the echo should work correctly.
16109 lt_compile=`echo "$ac_compile" | $SED \
16110 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16111 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16112 -e 's:$: $lt_compiler_flag:'`
16113 (eval echo "\"\$as_me:16113: $lt_compile\"" >&5)
16114 (eval "$lt_compile" 2>out/conftest.err)
16115 ac_status=$?
16116 cat out/conftest.err >&5
16117 echo "$as_me:16117: \$? = $ac_status" >&5
16118 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16119 then
16120 # The compiler can only warn and ignore the option if not recognized
16121 # So say no if there are warnings
16122 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16123 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16124 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16125 lt_cv_prog_compiler_c_o_CXX=yes
16126 fi
16127 fi
16128 chmod u+w . 2>&5
16129 $RM conftest*
16130 # SGI C++ compiler will create directory out/ii_files/ for
16131 # template instantiation
16132 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16133 $RM out/* && rmdir out
16134 cd ..
16135 $RM -r conftest
16136 $RM conftest*
16137
16138fi
16139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16140$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16141
16142
16143
16144
16145hard_links="nottested"
16146if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16147 # do not overwrite the value of need_locks provided by the user
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16149$as_echo_n "checking if we can lock with hard links... " >&6; }
16150 hard_links=yes
16151 $RM conftest*
16152 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16153 touch conftest.a
16154 ln conftest.a conftest.b 2>&5 || hard_links=no
16155 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16157$as_echo "$hard_links" >&6; }
16158 if test "$hard_links" = no; then
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16160$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16161 need_locks=warn
16162 fi
16163else
16164 need_locks=no
16165fi
16166
16167
16168
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16170$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16171
16172 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16173 case $host_os in
16174 aix[4-9]*)
16175 # If we're using GNU nm, then we don't want the "-C" option.
16176 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16177 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16178 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'
16179 else
16180 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'
16181 fi
16182 ;;
16183 pw32*)
16184 export_symbols_cmds_CXX="$ltdll_cmds"
16185 ;;
16186 cygwin* | mingw* | cegcc*)
16187 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'
16188 ;;
16189 linux* | k*bsd*-gnu)
16190 link_all_deplibs_CXX=no
16191 ;;
16192 *)
16193 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16194 ;;
16195 esac
16196 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16197
16198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16199$as_echo "$ld_shlibs_CXX" >&6; }
16200test "$ld_shlibs_CXX" = no && can_build_shared=no
16201
16202with_gnu_ld_CXX=$with_gnu_ld
16203
16204
16205
16206
16207
16208
16209#
16210# Do we need to explicitly link libc?
16211#
16212case "x$archive_cmds_need_lc_CXX" in
16213x|xyes)
16214 # Assume -lc should be added
16215 archive_cmds_need_lc_CXX=yes
16216
16217 if test "$enable_shared" = yes && test "$GCC" = yes; then
16218 case $archive_cmds_CXX in
16219 *'~'*)
16220 # FIXME: we may have to deal with multi-command sequences.
16221 ;;
16222 '$CC '*)
16223 # Test whether the compiler implicitly links with -lc since on some
16224 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16225 # to ld, don't add -lc before -lgcc.
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16227$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16228 $RM conftest*
16229 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16230
16231 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16232 (eval $ac_compile) 2>&5
16233 ac_status=$?
16234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16235 test $ac_status = 0; } 2>conftest.err; then
16236 soname=conftest
16237 lib=conftest
16238 libobjs=conftest.$ac_objext
16239 deplibs=
16240 wl=$lt_prog_compiler_wl_CXX
16241 pic_flag=$lt_prog_compiler_pic_CXX
16242 compiler_flags=-v
16243 linker_flags=-v
16244 verstring=
16245 output_objdir=.
16246 libname=conftest
16247 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16248 allow_undefined_flag_CXX=
16249 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16250 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16251 ac_status=$?
16252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16253 test $ac_status = 0; }
16254 then
16255 archive_cmds_need_lc_CXX=no
16256 else
16257 archive_cmds_need_lc_CXX=yes
16258 fi
16259 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16260 else
16261 cat conftest.err 1>&5
16262 fi
16263 $RM conftest*
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
16265$as_echo "$archive_cmds_need_lc_CXX" >&6; }
16266 ;;
16267 esac
16268 fi
16269 ;;
16270esac
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16336$as_echo_n "checking dynamic linker characteristics... " >&6; }
16337
16338library_names_spec=
16339libname_spec='lib$name'
16340soname_spec=
16341shrext_cmds=".so"
16342postinstall_cmds=
16343postuninstall_cmds=
16344finish_cmds=
16345finish_eval=
16346shlibpath_var=
16347shlibpath_overrides_runpath=unknown
16348version_type=none
16349dynamic_linker="$host_os ld.so"
16350sys_lib_dlsearch_path_spec="/lib /usr/lib"
16351need_lib_prefix=unknown
16352hardcode_into_libs=no
16353
16354# when you set need_version to no, make sure it does not cause -set_version
16355# flags to be left without arguments
16356need_version=unknown
16357
16358case $host_os in
16359aix3*)
16360 version_type=linux
16361 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16362 shlibpath_var=LIBPATH
16363
16364 # AIX 3 has no versioning support, so we append a major version to the name.
16365 soname_spec='${libname}${release}${shared_ext}$major'
16366 ;;
16367
16368aix[4-9]*)
16369 version_type=linux
16370 need_lib_prefix=no
16371 need_version=no
16372 hardcode_into_libs=yes
16373 if test "$host_cpu" = ia64; then
16374 # AIX 5 supports IA64
16375 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16376 shlibpath_var=LD_LIBRARY_PATH
16377 else
16378 # With GCC up to 2.95.x, collect2 would create an import file
16379 # for dependence libraries. The import file would start with
16380 # the line `#! .'. This would cause the generated library to
16381 # depend on `.', always an invalid library. This was fixed in
16382 # development snapshots of GCC prior to 3.0.
16383 case $host_os in
16384 aix4 | aix4.[01] | aix4.[01].*)
16385 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16386 echo ' yes '
16387 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16388 :
16389 else
16390 can_build_shared=no
16391 fi
16392 ;;
16393 esac
16394 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16395 # soname into executable. Probably we can add versioning support to
16396 # collect2, so additional links can be useful in future.
16397 if test "$aix_use_runtimelinking" = yes; then
16398 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16399 # instead of lib<name>.a to let people know that these are not
16400 # typical AIX shared libraries.
16401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16402 else
16403 # We preserve .a as extension for shared libraries through AIX4.2
16404 # and later when we are not doing run time linking.
16405 library_names_spec='${libname}${release}.a $libname.a'
16406 soname_spec='${libname}${release}${shared_ext}$major'
16407 fi
16408 shlibpath_var=LIBPATH
16409 fi
16410 ;;
16411
16412amigaos*)
16413 case $host_cpu in
16414 powerpc)
16415 # Since July 2007 AmigaOS4 officially supports .so libraries.
16416 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16418 ;;
16419 m68k)
16420 library_names_spec='$libname.ixlibrary $libname.a'
16421 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16422 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'
16423 ;;
16424 esac
16425 ;;
16426
16427beos*)
16428 library_names_spec='${libname}${shared_ext}'
16429 dynamic_linker="$host_os ld.so"
16430 shlibpath_var=LIBRARY_PATH
16431 ;;
16432
16433bsdi[45]*)
16434 version_type=linux
16435 need_version=no
16436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16437 soname_spec='${libname}${release}${shared_ext}$major'
16438 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16439 shlibpath_var=LD_LIBRARY_PATH
16440 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16441 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16442 # the default ld.so.conf also contains /usr/contrib/lib and
16443 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16444 # libtool to hard-code these into programs
16445 ;;
16446
16447cygwin* | mingw* | pw32* | cegcc*)
16448 version_type=windows
16449 shrext_cmds=".dll"
16450 need_version=no
16451 need_lib_prefix=no
16452
16453 case $GCC,$host_os in
16454 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
16455 library_names_spec='$libname.dll.a'
16456 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16457 postinstall_cmds='base_file=`basename \${file}`~
16458 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16459 dldir=$destdir/`dirname \$dlpath`~
16460 test -d \$dldir || mkdir -p \$dldir~
16461 $install_prog $dir/$dlname \$dldir/$dlname~
16462 chmod a+x \$dldir/$dlname~
16463 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16464 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16465 fi'
16466 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16467 dlpath=$dir/\$dldll~
16468 $RM \$dlpath'
16469 shlibpath_overrides_runpath=yes
16470
16471 case $host_os in
16472 cygwin*)
16473 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16474 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16475 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16476 ;;
16477 mingw* | cegcc*)
16478 # MinGW DLLs use traditional 'lib' prefix
16479 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16480 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16481 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16482 # It is most probably a Windows format PATH printed by
16483 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16484 # path with ; separators, and with drive letters. We can handle the
16485 # drive letters (cygwin fileutils understands them), so leave them,
16486 # especially as we might pass files found there to a mingw objdump,
16487 # which wouldn't understand a cygwinified path. Ahh.
16488 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16489 else
16490 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16491 fi
16492 ;;
16493 pw32*)
16494 # pw32 DLLs use 'pw' prefix rather than 'lib'
16495 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16496 ;;
16497 esac
16498 ;;
16499
16500 *)
16501 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16502 ;;
16503 esac
16504 dynamic_linker='Win32 ld.exe'
16505 # FIXME: first we should search . and the directory the executable is in
16506 shlibpath_var=PATH
16507 ;;
16508
16509darwin* | rhapsody*)
16510 dynamic_linker="$host_os dyld"
16511 version_type=darwin
16512 need_lib_prefix=no
16513 need_version=no
16514 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16515 soname_spec='${libname}${release}${major}$shared_ext'
16516 shlibpath_overrides_runpath=yes
16517 shlibpath_var=DYLD_LIBRARY_PATH
16518 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16519
16520 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16521 ;;
16522
16523dgux*)
16524 version_type=linux
16525 need_lib_prefix=no
16526 need_version=no
16527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16528 soname_spec='${libname}${release}${shared_ext}$major'
16529 shlibpath_var=LD_LIBRARY_PATH
16530 ;;
16531
16532freebsd1*)
16533 dynamic_linker=no
16534 ;;
16535
16536freebsd* | dragonfly*)
16537 # DragonFly does not have aout. When/if they implement a new
16538 # versioning mechanism, adjust this.
16539 if test -x /usr/bin/objformat; then
16540 objformat=`/usr/bin/objformat`
16541 else
16542 case $host_os in
16543 freebsd[123]*) objformat=aout ;;
16544 *) objformat=elf ;;
16545 esac
16546 fi
16547 version_type=freebsd-$objformat
16548 case $version_type in
16549 freebsd-elf*)
16550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16551 need_version=no
16552 need_lib_prefix=no
16553 ;;
16554 freebsd-*)
16555 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16556 need_version=yes
16557 ;;
16558 esac
16559 shlibpath_var=LD_LIBRARY_PATH
16560 case $host_os in
16561 freebsd2*)
16562 shlibpath_overrides_runpath=yes
16563 ;;
16564 freebsd3.[01]* | freebsdelf3.[01]*)
16565 shlibpath_overrides_runpath=yes
16566 hardcode_into_libs=yes
16567 ;;
16568 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16569 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16570 shlibpath_overrides_runpath=no
16571 hardcode_into_libs=yes
16572 ;;
16573 *) # from 4.6 on, and DragonFly
16574 shlibpath_overrides_runpath=yes
16575 hardcode_into_libs=yes
16576 ;;
16577 esac
16578 ;;
16579
16580gnu*)
16581 version_type=linux
16582 need_lib_prefix=no
16583 need_version=no
16584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16585 soname_spec='${libname}${release}${shared_ext}$major'
16586 shlibpath_var=LD_LIBRARY_PATH
16587 hardcode_into_libs=yes
16588 ;;
16589
16590hpux9* | hpux10* | hpux11*)
16591 # Give a soname corresponding to the major version so that dld.sl refuses to
16592 # link against other versions.
16593 version_type=sunos
16594 need_lib_prefix=no
16595 need_version=no
16596 case $host_cpu in
16597 ia64*)
16598 shrext_cmds='.so'
16599 hardcode_into_libs=yes
16600 dynamic_linker="$host_os dld.so"
16601 shlibpath_var=LD_LIBRARY_PATH
16602 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16604 soname_spec='${libname}${release}${shared_ext}$major'
16605 if test "X$HPUX_IA64_MODE" = X32; then
16606 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16607 else
16608 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16609 fi
16610 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16611 ;;
16612 hppa*64*)
16613 shrext_cmds='.sl'
16614 hardcode_into_libs=yes
16615 dynamic_linker="$host_os dld.sl"
16616 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16617 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16619 soname_spec='${libname}${release}${shared_ext}$major'
16620 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16621 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16622 ;;
16623 *)
16624 shrext_cmds='.sl'
16625 dynamic_linker="$host_os dld.sl"
16626 shlibpath_var=SHLIB_PATH
16627 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16629 soname_spec='${libname}${release}${shared_ext}$major'
16630 ;;
16631 esac
16632 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16633 postinstall_cmds='chmod 555 $lib'
16634 ;;
16635
16636interix[3-9]*)
16637 version_type=linux
16638 need_lib_prefix=no
16639 need_version=no
16640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16641 soname_spec='${libname}${release}${shared_ext}$major'
16642 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16643 shlibpath_var=LD_LIBRARY_PATH
16644 shlibpath_overrides_runpath=no
16645 hardcode_into_libs=yes
16646 ;;
16647
16648irix5* | irix6* | nonstopux*)
16649 case $host_os in
16650 nonstopux*) version_type=nonstopux ;;
16651 *)
16652 if test "$lt_cv_prog_gnu_ld" = yes; then
16653 version_type=linux
16654 else
16655 version_type=irix
16656 fi ;;
16657 esac
16658 need_lib_prefix=no
16659 need_version=no
16660 soname_spec='${libname}${release}${shared_ext}$major'
16661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16662 case $host_os in
16663 irix5* | nonstopux*)
16664 libsuff= shlibsuff=
16665 ;;
16666 *)
16667 case $LD in # libtool.m4 will add one of these switches to LD
16668 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16669 libsuff= shlibsuff= libmagic=32-bit;;
16670 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16671 libsuff=32 shlibsuff=N32 libmagic=N32;;
16672 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16673 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16674 *) libsuff= shlibsuff= libmagic=never-match;;
16675 esac
16676 ;;
16677 esac
16678 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16679 shlibpath_overrides_runpath=no
16680 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16681 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16682 hardcode_into_libs=yes
16683 ;;
16684
16685# No shared lib support for Linux oldld, aout, or coff.
16686linux*oldld* | linux*aout* | linux*coff*)
16687 dynamic_linker=no
16688 ;;
16689
16690# This must be Linux ELF.
16691linux* | k*bsd*-gnu | kopensolaris*-gnu)
16692 version_type=linux
16693 need_lib_prefix=no
16694 need_version=no
16695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16696 soname_spec='${libname}${release}${shared_ext}$major'
16697 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16698 shlibpath_var=LD_LIBRARY_PATH
16699 shlibpath_overrides_runpath=no
16700 # Some binutils ld are patched to set DT_RUNPATH
16701 save_LDFLAGS=$LDFLAGS
16702 save_libdir=$libdir
16703 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16704 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16706/* end confdefs.h. */
16707
16708int
16709main ()
16710{
16711
16712 ;
16713 return 0;
16714}
16715_ACEOF
16716if ac_fn_cxx_try_link "$LINENO"; then :
16717 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16718 shlibpath_overrides_runpath=yes
16719fi
16720fi
16721rm -f core conftest.err conftest.$ac_objext \
16722 conftest$ac_exeext conftest.$ac_ext
16723 LDFLAGS=$save_LDFLAGS
16724 libdir=$save_libdir
16725
16726 # This implies no fast_install, which is unacceptable.
16727 # Some rework will be needed to allow for fast_install
16728 # before this can be enabled.
16729 hardcode_into_libs=yes
16730
16731 # Append ld.so.conf contents to the search path
16732 if test -f /etc/ld.so.conf; then
16733 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' ' '`
16734 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16735 fi
16736
16737 # We used to test for /lib/ld.so.1 and disable shared libraries on
16738 # powerpc, because MkLinux only supported shared libraries with the
16739 # GNU dynamic linker. Since this was broken with cross compilers,
16740 # most powerpc-linux boxes support dynamic linking these days and
16741 # people can always --disable-shared, the test was removed, and we
16742 # assume the GNU/Linux dynamic linker is in use.
16743 dynamic_linker='GNU/Linux ld.so'
16744 ;;
16745
16746netbsdelf*-gnu)
16747 version_type=linux
16748 need_lib_prefix=no
16749 need_version=no
16750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16751 soname_spec='${libname}${release}${shared_ext}$major'
16752 shlibpath_var=LD_LIBRARY_PATH
16753 shlibpath_overrides_runpath=no
16754 hardcode_into_libs=yes
16755 dynamic_linker='NetBSD ld.elf_so'
16756 ;;
16757
16758netbsd*)
16759 version_type=sunos
16760 need_lib_prefix=no
16761 need_version=no
16762 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16764 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16765 dynamic_linker='NetBSD (a.out) ld.so'
16766 else
16767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16768 soname_spec='${libname}${release}${shared_ext}$major'
16769 dynamic_linker='NetBSD ld.elf_so'
16770 fi
16771 shlibpath_var=LD_LIBRARY_PATH
16772 shlibpath_overrides_runpath=yes
16773 hardcode_into_libs=yes
16774 ;;
16775
16776newsos6)
16777 version_type=linux
16778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16779 shlibpath_var=LD_LIBRARY_PATH
16780 shlibpath_overrides_runpath=yes
16781 ;;
16782
16783*nto* | *qnx*)
16784 version_type=qnx
16785 need_lib_prefix=no
16786 need_version=no
16787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16788 soname_spec='${libname}${release}${shared_ext}$major'
16789 shlibpath_var=LD_LIBRARY_PATH
16790 shlibpath_overrides_runpath=no
16791 hardcode_into_libs=yes
16792 dynamic_linker='ldqnx.so'
16793 ;;
16794
16795openbsd*)
16796 version_type=sunos
16797 sys_lib_dlsearch_path_spec="/usr/lib"
16798 need_lib_prefix=no
16799 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16800 case $host_os in
16801 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16802 *) need_version=no ;;
16803 esac
16804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16805 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16806 shlibpath_var=LD_LIBRARY_PATH
16807 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16808 case $host_os in
16809 openbsd2.[89] | openbsd2.[89].*)
16810 shlibpath_overrides_runpath=no
16811 ;;
16812 *)
16813 shlibpath_overrides_runpath=yes
16814 ;;
16815 esac
16816 else
16817 shlibpath_overrides_runpath=yes
16818 fi
16819 ;;
16820
16821os2*)
16822 libname_spec='$name'
16823 shrext_cmds=".dll"
16824 need_lib_prefix=no
16825 library_names_spec='$libname${shared_ext} $libname.a'
16826 dynamic_linker='OS/2 ld.exe'
16827 shlibpath_var=LIBPATH
16828 ;;
16829
16830osf3* | osf4* | osf5*)
16831 version_type=osf
16832 need_lib_prefix=no
16833 need_version=no
16834 soname_spec='${libname}${release}${shared_ext}$major'
16835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16836 shlibpath_var=LD_LIBRARY_PATH
16837 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16838 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16839 ;;
16840
16841rdos*)
16842 dynamic_linker=no
16843 ;;
16844
16845solaris*)
16846 version_type=linux
16847 need_lib_prefix=no
16848 need_version=no
16849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16850 soname_spec='${libname}${release}${shared_ext}$major'
16851 shlibpath_var=LD_LIBRARY_PATH
16852 shlibpath_overrides_runpath=yes
16853 hardcode_into_libs=yes
16854 # ldd complains unless libraries are executable
16855 postinstall_cmds='chmod +x $lib'
16856 ;;
16857
16858sunos4*)
16859 version_type=sunos
16860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16861 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16862 shlibpath_var=LD_LIBRARY_PATH
16863 shlibpath_overrides_runpath=yes
16864 if test "$with_gnu_ld" = yes; then
16865 need_lib_prefix=no
16866 fi
16867 need_version=yes
16868 ;;
16869
16870sysv4 | sysv4.3*)
16871 version_type=linux
16872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16873 soname_spec='${libname}${release}${shared_ext}$major'
16874 shlibpath_var=LD_LIBRARY_PATH
16875 case $host_vendor in
16876 sni)
16877 shlibpath_overrides_runpath=no
16878 need_lib_prefix=no
16879 runpath_var=LD_RUN_PATH
16880 ;;
16881 siemens)
16882 need_lib_prefix=no
16883 ;;
16884 motorola)
16885 need_lib_prefix=no
16886 need_version=no
16887 shlibpath_overrides_runpath=no
16888 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16889 ;;
16890 esac
16891 ;;
16892
16893sysv4*MP*)
16894 if test -d /usr/nec ;then
16895 version_type=linux
16896 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16897 soname_spec='$libname${shared_ext}.$major'
16898 shlibpath_var=LD_LIBRARY_PATH
16899 fi
16900 ;;
16901
16902sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16903 version_type=freebsd-elf
16904 need_lib_prefix=no
16905 need_version=no
16906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16907 soname_spec='${libname}${release}${shared_ext}$major'
16908 shlibpath_var=LD_LIBRARY_PATH
16909 shlibpath_overrides_runpath=yes
16910 hardcode_into_libs=yes
16911 if test "$with_gnu_ld" = yes; then
16912 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16913 else
16914 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16915 case $host_os in
16916 sco3.2v5*)
16917 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16918 ;;
16919 esac
16920 fi
16921 sys_lib_dlsearch_path_spec='/usr/lib'
16922 ;;
16923
16924tpf*)
16925 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16926 version_type=linux
16927 need_lib_prefix=no
16928 need_version=no
16929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16930 shlibpath_var=LD_LIBRARY_PATH
16931 shlibpath_overrides_runpath=no
16932 hardcode_into_libs=yes
16933 ;;
16934
16935uts4*)
16936 version_type=linux
16937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16938 soname_spec='${libname}${release}${shared_ext}$major'
16939 shlibpath_var=LD_LIBRARY_PATH
16940 ;;
16941
16942*)
16943 dynamic_linker=no
16944 ;;
16945esac
16946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16947$as_echo "$dynamic_linker" >&6; }
16948test "$dynamic_linker" = no && can_build_shared=no
16949
16950variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16951if test "$GCC" = yes; then
16952 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16953fi
16954
16955if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16956 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16957fi
16958if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16959 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16960fi
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16998$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16999hardcode_action_CXX=
17000if test -n "$hardcode_libdir_flag_spec_CXX" ||
17001 test -n "$runpath_var_CXX" ||
17002 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17003
17004 # We can hardcode non-existent directories.
17005 if test "$hardcode_direct_CXX" != no &&
17006 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17007 # have to relink, otherwise we might link with an installed library
17008 # when we should be linking with a yet-to-be-installed one
17009 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17010 test "$hardcode_minus_L_CXX" != no; then
17011 # Linking always hardcodes the temporary library directory.
17012 hardcode_action_CXX=relink
17013 else
17014 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17015 hardcode_action_CXX=immediate
17016 fi
17017else
17018 # We cannot hardcode anything, or else we can only hardcode existing
17019 # directories.
17020 hardcode_action_CXX=unsupported
17021fi
17022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17023$as_echo "$hardcode_action_CXX" >&6; }
17024
17025if test "$hardcode_action_CXX" = relink ||
17026 test "$inherit_rpath_CXX" = yes; then
17027 # Fast installation is not supported
17028 enable_fast_install=no
17029elif test "$shlibpath_overrides_runpath" = yes ||
17030 test "$enable_shared" = no; then
17031 # Fast installation is not necessary
17032 enable_fast_install=needless
17033fi
17034
17035
17036
17037
17038
17039
17040
17041 fi # test -n "$compiler"
17042
17043 CC=$lt_save_CC
17044 LDCXX=$LD
17045 LD=$lt_save_LD
17046 GCC=$lt_save_GCC
17047 with_gnu_ld=$lt_save_with_gnu_ld
17048 lt_cv_path_LDCXX=$lt_cv_path_LD
17049 lt_cv_path_LD=$lt_save_path_LD
17050 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17051 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17052fi # test "$_lt_caught_CXX_error" != yes
17053
17054ac_ext=c
17055ac_cpp='$CPP $CPPFLAGS'
17056ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17057ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17058ac_compiler_gnu=$ac_cv_c_compiler_gnu
17059
17060
17061
17062# pkg-config
17063
17064
17065
17066
17067
17068
17069if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17070 if test -n "$ac_tool_prefix"; then
17071 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17072set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17074$as_echo_n "checking for $ac_word... " >&6; }
17075if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
17076 $as_echo_n "(cached) " >&6
17077else
17078 case $PKG_CONFIG in
17079 [\\/]* | ?:[\\/]*)
17080 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17081 ;;
17082 *)
17083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17084for as_dir in $PATH
17085do
17086 IFS=$as_save_IFS
17087 test -z "$as_dir" && as_dir=.
17088 for ac_exec_ext in '' $ac_executable_extensions; do
17089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17090 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17092 break 2
17093 fi
17094done
17095 done
17096IFS=$as_save_IFS
17097
17098 ;;
17099esac
17100fi
17101PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17102if test -n "$PKG_CONFIG"; then
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17104$as_echo "$PKG_CONFIG" >&6; }
17105else
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17107$as_echo "no" >&6; }
17108fi
17109
17110
17111fi
17112if test -z "$ac_cv_path_PKG_CONFIG"; then
17113 ac_pt_PKG_CONFIG=$PKG_CONFIG
17114 # Extract the first word of "pkg-config", so it can be a program name with args.
17115set dummy pkg-config; ac_word=$2
17116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17117$as_echo_n "checking for $ac_word... " >&6; }
17118if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
17119 $as_echo_n "(cached) " >&6
17120else
17121 case $ac_pt_PKG_CONFIG in
17122 [\\/]* | ?:[\\/]*)
17123 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17124 ;;
17125 *)
17126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17127for as_dir in $PATH
17128do
17129 IFS=$as_save_IFS
17130 test -z "$as_dir" && as_dir=.
17131 for ac_exec_ext in '' $ac_executable_extensions; do
17132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17133 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17135 break 2
17136 fi
17137done
17138 done
17139IFS=$as_save_IFS
17140
17141 ;;
17142esac
17143fi
17144ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17145if test -n "$ac_pt_PKG_CONFIG"; then
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17147$as_echo "$ac_pt_PKG_CONFIG" >&6; }
17148else
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17150$as_echo "no" >&6; }
17151fi
17152
17153 if test "x$ac_pt_PKG_CONFIG" = x; then
17154 PKG_CONFIG=""
17155 else
17156 case $cross_compiling:$ac_tool_warned in
17157yes:)
17158{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17159$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17160ac_tool_warned=yes ;;
17161esac
17162 PKG_CONFIG=$ac_pt_PKG_CONFIG
17163 fi
17164else
17165 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17166fi
17167
17168fi
17169if test -n "$PKG_CONFIG"; then
17170 _pkg_min_version=0.9.0
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17172$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17173 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17175$as_echo "yes" >&6; }
17176 else
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17178$as_echo "no" >&6; }
17179 PKG_CONFIG=""
17180 fi
17181fi
17182
17183# Check whether pkg-config supports Requires.private
17184if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
17185 pkgconfig_requires_private="Requires.private"
17186else
17187 pkgconfig_requires_private="Requires"
17188fi
17189
17190
17191# doxygen program for documentation building
17192
17193
17194
17195# Check whether --enable-doc was given.
17196if test "${enable_doc+set}" = set; then :
17197 enableval=$enable_doc;
17198 if test "x${enableval}" = "xyes" ; then
17199 efl_enable_doc="yes"
17200 else
17201 efl_enable_doc="no"
17202 fi
17203
17204else
17205 efl_enable_doc="yes"
17206fi
17207
17208
17209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
17210$as_echo_n "checking whether to build documentation... " >&6; }
17211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
17212$as_echo "${efl_enable_doc}" >&6; }
17213
17214if test "x${efl_enable_doc}" = "xyes" ; then
17215
17216
17217 efl_doxygen="doxygen"
17218
17219
17220# Check whether --with-doxygen was given.
17221if test "${with_doxygen+set}" = set; then :
17222 withval=$with_doxygen;
17223 efl_doxygen=${withval}
17224 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
17225set dummy ${efl_doxygen}; ac_word=$2
17226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17227$as_echo_n "checking for $ac_word... " >&6; }
17228if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
17229 $as_echo_n "(cached) " >&6
17230else
17231 if test -n "$efl_have_doxygen"; then
17232 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
17233else
17234as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17235for as_dir in $PATH
17236do
17237 IFS=$as_save_IFS
17238 test -z "$as_dir" && as_dir=.
17239 for ac_exec_ext in '' $ac_executable_extensions; do
17240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17241 ac_cv_prog_efl_have_doxygen="yes"
17242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17243 break 2
17244 fi
17245done
17246 done
17247IFS=$as_save_IFS
17248
17249 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
17250fi
17251fi
17252efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
17253if test -n "$efl_have_doxygen"; then
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
17255$as_echo "$efl_have_doxygen" >&6; }
17256else
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17258$as_echo "no" >&6; }
17259fi
17260
17261
17262 if test "x${efl_have_doxygen}" = "xno" ; then
17263 echo "WARNING:"
17264 echo "The doxygen program you specified:"
17265 echo "${efl_doxygen}"
17266 echo "was not found. Please check the path and make sure "
17267 echo "the program exists and is executable."
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
17269$as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
17270 fi
17271
17272else
17273 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
17274set dummy ${efl_doxygen}; ac_word=$2
17275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17276$as_echo_n "checking for $ac_word... " >&6; }
17277if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
17278 $as_echo_n "(cached) " >&6
17279else
17280 if test -n "$efl_have_doxygen"; then
17281 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
17282else
17283as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17284for as_dir in $PATH
17285do
17286 IFS=$as_save_IFS
17287 test -z "$as_dir" && as_dir=.
17288 for ac_exec_ext in '' $ac_executable_extensions; do
17289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17290 ac_cv_prog_efl_have_doxygen="yes"
17291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17292 break 2
17293 fi
17294done
17295 done
17296IFS=$as_save_IFS
17297
17298 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
17299fi
17300fi
17301efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
17302if test -n "$efl_have_doxygen"; then
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
17304$as_echo "$efl_have_doxygen" >&6; }
17305else
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17307$as_echo "no" >&6; }
17308fi
17309
17310
17311 if test "x${efl_have_doxygen}" = "xno" ; then
17312 echo "WARNING:"
17313 echo "The doxygen program was not found in your execute path."
17314 echo "You may have doxygen installed somewhere not covered by your path."
17315 echo ""
17316 echo "If this is the case make sure you have the packages installed, AND"
17317 echo "that the doxygen program is in your execute path (see your"
17318 echo "shell manual page on setting the \$PATH environment variable), OR"
17319 echo "alternatively, specify the program to use with --with-doxygen."
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
17321$as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
17322 fi
17323
17324fi
17325
17326else
17327 efl_have_doxygen="no"
17328fi
17329
17330
17331
17332if ! test "x${efl_have_doxygen}" = "xyes" ; then
17333 efl_enable_doc="no"
17334fi
17335
17336 if test "x${efl_have_doxygen}" = "xyes"; then
17337 EFL_BUILD_DOC_TRUE=
17338 EFL_BUILD_DOC_FALSE='#'
17339else
17340 EFL_BUILD_DOC_TRUE='#'
17341 EFL_BUILD_DOC_FALSE=
17342fi
17343
17344
17345if test "x$efl_have_doxygen" = "xyes"; then :
17346 build_doc="yes"
17347else
17348 build_doc="no"
17349fi
17350
17351
17352
17353### Checks for libraries
17354
17355# Valgrind
17356want_valgrind="auto"
17357have_valgrind="no"
17358
17359# Check whether --enable-valgrind was given.
17360if test "${enable_valgrind+set}" = set; then :
17361 enableval=$enable_valgrind; want_valgrind=$enableval
17362fi
17363
17364
17365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build with valgrind" >&5
17366$as_echo_n "checking whether to enable build with valgrind... " >&6; }
17367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_valgrind}" >&5
17368$as_echo "${want_valgrind}" >&6; }
17369
17370if test "x${want_valgrind}" = "xyes" || test "x${want_valgrind}" = "xauto"; then
17371
17372pkg_failed=no
17373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
17374$as_echo_n "checking for VALGRIND... " >&6; }
17375
17376if test -n "$VALGRIND_CFLAGS"; then
17377 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
17378 elif test -n "$PKG_CONFIG"; then
17379 if test -n "$PKG_CONFIG" && \
17380 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
17381 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
17382 ac_status=$?
17383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17384 test $ac_status = 0; }; then
17385 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= 2.4.0" 2>/dev/null`
17386else
17387 pkg_failed=yes
17388fi
17389 else
17390 pkg_failed=untried
17391fi
17392if test -n "$VALGRIND_LIBS"; then
17393 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
17394 elif test -n "$PKG_CONFIG"; then
17395 if test -n "$PKG_CONFIG" && \
17396 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
17397 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
17398 ac_status=$?
17399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17400 test $ac_status = 0; }; then
17401 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= 2.4.0" 2>/dev/null`
17402else
17403 pkg_failed=yes
17404fi
17405 else
17406 pkg_failed=untried
17407fi
17408
17409
17410
17411if test $pkg_failed = yes; then
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17413$as_echo "no" >&6; }
17414
17415if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17416 _pkg_short_errors_supported=yes
17417else
17418 _pkg_short_errors_supported=no
17419fi
17420 if test $_pkg_short_errors_supported = yes; then
17421 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "valgrind >= 2.4.0" 2>&1`
17422 else
17423 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors "valgrind >= 2.4.0" 2>&1`
17424 fi
17425 # Put the nasty error message in config.log where it belongs
17426 echo "$VALGRIND_PKG_ERRORS" >&5
17427
17428
17429
17430$as_echo "#define NVALGRIND 1" >>confdefs.h
17431
17432 if test "x${want_valgrind}" = "xyes"; then
17433 as_fn_error $? "Valgrind >= 2.4.0 is required" "$LINENO" 5
17434 fi
17435
17436elif test $pkg_failed = untried; then
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17438$as_echo "no" >&6; }
17439
17440
17441$as_echo "#define NVALGRIND 1" >>confdefs.h
17442
17443 if test "x${want_valgrind}" = "xyes"; then
17444 as_fn_error $? "Valgrind >= 2.4.0 is required" "$LINENO" 5
17445 fi
17446
17447else
17448 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
17449 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17451$as_echo "yes" >&6; }
17452
17453 requirement_eina="valgrind ${requirement_eina}"
17454 have_valgrind="yes"
17455
17456fi
17457else
17458
17459$as_echo "#define NVALGRIND 1" >>confdefs.h
17460
17461fi
17462
17463
17464# Evil library for compilation on Windows CE
17465
17466EFL_EINA_BUILD=""
17467case "$host_os" in
17468 mingw*)
17469
17470pkg_failed=no
17471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
17472$as_echo_n "checking for EVIL... " >&6; }
17473
17474if test -n "$EVIL_CFLAGS"; then
17475 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
17476 elif test -n "$PKG_CONFIG"; then
17477 if test -n "$PKG_CONFIG" && \
17478 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
17479 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
17480 ac_status=$?
17481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17482 test $ac_status = 0; }; then
17483 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.0.0" 2>/dev/null`
17484else
17485 pkg_failed=yes
17486fi
17487 else
17488 pkg_failed=untried
17489fi
17490if test -n "$EVIL_LIBS"; then
17491 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
17492 elif test -n "$PKG_CONFIG"; then
17493 if test -n "$PKG_CONFIG" && \
17494 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
17495 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
17496 ac_status=$?
17497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17498 test $ac_status = 0; }; then
17499 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.0.0" 2>/dev/null`
17500else
17501 pkg_failed=yes
17502fi
17503 else
17504 pkg_failed=untried
17505fi
17506
17507
17508
17509if test $pkg_failed = yes; then
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17511$as_echo "no" >&6; }
17512
17513if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17514 _pkg_short_errors_supported=yes
17515else
17516 _pkg_short_errors_supported=no
17517fi
17518 if test $_pkg_short_errors_supported = yes; then
17519 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.0.0" 2>&1`
17520 else
17521 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.0.0" 2>&1`
17522 fi
17523 # Put the nasty error message in config.log where it belongs
17524 echo "$EVIL_PKG_ERRORS" >&5
17525
17526 as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
17527
17528$EVIL_PKG_ERRORS
17529
17530Consider adjusting the PKG_CONFIG_PATH environment variable if you
17531installed software in a non-standard prefix.
17532
17533Alternatively, you may set the environment variables EVIL_CFLAGS
17534and EVIL_LIBS to avoid the need to call pkg-config.
17535See the pkg-config man page for more details." "$LINENO" 5
17536elif test $pkg_failed = untried; then
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17538$as_echo "no" >&6; }
17539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17540$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17541as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17542is in your PATH or set the PKG_CONFIG environment variable to the full
17543path to pkg-config.
17544
17545Alternatively, you may set the environment variables EVIL_CFLAGS
17546and EVIL_LIBS to avoid the need to call pkg-config.
17547See the pkg-config man page for more details.
17548
17549To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17550See \`config.log' for more details" "$LINENO" 5 ; }
17551else
17552 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
17553 EVIL_LIBS=$pkg_cv_EVIL_LIBS
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17555$as_echo "yes" >&6; }
17556
17557fi
17558
17559$as_echo "#define HAVE_EVIL 1" >>confdefs.h
17560
17561 requirement_eina="${requirement_eina} evil"
17562 EFL_EINA_BUILD="-DEFL_EINA_BUILD"
17563 ;;
17564esac
17565
17566
17567# Check ememoa memory pool library
17568
17569# Check whether --enable-ememoa was given.
17570if test "${enable_ememoa+set}" = set; then :
17571 enableval=$enable_ememoa;
17572 if test "x${enableval}" = "xyes" ; then
17573 enable_ememoa="yes"
17574 else
17575 enable_ememoa="no"
17576 fi
17577
17578else
17579 enable_ememoa="yes"
17580fi
17581
17582
17583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use ememoa for memory pool" >&5
17584$as_echo_n "checking whether to use ememoa for memory pool... " >&6; }
17585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_ememoa" >&5
17586$as_echo "$enable_ememoa" >&6; }
17587
17588if test "x${enable_ememoa}" = "xyes" ; then
17589
17590pkg_failed=no
17591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMEMOA" >&5
17592$as_echo_n "checking for EMEMOA... " >&6; }
17593
17594if test -n "$EMEMOA_CFLAGS"; then
17595 pkg_cv_EMEMOA_CFLAGS="$EMEMOA_CFLAGS"
17596 elif test -n "$PKG_CONFIG"; then
17597 if test -n "$PKG_CONFIG" && \
17598 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ememoa >= 0.0.26 \""; } >&5
17599 ($PKG_CONFIG --exists --print-errors "ememoa >= 0.0.26 ") 2>&5
17600 ac_status=$?
17601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17602 test $ac_status = 0; }; then
17603 pkg_cv_EMEMOA_CFLAGS=`$PKG_CONFIG --cflags "ememoa >= 0.0.26 " 2>/dev/null`
17604else
17605 pkg_failed=yes
17606fi
17607 else
17608 pkg_failed=untried
17609fi
17610if test -n "$EMEMOA_LIBS"; then
17611 pkg_cv_EMEMOA_LIBS="$EMEMOA_LIBS"
17612 elif test -n "$PKG_CONFIG"; then
17613 if test -n "$PKG_CONFIG" && \
17614 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ememoa >= 0.0.26 \""; } >&5
17615 ($PKG_CONFIG --exists --print-errors "ememoa >= 0.0.26 ") 2>&5
17616 ac_status=$?
17617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17618 test $ac_status = 0; }; then
17619 pkg_cv_EMEMOA_LIBS=`$PKG_CONFIG --libs "ememoa >= 0.0.26 " 2>/dev/null`
17620else
17621 pkg_failed=yes
17622fi
17623 else
17624 pkg_failed=untried
17625fi
17626
17627
17628
17629if test $pkg_failed = yes; then
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17631$as_echo "no" >&6; }
17632
17633if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17634 _pkg_short_errors_supported=yes
17635else
17636 _pkg_short_errors_supported=no
17637fi
17638 if test $_pkg_short_errors_supported = yes; then
17639 EMEMOA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ememoa >= 0.0.26 " 2>&1`
17640 else
17641 EMEMOA_PKG_ERRORS=`$PKG_CONFIG --print-errors "ememoa >= 0.0.26 " 2>&1`
17642 fi
17643 # Put the nasty error message in config.log where it belongs
17644 echo "$EMEMOA_PKG_ERRORS" >&5
17645
17646 enable_ememoa="no"
17647elif test $pkg_failed = untried; then
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17649$as_echo "no" >&6; }
17650 enable_ememoa="no"
17651else
17652 EMEMOA_CFLAGS=$pkg_cv_EMEMOA_CFLAGS
17653 EMEMOA_LIBS=$pkg_cv_EMEMOA_LIBS
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17655$as_echo "yes" >&6; }
17656 enable_ememoa="yes"
17657fi
17658fi
17659
17660
17661pkg_failed=no
17662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_EVAS" >&5
17663$as_echo_n "checking for ECORE_EVAS... " >&6; }
17664
17665if test -n "$ECORE_EVAS_CFLAGS"; then
17666 pkg_cv_ECORE_EVAS_CFLAGS="$ECORE_EVAS_CFLAGS"
17667 elif test -n "$PKG_CONFIG"; then
17668 if test -n "$PKG_CONFIG" && \
17669 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore evas\""; } >&5
17670 ($PKG_CONFIG --exists --print-errors "ecore-evas ecore evas") 2>&5
17671 ac_status=$?
17672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17673 test $ac_status = 0; }; then
17674 pkg_cv_ECORE_EVAS_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas ecore evas" 2>/dev/null`
17675else
17676 pkg_failed=yes
17677fi
17678 else
17679 pkg_failed=untried
17680fi
17681if test -n "$ECORE_EVAS_LIBS"; then
17682 pkg_cv_ECORE_EVAS_LIBS="$ECORE_EVAS_LIBS"
17683 elif test -n "$PKG_CONFIG"; then
17684 if test -n "$PKG_CONFIG" && \
17685 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore evas\""; } >&5
17686 ($PKG_CONFIG --exists --print-errors "ecore-evas ecore evas") 2>&5
17687 ac_status=$?
17688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17689 test $ac_status = 0; }; then
17690 pkg_cv_ECORE_EVAS_LIBS=`$PKG_CONFIG --libs "ecore-evas ecore evas" 2>/dev/null`
17691else
17692 pkg_failed=yes
17693fi
17694 else
17695 pkg_failed=untried
17696fi
17697
17698
17699
17700if test $pkg_failed = yes; then
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17702$as_echo "no" >&6; }
17703
17704if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17705 _pkg_short_errors_supported=yes
17706else
17707 _pkg_short_errors_supported=no
17708fi
17709 if test $_pkg_short_errors_supported = yes; then
17710 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas ecore evas" 2>&1`
17711 else
17712 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas ecore evas" 2>&1`
17713 fi
17714 # Put the nasty error message in config.log where it belongs
17715 echo "$ECORE_EVAS_PKG_ERRORS" >&5
17716
17717 build_tiler_example="no"
17718elif test $pkg_failed = untried; then
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17720$as_echo "no" >&6; }
17721 build_tiler_example="no"
17722else
17723 ECORE_EVAS_CFLAGS=$pkg_cv_ECORE_EVAS_CFLAGS
17724 ECORE_EVAS_LIBS=$pkg_cv_ECORE_EVAS_LIBS
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17726$as_echo "yes" >&6; }
17727 build_tiler_example="yes"
17728fi
17729
17730 if test "x${build_tiler_example}" = "xyes"; then
17731 BUILD_TILER_EXAMPLE_TRUE=
17732 BUILD_TILER_EXAMPLE_FALSE='#'
17733else
17734 BUILD_TILER_EXAMPLE_TRUE='#'
17735 BUILD_TILER_EXAMPLE_FALSE=
17736fi
17737
17738
17739### Checks for compiler characteristics
17740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17741$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17742if test "${ac_cv_c_const+set}" = set; then :
17743 $as_echo_n "(cached) " >&6
17744else
17745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17746/* end confdefs.h. */
17747
17748int
17749main ()
17750{
17751/* FIXME: Include the comments suggested by Paul. */
17752#ifndef __cplusplus
17753 /* Ultrix mips cc rejects this. */
17754 typedef int charset[2];
17755 const charset cs;
17756 /* SunOS 4.1.1 cc rejects this. */
17757 char const *const *pcpcc;
17758 char **ppc;
17759 /* NEC SVR4.0.2 mips cc rejects this. */
17760 struct point {int x, y;};
17761 static struct point const zero = {0,0};
17762 /* AIX XL C 1.02.0.0 rejects this.
17763 It does not let you subtract one const X* pointer from another in
17764 an arm of an if-expression whose if-part is not a constant
17765 expression */
17766 const char *g = "string";
17767 pcpcc = &g + (g ? g-g : 0);
17768 /* HPUX 7.0 cc rejects these. */
17769 ++pcpcc;
17770 ppc = (char**) pcpcc;
17771 pcpcc = (char const *const *) ppc;
17772 { /* SCO 3.2v4 cc rejects this. */
17773 char *t;
17774 char const *s = 0 ? (char *) 0 : (char const *) 0;
17775
17776 *t++ = 0;
17777 if (s) return 0;
17778 }
17779 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17780 int x[] = {25, 17};
17781 const int *foo = &x[0];
17782 ++foo;
17783 }
17784 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17785 typedef const int *iptr;
17786 iptr p = 0;
17787 ++p;
17788 }
17789 { /* AIX XL C 1.02.0.0 rejects this saying
17790 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17791 struct s { int j; const int *ap[3]; };
17792 struct s *b; b->j = 5;
17793 }
17794 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17795 const int foo = 10;
17796 if (!foo) return 0;
17797 }
17798 return !cs[0] && !zero.x;
17799#endif
17800
17801 ;
17802 return 0;
17803}
17804_ACEOF
17805if ac_fn_c_try_compile "$LINENO"; then :
17806 ac_cv_c_const=yes
17807else
17808 ac_cv_c_const=no
17809fi
17810rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17811fi
17812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17813$as_echo "$ac_cv_c_const" >&6; }
17814if test $ac_cv_c_const = no; then
17815
17816$as_echo "#define const /**/" >>confdefs.h
17817
17818fi
17819
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
17821$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
17822if test "${ac_cv_c_bigendian+set}" = set; then :
17823 $as_echo_n "(cached) " >&6
17824else
17825 ac_cv_c_bigendian=unknown
17826 # See if we're dealing with a universal compiler.
17827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17828/* end confdefs.h. */
17829#ifndef __APPLE_CC__
17830 not a universal capable compiler
17831 #endif
17832 typedef int dummy;
17833
17834_ACEOF
17835if ac_fn_c_try_compile "$LINENO"; then :
17836
17837 # Check for potential -arch flags. It is not universal unless
17838 # there are at least two -arch flags with different values.
17839 ac_arch=
17840 ac_prev=
17841 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
17842 if test -n "$ac_prev"; then
17843 case $ac_word in
17844 i?86 | x86_64 | ppc | ppc64)
17845 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
17846 ac_arch=$ac_word
17847 else
17848 ac_cv_c_bigendian=universal
17849 break
17850 fi
17851 ;;
17852 esac
17853 ac_prev=
17854 elif test "x$ac_word" = "x-arch"; then
17855 ac_prev=arch
17856 fi
17857 done
17858fi
17859rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17860 if test $ac_cv_c_bigendian = unknown; then
17861 # See if sys/param.h defines the BYTE_ORDER macro.
17862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17863/* end confdefs.h. */
17864#include <sys/types.h>
17865 #include <sys/param.h>
17866
17867int
17868main ()
17869{
17870#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
17871 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
17872 && LITTLE_ENDIAN)
17873 bogus endian macros
17874 #endif
17875
17876 ;
17877 return 0;
17878}
17879_ACEOF
17880if ac_fn_c_try_compile "$LINENO"; then :
17881 # It does; now see whether it defined to BIG_ENDIAN or not.
17882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17883/* end confdefs.h. */
17884#include <sys/types.h>
17885 #include <sys/param.h>
17886
17887int
17888main ()
17889{
17890#if BYTE_ORDER != BIG_ENDIAN
17891 not big endian
17892 #endif
17893
17894 ;
17895 return 0;
17896}
17897_ACEOF
17898if ac_fn_c_try_compile "$LINENO"; then :
17899 ac_cv_c_bigendian=yes
17900else
17901 ac_cv_c_bigendian=no
17902fi
17903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17904fi
17905rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17906 fi
17907 if test $ac_cv_c_bigendian = unknown; then
17908 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
17909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17910/* end confdefs.h. */
17911#include <limits.h>
17912
17913int
17914main ()
17915{
17916#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
17917 bogus endian macros
17918 #endif
17919
17920 ;
17921 return 0;
17922}
17923_ACEOF
17924if ac_fn_c_try_compile "$LINENO"; then :
17925 # It does; now see whether it defined to _BIG_ENDIAN or not.
17926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17927/* end confdefs.h. */
17928#include <limits.h>
17929
17930int
17931main ()
17932{
17933#ifndef _BIG_ENDIAN
17934 not big endian
17935 #endif
17936
17937 ;
17938 return 0;
17939}
17940_ACEOF
17941if ac_fn_c_try_compile "$LINENO"; then :
17942 ac_cv_c_bigendian=yes
17943else
17944 ac_cv_c_bigendian=no
17945fi
17946rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17947fi
17948rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17949 fi
17950 if test $ac_cv_c_bigendian = unknown; then
17951 # Compile a test program.
17952 if test "$cross_compiling" = yes; then :
17953 # Try to guess by grepping values from an object file.
17954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17955/* end confdefs.h. */
17956short int ascii_mm[] =
17957 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
17958 short int ascii_ii[] =
17959 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
17960 int use_ascii (int i) {
17961 return ascii_mm[i] + ascii_ii[i];
17962 }
17963 short int ebcdic_ii[] =
17964 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
17965 short int ebcdic_mm[] =
17966 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
17967 int use_ebcdic (int i) {
17968 return ebcdic_mm[i] + ebcdic_ii[i];
17969 }
17970 extern int foo;
17971
17972int
17973main ()
17974{
17975return use_ascii (foo) == use_ebcdic (foo);
17976 ;
17977 return 0;
17978}
17979_ACEOF
17980if ac_fn_c_try_compile "$LINENO"; then :
17981 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
17982 ac_cv_c_bigendian=yes
17983 fi
17984 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
17985 if test "$ac_cv_c_bigendian" = unknown; then
17986 ac_cv_c_bigendian=no
17987 else
17988 # finding both strings is unlikely to happen, but who knows?
17989 ac_cv_c_bigendian=unknown
17990 fi
17991 fi
17992fi
17993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17994else
17995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17996/* end confdefs.h. */
17997$ac_includes_default
17998int
17999main ()
18000{
18001
18002 /* Are we little or big endian? From Harbison&Steele. */
18003 union
18004 {
18005 long int l;
18006 char c[sizeof (long int)];
18007 } u;
18008 u.l = 1;
18009 return u.c[sizeof (long int) - 1] == 1;
18010
18011 ;
18012 return 0;
18013}
18014_ACEOF
18015if ac_fn_c_try_run "$LINENO"; then :
18016 ac_cv_c_bigendian=no
18017else
18018 ac_cv_c_bigendian=yes
18019fi
18020rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18021 conftest.$ac_objext conftest.beam conftest.$ac_ext
18022fi
18023
18024 fi
18025fi
18026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
18027$as_echo "$ac_cv_c_bigendian" >&6; }
18028 case $ac_cv_c_bigendian in #(
18029 yes)
18030 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
18031;; #(
18032 no)
18033 ;; #(
18034 universal)
18035
18036$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
18037
18038 ;; #(
18039 *)
18040 as_fn_error $? "unknown endianness
18041 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
18042 esac
18043
18044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18045$as_echo_n "checking for inline... " >&6; }
18046if test "${ac_cv_c_inline+set}" = set; then :
18047 $as_echo_n "(cached) " >&6
18048else
18049 ac_cv_c_inline=no
18050for ac_kw in inline __inline__ __inline; do
18051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18052/* end confdefs.h. */
18053#ifndef __cplusplus
18054typedef int foo_t;
18055static $ac_kw foo_t static_foo () {return 0; }
18056$ac_kw foo_t foo () {return 0; }
18057#endif
18058
18059_ACEOF
18060if ac_fn_c_try_compile "$LINENO"; then :
18061 ac_cv_c_inline=$ac_kw
18062fi
18063rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18064 test "$ac_cv_c_inline" != no && break
18065done
18066
18067fi
18068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18069$as_echo "$ac_cv_c_inline" >&6; }
18070
18071case $ac_cv_c_inline in
18072 inline | yes) ;;
18073 *)
18074 case $ac_cv_c_inline in
18075 no) ac_val=;;
18076 *) ac_val=$ac_cv_c_inline;;
18077 esac
18078 cat >>confdefs.h <<_ACEOF
18079#ifndef __cplusplus
18080#define inline $ac_val
18081#endif
18082_ACEOF
18083 ;;
18084esac
18085
18086 case $ac_cv_prog_cc_stdc in #(
18087 no) :
18088 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
18089 *) :
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
18091$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
18092if test "${ac_cv_prog_cc_c99+set}" = set; then :
18093 $as_echo_n "(cached) " >&6
18094else
18095 ac_cv_prog_cc_c99=no
18096ac_save_CC=$CC
18097cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18098/* end confdefs.h. */
18099#include <stdarg.h>
18100#include <stdbool.h>
18101#include <stdlib.h>
18102#include <wchar.h>
18103#include <stdio.h>
18104
18105// Check varargs macros. These examples are taken from C99 6.10.3.5.
18106#define debug(...) fprintf (stderr, __VA_ARGS__)
18107#define showlist(...) puts (#__VA_ARGS__)
18108#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
18109static void
18110test_varargs_macros (void)
18111{
18112 int x = 1234;
18113 int y = 5678;
18114 debug ("Flag");
18115 debug ("X = %d\n", x);
18116 showlist (The first, second, and third items.);
18117 report (x>y, "x is %d but y is %d", x, y);
18118}
18119
18120// Check long long types.
18121#define BIG64 18446744073709551615ull
18122#define BIG32 4294967295ul
18123#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
18124#if !BIG_OK
18125 your preprocessor is broken;
18126#endif
18127#if BIG_OK
18128#else
18129 your preprocessor is broken;
18130#endif
18131static long long int bignum = -9223372036854775807LL;
18132static unsigned long long int ubignum = BIG64;
18133
18134struct incomplete_array
18135{
18136 int datasize;
18137 double data[];
18138};
18139
18140struct named_init {
18141 int number;
18142 const wchar_t *name;
18143 double average;
18144};
18145
18146typedef const char *ccp;
18147
18148static inline int
18149test_restrict (ccp restrict text)
18150{
18151 // See if C++-style comments work.
18152 // Iterate through items via the restricted pointer.
18153 // Also check for declarations in for loops.
18154 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
18155 continue;
18156 return 0;
18157}
18158
18159// Check varargs and va_copy.
18160static void
18161test_varargs (const char *format, ...)
18162{
18163 va_list args;
18164 va_start (args, format);
18165 va_list args_copy;
18166 va_copy (args_copy, args);
18167
18168 const char *str;
18169 int number;
18170 float fnumber;
18171
18172 while (*format)
18173 {
18174 switch (*format++)
18175 {
18176 case 's': // string
18177 str = va_arg (args_copy, const char *);
18178 break;
18179 case 'd': // int
18180 number = va_arg (args_copy, int);
18181 break;
18182 case 'f': // float
18183 fnumber = va_arg (args_copy, double);
18184 break;
18185 default:
18186 break;
18187 }
18188 }
18189 va_end (args_copy);
18190 va_end (args);
18191}
18192
18193int
18194main ()
18195{
18196
18197 // Check bool.
18198 _Bool success = false;
18199
18200 // Check restrict.
18201 if (test_restrict ("String literal") == 0)
18202 success = true;
18203 char *restrict newvar = "Another string";
18204
18205 // Check varargs.
18206 test_varargs ("s, d' f .", "string", 65, 34.234);
18207 test_varargs_macros ();
18208
18209 // Check flexible array members.
18210 struct incomplete_array *ia =
18211 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
18212 ia->datasize = 10;
18213 for (int i = 0; i < ia->datasize; ++i)
18214 ia->data[i] = i * 1.234;
18215
18216 // Check named initializers.
18217 struct named_init ni = {
18218 .number = 34,
18219 .name = L"Test wide string",
18220 .average = 543.34343,
18221 };
18222
18223 ni.number = 58;
18224
18225 int dynamic_array[ni.number];
18226 dynamic_array[ni.number - 1] = 543;
18227
18228 // work around unused variable warnings
18229 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
18230 || dynamic_array[ni.number - 1] != 543);
18231
18232 ;
18233 return 0;
18234}
18235_ACEOF
18236for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
18237do
18238 CC="$ac_save_CC $ac_arg"
18239 if ac_fn_c_try_compile "$LINENO"; then :
18240 ac_cv_prog_cc_c99=$ac_arg
18241fi
18242rm -f core conftest.err conftest.$ac_objext
18243 test "x$ac_cv_prog_cc_c99" != "xno" && break
18244done
18245rm -f conftest.$ac_ext
18246CC=$ac_save_CC
18247
18248fi
18249# AC_CACHE_VAL
18250case "x$ac_cv_prog_cc_c99" in
18251 x)
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18253$as_echo "none needed" >&6; } ;;
18254 xno)
18255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18256$as_echo "unsupported" >&6; } ;;
18257 *)
18258 CC="$CC $ac_cv_prog_cc_c99"
18259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
18260$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
18261esac
18262if test "x$ac_cv_prog_cc_c99" != xno; then :
18263 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
18264else
18265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
18266$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
18267if test "${ac_cv_prog_cc_c89+set}" = set; then :
18268 $as_echo_n "(cached) " >&6
18269else
18270 ac_cv_prog_cc_c89=no
18271ac_save_CC=$CC
18272cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18273/* end confdefs.h. */
18274#include <stdarg.h>
18275#include <stdio.h>
18276#include <sys/types.h>
18277#include <sys/stat.h>
18278/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
18279struct buf { int x; };
18280FILE * (*rcsopen) (struct buf *, struct stat *, int);
18281static char *e (p, i)
18282 char **p;
18283 int i;
18284{
18285 return p[i];
18286}
18287static char *f (char * (*g) (char **, int), char **p, ...)
18288{
18289 char *s;
18290 va_list v;
18291 va_start (v,p);
18292 s = g (p, va_arg (v,int));
18293 va_end (v);
18294 return s;
18295}
18296
18297/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
18298 function prototypes and stuff, but not '\xHH' hex character constants.
18299 These don't provoke an error unfortunately, instead are silently treated
18300 as 'x'. The following induces an error, until -std is added to get
18301 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
18302 array size at least. It's necessary to write '\x00'==0 to get something
18303 that's true only with -std. */
18304int osf4_cc_array ['\x00' == 0 ? 1 : -1];
18305
18306/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
18307 inside strings and character constants. */
18308#define FOO(x) 'x'
18309int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
18310
18311int test (int i, double x);
18312struct s1 {int (*f) (int a);};
18313struct s2 {int (*f) (double a);};
18314int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
18315int argc;
18316char **argv;
18317int
18318main ()
18319{
18320return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
18321 ;
18322 return 0;
18323}
18324_ACEOF
18325for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
18326 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
18327do
18328 CC="$ac_save_CC $ac_arg"
18329 if ac_fn_c_try_compile "$LINENO"; then :
18330 ac_cv_prog_cc_c89=$ac_arg
18331fi
18332rm -f core conftest.err conftest.$ac_objext
18333 test "x$ac_cv_prog_cc_c89" != "xno" && break
18334done
18335rm -f conftest.$ac_ext
18336CC=$ac_save_CC
18337
18338fi
18339# AC_CACHE_VAL
18340case "x$ac_cv_prog_cc_c89" in
18341 x)
18342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18343$as_echo "none needed" >&6; } ;;
18344 xno)
18345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18346$as_echo "unsupported" >&6; } ;;
18347 *)
18348 CC="$CC $ac_cv_prog_cc_c89"
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
18350$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
18351esac
18352if test "x$ac_cv_prog_cc_c89" != xno; then :
18353 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
18354else
18355 ac_cv_prog_cc_stdc=no
18356fi
18357
18358fi
18359 ;;
18360esac
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
18362$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
18363 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
18364 $as_echo_n "(cached) " >&6
18365fi
18366
18367 case $ac_cv_prog_cc_stdc in #(
18368 no) :
18369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18370$as_echo "unsupported" >&6; } ;; #(
18371 '') :
18372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18373$as_echo "none needed" >&6; } ;; #(
18374 *) :
18375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
18376$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
18377esac
18378
18379
18380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((unused))" >&5
18381$as_echo_n "checking for __attribute__ ((unused))... " >&6; }
18382cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18383/* end confdefs.h. */
18384
18385void foo(int x __attribute__ ((unused))) {}
18386
18387int
18388main ()
18389{
18390
18391
18392 ;
18393 return 0;
18394}
18395_ACEOF
18396if ac_fn_c_try_compile "$LINENO"; then :
18397 have_attribute_unused="yes"
18398else
18399 have_attribute_unused="no"
18400fi
18401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_unused}" >&5
18403$as_echo "${have_attribute_unused}" >&6; }
18404
18405if test "x${have_attribute_unused}" = "xyes" ; then
18406
18407$as_echo "#define __UNUSED__ __attribute__ ((unused))" >>confdefs.h
18408
18409else
18410
18411$as_echo "#define __UNUSED__ /**/" >>confdefs.h
18412
18413fi
18414
18415
18416have_wince="no"
18417have_win32="no"
18418EINA_CFLAGS=""
18419case "$host_os" in
18420 mingw32ce*)
18421 EINA_CFLAGS="${EVIL_CFLAGS}"
18422 have_win32="yes"
18423 have_wince="yes"
18424 ;;
18425 mingw*)
18426 EINA_CFLAGS="${EVIL_CFLAGS}"
18427 have_win32="yes"
18428 ;;
18429esac
18430 if test "x$have_wince" = "xyes"; then
18431 EINA_HAVE_WINCE_TRUE=
18432 EINA_HAVE_WINCE_FALSE='#'
18433else
18434 EINA_HAVE_WINCE_TRUE='#'
18435 EINA_HAVE_WINCE_FALSE=
18436fi
18437
18438 if test "x$have_win32" = "xyes"; then
18439 EINA_HAVE_WIN32_TRUE=
18440 EINA_HAVE_WIN32_FALSE='#'
18441else
18442 EINA_HAVE_WIN32_TRUE='#'
18443 EINA_HAVE_WIN32_FALSE=
18444fi
18445
18446
18447
18448
18449
18450CFLAGS_save="${CFLAGS}"
18451CFLAGS="${CFLAGS} -Wall"
18452
18453ac_ext=c
18454ac_cpp='$CPP $CPPFLAGS'
18455ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18456ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18457ac_compiler_gnu=$ac_cv_c_compiler_gnu
18458
18459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
18460$as_echo_n "checking whether the compiler supports -Wall... " >&6; }
18461
18462cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18463/* end confdefs.h. */
18464
18465int
18466main ()
18467{
18468
18469 ;
18470 return 0;
18471}
18472_ACEOF
18473if ac_fn_c_try_compile "$LINENO"; then :
18474 have_flag="yes"
18475else
18476 have_flag="no"
18477fi
18478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
18480$as_echo "${have_flag}" >&6; }
18481
18482if test "x${have_flag}" = "xno" ; then
18483 CFLAGS="${CFLAGS_save}"
18484fi
18485ac_ext=c
18486ac_cpp='$CPP $CPPFLAGS'
18487ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18488ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18489ac_compiler_gnu=$ac_cv_c_compiler_gnu
18490
18491
18492
18493
18494
18495CFLAGS_save="${CFLAGS}"
18496CFLAGS="${CFLAGS} -W"
18497
18498ac_ext=c
18499ac_cpp='$CPP $CPPFLAGS'
18500ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18501ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18502ac_compiler_gnu=$ac_cv_c_compiler_gnu
18503
18504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
18505$as_echo_n "checking whether the compiler supports -W... " >&6; }
18506
18507cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18508/* end confdefs.h. */
18509
18510int
18511main ()
18512{
18513
18514 ;
18515 return 0;
18516}
18517_ACEOF
18518if ac_fn_c_try_compile "$LINENO"; then :
18519 have_flag="yes"
18520else
18521 have_flag="no"
18522fi
18523rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
18525$as_echo "${have_flag}" >&6; }
18526
18527if test "x${have_flag}" = "xno" ; then
18528 CFLAGS="${CFLAGS_save}"
18529fi
18530ac_ext=c
18531ac_cpp='$CPP $CPPFLAGS'
18532ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18533ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18534ac_compiler_gnu=$ac_cv_c_compiler_gnu
18535
18536
18537
18538
18539
18540
18541
18542CFLAGS_save="${CFLAGS}"
18543CFLAGS="${CFLAGS} -Wshadow"
18544
18545ac_ext=c
18546ac_cpp='$CPP $CPPFLAGS'
18547ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18548ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18549ac_compiler_gnu=$ac_cv_c_compiler_gnu
18550
18551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
18552$as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
18553
18554cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18555/* end confdefs.h. */
18556
18557int
18558main ()
18559{
18560
18561 ;
18562 return 0;
18563}
18564_ACEOF
18565if ac_fn_c_try_compile "$LINENO"; then :
18566 have_flag="yes"
18567else
18568 have_flag="no"
18569fi
18570rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
18572$as_echo "${have_flag}" >&6; }
18573
18574if test "x${have_flag}" = "xno" ; then
18575 CFLAGS="${CFLAGS_save}"
18576fi
18577ac_ext=c
18578ac_cpp='$CPP $CPPFLAGS'
18579ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18580ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18581ac_compiler_gnu=$ac_cv_c_compiler_gnu
18582
18583
18584
18585
18586### Checks for portability layer
18587
18588
18589pkg_failed=no
18590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
18591$as_echo_n "checking for EXOTIC... " >&6; }
18592
18593if test -n "$EXOTIC_CFLAGS"; then
18594 pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
18595 elif test -n "$PKG_CONFIG"; then
18596 if test -n "$PKG_CONFIG" && \
18597 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
18598 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
18599 ac_status=$?
18600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18601 test $ac_status = 0; }; then
18602 pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
18603else
18604 pkg_failed=yes
18605fi
18606 else
18607 pkg_failed=untried
18608fi
18609if test -n "$EXOTIC_LIBS"; then
18610 pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
18611 elif test -n "$PKG_CONFIG"; then
18612 if test -n "$PKG_CONFIG" && \
18613 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
18614 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
18615 ac_status=$?
18616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18617 test $ac_status = 0; }; then
18618 pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
18619else
18620 pkg_failed=yes
18621fi
18622 else
18623 pkg_failed=untried
18624fi
18625
18626
18627
18628if test $pkg_failed = yes; then
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18630$as_echo "no" >&6; }
18631
18632if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18633 _pkg_short_errors_supported=yes
18634else
18635 _pkg_short_errors_supported=no
18636fi
18637 if test $_pkg_short_errors_supported = yes; then
18638 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "exotic" 2>&1`
18639 else
18640 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors "exotic" 2>&1`
18641 fi
18642 # Put the nasty error message in config.log where it belongs
18643 echo "$EXOTIC_PKG_ERRORS" >&5
18644
18645 enable_exotic="no"
18646elif test $pkg_failed = untried; then
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18648$as_echo "no" >&6; }
18649 enable_exotic="no"
18650else
18651 EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
18652 EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18654$as_echo "yes" >&6; }
18655 enable_exotic="yes"
18656fi
18657
18658if test "x${enable_exotic}" = "xyes"; then
18659 requirement_eina="exotic ${requirement_eina}"
18660 EINA_CFLAGS="${EINA_CFLAGS} ${EXOTIC_CFLAGS}"
18661 EINA_LIBS="${EXOTIC_LIBS}"
18662
18663 EINA_CONFIGURE_HAVE_EXOTIC="#define EINA_HAVE_EXOTIC"
18664
18665$as_echo "#define HAVE_EXOTIC_H 1" >>confdefs.h
18666
18667fi
18668 if test "x${enable_exotic}" = "xyes"; then
18669 EINA_HAVE_EXOTIC_TRUE=
18670 EINA_HAVE_EXOTIC_FALSE='#'
18671else
18672 EINA_HAVE_EXOTIC_TRUE='#'
18673 EINA_HAVE_EXOTIC_FALSE=
18674fi
18675
18676
18677
18678case "$host_vendor" in
18679 ps3*)
18680
18681pkg_failed=no
18682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ESCAPE" >&5
18683$as_echo_n "checking for ESCAPE... " >&6; }
18684
18685if test -n "$ESCAPE_CFLAGS"; then
18686 pkg_cv_ESCAPE_CFLAGS="$ESCAPE_CFLAGS"
18687 elif test -n "$PKG_CONFIG"; then
18688 if test -n "$PKG_CONFIG" && \
18689 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"escape\""; } >&5
18690 ($PKG_CONFIG --exists --print-errors "escape") 2>&5
18691 ac_status=$?
18692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18693 test $ac_status = 0; }; then
18694 pkg_cv_ESCAPE_CFLAGS=`$PKG_CONFIG --cflags "escape" 2>/dev/null`
18695else
18696 pkg_failed=yes
18697fi
18698 else
18699 pkg_failed=untried
18700fi
18701if test -n "$ESCAPE_LIBS"; then
18702 pkg_cv_ESCAPE_LIBS="$ESCAPE_LIBS"
18703 elif test -n "$PKG_CONFIG"; then
18704 if test -n "$PKG_CONFIG" && \
18705 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"escape\""; } >&5
18706 ($PKG_CONFIG --exists --print-errors "escape") 2>&5
18707 ac_status=$?
18708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18709 test $ac_status = 0; }; then
18710 pkg_cv_ESCAPE_LIBS=`$PKG_CONFIG --libs "escape" 2>/dev/null`
18711else
18712 pkg_failed=yes
18713fi
18714 else
18715 pkg_failed=untried
18716fi
18717
18718
18719
18720if test $pkg_failed = yes; then
18721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18722$as_echo "no" >&6; }
18723
18724if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18725 _pkg_short_errors_supported=yes
18726else
18727 _pkg_short_errors_supported=no
18728fi
18729 if test $_pkg_short_errors_supported = yes; then
18730 ESCAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "escape" 2>&1`
18731 else
18732 ESCAPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "escape" 2>&1`
18733 fi
18734 # Put the nasty error message in config.log where it belongs
18735 echo "$ESCAPE_PKG_ERRORS" >&5
18736
18737 as_fn_error $? "Package requirements (escape) were not met:
18738
18739$ESCAPE_PKG_ERRORS
18740
18741Consider adjusting the PKG_CONFIG_PATH environment variable if you
18742installed software in a non-standard prefix.
18743
18744Alternatively, you may set the environment variables ESCAPE_CFLAGS
18745and ESCAPE_LIBS to avoid the need to call pkg-config.
18746See the pkg-config man page for more details." "$LINENO" 5
18747elif test $pkg_failed = untried; then
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18749$as_echo "no" >&6; }
18750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18751$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18752as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18753is in your PATH or set the PKG_CONFIG environment variable to the full
18754path to pkg-config.
18755
18756Alternatively, you may set the environment variables ESCAPE_CFLAGS
18757and ESCAPE_LIBS to avoid the need to call pkg-config.
18758See the pkg-config man page for more details.
18759
18760To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18761See \`config.log' for more details" "$LINENO" 5 ; }
18762else
18763 ESCAPE_CFLAGS=$pkg_cv_ESCAPE_CFLAGS
18764 ESCAPE_LIBS=$pkg_cv_ESCAPE_LIBS
18765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18766$as_echo "yes" >&6; }
18767
18768fi
18769
18770$as_echo "#define HAVE_ESCAPE 1" >>confdefs.h
18771
18772 requirement_eina="${requirement_eina} escape"
18773 EINA_CFLAGS="${ESCAPE_CFLAGS} ${EINA_CFLAGS}"
18774 ;;
18775esac
18776
18777
18778
18779### Checks for linker characteristics
18780EINA_LIBS=
18781lt_enable_auto_import=""
18782case "${host_os}" in
18783 mingw*)
18784 EINA_LIBS="${EINA_LIBS} -ldl ${EVIL_LIBS} -lm"
18785 lt_enable_auto_import="-Wl,--enable-auto-import"
18786 ;;
18787 dragonfly*|openbsd*)
18788 EINA_LIBS="${EINA_LIBS} -lm"
18789 ;;
18790 freebsd*|netbsd*)
18791 EINA_LIBS="${EINA_LIBS} -lrt -lm"
18792 ;;
18793 darwin*)
18794 EINA_LIBS="${EINA_LIBS} -lm"
18795 ;;
18796 cygwin*)
18797 EINA_LIBS="${EINA_LIBS} -ldl -lm"
18798 ;;
18799 *)
18800 EINA_LIBS="${EINA_LIBS} -lrt -ldl -lm"
18801 ;;
18802esac
18803case "$host_vendor" in
18804 ps3*)
18805 # Escape had already been checked to exist
18806 EINA_LIBS="${ESCAPE_LIBS}"
18807 ;;
18808esac
18809
18810
18811
18812
18813
18814LDFLAGS_save="${LDFLAGS}"
18815LDFLAGS="${LDFLAGS} -fno-strict-aliasing"
18816
18817ac_ext=c
18818ac_cpp='$CPP $CPPFLAGS'
18819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18821ac_compiler_gnu=$ac_cv_c_compiler_gnu
18822
18823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18824$as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18825
18826cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18827/* end confdefs.h. */
18828
18829int
18830main ()
18831{
18832
18833 ;
18834 return 0;
18835}
18836_ACEOF
18837if ac_fn_c_try_link "$LINENO"; then :
18838 have_flag="yes"
18839else
18840 have_flag="no"
18841fi
18842rm -f core conftest.err conftest.$ac_objext \
18843 conftest$ac_exeext conftest.$ac_ext
18844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
18845$as_echo "${have_flag}" >&6; }
18846
18847if test "x${have_flag}" = "xno" ; then
18848 LDFLAGS="${LDFLAGS_save}"
18849fi
18850ac_ext=c
18851ac_cpp='$CPP $CPPFLAGS'
18852ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18853ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18854ac_compiler_gnu=$ac_cv_c_compiler_gnu
18855
18856
18857
18858
18859CFLAGS="${CFLAGS} ${EINA_CFLAGS}"
18860LDFLAGS="${LDFLAGS} ${EINA_LDFLAGS}"
18861LIBS="${LIBS} ${EINA_LIBS}"
18862
18863### Checks for header files
18864
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5
18866$as_echo_n "checking whether to enable assertions... " >&6; }
18867 # Check whether --enable-assert was given.
18868if test "${enable_assert+set}" = set; then :
18869 enableval=$enable_assert; ac_enable_assert=$enableval
18870 if test "x$enableval" = xno; then :
18871
18872$as_echo "#define NDEBUG 1" >>confdefs.h
18873
18874elif test "x$enableval" != xyes; then :
18875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5
18876$as_echo "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;}
18877 ac_enable_assert=yes
18878fi
18879else
18880 ac_enable_assert=yes
18881fi
18882
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_assert" >&5
18884$as_echo "$ac_enable_assert" >&6; }
18885
18886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
18887$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
18888if test "${ac_cv_header_time+set}" = set; then :
18889 $as_echo_n "(cached) " >&6
18890else
18891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18892/* end confdefs.h. */
18893#include <sys/types.h>
18894#include <sys/time.h>
18895#include <time.h>
18896
18897int
18898main ()
18899{
18900if ((struct tm *) 0)
18901return 0;
18902 ;
18903 return 0;
18904}
18905_ACEOF
18906if ac_fn_c_try_compile "$LINENO"; then :
18907 ac_cv_header_time=yes
18908else
18909 ac_cv_header_time=no
18910fi
18911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18912fi
18913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
18914$as_echo "$ac_cv_header_time" >&6; }
18915if test $ac_cv_header_time = yes; then
18916
18917$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
18918
18919fi
18920
18921
18922
18923default_max="4096"
18924ac_ext=c
18925ac_cpp='$CPP $CPPFLAGS'
18926ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18927ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18928ac_compiler_gnu=$ac_cv_c_compiler_gnu
18929
18930
18931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
18932$as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
18933cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18934/* end confdefs.h. */
18935
18936#include <limits.h>
18937
18938int
18939main ()
18940{
18941
18942int i = PATH_MAX;
18943
18944 ;
18945 return 0;
18946}
18947_ACEOF
18948if ac_fn_c_try_compile "$LINENO"; then :
18949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18950$as_echo "yes" >&6; }
18951else
18952
18953
18954cat >>confdefs.h <<_ACEOF
18955#define PATH_MAX ${default_max}
18956_ACEOF
18957
18958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
18959$as_echo "no: using ${default_max}" >&6; }
18960
18961fi
18962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18963
18964ac_ext=c
18965ac_cpp='$CPP $CPPFLAGS'
18966ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18967ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18968ac_compiler_gnu=$ac_cv_c_compiler_gnu
18969
18970
18971
18972for ac_header in unistd.h libgen.h inttypes.h stdint.h sys/types.h siginfo.h strings.h sys/mman.h execinfo.h
18973do :
18974 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18975ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18976if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18977 cat >>confdefs.h <<_ACEOF
18978#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18979_ACEOF
18980
18981fi
18982
18983done
18984
18985
18986if test "x${ac_cv_header_inttypes_h}" = "xyes" ; then
18987 EINA_CONFIGURE_HAVE_INTTYPES_H="#define EINA_HAVE_INTTYPES_H"
18988
18989$as_echo "#define HAVE_INTTYPES_H 1" >>confdefs.h
18990
18991fi
18992
18993
18994if test "x${ac_cv_header_inttypes_h}" = "xyes" ; then
18995 EINA_CONFIGURE_HAVE_STDINT_H="#define EINA_HAVE_STDINT_H"
18996
18997$as_echo "#define HAVE_STDINT_H 1" >>confdefs.h
18998
18999fi
19000
19001
19002### Checks for types
19003
19004# The cast to long int works around a bug in the HP C Compiler
19005# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19006# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19007# This bug is HP SR number 8606223364.
19008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
19009$as_echo_n "checking size of wchar_t... " >&6; }
19010if test "${ac_cv_sizeof_wchar_t+set}" = set; then :
19011 $as_echo_n "(cached) " >&6
19012else
19013 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "$ac_includes_default"; then :
19014
19015else
19016 if test "$ac_cv_type_wchar_t" = yes; then
19017 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19018$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19019as_fn_error 77 "cannot compute sizeof (wchar_t)
19020See \`config.log' for more details" "$LINENO" 5 ; }
19021 else
19022 ac_cv_sizeof_wchar_t=0
19023 fi
19024fi
19025
19026fi
19027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
19028$as_echo "$ac_cv_sizeof_wchar_t" >&6; }
19029
19030
19031
19032cat >>confdefs.h <<_ACEOF
19033#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19034_ACEOF
19035
19036
19037EINA_SIZEOF_WCHAR_T=$ac_cv_sizeof_wchar_t
19038
19039ac_fn_c_check_type "$LINENO" "siginfo_t" "ac_cv_type_siginfo_t" "#include <signal.h>
19040 #if HAVE_SIGINFO_H
19041 # include <siginfo.h>
19042 #endif
19043
19044"
19045if test "x$ac_cv_type_siginfo_t" = x""yes; then :
19046
19047cat >>confdefs.h <<_ACEOF
19048#define HAVE_SIGINFO_T 1
19049_ACEOF
19050
19051
19052fi
19053
19054
19055### Check if dirent.h is usable
19056
19057ac_fn_c_check_type "$LINENO" "struct dirent" "ac_cv_type_struct_dirent" "#include <dirent.h>
19058
19059"
19060if test "x$ac_cv_type_struct_dirent" = x""yes; then :
19061
19062cat >>confdefs.h <<_ACEOF
19063#define HAVE_STRUCT_DIRENT 1
19064_ACEOF
19065
19066have_dirent="yes"
19067else
19068 have_dirent="no"
19069fi
19070
19071
19072if test "x${have_dirent}" = "xyes" ; then
19073 EINA_CONFIGURE_HAVE_DIRENT_H="#define EINA_HAVE_DIRENT_H"
19074
19075$as_echo "#define HAVE_DIRENT_H 1" >>confdefs.h
19076
19077fi
19078
19079
19080### Checks for library functions
19081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
19082$as_echo_n "checking for library containing strerror... " >&6; }
19083if test "${ac_cv_search_strerror+set}" = set; then :
19084 $as_echo_n "(cached) " >&6
19085else
19086 ac_func_search_save_LIBS=$LIBS
19087cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19088/* end confdefs.h. */
19089
19090/* Override any GCC internal prototype to avoid an error.
19091 Use char because int might match the return type of a GCC
19092 builtin and then its argument prototype would still apply. */
19093#ifdef __cplusplus
19094extern "C"
19095#endif
19096char strerror ();
19097int
19098main ()
19099{
19100return strerror ();
19101 ;
19102 return 0;
19103}
19104_ACEOF
19105for ac_lib in '' cposix; do
19106 if test -z "$ac_lib"; then
19107 ac_res="none required"
19108 else
19109 ac_res=-l$ac_lib
19110 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19111 fi
19112 if ac_fn_c_try_link "$LINENO"; then :
19113 ac_cv_search_strerror=$ac_res
19114fi
19115rm -f core conftest.err conftest.$ac_objext \
19116 conftest$ac_exeext
19117 if test "${ac_cv_search_strerror+set}" = set; then :
19118 break
19119fi
19120done
19121if test "${ac_cv_search_strerror+set}" = set; then :
19122
19123else
19124 ac_cv_search_strerror=no
19125fi
19126rm conftest.$ac_ext
19127LIBS=$ac_func_search_save_LIBS
19128fi
19129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
19130$as_echo "$ac_cv_search_strerror" >&6; }
19131ac_res=$ac_cv_search_strerror
19132if test "$ac_res" != no; then :
19133 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19134
19135fi
19136
19137# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
19138# for constant arguments. Useless!
19139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
19140$as_echo_n "checking for working alloca.h... " >&6; }
19141if test "${ac_cv_working_alloca_h+set}" = set; then :
19142 $as_echo_n "(cached) " >&6
19143else
19144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19145/* end confdefs.h. */
19146#include <alloca.h>
19147int
19148main ()
19149{
19150char *p = (char *) alloca (2 * sizeof (int));
19151 if (p) return 0;
19152 ;
19153 return 0;
19154}
19155_ACEOF
19156if ac_fn_c_try_link "$LINENO"; then :
19157 ac_cv_working_alloca_h=yes
19158else
19159 ac_cv_working_alloca_h=no
19160fi
19161rm -f core conftest.err conftest.$ac_objext \
19162 conftest$ac_exeext conftest.$ac_ext
19163fi
19164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
19165$as_echo "$ac_cv_working_alloca_h" >&6; }
19166if test $ac_cv_working_alloca_h = yes; then
19167
19168$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
19169
19170fi
19171
19172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
19173$as_echo_n "checking for alloca... " >&6; }
19174if test "${ac_cv_func_alloca_works+set}" = set; then :
19175 $as_echo_n "(cached) " >&6
19176else
19177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19178/* end confdefs.h. */
19179#ifdef __GNUC__
19180# define alloca __builtin_alloca
19181#else
19182# ifdef _MSC_VER
19183# include <malloc.h>
19184# define alloca _alloca
19185# else
19186# ifdef HAVE_ALLOCA_H
19187# include <alloca.h>
19188# else
19189# ifdef _AIX
19190 #pragma alloca
19191# else
19192# ifndef alloca /* predefined by HP cc +Olibcalls */
19193char *alloca ();
19194# endif
19195# endif
19196# endif
19197# endif
19198#endif
19199
19200int
19201main ()
19202{
19203char *p = (char *) alloca (1);
19204 if (p) return 0;
19205 ;
19206 return 0;
19207}
19208_ACEOF
19209if ac_fn_c_try_link "$LINENO"; then :
19210 ac_cv_func_alloca_works=yes
19211else
19212 ac_cv_func_alloca_works=no
19213fi
19214rm -f core conftest.err conftest.$ac_objext \
19215 conftest$ac_exeext conftest.$ac_ext
19216fi
19217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
19218$as_echo "$ac_cv_func_alloca_works" >&6; }
19219
19220if test $ac_cv_func_alloca_works = yes; then
19221
19222$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
19223
19224else
19225 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
19226# that cause trouble. Some versions do not even contain alloca or
19227# contain a buggy version. If you still want to use their alloca,
19228# use ar to extract alloca.o from them instead of compiling alloca.c.
19229
19230ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
19231
19232$as_echo "#define C_ALLOCA 1" >>confdefs.h
19233
19234
19235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
19236$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
19237if test "${ac_cv_os_cray+set}" = set; then :
19238 $as_echo_n "(cached) " >&6
19239else
19240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19241/* end confdefs.h. */
19242#if defined CRAY && ! defined CRAY2
19243webecray
19244#else
19245wenotbecray
19246#endif
19247
19248_ACEOF
19249if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19250 $EGREP "webecray" >/dev/null 2>&1; then :
19251 ac_cv_os_cray=yes
19252else
19253 ac_cv_os_cray=no
19254fi
19255rm -f conftest*
19256
19257fi
19258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
19259$as_echo "$ac_cv_os_cray" >&6; }
19260if test $ac_cv_os_cray = yes; then
19261 for ac_func in _getb67 GETB67 getb67; do
19262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19263ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19264if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19265
19266cat >>confdefs.h <<_ACEOF
19267#define CRAY_STACKSEG_END $ac_func
19268_ACEOF
19269
19270 break
19271fi
19272
19273 done
19274fi
19275
19276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
19277$as_echo_n "checking stack direction for C alloca... " >&6; }
19278if test "${ac_cv_c_stack_direction+set}" = set; then :
19279 $as_echo_n "(cached) " >&6
19280else
19281 if test "$cross_compiling" = yes; then :
19282 ac_cv_c_stack_direction=0
19283else
19284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19285/* end confdefs.h. */
19286$ac_includes_default
19287int
19288find_stack_direction ()
19289{
19290 static char *addr = 0;
19291 auto char dummy;
19292 if (addr == 0)
19293 {
19294 addr = &dummy;
19295 return find_stack_direction ();
19296 }
19297 else
19298 return (&dummy > addr) ? 1 : -1;
19299}
19300
19301int
19302main ()
19303{
19304 return find_stack_direction () < 0;
19305}
19306_ACEOF
19307if ac_fn_c_try_run "$LINENO"; then :
19308 ac_cv_c_stack_direction=1
19309else
19310 ac_cv_c_stack_direction=-1
19311fi
19312rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19313 conftest.$ac_objext conftest.beam conftest.$ac_ext
19314fi
19315
19316fi
19317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
19318$as_echo "$ac_cv_c_stack_direction" >&6; }
19319cat >>confdefs.h <<_ACEOF
19320#define STACK_DIRECTION $ac_cv_c_stack_direction
19321_ACEOF
19322
19323
19324fi
19325
19326for ac_func in strlcpy openat fstatat fpathconf execvp backtrace backtrace_symbols
19327do :
19328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19329ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19330if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19331 cat >>confdefs.h <<_ACEOF
19332#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19333_ACEOF
19334
19335fi
19336done
19337
19338
19339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5
19340$as_echo_n "checking for dirfd... " >&6; }
19341cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19342/* end confdefs.h. */
19343
19344
19345#include <dirent.h>
19346
19347int
19348main ()
19349{
19350
19351int main(void)
19352{
19353 DIR *dirp;
19354 return dirfd(dirp);
19355}
19356
19357 ;
19358 return 0;
19359}
19360
19361_ACEOF
19362if ac_fn_c_try_link "$LINENO"; then :
19363 have_dirfd="yes"
19364else
19365 have_dirfd="no"
19366fi
19367rm -f core conftest.err conftest.$ac_objext \
19368 conftest$ac_exeext conftest.$ac_ext
19369
19370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_dirfd}" >&5
19371$as_echo "${have_dirfd}" >&6; }
19372
19373if test "x${have_dirfd}" = "xyes" ; then
19374
19375$as_echo "#define HAVE_DIRFD 1" >>confdefs.h
19376
19377fi
19378
19379# check debug information for malloc
19380for ac_func in malloc_usable_size
19381do :
19382 ac_fn_c_check_func "$LINENO" "malloc_usable_size" "ac_cv_func_malloc_usable_size"
19383if test "x$ac_cv_func_malloc_usable_size" = x""yes; then :
19384 cat >>confdefs.h <<_ACEOF
19385#define HAVE_MALLOC_USABLE_SIZE 1
19386_ACEOF
19387 malloc_true_size="yes"
19388else
19389 malloc_true_size="no"
19390fi
19391done
19392
19393if test "x${malloc_true_size}" = "xyes" ; then
19394
19395$as_echo "#define HAVE_MALLOC_USABLE_SIZE 1" >>confdefs.h
19396
19397fi
19398
19399want_debug_malloc="no"
19400# Check whether --enable-debug-malloc was given.
19401if test "${enable_debug_malloc+set}" = set; then :
19402 enableval=$enable_debug_malloc;
19403 if test "x${enableval}" = "xyes" ; then
19404 want_debug_malloc="yes"
19405 else
19406 want_debug_malloc="no"
19407 fi
19408
19409else
19410 want_debug_malloc="no"
19411fi
19412
19413
19414if test "x${malloc_true_size}" = "xyes" -a "x${want_debug_malloc}" = "xyes"; then
19415
19416$as_echo "#define EINA_DEBUG_MALLOC 1" >>confdefs.h
19417
19418fi
19419
19420# dlopen and dladdr
19421dlopen_libs=""
19422case "$host_os" in
19423 mingw*)
19424# managed by evil
19425 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
19426
19427 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
19428
19429 ;;
19430 *)
19431 for ac_func in dlopen
19432do :
19433 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
19434if test "x$ac_cv_func_dlopen" = x""yes; then :
19435 cat >>confdefs.h <<_ACEOF
19436#define HAVE_DLOPEN 1
19437_ACEOF
19438 res="yes"
19439else
19440 res="no"
19441fi
19442done
19443
19444 if test "x${res}" = "xyes" ; then
19445 for ac_func in dladdr
19446do :
19447 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
19448if test "x$ac_cv_func_dladdr" = x""yes; then :
19449 cat >>confdefs.h <<_ACEOF
19450#define HAVE_DLADDR 1
19451_ACEOF
19452 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
19453
19454fi
19455done
19456
19457 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
19458
19459 else
19460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
19461$as_echo_n "checking for dlopen in -ldl... " >&6; }
19462if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
19463 $as_echo_n "(cached) " >&6
19464else
19465 ac_check_lib_save_LIBS=$LIBS
19466LIBS="-ldl $LIBS"
19467cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19468/* end confdefs.h. */
19469
19470/* Override any GCC internal prototype to avoid an error.
19471 Use char because int might match the return type of a GCC
19472 builtin and then its argument prototype would still apply. */
19473#ifdef __cplusplus
19474extern "C"
19475#endif
19476char dlopen ();
19477int
19478main ()
19479{
19480return dlopen ();
19481 ;
19482 return 0;
19483}
19484_ACEOF
19485if ac_fn_c_try_link "$LINENO"; then :
19486 ac_cv_lib_dl_dlopen=yes
19487else
19488 ac_cv_lib_dl_dlopen=no
19489fi
19490rm -f core conftest.err conftest.$ac_objext \
19491 conftest$ac_exeext conftest.$ac_ext
19492LIBS=$ac_check_lib_save_LIBS
19493fi
19494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
19495$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
19496if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
19497 res="yes"
19498else
19499 res="no"
19500fi
19501
19502 if test "x${res}" = "xyes" ; then
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5
19504$as_echo_n "checking for dladdr in -ldl... " >&6; }
19505if test "${ac_cv_lib_dl_dladdr+set}" = set; then :
19506 $as_echo_n "(cached) " >&6
19507else
19508 ac_check_lib_save_LIBS=$LIBS
19509LIBS="-ldl $LIBS"
19510cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19511/* end confdefs.h. */
19512
19513/* Override any GCC internal prototype to avoid an error.
19514 Use char because int might match the return type of a GCC
19515 builtin and then its argument prototype would still apply. */
19516#ifdef __cplusplus
19517extern "C"
19518#endif
19519char dladdr ();
19520int
19521main ()
19522{
19523return dladdr ();
19524 ;
19525 return 0;
19526}
19527_ACEOF
19528if ac_fn_c_try_link "$LINENO"; then :
19529 ac_cv_lib_dl_dladdr=yes
19530else
19531 ac_cv_lib_dl_dladdr=no
19532fi
19533rm -f core conftest.err conftest.$ac_objext \
19534 conftest$ac_exeext conftest.$ac_ext
19535LIBS=$ac_check_lib_save_LIBS
19536fi
19537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5
19538$as_echo "$ac_cv_lib_dl_dladdr" >&6; }
19539if test "x$ac_cv_lib_dl_dladdr" = x""yes; then :
19540 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
19541
19542fi
19543
19544 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
19545
19546 dlopen_libs="-ldl"
19547 fi
19548 fi
19549 ;;
19550esac
19551
19552
19553have_log="yes"
19554
19555
19556ac_fn_c_check_header_mongrel "$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default"
19557if test "x$ac_cv_header_fnmatch_h" = x""yes; then :
19558 _efl_have_fnmatch="yes"
19559else
19560 _efl_have_fnmatch="no"
19561fi
19562
19563
19564
19565if test "x${_efl_have_fnmatch}" = "xyes" ; then
19566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fnmatch" >&5
19567$as_echo_n "checking for library containing fnmatch... " >&6; }
19568if test "${ac_cv_search_fnmatch+set}" = set; then :
19569 $as_echo_n "(cached) " >&6
19570else
19571 ac_func_search_save_LIBS=$LIBS
19572cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19573/* end confdefs.h. */
19574
19575/* Override any GCC internal prototype to avoid an error.
19576 Use char because int might match the return type of a GCC
19577 builtin and then its argument prototype would still apply. */
19578#ifdef __cplusplus
19579extern "C"
19580#endif
19581char fnmatch ();
19582int
19583main ()
19584{
19585return fnmatch ();
19586 ;
19587 return 0;
19588}
19589_ACEOF
19590for ac_lib in '' fnmatch evil iberty; do
19591 if test -z "$ac_lib"; then
19592 ac_res="none required"
19593 else
19594 ac_res=-l$ac_lib
19595 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19596 fi
19597 if ac_fn_c_try_link "$LINENO"; then :
19598 ac_cv_search_fnmatch=$ac_res
19599fi
19600rm -f core conftest.err conftest.$ac_objext \
19601 conftest$ac_exeext
19602 if test "${ac_cv_search_fnmatch+set}" = set; then :
19603 break
19604fi
19605done
19606if test "${ac_cv_search_fnmatch+set}" = set; then :
19607
19608else
19609 ac_cv_search_fnmatch=no
19610fi
19611rm conftest.$ac_ext
19612LIBS=$ac_func_search_save_LIBS
19613fi
19614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fnmatch" >&5
19615$as_echo "$ac_cv_search_fnmatch" >&6; }
19616ac_res=$ac_cv_search_fnmatch
19617if test "$ac_res" != no; then :
19618 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19619 _efl_have_fnmatch="yes"
19620else
19621 _efl_have_fnmatch="no"
19622fi
19623
19624fi
19625
19626EFL_FNMATCH_LIBS=""
19627
19628if (! test "x${ac_cv_search_fnmatch}" = "xnone required") && (! test "x${ac_cv_search_fnmatch}" = "xno") && (! test "x${ac_cv_search_fnmatch}" = "x-levil") ; then
19629 EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
19630fi
19631
19632
19633
19634if test "x$_efl_have_fnmatch" = "xyes"; then :
19635 have_log="yes"
19636else
19637 have_log="no"
19638fi
19639
19640
19641
19642want_log="yes"
19643# Check whether --enable-log was given.
19644if test "${enable_log+set}" = set; then :
19645 enableval=$enable_log;
19646 if test "x${enableval}" = "xyes" ; then
19647 want_log="yes"
19648 else
19649 want_log="no"
19650 fi
19651
19652else
19653 want_log="yes"
19654fi
19655
19656
19657enable_log="no"
19658if test "x${have_log}" = xyes -a "x${want_log}" = xyes; then
19659 enable_log="yes"
19660fi
19661
19662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking wether to build Eina_Log infrastructure" >&5
19663$as_echo_n "checking wether to build Eina_Log infrastructure... " >&6; }
19664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_log}" >&5
19665$as_echo "${enable_log}" >&6; }
19666
19667if test "x${enable_log}" = "xyes"; then
19668 EINA_CONFIGURE_ENABLE_LOG="#define EINA_ENABLE_LOG"
19669
19670$as_echo "#define HAVE_LOG 1" >>confdefs.h
19671
19672fi
19673
19674
19675for ac_header in mcheck.h
19676do :
19677 ac_fn_c_check_header_mongrel "$LINENO" "mcheck.h" "ac_cv_header_mcheck_h" "$ac_includes_default"
19678if test "x$ac_cv_header_mcheck_h" = x""yes; then :
19679 cat >>confdefs.h <<_ACEOF
19680#define HAVE_MCHECK_H 1
19681_ACEOF
19682
19683$as_echo "#define HAVE_MCHECK 1" >>confdefs.h
19684
19685fi
19686
19687done
19688
19689for ac_func in mtrace
19690do :
19691 ac_fn_c_check_func "$LINENO" "mtrace" "ac_cv_func_mtrace"
19692if test "x$ac_cv_func_mtrace" = x""yes; then :
19693 cat >>confdefs.h <<_ACEOF
19694#define HAVE_MTRACE 1
19695_ACEOF
19696
19697$as_echo "#define HAVE_MTRACE 1" >>confdefs.h
19698
19699fi
19700done
19701
19702
19703# iconv library
19704have_iconv="no"
19705
19706# Check whether --with-iconv-link was given.
19707if test "${with_iconv_link+set}" = set; then :
19708 withval=$with_iconv_link;
19709 LIBS="$withval $LIBS"
19710 have_iconv="yes"
19711 iconv_libs=$withval
19712
19713fi
19714
19715
19716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for explicit iconv link options" >&5
19717$as_echo_n "checking for explicit iconv link options... " >&6; }
19718if test "x${iconv_libs}" = "x" ; then
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no explicit iconv link option" >&5
19720$as_echo "no explicit iconv link option" >&6; }
19721else
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $iconv_libs" >&5
19723$as_echo "$iconv_libs" >&6; }
19724fi
19725
19726if test "x${have_iconv}" = "xno" ; then
19727 for ac_header in iconv.h
19728do :
19729 ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
19730if test "x$ac_cv_header_iconv_h" = x""yes; then :
19731 cat >>confdefs.h <<_ACEOF
19732#define HAVE_ICONV_H 1
19733_ACEOF
19734 have_iconv="yes"
19735fi
19736
19737done
19738
19739
19740 if test "x${have_iconv}" = "xyes" ; then
19741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv() is in libc" >&5
19742$as_echo_n "checking whether iconv() is in libc... " >&6; }
19743
19744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19745/* end confdefs.h. */
19746
19747#include <stdlib.h>
19748#include <iconv.h>
19749
19750int
19751main ()
19752{
19753
19754iconv_t ic;
19755size_t count = iconv(ic, NULL, NULL, NULL, NULL);
19756
19757 ;
19758 return 0;
19759}
19760_ACEOF
19761if ac_fn_c_try_link "$LINENO"; then :
19762 have_iconv="yes"
19763else
19764 have_iconv="no"
19765fi
19766rm -f core conftest.err conftest.$ac_objext \
19767 conftest$ac_exeext conftest.$ac_ext
19768
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_iconv}" >&5
19770$as_echo "${have_iconv}" >&6; }
19771 fi
19772
19773 if test "x${have_iconv}" = "xno" ; then
19774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv() is in libiconv.a" >&5
19775$as_echo_n "checking whether iconv() is in libiconv.a... " >&6; }
19776
19777 LIBS_save="${LIBS}"
19778 LIBS="-liconv $LIBS"
19779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19780/* end confdefs.h. */
19781
19782#include <stdlib.h>
19783#include <iconv.h>
19784
19785int
19786main ()
19787{
19788
19789iconv_t ic;
19790size_t count;
19791count = iconv(ic, NULL, NULL, NULL, NULL);
19792
19793 ;
19794 return 0;
19795}
19796_ACEOF
19797if ac_fn_c_try_link "$LINENO"; then :
19798
19799 have_iconv="yes"
19800 iconv_libs="-liconv"
19801
19802else
19803
19804 have_iconv="no"
19805 LIBS=${LIBS_save}
19806
19807fi
19808rm -f core conftest.err conftest.$ac_objext \
19809 conftest$ac_exeext conftest.$ac_ext
19810
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_iconv}" >&5
19812$as_echo "${have_iconv}" >&6; }
19813 fi
19814
19815 if test "x${have_iconv}" = "xno" ; then
19816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv() is in libiconv_plug.a" >&5
19817$as_echo_n "checking whether iconv() is in libiconv_plug.a... " >&6; }
19818
19819 LIBS_save="${LIBS}"
19820 LIBS="-liconv_plug $LIBS"
19821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19822/* end confdefs.h. */
19823
19824#include <stdlib.h>
19825#include <iconv.h>
19826
19827int
19828main ()
19829{
19830
19831iconv_t ic;
19832size_t count = iconv(ic, NULL, NULL, NULL, NULL);
19833
19834 ;
19835 return 0;
19836}
19837_ACEOF
19838if ac_fn_c_try_link "$LINENO"; then :
19839
19840 have_iconv="yes"
19841 iconv_libs="-liconv_plug"
19842
19843else
19844
19845 have_iconv="no"
19846 LIBS=${LIBS_save}
19847
19848fi
19849rm -f core conftest.err conftest.$ac_objext \
19850 conftest$ac_exeext conftest.$ac_ext
19851
19852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_iconv}" >&5
19853$as_echo "${have_iconv}" >&6; }
19854 fi
19855fi
19856
19857
19858
19859if test "x${have_iconv}" = "xyes" ; then
19860
19861$as_echo "#define HAVE_ICONV 1" >>confdefs.h
19862
19863fi
19864
19865# shmopen
19866have_shmopen=no
19867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open availability" >&5
19868$as_echo_n "checking for shm_open availability... " >&6; }
19869
19870LIBS_save="${LIBS}"
19871LIBS="${LIBS} -lrt"
19872cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19873/* end confdefs.h. */
19874
19875#include <sys/mman.h>
19876#include <sys/stat.h> /* For mode constants */
19877#include <fcntl.h> /* For O_* constants */
19878
19879int
19880main ()
19881{
19882
19883int fd;
19884
19885fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
19886
19887 ;
19888 return 0;
19889}
19890_ACEOF
19891if ac_fn_c_try_link "$LINENO"; then :
19892 have_shmopen="yes"
19893else
19894 have_shmopen="no"
19895fi
19896rm -f core conftest.err conftest.$ac_objext \
19897 conftest$ac_exeext conftest.$ac_ext
19898
19899LIBS="${LIBS_save}"
19900
19901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_shmopen}" >&5
19902$as_echo "${have_shmopen}" >&6; }
19903
19904if test "x${have_shmopen}" = "xyes"; then
19905
19906$as_echo "#define HAVE_SHMOPEN 1" >>confdefs.h
19907
19908 rt_libs="-lrt"
19909fi
19910
19911
19912
19913# extended attribute
19914
19915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for extended attributes" >&5
19916$as_echo_n "checking for extended attributes... " >&6; }
19917
19918cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19919/* end confdefs.h. */
19920
19921#include <stdlib.h>
19922#include <sys/types.h>
19923#include <sys/xattr.h>
19924
19925int
19926main ()
19927{
19928
19929size_t tmp = listxattr("/", NULL, 0);
19930tmp = getxattr("/", "user.ethumb.md5", NULL, 0);
19931setxattr("/", "user.ethumb.md5", NULL, 0, 0);
19932
19933 ;
19934 return 0;
19935}
19936_ACEOF
19937if ac_fn_c_try_compile "$LINENO"; then :
19938
19939
19940$as_echo "#define HAVE_XATTR 1" >>confdefs.h
19941
19942 have_xattr="yes"
19943
19944else
19945 have_xattr="no"
19946fi
19947rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19948
19949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_xattr}" >&5
19950$as_echo "${have_xattr}" >&6; }
19951
19952### Modules
19953
19954if test "x${have_default_mempool}" = "xyes" ; then
19955 enable_chained_pool="no"
19956 enable_pass_through="static"
19957else
19958 enable_chained_pool="static"
19959 enable_pass_through="no"
19960fi
19961
19962enable_one_big="static"
19963
19964
19965
19966# Check whether --enable-mempool-chained-pool was given.
19967if test "${enable_mempool_chained_pool+set}" = set; then :
19968 enableval=$enable_mempool_chained_pool;
19969 if test "x${enableval}" = "xyes" ; then
19970 enable_module="yes"
19971 else
19972 if test "x${enableval}" = "xstatic" ; then
19973 enable_module="static"
19974 else
19975 enable_module="no"
19976 fi
19977 fi
19978
19979else
19980 enable_module=${enable_chained_pool}
19981fi
19982
19983
19984have_module="no"
19985if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
19986 have_module="yes"
19987fi
19988
19989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable chained pool built" >&5
19990$as_echo_n "checking whether to enable chained pool built... " >&6; }
19991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
19992$as_echo "${have_module}" >&6; }
19993
19994static_module="no"
19995if test "x${enable_module}" = "xstatic" ; then
19996 static_module="yes"
19997 have_static_module="yes"
19998
19999$as_echo "#define EINA_STATIC_BUILD_CHAINED_POOL 1" >>confdefs.h
20000
20001fi
20002
20003if ! test "x${enable_module}" = "xno" ; then
20004
20005$as_echo "#define EINA_BUILD_CHAINED_POOL 1" >>confdefs.h
20006
20007fi
20008
20009 if test "x${have_module}" = "xyes"; then
20010 EINA_BUILD_CHAINED_POOL_TRUE=
20011 EINA_BUILD_CHAINED_POOL_FALSE='#'
20012else
20013 EINA_BUILD_CHAINED_POOL_TRUE='#'
20014 EINA_BUILD_CHAINED_POOL_FALSE=
20015fi
20016
20017 if test "x${static_module}" = "xyes"; then
20018 EINA_STATIC_BUILD_CHAINED_POOL_TRUE=
20019 EINA_STATIC_BUILD_CHAINED_POOL_FALSE='#'
20020else
20021 EINA_STATIC_BUILD_CHAINED_POOL_TRUE='#'
20022 EINA_STATIC_BUILD_CHAINED_POOL_FALSE=
20023fi
20024
20025
20026enable_chained_pool=${enable_module}
20027
20028
20029
20030
20031
20032
20033# Check whether --enable-mempool-ememoa-fixed was given.
20034if test "${enable_mempool_ememoa_fixed+set}" = set; then :
20035 enableval=$enable_mempool_ememoa_fixed;
20036 if test "x${enableval}" = "xyes" ; then
20037 enable_module="yes"
20038 else
20039 if test "x${enableval}" = "xstatic" ; then
20040 enable_module="static"
20041 else
20042 enable_module="no"
20043 fi
20044 fi
20045
20046else
20047 enable_module=${enable_ememoa}
20048fi
20049
20050
20051have_module="no"
20052if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
20053 have_module="yes"
20054fi
20055
20056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ememoa fixed built" >&5
20057$as_echo_n "checking whether to enable ememoa fixed built... " >&6; }
20058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
20059$as_echo "${have_module}" >&6; }
20060
20061static_module="no"
20062if test "x${enable_module}" = "xstatic" ; then
20063 static_module="yes"
20064 have_static_module="yes"
20065
20066$as_echo "#define EINA_STATIC_BUILD_EMEMOA_FIXED 1" >>confdefs.h
20067
20068fi
20069
20070if ! test "x${enable_module}" = "xno" ; then
20071
20072$as_echo "#define EINA_BUILD_EMEMOA_FIXED 1" >>confdefs.h
20073
20074fi
20075
20076 if test "x${have_module}" = "xyes"; then
20077 EINA_BUILD_EMEMOA_FIXED_TRUE=
20078 EINA_BUILD_EMEMOA_FIXED_FALSE='#'
20079else
20080 EINA_BUILD_EMEMOA_FIXED_TRUE='#'
20081 EINA_BUILD_EMEMOA_FIXED_FALSE=
20082fi
20083
20084 if test "x${static_module}" = "xyes"; then
20085 EINA_STATIC_BUILD_EMEMOA_FIXED_TRUE=
20086 EINA_STATIC_BUILD_EMEMOA_FIXED_FALSE='#'
20087else
20088 EINA_STATIC_BUILD_EMEMOA_FIXED_TRUE='#'
20089 EINA_STATIC_BUILD_EMEMOA_FIXED_FALSE=
20090fi
20091
20092
20093enable_ememoa_fixed=${enable_module}
20094
20095
20096
20097
20098
20099
20100# Check whether --enable-mempool-ememoa-unknown was given.
20101if test "${enable_mempool_ememoa_unknown+set}" = set; then :
20102 enableval=$enable_mempool_ememoa_unknown;
20103 if test "x${enableval}" = "xyes" ; then
20104 enable_module="yes"
20105 else
20106 if test "x${enableval}" = "xstatic" ; then
20107 enable_module="static"
20108 else
20109 enable_module="no"
20110 fi
20111 fi
20112
20113else
20114 enable_module=${enable_ememoa}
20115fi
20116
20117
20118have_module="no"
20119if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
20120 have_module="yes"
20121fi
20122
20123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ememoa unknown built" >&5
20124$as_echo_n "checking whether to enable ememoa unknown built... " >&6; }
20125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
20126$as_echo "${have_module}" >&6; }
20127
20128static_module="no"
20129if test "x${enable_module}" = "xstatic" ; then
20130 static_module="yes"
20131 have_static_module="yes"
20132
20133$as_echo "#define EINA_STATIC_BUILD_EMEMOA_UNKNOWN 1" >>confdefs.h
20134
20135fi
20136
20137if ! test "x${enable_module}" = "xno" ; then
20138
20139$as_echo "#define EINA_BUILD_EMEMOA_UNKNOWN 1" >>confdefs.h
20140
20141fi
20142
20143 if test "x${have_module}" = "xyes"; then
20144 EINA_BUILD_EMEMOA_UNKNOWN_TRUE=
20145 EINA_BUILD_EMEMOA_UNKNOWN_FALSE='#'
20146else
20147 EINA_BUILD_EMEMOA_UNKNOWN_TRUE='#'
20148 EINA_BUILD_EMEMOA_UNKNOWN_FALSE=
20149fi
20150
20151 if test "x${static_module}" = "xyes"; then
20152 EINA_STATIC_BUILD_EMEMOA_UNKNOWN_TRUE=
20153 EINA_STATIC_BUILD_EMEMOA_UNKNOWN_FALSE='#'
20154else
20155 EINA_STATIC_BUILD_EMEMOA_UNKNOWN_TRUE='#'
20156 EINA_STATIC_BUILD_EMEMOA_UNKNOWN_FALSE=
20157fi
20158
20159
20160enable_ememoa_unknown=${enable_module}
20161
20162
20163
20164
20165
20166
20167# Check whether --enable-mempool-fixed-bitmap was given.
20168if test "${enable_mempool_fixed_bitmap+set}" = set; then :
20169 enableval=$enable_mempool_fixed_bitmap;
20170 if test "x${enableval}" = "xyes" ; then
20171 enable_module="yes"
20172 else
20173 if test "x${enableval}" = "xstatic" ; then
20174 enable_module="static"
20175 else
20176 enable_module="no"
20177 fi
20178 fi
20179
20180else
20181 enable_module=no
20182fi
20183
20184
20185have_module="no"
20186if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
20187 have_module="yes"
20188fi
20189
20190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable fixed bitmap built" >&5
20191$as_echo_n "checking whether to enable fixed bitmap built... " >&6; }
20192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
20193$as_echo "${have_module}" >&6; }
20194
20195static_module="no"
20196if test "x${enable_module}" = "xstatic" ; then
20197 static_module="yes"
20198 have_static_module="yes"
20199
20200$as_echo "#define EINA_STATIC_BUILD_FIXED_BITMAP 1" >>confdefs.h
20201
20202fi
20203
20204if ! test "x${enable_module}" = "xno" ; then
20205
20206$as_echo "#define EINA_BUILD_FIXED_BITMAP 1" >>confdefs.h
20207
20208fi
20209
20210 if test "x${have_module}" = "xyes"; then
20211 EINA_BUILD_FIXED_BITMAP_TRUE=
20212 EINA_BUILD_FIXED_BITMAP_FALSE='#'
20213else
20214 EINA_BUILD_FIXED_BITMAP_TRUE='#'
20215 EINA_BUILD_FIXED_BITMAP_FALSE=
20216fi
20217
20218 if test "x${static_module}" = "xyes"; then
20219 EINA_STATIC_BUILD_FIXED_BITMAP_TRUE=
20220 EINA_STATIC_BUILD_FIXED_BITMAP_FALSE='#'
20221else
20222 EINA_STATIC_BUILD_FIXED_BITMAP_TRUE='#'
20223 EINA_STATIC_BUILD_FIXED_BITMAP_FALSE=
20224fi
20225
20226
20227enable_fixed_bitmap=${enable_module}
20228
20229
20230
20231
20232
20233
20234# Check whether --enable-mempool-pass-through was given.
20235if test "${enable_mempool_pass_through+set}" = set; then :
20236 enableval=$enable_mempool_pass_through;
20237 if test "x${enableval}" = "xyes" ; then
20238 enable_module="yes"
20239 else
20240 if test "x${enableval}" = "xstatic" ; then
20241 enable_module="static"
20242 else
20243 enable_module="no"
20244 fi
20245 fi
20246
20247else
20248 enable_module=${enable_pass_through}
20249fi
20250
20251
20252have_module="no"
20253if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
20254 have_module="yes"
20255fi
20256
20257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable pass through built" >&5
20258$as_echo_n "checking whether to enable pass through built... " >&6; }
20259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
20260$as_echo "${have_module}" >&6; }
20261
20262static_module="no"
20263if test "x${enable_module}" = "xstatic" ; then
20264 static_module="yes"
20265 have_static_module="yes"
20266
20267$as_echo "#define EINA_STATIC_BUILD_PASS_THROUGH 1" >>confdefs.h
20268
20269fi
20270
20271if ! test "x${enable_module}" = "xno" ; then
20272
20273$as_echo "#define EINA_BUILD_PASS_THROUGH 1" >>confdefs.h
20274
20275fi
20276
20277 if test "x${have_module}" = "xyes"; then
20278 EINA_BUILD_PASS_THROUGH_TRUE=
20279 EINA_BUILD_PASS_THROUGH_FALSE='#'
20280else
20281 EINA_BUILD_PASS_THROUGH_TRUE='#'
20282 EINA_BUILD_PASS_THROUGH_FALSE=
20283fi
20284
20285 if test "x${static_module}" = "xyes"; then
20286 EINA_STATIC_BUILD_PASS_THROUGH_TRUE=
20287 EINA_STATIC_BUILD_PASS_THROUGH_FALSE='#'
20288else
20289 EINA_STATIC_BUILD_PASS_THROUGH_TRUE='#'
20290 EINA_STATIC_BUILD_PASS_THROUGH_FALSE=
20291fi
20292
20293
20294enable_pass_through=${enable_module}
20295
20296
20297
20298
20299
20300
20301# Check whether --enable-mempool-buddy was given.
20302if test "${enable_mempool_buddy+set}" = set; then :
20303 enableval=$enable_mempool_buddy;
20304 if test "x${enableval}" = "xyes" ; then
20305 enable_module="yes"
20306 else
20307 if test "x${enableval}" = "xstatic" ; then
20308 enable_module="static"
20309 else
20310 enable_module="no"
20311 fi
20312 fi
20313
20314else
20315 enable_module=no
20316fi
20317
20318
20319have_module="no"
20320if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
20321 have_module="yes"
20322fi
20323
20324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable buddy built" >&5
20325$as_echo_n "checking whether to enable buddy built... " >&6; }
20326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
20327$as_echo "${have_module}" >&6; }
20328
20329static_module="no"
20330if test "x${enable_module}" = "xstatic" ; then
20331 static_module="yes"
20332 have_static_module="yes"
20333
20334$as_echo "#define EINA_STATIC_BUILD_BUDDY 1" >>confdefs.h
20335
20336fi
20337
20338if ! test "x${enable_module}" = "xno" ; then
20339
20340$as_echo "#define EINA_BUILD_BUDDY 1" >>confdefs.h
20341
20342fi
20343
20344 if test "x${have_module}" = "xyes"; then
20345 EINA_BUILD_BUDDY_TRUE=
20346 EINA_BUILD_BUDDY_FALSE='#'
20347else
20348 EINA_BUILD_BUDDY_TRUE='#'
20349 EINA_BUILD_BUDDY_FALSE=
20350fi
20351
20352 if test "x${static_module}" = "xyes"; then
20353 EINA_STATIC_BUILD_BUDDY_TRUE=
20354 EINA_STATIC_BUILD_BUDDY_FALSE='#'
20355else
20356 EINA_STATIC_BUILD_BUDDY_TRUE='#'
20357 EINA_STATIC_BUILD_BUDDY_FALSE=
20358fi
20359
20360
20361enable_buddy=${enable_module}
20362
20363
20364
20365
20366
20367
20368# Check whether --enable-mempool-one-big was given.
20369if test "${enable_mempool_one_big+set}" = set; then :
20370 enableval=$enable_mempool_one_big;
20371 if test "x${enableval}" = "xyes" ; then
20372 enable_module="yes"
20373 else
20374 if test "x${enableval}" = "xstatic" ; then
20375 enable_module="static"
20376 else
20377 enable_module="no"
20378 fi
20379 fi
20380
20381else
20382 enable_module=${enable_one_big}
20383fi
20384
20385
20386have_module="no"
20387if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
20388 have_module="yes"
20389fi
20390
20391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable one big built" >&5
20392$as_echo_n "checking whether to enable one big built... " >&6; }
20393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
20394$as_echo "${have_module}" >&6; }
20395
20396static_module="no"
20397if test "x${enable_module}" = "xstatic" ; then
20398 static_module="yes"
20399 have_static_module="yes"
20400
20401$as_echo "#define EINA_STATIC_BUILD_ONE_BIG 1" >>confdefs.h
20402
20403fi
20404
20405if ! test "x${enable_module}" = "xno" ; then
20406
20407$as_echo "#define EINA_BUILD_ONE_BIG 1" >>confdefs.h
20408
20409fi
20410
20411 if test "x${have_module}" = "xyes"; then
20412 EINA_BUILD_ONE_BIG_TRUE=
20413 EINA_BUILD_ONE_BIG_FALSE='#'
20414else
20415 EINA_BUILD_ONE_BIG_TRUE='#'
20416 EINA_BUILD_ONE_BIG_FALSE=
20417fi
20418
20419 if test "x${static_module}" = "xyes"; then
20420 EINA_STATIC_BUILD_ONE_BIG_TRUE=
20421 EINA_STATIC_BUILD_ONE_BIG_FALSE='#'
20422else
20423 EINA_STATIC_BUILD_ONE_BIG_TRUE='#'
20424 EINA_STATIC_BUILD_ONE_BIG_FALSE=
20425fi
20426
20427
20428enable_one_big=${enable_module}
20429
20430
20431
20432
20433
20434### Make the debug preprocessor configurable
20435
20436### Unit tests, coverage and benchmarking
20437
20438
20439
20440
20441# Check whether --enable-tests was given.
20442if test "${enable_tests+set}" = set; then :
20443 enableval=$enable_tests;
20444 if test "x${enableval}" = "xyes" ; then
20445 _efl_enable_tests="yes"
20446 else
20447 _efl_enable_tests="no"
20448 fi
20449
20450else
20451 _efl_enable_tests="no"
20452fi
20453
20454
20455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
20456$as_echo_n "checking whether tests are built... " >&6; }
20457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
20458$as_echo "${_efl_enable_tests}" >&6; }
20459
20460
20461
20462if test "x${_efl_enable_tests}" = "xyes" ; then
20463
20464pkg_failed=no
20465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
20466$as_echo_n "checking for CHECK... " >&6; }
20467
20468if test -n "$CHECK_CFLAGS"; then
20469 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
20470 elif test -n "$PKG_CONFIG"; then
20471 if test -n "$PKG_CONFIG" && \
20472 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
20473 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
20474 ac_status=$?
20475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20476 test $ac_status = 0; }; then
20477 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
20478else
20479 pkg_failed=yes
20480fi
20481 else
20482 pkg_failed=untried
20483fi
20484if test -n "$CHECK_LIBS"; then
20485 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
20486 elif test -n "$PKG_CONFIG"; then
20487 if test -n "$PKG_CONFIG" && \
20488 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
20489 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
20490 ac_status=$?
20491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20492 test $ac_status = 0; }; then
20493 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
20494else
20495 pkg_failed=yes
20496fi
20497 else
20498 pkg_failed=untried
20499fi
20500
20501
20502
20503if test $pkg_failed = yes; then
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20505$as_echo "no" >&6; }
20506
20507if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20508 _pkg_short_errors_supported=yes
20509else
20510 _pkg_short_errors_supported=no
20511fi
20512 if test $_pkg_short_errors_supported = yes; then
20513 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.5" 2>&1`
20514 else
20515 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.5" 2>&1`
20516 fi
20517 # Put the nasty error message in config.log where it belongs
20518 echo "$CHECK_PKG_ERRORS" >&5
20519
20520 _efl_enable_tests="no"
20521elif test $pkg_failed = untried; then
20522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20523$as_echo "no" >&6; }
20524 _efl_enable_tests="no"
20525else
20526 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
20527 CHECK_LIBS=$pkg_cv_CHECK_LIBS
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20529$as_echo "yes" >&6; }
20530 dummy="yes"
20531fi
20532fi
20533
20534 if test "x${_efl_enable_tests}" = "xyes"; then
20535 EFL_ENABLE_TESTS_TRUE=
20536 EFL_ENABLE_TESTS_FALSE='#'
20537else
20538 EFL_ENABLE_TESTS_TRUE='#'
20539 EFL_ENABLE_TESTS_FALSE=
20540fi
20541
20542
20543if test "x$_efl_enable_tests" = "xyes"; then :
20544 enable_tests="yes"
20545else
20546 enable_tests="no"
20547fi
20548
20549
20550
20551
20552
20553# Check whether --enable-coverage was given.
20554if test "${enable_coverage+set}" = set; then :
20555 enableval=$enable_coverage;
20556 if test "x${enableval}" = "xyes" ; then
20557 _efl_enable_coverage="yes"
20558 else
20559 _efl_enable_coverage="no"
20560 fi
20561
20562else
20563 _efl_enable_coverage="no"
20564fi
20565
20566
20567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
20568$as_echo_n "checking whether to use profiling instrumentation... " >&6; }
20569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
20570$as_echo "$_efl_enable_coverage" >&6; }
20571
20572
20573if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
20574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
20575$as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
20576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
20577$as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
20578 _efl_enable_coverage="no"
20579fi
20580
20581if test "x$_efl_enable_coverage" = "xyes" ; then
20582 # Extract the first word of "lcov", so it can be a program name with args.
20583set dummy lcov; ac_word=$2
20584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20585$as_echo_n "checking for $ac_word... " >&6; }
20586if test "${ac_cv_prog_have_lcov+set}" = set; then :
20587 $as_echo_n "(cached) " >&6
20588else
20589 if test -n "$have_lcov"; then
20590 ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
20591else
20592as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20593for as_dir in $PATH
20594do
20595 IFS=$as_save_IFS
20596 test -z "$as_dir" && as_dir=.
20597 for ac_exec_ext in '' $ac_executable_extensions; do
20598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20599 ac_cv_prog_have_lcov="yes"
20600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20601 break 2
20602 fi
20603done
20604 done
20605IFS=$as_save_IFS
20606
20607 test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
20608fi
20609fi
20610have_lcov=$ac_cv_prog_have_lcov
20611if test -n "$have_lcov"; then
20612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
20613$as_echo "$have_lcov" >&6; }
20614else
20615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20616$as_echo "no" >&6; }
20617fi
20618
20619
20620 if test "x$have_lcov" = "xyes" ; then
20621 EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
20622 EFL_COVERAGE_LIBS="-lgcov"
20623# remove any optimisation flag and force debug symbols
20624 EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
20625 else
20626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
20627$as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
20628 _efl_enable_coverage="no"
20629 fi
20630fi
20631
20632
20633
20634
20635 if test "x${_efl_enable_coverage}" = "xyes"; then
20636 EFL_ENABLE_COVERAGE_TRUE=
20637 EFL_ENABLE_COVERAGE_FALSE='#'
20638else
20639 EFL_ENABLE_COVERAGE_TRUE='#'
20640 EFL_ENABLE_COVERAGE_FALSE=
20641fi
20642
20643
20644if test "x$_efl_enable_coverage" = "xyes"; then :
20645 enable_coverage="yes"
20646else
20647 enable_coverage="no"
20648fi
20649
20650EINA_CFLAGS="${EINA_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
20651EINA_LIBS="${EINA_LIBS} ${EFL_COVERAGE_LIBS}"
20652if test "x$enable_coverage" = "xyes" ; then
20653 EINA_CFLAGS="${EINA_CFLAGS} ${EFL_DEBUG_CFLAGS}"
20654fi
20655
20656
20657
20658
20659# Check whether --enable-benchmark was given.
20660if test "${enable_benchmark+set}" = set; then :
20661 enableval=$enable_benchmark;
20662 if test "x${enableval}" = "xyes" ; then
20663 _efl_enable_benchmark="yes"
20664 else
20665 _efl_enable_benchmark="no"
20666 fi
20667
20668else
20669 _efl_enable_benchmark="no"
20670fi
20671
20672
20673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether benchmark are built" >&5
20674$as_echo_n "checking whether benchmark are built... " >&6; }
20675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_benchmark}" >&5
20676$as_echo "${_efl_enable_benchmark}" >&6; }
20677
20678 if test "x${_efl_enable_benchmark}" = "xyes"; then
20679 EFL_ENABLE_BENCHMARK_TRUE=
20680 EFL_ENABLE_BENCHMARK_FALSE='#'
20681else
20682 EFL_ENABLE_BENCHMARK_TRUE='#'
20683 EFL_ENABLE_BENCHMARK_FALSE=
20684fi
20685
20686
20687if test "x$_efl_enable_benchmark" = "xyes"; then :
20688 enable_benchmark="yes"
20689else
20690 enable_benchmark="no"
20691fi
20692
20693
20694
20695want_module="${enable_benchmark}"
20696have_module="no"
20697
20698# Check whether --enable-glib was given.
20699if test "${enable_glib+set}" = set; then :
20700 enableval=$enable_glib;
20701 if test "x${enableval}" = "xyes" ; then
20702 enable_module="yes"
20703 else
20704 enable_module="no"
20705 fi
20706
20707else
20708 enable_module="yes"
20709fi
20710
20711
20712if test "x${enable_module}" = "xyes" && test "x${want_module}" = "xyes"; then
20713
20714pkg_failed=no
20715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
20716$as_echo_n "checking for GLIB... " >&6; }
20717
20718if test -n "$GLIB_CFLAGS"; then
20719 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
20720 elif test -n "$PKG_CONFIG"; then
20721 if test -n "$PKG_CONFIG" && \
20722 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
20723 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
20724 ac_status=$?
20725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20726 test $ac_status = 0; }; then
20727 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
20728else
20729 pkg_failed=yes
20730fi
20731 else
20732 pkg_failed=untried
20733fi
20734if test -n "$GLIB_LIBS"; then
20735 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
20736 elif test -n "$PKG_CONFIG"; then
20737 if test -n "$PKG_CONFIG" && \
20738 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
20739 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
20740 ac_status=$?
20741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20742 test $ac_status = 0; }; then
20743 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
20744else
20745 pkg_failed=yes
20746fi
20747 else
20748 pkg_failed=untried
20749fi
20750
20751
20752
20753if test $pkg_failed = yes; then
20754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20755$as_echo "no" >&6; }
20756
20757if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20758 _pkg_short_errors_supported=yes
20759else
20760 _pkg_short_errors_supported=no
20761fi
20762 if test $_pkg_short_errors_supported = yes; then
20763 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
20764 else
20765 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
20766 fi
20767 # Put the nasty error message in config.log where it belongs
20768 echo "$GLIB_PKG_ERRORS" >&5
20769
20770 have_module="no"
20771elif test $pkg_failed = untried; then
20772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20773$as_echo "no" >&6; }
20774 have_module="no"
20775else
20776 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
20777 GLIB_LIBS=$pkg_cv_GLIB_LIBS
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20779$as_echo "yes" >&6; }
20780 have_module="yes"
20781fi
20782fi
20783
20784 if test "x${have_module}" = "xyes"; then
20785 EINA_HAVE_GLIB_TRUE=
20786 EINA_HAVE_GLIB_FALSE='#'
20787else
20788 EINA_HAVE_GLIB_TRUE='#'
20789 EINA_HAVE_GLIB_FALSE=
20790fi
20791
20792
20793if test "x$have_module" = "xyes"; then :
20794 enable_benchmark_glib="yes"
20795else
20796 enable_benchmark_glib="no"
20797fi
20798
20799
20800
20801
20802if test -n "$CXX" && test "x$enable_benchmark" = "xyes" ; then
20803
20804cat >>confdefs.h <<_ACEOF
20805#define CITYHASH_BENCH 1
20806_ACEOF
20807
20808fi
20809 if test -n "$CXX" && test "x$enable_benchmark" = "xyes"; then
20810 CITYHASH_BENCH_TRUE=
20811 CITYHASH_BENCH_FALSE='#'
20812else
20813 CITYHASH_BENCH_TRUE='#'
20814 CITYHASH_BENCH_FALSE=
20815fi
20816
20817
20818
20819
20820### Build and install examples
20821
20822
20823
20824# Check whether --enable-build-examples was given.
20825if test "${enable_build_examples+set}" = set; then :
20826 enableval=$enable_build_examples;
20827 if test "x${enableval}" = "xyes" ; then
20828 _efl_enable_build_examples="yes"
20829 else
20830 _efl_enable_build_examples="no"
20831 fi
20832
20833else
20834 _efl_enable_build_examples="no"
20835fi
20836
20837
20838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are built" >&5
20839$as_echo_n "checking whether examples are built... " >&6; }
20840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_build_examples}" >&5
20841$as_echo "${_efl_enable_build_examples}" >&6; }
20842
20843 if test "x${_efl_enable_build_examples}" = "xyes"; then
20844 EFL_BUILD_EXAMPLES_TRUE=
20845 EFL_BUILD_EXAMPLES_FALSE='#'
20846else
20847 EFL_BUILD_EXAMPLES_TRUE='#'
20848 EFL_BUILD_EXAMPLES_FALSE=
20849fi
20850
20851
20852if test "x$_efl_enable_build_examples" = "xyes"; then :
20853 enable_build_examples="yes"
20854else
20855 enable_build_examples="no"
20856fi
20857
20858
20859
20860
20861# Check whether --enable-install-examples was given.
20862if test "${enable_install_examples+set}" = set; then :
20863 enableval=$enable_install_examples;
20864 if test "x${enableval}" = "xyes" ; then
20865 _efl_enable_install_examples="yes"
20866 else
20867 _efl_enable_install_examples="no"
20868 fi
20869
20870else
20871 _efl_enable_install_examples="no"
20872fi
20873
20874
20875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are installed" >&5
20876$as_echo_n "checking whether examples are installed... " >&6; }
20877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_install_examples}" >&5
20878$as_echo "${_efl_enable_install_examples}" >&6; }
20879
20880 if test "x${_efl_enable_install_examples}" = "xyes"; then
20881 EFL_INSTALL_EXAMPLES_TRUE=
20882 EFL_INSTALL_EXAMPLES_FALSE='#'
20883else
20884 EFL_INSTALL_EXAMPLES_TRUE='#'
20885 EFL_INSTALL_EXAMPLES_FALSE=
20886fi
20887
20888
20889if test "x$_efl_enable_install_examples" = "xyes"; then :
20890 enable_install_examples="yes"
20891else
20892 enable_install_examples="no"
20893fi
20894
20895
20896ac_config_files="$ac_config_files Makefile eina.pc eina.spec doc/Makefile doc/Doxyfile src/Makefile src/include/Makefile src/include/eina_config.h src/lib/Makefile src/modules/Makefile src/modules/mp/Makefile src/modules/mp/chained_pool/Makefile src/modules/mp/ememoa_fixed/Makefile src/modules/mp/ememoa_unknown/Makefile src/modules/mp/pass_through/Makefile src/modules/mp/fixed_bitmap/Makefile src/modules/mp/buddy/Makefile src/modules/mp/one_big/Makefile src/tests/Makefile src/examples/Makefile"
20897
20898
20899cat >confcache <<\_ACEOF
20900# This file is a shell script that caches the results of configure
20901# tests run on this system so they can be shared between configure
20902# scripts and configure runs, see configure's option --config-cache.
20903# It is not useful on other systems. If it contains results you don't
20904# want to keep, you may remove or edit it.
20905#
20906# config.status only pays attention to the cache file if you give it
20907# the --recheck option to rerun configure.
20908#
20909# `ac_cv_env_foo' variables (set or unset) will be overridden when
20910# loading this file, other *unset* `ac_cv_foo' will be assigned the
20911# following values.
20912
20913_ACEOF
20914
20915# The following way of writing the cache mishandles newlines in values,
20916# but we know of no workaround that is simple, portable, and efficient.
20917# So, we kill variables containing newlines.
20918# Ultrix sh set writes to stderr and can't be redirected directly,
20919# and sets the high bit in the cache file unless we assign to the vars.
20920(
20921 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20922 eval ac_val=\$$ac_var
20923 case $ac_val in #(
20924 *${as_nl}*)
20925 case $ac_var in #(
20926 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20927$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20928 esac
20929 case $ac_var in #(
20930 _ | IFS | as_nl) ;; #(
20931 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20932 *) { eval $ac_var=; unset $ac_var;} ;;
20933 esac ;;
20934 esac
20935 done
20936
20937 (set) 2>&1 |
20938 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20939 *${as_nl}ac_space=\ *)
20940 # `set' does not quote correctly, so add quotes: double-quote
20941 # substitution turns \\\\ into \\, and sed turns \\ into \.
20942 sed -n \
20943 "s/'/'\\\\''/g;
20944 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20945 ;; #(
20946 *)
20947 # `set' quotes correctly as required by POSIX, so do not add quotes.
20948 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20949 ;;
20950 esac |
20951 sort
20952) |
20953 sed '
20954 /^ac_cv_env_/b end
20955 t clear
20956 :clear
20957 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20958 t end
20959 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20960 :end' >>confcache
20961if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20962 if test -w "$cache_file"; then
20963 test "x$cache_file" != "x/dev/null" &&
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20965$as_echo "$as_me: updating cache $cache_file" >&6;}
20966 cat confcache >$cache_file
20967 else
20968 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20969$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20970 fi
20971fi
20972rm -f confcache
20973
20974test "x$prefix" = xNONE && prefix=$ac_default_prefix
20975# Let make expand exec_prefix.
20976test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20977
20978DEFS=-DHAVE_CONFIG_H
20979
20980ac_libobjs=
20981ac_ltlibobjs=
20982U=
20983for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20984 # 1. Remove the extension, and $U if already installed.
20985 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20986 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20987 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20988 # will be set to the directory where LIBOBJS objects are built.
20989 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20990 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20991done
20992LIBOBJS=$ac_libobjs
20993
20994LTLIBOBJS=$ac_ltlibobjs
20995
20996
20997 if test -n "$EXEEXT"; then
20998 am__EXEEXT_TRUE=
20999 am__EXEEXT_FALSE='#'
21000else
21001 am__EXEEXT_TRUE='#'
21002 am__EXEEXT_FALSE=
21003fi
21004
21005if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21006 as_fn_error $? "conditional \"AMDEP\" was never defined.
21007Usually this means the macro was only invoked conditionally." "$LINENO" 5
21008fi
21009if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21010 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
21011Usually this means the macro was only invoked conditionally." "$LINENO" 5
21012fi
21013if test -z "${EINA_HAVE_THREADS_TRUE}" && test -z "${EINA_HAVE_THREADS_FALSE}"; then
21014 as_fn_error $? "conditional \"EINA_HAVE_THREADS\" was never defined.
21015Usually this means the macro was only invoked conditionally." "$LINENO" 5
21016fi
21017if test -z "${EINA_DEBUG_THREADS_TRUE}" && test -z "${EINA_DEBUG_THREADS_FALSE}"; then
21018 as_fn_error $? "conditional \"EINA_DEBUG_THREADS\" was never defined.
21019Usually this means the macro was only invoked conditionally." "$LINENO" 5
21020fi
21021if test -z "${EINA_ON_OFF_THREADS_TRUE}" && test -z "${EINA_ON_OFF_THREADS_FALSE}"; then
21022 as_fn_error $? "conditional \"EINA_ON_OFF_THREADS\" was never defined.
21023Usually this means the macro was only invoked conditionally." "$LINENO" 5
21024fi
21025if test -z "${SAFETY_CHECKS_TRUE}" && test -z "${SAFETY_CHECKS_FALSE}"; then
21026 as_fn_error $? "conditional \"SAFETY_CHECKS\" was never defined.
21027Usually this means the macro was only invoked conditionally." "$LINENO" 5
21028fi
21029if test -z "${EINA_AMALGAMATION_TRUE}" && test -z "${EINA_AMALGAMATION_FALSE}"; then
21030 as_fn_error $? "conditional \"EINA_AMALGAMATION\" was never defined.
21031Usually this means the macro was only invoked conditionally." "$LINENO" 5
21032fi
21033if test -z "${EINA_ENABLE_BENCHMARK_E17_TRUE}" && test -z "${EINA_ENABLE_BENCHMARK_E17_FALSE}"; then
21034 as_fn_error $? "conditional \"EINA_ENABLE_BENCHMARK_E17\" was never defined.
21035Usually this means the macro was only invoked conditionally." "$LINENO" 5
21036fi
21037if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21038 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
21039Usually this means the macro was only invoked conditionally." "$LINENO" 5
21040fi
21041if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21042 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
21043Usually this means the macro was only invoked conditionally." "$LINENO" 5
21044fi
21045if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21046 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
21047Usually this means the macro was only invoked conditionally." "$LINENO" 5
21048fi
21049if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
21050 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
21051Usually this means the macro was only invoked conditionally." "$LINENO" 5
21052fi
21053if test -z "${BUILD_TILER_EXAMPLE_TRUE}" && test -z "${BUILD_TILER_EXAMPLE_FALSE}"; then
21054 as_fn_error $? "conditional \"BUILD_TILER_EXAMPLE\" was never defined.
21055Usually this means the macro was only invoked conditionally." "$LINENO" 5
21056fi
21057
21058if test -z "${EINA_HAVE_WINCE_TRUE}" && test -z "${EINA_HAVE_WINCE_FALSE}"; then
21059 as_fn_error $? "conditional \"EINA_HAVE_WINCE\" was never defined.
21060Usually this means the macro was only invoked conditionally." "$LINENO" 5
21061fi
21062if test -z "${EINA_HAVE_WIN32_TRUE}" && test -z "${EINA_HAVE_WIN32_FALSE}"; then
21063 as_fn_error $? "conditional \"EINA_HAVE_WIN32\" was never defined.
21064Usually this means the macro was only invoked conditionally." "$LINENO" 5
21065fi
21066if test -z "${EINA_HAVE_EXOTIC_TRUE}" && test -z "${EINA_HAVE_EXOTIC_FALSE}"; then
21067 as_fn_error $? "conditional \"EINA_HAVE_EXOTIC\" was never defined.
21068Usually this means the macro was only invoked conditionally." "$LINENO" 5
21069fi
21070if test -z "${EINA_BUILD_CHAINED_POOL_TRUE}" && test -z "${EINA_BUILD_CHAINED_POOL_FALSE}"; then
21071 as_fn_error $? "conditional \"EINA_BUILD_CHAINED_POOL\" was never defined.
21072Usually this means the macro was only invoked conditionally." "$LINENO" 5
21073fi
21074if test -z "${EINA_STATIC_BUILD_CHAINED_POOL_TRUE}" && test -z "${EINA_STATIC_BUILD_CHAINED_POOL_FALSE}"; then
21075 as_fn_error $? "conditional \"EINA_STATIC_BUILD_CHAINED_POOL\" was never defined.
21076Usually this means the macro was only invoked conditionally." "$LINENO" 5
21077fi
21078if test -z "${EINA_BUILD_EMEMOA_FIXED_TRUE}" && test -z "${EINA_BUILD_EMEMOA_FIXED_FALSE}"; then
21079 as_fn_error $? "conditional \"EINA_BUILD_EMEMOA_FIXED\" was never defined.
21080Usually this means the macro was only invoked conditionally." "$LINENO" 5
21081fi
21082if test -z "${EINA_STATIC_BUILD_EMEMOA_FIXED_TRUE}" && test -z "${EINA_STATIC_BUILD_EMEMOA_FIXED_FALSE}"; then
21083 as_fn_error $? "conditional \"EINA_STATIC_BUILD_EMEMOA_FIXED\" was never defined.
21084Usually this means the macro was only invoked conditionally." "$LINENO" 5
21085fi
21086if test -z "${EINA_BUILD_EMEMOA_UNKNOWN_TRUE}" && test -z "${EINA_BUILD_EMEMOA_UNKNOWN_FALSE}"; then
21087 as_fn_error $? "conditional \"EINA_BUILD_EMEMOA_UNKNOWN\" was never defined.
21088Usually this means the macro was only invoked conditionally." "$LINENO" 5
21089fi
21090if test -z "${EINA_STATIC_BUILD_EMEMOA_UNKNOWN_TRUE}" && test -z "${EINA_STATIC_BUILD_EMEMOA_UNKNOWN_FALSE}"; then
21091 as_fn_error $? "conditional \"EINA_STATIC_BUILD_EMEMOA_UNKNOWN\" was never defined.
21092Usually this means the macro was only invoked conditionally." "$LINENO" 5
21093fi
21094if test -z "${EINA_BUILD_FIXED_BITMAP_TRUE}" && test -z "${EINA_BUILD_FIXED_BITMAP_FALSE}"; then
21095 as_fn_error $? "conditional \"EINA_BUILD_FIXED_BITMAP\" was never defined.
21096Usually this means the macro was only invoked conditionally." "$LINENO" 5
21097fi
21098if test -z "${EINA_STATIC_BUILD_FIXED_BITMAP_TRUE}" && test -z "${EINA_STATIC_BUILD_FIXED_BITMAP_FALSE}"; then
21099 as_fn_error $? "conditional \"EINA_STATIC_BUILD_FIXED_BITMAP\" was never defined.
21100Usually this means the macro was only invoked conditionally." "$LINENO" 5
21101fi
21102if test -z "${EINA_BUILD_PASS_THROUGH_TRUE}" && test -z "${EINA_BUILD_PASS_THROUGH_FALSE}"; then
21103 as_fn_error $? "conditional \"EINA_BUILD_PASS_THROUGH\" was never defined.
21104Usually this means the macro was only invoked conditionally." "$LINENO" 5
21105fi
21106if test -z "${EINA_STATIC_BUILD_PASS_THROUGH_TRUE}" && test -z "${EINA_STATIC_BUILD_PASS_THROUGH_FALSE}"; then
21107 as_fn_error $? "conditional \"EINA_STATIC_BUILD_PASS_THROUGH\" was never defined.
21108Usually this means the macro was only invoked conditionally." "$LINENO" 5
21109fi
21110if test -z "${EINA_BUILD_BUDDY_TRUE}" && test -z "${EINA_BUILD_BUDDY_FALSE}"; then
21111 as_fn_error $? "conditional \"EINA_BUILD_BUDDY\" was never defined.
21112Usually this means the macro was only invoked conditionally." "$LINENO" 5
21113fi
21114if test -z "${EINA_STATIC_BUILD_BUDDY_TRUE}" && test -z "${EINA_STATIC_BUILD_BUDDY_FALSE}"; then
21115 as_fn_error $? "conditional \"EINA_STATIC_BUILD_BUDDY\" was never defined.
21116Usually this means the macro was only invoked conditionally." "$LINENO" 5
21117fi
21118if test -z "${EINA_BUILD_ONE_BIG_TRUE}" && test -z "${EINA_BUILD_ONE_BIG_FALSE}"; then
21119 as_fn_error $? "conditional \"EINA_BUILD_ONE_BIG\" was never defined.
21120Usually this means the macro was only invoked conditionally." "$LINENO" 5
21121fi
21122if test -z "${EINA_STATIC_BUILD_ONE_BIG_TRUE}" && test -z "${EINA_STATIC_BUILD_ONE_BIG_FALSE}"; then
21123 as_fn_error $? "conditional \"EINA_STATIC_BUILD_ONE_BIG\" was never defined.
21124Usually this means the macro was only invoked conditionally." "$LINENO" 5
21125fi
21126if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
21127 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
21128Usually this means the macro was only invoked conditionally." "$LINENO" 5
21129fi
21130if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
21131 as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
21132Usually this means the macro was only invoked conditionally." "$LINENO" 5
21133fi
21134if test -z "${EFL_ENABLE_BENCHMARK_TRUE}" && test -z "${EFL_ENABLE_BENCHMARK_FALSE}"; then
21135 as_fn_error $? "conditional \"EFL_ENABLE_BENCHMARK\" was never defined.
21136Usually this means the macro was only invoked conditionally." "$LINENO" 5
21137fi
21138if test -z "${EINA_HAVE_GLIB_TRUE}" && test -z "${EINA_HAVE_GLIB_FALSE}"; then
21139 as_fn_error $? "conditional \"EINA_HAVE_GLIB\" was never defined.
21140Usually this means the macro was only invoked conditionally." "$LINENO" 5
21141fi
21142if test -z "${CITYHASH_BENCH_TRUE}" && test -z "${CITYHASH_BENCH_FALSE}"; then
21143 as_fn_error $? "conditional \"CITYHASH_BENCH\" was never defined.
21144Usually this means the macro was only invoked conditionally." "$LINENO" 5
21145fi
21146if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
21147 as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
21148Usually this means the macro was only invoked conditionally." "$LINENO" 5
21149fi
21150if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
21151 as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
21152Usually this means the macro was only invoked conditionally." "$LINENO" 5
21153fi
21154
21155: ${CONFIG_STATUS=./config.status}
21156ac_write_fail=0
21157ac_clean_files_save=$ac_clean_files
21158ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21159{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21160$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21161as_write_fail=0
21162cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21163#! $SHELL
21164# Generated by $as_me.
21165# Run this file to recreate the current configuration.
21166# Compiler output produced by configure, useful for debugging
21167# configure, is in config.log if it exists.
21168
21169debug=false
21170ac_cs_recheck=false
21171ac_cs_silent=false
21172
21173SHELL=\${CONFIG_SHELL-$SHELL}
21174export SHELL
21175_ASEOF
21176cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21177## -------------------- ##
21178## M4sh Initialization. ##
21179## -------------------- ##
21180
21181# Be more Bourne compatible
21182DUALCASE=1; export DUALCASE # for MKS sh
21183if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21184 emulate sh
21185 NULLCMD=:
21186 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21187 # is contrary to our usage. Disable this feature.
21188 alias -g '${1+"$@"}'='"$@"'
21189 setopt NO_GLOB_SUBST
21190else
21191 case `(set -o) 2>/dev/null` in #(
21192 *posix*) :
21193 set -o posix ;; #(
21194 *) :
21195 ;;
21196esac
21197fi
21198
21199
21200as_nl='
21201'
21202export as_nl
21203# Printing a long string crashes Solaris 7 /usr/bin/printf.
21204as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21205as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21206as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21207# Prefer a ksh shell builtin over an external printf program on Solaris,
21208# but without wasting forks for bash or zsh.
21209if test -z "$BASH_VERSION$ZSH_VERSION" \
21210 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21211 as_echo='print -r --'
21212 as_echo_n='print -rn --'
21213elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21214 as_echo='printf %s\n'
21215 as_echo_n='printf %s'
21216else
21217 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21218 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21219 as_echo_n='/usr/ucb/echo -n'
21220 else
21221 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21222 as_echo_n_body='eval
21223 arg=$1;
21224 case $arg in #(
21225 *"$as_nl"*)
21226 expr "X$arg" : "X\\(.*\\)$as_nl";
21227 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21228 esac;
21229 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21230 '
21231 export as_echo_n_body
21232 as_echo_n='sh -c $as_echo_n_body as_echo'
21233 fi
21234 export as_echo_body
21235 as_echo='sh -c $as_echo_body as_echo'
21236fi
21237
21238# The user is always right.
21239if test "${PATH_SEPARATOR+set}" != set; then
21240 PATH_SEPARATOR=:
21241 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21242 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21243 PATH_SEPARATOR=';'
21244 }
21245fi
21246
21247
21248# IFS
21249# We need space, tab and new line, in precisely that order. Quoting is
21250# there to prevent editors from complaining about space-tab.
21251# (If _AS_PATH_WALK were called with IFS unset, it would disable word
21252# splitting by setting IFS to empty value.)
21253IFS=" "" $as_nl"
21254
21255# Find who we are. Look in the path if we contain no directory separator.
21256case $0 in #((
21257 *[\\/]* ) as_myself=$0 ;;
21258 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21259for as_dir in $PATH
21260do
21261 IFS=$as_save_IFS
21262 test -z "$as_dir" && as_dir=.
21263 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21264 done
21265IFS=$as_save_IFS
21266
21267 ;;
21268esac
21269# We did not find ourselves, most probably we were run as `sh COMMAND'
21270# in which case we are not to be found in the path.
21271if test "x$as_myself" = x; then
21272 as_myself=$0
21273fi
21274if test ! -f "$as_myself"; then
21275 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21276 exit 1
21277fi
21278
21279# Unset variables that we do not need and which cause bugs (e.g. in
21280# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21281# suppresses any "Segmentation fault" message there. '((' could
21282# trigger a bug in pdksh 5.2.14.
21283for as_var in BASH_ENV ENV MAIL MAILPATH
21284do eval test x\${$as_var+set} = xset \
21285 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21286done
21287PS1='$ '
21288PS2='> '
21289PS4='+ '
21290
21291# NLS nuisances.
21292LC_ALL=C
21293export LC_ALL
21294LANGUAGE=C
21295export LANGUAGE
21296
21297# CDPATH.
21298(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21299
21300
21301# as_fn_error STATUS ERROR [LINENO LOG_FD]
21302# ----------------------------------------
21303# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21304# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21305# script with STATUS, using 1 if that was 0.
21306as_fn_error ()
21307{
21308 as_status=$1; test $as_status -eq 0 && as_status=1
21309 if test "$4"; then
21310 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21311 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21312 fi
21313 $as_echo "$as_me: error: $2" >&2
21314 as_fn_exit $as_status
21315} # as_fn_error
21316
21317
21318# as_fn_set_status STATUS
21319# -----------------------
21320# Set $? to STATUS, without forking.
21321as_fn_set_status ()
21322{
21323 return $1
21324} # as_fn_set_status
21325
21326# as_fn_exit STATUS
21327# -----------------
21328# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21329as_fn_exit ()
21330{
21331 set +e
21332 as_fn_set_status $1
21333 exit $1
21334} # as_fn_exit
21335
21336# as_fn_unset VAR
21337# ---------------
21338# Portably unset VAR.
21339as_fn_unset ()
21340{
21341 { eval $1=; unset $1;}
21342}
21343as_unset=as_fn_unset
21344# as_fn_append VAR VALUE
21345# ----------------------
21346# Append the text in VALUE to the end of the definition contained in VAR. Take
21347# advantage of any shell optimizations that allow amortized linear growth over
21348# repeated appends, instead of the typical quadratic growth present in naive
21349# implementations.
21350if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21351 eval 'as_fn_append ()
21352 {
21353 eval $1+=\$2
21354 }'
21355else
21356 as_fn_append ()
21357 {
21358 eval $1=\$$1\$2
21359 }
21360fi # as_fn_append
21361
21362# as_fn_arith ARG...
21363# ------------------
21364# Perform arithmetic evaluation on the ARGs, and store the result in the
21365# global $as_val. Take advantage of shells that can avoid forks. The arguments
21366# must be portable across $(()) and expr.
21367if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21368 eval 'as_fn_arith ()
21369 {
21370 as_val=$(( $* ))
21371 }'
21372else
21373 as_fn_arith ()
21374 {
21375 as_val=`expr "$@" || test $? -eq 1`
21376 }
21377fi # as_fn_arith
21378
21379
21380if expr a : '\(a\)' >/dev/null 2>&1 &&
21381 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21382 as_expr=expr
21383else
21384 as_expr=false
21385fi
21386
21387if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21388 as_basename=basename
21389else
21390 as_basename=false
21391fi
21392
21393if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21394 as_dirname=dirname
21395else
21396 as_dirname=false
21397fi
21398
21399as_me=`$as_basename -- "$0" ||
21400$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21401 X"$0" : 'X\(//\)$' \| \
21402 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21403$as_echo X/"$0" |
21404 sed '/^.*\/\([^/][^/]*\)\/*$/{
21405 s//\1/
21406 q
21407 }
21408 /^X\/\(\/\/\)$/{
21409 s//\1/
21410 q
21411 }
21412 /^X\/\(\/\).*/{
21413 s//\1/
21414 q
21415 }
21416 s/.*/./; q'`
21417
21418# Avoid depending upon Character Ranges.
21419as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21420as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21421as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21422as_cr_digits='0123456789'
21423as_cr_alnum=$as_cr_Letters$as_cr_digits
21424
21425ECHO_C= ECHO_N= ECHO_T=
21426case `echo -n x` in #(((((
21427-n*)
21428 case `echo 'xy\c'` in
21429 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21430 xy) ECHO_C='\c';;
21431 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21432 ECHO_T=' ';;
21433 esac;;
21434*)
21435 ECHO_N='-n';;
21436esac
21437
21438rm -f conf$$ conf$$.exe conf$$.file
21439if test -d conf$$.dir; then
21440 rm -f conf$$.dir/conf$$.file
21441else
21442 rm -f conf$$.dir
21443 mkdir conf$$.dir 2>/dev/null
21444fi
21445if (echo >conf$$.file) 2>/dev/null; then
21446 if ln -s conf$$.file conf$$ 2>/dev/null; then
21447 as_ln_s='ln -s'
21448 # ... but there are two gotchas:
21449 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21450 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21451 # In both cases, we have to default to `cp -p'.
21452 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21453 as_ln_s='cp -p'
21454 elif ln conf$$.file conf$$ 2>/dev/null; then
21455 as_ln_s=ln
21456 else
21457 as_ln_s='cp -p'
21458 fi
21459else
21460 as_ln_s='cp -p'
21461fi
21462rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21463rmdir conf$$.dir 2>/dev/null
21464
21465
21466# as_fn_mkdir_p
21467# -------------
21468# Create "$as_dir" as a directory, including parents if necessary.
21469as_fn_mkdir_p ()
21470{
21471
21472 case $as_dir in #(
21473 -*) as_dir=./$as_dir;;
21474 esac
21475 test -d "$as_dir" || eval $as_mkdir_p || {
21476 as_dirs=
21477 while :; do
21478 case $as_dir in #(
21479 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21480 *) as_qdir=$as_dir;;
21481 esac
21482 as_dirs="'$as_qdir' $as_dirs"
21483 as_dir=`$as_dirname -- "$as_dir" ||
21484$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21485 X"$as_dir" : 'X\(//\)[^/]' \| \
21486 X"$as_dir" : 'X\(//\)$' \| \
21487 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21488$as_echo X"$as_dir" |
21489 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21490 s//\1/
21491 q
21492 }
21493 /^X\(\/\/\)[^/].*/{
21494 s//\1/
21495 q
21496 }
21497 /^X\(\/\/\)$/{
21498 s//\1/
21499 q
21500 }
21501 /^X\(\/\).*/{
21502 s//\1/
21503 q
21504 }
21505 s/.*/./; q'`
21506 test -d "$as_dir" && break
21507 done
21508 test -z "$as_dirs" || eval "mkdir $as_dirs"
21509 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21510
21511
21512} # as_fn_mkdir_p
21513if mkdir -p . 2>/dev/null; then
21514 as_mkdir_p='mkdir -p "$as_dir"'
21515else
21516 test -d ./-p && rmdir ./-p
21517 as_mkdir_p=false
21518fi
21519
21520if test -x / >/dev/null 2>&1; then
21521 as_test_x='test -x'
21522else
21523 if ls -dL / >/dev/null 2>&1; then
21524 as_ls_L_option=L
21525 else
21526 as_ls_L_option=
21527 fi
21528 as_test_x='
21529 eval sh -c '\''
21530 if test -d "$1"; then
21531 test -d "$1/.";
21532 else
21533 case $1 in #(
21534 -*)set "./$1";;
21535 esac;
21536 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
21537 ???[sx]*):;;*)false;;esac;fi
21538 '\'' sh
21539 '
21540fi
21541as_executable_p=$as_test_x
21542
21543# Sed expression to map a string onto a valid CPP name.
21544as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21545
21546# Sed expression to map a string onto a valid variable name.
21547as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21548
21549
21550exec 6>&1
21551## ----------------------------------- ##
21552## Main body of $CONFIG_STATUS script. ##
21553## ----------------------------------- ##
21554_ASEOF
21555test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21556
21557cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21558# Save the log message, to keep $0 and so on meaningful, and to
21559# report actual input values of CONFIG_FILES etc. instead of their
21560# values after options handling.
21561ac_log="
21562This file was extended by eina $as_me 1.2.0-alpha, which was
21563generated by GNU Autoconf 2.67. Invocation command line was
21564
21565 CONFIG_FILES = $CONFIG_FILES
21566 CONFIG_HEADERS = $CONFIG_HEADERS
21567 CONFIG_LINKS = $CONFIG_LINKS
21568 CONFIG_COMMANDS = $CONFIG_COMMANDS
21569 $ $0 $@
21570
21571on `(hostname || uname -n) 2>/dev/null | sed 1q`
21572"
21573
21574_ACEOF
21575
21576case $ac_config_files in *"
21577"*) set x $ac_config_files; shift; ac_config_files=$*;;
21578esac
21579
21580case $ac_config_headers in *"
21581"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21582esac
21583
21584
21585cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21586# Files that config.status was made for.
21587config_files="$ac_config_files"
21588config_headers="$ac_config_headers"
21589config_commands="$ac_config_commands"
21590
21591_ACEOF
21592
21593cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21594ac_cs_usage="\
21595\`$as_me' instantiates files and other configuration actions
21596from templates according to the current configuration. Unless the files
21597and actions are specified as TAGs, all are instantiated by default.
21598
21599Usage: $0 [OPTION]... [TAG]...
21600
21601 -h, --help print this help, then exit
21602 -V, --version print version number and configuration settings, then exit
21603 --config print configuration, then exit
21604 -q, --quiet, --silent
21605 do not print progress messages
21606 -d, --debug don't remove temporary files
21607 --recheck update $as_me by reconfiguring in the same conditions
21608 --file=FILE[:TEMPLATE]
21609 instantiate the configuration file FILE
21610 --header=FILE[:TEMPLATE]
21611 instantiate the configuration header FILE
21612
21613Configuration files:
21614$config_files
21615
21616Configuration headers:
21617$config_headers
21618
21619Configuration commands:
21620$config_commands
21621
21622Report bugs to <enlightenment-devel@lists.sourceforge.net>."
21623
21624_ACEOF
21625cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21626ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21627ac_cs_version="\\
21628eina config.status 1.2.0-alpha
21629configured by $0, generated by GNU Autoconf 2.67,
21630 with options \\"\$ac_cs_config\\"
21631
21632Copyright (C) 2010 Free Software Foundation, Inc.
21633This config.status script is free software; the Free Software Foundation
21634gives unlimited permission to copy, distribute and modify it."
21635
21636ac_pwd='$ac_pwd'
21637srcdir='$srcdir'
21638INSTALL='$INSTALL'
21639MKDIR_P='$MKDIR_P'
21640AWK='$AWK'
21641test -n "\$AWK" || AWK=awk
21642_ACEOF
21643
21644cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21645# The default lists apply if the user does not specify any file.
21646ac_need_defaults=:
21647while test $# != 0
21648do
21649 case $1 in
21650 --*=?*)
21651 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21652 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21653 ac_shift=:
21654 ;;
21655 --*=)
21656 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21657 ac_optarg=
21658 ac_shift=:
21659 ;;
21660 *)
21661 ac_option=$1
21662 ac_optarg=$2
21663 ac_shift=shift
21664 ;;
21665 esac
21666
21667 case $ac_option in
21668 # Handling of the options.
21669 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21670 ac_cs_recheck=: ;;
21671 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21672 $as_echo "$ac_cs_version"; exit ;;
21673 --config | --confi | --conf | --con | --co | --c )
21674 $as_echo "$ac_cs_config"; exit ;;
21675 --debug | --debu | --deb | --de | --d | -d )
21676 debug=: ;;
21677 --file | --fil | --fi | --f )
21678 $ac_shift
21679 case $ac_optarg in
21680 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21681 '') as_fn_error $? "missing file argument" ;;
21682 esac
21683 as_fn_append CONFIG_FILES " '$ac_optarg'"
21684 ac_need_defaults=false;;
21685 --header | --heade | --head | --hea )
21686 $ac_shift
21687 case $ac_optarg in
21688 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21689 esac
21690 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21691 ac_need_defaults=false;;
21692 --he | --h)
21693 # Conflict between --help and --header
21694 as_fn_error $? "ambiguous option: \`$1'
21695Try \`$0 --help' for more information.";;
21696 --help | --hel | -h )
21697 $as_echo "$ac_cs_usage"; exit ;;
21698 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21699 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21700 ac_cs_silent=: ;;
21701
21702 # This is an error.
21703 -*) as_fn_error $? "unrecognized option: \`$1'
21704Try \`$0 --help' for more information." ;;
21705
21706 *) as_fn_append ac_config_targets " $1"
21707 ac_need_defaults=false ;;
21708
21709 esac
21710 shift
21711done
21712
21713ac_configure_extra_args=
21714
21715if $ac_cs_silent; then
21716 exec 6>/dev/null
21717 ac_configure_extra_args="$ac_configure_extra_args --silent"
21718fi
21719
21720_ACEOF
21721cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21722if \$ac_cs_recheck; then
21723 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21724 shift
21725 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21726 CONFIG_SHELL='$SHELL'
21727 export CONFIG_SHELL
21728 exec "\$@"
21729fi
21730
21731_ACEOF
21732cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21733exec 5>>config.log
21734{
21735 echo
21736 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21737## Running $as_me. ##
21738_ASBOX
21739 $as_echo "$ac_log"
21740} >&5
21741
21742_ACEOF
21743cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21744#
21745# INIT-COMMANDS
21746#
21747AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21748
21749
21750# The HP-UX ksh and POSIX shell print the target directory to stdout
21751# if CDPATH is set.
21752(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21753
21754sed_quote_subst='$sed_quote_subst'
21755double_quote_subst='$double_quote_subst'
21756delay_variable_subst='$delay_variable_subst'
21757AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
21758DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
21759OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
21760macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
21761macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
21762enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
21763enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
21764pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
21765enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
21766host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
21767host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
21768host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
21769build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
21770build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
21771build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
21772SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
21773Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
21774GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
21775EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
21776FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
21777LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
21778NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
21779LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
21780max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
21781ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
21782exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
21783lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
21784lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
21785lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
21786reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
21787reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21788deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
21789file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
21790AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
21791AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
21792STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
21793RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
21794old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21795old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21796old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21797CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
21798CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
21799compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
21800GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
21801lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
21802lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
21803lt_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"`'
21804lt_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"`'
21805objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
21806SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
21807ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
21808MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
21809lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
21810lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
21811lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
21812lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
21813lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
21814need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
21815DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
21816NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
21817LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
21818OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
21819OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
21820libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
21821shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21822extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21823archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
21824enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
21825export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21826whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21827compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
21828old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21829old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21830archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21831archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21832module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21833module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21834with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
21835allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
21836no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
21837hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21838hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
21839hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
21840hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
21841hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
21842hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
21843hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21844hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
21845inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
21846link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
21847fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
21848always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
21849export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21850exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
21851include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
21852prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21853file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
21854variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
21855need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
21856need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
21857version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
21858runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21859shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21860shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
21861libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
21862library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
21863soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
21864postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21865postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21866finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21867finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
21868hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
21869sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
21870sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
21871hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
21872enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
21873enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
21874enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
21875old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
21876striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
21877compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
21878predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
21879postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
21880predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
21881postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
21882compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
21883LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21884old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21885compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21886GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21887lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21888lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21889lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21890lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21891lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21892archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21893enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21894export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21895whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21896compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21897old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21898old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21899archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21900archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21901module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21902module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21903with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21904allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21905no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21906hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21907hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21908hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21909hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21910hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21911hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21912hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21913hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21914inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21915link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21916fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21917always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21918export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21919exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21920include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21921prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21922file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21923hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21924compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21925predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21926postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21927predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21928postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21929compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
21930
21931LTCC='$LTCC'
21932LTCFLAGS='$LTCFLAGS'
21933compiler='$compiler_DEFAULT'
21934
21935# Quote evaled strings.
21936for var in SED \
21937GREP \
21938EGREP \
21939FGREP \
21940LD \
21941NM \
21942LN_S \
21943lt_SP2NL \
21944lt_NL2SP \
21945reload_flag \
21946deplibs_check_method \
21947file_magic_cmd \
21948AR \
21949AR_FLAGS \
21950STRIP \
21951RANLIB \
21952CC \
21953CFLAGS \
21954compiler \
21955lt_cv_sys_global_symbol_pipe \
21956lt_cv_sys_global_symbol_to_cdecl \
21957lt_cv_sys_global_symbol_to_c_name_address \
21958lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21959SHELL \
21960ECHO \
21961lt_prog_compiler_no_builtin_flag \
21962lt_prog_compiler_wl \
21963lt_prog_compiler_pic \
21964lt_prog_compiler_static \
21965lt_cv_prog_compiler_c_o \
21966need_locks \
21967DSYMUTIL \
21968NMEDIT \
21969LIPO \
21970OTOOL \
21971OTOOL64 \
21972shrext_cmds \
21973export_dynamic_flag_spec \
21974whole_archive_flag_spec \
21975compiler_needs_object \
21976with_gnu_ld \
21977allow_undefined_flag \
21978no_undefined_flag \
21979hardcode_libdir_flag_spec \
21980hardcode_libdir_flag_spec_ld \
21981hardcode_libdir_separator \
21982fix_srcfile_path \
21983exclude_expsyms \
21984include_expsyms \
21985file_list_spec \
21986variables_saved_for_relink \
21987libname_spec \
21988library_names_spec \
21989soname_spec \
21990finish_eval \
21991old_striplib \
21992striplib \
21993compiler_lib_search_dirs \
21994predep_objects \
21995postdep_objects \
21996predeps \
21997postdeps \
21998compiler_lib_search_path \
21999LD_CXX \
22000compiler_CXX \
22001lt_prog_compiler_no_builtin_flag_CXX \
22002lt_prog_compiler_wl_CXX \
22003lt_prog_compiler_pic_CXX \
22004lt_prog_compiler_static_CXX \
22005lt_cv_prog_compiler_c_o_CXX \
22006export_dynamic_flag_spec_CXX \
22007whole_archive_flag_spec_CXX \
22008compiler_needs_object_CXX \
22009with_gnu_ld_CXX \
22010allow_undefined_flag_CXX \
22011no_undefined_flag_CXX \
22012hardcode_libdir_flag_spec_CXX \
22013hardcode_libdir_flag_spec_ld_CXX \
22014hardcode_libdir_separator_CXX \
22015fix_srcfile_path_CXX \
22016exclude_expsyms_CXX \
22017include_expsyms_CXX \
22018file_list_spec_CXX \
22019compiler_lib_search_dirs_CXX \
22020predep_objects_CXX \
22021postdep_objects_CXX \
22022predeps_CXX \
22023postdeps_CXX \
22024compiler_lib_search_path_CXX; do
22025 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
22026 *[\\\\\\\`\\"\\\$]*)
22027 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
22028 ;;
22029 *)
22030 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22031 ;;
22032 esac
22033done
22034
22035# Double-quote double-evaled strings.
22036for var in reload_cmds \
22037old_postinstall_cmds \
22038old_postuninstall_cmds \
22039old_archive_cmds \
22040extract_expsyms_cmds \
22041old_archive_from_new_cmds \
22042old_archive_from_expsyms_cmds \
22043archive_cmds \
22044archive_expsym_cmds \
22045module_cmds \
22046module_expsym_cmds \
22047export_symbols_cmds \
22048prelink_cmds \
22049postinstall_cmds \
22050postuninstall_cmds \
22051finish_cmds \
22052sys_lib_search_path_spec \
22053sys_lib_dlsearch_path_spec \
22054old_archive_cmds_CXX \
22055old_archive_from_new_cmds_CXX \
22056old_archive_from_expsyms_cmds_CXX \
22057archive_cmds_CXX \
22058archive_expsym_cmds_CXX \
22059module_cmds_CXX \
22060module_expsym_cmds_CXX \
22061export_symbols_cmds_CXX \
22062prelink_cmds_CXX; do
22063 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
22064 *[\\\\\\\`\\"\\\$]*)
22065 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22066 ;;
22067 *)
22068 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22069 ;;
22070 esac
22071done
22072
22073# Fix-up fallback echo if it was mangled by the above quoting rules.
22074case \$lt_ECHO in
22075*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
22076 ;;
22077esac
22078
22079ac_aux_dir='$ac_aux_dir'
22080xsi_shell='$xsi_shell'
22081lt_shell_append='$lt_shell_append'
22082
22083# See if we are running on zsh, and set the options which allow our
22084# commands through without removal of \ escapes INIT.
22085if test -n "\${ZSH_VERSION+set}" ; then
22086 setopt NO_GLOB_SUBST
22087fi
22088
22089
22090 PACKAGE='$PACKAGE'
22091 VERSION='$VERSION'
22092 TIMESTAMP='$TIMESTAMP'
22093 RM='$RM'
22094 ofile='$ofile'
22095
22096
22097
22098
22099
22100
22101_ACEOF
22102
22103cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22104
22105# Handling of arguments.
22106for ac_config_target in $ac_config_targets
22107do
22108 case $ac_config_target in
22109 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
22110 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22111 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
22112 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22113 "eina.pc") CONFIG_FILES="$CONFIG_FILES eina.pc" ;;
22114 "eina.spec") CONFIG_FILES="$CONFIG_FILES eina.spec" ;;
22115 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
22116 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
22117 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
22118 "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
22119 "src/include/eina_config.h") CONFIG_FILES="$CONFIG_FILES src/include/eina_config.h" ;;
22120 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
22121 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
22122 "src/modules/mp/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/mp/Makefile" ;;
22123 "src/modules/mp/chained_pool/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/mp/chained_pool/Makefile" ;;
22124 "src/modules/mp/ememoa_fixed/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/mp/ememoa_fixed/Makefile" ;;
22125 "src/modules/mp/ememoa_unknown/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/mp/ememoa_unknown/Makefile" ;;
22126 "src/modules/mp/pass_through/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/mp/pass_through/Makefile" ;;
22127 "src/modules/mp/fixed_bitmap/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/mp/fixed_bitmap/Makefile" ;;
22128 "src/modules/mp/buddy/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/mp/buddy/Makefile" ;;
22129 "src/modules/mp/one_big/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/mp/one_big/Makefile" ;;
22130 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
22131 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
22132
22133 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
22134 esac
22135done
22136
22137
22138# If the user did not use the arguments to specify the items to instantiate,
22139# then the envvar interface is used. Set only those that are not.
22140# We use the long form for the default assignment because of an extremely
22141# bizarre bug on SunOS 4.1.3.
22142if $ac_need_defaults; then
22143 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22144 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22145 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22146fi
22147
22148# Have a temporary directory for convenience. Make it in the build tree
22149# simply because there is no reason against having it here, and in addition,
22150# creating and moving files from /tmp can sometimes cause problems.
22151# Hook for its removal unless debugging.
22152# Note that there is a small window in which the directory will not be cleaned:
22153# after its creation but before its name has been assigned to `$tmp'.
22154$debug ||
22155{
22156 tmp=
22157 trap 'exit_status=$?
22158 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22159' 0
22160 trap 'as_fn_exit 1' 1 2 13 15
22161}
22162# Create a (secure) tmp directory for tmp files.
22163
22164{
22165 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22166 test -n "$tmp" && test -d "$tmp"
22167} ||
22168{
22169 tmp=./conf$$-$RANDOM
22170 (umask 077 && mkdir "$tmp")
22171} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22172
22173# Set up the scripts for CONFIG_FILES section.
22174# No need to generate them if there are no CONFIG_FILES.
22175# This happens for instance with `./config.status config.h'.
22176if test -n "$CONFIG_FILES"; then
22177
22178
22179ac_cr=`echo X | tr X '\015'`
22180# On cygwin, bash can eat \r inside `` if the user requested igncr.
22181# But we know of no other shell where ac_cr would be empty at this
22182# point, so we can use a bashism as a fallback.
22183if test "x$ac_cr" = x; then
22184 eval ac_cr=\$\'\\r\'
22185fi
22186ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22187if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22188 ac_cs_awk_cr='\\r'
22189else
22190 ac_cs_awk_cr=$ac_cr
22191fi
22192
22193echo 'BEGIN {' >"$tmp/subs1.awk" &&
22194_ACEOF
22195
22196
22197{
22198 echo "cat >conf$$subs.awk <<_ACEOF" &&
22199 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22200 echo "_ACEOF"
22201} >conf$$subs.sh ||
22202 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22203ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22204ac_delim='%!_!# '
22205for ac_last_try in false false false false false :; do
22206 . ./conf$$subs.sh ||
22207 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22208
22209 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22210 if test $ac_delim_n = $ac_delim_num; then
22211 break
22212 elif $ac_last_try; then
22213 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22214 else
22215 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22216 fi
22217done
22218rm -f conf$$subs.sh
22219
22220cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22221cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
22222_ACEOF
22223sed -n '
22224h
22225s/^/S["/; s/!.*/"]=/
22226p
22227g
22228s/^[^!]*!//
22229:repl
22230t repl
22231s/'"$ac_delim"'$//
22232t delim
22233:nl
22234h
22235s/\(.\{148\}\)..*/\1/
22236t more1
22237s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22238p
22239n
22240b repl
22241:more1
22242s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22243p
22244g
22245s/.\{148\}//
22246t nl
22247:delim
22248h
22249s/\(.\{148\}\)..*/\1/
22250t more2
22251s/["\\]/\\&/g; s/^/"/; s/$/"/
22252p
22253b
22254:more2
22255s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22256p
22257g
22258s/.\{148\}//
22259t delim
22260' <conf$$subs.awk | sed '
22261/^[^""]/{
22262 N
22263 s/\n//
22264}
22265' >>$CONFIG_STATUS || ac_write_fail=1
22266rm -f conf$$subs.awk
22267cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22268_ACAWK
22269cat >>"\$tmp/subs1.awk" <<_ACAWK &&
22270 for (key in S) S_is_set[key] = 1
22271 FS = ""
22272
22273}
22274{
22275 line = $ 0
22276 nfields = split(line, field, "@")
22277 substed = 0
22278 len = length(field[1])
22279 for (i = 2; i < nfields; i++) {
22280 key = field[i]
22281 keylen = length(key)
22282 if (S_is_set[key]) {
22283 value = S[key]
22284 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22285 len += length(value) + length(field[++i])
22286 substed = 1
22287 } else
22288 len += 1 + keylen
22289 }
22290
22291 print line
22292}
22293
22294_ACAWK
22295_ACEOF
22296cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22297if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22298 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22299else
22300 cat
22301fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
22302 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22303_ACEOF
22304
22305# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22306# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22307# trailing colons and then remove the whole line if VPATH becomes empty
22308# (actually we leave an empty line to preserve line numbers).
22309if test "x$srcdir" = x.; then
22310 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22311h
22312s///
22313s/^/:/
22314s/[ ]*$/:/
22315s/:\$(srcdir):/:/g
22316s/:\${srcdir}:/:/g
22317s/:@srcdir@:/:/g
22318s/^:*//
22319s/:*$//
22320x
22321s/\(=[ ]*\).*/\1/
22322G
22323s/\n//
22324s/^[^=]*=[ ]*$//
22325}'
22326fi
22327
22328cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22329fi # test -n "$CONFIG_FILES"
22330
22331# Set up the scripts for CONFIG_HEADERS section.
22332# No need to generate them if there are no CONFIG_HEADERS.
22333# This happens for instance with `./config.status Makefile'.
22334if test -n "$CONFIG_HEADERS"; then
22335cat >"$tmp/defines.awk" <<\_ACAWK ||
22336BEGIN {
22337_ACEOF
22338
22339# Transform confdefs.h into an awk script `defines.awk', embedded as
22340# here-document in config.status, that substitutes the proper values into
22341# config.h.in to produce config.h.
22342
22343# Create a delimiter string that does not exist in confdefs.h, to ease
22344# handling of long lines.
22345ac_delim='%!_!# '
22346for ac_last_try in false false :; do
22347 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
22348 if test -z "$ac_t"; then
22349 break
22350 elif $ac_last_try; then
22351 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22352 else
22353 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22354 fi
22355done
22356
22357# For the awk script, D is an array of macro values keyed by name,
22358# likewise P contains macro parameters if any. Preserve backslash
22359# newline sequences.
22360
22361ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22362sed -n '
22363s/.\{148\}/&'"$ac_delim"'/g
22364t rset
22365:rset
22366s/^[ ]*#[ ]*define[ ][ ]*/ /
22367t def
22368d
22369:def
22370s/\\$//
22371t bsnl
22372s/["\\]/\\&/g
22373s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22374D["\1"]=" \3"/p
22375s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22376d
22377:bsnl
22378s/["\\]/\\&/g
22379s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22380D["\1"]=" \3\\\\\\n"\\/p
22381t cont
22382s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22383t cont
22384d
22385:cont
22386n
22387s/.\{148\}/&'"$ac_delim"'/g
22388t clear
22389:clear
22390s/\\$//
22391t bsnlc
22392s/["\\]/\\&/g; s/^/"/; s/$/"/p
22393d
22394:bsnlc
22395s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22396b cont
22397' <confdefs.h | sed '
22398s/'"$ac_delim"'/"\\\
22399"/g' >>$CONFIG_STATUS || ac_write_fail=1
22400
22401cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22402 for (key in D) D_is_set[key] = 1
22403 FS = ""
22404}
22405/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22406 line = \$ 0
22407 split(line, arg, " ")
22408 if (arg[1] == "#") {
22409 defundef = arg[2]
22410 mac1 = arg[3]
22411 } else {
22412 defundef = substr(arg[1], 2)
22413 mac1 = arg[2]
22414 }
22415 split(mac1, mac2, "(") #)
22416 macro = mac2[1]
22417 prefix = substr(line, 1, index(line, defundef) - 1)
22418 if (D_is_set[macro]) {
22419 # Preserve the white space surrounding the "#".
22420 print prefix "define", macro P[macro] D[macro]
22421 next
22422 } else {
22423 # Replace #undef with comments. This is necessary, for example,
22424 # in the case of _POSIX_SOURCE, which is predefined and required
22425 # on some systems where configure will not decide to define it.
22426 if (defundef == "undef") {
22427 print "/*", prefix defundef, macro, "*/"
22428 next
22429 }
22430 }
22431}
22432{ print }
22433_ACAWK
22434_ACEOF
22435cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22436 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22437fi # test -n "$CONFIG_HEADERS"
22438
22439
22440eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22441shift
22442for ac_tag
22443do
22444 case $ac_tag in
22445 :[FHLC]) ac_mode=$ac_tag; continue;;
22446 esac
22447 case $ac_mode$ac_tag in
22448 :[FHL]*:*);;
22449 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
22450 :[FH]-) ac_tag=-:-;;
22451 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22452 esac
22453 ac_save_IFS=$IFS
22454 IFS=:
22455 set x $ac_tag
22456 IFS=$ac_save_IFS
22457 shift
22458 ac_file=$1
22459 shift
22460
22461 case $ac_mode in
22462 :L) ac_source=$1;;
22463 :[FH])
22464 ac_file_inputs=
22465 for ac_f
22466 do
22467 case $ac_f in
22468 -) ac_f="$tmp/stdin";;
22469 *) # Look for the file first in the build tree, then in the source tree
22470 # (if the path is not absolute). The absolute path cannot be DOS-style,
22471 # because $ac_f cannot contain `:'.
22472 test -f "$ac_f" ||
22473 case $ac_f in
22474 [\\/$]*) false;;
22475 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22476 esac ||
22477 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
22478 esac
22479 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22480 as_fn_append ac_file_inputs " '$ac_f'"
22481 done
22482
22483 # Let's still pretend it is `configure' which instantiates (i.e., don't
22484 # use $as_me), people would be surprised to read:
22485 # /* config.h. Generated by config.status. */
22486 configure_input='Generated from '`
22487 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22488 `' by configure.'
22489 if test x"$ac_file" != x-; then
22490 configure_input="$ac_file. $configure_input"
22491 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22492$as_echo "$as_me: creating $ac_file" >&6;}
22493 fi
22494 # Neutralize special characters interpreted by sed in replacement strings.
22495 case $configure_input in #(
22496 *\&* | *\|* | *\\* )
22497 ac_sed_conf_input=`$as_echo "$configure_input" |
22498 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22499 *) ac_sed_conf_input=$configure_input;;
22500 esac
22501
22502 case $ac_tag in
22503 *:-:* | *:-) cat >"$tmp/stdin" \
22504 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22505 esac
22506 ;;
22507 esac
22508
22509 ac_dir=`$as_dirname -- "$ac_file" ||
22510$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22511 X"$ac_file" : 'X\(//\)[^/]' \| \
22512 X"$ac_file" : 'X\(//\)$' \| \
22513 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22514$as_echo X"$ac_file" |
22515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22516 s//\1/
22517 q
22518 }
22519 /^X\(\/\/\)[^/].*/{
22520 s//\1/
22521 q
22522 }
22523 /^X\(\/\/\)$/{
22524 s//\1/
22525 q
22526 }
22527 /^X\(\/\).*/{
22528 s//\1/
22529 q
22530 }
22531 s/.*/./; q'`
22532 as_dir="$ac_dir"; as_fn_mkdir_p
22533 ac_builddir=.
22534
22535case "$ac_dir" in
22536.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22537*)
22538 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22539 # A ".." for each directory in $ac_dir_suffix.
22540 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22541 case $ac_top_builddir_sub in
22542 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22543 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22544 esac ;;
22545esac
22546ac_abs_top_builddir=$ac_pwd
22547ac_abs_builddir=$ac_pwd$ac_dir_suffix
22548# for backward compatibility:
22549ac_top_builddir=$ac_top_build_prefix
22550
22551case $srcdir in
22552 .) # We are building in place.
22553 ac_srcdir=.
22554 ac_top_srcdir=$ac_top_builddir_sub
22555 ac_abs_top_srcdir=$ac_pwd ;;
22556 [\\/]* | ?:[\\/]* ) # Absolute name.
22557 ac_srcdir=$srcdir$ac_dir_suffix;
22558 ac_top_srcdir=$srcdir
22559 ac_abs_top_srcdir=$srcdir ;;
22560 *) # Relative name.
22561 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22562 ac_top_srcdir=$ac_top_build_prefix$srcdir
22563 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22564esac
22565ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22566
22567
22568 case $ac_mode in
22569 :F)
22570 #
22571 # CONFIG_FILE
22572 #
22573
22574 case $INSTALL in
22575 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22576 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22577 esac
22578 ac_MKDIR_P=$MKDIR_P
22579 case $MKDIR_P in
22580 [\\/$]* | ?:[\\/]* ) ;;
22581 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
22582 esac
22583_ACEOF
22584
22585cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22586# If the template does not know about datarootdir, expand it.
22587# FIXME: This hack should be removed a few years after 2.60.
22588ac_datarootdir_hack=; ac_datarootdir_seen=
22589ac_sed_dataroot='
22590/datarootdir/ {
22591 p
22592 q
22593}
22594/@datadir@/p
22595/@docdir@/p
22596/@infodir@/p
22597/@localedir@/p
22598/@mandir@/p'
22599case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22600*datarootdir*) ac_datarootdir_seen=yes;;
22601*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22603$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22604_ACEOF
22605cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22606 ac_datarootdir_hack='
22607 s&@datadir@&$datadir&g
22608 s&@docdir@&$docdir&g
22609 s&@infodir@&$infodir&g
22610 s&@localedir@&$localedir&g
22611 s&@mandir@&$mandir&g
22612 s&\\\${datarootdir}&$datarootdir&g' ;;
22613esac
22614_ACEOF
22615
22616# Neutralize VPATH when `$srcdir' = `.'.
22617# Shell code in configure.ac might set extrasub.
22618# FIXME: do we really want to maintain this feature?
22619cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22620ac_sed_extra="$ac_vpsub
22621$extrasub
22622_ACEOF
22623cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22624:t
22625/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22626s|@configure_input@|$ac_sed_conf_input|;t t
22627s&@top_builddir@&$ac_top_builddir_sub&;t t
22628s&@top_build_prefix@&$ac_top_build_prefix&;t t
22629s&@srcdir@&$ac_srcdir&;t t
22630s&@abs_srcdir@&$ac_abs_srcdir&;t t
22631s&@top_srcdir@&$ac_top_srcdir&;t t
22632s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22633s&@builddir@&$ac_builddir&;t t
22634s&@abs_builddir@&$ac_abs_builddir&;t t
22635s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22636s&@INSTALL@&$ac_INSTALL&;t t
22637s&@MKDIR_P@&$ac_MKDIR_P&;t t
22638$ac_datarootdir_hack
22639"
22640eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
22641 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22642
22643test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22644 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22645 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22647which seems to be undefined. Please make sure it is defined" >&5
22648$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22649which seems to be undefined. Please make sure it is defined" >&2;}
22650
22651 rm -f "$tmp/stdin"
22652 case $ac_file in
22653 -) cat "$tmp/out" && rm -f "$tmp/out";;
22654 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
22655 esac \
22656 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22657 ;;
22658 :H)
22659 #
22660 # CONFIG_HEADER
22661 #
22662 if test x"$ac_file" != x-; then
22663 {
22664 $as_echo "/* $configure_input */" \
22665 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
22666 } >"$tmp/config.h" \
22667 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22668 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
22669 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22670$as_echo "$as_me: $ac_file is unchanged" >&6;}
22671 else
22672 rm -f "$ac_file"
22673 mv "$tmp/config.h" "$ac_file" \
22674 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22675 fi
22676 else
22677 $as_echo "/* $configure_input */" \
22678 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
22679 || as_fn_error $? "could not create -" "$LINENO" 5
22680 fi
22681# Compute "$ac_file"'s index in $config_headers.
22682_am_arg="$ac_file"
22683_am_stamp_count=1
22684for _am_header in $config_headers :; do
22685 case $_am_header in
22686 $_am_arg | $_am_arg:* )
22687 break ;;
22688 * )
22689 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22690 esac
22691done
22692echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22693$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22694 X"$_am_arg" : 'X\(//\)[^/]' \| \
22695 X"$_am_arg" : 'X\(//\)$' \| \
22696 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22697$as_echo X"$_am_arg" |
22698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22699 s//\1/
22700 q
22701 }
22702 /^X\(\/\/\)[^/].*/{
22703 s//\1/
22704 q
22705 }
22706 /^X\(\/\/\)$/{
22707 s//\1/
22708 q
22709 }
22710 /^X\(\/\).*/{
22711 s//\1/
22712 q
22713 }
22714 s/.*/./; q'`/stamp-h$_am_stamp_count
22715 ;;
22716
22717 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22718$as_echo "$as_me: executing $ac_file commands" >&6;}
22719 ;;
22720 esac
22721
22722
22723 case $ac_file$ac_mode in
22724 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
22725 # Autoconf 2.62 quotes --file arguments for eval, but not when files
22726 # are listed without --file. Let's play safe and only enable the eval
22727 # if we detect the quoting.
22728 case $CONFIG_FILES in
22729 *\'*) eval set x "$CONFIG_FILES" ;;
22730 *) set x $CONFIG_FILES ;;
22731 esac
22732 shift
22733 for mf
22734 do
22735 # Strip MF so we end up with the name of the file.
22736 mf=`echo "$mf" | sed -e 's/:.*$//'`
22737 # Check whether this is an Automake generated Makefile or not.
22738 # We used to match only the files named `Makefile.in', but
22739 # some people rename them; so instead we look at the file content.
22740 # Grep'ing the first line is not enough: some people post-process
22741 # each Makefile.in and add a new line on top of each file to say so.
22742 # Grep'ing the whole file is not good either: AIX grep has a line
22743 # limit of 2048, but all sed's we know have understand at least 4000.
22744 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
22745 dirpart=`$as_dirname -- "$mf" ||
22746$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22747 X"$mf" : 'X\(//\)[^/]' \| \
22748 X"$mf" : 'X\(//\)$' \| \
22749 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22750$as_echo X"$mf" |
22751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22752 s//\1/
22753 q
22754 }
22755 /^X\(\/\/\)[^/].*/{
22756 s//\1/
22757 q
22758 }
22759 /^X\(\/\/\)$/{
22760 s//\1/
22761 q
22762 }
22763 /^X\(\/\).*/{
22764 s//\1/
22765 q
22766 }
22767 s/.*/./; q'`
22768 else
22769 continue
22770 fi
22771 # Extract the definition of DEPDIR, am__include, and am__quote
22772 # from the Makefile without running `make'.
22773 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
22774 test -z "$DEPDIR" && continue
22775 am__include=`sed -n 's/^am__include = //p' < "$mf"`
22776 test -z "am__include" && continue
22777 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
22778 # When using ansi2knr, U may be empty or an underscore; expand it
22779 U=`sed -n 's/^U = //p' < "$mf"`
22780 # Find all dependency output files, they are included files with
22781 # $(DEPDIR) in their names. We invoke sed twice because it is the
22782 # simplest approach to changing $(DEPDIR) to its actual value in the
22783 # expansion.
22784 for file in `sed -n "
22785 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22786 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22787 # Make sure the directory exists.
22788 test -f "$dirpart/$file" && continue
22789 fdir=`$as_dirname -- "$file" ||
22790$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22791 X"$file" : 'X\(//\)[^/]' \| \
22792 X"$file" : 'X\(//\)$' \| \
22793 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22794$as_echo X"$file" |
22795 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22796 s//\1/
22797 q
22798 }
22799 /^X\(\/\/\)[^/].*/{
22800 s//\1/
22801 q
22802 }
22803 /^X\(\/\/\)$/{
22804 s//\1/
22805 q
22806 }
22807 /^X\(\/\).*/{
22808 s//\1/
22809 q
22810 }
22811 s/.*/./; q'`
22812 as_dir=$dirpart/$fdir; as_fn_mkdir_p
22813 # echo "creating $dirpart/$file"
22814 echo '# dummy' > "$dirpart/$file"
22815 done
22816 done
22817}
22818 ;;
22819 "libtool":C)
22820
22821 # See if we are running on zsh, and set the options which allow our
22822 # commands through without removal of \ escapes.
22823 if test -n "${ZSH_VERSION+set}" ; then
22824 setopt NO_GLOB_SUBST
22825 fi
22826
22827 cfgfile="${ofile}T"
22828 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22829 $RM "$cfgfile"
22830
22831 cat <<_LT_EOF >> "$cfgfile"
22832#! $SHELL
22833
22834# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22835# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22836# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22837# NOTE: Changes made to this file will be lost: look at ltmain.sh.
22838#
22839# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22840# 2006, 2007, 2008 Free Software Foundation, Inc.
22841# Written by Gordon Matzigkeit, 1996
22842#
22843# This file is part of GNU Libtool.
22844#
22845# GNU Libtool is free software; you can redistribute it and/or
22846# modify it under the terms of the GNU General Public License as
22847# published by the Free Software Foundation; either version 2 of
22848# the License, or (at your option) any later version.
22849#
22850# As a special exception to the GNU General Public License,
22851# if you distribute this file as part of a program or library that
22852# is built using GNU Libtool, you may include this file under the
22853# same distribution terms that you use for the rest of that program.
22854#
22855# GNU Libtool is distributed in the hope that it will be useful,
22856# but WITHOUT ANY WARRANTY; without even the implied warranty of
22857# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22858# GNU General Public License for more details.
22859#
22860# You should have received a copy of the GNU General Public License
22861# along with GNU Libtool; see the file COPYING. If not, a copy
22862# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22863# obtained by writing to the Free Software Foundation, Inc.,
22864# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22865
22866
22867# The names of the tagged configurations supported by this script.
22868available_tags="CXX "
22869
22870# ### BEGIN LIBTOOL CONFIG
22871
22872# Assembler program.
22873AS=$AS
22874
22875# DLL creation program.
22876DLLTOOL=$DLLTOOL
22877
22878# Object dumper program.
22879OBJDUMP=$OBJDUMP
22880
22881# Which release of libtool.m4 was used?
22882macro_version=$macro_version
22883macro_revision=$macro_revision
22884
22885# Whether or not to build shared libraries.
22886build_libtool_libs=$enable_shared
22887
22888# Whether or not to build static libraries.
22889build_old_libs=$enable_static
22890
22891# What type of objects to build.
22892pic_mode=$pic_mode
22893
22894# Whether or not to optimize for fast installation.
22895fast_install=$enable_fast_install
22896
22897# The host system.
22898host_alias=$host_alias
22899host=$host
22900host_os=$host_os
22901
22902# The build system.
22903build_alias=$build_alias
22904build=$build
22905build_os=$build_os
22906
22907# A sed program that does not truncate output.
22908SED=$lt_SED
22909
22910# Sed that helps us avoid accidentally triggering echo(1) options like -n.
22911Xsed="\$SED -e 1s/^X//"
22912
22913# A grep program that handles long lines.
22914GREP=$lt_GREP
22915
22916# An ERE matcher.
22917EGREP=$lt_EGREP
22918
22919# A literal string matcher.
22920FGREP=$lt_FGREP
22921
22922# A BSD- or MS-compatible name lister.
22923NM=$lt_NM
22924
22925# Whether we need soft or hard links.
22926LN_S=$lt_LN_S
22927
22928# What is the maximum length of a command?
22929max_cmd_len=$max_cmd_len
22930
22931# Object file suffix (normally "o").
22932objext=$ac_objext
22933
22934# Executable file suffix (normally "").
22935exeext=$exeext
22936
22937# whether the shell understands "unset".
22938lt_unset=$lt_unset
22939
22940# turn spaces into newlines.
22941SP2NL=$lt_lt_SP2NL
22942
22943# turn newlines into spaces.
22944NL2SP=$lt_lt_NL2SP
22945
22946# How to create reloadable object files.
22947reload_flag=$lt_reload_flag
22948reload_cmds=$lt_reload_cmds
22949
22950# Method to check whether dependent libraries are shared objects.
22951deplibs_check_method=$lt_deplibs_check_method
22952
22953# Command to use when deplibs_check_method == "file_magic".
22954file_magic_cmd=$lt_file_magic_cmd
22955
22956# The archiver.
22957AR=$lt_AR
22958AR_FLAGS=$lt_AR_FLAGS
22959
22960# A symbol stripping program.
22961STRIP=$lt_STRIP
22962
22963# Commands used to install an old-style archive.
22964RANLIB=$lt_RANLIB
22965old_postinstall_cmds=$lt_old_postinstall_cmds
22966old_postuninstall_cmds=$lt_old_postuninstall_cmds
22967
22968# A C compiler.
22969LTCC=$lt_CC
22970
22971# LTCC compiler flags.
22972LTCFLAGS=$lt_CFLAGS
22973
22974# Take the output of nm and produce a listing of raw symbols and C names.
22975global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22976
22977# Transform the output of nm in a proper C declaration.
22978global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22979
22980# Transform the output of nm in a C name address pair.
22981global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22982
22983# Transform the output of nm in a C name address pair when lib prefix is needed.
22984global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22985
22986# The name of the directory that contains temporary libtool files.
22987objdir=$objdir
22988
22989# Shell to use when invoking shell scripts.
22990SHELL=$lt_SHELL
22991
22992# An echo program that does not interpret backslashes.
22993ECHO=$lt_ECHO
22994
22995# Used to examine libraries when file_magic_cmd begins with "file".
22996MAGIC_CMD=$MAGIC_CMD
22997
22998# Must we lock files when doing compilation?
22999need_locks=$lt_need_locks
23000
23001# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23002DSYMUTIL=$lt_DSYMUTIL
23003
23004# Tool to change global to local symbols on Mac OS X.
23005NMEDIT=$lt_NMEDIT
23006
23007# Tool to manipulate fat objects and archives on Mac OS X.
23008LIPO=$lt_LIPO
23009
23010# ldd/readelf like tool for Mach-O binaries on Mac OS X.
23011OTOOL=$lt_OTOOL
23012
23013# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23014OTOOL64=$lt_OTOOL64
23015
23016# Old archive suffix (normally "a").
23017libext=$libext
23018
23019# Shared library suffix (normally ".so").
23020shrext_cmds=$lt_shrext_cmds
23021
23022# The commands to extract the exported symbol list from a shared archive.
23023extract_expsyms_cmds=$lt_extract_expsyms_cmds
23024
23025# Variables whose values should be saved in libtool wrapper scripts and
23026# restored at link time.
23027variables_saved_for_relink=$lt_variables_saved_for_relink
23028
23029# Do we need the "lib" prefix for modules?
23030need_lib_prefix=$need_lib_prefix
23031
23032# Do we need a version for libraries?
23033need_version=$need_version
23034
23035# Library versioning type.
23036version_type=$version_type
23037
23038# Shared library runtime path variable.
23039runpath_var=$runpath_var
23040
23041# Shared library path variable.
23042shlibpath_var=$shlibpath_var
23043
23044# Is shlibpath searched before the hard-coded library search path?
23045shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23046
23047# Format of library name prefix.
23048libname_spec=$lt_libname_spec
23049
23050# List of archive names. First name is the real one, the rest are links.
23051# The last name is the one that the linker finds with -lNAME
23052library_names_spec=$lt_library_names_spec
23053
23054# The coded name of the library, if different from the real name.
23055soname_spec=$lt_soname_spec
23056
23057# Command to use after installation of a shared archive.
23058postinstall_cmds=$lt_postinstall_cmds
23059
23060# Command to use after uninstallation of a shared archive.
23061postuninstall_cmds=$lt_postuninstall_cmds
23062
23063# Commands used to finish a libtool library installation in a directory.
23064finish_cmds=$lt_finish_cmds
23065
23066# As "finish_cmds", except a single script fragment to be evaled but
23067# not shown.
23068finish_eval=$lt_finish_eval
23069
23070# Whether we should hardcode library paths into libraries.
23071hardcode_into_libs=$hardcode_into_libs
23072
23073# Compile-time system search path for libraries.
23074sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23075
23076# Run-time system search path for libraries.
23077sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23078
23079# Whether dlopen is supported.
23080dlopen_support=$enable_dlopen
23081
23082# Whether dlopen of programs is supported.
23083dlopen_self=$enable_dlopen_self
23084
23085# Whether dlopen of statically linked programs is supported.
23086dlopen_self_static=$enable_dlopen_self_static
23087
23088# Commands to strip libraries.
23089old_striplib=$lt_old_striplib
23090striplib=$lt_striplib
23091
23092
23093# The linker used to build libraries.
23094LD=$lt_LD
23095
23096# Commands used to build an old-style archive.
23097old_archive_cmds=$lt_old_archive_cmds
23098
23099# A language specific compiler.
23100CC=$lt_compiler
23101
23102# Is the compiler the GNU compiler?
23103with_gcc=$GCC
23104
23105# Compiler flag to turn off builtin functions.
23106no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23107
23108# How to pass a linker flag through the compiler.
23109wl=$lt_lt_prog_compiler_wl
23110
23111# Additional compiler flags for building library objects.
23112pic_flag=$lt_lt_prog_compiler_pic
23113
23114# Compiler flag to prevent dynamic linking.
23115link_static_flag=$lt_lt_prog_compiler_static
23116
23117# Does compiler simultaneously support -c and -o options?
23118compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23119
23120# Whether or not to add -lc for building shared libraries.
23121build_libtool_need_lc=$archive_cmds_need_lc
23122
23123# Whether or not to disallow shared libs when runtime libs are static.
23124allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23125
23126# Compiler flag to allow reflexive dlopens.
23127export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23128
23129# Compiler flag to generate shared objects directly from archives.
23130whole_archive_flag_spec=$lt_whole_archive_flag_spec
23131
23132# Whether the compiler copes with passing no objects directly.
23133compiler_needs_object=$lt_compiler_needs_object
23134
23135# Create an old-style archive from a shared archive.
23136old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23137
23138# Create a temporary old-style archive to link instead of a shared archive.
23139old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23140
23141# Commands used to build a shared archive.
23142archive_cmds=$lt_archive_cmds
23143archive_expsym_cmds=$lt_archive_expsym_cmds
23144
23145# Commands used to build a loadable module if different from building
23146# a shared archive.
23147module_cmds=$lt_module_cmds
23148module_expsym_cmds=$lt_module_expsym_cmds
23149
23150# Whether we are building with GNU ld or not.
23151with_gnu_ld=$lt_with_gnu_ld
23152
23153# Flag that allows shared libraries with undefined symbols to be built.
23154allow_undefined_flag=$lt_allow_undefined_flag
23155
23156# Flag that enforces no undefined symbols.
23157no_undefined_flag=$lt_no_undefined_flag
23158
23159# Flag to hardcode \$libdir into a binary during linking.
23160# This must work even if \$libdir does not exist
23161hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23162
23163# If ld is used when linking, flag to hardcode \$libdir into a binary
23164# during linking. This must work even if \$libdir does not exist.
23165hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
23166
23167# Whether we need a single "-rpath" flag with a separated argument.
23168hardcode_libdir_separator=$lt_hardcode_libdir_separator
23169
23170# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23171# DIR into the resulting binary.
23172hardcode_direct=$hardcode_direct
23173
23174# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23175# DIR into the resulting binary and the resulting library dependency is
23176# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23177# library is relocated.
23178hardcode_direct_absolute=$hardcode_direct_absolute
23179
23180# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23181# into the resulting binary.
23182hardcode_minus_L=$hardcode_minus_L
23183
23184# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23185# into the resulting binary.
23186hardcode_shlibpath_var=$hardcode_shlibpath_var
23187
23188# Set to "yes" if building a shared library automatically hardcodes DIR
23189# into the library and all subsequent libraries and executables linked
23190# against it.
23191hardcode_automatic=$hardcode_automatic
23192
23193# Set to yes if linker adds runtime paths of dependent libraries
23194# to runtime path list.
23195inherit_rpath=$inherit_rpath
23196
23197# Whether libtool must link a program against all its dependency libraries.
23198link_all_deplibs=$link_all_deplibs
23199
23200# Fix the shell variable \$srcfile for the compiler.
23201fix_srcfile_path=$lt_fix_srcfile_path
23202
23203# Set to "yes" if exported symbols are required.
23204always_export_symbols=$always_export_symbols
23205
23206# The commands to list exported symbols.
23207export_symbols_cmds=$lt_export_symbols_cmds
23208
23209# Symbols that should not be listed in the preloaded symbols.
23210exclude_expsyms=$lt_exclude_expsyms
23211
23212# Symbols that must always be exported.
23213include_expsyms=$lt_include_expsyms
23214
23215# Commands necessary for linking programs (against libraries) with templates.
23216prelink_cmds=$lt_prelink_cmds
23217
23218# Specify filename containing input files.
23219file_list_spec=$lt_file_list_spec
23220
23221# How to hardcode a shared library path into an executable.
23222hardcode_action=$hardcode_action
23223
23224# The directories searched by this compiler when creating a shared library.
23225compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23226
23227# Dependencies to place before and after the objects being linked to
23228# create a shared library.
23229predep_objects=$lt_predep_objects
23230postdep_objects=$lt_postdep_objects
23231predeps=$lt_predeps
23232postdeps=$lt_postdeps
23233
23234# The library search path used internally by the compiler when linking
23235# a shared library.
23236compiler_lib_search_path=$lt_compiler_lib_search_path
23237
23238# ### END LIBTOOL CONFIG
23239
23240_LT_EOF
23241
23242 case $host_os in
23243 aix3*)
23244 cat <<\_LT_EOF >> "$cfgfile"
23245# AIX sometimes has problems with the GCC collect2 program. For some
23246# reason, if we set the COLLECT_NAMES environment variable, the problems
23247# vanish in a puff of smoke.
23248if test "X${COLLECT_NAMES+set}" != Xset; then
23249 COLLECT_NAMES=
23250 export COLLECT_NAMES
23251fi
23252_LT_EOF
23253 ;;
23254 esac
23255
23256
23257ltmain="$ac_aux_dir/ltmain.sh"
23258
23259
23260 # We use sed instead of cat because bash on DJGPP gets confused if
23261 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23262 # text mode, it properly converts lines to CR/LF. This bash problem
23263 # is reportedly fixed, but why not run on old versions too?
23264 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
23265 || (rm -f "$cfgfile"; exit 1)
23266
23267 case $xsi_shell in
23268 yes)
23269 cat << \_LT_EOF >> "$cfgfile"
23270
23271# func_dirname file append nondir_replacement
23272# Compute the dirname of FILE. If nonempty, add APPEND to the result,
23273# otherwise set result to NONDIR_REPLACEMENT.
23274func_dirname ()
23275{
23276 case ${1} in
23277 */*) func_dirname_result="${1%/*}${2}" ;;
23278 * ) func_dirname_result="${3}" ;;
23279 esac
23280}
23281
23282# func_basename file
23283func_basename ()
23284{
23285 func_basename_result="${1##*/}"
23286}
23287
23288# func_dirname_and_basename file append nondir_replacement
23289# perform func_basename and func_dirname in a single function
23290# call:
23291# dirname: Compute the dirname of FILE. If nonempty,
23292# add APPEND to the result, otherwise set result
23293# to NONDIR_REPLACEMENT.
23294# value returned in "$func_dirname_result"
23295# basename: Compute filename of FILE.
23296# value retuned in "$func_basename_result"
23297# Implementation must be kept synchronized with func_dirname
23298# and func_basename. For efficiency, we do not delegate to
23299# those functions but instead duplicate the functionality here.
23300func_dirname_and_basename ()
23301{
23302 case ${1} in
23303 */*) func_dirname_result="${1%/*}${2}" ;;
23304 * ) func_dirname_result="${3}" ;;
23305 esac
23306 func_basename_result="${1##*/}"
23307}
23308
23309# func_stripname prefix suffix name
23310# strip PREFIX and SUFFIX off of NAME.
23311# PREFIX and SUFFIX must not contain globbing or regex special
23312# characters, hashes, percent signs, but SUFFIX may contain a leading
23313# dot (in which case that matches only a dot).
23314func_stripname ()
23315{
23316 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
23317 # positional parameters, so assign one to ordinary parameter first.
23318 func_stripname_result=${3}
23319 func_stripname_result=${func_stripname_result#"${1}"}
23320 func_stripname_result=${func_stripname_result%"${2}"}
23321}
23322
23323# func_opt_split
23324func_opt_split ()
23325{
23326 func_opt_split_opt=${1%%=*}
23327 func_opt_split_arg=${1#*=}
23328}
23329
23330# func_lo2o object
23331func_lo2o ()
23332{
23333 case ${1} in
23334 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
23335 *) func_lo2o_result=${1} ;;
23336 esac
23337}
23338
23339# func_xform libobj-or-source
23340func_xform ()
23341{
23342 func_xform_result=${1%.*}.lo
23343}
23344
23345# func_arith arithmetic-term...
23346func_arith ()
23347{
23348 func_arith_result=$(( $* ))
23349}
23350
23351# func_len string
23352# STRING may not start with a hyphen.
23353func_len ()
23354{
23355 func_len_result=${#1}
23356}
23357
23358_LT_EOF
23359 ;;
23360 *) # Bourne compatible functions.
23361 cat << \_LT_EOF >> "$cfgfile"
23362
23363# func_dirname file append nondir_replacement
23364# Compute the dirname of FILE. If nonempty, add APPEND to the result,
23365# otherwise set result to NONDIR_REPLACEMENT.
23366func_dirname ()
23367{
23368 # Extract subdirectory from the argument.
23369 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
23370 if test "X$func_dirname_result" = "X${1}"; then
23371 func_dirname_result="${3}"
23372 else
23373 func_dirname_result="$func_dirname_result${2}"
23374 fi
23375}
23376
23377# func_basename file
23378func_basename ()
23379{
23380 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
23381}
23382
23383
23384# func_stripname prefix suffix name
23385# strip PREFIX and SUFFIX off of NAME.
23386# PREFIX and SUFFIX must not contain globbing or regex special
23387# characters, hashes, percent signs, but SUFFIX may contain a leading
23388# dot (in which case that matches only a dot).
23389# func_strip_suffix prefix name
23390func_stripname ()
23391{
23392 case ${2} in
23393 .*) func_stripname_result=`$ECHO "X${3}" \
23394 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
23395 *) func_stripname_result=`$ECHO "X${3}" \
23396 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
23397 esac
23398}
23399
23400# sed scripts:
23401my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
23402my_sed_long_arg='1s/^-[^=]*=//'
23403
23404# func_opt_split
23405func_opt_split ()
23406{
23407 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
23408 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
23409}
23410
23411# func_lo2o object
23412func_lo2o ()
23413{
23414 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
23415}
23416
23417# func_xform libobj-or-source
23418func_xform ()
23419{
23420 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
23421}
23422
23423# func_arith arithmetic-term...
23424func_arith ()
23425{
23426 func_arith_result=`expr "$@"`
23427}
23428
23429# func_len string
23430# STRING may not start with a hyphen.
23431func_len ()
23432{
23433 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
23434}
23435
23436_LT_EOF
23437esac
23438
23439case $lt_shell_append in
23440 yes)
23441 cat << \_LT_EOF >> "$cfgfile"
23442
23443# func_append var value
23444# Append VALUE to the end of shell variable VAR.
23445func_append ()
23446{
23447 eval "$1+=\$2"
23448}
23449_LT_EOF
23450 ;;
23451 *)
23452 cat << \_LT_EOF >> "$cfgfile"
23453
23454# func_append var value
23455# Append VALUE to the end of shell variable VAR.
23456func_append ()
23457{
23458 eval "$1=\$$1\$2"
23459}
23460
23461_LT_EOF
23462 ;;
23463 esac
23464
23465
23466 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
23467 || (rm -f "$cfgfile"; exit 1)
23468
23469 mv -f "$cfgfile" "$ofile" ||
23470 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23471 chmod +x "$ofile"
23472
23473
23474 cat <<_LT_EOF >> "$ofile"
23475
23476# ### BEGIN LIBTOOL TAG CONFIG: CXX
23477
23478# The linker used to build libraries.
23479LD=$lt_LD_CXX
23480
23481# Commands used to build an old-style archive.
23482old_archive_cmds=$lt_old_archive_cmds_CXX
23483
23484# A language specific compiler.
23485CC=$lt_compiler_CXX
23486
23487# Is the compiler the GNU compiler?
23488with_gcc=$GCC_CXX
23489
23490# Compiler flag to turn off builtin functions.
23491no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23492
23493# How to pass a linker flag through the compiler.
23494wl=$lt_lt_prog_compiler_wl_CXX
23495
23496# Additional compiler flags for building library objects.
23497pic_flag=$lt_lt_prog_compiler_pic_CXX
23498
23499# Compiler flag to prevent dynamic linking.
23500link_static_flag=$lt_lt_prog_compiler_static_CXX
23501
23502# Does compiler simultaneously support -c and -o options?
23503compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23504
23505# Whether or not to add -lc for building shared libraries.
23506build_libtool_need_lc=$archive_cmds_need_lc_CXX
23507
23508# Whether or not to disallow shared libs when runtime libs are static.
23509allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23510
23511# Compiler flag to allow reflexive dlopens.
23512export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23513
23514# Compiler flag to generate shared objects directly from archives.
23515whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23516
23517# Whether the compiler copes with passing no objects directly.
23518compiler_needs_object=$lt_compiler_needs_object_CXX
23519
23520# Create an old-style archive from a shared archive.
23521old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23522
23523# Create a temporary old-style archive to link instead of a shared archive.
23524old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23525
23526# Commands used to build a shared archive.
23527archive_cmds=$lt_archive_cmds_CXX
23528archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23529
23530# Commands used to build a loadable module if different from building
23531# a shared archive.
23532module_cmds=$lt_module_cmds_CXX
23533module_expsym_cmds=$lt_module_expsym_cmds_CXX
23534
23535# Whether we are building with GNU ld or not.
23536with_gnu_ld=$lt_with_gnu_ld_CXX
23537
23538# Flag that allows shared libraries with undefined symbols to be built.
23539allow_undefined_flag=$lt_allow_undefined_flag_CXX
23540
23541# Flag that enforces no undefined symbols.
23542no_undefined_flag=$lt_no_undefined_flag_CXX
23543
23544# Flag to hardcode \$libdir into a binary during linking.
23545# This must work even if \$libdir does not exist
23546hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23547
23548# If ld is used when linking, flag to hardcode \$libdir into a binary
23549# during linking. This must work even if \$libdir does not exist.
23550hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
23551
23552# Whether we need a single "-rpath" flag with a separated argument.
23553hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23554
23555# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23556# DIR into the resulting binary.
23557hardcode_direct=$hardcode_direct_CXX
23558
23559# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23560# DIR into the resulting binary and the resulting library dependency is
23561# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23562# library is relocated.
23563hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23564
23565# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23566# into the resulting binary.
23567hardcode_minus_L=$hardcode_minus_L_CXX
23568
23569# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23570# into the resulting binary.
23571hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23572
23573# Set to "yes" if building a shared library automatically hardcodes DIR
23574# into the library and all subsequent libraries and executables linked
23575# against it.
23576hardcode_automatic=$hardcode_automatic_CXX
23577
23578# Set to yes if linker adds runtime paths of dependent libraries
23579# to runtime path list.
23580inherit_rpath=$inherit_rpath_CXX
23581
23582# Whether libtool must link a program against all its dependency libraries.
23583link_all_deplibs=$link_all_deplibs_CXX
23584
23585# Fix the shell variable \$srcfile for the compiler.
23586fix_srcfile_path=$lt_fix_srcfile_path_CXX
23587
23588# Set to "yes" if exported symbols are required.
23589always_export_symbols=$always_export_symbols_CXX
23590
23591# The commands to list exported symbols.
23592export_symbols_cmds=$lt_export_symbols_cmds_CXX
23593
23594# Symbols that should not be listed in the preloaded symbols.
23595exclude_expsyms=$lt_exclude_expsyms_CXX
23596
23597# Symbols that must always be exported.
23598include_expsyms=$lt_include_expsyms_CXX
23599
23600# Commands necessary for linking programs (against libraries) with templates.
23601prelink_cmds=$lt_prelink_cmds_CXX
23602
23603# Specify filename containing input files.
23604file_list_spec=$lt_file_list_spec_CXX
23605
23606# How to hardcode a shared library path into an executable.
23607hardcode_action=$hardcode_action_CXX
23608
23609# The directories searched by this compiler when creating a shared library.
23610compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23611
23612# Dependencies to place before and after the objects being linked to
23613# create a shared library.
23614predep_objects=$lt_predep_objects_CXX
23615postdep_objects=$lt_postdep_objects_CXX
23616predeps=$lt_predeps_CXX
23617postdeps=$lt_postdeps_CXX
23618
23619# The library search path used internally by the compiler when linking
23620# a shared library.
23621compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23622
23623# ### END LIBTOOL TAG CONFIG: CXX
23624_LT_EOF
23625
23626 ;;
23627
23628 esac
23629done # for ac_tag
23630
23631
23632as_fn_exit 0
23633_ACEOF
23634ac_clean_files=$ac_clean_files_save
23635
23636test $ac_write_fail = 0 ||
23637 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23638
23639
23640# configure is writing to config.log, and then calls config.status.
23641# config.status does its own redirection, appending to config.log.
23642# Unfortunately, on DOS this fails, as config.log is still kept open
23643# by configure, so config.status won't be able to write to it; its
23644# output is simply discarded. So we exec the FD to /dev/null,
23645# effectively closing config.log, so it can be properly (re)opened and
23646# appended to by config.status. When coming back to configure, we
23647# need to make the FD available again.
23648if test "$no_create" != yes; then
23649 ac_cs_success=:
23650 ac_config_status_args=
23651 test "$silent" = yes &&
23652 ac_config_status_args="$ac_config_status_args --quiet"
23653 exec 5>/dev/null
23654 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23655 exec 5>>config.log
23656 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23657 # would make configure fail if this is the last instruction.
23658 $ac_cs_success || as_fn_exit 1
23659fi
23660if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23662$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23663fi
23664
23665
23666#####################################################################
23667## Info
23668
23669echo
23670echo
23671echo
23672echo "------------------------------------------------------------------------"
23673echo "$PACKAGE $VERSION"
23674echo "------------------------------------------------------------------------"
23675echo
23676echo
23677echo "Configuration Options Summary:"
23678echo
23679echo " Magic debug..........: ${have_magic_debug}"
23680echo " Safety checks........: ${have_safety_checks}"
23681echo " Maximum log level....: ${with_max_log_level}"
23682echo " Report string usage..: ${have_stringshare_usage}"
23683echo " Valgrind support.....: ${have_valgrind}"
23684echo " Default mempool......: ${have_default_mempool}"
23685echo " Log support..........: ${enable_log}"
23686echo " Thread Support.......: ${have_threads}"
23687if test "${have_threads}" = "POSIX" ; then
23688echo " spinlock...........: ${have_posix_threads_spinlock}"
23689echo " debug usage........: ${have_debug_threads}"
23690echo " on/off support.....: ${have_on_off_threads}"
23691fi
23692echo " Amalgamation.........: ${do_amalgamation}"
23693echo " Iconv support........: ${have_iconv}"
23694echo " File dirfd...........: ${have_dirfd}"
23695echo " File xattr...........: ${have_xattr}"
23696echo
23697echo " Documentation........: ${build_doc}"
23698echo " Tests................: ${enable_tests}"
23699echo " Coverage.............: ${enable_coverage}"
23700echo " Examples.............: ${enable_build_examples}"
23701echo " Tiler Example........: ${build_tiler_example}"
23702echo " Examples installed...: ${enable_install_examples}"
23703echo " Benchmark............: ${enable_benchmark}"
23704if test "x${enable_benchmark}" = "xyes" ; then
23705echo " Glib...............: ${enable_benchmark_glib}"
23706echo " E17 real data......: ${enable_benchmark_e17}"
23707fi
23708echo
23709echo " CPU Specific Extensions:"
23710echo " MMX................: ${have_mmx}"
23711echo " SSE................: ${have_sse}"
23712echo " SSE2...............: ${have_sse2}"
23713echo " ALTIVEC............: ${have_altivec}"
23714echo
23715echo " Memory pools:"
23716echo " Buddy..............: ${enable_buddy}"
23717echo " Chained pool.......: ${enable_chained_pool}"
23718echo " Ememoa fixed.......: ${enable_ememoa_fixed}"
23719echo " Ememoa unknown.....: ${enable_ememoa_unknown}"
23720echo " Fixed bitmap.......: ${enable_fixed_bitmap}"
23721echo " One big............: ${enable_one_big}"
23722echo " Pass through.......: ${enable_pass_through}"
23723echo
23724echo "Compilation............: make (or gmake)"
23725echo " CPPFLAGS.............: $CPPFLAGS"
23726echo " CFLAGS...............: $CFLAGS"
23727echo " LDFLAGS..............: $LDFLAGS"
23728echo
23729echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
23730echo " prefix...............: $prefix"
23731echo
23732
23733# Check whether --enable-voltron was given.
23734if test "${enable_voltron+set}" = set; then :
23735 enableval=$enable_voltron;
23736 if test "x${enableval}" = "xyes" ; then
23737 have_voltron="yes"
23738 else
23739 have_voltron="no"
23740 fi
23741
23742else
23743 have_voltron="no"
23744
23745fi
23746
23747
23748 if test "x$have_voltron" = "xyes" -a "x$do_amalgamation" = "xyes" -o "x${have_on_off_threads}" = "xyes"; then
23749 echo "//////////////////////////////////////////////////////////////////////////////////////////////////////////////////"
23750 echo "/////////////////////////////////////////////////////////////////////////////////////{#///////////////////////////"
23751 echo "/////////////////////////////////////////////////////////////////////////////////// EN3 xx&HWx////////////////////"
23752 echo "////////////////////////////////////////////////#{//xd3:& \/{:x////////////////////#WJNd_ HHNp#///////////////////"
23753 echo "///////////////////////////////////////////////\x WDMMM EDDzEQp&^x ^^_x #///////////&37z^xHHH7_///////////////////"
23754 echo "////////////////////////////////////////////////xPMMMMM LMMMLQQzzQDzH\{xx\{////////{x&H9@^&d^ {//////////////////"
23755 echo "///////////////////////////////////////////^JLE:PMMMQ9N^EDMMMMMMMLzJJ^ @&dx////////#dHdN^x{/{x {//////////////////"
23756 echo "//////////////////////////////////////////#LMMM EEE7p@H@NE777QMMMMMMM3H3_x/////////^HH3W^pH@x x///////////////////"
23757 echo "//////////////////////////////////////////#MMLN_^: {/:L&\{:@7EWWWzMMM3H3_x////{:x ^3dd3 HHNENd^{//////////////////"
23758 echo "//////////////////////////////////////////#WW7N^//////7Q:////{xHE93H3^^_ #////{H3H3JDdxx&H3Wz3:///////////////////"
23759 echo "//////////////////////////////////////////_E93 ///////{^#/#{{{{{{#x37dx77x////{Hp3pd _ xx_7H////////////////////"
23760 echo "#/////////////////////////////////////////#&MHd{////////#x^ ^&__ xxzMJH9P ////{xx\#\:x\:d@_://///////////////////"
23761 echo "3H #///////////////////////////////////////{pp^Jpx{///{ &&__^:{{:xxxx7MQNWpx///@x//{# xxx#///////////////////////#"
23762 echo "3HN7Hx{//////////////////////////////////////\xd NQd#x \# &x{/x3pHHH&#&PP&@zNxx##:{////////////////////////////{ ^"
23763 echo "HH{@37N_x{////////////////////////////////////x_//#zDxx x //# ^x#//#E9_P&p://////////////////////////////{\&:\\"
23764 echo "H@/JMJ799H_:{/////////////////////////////////{\/// L7_xx^#/\LMMMMM3MLN@Mp7 dW{\////////////////////////////{ #^H"
23765 echo "H^/PMMMD9773d^\{////////////////////////////////////dzWLp/{x7MMMMMEJMM7DMHD#^z&#//////////////////////////{x&\ dHH"
23766 echo "H^{MMMMMMLEN33Hd_://////////////////////////////////#WNMLzzPPLMMMLHMML^NNNQW93JdE_ //////////////////////#_ :@H3HH"
23767 echo "HdxWMMMMMMMMzWdHHpNH {/////////////////////////////{z99QEJDQJ7@EM3LMM37M9LHLMNL:^\{////////////////////{x_\_HHH&&x"
23768 echo "HH_^zMMMMMMMML7dHH39zN_\//////////////////////////{WQLHEENpDPDLHQMMPHMDEzNMLWJ///////////////////////#_x d3Hd^dHx"
23769 echo "/\@HH HLMMMMMMMM9 3HHHp9DJ&#////////////////////////xN_\LzPMMMLpPMMPdLMWLdMMNQ3/////////////////////{ ^x&dddd HHH "
23770 echo "//{ HH@ 9MMMMMMLxdHHHHH3HpEQN /////////////////////:PL\/QMMMLE3LMMp#JMJJ9JMM&M //////////////////{#\ _ ^^&:x##HHHx"
23771 echo "////:d3H_&PMMMMN&3HHHHHHHHHHWEJH\/////////////////{zMd//^EE {/xHEH&HMLHLHMMJpL#////////{#x _^^&WpHHHHH3HHNxHHxHHHx"
23772 echo "/////#_HHH^WMMP3L9HHHHHHHHHHHHHWE7_{//////////////7Mz{///:7EWNEzPL3LMWQWDMM_zN/{\x ^& zLMDpHp973HHHHHH3HH7x3H dHHx"
23773 echo "///////xHHH@_E&3D9N3H3HHHHHHHHHH3HW7dx///////////dMM ////#QJEEJJ9:Hp9dz^WdH_&d3p3HHHHdLQE3pNNHHHHHHHHH3HH9xHH &HHx"
23774 echo "////////#@3H3^ HHN3WpHHHHHHHHHHHHHHH33d #/////// MM7//{x@pppH__ME_MME@xH3Hzz3H33HHHH@7pHH33HHHHHHHHHHH3HH9xHH__HHx"
23775 echo "/////////{ HHHHHHHH333HHHHHHHHHHHHHHHHH33&x{///:Pz9HpWp@ :::{/pM^EMMML H3HELQ3H3HHHH_pHHHHHHHHHHHHHHHHHHp9\@d& HHx"
23776 echo "///////////:dHHHHHHHH33HHHHHHHHHHHHHHHHHHHHd^\\H33d_x::##{/{x_PDxMMMME&HHHHH99H3HHHd&HHHHHHHHHHHHHHHHHH9Wx&^ x HHx"
23777 echo "////////////{^HHHHHHHHHHHHHHHHHHHHHHHHHHH@&HN33@H77ppppppWW3&JMdHMMMMHHHHHHHHWHHHHH&3pWHHHHHHHHHH3HHHpz_ HHH3&xHHx"
23778 echo "//////////////xHHHHHHHHHHHHHHHHHHHH3H3@d3p3@x:\{/# HN73& xx DL\DMMML_HHHHHHHHpHHHpH7JHHHHHHH3p33d&_@d\ 3HHH3&:3Hx"
23779 echo "///////////////#&HHHHHHHHHHHHHHHHHHHH_H7^x\//#^ddH3^Nz@_&&&&_MN MMMMJ@H3HHHHH3p3H3pQQ3Hd@_^ xx ^@dH&\{x@HH3_\HHx"
23780 echo "////////////////{ HHHHHHHHHHHHHHH@ x{{z\/#^33d {Nz3:LPx&&&&^WMxNMMMM3HHH3N3Hp79zWH _ xx _@dHHHHHHHHHHH^#{xd_{#@Hx"
23781 echo "//////////////////\@HH3HHHHHH@^x#{: &&7_@ddH:7d@__&@Mp^&&&&xPz#LMMML&3HJMMzNH@^ ^&:@HHHHHHHHHHHHHHHHHHd&^{/////:Hx"
23782 echo "/////////////{{{/{/{^dHHHd^x#{\ &HHH W ^@&Q9 _^ _d3QL ^ xWMW#dJMMz@HJMEx\x^HHHHHdx&HHHHHHHd&^ xx\#{//////////#Hx"
23783 echo "/////////{x ^&:xEDW^ x#:## d^dH3HHHHxd_HHdMzHx# NMMM7x&dH_JLp7 {x\&@HHD@\:{#x ^HHHd&#x x\#{////////////////////{Hx"
23784 echo "//////{#x^^&&\ _D9^x\{{:^NQP3HHHHHH pxHHd9MMdxx EMMM _^@@PD3PMMLEQH@3W& &^ x##\##{/////////////////////////////{@x"
23785 echo "/////#:x^ @d:^^7N#{\ &HHWHH99HHHHHH:7 d&^LMM3^_dNpH_#^_3LEWMMMMMPddHpd:HHHH@ ^ x{#:////////////////////{x&////{x:"
23786 echo "////:x ^x W:^^HWx3dHHHH333H39HHHH3@&&xxx@J7@#:_@&&d : ELp9MMMMMz&H333#dHHH3H\///{:3x##{/{##{/{#\\\##### W_{////^x/"
23787 echo "//{ :x^ #E:^^&N\ELWHHH3dHHH3333HHH E\:xx__^_ d^EPML^dDPHDMMMMM7&H33N#&HHHHH /////{3//////////////////\3@{//////{//"
23788 echo "/{ xx{x{7_ ^^N^xJNzN3Hp@HHHH39HH3H J: ^ NEQ__^zMMM9dLJ3LMMMML3@HHH9\ H3HHH&{/////^ ////////////////\3d{///////////"
23789 echo "/x x///:9:^^p&x@3W3p3HHHpddd@H9HHH_Lx^ EMM7x&^MMMEEMWNMMMMMD@d3HH9 \HHHHHH //////7{//////////////#3H#/////////////"
23790 echo "\_:#///@ ^d3^xHH33N3@x ^&dH&@HHH M_^^MML&x_3QJWQLdzMMMMMJ_HH3HNd#@HHHHHHx/////:W/////////////{x #///////////////"
23791 echo "^&:///{p\^_W^x&HWH^x &_HHHHHHd HHH PNx9LQ7W_3N779d\WMMMMMW&HHH3WN{_HHHHHH3://///p ////////////////////////////////"
23792 echo "@dx////Ep3Np^\@_:^dHHHd^Hd_ :\xHH3&EP^3d@d3Hp7zLMQ_{ JMLd@HHHHpE:&HHHHHHHH\/////@{////////////////////////////////"
23793 echo "H@ :#//DLMM9_: :HHHHH@^x#/////#HHHd_NNNJPMMMMMMMMMMQ&{d_HHHHH3zx@HHHHHHHHH#&@@@@7@@dpdx{//////////////////////////"
23794 echo "dJx #//_E_d&&^::_d_x#//\///////&HHH_HPMMMMMMMMMMLJ7Wp@_HHHHHHz_ HHHHHHHHHHx7QzJE97^x{/////////////////////////////"
23795 echo "^z_ {/\{_9 ^{\#//////:///////xHHH3H&7MMMPJN3d__@HHHHHHH3HH73:HHHHHHHHHH ^ x#{@{///////////////////////////////"
23796 echo "^dD \{ x#^7^x\/////////x///////#HH33HHHd3d37pHH3HHHHHHHHHHHp7#dHHHHHHHH&_EMMMMMMMPz7d #///////////////////////////"
23797 echo "^^_73x ^ :xd^{/////////x////////_HHHHHH33NNWpp3HHHHHHHHHHHHE:^HHHHHH3H WMMMMMMMMDH7:\ JQ7d {//////////////////////"
23798 echo "^^@JzE^\x^ :\x{////////_///\_WJHxHHHHHHHHHHH3HHHHHHHHHHHHH9&xHHHHHHd 9MMMMMMMMLJ J//xQ\7LMMQpx///////////////////"
23799 echo " _3zLLLpx x{///////{_ zH9PP9H {{dHHHHHHHHHHHHHHHHHHHHHHHp9#dHHH3H@x^zMMMMMMMMMPJ d//93DMMMMMMMQH\////////////////"
23800 echo " x^NE9dxx x://///////#dNP_\/{^H79@pHHHHHHHHHHHHHHHHHHH3H3zx_HHHHHH_&DMMMMMMMMMMDE :/ 7QMMMMMMMMMMMJ&#/////////////"
23801 echo " @3pQMp^7N^x//////////// __7LMMMM JHHHHHHHHHHHHH3HHHHH3H9@ HHHHHHH&LMMMMMMMMMMMP7^#{EWMMMMMMMMMMMMMML7 {//////////"
23802 echo "^^^&HLWd7d {///////////#3LMMMMMMMHpJpHHHHHHHHHHH3JQJ7NDWE\HHHH3H@ QMMMMMMMMMMMMLp&##LMMMMMMMMMMMMMMMMMMPd{////////"
23803 echo "3WNNN7pH99Wd #/////////pHMMMMMMMMD N993HH3HHHHHHHH9LMMMLx@3HHHH_ JMMMMMMMMMMMMMMd@##MMMMMMMMMMMMMMMMMMMMMQ{///////"
23804 echo "MMMMM3ELMMMMLE@&@_x////EWMMMMMMMMM3JJpEN3HHHHHHHH7DDMMMH HHHHd ^NMMMMMMMMMMMMMMM_d{#MMMMMMMMMMMMMMMMMMMMM@////////"
23805 echo "MMMM7{DMMMMD3JMMMMDJ /#DzMMMMMMMMML^Qz7W9p3pWN7799zJE7d\x_HH@:_HMMMMMMMMMMMMMMMWx3{\MMMMMMMMMMMMMMMMMMMMD{////////"
23806 echo "MMML:HMMMM9@MMMLdHJEH{ PLMMMMMMMMMME&pNp^^_^ x ^^__ \#x{&&LMMMMMMMMMMMMMMMJ:p{\MMMMMMMMMMMMMMMMMMMM_/////////"
23807 echo "MMMW/7MMMM&LM3LdQz@JM33MMMMMMMMMMMMM&x _@dHHHHHHH@&_^ ^_ ^x:^LMMMMMMPQJ7Np333pW 3 xEDMMMMMMMMMMMMMMMMMJ//////////"
23808 echo "MML\/EMMMP3_xNpJMM3^&WzMPMMMMMMMMMMML3x^^^^_&dH3W7EzPPpx\x\\xd333H&_&@pEQPLMMQPM7E9LHd@@3ELMMMMMMMMMMMM //////////"
23809 echo "MM3//zMMMNW//QdMMM3 \#LQWMMMMMMMMDp@__&dd@@&__&&@dHpHd33 &x@33Hd@_^^^xMMMMMMM3pMx{HM x9/{\:@pNQMMMMMMMQ///////////"
23810 echo "MMH::PMMMW7{/P_MMM7^{xM7^MMMMMMD@@W&&dH3Hx_x:7DzJ97Np &H^&x_dHd@&&@d3WMMMMMMME&M WMMN/7{/WHzMLEWWNELMMW///////////"
23811 echo "_H_^^dNJzWH@/7HPMM@_/dD&@MMMLzp W@^7zE7pxHHN99EzQQ7_p9^H^_:&d&^ ^_&&MMMMMMMD M xMML#^x/{JMMMMMMMDW3Wx///////////"
23812 echo "Hz^x::xx{/{x^p3dMQx /7N H3@^_@#dW#:_d@@HHHHHH3NPN&NLMQ H & NN799997WWzMMMMMMMLxM^&LMM^{&/#LMMMMMMMMMMLN^#/////////"
23813 echo " x WpH@x\//////{@ { _^_@d^ ^__\dH MEH_d3HHHHHHN&3MMMMD H & H&&______ HMMMMMMMM P_3MMMN/&/#LMMMMMMMMMMMMML@////////"
23814 echo "\{xH7x::\////////\7MM9@_^_@HHd d_ MMM9@7HHd@NWHp^WMMMDx3 & 3dHW7EzDLMLLDQzJE9NxHxxp33_/x{/NMMMMMMMMMMMMMMP#///////"
23815 echo "# ^_ ^ ^x///////{9&MMJ^^^ ^_3xH_ MMM^73@_WQz93&@&@LLN_H __9WH&^ x:\#{\^&& {///{p//////////{x&WzLMMMMMMMMMH///////"
23816 echo "^^ 3^^^#///////H_LMME&@dHH@ _x3@xPMz&&_7MMMMLDJHx\ 3pd #{/////////{x@HH&\//////7{////{#////////{x&WzMMMMML#//////"
23817 echo ": :d^^^x/////// &PMMM&_dd@&^^ {^W7^p xxH@@&__37NNW7NH^:xxxx ^_&&@dHH&:////////p ////{^/////////////\&ELMM3//////"
23818 echo "{\:xxxx#//////{Hp77p@ x#////////#&& xx::\\:xxxx ^_&&&&&@@@&&&&_____x//////////##/////&////////////////{^NQ#/////"
23819 fi
23820