aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/edje/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/edje/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/edje/configure')
-rwxr-xr-xlibraries/edje/configure19100
1 files changed, 0 insertions, 19100 deletions
diff --git a/libraries/edje/configure b/libraries/edje/configure
deleted file mode 100755
index aafa1b0..0000000
--- a/libraries/edje/configure
+++ /dev/null
@@ -1,19100 +0,0 @@
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67 for edje 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='edje'
703PACKAGE_TARNAME='edje'
704PACKAGE_VERSION='1.2.0-alpha'
705PACKAGE_STRING='edje 1.2.0-alpha'
706PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
707PACKAGE_URL=''
708
709ac_unique_file="configure.ac"
710# Factoring default headers for most tests.
711ac_includes_default="\
712#include <stdio.h>
713#ifdef HAVE_SYS_TYPES_H
714# include <sys/types.h>
715#endif
716#ifdef HAVE_SYS_STAT_H
717# include <sys/stat.h>
718#endif
719#ifdef STDC_HEADERS
720# include <stdlib.h>
721# include <stddef.h>
722#else
723# ifdef HAVE_STDLIB_H
724# include <stdlib.h>
725# endif
726#endif
727#ifdef HAVE_STRING_H
728# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729# include <memory.h>
730# endif
731# include <string.h>
732#endif
733#ifdef HAVE_STRINGS_H
734# include <strings.h>
735#endif
736#ifdef HAVE_INTTYPES_H
737# include <inttypes.h>
738#endif
739#ifdef HAVE_STDINT_H
740# include <stdint.h>
741#endif
742#ifdef HAVE_UNISTD_H
743# include <unistd.h>
744#endif"
745
746ac_subst_vars='am__EXEEXT_FALSE
747am__EXEEXT_TRUE
748LTLIBOBJS
749LIBOBJS
750requirement_edje
751BUILD_EXAMPLES_FALSE
752BUILD_EXAMPLES_TRUE
753EFL_ENABLE_COVERAGE_FALSE
754EFL_ENABLE_COVERAGE_TRUE
755EFL_COVERAGE_LIBS
756EFL_COVERAGE_CFLAGS
757have_lcov
758EFL_ENABLE_TESTS_FALSE
759EFL_ENABLE_TESTS_TRUE
760CHECK_LIBS
761CHECK_CFLAGS
762ALLOCA
763lt_enable_auto_import
764EDJE_EXTERNAL_INSPECTOR_LIBS
765EDJE_EXTERNAL_INSPECTOR_CFLAGS
766EDJE_INSPECTOR_LIBS
767EDJE_INSPECTOR_CFLAGS
768EDJE_PLAYER_LIBS
769EDJE_PLAYER_CFLAGS
770EDJE_DECC_LIBS
771EDJE_DECC_CFLAGS
772BUILD_EPP_FALSE
773BUILD_EPP_TRUE
774EDJE_CC_LIBS
775EDJE_CC_CFLAGS
776FLAC_LIBS
777FLAC_CFLAGS
778HAVE_LIBALSA_FALSE
779HAVE_LIBALSA_TRUE
780ALSA_LIBS
781ALSA_CFLAGS
782VORBISENC_LIBS
783VORBISENC_CFLAGS
784HAVE_LIBREMIX_FALSE
785HAVE_LIBREMIX_TRUE
786REMIX_PLUGIN_DIR
787REMIX_LIBS
788REMIX_CFLAGS
789HAVE_LIBSNDFILE_FALSE
790HAVE_LIBSNDFILE_TRUE
791SNDFILE_LIBS
792SNDFILE_CFLAGS
793ENABLE_MULTISENSE_FALSE
794ENABLE_MULTISENSE_TRUE
795ECORE_IMF_LIBS
796ECORE_IMF_CFLAGS
797EDJE_LIBS
798EDJE_CFLAGS
799MINIMAL_LIBS
800MINIMAL_CFLAGS
801lua_libs
802LUA_LIBS
803LUA_CFLAGS
804EFL_EDJE_BUILD
805EVIL_LIBS
806EVIL_CFLAGS
807pkgconfig_requires_private
808PKG_CONFIG_LIBDIR
809PKG_CONFIG_PATH
810PKG_CONFIG
811HAVE_PYTHON_FALSE
812HAVE_PYTHON_TRUE
813pkgpyexecdir
814pyexecdir
815pkgpythondir
816pythondir
817PYTHON_PLATFORM
818PYTHON_EXEC_PREFIX
819PYTHON_PREFIX
820PYTHON_VERSION
821PYTHON
822EFL_BUILD_DOC_FALSE
823EFL_BUILD_DOC_TRUE
824efl_doxygen
825efl_have_doxygen
826vimdir
827BUILD_EDJE_FP_FALSE
828BUILD_EDJE_FP_TRUE
829EDJE_CALC_CACHE_FALSE
830EDJE_CALC_CACHE_TRUE
831EDJE_PROGRAM_CACHE_FALSE
832EDJE_PROGRAM_CACHE_TRUE
833BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE
834BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE
835EDJE_EXTERNAL_INSPECTOR_PRG
836BUILD_EDJE_INSPECTOR_FALSE
837BUILD_EDJE_INSPECTOR_TRUE
838EDJE_INSPECTOR_PRG
839BUILD_EDJE_PLAYER_FALSE
840BUILD_EDJE_PLAYER_TRUE
841EDJE_PLAYER_PRG
842BUILD_EDJE_RECC_FALSE
843BUILD_EDJE_RECC_TRUE
844EDJE_RECC_PRG
845BUILD_EDJE_DECC_FALSE
846BUILD_EDJE_DECC_TRUE
847EDJE_DECC_PRG
848BUILD_EDJE_CC_FALSE
849BUILD_EDJE_CC_TRUE
850EDJE_CC_PRG
851edje_cc
852EDJE_AMALGAMATION_FALSE
853EDJE_AMALGAMATION_TRUE
854MODULE_ARCH
855VMAJ
856release_info
857version_info
858CPP
859OTOOL64
860OTOOL
861LIPO
862NMEDIT
863DSYMUTIL
864lt_ECHO
865RANLIB
866AR
867LN_S
868NM
869ac_ct_DUMPBIN
870DUMPBIN
871LD
872FGREP
873EGREP
874GREP
875SED
876am__fastdepCC_FALSE
877am__fastdepCC_TRUE
878CCDEPMODE
879AMDEPBACKSLASH
880AMDEP_FALSE
881AMDEP_TRUE
882am__quote
883am__include
884DEPDIR
885OBJEXT
886EXEEXT
887ac_ct_CC
888CPPFLAGS
889LDFLAGS
890CFLAGS
891CC
892LIBTOOL
893OBJDUMP
894DLLTOOL
895AS
896host_os
897host_vendor
898host_cpu
899host
900build_os
901build_vendor
902build_cpu
903build
904AM_BACKSLASH
905AM_DEFAULT_VERBOSITY
906am__untar
907am__tar
908AMTAR
909am__leading_dot
910SET_MAKE
911AWK
912mkdir_p
913MKDIR_P
914INSTALL_STRIP_PROGRAM
915STRIP
916install_sh
917MAKEINFO
918AUTOHEADER
919AUTOMAKE
920AUTOCONF
921ACLOCAL
922VERSION
923PACKAGE
924CYGPATH_W
925am__isrc
926INSTALL_DATA
927INSTALL_SCRIPT
928INSTALL_PROGRAM
929target_alias
930host_alias
931build_alias
932LIBS
933ECHO_T
934ECHO_N
935ECHO_C
936DEFS
937mandir
938localedir
939libdir
940psdir
941pdfdir
942dvidir
943htmldir
944infodir
945docdir
946oldincludedir
947includedir
948localstatedir
949sharedstatedir
950sysconfdir
951datadir
952datarootdir
953libexecdir
954sbindir
955bindir
956program_transform_name
957prefix
958exec_prefix
959PACKAGE_URL
960PACKAGE_BUGREPORT
961PACKAGE_STRING
962PACKAGE_VERSION
963PACKAGE_TARNAME
964PACKAGE_NAME
965PATH_SEPARATOR
966SHELL'
967ac_subst_files=''
968ac_user_opts='
969enable_option_checking
970enable_silent_rules
971enable_shared
972enable_static
973with_pic
974enable_fast_install
975enable_dependency_tracking
976with_gnu_ld
977enable_libtool_lock
978enable_amalgamation
979with_edje_cc
980enable_edje_cc
981enable_edje_decc
982enable_edje_recc
983enable_edje_player
984enable_edje_inspector
985enable_edje_external_inspector
986enable_edje_program_cache
987enable_edje_calc_cache
988enable_fixed_point
989with_vim
990enable_doc
991with_doxygen
992enable_multisense
993enable_sndfile
994enable_remix
995enable_vorbisenc
996enable_flac
997enable_tests
998enable_coverage
999enable_build_examples
1000'
1001 ac_precious_vars='build_alias
1002host_alias
1003target_alias
1004CC
1005CFLAGS
1006LDFLAGS
1007LIBS
1008CPPFLAGS
1009CPP
1010PKG_CONFIG
1011PKG_CONFIG_PATH
1012PKG_CONFIG_LIBDIR
1013EVIL_CFLAGS
1014EVIL_LIBS
1015LUA_CFLAGS
1016LUA_LIBS
1017MINIMAL_CFLAGS
1018MINIMAL_LIBS
1019EDJE_CFLAGS
1020EDJE_LIBS
1021ECORE_IMF_CFLAGS
1022ECORE_IMF_LIBS
1023SNDFILE_CFLAGS
1024SNDFILE_LIBS
1025REMIX_CFLAGS
1026REMIX_LIBS
1027VORBISENC_CFLAGS
1028VORBISENC_LIBS
1029ALSA_CFLAGS
1030ALSA_LIBS
1031FLAC_CFLAGS
1032FLAC_LIBS
1033EDJE_CC_CFLAGS
1034EDJE_CC_LIBS
1035EDJE_DECC_CFLAGS
1036EDJE_DECC_LIBS
1037EDJE_PLAYER_CFLAGS
1038EDJE_PLAYER_LIBS
1039EDJE_INSPECTOR_CFLAGS
1040EDJE_INSPECTOR_LIBS
1041EDJE_EXTERNAL_INSPECTOR_CFLAGS
1042EDJE_EXTERNAL_INSPECTOR_LIBS
1043CHECK_CFLAGS
1044CHECK_LIBS'
1045
1046
1047# Initialize some variables set by options.
1048ac_init_help=
1049ac_init_version=false
1050ac_unrecognized_opts=
1051ac_unrecognized_sep=
1052# The variables have the same names as the options, with
1053# dashes changed to underlines.
1054cache_file=/dev/null
1055exec_prefix=NONE
1056no_create=
1057no_recursion=
1058prefix=NONE
1059program_prefix=NONE
1060program_suffix=NONE
1061program_transform_name=s,x,x,
1062silent=
1063site=
1064srcdir=
1065verbose=
1066x_includes=NONE
1067x_libraries=NONE
1068
1069# Installation directory options.
1070# These are left unexpanded so users can "make install exec_prefix=/foo"
1071# and all the variables that are supposed to be based on exec_prefix
1072# by default will actually change.
1073# Use braces instead of parens because sh, perl, etc. also accept them.
1074# (The list follows the same order as the GNU Coding Standards.)
1075bindir='${exec_prefix}/bin'
1076sbindir='${exec_prefix}/sbin'
1077libexecdir='${exec_prefix}/libexec'
1078datarootdir='${prefix}/share'
1079datadir='${datarootdir}'
1080sysconfdir='${prefix}/etc'
1081sharedstatedir='${prefix}/com'
1082localstatedir='${prefix}/var'
1083includedir='${prefix}/include'
1084oldincludedir='/usr/include'
1085docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1086infodir='${datarootdir}/info'
1087htmldir='${docdir}'
1088dvidir='${docdir}'
1089pdfdir='${docdir}'
1090psdir='${docdir}'
1091libdir='${exec_prefix}/lib'
1092localedir='${datarootdir}/locale'
1093mandir='${datarootdir}/man'
1094
1095ac_prev=
1096ac_dashdash=
1097for ac_option
1098do
1099 # If the previous option needs an argument, assign it.
1100 if test -n "$ac_prev"; then
1101 eval $ac_prev=\$ac_option
1102 ac_prev=
1103 continue
1104 fi
1105
1106 case $ac_option in
1107 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1108 *=) ac_optarg= ;;
1109 *) ac_optarg=yes ;;
1110 esac
1111
1112 # Accept the important Cygnus configure options, so we can diagnose typos.
1113
1114 case $ac_dashdash$ac_option in
1115 --)
1116 ac_dashdash=yes ;;
1117
1118 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1119 ac_prev=bindir ;;
1120 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1121 bindir=$ac_optarg ;;
1122
1123 -build | --build | --buil | --bui | --bu)
1124 ac_prev=build_alias ;;
1125 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1126 build_alias=$ac_optarg ;;
1127
1128 -cache-file | --cache-file | --cache-fil | --cache-fi \
1129 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1130 ac_prev=cache_file ;;
1131 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1132 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1133 cache_file=$ac_optarg ;;
1134
1135 --config-cache | -C)
1136 cache_file=config.cache ;;
1137
1138 -datadir | --datadir | --datadi | --datad)
1139 ac_prev=datadir ;;
1140 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1141 datadir=$ac_optarg ;;
1142
1143 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1144 | --dataroo | --dataro | --datar)
1145 ac_prev=datarootdir ;;
1146 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1147 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1148 datarootdir=$ac_optarg ;;
1149
1150 -disable-* | --disable-*)
1151 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1154 as_fn_error $? "invalid feature name: $ac_useropt"
1155 ac_useropt_orig=$ac_useropt
1156 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1157 case $ac_user_opts in
1158 *"
1159"enable_$ac_useropt"
1160"*) ;;
1161 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1162 ac_unrecognized_sep=', ';;
1163 esac
1164 eval enable_$ac_useropt=no ;;
1165
1166 -docdir | --docdir | --docdi | --doc | --do)
1167 ac_prev=docdir ;;
1168 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1169 docdir=$ac_optarg ;;
1170
1171 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1172 ac_prev=dvidir ;;
1173 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1174 dvidir=$ac_optarg ;;
1175
1176 -enable-* | --enable-*)
1177 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1180 as_fn_error $? "invalid feature name: $ac_useropt"
1181 ac_useropt_orig=$ac_useropt
1182 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1184 *"
1185"enable_$ac_useropt"
1186"*) ;;
1187 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1188 ac_unrecognized_sep=', ';;
1189 esac
1190 eval enable_$ac_useropt=\$ac_optarg ;;
1191
1192 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1193 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1194 | --exec | --exe | --ex)
1195 ac_prev=exec_prefix ;;
1196 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1197 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1198 | --exec=* | --exe=* | --ex=*)
1199 exec_prefix=$ac_optarg ;;
1200
1201 -gas | --gas | --ga | --g)
1202 # Obsolete; use --with-gas.
1203 with_gas=yes ;;
1204
1205 -help | --help | --hel | --he | -h)
1206 ac_init_help=long ;;
1207 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1208 ac_init_help=recursive ;;
1209 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1210 ac_init_help=short ;;
1211
1212 -host | --host | --hos | --ho)
1213 ac_prev=host_alias ;;
1214 -host=* | --host=* | --hos=* | --ho=*)
1215 host_alias=$ac_optarg ;;
1216
1217 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1218 ac_prev=htmldir ;;
1219 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1220 | --ht=*)
1221 htmldir=$ac_optarg ;;
1222
1223 -includedir | --includedir | --includedi | --included | --include \
1224 | --includ | --inclu | --incl | --inc)
1225 ac_prev=includedir ;;
1226 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1227 | --includ=* | --inclu=* | --incl=* | --inc=*)
1228 includedir=$ac_optarg ;;
1229
1230 -infodir | --infodir | --infodi | --infod | --info | --inf)
1231 ac_prev=infodir ;;
1232 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1233 infodir=$ac_optarg ;;
1234
1235 -libdir | --libdir | --libdi | --libd)
1236 ac_prev=libdir ;;
1237 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1238 libdir=$ac_optarg ;;
1239
1240 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1241 | --libexe | --libex | --libe)
1242 ac_prev=libexecdir ;;
1243 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1244 | --libexe=* | --libex=* | --libe=*)
1245 libexecdir=$ac_optarg ;;
1246
1247 -localedir | --localedir | --localedi | --localed | --locale)
1248 ac_prev=localedir ;;
1249 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1250 localedir=$ac_optarg ;;
1251
1252 -localstatedir | --localstatedir | --localstatedi | --localstated \
1253 | --localstate | --localstat | --localsta | --localst | --locals)
1254 ac_prev=localstatedir ;;
1255 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1256 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1257 localstatedir=$ac_optarg ;;
1258
1259 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1260 ac_prev=mandir ;;
1261 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1262 mandir=$ac_optarg ;;
1263
1264 -nfp | --nfp | --nf)
1265 # Obsolete; use --without-fp.
1266 with_fp=no ;;
1267
1268 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1269 | --no-cr | --no-c | -n)
1270 no_create=yes ;;
1271
1272 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1273 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1274 no_recursion=yes ;;
1275
1276 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1277 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1278 | --oldin | --oldi | --old | --ol | --o)
1279 ac_prev=oldincludedir ;;
1280 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1281 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1282 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1283 oldincludedir=$ac_optarg ;;
1284
1285 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1286 ac_prev=prefix ;;
1287 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1288 prefix=$ac_optarg ;;
1289
1290 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1291 | --program-pre | --program-pr | --program-p)
1292 ac_prev=program_prefix ;;
1293 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1294 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1295 program_prefix=$ac_optarg ;;
1296
1297 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1298 | --program-suf | --program-su | --program-s)
1299 ac_prev=program_suffix ;;
1300 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1301 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1302 program_suffix=$ac_optarg ;;
1303
1304 -program-transform-name | --program-transform-name \
1305 | --program-transform-nam | --program-transform-na \
1306 | --program-transform-n | --program-transform- \
1307 | --program-transform | --program-transfor \
1308 | --program-transfo | --program-transf \
1309 | --program-trans | --program-tran \
1310 | --progr-tra | --program-tr | --program-t)
1311 ac_prev=program_transform_name ;;
1312 -program-transform-name=* | --program-transform-name=* \
1313 | --program-transform-nam=* | --program-transform-na=* \
1314 | --program-transform-n=* | --program-transform-=* \
1315 | --program-transform=* | --program-transfor=* \
1316 | --program-transfo=* | --program-transf=* \
1317 | --program-trans=* | --program-tran=* \
1318 | --progr-tra=* | --program-tr=* | --program-t=*)
1319 program_transform_name=$ac_optarg ;;
1320
1321 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1322 ac_prev=pdfdir ;;
1323 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1324 pdfdir=$ac_optarg ;;
1325
1326 -psdir | --psdir | --psdi | --psd | --ps)
1327 ac_prev=psdir ;;
1328 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1329 psdir=$ac_optarg ;;
1330
1331 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1332 | -silent | --silent | --silen | --sile | --sil)
1333 silent=yes ;;
1334
1335 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1336 ac_prev=sbindir ;;
1337 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1338 | --sbi=* | --sb=*)
1339 sbindir=$ac_optarg ;;
1340
1341 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1342 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1343 | --sharedst | --shareds | --shared | --share | --shar \
1344 | --sha | --sh)
1345 ac_prev=sharedstatedir ;;
1346 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1347 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1348 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1349 | --sha=* | --sh=*)
1350 sharedstatedir=$ac_optarg ;;
1351
1352 -site | --site | --sit)
1353 ac_prev=site ;;
1354 -site=* | --site=* | --sit=*)
1355 site=$ac_optarg ;;
1356
1357 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1358 ac_prev=srcdir ;;
1359 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1360 srcdir=$ac_optarg ;;
1361
1362 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1363 | --syscon | --sysco | --sysc | --sys | --sy)
1364 ac_prev=sysconfdir ;;
1365 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1366 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1367 sysconfdir=$ac_optarg ;;
1368
1369 -target | --target | --targe | --targ | --tar | --ta | --t)
1370 ac_prev=target_alias ;;
1371 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1372 target_alias=$ac_optarg ;;
1373
1374 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1375 verbose=yes ;;
1376
1377 -version | --version | --versio | --versi | --vers | -V)
1378 ac_init_version=: ;;
1379
1380 -with-* | --with-*)
1381 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1384 as_fn_error $? "invalid package name: $ac_useropt"
1385 ac_useropt_orig=$ac_useropt
1386 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1387 case $ac_user_opts in
1388 *"
1389"with_$ac_useropt"
1390"*) ;;
1391 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1392 ac_unrecognized_sep=', ';;
1393 esac
1394 eval with_$ac_useropt=\$ac_optarg ;;
1395
1396 -without-* | --without-*)
1397 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1398 # Reject names that are not valid shell variable names.
1399 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1400 as_fn_error $? "invalid package name: $ac_useropt"
1401 ac_useropt_orig=$ac_useropt
1402 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1403 case $ac_user_opts in
1404 *"
1405"with_$ac_useropt"
1406"*) ;;
1407 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1408 ac_unrecognized_sep=', ';;
1409 esac
1410 eval with_$ac_useropt=no ;;
1411
1412 --x)
1413 # Obsolete; use --with-x.
1414 with_x=yes ;;
1415
1416 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1417 | --x-incl | --x-inc | --x-in | --x-i)
1418 ac_prev=x_includes ;;
1419 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1420 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1421 x_includes=$ac_optarg ;;
1422
1423 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1424 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1425 ac_prev=x_libraries ;;
1426 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1427 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1428 x_libraries=$ac_optarg ;;
1429
1430 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1431Try \`$0 --help' for more information"
1432 ;;
1433
1434 *=*)
1435 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1436 # Reject names that are not valid shell variable names.
1437 case $ac_envvar in #(
1438 '' | [0-9]* | *[!_$as_cr_alnum]* )
1439 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1440 esac
1441 eval $ac_envvar=\$ac_optarg
1442 export $ac_envvar ;;
1443
1444 *)
1445 # FIXME: should be removed in autoconf 3.0.
1446 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1447 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1448 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1449 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1450 ;;
1451
1452 esac
1453done
1454
1455if test -n "$ac_prev"; then
1456 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1457 as_fn_error $? "missing argument to $ac_option"
1458fi
1459
1460if test -n "$ac_unrecognized_opts"; then
1461 case $enable_option_checking in
1462 no) ;;
1463 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1464 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1465 esac
1466fi
1467
1468# Check all directory arguments for consistency.
1469for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1470 datadir sysconfdir sharedstatedir localstatedir includedir \
1471 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1472 libdir localedir mandir
1473do
1474 eval ac_val=\$$ac_var
1475 # Remove trailing slashes.
1476 case $ac_val in
1477 */ )
1478 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1479 eval $ac_var=\$ac_val;;
1480 esac
1481 # Be sure to have absolute directory names.
1482 case $ac_val in
1483 [\\/$]* | ?:[\\/]* ) continue;;
1484 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1485 esac
1486 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1487done
1488
1489# There might be people who depend on the old broken behavior: `$host'
1490# used to hold the argument of --host etc.
1491# FIXME: To remove some day.
1492build=$build_alias
1493host=$host_alias
1494target=$target_alias
1495
1496# FIXME: To remove some day.
1497if test "x$host_alias" != x; then
1498 if test "x$build_alias" = x; then
1499 cross_compiling=maybe
1500 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1501 If a cross compiler is detected then cross compile mode will be used" >&2
1502 elif test "x$build_alias" != "x$host_alias"; then
1503 cross_compiling=yes
1504 fi
1505fi
1506
1507ac_tool_prefix=
1508test -n "$host_alias" && ac_tool_prefix=$host_alias-
1509
1510test "$silent" = yes && exec 6>/dev/null
1511
1512
1513ac_pwd=`pwd` && test -n "$ac_pwd" &&
1514ac_ls_di=`ls -di .` &&
1515ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1516 as_fn_error $? "working directory cannot be determined"
1517test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1518 as_fn_error $? "pwd does not report name of working directory"
1519
1520
1521# Find the source files, if location was not specified.
1522if test -z "$srcdir"; then
1523 ac_srcdir_defaulted=yes
1524 # Try the directory containing this script, then the parent directory.
1525 ac_confdir=`$as_dirname -- "$as_myself" ||
1526$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1527 X"$as_myself" : 'X\(//\)[^/]' \| \
1528 X"$as_myself" : 'X\(//\)$' \| \
1529 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1530$as_echo X"$as_myself" |
1531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1532 s//\1/
1533 q
1534 }
1535 /^X\(\/\/\)[^/].*/{
1536 s//\1/
1537 q
1538 }
1539 /^X\(\/\/\)$/{
1540 s//\1/
1541 q
1542 }
1543 /^X\(\/\).*/{
1544 s//\1/
1545 q
1546 }
1547 s/.*/./; q'`
1548 srcdir=$ac_confdir
1549 if test ! -r "$srcdir/$ac_unique_file"; then
1550 srcdir=..
1551 fi
1552else
1553 ac_srcdir_defaulted=no
1554fi
1555if test ! -r "$srcdir/$ac_unique_file"; then
1556 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1557 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1558fi
1559ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1560ac_abs_confdir=`(
1561 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1562 pwd)`
1563# When building in place, set srcdir=.
1564if test "$ac_abs_confdir" = "$ac_pwd"; then
1565 srcdir=.
1566fi
1567# Remove unnecessary trailing slashes from srcdir.
1568# Double slashes in file names in object file debugging info
1569# mess up M-x gdb in Emacs.
1570case $srcdir in
1571*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1572esac
1573for ac_var in $ac_precious_vars; do
1574 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1575 eval ac_env_${ac_var}_value=\$${ac_var}
1576 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1577 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1578done
1579
1580#
1581# Report the --help message.
1582#
1583if test "$ac_init_help" = "long"; then
1584 # Omit some internal or obsolete options to make the list less imposing.
1585 # This message is too long to be a string in the A/UX 3.1 sh.
1586 cat <<_ACEOF
1587\`configure' configures edje 1.2.0-alpha to adapt to many kinds of systems.
1588
1589Usage: $0 [OPTION]... [VAR=VALUE]...
1590
1591To assign environment variables (e.g., CC, CFLAGS...), specify them as
1592VAR=VALUE. See below for descriptions of some of the useful variables.
1593
1594Defaults for the options are specified in brackets.
1595
1596Configuration:
1597 -h, --help display this help and exit
1598 --help=short display options specific to this package
1599 --help=recursive display the short help of all the included packages
1600 -V, --version display version information and exit
1601 -q, --quiet, --silent do not print \`checking ...' messages
1602 --cache-file=FILE cache test results in FILE [disabled]
1603 -C, --config-cache alias for \`--cache-file=config.cache'
1604 -n, --no-create do not create output files
1605 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1606
1607Installation directories:
1608 --prefix=PREFIX install architecture-independent files in PREFIX
1609 [$ac_default_prefix]
1610 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1611 [PREFIX]
1612
1613By default, \`make install' will install all the files in
1614\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1615an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1616for instance \`--prefix=\$HOME'.
1617
1618For better control, use the options below.
1619
1620Fine tuning of the installation directories:
1621 --bindir=DIR user executables [EPREFIX/bin]
1622 --sbindir=DIR system admin executables [EPREFIX/sbin]
1623 --libexecdir=DIR program executables [EPREFIX/libexec]
1624 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1625 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1626 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1627 --libdir=DIR object code libraries [EPREFIX/lib]
1628 --includedir=DIR C header files [PREFIX/include]
1629 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1630 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1631 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1632 --infodir=DIR info documentation [DATAROOTDIR/info]
1633 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1634 --mandir=DIR man documentation [DATAROOTDIR/man]
1635 --docdir=DIR documentation root [DATAROOTDIR/doc/edje]
1636 --htmldir=DIR html documentation [DOCDIR]
1637 --dvidir=DIR dvi documentation [DOCDIR]
1638 --pdfdir=DIR pdf documentation [DOCDIR]
1639 --psdir=DIR ps documentation [DOCDIR]
1640_ACEOF
1641
1642 cat <<\_ACEOF
1643
1644Program names:
1645 --program-prefix=PREFIX prepend PREFIX to installed program names
1646 --program-suffix=SUFFIX append SUFFIX to installed program names
1647 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1648
1649System types:
1650 --build=BUILD configure for building on BUILD [guessed]
1651 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1652_ACEOF
1653fi
1654
1655if test -n "$ac_init_help"; then
1656 case $ac_init_help in
1657 short | recursive ) echo "Configuration of edje 1.2.0-alpha:";;
1658 esac
1659 cat <<\_ACEOF
1660
1661Optional Features:
1662 --disable-option-checking ignore unrecognized --enable/--with options
1663 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1664 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1665 --enable-silent-rules less verbose build output (undo: `make V=1')
1666 --disable-silent-rules verbose build output (undo: `make V=0')
1667 --enable-shared[=PKGS] build shared libraries [default=yes]
1668 --enable-static[=PKGS] build static libraries [default=yes]
1669 --enable-fast-install[=PKGS]
1670 optimize for fast installation [default=yes]
1671 --disable-dependency-tracking speeds up one-time build
1672 --enable-dependency-tracking do not reject slow dependency extractors
1673 --disable-libtool-lock avoid locking (might break parallel builds)
1674 --enable-amalgamation enable generation of one single file with all source
1675 code in it, helps compiler optimizations.
1676 --disable-edje-cc disable building of edje_cc
1677 --disable-edje-decc disable building of edje_decc
1678 --disable-edje-recc disable building of edje_recc
1679 --disable-edje-player disable building of edje_player
1680 --disable-edje-inspector
1681 disable building of edje_inspector
1682 --disable-edje-external-inspector
1683 disable building of edje_external_inspector
1684 --enable-edje-program-cache
1685 enable EDJE_PROGRAM_CACHE support.
1686 [[default=disabled]]
1687 --enable-edje-calc-cache
1688 enable EDJE_CALC_CACHE support. [[default=disabled]]
1689 --enable-fixed-point reduce use of FPU by using Fixed Point provided by
1690 Eina and Eet, [[default=disabled]]
1691 --disable-doc Disable documentation build [default=enabled]
1692 --enable-multisense multisense provides sound. tone and haptic effects
1693 support, [[default=disabled]]
1694 --disable-sndfile disable sndfile support. [default=detect]
1695 --disable-remix disable remix support. [default=detect]
1696 --disable-vorbis disable ogg-vorbis support. [default=detect]
1697 --disable-alsa disable alsa support. [default=detect]
1698 --disable-flac disable flac support. [default=detect]
1699 --enable-tests enable tests [default=disabled]
1700 --enable-coverage enable coverage profiling instrumentation
1701 [default=disabled]
1702 --enable-build-examples Enable building examples. This requires extra
1703 denpendencies. If you don't have them installed yet,
1704 don't build with this option or it will fail. Build
1705 again when you have it, overriding the previous
1706 installation). [default==disabled]
1707
1708Optional Packages:
1709 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1710 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1711 --with-pic try to use only PIC/non-PIC objects [default=use
1712 both]
1713 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1714 --with-edje-cc=PATH specify a specific path to edje_cc [default=edje_cc]
1715 --with-vim=DIR Location of Vim data files [[autodetect]]
1716 --with-doxygen=FILE doxygen program to use [default=doxygen]
1717
1718Some influential environment variables:
1719 CC C compiler command
1720 CFLAGS C compiler flags
1721 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1722 nonstandard directory <lib dir>
1723 LIBS libraries to pass to the linker, e.g. -l<library>
1724 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1725 you have headers in a nonstandard directory <include dir>
1726 CPP C preprocessor
1727 PKG_CONFIG path to pkg-config utility
1728 PKG_CONFIG_PATH
1729 directories to add to pkg-config's search path
1730 PKG_CONFIG_LIBDIR
1731 path overriding pkg-config's built-in search path
1732 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1733 EVIL_LIBS linker flags for EVIL, overriding pkg-config
1734 LUA_CFLAGS C compiler flags for LUA, overriding pkg-config
1735 LUA_LIBS linker flags for LUA, overriding pkg-config
1736 MINIMAL_CFLAGS
1737 C compiler flags for MINIMAL, overriding pkg-config
1738 MINIMAL_LIBS
1739 linker flags for MINIMAL, overriding pkg-config
1740 EDJE_CFLAGS C compiler flags for EDJE, overriding pkg-config
1741 EDJE_LIBS linker flags for EDJE, overriding pkg-config
1742 ECORE_IMF_CFLAGS
1743 C compiler flags for ECORE_IMF, overriding pkg-config
1744 ECORE_IMF_LIBS
1745 linker flags for ECORE_IMF, overriding pkg-config
1746 SNDFILE_CFLAGS
1747 C compiler flags for SNDFILE, overriding pkg-config
1748 SNDFILE_LIBS
1749 linker flags for SNDFILE, overriding pkg-config
1750 REMIX_CFLAGS
1751 C compiler flags for REMIX, overriding pkg-config
1752 REMIX_LIBS linker flags for REMIX, overriding pkg-config
1753 VORBISENC_CFLAGS
1754 C compiler flags for VORBISENC, overriding pkg-config
1755 VORBISENC_LIBS
1756 linker flags for VORBISENC, overriding pkg-config
1757 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1758 ALSA_LIBS linker flags for ALSA, overriding pkg-config
1759 FLAC_CFLAGS C compiler flags for FLAC, overriding pkg-config
1760 FLAC_LIBS linker flags for FLAC, overriding pkg-config
1761 EDJE_CC_CFLAGS
1762 C compiler flags for EDJE_CC, overriding pkg-config
1763 EDJE_CC_LIBS
1764 linker flags for EDJE_CC, overriding pkg-config
1765 EDJE_DECC_CFLAGS
1766 C compiler flags for EDJE_DECC, overriding pkg-config
1767 EDJE_DECC_LIBS
1768 linker flags for EDJE_DECC, overriding pkg-config
1769 EDJE_PLAYER_CFLAGS
1770 C compiler flags for EDJE_PLAYER, overriding pkg-config
1771 EDJE_PLAYER_LIBS
1772 linker flags for EDJE_PLAYER, overriding pkg-config
1773 EDJE_INSPECTOR_CFLAGS
1774 C compiler flags for EDJE_INSPECTOR, overriding pkg-config
1775 EDJE_INSPECTOR_LIBS
1776 linker flags for EDJE_INSPECTOR, overriding pkg-config
1777 EDJE_EXTERNAL_INSPECTOR_CFLAGS
1778 C compiler flags for EDJE_EXTERNAL_INSPECTOR, overriding
1779 pkg-config
1780 EDJE_EXTERNAL_INSPECTOR_LIBS
1781 linker flags for EDJE_EXTERNAL_INSPECTOR, overriding pkg-config
1782 CHECK_CFLAGS
1783 C compiler flags for CHECK, overriding pkg-config
1784 CHECK_LIBS linker flags for CHECK, overriding pkg-config
1785
1786Use these variables to override the choices made by `configure' or to help
1787it to find libraries and programs with nonstandard names/locations.
1788
1789Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1790_ACEOF
1791ac_status=$?
1792fi
1793
1794if test "$ac_init_help" = "recursive"; then
1795 # If there are subdirs, report their specific --help.
1796 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1797 test -d "$ac_dir" ||
1798 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1799 continue
1800 ac_builddir=.
1801
1802case "$ac_dir" in
1803.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1804*)
1805 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1806 # A ".." for each directory in $ac_dir_suffix.
1807 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1808 case $ac_top_builddir_sub in
1809 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1810 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1811 esac ;;
1812esac
1813ac_abs_top_builddir=$ac_pwd
1814ac_abs_builddir=$ac_pwd$ac_dir_suffix
1815# for backward compatibility:
1816ac_top_builddir=$ac_top_build_prefix
1817
1818case $srcdir in
1819 .) # We are building in place.
1820 ac_srcdir=.
1821 ac_top_srcdir=$ac_top_builddir_sub
1822 ac_abs_top_srcdir=$ac_pwd ;;
1823 [\\/]* | ?:[\\/]* ) # Absolute name.
1824 ac_srcdir=$srcdir$ac_dir_suffix;
1825 ac_top_srcdir=$srcdir
1826 ac_abs_top_srcdir=$srcdir ;;
1827 *) # Relative name.
1828 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1829 ac_top_srcdir=$ac_top_build_prefix$srcdir
1830 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1831esac
1832ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1833
1834 cd "$ac_dir" || { ac_status=$?; continue; }
1835 # Check for guested configure.
1836 if test -f "$ac_srcdir/configure.gnu"; then
1837 echo &&
1838 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1839 elif test -f "$ac_srcdir/configure"; then
1840 echo &&
1841 $SHELL "$ac_srcdir/configure" --help=recursive
1842 else
1843 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1844 fi || ac_status=$?
1845 cd "$ac_pwd" || { ac_status=$?; break; }
1846 done
1847fi
1848
1849test -n "$ac_init_help" && exit $ac_status
1850if $ac_init_version; then
1851 cat <<\_ACEOF
1852edje configure 1.2.0-alpha
1853generated by GNU Autoconf 2.67
1854
1855Copyright (C) 2010 Free Software Foundation, Inc.
1856This configure script is free software; the Free Software Foundation
1857gives unlimited permission to copy, distribute and modify it.
1858_ACEOF
1859 exit
1860fi
1861
1862## ------------------------ ##
1863## Autoconf initialization. ##
1864## ------------------------ ##
1865
1866# ac_fn_c_try_compile LINENO
1867# --------------------------
1868# Try to compile conftest.$ac_ext, and return whether this succeeded.
1869ac_fn_c_try_compile ()
1870{
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872 rm -f conftest.$ac_objext
1873 if { { ac_try="$ac_compile"
1874case "(($ac_try" in
1875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1876 *) ac_try_echo=$ac_try;;
1877esac
1878eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1879$as_echo "$ac_try_echo"; } >&5
1880 (eval "$ac_compile") 2>conftest.err
1881 ac_status=$?
1882 if test -s conftest.err; then
1883 grep -v '^ *+' conftest.err >conftest.er1
1884 cat conftest.er1 >&5
1885 mv -f conftest.er1 conftest.err
1886 fi
1887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1888 test $ac_status = 0; } && {
1889 test -z "$ac_c_werror_flag" ||
1890 test ! -s conftest.err
1891 } && test -s conftest.$ac_objext; then :
1892 ac_retval=0
1893else
1894 $as_echo "$as_me: failed program was:" >&5
1895sed 's/^/| /' conftest.$ac_ext >&5
1896
1897 ac_retval=1
1898fi
1899 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1900 as_fn_set_status $ac_retval
1901
1902} # ac_fn_c_try_compile
1903
1904# ac_fn_c_try_link LINENO
1905# -----------------------
1906# Try to link conftest.$ac_ext, and return whether this succeeded.
1907ac_fn_c_try_link ()
1908{
1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910 rm -f conftest.$ac_objext conftest$ac_exeext
1911 if { { ac_try="$ac_link"
1912case "(($ac_try" in
1913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1914 *) ac_try_echo=$ac_try;;
1915esac
1916eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1917$as_echo "$ac_try_echo"; } >&5
1918 (eval "$ac_link") 2>conftest.err
1919 ac_status=$?
1920 if test -s conftest.err; then
1921 grep -v '^ *+' conftest.err >conftest.er1
1922 cat conftest.er1 >&5
1923 mv -f conftest.er1 conftest.err
1924 fi
1925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1926 test $ac_status = 0; } && {
1927 test -z "$ac_c_werror_flag" ||
1928 test ! -s conftest.err
1929 } && test -s conftest$ac_exeext && {
1930 test "$cross_compiling" = yes ||
1931 $as_test_x conftest$ac_exeext
1932 }; then :
1933 ac_retval=0
1934else
1935 $as_echo "$as_me: failed program was:" >&5
1936sed 's/^/| /' conftest.$ac_ext >&5
1937
1938 ac_retval=1
1939fi
1940 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1941 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1942 # interfere with the next link command; also delete a directory that is
1943 # left behind by Apple's compiler. We do this before executing the actions.
1944 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1945 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1946 as_fn_set_status $ac_retval
1947
1948} # ac_fn_c_try_link
1949
1950# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1951# -------------------------------------------------------
1952# Tests whether HEADER exists and can be compiled using the include files in
1953# INCLUDES, setting the cache variable VAR accordingly.
1954ac_fn_c_check_header_compile ()
1955{
1956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1958$as_echo_n "checking for $2... " >&6; }
1959if eval "test \"\${$3+set}\"" = set; then :
1960 $as_echo_n "(cached) " >&6
1961else
1962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1963/* end confdefs.h. */
1964$4
1965#include <$2>
1966_ACEOF
1967if ac_fn_c_try_compile "$LINENO"; then :
1968 eval "$3=yes"
1969else
1970 eval "$3=no"
1971fi
1972rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1973fi
1974eval ac_res=\$$3
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976$as_echo "$ac_res" >&6; }
1977 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1978
1979} # ac_fn_c_check_header_compile
1980
1981# ac_fn_c_try_cpp LINENO
1982# ----------------------
1983# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1984ac_fn_c_try_cpp ()
1985{
1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987 if { { ac_try="$ac_cpp conftest.$ac_ext"
1988case "(($ac_try" in
1989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1990 *) ac_try_echo=$ac_try;;
1991esac
1992eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1993$as_echo "$ac_try_echo"; } >&5
1994 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1995 ac_status=$?
1996 if test -s conftest.err; then
1997 grep -v '^ *+' conftest.err >conftest.er1
1998 cat conftest.er1 >&5
1999 mv -f conftest.er1 conftest.err
2000 fi
2001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002 test $ac_status = 0; } > conftest.i && {
2003 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2004 test ! -s conftest.err
2005 }; then :
2006 ac_retval=0
2007else
2008 $as_echo "$as_me: failed program was:" >&5
2009sed 's/^/| /' conftest.$ac_ext >&5
2010
2011 ac_retval=1
2012fi
2013 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2014 as_fn_set_status $ac_retval
2015
2016} # ac_fn_c_try_cpp
2017
2018# ac_fn_c_try_run LINENO
2019# ----------------------
2020# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2021# that executables *can* be run.
2022ac_fn_c_try_run ()
2023{
2024 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2025 if { { ac_try="$ac_link"
2026case "(($ac_try" in
2027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2028 *) ac_try_echo=$ac_try;;
2029esac
2030eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2031$as_echo "$ac_try_echo"; } >&5
2032 (eval "$ac_link") 2>&5
2033 ac_status=$?
2034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2035 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2036 { { case "(($ac_try" in
2037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2038 *) ac_try_echo=$ac_try;;
2039esac
2040eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2041$as_echo "$ac_try_echo"; } >&5
2042 (eval "$ac_try") 2>&5
2043 ac_status=$?
2044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2045 test $ac_status = 0; }; }; then :
2046 ac_retval=0
2047else
2048 $as_echo "$as_me: program exited with status $ac_status" >&5
2049 $as_echo "$as_me: failed program was:" >&5
2050sed 's/^/| /' conftest.$ac_ext >&5
2051
2052 ac_retval=$ac_status
2053fi
2054 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2055 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2056 as_fn_set_status $ac_retval
2057
2058} # ac_fn_c_try_run
2059
2060# ac_fn_c_check_func LINENO FUNC VAR
2061# ----------------------------------
2062# Tests whether FUNC exists, setting the cache variable VAR accordingly
2063ac_fn_c_check_func ()
2064{
2065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2067$as_echo_n "checking for $2... " >&6; }
2068if eval "test \"\${$3+set}\"" = set; then :
2069 $as_echo_n "(cached) " >&6
2070else
2071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2072/* end confdefs.h. */
2073/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2075#define $2 innocuous_$2
2076
2077/* System header to define __stub macros and hopefully few prototypes,
2078 which can conflict with char $2 (); below.
2079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2080 <limits.h> exists even on freestanding compilers. */
2081
2082#ifdef __STDC__
2083# include <limits.h>
2084#else
2085# include <assert.h>
2086#endif
2087
2088#undef $2
2089
2090/* Override any GCC internal prototype to avoid an error.
2091 Use char because int might match the return type of a GCC
2092 builtin and then its argument prototype would still apply. */
2093#ifdef __cplusplus
2094extern "C"
2095#endif
2096char $2 ();
2097/* The GNU C library defines this for functions which it implements
2098 to always fail with ENOSYS. Some functions are actually named
2099 something starting with __ and the normal name is an alias. */
2100#if defined __stub_$2 || defined __stub___$2
2101choke me
2102#endif
2103
2104int
2105main ()
2106{
2107return $2 ();
2108 ;
2109 return 0;
2110}
2111_ACEOF
2112if ac_fn_c_try_link "$LINENO"; then :
2113 eval "$3=yes"
2114else
2115 eval "$3=no"
2116fi
2117rm -f core conftest.err conftest.$ac_objext \
2118 conftest$ac_exeext conftest.$ac_ext
2119fi
2120eval ac_res=\$$3
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2122$as_echo "$ac_res" >&6; }
2123 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2124
2125} # ac_fn_c_check_func
2126
2127# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2128# -------------------------------------------------------
2129# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2130# the include files in INCLUDES and setting the cache variable VAR
2131# accordingly.
2132ac_fn_c_check_header_mongrel ()
2133{
2134 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2135 if eval "test \"\${$3+set}\"" = set; then :
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2137$as_echo_n "checking for $2... " >&6; }
2138if eval "test \"\${$3+set}\"" = set; then :
2139 $as_echo_n "(cached) " >&6
2140fi
2141eval ac_res=\$$3
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2143$as_echo "$ac_res" >&6; }
2144else
2145 # Is the header compilable?
2146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2147$as_echo_n "checking $2 usability... " >&6; }
2148cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2149/* end confdefs.h. */
2150$4
2151#include <$2>
2152_ACEOF
2153if ac_fn_c_try_compile "$LINENO"; then :
2154 ac_header_compiler=yes
2155else
2156 ac_header_compiler=no
2157fi
2158rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2160$as_echo "$ac_header_compiler" >&6; }
2161
2162# Is the header present?
2163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2164$as_echo_n "checking $2 presence... " >&6; }
2165cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2166/* end confdefs.h. */
2167#include <$2>
2168_ACEOF
2169if ac_fn_c_try_cpp "$LINENO"; then :
2170 ac_header_preproc=yes
2171else
2172 ac_header_preproc=no
2173fi
2174rm -f conftest.err conftest.i conftest.$ac_ext
2175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2176$as_echo "$ac_header_preproc" >&6; }
2177
2178# So? What about this header?
2179case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2180 yes:no: )
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2182$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2184$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2185 ;;
2186 no:yes:* )
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2188$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2190$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2192$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2194$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2196$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2197( $as_echo "## -------------------------------------------------------- ##
2198## Report this to enlightenment-devel@lists.sourceforge.net ##
2199## -------------------------------------------------------- ##"
2200 ) | sed "s/^/$as_me: WARNING: /" >&2
2201 ;;
2202esac
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2204$as_echo_n "checking for $2... " >&6; }
2205if eval "test \"\${$3+set}\"" = set; then :
2206 $as_echo_n "(cached) " >&6
2207else
2208 eval "$3=\$ac_header_compiler"
2209fi
2210eval ac_res=\$$3
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2212$as_echo "$ac_res" >&6; }
2213fi
2214 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2215
2216} # ac_fn_c_check_header_mongrel
2217cat >config.log <<_ACEOF
2218This file contains any messages produced by compilers while
2219running configure, to aid debugging if configure makes a mistake.
2220
2221It was created by edje $as_me 1.2.0-alpha, which was
2222generated by GNU Autoconf 2.67. Invocation command line was
2223
2224 $ $0 $@
2225
2226_ACEOF
2227exec 5>>config.log
2228{
2229cat <<_ASUNAME
2230## --------- ##
2231## Platform. ##
2232## --------- ##
2233
2234hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2235uname -m = `(uname -m) 2>/dev/null || echo unknown`
2236uname -r = `(uname -r) 2>/dev/null || echo unknown`
2237uname -s = `(uname -s) 2>/dev/null || echo unknown`
2238uname -v = `(uname -v) 2>/dev/null || echo unknown`
2239
2240/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2241/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2242
2243/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2244/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2245/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2246/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2247/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2248/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2249/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2250
2251_ASUNAME
2252
2253as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254for as_dir in $PATH
2255do
2256 IFS=$as_save_IFS
2257 test -z "$as_dir" && as_dir=.
2258 $as_echo "PATH: $as_dir"
2259 done
2260IFS=$as_save_IFS
2261
2262} >&5
2263
2264cat >&5 <<_ACEOF
2265
2266
2267## ----------- ##
2268## Core tests. ##
2269## ----------- ##
2270
2271_ACEOF
2272
2273
2274# Keep a trace of the command line.
2275# Strip out --no-create and --no-recursion so they do not pile up.
2276# Strip out --silent because we don't want to record it for future runs.
2277# Also quote any args containing shell meta-characters.
2278# Make two passes to allow for proper duplicate-argument suppression.
2279ac_configure_args=
2280ac_configure_args0=
2281ac_configure_args1=
2282ac_must_keep_next=false
2283for ac_pass in 1 2
2284do
2285 for ac_arg
2286 do
2287 case $ac_arg in
2288 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2289 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2290 | -silent | --silent | --silen | --sile | --sil)
2291 continue ;;
2292 *\'*)
2293 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2294 esac
2295 case $ac_pass in
2296 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2297 2)
2298 as_fn_append ac_configure_args1 " '$ac_arg'"
2299 if test $ac_must_keep_next = true; then
2300 ac_must_keep_next=false # Got value, back to normal.
2301 else
2302 case $ac_arg in
2303 *=* | --config-cache | -C | -disable-* | --disable-* \
2304 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2305 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2306 | -with-* | --with-* | -without-* | --without-* | --x)
2307 case "$ac_configure_args0 " in
2308 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2309 esac
2310 ;;
2311 -* ) ac_must_keep_next=true ;;
2312 esac
2313 fi
2314 as_fn_append ac_configure_args " '$ac_arg'"
2315 ;;
2316 esac
2317 done
2318done
2319{ ac_configure_args0=; unset ac_configure_args0;}
2320{ ac_configure_args1=; unset ac_configure_args1;}
2321
2322# When interrupted or exit'd, cleanup temporary files, and complete
2323# config.log. We remove comments because anyway the quotes in there
2324# would cause problems or look ugly.
2325# WARNING: Use '\'' to represent an apostrophe within the trap.
2326# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2327trap 'exit_status=$?
2328 # Save into config.log some information that might help in debugging.
2329 {
2330 echo
2331
2332 $as_echo "## ---------------- ##
2333## Cache variables. ##
2334## ---------------- ##"
2335 echo
2336 # The following way of writing the cache mishandles newlines in values,
2337(
2338 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2339 eval ac_val=\$$ac_var
2340 case $ac_val in #(
2341 *${as_nl}*)
2342 case $ac_var in #(
2343 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2344$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2345 esac
2346 case $ac_var in #(
2347 _ | IFS | as_nl) ;; #(
2348 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2349 *) { eval $ac_var=; unset $ac_var;} ;;
2350 esac ;;
2351 esac
2352 done
2353 (set) 2>&1 |
2354 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2355 *${as_nl}ac_space=\ *)
2356 sed -n \
2357 "s/'\''/'\''\\\\'\'''\''/g;
2358 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2359 ;; #(
2360 *)
2361 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2362 ;;
2363 esac |
2364 sort
2365)
2366 echo
2367
2368 $as_echo "## ----------------- ##
2369## Output variables. ##
2370## ----------------- ##"
2371 echo
2372 for ac_var in $ac_subst_vars
2373 do
2374 eval ac_val=\$$ac_var
2375 case $ac_val in
2376 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2377 esac
2378 $as_echo "$ac_var='\''$ac_val'\''"
2379 done | sort
2380 echo
2381
2382 if test -n "$ac_subst_files"; then
2383 $as_echo "## ------------------- ##
2384## File substitutions. ##
2385## ------------------- ##"
2386 echo
2387 for ac_var in $ac_subst_files
2388 do
2389 eval ac_val=\$$ac_var
2390 case $ac_val in
2391 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2392 esac
2393 $as_echo "$ac_var='\''$ac_val'\''"
2394 done | sort
2395 echo
2396 fi
2397
2398 if test -s confdefs.h; then
2399 $as_echo "## ----------- ##
2400## confdefs.h. ##
2401## ----------- ##"
2402 echo
2403 cat confdefs.h
2404 echo
2405 fi
2406 test "$ac_signal" != 0 &&
2407 $as_echo "$as_me: caught signal $ac_signal"
2408 $as_echo "$as_me: exit $exit_status"
2409 } >&5
2410 rm -f core *.core core.conftest.* &&
2411 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2412 exit $exit_status
2413' 0
2414for ac_signal in 1 2 13 15; do
2415 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2416done
2417ac_signal=0
2418
2419# confdefs.h avoids OS command line length limits that DEFS can exceed.
2420rm -f -r conftest* confdefs.h
2421
2422$as_echo "/* confdefs.h */" > confdefs.h
2423
2424# Predefined preprocessor variables.
2425
2426cat >>confdefs.h <<_ACEOF
2427#define PACKAGE_NAME "$PACKAGE_NAME"
2428_ACEOF
2429
2430cat >>confdefs.h <<_ACEOF
2431#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2432_ACEOF
2433
2434cat >>confdefs.h <<_ACEOF
2435#define PACKAGE_VERSION "$PACKAGE_VERSION"
2436_ACEOF
2437
2438cat >>confdefs.h <<_ACEOF
2439#define PACKAGE_STRING "$PACKAGE_STRING"
2440_ACEOF
2441
2442cat >>confdefs.h <<_ACEOF
2443#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2444_ACEOF
2445
2446cat >>confdefs.h <<_ACEOF
2447#define PACKAGE_URL "$PACKAGE_URL"
2448_ACEOF
2449
2450
2451# Let the site file select an alternate cache file if it wants to.
2452# Prefer an explicitly selected file to automatically selected ones.
2453ac_site_file1=NONE
2454ac_site_file2=NONE
2455if test -n "$CONFIG_SITE"; then
2456 # We do not want a PATH search for config.site.
2457 case $CONFIG_SITE in #((
2458 -*) ac_site_file1=./$CONFIG_SITE;;
2459 */*) ac_site_file1=$CONFIG_SITE;;
2460 *) ac_site_file1=./$CONFIG_SITE;;
2461 esac
2462elif test "x$prefix" != xNONE; then
2463 ac_site_file1=$prefix/share/config.site
2464 ac_site_file2=$prefix/etc/config.site
2465else
2466 ac_site_file1=$ac_default_prefix/share/config.site
2467 ac_site_file2=$ac_default_prefix/etc/config.site
2468fi
2469for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2470do
2471 test "x$ac_site_file" = xNONE && continue
2472 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2474$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2475 sed 's/^/| /' "$ac_site_file" >&5
2476 . "$ac_site_file" \
2477 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2478$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2479as_fn_error $? "failed to load site script $ac_site_file
2480See \`config.log' for more details" "$LINENO" 5 ; }
2481 fi
2482done
2483
2484if test -r "$cache_file"; then
2485 # Some versions of bash will fail to source /dev/null (special files
2486 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2487 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2489$as_echo "$as_me: loading cache $cache_file" >&6;}
2490 case $cache_file in
2491 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2492 *) . "./$cache_file";;
2493 esac
2494 fi
2495else
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2497$as_echo "$as_me: creating cache $cache_file" >&6;}
2498 >$cache_file
2499fi
2500
2501# Check that the precious variables saved in the cache have kept the same
2502# value.
2503ac_cache_corrupted=false
2504for ac_var in $ac_precious_vars; do
2505 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2506 eval ac_new_set=\$ac_env_${ac_var}_set
2507 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2508 eval ac_new_val=\$ac_env_${ac_var}_value
2509 case $ac_old_set,$ac_new_set in
2510 set,)
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2512$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2513 ac_cache_corrupted=: ;;
2514 ,set)
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2516$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2517 ac_cache_corrupted=: ;;
2518 ,);;
2519 *)
2520 if test "x$ac_old_val" != "x$ac_new_val"; then
2521 # differences in whitespace do not lead to failure.
2522 ac_old_val_w=`echo x $ac_old_val`
2523 ac_new_val_w=`echo x $ac_new_val`
2524 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2526$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2527 ac_cache_corrupted=:
2528 else
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2530$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2531 eval $ac_var=\$ac_old_val
2532 fi
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2534$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2536$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2537 fi;;
2538 esac
2539 # Pass precious variables to config.status.
2540 if test "$ac_new_set" = set; then
2541 case $ac_new_val in
2542 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2543 *) ac_arg=$ac_var=$ac_new_val ;;
2544 esac
2545 case " $ac_configure_args " in
2546 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2547 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2548 esac
2549 fi
2550done
2551if $ac_cache_corrupted; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2553$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2555$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2556 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2557fi
2558## -------------------- ##
2559## Main body of script. ##
2560## -------------------- ##
2561
2562ac_ext=c
2563ac_cpp='$CPP $CPPFLAGS'
2564ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2565ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2566ac_compiler_gnu=$ac_cv_c_compiler_gnu
2567
2568
2569
2570
2571
2572
2573ac_config_headers="$ac_config_headers config.h"
2574
2575
2576
2577
2578am__api_version='1.11'
2579
2580ac_aux_dir=
2581for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2582 if test -f "$ac_dir/install-sh"; then
2583 ac_aux_dir=$ac_dir
2584 ac_install_sh="$ac_aux_dir/install-sh -c"
2585 break
2586 elif test -f "$ac_dir/install.sh"; then
2587 ac_aux_dir=$ac_dir
2588 ac_install_sh="$ac_aux_dir/install.sh -c"
2589 break
2590 elif test -f "$ac_dir/shtool"; then
2591 ac_aux_dir=$ac_dir
2592 ac_install_sh="$ac_aux_dir/shtool install -c"
2593 break
2594 fi
2595done
2596if test -z "$ac_aux_dir"; then
2597 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2598fi
2599
2600# These three variables are undocumented and unsupported,
2601# and are intended to be withdrawn in a future Autoconf release.
2602# They can cause serious problems if a builder's source tree is in a directory
2603# whose full name contains unusual characters.
2604ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2605ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2606ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2607
2608
2609# Find a good install program. We prefer a C program (faster),
2610# so one script is as good as another. But avoid the broken or
2611# incompatible versions:
2612# SysV /etc/install, /usr/sbin/install
2613# SunOS /usr/etc/install
2614# IRIX /sbin/install
2615# AIX /bin/install
2616# AmigaOS /C/install, which installs bootblocks on floppy discs
2617# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2618# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2619# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2620# OS/2's system install, which has a completely different semantic
2621# ./install, which can be erroneously created by make from ./install.sh.
2622# Reject install programs that cannot install multiple files.
2623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2624$as_echo_n "checking for a BSD-compatible install... " >&6; }
2625if test -z "$INSTALL"; then
2626if test "${ac_cv_path_install+set}" = set; then :
2627 $as_echo_n "(cached) " >&6
2628else
2629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2630for as_dir in $PATH
2631do
2632 IFS=$as_save_IFS
2633 test -z "$as_dir" && as_dir=.
2634 # Account for people who put trailing slashes in PATH elements.
2635case $as_dir/ in #((
2636 ./ | .// | /[cC]/* | \
2637 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2638 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2639 /usr/ucb/* ) ;;
2640 *)
2641 # OSF1 and SCO ODT 3.0 have their own names for install.
2642 # Don't use installbsd from OSF since it installs stuff as root
2643 # by default.
2644 for ac_prog in ginstall scoinst install; do
2645 for ac_exec_ext in '' $ac_executable_extensions; do
2646 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2647 if test $ac_prog = install &&
2648 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2649 # AIX install. It has an incompatible calling convention.
2650 :
2651 elif test $ac_prog = install &&
2652 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2653 # program-specific install script used by HP pwplus--don't use.
2654 :
2655 else
2656 rm -rf conftest.one conftest.two conftest.dir
2657 echo one > conftest.one
2658 echo two > conftest.two
2659 mkdir conftest.dir
2660 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2661 test -s conftest.one && test -s conftest.two &&
2662 test -s conftest.dir/conftest.one &&
2663 test -s conftest.dir/conftest.two
2664 then
2665 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2666 break 3
2667 fi
2668 fi
2669 fi
2670 done
2671 done
2672 ;;
2673esac
2674
2675 done
2676IFS=$as_save_IFS
2677
2678rm -rf conftest.one conftest.two conftest.dir
2679
2680fi
2681 if test "${ac_cv_path_install+set}" = set; then
2682 INSTALL=$ac_cv_path_install
2683 else
2684 # As a last resort, use the slow shell script. Don't cache a
2685 # value for INSTALL within a source directory, because that will
2686 # break other packages using the cache if that directory is
2687 # removed, or if the value is a relative name.
2688 INSTALL=$ac_install_sh
2689 fi
2690fi
2691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2692$as_echo "$INSTALL" >&6; }
2693
2694# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2695# It thinks the first close brace ends the variable substitution.
2696test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2697
2698test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2699
2700test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2701
2702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2703$as_echo_n "checking whether build environment is sane... " >&6; }
2704# Just in case
2705sleep 1
2706echo timestamp > conftest.file
2707# Reject unsafe characters in $srcdir or the absolute working directory
2708# name. Accept space and tab only in the latter.
2709am_lf='
2710'
2711case `pwd` in
2712 *[\\\"\#\$\&\'\`$am_lf]*)
2713 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2714esac
2715case $srcdir in
2716 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2717 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2718esac
2719
2720# Do `set' in a subshell so we don't clobber the current shell's
2721# arguments. Must try -L first in case configure is actually a
2722# symlink; some systems play weird games with the mod time of symlinks
2723# (eg FreeBSD returns the mod time of the symlink's containing
2724# directory).
2725if (
2726 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2727 if test "$*" = "X"; then
2728 # -L didn't work.
2729 set X `ls -t "$srcdir/configure" conftest.file`
2730 fi
2731 rm -f conftest.file
2732 if test "$*" != "X $srcdir/configure conftest.file" \
2733 && test "$*" != "X conftest.file $srcdir/configure"; then
2734
2735 # If neither matched, then we have a broken ls. This can happen
2736 # if, for instance, CONFIG_SHELL is bash and it inherits a
2737 # broken ls alias from the environment. This has actually
2738 # happened. Such a system could not be considered "sane".
2739 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2740alias in your environment" "$LINENO" 5
2741 fi
2742
2743 test "$2" = conftest.file
2744 )
2745then
2746 # Ok.
2747 :
2748else
2749 as_fn_error $? "newly created file is older than distributed files!
2750Check your system clock" "$LINENO" 5
2751fi
2752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2753$as_echo "yes" >&6; }
2754test "$program_prefix" != NONE &&
2755 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2756# Use a double $ so make ignores it.
2757test "$program_suffix" != NONE &&
2758 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2759# Double any \ or $.
2760# By default was `s,x,x', remove it if useless.
2761ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2762program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2763
2764# expand $ac_aux_dir to an absolute path
2765am_aux_dir=`cd $ac_aux_dir && pwd`
2766
2767if test x"${MISSING+set}" != xset; then
2768 case $am_aux_dir in
2769 *\ * | *\ *)
2770 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2771 *)
2772 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2773 esac
2774fi
2775# Use eval to expand $SHELL
2776if eval "$MISSING --run true"; then
2777 am_missing_run="$MISSING --run "
2778else
2779 am_missing_run=
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2781$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2782fi
2783
2784if test x"${install_sh}" != xset; then
2785 case $am_aux_dir in
2786 *\ * | *\ *)
2787 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2788 *)
2789 install_sh="\${SHELL} $am_aux_dir/install-sh"
2790 esac
2791fi
2792
2793# Installed binaries are usually stripped using `strip' when the user
2794# run `make install-strip'. However `strip' might not be the right
2795# tool to use in cross-compilation environments, therefore Automake
2796# will honor the `STRIP' environment variable to overrule this program.
2797if test "$cross_compiling" != no; then
2798 if test -n "$ac_tool_prefix"; then
2799 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2800set dummy ${ac_tool_prefix}strip; ac_word=$2
2801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802$as_echo_n "checking for $ac_word... " >&6; }
2803if test "${ac_cv_prog_STRIP+set}" = set; then :
2804 $as_echo_n "(cached) " >&6
2805else
2806 if test -n "$STRIP"; then
2807 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2808else
2809as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2810for as_dir in $PATH
2811do
2812 IFS=$as_save_IFS
2813 test -z "$as_dir" && as_dir=.
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2816 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 break 2
2819 fi
2820done
2821 done
2822IFS=$as_save_IFS
2823
2824fi
2825fi
2826STRIP=$ac_cv_prog_STRIP
2827if test -n "$STRIP"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2829$as_echo "$STRIP" >&6; }
2830else
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832$as_echo "no" >&6; }
2833fi
2834
2835
2836fi
2837if test -z "$ac_cv_prog_STRIP"; then
2838 ac_ct_STRIP=$STRIP
2839 # Extract the first word of "strip", so it can be a program name with args.
2840set dummy strip; ac_word=$2
2841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842$as_echo_n "checking for $ac_word... " >&6; }
2843if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2844 $as_echo_n "(cached) " >&6
2845else
2846 if test -n "$ac_ct_STRIP"; then
2847 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2848else
2849as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850for as_dir in $PATH
2851do
2852 IFS=$as_save_IFS
2853 test -z "$as_dir" && as_dir=.
2854 for ac_exec_ext in '' $ac_executable_extensions; do
2855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2856 ac_cv_prog_ac_ct_STRIP="strip"
2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2858 break 2
2859 fi
2860done
2861 done
2862IFS=$as_save_IFS
2863
2864fi
2865fi
2866ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2867if test -n "$ac_ct_STRIP"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2869$as_echo "$ac_ct_STRIP" >&6; }
2870else
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872$as_echo "no" >&6; }
2873fi
2874
2875 if test "x$ac_ct_STRIP" = x; then
2876 STRIP=":"
2877 else
2878 case $cross_compiling:$ac_tool_warned in
2879yes:)
2880{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2881$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2882ac_tool_warned=yes ;;
2883esac
2884 STRIP=$ac_ct_STRIP
2885 fi
2886else
2887 STRIP="$ac_cv_prog_STRIP"
2888fi
2889
2890fi
2891INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2892
2893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2894$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2895if test -z "$MKDIR_P"; then
2896 if test "${ac_cv_path_mkdir+set}" = set; then :
2897 $as_echo_n "(cached) " >&6
2898else
2899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2900for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2901do
2902 IFS=$as_save_IFS
2903 test -z "$as_dir" && as_dir=.
2904 for ac_prog in mkdir gmkdir; do
2905 for ac_exec_ext in '' $ac_executable_extensions; do
2906 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2907 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2908 'mkdir (GNU coreutils) '* | \
2909 'mkdir (coreutils) '* | \
2910 'mkdir (fileutils) '4.1*)
2911 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2912 break 3;;
2913 esac
2914 done
2915 done
2916 done
2917IFS=$as_save_IFS
2918
2919fi
2920
2921 test -d ./--version && rmdir ./--version
2922 if test "${ac_cv_path_mkdir+set}" = set; then
2923 MKDIR_P="$ac_cv_path_mkdir -p"
2924 else
2925 # As a last resort, use the slow shell script. Don't cache a
2926 # value for MKDIR_P within a source directory, because that will
2927 # break other packages using the cache if that directory is
2928 # removed, or if the value is a relative name.
2929 MKDIR_P="$ac_install_sh -d"
2930 fi
2931fi
2932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2933$as_echo "$MKDIR_P" >&6; }
2934
2935mkdir_p="$MKDIR_P"
2936case $mkdir_p in
2937 [\\/$]* | ?:[\\/]*) ;;
2938 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2939esac
2940
2941for ac_prog in gawk mawk nawk awk
2942do
2943 # Extract the first word of "$ac_prog", so it can be a program name with args.
2944set dummy $ac_prog; ac_word=$2
2945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2946$as_echo_n "checking for $ac_word... " >&6; }
2947if test "${ac_cv_prog_AWK+set}" = set; then :
2948 $as_echo_n "(cached) " >&6
2949else
2950 if test -n "$AWK"; then
2951 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2952else
2953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2954for as_dir in $PATH
2955do
2956 IFS=$as_save_IFS
2957 test -z "$as_dir" && as_dir=.
2958 for ac_exec_ext in '' $ac_executable_extensions; do
2959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2960 ac_cv_prog_AWK="$ac_prog"
2961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 break 2
2963 fi
2964done
2965 done
2966IFS=$as_save_IFS
2967
2968fi
2969fi
2970AWK=$ac_cv_prog_AWK
2971if test -n "$AWK"; then
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2973$as_echo "$AWK" >&6; }
2974else
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2976$as_echo "no" >&6; }
2977fi
2978
2979
2980 test -n "$AWK" && break
2981done
2982
2983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2984$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2985set x ${MAKE-make}
2986ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2987if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2988 $as_echo_n "(cached) " >&6
2989else
2990 cat >conftest.make <<\_ACEOF
2991SHELL = /bin/sh
2992all:
2993 @echo '@@@%%%=$(MAKE)=@@@%%%'
2994_ACEOF
2995# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2996case `${MAKE-make} -f conftest.make 2>/dev/null` in
2997 *@@@%%%=?*=@@@%%%*)
2998 eval ac_cv_prog_make_${ac_make}_set=yes;;
2999 *)
3000 eval ac_cv_prog_make_${ac_make}_set=no;;
3001esac
3002rm -f conftest.make
3003fi
3004if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3006$as_echo "yes" >&6; }
3007 SET_MAKE=
3008else
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010$as_echo "no" >&6; }
3011 SET_MAKE="MAKE=${MAKE-make}"
3012fi
3013
3014rm -rf .tst 2>/dev/null
3015mkdir .tst 2>/dev/null
3016if test -d .tst; then
3017 am__leading_dot=.
3018else
3019 am__leading_dot=_
3020fi
3021rmdir .tst 2>/dev/null
3022
3023if test "`cd $srcdir && pwd`" != "`pwd`"; then
3024 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3025 # is not polluted with repeated "-I."
3026 am__isrc=' -I$(srcdir)'
3027 # test to see if srcdir already configured
3028 if test -f $srcdir/config.status; then
3029 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3030 fi
3031fi
3032
3033# test whether we have cygpath
3034if test -z "$CYGPATH_W"; then
3035 if (cygpath --version) >/dev/null 2>/dev/null; then
3036 CYGPATH_W='cygpath -w'
3037 else
3038 CYGPATH_W=echo
3039 fi
3040fi
3041
3042
3043# Define the identity of the package.
3044 PACKAGE='edje'
3045 VERSION='1.2.0-alpha'
3046
3047
3048cat >>confdefs.h <<_ACEOF
3049#define PACKAGE "$PACKAGE"
3050_ACEOF
3051
3052
3053cat >>confdefs.h <<_ACEOF
3054#define VERSION "$VERSION"
3055_ACEOF
3056
3057# Some tools Automake needs.
3058
3059ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3060
3061
3062AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3063
3064
3065AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3066
3067
3068AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3069
3070
3071MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3072
3073# We need awk for the "check" target. The system "awk" is bad on
3074# some platforms.
3075# Always define AMTAR for backward compatibility.
3076
3077AMTAR=${AMTAR-"${am_missing_run}tar"}
3078
3079am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3080
3081
3082
3083
3084
3085# Check whether --enable-silent-rules was given.
3086if test "${enable_silent_rules+set}" = set; then :
3087 enableval=$enable_silent_rules;
3088fi
3089
3090case $enable_silent_rules in
3091yes) AM_DEFAULT_VERBOSITY=0;;
3092no) AM_DEFAULT_VERBOSITY=1;;
3093*) AM_DEFAULT_VERBOSITY=0;;
3094esac
3095AM_BACKSLASH='\'
3096
3097
3098# Make sure we can run config.sub.
3099$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3100 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3101
3102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3103$as_echo_n "checking build system type... " >&6; }
3104if test "${ac_cv_build+set}" = set; then :
3105 $as_echo_n "(cached) " >&6
3106else
3107 ac_build_alias=$build_alias
3108test "x$ac_build_alias" = x &&
3109 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3110test "x$ac_build_alias" = x &&
3111 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3112ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3113 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3114
3115fi
3116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3117$as_echo "$ac_cv_build" >&6; }
3118case $ac_cv_build in
3119*-*-*) ;;
3120*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3121esac
3122build=$ac_cv_build
3123ac_save_IFS=$IFS; IFS='-'
3124set x $ac_cv_build
3125shift
3126build_cpu=$1
3127build_vendor=$2
3128shift; shift
3129# Remember, the first character of IFS is used to create $*,
3130# except with old shells:
3131build_os=$*
3132IFS=$ac_save_IFS
3133case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3134
3135
3136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3137$as_echo_n "checking host system type... " >&6; }
3138if test "${ac_cv_host+set}" = set; then :
3139 $as_echo_n "(cached) " >&6
3140else
3141 if test "x$host_alias" = x; then
3142 ac_cv_host=$ac_cv_build
3143else
3144 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3145 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3146fi
3147
3148fi
3149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3150$as_echo "$ac_cv_host" >&6; }
3151case $ac_cv_host in
3152*-*-*) ;;
3153*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3154esac
3155host=$ac_cv_host
3156ac_save_IFS=$IFS; IFS='-'
3157set x $ac_cv_host
3158shift
3159host_cpu=$1
3160host_vendor=$2
3161shift; shift
3162# Remember, the first character of IFS is used to create $*,
3163# except with old shells:
3164host_os=$*
3165IFS=$ac_save_IFS
3166case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3167
3168
3169enable_win32_dll=yes
3170
3171case $host in
3172*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3173 if test -n "$ac_tool_prefix"; then
3174 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3175set dummy ${ac_tool_prefix}as; ac_word=$2
3176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3177$as_echo_n "checking for $ac_word... " >&6; }
3178if test "${ac_cv_prog_AS+set}" = set; then :
3179 $as_echo_n "(cached) " >&6
3180else
3181 if test -n "$AS"; then
3182 ac_cv_prog_AS="$AS" # Let the user override the test.
3183else
3184as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185for as_dir in $PATH
3186do
3187 IFS=$as_save_IFS
3188 test -z "$as_dir" && as_dir=.
3189 for ac_exec_ext in '' $ac_executable_extensions; do
3190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3191 ac_cv_prog_AS="${ac_tool_prefix}as"
3192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3193 break 2
3194 fi
3195done
3196 done
3197IFS=$as_save_IFS
3198
3199fi
3200fi
3201AS=$ac_cv_prog_AS
3202if test -n "$AS"; then
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3204$as_echo "$AS" >&6; }
3205else
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3207$as_echo "no" >&6; }
3208fi
3209
3210
3211fi
3212if test -z "$ac_cv_prog_AS"; then
3213 ac_ct_AS=$AS
3214 # Extract the first word of "as", so it can be a program name with args.
3215set dummy as; ac_word=$2
3216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3217$as_echo_n "checking for $ac_word... " >&6; }
3218if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3219 $as_echo_n "(cached) " >&6
3220else
3221 if test -n "$ac_ct_AS"; then
3222 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3223else
3224as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3225for as_dir in $PATH
3226do
3227 IFS=$as_save_IFS
3228 test -z "$as_dir" && as_dir=.
3229 for ac_exec_ext in '' $ac_executable_extensions; do
3230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3231 ac_cv_prog_ac_ct_AS="as"
3232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3233 break 2
3234 fi
3235done
3236 done
3237IFS=$as_save_IFS
3238
3239fi
3240fi
3241ac_ct_AS=$ac_cv_prog_ac_ct_AS
3242if test -n "$ac_ct_AS"; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3244$as_echo "$ac_ct_AS" >&6; }
3245else
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247$as_echo "no" >&6; }
3248fi
3249
3250 if test "x$ac_ct_AS" = x; then
3251 AS="false"
3252 else
3253 case $cross_compiling:$ac_tool_warned in
3254yes:)
3255{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3256$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3257ac_tool_warned=yes ;;
3258esac
3259 AS=$ac_ct_AS
3260 fi
3261else
3262 AS="$ac_cv_prog_AS"
3263fi
3264
3265 if test -n "$ac_tool_prefix"; then
3266 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3267set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269$as_echo_n "checking for $ac_word... " >&6; }
3270if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3272else
3273 if test -n "$DLLTOOL"; then
3274 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3275else
3276as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277for as_dir in $PATH
3278do
3279 IFS=$as_save_IFS
3280 test -z "$as_dir" && as_dir=.
3281 for ac_exec_ext in '' $ac_executable_extensions; do
3282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 break 2
3286 fi
3287done
3288 done
3289IFS=$as_save_IFS
3290
3291fi
3292fi
3293DLLTOOL=$ac_cv_prog_DLLTOOL
3294if test -n "$DLLTOOL"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3296$as_echo "$DLLTOOL" >&6; }
3297else
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299$as_echo "no" >&6; }
3300fi
3301
3302
3303fi
3304if test -z "$ac_cv_prog_DLLTOOL"; then
3305 ac_ct_DLLTOOL=$DLLTOOL
3306 # Extract the first word of "dlltool", so it can be a program name with args.
3307set dummy dlltool; ac_word=$2
3308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309$as_echo_n "checking for $ac_word... " >&6; }
3310if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
3311 $as_echo_n "(cached) " >&6
3312else
3313 if test -n "$ac_ct_DLLTOOL"; then
3314 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3315else
3316as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317for as_dir in $PATH
3318do
3319 IFS=$as_save_IFS
3320 test -z "$as_dir" && as_dir=.
3321 for ac_exec_ext in '' $ac_executable_extensions; do
3322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 break 2
3326 fi
3327done
3328 done
3329IFS=$as_save_IFS
3330
3331fi
3332fi
3333ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3334if test -n "$ac_ct_DLLTOOL"; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3336$as_echo "$ac_ct_DLLTOOL" >&6; }
3337else
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339$as_echo "no" >&6; }
3340fi
3341
3342 if test "x$ac_ct_DLLTOOL" = x; then
3343 DLLTOOL="false"
3344 else
3345 case $cross_compiling:$ac_tool_warned in
3346yes:)
3347{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3348$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3349ac_tool_warned=yes ;;
3350esac
3351 DLLTOOL=$ac_ct_DLLTOOL
3352 fi
3353else
3354 DLLTOOL="$ac_cv_prog_DLLTOOL"
3355fi
3356
3357 if test -n "$ac_tool_prefix"; then
3358 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3359set dummy ${ac_tool_prefix}objdump; ac_word=$2
3360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3361$as_echo_n "checking for $ac_word... " >&6; }
3362if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
3363 $as_echo_n "(cached) " >&6
3364else
3365 if test -n "$OBJDUMP"; then
3366 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3367else
3368as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3369for as_dir in $PATH
3370do
3371 IFS=$as_save_IFS
3372 test -z "$as_dir" && as_dir=.
3373 for ac_exec_ext in '' $ac_executable_extensions; do
3374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3375 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3377 break 2
3378 fi
3379done
3380 done
3381IFS=$as_save_IFS
3382
3383fi
3384fi
3385OBJDUMP=$ac_cv_prog_OBJDUMP
3386if test -n "$OBJDUMP"; then
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3388$as_echo "$OBJDUMP" >&6; }
3389else
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3391$as_echo "no" >&6; }
3392fi
3393
3394
3395fi
3396if test -z "$ac_cv_prog_OBJDUMP"; then
3397 ac_ct_OBJDUMP=$OBJDUMP
3398 # Extract the first word of "objdump", so it can be a program name with args.
3399set dummy objdump; ac_word=$2
3400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3401$as_echo_n "checking for $ac_word... " >&6; }
3402if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
3403 $as_echo_n "(cached) " >&6
3404else
3405 if test -n "$ac_ct_OBJDUMP"; then
3406 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3407else
3408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3409for as_dir in $PATH
3410do
3411 IFS=$as_save_IFS
3412 test -z "$as_dir" && as_dir=.
3413 for ac_exec_ext in '' $ac_executable_extensions; do
3414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3415 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3417 break 2
3418 fi
3419done
3420 done
3421IFS=$as_save_IFS
3422
3423fi
3424fi
3425ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3426if test -n "$ac_ct_OBJDUMP"; then
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3428$as_echo "$ac_ct_OBJDUMP" >&6; }
3429else
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431$as_echo "no" >&6; }
3432fi
3433
3434 if test "x$ac_ct_OBJDUMP" = x; then
3435 OBJDUMP="false"
3436 else
3437 case $cross_compiling:$ac_tool_warned in
3438yes:)
3439{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3440$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3441ac_tool_warned=yes ;;
3442esac
3443 OBJDUMP=$ac_ct_OBJDUMP
3444 fi
3445else
3446 OBJDUMP="$ac_cv_prog_OBJDUMP"
3447fi
3448
3449 ;;
3450esac
3451
3452test -z "$AS" && AS=as
3453
3454
3455
3456
3457
3458test -z "$DLLTOOL" && DLLTOOL=dlltool
3459
3460
3461
3462
3463
3464test -z "$OBJDUMP" && OBJDUMP=objdump
3465
3466
3467
3468
3469
3470
3471
3472case `pwd` in
3473 *\ * | *\ *)
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3475$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3476esac
3477
3478
3479
3480macro_version='2.2.6b'
3481macro_revision='1.3017'
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495ltmain="$ac_aux_dir/ltmain.sh"
3496
3497DEPDIR="${am__leading_dot}deps"
3498
3499ac_config_commands="$ac_config_commands depfiles"
3500
3501
3502am_make=${MAKE-make}
3503cat > confinc << 'END'
3504am__doit:
3505 @echo this is the am__doit target
3506.PHONY: am__doit
3507END
3508# If we don't find an include directive, just comment out the code.
3509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3510$as_echo_n "checking for style of include used by $am_make... " >&6; }
3511am__include="#"
3512am__quote=
3513_am_result=none
3514# First try GNU make style include.
3515echo "include confinc" > confmf
3516# Ignore all kinds of additional output from `make'.
3517case `$am_make -s -f confmf 2> /dev/null` in #(
3518*the\ am__doit\ target*)
3519 am__include=include
3520 am__quote=
3521 _am_result=GNU
3522 ;;
3523esac
3524# Now try BSD make style include.
3525if test "$am__include" = "#"; then
3526 echo '.include "confinc"' > confmf
3527 case `$am_make -s -f confmf 2> /dev/null` in #(
3528 *the\ am__doit\ target*)
3529 am__include=.include
3530 am__quote="\""
3531 _am_result=BSD
3532 ;;
3533 esac
3534fi
3535
3536
3537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3538$as_echo "$_am_result" >&6; }
3539rm -f confinc confmf
3540
3541# Check whether --enable-dependency-tracking was given.
3542if test "${enable_dependency_tracking+set}" = set; then :
3543 enableval=$enable_dependency_tracking;
3544fi
3545
3546if test "x$enable_dependency_tracking" != xno; then
3547 am_depcomp="$ac_aux_dir/depcomp"
3548 AMDEPBACKSLASH='\'
3549fi
3550 if test "x$enable_dependency_tracking" != xno; then
3551 AMDEP_TRUE=
3552 AMDEP_FALSE='#'
3553else
3554 AMDEP_TRUE='#'
3555 AMDEP_FALSE=
3556fi
3557
3558
3559ac_ext=c
3560ac_cpp='$CPP $CPPFLAGS'
3561ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3562ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3563ac_compiler_gnu=$ac_cv_c_compiler_gnu
3564if test -n "$ac_tool_prefix"; then
3565 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3566set dummy ${ac_tool_prefix}gcc; ac_word=$2
3567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3568$as_echo_n "checking for $ac_word... " >&6; }
3569if test "${ac_cv_prog_CC+set}" = set; then :
3570 $as_echo_n "(cached) " >&6
3571else
3572 if test -n "$CC"; then
3573 ac_cv_prog_CC="$CC" # Let the user override the test.
3574else
3575as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3576for as_dir in $PATH
3577do
3578 IFS=$as_save_IFS
3579 test -z "$as_dir" && as_dir=.
3580 for ac_exec_ext in '' $ac_executable_extensions; do
3581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3582 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3584 break 2
3585 fi
3586done
3587 done
3588IFS=$as_save_IFS
3589
3590fi
3591fi
3592CC=$ac_cv_prog_CC
3593if test -n "$CC"; then
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3595$as_echo "$CC" >&6; }
3596else
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3598$as_echo "no" >&6; }
3599fi
3600
3601
3602fi
3603if test -z "$ac_cv_prog_CC"; then
3604 ac_ct_CC=$CC
3605 # Extract the first word of "gcc", so it can be a program name with args.
3606set dummy gcc; ac_word=$2
3607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3608$as_echo_n "checking for $ac_word... " >&6; }
3609if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3610 $as_echo_n "(cached) " >&6
3611else
3612 if test -n "$ac_ct_CC"; then
3613 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3614else
3615as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3616for as_dir in $PATH
3617do
3618 IFS=$as_save_IFS
3619 test -z "$as_dir" && as_dir=.
3620 for ac_exec_ext in '' $ac_executable_extensions; do
3621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3622 ac_cv_prog_ac_ct_CC="gcc"
3623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3624 break 2
3625 fi
3626done
3627 done
3628IFS=$as_save_IFS
3629
3630fi
3631fi
3632ac_ct_CC=$ac_cv_prog_ac_ct_CC
3633if test -n "$ac_ct_CC"; then
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3635$as_echo "$ac_ct_CC" >&6; }
3636else
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638$as_echo "no" >&6; }
3639fi
3640
3641 if test "x$ac_ct_CC" = x; then
3642 CC=""
3643 else
3644 case $cross_compiling:$ac_tool_warned in
3645yes:)
3646{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3647$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3648ac_tool_warned=yes ;;
3649esac
3650 CC=$ac_ct_CC
3651 fi
3652else
3653 CC="$ac_cv_prog_CC"
3654fi
3655
3656if test -z "$CC"; then
3657 if test -n "$ac_tool_prefix"; then
3658 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3659set dummy ${ac_tool_prefix}cc; ac_word=$2
3660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3661$as_echo_n "checking for $ac_word... " >&6; }
3662if test "${ac_cv_prog_CC+set}" = set; then :
3663 $as_echo_n "(cached) " >&6
3664else
3665 if test -n "$CC"; then
3666 ac_cv_prog_CC="$CC" # Let the user override the test.
3667else
3668as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3669for as_dir in $PATH
3670do
3671 IFS=$as_save_IFS
3672 test -z "$as_dir" && as_dir=.
3673 for ac_exec_ext in '' $ac_executable_extensions; do
3674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3675 ac_cv_prog_CC="${ac_tool_prefix}cc"
3676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3677 break 2
3678 fi
3679done
3680 done
3681IFS=$as_save_IFS
3682
3683fi
3684fi
3685CC=$ac_cv_prog_CC
3686if test -n "$CC"; then
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3688$as_echo "$CC" >&6; }
3689else
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3691$as_echo "no" >&6; }
3692fi
3693
3694
3695 fi
3696fi
3697if test -z "$CC"; then
3698 # Extract the first word of "cc", so it can be a program name with args.
3699set dummy cc; ac_word=$2
3700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701$as_echo_n "checking for $ac_word... " >&6; }
3702if test "${ac_cv_prog_CC+set}" = set; then :
3703 $as_echo_n "(cached) " >&6
3704else
3705 if test -n "$CC"; then
3706 ac_cv_prog_CC="$CC" # Let the user override the test.
3707else
3708 ac_prog_rejected=no
3709as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3710for as_dir in $PATH
3711do
3712 IFS=$as_save_IFS
3713 test -z "$as_dir" && as_dir=.
3714 for ac_exec_ext in '' $ac_executable_extensions; do
3715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3716 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3717 ac_prog_rejected=yes
3718 continue
3719 fi
3720 ac_cv_prog_CC="cc"
3721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3722 break 2
3723 fi
3724done
3725 done
3726IFS=$as_save_IFS
3727
3728if test $ac_prog_rejected = yes; then
3729 # We found a bogon in the path, so make sure we never use it.
3730 set dummy $ac_cv_prog_CC
3731 shift
3732 if test $# != 0; then
3733 # We chose a different compiler from the bogus one.
3734 # However, it has the same basename, so the bogon will be chosen
3735 # first if we set CC to just the basename; use the full file name.
3736 shift
3737 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3738 fi
3739fi
3740fi
3741fi
3742CC=$ac_cv_prog_CC
3743if test -n "$CC"; then
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3745$as_echo "$CC" >&6; }
3746else
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3748$as_echo "no" >&6; }
3749fi
3750
3751
3752fi
3753if test -z "$CC"; then
3754 if test -n "$ac_tool_prefix"; then
3755 for ac_prog in cl.exe
3756 do
3757 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3758set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3760$as_echo_n "checking for $ac_word... " >&6; }
3761if test "${ac_cv_prog_CC+set}" = set; then :
3762 $as_echo_n "(cached) " >&6
3763else
3764 if test -n "$CC"; then
3765 ac_cv_prog_CC="$CC" # Let the user override the test.
3766else
3767as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3768for as_dir in $PATH
3769do
3770 IFS=$as_save_IFS
3771 test -z "$as_dir" && as_dir=.
3772 for ac_exec_ext in '' $ac_executable_extensions; do
3773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3774 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3776 break 2
3777 fi
3778done
3779 done
3780IFS=$as_save_IFS
3781
3782fi
3783fi
3784CC=$ac_cv_prog_CC
3785if test -n "$CC"; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3787$as_echo "$CC" >&6; }
3788else
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790$as_echo "no" >&6; }
3791fi
3792
3793
3794 test -n "$CC" && break
3795 done
3796fi
3797if test -z "$CC"; then
3798 ac_ct_CC=$CC
3799 for ac_prog in cl.exe
3800do
3801 # Extract the first word of "$ac_prog", so it can be a program name with args.
3802set dummy $ac_prog; ac_word=$2
3803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3804$as_echo_n "checking for $ac_word... " >&6; }
3805if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3806 $as_echo_n "(cached) " >&6
3807else
3808 if test -n "$ac_ct_CC"; then
3809 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3810else
3811as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812for as_dir in $PATH
3813do
3814 IFS=$as_save_IFS
3815 test -z "$as_dir" && as_dir=.
3816 for ac_exec_ext in '' $ac_executable_extensions; do
3817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3818 ac_cv_prog_ac_ct_CC="$ac_prog"
3819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3820 break 2
3821 fi
3822done
3823 done
3824IFS=$as_save_IFS
3825
3826fi
3827fi
3828ac_ct_CC=$ac_cv_prog_ac_ct_CC
3829if test -n "$ac_ct_CC"; then
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3831$as_echo "$ac_ct_CC" >&6; }
3832else
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3834$as_echo "no" >&6; }
3835fi
3836
3837
3838 test -n "$ac_ct_CC" && break
3839done
3840
3841 if test "x$ac_ct_CC" = x; then
3842 CC=""
3843 else
3844 case $cross_compiling:$ac_tool_warned in
3845yes:)
3846{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3847$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3848ac_tool_warned=yes ;;
3849esac
3850 CC=$ac_ct_CC
3851 fi
3852fi
3853
3854fi
3855
3856
3857test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3858$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3859as_fn_error $? "no acceptable C compiler found in \$PATH
3860See \`config.log' for more details" "$LINENO" 5 ; }
3861
3862# Provide some information about the compiler.
3863$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3864set X $ac_compile
3865ac_compiler=$2
3866for ac_option in --version -v -V -qversion; do
3867 { { ac_try="$ac_compiler $ac_option >&5"
3868case "(($ac_try" in
3869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3870 *) ac_try_echo=$ac_try;;
3871esac
3872eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3873$as_echo "$ac_try_echo"; } >&5
3874 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3875 ac_status=$?
3876 if test -s conftest.err; then
3877 sed '10a\
3878... rest of stderr output deleted ...
3879 10q' conftest.err >conftest.er1
3880 cat conftest.er1 >&5
3881 fi
3882 rm -f conftest.er1 conftest.err
3883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3884 test $ac_status = 0; }
3885done
3886
3887cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888/* end confdefs.h. */
3889
3890int
3891main ()
3892{
3893
3894 ;
3895 return 0;
3896}
3897_ACEOF
3898ac_clean_files_save=$ac_clean_files
3899ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3900# Try to create an executable without -o first, disregard a.out.
3901# It will help us diagnose broken compilers, and finding out an intuition
3902# of exeext.
3903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3904$as_echo_n "checking whether the C compiler works... " >&6; }
3905ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3906
3907# The possible output files:
3908ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3909
3910ac_rmfiles=
3911for ac_file in $ac_files
3912do
3913 case $ac_file in
3914 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3915 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3916 esac
3917done
3918rm -f $ac_rmfiles
3919
3920if { { ac_try="$ac_link_default"
3921case "(($ac_try" in
3922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3923 *) ac_try_echo=$ac_try;;
3924esac
3925eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3926$as_echo "$ac_try_echo"; } >&5
3927 (eval "$ac_link_default") 2>&5
3928 ac_status=$?
3929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3930 test $ac_status = 0; }; then :
3931 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3932# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3933# in a Makefile. We should not override ac_cv_exeext if it was cached,
3934# so that the user can short-circuit this test for compilers unknown to
3935# Autoconf.
3936for ac_file in $ac_files ''
3937do
3938 test -f "$ac_file" || continue
3939 case $ac_file in
3940 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3941 ;;
3942 [ab].out )
3943 # We found the default executable, but exeext='' is most
3944 # certainly right.
3945 break;;
3946 *.* )
3947 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3948 then :; else
3949 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3950 fi
3951 # We set ac_cv_exeext here because the later test for it is not
3952 # safe: cross compilers may not add the suffix if given an `-o'
3953 # argument, so we may need to know it at that point already.
3954 # Even if this section looks crufty: it has the advantage of
3955 # actually working.
3956 break;;
3957 * )
3958 break;;
3959 esac
3960done
3961test "$ac_cv_exeext" = no && ac_cv_exeext=
3962
3963else
3964 ac_file=''
3965fi
3966if test -z "$ac_file"; then :
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3968$as_echo "no" >&6; }
3969$as_echo "$as_me: failed program was:" >&5
3970sed 's/^/| /' conftest.$ac_ext >&5
3971
3972{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3973$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3974as_fn_error 77 "C compiler cannot create executables
3975See \`config.log' for more details" "$LINENO" 5 ; }
3976else
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3978$as_echo "yes" >&6; }
3979fi
3980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3981$as_echo_n "checking for C compiler default output file name... " >&6; }
3982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3983$as_echo "$ac_file" >&6; }
3984ac_exeext=$ac_cv_exeext
3985
3986rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3987ac_clean_files=$ac_clean_files_save
3988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3989$as_echo_n "checking for suffix of executables... " >&6; }
3990if { { ac_try="$ac_link"
3991case "(($ac_try" in
3992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3993 *) ac_try_echo=$ac_try;;
3994esac
3995eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3996$as_echo "$ac_try_echo"; } >&5
3997 (eval "$ac_link") 2>&5
3998 ac_status=$?
3999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4000 test $ac_status = 0; }; then :
4001 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4002# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4003# work properly (i.e., refer to `conftest.exe'), while it won't with
4004# `rm'.
4005for ac_file in conftest.exe conftest conftest.*; do
4006 test -f "$ac_file" || continue
4007 case $ac_file in
4008 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4009 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4010 break;;
4011 * ) break;;
4012 esac
4013done
4014else
4015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4016$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4017as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4018See \`config.log' for more details" "$LINENO" 5 ; }
4019fi
4020rm -f conftest conftest$ac_cv_exeext
4021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4022$as_echo "$ac_cv_exeext" >&6; }
4023
4024rm -f conftest.$ac_ext
4025EXEEXT=$ac_cv_exeext
4026ac_exeext=$EXEEXT
4027cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4028/* end confdefs.h. */
4029#include <stdio.h>
4030int
4031main ()
4032{
4033FILE *f = fopen ("conftest.out", "w");
4034 return ferror (f) || fclose (f) != 0;
4035
4036 ;
4037 return 0;
4038}
4039_ACEOF
4040ac_clean_files="$ac_clean_files conftest.out"
4041# Check that the compiler produces executables we can run. If not, either
4042# the compiler is broken, or we cross compile.
4043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4044$as_echo_n "checking whether we are cross compiling... " >&6; }
4045if test "$cross_compiling" != yes; then
4046 { { ac_try="$ac_link"
4047case "(($ac_try" in
4048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049 *) ac_try_echo=$ac_try;;
4050esac
4051eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4052$as_echo "$ac_try_echo"; } >&5
4053 (eval "$ac_link") 2>&5
4054 ac_status=$?
4055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056 test $ac_status = 0; }
4057 if { ac_try='./conftest$ac_cv_exeext'
4058 { { case "(($ac_try" in
4059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4060 *) ac_try_echo=$ac_try;;
4061esac
4062eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4063$as_echo "$ac_try_echo"; } >&5
4064 (eval "$ac_try") 2>&5
4065 ac_status=$?
4066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4067 test $ac_status = 0; }; }; then
4068 cross_compiling=no
4069 else
4070 if test "$cross_compiling" = maybe; then
4071 cross_compiling=yes
4072 else
4073 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4074$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4075as_fn_error $? "cannot run C compiled programs.
4076If you meant to cross compile, use \`--host'.
4077See \`config.log' for more details" "$LINENO" 5 ; }
4078 fi
4079 fi
4080fi
4081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4082$as_echo "$cross_compiling" >&6; }
4083
4084rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4085ac_clean_files=$ac_clean_files_save
4086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4087$as_echo_n "checking for suffix of object files... " >&6; }
4088if test "${ac_cv_objext+set}" = set; then :
4089 $as_echo_n "(cached) " >&6
4090else
4091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4092/* end confdefs.h. */
4093
4094int
4095main ()
4096{
4097
4098 ;
4099 return 0;
4100}
4101_ACEOF
4102rm -f conftest.o conftest.obj
4103if { { ac_try="$ac_compile"
4104case "(($ac_try" in
4105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4106 *) ac_try_echo=$ac_try;;
4107esac
4108eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4109$as_echo "$ac_try_echo"; } >&5
4110 (eval "$ac_compile") 2>&5
4111 ac_status=$?
4112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4113 test $ac_status = 0; }; then :
4114 for ac_file in conftest.o conftest.obj conftest.*; do
4115 test -f "$ac_file" || continue;
4116 case $ac_file in
4117 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4118 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4119 break;;
4120 esac
4121done
4122else
4123 $as_echo "$as_me: failed program was:" >&5
4124sed 's/^/| /' conftest.$ac_ext >&5
4125
4126{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4127$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4128as_fn_error $? "cannot compute suffix of object files: cannot compile
4129See \`config.log' for more details" "$LINENO" 5 ; }
4130fi
4131rm -f conftest.$ac_cv_objext conftest.$ac_ext
4132fi
4133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4134$as_echo "$ac_cv_objext" >&6; }
4135OBJEXT=$ac_cv_objext
4136ac_objext=$OBJEXT
4137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4138$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4139if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4140 $as_echo_n "(cached) " >&6
4141else
4142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4143/* end confdefs.h. */
4144
4145int
4146main ()
4147{
4148#ifndef __GNUC__
4149 choke me
4150#endif
4151
4152 ;
4153 return 0;
4154}
4155_ACEOF
4156if ac_fn_c_try_compile "$LINENO"; then :
4157 ac_compiler_gnu=yes
4158else
4159 ac_compiler_gnu=no
4160fi
4161rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4162ac_cv_c_compiler_gnu=$ac_compiler_gnu
4163
4164fi
4165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4166$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4167if test $ac_compiler_gnu = yes; then
4168 GCC=yes
4169else
4170 GCC=
4171fi
4172ac_test_CFLAGS=${CFLAGS+set}
4173ac_save_CFLAGS=$CFLAGS
4174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4175$as_echo_n "checking whether $CC accepts -g... " >&6; }
4176if test "${ac_cv_prog_cc_g+set}" = set; then :
4177 $as_echo_n "(cached) " >&6
4178else
4179 ac_save_c_werror_flag=$ac_c_werror_flag
4180 ac_c_werror_flag=yes
4181 ac_cv_prog_cc_g=no
4182 CFLAGS="-g"
4183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4184/* end confdefs.h. */
4185
4186int
4187main ()
4188{
4189
4190 ;
4191 return 0;
4192}
4193_ACEOF
4194if ac_fn_c_try_compile "$LINENO"; then :
4195 ac_cv_prog_cc_g=yes
4196else
4197 CFLAGS=""
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199/* end confdefs.h. */
4200
4201int
4202main ()
4203{
4204
4205 ;
4206 return 0;
4207}
4208_ACEOF
4209if ac_fn_c_try_compile "$LINENO"; then :
4210
4211else
4212 ac_c_werror_flag=$ac_save_c_werror_flag
4213 CFLAGS="-g"
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215/* end confdefs.h. */
4216
4217int
4218main ()
4219{
4220
4221 ;
4222 return 0;
4223}
4224_ACEOF
4225if ac_fn_c_try_compile "$LINENO"; then :
4226 ac_cv_prog_cc_g=yes
4227fi
4228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229fi
4230rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4231fi
4232rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233 ac_c_werror_flag=$ac_save_c_werror_flag
4234fi
4235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4236$as_echo "$ac_cv_prog_cc_g" >&6; }
4237if test "$ac_test_CFLAGS" = set; then
4238 CFLAGS=$ac_save_CFLAGS
4239elif test $ac_cv_prog_cc_g = yes; then
4240 if test "$GCC" = yes; then
4241 CFLAGS="-g -O2"
4242 else
4243 CFLAGS="-g"
4244 fi
4245else
4246 if test "$GCC" = yes; then
4247 CFLAGS="-O2"
4248 else
4249 CFLAGS=
4250 fi
4251fi
4252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4253$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4254if test "${ac_cv_prog_cc_c89+set}" = set; then :
4255 $as_echo_n "(cached) " >&6
4256else
4257 ac_cv_prog_cc_c89=no
4258ac_save_CC=$CC
4259cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4260/* end confdefs.h. */
4261#include <stdarg.h>
4262#include <stdio.h>
4263#include <sys/types.h>
4264#include <sys/stat.h>
4265/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4266struct buf { int x; };
4267FILE * (*rcsopen) (struct buf *, struct stat *, int);
4268static char *e (p, i)
4269 char **p;
4270 int i;
4271{
4272 return p[i];
4273}
4274static char *f (char * (*g) (char **, int), char **p, ...)
4275{
4276 char *s;
4277 va_list v;
4278 va_start (v,p);
4279 s = g (p, va_arg (v,int));
4280 va_end (v);
4281 return s;
4282}
4283
4284/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4285 function prototypes and stuff, but not '\xHH' hex character constants.
4286 These don't provoke an error unfortunately, instead are silently treated
4287 as 'x'. The following induces an error, until -std is added to get
4288 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4289 array size at least. It's necessary to write '\x00'==0 to get something
4290 that's true only with -std. */
4291int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4292
4293/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4294 inside strings and character constants. */
4295#define FOO(x) 'x'
4296int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4297
4298int test (int i, double x);
4299struct s1 {int (*f) (int a);};
4300struct s2 {int (*f) (double a);};
4301int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4302int argc;
4303char **argv;
4304int
4305main ()
4306{
4307return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4308 ;
4309 return 0;
4310}
4311_ACEOF
4312for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4313 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4314do
4315 CC="$ac_save_CC $ac_arg"
4316 if ac_fn_c_try_compile "$LINENO"; then :
4317 ac_cv_prog_cc_c89=$ac_arg
4318fi
4319rm -f core conftest.err conftest.$ac_objext
4320 test "x$ac_cv_prog_cc_c89" != "xno" && break
4321done
4322rm -f conftest.$ac_ext
4323CC=$ac_save_CC
4324
4325fi
4326# AC_CACHE_VAL
4327case "x$ac_cv_prog_cc_c89" in
4328 x)
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4330$as_echo "none needed" >&6; } ;;
4331 xno)
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4333$as_echo "unsupported" >&6; } ;;
4334 *)
4335 CC="$CC $ac_cv_prog_cc_c89"
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4337$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4338esac
4339if test "x$ac_cv_prog_cc_c89" != xno; then :
4340
4341fi
4342
4343ac_ext=c
4344ac_cpp='$CPP $CPPFLAGS'
4345ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4346ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4347ac_compiler_gnu=$ac_cv_c_compiler_gnu
4348
4349depcc="$CC" am_compiler_list=
4350
4351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4352$as_echo_n "checking dependency style of $depcc... " >&6; }
4353if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4354 $as_echo_n "(cached) " >&6
4355else
4356 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4357 # We make a subdir and do the tests there. Otherwise we can end up
4358 # making bogus files that we don't know about and never remove. For
4359 # instance it was reported that on HP-UX the gcc test will end up
4360 # making a dummy file named `D' -- because `-MD' means `put the output
4361 # in D'.
4362 mkdir conftest.dir
4363 # Copy depcomp to subdir because otherwise we won't find it if we're
4364 # using a relative directory.
4365 cp "$am_depcomp" conftest.dir
4366 cd conftest.dir
4367 # We will build objects and dependencies in a subdirectory because
4368 # it helps to detect inapplicable dependency modes. For instance
4369 # both Tru64's cc and ICC support -MD to output dependencies as a
4370 # side effect of compilation, but ICC will put the dependencies in
4371 # the current directory while Tru64 will put them in the object
4372 # directory.
4373 mkdir sub
4374
4375 am_cv_CC_dependencies_compiler_type=none
4376 if test "$am_compiler_list" = ""; then
4377 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4378 fi
4379 am__universal=false
4380 case " $depcc " in #(
4381 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4382 esac
4383
4384 for depmode in $am_compiler_list; do
4385 # Setup a source with many dependencies, because some compilers
4386 # like to wrap large dependency lists on column 80 (with \), and
4387 # we should not choose a depcomp mode which is confused by this.
4388 #
4389 # We need to recreate these files for each test, as the compiler may
4390 # overwrite some of them when testing with obscure command lines.
4391 # This happens at least with the AIX C compiler.
4392 : > sub/conftest.c
4393 for i in 1 2 3 4 5 6; do
4394 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4395 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4396 # Solaris 8's {/usr,}/bin/sh.
4397 touch sub/conftst$i.h
4398 done
4399 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4400
4401 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4402 # mode. It turns out that the SunPro C++ compiler does not properly
4403 # handle `-M -o', and we need to detect this. Also, some Intel
4404 # versions had trouble with output in subdirs
4405 am__obj=sub/conftest.${OBJEXT-o}
4406 am__minus_obj="-o $am__obj"
4407 case $depmode in
4408 gcc)
4409 # This depmode causes a compiler race in universal mode.
4410 test "$am__universal" = false || continue
4411 ;;
4412 nosideeffect)
4413 # after this tag, mechanisms are not by side-effect, so they'll
4414 # only be used when explicitly requested
4415 if test "x$enable_dependency_tracking" = xyes; then
4416 continue
4417 else
4418 break
4419 fi
4420 ;;
4421 msvisualcpp | msvcmsys)
4422 # This compiler won't grok `-c -o', but also, the minuso test has
4423 # not run yet. These depmodes are late enough in the game, and
4424 # so weak that their functioning should not be impacted.
4425 am__obj=conftest.${OBJEXT-o}
4426 am__minus_obj=
4427 ;;
4428 none) break ;;
4429 esac
4430 if depmode=$depmode \
4431 source=sub/conftest.c object=$am__obj \
4432 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4433 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4434 >/dev/null 2>conftest.err &&
4435 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4436 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4437 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4438 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4439 # icc doesn't choke on unknown options, it will just issue warnings
4440 # or remarks (even with -Werror). So we grep stderr for any message
4441 # that says an option was ignored or not supported.
4442 # When given -MP, icc 7.0 and 7.1 complain thusly:
4443 # icc: Command line warning: ignoring option '-M'; no argument required
4444 # The diagnosis changed in icc 8.0:
4445 # icc: Command line remark: option '-MP' not supported
4446 if (grep 'ignoring option' conftest.err ||
4447 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4448 am_cv_CC_dependencies_compiler_type=$depmode
4449 break
4450 fi
4451 fi
4452 done
4453
4454 cd ..
4455 rm -rf conftest.dir
4456else
4457 am_cv_CC_dependencies_compiler_type=none
4458fi
4459
4460fi
4461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4462$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4463CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4464
4465 if
4466 test "x$enable_dependency_tracking" != xno \
4467 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4468 am__fastdepCC_TRUE=
4469 am__fastdepCC_FALSE='#'
4470else
4471 am__fastdepCC_TRUE='#'
4472 am__fastdepCC_FALSE=
4473fi
4474
4475
4476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4477$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4478if test "${ac_cv_path_SED+set}" = set; then :
4479 $as_echo_n "(cached) " >&6
4480else
4481 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4482 for ac_i in 1 2 3 4 5 6 7; do
4483 ac_script="$ac_script$as_nl$ac_script"
4484 done
4485 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4486 { ac_script=; unset ac_script;}
4487 if test -z "$SED"; then
4488 ac_path_SED_found=false
4489 # Loop through the user's path and test for each of PROGNAME-LIST
4490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4491for as_dir in $PATH
4492do
4493 IFS=$as_save_IFS
4494 test -z "$as_dir" && as_dir=.
4495 for ac_prog in sed gsed; do
4496 for ac_exec_ext in '' $ac_executable_extensions; do
4497 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4498 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4499# Check for GNU ac_path_SED and select it if it is found.
4500 # Check for GNU $ac_path_SED
4501case `"$ac_path_SED" --version 2>&1` in
4502*GNU*)
4503 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4504*)
4505 ac_count=0
4506 $as_echo_n 0123456789 >"conftest.in"
4507 while :
4508 do
4509 cat "conftest.in" "conftest.in" >"conftest.tmp"
4510 mv "conftest.tmp" "conftest.in"
4511 cp "conftest.in" "conftest.nl"
4512 $as_echo '' >> "conftest.nl"
4513 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4514 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4515 as_fn_arith $ac_count + 1 && ac_count=$as_val
4516 if test $ac_count -gt ${ac_path_SED_max-0}; then
4517 # Best one so far, save it but keep looking for a better one
4518 ac_cv_path_SED="$ac_path_SED"
4519 ac_path_SED_max=$ac_count
4520 fi
4521 # 10*(2^10) chars as input seems more than enough
4522 test $ac_count -gt 10 && break
4523 done
4524 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4525esac
4526
4527 $ac_path_SED_found && break 3
4528 done
4529 done
4530 done
4531IFS=$as_save_IFS
4532 if test -z "$ac_cv_path_SED"; then
4533 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4534 fi
4535else
4536 ac_cv_path_SED=$SED
4537fi
4538
4539fi
4540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4541$as_echo "$ac_cv_path_SED" >&6; }
4542 SED="$ac_cv_path_SED"
4543 rm -f conftest.sed
4544
4545test -z "$SED" && SED=sed
4546Xsed="$SED -e 1s/^X//"
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4559$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4560if test "${ac_cv_path_GREP+set}" = set; then :
4561 $as_echo_n "(cached) " >&6
4562else
4563 if test -z "$GREP"; then
4564 ac_path_GREP_found=false
4565 # Loop through the user's path and test for each of PROGNAME-LIST
4566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4567for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4568do
4569 IFS=$as_save_IFS
4570 test -z "$as_dir" && as_dir=.
4571 for ac_prog in grep ggrep; do
4572 for ac_exec_ext in '' $ac_executable_extensions; do
4573 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4574 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4575# Check for GNU ac_path_GREP and select it if it is found.
4576 # Check for GNU $ac_path_GREP
4577case `"$ac_path_GREP" --version 2>&1` in
4578*GNU*)
4579 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4580*)
4581 ac_count=0
4582 $as_echo_n 0123456789 >"conftest.in"
4583 while :
4584 do
4585 cat "conftest.in" "conftest.in" >"conftest.tmp"
4586 mv "conftest.tmp" "conftest.in"
4587 cp "conftest.in" "conftest.nl"
4588 $as_echo 'GREP' >> "conftest.nl"
4589 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4590 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4591 as_fn_arith $ac_count + 1 && ac_count=$as_val
4592 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4593 # Best one so far, save it but keep looking for a better one
4594 ac_cv_path_GREP="$ac_path_GREP"
4595 ac_path_GREP_max=$ac_count
4596 fi
4597 # 10*(2^10) chars as input seems more than enough
4598 test $ac_count -gt 10 && break
4599 done
4600 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4601esac
4602
4603 $ac_path_GREP_found && break 3
4604 done
4605 done
4606 done
4607IFS=$as_save_IFS
4608 if test -z "$ac_cv_path_GREP"; then
4609 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4610 fi
4611else
4612 ac_cv_path_GREP=$GREP
4613fi
4614
4615fi
4616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4617$as_echo "$ac_cv_path_GREP" >&6; }
4618 GREP="$ac_cv_path_GREP"
4619
4620
4621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4622$as_echo_n "checking for egrep... " >&6; }
4623if test "${ac_cv_path_EGREP+set}" = set; then :
4624 $as_echo_n "(cached) " >&6
4625else
4626 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4627 then ac_cv_path_EGREP="$GREP -E"
4628 else
4629 if test -z "$EGREP"; then
4630 ac_path_EGREP_found=false
4631 # Loop through the user's path and test for each of PROGNAME-LIST
4632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4633for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4634do
4635 IFS=$as_save_IFS
4636 test -z "$as_dir" && as_dir=.
4637 for ac_prog in egrep; do
4638 for ac_exec_ext in '' $ac_executable_extensions; do
4639 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4640 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4641# Check for GNU ac_path_EGREP and select it if it is found.
4642 # Check for GNU $ac_path_EGREP
4643case `"$ac_path_EGREP" --version 2>&1` in
4644*GNU*)
4645 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4646*)
4647 ac_count=0
4648 $as_echo_n 0123456789 >"conftest.in"
4649 while :
4650 do
4651 cat "conftest.in" "conftest.in" >"conftest.tmp"
4652 mv "conftest.tmp" "conftest.in"
4653 cp "conftest.in" "conftest.nl"
4654 $as_echo 'EGREP' >> "conftest.nl"
4655 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4656 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4657 as_fn_arith $ac_count + 1 && ac_count=$as_val
4658 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4659 # Best one so far, save it but keep looking for a better one
4660 ac_cv_path_EGREP="$ac_path_EGREP"
4661 ac_path_EGREP_max=$ac_count
4662 fi
4663 # 10*(2^10) chars as input seems more than enough
4664 test $ac_count -gt 10 && break
4665 done
4666 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4667esac
4668
4669 $ac_path_EGREP_found && break 3
4670 done
4671 done
4672 done
4673IFS=$as_save_IFS
4674 if test -z "$ac_cv_path_EGREP"; then
4675 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4676 fi
4677else
4678 ac_cv_path_EGREP=$EGREP
4679fi
4680
4681 fi
4682fi
4683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4684$as_echo "$ac_cv_path_EGREP" >&6; }
4685 EGREP="$ac_cv_path_EGREP"
4686
4687
4688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4689$as_echo_n "checking for fgrep... " >&6; }
4690if test "${ac_cv_path_FGREP+set}" = set; then :
4691 $as_echo_n "(cached) " >&6
4692else
4693 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4694 then ac_cv_path_FGREP="$GREP -F"
4695 else
4696 if test -z "$FGREP"; then
4697 ac_path_FGREP_found=false
4698 # Loop through the user's path and test for each of PROGNAME-LIST
4699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4700for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4701do
4702 IFS=$as_save_IFS
4703 test -z "$as_dir" && as_dir=.
4704 for ac_prog in fgrep; do
4705 for ac_exec_ext in '' $ac_executable_extensions; do
4706 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4707 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4708# Check for GNU ac_path_FGREP and select it if it is found.
4709 # Check for GNU $ac_path_FGREP
4710case `"$ac_path_FGREP" --version 2>&1` in
4711*GNU*)
4712 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4713*)
4714 ac_count=0
4715 $as_echo_n 0123456789 >"conftest.in"
4716 while :
4717 do
4718 cat "conftest.in" "conftest.in" >"conftest.tmp"
4719 mv "conftest.tmp" "conftest.in"
4720 cp "conftest.in" "conftest.nl"
4721 $as_echo 'FGREP' >> "conftest.nl"
4722 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4723 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4724 as_fn_arith $ac_count + 1 && ac_count=$as_val
4725 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4726 # Best one so far, save it but keep looking for a better one
4727 ac_cv_path_FGREP="$ac_path_FGREP"
4728 ac_path_FGREP_max=$ac_count
4729 fi
4730 # 10*(2^10) chars as input seems more than enough
4731 test $ac_count -gt 10 && break
4732 done
4733 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4734esac
4735
4736 $ac_path_FGREP_found && break 3
4737 done
4738 done
4739 done
4740IFS=$as_save_IFS
4741 if test -z "$ac_cv_path_FGREP"; then
4742 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4743 fi
4744else
4745 ac_cv_path_FGREP=$FGREP
4746fi
4747
4748 fi
4749fi
4750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4751$as_echo "$ac_cv_path_FGREP" >&6; }
4752 FGREP="$ac_cv_path_FGREP"
4753
4754
4755test -z "$GREP" && GREP=grep
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775# Check whether --with-gnu-ld was given.
4776if test "${with_gnu_ld+set}" = set; then :
4777 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4778else
4779 with_gnu_ld=no
4780fi
4781
4782ac_prog=ld
4783if test "$GCC" = yes; then
4784 # Check if gcc -print-prog-name=ld gives a path.
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4786$as_echo_n "checking for ld used by $CC... " >&6; }
4787 case $host in
4788 *-*-mingw*)
4789 # gcc leaves a trailing carriage return which upsets mingw
4790 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4791 *)
4792 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4793 esac
4794 case $ac_prog in
4795 # Accept absolute paths.
4796 [\\/]* | ?:[\\/]*)
4797 re_direlt='/[^/][^/]*/\.\./'
4798 # Canonicalize the pathname of ld
4799 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4800 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4801 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4802 done
4803 test -z "$LD" && LD="$ac_prog"
4804 ;;
4805 "")
4806 # If it fails, then pretend we aren't using GCC.
4807 ac_prog=ld
4808 ;;
4809 *)
4810 # If it is relative, then search for the first ld in PATH.
4811 with_gnu_ld=unknown
4812 ;;
4813 esac
4814elif test "$with_gnu_ld" = yes; then
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4816$as_echo_n "checking for GNU ld... " >&6; }
4817else
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4819$as_echo_n "checking for non-GNU ld... " >&6; }
4820fi
4821if test "${lt_cv_path_LD+set}" = set; then :
4822 $as_echo_n "(cached) " >&6
4823else
4824 if test -z "$LD"; then
4825 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4826 for ac_dir in $PATH; do
4827 IFS="$lt_save_ifs"
4828 test -z "$ac_dir" && ac_dir=.
4829 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4830 lt_cv_path_LD="$ac_dir/$ac_prog"
4831 # Check to see if the program is GNU ld. I'd rather use --version,
4832 # but apparently some variants of GNU ld only accept -v.
4833 # Break only if it was the GNU/non-GNU ld that we prefer.
4834 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4835 *GNU* | *'with BFD'*)
4836 test "$with_gnu_ld" != no && break
4837 ;;
4838 *)
4839 test "$with_gnu_ld" != yes && break
4840 ;;
4841 esac
4842 fi
4843 done
4844 IFS="$lt_save_ifs"
4845else
4846 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4847fi
4848fi
4849
4850LD="$lt_cv_path_LD"
4851if test -n "$LD"; then
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4853$as_echo "$LD" >&6; }
4854else
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856$as_echo "no" >&6; }
4857fi
4858test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4860$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4861if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4862 $as_echo_n "(cached) " >&6
4863else
4864 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4865case `$LD -v 2>&1 </dev/null` in
4866*GNU* | *'with BFD'*)
4867 lt_cv_prog_gnu_ld=yes
4868 ;;
4869*)
4870 lt_cv_prog_gnu_ld=no
4871 ;;
4872esac
4873fi
4874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4875$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4876with_gnu_ld=$lt_cv_prog_gnu_ld
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4887$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4888if test "${lt_cv_path_NM+set}" = set; then :
4889 $as_echo_n "(cached) " >&6
4890else
4891 if test -n "$NM"; then
4892 # Let the user override the test.
4893 lt_cv_path_NM="$NM"
4894else
4895 lt_nm_to_check="${ac_tool_prefix}nm"
4896 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4897 lt_nm_to_check="$lt_nm_to_check nm"
4898 fi
4899 for lt_tmp_nm in $lt_nm_to_check; do
4900 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4901 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4902 IFS="$lt_save_ifs"
4903 test -z "$ac_dir" && ac_dir=.
4904 tmp_nm="$ac_dir/$lt_tmp_nm"
4905 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4906 # Check to see if the nm accepts a BSD-compat flag.
4907 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4908 # nm: unknown option "B" ignored
4909 # Tru64's nm complains that /dev/null is an invalid object file
4910 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4911 */dev/null* | *'Invalid file or object type'*)
4912 lt_cv_path_NM="$tmp_nm -B"
4913 break
4914 ;;
4915 *)
4916 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4917 */dev/null*)
4918 lt_cv_path_NM="$tmp_nm -p"
4919 break
4920 ;;
4921 *)
4922 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4923 continue # so that we can try to find one that supports BSD flags
4924 ;;
4925 esac
4926 ;;
4927 esac
4928 fi
4929 done
4930 IFS="$lt_save_ifs"
4931 done
4932 : ${lt_cv_path_NM=no}
4933fi
4934fi
4935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4936$as_echo "$lt_cv_path_NM" >&6; }
4937if test "$lt_cv_path_NM" != "no"; then
4938 NM="$lt_cv_path_NM"
4939else
4940 # Didn't find any BSD compatible name lister, look for dumpbin.
4941 if test -n "$ac_tool_prefix"; then
4942 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4943 do
4944 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4945set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4947$as_echo_n "checking for $ac_word... " >&6; }
4948if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4949 $as_echo_n "(cached) " >&6
4950else
4951 if test -n "$DUMPBIN"; then
4952 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4953else
4954as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4955for as_dir in $PATH
4956do
4957 IFS=$as_save_IFS
4958 test -z "$as_dir" && as_dir=.
4959 for ac_exec_ext in '' $ac_executable_extensions; do
4960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4961 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4963 break 2
4964 fi
4965done
4966 done
4967IFS=$as_save_IFS
4968
4969fi
4970fi
4971DUMPBIN=$ac_cv_prog_DUMPBIN
4972if test -n "$DUMPBIN"; then
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4974$as_echo "$DUMPBIN" >&6; }
4975else
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977$as_echo "no" >&6; }
4978fi
4979
4980
4981 test -n "$DUMPBIN" && break
4982 done
4983fi
4984if test -z "$DUMPBIN"; then
4985 ac_ct_DUMPBIN=$DUMPBIN
4986 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4987do
4988 # Extract the first word of "$ac_prog", so it can be a program name with args.
4989set dummy $ac_prog; ac_word=$2
4990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4991$as_echo_n "checking for $ac_word... " >&6; }
4992if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4993 $as_echo_n "(cached) " >&6
4994else
4995 if test -n "$ac_ct_DUMPBIN"; then
4996 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4997else
4998as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999for as_dir in $PATH
5000do
5001 IFS=$as_save_IFS
5002 test -z "$as_dir" && as_dir=.
5003 for ac_exec_ext in '' $ac_executable_extensions; do
5004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5005 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 break 2
5008 fi
5009done
5010 done
5011IFS=$as_save_IFS
5012
5013fi
5014fi
5015ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5016if test -n "$ac_ct_DUMPBIN"; then
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5018$as_echo "$ac_ct_DUMPBIN" >&6; }
5019else
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5021$as_echo "no" >&6; }
5022fi
5023
5024
5025 test -n "$ac_ct_DUMPBIN" && break
5026done
5027
5028 if test "x$ac_ct_DUMPBIN" = x; then
5029 DUMPBIN=":"
5030 else
5031 case $cross_compiling:$ac_tool_warned in
5032yes:)
5033{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5034$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5035ac_tool_warned=yes ;;
5036esac
5037 DUMPBIN=$ac_ct_DUMPBIN
5038 fi
5039fi
5040
5041
5042 if test "$DUMPBIN" != ":"; then
5043 NM="$DUMPBIN"
5044 fi
5045fi
5046test -z "$NM" && NM=nm
5047
5048
5049
5050
5051
5052
5053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5054$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5055if test "${lt_cv_nm_interface+set}" = set; then :
5056 $as_echo_n "(cached) " >&6
5057else
5058 lt_cv_nm_interface="BSD nm"
5059 echo "int some_variable = 0;" > conftest.$ac_ext
5060 (eval echo "\"\$as_me:5060: $ac_compile\"" >&5)
5061 (eval "$ac_compile" 2>conftest.err)
5062 cat conftest.err >&5
5063 (eval echo "\"\$as_me:5063: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5064 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5065 cat conftest.err >&5
5066 (eval echo "\"\$as_me:5066: output\"" >&5)
5067 cat conftest.out >&5
5068 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5069 lt_cv_nm_interface="MS dumpbin"
5070 fi
5071 rm -f conftest*
5072fi
5073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5074$as_echo "$lt_cv_nm_interface" >&6; }
5075
5076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5077$as_echo_n "checking whether ln -s works... " >&6; }
5078LN_S=$as_ln_s
5079if test "$LN_S" = "ln -s"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5081$as_echo "yes" >&6; }
5082else
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5084$as_echo "no, using $LN_S" >&6; }
5085fi
5086
5087# find the maximum length of command line arguments
5088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5089$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5090if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5091 $as_echo_n "(cached) " >&6
5092else
5093 i=0
5094 teststring="ABCD"
5095
5096 case $build_os in
5097 msdosdjgpp*)
5098 # On DJGPP, this test can blow up pretty badly due to problems in libc
5099 # (any single argument exceeding 2000 bytes causes a buffer overrun
5100 # during glob expansion). Even if it were fixed, the result of this
5101 # check would be larger than it should be.
5102 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5103 ;;
5104
5105 gnu*)
5106 # Under GNU Hurd, this test is not required because there is
5107 # no limit to the length of command line arguments.
5108 # Libtool will interpret -1 as no limit whatsoever
5109 lt_cv_sys_max_cmd_len=-1;
5110 ;;
5111
5112 cygwin* | mingw* | cegcc*)
5113 # On Win9x/ME, this test blows up -- it succeeds, but takes
5114 # about 5 minutes as the teststring grows exponentially.
5115 # Worse, since 9x/ME are not pre-emptively multitasking,
5116 # you end up with a "frozen" computer, even though with patience
5117 # the test eventually succeeds (with a max line length of 256k).
5118 # Instead, let's just punt: use the minimum linelength reported by
5119 # all of the supported platforms: 8192 (on NT/2K/XP).
5120 lt_cv_sys_max_cmd_len=8192;
5121 ;;
5122
5123 amigaos*)
5124 # On AmigaOS with pdksh, this test takes hours, literally.
5125 # So we just punt and use a minimum line length of 8192.
5126 lt_cv_sys_max_cmd_len=8192;
5127 ;;
5128
5129 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5130 # This has been around since 386BSD, at least. Likely further.
5131 if test -x /sbin/sysctl; then
5132 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5133 elif test -x /usr/sbin/sysctl; then
5134 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5135 else
5136 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5137 fi
5138 # And add a safety zone
5139 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5140 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5141 ;;
5142
5143 interix*)
5144 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5145 lt_cv_sys_max_cmd_len=196608
5146 ;;
5147
5148 osf*)
5149 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5150 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5151 # nice to cause kernel panics so lets avoid the loop below.
5152 # First set a reasonable default.
5153 lt_cv_sys_max_cmd_len=16384
5154 #
5155 if test -x /sbin/sysconfig; then
5156 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5157 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5158 esac
5159 fi
5160 ;;
5161 sco3.2v5*)
5162 lt_cv_sys_max_cmd_len=102400
5163 ;;
5164 sysv5* | sco5v6* | sysv4.2uw2*)
5165 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5166 if test -n "$kargmax"; then
5167 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5168 else
5169 lt_cv_sys_max_cmd_len=32768
5170 fi
5171 ;;
5172 *)
5173 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5174 if test -n "$lt_cv_sys_max_cmd_len"; then
5175 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5176 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5177 else
5178 # Make teststring a little bigger before we do anything with it.
5179 # a 1K string should be a reasonable start.
5180 for i in 1 2 3 4 5 6 7 8 ; do
5181 teststring=$teststring$teststring
5182 done
5183 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5184 # If test is not a shell built-in, we'll probably end up computing a
5185 # maximum length that is only half of the actual maximum length, but
5186 # we can't tell.
5187 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5188 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5189 test $i != 17 # 1/2 MB should be enough
5190 do
5191 i=`expr $i + 1`
5192 teststring=$teststring$teststring
5193 done
5194 # Only check the string length outside the loop.
5195 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5196 teststring=
5197 # Add a significant safety factor because C++ compilers can tack on
5198 # massive amounts of additional arguments before passing them to the
5199 # linker. It appears as though 1/2 is a usable value.
5200 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5201 fi
5202 ;;
5203 esac
5204
5205fi
5206
5207if test -n $lt_cv_sys_max_cmd_len ; then
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5209$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5210else
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5212$as_echo "none" >&6; }
5213fi
5214max_cmd_len=$lt_cv_sys_max_cmd_len
5215
5216
5217
5218
5219
5220
5221: ${CP="cp -f"}
5222: ${MV="mv -f"}
5223: ${RM="rm -f"}
5224
5225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5226$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5227# Try some XSI features
5228xsi_shell=no
5229( _lt_dummy="a/b/c"
5230 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5231 = c,a/b,, \
5232 && eval 'test $(( 1 + 1 )) -eq 2 \
5233 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5234 && xsi_shell=yes
5235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5236$as_echo "$xsi_shell" >&6; }
5237
5238
5239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5240$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5241lt_shell_append=no
5242( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5243 >/dev/null 2>&1 \
5244 && lt_shell_append=yes
5245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5246$as_echo "$lt_shell_append" >&6; }
5247
5248
5249if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5250 lt_unset=unset
5251else
5252 lt_unset=false
5253fi
5254
5255
5256
5257
5258
5259# test EBCDIC or ASCII
5260case `echo X|tr X '\101'` in
5261 A) # ASCII based system
5262 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5263 lt_SP2NL='tr \040 \012'
5264 lt_NL2SP='tr \015\012 \040\040'
5265 ;;
5266 *) # EBCDIC based system
5267 lt_SP2NL='tr \100 \n'
5268 lt_NL2SP='tr \r\n \100\100'
5269 ;;
5270esac
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5281$as_echo_n "checking for $LD option to reload object files... " >&6; }
5282if test "${lt_cv_ld_reload_flag+set}" = set; then :
5283 $as_echo_n "(cached) " >&6
5284else
5285 lt_cv_ld_reload_flag='-r'
5286fi
5287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5288$as_echo "$lt_cv_ld_reload_flag" >&6; }
5289reload_flag=$lt_cv_ld_reload_flag
5290case $reload_flag in
5291"" | " "*) ;;
5292*) reload_flag=" $reload_flag" ;;
5293esac
5294reload_cmds='$LD$reload_flag -o $output$reload_objs'
5295case $host_os in
5296 darwin*)
5297 if test "$GCC" = yes; then
5298 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5299 else
5300 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5301 fi
5302 ;;
5303esac
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313if test -n "$ac_tool_prefix"; then
5314 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5315set dummy ${ac_tool_prefix}objdump; ac_word=$2
5316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5317$as_echo_n "checking for $ac_word... " >&6; }
5318if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5319 $as_echo_n "(cached) " >&6
5320else
5321 if test -n "$OBJDUMP"; then
5322 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5323else
5324as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5325for as_dir in $PATH
5326do
5327 IFS=$as_save_IFS
5328 test -z "$as_dir" && as_dir=.
5329 for ac_exec_ext in '' $ac_executable_extensions; do
5330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5331 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5333 break 2
5334 fi
5335done
5336 done
5337IFS=$as_save_IFS
5338
5339fi
5340fi
5341OBJDUMP=$ac_cv_prog_OBJDUMP
5342if test -n "$OBJDUMP"; then
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5344$as_echo "$OBJDUMP" >&6; }
5345else
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5347$as_echo "no" >&6; }
5348fi
5349
5350
5351fi
5352if test -z "$ac_cv_prog_OBJDUMP"; then
5353 ac_ct_OBJDUMP=$OBJDUMP
5354 # Extract the first word of "objdump", so it can be a program name with args.
5355set dummy objdump; ac_word=$2
5356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5357$as_echo_n "checking for $ac_word... " >&6; }
5358if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5359 $as_echo_n "(cached) " >&6
5360else
5361 if test -n "$ac_ct_OBJDUMP"; then
5362 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5363else
5364as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5365for as_dir in $PATH
5366do
5367 IFS=$as_save_IFS
5368 test -z "$as_dir" && as_dir=.
5369 for ac_exec_ext in '' $ac_executable_extensions; do
5370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5371 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5373 break 2
5374 fi
5375done
5376 done
5377IFS=$as_save_IFS
5378
5379fi
5380fi
5381ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5382if test -n "$ac_ct_OBJDUMP"; then
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5384$as_echo "$ac_ct_OBJDUMP" >&6; }
5385else
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5387$as_echo "no" >&6; }
5388fi
5389
5390 if test "x$ac_ct_OBJDUMP" = x; then
5391 OBJDUMP="false"
5392 else
5393 case $cross_compiling:$ac_tool_warned in
5394yes:)
5395{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5396$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5397ac_tool_warned=yes ;;
5398esac
5399 OBJDUMP=$ac_ct_OBJDUMP
5400 fi
5401else
5402 OBJDUMP="$ac_cv_prog_OBJDUMP"
5403fi
5404
5405test -z "$OBJDUMP" && OBJDUMP=objdump
5406
5407
5408
5409
5410
5411
5412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5413$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5414if test "${lt_cv_deplibs_check_method+set}" = set; then :
5415 $as_echo_n "(cached) " >&6
5416else
5417 lt_cv_file_magic_cmd='$MAGIC_CMD'
5418lt_cv_file_magic_test_file=
5419lt_cv_deplibs_check_method='unknown'
5420# Need to set the preceding variable on all platforms that support
5421# interlibrary dependencies.
5422# 'none' -- dependencies not supported.
5423# `unknown' -- same as none, but documents that we really don't know.
5424# 'pass_all' -- all dependencies passed with no checks.
5425# 'test_compile' -- check by making test program.
5426# 'file_magic [[regex]]' -- check by looking for files in library path
5427# which responds to the $file_magic_cmd with a given extended regex.
5428# If you have `file' or equivalent on your system and you're not sure
5429# whether `pass_all' will *always* work, you probably want this one.
5430
5431case $host_os in
5432aix[4-9]*)
5433 lt_cv_deplibs_check_method=pass_all
5434 ;;
5435
5436beos*)
5437 lt_cv_deplibs_check_method=pass_all
5438 ;;
5439
5440bsdi[45]*)
5441 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5442 lt_cv_file_magic_cmd='/usr/bin/file -L'
5443 lt_cv_file_magic_test_file=/shlib/libc.so
5444 ;;
5445
5446cygwin*)
5447 # func_win32_libid is a shell function defined in ltmain.sh
5448 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5449 lt_cv_file_magic_cmd='func_win32_libid'
5450 ;;
5451
5452mingw* | pw32*)
5453 # Base MSYS/MinGW do not provide the 'file' command needed by
5454 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5455 # unless we find 'file', for example because we are cross-compiling.
5456 if ( file / ) >/dev/null 2>&1; then
5457 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5458 lt_cv_file_magic_cmd='func_win32_libid'
5459 else
5460 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5461 lt_cv_file_magic_cmd='$OBJDUMP -f'
5462 fi
5463 ;;
5464
5465cegcc)
5466 # use the weaker test based on 'objdump'. See mingw*.
5467 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5468 lt_cv_file_magic_cmd='$OBJDUMP -f'
5469 ;;
5470
5471darwin* | rhapsody*)
5472 lt_cv_deplibs_check_method=pass_all
5473 ;;
5474
5475freebsd* | dragonfly*)
5476 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5477 case $host_cpu in
5478 i*86 )
5479 # Not sure whether the presence of OpenBSD here was a mistake.
5480 # Let's accept both of them until this is cleared up.
5481 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5482 lt_cv_file_magic_cmd=/usr/bin/file
5483 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5484 ;;
5485 esac
5486 else
5487 lt_cv_deplibs_check_method=pass_all
5488 fi
5489 ;;
5490
5491gnu*)
5492 lt_cv_deplibs_check_method=pass_all
5493 ;;
5494
5495hpux10.20* | hpux11*)
5496 lt_cv_file_magic_cmd=/usr/bin/file
5497 case $host_cpu in
5498 ia64*)
5499 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5500 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5501 ;;
5502 hppa*64*)
5503 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]'
5504 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5505 ;;
5506 *)
5507 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5508 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5509 ;;
5510 esac
5511 ;;
5512
5513interix[3-9]*)
5514 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5515 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5516 ;;
5517
5518irix5* | irix6* | nonstopux*)
5519 case $LD in
5520 *-32|*"-32 ") libmagic=32-bit;;
5521 *-n32|*"-n32 ") libmagic=N32;;
5522 *-64|*"-64 ") libmagic=64-bit;;
5523 *) libmagic=never-match;;
5524 esac
5525 lt_cv_deplibs_check_method=pass_all
5526 ;;
5527
5528# This must be Linux ELF.
5529linux* | k*bsd*-gnu | kopensolaris*-gnu)
5530 lt_cv_deplibs_check_method=pass_all
5531 ;;
5532
5533netbsd* | netbsdelf*-gnu)
5534 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5535 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5536 else
5537 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5538 fi
5539 ;;
5540
5541newos6*)
5542 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5543 lt_cv_file_magic_cmd=/usr/bin/file
5544 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5545 ;;
5546
5547*nto* | *qnx*)
5548 lt_cv_deplibs_check_method=pass_all
5549 ;;
5550
5551openbsd*)
5552 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5553 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5554 else
5555 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5556 fi
5557 ;;
5558
5559osf3* | osf4* | osf5*)
5560 lt_cv_deplibs_check_method=pass_all
5561 ;;
5562
5563rdos*)
5564 lt_cv_deplibs_check_method=pass_all
5565 ;;
5566
5567solaris*)
5568 lt_cv_deplibs_check_method=pass_all
5569 ;;
5570
5571sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5572 lt_cv_deplibs_check_method=pass_all
5573 ;;
5574
5575sysv4 | sysv4.3*)
5576 case $host_vendor in
5577 motorola)
5578 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]'
5579 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5580 ;;
5581 ncr)
5582 lt_cv_deplibs_check_method=pass_all
5583 ;;
5584 sequent)
5585 lt_cv_file_magic_cmd='/bin/file'
5586 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5587 ;;
5588 sni)
5589 lt_cv_file_magic_cmd='/bin/file'
5590 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5591 lt_cv_file_magic_test_file=/lib/libc.so
5592 ;;
5593 siemens)
5594 lt_cv_deplibs_check_method=pass_all
5595 ;;
5596 pc)
5597 lt_cv_deplibs_check_method=pass_all
5598 ;;
5599 esac
5600 ;;
5601
5602tpf*)
5603 lt_cv_deplibs_check_method=pass_all
5604 ;;
5605esac
5606
5607fi
5608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5609$as_echo "$lt_cv_deplibs_check_method" >&6; }
5610file_magic_cmd=$lt_cv_file_magic_cmd
5611deplibs_check_method=$lt_cv_deplibs_check_method
5612test -z "$deplibs_check_method" && deplibs_check_method=unknown
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625if test -n "$ac_tool_prefix"; then
5626 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5627set dummy ${ac_tool_prefix}ar; ac_word=$2
5628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5629$as_echo_n "checking for $ac_word... " >&6; }
5630if test "${ac_cv_prog_AR+set}" = set; then :
5631 $as_echo_n "(cached) " >&6
5632else
5633 if test -n "$AR"; then
5634 ac_cv_prog_AR="$AR" # Let the user override the test.
5635else
5636as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5637for as_dir in $PATH
5638do
5639 IFS=$as_save_IFS
5640 test -z "$as_dir" && as_dir=.
5641 for ac_exec_ext in '' $ac_executable_extensions; do
5642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5643 ac_cv_prog_AR="${ac_tool_prefix}ar"
5644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5645 break 2
5646 fi
5647done
5648 done
5649IFS=$as_save_IFS
5650
5651fi
5652fi
5653AR=$ac_cv_prog_AR
5654if test -n "$AR"; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5656$as_echo "$AR" >&6; }
5657else
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5659$as_echo "no" >&6; }
5660fi
5661
5662
5663fi
5664if test -z "$ac_cv_prog_AR"; then
5665 ac_ct_AR=$AR
5666 # Extract the first word of "ar", so it can be a program name with args.
5667set dummy ar; ac_word=$2
5668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5669$as_echo_n "checking for $ac_word... " >&6; }
5670if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5671 $as_echo_n "(cached) " >&6
5672else
5673 if test -n "$ac_ct_AR"; then
5674 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5675else
5676as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5677for as_dir in $PATH
5678do
5679 IFS=$as_save_IFS
5680 test -z "$as_dir" && as_dir=.
5681 for ac_exec_ext in '' $ac_executable_extensions; do
5682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5683 ac_cv_prog_ac_ct_AR="ar"
5684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 break 2
5686 fi
5687done
5688 done
5689IFS=$as_save_IFS
5690
5691fi
5692fi
5693ac_ct_AR=$ac_cv_prog_ac_ct_AR
5694if test -n "$ac_ct_AR"; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5696$as_echo "$ac_ct_AR" >&6; }
5697else
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699$as_echo "no" >&6; }
5700fi
5701
5702 if test "x$ac_ct_AR" = x; then
5703 AR="false"
5704 else
5705 case $cross_compiling:$ac_tool_warned in
5706yes:)
5707{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5708$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5709ac_tool_warned=yes ;;
5710esac
5711 AR=$ac_ct_AR
5712 fi
5713else
5714 AR="$ac_cv_prog_AR"
5715fi
5716
5717test -z "$AR" && AR=ar
5718test -z "$AR_FLAGS" && AR_FLAGS=cru
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730if test -n "$ac_tool_prefix"; then
5731 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5732set dummy ${ac_tool_prefix}strip; ac_word=$2
5733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5734$as_echo_n "checking for $ac_word... " >&6; }
5735if test "${ac_cv_prog_STRIP+set}" = set; then :
5736 $as_echo_n "(cached) " >&6
5737else
5738 if test -n "$STRIP"; then
5739 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5740else
5741as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742for as_dir in $PATH
5743do
5744 IFS=$as_save_IFS
5745 test -z "$as_dir" && as_dir=.
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5748 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 break 2
5751 fi
5752done
5753 done
5754IFS=$as_save_IFS
5755
5756fi
5757fi
5758STRIP=$ac_cv_prog_STRIP
5759if test -n "$STRIP"; then
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5761$as_echo "$STRIP" >&6; }
5762else
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5764$as_echo "no" >&6; }
5765fi
5766
5767
5768fi
5769if test -z "$ac_cv_prog_STRIP"; then
5770 ac_ct_STRIP=$STRIP
5771 # Extract the first word of "strip", so it can be a program name with args.
5772set dummy strip; ac_word=$2
5773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5774$as_echo_n "checking for $ac_word... " >&6; }
5775if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5776 $as_echo_n "(cached) " >&6
5777else
5778 if test -n "$ac_ct_STRIP"; then
5779 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5780else
5781as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5782for as_dir in $PATH
5783do
5784 IFS=$as_save_IFS
5785 test -z "$as_dir" && as_dir=.
5786 for ac_exec_ext in '' $ac_executable_extensions; do
5787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5788 ac_cv_prog_ac_ct_STRIP="strip"
5789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 break 2
5791 fi
5792done
5793 done
5794IFS=$as_save_IFS
5795
5796fi
5797fi
5798ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5799if test -n "$ac_ct_STRIP"; then
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5801$as_echo "$ac_ct_STRIP" >&6; }
5802else
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5804$as_echo "no" >&6; }
5805fi
5806
5807 if test "x$ac_ct_STRIP" = x; then
5808 STRIP=":"
5809 else
5810 case $cross_compiling:$ac_tool_warned in
5811yes:)
5812{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5813$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5814ac_tool_warned=yes ;;
5815esac
5816 STRIP=$ac_ct_STRIP
5817 fi
5818else
5819 STRIP="$ac_cv_prog_STRIP"
5820fi
5821
5822test -z "$STRIP" && STRIP=:
5823
5824
5825
5826
5827
5828
5829if test -n "$ac_tool_prefix"; then
5830 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5831set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5833$as_echo_n "checking for $ac_word... " >&6; }
5834if test "${ac_cv_prog_RANLIB+set}" = set; then :
5835 $as_echo_n "(cached) " >&6
5836else
5837 if test -n "$RANLIB"; then
5838 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5839else
5840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5841for as_dir in $PATH
5842do
5843 IFS=$as_save_IFS
5844 test -z "$as_dir" && as_dir=.
5845 for ac_exec_ext in '' $ac_executable_extensions; do
5846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5847 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5849 break 2
5850 fi
5851done
5852 done
5853IFS=$as_save_IFS
5854
5855fi
5856fi
5857RANLIB=$ac_cv_prog_RANLIB
5858if test -n "$RANLIB"; then
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5860$as_echo "$RANLIB" >&6; }
5861else
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5863$as_echo "no" >&6; }
5864fi
5865
5866
5867fi
5868if test -z "$ac_cv_prog_RANLIB"; then
5869 ac_ct_RANLIB=$RANLIB
5870 # Extract the first word of "ranlib", so it can be a program name with args.
5871set dummy ranlib; ac_word=$2
5872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5873$as_echo_n "checking for $ac_word... " >&6; }
5874if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5875 $as_echo_n "(cached) " >&6
5876else
5877 if test -n "$ac_ct_RANLIB"; then
5878 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5879else
5880as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881for as_dir in $PATH
5882do
5883 IFS=$as_save_IFS
5884 test -z "$as_dir" && as_dir=.
5885 for ac_exec_ext in '' $ac_executable_extensions; do
5886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5887 ac_cv_prog_ac_ct_RANLIB="ranlib"
5888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 break 2
5890 fi
5891done
5892 done
5893IFS=$as_save_IFS
5894
5895fi
5896fi
5897ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5898if test -n "$ac_ct_RANLIB"; then
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5900$as_echo "$ac_ct_RANLIB" >&6; }
5901else
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5903$as_echo "no" >&6; }
5904fi
5905
5906 if test "x$ac_ct_RANLIB" = x; then
5907 RANLIB=":"
5908 else
5909 case $cross_compiling:$ac_tool_warned in
5910yes:)
5911{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5912$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5913ac_tool_warned=yes ;;
5914esac
5915 RANLIB=$ac_ct_RANLIB
5916 fi
5917else
5918 RANLIB="$ac_cv_prog_RANLIB"
5919fi
5920
5921test -z "$RANLIB" && RANLIB=:
5922
5923
5924
5925
5926
5927
5928# Determine commands to create old-style static archives.
5929old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5930old_postinstall_cmds='chmod 644 $oldlib'
5931old_postuninstall_cmds=
5932
5933if test -n "$RANLIB"; then
5934 case $host_os in
5935 openbsd*)
5936 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5937 ;;
5938 *)
5939 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5940 ;;
5941 esac
5942 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5943fi
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978# If no C compiler was specified, use CC.
5979LTCC=${LTCC-"$CC"}
5980
5981# If no C compiler flags were specified, use CFLAGS.
5982LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5983
5984# Allow CC to be a program name with arguments.
5985compiler=$CC
5986
5987
5988# Check for command to grab the raw symbol name followed by C symbol from nm.
5989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5990$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5991if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5992 $as_echo_n "(cached) " >&6
5993else
5994
5995# These are sane defaults that work on at least a few old systems.
5996# [They come from Ultrix. What could be older than Ultrix?!! ;)]
5997
5998# Character class describing NM global symbol codes.
5999symcode='[BCDEGRST]'
6000
6001# Regexp to match symbols that can be accessed directly from C.
6002sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6003
6004# Define system-specific variables.
6005case $host_os in
6006aix*)
6007 symcode='[BCDT]'
6008 ;;
6009cygwin* | mingw* | pw32* | cegcc*)
6010 symcode='[ABCDGISTW]'
6011 ;;
6012hpux*)
6013 if test "$host_cpu" = ia64; then
6014 symcode='[ABCDEGRST]'
6015 fi
6016 ;;
6017irix* | nonstopux*)
6018 symcode='[BCDEGRST]'
6019 ;;
6020osf*)
6021 symcode='[BCDEGQRST]'
6022 ;;
6023solaris*)
6024 symcode='[BDRT]'
6025 ;;
6026sco3.2v5*)
6027 symcode='[DT]'
6028 ;;
6029sysv4.2uw2*)
6030 symcode='[DT]'
6031 ;;
6032sysv5* | sco5v6* | unixware* | OpenUNIX*)
6033 symcode='[ABDT]'
6034 ;;
6035sysv4)
6036 symcode='[DFNSTU]'
6037 ;;
6038esac
6039
6040# If we're using GNU nm, then use its standard symbol codes.
6041case `$NM -V 2>&1` in
6042*GNU* | *'with BFD'*)
6043 symcode='[ABCDGIRSTW]' ;;
6044esac
6045
6046# Transform an extracted symbol line into a proper C declaration.
6047# Some systems (esp. on ia64) link data and code symbols differently,
6048# so use this general approach.
6049lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6050
6051# Transform an extracted symbol line into symbol name and symbol address
6052lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6053lt_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'"
6054
6055# Handle CRLF in mingw tool chain
6056opt_cr=
6057case $build_os in
6058mingw*)
6059 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6060 ;;
6061esac
6062
6063# Try without a prefix underscore, then with it.
6064for ac_symprfx in "" "_"; do
6065
6066 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6067 symxfrm="\\1 $ac_symprfx\\2 \\2"
6068
6069 # Write the raw and C identifiers.
6070 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6071 # Fake it for dumpbin and say T for any non-static function
6072 # and D for any global variable.
6073 # Also find C++ and __fastcall symbols from MSVC++,
6074 # which start with @ or ?.
6075 lt_cv_sys_global_symbol_pipe="$AWK '"\
6076" {last_section=section; section=\$ 3};"\
6077" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6078" \$ 0!~/External *\|/{next};"\
6079" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6080" {if(hide[section]) next};"\
6081" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6082" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6083" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6084" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6085" ' prfx=^$ac_symprfx"
6086 else
6087 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6088 fi
6089
6090 # Check to see that the pipe works correctly.
6091 pipe_works=no
6092
6093 rm -f conftest*
6094 cat > conftest.$ac_ext <<_LT_EOF
6095#ifdef __cplusplus
6096extern "C" {
6097#endif
6098char nm_test_var;
6099void nm_test_func(void);
6100void nm_test_func(void){}
6101#ifdef __cplusplus
6102}
6103#endif
6104int main(){nm_test_var='a';nm_test_func();return(0);}
6105_LT_EOF
6106
6107 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6108 (eval $ac_compile) 2>&5
6109 ac_status=$?
6110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6111 test $ac_status = 0; }; then
6112 # Now try to grab the symbols.
6113 nlist=conftest.nm
6114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6115 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6116 ac_status=$?
6117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6118 test $ac_status = 0; } && test -s "$nlist"; then
6119 # Try sorting and uniquifying the output.
6120 if sort "$nlist" | uniq > "$nlist"T; then
6121 mv -f "$nlist"T "$nlist"
6122 else
6123 rm -f "$nlist"T
6124 fi
6125
6126 # Make sure that we snagged all the symbols we need.
6127 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6128 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6129 cat <<_LT_EOF > conftest.$ac_ext
6130#ifdef __cplusplus
6131extern "C" {
6132#endif
6133
6134_LT_EOF
6135 # Now generate the symbol file.
6136 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6137
6138 cat <<_LT_EOF >> conftest.$ac_ext
6139
6140/* The mapping between symbol names and symbols. */
6141const struct {
6142 const char *name;
6143 void *address;
6144}
6145lt__PROGRAM__LTX_preloaded_symbols[] =
6146{
6147 { "@PROGRAM@", (void *) 0 },
6148_LT_EOF
6149 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6150 cat <<\_LT_EOF >> conftest.$ac_ext
6151 {0, (void *) 0}
6152};
6153
6154/* This works around a problem in FreeBSD linker */
6155#ifdef FREEBSD_WORKAROUND
6156static const void *lt_preloaded_setup() {
6157 return lt__PROGRAM__LTX_preloaded_symbols;
6158}
6159#endif
6160
6161#ifdef __cplusplus
6162}
6163#endif
6164_LT_EOF
6165 # Now try linking the two files.
6166 mv conftest.$ac_objext conftstm.$ac_objext
6167 lt_save_LIBS="$LIBS"
6168 lt_save_CFLAGS="$CFLAGS"
6169 LIBS="conftstm.$ac_objext"
6170 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6171 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6172 (eval $ac_link) 2>&5
6173 ac_status=$?
6174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6175 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6176 pipe_works=yes
6177 fi
6178 LIBS="$lt_save_LIBS"
6179 CFLAGS="$lt_save_CFLAGS"
6180 else
6181 echo "cannot find nm_test_func in $nlist" >&5
6182 fi
6183 else
6184 echo "cannot find nm_test_var in $nlist" >&5
6185 fi
6186 else
6187 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6188 fi
6189 else
6190 echo "$progname: failed program was:" >&5
6191 cat conftest.$ac_ext >&5
6192 fi
6193 rm -rf conftest* conftst*
6194
6195 # Do not use the global_symbol_pipe unless it works.
6196 if test "$pipe_works" = yes; then
6197 break
6198 else
6199 lt_cv_sys_global_symbol_pipe=
6200 fi
6201done
6202
6203fi
6204
6205if test -z "$lt_cv_sys_global_symbol_pipe"; then
6206 lt_cv_sys_global_symbol_to_cdecl=
6207fi
6208if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6210$as_echo "failed" >&6; }
6211else
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6213$as_echo "ok" >&6; }
6214fi
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238# Check whether --enable-libtool-lock was given.
6239if test "${enable_libtool_lock+set}" = set; then :
6240 enableval=$enable_libtool_lock;
6241fi
6242
6243test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6244
6245# Some flags need to be propagated to the compiler or linker for good
6246# libtool support.
6247case $host in
6248ia64-*-hpux*)
6249 # Find out which ABI we are using.
6250 echo 'int i;' > conftest.$ac_ext
6251 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6252 (eval $ac_compile) 2>&5
6253 ac_status=$?
6254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6255 test $ac_status = 0; }; then
6256 case `/usr/bin/file conftest.$ac_objext` in
6257 *ELF-32*)
6258 HPUX_IA64_MODE="32"
6259 ;;
6260 *ELF-64*)
6261 HPUX_IA64_MODE="64"
6262 ;;
6263 esac
6264 fi
6265 rm -rf conftest*
6266 ;;
6267*-*-irix6*)
6268 # Find out which ABI we are using.
6269 echo '#line 6269 "configure"' > conftest.$ac_ext
6270 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6271 (eval $ac_compile) 2>&5
6272 ac_status=$?
6273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6274 test $ac_status = 0; }; then
6275 if test "$lt_cv_prog_gnu_ld" = yes; then
6276 case `/usr/bin/file conftest.$ac_objext` in
6277 *32-bit*)
6278 LD="${LD-ld} -melf32bsmip"
6279 ;;
6280 *N32*)
6281 LD="${LD-ld} -melf32bmipn32"
6282 ;;
6283 *64-bit*)
6284 LD="${LD-ld} -melf64bmip"
6285 ;;
6286 esac
6287 else
6288 case `/usr/bin/file conftest.$ac_objext` in
6289 *32-bit*)
6290 LD="${LD-ld} -32"
6291 ;;
6292 *N32*)
6293 LD="${LD-ld} -n32"
6294 ;;
6295 *64-bit*)
6296 LD="${LD-ld} -64"
6297 ;;
6298 esac
6299 fi
6300 fi
6301 rm -rf conftest*
6302 ;;
6303
6304x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6305s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6306 # Find out which ABI we are using.
6307 echo 'int i;' > conftest.$ac_ext
6308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6309 (eval $ac_compile) 2>&5
6310 ac_status=$?
6311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6312 test $ac_status = 0; }; then
6313 case `/usr/bin/file conftest.o` in
6314 *32-bit*)
6315 case $host in
6316 x86_64-*kfreebsd*-gnu)
6317 LD="${LD-ld} -m elf_i386_fbsd"
6318 ;;
6319 x86_64-*linux*)
6320 LD="${LD-ld} -m elf_i386"
6321 ;;
6322 ppc64-*linux*|powerpc64-*linux*)
6323 LD="${LD-ld} -m elf32ppclinux"
6324 ;;
6325 s390x-*linux*)
6326 LD="${LD-ld} -m elf_s390"
6327 ;;
6328 sparc64-*linux*)
6329 LD="${LD-ld} -m elf32_sparc"
6330 ;;
6331 esac
6332 ;;
6333 *64-bit*)
6334 case $host in
6335 x86_64-*kfreebsd*-gnu)
6336 LD="${LD-ld} -m elf_x86_64_fbsd"
6337 ;;
6338 x86_64-*linux*)
6339 LD="${LD-ld} -m elf_x86_64"
6340 ;;
6341 ppc*-*linux*|powerpc*-*linux*)
6342 LD="${LD-ld} -m elf64ppc"
6343 ;;
6344 s390*-*linux*|s390*-*tpf*)
6345 LD="${LD-ld} -m elf64_s390"
6346 ;;
6347 sparc*-*linux*)
6348 LD="${LD-ld} -m elf64_sparc"
6349 ;;
6350 esac
6351 ;;
6352 esac
6353 fi
6354 rm -rf conftest*
6355 ;;
6356
6357*-*-sco3.2v5*)
6358 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6359 SAVE_CFLAGS="$CFLAGS"
6360 CFLAGS="$CFLAGS -belf"
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6362$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6363if test "${lt_cv_cc_needs_belf+set}" = set; then :
6364 $as_echo_n "(cached) " >&6
6365else
6366 ac_ext=c
6367ac_cpp='$CPP $CPPFLAGS'
6368ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6369ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6370ac_compiler_gnu=$ac_cv_c_compiler_gnu
6371
6372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6373/* end confdefs.h. */
6374
6375int
6376main ()
6377{
6378
6379 ;
6380 return 0;
6381}
6382_ACEOF
6383if ac_fn_c_try_link "$LINENO"; then :
6384 lt_cv_cc_needs_belf=yes
6385else
6386 lt_cv_cc_needs_belf=no
6387fi
6388rm -f core conftest.err conftest.$ac_objext \
6389 conftest$ac_exeext conftest.$ac_ext
6390 ac_ext=c
6391ac_cpp='$CPP $CPPFLAGS'
6392ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6393ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6394ac_compiler_gnu=$ac_cv_c_compiler_gnu
6395
6396fi
6397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6398$as_echo "$lt_cv_cc_needs_belf" >&6; }
6399 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6400 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6401 CFLAGS="$SAVE_CFLAGS"
6402 fi
6403 ;;
6404sparc*-*solaris*)
6405 # Find out which ABI we are using.
6406 echo 'int i;' > conftest.$ac_ext
6407 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6408 (eval $ac_compile) 2>&5
6409 ac_status=$?
6410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6411 test $ac_status = 0; }; then
6412 case `/usr/bin/file conftest.o` in
6413 *64-bit*)
6414 case $lt_cv_prog_gnu_ld in
6415 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6416 *)
6417 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6418 LD="${LD-ld} -64"
6419 fi
6420 ;;
6421 esac
6422 ;;
6423 esac
6424 fi
6425 rm -rf conftest*
6426 ;;
6427esac
6428
6429need_locks="$enable_libtool_lock"
6430
6431
6432 case $host_os in
6433 rhapsody* | darwin*)
6434 if test -n "$ac_tool_prefix"; then
6435 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6436set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6438$as_echo_n "checking for $ac_word... " >&6; }
6439if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6440 $as_echo_n "(cached) " >&6
6441else
6442 if test -n "$DSYMUTIL"; then
6443 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6444else
6445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6446for as_dir in $PATH
6447do
6448 IFS=$as_save_IFS
6449 test -z "$as_dir" && as_dir=.
6450 for ac_exec_ext in '' $ac_executable_extensions; do
6451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6452 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6454 break 2
6455 fi
6456done
6457 done
6458IFS=$as_save_IFS
6459
6460fi
6461fi
6462DSYMUTIL=$ac_cv_prog_DSYMUTIL
6463if test -n "$DSYMUTIL"; then
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6465$as_echo "$DSYMUTIL" >&6; }
6466else
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6468$as_echo "no" >&6; }
6469fi
6470
6471
6472fi
6473if test -z "$ac_cv_prog_DSYMUTIL"; then
6474 ac_ct_DSYMUTIL=$DSYMUTIL
6475 # Extract the first word of "dsymutil", so it can be a program name with args.
6476set dummy dsymutil; ac_word=$2
6477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6478$as_echo_n "checking for $ac_word... " >&6; }
6479if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6480 $as_echo_n "(cached) " >&6
6481else
6482 if test -n "$ac_ct_DSYMUTIL"; then
6483 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6484else
6485as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6486for as_dir in $PATH
6487do
6488 IFS=$as_save_IFS
6489 test -z "$as_dir" && as_dir=.
6490 for ac_exec_ext in '' $ac_executable_extensions; do
6491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6492 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6494 break 2
6495 fi
6496done
6497 done
6498IFS=$as_save_IFS
6499
6500fi
6501fi
6502ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6503if test -n "$ac_ct_DSYMUTIL"; then
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6505$as_echo "$ac_ct_DSYMUTIL" >&6; }
6506else
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6508$as_echo "no" >&6; }
6509fi
6510
6511 if test "x$ac_ct_DSYMUTIL" = x; then
6512 DSYMUTIL=":"
6513 else
6514 case $cross_compiling:$ac_tool_warned in
6515yes:)
6516{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6517$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6518ac_tool_warned=yes ;;
6519esac
6520 DSYMUTIL=$ac_ct_DSYMUTIL
6521 fi
6522else
6523 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6524fi
6525
6526 if test -n "$ac_tool_prefix"; then
6527 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6528set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6530$as_echo_n "checking for $ac_word... " >&6; }
6531if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6532 $as_echo_n "(cached) " >&6
6533else
6534 if test -n "$NMEDIT"; then
6535 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6536else
6537as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6538for as_dir in $PATH
6539do
6540 IFS=$as_save_IFS
6541 test -z "$as_dir" && as_dir=.
6542 for ac_exec_ext in '' $ac_executable_extensions; do
6543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6544 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6546 break 2
6547 fi
6548done
6549 done
6550IFS=$as_save_IFS
6551
6552fi
6553fi
6554NMEDIT=$ac_cv_prog_NMEDIT
6555if test -n "$NMEDIT"; then
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6557$as_echo "$NMEDIT" >&6; }
6558else
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6560$as_echo "no" >&6; }
6561fi
6562
6563
6564fi
6565if test -z "$ac_cv_prog_NMEDIT"; then
6566 ac_ct_NMEDIT=$NMEDIT
6567 # Extract the first word of "nmedit", so it can be a program name with args.
6568set dummy nmedit; ac_word=$2
6569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6570$as_echo_n "checking for $ac_word... " >&6; }
6571if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6572 $as_echo_n "(cached) " >&6
6573else
6574 if test -n "$ac_ct_NMEDIT"; then
6575 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6576else
6577as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6578for as_dir in $PATH
6579do
6580 IFS=$as_save_IFS
6581 test -z "$as_dir" && as_dir=.
6582 for ac_exec_ext in '' $ac_executable_extensions; do
6583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6584 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6586 break 2
6587 fi
6588done
6589 done
6590IFS=$as_save_IFS
6591
6592fi
6593fi
6594ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6595if test -n "$ac_ct_NMEDIT"; then
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6597$as_echo "$ac_ct_NMEDIT" >&6; }
6598else
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6600$as_echo "no" >&6; }
6601fi
6602
6603 if test "x$ac_ct_NMEDIT" = x; then
6604 NMEDIT=":"
6605 else
6606 case $cross_compiling:$ac_tool_warned in
6607yes:)
6608{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6609$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6610ac_tool_warned=yes ;;
6611esac
6612 NMEDIT=$ac_ct_NMEDIT
6613 fi
6614else
6615 NMEDIT="$ac_cv_prog_NMEDIT"
6616fi
6617
6618 if test -n "$ac_tool_prefix"; then
6619 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6620set dummy ${ac_tool_prefix}lipo; ac_word=$2
6621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622$as_echo_n "checking for $ac_word... " >&6; }
6623if test "${ac_cv_prog_LIPO+set}" = set; then :
6624 $as_echo_n "(cached) " >&6
6625else
6626 if test -n "$LIPO"; then
6627 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6628else
6629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630for as_dir in $PATH
6631do
6632 IFS=$as_save_IFS
6633 test -z "$as_dir" && as_dir=.
6634 for ac_exec_ext in '' $ac_executable_extensions; do
6635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6636 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638 break 2
6639 fi
6640done
6641 done
6642IFS=$as_save_IFS
6643
6644fi
6645fi
6646LIPO=$ac_cv_prog_LIPO
6647if test -n "$LIPO"; then
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6649$as_echo "$LIPO" >&6; }
6650else
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652$as_echo "no" >&6; }
6653fi
6654
6655
6656fi
6657if test -z "$ac_cv_prog_LIPO"; then
6658 ac_ct_LIPO=$LIPO
6659 # Extract the first word of "lipo", so it can be a program name with args.
6660set dummy lipo; ac_word=$2
6661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6662$as_echo_n "checking for $ac_word... " >&6; }
6663if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6664 $as_echo_n "(cached) " >&6
6665else
6666 if test -n "$ac_ct_LIPO"; then
6667 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6668else
6669as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670for as_dir in $PATH
6671do
6672 IFS=$as_save_IFS
6673 test -z "$as_dir" && as_dir=.
6674 for ac_exec_ext in '' $ac_executable_extensions; do
6675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6676 ac_cv_prog_ac_ct_LIPO="lipo"
6677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6678 break 2
6679 fi
6680done
6681 done
6682IFS=$as_save_IFS
6683
6684fi
6685fi
6686ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6687if test -n "$ac_ct_LIPO"; then
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6689$as_echo "$ac_ct_LIPO" >&6; }
6690else
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692$as_echo "no" >&6; }
6693fi
6694
6695 if test "x$ac_ct_LIPO" = x; then
6696 LIPO=":"
6697 else
6698 case $cross_compiling:$ac_tool_warned in
6699yes:)
6700{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6701$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6702ac_tool_warned=yes ;;
6703esac
6704 LIPO=$ac_ct_LIPO
6705 fi
6706else
6707 LIPO="$ac_cv_prog_LIPO"
6708fi
6709
6710 if test -n "$ac_tool_prefix"; then
6711 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6712set dummy ${ac_tool_prefix}otool; ac_word=$2
6713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6714$as_echo_n "checking for $ac_word... " >&6; }
6715if test "${ac_cv_prog_OTOOL+set}" = set; then :
6716 $as_echo_n "(cached) " >&6
6717else
6718 if test -n "$OTOOL"; then
6719 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6720else
6721as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722for as_dir in $PATH
6723do
6724 IFS=$as_save_IFS
6725 test -z "$as_dir" && as_dir=.
6726 for ac_exec_ext in '' $ac_executable_extensions; do
6727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6728 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6730 break 2
6731 fi
6732done
6733 done
6734IFS=$as_save_IFS
6735
6736fi
6737fi
6738OTOOL=$ac_cv_prog_OTOOL
6739if test -n "$OTOOL"; then
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6741$as_echo "$OTOOL" >&6; }
6742else
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6744$as_echo "no" >&6; }
6745fi
6746
6747
6748fi
6749if test -z "$ac_cv_prog_OTOOL"; then
6750 ac_ct_OTOOL=$OTOOL
6751 # Extract the first word of "otool", so it can be a program name with args.
6752set dummy otool; ac_word=$2
6753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6754$as_echo_n "checking for $ac_word... " >&6; }
6755if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6756 $as_echo_n "(cached) " >&6
6757else
6758 if test -n "$ac_ct_OTOOL"; then
6759 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6760else
6761as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6762for as_dir in $PATH
6763do
6764 IFS=$as_save_IFS
6765 test -z "$as_dir" && as_dir=.
6766 for ac_exec_ext in '' $ac_executable_extensions; do
6767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6768 ac_cv_prog_ac_ct_OTOOL="otool"
6769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6770 break 2
6771 fi
6772done
6773 done
6774IFS=$as_save_IFS
6775
6776fi
6777fi
6778ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6779if test -n "$ac_ct_OTOOL"; then
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6781$as_echo "$ac_ct_OTOOL" >&6; }
6782else
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6784$as_echo "no" >&6; }
6785fi
6786
6787 if test "x$ac_ct_OTOOL" = x; then
6788 OTOOL=":"
6789 else
6790 case $cross_compiling:$ac_tool_warned in
6791yes:)
6792{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6793$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6794ac_tool_warned=yes ;;
6795esac
6796 OTOOL=$ac_ct_OTOOL
6797 fi
6798else
6799 OTOOL="$ac_cv_prog_OTOOL"
6800fi
6801
6802 if test -n "$ac_tool_prefix"; then
6803 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6804set dummy ${ac_tool_prefix}otool64; ac_word=$2
6805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6806$as_echo_n "checking for $ac_word... " >&6; }
6807if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6808 $as_echo_n "(cached) " >&6
6809else
6810 if test -n "$OTOOL64"; then
6811 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6812else
6813as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814for as_dir in $PATH
6815do
6816 IFS=$as_save_IFS
6817 test -z "$as_dir" && as_dir=.
6818 for ac_exec_ext in '' $ac_executable_extensions; do
6819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6820 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6822 break 2
6823 fi
6824done
6825 done
6826IFS=$as_save_IFS
6827
6828fi
6829fi
6830OTOOL64=$ac_cv_prog_OTOOL64
6831if test -n "$OTOOL64"; then
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6833$as_echo "$OTOOL64" >&6; }
6834else
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6836$as_echo "no" >&6; }
6837fi
6838
6839
6840fi
6841if test -z "$ac_cv_prog_OTOOL64"; then
6842 ac_ct_OTOOL64=$OTOOL64
6843 # Extract the first word of "otool64", so it can be a program name with args.
6844set dummy otool64; ac_word=$2
6845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6846$as_echo_n "checking for $ac_word... " >&6; }
6847if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6848 $as_echo_n "(cached) " >&6
6849else
6850 if test -n "$ac_ct_OTOOL64"; then
6851 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6852else
6853as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6854for as_dir in $PATH
6855do
6856 IFS=$as_save_IFS
6857 test -z "$as_dir" && as_dir=.
6858 for ac_exec_ext in '' $ac_executable_extensions; do
6859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6860 ac_cv_prog_ac_ct_OTOOL64="otool64"
6861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6862 break 2
6863 fi
6864done
6865 done
6866IFS=$as_save_IFS
6867
6868fi
6869fi
6870ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6871if test -n "$ac_ct_OTOOL64"; then
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6873$as_echo "$ac_ct_OTOOL64" >&6; }
6874else
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6876$as_echo "no" >&6; }
6877fi
6878
6879 if test "x$ac_ct_OTOOL64" = x; then
6880 OTOOL64=":"
6881 else
6882 case $cross_compiling:$ac_tool_warned in
6883yes:)
6884{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6885$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6886ac_tool_warned=yes ;;
6887esac
6888 OTOOL64=$ac_ct_OTOOL64
6889 fi
6890else
6891 OTOOL64="$ac_cv_prog_OTOOL64"
6892fi
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6921$as_echo_n "checking for -single_module linker flag... " >&6; }
6922if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6923 $as_echo_n "(cached) " >&6
6924else
6925 lt_cv_apple_cc_single_mod=no
6926 if test -z "${LT_MULTI_MODULE}"; then
6927 # By default we will add the -single_module flag. You can override
6928 # by either setting the environment variable LT_MULTI_MODULE
6929 # non-empty at configure time, or by adding -multi_module to the
6930 # link flags.
6931 rm -rf libconftest.dylib*
6932 echo "int foo(void){return 1;}" > conftest.c
6933 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6934-dynamiclib -Wl,-single_module conftest.c" >&5
6935 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6936 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6937 _lt_result=$?
6938 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6939 lt_cv_apple_cc_single_mod=yes
6940 else
6941 cat conftest.err >&5
6942 fi
6943 rm -rf libconftest.dylib*
6944 rm -f conftest.*
6945 fi
6946fi
6947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6948$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6950$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6951if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6952 $as_echo_n "(cached) " >&6
6953else
6954 lt_cv_ld_exported_symbols_list=no
6955 save_LDFLAGS=$LDFLAGS
6956 echo "_main" > conftest.sym
6957 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6959/* end confdefs.h. */
6960
6961int
6962main ()
6963{
6964
6965 ;
6966 return 0;
6967}
6968_ACEOF
6969if ac_fn_c_try_link "$LINENO"; then :
6970 lt_cv_ld_exported_symbols_list=yes
6971else
6972 lt_cv_ld_exported_symbols_list=no
6973fi
6974rm -f core conftest.err conftest.$ac_objext \
6975 conftest$ac_exeext conftest.$ac_ext
6976 LDFLAGS="$save_LDFLAGS"
6977
6978fi
6979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6980$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6981 case $host_os in
6982 rhapsody* | darwin1.[012])
6983 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6984 darwin1.*)
6985 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6986 darwin*) # darwin 5.x on
6987 # if running on 10.5 or later, the deployment target defaults
6988 # to the OS version, if on x86, and 10.4, the deployment
6989 # target defaults to 10.4. Don't you love it?
6990 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6991 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6992 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6993 10.[012]*)
6994 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6995 10.*)
6996 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6997 esac
6998 ;;
6999 esac
7000 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7001 _lt_dar_single_mod='$single_module'
7002 fi
7003 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7004 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7005 else
7006 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7007 fi
7008 if test "$DSYMUTIL" != ":"; then
7009 _lt_dsymutil='~$DSYMUTIL $lib || :'
7010 else
7011 _lt_dsymutil=
7012 fi
7013 ;;
7014 esac
7015
7016ac_ext=c
7017ac_cpp='$CPP $CPPFLAGS'
7018ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7019ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7020ac_compiler_gnu=$ac_cv_c_compiler_gnu
7021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7022$as_echo_n "checking how to run the C preprocessor... " >&6; }
7023# On Suns, sometimes $CPP names a directory.
7024if test -n "$CPP" && test -d "$CPP"; then
7025 CPP=
7026fi
7027if test -z "$CPP"; then
7028 if test "${ac_cv_prog_CPP+set}" = set; then :
7029 $as_echo_n "(cached) " >&6
7030else
7031 # Double quotes because CPP needs to be expanded
7032 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7033 do
7034 ac_preproc_ok=false
7035for ac_c_preproc_warn_flag in '' yes
7036do
7037 # Use a header file that comes with gcc, so configuring glibc
7038 # with a fresh cross-compiler works.
7039 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7040 # <limits.h> exists even on freestanding compilers.
7041 # On the NeXT, cc -E runs the code through the compiler's parser,
7042 # not just through cpp. "Syntax error" is here to catch this case.
7043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7044/* end confdefs.h. */
7045#ifdef __STDC__
7046# include <limits.h>
7047#else
7048# include <assert.h>
7049#endif
7050 Syntax error
7051_ACEOF
7052if ac_fn_c_try_cpp "$LINENO"; then :
7053
7054else
7055 # Broken: fails on valid input.
7056continue
7057fi
7058rm -f conftest.err conftest.i conftest.$ac_ext
7059
7060 # OK, works on sane cases. Now check whether nonexistent headers
7061 # can be detected and how.
7062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7063/* end confdefs.h. */
7064#include <ac_nonexistent.h>
7065_ACEOF
7066if ac_fn_c_try_cpp "$LINENO"; then :
7067 # Broken: success on invalid input.
7068continue
7069else
7070 # Passes both tests.
7071ac_preproc_ok=:
7072break
7073fi
7074rm -f conftest.err conftest.i conftest.$ac_ext
7075
7076done
7077# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7078rm -f conftest.i conftest.err conftest.$ac_ext
7079if $ac_preproc_ok; then :
7080 break
7081fi
7082
7083 done
7084 ac_cv_prog_CPP=$CPP
7085
7086fi
7087 CPP=$ac_cv_prog_CPP
7088else
7089 ac_cv_prog_CPP=$CPP
7090fi
7091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7092$as_echo "$CPP" >&6; }
7093ac_preproc_ok=false
7094for ac_c_preproc_warn_flag in '' yes
7095do
7096 # Use a header file that comes with gcc, so configuring glibc
7097 # with a fresh cross-compiler works.
7098 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7099 # <limits.h> exists even on freestanding compilers.
7100 # On the NeXT, cc -E runs the code through the compiler's parser,
7101 # not just through cpp. "Syntax error" is here to catch this case.
7102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7103/* end confdefs.h. */
7104#ifdef __STDC__
7105# include <limits.h>
7106#else
7107# include <assert.h>
7108#endif
7109 Syntax error
7110_ACEOF
7111if ac_fn_c_try_cpp "$LINENO"; then :
7112
7113else
7114 # Broken: fails on valid input.
7115continue
7116fi
7117rm -f conftest.err conftest.i conftest.$ac_ext
7118
7119 # OK, works on sane cases. Now check whether nonexistent headers
7120 # can be detected and how.
7121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7122/* end confdefs.h. */
7123#include <ac_nonexistent.h>
7124_ACEOF
7125if ac_fn_c_try_cpp "$LINENO"; then :
7126 # Broken: success on invalid input.
7127continue
7128else
7129 # Passes both tests.
7130ac_preproc_ok=:
7131break
7132fi
7133rm -f conftest.err conftest.i conftest.$ac_ext
7134
7135done
7136# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7137rm -f conftest.i conftest.err conftest.$ac_ext
7138if $ac_preproc_ok; then :
7139
7140else
7141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7142$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7143as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7144See \`config.log' for more details" "$LINENO" 5 ; }
7145fi
7146
7147ac_ext=c
7148ac_cpp='$CPP $CPPFLAGS'
7149ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7150ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7151ac_compiler_gnu=$ac_cv_c_compiler_gnu
7152
7153
7154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7155$as_echo_n "checking for ANSI C header files... " >&6; }
7156if test "${ac_cv_header_stdc+set}" = set; then :
7157 $as_echo_n "(cached) " >&6
7158else
7159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7160/* end confdefs.h. */
7161#include <stdlib.h>
7162#include <stdarg.h>
7163#include <string.h>
7164#include <float.h>
7165
7166int
7167main ()
7168{
7169
7170 ;
7171 return 0;
7172}
7173_ACEOF
7174if ac_fn_c_try_compile "$LINENO"; then :
7175 ac_cv_header_stdc=yes
7176else
7177 ac_cv_header_stdc=no
7178fi
7179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7180
7181if test $ac_cv_header_stdc = yes; then
7182 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7184/* end confdefs.h. */
7185#include <string.h>
7186
7187_ACEOF
7188if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7189 $EGREP "memchr" >/dev/null 2>&1; then :
7190
7191else
7192 ac_cv_header_stdc=no
7193fi
7194rm -f conftest*
7195
7196fi
7197
7198if test $ac_cv_header_stdc = yes; then
7199 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7201/* end confdefs.h. */
7202#include <stdlib.h>
7203
7204_ACEOF
7205if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7206 $EGREP "free" >/dev/null 2>&1; then :
7207
7208else
7209 ac_cv_header_stdc=no
7210fi
7211rm -f conftest*
7212
7213fi
7214
7215if test $ac_cv_header_stdc = yes; then
7216 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7217 if test "$cross_compiling" = yes; then :
7218 :
7219else
7220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7221/* end confdefs.h. */
7222#include <ctype.h>
7223#include <stdlib.h>
7224#if ((' ' & 0x0FF) == 0x020)
7225# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7226# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7227#else
7228# define ISLOWER(c) \
7229 (('a' <= (c) && (c) <= 'i') \
7230 || ('j' <= (c) && (c) <= 'r') \
7231 || ('s' <= (c) && (c) <= 'z'))
7232# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7233#endif
7234
7235#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7236int
7237main ()
7238{
7239 int i;
7240 for (i = 0; i < 256; i++)
7241 if (XOR (islower (i), ISLOWER (i))
7242 || toupper (i) != TOUPPER (i))
7243 return 2;
7244 return 0;
7245}
7246_ACEOF
7247if ac_fn_c_try_run "$LINENO"; then :
7248
7249else
7250 ac_cv_header_stdc=no
7251fi
7252rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7253 conftest.$ac_objext conftest.beam conftest.$ac_ext
7254fi
7255
7256fi
7257fi
7258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7259$as_echo "$ac_cv_header_stdc" >&6; }
7260if test $ac_cv_header_stdc = yes; then
7261
7262$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7263
7264fi
7265
7266# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7267for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7268 inttypes.h stdint.h unistd.h
7269do :
7270 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7271ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7272"
7273if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7274 cat >>confdefs.h <<_ACEOF
7275#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7276_ACEOF
7277
7278fi
7279
7280done
7281
7282
7283for ac_header in dlfcn.h
7284do :
7285 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7286"
7287if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7288 cat >>confdefs.h <<_ACEOF
7289#define HAVE_DLFCN_H 1
7290_ACEOF
7291
7292fi
7293
7294done
7295
7296
7297
7298# Set options
7299
7300
7301
7302 enable_dlopen=no
7303
7304
7305
7306 # Check whether --enable-shared was given.
7307if test "${enable_shared+set}" = set; then :
7308 enableval=$enable_shared; p=${PACKAGE-default}
7309 case $enableval in
7310 yes) enable_shared=yes ;;
7311 no) enable_shared=no ;;
7312 *)
7313 enable_shared=no
7314 # Look at the argument we got. We use all the common list separators.
7315 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7316 for pkg in $enableval; do
7317 IFS="$lt_save_ifs"
7318 if test "X$pkg" = "X$p"; then
7319 enable_shared=yes
7320 fi
7321 done
7322 IFS="$lt_save_ifs"
7323 ;;
7324 esac
7325else
7326 enable_shared=yes
7327fi
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337 # Check whether --enable-static was given.
7338if test "${enable_static+set}" = set; then :
7339 enableval=$enable_static; p=${PACKAGE-default}
7340 case $enableval in
7341 yes) enable_static=yes ;;
7342 no) enable_static=no ;;
7343 *)
7344 enable_static=no
7345 # Look at the argument we got. We use all the common list separators.
7346 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7347 for pkg in $enableval; do
7348 IFS="$lt_save_ifs"
7349 if test "X$pkg" = "X$p"; then
7350 enable_static=yes
7351 fi
7352 done
7353 IFS="$lt_save_ifs"
7354 ;;
7355 esac
7356else
7357 enable_static=yes
7358fi
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369# Check whether --with-pic was given.
7370if test "${with_pic+set}" = set; then :
7371 withval=$with_pic; pic_mode="$withval"
7372else
7373 pic_mode=default
7374fi
7375
7376
7377test -z "$pic_mode" && pic_mode=default
7378
7379
7380
7381
7382
7383
7384
7385 # Check whether --enable-fast-install was given.
7386if test "${enable_fast_install+set}" = set; then :
7387 enableval=$enable_fast_install; p=${PACKAGE-default}
7388 case $enableval in
7389 yes) enable_fast_install=yes ;;
7390 no) enable_fast_install=no ;;
7391 *)
7392 enable_fast_install=no
7393 # Look at the argument we got. We use all the common list separators.
7394 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7395 for pkg in $enableval; do
7396 IFS="$lt_save_ifs"
7397 if test "X$pkg" = "X$p"; then
7398 enable_fast_install=yes
7399 fi
7400 done
7401 IFS="$lt_save_ifs"
7402 ;;
7403 esac
7404else
7405 enable_fast_install=yes
7406fi
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418# This can be used to rebuild libtool when needed
7419LIBTOOL_DEPS="$ltmain"
7420
7421# Always use our own libtool.
7422LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448test -z "$LN_S" && LN_S="ln -s"
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463if test -n "${ZSH_VERSION+set}" ; then
7464 setopt NO_GLOB_SUBST
7465fi
7466
7467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7468$as_echo_n "checking for objdir... " >&6; }
7469if test "${lt_cv_objdir+set}" = set; then :
7470 $as_echo_n "(cached) " >&6
7471else
7472 rm -f .libs 2>/dev/null
7473mkdir .libs 2>/dev/null
7474if test -d .libs; then
7475 lt_cv_objdir=.libs
7476else
7477 # MS-DOS does not allow filenames that begin with a dot.
7478 lt_cv_objdir=_libs
7479fi
7480rmdir .libs 2>/dev/null
7481fi
7482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7483$as_echo "$lt_cv_objdir" >&6; }
7484objdir=$lt_cv_objdir
7485
7486
7487
7488
7489
7490cat >>confdefs.h <<_ACEOF
7491#define LT_OBJDIR "$lt_cv_objdir/"
7492_ACEOF
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510case $host_os in
7511aix3*)
7512 # AIX sometimes has problems with the GCC collect2 program. For some
7513 # reason, if we set the COLLECT_NAMES environment variable, the problems
7514 # vanish in a puff of smoke.
7515 if test "X${COLLECT_NAMES+set}" != Xset; then
7516 COLLECT_NAMES=
7517 export COLLECT_NAMES
7518 fi
7519 ;;
7520esac
7521
7522# Sed substitution that helps us do robust quoting. It backslashifies
7523# metacharacters that are still active within double-quoted strings.
7524sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7525
7526# Same as above, but do not quote variable references.
7527double_quote_subst='s/\(["`\\]\)/\\\1/g'
7528
7529# Sed substitution to delay expansion of an escaped shell variable in a
7530# double_quote_subst'ed string.
7531delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7532
7533# Sed substitution to delay expansion of an escaped single quote.
7534delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7535
7536# Sed substitution to avoid accidental globbing in evaled expressions
7537no_glob_subst='s/\*/\\\*/g'
7538
7539# Global variables:
7540ofile=libtool
7541can_build_shared=yes
7542
7543# All known linkers require a `.a' archive for static linking (except MSVC,
7544# which needs '.lib').
7545libext=a
7546
7547with_gnu_ld="$lt_cv_prog_gnu_ld"
7548
7549old_CC="$CC"
7550old_CFLAGS="$CFLAGS"
7551
7552# Set sane defaults for various variables
7553test -z "$CC" && CC=cc
7554test -z "$LTCC" && LTCC=$CC
7555test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7556test -z "$LD" && LD=ld
7557test -z "$ac_objext" && ac_objext=o
7558
7559for cc_temp in $compiler""; do
7560 case $cc_temp in
7561 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7562 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7563 \-*) ;;
7564 *) break;;
7565 esac
7566done
7567cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7568
7569
7570# Only perform the check for file, if the check method requires it
7571test -z "$MAGIC_CMD" && MAGIC_CMD=file
7572case $deplibs_check_method in
7573file_magic*)
7574 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7576$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7577if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7578 $as_echo_n "(cached) " >&6
7579else
7580 case $MAGIC_CMD in
7581[\\/*] | ?:[\\/]*)
7582 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7583 ;;
7584*)
7585 lt_save_MAGIC_CMD="$MAGIC_CMD"
7586 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7587 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7588 for ac_dir in $ac_dummy; do
7589 IFS="$lt_save_ifs"
7590 test -z "$ac_dir" && ac_dir=.
7591 if test -f $ac_dir/${ac_tool_prefix}file; then
7592 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7593 if test -n "$file_magic_test_file"; then
7594 case $deplibs_check_method in
7595 "file_magic "*)
7596 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7597 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7598 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7599 $EGREP "$file_magic_regex" > /dev/null; then
7600 :
7601 else
7602 cat <<_LT_EOF 1>&2
7603
7604*** Warning: the command libtool uses to detect shared libraries,
7605*** $file_magic_cmd, produces output that libtool cannot recognize.
7606*** The result is that libtool may fail to recognize shared libraries
7607*** as such. This will affect the creation of libtool libraries that
7608*** depend on shared libraries, but programs linked with such libtool
7609*** libraries will work regardless of this problem. Nevertheless, you
7610*** may want to report the problem to your system manager and/or to
7611*** bug-libtool@gnu.org
7612
7613_LT_EOF
7614 fi ;;
7615 esac
7616 fi
7617 break
7618 fi
7619 done
7620 IFS="$lt_save_ifs"
7621 MAGIC_CMD="$lt_save_MAGIC_CMD"
7622 ;;
7623esac
7624fi
7625
7626MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7627if test -n "$MAGIC_CMD"; then
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7629$as_echo "$MAGIC_CMD" >&6; }
7630else
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7632$as_echo "no" >&6; }
7633fi
7634
7635
7636
7637
7638
7639if test -z "$lt_cv_path_MAGIC_CMD"; then
7640 if test -n "$ac_tool_prefix"; then
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7642$as_echo_n "checking for file... " >&6; }
7643if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7644 $as_echo_n "(cached) " >&6
7645else
7646 case $MAGIC_CMD in
7647[\\/*] | ?:[\\/]*)
7648 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7649 ;;
7650*)
7651 lt_save_MAGIC_CMD="$MAGIC_CMD"
7652 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7653 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7654 for ac_dir in $ac_dummy; do
7655 IFS="$lt_save_ifs"
7656 test -z "$ac_dir" && ac_dir=.
7657 if test -f $ac_dir/file; then
7658 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7659 if test -n "$file_magic_test_file"; then
7660 case $deplibs_check_method in
7661 "file_magic "*)
7662 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7663 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7664 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7665 $EGREP "$file_magic_regex" > /dev/null; then
7666 :
7667 else
7668 cat <<_LT_EOF 1>&2
7669
7670*** Warning: the command libtool uses to detect shared libraries,
7671*** $file_magic_cmd, produces output that libtool cannot recognize.
7672*** The result is that libtool may fail to recognize shared libraries
7673*** as such. This will affect the creation of libtool libraries that
7674*** depend on shared libraries, but programs linked with such libtool
7675*** libraries will work regardless of this problem. Nevertheless, you
7676*** may want to report the problem to your system manager and/or to
7677*** bug-libtool@gnu.org
7678
7679_LT_EOF
7680 fi ;;
7681 esac
7682 fi
7683 break
7684 fi
7685 done
7686 IFS="$lt_save_ifs"
7687 MAGIC_CMD="$lt_save_MAGIC_CMD"
7688 ;;
7689esac
7690fi
7691
7692MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7693if test -n "$MAGIC_CMD"; then
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7695$as_echo "$MAGIC_CMD" >&6; }
7696else
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7698$as_echo "no" >&6; }
7699fi
7700
7701
7702 else
7703 MAGIC_CMD=:
7704 fi
7705fi
7706
7707 fi
7708 ;;
7709esac
7710
7711# Use C for the default configuration in the libtool script
7712
7713lt_save_CC="$CC"
7714ac_ext=c
7715ac_cpp='$CPP $CPPFLAGS'
7716ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7717ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7718ac_compiler_gnu=$ac_cv_c_compiler_gnu
7719
7720
7721# Source file extension for C test sources.
7722ac_ext=c
7723
7724# Object file extension for compiled C test sources.
7725objext=o
7726objext=$objext
7727
7728# Code to be used in simple compile tests
7729lt_simple_compile_test_code="int some_variable = 0;"
7730
7731# Code to be used in simple link tests
7732lt_simple_link_test_code='int main(){return(0);}'
7733
7734
7735
7736
7737
7738
7739
7740# If no C compiler was specified, use CC.
7741LTCC=${LTCC-"$CC"}
7742
7743# If no C compiler flags were specified, use CFLAGS.
7744LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7745
7746# Allow CC to be a program name with arguments.
7747compiler=$CC
7748
7749# Save the default compiler, since it gets overwritten when the other
7750# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7751compiler_DEFAULT=$CC
7752
7753# save warnings/boilerplate of simple test code
7754ac_outfile=conftest.$ac_objext
7755echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7756eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7757_lt_compiler_boilerplate=`cat conftest.err`
7758$RM conftest*
7759
7760ac_outfile=conftest.$ac_objext
7761echo "$lt_simple_link_test_code" >conftest.$ac_ext
7762eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7763_lt_linker_boilerplate=`cat conftest.err`
7764$RM -r conftest*
7765
7766
7767## CAVEAT EMPTOR:
7768## There is no encapsulation within the following macros, do not change
7769## the running order or otherwise move them around unless you know exactly
7770## what you are doing...
7771if test -n "$compiler"; then
7772
7773lt_prog_compiler_no_builtin_flag=
7774
7775if test "$GCC" = yes; then
7776 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7777
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7779$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7780if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7781 $as_echo_n "(cached) " >&6
7782else
7783 lt_cv_prog_compiler_rtti_exceptions=no
7784 ac_outfile=conftest.$ac_objext
7785 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7786 lt_compiler_flag="-fno-rtti -fno-exceptions"
7787 # Insert the option either (1) after the last *FLAGS variable, or
7788 # (2) before a word containing "conftest.", or (3) at the end.
7789 # Note that $ac_compile itself does not contain backslashes and begins
7790 # with a dollar sign (not a hyphen), so the echo should work correctly.
7791 # The option is referenced via a variable to avoid confusing sed.
7792 lt_compile=`echo "$ac_compile" | $SED \
7793 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7794 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7795 -e 's:$: $lt_compiler_flag:'`
7796 (eval echo "\"\$as_me:7796: $lt_compile\"" >&5)
7797 (eval "$lt_compile" 2>conftest.err)
7798 ac_status=$?
7799 cat conftest.err >&5
7800 echo "$as_me:7800: \$? = $ac_status" >&5
7801 if (exit $ac_status) && test -s "$ac_outfile"; then
7802 # The compiler can only warn and ignore the option if not recognized
7803 # So say no if there are warnings other than the usual output.
7804 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7805 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7806 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7807 lt_cv_prog_compiler_rtti_exceptions=yes
7808 fi
7809 fi
7810 $RM conftest*
7811
7812fi
7813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7814$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7815
7816if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7817 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7818else
7819 :
7820fi
7821
7822fi
7823
7824
7825
7826
7827
7828
7829 lt_prog_compiler_wl=
7830lt_prog_compiler_pic=
7831lt_prog_compiler_static=
7832
7833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7834$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7835
7836 if test "$GCC" = yes; then
7837 lt_prog_compiler_wl='-Wl,'
7838 lt_prog_compiler_static='-static'
7839
7840 case $host_os in
7841 aix*)
7842 # All AIX code is PIC.
7843 if test "$host_cpu" = ia64; then
7844 # AIX 5 now supports IA64 processor
7845 lt_prog_compiler_static='-Bstatic'
7846 fi
7847 ;;
7848
7849 amigaos*)
7850 case $host_cpu in
7851 powerpc)
7852 # see comment about AmigaOS4 .so support
7853 lt_prog_compiler_pic='-fPIC'
7854 ;;
7855 m68k)
7856 # FIXME: we need at least 68020 code to build shared libraries, but
7857 # adding the `-m68020' flag to GCC prevents building anything better,
7858 # like `-m68040'.
7859 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7860 ;;
7861 esac
7862 ;;
7863
7864 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7865 # PIC is the default for these OSes.
7866 ;;
7867
7868 mingw* | cygwin* | pw32* | os2* | cegcc*)
7869 # This hack is so that the source file can tell whether it is being
7870 # built for inclusion in a dll (and should export symbols for example).
7871 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7872 # (--disable-auto-import) libraries
7873 lt_prog_compiler_pic='-DDLL_EXPORT'
7874 ;;
7875
7876 darwin* | rhapsody*)
7877 # PIC is the default on this platform
7878 # Common symbols not allowed in MH_DYLIB files
7879 lt_prog_compiler_pic='-fno-common'
7880 ;;
7881
7882 hpux*)
7883 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7884 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7885 # sets the default TLS model and affects inlining.
7886 case $host_cpu in
7887 hppa*64*)
7888 # +Z the default
7889 ;;
7890 *)
7891 lt_prog_compiler_pic='-fPIC'
7892 ;;
7893 esac
7894 ;;
7895
7896 interix[3-9]*)
7897 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7898 # Instead, we relocate shared libraries at runtime.
7899 ;;
7900
7901 msdosdjgpp*)
7902 # Just because we use GCC doesn't mean we suddenly get shared libraries
7903 # on systems that don't support them.
7904 lt_prog_compiler_can_build_shared=no
7905 enable_shared=no
7906 ;;
7907
7908 *nto* | *qnx*)
7909 # QNX uses GNU C++, but need to define -shared option too, otherwise
7910 # it will coredump.
7911 lt_prog_compiler_pic='-fPIC -shared'
7912 ;;
7913
7914 sysv4*MP*)
7915 if test -d /usr/nec; then
7916 lt_prog_compiler_pic=-Kconform_pic
7917 fi
7918 ;;
7919
7920 *)
7921 lt_prog_compiler_pic='-fPIC'
7922 ;;
7923 esac
7924 else
7925 # PORTME Check for flag to pass linker flags through the system compiler.
7926 case $host_os in
7927 aix*)
7928 lt_prog_compiler_wl='-Wl,'
7929 if test "$host_cpu" = ia64; then
7930 # AIX 5 now supports IA64 processor
7931 lt_prog_compiler_static='-Bstatic'
7932 else
7933 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7934 fi
7935 ;;
7936
7937 mingw* | cygwin* | pw32* | os2* | cegcc*)
7938 # This hack is so that the source file can tell whether it is being
7939 # built for inclusion in a dll (and should export symbols for example).
7940 lt_prog_compiler_pic='-DDLL_EXPORT'
7941 ;;
7942
7943 hpux9* | hpux10* | hpux11*)
7944 lt_prog_compiler_wl='-Wl,'
7945 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7946 # not for PA HP-UX.
7947 case $host_cpu in
7948 hppa*64*|ia64*)
7949 # +Z the default
7950 ;;
7951 *)
7952 lt_prog_compiler_pic='+Z'
7953 ;;
7954 esac
7955 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7956 lt_prog_compiler_static='${wl}-a ${wl}archive'
7957 ;;
7958
7959 irix5* | irix6* | nonstopux*)
7960 lt_prog_compiler_wl='-Wl,'
7961 # PIC (with -KPIC) is the default.
7962 lt_prog_compiler_static='-non_shared'
7963 ;;
7964
7965 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7966 case $cc_basename in
7967 # old Intel for x86_64 which still supported -KPIC.
7968 ecc*)
7969 lt_prog_compiler_wl='-Wl,'
7970 lt_prog_compiler_pic='-KPIC'
7971 lt_prog_compiler_static='-static'
7972 ;;
7973 # icc used to be incompatible with GCC.
7974 # ICC 10 doesn't accept -KPIC any more.
7975 icc* | ifort*)
7976 lt_prog_compiler_wl='-Wl,'
7977 lt_prog_compiler_pic='-fPIC'
7978 lt_prog_compiler_static='-static'
7979 ;;
7980 # Lahey Fortran 8.1.
7981 lf95*)
7982 lt_prog_compiler_wl='-Wl,'
7983 lt_prog_compiler_pic='--shared'
7984 lt_prog_compiler_static='--static'
7985 ;;
7986 pgcc* | pgf77* | pgf90* | pgf95*)
7987 # Portland Group compilers (*not* the Pentium gcc compiler,
7988 # which looks to be a dead project)
7989 lt_prog_compiler_wl='-Wl,'
7990 lt_prog_compiler_pic='-fpic'
7991 lt_prog_compiler_static='-Bstatic'
7992 ;;
7993 ccc*)
7994 lt_prog_compiler_wl='-Wl,'
7995 # All Alpha code is PIC.
7996 lt_prog_compiler_static='-non_shared'
7997 ;;
7998 xl*)
7999 # IBM XL C 8.0/Fortran 10.1 on PPC
8000 lt_prog_compiler_wl='-Wl,'
8001 lt_prog_compiler_pic='-qpic'
8002 lt_prog_compiler_static='-qstaticlink'
8003 ;;
8004 *)
8005 case `$CC -V 2>&1 | sed 5q` in
8006 *Sun\ C*)
8007 # Sun C 5.9
8008 lt_prog_compiler_pic='-KPIC'
8009 lt_prog_compiler_static='-Bstatic'
8010 lt_prog_compiler_wl='-Wl,'
8011 ;;
8012 *Sun\ F*)
8013 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8014 lt_prog_compiler_pic='-KPIC'
8015 lt_prog_compiler_static='-Bstatic'
8016 lt_prog_compiler_wl=''
8017 ;;
8018 esac
8019 ;;
8020 esac
8021 ;;
8022
8023 newsos6)
8024 lt_prog_compiler_pic='-KPIC'
8025 lt_prog_compiler_static='-Bstatic'
8026 ;;
8027
8028 *nto* | *qnx*)
8029 # QNX uses GNU C++, but need to define -shared option too, otherwise
8030 # it will coredump.
8031 lt_prog_compiler_pic='-fPIC -shared'
8032 ;;
8033
8034 osf3* | osf4* | osf5*)
8035 lt_prog_compiler_wl='-Wl,'
8036 # All OSF/1 code is PIC.
8037 lt_prog_compiler_static='-non_shared'
8038 ;;
8039
8040 rdos*)
8041 lt_prog_compiler_static='-non_shared'
8042 ;;
8043
8044 solaris*)
8045 lt_prog_compiler_pic='-KPIC'
8046 lt_prog_compiler_static='-Bstatic'
8047 case $cc_basename in
8048 f77* | f90* | f95*)
8049 lt_prog_compiler_wl='-Qoption ld ';;
8050 *)
8051 lt_prog_compiler_wl='-Wl,';;
8052 esac
8053 ;;
8054
8055 sunos4*)
8056 lt_prog_compiler_wl='-Qoption ld '
8057 lt_prog_compiler_pic='-PIC'
8058 lt_prog_compiler_static='-Bstatic'
8059 ;;
8060
8061 sysv4 | sysv4.2uw2* | sysv4.3*)
8062 lt_prog_compiler_wl='-Wl,'
8063 lt_prog_compiler_pic='-KPIC'
8064 lt_prog_compiler_static='-Bstatic'
8065 ;;
8066
8067 sysv4*MP*)
8068 if test -d /usr/nec ;then
8069 lt_prog_compiler_pic='-Kconform_pic'
8070 lt_prog_compiler_static='-Bstatic'
8071 fi
8072 ;;
8073
8074 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8075 lt_prog_compiler_wl='-Wl,'
8076 lt_prog_compiler_pic='-KPIC'
8077 lt_prog_compiler_static='-Bstatic'
8078 ;;
8079
8080 unicos*)
8081 lt_prog_compiler_wl='-Wl,'
8082 lt_prog_compiler_can_build_shared=no
8083 ;;
8084
8085 uts4*)
8086 lt_prog_compiler_pic='-pic'
8087 lt_prog_compiler_static='-Bstatic'
8088 ;;
8089
8090 *)
8091 lt_prog_compiler_can_build_shared=no
8092 ;;
8093 esac
8094 fi
8095
8096case $host_os in
8097 # For platforms which do not support PIC, -DPIC is meaningless:
8098 *djgpp*)
8099 lt_prog_compiler_pic=
8100 ;;
8101 *)
8102 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8103 ;;
8104esac
8105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8106$as_echo "$lt_prog_compiler_pic" >&6; }
8107
8108
8109
8110
8111
8112
8113#
8114# Check to make sure the PIC flag actually works.
8115#
8116if test -n "$lt_prog_compiler_pic"; then
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8118$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8119if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8120 $as_echo_n "(cached) " >&6
8121else
8122 lt_cv_prog_compiler_pic_works=no
8123 ac_outfile=conftest.$ac_objext
8124 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8125 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8126 # Insert the option either (1) after the last *FLAGS variable, or
8127 # (2) before a word containing "conftest.", or (3) at the end.
8128 # Note that $ac_compile itself does not contain backslashes and begins
8129 # with a dollar sign (not a hyphen), so the echo should work correctly.
8130 # The option is referenced via a variable to avoid confusing sed.
8131 lt_compile=`echo "$ac_compile" | $SED \
8132 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8133 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8134 -e 's:$: $lt_compiler_flag:'`
8135 (eval echo "\"\$as_me:8135: $lt_compile\"" >&5)
8136 (eval "$lt_compile" 2>conftest.err)
8137 ac_status=$?
8138 cat conftest.err >&5
8139 echo "$as_me:8139: \$? = $ac_status" >&5
8140 if (exit $ac_status) && test -s "$ac_outfile"; then
8141 # The compiler can only warn and ignore the option if not recognized
8142 # So say no if there are warnings other than the usual output.
8143 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8144 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8145 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8146 lt_cv_prog_compiler_pic_works=yes
8147 fi
8148 fi
8149 $RM conftest*
8150
8151fi
8152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8153$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8154
8155if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8156 case $lt_prog_compiler_pic in
8157 "" | " "*) ;;
8158 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8159 esac
8160else
8161 lt_prog_compiler_pic=
8162 lt_prog_compiler_can_build_shared=no
8163fi
8164
8165fi
8166
8167
8168
8169
8170
8171
8172#
8173# Check to make sure the static flag actually works.
8174#
8175wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8177$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8178if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8179 $as_echo_n "(cached) " >&6
8180else
8181 lt_cv_prog_compiler_static_works=no
8182 save_LDFLAGS="$LDFLAGS"
8183 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8184 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8185 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8186 # The linker can only warn and ignore the option if not recognized
8187 # So say no if there are warnings
8188 if test -s conftest.err; then
8189 # Append any errors to the config.log.
8190 cat conftest.err 1>&5
8191 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8192 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8193 if diff conftest.exp conftest.er2 >/dev/null; then
8194 lt_cv_prog_compiler_static_works=yes
8195 fi
8196 else
8197 lt_cv_prog_compiler_static_works=yes
8198 fi
8199 fi
8200 $RM -r conftest*
8201 LDFLAGS="$save_LDFLAGS"
8202
8203fi
8204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8205$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8206
8207if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8208 :
8209else
8210 lt_prog_compiler_static=
8211fi
8212
8213
8214
8215
8216
8217
8218
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8220$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8221if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8222 $as_echo_n "(cached) " >&6
8223else
8224 lt_cv_prog_compiler_c_o=no
8225 $RM -r conftest 2>/dev/null
8226 mkdir conftest
8227 cd conftest
8228 mkdir out
8229 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8230
8231 lt_compiler_flag="-o out/conftest2.$ac_objext"
8232 # Insert the option either (1) after the last *FLAGS variable, or
8233 # (2) before a word containing "conftest.", or (3) at the end.
8234 # Note that $ac_compile itself does not contain backslashes and begins
8235 # with a dollar sign (not a hyphen), so the echo should work correctly.
8236 lt_compile=`echo "$ac_compile" | $SED \
8237 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8238 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8239 -e 's:$: $lt_compiler_flag:'`
8240 (eval echo "\"\$as_me:8240: $lt_compile\"" >&5)
8241 (eval "$lt_compile" 2>out/conftest.err)
8242 ac_status=$?
8243 cat out/conftest.err >&5
8244 echo "$as_me:8244: \$? = $ac_status" >&5
8245 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8246 then
8247 # The compiler can only warn and ignore the option if not recognized
8248 # So say no if there are warnings
8249 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8250 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8251 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8252 lt_cv_prog_compiler_c_o=yes
8253 fi
8254 fi
8255 chmod u+w . 2>&5
8256 $RM conftest*
8257 # SGI C++ compiler will create directory out/ii_files/ for
8258 # template instantiation
8259 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8260 $RM out/* && rmdir out
8261 cd ..
8262 $RM -r conftest
8263 $RM conftest*
8264
8265fi
8266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8267$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8268
8269
8270
8271
8272
8273
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8275$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8276if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8277 $as_echo_n "(cached) " >&6
8278else
8279 lt_cv_prog_compiler_c_o=no
8280 $RM -r conftest 2>/dev/null
8281 mkdir conftest
8282 cd conftest
8283 mkdir out
8284 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8285
8286 lt_compiler_flag="-o out/conftest2.$ac_objext"
8287 # Insert the option either (1) after the last *FLAGS variable, or
8288 # (2) before a word containing "conftest.", or (3) at the end.
8289 # Note that $ac_compile itself does not contain backslashes and begins
8290 # with a dollar sign (not a hyphen), so the echo should work correctly.
8291 lt_compile=`echo "$ac_compile" | $SED \
8292 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8293 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8294 -e 's:$: $lt_compiler_flag:'`
8295 (eval echo "\"\$as_me:8295: $lt_compile\"" >&5)
8296 (eval "$lt_compile" 2>out/conftest.err)
8297 ac_status=$?
8298 cat out/conftest.err >&5
8299 echo "$as_me:8299: \$? = $ac_status" >&5
8300 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8301 then
8302 # The compiler can only warn and ignore the option if not recognized
8303 # So say no if there are warnings
8304 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8305 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8306 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8307 lt_cv_prog_compiler_c_o=yes
8308 fi
8309 fi
8310 chmod u+w . 2>&5
8311 $RM conftest*
8312 # SGI C++ compiler will create directory out/ii_files/ for
8313 # template instantiation
8314 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8315 $RM out/* && rmdir out
8316 cd ..
8317 $RM -r conftest
8318 $RM conftest*
8319
8320fi
8321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8322$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8323
8324
8325
8326
8327hard_links="nottested"
8328if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8329 # do not overwrite the value of need_locks provided by the user
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8331$as_echo_n "checking if we can lock with hard links... " >&6; }
8332 hard_links=yes
8333 $RM conftest*
8334 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8335 touch conftest.a
8336 ln conftest.a conftest.b 2>&5 || hard_links=no
8337 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8339$as_echo "$hard_links" >&6; }
8340 if test "$hard_links" = no; then
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8342$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8343 need_locks=warn
8344 fi
8345else
8346 need_locks=no
8347fi
8348
8349
8350
8351
8352
8353
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8355$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8356
8357 runpath_var=
8358 allow_undefined_flag=
8359 always_export_symbols=no
8360 archive_cmds=
8361 archive_expsym_cmds=
8362 compiler_needs_object=no
8363 enable_shared_with_static_runtimes=no
8364 export_dynamic_flag_spec=
8365 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8366 hardcode_automatic=no
8367 hardcode_direct=no
8368 hardcode_direct_absolute=no
8369 hardcode_libdir_flag_spec=
8370 hardcode_libdir_flag_spec_ld=
8371 hardcode_libdir_separator=
8372 hardcode_minus_L=no
8373 hardcode_shlibpath_var=unsupported
8374 inherit_rpath=no
8375 link_all_deplibs=unknown
8376 module_cmds=
8377 module_expsym_cmds=
8378 old_archive_from_new_cmds=
8379 old_archive_from_expsyms_cmds=
8380 thread_safe_flag_spec=
8381 whole_archive_flag_spec=
8382 # include_expsyms should be a list of space-separated symbols to be *always*
8383 # included in the symbol list
8384 include_expsyms=
8385 # exclude_expsyms can be an extended regexp of symbols to exclude
8386 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8387 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8388 # as well as any symbol that contains `d'.
8389 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8390 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8391 # platforms (ab)use it in PIC code, but their linkers get confused if
8392 # the symbol is explicitly referenced. Since portable code cannot
8393 # rely on this symbol name, it's probably fine to never include it in
8394 # preloaded symbol tables.
8395 # Exclude shared library initialization/finalization symbols.
8396 extract_expsyms_cmds=
8397
8398 case $host_os in
8399 cygwin* | mingw* | pw32* | cegcc*)
8400 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8401 # When not using gcc, we currently assume that we are using
8402 # Microsoft Visual C++.
8403 if test "$GCC" != yes; then
8404 with_gnu_ld=no
8405 fi
8406 ;;
8407 interix*)
8408 # we just hope/assume this is gcc and not c89 (= MSVC++)
8409 with_gnu_ld=yes
8410 ;;
8411 openbsd*)
8412 with_gnu_ld=no
8413 ;;
8414 linux* | k*bsd*-gnu)
8415 link_all_deplibs=no
8416 ;;
8417 esac
8418
8419 ld_shlibs=yes
8420 if test "$with_gnu_ld" = yes; then
8421 # If archive_cmds runs LD, not CC, wlarc should be empty
8422 wlarc='${wl}'
8423
8424 # Set some defaults for GNU ld with shared library support. These
8425 # are reset later if shared libraries are not supported. Putting them
8426 # here allows them to be overridden if necessary.
8427 runpath_var=LD_RUN_PATH
8428 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8429 export_dynamic_flag_spec='${wl}--export-dynamic'
8430 # ancient GNU ld didn't support --whole-archive et. al.
8431 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8432 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8433 else
8434 whole_archive_flag_spec=
8435 fi
8436 supports_anon_versioning=no
8437 case `$LD -v 2>&1` in
8438 *GNU\ gold*) supports_anon_versioning=yes ;;
8439 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8440 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8441 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8442 *\ 2.11.*) ;; # other 2.11 versions
8443 *) supports_anon_versioning=yes ;;
8444 esac
8445
8446 # See if GNU ld supports shared libraries.
8447 case $host_os in
8448 aix[3-9]*)
8449 # On AIX/PPC, the GNU linker is very broken
8450 if test "$host_cpu" != ia64; then
8451 ld_shlibs=no
8452 cat <<_LT_EOF 1>&2
8453
8454*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8455*** to be unable to reliably create shared libraries on AIX.
8456*** Therefore, libtool is disabling shared libraries support. If you
8457*** really care for shared libraries, you may want to modify your PATH
8458*** so that a non-GNU linker is found, and then restart.
8459
8460_LT_EOF
8461 fi
8462 ;;
8463
8464 amigaos*)
8465 case $host_cpu in
8466 powerpc)
8467 # see comment about AmigaOS4 .so support
8468 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8469 archive_expsym_cmds=''
8470 ;;
8471 m68k)
8472 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)'
8473 hardcode_libdir_flag_spec='-L$libdir'
8474 hardcode_minus_L=yes
8475 ;;
8476 esac
8477 ;;
8478
8479 beos*)
8480 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8481 allow_undefined_flag=unsupported
8482 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8483 # support --undefined. This deserves some investigation. FIXME
8484 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8485 else
8486 ld_shlibs=no
8487 fi
8488 ;;
8489
8490 cygwin* | mingw* | pw32* | cegcc*)
8491 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8492 # as there is no search path for DLLs.
8493 hardcode_libdir_flag_spec='-L$libdir'
8494 allow_undefined_flag=unsupported
8495 always_export_symbols=no
8496 enable_shared_with_static_runtimes=yes
8497 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8498
8499 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8500 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8501 # If the export-symbols file already is a .def file (1st line
8502 # is EXPORTS), use it as is; otherwise, prepend...
8503 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8504 cp $export_symbols $output_objdir/$soname.def;
8505 else
8506 echo EXPORTS > $output_objdir/$soname.def;
8507 cat $export_symbols >> $output_objdir/$soname.def;
8508 fi~
8509 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8510 else
8511 ld_shlibs=no
8512 fi
8513 ;;
8514
8515 interix[3-9]*)
8516 hardcode_direct=no
8517 hardcode_shlibpath_var=no
8518 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8519 export_dynamic_flag_spec='${wl}-E'
8520 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8521 # Instead, shared libraries are loaded at an image base (0x10000000 by
8522 # default) and relocated if they conflict, which is a slow very memory
8523 # consuming and fragmenting process. To avoid this, we pick a random,
8524 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8525 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8526 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8527 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'
8528 ;;
8529
8530 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8531 tmp_diet=no
8532 if test "$host_os" = linux-dietlibc; then
8533 case $cc_basename in
8534 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8535 esac
8536 fi
8537 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8538 && test "$tmp_diet" = no
8539 then
8540 tmp_addflag=
8541 tmp_sharedflag='-shared'
8542 case $cc_basename,$host_cpu in
8543 pgcc*) # Portland Group C compiler
8544 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'
8545 tmp_addflag=' $pic_flag'
8546 ;;
8547 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8548 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'
8549 tmp_addflag=' $pic_flag -Mnomain' ;;
8550 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8551 tmp_addflag=' -i_dynamic' ;;
8552 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8553 tmp_addflag=' -i_dynamic -nofor_main' ;;
8554 ifc* | ifort*) # Intel Fortran compiler
8555 tmp_addflag=' -nofor_main' ;;
8556 lf95*) # Lahey Fortran 8.1
8557 whole_archive_flag_spec=
8558 tmp_sharedflag='--shared' ;;
8559 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8560 tmp_sharedflag='-qmkshrobj'
8561 tmp_addflag= ;;
8562 esac
8563 case `$CC -V 2>&1 | sed 5q` in
8564 *Sun\ C*) # Sun C 5.9
8565 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'
8566 compiler_needs_object=yes
8567 tmp_sharedflag='-G' ;;
8568 *Sun\ F*) # Sun Fortran 8.3
8569 tmp_sharedflag='-G' ;;
8570 esac
8571 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8572
8573 if test "x$supports_anon_versioning" = xyes; then
8574 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8575 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8576 echo "local: *; };" >> $output_objdir/$libname.ver~
8577 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8578 fi
8579
8580 case $cc_basename in
8581 xlf*)
8582 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8583 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8584 hardcode_libdir_flag_spec=
8585 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8586 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8587 if test "x$supports_anon_versioning" = xyes; then
8588 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8589 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8590 echo "local: *; };" >> $output_objdir/$libname.ver~
8591 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8592 fi
8593 ;;
8594 esac
8595 else
8596 ld_shlibs=no
8597 fi
8598 ;;
8599
8600 netbsd* | netbsdelf*-gnu)
8601 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8602 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8603 wlarc=
8604 else
8605 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8606 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8607 fi
8608 ;;
8609
8610 solaris*)
8611 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8612 ld_shlibs=no
8613 cat <<_LT_EOF 1>&2
8614
8615*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8616*** create shared libraries on Solaris systems. Therefore, libtool
8617*** is disabling shared libraries support. We urge you to upgrade GNU
8618*** binutils to release 2.9.1 or newer. Another option is to modify
8619*** your PATH or compiler configuration so that the native linker is
8620*** used, and then restart.
8621
8622_LT_EOF
8623 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8624 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8625 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8626 else
8627 ld_shlibs=no
8628 fi
8629 ;;
8630
8631 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8632 case `$LD -v 2>&1` in
8633 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8634 ld_shlibs=no
8635 cat <<_LT_EOF 1>&2
8636
8637*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8638*** reliably create shared libraries on SCO systems. Therefore, libtool
8639*** is disabling shared libraries support. We urge you to upgrade GNU
8640*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8641*** your PATH or compiler configuration so that the native linker is
8642*** used, and then restart.
8643
8644_LT_EOF
8645 ;;
8646 *)
8647 # For security reasons, it is highly recommended that you always
8648 # use absolute paths for naming shared libraries, and exclude the
8649 # DT_RUNPATH tag from executables and libraries. But doing so
8650 # requires that you compile everything twice, which is a pain.
8651 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8652 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8653 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8654 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8655 else
8656 ld_shlibs=no
8657 fi
8658 ;;
8659 esac
8660 ;;
8661
8662 sunos4*)
8663 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8664 wlarc=
8665 hardcode_direct=yes
8666 hardcode_shlibpath_var=no
8667 ;;
8668
8669 *)
8670 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8671 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8672 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8673 else
8674 ld_shlibs=no
8675 fi
8676 ;;
8677 esac
8678
8679 if test "$ld_shlibs" = no; then
8680 runpath_var=
8681 hardcode_libdir_flag_spec=
8682 export_dynamic_flag_spec=
8683 whole_archive_flag_spec=
8684 fi
8685 else
8686 # PORTME fill in a description of your system's linker (not GNU ld)
8687 case $host_os in
8688 aix3*)
8689 allow_undefined_flag=unsupported
8690 always_export_symbols=yes
8691 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'
8692 # Note: this linker hardcodes the directories in LIBPATH if there
8693 # are no directories specified by -L.
8694 hardcode_minus_L=yes
8695 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8696 # Neither direct hardcoding nor static linking is supported with a
8697 # broken collect2.
8698 hardcode_direct=unsupported
8699 fi
8700 ;;
8701
8702 aix[4-9]*)
8703 if test "$host_cpu" = ia64; then
8704 # On IA64, the linker does run time linking by default, so we don't
8705 # have to do anything special.
8706 aix_use_runtimelinking=no
8707 exp_sym_flag='-Bexport'
8708 no_entry_flag=""
8709 else
8710 # If we're using GNU nm, then we don't want the "-C" option.
8711 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8712 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8713 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'
8714 else
8715 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'
8716 fi
8717 aix_use_runtimelinking=no
8718
8719 # Test if we are trying to use run time linking or normal
8720 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8721 # need to do runtime linking.
8722 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8723 for ld_flag in $LDFLAGS; do
8724 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8725 aix_use_runtimelinking=yes
8726 break
8727 fi
8728 done
8729 ;;
8730 esac
8731
8732 exp_sym_flag='-bexport'
8733 no_entry_flag='-bnoentry'
8734 fi
8735
8736 # When large executables or shared objects are built, AIX ld can
8737 # have problems creating the table of contents. If linking a library
8738 # or program results in "error TOC overflow" add -mminimal-toc to
8739 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8740 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8741
8742 archive_cmds=''
8743 hardcode_direct=yes
8744 hardcode_direct_absolute=yes
8745 hardcode_libdir_separator=':'
8746 link_all_deplibs=yes
8747 file_list_spec='${wl}-f,'
8748
8749 if test "$GCC" = yes; then
8750 case $host_os in aix4.[012]|aix4.[012].*)
8751 # We only want to do this on AIX 4.2 and lower, the check
8752 # below for broken collect2 doesn't work under 4.3+
8753 collect2name=`${CC} -print-prog-name=collect2`
8754 if test -f "$collect2name" &&
8755 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8756 then
8757 # We have reworked collect2
8758 :
8759 else
8760 # We have old collect2
8761 hardcode_direct=unsupported
8762 # It fails to find uninstalled libraries when the uninstalled
8763 # path is not listed in the libpath. Setting hardcode_minus_L
8764 # to unsupported forces relinking
8765 hardcode_minus_L=yes
8766 hardcode_libdir_flag_spec='-L$libdir'
8767 hardcode_libdir_separator=
8768 fi
8769 ;;
8770 esac
8771 shared_flag='-shared'
8772 if test "$aix_use_runtimelinking" = yes; then
8773 shared_flag="$shared_flag "'${wl}-G'
8774 fi
8775 link_all_deplibs=no
8776 else
8777 # not using gcc
8778 if test "$host_cpu" = ia64; then
8779 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8780 # chokes on -Wl,-G. The following line is correct:
8781 shared_flag='-G'
8782 else
8783 if test "$aix_use_runtimelinking" = yes; then
8784 shared_flag='${wl}-G'
8785 else
8786 shared_flag='${wl}-bM:SRE'
8787 fi
8788 fi
8789 fi
8790
8791 export_dynamic_flag_spec='${wl}-bexpall'
8792 # It seems that -bexpall does not export symbols beginning with
8793 # underscore (_), so it is better to generate a list of symbols to export.
8794 always_export_symbols=yes
8795 if test "$aix_use_runtimelinking" = yes; then
8796 # Warning - without using the other runtime loading flags (-brtl),
8797 # -berok will link without error, but may produce a broken library.
8798 allow_undefined_flag='-berok'
8799 # Determine the default libpath from the value encoded in an
8800 # empty executable.
8801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8802/* end confdefs.h. */
8803
8804int
8805main ()
8806{
8807
8808 ;
8809 return 0;
8810}
8811_ACEOF
8812if ac_fn_c_try_link "$LINENO"; then :
8813
8814lt_aix_libpath_sed='
8815 /Import File Strings/,/^$/ {
8816 /^0/ {
8817 s/^0 *\(.*\)$/\1/
8818 p
8819 }
8820 }'
8821aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8822# Check for a 64-bit object if we didn't find anything.
8823if test -z "$aix_libpath"; then
8824 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8825fi
8826fi
8827rm -f core conftest.err conftest.$ac_objext \
8828 conftest$ac_exeext conftest.$ac_ext
8829if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8830
8831 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8832 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"
8833 else
8834 if test "$host_cpu" = ia64; then
8835 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8836 allow_undefined_flag="-z nodefs"
8837 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"
8838 else
8839 # Determine the default libpath from the value encoded in an
8840 # empty executable.
8841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8842/* end confdefs.h. */
8843
8844int
8845main ()
8846{
8847
8848 ;
8849 return 0;
8850}
8851_ACEOF
8852if ac_fn_c_try_link "$LINENO"; then :
8853
8854lt_aix_libpath_sed='
8855 /Import File Strings/,/^$/ {
8856 /^0/ {
8857 s/^0 *\(.*\)$/\1/
8858 p
8859 }
8860 }'
8861aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8862# Check for a 64-bit object if we didn't find anything.
8863if test -z "$aix_libpath"; then
8864 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8865fi
8866fi
8867rm -f core conftest.err conftest.$ac_objext \
8868 conftest$ac_exeext conftest.$ac_ext
8869if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8870
8871 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8872 # Warning - without using the other run time loading flags,
8873 # -berok will link without error, but may produce a broken library.
8874 no_undefined_flag=' ${wl}-bernotok'
8875 allow_undefined_flag=' ${wl}-berok'
8876 # Exported symbols can be pulled into shared objects from archives
8877 whole_archive_flag_spec='$convenience'
8878 archive_cmds_need_lc=yes
8879 # This is similar to how AIX traditionally builds its shared libraries.
8880 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'
8881 fi
8882 fi
8883 ;;
8884
8885 amigaos*)
8886 case $host_cpu in
8887 powerpc)
8888 # see comment about AmigaOS4 .so support
8889 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8890 archive_expsym_cmds=''
8891 ;;
8892 m68k)
8893 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)'
8894 hardcode_libdir_flag_spec='-L$libdir'
8895 hardcode_minus_L=yes
8896 ;;
8897 esac
8898 ;;
8899
8900 bsdi[45]*)
8901 export_dynamic_flag_spec=-rdynamic
8902 ;;
8903
8904 cygwin* | mingw* | pw32* | cegcc*)
8905 # When not using gcc, we currently assume that we are using
8906 # Microsoft Visual C++.
8907 # hardcode_libdir_flag_spec is actually meaningless, as there is
8908 # no search path for DLLs.
8909 hardcode_libdir_flag_spec=' '
8910 allow_undefined_flag=unsupported
8911 # Tell ltmain to make .lib files, not .a files.
8912 libext=lib
8913 # Tell ltmain to make .dll files, not .so files.
8914 shrext_cmds=".dll"
8915 # FIXME: Setting linknames here is a bad hack.
8916 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8917 # The linker will automatically build a .lib file if we build a DLL.
8918 old_archive_from_new_cmds='true'
8919 # FIXME: Should let the user specify the lib program.
8920 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8921 fix_srcfile_path='`cygpath -w "$srcfile"`'
8922 enable_shared_with_static_runtimes=yes
8923 ;;
8924
8925 darwin* | rhapsody*)
8926
8927
8928 archive_cmds_need_lc=no
8929 hardcode_direct=no
8930 hardcode_automatic=yes
8931 hardcode_shlibpath_var=unsupported
8932 whole_archive_flag_spec=''
8933 link_all_deplibs=yes
8934 allow_undefined_flag="$_lt_dar_allow_undefined"
8935 case $cc_basename in
8936 ifort*) _lt_dar_can_shared=yes ;;
8937 *) _lt_dar_can_shared=$GCC ;;
8938 esac
8939 if test "$_lt_dar_can_shared" = "yes"; then
8940 output_verbose_link_cmd=echo
8941 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8942 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8943 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}"
8944 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}"
8945
8946 else
8947 ld_shlibs=no
8948 fi
8949
8950 ;;
8951
8952 dgux*)
8953 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8954 hardcode_libdir_flag_spec='-L$libdir'
8955 hardcode_shlibpath_var=no
8956 ;;
8957
8958 freebsd1*)
8959 ld_shlibs=no
8960 ;;
8961
8962 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8963 # support. Future versions do this automatically, but an explicit c++rt0.o
8964 # does not break anything, and helps significantly (at the cost of a little
8965 # extra space).
8966 freebsd2.2*)
8967 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8968 hardcode_libdir_flag_spec='-R$libdir'
8969 hardcode_direct=yes
8970 hardcode_shlibpath_var=no
8971 ;;
8972
8973 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8974 freebsd2*)
8975 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8976 hardcode_direct=yes
8977 hardcode_minus_L=yes
8978 hardcode_shlibpath_var=no
8979 ;;
8980
8981 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8982 freebsd* | dragonfly*)
8983 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8984 hardcode_libdir_flag_spec='-R$libdir'
8985 hardcode_direct=yes
8986 hardcode_shlibpath_var=no
8987 ;;
8988
8989 hpux9*)
8990 if test "$GCC" = yes; then
8991 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'
8992 else
8993 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'
8994 fi
8995 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8996 hardcode_libdir_separator=:
8997 hardcode_direct=yes
8998
8999 # hardcode_minus_L: Not really in the search PATH,
9000 # but as the default location of the library.
9001 hardcode_minus_L=yes
9002 export_dynamic_flag_spec='${wl}-E'
9003 ;;
9004
9005 hpux10*)
9006 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9007 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9008 else
9009 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9010 fi
9011 if test "$with_gnu_ld" = no; then
9012 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9013 hardcode_libdir_flag_spec_ld='+b $libdir'
9014 hardcode_libdir_separator=:
9015 hardcode_direct=yes
9016 hardcode_direct_absolute=yes
9017 export_dynamic_flag_spec='${wl}-E'
9018 # hardcode_minus_L: Not really in the search PATH,
9019 # but as the default location of the library.
9020 hardcode_minus_L=yes
9021 fi
9022 ;;
9023
9024 hpux11*)
9025 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9026 case $host_cpu in
9027 hppa*64*)
9028 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9029 ;;
9030 ia64*)
9031 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9032 ;;
9033 *)
9034 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9035 ;;
9036 esac
9037 else
9038 case $host_cpu in
9039 hppa*64*)
9040 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9041 ;;
9042 ia64*)
9043 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9044 ;;
9045 *)
9046 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9047 ;;
9048 esac
9049 fi
9050 if test "$with_gnu_ld" = no; then
9051 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9052 hardcode_libdir_separator=:
9053
9054 case $host_cpu in
9055 hppa*64*|ia64*)
9056 hardcode_direct=no
9057 hardcode_shlibpath_var=no
9058 ;;
9059 *)
9060 hardcode_direct=yes
9061 hardcode_direct_absolute=yes
9062 export_dynamic_flag_spec='${wl}-E'
9063
9064 # hardcode_minus_L: Not really in the search PATH,
9065 # but as the default location of the library.
9066 hardcode_minus_L=yes
9067 ;;
9068 esac
9069 fi
9070 ;;
9071
9072 irix5* | irix6* | nonstopux*)
9073 if test "$GCC" = yes; then
9074 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'
9075 # Try to use the -exported_symbol ld option, if it does not
9076 # work, assume that -exports_file does not work either and
9077 # implicitly export all symbols.
9078 save_LDFLAGS="$LDFLAGS"
9079 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9081/* end confdefs.h. */
9082int foo(void) {}
9083_ACEOF
9084if ac_fn_c_try_link "$LINENO"; then :
9085 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'
9086
9087fi
9088rm -f core conftest.err conftest.$ac_objext \
9089 conftest$ac_exeext conftest.$ac_ext
9090 LDFLAGS="$save_LDFLAGS"
9091 else
9092 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'
9093 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'
9094 fi
9095 archive_cmds_need_lc='no'
9096 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9097 hardcode_libdir_separator=:
9098 inherit_rpath=yes
9099 link_all_deplibs=yes
9100 ;;
9101
9102 netbsd* | netbsdelf*-gnu)
9103 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9104 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9105 else
9106 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9107 fi
9108 hardcode_libdir_flag_spec='-R$libdir'
9109 hardcode_direct=yes
9110 hardcode_shlibpath_var=no
9111 ;;
9112
9113 newsos6)
9114 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9115 hardcode_direct=yes
9116 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9117 hardcode_libdir_separator=:
9118 hardcode_shlibpath_var=no
9119 ;;
9120
9121 *nto* | *qnx*)
9122 ;;
9123
9124 openbsd*)
9125 if test -f /usr/libexec/ld.so; then
9126 hardcode_direct=yes
9127 hardcode_shlibpath_var=no
9128 hardcode_direct_absolute=yes
9129 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9130 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9131 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9132 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9133 export_dynamic_flag_spec='${wl}-E'
9134 else
9135 case $host_os in
9136 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9137 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9138 hardcode_libdir_flag_spec='-R$libdir'
9139 ;;
9140 *)
9141 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9142 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9143 ;;
9144 esac
9145 fi
9146 else
9147 ld_shlibs=no
9148 fi
9149 ;;
9150
9151 os2*)
9152 hardcode_libdir_flag_spec='-L$libdir'
9153 hardcode_minus_L=yes
9154 allow_undefined_flag=unsupported
9155 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'
9156 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9157 ;;
9158
9159 osf3*)
9160 if test "$GCC" = yes; then
9161 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9162 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'
9163 else
9164 allow_undefined_flag=' -expect_unresolved \*'
9165 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'
9166 fi
9167 archive_cmds_need_lc='no'
9168 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9169 hardcode_libdir_separator=:
9170 ;;
9171
9172 osf4* | osf5*) # as osf3* with the addition of -msym flag
9173 if test "$GCC" = yes; then
9174 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9175 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'
9176 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9177 else
9178 allow_undefined_flag=' -expect_unresolved \*'
9179 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'
9180 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~
9181 $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'
9182
9183 # Both c and cxx compiler support -rpath directly
9184 hardcode_libdir_flag_spec='-rpath $libdir'
9185 fi
9186 archive_cmds_need_lc='no'
9187 hardcode_libdir_separator=:
9188 ;;
9189
9190 solaris*)
9191 no_undefined_flag=' -z defs'
9192 if test "$GCC" = yes; then
9193 wlarc='${wl}'
9194 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9195 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9196 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9197 else
9198 case `$CC -V 2>&1` in
9199 *"Compilers 5.0"*)
9200 wlarc=''
9201 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9202 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9203 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9204 ;;
9205 *)
9206 wlarc='${wl}'
9207 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9208 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9209 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9210 ;;
9211 esac
9212 fi
9213 hardcode_libdir_flag_spec='-R$libdir'
9214 hardcode_shlibpath_var=no
9215 case $host_os in
9216 solaris2.[0-5] | solaris2.[0-5].*) ;;
9217 *)
9218 # The compiler driver will combine and reorder linker options,
9219 # but understands `-z linker_flag'. GCC discards it without `$wl',
9220 # but is careful enough not to reorder.
9221 # Supported since Solaris 2.6 (maybe 2.5.1?)
9222 if test "$GCC" = yes; then
9223 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9224 else
9225 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9226 fi
9227 ;;
9228 esac
9229 link_all_deplibs=yes
9230 ;;
9231
9232 sunos4*)
9233 if test "x$host_vendor" = xsequent; then
9234 # Use $CC to link under sequent, because it throws in some extra .o
9235 # files that make .init and .fini sections work.
9236 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9237 else
9238 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9239 fi
9240 hardcode_libdir_flag_spec='-L$libdir'
9241 hardcode_direct=yes
9242 hardcode_minus_L=yes
9243 hardcode_shlibpath_var=no
9244 ;;
9245
9246 sysv4)
9247 case $host_vendor in
9248 sni)
9249 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9250 hardcode_direct=yes # is this really true???
9251 ;;
9252 siemens)
9253 ## LD is ld it makes a PLAMLIB
9254 ## CC just makes a GrossModule.
9255 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9256 reload_cmds='$CC -r -o $output$reload_objs'
9257 hardcode_direct=no
9258 ;;
9259 motorola)
9260 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9261 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9262 ;;
9263 esac
9264 runpath_var='LD_RUN_PATH'
9265 hardcode_shlibpath_var=no
9266 ;;
9267
9268 sysv4.3*)
9269 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9270 hardcode_shlibpath_var=no
9271 export_dynamic_flag_spec='-Bexport'
9272 ;;
9273
9274 sysv4*MP*)
9275 if test -d /usr/nec; then
9276 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9277 hardcode_shlibpath_var=no
9278 runpath_var=LD_RUN_PATH
9279 hardcode_runpath_var=yes
9280 ld_shlibs=yes
9281 fi
9282 ;;
9283
9284 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9285 no_undefined_flag='${wl}-z,text'
9286 archive_cmds_need_lc=no
9287 hardcode_shlibpath_var=no
9288 runpath_var='LD_RUN_PATH'
9289
9290 if test "$GCC" = yes; then
9291 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9292 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9293 else
9294 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9295 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9296 fi
9297 ;;
9298
9299 sysv5* | sco3.2v5* | sco5v6*)
9300 # Note: We can NOT use -z defs as we might desire, because we do not
9301 # link with -lc, and that would cause any symbols used from libc to
9302 # always be unresolved, which means just about no library would
9303 # ever link correctly. If we're not using GNU ld we use -z text
9304 # though, which does catch some bad symbols but isn't as heavy-handed
9305 # as -z defs.
9306 no_undefined_flag='${wl}-z,text'
9307 allow_undefined_flag='${wl}-z,nodefs'
9308 archive_cmds_need_lc=no
9309 hardcode_shlibpath_var=no
9310 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9311 hardcode_libdir_separator=':'
9312 link_all_deplibs=yes
9313 export_dynamic_flag_spec='${wl}-Bexport'
9314 runpath_var='LD_RUN_PATH'
9315
9316 if test "$GCC" = yes; then
9317 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9318 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9319 else
9320 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9321 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9322 fi
9323 ;;
9324
9325 uts4*)
9326 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9327 hardcode_libdir_flag_spec='-L$libdir'
9328 hardcode_shlibpath_var=no
9329 ;;
9330
9331 *)
9332 ld_shlibs=no
9333 ;;
9334 esac
9335
9336 if test x$host_vendor = xsni; then
9337 case $host in
9338 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9339 export_dynamic_flag_spec='${wl}-Blargedynsym'
9340 ;;
9341 esac
9342 fi
9343 fi
9344
9345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9346$as_echo "$ld_shlibs" >&6; }
9347test "$ld_shlibs" = no && can_build_shared=no
9348
9349with_gnu_ld=$with_gnu_ld
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365#
9366# Do we need to explicitly link libc?
9367#
9368case "x$archive_cmds_need_lc" in
9369x|xyes)
9370 # Assume -lc should be added
9371 archive_cmds_need_lc=yes
9372
9373 if test "$enable_shared" = yes && test "$GCC" = yes; then
9374 case $archive_cmds in
9375 *'~'*)
9376 # FIXME: we may have to deal with multi-command sequences.
9377 ;;
9378 '$CC '*)
9379 # Test whether the compiler implicitly links with -lc since on some
9380 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9381 # to ld, don't add -lc before -lgcc.
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9383$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9384 $RM conftest*
9385 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9386
9387 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9388 (eval $ac_compile) 2>&5
9389 ac_status=$?
9390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9391 test $ac_status = 0; } 2>conftest.err; then
9392 soname=conftest
9393 lib=conftest
9394 libobjs=conftest.$ac_objext
9395 deplibs=
9396 wl=$lt_prog_compiler_wl
9397 pic_flag=$lt_prog_compiler_pic
9398 compiler_flags=-v
9399 linker_flags=-v
9400 verstring=
9401 output_objdir=.
9402 libname=conftest
9403 lt_save_allow_undefined_flag=$allow_undefined_flag
9404 allow_undefined_flag=
9405 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9406 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9407 ac_status=$?
9408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9409 test $ac_status = 0; }
9410 then
9411 archive_cmds_need_lc=no
9412 else
9413 archive_cmds_need_lc=yes
9414 fi
9415 allow_undefined_flag=$lt_save_allow_undefined_flag
9416 else
9417 cat conftest.err 1>&5
9418 fi
9419 $RM conftest*
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9421$as_echo "$archive_cmds_need_lc" >&6; }
9422 ;;
9423 esac
9424 fi
9425 ;;
9426esac
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9585$as_echo_n "checking dynamic linker characteristics... " >&6; }
9586
9587if test "$GCC" = yes; then
9588 case $host_os in
9589 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9590 *) lt_awk_arg="/^libraries:/" ;;
9591 esac
9592 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9593 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9594 # if the path contains ";" then we assume it to be the separator
9595 # otherwise default to the standard path separator (i.e. ":") - it is
9596 # assumed that no part of a normal pathname contains ";" but that should
9597 # okay in the real world where ";" in dirpaths is itself problematic.
9598 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9599 else
9600 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9601 fi
9602 # Ok, now we have the path, separated by spaces, we can step through it
9603 # and add multilib dir if necessary.
9604 lt_tmp_lt_search_path_spec=
9605 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9606 for lt_sys_path in $lt_search_path_spec; do
9607 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9608 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9609 else
9610 test -d "$lt_sys_path" && \
9611 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9612 fi
9613 done
9614 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9615BEGIN {RS=" "; FS="/|\n";} {
9616 lt_foo="";
9617 lt_count=0;
9618 for (lt_i = NF; lt_i > 0; lt_i--) {
9619 if ($lt_i != "" && $lt_i != ".") {
9620 if ($lt_i == "..") {
9621 lt_count++;
9622 } else {
9623 if (lt_count == 0) {
9624 lt_foo="/" $lt_i lt_foo;
9625 } else {
9626 lt_count--;
9627 }
9628 }
9629 }
9630 }
9631 if (lt_foo != "") { lt_freq[lt_foo]++; }
9632 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9633}'`
9634 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9635else
9636 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9637fi
9638library_names_spec=
9639libname_spec='lib$name'
9640soname_spec=
9641shrext_cmds=".so"
9642postinstall_cmds=
9643postuninstall_cmds=
9644finish_cmds=
9645finish_eval=
9646shlibpath_var=
9647shlibpath_overrides_runpath=unknown
9648version_type=none
9649dynamic_linker="$host_os ld.so"
9650sys_lib_dlsearch_path_spec="/lib /usr/lib"
9651need_lib_prefix=unknown
9652hardcode_into_libs=no
9653
9654# when you set need_version to no, make sure it does not cause -set_version
9655# flags to be left without arguments
9656need_version=unknown
9657
9658case $host_os in
9659aix3*)
9660 version_type=linux
9661 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9662 shlibpath_var=LIBPATH
9663
9664 # AIX 3 has no versioning support, so we append a major version to the name.
9665 soname_spec='${libname}${release}${shared_ext}$major'
9666 ;;
9667
9668aix[4-9]*)
9669 version_type=linux
9670 need_lib_prefix=no
9671 need_version=no
9672 hardcode_into_libs=yes
9673 if test "$host_cpu" = ia64; then
9674 # AIX 5 supports IA64
9675 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9676 shlibpath_var=LD_LIBRARY_PATH
9677 else
9678 # With GCC up to 2.95.x, collect2 would create an import file
9679 # for dependence libraries. The import file would start with
9680 # the line `#! .'. This would cause the generated library to
9681 # depend on `.', always an invalid library. This was fixed in
9682 # development snapshots of GCC prior to 3.0.
9683 case $host_os in
9684 aix4 | aix4.[01] | aix4.[01].*)
9685 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9686 echo ' yes '
9687 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9688 :
9689 else
9690 can_build_shared=no
9691 fi
9692 ;;
9693 esac
9694 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9695 # soname into executable. Probably we can add versioning support to
9696 # collect2, so additional links can be useful in future.
9697 if test "$aix_use_runtimelinking" = yes; then
9698 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9699 # instead of lib<name>.a to let people know that these are not
9700 # typical AIX shared libraries.
9701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9702 else
9703 # We preserve .a as extension for shared libraries through AIX4.2
9704 # and later when we are not doing run time linking.
9705 library_names_spec='${libname}${release}.a $libname.a'
9706 soname_spec='${libname}${release}${shared_ext}$major'
9707 fi
9708 shlibpath_var=LIBPATH
9709 fi
9710 ;;
9711
9712amigaos*)
9713 case $host_cpu in
9714 powerpc)
9715 # Since July 2007 AmigaOS4 officially supports .so libraries.
9716 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9718 ;;
9719 m68k)
9720 library_names_spec='$libname.ixlibrary $libname.a'
9721 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9722 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'
9723 ;;
9724 esac
9725 ;;
9726
9727beos*)
9728 library_names_spec='${libname}${shared_ext}'
9729 dynamic_linker="$host_os ld.so"
9730 shlibpath_var=LIBRARY_PATH
9731 ;;
9732
9733bsdi[45]*)
9734 version_type=linux
9735 need_version=no
9736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9737 soname_spec='${libname}${release}${shared_ext}$major'
9738 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9739 shlibpath_var=LD_LIBRARY_PATH
9740 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9741 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9742 # the default ld.so.conf also contains /usr/contrib/lib and
9743 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9744 # libtool to hard-code these into programs
9745 ;;
9746
9747cygwin* | mingw* | pw32* | cegcc*)
9748 version_type=windows
9749 shrext_cmds=".dll"
9750 need_version=no
9751 need_lib_prefix=no
9752
9753 case $GCC,$host_os in
9754 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9755 library_names_spec='$libname.dll.a'
9756 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9757 postinstall_cmds='base_file=`basename \${file}`~
9758 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9759 dldir=$destdir/`dirname \$dlpath`~
9760 test -d \$dldir || mkdir -p \$dldir~
9761 $install_prog $dir/$dlname \$dldir/$dlname~
9762 chmod a+x \$dldir/$dlname~
9763 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9764 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9765 fi'
9766 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9767 dlpath=$dir/\$dldll~
9768 $RM \$dlpath'
9769 shlibpath_overrides_runpath=yes
9770
9771 case $host_os in
9772 cygwin*)
9773 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9774 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9775 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9776 ;;
9777 mingw* | cegcc*)
9778 # MinGW DLLs use traditional 'lib' prefix
9779 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9780 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9781 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9782 # It is most probably a Windows format PATH printed by
9783 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9784 # path with ; separators, and with drive letters. We can handle the
9785 # drive letters (cygwin fileutils understands them), so leave them,
9786 # especially as we might pass files found there to a mingw objdump,
9787 # which wouldn't understand a cygwinified path. Ahh.
9788 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9789 else
9790 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9791 fi
9792 ;;
9793 pw32*)
9794 # pw32 DLLs use 'pw' prefix rather than 'lib'
9795 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9796 ;;
9797 esac
9798 ;;
9799
9800 *)
9801 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9802 ;;
9803 esac
9804 dynamic_linker='Win32 ld.exe'
9805 # FIXME: first we should search . and the directory the executable is in
9806 shlibpath_var=PATH
9807 ;;
9808
9809darwin* | rhapsody*)
9810 dynamic_linker="$host_os dyld"
9811 version_type=darwin
9812 need_lib_prefix=no
9813 need_version=no
9814 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9815 soname_spec='${libname}${release}${major}$shared_ext'
9816 shlibpath_overrides_runpath=yes
9817 shlibpath_var=DYLD_LIBRARY_PATH
9818 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9819
9820 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9821 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9822 ;;
9823
9824dgux*)
9825 version_type=linux
9826 need_lib_prefix=no
9827 need_version=no
9828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9829 soname_spec='${libname}${release}${shared_ext}$major'
9830 shlibpath_var=LD_LIBRARY_PATH
9831 ;;
9832
9833freebsd1*)
9834 dynamic_linker=no
9835 ;;
9836
9837freebsd* | dragonfly*)
9838 # DragonFly does not have aout. When/if they implement a new
9839 # versioning mechanism, adjust this.
9840 if test -x /usr/bin/objformat; then
9841 objformat=`/usr/bin/objformat`
9842 else
9843 case $host_os in
9844 freebsd[123]*) objformat=aout ;;
9845 *) objformat=elf ;;
9846 esac
9847 fi
9848 version_type=freebsd-$objformat
9849 case $version_type in
9850 freebsd-elf*)
9851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9852 need_version=no
9853 need_lib_prefix=no
9854 ;;
9855 freebsd-*)
9856 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9857 need_version=yes
9858 ;;
9859 esac
9860 shlibpath_var=LD_LIBRARY_PATH
9861 case $host_os in
9862 freebsd2*)
9863 shlibpath_overrides_runpath=yes
9864 ;;
9865 freebsd3.[01]* | freebsdelf3.[01]*)
9866 shlibpath_overrides_runpath=yes
9867 hardcode_into_libs=yes
9868 ;;
9869 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9870 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9871 shlibpath_overrides_runpath=no
9872 hardcode_into_libs=yes
9873 ;;
9874 *) # from 4.6 on, and DragonFly
9875 shlibpath_overrides_runpath=yes
9876 hardcode_into_libs=yes
9877 ;;
9878 esac
9879 ;;
9880
9881gnu*)
9882 version_type=linux
9883 need_lib_prefix=no
9884 need_version=no
9885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9886 soname_spec='${libname}${release}${shared_ext}$major'
9887 shlibpath_var=LD_LIBRARY_PATH
9888 hardcode_into_libs=yes
9889 ;;
9890
9891hpux9* | hpux10* | hpux11*)
9892 # Give a soname corresponding to the major version so that dld.sl refuses to
9893 # link against other versions.
9894 version_type=sunos
9895 need_lib_prefix=no
9896 need_version=no
9897 case $host_cpu in
9898 ia64*)
9899 shrext_cmds='.so'
9900 hardcode_into_libs=yes
9901 dynamic_linker="$host_os dld.so"
9902 shlibpath_var=LD_LIBRARY_PATH
9903 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9904 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9905 soname_spec='${libname}${release}${shared_ext}$major'
9906 if test "X$HPUX_IA64_MODE" = X32; then
9907 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9908 else
9909 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9910 fi
9911 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9912 ;;
9913 hppa*64*)
9914 shrext_cmds='.sl'
9915 hardcode_into_libs=yes
9916 dynamic_linker="$host_os dld.sl"
9917 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9918 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9920 soname_spec='${libname}${release}${shared_ext}$major'
9921 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9922 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9923 ;;
9924 *)
9925 shrext_cmds='.sl'
9926 dynamic_linker="$host_os dld.sl"
9927 shlibpath_var=SHLIB_PATH
9928 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9930 soname_spec='${libname}${release}${shared_ext}$major'
9931 ;;
9932 esac
9933 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9934 postinstall_cmds='chmod 555 $lib'
9935 ;;
9936
9937interix[3-9]*)
9938 version_type=linux
9939 need_lib_prefix=no
9940 need_version=no
9941 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9942 soname_spec='${libname}${release}${shared_ext}$major'
9943 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9944 shlibpath_var=LD_LIBRARY_PATH
9945 shlibpath_overrides_runpath=no
9946 hardcode_into_libs=yes
9947 ;;
9948
9949irix5* | irix6* | nonstopux*)
9950 case $host_os in
9951 nonstopux*) version_type=nonstopux ;;
9952 *)
9953 if test "$lt_cv_prog_gnu_ld" = yes; then
9954 version_type=linux
9955 else
9956 version_type=irix
9957 fi ;;
9958 esac
9959 need_lib_prefix=no
9960 need_version=no
9961 soname_spec='${libname}${release}${shared_ext}$major'
9962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9963 case $host_os in
9964 irix5* | nonstopux*)
9965 libsuff= shlibsuff=
9966 ;;
9967 *)
9968 case $LD in # libtool.m4 will add one of these switches to LD
9969 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9970 libsuff= shlibsuff= libmagic=32-bit;;
9971 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9972 libsuff=32 shlibsuff=N32 libmagic=N32;;
9973 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9974 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9975 *) libsuff= shlibsuff= libmagic=never-match;;
9976 esac
9977 ;;
9978 esac
9979 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9980 shlibpath_overrides_runpath=no
9981 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9982 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9983 hardcode_into_libs=yes
9984 ;;
9985
9986# No shared lib support for Linux oldld, aout, or coff.
9987linux*oldld* | linux*aout* | linux*coff*)
9988 dynamic_linker=no
9989 ;;
9990
9991# This must be Linux ELF.
9992linux* | k*bsd*-gnu | kopensolaris*-gnu)
9993 version_type=linux
9994 need_lib_prefix=no
9995 need_version=no
9996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9997 soname_spec='${libname}${release}${shared_ext}$major'
9998 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9999 shlibpath_var=LD_LIBRARY_PATH
10000 shlibpath_overrides_runpath=no
10001 # Some binutils ld are patched to set DT_RUNPATH
10002 save_LDFLAGS=$LDFLAGS
10003 save_libdir=$libdir
10004 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10005 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10007/* end confdefs.h. */
10008
10009int
10010main ()
10011{
10012
10013 ;
10014 return 0;
10015}
10016_ACEOF
10017if ac_fn_c_try_link "$LINENO"; then :
10018 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10019 shlibpath_overrides_runpath=yes
10020fi
10021fi
10022rm -f core conftest.err conftest.$ac_objext \
10023 conftest$ac_exeext conftest.$ac_ext
10024 LDFLAGS=$save_LDFLAGS
10025 libdir=$save_libdir
10026
10027 # This implies no fast_install, which is unacceptable.
10028 # Some rework will be needed to allow for fast_install
10029 # before this can be enabled.
10030 hardcode_into_libs=yes
10031
10032 # Append ld.so.conf contents to the search path
10033 if test -f /etc/ld.so.conf; then
10034 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' ' '`
10035 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10036 fi
10037
10038 # We used to test for /lib/ld.so.1 and disable shared libraries on
10039 # powerpc, because MkLinux only supported shared libraries with the
10040 # GNU dynamic linker. Since this was broken with cross compilers,
10041 # most powerpc-linux boxes support dynamic linking these days and
10042 # people can always --disable-shared, the test was removed, and we
10043 # assume the GNU/Linux dynamic linker is in use.
10044 dynamic_linker='GNU/Linux ld.so'
10045 ;;
10046
10047netbsdelf*-gnu)
10048 version_type=linux
10049 need_lib_prefix=no
10050 need_version=no
10051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10052 soname_spec='${libname}${release}${shared_ext}$major'
10053 shlibpath_var=LD_LIBRARY_PATH
10054 shlibpath_overrides_runpath=no
10055 hardcode_into_libs=yes
10056 dynamic_linker='NetBSD ld.elf_so'
10057 ;;
10058
10059netbsd*)
10060 version_type=sunos
10061 need_lib_prefix=no
10062 need_version=no
10063 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10065 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10066 dynamic_linker='NetBSD (a.out) ld.so'
10067 else
10068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10069 soname_spec='${libname}${release}${shared_ext}$major'
10070 dynamic_linker='NetBSD ld.elf_so'
10071 fi
10072 shlibpath_var=LD_LIBRARY_PATH
10073 shlibpath_overrides_runpath=yes
10074 hardcode_into_libs=yes
10075 ;;
10076
10077newsos6)
10078 version_type=linux
10079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10080 shlibpath_var=LD_LIBRARY_PATH
10081 shlibpath_overrides_runpath=yes
10082 ;;
10083
10084*nto* | *qnx*)
10085 version_type=qnx
10086 need_lib_prefix=no
10087 need_version=no
10088 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10089 soname_spec='${libname}${release}${shared_ext}$major'
10090 shlibpath_var=LD_LIBRARY_PATH
10091 shlibpath_overrides_runpath=no
10092 hardcode_into_libs=yes
10093 dynamic_linker='ldqnx.so'
10094 ;;
10095
10096openbsd*)
10097 version_type=sunos
10098 sys_lib_dlsearch_path_spec="/usr/lib"
10099 need_lib_prefix=no
10100 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10101 case $host_os in
10102 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10103 *) need_version=no ;;
10104 esac
10105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10106 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10107 shlibpath_var=LD_LIBRARY_PATH
10108 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10109 case $host_os in
10110 openbsd2.[89] | openbsd2.[89].*)
10111 shlibpath_overrides_runpath=no
10112 ;;
10113 *)
10114 shlibpath_overrides_runpath=yes
10115 ;;
10116 esac
10117 else
10118 shlibpath_overrides_runpath=yes
10119 fi
10120 ;;
10121
10122os2*)
10123 libname_spec='$name'
10124 shrext_cmds=".dll"
10125 need_lib_prefix=no
10126 library_names_spec='$libname${shared_ext} $libname.a'
10127 dynamic_linker='OS/2 ld.exe'
10128 shlibpath_var=LIBPATH
10129 ;;
10130
10131osf3* | osf4* | osf5*)
10132 version_type=osf
10133 need_lib_prefix=no
10134 need_version=no
10135 soname_spec='${libname}${release}${shared_ext}$major'
10136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10137 shlibpath_var=LD_LIBRARY_PATH
10138 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10139 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10140 ;;
10141
10142rdos*)
10143 dynamic_linker=no
10144 ;;
10145
10146solaris*)
10147 version_type=linux
10148 need_lib_prefix=no
10149 need_version=no
10150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10151 soname_spec='${libname}${release}${shared_ext}$major'
10152 shlibpath_var=LD_LIBRARY_PATH
10153 shlibpath_overrides_runpath=yes
10154 hardcode_into_libs=yes
10155 # ldd complains unless libraries are executable
10156 postinstall_cmds='chmod +x $lib'
10157 ;;
10158
10159sunos4*)
10160 version_type=sunos
10161 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10162 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10163 shlibpath_var=LD_LIBRARY_PATH
10164 shlibpath_overrides_runpath=yes
10165 if test "$with_gnu_ld" = yes; then
10166 need_lib_prefix=no
10167 fi
10168 need_version=yes
10169 ;;
10170
10171sysv4 | sysv4.3*)
10172 version_type=linux
10173 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10174 soname_spec='${libname}${release}${shared_ext}$major'
10175 shlibpath_var=LD_LIBRARY_PATH
10176 case $host_vendor in
10177 sni)
10178 shlibpath_overrides_runpath=no
10179 need_lib_prefix=no
10180 runpath_var=LD_RUN_PATH
10181 ;;
10182 siemens)
10183 need_lib_prefix=no
10184 ;;
10185 motorola)
10186 need_lib_prefix=no
10187 need_version=no
10188 shlibpath_overrides_runpath=no
10189 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10190 ;;
10191 esac
10192 ;;
10193
10194sysv4*MP*)
10195 if test -d /usr/nec ;then
10196 version_type=linux
10197 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10198 soname_spec='$libname${shared_ext}.$major'
10199 shlibpath_var=LD_LIBRARY_PATH
10200 fi
10201 ;;
10202
10203sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10204 version_type=freebsd-elf
10205 need_lib_prefix=no
10206 need_version=no
10207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10208 soname_spec='${libname}${release}${shared_ext}$major'
10209 shlibpath_var=LD_LIBRARY_PATH
10210 shlibpath_overrides_runpath=yes
10211 hardcode_into_libs=yes
10212 if test "$with_gnu_ld" = yes; then
10213 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10214 else
10215 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10216 case $host_os in
10217 sco3.2v5*)
10218 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10219 ;;
10220 esac
10221 fi
10222 sys_lib_dlsearch_path_spec='/usr/lib'
10223 ;;
10224
10225tpf*)
10226 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10227 version_type=linux
10228 need_lib_prefix=no
10229 need_version=no
10230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10231 shlibpath_var=LD_LIBRARY_PATH
10232 shlibpath_overrides_runpath=no
10233 hardcode_into_libs=yes
10234 ;;
10235
10236uts4*)
10237 version_type=linux
10238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10239 soname_spec='${libname}${release}${shared_ext}$major'
10240 shlibpath_var=LD_LIBRARY_PATH
10241 ;;
10242
10243*)
10244 dynamic_linker=no
10245 ;;
10246esac
10247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10248$as_echo "$dynamic_linker" >&6; }
10249test "$dynamic_linker" = no && can_build_shared=no
10250
10251variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10252if test "$GCC" = yes; then
10253 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10254fi
10255
10256if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10257 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10258fi
10259if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10260 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10261fi
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10350$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10351hardcode_action=
10352if test -n "$hardcode_libdir_flag_spec" ||
10353 test -n "$runpath_var" ||
10354 test "X$hardcode_automatic" = "Xyes" ; then
10355
10356 # We can hardcode non-existent directories.
10357 if test "$hardcode_direct" != no &&
10358 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10359 # have to relink, otherwise we might link with an installed library
10360 # when we should be linking with a yet-to-be-installed one
10361 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10362 test "$hardcode_minus_L" != no; then
10363 # Linking always hardcodes the temporary library directory.
10364 hardcode_action=relink
10365 else
10366 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10367 hardcode_action=immediate
10368 fi
10369else
10370 # We cannot hardcode anything, or else we can only hardcode existing
10371 # directories.
10372 hardcode_action=unsupported
10373fi
10374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10375$as_echo "$hardcode_action" >&6; }
10376
10377if test "$hardcode_action" = relink ||
10378 test "$inherit_rpath" = yes; then
10379 # Fast installation is not supported
10380 enable_fast_install=no
10381elif test "$shlibpath_overrides_runpath" = yes ||
10382 test "$enable_shared" = no; then
10383 # Fast installation is not necessary
10384 enable_fast_install=needless
10385fi
10386
10387
10388
10389
10390
10391
10392 if test "x$enable_dlopen" != xyes; then
10393 enable_dlopen=unknown
10394 enable_dlopen_self=unknown
10395 enable_dlopen_self_static=unknown
10396else
10397 lt_cv_dlopen=no
10398 lt_cv_dlopen_libs=
10399
10400 case $host_os in
10401 beos*)
10402 lt_cv_dlopen="load_add_on"
10403 lt_cv_dlopen_libs=
10404 lt_cv_dlopen_self=yes
10405 ;;
10406
10407 mingw* | pw32* | cegcc*)
10408 lt_cv_dlopen="LoadLibrary"
10409 lt_cv_dlopen_libs=
10410 ;;
10411
10412 cygwin*)
10413 lt_cv_dlopen="dlopen"
10414 lt_cv_dlopen_libs=
10415 ;;
10416
10417 darwin*)
10418 # if libdl is installed we need to link against it
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10420$as_echo_n "checking for dlopen in -ldl... " >&6; }
10421if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10422 $as_echo_n "(cached) " >&6
10423else
10424 ac_check_lib_save_LIBS=$LIBS
10425LIBS="-ldl $LIBS"
10426cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10427/* end confdefs.h. */
10428
10429/* Override any GCC internal prototype to avoid an error.
10430 Use char because int might match the return type of a GCC
10431 builtin and then its argument prototype would still apply. */
10432#ifdef __cplusplus
10433extern "C"
10434#endif
10435char dlopen ();
10436int
10437main ()
10438{
10439return dlopen ();
10440 ;
10441 return 0;
10442}
10443_ACEOF
10444if ac_fn_c_try_link "$LINENO"; then :
10445 ac_cv_lib_dl_dlopen=yes
10446else
10447 ac_cv_lib_dl_dlopen=no
10448fi
10449rm -f core conftest.err conftest.$ac_objext \
10450 conftest$ac_exeext conftest.$ac_ext
10451LIBS=$ac_check_lib_save_LIBS
10452fi
10453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10454$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10455if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10456 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10457else
10458
10459 lt_cv_dlopen="dyld"
10460 lt_cv_dlopen_libs=
10461 lt_cv_dlopen_self=yes
10462
10463fi
10464
10465 ;;
10466
10467 *)
10468 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10469if test "x$ac_cv_func_shl_load" = x""yes; then :
10470 lt_cv_dlopen="shl_load"
10471else
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10473$as_echo_n "checking for shl_load in -ldld... " >&6; }
10474if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10475 $as_echo_n "(cached) " >&6
10476else
10477 ac_check_lib_save_LIBS=$LIBS
10478LIBS="-ldld $LIBS"
10479cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10480/* end confdefs.h. */
10481
10482/* Override any GCC internal prototype to avoid an error.
10483 Use char because int might match the return type of a GCC
10484 builtin and then its argument prototype would still apply. */
10485#ifdef __cplusplus
10486extern "C"
10487#endif
10488char shl_load ();
10489int
10490main ()
10491{
10492return shl_load ();
10493 ;
10494 return 0;
10495}
10496_ACEOF
10497if ac_fn_c_try_link "$LINENO"; then :
10498 ac_cv_lib_dld_shl_load=yes
10499else
10500 ac_cv_lib_dld_shl_load=no
10501fi
10502rm -f core conftest.err conftest.$ac_objext \
10503 conftest$ac_exeext conftest.$ac_ext
10504LIBS=$ac_check_lib_save_LIBS
10505fi
10506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10507$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10508if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10509 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10510else
10511 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10512if test "x$ac_cv_func_dlopen" = x""yes; then :
10513 lt_cv_dlopen="dlopen"
10514else
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10516$as_echo_n "checking for dlopen in -ldl... " >&6; }
10517if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10518 $as_echo_n "(cached) " >&6
10519else
10520 ac_check_lib_save_LIBS=$LIBS
10521LIBS="-ldl $LIBS"
10522cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10523/* end confdefs.h. */
10524
10525/* Override any GCC internal prototype to avoid an error.
10526 Use char because int might match the return type of a GCC
10527 builtin and then its argument prototype would still apply. */
10528#ifdef __cplusplus
10529extern "C"
10530#endif
10531char dlopen ();
10532int
10533main ()
10534{
10535return dlopen ();
10536 ;
10537 return 0;
10538}
10539_ACEOF
10540if ac_fn_c_try_link "$LINENO"; then :
10541 ac_cv_lib_dl_dlopen=yes
10542else
10543 ac_cv_lib_dl_dlopen=no
10544fi
10545rm -f core conftest.err conftest.$ac_objext \
10546 conftest$ac_exeext conftest.$ac_ext
10547LIBS=$ac_check_lib_save_LIBS
10548fi
10549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10550$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10551if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10552 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10553else
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10555$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10556if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10557 $as_echo_n "(cached) " >&6
10558else
10559 ac_check_lib_save_LIBS=$LIBS
10560LIBS="-lsvld $LIBS"
10561cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10562/* end confdefs.h. */
10563
10564/* Override any GCC internal prototype to avoid an error.
10565 Use char because int might match the return type of a GCC
10566 builtin and then its argument prototype would still apply. */
10567#ifdef __cplusplus
10568extern "C"
10569#endif
10570char dlopen ();
10571int
10572main ()
10573{
10574return dlopen ();
10575 ;
10576 return 0;
10577}
10578_ACEOF
10579if ac_fn_c_try_link "$LINENO"; then :
10580 ac_cv_lib_svld_dlopen=yes
10581else
10582 ac_cv_lib_svld_dlopen=no
10583fi
10584rm -f core conftest.err conftest.$ac_objext \
10585 conftest$ac_exeext conftest.$ac_ext
10586LIBS=$ac_check_lib_save_LIBS
10587fi
10588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10589$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10590if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10591 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10592else
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10594$as_echo_n "checking for dld_link in -ldld... " >&6; }
10595if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10596 $as_echo_n "(cached) " >&6
10597else
10598 ac_check_lib_save_LIBS=$LIBS
10599LIBS="-ldld $LIBS"
10600cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10601/* end confdefs.h. */
10602
10603/* Override any GCC internal prototype to avoid an error.
10604 Use char because int might match the return type of a GCC
10605 builtin and then its argument prototype would still apply. */
10606#ifdef __cplusplus
10607extern "C"
10608#endif
10609char dld_link ();
10610int
10611main ()
10612{
10613return dld_link ();
10614 ;
10615 return 0;
10616}
10617_ACEOF
10618if ac_fn_c_try_link "$LINENO"; then :
10619 ac_cv_lib_dld_dld_link=yes
10620else
10621 ac_cv_lib_dld_dld_link=no
10622fi
10623rm -f core conftest.err conftest.$ac_objext \
10624 conftest$ac_exeext conftest.$ac_ext
10625LIBS=$ac_check_lib_save_LIBS
10626fi
10627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10628$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10629if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10630 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10631fi
10632
10633
10634fi
10635
10636
10637fi
10638
10639
10640fi
10641
10642
10643fi
10644
10645
10646fi
10647
10648 ;;
10649 esac
10650
10651 if test "x$lt_cv_dlopen" != xno; then
10652 enable_dlopen=yes
10653 else
10654 enable_dlopen=no
10655 fi
10656
10657 case $lt_cv_dlopen in
10658 dlopen)
10659 save_CPPFLAGS="$CPPFLAGS"
10660 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10661
10662 save_LDFLAGS="$LDFLAGS"
10663 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10664
10665 save_LIBS="$LIBS"
10666 LIBS="$lt_cv_dlopen_libs $LIBS"
10667
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10669$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10670if test "${lt_cv_dlopen_self+set}" = set; then :
10671 $as_echo_n "(cached) " >&6
10672else
10673 if test "$cross_compiling" = yes; then :
10674 lt_cv_dlopen_self=cross
10675else
10676 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10677 lt_status=$lt_dlunknown
10678 cat > conftest.$ac_ext <<_LT_EOF
10679#line 10679 "configure"
10680#include "confdefs.h"
10681
10682#if HAVE_DLFCN_H
10683#include <dlfcn.h>
10684#endif
10685
10686#include <stdio.h>
10687
10688#ifdef RTLD_GLOBAL
10689# define LT_DLGLOBAL RTLD_GLOBAL
10690#else
10691# ifdef DL_GLOBAL
10692# define LT_DLGLOBAL DL_GLOBAL
10693# else
10694# define LT_DLGLOBAL 0
10695# endif
10696#endif
10697
10698/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10699 find out it does not work in some platform. */
10700#ifndef LT_DLLAZY_OR_NOW
10701# ifdef RTLD_LAZY
10702# define LT_DLLAZY_OR_NOW RTLD_LAZY
10703# else
10704# ifdef DL_LAZY
10705# define LT_DLLAZY_OR_NOW DL_LAZY
10706# else
10707# ifdef RTLD_NOW
10708# define LT_DLLAZY_OR_NOW RTLD_NOW
10709# else
10710# ifdef DL_NOW
10711# define LT_DLLAZY_OR_NOW DL_NOW
10712# else
10713# define LT_DLLAZY_OR_NOW 0
10714# endif
10715# endif
10716# endif
10717# endif
10718#endif
10719
10720void fnord() { int i=42;}
10721int main ()
10722{
10723 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10724 int status = $lt_dlunknown;
10725
10726 if (self)
10727 {
10728 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10729 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10730 /* dlclose (self); */
10731 }
10732 else
10733 puts (dlerror ());
10734
10735 return status;
10736}
10737_LT_EOF
10738 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10739 (eval $ac_link) 2>&5
10740 ac_status=$?
10741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10742 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10743 (./conftest; exit; ) >&5 2>/dev/null
10744 lt_status=$?
10745 case x$lt_status in
10746 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10747 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10748 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10749 esac
10750 else :
10751 # compilation failed
10752 lt_cv_dlopen_self=no
10753 fi
10754fi
10755rm -fr conftest*
10756
10757
10758fi
10759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10760$as_echo "$lt_cv_dlopen_self" >&6; }
10761
10762 if test "x$lt_cv_dlopen_self" = xyes; then
10763 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10765$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10766if test "${lt_cv_dlopen_self_static+set}" = set; then :
10767 $as_echo_n "(cached) " >&6
10768else
10769 if test "$cross_compiling" = yes; then :
10770 lt_cv_dlopen_self_static=cross
10771else
10772 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10773 lt_status=$lt_dlunknown
10774 cat > conftest.$ac_ext <<_LT_EOF
10775#line 10775 "configure"
10776#include "confdefs.h"
10777
10778#if HAVE_DLFCN_H
10779#include <dlfcn.h>
10780#endif
10781
10782#include <stdio.h>
10783
10784#ifdef RTLD_GLOBAL
10785# define LT_DLGLOBAL RTLD_GLOBAL
10786#else
10787# ifdef DL_GLOBAL
10788# define LT_DLGLOBAL DL_GLOBAL
10789# else
10790# define LT_DLGLOBAL 0
10791# endif
10792#endif
10793
10794/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10795 find out it does not work in some platform. */
10796#ifndef LT_DLLAZY_OR_NOW
10797# ifdef RTLD_LAZY
10798# define LT_DLLAZY_OR_NOW RTLD_LAZY
10799# else
10800# ifdef DL_LAZY
10801# define LT_DLLAZY_OR_NOW DL_LAZY
10802# else
10803# ifdef RTLD_NOW
10804# define LT_DLLAZY_OR_NOW RTLD_NOW
10805# else
10806# ifdef DL_NOW
10807# define LT_DLLAZY_OR_NOW DL_NOW
10808# else
10809# define LT_DLLAZY_OR_NOW 0
10810# endif
10811# endif
10812# endif
10813# endif
10814#endif
10815
10816void fnord() { int i=42;}
10817int main ()
10818{
10819 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10820 int status = $lt_dlunknown;
10821
10822 if (self)
10823 {
10824 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10825 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10826 /* dlclose (self); */
10827 }
10828 else
10829 puts (dlerror ());
10830
10831 return status;
10832}
10833_LT_EOF
10834 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10835 (eval $ac_link) 2>&5
10836 ac_status=$?
10837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10838 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10839 (./conftest; exit; ) >&5 2>/dev/null
10840 lt_status=$?
10841 case x$lt_status in
10842 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10843 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10844 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10845 esac
10846 else :
10847 # compilation failed
10848 lt_cv_dlopen_self_static=no
10849 fi
10850fi
10851rm -fr conftest*
10852
10853
10854fi
10855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10856$as_echo "$lt_cv_dlopen_self_static" >&6; }
10857 fi
10858
10859 CPPFLAGS="$save_CPPFLAGS"
10860 LDFLAGS="$save_LDFLAGS"
10861 LIBS="$save_LIBS"
10862 ;;
10863 esac
10864
10865 case $lt_cv_dlopen_self in
10866 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10867 *) enable_dlopen_self=unknown ;;
10868 esac
10869
10870 case $lt_cv_dlopen_self_static in
10871 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10872 *) enable_dlopen_self_static=unknown ;;
10873 esac
10874fi
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892striplib=
10893old_striplib=
10894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10895$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10896if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10897 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10898 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10900$as_echo "yes" >&6; }
10901else
10902# FIXME - insert some real tests, host_os isn't really good enough
10903 case $host_os in
10904 darwin*)
10905 if test -n "$STRIP" ; then
10906 striplib="$STRIP -x"
10907 old_striplib="$STRIP -S"
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10909$as_echo "yes" >&6; }
10910 else
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10912$as_echo "no" >&6; }
10913 fi
10914 ;;
10915 *)
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10917$as_echo "no" >&6; }
10918 ;;
10919 esac
10920fi
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933 # Report which library types will actually be built
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10935$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10937$as_echo "$can_build_shared" >&6; }
10938
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10940$as_echo_n "checking whether to build shared libraries... " >&6; }
10941 test "$can_build_shared" = "no" && enable_shared=no
10942
10943 # On AIX, shared libraries and static libraries use the same namespace, and
10944 # are all built from PIC.
10945 case $host_os in
10946 aix3*)
10947 test "$enable_shared" = yes && enable_static=no
10948 if test -n "$RANLIB"; then
10949 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10950 postinstall_cmds='$RANLIB $lib'
10951 fi
10952 ;;
10953
10954 aix[4-9]*)
10955 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10956 test "$enable_shared" = yes && enable_static=no
10957 fi
10958 ;;
10959 esac
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10961$as_echo "$enable_shared" >&6; }
10962
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10964$as_echo_n "checking whether to build static libraries... " >&6; }
10965 # Make sure either enable_shared or enable_static is yes.
10966 test "$enable_shared" = yes || enable_static=yes
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10968$as_echo "$enable_static" >&6; }
10969
10970
10971
10972
10973fi
10974ac_ext=c
10975ac_cpp='$CPP $CPPFLAGS'
10976ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10977ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10978ac_compiler_gnu=$ac_cv_c_compiler_gnu
10979
10980CC="$lt_save_CC"
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994 ac_config_commands="$ac_config_commands libtool"
10995
10996
10997
10998
10999# Only expand once:
11000
11001
11002
11003##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11004##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11005
11006
11007
11008cat >>confdefs.h <<_ACEOF
11009#define VMAJ 1
11010_ACEOF
11011
11012
11013cat >>confdefs.h <<_ACEOF
11014#define VMIN 2
11015_ACEOF
11016
11017
11018cat >>confdefs.h <<_ACEOF
11019#define VMIC 0
11020_ACEOF
11021
11022
11023cat >>confdefs.h <<_ACEOF
11024#define VREV 0
11025_ACEOF
11026
11027version_info="3:0:2"
11028release_info=""
11029
11030
11031##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11032##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11033VMAJ=1
11034
11035
11036
11037cat >>confdefs.h <<_ACEOF
11038#define SHARED_LIB_SUFFIX "$shrext_cmds"
11039_ACEOF
11040
11041
11042### Default options with respect to host
11043
11044
11045
11046
11047case "$host_os" in
11048 mingw32ce* | cegcc*)
11049 MODULE_ARCH="$host_os-$host_cpu"
11050 install_vim="no"
11051 have_edje_cc="no"
11052 ;;
11053 *)
11054 MODULE_ARCH="$host_os-$host_cpu-1.0.0"
11055 install_vim="yes"
11056 have_edje_cc="yes"
11057 ;;
11058esac
11059
11060requirement_edje=""
11061
11062
11063
11064cat >>confdefs.h <<_ACEOF
11065#define MODULE_ARCH "${MODULE_ARCH}"
11066_ACEOF
11067
11068
11069### Additional options to configure
11070
11071# Check whether --enable-amalgamation was given.
11072if test "${enable_amalgamation+set}" = set; then :
11073 enableval=$enable_amalgamation; if test "x${enableval}" = "xyes"; then
11074 do_amalgamation="yes"
11075 else
11076 do_amalgamation="no"
11077 fi
11078
11079else
11080 do_amalgamation="no"
11081
11082fi
11083
11084 if test "x${do_amalgamation}" = "xyes"; then
11085 EDJE_AMALGAMATION_TRUE=
11086 EDJE_AMALGAMATION_FALSE='#'
11087else
11088 EDJE_AMALGAMATION_TRUE='#'
11089 EDJE_AMALGAMATION_FALSE=
11090fi
11091
11092
11093
11094
11095
11096
11097
11098# Check whether --with-edje-cc was given.
11099if test "${with_edje_cc+set}" = set; then :
11100 withval=$with_edje_cc; _efl_with_binary=${withval}
11101else
11102 _efl_with_binary=$(pkg-config --variable=prefix edje)/bin/edje_cc
11103fi
11104
11105
11106edje_cc=${_efl_with_binary}
11107{ $as_echo "$as_me:${as_lineno-$LINENO}: edje_cc set to ${_efl_with_binary}" >&5
11108$as_echo "$as_me: edje_cc set to ${_efl_with_binary}" >&6;}
11109
11110with_binary_edje_cc=${_efl_with_binary}
11111
11112
11113
11114
11115
11116
11117
11118
11119have_edje_cc="yes"
11120
11121
11122# Check whether --enable-edje-cc was given.
11123if test "${enable_edje_cc+set}" = set; then :
11124 enableval=$enable_edje_cc;
11125 if test "x${enableval}" = "xyes" ; then
11126 have_edje_cc="yes"
11127 else
11128 have_edje_cc="no"
11129 fi
11130
11131fi
11132
11133
11134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_cc binary" >&5
11135$as_echo_n "checking whether to build edje_cc binary... " >&6; }
11136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_cc" >&5
11137$as_echo "$have_edje_cc" >&6; }
11138
11139if test "x$have_edje_cc" = "xyes"; then
11140 EDJE_CC_PRG=edje_cc${EXEEXT}
11141fi
11142
11143
11144
11145 if test "x$have_edje_cc" = "xyes"; then
11146 BUILD_EDJE_CC_TRUE=
11147 BUILD_EDJE_CC_FALSE='#'
11148else
11149 BUILD_EDJE_CC_TRUE='#'
11150 BUILD_EDJE_CC_FALSE=
11151fi
11152
11153
11154if test "x$have_edje_cc" = "xyes"; then :
11155
11156fi
11157
11158
11159
11160
11161
11162have_edje_decc="yes"
11163
11164
11165# Check whether --enable-edje-decc was given.
11166if test "${enable_edje_decc+set}" = set; then :
11167 enableval=$enable_edje_decc;
11168 if test "x${enableval}" = "xyes" ; then
11169 have_edje_decc="yes"
11170 else
11171 have_edje_decc="no"
11172 fi
11173
11174fi
11175
11176
11177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_decc binary" >&5
11178$as_echo_n "checking whether to build edje_decc binary... " >&6; }
11179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_decc" >&5
11180$as_echo "$have_edje_decc" >&6; }
11181
11182if test "x$have_edje_decc" = "xyes"; then
11183 EDJE_DECC_PRG=edje_decc${EXEEXT}
11184fi
11185
11186
11187
11188 if test "x$have_edje_decc" = "xyes"; then
11189 BUILD_EDJE_DECC_TRUE=
11190 BUILD_EDJE_DECC_FALSE='#'
11191else
11192 BUILD_EDJE_DECC_TRUE='#'
11193 BUILD_EDJE_DECC_FALSE=
11194fi
11195
11196
11197if test "x$have_edje_decc" = "xyes"; then :
11198
11199fi
11200
11201
11202
11203
11204
11205have_edje_recc="yes"
11206
11207
11208# Check whether --enable-edje-recc was given.
11209if test "${enable_edje_recc+set}" = set; then :
11210 enableval=$enable_edje_recc;
11211 if test "x${enableval}" = "xyes" ; then
11212 have_edje_recc="yes"
11213 else
11214 have_edje_recc="no"
11215 fi
11216
11217fi
11218
11219
11220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_recc binary" >&5
11221$as_echo_n "checking whether to build edje_recc binary... " >&6; }
11222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_recc" >&5
11223$as_echo "$have_edje_recc" >&6; }
11224
11225if test "x$have_edje_recc" = "xyes"; then
11226 EDJE_RECC_PRG=edje_recc${EXEEXT}
11227fi
11228
11229
11230
11231 if test "x$have_edje_recc" = "xyes"; then
11232 BUILD_EDJE_RECC_TRUE=
11233 BUILD_EDJE_RECC_FALSE='#'
11234else
11235 BUILD_EDJE_RECC_TRUE='#'
11236 BUILD_EDJE_RECC_FALSE=
11237fi
11238
11239
11240if test "x$have_edje_recc" = "xyes"; then :
11241
11242fi
11243
11244
11245
11246
11247
11248have_edje_player="yes"
11249
11250
11251# Check whether --enable-edje-player was given.
11252if test "${enable_edje_player+set}" = set; then :
11253 enableval=$enable_edje_player;
11254 if test "x${enableval}" = "xyes" ; then
11255 have_edje_player="yes"
11256 else
11257 have_edje_player="no"
11258 fi
11259
11260fi
11261
11262
11263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_player binary" >&5
11264$as_echo_n "checking whether to build edje_player binary... " >&6; }
11265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_player" >&5
11266$as_echo "$have_edje_player" >&6; }
11267
11268if test "x$have_edje_player" = "xyes"; then
11269 EDJE_PLAYER_PRG=edje_player${EXEEXT}
11270fi
11271
11272
11273
11274 if test "x$have_edje_player" = "xyes"; then
11275 BUILD_EDJE_PLAYER_TRUE=
11276 BUILD_EDJE_PLAYER_FALSE='#'
11277else
11278 BUILD_EDJE_PLAYER_TRUE='#'
11279 BUILD_EDJE_PLAYER_FALSE=
11280fi
11281
11282
11283if test "x$have_edje_player" = "xyes"; then :
11284
11285fi
11286
11287
11288
11289
11290
11291have_edje_inspector="yes"
11292
11293
11294# Check whether --enable-edje-inspector was given.
11295if test "${enable_edje_inspector+set}" = set; then :
11296 enableval=$enable_edje_inspector;
11297 if test "x${enableval}" = "xyes" ; then
11298 have_edje_inspector="yes"
11299 else
11300 have_edje_inspector="no"
11301 fi
11302
11303fi
11304
11305
11306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_inspector binary" >&5
11307$as_echo_n "checking whether to build edje_inspector binary... " >&6; }
11308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_inspector" >&5
11309$as_echo "$have_edje_inspector" >&6; }
11310
11311if test "x$have_edje_inspector" = "xyes"; then
11312 EDJE_INSPECTOR_PRG=edje_inspector${EXEEXT}
11313fi
11314
11315
11316
11317 if test "x$have_edje_inspector" = "xyes"; then
11318 BUILD_EDJE_INSPECTOR_TRUE=
11319 BUILD_EDJE_INSPECTOR_FALSE='#'
11320else
11321 BUILD_EDJE_INSPECTOR_TRUE='#'
11322 BUILD_EDJE_INSPECTOR_FALSE=
11323fi
11324
11325
11326if test "x$have_edje_inspector" = "xyes"; then :
11327
11328fi
11329
11330
11331
11332
11333
11334have_edje_external_inspector="yes"
11335
11336
11337# Check whether --enable-edje-external-inspector was given.
11338if test "${enable_edje_external_inspector+set}" = set; then :
11339 enableval=$enable_edje_external_inspector;
11340 if test "x${enableval}" = "xyes" ; then
11341 have_edje_external_inspector="yes"
11342 else
11343 have_edje_external_inspector="no"
11344 fi
11345
11346fi
11347
11348
11349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_external_inspector binary" >&5
11350$as_echo_n "checking whether to build edje_external_inspector binary... " >&6; }
11351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_external_inspector" >&5
11352$as_echo "$have_edje_external_inspector" >&6; }
11353
11354if test "x$have_edje_external_inspector" = "xyes"; then
11355 EDJE_EXTERNAL_INSPECTOR_PRG=edje_external_inspector${EXEEXT}
11356fi
11357
11358
11359
11360 if test "x$have_edje_external_inspector" = "xyes"; then
11361 BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE=
11362 BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE='#'
11363else
11364 BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE='#'
11365 BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE=
11366fi
11367
11368
11369if test "x$have_edje_external_inspector" = "xyes"; then :
11370
11371fi
11372
11373
11374
11375# Optional EDJE_PROGRAM_CACHE (use much more ram, but increase speed in some cases)
11376want_edje_program_cache="no"
11377
11378# Check whether --enable-edje-program-cache was given.
11379if test "${enable_edje_program_cache+set}" = set; then :
11380 enableval=$enable_edje_program_cache; want_edje_program_cache=$enableval
11381
11382fi
11383
11384 if test "x${want_edje_program_cache}" = "xyes"; then
11385 EDJE_PROGRAM_CACHE_TRUE=
11386 EDJE_PROGRAM_CACHE_FALSE='#'
11387else
11388 EDJE_PROGRAM_CACHE_TRUE='#'
11389 EDJE_PROGRAM_CACHE_FALSE=
11390fi
11391
11392
11393if test "x${want_edje_program_cache}" = "xyes" ; then
11394
11395$as_echo "#define EDJE_PROGRAM_CACHE 1" >>confdefs.h
11396
11397fi
11398
11399# Optional EDJE_CALC_CACHE (use more ram, but increase speed by reducing the need to recalculate static stuff)
11400want_edje_calc_cache="yes"
11401
11402# Check whether --enable-edje-calc-cache was given.
11403if test "${enable_edje_calc_cache+set}" = set; then :
11404 enableval=$enable_edje_calc_cache; want_edje_calc_cache=$enableval
11405
11406fi
11407
11408 if test "x${want_edje_calc_cache}" = "xyes"; then
11409 EDJE_CALC_CACHE_TRUE=
11410 EDJE_CALC_CACHE_FALSE='#'
11411else
11412 EDJE_CALC_CACHE_TRUE='#'
11413 EDJE_CALC_CACHE_FALSE=
11414fi
11415
11416
11417if test "x${want_edje_calc_cache}" = "xyes" ; then
11418
11419$as_echo "#define EDJE_CALC_CACHE 1" >>confdefs.h
11420
11421fi
11422
11423# Enable Fixed Point use
11424want_fixed_point="no"
11425
11426# Check whether --enable-fixed-point was given.
11427if test "${enable_fixed_point+set}" = set; then :
11428 enableval=$enable_fixed_point; want_fixed_point=$enableval
11429
11430fi
11431
11432 if test "x${want_fixed_point}" = "xyes"; then
11433 BUILD_EDJE_FP_TRUE=
11434 BUILD_EDJE_FP_FALSE='#'
11435else
11436 BUILD_EDJE_FP_TRUE='#'
11437 BUILD_EDJE_FP_FALSE=
11438fi
11439
11440
11441if test "x${want_fixed_point}" = "xyes" ; then
11442
11443$as_echo "#define BUILD_EDJE_FP 1" >>confdefs.h
11444
11445fi
11446
11447install_vim="yes"
11448
11449# Check whether --with-vim was given.
11450if test "${with_vim+set}" = set; then :
11451 withval=$with_vim;
11452 if test -d "${withval}"; then
11453 vimdir="${withval}"
11454 fi
11455
11456
11457fi
11458
11459
11460if test "x${vimdir}" = "x" ; then
11461 if test -d "${prefix}/share/vim"; then
11462 vimdir="${prefix}/share/vim"
11463 elif test -d "/usr/share/vim"; then
11464 vimdir="/usr/share/vim"
11465 elif test -d "/usr/local/share/vim"; then
11466 vimdir="/usr/local/share/vim"
11467 elif test -d "/opt/share/vim"; then
11468 vimdir="/opt/share/vim"
11469 else
11470 install_vim="no"
11471 fi
11472fi
11473
11474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of Vim data files" >&5
11475$as_echo_n "checking for location of Vim data files... " >&6; }
11476
11477if test "${install_vim}" = "yes"; then
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vimdir" >&5
11479$as_echo "$vimdir" >&6; }
11480else
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found, EDC syntax file will not be installed" >&5
11482$as_echo "Not found, EDC syntax file will not be installed" >&6; }
11483fi
11484
11485
11486
11487### Checks for programs
11488ac_ext=c
11489ac_cpp='$CPP $CPPFLAGS'
11490ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11491ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11492ac_compiler_gnu=$ac_cv_c_compiler_gnu
11493if test -n "$ac_tool_prefix"; then
11494 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11495set dummy ${ac_tool_prefix}gcc; ac_word=$2
11496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11497$as_echo_n "checking for $ac_word... " >&6; }
11498if test "${ac_cv_prog_CC+set}" = set; then :
11499 $as_echo_n "(cached) " >&6
11500else
11501 if test -n "$CC"; then
11502 ac_cv_prog_CC="$CC" # Let the user override the test.
11503else
11504as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11505for as_dir in $PATH
11506do
11507 IFS=$as_save_IFS
11508 test -z "$as_dir" && as_dir=.
11509 for ac_exec_ext in '' $ac_executable_extensions; do
11510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11511 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11513 break 2
11514 fi
11515done
11516 done
11517IFS=$as_save_IFS
11518
11519fi
11520fi
11521CC=$ac_cv_prog_CC
11522if test -n "$CC"; then
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11524$as_echo "$CC" >&6; }
11525else
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11527$as_echo "no" >&6; }
11528fi
11529
11530
11531fi
11532if test -z "$ac_cv_prog_CC"; then
11533 ac_ct_CC=$CC
11534 # Extract the first word of "gcc", so it can be a program name with args.
11535set dummy gcc; ac_word=$2
11536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11537$as_echo_n "checking for $ac_word... " >&6; }
11538if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11539 $as_echo_n "(cached) " >&6
11540else
11541 if test -n "$ac_ct_CC"; then
11542 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11543else
11544as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11545for as_dir in $PATH
11546do
11547 IFS=$as_save_IFS
11548 test -z "$as_dir" && as_dir=.
11549 for ac_exec_ext in '' $ac_executable_extensions; do
11550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11551 ac_cv_prog_ac_ct_CC="gcc"
11552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11553 break 2
11554 fi
11555done
11556 done
11557IFS=$as_save_IFS
11558
11559fi
11560fi
11561ac_ct_CC=$ac_cv_prog_ac_ct_CC
11562if test -n "$ac_ct_CC"; then
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11564$as_echo "$ac_ct_CC" >&6; }
11565else
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11567$as_echo "no" >&6; }
11568fi
11569
11570 if test "x$ac_ct_CC" = x; then
11571 CC=""
11572 else
11573 case $cross_compiling:$ac_tool_warned in
11574yes:)
11575{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11576$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11577ac_tool_warned=yes ;;
11578esac
11579 CC=$ac_ct_CC
11580 fi
11581else
11582 CC="$ac_cv_prog_CC"
11583fi
11584
11585if test -z "$CC"; then
11586 if test -n "$ac_tool_prefix"; then
11587 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11588set dummy ${ac_tool_prefix}cc; ac_word=$2
11589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11590$as_echo_n "checking for $ac_word... " >&6; }
11591if test "${ac_cv_prog_CC+set}" = set; then :
11592 $as_echo_n "(cached) " >&6
11593else
11594 if test -n "$CC"; then
11595 ac_cv_prog_CC="$CC" # Let the user override the test.
11596else
11597as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11598for as_dir in $PATH
11599do
11600 IFS=$as_save_IFS
11601 test -z "$as_dir" && as_dir=.
11602 for ac_exec_ext in '' $ac_executable_extensions; do
11603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11604 ac_cv_prog_CC="${ac_tool_prefix}cc"
11605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11606 break 2
11607 fi
11608done
11609 done
11610IFS=$as_save_IFS
11611
11612fi
11613fi
11614CC=$ac_cv_prog_CC
11615if test -n "$CC"; then
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11617$as_echo "$CC" >&6; }
11618else
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11620$as_echo "no" >&6; }
11621fi
11622
11623
11624 fi
11625fi
11626if test -z "$CC"; then
11627 # Extract the first word of "cc", so it can be a program name with args.
11628set dummy cc; ac_word=$2
11629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11630$as_echo_n "checking for $ac_word... " >&6; }
11631if test "${ac_cv_prog_CC+set}" = set; then :
11632 $as_echo_n "(cached) " >&6
11633else
11634 if test -n "$CC"; then
11635 ac_cv_prog_CC="$CC" # Let the user override the test.
11636else
11637 ac_prog_rejected=no
11638as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11639for as_dir in $PATH
11640do
11641 IFS=$as_save_IFS
11642 test -z "$as_dir" && as_dir=.
11643 for ac_exec_ext in '' $ac_executable_extensions; do
11644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11645 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11646 ac_prog_rejected=yes
11647 continue
11648 fi
11649 ac_cv_prog_CC="cc"
11650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11651 break 2
11652 fi
11653done
11654 done
11655IFS=$as_save_IFS
11656
11657if test $ac_prog_rejected = yes; then
11658 # We found a bogon in the path, so make sure we never use it.
11659 set dummy $ac_cv_prog_CC
11660 shift
11661 if test $# != 0; then
11662 # We chose a different compiler from the bogus one.
11663 # However, it has the same basename, so the bogon will be chosen
11664 # first if we set CC to just the basename; use the full file name.
11665 shift
11666 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11667 fi
11668fi
11669fi
11670fi
11671CC=$ac_cv_prog_CC
11672if test -n "$CC"; then
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11674$as_echo "$CC" >&6; }
11675else
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11677$as_echo "no" >&6; }
11678fi
11679
11680
11681fi
11682if test -z "$CC"; then
11683 if test -n "$ac_tool_prefix"; then
11684 for ac_prog in cl.exe
11685 do
11686 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11687set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11689$as_echo_n "checking for $ac_word... " >&6; }
11690if test "${ac_cv_prog_CC+set}" = set; then :
11691 $as_echo_n "(cached) " >&6
11692else
11693 if test -n "$CC"; then
11694 ac_cv_prog_CC="$CC" # Let the user override the test.
11695else
11696as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11697for as_dir in $PATH
11698do
11699 IFS=$as_save_IFS
11700 test -z "$as_dir" && as_dir=.
11701 for ac_exec_ext in '' $ac_executable_extensions; do
11702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11703 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11705 break 2
11706 fi
11707done
11708 done
11709IFS=$as_save_IFS
11710
11711fi
11712fi
11713CC=$ac_cv_prog_CC
11714if test -n "$CC"; then
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11716$as_echo "$CC" >&6; }
11717else
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11719$as_echo "no" >&6; }
11720fi
11721
11722
11723 test -n "$CC" && break
11724 done
11725fi
11726if test -z "$CC"; then
11727 ac_ct_CC=$CC
11728 for ac_prog in cl.exe
11729do
11730 # Extract the first word of "$ac_prog", so it can be a program name with args.
11731set dummy $ac_prog; ac_word=$2
11732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11733$as_echo_n "checking for $ac_word... " >&6; }
11734if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11735 $as_echo_n "(cached) " >&6
11736else
11737 if test -n "$ac_ct_CC"; then
11738 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11739else
11740as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11741for as_dir in $PATH
11742do
11743 IFS=$as_save_IFS
11744 test -z "$as_dir" && as_dir=.
11745 for ac_exec_ext in '' $ac_executable_extensions; do
11746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11747 ac_cv_prog_ac_ct_CC="$ac_prog"
11748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11749 break 2
11750 fi
11751done
11752 done
11753IFS=$as_save_IFS
11754
11755fi
11756fi
11757ac_ct_CC=$ac_cv_prog_ac_ct_CC
11758if test -n "$ac_ct_CC"; then
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11760$as_echo "$ac_ct_CC" >&6; }
11761else
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11763$as_echo "no" >&6; }
11764fi
11765
11766
11767 test -n "$ac_ct_CC" && break
11768done
11769
11770 if test "x$ac_ct_CC" = x; then
11771 CC=""
11772 else
11773 case $cross_compiling:$ac_tool_warned in
11774yes:)
11775{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11776$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11777ac_tool_warned=yes ;;
11778esac
11779 CC=$ac_ct_CC
11780 fi
11781fi
11782
11783fi
11784
11785
11786test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11787$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11788as_fn_error $? "no acceptable C compiler found in \$PATH
11789See \`config.log' for more details" "$LINENO" 5 ; }
11790
11791# Provide some information about the compiler.
11792$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11793set X $ac_compile
11794ac_compiler=$2
11795for ac_option in --version -v -V -qversion; do
11796 { { ac_try="$ac_compiler $ac_option >&5"
11797case "(($ac_try" in
11798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11799 *) ac_try_echo=$ac_try;;
11800esac
11801eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11802$as_echo "$ac_try_echo"; } >&5
11803 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11804 ac_status=$?
11805 if test -s conftest.err; then
11806 sed '10a\
11807... rest of stderr output deleted ...
11808 10q' conftest.err >conftest.er1
11809 cat conftest.er1 >&5
11810 fi
11811 rm -f conftest.er1 conftest.err
11812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11813 test $ac_status = 0; }
11814done
11815
11816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11817$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11818if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11819 $as_echo_n "(cached) " >&6
11820else
11821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11822/* end confdefs.h. */
11823
11824int
11825main ()
11826{
11827#ifndef __GNUC__
11828 choke me
11829#endif
11830
11831 ;
11832 return 0;
11833}
11834_ACEOF
11835if ac_fn_c_try_compile "$LINENO"; then :
11836 ac_compiler_gnu=yes
11837else
11838 ac_compiler_gnu=no
11839fi
11840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11841ac_cv_c_compiler_gnu=$ac_compiler_gnu
11842
11843fi
11844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11845$as_echo "$ac_cv_c_compiler_gnu" >&6; }
11846if test $ac_compiler_gnu = yes; then
11847 GCC=yes
11848else
11849 GCC=
11850fi
11851ac_test_CFLAGS=${CFLAGS+set}
11852ac_save_CFLAGS=$CFLAGS
11853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11854$as_echo_n "checking whether $CC accepts -g... " >&6; }
11855if test "${ac_cv_prog_cc_g+set}" = set; then :
11856 $as_echo_n "(cached) " >&6
11857else
11858 ac_save_c_werror_flag=$ac_c_werror_flag
11859 ac_c_werror_flag=yes
11860 ac_cv_prog_cc_g=no
11861 CFLAGS="-g"
11862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11863/* end confdefs.h. */
11864
11865int
11866main ()
11867{
11868
11869 ;
11870 return 0;
11871}
11872_ACEOF
11873if ac_fn_c_try_compile "$LINENO"; then :
11874 ac_cv_prog_cc_g=yes
11875else
11876 CFLAGS=""
11877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11878/* end confdefs.h. */
11879
11880int
11881main ()
11882{
11883
11884 ;
11885 return 0;
11886}
11887_ACEOF
11888if ac_fn_c_try_compile "$LINENO"; then :
11889
11890else
11891 ac_c_werror_flag=$ac_save_c_werror_flag
11892 CFLAGS="-g"
11893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11894/* end confdefs.h. */
11895
11896int
11897main ()
11898{
11899
11900 ;
11901 return 0;
11902}
11903_ACEOF
11904if ac_fn_c_try_compile "$LINENO"; then :
11905 ac_cv_prog_cc_g=yes
11906fi
11907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11908fi
11909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11910fi
11911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11912 ac_c_werror_flag=$ac_save_c_werror_flag
11913fi
11914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11915$as_echo "$ac_cv_prog_cc_g" >&6; }
11916if test "$ac_test_CFLAGS" = set; then
11917 CFLAGS=$ac_save_CFLAGS
11918elif test $ac_cv_prog_cc_g = yes; then
11919 if test "$GCC" = yes; then
11920 CFLAGS="-g -O2"
11921 else
11922 CFLAGS="-g"
11923 fi
11924else
11925 if test "$GCC" = yes; then
11926 CFLAGS="-O2"
11927 else
11928 CFLAGS=
11929 fi
11930fi
11931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11932$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11933if test "${ac_cv_prog_cc_c89+set}" = set; then :
11934 $as_echo_n "(cached) " >&6
11935else
11936 ac_cv_prog_cc_c89=no
11937ac_save_CC=$CC
11938cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939/* end confdefs.h. */
11940#include <stdarg.h>
11941#include <stdio.h>
11942#include <sys/types.h>
11943#include <sys/stat.h>
11944/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11945struct buf { int x; };
11946FILE * (*rcsopen) (struct buf *, struct stat *, int);
11947static char *e (p, i)
11948 char **p;
11949 int i;
11950{
11951 return p[i];
11952}
11953static char *f (char * (*g) (char **, int), char **p, ...)
11954{
11955 char *s;
11956 va_list v;
11957 va_start (v,p);
11958 s = g (p, va_arg (v,int));
11959 va_end (v);
11960 return s;
11961}
11962
11963/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11964 function prototypes and stuff, but not '\xHH' hex character constants.
11965 These don't provoke an error unfortunately, instead are silently treated
11966 as 'x'. The following induces an error, until -std is added to get
11967 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11968 array size at least. It's necessary to write '\x00'==0 to get something
11969 that's true only with -std. */
11970int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11971
11972/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11973 inside strings and character constants. */
11974#define FOO(x) 'x'
11975int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11976
11977int test (int i, double x);
11978struct s1 {int (*f) (int a);};
11979struct s2 {int (*f) (double a);};
11980int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11981int argc;
11982char **argv;
11983int
11984main ()
11985{
11986return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11987 ;
11988 return 0;
11989}
11990_ACEOF
11991for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11992 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11993do
11994 CC="$ac_save_CC $ac_arg"
11995 if ac_fn_c_try_compile "$LINENO"; then :
11996 ac_cv_prog_cc_c89=$ac_arg
11997fi
11998rm -f core conftest.err conftest.$ac_objext
11999 test "x$ac_cv_prog_cc_c89" != "xno" && break
12000done
12001rm -f conftest.$ac_ext
12002CC=$ac_save_CC
12003
12004fi
12005# AC_CACHE_VAL
12006case "x$ac_cv_prog_cc_c89" in
12007 x)
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12009$as_echo "none needed" >&6; } ;;
12010 xno)
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12012$as_echo "unsupported" >&6; } ;;
12013 *)
12014 CC="$CC $ac_cv_prog_cc_c89"
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12016$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12017esac
12018if test "x$ac_cv_prog_cc_c89" != xno; then :
12019
12020fi
12021
12022ac_ext=c
12023ac_cpp='$CPP $CPPFLAGS'
12024ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12025ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12026ac_compiler_gnu=$ac_cv_c_compiler_gnu
12027
12028depcc="$CC" am_compiler_list=
12029
12030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12031$as_echo_n "checking dependency style of $depcc... " >&6; }
12032if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
12033 $as_echo_n "(cached) " >&6
12034else
12035 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12036 # We make a subdir and do the tests there. Otherwise we can end up
12037 # making bogus files that we don't know about and never remove. For
12038 # instance it was reported that on HP-UX the gcc test will end up
12039 # making a dummy file named `D' -- because `-MD' means `put the output
12040 # in D'.
12041 mkdir conftest.dir
12042 # Copy depcomp to subdir because otherwise we won't find it if we're
12043 # using a relative directory.
12044 cp "$am_depcomp" conftest.dir
12045 cd conftest.dir
12046 # We will build objects and dependencies in a subdirectory because
12047 # it helps to detect inapplicable dependency modes. For instance
12048 # both Tru64's cc and ICC support -MD to output dependencies as a
12049 # side effect of compilation, but ICC will put the dependencies in
12050 # the current directory while Tru64 will put them in the object
12051 # directory.
12052 mkdir sub
12053
12054 am_cv_CC_dependencies_compiler_type=none
12055 if test "$am_compiler_list" = ""; then
12056 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12057 fi
12058 am__universal=false
12059 case " $depcc " in #(
12060 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12061 esac
12062
12063 for depmode in $am_compiler_list; do
12064 # Setup a source with many dependencies, because some compilers
12065 # like to wrap large dependency lists on column 80 (with \), and
12066 # we should not choose a depcomp mode which is confused by this.
12067 #
12068 # We need to recreate these files for each test, as the compiler may
12069 # overwrite some of them when testing with obscure command lines.
12070 # This happens at least with the AIX C compiler.
12071 : > sub/conftest.c
12072 for i in 1 2 3 4 5 6; do
12073 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12074 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12075 # Solaris 8's {/usr,}/bin/sh.
12076 touch sub/conftst$i.h
12077 done
12078 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12079
12080 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12081 # mode. It turns out that the SunPro C++ compiler does not properly
12082 # handle `-M -o', and we need to detect this. Also, some Intel
12083 # versions had trouble with output in subdirs
12084 am__obj=sub/conftest.${OBJEXT-o}
12085 am__minus_obj="-o $am__obj"
12086 case $depmode in
12087 gcc)
12088 # This depmode causes a compiler race in universal mode.
12089 test "$am__universal" = false || continue
12090 ;;
12091 nosideeffect)
12092 # after this tag, mechanisms are not by side-effect, so they'll
12093 # only be used when explicitly requested
12094 if test "x$enable_dependency_tracking" = xyes; then
12095 continue
12096 else
12097 break
12098 fi
12099 ;;
12100 msvisualcpp | msvcmsys)
12101 # This compiler won't grok `-c -o', but also, the minuso test has
12102 # not run yet. These depmodes are late enough in the game, and
12103 # so weak that their functioning should not be impacted.
12104 am__obj=conftest.${OBJEXT-o}
12105 am__minus_obj=
12106 ;;
12107 none) break ;;
12108 esac
12109 if depmode=$depmode \
12110 source=sub/conftest.c object=$am__obj \
12111 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12112 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12113 >/dev/null 2>conftest.err &&
12114 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12115 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12116 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12117 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12118 # icc doesn't choke on unknown options, it will just issue warnings
12119 # or remarks (even with -Werror). So we grep stderr for any message
12120 # that says an option was ignored or not supported.
12121 # When given -MP, icc 7.0 and 7.1 complain thusly:
12122 # icc: Command line warning: ignoring option '-M'; no argument required
12123 # The diagnosis changed in icc 8.0:
12124 # icc: Command line remark: option '-MP' not supported
12125 if (grep 'ignoring option' conftest.err ||
12126 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12127 am_cv_CC_dependencies_compiler_type=$depmode
12128 break
12129 fi
12130 fi
12131 done
12132
12133 cd ..
12134 rm -rf conftest.dir
12135else
12136 am_cv_CC_dependencies_compiler_type=none
12137fi
12138
12139fi
12140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12141$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12142CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12143
12144 if
12145 test "x$enable_dependency_tracking" != xno \
12146 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12147 am__fastdepCC_TRUE=
12148 am__fastdepCC_FALSE='#'
12149else
12150 am__fastdepCC_TRUE='#'
12151 am__fastdepCC_FALSE=
12152fi
12153
12154
12155
12156# doxygen program for documentation building
12157
12158
12159
12160# Check whether --enable-doc was given.
12161if test "${enable_doc+set}" = set; then :
12162 enableval=$enable_doc;
12163 if test "x${enableval}" = "xyes" ; then
12164 efl_enable_doc="yes"
12165 else
12166 efl_enable_doc="no"
12167 fi
12168
12169else
12170 efl_enable_doc="yes"
12171fi
12172
12173
12174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12175$as_echo_n "checking whether to build documentation... " >&6; }
12176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12177$as_echo "${efl_enable_doc}" >&6; }
12178
12179if test "x${efl_enable_doc}" = "xyes" ; then
12180
12181
12182 efl_doxygen="doxygen"
12183
12184
12185# Check whether --with-doxygen was given.
12186if test "${with_doxygen+set}" = set; then :
12187 withval=$with_doxygen;
12188 efl_doxygen=${withval}
12189 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12190set dummy ${efl_doxygen}; ac_word=$2
12191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12192$as_echo_n "checking for $ac_word... " >&6; }
12193if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
12194 $as_echo_n "(cached) " >&6
12195else
12196 if test -n "$efl_have_doxygen"; then
12197 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12198else
12199as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12200for as_dir in $PATH
12201do
12202 IFS=$as_save_IFS
12203 test -z "$as_dir" && as_dir=.
12204 for ac_exec_ext in '' $ac_executable_extensions; do
12205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12206 ac_cv_prog_efl_have_doxygen="yes"
12207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12208 break 2
12209 fi
12210done
12211 done
12212IFS=$as_save_IFS
12213
12214 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12215fi
12216fi
12217efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12218if test -n "$efl_have_doxygen"; then
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12220$as_echo "$efl_have_doxygen" >&6; }
12221else
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12223$as_echo "no" >&6; }
12224fi
12225
12226
12227 if test "x${efl_have_doxygen}" = "xno" ; then
12228 echo "WARNING:"
12229 echo "The doxygen program you specified:"
12230 echo "${efl_doxygen}"
12231 echo "was not found. Please check the path and make sure "
12232 echo "the program exists and is executable."
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12234$as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12235 fi
12236
12237else
12238 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12239set dummy ${efl_doxygen}; ac_word=$2
12240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12241$as_echo_n "checking for $ac_word... " >&6; }
12242if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
12243 $as_echo_n "(cached) " >&6
12244else
12245 if test -n "$efl_have_doxygen"; then
12246 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12247else
12248as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12249for as_dir in $PATH
12250do
12251 IFS=$as_save_IFS
12252 test -z "$as_dir" && as_dir=.
12253 for ac_exec_ext in '' $ac_executable_extensions; do
12254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12255 ac_cv_prog_efl_have_doxygen="yes"
12256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12257 break 2
12258 fi
12259done
12260 done
12261IFS=$as_save_IFS
12262
12263 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12264fi
12265fi
12266efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12267if test -n "$efl_have_doxygen"; then
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12269$as_echo "$efl_have_doxygen" >&6; }
12270else
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12272$as_echo "no" >&6; }
12273fi
12274
12275
12276 if test "x${efl_have_doxygen}" = "xno" ; then
12277 echo "WARNING:"
12278 echo "The doxygen program was not found in your execute path."
12279 echo "You may have doxygen installed somewhere not covered by your path."
12280 echo ""
12281 echo "If this is the case make sure you have the packages installed, AND"
12282 echo "that the doxygen program is in your execute path (see your"
12283 echo "shell manual page on setting the \$PATH environment variable), OR"
12284 echo "alternatively, specify the program to use with --with-doxygen."
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12286$as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12287 fi
12288
12289fi
12290
12291fi
12292
12293
12294
12295if ! test "x${efl_have_doxygen}" = "xyes" ; then
12296 efl_enable_doc="no"
12297fi
12298
12299 if test "x${efl_enable_doc}" = "xyes"; then
12300 EFL_BUILD_DOC_TRUE=
12301 EFL_BUILD_DOC_FALSE='#'
12302else
12303 EFL_BUILD_DOC_TRUE='#'
12304 EFL_BUILD_DOC_FALSE=
12305fi
12306
12307
12308if test "x${efl_enable_doc}" = "xyes" ; then
12309 build_doc="yes"
12310else
12311 build_doc="no"
12312fi
12313
12314
12315
12316# python
12317
12318
12319
12320
12321
12322 if test -n "$PYTHON"; then
12323 # If the user set $PYTHON, use it and don't search something else.
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
12325$as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
12326 prog="import sys
12327# split strings by '.' and convert to numeric. Append some zeros
12328# because we need at least 4 digits for the hex conversion.
12329# map returns an iterator in Python 3.0 and a list in 2.x
12330minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
12331minverhex = 0
12332# xrange is not present in Python 3.0 and range returns an iterator
12333for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
12334sys.exit(sys.hexversion < minverhex)"
12335 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
12336 ($PYTHON -c "$prog") >&5 2>&5
12337 ac_status=$?
12338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12339 (exit $ac_status); }; then :
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12341$as_echo "yes" >&6; }
12342else
12343 as_fn_error $? "too old" "$LINENO" 5
12344fi
12345 am_display_PYTHON=$PYTHON
12346 else
12347 # Otherwise, try each interpreter until we find one that satisfies
12348 # VERSION.
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
12350$as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
12351if test "${am_cv_pathless_PYTHON+set}" = set; then :
12352 $as_echo_n "(cached) " >&6
12353else
12354
12355 for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
12356 test "$am_cv_pathless_PYTHON" = none && break
12357 prog="import sys
12358# split strings by '.' and convert to numeric. Append some zeros
12359# because we need at least 4 digits for the hex conversion.
12360# map returns an iterator in Python 3.0 and a list in 2.x
12361minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
12362minverhex = 0
12363# xrange is not present in Python 3.0 and range returns an iterator
12364for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
12365sys.exit(sys.hexversion < minverhex)"
12366 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
12367 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
12368 ac_status=$?
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); }; then :
12371 break
12372fi
12373 done
12374fi
12375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
12376$as_echo "$am_cv_pathless_PYTHON" >&6; }
12377 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
12378 if test "$am_cv_pathless_PYTHON" = none; then
12379 PYTHON=:
12380 else
12381 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
12382set dummy $am_cv_pathless_PYTHON; ac_word=$2
12383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12384$as_echo_n "checking for $ac_word... " >&6; }
12385if test "${ac_cv_path_PYTHON+set}" = set; then :
12386 $as_echo_n "(cached) " >&6
12387else
12388 case $PYTHON in
12389 [\\/]* | ?:[\\/]*)
12390 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
12391 ;;
12392 *)
12393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12394for as_dir in $PATH
12395do
12396 IFS=$as_save_IFS
12397 test -z "$as_dir" && as_dir=.
12398 for ac_exec_ext in '' $ac_executable_extensions; do
12399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12400 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
12401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12402 break 2
12403 fi
12404done
12405 done
12406IFS=$as_save_IFS
12407
12408 ;;
12409esac
12410fi
12411PYTHON=$ac_cv_path_PYTHON
12412if test -n "$PYTHON"; then
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
12414$as_echo "$PYTHON" >&6; }
12415else
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12417$as_echo "no" >&6; }
12418fi
12419
12420
12421 fi
12422 am_display_PYTHON=$am_cv_pathless_PYTHON
12423 fi
12424
12425
12426 if test "$PYTHON" = :; then
12427 :
12428 else
12429
12430
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
12432$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
12433if test "${am_cv_python_version+set}" = set; then :
12434 $as_echo_n "(cached) " >&6
12435else
12436 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
12437fi
12438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
12439$as_echo "$am_cv_python_version" >&6; }
12440 PYTHON_VERSION=$am_cv_python_version
12441
12442
12443
12444 PYTHON_PREFIX='${prefix}'
12445
12446 PYTHON_EXEC_PREFIX='${exec_prefix}'
12447
12448
12449
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
12451$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
12452if test "${am_cv_python_platform+set}" = set; then :
12453 $as_echo_n "(cached) " >&6
12454else
12455 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
12456fi
12457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
12458$as_echo "$am_cv_python_platform" >&6; }
12459 PYTHON_PLATFORM=$am_cv_python_platform
12460
12461
12462
12463
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
12465$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
12466if test "${am_cv_python_pythondir+set}" = set; then :
12467 $as_echo_n "(cached) " >&6
12468else
12469 if test "x$prefix" = xNONE
12470 then
12471 am_py_prefix=$ac_default_prefix
12472 else
12473 am_py_prefix=$prefix
12474 fi
12475 am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
12476 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
12477 case $am_cv_python_pythondir in
12478 $am_py_prefix*)
12479 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
12480 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
12481 ;;
12482 *)
12483 case $am_py_prefix in
12484 /usr|/System*) ;;
12485 *)
12486 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
12487 ;;
12488 esac
12489 ;;
12490 esac
12491
12492fi
12493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
12494$as_echo "$am_cv_python_pythondir" >&6; }
12495 pythondir=$am_cv_python_pythondir
12496
12497
12498
12499 pkgpythondir=\${pythondir}/$PACKAGE
12500
12501
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
12503$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
12504if test "${am_cv_python_pyexecdir+set}" = set; then :
12505 $as_echo_n "(cached) " >&6
12506else
12507 if test "x$exec_prefix" = xNONE
12508 then
12509 am_py_exec_prefix=$am_py_prefix
12510 else
12511 am_py_exec_prefix=$exec_prefix
12512 fi
12513 am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
12514 echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
12515 case $am_cv_python_pyexecdir in
12516 $am_py_exec_prefix*)
12517 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
12518 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
12519 ;;
12520 *)
12521 case $am_py_exec_prefix in
12522 /usr|/System*) ;;
12523 *)
12524 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
12525 ;;
12526 esac
12527 ;;
12528 esac
12529
12530fi
12531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
12532$as_echo "$am_cv_python_pyexecdir" >&6; }
12533 pyexecdir=$am_cv_python_pyexecdir
12534
12535
12536
12537 pkgpyexecdir=\${pyexecdir}/$PACKAGE
12538
12539
12540
12541 fi
12542
12543
12544 if test "$PYTHON" != : ; then
12545 HAVE_PYTHON_TRUE=
12546 HAVE_PYTHON_FALSE='#'
12547else
12548 HAVE_PYTHON_TRUE='#'
12549 HAVE_PYTHON_FALSE=
12550fi
12551
12552
12553# pkg-config
12554
12555
12556
12557
12558
12559
12560
12561if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12562 if test -n "$ac_tool_prefix"; then
12563 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12564set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12566$as_echo_n "checking for $ac_word... " >&6; }
12567if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12568 $as_echo_n "(cached) " >&6
12569else
12570 case $PKG_CONFIG in
12571 [\\/]* | ?:[\\/]*)
12572 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12573 ;;
12574 *)
12575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12576for as_dir in $PATH
12577do
12578 IFS=$as_save_IFS
12579 test -z "$as_dir" && as_dir=.
12580 for ac_exec_ext in '' $ac_executable_extensions; do
12581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12582 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12584 break 2
12585 fi
12586done
12587 done
12588IFS=$as_save_IFS
12589
12590 ;;
12591esac
12592fi
12593PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12594if test -n "$PKG_CONFIG"; then
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12596$as_echo "$PKG_CONFIG" >&6; }
12597else
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12599$as_echo "no" >&6; }
12600fi
12601
12602
12603fi
12604if test -z "$ac_cv_path_PKG_CONFIG"; then
12605 ac_pt_PKG_CONFIG=$PKG_CONFIG
12606 # Extract the first word of "pkg-config", so it can be a program name with args.
12607set dummy pkg-config; ac_word=$2
12608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12609$as_echo_n "checking for $ac_word... " >&6; }
12610if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12611 $as_echo_n "(cached) " >&6
12612else
12613 case $ac_pt_PKG_CONFIG in
12614 [\\/]* | ?:[\\/]*)
12615 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12616 ;;
12617 *)
12618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12619for as_dir in $PATH
12620do
12621 IFS=$as_save_IFS
12622 test -z "$as_dir" && as_dir=.
12623 for ac_exec_ext in '' $ac_executable_extensions; do
12624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12625 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12627 break 2
12628 fi
12629done
12630 done
12631IFS=$as_save_IFS
12632
12633 ;;
12634esac
12635fi
12636ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12637if test -n "$ac_pt_PKG_CONFIG"; then
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12639$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12640else
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12642$as_echo "no" >&6; }
12643fi
12644
12645 if test "x$ac_pt_PKG_CONFIG" = x; then
12646 PKG_CONFIG=""
12647 else
12648 case $cross_compiling:$ac_tool_warned in
12649yes:)
12650{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12651$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12652ac_tool_warned=yes ;;
12653esac
12654 PKG_CONFIG=$ac_pt_PKG_CONFIG
12655 fi
12656else
12657 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12658fi
12659
12660fi
12661if test -n "$PKG_CONFIG"; then
12662 _pkg_min_version=0.9.0
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12664$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12665 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12667$as_echo "yes" >&6; }
12668 else
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12670$as_echo "no" >&6; }
12671 PKG_CONFIG=""
12672 fi
12673fi
12674
12675# Check whether pkg-config supports Requires.private
12676
12677if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
12678 pkgconfig_requires_private="Requires.private"
12679else
12680 pkgconfig_requires_private="Requires"
12681fi
12682
12683
12684
12685### Checks for libraries
12686
12687# Evil library for compilation on Windows
12688
12689EFL_EDJE_BUILD=""
12690case "$host_os" in
12691 mingw*)
12692
12693pkg_failed=no
12694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
12695$as_echo_n "checking for EVIL... " >&6; }
12696
12697if test -n "$EVIL_CFLAGS"; then
12698 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
12699 elif test -n "$PKG_CONFIG"; then
12700 if test -n "$PKG_CONFIG" && \
12701 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
12702 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
12703 ac_status=$?
12704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12705 test $ac_status = 0; }; then
12706 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.0.0" 2>/dev/null`
12707else
12708 pkg_failed=yes
12709fi
12710 else
12711 pkg_failed=untried
12712fi
12713if test -n "$EVIL_LIBS"; then
12714 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
12715 elif test -n "$PKG_CONFIG"; then
12716 if test -n "$PKG_CONFIG" && \
12717 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
12718 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
12719 ac_status=$?
12720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12721 test $ac_status = 0; }; then
12722 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.0.0" 2>/dev/null`
12723else
12724 pkg_failed=yes
12725fi
12726 else
12727 pkg_failed=untried
12728fi
12729
12730
12731
12732if test $pkg_failed = yes; then
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12734$as_echo "no" >&6; }
12735
12736if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12737 _pkg_short_errors_supported=yes
12738else
12739 _pkg_short_errors_supported=no
12740fi
12741 if test $_pkg_short_errors_supported = yes; then
12742 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.0.0" 2>&1`
12743 else
12744 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.0.0" 2>&1`
12745 fi
12746 # Put the nasty error message in config.log where it belongs
12747 echo "$EVIL_PKG_ERRORS" >&5
12748
12749 as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
12750
12751$EVIL_PKG_ERRORS
12752
12753Consider adjusting the PKG_CONFIG_PATH environment variable if you
12754installed software in a non-standard prefix.
12755
12756Alternatively, you may set the environment variables EVIL_CFLAGS
12757and EVIL_LIBS to avoid the need to call pkg-config.
12758See the pkg-config man page for more details." "$LINENO" 5
12759elif test $pkg_failed = untried; then
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12761$as_echo "no" >&6; }
12762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12763$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12764as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12765is in your PATH or set the PKG_CONFIG environment variable to the full
12766path to pkg-config.
12767
12768Alternatively, you may set the environment variables EVIL_CFLAGS
12769and EVIL_LIBS to avoid the need to call pkg-config.
12770See the pkg-config man page for more details.
12771
12772To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12773See \`config.log' for more details" "$LINENO" 5 ; }
12774else
12775 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
12776 EVIL_LIBS=$pkg_cv_EVIL_LIBS
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12778$as_echo "yes" >&6; }
12779
12780fi
12781
12782$as_echo "#define HAVE_EVIL 1" >>confdefs.h
12783
12784 requirement_edje="evil ${requirement_edje}"
12785 EFL_EDJE_BUILD="-DEFL_EDJE_BUILD"
12786 ;;
12787esac
12788
12789
12790# Dependencies for the library
12791
12792# Lua pkg-config hack for different naming conventions
12793have_lua="yes"
12794requirement_lua=""
12795lua_libs=""
12796
12797pkg_failed=no
12798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12799$as_echo_n "checking for LUA... " >&6; }
12800
12801if test -n "$LUA_CFLAGS"; then
12802 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12803 elif test -n "$PKG_CONFIG"; then
12804 if test -n "$PKG_CONFIG" && \
12805 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
12806 ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
12807 ac_status=$?
12808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12809 test $ac_status = 0; }; then
12810 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1.0" 2>/dev/null`
12811else
12812 pkg_failed=yes
12813fi
12814 else
12815 pkg_failed=untried
12816fi
12817if test -n "$LUA_LIBS"; then
12818 pkg_cv_LUA_LIBS="$LUA_LIBS"
12819 elif test -n "$PKG_CONFIG"; then
12820 if test -n "$PKG_CONFIG" && \
12821 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
12822 ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
12823 ac_status=$?
12824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12825 test $ac_status = 0; }; then
12826 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1.0" 2>/dev/null`
12827else
12828 pkg_failed=yes
12829fi
12830 else
12831 pkg_failed=untried
12832fi
12833
12834
12835
12836if test $pkg_failed = yes; then
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12838$as_echo "no" >&6; }
12839
12840if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12841 _pkg_short_errors_supported=yes
12842else
12843 _pkg_short_errors_supported=no
12844fi
12845 if test $_pkg_short_errors_supported = yes; then
12846 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.1.0" 2>&1`
12847 else
12848 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.1.0" 2>&1`
12849 fi
12850 # Put the nasty error message in config.log where it belongs
12851 echo "$LUA_PKG_ERRORS" >&5
12852
12853
12854pkg_failed=no
12855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12856$as_echo_n "checking for LUA... " >&6; }
12857
12858if test -n "$LUA_CFLAGS"; then
12859 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12860 elif test -n "$PKG_CONFIG"; then
12861 if test -n "$PKG_CONFIG" && \
12862 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
12863 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
12864 ac_status=$?
12865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12866 test $ac_status = 0; }; then
12867 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0" 2>/dev/null`
12868else
12869 pkg_failed=yes
12870fi
12871 else
12872 pkg_failed=untried
12873fi
12874if test -n "$LUA_LIBS"; then
12875 pkg_cv_LUA_LIBS="$LUA_LIBS"
12876 elif test -n "$PKG_CONFIG"; then
12877 if test -n "$PKG_CONFIG" && \
12878 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
12879 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
12880 ac_status=$?
12881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12882 test $ac_status = 0; }; then
12883 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
12884else
12885 pkg_failed=yes
12886fi
12887 else
12888 pkg_failed=untried
12889fi
12890
12891
12892
12893if test $pkg_failed = yes; then
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12895$as_echo "no" >&6; }
12896
12897if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12898 _pkg_short_errors_supported=yes
12899else
12900 _pkg_short_errors_supported=no
12901fi
12902 if test $_pkg_short_errors_supported = yes; then
12903 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1.0" 2>&1`
12904 else
12905 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1.0" 2>&1`
12906 fi
12907 # Put the nasty error message in config.log where it belongs
12908 echo "$LUA_PKG_ERRORS" >&5
12909
12910
12911pkg_failed=no
12912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12913$as_echo_n "checking for LUA... " >&6; }
12914
12915if test -n "$LUA_CFLAGS"; then
12916 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12917 elif test -n "$PKG_CONFIG"; then
12918 if test -n "$PKG_CONFIG" && \
12919 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
12920 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
12921 ac_status=$?
12922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12923 test $ac_status = 0; }; then
12924 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
12925else
12926 pkg_failed=yes
12927fi
12928 else
12929 pkg_failed=untried
12930fi
12931if test -n "$LUA_LIBS"; then
12932 pkg_cv_LUA_LIBS="$LUA_LIBS"
12933 elif test -n "$PKG_CONFIG"; then
12934 if test -n "$PKG_CONFIG" && \
12935 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
12936 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
12937 ac_status=$?
12938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12939 test $ac_status = 0; }; then
12940 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
12941else
12942 pkg_failed=yes
12943fi
12944 else
12945 pkg_failed=untried
12946fi
12947
12948
12949
12950if test $pkg_failed = yes; then
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12952$as_echo "no" >&6; }
12953
12954if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12955 _pkg_short_errors_supported=yes
12956else
12957 _pkg_short_errors_supported=no
12958fi
12959 if test $_pkg_short_errors_supported = yes; then
12960 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
12961 else
12962 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
12963 fi
12964 # Put the nasty error message in config.log where it belongs
12965 echo "$LUA_PKG_ERRORS" >&5
12966
12967
12968pkg_failed=no
12969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12970$as_echo_n "checking for LUA... " >&6; }
12971
12972if test -n "$LUA_CFLAGS"; then
12973 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12974 elif test -n "$PKG_CONFIG"; then
12975 if test -n "$PKG_CONFIG" && \
12976 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
12977 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
12978 ac_status=$?
12979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12980 test $ac_status = 0; }; then
12981 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
12982else
12983 pkg_failed=yes
12984fi
12985 else
12986 pkg_failed=untried
12987fi
12988if test -n "$LUA_LIBS"; then
12989 pkg_cv_LUA_LIBS="$LUA_LIBS"
12990 elif test -n "$PKG_CONFIG"; then
12991 if test -n "$PKG_CONFIG" && \
12992 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
12993 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
12994 ac_status=$?
12995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12996 test $ac_status = 0; }; then
12997 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
12998else
12999 pkg_failed=yes
13000fi
13001 else
13002 pkg_failed=untried
13003fi
13004
13005
13006
13007if test $pkg_failed = yes; then
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13009$as_echo "no" >&6; }
13010
13011if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13012 _pkg_short_errors_supported=yes
13013else
13014 _pkg_short_errors_supported=no
13015fi
13016 if test $_pkg_short_errors_supported = yes; then
13017 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13018 else
13019 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13020 fi
13021 # Put the nasty error message in config.log where it belongs
13022 echo "$LUA_PKG_ERRORS" >&5
13023
13024 have_lua="no"
13025elif test $pkg_failed = untried; then
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13027$as_echo "no" >&6; }
13028 have_lua="no"
13029else
13030 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13031 LUA_LIBS=$pkg_cv_LUA_LIBS
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13033$as_echo "yes" >&6; }
13034 requirement_lua="lua51"
13035fi
13036elif test $pkg_failed = untried; then
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13038$as_echo "no" >&6; }
13039
13040pkg_failed=no
13041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13042$as_echo_n "checking for LUA... " >&6; }
13043
13044if test -n "$LUA_CFLAGS"; then
13045 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13046 elif test -n "$PKG_CONFIG"; then
13047 if test -n "$PKG_CONFIG" && \
13048 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13049 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13050 ac_status=$?
13051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13052 test $ac_status = 0; }; then
13053 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13054else
13055 pkg_failed=yes
13056fi
13057 else
13058 pkg_failed=untried
13059fi
13060if test -n "$LUA_LIBS"; then
13061 pkg_cv_LUA_LIBS="$LUA_LIBS"
13062 elif test -n "$PKG_CONFIG"; then
13063 if test -n "$PKG_CONFIG" && \
13064 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13065 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13066 ac_status=$?
13067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13068 test $ac_status = 0; }; then
13069 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13070else
13071 pkg_failed=yes
13072fi
13073 else
13074 pkg_failed=untried
13075fi
13076
13077
13078
13079if test $pkg_failed = yes; then
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13081$as_echo "no" >&6; }
13082
13083if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13084 _pkg_short_errors_supported=yes
13085else
13086 _pkg_short_errors_supported=no
13087fi
13088 if test $_pkg_short_errors_supported = yes; then
13089 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13090 else
13091 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13092 fi
13093 # Put the nasty error message in config.log where it belongs
13094 echo "$LUA_PKG_ERRORS" >&5
13095
13096 have_lua="no"
13097elif test $pkg_failed = untried; then
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13099$as_echo "no" >&6; }
13100 have_lua="no"
13101else
13102 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13103 LUA_LIBS=$pkg_cv_LUA_LIBS
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13105$as_echo "yes" >&6; }
13106 requirement_lua="lua51"
13107fi
13108else
13109 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13110 LUA_LIBS=$pkg_cv_LUA_LIBS
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13112$as_echo "yes" >&6; }
13113 requirement_lua="lua-5.1"
13114fi
13115elif test $pkg_failed = untried; then
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13117$as_echo "no" >&6; }
13118
13119pkg_failed=no
13120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13121$as_echo_n "checking for LUA... " >&6; }
13122
13123if test -n "$LUA_CFLAGS"; then
13124 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13125 elif test -n "$PKG_CONFIG"; then
13126 if test -n "$PKG_CONFIG" && \
13127 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13128 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13129 ac_status=$?
13130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13131 test $ac_status = 0; }; then
13132 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
13133else
13134 pkg_failed=yes
13135fi
13136 else
13137 pkg_failed=untried
13138fi
13139if test -n "$LUA_LIBS"; then
13140 pkg_cv_LUA_LIBS="$LUA_LIBS"
13141 elif test -n "$PKG_CONFIG"; then
13142 if test -n "$PKG_CONFIG" && \
13143 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13144 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13145 ac_status=$?
13146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13147 test $ac_status = 0; }; then
13148 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
13149else
13150 pkg_failed=yes
13151fi
13152 else
13153 pkg_failed=untried
13154fi
13155
13156
13157
13158if test $pkg_failed = yes; then
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13160$as_echo "no" >&6; }
13161
13162if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13163 _pkg_short_errors_supported=yes
13164else
13165 _pkg_short_errors_supported=no
13166fi
13167 if test $_pkg_short_errors_supported = yes; then
13168 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13169 else
13170 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13171 fi
13172 # Put the nasty error message in config.log where it belongs
13173 echo "$LUA_PKG_ERRORS" >&5
13174
13175
13176pkg_failed=no
13177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13178$as_echo_n "checking for LUA... " >&6; }
13179
13180if test -n "$LUA_CFLAGS"; then
13181 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13182 elif test -n "$PKG_CONFIG"; then
13183 if test -n "$PKG_CONFIG" && \
13184 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13185 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13186 ac_status=$?
13187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13188 test $ac_status = 0; }; then
13189 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13190else
13191 pkg_failed=yes
13192fi
13193 else
13194 pkg_failed=untried
13195fi
13196if test -n "$LUA_LIBS"; then
13197 pkg_cv_LUA_LIBS="$LUA_LIBS"
13198 elif test -n "$PKG_CONFIG"; then
13199 if test -n "$PKG_CONFIG" && \
13200 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13201 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13202 ac_status=$?
13203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13204 test $ac_status = 0; }; then
13205 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13206else
13207 pkg_failed=yes
13208fi
13209 else
13210 pkg_failed=untried
13211fi
13212
13213
13214
13215if test $pkg_failed = yes; then
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13217$as_echo "no" >&6; }
13218
13219if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13220 _pkg_short_errors_supported=yes
13221else
13222 _pkg_short_errors_supported=no
13223fi
13224 if test $_pkg_short_errors_supported = yes; then
13225 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13226 else
13227 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13228 fi
13229 # Put the nasty error message in config.log where it belongs
13230 echo "$LUA_PKG_ERRORS" >&5
13231
13232 have_lua="no"
13233elif test $pkg_failed = untried; then
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13235$as_echo "no" >&6; }
13236 have_lua="no"
13237else
13238 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13239 LUA_LIBS=$pkg_cv_LUA_LIBS
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13241$as_echo "yes" >&6; }
13242 requirement_lua="lua51"
13243fi
13244elif test $pkg_failed = untried; then
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13246$as_echo "no" >&6; }
13247
13248pkg_failed=no
13249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13250$as_echo_n "checking for LUA... " >&6; }
13251
13252if test -n "$LUA_CFLAGS"; then
13253 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13254 elif test -n "$PKG_CONFIG"; then
13255 if test -n "$PKG_CONFIG" && \
13256 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13257 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13258 ac_status=$?
13259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13260 test $ac_status = 0; }; then
13261 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13262else
13263 pkg_failed=yes
13264fi
13265 else
13266 pkg_failed=untried
13267fi
13268if test -n "$LUA_LIBS"; then
13269 pkg_cv_LUA_LIBS="$LUA_LIBS"
13270 elif test -n "$PKG_CONFIG"; then
13271 if test -n "$PKG_CONFIG" && \
13272 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13273 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13274 ac_status=$?
13275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13276 test $ac_status = 0; }; then
13277 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13278else
13279 pkg_failed=yes
13280fi
13281 else
13282 pkg_failed=untried
13283fi
13284
13285
13286
13287if test $pkg_failed = yes; then
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13289$as_echo "no" >&6; }
13290
13291if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13292 _pkg_short_errors_supported=yes
13293else
13294 _pkg_short_errors_supported=no
13295fi
13296 if test $_pkg_short_errors_supported = yes; then
13297 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13298 else
13299 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13300 fi
13301 # Put the nasty error message in config.log where it belongs
13302 echo "$LUA_PKG_ERRORS" >&5
13303
13304 have_lua="no"
13305elif test $pkg_failed = untried; then
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13307$as_echo "no" >&6; }
13308 have_lua="no"
13309else
13310 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13311 LUA_LIBS=$pkg_cv_LUA_LIBS
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13313$as_echo "yes" >&6; }
13314 requirement_lua="lua51"
13315fi
13316else
13317 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13318 LUA_LIBS=$pkg_cv_LUA_LIBS
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13320$as_echo "yes" >&6; }
13321 requirement_lua="lua-5.1"
13322fi
13323else
13324 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13325 LUA_LIBS=$pkg_cv_LUA_LIBS
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13327$as_echo "yes" >&6; }
13328 requirement_lua="lua5.1"
13329fi
13330elif test $pkg_failed = untried; then
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13332$as_echo "no" >&6; }
13333
13334pkg_failed=no
13335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13336$as_echo_n "checking for LUA... " >&6; }
13337
13338if test -n "$LUA_CFLAGS"; then
13339 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13340 elif test -n "$PKG_CONFIG"; then
13341 if test -n "$PKG_CONFIG" && \
13342 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13343 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13344 ac_status=$?
13345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13346 test $ac_status = 0; }; then
13347 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0" 2>/dev/null`
13348else
13349 pkg_failed=yes
13350fi
13351 else
13352 pkg_failed=untried
13353fi
13354if test -n "$LUA_LIBS"; then
13355 pkg_cv_LUA_LIBS="$LUA_LIBS"
13356 elif test -n "$PKG_CONFIG"; then
13357 if test -n "$PKG_CONFIG" && \
13358 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13359 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13360 ac_status=$?
13361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13362 test $ac_status = 0; }; then
13363 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
13364else
13365 pkg_failed=yes
13366fi
13367 else
13368 pkg_failed=untried
13369fi
13370
13371
13372
13373if test $pkg_failed = yes; then
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13375$as_echo "no" >&6; }
13376
13377if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13378 _pkg_short_errors_supported=yes
13379else
13380 _pkg_short_errors_supported=no
13381fi
13382 if test $_pkg_short_errors_supported = yes; then
13383 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1.0" 2>&1`
13384 else
13385 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1.0" 2>&1`
13386 fi
13387 # Put the nasty error message in config.log where it belongs
13388 echo "$LUA_PKG_ERRORS" >&5
13389
13390
13391pkg_failed=no
13392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13393$as_echo_n "checking for LUA... " >&6; }
13394
13395if test -n "$LUA_CFLAGS"; then
13396 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13397 elif test -n "$PKG_CONFIG"; then
13398 if test -n "$PKG_CONFIG" && \
13399 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13400 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13401 ac_status=$?
13402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13403 test $ac_status = 0; }; then
13404 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
13405else
13406 pkg_failed=yes
13407fi
13408 else
13409 pkg_failed=untried
13410fi
13411if test -n "$LUA_LIBS"; then
13412 pkg_cv_LUA_LIBS="$LUA_LIBS"
13413 elif test -n "$PKG_CONFIG"; then
13414 if test -n "$PKG_CONFIG" && \
13415 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13416 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13417 ac_status=$?
13418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13419 test $ac_status = 0; }; then
13420 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
13421else
13422 pkg_failed=yes
13423fi
13424 else
13425 pkg_failed=untried
13426fi
13427
13428
13429
13430if test $pkg_failed = yes; then
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13432$as_echo "no" >&6; }
13433
13434if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13435 _pkg_short_errors_supported=yes
13436else
13437 _pkg_short_errors_supported=no
13438fi
13439 if test $_pkg_short_errors_supported = yes; then
13440 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13441 else
13442 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13443 fi
13444 # Put the nasty error message in config.log where it belongs
13445 echo "$LUA_PKG_ERRORS" >&5
13446
13447
13448pkg_failed=no
13449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13450$as_echo_n "checking for LUA... " >&6; }
13451
13452if test -n "$LUA_CFLAGS"; then
13453 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13454 elif test -n "$PKG_CONFIG"; then
13455 if test -n "$PKG_CONFIG" && \
13456 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13457 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13458 ac_status=$?
13459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13460 test $ac_status = 0; }; then
13461 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13462else
13463 pkg_failed=yes
13464fi
13465 else
13466 pkg_failed=untried
13467fi
13468if test -n "$LUA_LIBS"; then
13469 pkg_cv_LUA_LIBS="$LUA_LIBS"
13470 elif test -n "$PKG_CONFIG"; then
13471 if test -n "$PKG_CONFIG" && \
13472 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13473 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13474 ac_status=$?
13475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13476 test $ac_status = 0; }; then
13477 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13478else
13479 pkg_failed=yes
13480fi
13481 else
13482 pkg_failed=untried
13483fi
13484
13485
13486
13487if test $pkg_failed = yes; then
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13489$as_echo "no" >&6; }
13490
13491if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13492 _pkg_short_errors_supported=yes
13493else
13494 _pkg_short_errors_supported=no
13495fi
13496 if test $_pkg_short_errors_supported = yes; then
13497 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13498 else
13499 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13500 fi
13501 # Put the nasty error message in config.log where it belongs
13502 echo "$LUA_PKG_ERRORS" >&5
13503
13504 have_lua="no"
13505elif test $pkg_failed = untried; then
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13507$as_echo "no" >&6; }
13508 have_lua="no"
13509else
13510 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13511 LUA_LIBS=$pkg_cv_LUA_LIBS
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13513$as_echo "yes" >&6; }
13514 requirement_lua="lua51"
13515fi
13516elif test $pkg_failed = untried; then
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13518$as_echo "no" >&6; }
13519
13520pkg_failed=no
13521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13522$as_echo_n "checking for LUA... " >&6; }
13523
13524if test -n "$LUA_CFLAGS"; then
13525 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13526 elif test -n "$PKG_CONFIG"; then
13527 if test -n "$PKG_CONFIG" && \
13528 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13529 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13530 ac_status=$?
13531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13532 test $ac_status = 0; }; then
13533 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13534else
13535 pkg_failed=yes
13536fi
13537 else
13538 pkg_failed=untried
13539fi
13540if test -n "$LUA_LIBS"; then
13541 pkg_cv_LUA_LIBS="$LUA_LIBS"
13542 elif test -n "$PKG_CONFIG"; then
13543 if test -n "$PKG_CONFIG" && \
13544 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13545 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13546 ac_status=$?
13547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13548 test $ac_status = 0; }; then
13549 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13550else
13551 pkg_failed=yes
13552fi
13553 else
13554 pkg_failed=untried
13555fi
13556
13557
13558
13559if test $pkg_failed = yes; then
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13561$as_echo "no" >&6; }
13562
13563if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13564 _pkg_short_errors_supported=yes
13565else
13566 _pkg_short_errors_supported=no
13567fi
13568 if test $_pkg_short_errors_supported = yes; then
13569 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13570 else
13571 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13572 fi
13573 # Put the nasty error message in config.log where it belongs
13574 echo "$LUA_PKG_ERRORS" >&5
13575
13576 have_lua="no"
13577elif test $pkg_failed = untried; then
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13579$as_echo "no" >&6; }
13580 have_lua="no"
13581else
13582 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13583 LUA_LIBS=$pkg_cv_LUA_LIBS
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13585$as_echo "yes" >&6; }
13586 requirement_lua="lua51"
13587fi
13588else
13589 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13590 LUA_LIBS=$pkg_cv_LUA_LIBS
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13592$as_echo "yes" >&6; }
13593 requirement_lua="lua-5.1"
13594fi
13595elif test $pkg_failed = untried; then
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13597$as_echo "no" >&6; }
13598
13599pkg_failed=no
13600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13601$as_echo_n "checking for LUA... " >&6; }
13602
13603if test -n "$LUA_CFLAGS"; then
13604 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13605 elif test -n "$PKG_CONFIG"; then
13606 if test -n "$PKG_CONFIG" && \
13607 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13608 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13609 ac_status=$?
13610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13611 test $ac_status = 0; }; then
13612 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
13613else
13614 pkg_failed=yes
13615fi
13616 else
13617 pkg_failed=untried
13618fi
13619if test -n "$LUA_LIBS"; then
13620 pkg_cv_LUA_LIBS="$LUA_LIBS"
13621 elif test -n "$PKG_CONFIG"; then
13622 if test -n "$PKG_CONFIG" && \
13623 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13624 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13625 ac_status=$?
13626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13627 test $ac_status = 0; }; then
13628 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
13629else
13630 pkg_failed=yes
13631fi
13632 else
13633 pkg_failed=untried
13634fi
13635
13636
13637
13638if test $pkg_failed = yes; then
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13640$as_echo "no" >&6; }
13641
13642if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13643 _pkg_short_errors_supported=yes
13644else
13645 _pkg_short_errors_supported=no
13646fi
13647 if test $_pkg_short_errors_supported = yes; then
13648 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13649 else
13650 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13651 fi
13652 # Put the nasty error message in config.log where it belongs
13653 echo "$LUA_PKG_ERRORS" >&5
13654
13655
13656pkg_failed=no
13657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13658$as_echo_n "checking for LUA... " >&6; }
13659
13660if test -n "$LUA_CFLAGS"; then
13661 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13662 elif test -n "$PKG_CONFIG"; then
13663 if test -n "$PKG_CONFIG" && \
13664 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13665 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13666 ac_status=$?
13667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13668 test $ac_status = 0; }; then
13669 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13670else
13671 pkg_failed=yes
13672fi
13673 else
13674 pkg_failed=untried
13675fi
13676if test -n "$LUA_LIBS"; then
13677 pkg_cv_LUA_LIBS="$LUA_LIBS"
13678 elif test -n "$PKG_CONFIG"; then
13679 if test -n "$PKG_CONFIG" && \
13680 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13681 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13682 ac_status=$?
13683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13684 test $ac_status = 0; }; then
13685 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13686else
13687 pkg_failed=yes
13688fi
13689 else
13690 pkg_failed=untried
13691fi
13692
13693
13694
13695if test $pkg_failed = yes; then
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13697$as_echo "no" >&6; }
13698
13699if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13700 _pkg_short_errors_supported=yes
13701else
13702 _pkg_short_errors_supported=no
13703fi
13704 if test $_pkg_short_errors_supported = yes; then
13705 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13706 else
13707 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13708 fi
13709 # Put the nasty error message in config.log where it belongs
13710 echo "$LUA_PKG_ERRORS" >&5
13711
13712 have_lua="no"
13713elif test $pkg_failed = untried; then
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13715$as_echo "no" >&6; }
13716 have_lua="no"
13717else
13718 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13719 LUA_LIBS=$pkg_cv_LUA_LIBS
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13721$as_echo "yes" >&6; }
13722 requirement_lua="lua51"
13723fi
13724elif test $pkg_failed = untried; then
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13726$as_echo "no" >&6; }
13727
13728pkg_failed=no
13729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13730$as_echo_n "checking for LUA... " >&6; }
13731
13732if test -n "$LUA_CFLAGS"; then
13733 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13734 elif test -n "$PKG_CONFIG"; then
13735 if test -n "$PKG_CONFIG" && \
13736 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13737 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13738 ac_status=$?
13739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13740 test $ac_status = 0; }; then
13741 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13742else
13743 pkg_failed=yes
13744fi
13745 else
13746 pkg_failed=untried
13747fi
13748if test -n "$LUA_LIBS"; then
13749 pkg_cv_LUA_LIBS="$LUA_LIBS"
13750 elif test -n "$PKG_CONFIG"; then
13751 if test -n "$PKG_CONFIG" && \
13752 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13753 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13754 ac_status=$?
13755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13756 test $ac_status = 0; }; then
13757 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13758else
13759 pkg_failed=yes
13760fi
13761 else
13762 pkg_failed=untried
13763fi
13764
13765
13766
13767if test $pkg_failed = yes; then
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13769$as_echo "no" >&6; }
13770
13771if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13772 _pkg_short_errors_supported=yes
13773else
13774 _pkg_short_errors_supported=no
13775fi
13776 if test $_pkg_short_errors_supported = yes; then
13777 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13778 else
13779 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13780 fi
13781 # Put the nasty error message in config.log where it belongs
13782 echo "$LUA_PKG_ERRORS" >&5
13783
13784 have_lua="no"
13785elif test $pkg_failed = untried; then
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13787$as_echo "no" >&6; }
13788 have_lua="no"
13789else
13790 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13791 LUA_LIBS=$pkg_cv_LUA_LIBS
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13793$as_echo "yes" >&6; }
13794 requirement_lua="lua51"
13795fi
13796else
13797 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13798 LUA_LIBS=$pkg_cv_LUA_LIBS
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13800$as_echo "yes" >&6; }
13801 requirement_lua="lua-5.1"
13802fi
13803else
13804 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13805 LUA_LIBS=$pkg_cv_LUA_LIBS
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13807$as_echo "yes" >&6; }
13808 requirement_lua="lua5.1"
13809fi
13810else
13811 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13812 LUA_LIBS=$pkg_cv_LUA_LIBS
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13814$as_echo "yes" >&6; }
13815 requirement_lua="lua"
13816fi
13817
13818if test "x${have_lua}" = "xno" ; then
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lua_newstate() is in liblua" >&5
13820$as_echo_n "checking whether lua_newstate() is in liblua... " >&6; }
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua_newstate in -llua" >&5
13822$as_echo_n "checking for lua_newstate in -llua... " >&6; }
13823if test "${ac_cv_lib_lua_lua_newstate+set}" = set; then :
13824 $as_echo_n "(cached) " >&6
13825else
13826 ac_check_lib_save_LIBS=$LIBS
13827LIBS="-llua $LIBS"
13828cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13829/* end confdefs.h. */
13830
13831/* Override any GCC internal prototype to avoid an error.
13832 Use char because int might match the return type of a GCC
13833 builtin and then its argument prototype would still apply. */
13834#ifdef __cplusplus
13835extern "C"
13836#endif
13837char lua_newstate ();
13838int
13839main ()
13840{
13841return lua_newstate ();
13842 ;
13843 return 0;
13844}
13845_ACEOF
13846if ac_fn_c_try_link "$LINENO"; then :
13847 ac_cv_lib_lua_lua_newstate=yes
13848else
13849 ac_cv_lib_lua_lua_newstate=no
13850fi
13851rm -f core conftest.err conftest.$ac_objext \
13852 conftest$ac_exeext conftest.$ac_ext
13853LIBS=$ac_check_lib_save_LIBS
13854fi
13855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua_lua_newstate" >&5
13856$as_echo "$ac_cv_lib_lua_lua_newstate" >&6; }
13857if test "x$ac_cv_lib_lua_lua_newstate" = x""yes; then :
13858
13859 have_lua="yes"
13860 lua_libs="-llua"
13861
13862else
13863 have_lua="no"
13864fi
13865
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_lua}" >&5
13867$as_echo "${have_lua}" >&6; }
13868fi
13869
13870
13871if test "x${have_lua}" = "xno" ; then
13872 as_fn_error $? "Cannot find lua library. Be sure that you have installed it and set CFLAGS and LDFLAGS correctly" "$LINENO" 5
13873fi
13874
13875
13876pkg_failed=no
13877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MINIMAL" >&5
13878$as_echo_n "checking for MINIMAL... " >&6; }
13879
13880if test -n "$MINIMAL_CFLAGS"; then
13881 pkg_cv_MINIMAL_CFLAGS="$MINIMAL_CFLAGS"
13882 elif test -n "$PKG_CONFIG"; then
13883 if test -n "$PKG_CONFIG" && \
13884 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13885 eina >= 1.2.0
13886 eet >= 1.6.0
13887 \""; } >&5
13888 ($PKG_CONFIG --exists --print-errors "
13889 eina >= 1.2.0
13890 eet >= 1.6.0
13891 ") 2>&5
13892 ac_status=$?
13893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13894 test $ac_status = 0; }; then
13895 pkg_cv_MINIMAL_CFLAGS=`$PKG_CONFIG --cflags "
13896 eina >= 1.2.0
13897 eet >= 1.6.0
13898 " 2>/dev/null`
13899else
13900 pkg_failed=yes
13901fi
13902 else
13903 pkg_failed=untried
13904fi
13905if test -n "$MINIMAL_LIBS"; then
13906 pkg_cv_MINIMAL_LIBS="$MINIMAL_LIBS"
13907 elif test -n "$PKG_CONFIG"; then
13908 if test -n "$PKG_CONFIG" && \
13909 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13910 eina >= 1.2.0
13911 eet >= 1.6.0
13912 \""; } >&5
13913 ($PKG_CONFIG --exists --print-errors "
13914 eina >= 1.2.0
13915 eet >= 1.6.0
13916 ") 2>&5
13917 ac_status=$?
13918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13919 test $ac_status = 0; }; then
13920 pkg_cv_MINIMAL_LIBS=`$PKG_CONFIG --libs "
13921 eina >= 1.2.0
13922 eet >= 1.6.0
13923 " 2>/dev/null`
13924else
13925 pkg_failed=yes
13926fi
13927 else
13928 pkg_failed=untried
13929fi
13930
13931
13932
13933if test $pkg_failed = yes; then
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13935$as_echo "no" >&6; }
13936
13937if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13938 _pkg_short_errors_supported=yes
13939else
13940 _pkg_short_errors_supported=no
13941fi
13942 if test $_pkg_short_errors_supported = yes; then
13943 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
13944 eina >= 1.2.0
13945 eet >= 1.6.0
13946 " 2>&1`
13947 else
13948 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --print-errors "
13949 eina >= 1.2.0
13950 eet >= 1.6.0
13951 " 2>&1`
13952 fi
13953 # Put the nasty error message in config.log where it belongs
13954 echo "$MINIMAL_PKG_ERRORS" >&5
13955
13956 as_fn_error $? "Package requirements (
13957 eina >= 1.2.0
13958 eet >= 1.6.0
13959 ) were not met:
13960
13961$MINIMAL_PKG_ERRORS
13962
13963Consider adjusting the PKG_CONFIG_PATH environment variable if you
13964installed software in a non-standard prefix.
13965
13966Alternatively, you may set the environment variables MINIMAL_CFLAGS
13967and MINIMAL_LIBS to avoid the need to call pkg-config.
13968See the pkg-config man page for more details." "$LINENO" 5
13969elif test $pkg_failed = untried; then
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13971$as_echo "no" >&6; }
13972 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13973$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13974as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13975is in your PATH or set the PKG_CONFIG environment variable to the full
13976path to pkg-config.
13977
13978Alternatively, you may set the environment variables MINIMAL_CFLAGS
13979and MINIMAL_LIBS to avoid the need to call pkg-config.
13980See the pkg-config man page for more details.
13981
13982To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13983See \`config.log' for more details" "$LINENO" 5 ; }
13984else
13985 MINIMAL_CFLAGS=$pkg_cv_MINIMAL_CFLAGS
13986 MINIMAL_LIBS=$pkg_cv_MINIMAL_LIBS
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13988$as_echo "yes" >&6; }
13989
13990fi
13991
13992
13993pkg_failed=no
13994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
13995$as_echo_n "checking for EDJE... " >&6; }
13996
13997if test -n "$EDJE_CFLAGS"; then
13998 pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
13999 elif test -n "$PKG_CONFIG"; then
14000 if test -n "$PKG_CONFIG" && \
14001 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14002 eina >= 1.2.0
14003 eet >= 1.6.0
14004 evas >= 1.2.0
14005 ecore >= 1.2.0
14006 ecore-evas >= 1.2.0
14007 ecore-file >= 1.2.0
14008 embryo >= 1.2.0
14009 \""; } >&5
14010 ($PKG_CONFIG --exists --print-errors "
14011 eina >= 1.2.0
14012 eet >= 1.6.0
14013 evas >= 1.2.0
14014 ecore >= 1.2.0
14015 ecore-evas >= 1.2.0
14016 ecore-file >= 1.2.0
14017 embryo >= 1.2.0
14018 ") 2>&5
14019 ac_status=$?
14020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14021 test $ac_status = 0; }; then
14022 pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags "
14023 eina >= 1.2.0
14024 eet >= 1.6.0
14025 evas >= 1.2.0
14026 ecore >= 1.2.0
14027 ecore-evas >= 1.2.0
14028 ecore-file >= 1.2.0
14029 embryo >= 1.2.0
14030 " 2>/dev/null`
14031else
14032 pkg_failed=yes
14033fi
14034 else
14035 pkg_failed=untried
14036fi
14037if test -n "$EDJE_LIBS"; then
14038 pkg_cv_EDJE_LIBS="$EDJE_LIBS"
14039 elif test -n "$PKG_CONFIG"; then
14040 if test -n "$PKG_CONFIG" && \
14041 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14042 eina >= 1.2.0
14043 eet >= 1.6.0
14044 evas >= 1.2.0
14045 ecore >= 1.2.0
14046 ecore-evas >= 1.2.0
14047 ecore-file >= 1.2.0
14048 embryo >= 1.2.0
14049 \""; } >&5
14050 ($PKG_CONFIG --exists --print-errors "
14051 eina >= 1.2.0
14052 eet >= 1.6.0
14053 evas >= 1.2.0
14054 ecore >= 1.2.0
14055 ecore-evas >= 1.2.0
14056 ecore-file >= 1.2.0
14057 embryo >= 1.2.0
14058 ") 2>&5
14059 ac_status=$?
14060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14061 test $ac_status = 0; }; then
14062 pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "
14063 eina >= 1.2.0
14064 eet >= 1.6.0
14065 evas >= 1.2.0
14066 ecore >= 1.2.0
14067 ecore-evas >= 1.2.0
14068 ecore-file >= 1.2.0
14069 embryo >= 1.2.0
14070 " 2>/dev/null`
14071else
14072 pkg_failed=yes
14073fi
14074 else
14075 pkg_failed=untried
14076fi
14077
14078
14079
14080if test $pkg_failed = yes; then
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14082$as_echo "no" >&6; }
14083
14084if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14085 _pkg_short_errors_supported=yes
14086else
14087 _pkg_short_errors_supported=no
14088fi
14089 if test $_pkg_short_errors_supported = yes; then
14090 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14091 eina >= 1.2.0
14092 eet >= 1.6.0
14093 evas >= 1.2.0
14094 ecore >= 1.2.0
14095 ecore-evas >= 1.2.0
14096 ecore-file >= 1.2.0
14097 embryo >= 1.2.0
14098 " 2>&1`
14099 else
14100 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14101 eina >= 1.2.0
14102 eet >= 1.6.0
14103 evas >= 1.2.0
14104 ecore >= 1.2.0
14105 ecore-evas >= 1.2.0
14106 ecore-file >= 1.2.0
14107 embryo >= 1.2.0
14108 " 2>&1`
14109 fi
14110 # Put the nasty error message in config.log where it belongs
14111 echo "$EDJE_PKG_ERRORS" >&5
14112
14113 as_fn_error $? "Package requirements (
14114 eina >= 1.2.0
14115 eet >= 1.6.0
14116 evas >= 1.2.0
14117 ecore >= 1.2.0
14118 ecore-evas >= 1.2.0
14119 ecore-file >= 1.2.0
14120 embryo >= 1.2.0
14121 ) were not met:
14122
14123$EDJE_PKG_ERRORS
14124
14125Consider adjusting the PKG_CONFIG_PATH environment variable if you
14126installed software in a non-standard prefix.
14127
14128Alternatively, you may set the environment variables EDJE_CFLAGS
14129and EDJE_LIBS to avoid the need to call pkg-config.
14130See the pkg-config man page for more details." "$LINENO" 5
14131elif test $pkg_failed = untried; then
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14133$as_echo "no" >&6; }
14134 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14135$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14136as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14137is in your PATH or set the PKG_CONFIG environment variable to the full
14138path to pkg-config.
14139
14140Alternatively, you may set the environment variables EDJE_CFLAGS
14141and EDJE_LIBS to avoid the need to call pkg-config.
14142See the pkg-config man page for more details.
14143
14144To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14145See \`config.log' for more details" "$LINENO" 5 ; }
14146else
14147 EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
14148 EDJE_LIBS=$pkg_cv_EDJE_LIBS
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14150$as_echo "yes" >&6; }
14151
14152fi
14153
14154EDJE_LIBS="${EDJE_LIBS} ${LUA_LIBS} ${lua_libs}"
14155EDJE_CFLAGS="${EDJE_CFLAGS} ${LUA_CFLAGS}"
14156
14157requirement_edje="embryo >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0 ${requirement_edje}"
14158requirement_edje="${requirement_lua} ${requirement_edje}"
14159
14160have_ecore_imf="no"
14161
14162pkg_failed=no
14163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_IMF" >&5
14164$as_echo_n "checking for ECORE_IMF... " >&6; }
14165
14166if test -n "$ECORE_IMF_CFLAGS"; then
14167 pkg_cv_ECORE_IMF_CFLAGS="$ECORE_IMF_CFLAGS"
14168 elif test -n "$PKG_CONFIG"; then
14169 if test -n "$PKG_CONFIG" && \
14170 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14171 ecore-imf >= 1.2.0
14172 ecore-imf-evas >= 1.2.0
14173 \""; } >&5
14174 ($PKG_CONFIG --exists --print-errors "
14175 ecore-imf >= 1.2.0
14176 ecore-imf-evas >= 1.2.0
14177 ") 2>&5
14178 ac_status=$?
14179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14180 test $ac_status = 0; }; then
14181 pkg_cv_ECORE_IMF_CFLAGS=`$PKG_CONFIG --cflags "
14182 ecore-imf >= 1.2.0
14183 ecore-imf-evas >= 1.2.0
14184 " 2>/dev/null`
14185else
14186 pkg_failed=yes
14187fi
14188 else
14189 pkg_failed=untried
14190fi
14191if test -n "$ECORE_IMF_LIBS"; then
14192 pkg_cv_ECORE_IMF_LIBS="$ECORE_IMF_LIBS"
14193 elif test -n "$PKG_CONFIG"; then
14194 if test -n "$PKG_CONFIG" && \
14195 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14196 ecore-imf >= 1.2.0
14197 ecore-imf-evas >= 1.2.0
14198 \""; } >&5
14199 ($PKG_CONFIG --exists --print-errors "
14200 ecore-imf >= 1.2.0
14201 ecore-imf-evas >= 1.2.0
14202 ") 2>&5
14203 ac_status=$?
14204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14205 test $ac_status = 0; }; then
14206 pkg_cv_ECORE_IMF_LIBS=`$PKG_CONFIG --libs "
14207 ecore-imf >= 1.2.0
14208 ecore-imf-evas >= 1.2.0
14209 " 2>/dev/null`
14210else
14211 pkg_failed=yes
14212fi
14213 else
14214 pkg_failed=untried
14215fi
14216
14217
14218
14219if test $pkg_failed = yes; then
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14221$as_echo "no" >&6; }
14222
14223if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14224 _pkg_short_errors_supported=yes
14225else
14226 _pkg_short_errors_supported=no
14227fi
14228 if test $_pkg_short_errors_supported = yes; then
14229 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14230 ecore-imf >= 1.2.0
14231 ecore-imf-evas >= 1.2.0
14232 " 2>&1`
14233 else
14234 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14235 ecore-imf >= 1.2.0
14236 ecore-imf-evas >= 1.2.0
14237 " 2>&1`
14238 fi
14239 # Put the nasty error message in config.log where it belongs
14240 echo "$ECORE_IMF_PKG_ERRORS" >&5
14241
14242 have_ecore_imf="no"
14243elif test $pkg_failed = untried; then
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14245$as_echo "no" >&6; }
14246 have_ecore_imf="no"
14247else
14248 ECORE_IMF_CFLAGS=$pkg_cv_ECORE_IMF_CFLAGS
14249 ECORE_IMF_LIBS=$pkg_cv_ECORE_IMF_LIBS
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14251$as_echo "yes" >&6; }
14252
14253
14254$as_echo "#define HAVE_ECORE_IMF 1" >>confdefs.h
14255
14256 have_ecore_imf="yes"
14257 requirement_edje="ecore-imf-evas >= 1.2.0 ecore-imf >= 1.2.0 ${requirement_edje}"
14258
14259fi
14260
14261# Enable Multisense use
14262want_multisense="yes"
14263# Check whether --enable-multisense was given.
14264if test "${enable_multisense+set}" = set; then :
14265 enableval=$enable_multisense; want_multisense=$enableval
14266
14267fi
14268
14269 if test "x${want_multisense}" = "xyes"; then
14270 ENABLE_MULTISENSE_TRUE=
14271 ENABLE_MULTISENSE_FALSE='#'
14272else
14273 ENABLE_MULTISENSE_TRUE='#'
14274 ENABLE_MULTISENSE_FALSE=
14275fi
14276
14277
14278##sndfile library
14279have_sndfile="no"
14280want_sndfile="auto"
14281# Check whether --enable-sndfile was given.
14282if test "${enable_sndfile+set}" = set; then :
14283 enableval=$enable_sndfile; want_sndfile=$enableval
14284fi
14285
14286
14287if test "x${want_multisense}" = "xyes" -a "x$want_sndfile" != "xno"; then
14288
14289
14290pkg_failed=no
14291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
14292$as_echo_n "checking for SNDFILE... " >&6; }
14293
14294if test -n "$SNDFILE_CFLAGS"; then
14295 pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
14296 elif test -n "$PKG_CONFIG"; then
14297 if test -n "$PKG_CONFIG" && \
14298 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
14299 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
14300 ac_status=$?
14301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14302 test $ac_status = 0; }; then
14303 pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile >= 1.0.21" 2>/dev/null`
14304else
14305 pkg_failed=yes
14306fi
14307 else
14308 pkg_failed=untried
14309fi
14310if test -n "$SNDFILE_LIBS"; then
14311 pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
14312 elif test -n "$PKG_CONFIG"; then
14313 if test -n "$PKG_CONFIG" && \
14314 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
14315 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
14316 ac_status=$?
14317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14318 test $ac_status = 0; }; then
14319 pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile >= 1.0.21" 2>/dev/null`
14320else
14321 pkg_failed=yes
14322fi
14323 else
14324 pkg_failed=untried
14325fi
14326
14327
14328
14329if test $pkg_failed = yes; then
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14331$as_echo "no" >&6; }
14332
14333if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14334 _pkg_short_errors_supported=yes
14335else
14336 _pkg_short_errors_supported=no
14337fi
14338 if test $_pkg_short_errors_supported = yes; then
14339 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sndfile >= 1.0.21" 2>&1`
14340 else
14341 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors "sndfile >= 1.0.21" 2>&1`
14342 fi
14343 # Put the nasty error message in config.log where it belongs
14344 echo "$SNDFILE_PKG_ERRORS" >&5
14345
14346 have_sndfile="no"; want_multisense="no"
14347
14348elif test $pkg_failed = untried; then
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14350$as_echo "no" >&6; }
14351 have_sndfile="no"; want_multisense="no"
14352
14353else
14354 SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
14355 SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14357$as_echo "yes" >&6; }
14358
14359
14360$as_echo "#define HAVE_LIBSNDFILE 1" >>confdefs.h
14361
14362 have_sndfile="yes"
14363 requirement_edje="sndfile >= 1.0.21 ${requirement_edje}"
14364
14365fi
14366
14367 if test "x$want_sndfile" = "xyes" -a "x$have_sndfile" = "xno"; then
14368 as_fn_error $? "sndfile support requested, but not found by pkg-config." "$LINENO" 5
14369 fi
14370fi
14371 if test "x${have_sndfile}" = "xyes"; then
14372 HAVE_LIBSNDFILE_TRUE=
14373 HAVE_LIBSNDFILE_FALSE='#'
14374else
14375 HAVE_LIBSNDFILE_TRUE='#'
14376 HAVE_LIBSNDFILE_FALSE=
14377fi
14378
14379
14380##libremix library
14381have_libremix="no"
14382want_libremix="auto"
14383# Check whether --enable-remix was given.
14384if test "${enable_remix+set}" = set; then :
14385 enableval=$enable_remix; want_libremix=$enableval
14386fi
14387
14388
14389if test "x${want_multisense}" = "xyes" -a "x$want_libremix" != "xno"; then
14390
14391pkg_failed=no
14392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for REMIX" >&5
14393$as_echo_n "checking for REMIX... " >&6; }
14394
14395if test -n "$REMIX_CFLAGS"; then
14396 pkg_cv_REMIX_CFLAGS="$REMIX_CFLAGS"
14397 elif test -n "$PKG_CONFIG"; then
14398 if test -n "$PKG_CONFIG" && \
14399 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5
14400 ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
14401 ac_status=$?
14402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14403 test $ac_status = 0; }; then
14404 pkg_cv_REMIX_CFLAGS=`$PKG_CONFIG --cflags "remix >= 0.2.4" 2>/dev/null`
14405else
14406 pkg_failed=yes
14407fi
14408 else
14409 pkg_failed=untried
14410fi
14411if test -n "$REMIX_LIBS"; then
14412 pkg_cv_REMIX_LIBS="$REMIX_LIBS"
14413 elif test -n "$PKG_CONFIG"; then
14414 if test -n "$PKG_CONFIG" && \
14415 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5
14416 ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
14417 ac_status=$?
14418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14419 test $ac_status = 0; }; then
14420 pkg_cv_REMIX_LIBS=`$PKG_CONFIG --libs "remix >= 0.2.4" 2>/dev/null`
14421else
14422 pkg_failed=yes
14423fi
14424 else
14425 pkg_failed=untried
14426fi
14427
14428
14429
14430if test $pkg_failed = yes; then
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14432$as_echo "no" >&6; }
14433
14434if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14435 _pkg_short_errors_supported=yes
14436else
14437 _pkg_short_errors_supported=no
14438fi
14439 if test $_pkg_short_errors_supported = yes; then
14440 REMIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "remix >= 0.2.4" 2>&1`
14441 else
14442 REMIX_PKG_ERRORS=`$PKG_CONFIG --print-errors "remix >= 0.2.4" 2>&1`
14443 fi
14444 # Put the nasty error message in config.log where it belongs
14445 echo "$REMIX_PKG_ERRORS" >&5
14446
14447 have_libremix="no"; want_multisense="no"
14448
14449elif test $pkg_failed = untried; then
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14451$as_echo "no" >&6; }
14452 have_libremix="no"; want_multisense="no"
14453
14454else
14455 REMIX_CFLAGS=$pkg_cv_REMIX_CFLAGS
14456 REMIX_LIBS=$pkg_cv_REMIX_LIBS
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14458$as_echo "yes" >&6; }
14459
14460
14461$as_echo "#define HAVE_LIBREMIX 1" >>confdefs.h
14462
14463 have_libremix="yes"
14464 requirement_edje="remix >= 0.2.4 ${requirement_edje}"
14465
14466$as_echo "#define __REMIX_PLUGIN__ 1" >>confdefs.h
14467
14468 REMIX_PLUGIN_DIR=`pkg-config --variable=libdir remix`"/remix"
14469
14470
14471cat >>confdefs.h <<_ACEOF
14472#define REMIX_PLUGIN_DIR "$REMIX_PLUGIN_DIR"
14473_ACEOF
14474
14475
14476fi
14477
14478 if test "x$want_libremix" = "xyes" -a "x$have_libremix" = "xno"; then
14479 as_fn_error $? "remix support requested, but not found by pkg-config." "$LINENO" 5
14480 fi
14481fi
14482 if test "x${have_libremix}" = "xyes"; then
14483 HAVE_LIBREMIX_TRUE=
14484 HAVE_LIBREMIX_FALSE='#'
14485else
14486 HAVE_LIBREMIX_TRUE='#'
14487 HAVE_LIBREMIX_FALSE=
14488fi
14489
14490
14491##vorbis/ogg library
14492have_vorbis="no"
14493want_vorbis="auto"
14494# Check whether --enable-vorbisenc was given.
14495if test "${enable_vorbisenc+set}" = set; then :
14496 enableval=$enable_vorbisenc; want_vorbis=$enableval
14497fi
14498
14499
14500if test "x${want_multisense}" = "xyes" -a "x$want_vorbis" != "xno"; then
14501
14502pkg_failed=no
14503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VORBISENC" >&5
14504$as_echo_n "checking for VORBISENC... " >&6; }
14505
14506if test -n "$VORBISENC_CFLAGS"; then
14507 pkg_cv_VORBISENC_CFLAGS="$VORBISENC_CFLAGS"
14508 elif test -n "$PKG_CONFIG"; then
14509 if test -n "$PKG_CONFIG" && \
14510 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14511 ogg >= 1.1.4
14512 vorbis >= 1.2.3
14513 vorbisenc >= 1.2.3
14514 \""; } >&5
14515 ($PKG_CONFIG --exists --print-errors "
14516 ogg >= 1.1.4
14517 vorbis >= 1.2.3
14518 vorbisenc >= 1.2.3
14519 ") 2>&5
14520 ac_status=$?
14521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14522 test $ac_status = 0; }; then
14523 pkg_cv_VORBISENC_CFLAGS=`$PKG_CONFIG --cflags "
14524 ogg >= 1.1.4
14525 vorbis >= 1.2.3
14526 vorbisenc >= 1.2.3
14527 " 2>/dev/null`
14528else
14529 pkg_failed=yes
14530fi
14531 else
14532 pkg_failed=untried
14533fi
14534if test -n "$VORBISENC_LIBS"; then
14535 pkg_cv_VORBISENC_LIBS="$VORBISENC_LIBS"
14536 elif test -n "$PKG_CONFIG"; then
14537 if test -n "$PKG_CONFIG" && \
14538 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14539 ogg >= 1.1.4
14540 vorbis >= 1.2.3
14541 vorbisenc >= 1.2.3
14542 \""; } >&5
14543 ($PKG_CONFIG --exists --print-errors "
14544 ogg >= 1.1.4
14545 vorbis >= 1.2.3
14546 vorbisenc >= 1.2.3
14547 ") 2>&5
14548 ac_status=$?
14549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14550 test $ac_status = 0; }; then
14551 pkg_cv_VORBISENC_LIBS=`$PKG_CONFIG --libs "
14552 ogg >= 1.1.4
14553 vorbis >= 1.2.3
14554 vorbisenc >= 1.2.3
14555 " 2>/dev/null`
14556else
14557 pkg_failed=yes
14558fi
14559 else
14560 pkg_failed=untried
14561fi
14562
14563
14564
14565if test $pkg_failed = yes; then
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14567$as_echo "no" >&6; }
14568
14569if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14570 _pkg_short_errors_supported=yes
14571else
14572 _pkg_short_errors_supported=no
14573fi
14574 if test $_pkg_short_errors_supported = yes; then
14575 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14576 ogg >= 1.1.4
14577 vorbis >= 1.2.3
14578 vorbisenc >= 1.2.3
14579 " 2>&1`
14580 else
14581 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14582 ogg >= 1.1.4
14583 vorbis >= 1.2.3
14584 vorbisenc >= 1.2.3
14585 " 2>&1`
14586 fi
14587 # Put the nasty error message in config.log where it belongs
14588 echo "$VORBISENC_PKG_ERRORS" >&5
14589
14590 have_vorbis="no"; want_multisense="no"
14591
14592elif test $pkg_failed = untried; then
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14594$as_echo "no" >&6; }
14595 have_vorbis="no"; want_multisense="no"
14596
14597else
14598 VORBISENC_CFLAGS=$pkg_cv_VORBISENC_CFLAGS
14599 VORBISENC_LIBS=$pkg_cv_VORBISENC_LIBS
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14601$as_echo "yes" >&6; }
14602
14603
14604$as_echo "#define HAVE_VORBIS 1" >>confdefs.h
14605
14606 have_vorbis="yes"
14607 requirement_edje="ogg >= 1.1.4 vorbis >= 1.2.3 vorbisenc >= 1.2.3 ${requirement_edje}"
14608
14609fi
14610
14611 if test "x$want_vorbis" = "xyes" -a "x$have_vorbis" = "xno"; then
14612 as_fn_error $? "vorbisenc support requested, but not found by pkg-config." "$LINENO" 5
14613 fi
14614fi
14615
14616##alsa library
14617have_alsa_lib="no"
14618want_alsa_lib="auto"
14619# Check whether --enable-flac was given.
14620if test "${enable_flac+set}" = set; then :
14621 enableval=$enable_flac; want_alsa_lib=$enableval
14622fi
14623
14624
14625if test "x${want_multisense}" = "xyes" -a "x$want_alsa_lib" != "xno"; then
14626
14627pkg_failed=no
14628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
14629$as_echo_n "checking for ALSA... " >&6; }
14630
14631if test -n "$ALSA_CFLAGS"; then
14632 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
14633 elif test -n "$PKG_CONFIG"; then
14634 if test -n "$PKG_CONFIG" && \
14635 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14636 alsa >= 1.0.21
14637 \""; } >&5
14638 ($PKG_CONFIG --exists --print-errors "
14639 alsa >= 1.0.21
14640 ") 2>&5
14641 ac_status=$?
14642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14643 test $ac_status = 0; }; then
14644 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "
14645 alsa >= 1.0.21
14646 " 2>/dev/null`
14647else
14648 pkg_failed=yes
14649fi
14650 else
14651 pkg_failed=untried
14652fi
14653if test -n "$ALSA_LIBS"; then
14654 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
14655 elif test -n "$PKG_CONFIG"; then
14656 if test -n "$PKG_CONFIG" && \
14657 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14658 alsa >= 1.0.21
14659 \""; } >&5
14660 ($PKG_CONFIG --exists --print-errors "
14661 alsa >= 1.0.21
14662 ") 2>&5
14663 ac_status=$?
14664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14665 test $ac_status = 0; }; then
14666 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "
14667 alsa >= 1.0.21
14668 " 2>/dev/null`
14669else
14670 pkg_failed=yes
14671fi
14672 else
14673 pkg_failed=untried
14674fi
14675
14676
14677
14678if test $pkg_failed = yes; then
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14680$as_echo "no" >&6; }
14681
14682if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14683 _pkg_short_errors_supported=yes
14684else
14685 _pkg_short_errors_supported=no
14686fi
14687 if test $_pkg_short_errors_supported = yes; then
14688 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14689 alsa >= 1.0.21
14690 " 2>&1`
14691 else
14692 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14693 alsa >= 1.0.21
14694 " 2>&1`
14695 fi
14696 # Put the nasty error message in config.log where it belongs
14697 echo "$ALSA_PKG_ERRORS" >&5
14698
14699 have_alsa_lib="no"; want_multisense="no"
14700
14701elif test $pkg_failed = untried; then
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14703$as_echo "no" >&6; }
14704 have_alsa_lib="no"; want_multisense="no"
14705
14706else
14707 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
14708 ALSA_LIBS=$pkg_cv_ALSA_LIBS
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14710$as_echo "yes" >&6; }
14711
14712
14713$as_echo "#define HAVE_LIBALSA 1" >>confdefs.h
14714
14715 have_alsa_lib="yes"
14716 requirement_edje="alsa >= 1.0.21 ${requirement_edje}"
14717
14718fi
14719
14720 if test "x$want_alsa_lib" = "xyes" -a "x$have_alsa_lib" = "xno"; then
14721 as_fn_error $? "alsa support requested, but not found by pkg-config." "$LINENO" 5
14722 fi
14723fi
14724 if test "x${have_alsa_lib}" = "xyes"; then
14725 HAVE_LIBALSA_TRUE=
14726 HAVE_LIBALSA_FALSE='#'
14727else
14728 HAVE_LIBALSA_TRUE='#'
14729 HAVE_LIBALSA_FALSE=
14730fi
14731
14732
14733
14734##flac library
14735have_flac_lib="no"
14736want_flac_lib="auto"
14737# Check whether --enable-flac was given.
14738if test "${enable_flac+set}" = set; then :
14739 enableval=$enable_flac; want_flac_lib=$enableval
14740fi
14741
14742
14743if test "x${want_multisense}" = "xyes" -a "x$want_flac_lib" != "xno"; then
14744
14745pkg_failed=no
14746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5
14747$as_echo_n "checking for FLAC... " >&6; }
14748
14749if test -n "$FLAC_CFLAGS"; then
14750 pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS"
14751 elif test -n "$PKG_CONFIG"; then
14752 if test -n "$PKG_CONFIG" && \
14753 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14754 flac >= 1.2.1
14755 \""; } >&5
14756 ($PKG_CONFIG --exists --print-errors "
14757 flac >= 1.2.1
14758 ") 2>&5
14759 ac_status=$?
14760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14761 test $ac_status = 0; }; then
14762 pkg_cv_FLAC_CFLAGS=`$PKG_CONFIG --cflags "
14763 flac >= 1.2.1
14764 " 2>/dev/null`
14765else
14766 pkg_failed=yes
14767fi
14768 else
14769 pkg_failed=untried
14770fi
14771if test -n "$FLAC_LIBS"; then
14772 pkg_cv_FLAC_LIBS="$FLAC_LIBS"
14773 elif test -n "$PKG_CONFIG"; then
14774 if test -n "$PKG_CONFIG" && \
14775 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14776 flac >= 1.2.1
14777 \""; } >&5
14778 ($PKG_CONFIG --exists --print-errors "
14779 flac >= 1.2.1
14780 ") 2>&5
14781 ac_status=$?
14782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14783 test $ac_status = 0; }; then
14784 pkg_cv_FLAC_LIBS=`$PKG_CONFIG --libs "
14785 flac >= 1.2.1
14786 " 2>/dev/null`
14787else
14788 pkg_failed=yes
14789fi
14790 else
14791 pkg_failed=untried
14792fi
14793
14794
14795
14796if test $pkg_failed = yes; then
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14798$as_echo "no" >&6; }
14799
14800if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14801 _pkg_short_errors_supported=yes
14802else
14803 _pkg_short_errors_supported=no
14804fi
14805 if test $_pkg_short_errors_supported = yes; then
14806 FLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14807 flac >= 1.2.1
14808 " 2>&1`
14809 else
14810 FLAC_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14811 flac >= 1.2.1
14812 " 2>&1`
14813 fi
14814 # Put the nasty error message in config.log where it belongs
14815 echo "$FLAC_PKG_ERRORS" >&5
14816
14817 have_flac_lib="no"; want_multisense="no"
14818
14819elif test $pkg_failed = untried; then
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14821$as_echo "no" >&6; }
14822 have_flac_lib="no"; want_multisense="no"
14823
14824else
14825 FLAC_CFLAGS=$pkg_cv_FLAC_CFLAGS
14826 FLAC_LIBS=$pkg_cv_FLAC_LIBS
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14828$as_echo "yes" >&6; }
14829
14830
14831$as_echo "#define HAVE_LIBFLAC 1" >>confdefs.h
14832
14833 have_flac_lib="yes"
14834 # disabled because this adds flac include dirs to cflags... and
14835 # FLAC has an assert.h in its include dirs that ends up
14836 # overriding the system assert.h and thus causes all sorts of
14837 # mayhem
14838 #requirement_edje="flac >= 1.2.1 ${requirement_edje}"
14839
14840fi
14841 if test "x$want_flac_lib" = "xyes" -a "x$have_flac_lib" = "xno"; then
14842 as_fn_error $? "flac support requested, but not found by pkg-config." "$LINENO" 5
14843 fi
14844fi
14845
14846if test "x${want_multisense}" = "xyes" ; then
14847
14848$as_echo "#define ENABLE_MULTISENSE 1" >>confdefs.h
14849
14850fi
14851
14852# Dependencies for the binaries
14853
14854if test "x$have_edje_cc" = "xyes"; then
14855
14856pkg_failed=no
14857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_CC" >&5
14858$as_echo_n "checking for EDJE_CC... " >&6; }
14859
14860if test -n "$EDJE_CC_CFLAGS"; then
14861 pkg_cv_EDJE_CC_CFLAGS="$EDJE_CC_CFLAGS"
14862 elif test -n "$PKG_CONFIG"; then
14863 if test -n "$PKG_CONFIG" && \
14864 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0\""; } >&5
14865 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0") 2>&5
14866 ac_status=$?
14867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14868 test $ac_status = 0; }; then
14869 pkg_cv_EDJE_CC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0" 2>/dev/null`
14870else
14871 pkg_failed=yes
14872fi
14873 else
14874 pkg_failed=untried
14875fi
14876if test -n "$EDJE_CC_LIBS"; then
14877 pkg_cv_EDJE_CC_LIBS="$EDJE_CC_LIBS"
14878 elif test -n "$PKG_CONFIG"; then
14879 if test -n "$PKG_CONFIG" && \
14880 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0\""; } >&5
14881 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0") 2>&5
14882 ac_status=$?
14883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14884 test $ac_status = 0; }; then
14885 pkg_cv_EDJE_CC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0" 2>/dev/null`
14886else
14887 pkg_failed=yes
14888fi
14889 else
14890 pkg_failed=untried
14891fi
14892
14893
14894
14895if test $pkg_failed = yes; then
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14897$as_echo "no" >&6; }
14898
14899if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14900 _pkg_short_errors_supported=yes
14901else
14902 _pkg_short_errors_supported=no
14903fi
14904 if test $_pkg_short_errors_supported = yes; then
14905 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0" 2>&1`
14906 else
14907 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0" 2>&1`
14908 fi
14909 # Put the nasty error message in config.log where it belongs
14910 echo "$EDJE_CC_PKG_ERRORS" >&5
14911
14912 as_fn_error $? "Package requirements (ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0) were not met:
14913
14914$EDJE_CC_PKG_ERRORS
14915
14916Consider adjusting the PKG_CONFIG_PATH environment variable if you
14917installed software in a non-standard prefix.
14918
14919Alternatively, you may set the environment variables EDJE_CC_CFLAGS
14920and EDJE_CC_LIBS to avoid the need to call pkg-config.
14921See the pkg-config man page for more details." "$LINENO" 5
14922elif test $pkg_failed = untried; then
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14924$as_echo "no" >&6; }
14925 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14926$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14927as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14928is in your PATH or set the PKG_CONFIG environment variable to the full
14929path to pkg-config.
14930
14931Alternatively, you may set the environment variables EDJE_CC_CFLAGS
14932and EDJE_CC_LIBS to avoid the need to call pkg-config.
14933See the pkg-config man page for more details.
14934
14935To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14936See \`config.log' for more details" "$LINENO" 5 ; }
14937else
14938 EDJE_CC_CFLAGS=$pkg_cv_EDJE_CC_CFLAGS
14939 EDJE_CC_LIBS=$pkg_cv_EDJE_CC_LIBS
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14941$as_echo "yes" >&6; }
14942
14943fi
14944 EDJE_CC_LIBS="${EDJE_CC_LIBS} ${LUA_LIBS} ${lua_libs}"
14945fi
14946
14947 if test "x$have_edje_cc" = "xyes"; then
14948 BUILD_EPP_TRUE=
14949 BUILD_EPP_FALSE='#'
14950else
14951 BUILD_EPP_TRUE='#'
14952 BUILD_EPP_FALSE=
14953fi
14954
14955
14956if test "x$have_edje_decc" = "xyes"; then
14957
14958pkg_failed=no
14959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_DECC" >&5
14960$as_echo_n "checking for EDJE_DECC... " >&6; }
14961
14962if test -n "$EDJE_DECC_CFLAGS"; then
14963 pkg_cv_EDJE_DECC_CFLAGS="$EDJE_DECC_CFLAGS"
14964 elif test -n "$PKG_CONFIG"; then
14965 if test -n "$PKG_CONFIG" && \
14966 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0\""; } >&5
14967 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0") 2>&5
14968 ac_status=$?
14969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14970 test $ac_status = 0; }; then
14971 pkg_cv_EDJE_DECC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0" 2>/dev/null`
14972else
14973 pkg_failed=yes
14974fi
14975 else
14976 pkg_failed=untried
14977fi
14978if test -n "$EDJE_DECC_LIBS"; then
14979 pkg_cv_EDJE_DECC_LIBS="$EDJE_DECC_LIBS"
14980 elif test -n "$PKG_CONFIG"; then
14981 if test -n "$PKG_CONFIG" && \
14982 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0\""; } >&5
14983 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0") 2>&5
14984 ac_status=$?
14985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14986 test $ac_status = 0; }; then
14987 pkg_cv_EDJE_DECC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0" 2>/dev/null`
14988else
14989 pkg_failed=yes
14990fi
14991 else
14992 pkg_failed=untried
14993fi
14994
14995
14996
14997if test $pkg_failed = yes; then
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14999$as_echo "no" >&6; }
15000
15001if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15002 _pkg_short_errors_supported=yes
15003else
15004 _pkg_short_errors_supported=no
15005fi
15006 if test $_pkg_short_errors_supported = yes; then
15007 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0" 2>&1`
15008 else
15009 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0" 2>&1`
15010 fi
15011 # Put the nasty error message in config.log where it belongs
15012 echo "$EDJE_DECC_PKG_ERRORS" >&5
15013
15014 as_fn_error $? "Package requirements (ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0) were not met:
15015
15016$EDJE_DECC_PKG_ERRORS
15017
15018Consider adjusting the PKG_CONFIG_PATH environment variable if you
15019installed software in a non-standard prefix.
15020
15021Alternatively, you may set the environment variables EDJE_DECC_CFLAGS
15022and EDJE_DECC_LIBS to avoid the need to call pkg-config.
15023See the pkg-config man page for more details." "$LINENO" 5
15024elif test $pkg_failed = untried; then
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15026$as_echo "no" >&6; }
15027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15028$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15029as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15030is in your PATH or set the PKG_CONFIG environment variable to the full
15031path to pkg-config.
15032
15033Alternatively, you may set the environment variables EDJE_DECC_CFLAGS
15034and EDJE_DECC_LIBS to avoid the need to call pkg-config.
15035See the pkg-config man page for more details.
15036
15037To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15038See \`config.log' for more details" "$LINENO" 5 ; }
15039else
15040 EDJE_DECC_CFLAGS=$pkg_cv_EDJE_DECC_CFLAGS
15041 EDJE_DECC_LIBS=$pkg_cv_EDJE_DECC_LIBS
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15043$as_echo "yes" >&6; }
15044
15045fi
15046fi
15047
15048if test "x$have_edje_player" = "xyes"; then
15049
15050pkg_failed=no
15051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_PLAYER" >&5
15052$as_echo_n "checking for EDJE_PLAYER... " >&6; }
15053
15054if test -n "$EDJE_PLAYER_CFLAGS"; then
15055 pkg_cv_EDJE_PLAYER_CFLAGS="$EDJE_PLAYER_CFLAGS"
15056 elif test -n "$PKG_CONFIG"; then
15057 if test -n "$PKG_CONFIG" && \
15058 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0\""; } >&5
15059 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0") 2>&5
15060 ac_status=$?
15061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15062 test $ac_status = 0; }; then
15063 pkg_cv_EDJE_PLAYER_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>/dev/null`
15064else
15065 pkg_failed=yes
15066fi
15067 else
15068 pkg_failed=untried
15069fi
15070if test -n "$EDJE_PLAYER_LIBS"; then
15071 pkg_cv_EDJE_PLAYER_LIBS="$EDJE_PLAYER_LIBS"
15072 elif test -n "$PKG_CONFIG"; then
15073 if test -n "$PKG_CONFIG" && \
15074 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0\""; } >&5
15075 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0") 2>&5
15076 ac_status=$?
15077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15078 test $ac_status = 0; }; then
15079 pkg_cv_EDJE_PLAYER_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>/dev/null`
15080else
15081 pkg_failed=yes
15082fi
15083 else
15084 pkg_failed=untried
15085fi
15086
15087
15088
15089if test $pkg_failed = yes; then
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15091$as_echo "no" >&6; }
15092
15093if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15094 _pkg_short_errors_supported=yes
15095else
15096 _pkg_short_errors_supported=no
15097fi
15098 if test $_pkg_short_errors_supported = yes; then
15099 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>&1`
15100 else
15101 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>&1`
15102 fi
15103 # Put the nasty error message in config.log where it belongs
15104 echo "$EDJE_PLAYER_PKG_ERRORS" >&5
15105
15106 as_fn_error $? "Package requirements (ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0) were not met:
15107
15108$EDJE_PLAYER_PKG_ERRORS
15109
15110Consider adjusting the PKG_CONFIG_PATH environment variable if you
15111installed software in a non-standard prefix.
15112
15113Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS
15114and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
15115See the pkg-config man page for more details." "$LINENO" 5
15116elif test $pkg_failed = untried; then
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15118$as_echo "no" >&6; }
15119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15120$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15121as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15122is in your PATH or set the PKG_CONFIG environment variable to the full
15123path to pkg-config.
15124
15125Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS
15126and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
15127See the pkg-config man page for more details.
15128
15129To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15130See \`config.log' for more details" "$LINENO" 5 ; }
15131else
15132 EDJE_PLAYER_CFLAGS=$pkg_cv_EDJE_PLAYER_CFLAGS
15133 EDJE_PLAYER_LIBS=$pkg_cv_EDJE_PLAYER_LIBS
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15135$as_echo "yes" >&6; }
15136
15137fi
15138fi
15139
15140if test "x$have_edje_inspector" = "xyes"; then
15141
15142pkg_failed=no
15143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_INSPECTOR" >&5
15144$as_echo_n "checking for EDJE_INSPECTOR... " >&6; }
15145
15146if test -n "$EDJE_INSPECTOR_CFLAGS"; then
15147 pkg_cv_EDJE_INSPECTOR_CFLAGS="$EDJE_INSPECTOR_CFLAGS"
15148 elif test -n "$PKG_CONFIG"; then
15149 if test -n "$PKG_CONFIG" && \
15150 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0\""; } >&5
15151 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0") 2>&5
15152 ac_status=$?
15153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15154 test $ac_status = 0; }; then
15155 pkg_cv_EDJE_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>/dev/null`
15156else
15157 pkg_failed=yes
15158fi
15159 else
15160 pkg_failed=untried
15161fi
15162if test -n "$EDJE_INSPECTOR_LIBS"; then
15163 pkg_cv_EDJE_INSPECTOR_LIBS="$EDJE_INSPECTOR_LIBS"
15164 elif test -n "$PKG_CONFIG"; then
15165 if test -n "$PKG_CONFIG" && \
15166 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0\""; } >&5
15167 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0") 2>&5
15168 ac_status=$?
15169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15170 test $ac_status = 0; }; then
15171 pkg_cv_EDJE_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>/dev/null`
15172else
15173 pkg_failed=yes
15174fi
15175 else
15176 pkg_failed=untried
15177fi
15178
15179
15180
15181if test $pkg_failed = yes; then
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15183$as_echo "no" >&6; }
15184
15185if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15186 _pkg_short_errors_supported=yes
15187else
15188 _pkg_short_errors_supported=no
15189fi
15190 if test $_pkg_short_errors_supported = yes; then
15191 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>&1`
15192 else
15193 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>&1`
15194 fi
15195 # Put the nasty error message in config.log where it belongs
15196 echo "$EDJE_INSPECTOR_PKG_ERRORS" >&5
15197
15198 as_fn_error $? "Package requirements (ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0) were not met:
15199
15200$EDJE_INSPECTOR_PKG_ERRORS
15201
15202Consider adjusting the PKG_CONFIG_PATH environment variable if you
15203installed software in a non-standard prefix.
15204
15205Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS
15206and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
15207See the pkg-config man page for more details." "$LINENO" 5
15208elif test $pkg_failed = untried; then
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15210$as_echo "no" >&6; }
15211 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15212$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15213as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15214is in your PATH or set the PKG_CONFIG environment variable to the full
15215path to pkg-config.
15216
15217Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS
15218and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
15219See the pkg-config man page for more details.
15220
15221To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15222See \`config.log' for more details" "$LINENO" 5 ; }
15223else
15224 EDJE_INSPECTOR_CFLAGS=$pkg_cv_EDJE_INSPECTOR_CFLAGS
15225 EDJE_INSPECTOR_LIBS=$pkg_cv_EDJE_INSPECTOR_LIBS
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15227$as_echo "yes" >&6; }
15228
15229fi
15230fi
15231
15232if test "x$have_edje_external_inspector" = "xyes"; then
15233
15234pkg_failed=no
15235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_EXTERNAL_INSPECTOR" >&5
15236$as_echo_n "checking for EDJE_EXTERNAL_INSPECTOR... " >&6; }
15237
15238if test -n "$EDJE_EXTERNAL_INSPECTOR_CFLAGS"; then
15239 pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS="$EDJE_EXTERNAL_INSPECTOR_CFLAGS"
15240 elif test -n "$PKG_CONFIG"; then
15241 if test -n "$PKG_CONFIG" && \
15242 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0\""; } >&5
15243 ($PKG_CONFIG --exists --print-errors "ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0") 2>&5
15244 ac_status=$?
15245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15246 test $ac_status = 0; }; then
15247 pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>/dev/null`
15248else
15249 pkg_failed=yes
15250fi
15251 else
15252 pkg_failed=untried
15253fi
15254if test -n "$EDJE_EXTERNAL_INSPECTOR_LIBS"; then
15255 pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS="$EDJE_EXTERNAL_INSPECTOR_LIBS"
15256 elif test -n "$PKG_CONFIG"; then
15257 if test -n "$PKG_CONFIG" && \
15258 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0\""; } >&5
15259 ($PKG_CONFIG --exists --print-errors "ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0") 2>&5
15260 ac_status=$?
15261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15262 test $ac_status = 0; }; then
15263 pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>/dev/null`
15264else
15265 pkg_failed=yes
15266fi
15267 else
15268 pkg_failed=untried
15269fi
15270
15271
15272
15273if test $pkg_failed = yes; then
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15275$as_echo "no" >&6; }
15276
15277if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15278 _pkg_short_errors_supported=yes
15279else
15280 _pkg_short_errors_supported=no
15281fi
15282 if test $_pkg_short_errors_supported = yes; then
15283 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>&1`
15284 else
15285 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>&1`
15286 fi
15287 # Put the nasty error message in config.log where it belongs
15288 echo "$EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS" >&5
15289
15290 as_fn_error $? "Package requirements (ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0) were not met:
15291
15292$EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS
15293
15294Consider adjusting the PKG_CONFIG_PATH environment variable if you
15295installed software in a non-standard prefix.
15296
15297Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS
15298and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
15299See the pkg-config man page for more details." "$LINENO" 5
15300elif test $pkg_failed = untried; then
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15302$as_echo "no" >&6; }
15303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15304$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15305as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15306is in your PATH or set the PKG_CONFIG environment variable to the full
15307path to pkg-config.
15308
15309Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS
15310and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
15311See the pkg-config man page for more details.
15312
15313To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15314See \`config.log' for more details" "$LINENO" 5 ; }
15315else
15316 EDJE_EXTERNAL_INSPECTOR_CFLAGS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS
15317 EDJE_EXTERNAL_INSPECTOR_LIBS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15319$as_echo "yes" >&6; }
15320
15321fi
15322fi
15323
15324
15325### Checks for header files
15326for ac_header in locale.h sys/resource.h
15327do :
15328 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15329ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15330if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15331 cat >>confdefs.h <<_ACEOF
15332#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15333_ACEOF
15334
15335fi
15336
15337done
15338
15339
15340
15341
15342default_max="4096"
15343ac_ext=c
15344ac_cpp='$CPP $CPPFLAGS'
15345ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15346ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15347ac_compiler_gnu=$ac_cv_c_compiler_gnu
15348
15349
15350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
15351$as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
15352cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15353/* end confdefs.h. */
15354
15355#include <limits.h>
15356
15357int
15358main ()
15359{
15360
15361int i = PATH_MAX;
15362
15363 ;
15364 return 0;
15365}
15366_ACEOF
15367if ac_fn_c_try_compile "$LINENO"; then :
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15369$as_echo "yes" >&6; }
15370else
15371
15372
15373cat >>confdefs.h <<_ACEOF
15374#define PATH_MAX ${default_max}
15375_ACEOF
15376
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
15378$as_echo "no: using ${default_max}" >&6; }
15379
15380fi
15381rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15382
15383ac_ext=c
15384ac_cpp='$CPP $CPPFLAGS'
15385ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15386ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15387ac_compiler_gnu=$ac_cv_c_compiler_gnu
15388
15389
15390
15391
15392
15393### Checks for types
15394
15395
15396### Checks for structures
15397
15398
15399### Checks for compiler characteristics
15400if test "x$CC" != xcc; then
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
15402$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
15403else
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
15405$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
15406fi
15407set dummy $CC; ac_cc=`$as_echo "$2" |
15408 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
15409if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
15410 $as_echo_n "(cached) " >&6
15411else
15412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15413/* end confdefs.h. */
15414
15415int
15416main ()
15417{
15418
15419 ;
15420 return 0;
15421}
15422_ACEOF
15423# Make sure it works both with $CC and with simple cc.
15424# We do the test twice because some compilers refuse to overwrite an
15425# existing .o file with -o, though they will create one.
15426ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
15427rm -f conftest2.*
15428if { { case "(($ac_try" in
15429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15430 *) ac_try_echo=$ac_try;;
15431esac
15432eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15433$as_echo "$ac_try_echo"; } >&5
15434 (eval "$ac_try") 2>&5
15435 ac_status=$?
15436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15437 test $ac_status = 0; } &&
15438 test -f conftest2.$ac_objext && { { case "(($ac_try" in
15439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15440 *) ac_try_echo=$ac_try;;
15441esac
15442eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15443$as_echo "$ac_try_echo"; } >&5
15444 (eval "$ac_try") 2>&5
15445 ac_status=$?
15446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15447 test $ac_status = 0; };
15448then
15449 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
15450 if test "x$CC" != xcc; then
15451 # Test first that cc exists at all.
15452 if { ac_try='cc -c conftest.$ac_ext >&5'
15453 { { case "(($ac_try" in
15454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15455 *) ac_try_echo=$ac_try;;
15456esac
15457eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15458$as_echo "$ac_try_echo"; } >&5
15459 (eval "$ac_try") 2>&5
15460 ac_status=$?
15461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15462 test $ac_status = 0; }; }; then
15463 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
15464 rm -f conftest2.*
15465 if { { case "(($ac_try" in
15466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15467 *) ac_try_echo=$ac_try;;
15468esac
15469eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15470$as_echo "$ac_try_echo"; } >&5
15471 (eval "$ac_try") 2>&5
15472 ac_status=$?
15473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15474 test $ac_status = 0; } &&
15475 test -f conftest2.$ac_objext && { { case "(($ac_try" in
15476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15477 *) ac_try_echo=$ac_try;;
15478esac
15479eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15480$as_echo "$ac_try_echo"; } >&5
15481 (eval "$ac_try") 2>&5
15482 ac_status=$?
15483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15484 test $ac_status = 0; };
15485 then
15486 # cc works too.
15487 :
15488 else
15489 # cc exists but doesn't like -o.
15490 eval ac_cv_prog_cc_${ac_cc}_c_o=no
15491 fi
15492 fi
15493 fi
15494else
15495 eval ac_cv_prog_cc_${ac_cc}_c_o=no
15496fi
15497rm -f core conftest*
15498
15499fi
15500if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15502$as_echo "yes" >&6; }
15503else
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15505$as_echo "no" >&6; }
15506
15507$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
15508
15509fi
15510
15511# FIXME: we rely on the cache variable name because
15512# there is no other way.
15513set dummy $CC
15514am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
15515eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
15516if test "$am_t" != yes; then
15517 # Losing compiler, so override with the script.
15518 # FIXME: It is wrong to rewrite CC.
15519 # But if we don't then we get into trouble of one sort or another.
15520 # A longer-term fix would be to have automake use am__CC in this case,
15521 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
15522 CC="$am_aux_dir/compile $CC"
15523fi
15524
15525
15526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15527$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
15528if test "${ac_cv_c_const+set}" = set; then :
15529 $as_echo_n "(cached) " >&6
15530else
15531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15532/* end confdefs.h. */
15533
15534int
15535main ()
15536{
15537/* FIXME: Include the comments suggested by Paul. */
15538#ifndef __cplusplus
15539 /* Ultrix mips cc rejects this. */
15540 typedef int charset[2];
15541 const charset cs;
15542 /* SunOS 4.1.1 cc rejects this. */
15543 char const *const *pcpcc;
15544 char **ppc;
15545 /* NEC SVR4.0.2 mips cc rejects this. */
15546 struct point {int x, y;};
15547 static struct point const zero = {0,0};
15548 /* AIX XL C 1.02.0.0 rejects this.
15549 It does not let you subtract one const X* pointer from another in
15550 an arm of an if-expression whose if-part is not a constant
15551 expression */
15552 const char *g = "string";
15553 pcpcc = &g + (g ? g-g : 0);
15554 /* HPUX 7.0 cc rejects these. */
15555 ++pcpcc;
15556 ppc = (char**) pcpcc;
15557 pcpcc = (char const *const *) ppc;
15558 { /* SCO 3.2v4 cc rejects this. */
15559 char *t;
15560 char const *s = 0 ? (char *) 0 : (char const *) 0;
15561
15562 *t++ = 0;
15563 if (s) return 0;
15564 }
15565 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15566 int x[] = {25, 17};
15567 const int *foo = &x[0];
15568 ++foo;
15569 }
15570 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15571 typedef const int *iptr;
15572 iptr p = 0;
15573 ++p;
15574 }
15575 { /* AIX XL C 1.02.0.0 rejects this saying
15576 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15577 struct s { int j; const int *ap[3]; };
15578 struct s *b; b->j = 5;
15579 }
15580 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15581 const int foo = 10;
15582 if (!foo) return 0;
15583 }
15584 return !cs[0] && !zero.x;
15585#endif
15586
15587 ;
15588 return 0;
15589}
15590_ACEOF
15591if ac_fn_c_try_compile "$LINENO"; then :
15592 ac_cv_c_const=yes
15593else
15594 ac_cv_c_const=no
15595fi
15596rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15597fi
15598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15599$as_echo "$ac_cv_c_const" >&6; }
15600if test $ac_cv_c_const = no; then
15601
15602$as_echo "#define const /**/" >>confdefs.h
15603
15604fi
15605
15606 case $ac_cv_prog_cc_stdc in #(
15607 no) :
15608 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
15609 *) :
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
15611$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
15612if test "${ac_cv_prog_cc_c99+set}" = set; then :
15613 $as_echo_n "(cached) " >&6
15614else
15615 ac_cv_prog_cc_c99=no
15616ac_save_CC=$CC
15617cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15618/* end confdefs.h. */
15619#include <stdarg.h>
15620#include <stdbool.h>
15621#include <stdlib.h>
15622#include <wchar.h>
15623#include <stdio.h>
15624
15625// Check varargs macros. These examples are taken from C99 6.10.3.5.
15626#define debug(...) fprintf (stderr, __VA_ARGS__)
15627#define showlist(...) puts (#__VA_ARGS__)
15628#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
15629static void
15630test_varargs_macros (void)
15631{
15632 int x = 1234;
15633 int y = 5678;
15634 debug ("Flag");
15635 debug ("X = %d\n", x);
15636 showlist (The first, second, and third items.);
15637 report (x>y, "x is %d but y is %d", x, y);
15638}
15639
15640// Check long long types.
15641#define BIG64 18446744073709551615ull
15642#define BIG32 4294967295ul
15643#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
15644#if !BIG_OK
15645 your preprocessor is broken;
15646#endif
15647#if BIG_OK
15648#else
15649 your preprocessor is broken;
15650#endif
15651static long long int bignum = -9223372036854775807LL;
15652static unsigned long long int ubignum = BIG64;
15653
15654struct incomplete_array
15655{
15656 int datasize;
15657 double data[];
15658};
15659
15660struct named_init {
15661 int number;
15662 const wchar_t *name;
15663 double average;
15664};
15665
15666typedef const char *ccp;
15667
15668static inline int
15669test_restrict (ccp restrict text)
15670{
15671 // See if C++-style comments work.
15672 // Iterate through items via the restricted pointer.
15673 // Also check for declarations in for loops.
15674 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
15675 continue;
15676 return 0;
15677}
15678
15679// Check varargs and va_copy.
15680static void
15681test_varargs (const char *format, ...)
15682{
15683 va_list args;
15684 va_start (args, format);
15685 va_list args_copy;
15686 va_copy (args_copy, args);
15687
15688 const char *str;
15689 int number;
15690 float fnumber;
15691
15692 while (*format)
15693 {
15694 switch (*format++)
15695 {
15696 case 's': // string
15697 str = va_arg (args_copy, const char *);
15698 break;
15699 case 'd': // int
15700 number = va_arg (args_copy, int);
15701 break;
15702 case 'f': // float
15703 fnumber = va_arg (args_copy, double);
15704 break;
15705 default:
15706 break;
15707 }
15708 }
15709 va_end (args_copy);
15710 va_end (args);
15711}
15712
15713int
15714main ()
15715{
15716
15717 // Check bool.
15718 _Bool success = false;
15719
15720 // Check restrict.
15721 if (test_restrict ("String literal") == 0)
15722 success = true;
15723 char *restrict newvar = "Another string";
15724
15725 // Check varargs.
15726 test_varargs ("s, d' f .", "string", 65, 34.234);
15727 test_varargs_macros ();
15728
15729 // Check flexible array members.
15730 struct incomplete_array *ia =
15731 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
15732 ia->datasize = 10;
15733 for (int i = 0; i < ia->datasize; ++i)
15734 ia->data[i] = i * 1.234;
15735
15736 // Check named initializers.
15737 struct named_init ni = {
15738 .number = 34,
15739 .name = L"Test wide string",
15740 .average = 543.34343,
15741 };
15742
15743 ni.number = 58;
15744
15745 int dynamic_array[ni.number];
15746 dynamic_array[ni.number - 1] = 543;
15747
15748 // work around unused variable warnings
15749 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
15750 || dynamic_array[ni.number - 1] != 543);
15751
15752 ;
15753 return 0;
15754}
15755_ACEOF
15756for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
15757do
15758 CC="$ac_save_CC $ac_arg"
15759 if ac_fn_c_try_compile "$LINENO"; then :
15760 ac_cv_prog_cc_c99=$ac_arg
15761fi
15762rm -f core conftest.err conftest.$ac_objext
15763 test "x$ac_cv_prog_cc_c99" != "xno" && break
15764done
15765rm -f conftest.$ac_ext
15766CC=$ac_save_CC
15767
15768fi
15769# AC_CACHE_VAL
15770case "x$ac_cv_prog_cc_c99" in
15771 x)
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
15773$as_echo "none needed" >&6; } ;;
15774 xno)
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
15776$as_echo "unsupported" >&6; } ;;
15777 *)
15778 CC="$CC $ac_cv_prog_cc_c99"
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
15780$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
15781esac
15782if test "x$ac_cv_prog_cc_c99" != xno; then :
15783 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
15784else
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
15786$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
15787if test "${ac_cv_prog_cc_c89+set}" = set; then :
15788 $as_echo_n "(cached) " >&6
15789else
15790 ac_cv_prog_cc_c89=no
15791ac_save_CC=$CC
15792cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15793/* end confdefs.h. */
15794#include <stdarg.h>
15795#include <stdio.h>
15796#include <sys/types.h>
15797#include <sys/stat.h>
15798/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15799struct buf { int x; };
15800FILE * (*rcsopen) (struct buf *, struct stat *, int);
15801static char *e (p, i)
15802 char **p;
15803 int i;
15804{
15805 return p[i];
15806}
15807static char *f (char * (*g) (char **, int), char **p, ...)
15808{
15809 char *s;
15810 va_list v;
15811 va_start (v,p);
15812 s = g (p, va_arg (v,int));
15813 va_end (v);
15814 return s;
15815}
15816
15817/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15818 function prototypes and stuff, but not '\xHH' hex character constants.
15819 These don't provoke an error unfortunately, instead are silently treated
15820 as 'x'. The following induces an error, until -std is added to get
15821 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15822 array size at least. It's necessary to write '\x00'==0 to get something
15823 that's true only with -std. */
15824int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15825
15826/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15827 inside strings and character constants. */
15828#define FOO(x) 'x'
15829int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15830
15831int test (int i, double x);
15832struct s1 {int (*f) (int a);};
15833struct s2 {int (*f) (double a);};
15834int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15835int argc;
15836char **argv;
15837int
15838main ()
15839{
15840return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15841 ;
15842 return 0;
15843}
15844_ACEOF
15845for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15846 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15847do
15848 CC="$ac_save_CC $ac_arg"
15849 if ac_fn_c_try_compile "$LINENO"; then :
15850 ac_cv_prog_cc_c89=$ac_arg
15851fi
15852rm -f core conftest.err conftest.$ac_objext
15853 test "x$ac_cv_prog_cc_c89" != "xno" && break
15854done
15855rm -f conftest.$ac_ext
15856CC=$ac_save_CC
15857
15858fi
15859# AC_CACHE_VAL
15860case "x$ac_cv_prog_cc_c89" in
15861 x)
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
15863$as_echo "none needed" >&6; } ;;
15864 xno)
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
15866$as_echo "unsupported" >&6; } ;;
15867 *)
15868 CC="$CC $ac_cv_prog_cc_c89"
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
15870$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
15871esac
15872if test "x$ac_cv_prog_cc_c89" != xno; then :
15873 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
15874else
15875 ac_cv_prog_cc_stdc=no
15876fi
15877
15878fi
15879 ;;
15880esac
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
15882$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
15883 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
15884 $as_echo_n "(cached) " >&6
15885fi
15886
15887 case $ac_cv_prog_cc_stdc in #(
15888 no) :
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
15890$as_echo "unsupported" >&6; } ;; #(
15891 '') :
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
15893$as_echo "none needed" >&6; } ;; #(
15894 *) :
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
15896$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
15897esac
15898
15899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15900$as_echo_n "checking for ANSI C header files... " >&6; }
15901if test "${ac_cv_header_stdc+set}" = set; then :
15902 $as_echo_n "(cached) " >&6
15903else
15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15905/* end confdefs.h. */
15906#include <stdlib.h>
15907#include <stdarg.h>
15908#include <string.h>
15909#include <float.h>
15910
15911int
15912main ()
15913{
15914
15915 ;
15916 return 0;
15917}
15918_ACEOF
15919if ac_fn_c_try_compile "$LINENO"; then :
15920 ac_cv_header_stdc=yes
15921else
15922 ac_cv_header_stdc=no
15923fi
15924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15925
15926if test $ac_cv_header_stdc = yes; then
15927 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15929/* end confdefs.h. */
15930#include <string.h>
15931
15932_ACEOF
15933if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15934 $EGREP "memchr" >/dev/null 2>&1; then :
15935
15936else
15937 ac_cv_header_stdc=no
15938fi
15939rm -f conftest*
15940
15941fi
15942
15943if test $ac_cv_header_stdc = yes; then
15944 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15946/* end confdefs.h. */
15947#include <stdlib.h>
15948
15949_ACEOF
15950if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15951 $EGREP "free" >/dev/null 2>&1; then :
15952
15953else
15954 ac_cv_header_stdc=no
15955fi
15956rm -f conftest*
15957
15958fi
15959
15960if test $ac_cv_header_stdc = yes; then
15961 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15962 if test "$cross_compiling" = yes; then :
15963 :
15964else
15965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15966/* end confdefs.h. */
15967#include <ctype.h>
15968#include <stdlib.h>
15969#if ((' ' & 0x0FF) == 0x020)
15970# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15971# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15972#else
15973# define ISLOWER(c) \
15974 (('a' <= (c) && (c) <= 'i') \
15975 || ('j' <= (c) && (c) <= 'r') \
15976 || ('s' <= (c) && (c) <= 'z'))
15977# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15978#endif
15979
15980#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15981int
15982main ()
15983{
15984 int i;
15985 for (i = 0; i < 256; i++)
15986 if (XOR (islower (i), ISLOWER (i))
15987 || toupper (i) != TOUPPER (i))
15988 return 2;
15989 return 0;
15990}
15991_ACEOF
15992if ac_fn_c_try_run "$LINENO"; then :
15993
15994else
15995 ac_cv_header_stdc=no
15996fi
15997rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15998 conftest.$ac_objext conftest.beam conftest.$ac_ext
15999fi
16000
16001fi
16002fi
16003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16004$as_echo "$ac_cv_header_stdc" >&6; }
16005if test $ac_cv_header_stdc = yes; then
16006
16007$as_echo "#define STDC_HEADERS 1" >>confdefs.h
16008
16009fi
16010
16011
16012
16013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
16014$as_echo_n "checking for __attribute__... " >&6; }
16015
16016if test "${ac_cv___attribute__+set}" = set; then :
16017 $as_echo_n "(cached) " >&6
16018else
16019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16020/* end confdefs.h. */
16021
16022#include <stdlib.h>
16023
16024int func(int x);
16025int foo(int x __attribute__ ((unused)))
16026{
16027 exit(1);
16028}
16029
16030int
16031main ()
16032{
16033
16034 ;
16035 return 0;
16036}
16037_ACEOF
16038if ac_fn_c_try_compile "$LINENO"; then :
16039 ac_cv___attribute__="yes"
16040else
16041 ac_cv___attribute__="no"
16042
16043fi
16044rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16045fi
16046
16047
16048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
16049$as_echo "$ac_cv___attribute__" >&6; }
16050
16051if test "x${ac_cv___attribute__}" = "xyes" ; then
16052
16053$as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
16054
16055
16056$as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
16057
16058 else
16059
16060$as_echo "#define __UNUSED__ /**/" >>confdefs.h
16061
16062fi
16063
16064
16065
16066case "$host_os" in
16067 mingw32ce*)
16068 EDJE_CFLAGS="${EDJE_CFLAGS} -D_WIN32_WCE=0x0420"
16069 ;;
16070 cegcc*)
16071 EDJE_CFLAGS="${EDJE_CFLAGS} -mwin32 -D_WIN32_WCE=0x0420"
16072 ;;
16073esac
16074
16075
16076### Checks for linker characteristics
16077
16078lt_enable_auto_import=""
16079case "$host_os" in
16080 mingw* | cegcc*)
16081 lt_enable_auto_import="-Wl,--enable-auto-import"
16082 ;;
16083esac
16084
16085
16086
16087### Checks for library functions
16088
16089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
16090$as_echo_n "checking for library containing strerror... " >&6; }
16091if test "${ac_cv_search_strerror+set}" = set; then :
16092 $as_echo_n "(cached) " >&6
16093else
16094 ac_func_search_save_LIBS=$LIBS
16095cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16096/* end confdefs.h. */
16097
16098/* Override any GCC internal prototype to avoid an error.
16099 Use char because int might match the return type of a GCC
16100 builtin and then its argument prototype would still apply. */
16101#ifdef __cplusplus
16102extern "C"
16103#endif
16104char strerror ();
16105int
16106main ()
16107{
16108return strerror ();
16109 ;
16110 return 0;
16111}
16112_ACEOF
16113for ac_lib in '' cposix; do
16114 if test -z "$ac_lib"; then
16115 ac_res="none required"
16116 else
16117 ac_res=-l$ac_lib
16118 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16119 fi
16120 if ac_fn_c_try_link "$LINENO"; then :
16121 ac_cv_search_strerror=$ac_res
16122fi
16123rm -f core conftest.err conftest.$ac_objext \
16124 conftest$ac_exeext
16125 if test "${ac_cv_search_strerror+set}" = set; then :
16126 break
16127fi
16128done
16129if test "${ac_cv_search_strerror+set}" = set; then :
16130
16131else
16132 ac_cv_search_strerror=no
16133fi
16134rm conftest.$ac_ext
16135LIBS=$ac_func_search_save_LIBS
16136fi
16137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
16138$as_echo "$ac_cv_search_strerror" >&6; }
16139ac_res=$ac_cv_search_strerror
16140if test "$ac_res" != no; then :
16141 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16142
16143fi
16144
16145
16146# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16147# for constant arguments. Useless!
16148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
16149$as_echo_n "checking for working alloca.h... " >&6; }
16150if test "${ac_cv_working_alloca_h+set}" = set; then :
16151 $as_echo_n "(cached) " >&6
16152else
16153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16154/* end confdefs.h. */
16155#include <alloca.h>
16156int
16157main ()
16158{
16159char *p = (char *) alloca (2 * sizeof (int));
16160 if (p) return 0;
16161 ;
16162 return 0;
16163}
16164_ACEOF
16165if ac_fn_c_try_link "$LINENO"; then :
16166 ac_cv_working_alloca_h=yes
16167else
16168 ac_cv_working_alloca_h=no
16169fi
16170rm -f core conftest.err conftest.$ac_objext \
16171 conftest$ac_exeext conftest.$ac_ext
16172fi
16173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
16174$as_echo "$ac_cv_working_alloca_h" >&6; }
16175if test $ac_cv_working_alloca_h = yes; then
16176
16177$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
16178
16179fi
16180
16181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
16182$as_echo_n "checking for alloca... " >&6; }
16183if test "${ac_cv_func_alloca_works+set}" = set; then :
16184 $as_echo_n "(cached) " >&6
16185else
16186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16187/* end confdefs.h. */
16188#ifdef __GNUC__
16189# define alloca __builtin_alloca
16190#else
16191# ifdef _MSC_VER
16192# include <malloc.h>
16193# define alloca _alloca
16194# else
16195# ifdef HAVE_ALLOCA_H
16196# include <alloca.h>
16197# else
16198# ifdef _AIX
16199 #pragma alloca
16200# else
16201# ifndef alloca /* predefined by HP cc +Olibcalls */
16202char *alloca ();
16203# endif
16204# endif
16205# endif
16206# endif
16207#endif
16208
16209int
16210main ()
16211{
16212char *p = (char *) alloca (1);
16213 if (p) return 0;
16214 ;
16215 return 0;
16216}
16217_ACEOF
16218if ac_fn_c_try_link "$LINENO"; then :
16219 ac_cv_func_alloca_works=yes
16220else
16221 ac_cv_func_alloca_works=no
16222fi
16223rm -f core conftest.err conftest.$ac_objext \
16224 conftest$ac_exeext conftest.$ac_ext
16225fi
16226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
16227$as_echo "$ac_cv_func_alloca_works" >&6; }
16228
16229if test $ac_cv_func_alloca_works = yes; then
16230
16231$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
16232
16233else
16234 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16235# that cause trouble. Some versions do not even contain alloca or
16236# contain a buggy version. If you still want to use their alloca,
16237# use ar to extract alloca.o from them instead of compiling alloca.c.
16238
16239ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
16240
16241$as_echo "#define C_ALLOCA 1" >>confdefs.h
16242
16243
16244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
16245$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
16246if test "${ac_cv_os_cray+set}" = set; then :
16247 $as_echo_n "(cached) " >&6
16248else
16249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16250/* end confdefs.h. */
16251#if defined CRAY && ! defined CRAY2
16252webecray
16253#else
16254wenotbecray
16255#endif
16256
16257_ACEOF
16258if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16259 $EGREP "webecray" >/dev/null 2>&1; then :
16260 ac_cv_os_cray=yes
16261else
16262 ac_cv_os_cray=no
16263fi
16264rm -f conftest*
16265
16266fi
16267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
16268$as_echo "$ac_cv_os_cray" >&6; }
16269if test $ac_cv_os_cray = yes; then
16270 for ac_func in _getb67 GETB67 getb67; do
16271 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16272ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16273if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16274
16275cat >>confdefs.h <<_ACEOF
16276#define CRAY_STACKSEG_END $ac_func
16277_ACEOF
16278
16279 break
16280fi
16281
16282 done
16283fi
16284
16285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
16286$as_echo_n "checking stack direction for C alloca... " >&6; }
16287if test "${ac_cv_c_stack_direction+set}" = set; then :
16288 $as_echo_n "(cached) " >&6
16289else
16290 if test "$cross_compiling" = yes; then :
16291 ac_cv_c_stack_direction=0
16292else
16293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16294/* end confdefs.h. */
16295$ac_includes_default
16296int
16297find_stack_direction ()
16298{
16299 static char *addr = 0;
16300 auto char dummy;
16301 if (addr == 0)
16302 {
16303 addr = &dummy;
16304 return find_stack_direction ();
16305 }
16306 else
16307 return (&dummy > addr) ? 1 : -1;
16308}
16309
16310int
16311main ()
16312{
16313 return find_stack_direction () < 0;
16314}
16315_ACEOF
16316if ac_fn_c_try_run "$LINENO"; then :
16317 ac_cv_c_stack_direction=1
16318else
16319 ac_cv_c_stack_direction=-1
16320fi
16321rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16322 conftest.$ac_objext conftest.beam conftest.$ac_ext
16323fi
16324
16325fi
16326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
16327$as_echo "$ac_cv_c_stack_direction" >&6; }
16328cat >>confdefs.h <<_ACEOF
16329#define STACK_DIRECTION $ac_cv_c_stack_direction
16330_ACEOF
16331
16332
16333fi
16334
16335
16336case "$host_os" in
16337 mingw* | cegcc*)
16338
16339$as_echo "#define HAVE_REALPATH 1" >>confdefs.h
16340
16341 ;;
16342 *)
16343 for ac_func in realpath
16344do :
16345 ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath"
16346if test "x$ac_cv_func_realpath" = x""yes; then :
16347 cat >>confdefs.h <<_ACEOF
16348#define HAVE_REALPATH 1
16349_ACEOF
16350
16351fi
16352done
16353
16354 ;;
16355esac
16356
16357### Unit tests, coverage and benchmarking
16358
16359
16360
16361
16362# Check whether --enable-tests was given.
16363if test "${enable_tests+set}" = set; then :
16364 enableval=$enable_tests;
16365 if test "x${enableval}" = "xyes" ; then
16366 _efl_enable_tests="yes"
16367 else
16368 _efl_enable_tests="no"
16369 fi
16370
16371else
16372 _efl_enable_tests="no"
16373fi
16374
16375
16376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
16377$as_echo_n "checking whether tests are built... " >&6; }
16378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
16379$as_echo "${_efl_enable_tests}" >&6; }
16380
16381
16382
16383if test "x${_efl_enable_tests}" = "xyes" ; then
16384
16385pkg_failed=no
16386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
16387$as_echo_n "checking for CHECK... " >&6; }
16388
16389if test -n "$CHECK_CFLAGS"; then
16390 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
16391 elif test -n "$PKG_CONFIG"; then
16392 if test -n "$PKG_CONFIG" && \
16393 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
16394 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
16395 ac_status=$?
16396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16397 test $ac_status = 0; }; then
16398 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
16399else
16400 pkg_failed=yes
16401fi
16402 else
16403 pkg_failed=untried
16404fi
16405if test -n "$CHECK_LIBS"; then
16406 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
16407 elif test -n "$PKG_CONFIG"; then
16408 if test -n "$PKG_CONFIG" && \
16409 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
16410 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
16411 ac_status=$?
16412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16413 test $ac_status = 0; }; then
16414 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
16415else
16416 pkg_failed=yes
16417fi
16418 else
16419 pkg_failed=untried
16420fi
16421
16422
16423
16424if test $pkg_failed = yes; then
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16426$as_echo "no" >&6; }
16427
16428if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16429 _pkg_short_errors_supported=yes
16430else
16431 _pkg_short_errors_supported=no
16432fi
16433 if test $_pkg_short_errors_supported = yes; then
16434 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.5" 2>&1`
16435 else
16436 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.5" 2>&1`
16437 fi
16438 # Put the nasty error message in config.log where it belongs
16439 echo "$CHECK_PKG_ERRORS" >&5
16440
16441 _efl_enable_tests="no"
16442elif test $pkg_failed = untried; then
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16444$as_echo "no" >&6; }
16445 _efl_enable_tests="no"
16446else
16447 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
16448 CHECK_LIBS=$pkg_cv_CHECK_LIBS
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16450$as_echo "yes" >&6; }
16451 dummy="yes"
16452fi
16453fi
16454
16455 if test "x${_efl_enable_tests}" = "xyes"; then
16456 EFL_ENABLE_TESTS_TRUE=
16457 EFL_ENABLE_TESTS_FALSE='#'
16458else
16459 EFL_ENABLE_TESTS_TRUE='#'
16460 EFL_ENABLE_TESTS_FALSE=
16461fi
16462
16463
16464if test "x$_efl_enable_tests" = "xyes"; then :
16465 enable_tests="yes"
16466else
16467 enable_tests="no"
16468fi
16469
16470
16471
16472
16473
16474# Check whether --enable-coverage was given.
16475if test "${enable_coverage+set}" = set; then :
16476 enableval=$enable_coverage;
16477 if test "x${enableval}" = "xyes" ; then
16478 _efl_enable_coverage="yes"
16479 else
16480 _efl_enable_coverage="no"
16481 fi
16482
16483else
16484 _efl_enable_coverage="no"
16485fi
16486
16487
16488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
16489$as_echo_n "checking whether to use profiling instrumentation... " >&6; }
16490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
16491$as_echo "$_efl_enable_coverage" >&6; }
16492
16493
16494if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
16496$as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
16498$as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
16499 _efl_enable_coverage="no"
16500fi
16501
16502if test "x$_efl_enable_coverage" = "xyes" ; then
16503 # Extract the first word of "lcov", so it can be a program name with args.
16504set dummy lcov; ac_word=$2
16505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16506$as_echo_n "checking for $ac_word... " >&6; }
16507if test "${ac_cv_prog_have_lcov+set}" = set; then :
16508 $as_echo_n "(cached) " >&6
16509else
16510 if test -n "$have_lcov"; then
16511 ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
16512else
16513as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16514for as_dir in $PATH
16515do
16516 IFS=$as_save_IFS
16517 test -z "$as_dir" && as_dir=.
16518 for ac_exec_ext in '' $ac_executable_extensions; do
16519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16520 ac_cv_prog_have_lcov="yes"
16521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16522 break 2
16523 fi
16524done
16525 done
16526IFS=$as_save_IFS
16527
16528 test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
16529fi
16530fi
16531have_lcov=$ac_cv_prog_have_lcov
16532if test -n "$have_lcov"; then
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
16534$as_echo "$have_lcov" >&6; }
16535else
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16537$as_echo "no" >&6; }
16538fi
16539
16540
16541 if test "x$have_lcov" = "xyes" ; then
16542 EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
16543 EFL_COVERAGE_LIBS="-lgcov"
16544# remove any optimisation flag and force debug symbols
16545 EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
16546 else
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
16548$as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
16549 _efl_enable_coverage="no"
16550 fi
16551fi
16552
16553
16554
16555
16556 if test "x${_efl_enable_coverage}" = "xyes"; then
16557 EFL_ENABLE_COVERAGE_TRUE=
16558 EFL_ENABLE_COVERAGE_FALSE='#'
16559else
16560 EFL_ENABLE_COVERAGE_TRUE='#'
16561 EFL_ENABLE_COVERAGE_FALSE=
16562fi
16563
16564
16565if test "x$_efl_enable_coverage" = "xyes"; then :
16566 enable_coverage="yes"
16567else
16568 enable_coverage="no"
16569fi
16570
16571EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
16572EDJE_LIBS="${EDJE_LIBS} ${EFL_COVERAGE_LIBS}"
16573if test "x$enable_coverage" = "xyes" ; then
16574 EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_DEBUG_CFLAGS}"
16575fi
16576
16577## Examples
16578
16579build_examples="no"
16580# Check whether --enable-build-examples was given.
16581if test "${enable_build_examples+set}" = set; then :
16582 enableval=$enable_build_examples;
16583 if test "x${enableval}" = "xyes" ; then
16584 build_examples="yes"
16585 else
16586 build_examples="no"
16587 fi
16588
16589else
16590 build_examples="no"
16591fi
16592
16593 if test "x${build_examples}" = "xyes"; then
16594 BUILD_EXAMPLES_TRUE=
16595 BUILD_EXAMPLES_FALSE='#'
16596else
16597 BUILD_EXAMPLES_TRUE='#'
16598 BUILD_EXAMPLES_FALSE=
16599fi
16600
16601
16602
16603
16604ac_config_files="$ac_config_files edje.pc edje.spec Makefile data/Makefile data/include/Makefile doc/Makefile doc/Doxyfile src/Makefile src/lib/Makefile src/bin/Makefile src/bin/epp/Makefile src/modules/Makefile src/modules/alsa_snd_player/Makefile src/modules/eet_snd_reader/Makefile src/modules/multisense_factory/Makefile src/tests/Makefile utils/Makefile src/examples/Makefile"
16605
16606cat >confcache <<\_ACEOF
16607# This file is a shell script that caches the results of configure
16608# tests run on this system so they can be shared between configure
16609# scripts and configure runs, see configure's option --config-cache.
16610# It is not useful on other systems. If it contains results you don't
16611# want to keep, you may remove or edit it.
16612#
16613# config.status only pays attention to the cache file if you give it
16614# the --recheck option to rerun configure.
16615#
16616# `ac_cv_env_foo' variables (set or unset) will be overridden when
16617# loading this file, other *unset* `ac_cv_foo' will be assigned the
16618# following values.
16619
16620_ACEOF
16621
16622# The following way of writing the cache mishandles newlines in values,
16623# but we know of no workaround that is simple, portable, and efficient.
16624# So, we kill variables containing newlines.
16625# Ultrix sh set writes to stderr and can't be redirected directly,
16626# and sets the high bit in the cache file unless we assign to the vars.
16627(
16628 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16629 eval ac_val=\$$ac_var
16630 case $ac_val in #(
16631 *${as_nl}*)
16632 case $ac_var in #(
16633 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16634$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16635 esac
16636 case $ac_var in #(
16637 _ | IFS | as_nl) ;; #(
16638 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16639 *) { eval $ac_var=; unset $ac_var;} ;;
16640 esac ;;
16641 esac
16642 done
16643
16644 (set) 2>&1 |
16645 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16646 *${as_nl}ac_space=\ *)
16647 # `set' does not quote correctly, so add quotes: double-quote
16648 # substitution turns \\\\ into \\, and sed turns \\ into \.
16649 sed -n \
16650 "s/'/'\\\\''/g;
16651 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16652 ;; #(
16653 *)
16654 # `set' quotes correctly as required by POSIX, so do not add quotes.
16655 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16656 ;;
16657 esac |
16658 sort
16659) |
16660 sed '
16661 /^ac_cv_env_/b end
16662 t clear
16663 :clear
16664 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16665 t end
16666 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16667 :end' >>confcache
16668if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16669 if test -w "$cache_file"; then
16670 test "x$cache_file" != "x/dev/null" &&
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16672$as_echo "$as_me: updating cache $cache_file" >&6;}
16673 cat confcache >$cache_file
16674 else
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16676$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16677 fi
16678fi
16679rm -f confcache
16680
16681test "x$prefix" = xNONE && prefix=$ac_default_prefix
16682# Let make expand exec_prefix.
16683test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16684
16685DEFS=-DHAVE_CONFIG_H
16686
16687ac_libobjs=
16688ac_ltlibobjs=
16689U=
16690for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16691 # 1. Remove the extension, and $U if already installed.
16692 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16693 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16694 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16695 # will be set to the directory where LIBOBJS objects are built.
16696 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16697 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16698done
16699LIBOBJS=$ac_libobjs
16700
16701LTLIBOBJS=$ac_ltlibobjs
16702
16703
16704 if test -n "$EXEEXT"; then
16705 am__EXEEXT_TRUE=
16706 am__EXEEXT_FALSE='#'
16707else
16708 am__EXEEXT_TRUE='#'
16709 am__EXEEXT_FALSE=
16710fi
16711
16712if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16713 as_fn_error $? "conditional \"AMDEP\" was never defined.
16714Usually this means the macro was only invoked conditionally." "$LINENO" 5
16715fi
16716if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16717 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16718Usually this means the macro was only invoked conditionally." "$LINENO" 5
16719fi
16720if test -z "${EDJE_AMALGAMATION_TRUE}" && test -z "${EDJE_AMALGAMATION_FALSE}"; then
16721 as_fn_error $? "conditional \"EDJE_AMALGAMATION\" was never defined.
16722Usually this means the macro was only invoked conditionally." "$LINENO" 5
16723fi
16724if test -z "${BUILD_EDJE_CC_TRUE}" && test -z "${BUILD_EDJE_CC_FALSE}"; then
16725 as_fn_error $? "conditional \"BUILD_EDJE_CC\" was never defined.
16726Usually this means the macro was only invoked conditionally." "$LINENO" 5
16727fi
16728if test -z "${BUILD_EDJE_DECC_TRUE}" && test -z "${BUILD_EDJE_DECC_FALSE}"; then
16729 as_fn_error $? "conditional \"BUILD_EDJE_DECC\" was never defined.
16730Usually this means the macro was only invoked conditionally." "$LINENO" 5
16731fi
16732if test -z "${BUILD_EDJE_RECC_TRUE}" && test -z "${BUILD_EDJE_RECC_FALSE}"; then
16733 as_fn_error $? "conditional \"BUILD_EDJE_RECC\" was never defined.
16734Usually this means the macro was only invoked conditionally." "$LINENO" 5
16735fi
16736if test -z "${BUILD_EDJE_PLAYER_TRUE}" && test -z "${BUILD_EDJE_PLAYER_FALSE}"; then
16737 as_fn_error $? "conditional \"BUILD_EDJE_PLAYER\" was never defined.
16738Usually this means the macro was only invoked conditionally." "$LINENO" 5
16739fi
16740if test -z "${BUILD_EDJE_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_INSPECTOR_FALSE}"; then
16741 as_fn_error $? "conditional \"BUILD_EDJE_INSPECTOR\" was never defined.
16742Usually this means the macro was only invoked conditionally." "$LINENO" 5
16743fi
16744if test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE}"; then
16745 as_fn_error $? "conditional \"BUILD_EDJE_EXTERNAL_INSPECTOR\" was never defined.
16746Usually this means the macro was only invoked conditionally." "$LINENO" 5
16747fi
16748if test -z "${EDJE_PROGRAM_CACHE_TRUE}" && test -z "${EDJE_PROGRAM_CACHE_FALSE}"; then
16749 as_fn_error $? "conditional \"EDJE_PROGRAM_CACHE\" was never defined.
16750Usually this means the macro was only invoked conditionally." "$LINENO" 5
16751fi
16752if test -z "${EDJE_CALC_CACHE_TRUE}" && test -z "${EDJE_CALC_CACHE_FALSE}"; then
16753 as_fn_error $? "conditional \"EDJE_CALC_CACHE\" was never defined.
16754Usually this means the macro was only invoked conditionally." "$LINENO" 5
16755fi
16756if test -z "${BUILD_EDJE_FP_TRUE}" && test -z "${BUILD_EDJE_FP_FALSE}"; then
16757 as_fn_error $? "conditional \"BUILD_EDJE_FP\" was never defined.
16758Usually this means the macro was only invoked conditionally." "$LINENO" 5
16759fi
16760if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16761 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16762Usually this means the macro was only invoked conditionally." "$LINENO" 5
16763fi
16764if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
16765 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
16766Usually this means the macro was only invoked conditionally." "$LINENO" 5
16767fi
16768if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
16769 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
16770Usually this means the macro was only invoked conditionally." "$LINENO" 5
16771fi
16772if test -z "${ENABLE_MULTISENSE_TRUE}" && test -z "${ENABLE_MULTISENSE_FALSE}"; then
16773 as_fn_error $? "conditional \"ENABLE_MULTISENSE\" was never defined.
16774Usually this means the macro was only invoked conditionally." "$LINENO" 5
16775fi
16776if test -z "${HAVE_LIBSNDFILE_TRUE}" && test -z "${HAVE_LIBSNDFILE_FALSE}"; then
16777 as_fn_error $? "conditional \"HAVE_LIBSNDFILE\" was never defined.
16778Usually this means the macro was only invoked conditionally." "$LINENO" 5
16779fi
16780if test -z "${HAVE_LIBREMIX_TRUE}" && test -z "${HAVE_LIBREMIX_FALSE}"; then
16781 as_fn_error $? "conditional \"HAVE_LIBREMIX\" was never defined.
16782Usually this means the macro was only invoked conditionally." "$LINENO" 5
16783fi
16784if test -z "${HAVE_LIBALSA_TRUE}" && test -z "${HAVE_LIBALSA_FALSE}"; then
16785 as_fn_error $? "conditional \"HAVE_LIBALSA\" was never defined.
16786Usually this means the macro was only invoked conditionally." "$LINENO" 5
16787fi
16788if test -z "${BUILD_EPP_TRUE}" && test -z "${BUILD_EPP_FALSE}"; then
16789 as_fn_error $? "conditional \"BUILD_EPP\" was never defined.
16790Usually this means the macro was only invoked conditionally." "$LINENO" 5
16791fi
16792if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
16793 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
16794Usually this means the macro was only invoked conditionally." "$LINENO" 5
16795fi
16796if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
16797 as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
16798Usually this means the macro was only invoked conditionally." "$LINENO" 5
16799fi
16800if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
16801 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
16802Usually this means the macro was only invoked conditionally." "$LINENO" 5
16803fi
16804
16805: ${CONFIG_STATUS=./config.status}
16806ac_write_fail=0
16807ac_clean_files_save=$ac_clean_files
16808ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16809{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16810$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16811as_write_fail=0
16812cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16813#! $SHELL
16814# Generated by $as_me.
16815# Run this file to recreate the current configuration.
16816# Compiler output produced by configure, useful for debugging
16817# configure, is in config.log if it exists.
16818
16819debug=false
16820ac_cs_recheck=false
16821ac_cs_silent=false
16822
16823SHELL=\${CONFIG_SHELL-$SHELL}
16824export SHELL
16825_ASEOF
16826cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16827## -------------------- ##
16828## M4sh Initialization. ##
16829## -------------------- ##
16830
16831# Be more Bourne compatible
16832DUALCASE=1; export DUALCASE # for MKS sh
16833if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16834 emulate sh
16835 NULLCMD=:
16836 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16837 # is contrary to our usage. Disable this feature.
16838 alias -g '${1+"$@"}'='"$@"'
16839 setopt NO_GLOB_SUBST
16840else
16841 case `(set -o) 2>/dev/null` in #(
16842 *posix*) :
16843 set -o posix ;; #(
16844 *) :
16845 ;;
16846esac
16847fi
16848
16849
16850as_nl='
16851'
16852export as_nl
16853# Printing a long string crashes Solaris 7 /usr/bin/printf.
16854as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16855as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16856as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16857# Prefer a ksh shell builtin over an external printf program on Solaris,
16858# but without wasting forks for bash or zsh.
16859if test -z "$BASH_VERSION$ZSH_VERSION" \
16860 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16861 as_echo='print -r --'
16862 as_echo_n='print -rn --'
16863elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16864 as_echo='printf %s\n'
16865 as_echo_n='printf %s'
16866else
16867 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16868 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16869 as_echo_n='/usr/ucb/echo -n'
16870 else
16871 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16872 as_echo_n_body='eval
16873 arg=$1;
16874 case $arg in #(
16875 *"$as_nl"*)
16876 expr "X$arg" : "X\\(.*\\)$as_nl";
16877 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16878 esac;
16879 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16880 '
16881 export as_echo_n_body
16882 as_echo_n='sh -c $as_echo_n_body as_echo'
16883 fi
16884 export as_echo_body
16885 as_echo='sh -c $as_echo_body as_echo'
16886fi
16887
16888# The user is always right.
16889if test "${PATH_SEPARATOR+set}" != set; then
16890 PATH_SEPARATOR=:
16891 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16892 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16893 PATH_SEPARATOR=';'
16894 }
16895fi
16896
16897
16898# IFS
16899# We need space, tab and new line, in precisely that order. Quoting is
16900# there to prevent editors from complaining about space-tab.
16901# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16902# splitting by setting IFS to empty value.)
16903IFS=" "" $as_nl"
16904
16905# Find who we are. Look in the path if we contain no directory separator.
16906case $0 in #((
16907 *[\\/]* ) as_myself=$0 ;;
16908 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16909for as_dir in $PATH
16910do
16911 IFS=$as_save_IFS
16912 test -z "$as_dir" && as_dir=.
16913 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16914 done
16915IFS=$as_save_IFS
16916
16917 ;;
16918esac
16919# We did not find ourselves, most probably we were run as `sh COMMAND'
16920# in which case we are not to be found in the path.
16921if test "x$as_myself" = x; then
16922 as_myself=$0
16923fi
16924if test ! -f "$as_myself"; then
16925 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16926 exit 1
16927fi
16928
16929# Unset variables that we do not need and which cause bugs (e.g. in
16930# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16931# suppresses any "Segmentation fault" message there. '((' could
16932# trigger a bug in pdksh 5.2.14.
16933for as_var in BASH_ENV ENV MAIL MAILPATH
16934do eval test x\${$as_var+set} = xset \
16935 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16936done
16937PS1='$ '
16938PS2='> '
16939PS4='+ '
16940
16941# NLS nuisances.
16942LC_ALL=C
16943export LC_ALL
16944LANGUAGE=C
16945export LANGUAGE
16946
16947# CDPATH.
16948(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16949
16950
16951# as_fn_error STATUS ERROR [LINENO LOG_FD]
16952# ----------------------------------------
16953# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16954# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16955# script with STATUS, using 1 if that was 0.
16956as_fn_error ()
16957{
16958 as_status=$1; test $as_status -eq 0 && as_status=1
16959 if test "$4"; then
16960 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16961 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16962 fi
16963 $as_echo "$as_me: error: $2" >&2
16964 as_fn_exit $as_status
16965} # as_fn_error
16966
16967
16968# as_fn_set_status STATUS
16969# -----------------------
16970# Set $? to STATUS, without forking.
16971as_fn_set_status ()
16972{
16973 return $1
16974} # as_fn_set_status
16975
16976# as_fn_exit STATUS
16977# -----------------
16978# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16979as_fn_exit ()
16980{
16981 set +e
16982 as_fn_set_status $1
16983 exit $1
16984} # as_fn_exit
16985
16986# as_fn_unset VAR
16987# ---------------
16988# Portably unset VAR.
16989as_fn_unset ()
16990{
16991 { eval $1=; unset $1;}
16992}
16993as_unset=as_fn_unset
16994# as_fn_append VAR VALUE
16995# ----------------------
16996# Append the text in VALUE to the end of the definition contained in VAR. Take
16997# advantage of any shell optimizations that allow amortized linear growth over
16998# repeated appends, instead of the typical quadratic growth present in naive
16999# implementations.
17000if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17001 eval 'as_fn_append ()
17002 {
17003 eval $1+=\$2
17004 }'
17005else
17006 as_fn_append ()
17007 {
17008 eval $1=\$$1\$2
17009 }
17010fi # as_fn_append
17011
17012# as_fn_arith ARG...
17013# ------------------
17014# Perform arithmetic evaluation on the ARGs, and store the result in the
17015# global $as_val. Take advantage of shells that can avoid forks. The arguments
17016# must be portable across $(()) and expr.
17017if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17018 eval 'as_fn_arith ()
17019 {
17020 as_val=$(( $* ))
17021 }'
17022else
17023 as_fn_arith ()
17024 {
17025 as_val=`expr "$@" || test $? -eq 1`
17026 }
17027fi # as_fn_arith
17028
17029
17030if expr a : '\(a\)' >/dev/null 2>&1 &&
17031 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17032 as_expr=expr
17033else
17034 as_expr=false
17035fi
17036
17037if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17038 as_basename=basename
17039else
17040 as_basename=false
17041fi
17042
17043if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17044 as_dirname=dirname
17045else
17046 as_dirname=false
17047fi
17048
17049as_me=`$as_basename -- "$0" ||
17050$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17051 X"$0" : 'X\(//\)$' \| \
17052 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17053$as_echo X/"$0" |
17054 sed '/^.*\/\([^/][^/]*\)\/*$/{
17055 s//\1/
17056 q
17057 }
17058 /^X\/\(\/\/\)$/{
17059 s//\1/
17060 q
17061 }
17062 /^X\/\(\/\).*/{
17063 s//\1/
17064 q
17065 }
17066 s/.*/./; q'`
17067
17068# Avoid depending upon Character Ranges.
17069as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17070as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17071as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17072as_cr_digits='0123456789'
17073as_cr_alnum=$as_cr_Letters$as_cr_digits
17074
17075ECHO_C= ECHO_N= ECHO_T=
17076case `echo -n x` in #(((((
17077-n*)
17078 case `echo 'xy\c'` in
17079 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17080 xy) ECHO_C='\c';;
17081 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17082 ECHO_T=' ';;
17083 esac;;
17084*)
17085 ECHO_N='-n';;
17086esac
17087
17088rm -f conf$$ conf$$.exe conf$$.file
17089if test -d conf$$.dir; then
17090 rm -f conf$$.dir/conf$$.file
17091else
17092 rm -f conf$$.dir
17093 mkdir conf$$.dir 2>/dev/null
17094fi
17095if (echo >conf$$.file) 2>/dev/null; then
17096 if ln -s conf$$.file conf$$ 2>/dev/null; then
17097 as_ln_s='ln -s'
17098 # ... but there are two gotchas:
17099 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17100 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17101 # In both cases, we have to default to `cp -p'.
17102 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17103 as_ln_s='cp -p'
17104 elif ln conf$$.file conf$$ 2>/dev/null; then
17105 as_ln_s=ln
17106 else
17107 as_ln_s='cp -p'
17108 fi
17109else
17110 as_ln_s='cp -p'
17111fi
17112rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17113rmdir conf$$.dir 2>/dev/null
17114
17115
17116# as_fn_mkdir_p
17117# -------------
17118# Create "$as_dir" as a directory, including parents if necessary.
17119as_fn_mkdir_p ()
17120{
17121
17122 case $as_dir in #(
17123 -*) as_dir=./$as_dir;;
17124 esac
17125 test -d "$as_dir" || eval $as_mkdir_p || {
17126 as_dirs=
17127 while :; do
17128 case $as_dir in #(
17129 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17130 *) as_qdir=$as_dir;;
17131 esac
17132 as_dirs="'$as_qdir' $as_dirs"
17133 as_dir=`$as_dirname -- "$as_dir" ||
17134$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17135 X"$as_dir" : 'X\(//\)[^/]' \| \
17136 X"$as_dir" : 'X\(//\)$' \| \
17137 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17138$as_echo X"$as_dir" |
17139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17140 s//\1/
17141 q
17142 }
17143 /^X\(\/\/\)[^/].*/{
17144 s//\1/
17145 q
17146 }
17147 /^X\(\/\/\)$/{
17148 s//\1/
17149 q
17150 }
17151 /^X\(\/\).*/{
17152 s//\1/
17153 q
17154 }
17155 s/.*/./; q'`
17156 test -d "$as_dir" && break
17157 done
17158 test -z "$as_dirs" || eval "mkdir $as_dirs"
17159 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17160
17161
17162} # as_fn_mkdir_p
17163if mkdir -p . 2>/dev/null; then
17164 as_mkdir_p='mkdir -p "$as_dir"'
17165else
17166 test -d ./-p && rmdir ./-p
17167 as_mkdir_p=false
17168fi
17169
17170if test -x / >/dev/null 2>&1; then
17171 as_test_x='test -x'
17172else
17173 if ls -dL / >/dev/null 2>&1; then
17174 as_ls_L_option=L
17175 else
17176 as_ls_L_option=
17177 fi
17178 as_test_x='
17179 eval sh -c '\''
17180 if test -d "$1"; then
17181 test -d "$1/.";
17182 else
17183 case $1 in #(
17184 -*)set "./$1";;
17185 esac;
17186 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17187 ???[sx]*):;;*)false;;esac;fi
17188 '\'' sh
17189 '
17190fi
17191as_executable_p=$as_test_x
17192
17193# Sed expression to map a string onto a valid CPP name.
17194as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17195
17196# Sed expression to map a string onto a valid variable name.
17197as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17198
17199
17200exec 6>&1
17201## ----------------------------------- ##
17202## Main body of $CONFIG_STATUS script. ##
17203## ----------------------------------- ##
17204_ASEOF
17205test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17206
17207cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17208# Save the log message, to keep $0 and so on meaningful, and to
17209# report actual input values of CONFIG_FILES etc. instead of their
17210# values after options handling.
17211ac_log="
17212This file was extended by edje $as_me 1.2.0-alpha, which was
17213generated by GNU Autoconf 2.67. Invocation command line was
17214
17215 CONFIG_FILES = $CONFIG_FILES
17216 CONFIG_HEADERS = $CONFIG_HEADERS
17217 CONFIG_LINKS = $CONFIG_LINKS
17218 CONFIG_COMMANDS = $CONFIG_COMMANDS
17219 $ $0 $@
17220
17221on `(hostname || uname -n) 2>/dev/null | sed 1q`
17222"
17223
17224_ACEOF
17225
17226case $ac_config_files in *"
17227"*) set x $ac_config_files; shift; ac_config_files=$*;;
17228esac
17229
17230case $ac_config_headers in *"
17231"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17232esac
17233
17234
17235cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17236# Files that config.status was made for.
17237config_files="$ac_config_files"
17238config_headers="$ac_config_headers"
17239config_commands="$ac_config_commands"
17240
17241_ACEOF
17242
17243cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17244ac_cs_usage="\
17245\`$as_me' instantiates files and other configuration actions
17246from templates according to the current configuration. Unless the files
17247and actions are specified as TAGs, all are instantiated by default.
17248
17249Usage: $0 [OPTION]... [TAG]...
17250
17251 -h, --help print this help, then exit
17252 -V, --version print version number and configuration settings, then exit
17253 --config print configuration, then exit
17254 -q, --quiet, --silent
17255 do not print progress messages
17256 -d, --debug don't remove temporary files
17257 --recheck update $as_me by reconfiguring in the same conditions
17258 --file=FILE[:TEMPLATE]
17259 instantiate the configuration file FILE
17260 --header=FILE[:TEMPLATE]
17261 instantiate the configuration header FILE
17262
17263Configuration files:
17264$config_files
17265
17266Configuration headers:
17267$config_headers
17268
17269Configuration commands:
17270$config_commands
17271
17272Report bugs to <enlightenment-devel@lists.sourceforge.net>."
17273
17274_ACEOF
17275cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17276ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17277ac_cs_version="\\
17278edje config.status 1.2.0-alpha
17279configured by $0, generated by GNU Autoconf 2.67,
17280 with options \\"\$ac_cs_config\\"
17281
17282Copyright (C) 2010 Free Software Foundation, Inc.
17283This config.status script is free software; the Free Software Foundation
17284gives unlimited permission to copy, distribute and modify it."
17285
17286ac_pwd='$ac_pwd'
17287srcdir='$srcdir'
17288INSTALL='$INSTALL'
17289MKDIR_P='$MKDIR_P'
17290AWK='$AWK'
17291test -n "\$AWK" || AWK=awk
17292_ACEOF
17293
17294cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17295# The default lists apply if the user does not specify any file.
17296ac_need_defaults=:
17297while test $# != 0
17298do
17299 case $1 in
17300 --*=?*)
17301 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17302 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17303 ac_shift=:
17304 ;;
17305 --*=)
17306 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17307 ac_optarg=
17308 ac_shift=:
17309 ;;
17310 *)
17311 ac_option=$1
17312 ac_optarg=$2
17313 ac_shift=shift
17314 ;;
17315 esac
17316
17317 case $ac_option in
17318 # Handling of the options.
17319 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17320 ac_cs_recheck=: ;;
17321 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17322 $as_echo "$ac_cs_version"; exit ;;
17323 --config | --confi | --conf | --con | --co | --c )
17324 $as_echo "$ac_cs_config"; exit ;;
17325 --debug | --debu | --deb | --de | --d | -d )
17326 debug=: ;;
17327 --file | --fil | --fi | --f )
17328 $ac_shift
17329 case $ac_optarg in
17330 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17331 '') as_fn_error $? "missing file argument" ;;
17332 esac
17333 as_fn_append CONFIG_FILES " '$ac_optarg'"
17334 ac_need_defaults=false;;
17335 --header | --heade | --head | --hea )
17336 $ac_shift
17337 case $ac_optarg in
17338 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17339 esac
17340 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17341 ac_need_defaults=false;;
17342 --he | --h)
17343 # Conflict between --help and --header
17344 as_fn_error $? "ambiguous option: \`$1'
17345Try \`$0 --help' for more information.";;
17346 --help | --hel | -h )
17347 $as_echo "$ac_cs_usage"; exit ;;
17348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17349 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17350 ac_cs_silent=: ;;
17351
17352 # This is an error.
17353 -*) as_fn_error $? "unrecognized option: \`$1'
17354Try \`$0 --help' for more information." ;;
17355
17356 *) as_fn_append ac_config_targets " $1"
17357 ac_need_defaults=false ;;
17358
17359 esac
17360 shift
17361done
17362
17363ac_configure_extra_args=
17364
17365if $ac_cs_silent; then
17366 exec 6>/dev/null
17367 ac_configure_extra_args="$ac_configure_extra_args --silent"
17368fi
17369
17370_ACEOF
17371cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17372if \$ac_cs_recheck; then
17373 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17374 shift
17375 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17376 CONFIG_SHELL='$SHELL'
17377 export CONFIG_SHELL
17378 exec "\$@"
17379fi
17380
17381_ACEOF
17382cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17383exec 5>>config.log
17384{
17385 echo
17386 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17387## Running $as_me. ##
17388_ASBOX
17389 $as_echo "$ac_log"
17390} >&5
17391
17392_ACEOF
17393cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17394#
17395# INIT-COMMANDS
17396#
17397AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17398
17399
17400# The HP-UX ksh and POSIX shell print the target directory to stdout
17401# if CDPATH is set.
17402(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17403
17404sed_quote_subst='$sed_quote_subst'
17405double_quote_subst='$double_quote_subst'
17406delay_variable_subst='$delay_variable_subst'
17407AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
17408DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17409OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17410macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17411macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17412enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17413enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17414pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17415enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17416host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17417host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17418host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17419build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17420build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17421build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17422SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17423Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17424GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17425EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17426FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17427LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17428NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17429LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17430max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17431ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17432exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17433lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17434lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17435lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17436reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17437reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17438deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17439file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17440AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17441AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17442STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17443RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17444old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17445old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17446old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17447CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17448CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17449compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17450GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17451lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17452lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17453lt_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"`'
17454lt_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"`'
17455objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17456SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17457ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17458MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17459lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17460lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17461lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17462lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17463lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17464need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17465DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17466NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17467LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17468OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17469OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17470libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17471shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17472extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17473archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17474enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17475export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17476whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17477compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17478old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17479old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17480archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17481archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17482module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17483module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17484with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17485allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17486no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17487hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17488hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17489hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17490hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17491hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17492hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17493hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17494hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17495inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17496link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17497fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17498always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17499export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17500exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17501include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17502prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17503file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17504variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17505need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17506need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17507version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17508runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17509shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17510shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17511libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17512library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17513soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17514postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17515postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17516finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17517finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17518hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17519sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17520sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17521hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17522enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17523enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17524enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17525old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17526striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17527
17528LTCC='$LTCC'
17529LTCFLAGS='$LTCFLAGS'
17530compiler='$compiler_DEFAULT'
17531
17532# Quote evaled strings.
17533for var in SED \
17534GREP \
17535EGREP \
17536FGREP \
17537LD \
17538NM \
17539LN_S \
17540lt_SP2NL \
17541lt_NL2SP \
17542reload_flag \
17543deplibs_check_method \
17544file_magic_cmd \
17545AR \
17546AR_FLAGS \
17547STRIP \
17548RANLIB \
17549CC \
17550CFLAGS \
17551compiler \
17552lt_cv_sys_global_symbol_pipe \
17553lt_cv_sys_global_symbol_to_cdecl \
17554lt_cv_sys_global_symbol_to_c_name_address \
17555lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17556SHELL \
17557ECHO \
17558lt_prog_compiler_no_builtin_flag \
17559lt_prog_compiler_wl \
17560lt_prog_compiler_pic \
17561lt_prog_compiler_static \
17562lt_cv_prog_compiler_c_o \
17563need_locks \
17564DSYMUTIL \
17565NMEDIT \
17566LIPO \
17567OTOOL \
17568OTOOL64 \
17569shrext_cmds \
17570export_dynamic_flag_spec \
17571whole_archive_flag_spec \
17572compiler_needs_object \
17573with_gnu_ld \
17574allow_undefined_flag \
17575no_undefined_flag \
17576hardcode_libdir_flag_spec \
17577hardcode_libdir_flag_spec_ld \
17578hardcode_libdir_separator \
17579fix_srcfile_path \
17580exclude_expsyms \
17581include_expsyms \
17582file_list_spec \
17583variables_saved_for_relink \
17584libname_spec \
17585library_names_spec \
17586soname_spec \
17587finish_eval \
17588old_striplib \
17589striplib; do
17590 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17591 *[\\\\\\\`\\"\\\$]*)
17592 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17593 ;;
17594 *)
17595 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17596 ;;
17597 esac
17598done
17599
17600# Double-quote double-evaled strings.
17601for var in reload_cmds \
17602old_postinstall_cmds \
17603old_postuninstall_cmds \
17604old_archive_cmds \
17605extract_expsyms_cmds \
17606old_archive_from_new_cmds \
17607old_archive_from_expsyms_cmds \
17608archive_cmds \
17609archive_expsym_cmds \
17610module_cmds \
17611module_expsym_cmds \
17612export_symbols_cmds \
17613prelink_cmds \
17614postinstall_cmds \
17615postuninstall_cmds \
17616finish_cmds \
17617sys_lib_search_path_spec \
17618sys_lib_dlsearch_path_spec; do
17619 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17620 *[\\\\\\\`\\"\\\$]*)
17621 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17622 ;;
17623 *)
17624 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17625 ;;
17626 esac
17627done
17628
17629# Fix-up fallback echo if it was mangled by the above quoting rules.
17630case \$lt_ECHO in
17631*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17632 ;;
17633esac
17634
17635ac_aux_dir='$ac_aux_dir'
17636xsi_shell='$xsi_shell'
17637lt_shell_append='$lt_shell_append'
17638
17639# See if we are running on zsh, and set the options which allow our
17640# commands through without removal of \ escapes INIT.
17641if test -n "\${ZSH_VERSION+set}" ; then
17642 setopt NO_GLOB_SUBST
17643fi
17644
17645
17646 PACKAGE='$PACKAGE'
17647 VERSION='$VERSION'
17648 TIMESTAMP='$TIMESTAMP'
17649 RM='$RM'
17650 ofile='$ofile'
17651
17652
17653
17654
17655_ACEOF
17656
17657cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17658
17659# Handling of arguments.
17660for ac_config_target in $ac_config_targets
17661do
17662 case $ac_config_target in
17663 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17664 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17665 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17666 "edje.pc") CONFIG_FILES="$CONFIG_FILES edje.pc" ;;
17667 "edje.spec") CONFIG_FILES="$CONFIG_FILES edje.spec" ;;
17668 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17669 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
17670 "data/include/Makefile") CONFIG_FILES="$CONFIG_FILES data/include/Makefile" ;;
17671 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17672 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
17673 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17674 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
17675 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
17676 "src/bin/epp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/epp/Makefile" ;;
17677 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
17678 "src/modules/alsa_snd_player/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/alsa_snd_player/Makefile" ;;
17679 "src/modules/eet_snd_reader/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/eet_snd_reader/Makefile" ;;
17680 "src/modules/multisense_factory/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/multisense_factory/Makefile" ;;
17681 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
17682 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
17683 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
17684
17685 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
17686 esac
17687done
17688
17689
17690# If the user did not use the arguments to specify the items to instantiate,
17691# then the envvar interface is used. Set only those that are not.
17692# We use the long form for the default assignment because of an extremely
17693# bizarre bug on SunOS 4.1.3.
17694if $ac_need_defaults; then
17695 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17696 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17697 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17698fi
17699
17700# Have a temporary directory for convenience. Make it in the build tree
17701# simply because there is no reason against having it here, and in addition,
17702# creating and moving files from /tmp can sometimes cause problems.
17703# Hook for its removal unless debugging.
17704# Note that there is a small window in which the directory will not be cleaned:
17705# after its creation but before its name has been assigned to `$tmp'.
17706$debug ||
17707{
17708 tmp=
17709 trap 'exit_status=$?
17710 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17711' 0
17712 trap 'as_fn_exit 1' 1 2 13 15
17713}
17714# Create a (secure) tmp directory for tmp files.
17715
17716{
17717 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17718 test -n "$tmp" && test -d "$tmp"
17719} ||
17720{
17721 tmp=./conf$$-$RANDOM
17722 (umask 077 && mkdir "$tmp")
17723} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17724
17725# Set up the scripts for CONFIG_FILES section.
17726# No need to generate them if there are no CONFIG_FILES.
17727# This happens for instance with `./config.status config.h'.
17728if test -n "$CONFIG_FILES"; then
17729
17730
17731ac_cr=`echo X | tr X '\015'`
17732# On cygwin, bash can eat \r inside `` if the user requested igncr.
17733# But we know of no other shell where ac_cr would be empty at this
17734# point, so we can use a bashism as a fallback.
17735if test "x$ac_cr" = x; then
17736 eval ac_cr=\$\'\\r\'
17737fi
17738ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17739if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17740 ac_cs_awk_cr='\\r'
17741else
17742 ac_cs_awk_cr=$ac_cr
17743fi
17744
17745echo 'BEGIN {' >"$tmp/subs1.awk" &&
17746_ACEOF
17747
17748
17749{
17750 echo "cat >conf$$subs.awk <<_ACEOF" &&
17751 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17752 echo "_ACEOF"
17753} >conf$$subs.sh ||
17754 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17755ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17756ac_delim='%!_!# '
17757for ac_last_try in false false false false false :; do
17758 . ./conf$$subs.sh ||
17759 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17760
17761 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17762 if test $ac_delim_n = $ac_delim_num; then
17763 break
17764 elif $ac_last_try; then
17765 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17766 else
17767 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17768 fi
17769done
17770rm -f conf$$subs.sh
17771
17772cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17773cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17774_ACEOF
17775sed -n '
17776h
17777s/^/S["/; s/!.*/"]=/
17778p
17779g
17780s/^[^!]*!//
17781:repl
17782t repl
17783s/'"$ac_delim"'$//
17784t delim
17785:nl
17786h
17787s/\(.\{148\}\)..*/\1/
17788t more1
17789s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17790p
17791n
17792b repl
17793:more1
17794s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17795p
17796g
17797s/.\{148\}//
17798t nl
17799:delim
17800h
17801s/\(.\{148\}\)..*/\1/
17802t more2
17803s/["\\]/\\&/g; s/^/"/; s/$/"/
17804p
17805b
17806:more2
17807s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17808p
17809g
17810s/.\{148\}//
17811t delim
17812' <conf$$subs.awk | sed '
17813/^[^""]/{
17814 N
17815 s/\n//
17816}
17817' >>$CONFIG_STATUS || ac_write_fail=1
17818rm -f conf$$subs.awk
17819cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17820_ACAWK
17821cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17822 for (key in S) S_is_set[key] = 1
17823 FS = ""
17824
17825}
17826{
17827 line = $ 0
17828 nfields = split(line, field, "@")
17829 substed = 0
17830 len = length(field[1])
17831 for (i = 2; i < nfields; i++) {
17832 key = field[i]
17833 keylen = length(key)
17834 if (S_is_set[key]) {
17835 value = S[key]
17836 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17837 len += length(value) + length(field[++i])
17838 substed = 1
17839 } else
17840 len += 1 + keylen
17841 }
17842
17843 print line
17844}
17845
17846_ACAWK
17847_ACEOF
17848cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17849if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17850 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17851else
17852 cat
17853fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17854 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17855_ACEOF
17856
17857# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17858# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17859# trailing colons and then remove the whole line if VPATH becomes empty
17860# (actually we leave an empty line to preserve line numbers).
17861if test "x$srcdir" = x.; then
17862 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17863h
17864s///
17865s/^/:/
17866s/[ ]*$/:/
17867s/:\$(srcdir):/:/g
17868s/:\${srcdir}:/:/g
17869s/:@srcdir@:/:/g
17870s/^:*//
17871s/:*$//
17872x
17873s/\(=[ ]*\).*/\1/
17874G
17875s/\n//
17876s/^[^=]*=[ ]*$//
17877}'
17878fi
17879
17880cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17881fi # test -n "$CONFIG_FILES"
17882
17883# Set up the scripts for CONFIG_HEADERS section.
17884# No need to generate them if there are no CONFIG_HEADERS.
17885# This happens for instance with `./config.status Makefile'.
17886if test -n "$CONFIG_HEADERS"; then
17887cat >"$tmp/defines.awk" <<\_ACAWK ||
17888BEGIN {
17889_ACEOF
17890
17891# Transform confdefs.h into an awk script `defines.awk', embedded as
17892# here-document in config.status, that substitutes the proper values into
17893# config.h.in to produce config.h.
17894
17895# Create a delimiter string that does not exist in confdefs.h, to ease
17896# handling of long lines.
17897ac_delim='%!_!# '
17898for ac_last_try in false false :; do
17899 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17900 if test -z "$ac_t"; then
17901 break
17902 elif $ac_last_try; then
17903 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17904 else
17905 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17906 fi
17907done
17908
17909# For the awk script, D is an array of macro values keyed by name,
17910# likewise P contains macro parameters if any. Preserve backslash
17911# newline sequences.
17912
17913ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17914sed -n '
17915s/.\{148\}/&'"$ac_delim"'/g
17916t rset
17917:rset
17918s/^[ ]*#[ ]*define[ ][ ]*/ /
17919t def
17920d
17921:def
17922s/\\$//
17923t bsnl
17924s/["\\]/\\&/g
17925s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17926D["\1"]=" \3"/p
17927s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17928d
17929:bsnl
17930s/["\\]/\\&/g
17931s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17932D["\1"]=" \3\\\\\\n"\\/p
17933t cont
17934s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17935t cont
17936d
17937:cont
17938n
17939s/.\{148\}/&'"$ac_delim"'/g
17940t clear
17941:clear
17942s/\\$//
17943t bsnlc
17944s/["\\]/\\&/g; s/^/"/; s/$/"/p
17945d
17946:bsnlc
17947s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17948b cont
17949' <confdefs.h | sed '
17950s/'"$ac_delim"'/"\\\
17951"/g' >>$CONFIG_STATUS || ac_write_fail=1
17952
17953cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17954 for (key in D) D_is_set[key] = 1
17955 FS = ""
17956}
17957/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17958 line = \$ 0
17959 split(line, arg, " ")
17960 if (arg[1] == "#") {
17961 defundef = arg[2]
17962 mac1 = arg[3]
17963 } else {
17964 defundef = substr(arg[1], 2)
17965 mac1 = arg[2]
17966 }
17967 split(mac1, mac2, "(") #)
17968 macro = mac2[1]
17969 prefix = substr(line, 1, index(line, defundef) - 1)
17970 if (D_is_set[macro]) {
17971 # Preserve the white space surrounding the "#".
17972 print prefix "define", macro P[macro] D[macro]
17973 next
17974 } else {
17975 # Replace #undef with comments. This is necessary, for example,
17976 # in the case of _POSIX_SOURCE, which is predefined and required
17977 # on some systems where configure will not decide to define it.
17978 if (defundef == "undef") {
17979 print "/*", prefix defundef, macro, "*/"
17980 next
17981 }
17982 }
17983}
17984{ print }
17985_ACAWK
17986_ACEOF
17987cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17988 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17989fi # test -n "$CONFIG_HEADERS"
17990
17991
17992eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17993shift
17994for ac_tag
17995do
17996 case $ac_tag in
17997 :[FHLC]) ac_mode=$ac_tag; continue;;
17998 esac
17999 case $ac_mode$ac_tag in
18000 :[FHL]*:*);;
18001 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
18002 :[FH]-) ac_tag=-:-;;
18003 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18004 esac
18005 ac_save_IFS=$IFS
18006 IFS=:
18007 set x $ac_tag
18008 IFS=$ac_save_IFS
18009 shift
18010 ac_file=$1
18011 shift
18012
18013 case $ac_mode in
18014 :L) ac_source=$1;;
18015 :[FH])
18016 ac_file_inputs=
18017 for ac_f
18018 do
18019 case $ac_f in
18020 -) ac_f="$tmp/stdin";;
18021 *) # Look for the file first in the build tree, then in the source tree
18022 # (if the path is not absolute). The absolute path cannot be DOS-style,
18023 # because $ac_f cannot contain `:'.
18024 test -f "$ac_f" ||
18025 case $ac_f in
18026 [\\/$]*) false;;
18027 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18028 esac ||
18029 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
18030 esac
18031 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18032 as_fn_append ac_file_inputs " '$ac_f'"
18033 done
18034
18035 # Let's still pretend it is `configure' which instantiates (i.e., don't
18036 # use $as_me), people would be surprised to read:
18037 # /* config.h. Generated by config.status. */
18038 configure_input='Generated from '`
18039 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18040 `' by configure.'
18041 if test x"$ac_file" != x-; then
18042 configure_input="$ac_file. $configure_input"
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18044$as_echo "$as_me: creating $ac_file" >&6;}
18045 fi
18046 # Neutralize special characters interpreted by sed in replacement strings.
18047 case $configure_input in #(
18048 *\&* | *\|* | *\\* )
18049 ac_sed_conf_input=`$as_echo "$configure_input" |
18050 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18051 *) ac_sed_conf_input=$configure_input;;
18052 esac
18053
18054 case $ac_tag in
18055 *:-:* | *:-) cat >"$tmp/stdin" \
18056 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18057 esac
18058 ;;
18059 esac
18060
18061 ac_dir=`$as_dirname -- "$ac_file" ||
18062$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18063 X"$ac_file" : 'X\(//\)[^/]' \| \
18064 X"$ac_file" : 'X\(//\)$' \| \
18065 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18066$as_echo X"$ac_file" |
18067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18068 s//\1/
18069 q
18070 }
18071 /^X\(\/\/\)[^/].*/{
18072 s//\1/
18073 q
18074 }
18075 /^X\(\/\/\)$/{
18076 s//\1/
18077 q
18078 }
18079 /^X\(\/\).*/{
18080 s//\1/
18081 q
18082 }
18083 s/.*/./; q'`
18084 as_dir="$ac_dir"; as_fn_mkdir_p
18085 ac_builddir=.
18086
18087case "$ac_dir" in
18088.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18089*)
18090 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18091 # A ".." for each directory in $ac_dir_suffix.
18092 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18093 case $ac_top_builddir_sub in
18094 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18095 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18096 esac ;;
18097esac
18098ac_abs_top_builddir=$ac_pwd
18099ac_abs_builddir=$ac_pwd$ac_dir_suffix
18100# for backward compatibility:
18101ac_top_builddir=$ac_top_build_prefix
18102
18103case $srcdir in
18104 .) # We are building in place.
18105 ac_srcdir=.
18106 ac_top_srcdir=$ac_top_builddir_sub
18107 ac_abs_top_srcdir=$ac_pwd ;;
18108 [\\/]* | ?:[\\/]* ) # Absolute name.
18109 ac_srcdir=$srcdir$ac_dir_suffix;
18110 ac_top_srcdir=$srcdir
18111 ac_abs_top_srcdir=$srcdir ;;
18112 *) # Relative name.
18113 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18114 ac_top_srcdir=$ac_top_build_prefix$srcdir
18115 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18116esac
18117ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18118
18119
18120 case $ac_mode in
18121 :F)
18122 #
18123 # CONFIG_FILE
18124 #
18125
18126 case $INSTALL in
18127 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18128 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18129 esac
18130 ac_MKDIR_P=$MKDIR_P
18131 case $MKDIR_P in
18132 [\\/$]* | ?:[\\/]* ) ;;
18133 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18134 esac
18135_ACEOF
18136
18137cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18138# If the template does not know about datarootdir, expand it.
18139# FIXME: This hack should be removed a few years after 2.60.
18140ac_datarootdir_hack=; ac_datarootdir_seen=
18141ac_sed_dataroot='
18142/datarootdir/ {
18143 p
18144 q
18145}
18146/@datadir@/p
18147/@docdir@/p
18148/@infodir@/p
18149/@localedir@/p
18150/@mandir@/p'
18151case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18152*datarootdir*) ac_datarootdir_seen=yes;;
18153*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18155$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18156_ACEOF
18157cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18158 ac_datarootdir_hack='
18159 s&@datadir@&$datadir&g
18160 s&@docdir@&$docdir&g
18161 s&@infodir@&$infodir&g
18162 s&@localedir@&$localedir&g
18163 s&@mandir@&$mandir&g
18164 s&\\\${datarootdir}&$datarootdir&g' ;;
18165esac
18166_ACEOF
18167
18168# Neutralize VPATH when `$srcdir' = `.'.
18169# Shell code in configure.ac might set extrasub.
18170# FIXME: do we really want to maintain this feature?
18171cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18172ac_sed_extra="$ac_vpsub
18173$extrasub
18174_ACEOF
18175cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18176:t
18177/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18178s|@configure_input@|$ac_sed_conf_input|;t t
18179s&@top_builddir@&$ac_top_builddir_sub&;t t
18180s&@top_build_prefix@&$ac_top_build_prefix&;t t
18181s&@srcdir@&$ac_srcdir&;t t
18182s&@abs_srcdir@&$ac_abs_srcdir&;t t
18183s&@top_srcdir@&$ac_top_srcdir&;t t
18184s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18185s&@builddir@&$ac_builddir&;t t
18186s&@abs_builddir@&$ac_abs_builddir&;t t
18187s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18188s&@INSTALL@&$ac_INSTALL&;t t
18189s&@MKDIR_P@&$ac_MKDIR_P&;t t
18190$ac_datarootdir_hack
18191"
18192eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18193 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18194
18195test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18196 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18197 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18199which seems to be undefined. Please make sure it is defined" >&5
18200$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18201which seems to be undefined. Please make sure it is defined" >&2;}
18202
18203 rm -f "$tmp/stdin"
18204 case $ac_file in
18205 -) cat "$tmp/out" && rm -f "$tmp/out";;
18206 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18207 esac \
18208 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18209 ;;
18210 :H)
18211 #
18212 # CONFIG_HEADER
18213 #
18214 if test x"$ac_file" != x-; then
18215 {
18216 $as_echo "/* $configure_input */" \
18217 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18218 } >"$tmp/config.h" \
18219 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18220 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18221 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18222$as_echo "$as_me: $ac_file is unchanged" >&6;}
18223 else
18224 rm -f "$ac_file"
18225 mv "$tmp/config.h" "$ac_file" \
18226 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18227 fi
18228 else
18229 $as_echo "/* $configure_input */" \
18230 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18231 || as_fn_error $? "could not create -" "$LINENO" 5
18232 fi
18233# Compute "$ac_file"'s index in $config_headers.
18234_am_arg="$ac_file"
18235_am_stamp_count=1
18236for _am_header in $config_headers :; do
18237 case $_am_header in
18238 $_am_arg | $_am_arg:* )
18239 break ;;
18240 * )
18241 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18242 esac
18243done
18244echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18245$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18246 X"$_am_arg" : 'X\(//\)[^/]' \| \
18247 X"$_am_arg" : 'X\(//\)$' \| \
18248 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18249$as_echo X"$_am_arg" |
18250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18251 s//\1/
18252 q
18253 }
18254 /^X\(\/\/\)[^/].*/{
18255 s//\1/
18256 q
18257 }
18258 /^X\(\/\/\)$/{
18259 s//\1/
18260 q
18261 }
18262 /^X\(\/\).*/{
18263 s//\1/
18264 q
18265 }
18266 s/.*/./; q'`/stamp-h$_am_stamp_count
18267 ;;
18268
18269 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18270$as_echo "$as_me: executing $ac_file commands" >&6;}
18271 ;;
18272 esac
18273
18274
18275 case $ac_file$ac_mode in
18276 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18277 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18278 # are listed without --file. Let's play safe and only enable the eval
18279 # if we detect the quoting.
18280 case $CONFIG_FILES in
18281 *\'*) eval set x "$CONFIG_FILES" ;;
18282 *) set x $CONFIG_FILES ;;
18283 esac
18284 shift
18285 for mf
18286 do
18287 # Strip MF so we end up with the name of the file.
18288 mf=`echo "$mf" | sed -e 's/:.*$//'`
18289 # Check whether this is an Automake generated Makefile or not.
18290 # We used to match only the files named `Makefile.in', but
18291 # some people rename them; so instead we look at the file content.
18292 # Grep'ing the first line is not enough: some people post-process
18293 # each Makefile.in and add a new line on top of each file to say so.
18294 # Grep'ing the whole file is not good either: AIX grep has a line
18295 # limit of 2048, but all sed's we know have understand at least 4000.
18296 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18297 dirpart=`$as_dirname -- "$mf" ||
18298$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18299 X"$mf" : 'X\(//\)[^/]' \| \
18300 X"$mf" : 'X\(//\)$' \| \
18301 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18302$as_echo X"$mf" |
18303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18304 s//\1/
18305 q
18306 }
18307 /^X\(\/\/\)[^/].*/{
18308 s//\1/
18309 q
18310 }
18311 /^X\(\/\/\)$/{
18312 s//\1/
18313 q
18314 }
18315 /^X\(\/\).*/{
18316 s//\1/
18317 q
18318 }
18319 s/.*/./; q'`
18320 else
18321 continue
18322 fi
18323 # Extract the definition of DEPDIR, am__include, and am__quote
18324 # from the Makefile without running `make'.
18325 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18326 test -z "$DEPDIR" && continue
18327 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18328 test -z "am__include" && continue
18329 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18330 # When using ansi2knr, U may be empty or an underscore; expand it
18331 U=`sed -n 's/^U = //p' < "$mf"`
18332 # Find all dependency output files, they are included files with
18333 # $(DEPDIR) in their names. We invoke sed twice because it is the
18334 # simplest approach to changing $(DEPDIR) to its actual value in the
18335 # expansion.
18336 for file in `sed -n "
18337 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18338 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18339 # Make sure the directory exists.
18340 test -f "$dirpart/$file" && continue
18341 fdir=`$as_dirname -- "$file" ||
18342$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18343 X"$file" : 'X\(//\)[^/]' \| \
18344 X"$file" : 'X\(//\)$' \| \
18345 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18346$as_echo X"$file" |
18347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18348 s//\1/
18349 q
18350 }
18351 /^X\(\/\/\)[^/].*/{
18352 s//\1/
18353 q
18354 }
18355 /^X\(\/\/\)$/{
18356 s//\1/
18357 q
18358 }
18359 /^X\(\/\).*/{
18360 s//\1/
18361 q
18362 }
18363 s/.*/./; q'`
18364 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18365 # echo "creating $dirpart/$file"
18366 echo '# dummy' > "$dirpart/$file"
18367 done
18368 done
18369}
18370 ;;
18371 "libtool":C)
18372
18373 # See if we are running on zsh, and set the options which allow our
18374 # commands through without removal of \ escapes.
18375 if test -n "${ZSH_VERSION+set}" ; then
18376 setopt NO_GLOB_SUBST
18377 fi
18378
18379 cfgfile="${ofile}T"
18380 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18381 $RM "$cfgfile"
18382
18383 cat <<_LT_EOF >> "$cfgfile"
18384#! $SHELL
18385
18386# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18387# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18388# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18389# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18390#
18391# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18392# 2006, 2007, 2008 Free Software Foundation, Inc.
18393# Written by Gordon Matzigkeit, 1996
18394#
18395# This file is part of GNU Libtool.
18396#
18397# GNU Libtool is free software; you can redistribute it and/or
18398# modify it under the terms of the GNU General Public License as
18399# published by the Free Software Foundation; either version 2 of
18400# the License, or (at your option) any later version.
18401#
18402# As a special exception to the GNU General Public License,
18403# if you distribute this file as part of a program or library that
18404# is built using GNU Libtool, you may include this file under the
18405# same distribution terms that you use for the rest of that program.
18406#
18407# GNU Libtool is distributed in the hope that it will be useful,
18408# but WITHOUT ANY WARRANTY; without even the implied warranty of
18409# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18410# GNU General Public License for more details.
18411#
18412# You should have received a copy of the GNU General Public License
18413# along with GNU Libtool; see the file COPYING. If not, a copy
18414# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18415# obtained by writing to the Free Software Foundation, Inc.,
18416# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18417
18418
18419# The names of the tagged configurations supported by this script.
18420available_tags=""
18421
18422# ### BEGIN LIBTOOL CONFIG
18423
18424# Assembler program.
18425AS=$AS
18426
18427# DLL creation program.
18428DLLTOOL=$DLLTOOL
18429
18430# Object dumper program.
18431OBJDUMP=$OBJDUMP
18432
18433# Which release of libtool.m4 was used?
18434macro_version=$macro_version
18435macro_revision=$macro_revision
18436
18437# Whether or not to build shared libraries.
18438build_libtool_libs=$enable_shared
18439
18440# Whether or not to build static libraries.
18441build_old_libs=$enable_static
18442
18443# What type of objects to build.
18444pic_mode=$pic_mode
18445
18446# Whether or not to optimize for fast installation.
18447fast_install=$enable_fast_install
18448
18449# The host system.
18450host_alias=$host_alias
18451host=$host
18452host_os=$host_os
18453
18454# The build system.
18455build_alias=$build_alias
18456build=$build
18457build_os=$build_os
18458
18459# A sed program that does not truncate output.
18460SED=$lt_SED
18461
18462# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18463Xsed="\$SED -e 1s/^X//"
18464
18465# A grep program that handles long lines.
18466GREP=$lt_GREP
18467
18468# An ERE matcher.
18469EGREP=$lt_EGREP
18470
18471# A literal string matcher.
18472FGREP=$lt_FGREP
18473
18474# A BSD- or MS-compatible name lister.
18475NM=$lt_NM
18476
18477# Whether we need soft or hard links.
18478LN_S=$lt_LN_S
18479
18480# What is the maximum length of a command?
18481max_cmd_len=$max_cmd_len
18482
18483# Object file suffix (normally "o").
18484objext=$ac_objext
18485
18486# Executable file suffix (normally "").
18487exeext=$exeext
18488
18489# whether the shell understands "unset".
18490lt_unset=$lt_unset
18491
18492# turn spaces into newlines.
18493SP2NL=$lt_lt_SP2NL
18494
18495# turn newlines into spaces.
18496NL2SP=$lt_lt_NL2SP
18497
18498# How to create reloadable object files.
18499reload_flag=$lt_reload_flag
18500reload_cmds=$lt_reload_cmds
18501
18502# Method to check whether dependent libraries are shared objects.
18503deplibs_check_method=$lt_deplibs_check_method
18504
18505# Command to use when deplibs_check_method == "file_magic".
18506file_magic_cmd=$lt_file_magic_cmd
18507
18508# The archiver.
18509AR=$lt_AR
18510AR_FLAGS=$lt_AR_FLAGS
18511
18512# A symbol stripping program.
18513STRIP=$lt_STRIP
18514
18515# Commands used to install an old-style archive.
18516RANLIB=$lt_RANLIB
18517old_postinstall_cmds=$lt_old_postinstall_cmds
18518old_postuninstall_cmds=$lt_old_postuninstall_cmds
18519
18520# A C compiler.
18521LTCC=$lt_CC
18522
18523# LTCC compiler flags.
18524LTCFLAGS=$lt_CFLAGS
18525
18526# Take the output of nm and produce a listing of raw symbols and C names.
18527global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18528
18529# Transform the output of nm in a proper C declaration.
18530global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18531
18532# Transform the output of nm in a C name address pair.
18533global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18534
18535# Transform the output of nm in a C name address pair when lib prefix is needed.
18536global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18537
18538# The name of the directory that contains temporary libtool files.
18539objdir=$objdir
18540
18541# Shell to use when invoking shell scripts.
18542SHELL=$lt_SHELL
18543
18544# An echo program that does not interpret backslashes.
18545ECHO=$lt_ECHO
18546
18547# Used to examine libraries when file_magic_cmd begins with "file".
18548MAGIC_CMD=$MAGIC_CMD
18549
18550# Must we lock files when doing compilation?
18551need_locks=$lt_need_locks
18552
18553# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18554DSYMUTIL=$lt_DSYMUTIL
18555
18556# Tool to change global to local symbols on Mac OS X.
18557NMEDIT=$lt_NMEDIT
18558
18559# Tool to manipulate fat objects and archives on Mac OS X.
18560LIPO=$lt_LIPO
18561
18562# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18563OTOOL=$lt_OTOOL
18564
18565# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18566OTOOL64=$lt_OTOOL64
18567
18568# Old archive suffix (normally "a").
18569libext=$libext
18570
18571# Shared library suffix (normally ".so").
18572shrext_cmds=$lt_shrext_cmds
18573
18574# The commands to extract the exported symbol list from a shared archive.
18575extract_expsyms_cmds=$lt_extract_expsyms_cmds
18576
18577# Variables whose values should be saved in libtool wrapper scripts and
18578# restored at link time.
18579variables_saved_for_relink=$lt_variables_saved_for_relink
18580
18581# Do we need the "lib" prefix for modules?
18582need_lib_prefix=$need_lib_prefix
18583
18584# Do we need a version for libraries?
18585need_version=$need_version
18586
18587# Library versioning type.
18588version_type=$version_type
18589
18590# Shared library runtime path variable.
18591runpath_var=$runpath_var
18592
18593# Shared library path variable.
18594shlibpath_var=$shlibpath_var
18595
18596# Is shlibpath searched before the hard-coded library search path?
18597shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18598
18599# Format of library name prefix.
18600libname_spec=$lt_libname_spec
18601
18602# List of archive names. First name is the real one, the rest are links.
18603# The last name is the one that the linker finds with -lNAME
18604library_names_spec=$lt_library_names_spec
18605
18606# The coded name of the library, if different from the real name.
18607soname_spec=$lt_soname_spec
18608
18609# Command to use after installation of a shared archive.
18610postinstall_cmds=$lt_postinstall_cmds
18611
18612# Command to use after uninstallation of a shared archive.
18613postuninstall_cmds=$lt_postuninstall_cmds
18614
18615# Commands used to finish a libtool library installation in a directory.
18616finish_cmds=$lt_finish_cmds
18617
18618# As "finish_cmds", except a single script fragment to be evaled but
18619# not shown.
18620finish_eval=$lt_finish_eval
18621
18622# Whether we should hardcode library paths into libraries.
18623hardcode_into_libs=$hardcode_into_libs
18624
18625# Compile-time system search path for libraries.
18626sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18627
18628# Run-time system search path for libraries.
18629sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18630
18631# Whether dlopen is supported.
18632dlopen_support=$enable_dlopen
18633
18634# Whether dlopen of programs is supported.
18635dlopen_self=$enable_dlopen_self
18636
18637# Whether dlopen of statically linked programs is supported.
18638dlopen_self_static=$enable_dlopen_self_static
18639
18640# Commands to strip libraries.
18641old_striplib=$lt_old_striplib
18642striplib=$lt_striplib
18643
18644
18645# The linker used to build libraries.
18646LD=$lt_LD
18647
18648# Commands used to build an old-style archive.
18649old_archive_cmds=$lt_old_archive_cmds
18650
18651# A language specific compiler.
18652CC=$lt_compiler
18653
18654# Is the compiler the GNU compiler?
18655with_gcc=$GCC
18656
18657# Compiler flag to turn off builtin functions.
18658no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18659
18660# How to pass a linker flag through the compiler.
18661wl=$lt_lt_prog_compiler_wl
18662
18663# Additional compiler flags for building library objects.
18664pic_flag=$lt_lt_prog_compiler_pic
18665
18666# Compiler flag to prevent dynamic linking.
18667link_static_flag=$lt_lt_prog_compiler_static
18668
18669# Does compiler simultaneously support -c and -o options?
18670compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18671
18672# Whether or not to add -lc for building shared libraries.
18673build_libtool_need_lc=$archive_cmds_need_lc
18674
18675# Whether or not to disallow shared libs when runtime libs are static.
18676allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18677
18678# Compiler flag to allow reflexive dlopens.
18679export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18680
18681# Compiler flag to generate shared objects directly from archives.
18682whole_archive_flag_spec=$lt_whole_archive_flag_spec
18683
18684# Whether the compiler copes with passing no objects directly.
18685compiler_needs_object=$lt_compiler_needs_object
18686
18687# Create an old-style archive from a shared archive.
18688old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18689
18690# Create a temporary old-style archive to link instead of a shared archive.
18691old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18692
18693# Commands used to build a shared archive.
18694archive_cmds=$lt_archive_cmds
18695archive_expsym_cmds=$lt_archive_expsym_cmds
18696
18697# Commands used to build a loadable module if different from building
18698# a shared archive.
18699module_cmds=$lt_module_cmds
18700module_expsym_cmds=$lt_module_expsym_cmds
18701
18702# Whether we are building with GNU ld or not.
18703with_gnu_ld=$lt_with_gnu_ld
18704
18705# Flag that allows shared libraries with undefined symbols to be built.
18706allow_undefined_flag=$lt_allow_undefined_flag
18707
18708# Flag that enforces no undefined symbols.
18709no_undefined_flag=$lt_no_undefined_flag
18710
18711# Flag to hardcode \$libdir into a binary during linking.
18712# This must work even if \$libdir does not exist
18713hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18714
18715# If ld is used when linking, flag to hardcode \$libdir into a binary
18716# during linking. This must work even if \$libdir does not exist.
18717hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18718
18719# Whether we need a single "-rpath" flag with a separated argument.
18720hardcode_libdir_separator=$lt_hardcode_libdir_separator
18721
18722# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18723# DIR into the resulting binary.
18724hardcode_direct=$hardcode_direct
18725
18726# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18727# DIR into the resulting binary and the resulting library dependency is
18728# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18729# library is relocated.
18730hardcode_direct_absolute=$hardcode_direct_absolute
18731
18732# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18733# into the resulting binary.
18734hardcode_minus_L=$hardcode_minus_L
18735
18736# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18737# into the resulting binary.
18738hardcode_shlibpath_var=$hardcode_shlibpath_var
18739
18740# Set to "yes" if building a shared library automatically hardcodes DIR
18741# into the library and all subsequent libraries and executables linked
18742# against it.
18743hardcode_automatic=$hardcode_automatic
18744
18745# Set to yes if linker adds runtime paths of dependent libraries
18746# to runtime path list.
18747inherit_rpath=$inherit_rpath
18748
18749# Whether libtool must link a program against all its dependency libraries.
18750link_all_deplibs=$link_all_deplibs
18751
18752# Fix the shell variable \$srcfile for the compiler.
18753fix_srcfile_path=$lt_fix_srcfile_path
18754
18755# Set to "yes" if exported symbols are required.
18756always_export_symbols=$always_export_symbols
18757
18758# The commands to list exported symbols.
18759export_symbols_cmds=$lt_export_symbols_cmds
18760
18761# Symbols that should not be listed in the preloaded symbols.
18762exclude_expsyms=$lt_exclude_expsyms
18763
18764# Symbols that must always be exported.
18765include_expsyms=$lt_include_expsyms
18766
18767# Commands necessary for linking programs (against libraries) with templates.
18768prelink_cmds=$lt_prelink_cmds
18769
18770# Specify filename containing input files.
18771file_list_spec=$lt_file_list_spec
18772
18773# How to hardcode a shared library path into an executable.
18774hardcode_action=$hardcode_action
18775
18776# ### END LIBTOOL CONFIG
18777
18778_LT_EOF
18779
18780 case $host_os in
18781 aix3*)
18782 cat <<\_LT_EOF >> "$cfgfile"
18783# AIX sometimes has problems with the GCC collect2 program. For some
18784# reason, if we set the COLLECT_NAMES environment variable, the problems
18785# vanish in a puff of smoke.
18786if test "X${COLLECT_NAMES+set}" != Xset; then
18787 COLLECT_NAMES=
18788 export COLLECT_NAMES
18789fi
18790_LT_EOF
18791 ;;
18792 esac
18793
18794
18795ltmain="$ac_aux_dir/ltmain.sh"
18796
18797
18798 # We use sed instead of cat because bash on DJGPP gets confused if
18799 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18800 # text mode, it properly converts lines to CR/LF. This bash problem
18801 # is reportedly fixed, but why not run on old versions too?
18802 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18803 || (rm -f "$cfgfile"; exit 1)
18804
18805 case $xsi_shell in
18806 yes)
18807 cat << \_LT_EOF >> "$cfgfile"
18808
18809# func_dirname file append nondir_replacement
18810# Compute the dirname of FILE. If nonempty, add APPEND to the result,
18811# otherwise set result to NONDIR_REPLACEMENT.
18812func_dirname ()
18813{
18814 case ${1} in
18815 */*) func_dirname_result="${1%/*}${2}" ;;
18816 * ) func_dirname_result="${3}" ;;
18817 esac
18818}
18819
18820# func_basename file
18821func_basename ()
18822{
18823 func_basename_result="${1##*/}"
18824}
18825
18826# func_dirname_and_basename file append nondir_replacement
18827# perform func_basename and func_dirname in a single function
18828# call:
18829# dirname: Compute the dirname of FILE. If nonempty,
18830# add APPEND to the result, otherwise set result
18831# to NONDIR_REPLACEMENT.
18832# value returned in "$func_dirname_result"
18833# basename: Compute filename of FILE.
18834# value retuned in "$func_basename_result"
18835# Implementation must be kept synchronized with func_dirname
18836# and func_basename. For efficiency, we do not delegate to
18837# those functions but instead duplicate the functionality here.
18838func_dirname_and_basename ()
18839{
18840 case ${1} in
18841 */*) func_dirname_result="${1%/*}${2}" ;;
18842 * ) func_dirname_result="${3}" ;;
18843 esac
18844 func_basename_result="${1##*/}"
18845}
18846
18847# func_stripname prefix suffix name
18848# strip PREFIX and SUFFIX off of NAME.
18849# PREFIX and SUFFIX must not contain globbing or regex special
18850# characters, hashes, percent signs, but SUFFIX may contain a leading
18851# dot (in which case that matches only a dot).
18852func_stripname ()
18853{
18854 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18855 # positional parameters, so assign one to ordinary parameter first.
18856 func_stripname_result=${3}
18857 func_stripname_result=${func_stripname_result#"${1}"}
18858 func_stripname_result=${func_stripname_result%"${2}"}
18859}
18860
18861# func_opt_split
18862func_opt_split ()
18863{
18864 func_opt_split_opt=${1%%=*}
18865 func_opt_split_arg=${1#*=}
18866}
18867
18868# func_lo2o object
18869func_lo2o ()
18870{
18871 case ${1} in
18872 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18873 *) func_lo2o_result=${1} ;;
18874 esac
18875}
18876
18877# func_xform libobj-or-source
18878func_xform ()
18879{
18880 func_xform_result=${1%.*}.lo
18881}
18882
18883# func_arith arithmetic-term...
18884func_arith ()
18885{
18886 func_arith_result=$(( $* ))
18887}
18888
18889# func_len string
18890# STRING may not start with a hyphen.
18891func_len ()
18892{
18893 func_len_result=${#1}
18894}
18895
18896_LT_EOF
18897 ;;
18898 *) # Bourne compatible functions.
18899 cat << \_LT_EOF >> "$cfgfile"
18900
18901# func_dirname file append nondir_replacement
18902# Compute the dirname of FILE. If nonempty, add APPEND to the result,
18903# otherwise set result to NONDIR_REPLACEMENT.
18904func_dirname ()
18905{
18906 # Extract subdirectory from the argument.
18907 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18908 if test "X$func_dirname_result" = "X${1}"; then
18909 func_dirname_result="${3}"
18910 else
18911 func_dirname_result="$func_dirname_result${2}"
18912 fi
18913}
18914
18915# func_basename file
18916func_basename ()
18917{
18918 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18919}
18920
18921
18922# func_stripname prefix suffix name
18923# strip PREFIX and SUFFIX off of NAME.
18924# PREFIX and SUFFIX must not contain globbing or regex special
18925# characters, hashes, percent signs, but SUFFIX may contain a leading
18926# dot (in which case that matches only a dot).
18927# func_strip_suffix prefix name
18928func_stripname ()
18929{
18930 case ${2} in
18931 .*) func_stripname_result=`$ECHO "X${3}" \
18932 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18933 *) func_stripname_result=`$ECHO "X${3}" \
18934 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18935 esac
18936}
18937
18938# sed scripts:
18939my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18940my_sed_long_arg='1s/^-[^=]*=//'
18941
18942# func_opt_split
18943func_opt_split ()
18944{
18945 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18946 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18947}
18948
18949# func_lo2o object
18950func_lo2o ()
18951{
18952 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18953}
18954
18955# func_xform libobj-or-source
18956func_xform ()
18957{
18958 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18959}
18960
18961# func_arith arithmetic-term...
18962func_arith ()
18963{
18964 func_arith_result=`expr "$@"`
18965}
18966
18967# func_len string
18968# STRING may not start with a hyphen.
18969func_len ()
18970{
18971 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18972}
18973
18974_LT_EOF
18975esac
18976
18977case $lt_shell_append in
18978 yes)
18979 cat << \_LT_EOF >> "$cfgfile"
18980
18981# func_append var value
18982# Append VALUE to the end of shell variable VAR.
18983func_append ()
18984{
18985 eval "$1+=\$2"
18986}
18987_LT_EOF
18988 ;;
18989 *)
18990 cat << \_LT_EOF >> "$cfgfile"
18991
18992# func_append var value
18993# Append VALUE to the end of shell variable VAR.
18994func_append ()
18995{
18996 eval "$1=\$$1\$2"
18997}
18998
18999_LT_EOF
19000 ;;
19001 esac
19002
19003
19004 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19005 || (rm -f "$cfgfile"; exit 1)
19006
19007 mv -f "$cfgfile" "$ofile" ||
19008 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19009 chmod +x "$ofile"
19010
19011 ;;
19012
19013 esac
19014done # for ac_tag
19015
19016
19017as_fn_exit 0
19018_ACEOF
19019ac_clean_files=$ac_clean_files_save
19020
19021test $ac_write_fail = 0 ||
19022 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19023
19024
19025# configure is writing to config.log, and then calls config.status.
19026# config.status does its own redirection, appending to config.log.
19027# Unfortunately, on DOS this fails, as config.log is still kept open
19028# by configure, so config.status won't be able to write to it; its
19029# output is simply discarded. So we exec the FD to /dev/null,
19030# effectively closing config.log, so it can be properly (re)opened and
19031# appended to by config.status. When coming back to configure, we
19032# need to make the FD available again.
19033if test "$no_create" != yes; then
19034 ac_cs_success=:
19035 ac_config_status_args=
19036 test "$silent" = yes &&
19037 ac_config_status_args="$ac_config_status_args --quiet"
19038 exec 5>/dev/null
19039 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19040 exec 5>>config.log
19041 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19042 # would make configure fail if this is the last instruction.
19043 $ac_cs_success || as_fn_exit 1
19044fi
19045if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19047$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19048fi
19049
19050
19051
19052#####################################################################
19053## Info
19054
19055echo
19056echo
19057echo
19058echo "------------------------------------------------------------------------"
19059echo "$PACKAGE $VERSION"
19060echo "------------------------------------------------------------------------"
19061echo
19062echo "Configuration Options Summary:"
19063echo
19064echo " Amalgamation.........: ${do_amalgamation}"
19065echo " Ecore IMF............: $have_ecore_imf"
19066echo " Multisense...........: $want_multisense"
19067
19068if test "x${want_multisense}" = "xyes" ; then
19069echo " LibRemix.............: $have_libremix"
19070echo " Libsndfile...........: $have_sndfile"
19071echo " Ogg/Vorbis...........: $have_vorbis"
19072echo " LibFLAC..............: $have_flac_lib"
19073echo " LibALSA..............: $have_alsa_lib"
19074fi
19075
19076echo " EDJE_PROGRAM_CACHE...: $want_edje_program_cache"
19077echo " EDJE_CALC_CACHE......: $want_edje_calc_cache"
19078echo " Fixed point..........: $want_fixed_point"
19079echo " Documentation........: ${build_doc}"
19080echo " Tests................: ${enable_tests}"
19081echo " Coverage.............: ${enable_coverage}"
19082echo " Examples.............: install:${install_examples} build:${build_examples}"
19083echo
19084echo "Programs:"
19085echo
19086echo " Build edje_cc................: $have_edje_cc"
19087echo " Build edje_decc..............: $have_edje_decc"
19088echo " Build edje_recc..............: $have_edje_recc"
19089echo " Build edje_player............: $have_edje_player"
19090echo " Build edje_inspector.........: $have_edje_inspector"
19091echo " Build edje_external_inspector: $have_edje_external_inspector"
19092echo
19093echo "Compilation............: make (or gmake)"
19094echo " CPPFLAGS.............: $CPPFLAGS"
19095echo " CFLAGS...............: $CFLAGS"
19096echo " LDFLAGS..............: $LDFLAGS"
19097echo
19098echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
19099echo " prefix...............: $prefix"
19100echo