2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for edje 1.7.8.
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: enlightenment-devel@lists.sourceforge.net about your
279 $0: system, including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
592 PACKAGE_TARNAME='edje'
593 PACKAGE_VERSION='1.7.8'
594 PACKAGE_STRING='edje 1.7.8'
595 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
598 ac_unique_file="configure.ac"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars='am__EXEEXT_FALSE
642 EFL_ENABLE_COVERAGE_FALSE
643 EFL_ENABLE_COVERAGE_TRUE
647 EFL_ENABLE_TESTS_FALSE
648 EFL_ENABLE_TESTS_TRUE
652 lt_enable_auto_import
655 EDJE_EXTERNAL_INSPECTOR_LIBS
656 EDJE_EXTERNAL_INSPECTOR_CFLAGS
658 EDJE_INSPECTOR_CFLAGS
681 HAVE_LIBSNDFILE_FALSE
685 ENABLE_MULTISENSE_FALSE
686 ENABLE_MULTISENSE_TRUE
701 pkgconfig_requires_private
723 EDJE_CALC_CACHE_FALSE
725 EDJE_PROGRAM_CACHE_FALSE
726 EDJE_PROGRAM_CACHE_TRUE
727 BUILD_EDJE_WATCH_FALSE
728 BUILD_EDJE_WATCH_TRUE
730 BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE
731 BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE
732 EDJE_EXTERNAL_INSPECTOR_PRG
733 BUILD_EDJE_INSPECTOR_FALSE
734 BUILD_EDJE_INSPECTOR_TRUE
736 BUILD_EDJE_PLAYER_FALSE
737 BUILD_EDJE_PLAYER_TRUE
739 BUILD_EDJE_RECC_FALSE
742 BUILD_EDJE_DECC_FALSE
749 EDJE_AMALGAMATION_FALSE
750 EDJE_AMALGAMATION_TRUE
815 INSTALL_STRIP_PROGRAM
857 program_transform_name
870 enable_option_checking
876 enable_dependency_tracking
886 enable_edje_inspector
887 enable_edje_external_inspector
889 enable_edje_program_cache
890 enable_edje_calc_cache
902 enable_build_examples
904 ac_precious_vars='build_alias
945 EDJE_INSPECTOR_CFLAGS
947 EDJE_EXTERNAL_INSPECTOR_CFLAGS
948 EDJE_EXTERNAL_INSPECTOR_LIBS
955 # Initialize some variables set by options.
957 ac_init_version=false
958 ac_unrecognized_opts=
960 # The variables have the same names as the options, with
961 # dashes changed to underlines.
969 program_transform_name=s,x,x,
977 # Installation directory options.
978 # These are left unexpanded so users can "make install exec_prefix=/foo"
979 # and all the variables that are supposed to be based on exec_prefix
980 # by default will actually change.
981 # Use braces instead of parens because sh, perl, etc. also accept them.
982 # (The list follows the same order as the GNU Coding Standards.)
983 bindir='${exec_prefix}/bin'
984 sbindir='${exec_prefix}/sbin'
985 libexecdir='${exec_prefix}/libexec'
986 datarootdir='${prefix}/share'
987 datadir='${datarootdir}'
988 sysconfdir='${prefix}/etc'
989 sharedstatedir='${prefix}/com'
990 localstatedir='${prefix}/var'
991 includedir='${prefix}/include'
992 oldincludedir='/usr/include'
993 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
994 infodir='${datarootdir}/info'
999 libdir='${exec_prefix}/lib'
1000 localedir='${datarootdir}/locale'
1001 mandir='${datarootdir}/man'
1007 # If the previous option needs an argument, assign it.
1008 if test -n "$ac_prev"; then
1009 eval $ac_prev=\$ac_option
1015 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1020 # Accept the important Cygnus configure options, so we can diagnose typos.
1022 case $ac_dashdash$ac_option in
1026 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1028 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1029 bindir=$ac_optarg ;;
1031 -build | --build | --buil | --bui | --bu)
1032 ac_prev=build_alias ;;
1033 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1034 build_alias=$ac_optarg ;;
1036 -cache-file | --cache-file | --cache-fil | --cache-fi \
1037 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1038 ac_prev=cache_file ;;
1039 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1040 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1041 cache_file=$ac_optarg ;;
1043 --config-cache | -C)
1044 cache_file=config.cache ;;
1046 -datadir | --datadir | --datadi | --datad)
1048 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1049 datadir=$ac_optarg ;;
1051 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1052 | --dataroo | --dataro | --datar)
1053 ac_prev=datarootdir ;;
1054 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1055 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1056 datarootdir=$ac_optarg ;;
1058 -disable-* | --disable-*)
1059 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062 as_fn_error $? "invalid feature name: $ac_useropt"
1063 ac_useropt_orig=$ac_useropt
1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1067 "enable_$ac_useropt"
1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1070 ac_unrecognized_sep=', ';;
1072 eval enable_$ac_useropt=no ;;
1074 -docdir | --docdir | --docdi | --doc | --do)
1076 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1077 docdir=$ac_optarg ;;
1079 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1081 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1082 dvidir=$ac_optarg ;;
1084 -enable-* | --enable-*)
1085 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1088 as_fn_error $? "invalid feature name: $ac_useropt"
1089 ac_useropt_orig=$ac_useropt
1090 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1091 case $ac_user_opts in
1093 "enable_$ac_useropt"
1095 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1096 ac_unrecognized_sep=', ';;
1098 eval enable_$ac_useropt=\$ac_optarg ;;
1100 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1101 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1102 | --exec | --exe | --ex)
1103 ac_prev=exec_prefix ;;
1104 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1105 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1106 | --exec=* | --exe=* | --ex=*)
1107 exec_prefix=$ac_optarg ;;
1109 -gas | --gas | --ga | --g)
1110 # Obsolete; use --with-gas.
1113 -help | --help | --hel | --he | -h)
1114 ac_init_help=long ;;
1115 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1116 ac_init_help=recursive ;;
1117 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1118 ac_init_help=short ;;
1120 -host | --host | --hos | --ho)
1121 ac_prev=host_alias ;;
1122 -host=* | --host=* | --hos=* | --ho=*)
1123 host_alias=$ac_optarg ;;
1125 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1127 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1129 htmldir=$ac_optarg ;;
1131 -includedir | --includedir | --includedi | --included | --include \
1132 | --includ | --inclu | --incl | --inc)
1133 ac_prev=includedir ;;
1134 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1135 | --includ=* | --inclu=* | --incl=* | --inc=*)
1136 includedir=$ac_optarg ;;
1138 -infodir | --infodir | --infodi | --infod | --info | --inf)
1140 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1141 infodir=$ac_optarg ;;
1143 -libdir | --libdir | --libdi | --libd)
1145 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1146 libdir=$ac_optarg ;;
1148 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1149 | --libexe | --libex | --libe)
1150 ac_prev=libexecdir ;;
1151 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1152 | --libexe=* | --libex=* | --libe=*)
1153 libexecdir=$ac_optarg ;;
1155 -localedir | --localedir | --localedi | --localed | --locale)
1156 ac_prev=localedir ;;
1157 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1158 localedir=$ac_optarg ;;
1160 -localstatedir | --localstatedir | --localstatedi | --localstated \
1161 | --localstate | --localstat | --localsta | --localst | --locals)
1162 ac_prev=localstatedir ;;
1163 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1164 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1165 localstatedir=$ac_optarg ;;
1167 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1169 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1170 mandir=$ac_optarg ;;
1172 -nfp | --nfp | --nf)
1173 # Obsolete; use --without-fp.
1176 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1177 | --no-cr | --no-c | -n)
1180 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1181 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1184 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1185 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1186 | --oldin | --oldi | --old | --ol | --o)
1187 ac_prev=oldincludedir ;;
1188 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1189 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1190 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1191 oldincludedir=$ac_optarg ;;
1193 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1195 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1196 prefix=$ac_optarg ;;
1198 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1199 | --program-pre | --program-pr | --program-p)
1200 ac_prev=program_prefix ;;
1201 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1202 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1203 program_prefix=$ac_optarg ;;
1205 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1206 | --program-suf | --program-su | --program-s)
1207 ac_prev=program_suffix ;;
1208 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1209 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1210 program_suffix=$ac_optarg ;;
1212 -program-transform-name | --program-transform-name \
1213 | --program-transform-nam | --program-transform-na \
1214 | --program-transform-n | --program-transform- \
1215 | --program-transform | --program-transfor \
1216 | --program-transfo | --program-transf \
1217 | --program-trans | --program-tran \
1218 | --progr-tra | --program-tr | --program-t)
1219 ac_prev=program_transform_name ;;
1220 -program-transform-name=* | --program-transform-name=* \
1221 | --program-transform-nam=* | --program-transform-na=* \
1222 | --program-transform-n=* | --program-transform-=* \
1223 | --program-transform=* | --program-transfor=* \
1224 | --program-transfo=* | --program-transf=* \
1225 | --program-trans=* | --program-tran=* \
1226 | --progr-tra=* | --program-tr=* | --program-t=*)
1227 program_transform_name=$ac_optarg ;;
1229 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1231 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1232 pdfdir=$ac_optarg ;;
1234 -psdir | --psdir | --psdi | --psd | --ps)
1236 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1239 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1240 | -silent | --silent | --silen | --sile | --sil)
1243 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1245 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1247 sbindir=$ac_optarg ;;
1249 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1250 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1251 | --sharedst | --shareds | --shared | --share | --shar \
1253 ac_prev=sharedstatedir ;;
1254 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1255 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1256 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1258 sharedstatedir=$ac_optarg ;;
1260 -site | --site | --sit)
1262 -site=* | --site=* | --sit=*)
1265 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1267 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1268 srcdir=$ac_optarg ;;
1270 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1271 | --syscon | --sysco | --sysc | --sys | --sy)
1272 ac_prev=sysconfdir ;;
1273 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1274 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1275 sysconfdir=$ac_optarg ;;
1277 -target | --target | --targe | --targ | --tar | --ta | --t)
1278 ac_prev=target_alias ;;
1279 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1280 target_alias=$ac_optarg ;;
1282 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1285 -version | --version | --versio | --versi | --vers | -V)
1286 ac_init_version=: ;;
1289 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1290 # Reject names that are not valid shell variable names.
1291 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1292 as_fn_error $? "invalid package name: $ac_useropt"
1293 ac_useropt_orig=$ac_useropt
1294 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1295 case $ac_user_opts in
1299 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1300 ac_unrecognized_sep=', ';;
1302 eval with_$ac_useropt=\$ac_optarg ;;
1304 -without-* | --without-*)
1305 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1306 # Reject names that are not valid shell variable names.
1307 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1308 as_fn_error $? "invalid package name: $ac_useropt"
1309 ac_useropt_orig=$ac_useropt
1310 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1311 case $ac_user_opts in
1315 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1316 ac_unrecognized_sep=', ';;
1318 eval with_$ac_useropt=no ;;
1321 # Obsolete; use --with-x.
1324 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1325 | --x-incl | --x-inc | --x-in | --x-i)
1326 ac_prev=x_includes ;;
1327 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1328 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1329 x_includes=$ac_optarg ;;
1331 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1332 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1333 ac_prev=x_libraries ;;
1334 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1335 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1336 x_libraries=$ac_optarg ;;
1338 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1339 Try \`$0 --help' for more information"
1343 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1344 # Reject names that are not valid shell variable names.
1345 case $ac_envvar in #(
1346 '' | [0-9]* | *[!_$as_cr_alnum]* )
1347 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1349 eval $ac_envvar=\$ac_optarg
1350 export $ac_envvar ;;
1353 # FIXME: should be removed in autoconf 3.0.
1354 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1355 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1356 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1357 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1363 if test -n "$ac_prev"; then
1364 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1365 as_fn_error $? "missing argument to $ac_option"
1368 if test -n "$ac_unrecognized_opts"; then
1369 case $enable_option_checking in
1371 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1372 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1376 # Check all directory arguments for consistency.
1377 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1378 datadir sysconfdir sharedstatedir localstatedir includedir \
1379 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1380 libdir localedir mandir
1382 eval ac_val=\$$ac_var
1383 # Remove trailing slashes.
1386 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1387 eval $ac_var=\$ac_val;;
1389 # Be sure to have absolute directory names.
1391 [\\/$]* | ?:[\\/]* ) continue;;
1392 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1394 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1397 # There might be people who depend on the old broken behavior: `$host'
1398 # used to hold the argument of --host etc.
1399 # FIXME: To remove some day.
1402 target=$target_alias
1404 # FIXME: To remove some day.
1405 if test "x$host_alias" != x; then
1406 if test "x$build_alias" = x; then
1407 cross_compiling=maybe
1408 elif test "x$build_alias" != "x$host_alias"; then
1414 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1416 test "$silent" = yes && exec 6>/dev/null
1419 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1420 ac_ls_di=`ls -di .` &&
1421 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1422 as_fn_error $? "working directory cannot be determined"
1423 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1424 as_fn_error $? "pwd does not report name of working directory"
1427 # Find the source files, if location was not specified.
1428 if test -z "$srcdir"; then
1429 ac_srcdir_defaulted=yes
1430 # Try the directory containing this script, then the parent directory.
1431 ac_confdir=`$as_dirname -- "$as_myself" ||
1432 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1433 X"$as_myself" : 'X\(//\)[^/]' \| \
1434 X"$as_myself" : 'X\(//\)$' \| \
1435 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1436 $as_echo X"$as_myself" |
1437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1455 if test ! -r "$srcdir/$ac_unique_file"; then
1459 ac_srcdir_defaulted=no
1461 if test ! -r "$srcdir/$ac_unique_file"; then
1462 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1463 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1465 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1467 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1469 # When building in place, set srcdir=.
1470 if test "$ac_abs_confdir" = "$ac_pwd"; then
1473 # Remove unnecessary trailing slashes from srcdir.
1474 # Double slashes in file names in object file debugging info
1475 # mess up M-x gdb in Emacs.
1477 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1479 for ac_var in $ac_precious_vars; do
1480 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1481 eval ac_env_${ac_var}_value=\$${ac_var}
1482 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1483 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1487 # Report the --help message.
1489 if test "$ac_init_help" = "long"; then
1490 # Omit some internal or obsolete options to make the list less imposing.
1491 # This message is too long to be a string in the A/UX 3.1 sh.
1493 \`configure' configures edje 1.7.8 to adapt to many kinds of systems.
1495 Usage: $0 [OPTION]... [VAR=VALUE]...
1497 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1498 VAR=VALUE. See below for descriptions of some of the useful variables.
1500 Defaults for the options are specified in brackets.
1503 -h, --help display this help and exit
1504 --help=short display options specific to this package
1505 --help=recursive display the short help of all the included packages
1506 -V, --version display version information and exit
1507 -q, --quiet, --silent do not print \`checking ...' messages
1508 --cache-file=FILE cache test results in FILE [disabled]
1509 -C, --config-cache alias for \`--cache-file=config.cache'
1510 -n, --no-create do not create output files
1511 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1513 Installation directories:
1514 --prefix=PREFIX install architecture-independent files in PREFIX
1515 [$ac_default_prefix]
1516 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1519 By default, \`make install' will install all the files in
1520 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1521 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1522 for instance \`--prefix=\$HOME'.
1524 For better control, use the options below.
1526 Fine tuning of the installation directories:
1527 --bindir=DIR user executables [EPREFIX/bin]
1528 --sbindir=DIR system admin executables [EPREFIX/sbin]
1529 --libexecdir=DIR program executables [EPREFIX/libexec]
1530 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1531 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1532 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1533 --libdir=DIR object code libraries [EPREFIX/lib]
1534 --includedir=DIR C header files [PREFIX/include]
1535 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1536 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1537 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1538 --infodir=DIR info documentation [DATAROOTDIR/info]
1539 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1540 --mandir=DIR man documentation [DATAROOTDIR/man]
1541 --docdir=DIR documentation root [DATAROOTDIR/doc/edje]
1542 --htmldir=DIR html documentation [DOCDIR]
1543 --dvidir=DIR dvi documentation [DOCDIR]
1544 --pdfdir=DIR pdf documentation [DOCDIR]
1545 --psdir=DIR ps documentation [DOCDIR]
1551 --program-prefix=PREFIX prepend PREFIX to installed program names
1552 --program-suffix=SUFFIX append SUFFIX to installed program names
1553 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1556 --build=BUILD configure for building on BUILD [guessed]
1557 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1561 if test -n "$ac_init_help"; then
1562 case $ac_init_help in
1563 short | recursive ) echo "Configuration of edje 1.7.8:";;
1568 --disable-option-checking ignore unrecognized --enable/--with options
1569 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1570 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1571 --enable-silent-rules less verbose build output (undo: "make V=1")
1572 --disable-silent-rules verbose build output (undo: "make V=0")
1573 --enable-shared[=PKGS] build shared libraries [default=yes]
1574 --enable-static[=PKGS] build static libraries [default=yes]
1575 --enable-fast-install[=PKGS]
1576 optimize for fast installation [default=yes]
1577 --enable-dependency-tracking
1578 do not reject slow dependency extractors
1579 --disable-dependency-tracking
1580 speeds up one-time build
1581 --disable-libtool-lock avoid locking (might break parallel builds)
1582 --enable-amalgamation enable generation of one single file with all source
1583 code in it, helps compiler optimizations.
1584 --disable-edje-cc disable building of edje_cc
1585 --disable-edje-decc disable building of edje_decc
1586 --disable-edje-recc disable building of edje_recc
1587 --disable-edje-player disable building of edje_player
1588 --disable-edje-inspector
1589 disable building of edje_inspector
1590 --disable-edje-external-inspector
1591 disable building of edje_external_inspector
1592 --disable-edje-watch disable building of edje_watch
1593 --enable-edje-program-cache
1594 enable EDJE_PROGRAM_CACHE support.
1595 [[default=disabled]]
1596 --enable-edje-calc-cache
1597 enable EDJE_CALC_CACHE support. [[default=disabled]]
1598 --enable-fixed-point reduce use of FPU by using Fixed Point provided by
1599 Eina and Eet, [[default=disabled]]
1600 --disable-doc Disable documentation build [default=enabled]
1601 --disable-sndfile disable sndfile support. [default=detect]
1602 --disable-remix disable remix support. [default=detect]
1603 --disable-vorbis disable ogg-vorbis support. [default=detect]
1604 --disable-alsa disable alsa support. [default=detect]
1605 --disable-flac disable flac support. [default=detect]
1606 --enable-tests enable tests [default=disabled]
1607 --enable-coverage enable coverage profiling instrumentation
1609 --enable-build-examples Enable building examples. This requires extra
1610 dependencies. If you don't have them installed yet,
1611 don't build with this option or it will fail. Build
1612 again when you have it, overriding the previous
1613 installation). [default==disabled]
1616 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1617 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1618 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1620 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1621 --with-sysroot=DIR Search for dependent libraries within DIR
1622 (or the compiler's sysroot if not specified).
1623 --with-edje-cc=PATH specify a specific path to edje_cc [default=edje_cc]
1624 --with-vim=DIR Location of Vim data files [[autodetect]]
1625 --with-doxygen=FILE doxygen program to use [default=doxygen]
1627 Some influential environment variables:
1628 CC C compiler command
1629 CFLAGS C compiler flags
1630 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1631 nonstandard directory <lib dir>
1632 LIBS libraries to pass to the linker, e.g. -l<library>
1633 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1634 you have headers in a nonstandard directory <include dir>
1636 PYTHON the Python interpreter
1637 PKG_CONFIG path to pkg-config utility
1639 directories to add to pkg-config's search path
1641 path overriding pkg-config's built-in search path
1642 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1643 EVIL_LIBS linker flags for EVIL, overriding pkg-config
1644 LUA_CFLAGS C compiler flags for LUA, overriding pkg-config
1645 LUA_LIBS linker flags for LUA, overriding pkg-config
1647 C compiler flags for MINIMAL, overriding pkg-config
1649 linker flags for MINIMAL, overriding pkg-config
1650 EDJE_CFLAGS C compiler flags for EDJE, overriding pkg-config
1651 EDJE_LIBS linker flags for EDJE, overriding pkg-config
1653 C compiler flags for ECORE_IMF, overriding pkg-config
1655 linker flags for ECORE_IMF, overriding pkg-config
1656 EIO_CFLAGS C compiler flags for EIO, overriding pkg-config
1657 EIO_LIBS linker flags for EIO, overriding pkg-config
1659 C compiler flags for SNDFILE, overriding pkg-config
1661 linker flags for SNDFILE, overriding pkg-config
1663 C compiler flags for REMIX, overriding pkg-config
1664 REMIX_LIBS linker flags for REMIX, overriding pkg-config
1666 C compiler flags for VORBISENC, overriding pkg-config
1668 linker flags for VORBISENC, overriding pkg-config
1669 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1670 ALSA_LIBS linker flags for ALSA, overriding pkg-config
1671 FLAC_CFLAGS C compiler flags for FLAC, overriding pkg-config
1672 FLAC_LIBS linker flags for FLAC, overriding pkg-config
1674 C compiler flags for EDJE_CC, overriding pkg-config
1676 linker flags for EDJE_CC, overriding pkg-config
1678 C compiler flags for EDJE_DECC, overriding pkg-config
1680 linker flags for EDJE_DECC, overriding pkg-config
1682 C compiler flags for EDJE_PLAYER, overriding pkg-config
1684 linker flags for EDJE_PLAYER, overriding pkg-config
1685 EDJE_INSPECTOR_CFLAGS
1686 C compiler flags for EDJE_INSPECTOR, overriding pkg-config
1688 linker flags for EDJE_INSPECTOR, overriding pkg-config
1689 EDJE_EXTERNAL_INSPECTOR_CFLAGS
1690 C compiler flags for EDJE_EXTERNAL_INSPECTOR, overriding
1692 EDJE_EXTERNAL_INSPECTOR_LIBS
1693 linker flags for EDJE_EXTERNAL_INSPECTOR, overriding pkg-config
1695 C compiler flags for EDJE_WATCH, overriding pkg-config
1697 linker flags for EDJE_WATCH, overriding pkg-config
1699 C compiler flags for CHECK, overriding pkg-config
1700 CHECK_LIBS linker flags for CHECK, overriding pkg-config
1702 Use these variables to override the choices made by `configure' or to help
1703 it to find libraries and programs with nonstandard names/locations.
1705 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1710 if test "$ac_init_help" = "recursive"; then
1711 # If there are subdirs, report their specific --help.
1712 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1713 test -d "$ac_dir" ||
1714 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1719 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1721 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1722 # A ".." for each directory in $ac_dir_suffix.
1723 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1724 case $ac_top_builddir_sub in
1725 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1726 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1729 ac_abs_top_builddir=$ac_pwd
1730 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1731 # for backward compatibility:
1732 ac_top_builddir=$ac_top_build_prefix
1735 .) # We are building in place.
1737 ac_top_srcdir=$ac_top_builddir_sub
1738 ac_abs_top_srcdir=$ac_pwd ;;
1739 [\\/]* | ?:[\\/]* ) # Absolute name.
1740 ac_srcdir=$srcdir$ac_dir_suffix;
1741 ac_top_srcdir=$srcdir
1742 ac_abs_top_srcdir=$srcdir ;;
1744 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1745 ac_top_srcdir=$ac_top_build_prefix$srcdir
1746 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1748 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1750 cd "$ac_dir" || { ac_status=$?; continue; }
1751 # Check for guested configure.
1752 if test -f "$ac_srcdir/configure.gnu"; then
1754 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1755 elif test -f "$ac_srcdir/configure"; then
1757 $SHELL "$ac_srcdir/configure" --help=recursive
1759 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1761 cd "$ac_pwd" || { ac_status=$?; break; }
1765 test -n "$ac_init_help" && exit $ac_status
1766 if $ac_init_version; then
1768 edje configure 1.7.8
1769 generated by GNU Autoconf 2.69
1771 Copyright (C) 2012 Free Software Foundation, Inc.
1772 This configure script is free software; the Free Software Foundation
1773 gives unlimited permission to copy, distribute and modify it.
1778 ## ------------------------ ##
1779 ## Autoconf initialization. ##
1780 ## ------------------------ ##
1782 # ac_fn_c_try_compile LINENO
1783 # --------------------------
1784 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1785 ac_fn_c_try_compile ()
1787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788 rm -f conftest.$ac_objext
1789 if { { ac_try="$ac_compile"
1791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792 *) ac_try_echo=$ac_try;;
1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_compile") 2>conftest.err
1798 if test -s conftest.err; then
1799 grep -v '^ *+' conftest.err >conftest.er1
1800 cat conftest.er1 >&5
1801 mv -f conftest.er1 conftest.err
1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804 test $ac_status = 0; } && {
1805 test -z "$ac_c_werror_flag" ||
1806 test ! -s conftest.err
1807 } && test -s conftest.$ac_objext; then :
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816 as_fn_set_status $ac_retval
1818 } # ac_fn_c_try_compile
1820 # ac_fn_c_try_link LINENO
1821 # -----------------------
1822 # Try to link conftest.$ac_ext, and return whether this succeeded.
1825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826 rm -f conftest.$ac_objext conftest$ac_exeext
1827 if { { ac_try="$ac_link"
1829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1830 *) ac_try_echo=$ac_try;;
1832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833 $as_echo "$ac_try_echo"; } >&5
1834 (eval "$ac_link") 2>conftest.err
1836 if test -s conftest.err; then
1837 grep -v '^ *+' conftest.err >conftest.er1
1838 cat conftest.er1 >&5
1839 mv -f conftest.er1 conftest.err
1841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1842 test $ac_status = 0; } && {
1843 test -z "$ac_c_werror_flag" ||
1844 test ! -s conftest.err
1845 } && test -s conftest$ac_exeext && {
1846 test "$cross_compiling" = yes ||
1847 test -x conftest$ac_exeext
1851 $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.$ac_ext >&5
1856 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1857 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1858 # interfere with the next link command; also delete a directory that is
1859 # left behind by Apple's compiler. We do this before executing the actions.
1860 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1862 as_fn_set_status $ac_retval
1864 } # ac_fn_c_try_link
1866 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1867 # -------------------------------------------------------
1868 # Tests whether HEADER exists and can be compiled using the include files in
1869 # INCLUDES, setting the cache variable VAR accordingly.
1870 ac_fn_c_check_header_compile ()
1872 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1874 $as_echo_n "checking for $2... " >&6; }
1875 if eval \${$3+:} false; then :
1876 $as_echo_n "(cached) " >&6
1878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1879 /* end confdefs.h. */
1883 if ac_fn_c_try_compile "$LINENO"; then :
1888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1892 $as_echo "$ac_res" >&6; }
1893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895 } # ac_fn_c_check_header_compile
1897 # ac_fn_c_try_cpp LINENO
1898 # ----------------------
1899 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1902 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1903 if { { ac_try="$ac_cpp conftest.$ac_ext"
1905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1906 *) ac_try_echo=$ac_try;;
1908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1909 $as_echo "$ac_try_echo"; } >&5
1910 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1912 if test -s conftest.err; then
1913 grep -v '^ *+' conftest.err >conftest.er1
1914 cat conftest.er1 >&5
1915 mv -f conftest.er1 conftest.err
1917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1918 test $ac_status = 0; } > conftest.i && {
1919 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1920 test ! -s conftest.err
1924 $as_echo "$as_me: failed program was:" >&5
1925 sed 's/^/| /' conftest.$ac_ext >&5
1929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1930 as_fn_set_status $ac_retval
1934 # ac_fn_c_try_run LINENO
1935 # ----------------------
1936 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1937 # that executables *can* be run.
1940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941 if { { ac_try="$ac_link"
1943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1944 *) ac_try_echo=$ac_try;;
1946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1947 $as_echo "$ac_try_echo"; } >&5
1948 (eval "$ac_link") 2>&5
1950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1951 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1952 { { case "(($ac_try" in
1953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1954 *) ac_try_echo=$ac_try;;
1956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1957 $as_echo "$ac_try_echo"; } >&5
1958 (eval "$ac_try") 2>&5
1960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1961 test $ac_status = 0; }; }; then :
1964 $as_echo "$as_me: program exited with status $ac_status" >&5
1965 $as_echo "$as_me: failed program was:" >&5
1966 sed 's/^/| /' conftest.$ac_ext >&5
1968 ac_retval=$ac_status
1970 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 as_fn_set_status $ac_retval
1976 # ac_fn_c_check_func LINENO FUNC VAR
1977 # ----------------------------------
1978 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1979 ac_fn_c_check_func ()
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1983 $as_echo_n "checking for $2... " >&6; }
1984 if eval \${$3+:} false; then :
1985 $as_echo_n "(cached) " >&6
1987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1988 /* end confdefs.h. */
1989 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1991 #define $2 innocuous_$2
1993 /* System header to define __stub macros and hopefully few prototypes,
1994 which can conflict with char $2 (); below.
1995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1996 <limits.h> exists even on freestanding compilers. */
1999 # include <limits.h>
2001 # include <assert.h>
2006 /* Override any GCC internal prototype to avoid an error.
2007 Use char because int might match the return type of a GCC
2008 builtin and then its argument prototype would still apply. */
2013 /* The GNU C library defines this for functions which it implements
2014 to always fail with ENOSYS. Some functions are actually named
2015 something starting with __ and the normal name is an alias. */
2016 #if defined __stub_$2 || defined __stub___$2
2028 if ac_fn_c_try_link "$LINENO"; then :
2033 rm -f core conftest.err conftest.$ac_objext \
2034 conftest$ac_exeext conftest.$ac_ext
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2039 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2041 } # ac_fn_c_check_func
2043 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2044 # -------------------------------------------------------
2045 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2046 # the include files in INCLUDES and setting the cache variable VAR
2048 ac_fn_c_check_header_mongrel ()
2050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2051 if eval \${$3+:} false; then :
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2053 $as_echo_n "checking for $2... " >&6; }
2054 if eval \${$3+:} false; then :
2055 $as_echo_n "(cached) " >&6
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2059 $as_echo "$ac_res" >&6; }
2061 # Is the header compilable?
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2063 $as_echo_n "checking $2 usability... " >&6; }
2064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h. */
2069 if ac_fn_c_try_compile "$LINENO"; then :
2070 ac_header_compiler=yes
2072 ac_header_compiler=no
2074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2076 $as_echo "$ac_header_compiler" >&6; }
2078 # Is the header present?
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2080 $as_echo_n "checking $2 presence... " >&6; }
2081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h. */
2085 if ac_fn_c_try_cpp "$LINENO"; then :
2086 ac_header_preproc=yes
2088 ac_header_preproc=no
2090 rm -f conftest.err conftest.i conftest.$ac_ext
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2092 $as_echo "$ac_header_preproc" >&6; }
2094 # So? What about this header?
2095 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2098 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2100 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2104 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2106 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2108 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2110 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2112 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2113 ( $as_echo "## -------------------------------------------------------- ##
2114 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2115 ## -------------------------------------------------------- ##"
2116 ) | sed "s/^/$as_me: WARNING: /" >&2
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2120 $as_echo_n "checking for $2... " >&6; }
2121 if eval \${$3+:} false; then :
2122 $as_echo_n "(cached) " >&6
2124 eval "$3=\$ac_header_compiler"
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2128 $as_echo "$ac_res" >&6; }
2130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2132 } # ac_fn_c_check_header_mongrel
2134 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2135 # -------------------------------------------
2136 # Tests whether TYPE exists after having included INCLUDES, setting cache
2137 # variable VAR accordingly.
2138 ac_fn_c_check_type ()
2140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2142 $as_echo_n "checking for $2... " >&6; }
2143 if eval \${$3+:} false; then :
2144 $as_echo_n "(cached) " >&6
2147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2148 /* end confdefs.h. */
2159 if ac_fn_c_try_compile "$LINENO"; then :
2160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2172 if ac_fn_c_try_compile "$LINENO"; then :
2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2183 $as_echo "$ac_res" >&6; }
2184 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2186 } # ac_fn_c_check_type
2187 cat >config.log <<_ACEOF
2188 This file contains any messages produced by compilers while
2189 running configure, to aid debugging if configure makes a mistake.
2191 It was created by edje $as_me 1.7.8, which was
2192 generated by GNU Autoconf 2.69. Invocation command line was
2204 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2205 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2206 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2207 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2208 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2210 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2211 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2213 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2214 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2215 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2216 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2217 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2218 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2219 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227 test -z "$as_dir" && as_dir=.
2228 $as_echo "PATH: $as_dir"
2244 # Keep a trace of the command line.
2245 # Strip out --no-create and --no-recursion so they do not pile up.
2246 # Strip out --silent because we don't want to record it for future runs.
2247 # Also quote any args containing shell meta-characters.
2248 # Make two passes to allow for proper duplicate-argument suppression.
2252 ac_must_keep_next=false
2258 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2259 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2260 | -silent | --silent | --silen | --sile | --sil)
2263 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2266 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2268 as_fn_append ac_configure_args1 " '$ac_arg'"
2269 if test $ac_must_keep_next = true; then
2270 ac_must_keep_next=false # Got value, back to normal.
2273 *=* | --config-cache | -C | -disable-* | --disable-* \
2274 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2275 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2276 | -with-* | --with-* | -without-* | --without-* | --x)
2277 case "$ac_configure_args0 " in
2278 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2281 -* ) ac_must_keep_next=true ;;
2284 as_fn_append ac_configure_args " '$ac_arg'"
2289 { ac_configure_args0=; unset ac_configure_args0;}
2290 { ac_configure_args1=; unset ac_configure_args1;}
2292 # When interrupted or exit'd, cleanup temporary files, and complete
2293 # config.log. We remove comments because anyway the quotes in there
2294 # would cause problems or look ugly.
2295 # WARNING: Use '\'' to represent an apostrophe within the trap.
2296 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2297 trap 'exit_status=$?
2298 # Save into config.log some information that might help in debugging.
2302 $as_echo "## ---------------- ##
2303 ## Cache variables. ##
2304 ## ---------------- ##"
2306 # The following way of writing the cache mishandles newlines in values,
2308 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2309 eval ac_val=\$$ac_var
2313 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2314 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2317 _ | IFS | as_nl) ;; #(
2318 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2319 *) { eval $ac_var=; unset $ac_var;} ;;
2324 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2325 *${as_nl}ac_space=\ *)
2327 "s/'\''/'\''\\\\'\'''\''/g;
2328 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2331 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2338 $as_echo "## ----------------- ##
2339 ## Output variables. ##
2340 ## ----------------- ##"
2342 for ac_var in $ac_subst_vars
2344 eval ac_val=\$$ac_var
2346 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2348 $as_echo "$ac_var='\''$ac_val'\''"
2352 if test -n "$ac_subst_files"; then
2353 $as_echo "## ------------------- ##
2354 ## File substitutions. ##
2355 ## ------------------- ##"
2357 for ac_var in $ac_subst_files
2359 eval ac_val=\$$ac_var
2361 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2363 $as_echo "$ac_var='\''$ac_val'\''"
2368 if test -s confdefs.h; then
2369 $as_echo "## ----------- ##
2376 test "$ac_signal" != 0 &&
2377 $as_echo "$as_me: caught signal $ac_signal"
2378 $as_echo "$as_me: exit $exit_status"
2380 rm -f core *.core core.conftest.* &&
2381 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2384 for ac_signal in 1 2 13 15; do
2385 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2389 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2390 rm -f -r conftest* confdefs.h
2392 $as_echo "/* confdefs.h */" > confdefs.h
2394 # Predefined preprocessor variables.
2396 cat >>confdefs.h <<_ACEOF
2397 #define PACKAGE_NAME "$PACKAGE_NAME"
2400 cat >>confdefs.h <<_ACEOF
2401 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2404 cat >>confdefs.h <<_ACEOF
2405 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2408 cat >>confdefs.h <<_ACEOF
2409 #define PACKAGE_STRING "$PACKAGE_STRING"
2412 cat >>confdefs.h <<_ACEOF
2413 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2416 cat >>confdefs.h <<_ACEOF
2417 #define PACKAGE_URL "$PACKAGE_URL"
2421 # Let the site file select an alternate cache file if it wants to.
2422 # Prefer an explicitly selected file to automatically selected ones.
2425 if test -n "$CONFIG_SITE"; then
2426 # We do not want a PATH search for config.site.
2427 case $CONFIG_SITE in #((
2428 -*) ac_site_file1=./$CONFIG_SITE;;
2429 */*) ac_site_file1=$CONFIG_SITE;;
2430 *) ac_site_file1=./$CONFIG_SITE;;
2432 elif test "x$prefix" != xNONE; then
2433 ac_site_file1=$prefix/share/config.site
2434 ac_site_file2=$prefix/etc/config.site
2436 ac_site_file1=$ac_default_prefix/share/config.site
2437 ac_site_file2=$ac_default_prefix/etc/config.site
2439 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2441 test "x$ac_site_file" = xNONE && continue
2442 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2444 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2445 sed 's/^/| /' "$ac_site_file" >&5
2447 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2449 as_fn_error $? "failed to load site script $ac_site_file
2450 See \`config.log' for more details" "$LINENO" 5; }
2454 if test -r "$cache_file"; then
2455 # Some versions of bash will fail to source /dev/null (special files
2456 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2457 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2459 $as_echo "$as_me: loading cache $cache_file" >&6;}
2461 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2462 *) . "./$cache_file";;
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2467 $as_echo "$as_me: creating cache $cache_file" >&6;}
2471 # Check that the precious variables saved in the cache have kept the same
2473 ac_cache_corrupted=false
2474 for ac_var in $ac_precious_vars; do
2475 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2476 eval ac_new_set=\$ac_env_${ac_var}_set
2477 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2478 eval ac_new_val=\$ac_env_${ac_var}_value
2479 case $ac_old_set,$ac_new_set in
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2482 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2483 ac_cache_corrupted=: ;;
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2486 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2487 ac_cache_corrupted=: ;;
2490 if test "x$ac_old_val" != "x$ac_new_val"; then
2491 # differences in whitespace do not lead to failure.
2492 ac_old_val_w=`echo x $ac_old_val`
2493 ac_new_val_w=`echo x $ac_new_val`
2494 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2496 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2497 ac_cache_corrupted=:
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2500 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2501 eval $ac_var=\$ac_old_val
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2504 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2506 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2509 # Pass precious variables to config.status.
2510 if test "$ac_new_set" = set; then
2512 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2513 *) ac_arg=$ac_var=$ac_new_val ;;
2515 case " $ac_configure_args " in
2516 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2517 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2521 if $ac_cache_corrupted; then
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2525 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2526 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2528 ## -------------------- ##
2529 ## Main body of script. ##
2530 ## -------------------- ##
2533 ac_cpp='$CPP $CPPFLAGS'
2534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2543 ac_config_headers="$ac_config_headers config.h"
2548 am__api_version='1.13'
2551 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2552 if test -f "$ac_dir/install-sh"; then
2554 ac_install_sh="$ac_aux_dir/install-sh -c"
2556 elif test -f "$ac_dir/install.sh"; then
2558 ac_install_sh="$ac_aux_dir/install.sh -c"
2560 elif test -f "$ac_dir/shtool"; then
2562 ac_install_sh="$ac_aux_dir/shtool install -c"
2566 if test -z "$ac_aux_dir"; then
2567 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2570 # These three variables are undocumented and unsupported,
2571 # and are intended to be withdrawn in a future Autoconf release.
2572 # They can cause serious problems if a builder's source tree is in a directory
2573 # whose full name contains unusual characters.
2574 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2575 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2576 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2579 # Find a good install program. We prefer a C program (faster),
2580 # so one script is as good as another. But avoid the broken or
2581 # incompatible versions:
2582 # SysV /etc/install, /usr/sbin/install
2583 # SunOS /usr/etc/install
2584 # IRIX /sbin/install
2586 # AmigaOS /C/install, which installs bootblocks on floppy discs
2587 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2588 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2589 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2590 # OS/2's system install, which has a completely different semantic
2591 # ./install, which can be erroneously created by make from ./install.sh.
2592 # Reject install programs that cannot install multiple files.
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2594 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2595 if test -z "$INSTALL"; then
2596 if ${ac_cv_path_install+:} false; then :
2597 $as_echo_n "(cached) " >&6
2599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2603 test -z "$as_dir" && as_dir=.
2604 # Account for people who put trailing slashes in PATH elements.
2605 case $as_dir/ in #((
2606 ./ | .// | /[cC]/* | \
2607 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2608 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2611 # OSF1 and SCO ODT 3.0 have their own names for install.
2612 # Don't use installbsd from OSF since it installs stuff as root
2614 for ac_prog in ginstall scoinst install; do
2615 for ac_exec_ext in '' $ac_executable_extensions; do
2616 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2617 if test $ac_prog = install &&
2618 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2619 # AIX install. It has an incompatible calling convention.
2621 elif test $ac_prog = install &&
2622 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2623 # program-specific install script used by HP pwplus--don't use.
2626 rm -rf conftest.one conftest.two conftest.dir
2627 echo one > conftest.one
2628 echo two > conftest.two
2630 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2631 test -s conftest.one && test -s conftest.two &&
2632 test -s conftest.dir/conftest.one &&
2633 test -s conftest.dir/conftest.two
2635 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2648 rm -rf conftest.one conftest.two conftest.dir
2651 if test "${ac_cv_path_install+set}" = set; then
2652 INSTALL=$ac_cv_path_install
2654 # As a last resort, use the slow shell script. Don't cache a
2655 # value for INSTALL within a source directory, because that will
2656 # break other packages using the cache if that directory is
2657 # removed, or if the value is a relative name.
2658 INSTALL=$ac_install_sh
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2662 $as_echo "$INSTALL" >&6; }
2664 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2665 # It thinks the first close brace ends the variable substitution.
2666 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2668 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2670 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2673 $as_echo_n "checking whether build environment is sane... " >&6; }
2674 # Reject unsafe characters in $srcdir or the absolute working directory
2675 # name. Accept space and tab only in the latter.
2679 *[\\\"\#\$\&\'\`$am_lf]*)
2680 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2683 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2684 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2687 # Do 'set' in a subshell so we don't clobber the current shell's
2688 # arguments. Must try -L first in case configure is actually a
2689 # symlink; some systems play weird games with the mod time of symlinks
2690 # (eg FreeBSD returns the mod time of the symlink's containing
2694 for am_try in 1 2; do
2695 echo "timestamp, slept: $am_has_slept" > conftest.file
2696 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2697 if test "$*" = "X"; then
2699 set X `ls -t "$srcdir/configure" conftest.file`
2701 if test "$*" != "X $srcdir/configure conftest.file" \
2702 && test "$*" != "X conftest.file $srcdir/configure"; then
2704 # If neither matched, then we have a broken ls. This can happen
2705 # if, for instance, CONFIG_SHELL is bash and it inherits a
2706 # broken ls alias from the environment. This has actually
2707 # happened. Such a system could not be considered "sane".
2708 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2709 alias in your environment" "$LINENO" 5
2711 if test "$2" = conftest.file || test $am_try -eq 2; then
2718 test "$2" = conftest.file
2724 as_fn_error $? "newly created file is older than distributed files!
2725 Check your system clock" "$LINENO" 5
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2728 $as_echo "yes" >&6; }
2729 # If we didn't sleep, we still need to ensure time stamps of config.status and
2730 # generated files are strictly newer.
2732 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2739 test "$program_prefix" != NONE &&
2740 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2741 # Use a double $ so make ignores it.
2742 test "$program_suffix" != NONE &&
2743 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2744 # Double any \ or $.
2745 # By default was `s,x,x', remove it if useless.
2746 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2747 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2749 # expand $ac_aux_dir to an absolute path
2750 am_aux_dir=`cd $ac_aux_dir && pwd`
2752 if test x"${MISSING+set}" != xset; then
2755 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2757 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2760 # Use eval to expand $SHELL
2761 if eval "$MISSING --is-lightweight"; then
2762 am_missing_run="$MISSING "
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2766 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2769 if test x"${install_sh}" != xset; then
2772 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2774 install_sh="\${SHELL} $am_aux_dir/install-sh"
2778 # Installed binaries are usually stripped using 'strip' when the user
2779 # run "make install-strip". However 'strip' might not be the right
2780 # tool to use in cross-compilation environments, therefore Automake
2781 # will honor the 'STRIP' environment variable to overrule this program.
2782 if test "$cross_compiling" != no; then
2783 if test -n "$ac_tool_prefix"; then
2784 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2785 set dummy ${ac_tool_prefix}strip; ac_word=$2
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2787 $as_echo_n "checking for $ac_word... " >&6; }
2788 if ${ac_cv_prog_STRIP+:} false; then :
2789 $as_echo_n "(cached) " >&6
2791 if test -n "$STRIP"; then
2792 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2798 test -z "$as_dir" && as_dir=.
2799 for ac_exec_ext in '' $ac_executable_extensions; do
2800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2801 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2811 STRIP=$ac_cv_prog_STRIP
2812 if test -n "$STRIP"; then
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2814 $as_echo "$STRIP" >&6; }
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2817 $as_echo "no" >&6; }
2822 if test -z "$ac_cv_prog_STRIP"; then
2824 # Extract the first word of "strip", so it can be a program name with args.
2825 set dummy strip; ac_word=$2
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827 $as_echo_n "checking for $ac_word... " >&6; }
2828 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2829 $as_echo_n "(cached) " >&6
2831 if test -n "$ac_ct_STRIP"; then
2832 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir=.
2839 for ac_exec_ext in '' $ac_executable_extensions; do
2840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_prog_ac_ct_STRIP="strip"
2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2851 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2852 if test -n "$ac_ct_STRIP"; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2854 $as_echo "$ac_ct_STRIP" >&6; }
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857 $as_echo "no" >&6; }
2860 if test "x$ac_ct_STRIP" = x; then
2863 case $cross_compiling:$ac_tool_warned in
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2867 ac_tool_warned=yes ;;
2872 STRIP="$ac_cv_prog_STRIP"
2876 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2879 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2880 if test -z "$MKDIR_P"; then
2881 if ${ac_cv_path_mkdir+:} false; then :
2882 $as_echo_n "(cached) " >&6
2884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2885 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2888 test -z "$as_dir" && as_dir=.
2889 for ac_prog in mkdir gmkdir; do
2890 for ac_exec_ext in '' $ac_executable_extensions; do
2891 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2892 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2893 'mkdir (GNU coreutils) '* | \
2894 'mkdir (coreutils) '* | \
2895 'mkdir (fileutils) '4.1*)
2896 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2906 test -d ./--version && rmdir ./--version
2907 if test "${ac_cv_path_mkdir+set}" = set; then
2908 MKDIR_P="$ac_cv_path_mkdir -p"
2910 # As a last resort, use the slow shell script. Don't cache a
2911 # value for MKDIR_P within a source directory, because that will
2912 # break other packages using the cache if that directory is
2913 # removed, or if the value is a relative name.
2914 MKDIR_P="$ac_install_sh -d"
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2918 $as_echo "$MKDIR_P" >&6; }
2920 for ac_prog in gawk mawk nawk awk
2922 # Extract the first word of "$ac_prog", so it can be a program name with args.
2923 set dummy $ac_prog; ac_word=$2
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2925 $as_echo_n "checking for $ac_word... " >&6; }
2926 if ${ac_cv_prog_AWK+:} false; then :
2927 $as_echo_n "(cached) " >&6
2929 if test -n "$AWK"; then
2930 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2936 test -z "$as_dir" && as_dir=.
2937 for ac_exec_ext in '' $ac_executable_extensions; do
2938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2939 ac_cv_prog_AWK="$ac_prog"
2940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 if test -n "$AWK"; then
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2952 $as_echo "$AWK" >&6; }
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2955 $as_echo "no" >&6; }
2959 test -n "$AWK" && break
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2963 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2965 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2966 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2967 $as_echo_n "(cached) " >&6
2969 cat >conftest.make <<\_ACEOF
2972 @echo '@@@%%%=$(MAKE)=@@@%%%'
2974 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2975 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2977 eval ac_cv_prog_make_${ac_make}_set=yes;;
2979 eval ac_cv_prog_make_${ac_make}_set=no;;
2983 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2985 $as_echo "yes" >&6; }
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2989 $as_echo "no" >&6; }
2990 SET_MAKE="MAKE=${MAKE-make}"
2993 rm -rf .tst 2>/dev/null
2994 mkdir .tst 2>/dev/null
2995 if test -d .tst; then
3000 rmdir .tst 2>/dev/null
3002 # Check whether --enable-silent-rules was given.
3003 if test "${enable_silent_rules+set}" = set; then :
3004 enableval=$enable_silent_rules;
3007 case $enable_silent_rules in # (((
3008 yes) AM_DEFAULT_VERBOSITY=0;;
3009 no) AM_DEFAULT_VERBOSITY=1;;
3010 *) AM_DEFAULT_VERBOSITY=1;;
3012 am_make=${MAKE-make}
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3014 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3015 if ${am_cv_make_support_nested_variables+:} false; then :
3016 $as_echo_n "(cached) " >&6
3018 if $as_echo 'TRUE=$(BAR$(V))
3024 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3025 am_cv_make_support_nested_variables=yes
3027 am_cv_make_support_nested_variables=no
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3031 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3032 if test $am_cv_make_support_nested_variables = yes; then
3034 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3036 AM_V=$AM_DEFAULT_VERBOSITY
3037 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3041 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3042 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3043 # is not polluted with repeated "-I."
3044 am__isrc=' -I$(srcdir)'
3045 # test to see if srcdir already configured
3046 if test -f $srcdir/config.status; then
3047 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3051 # test whether we have cygpath
3052 if test -z "$CYGPATH_W"; then
3053 if (cygpath --version) >/dev/null 2>/dev/null; then
3054 CYGPATH_W='cygpath -w'
3061 # Define the identity of the package.
3066 cat >>confdefs.h <<_ACEOF
3067 #define PACKAGE "$PACKAGE"
3071 cat >>confdefs.h <<_ACEOF
3072 #define VERSION "$VERSION"
3075 # Some tools Automake needs.
3077 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3080 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3083 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3086 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3089 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3091 # For better backward compatibility. To be removed once Automake 1.9.x
3092 # dies out for good. For more background, see:
3093 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3094 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3095 mkdir_p='$(MKDIR_P)'
3097 # We need awk for the "check" target. The system "awk" is bad on
3099 # Always define AMTAR for backward compatibility. Yes, it's still used
3100 # in the wild :-( We should find a proper way to deprecate it ...
3104 # We'll loop over all known methods to create a tar archive until one works.
3105 _am_tools='gnutar pax cpio none'
3107 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3114 # Check whether --enable-silent-rules was given.
3115 if test "${enable_silent_rules+set}" = set; then :
3116 enableval=$enable_silent_rules;
3119 case $enable_silent_rules in # (((
3120 yes) AM_DEFAULT_VERBOSITY=0;;
3121 no) AM_DEFAULT_VERBOSITY=1;;
3122 *) AM_DEFAULT_VERBOSITY=0;;
3124 am_make=${MAKE-make}
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3126 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3127 if ${am_cv_make_support_nested_variables+:} false; then :
3128 $as_echo_n "(cached) " >&6
3130 if $as_echo 'TRUE=$(BAR$(V))
3136 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3137 am_cv_make_support_nested_variables=yes
3139 am_cv_make_support_nested_variables=no
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3143 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3144 if test $am_cv_make_support_nested_variables = yes; then
3146 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3148 AM_V=$AM_DEFAULT_VERBOSITY
3149 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3154 # Make sure we can run config.sub.
3155 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3156 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3159 $as_echo_n "checking build system type... " >&6; }
3160 if ${ac_cv_build+:} false; then :
3161 $as_echo_n "(cached) " >&6
3163 ac_build_alias=$build_alias
3164 test "x$ac_build_alias" = x &&
3165 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3166 test "x$ac_build_alias" = x &&
3167 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3168 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3169 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3173 $as_echo "$ac_cv_build" >&6; }
3174 case $ac_cv_build in
3176 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3179 ac_save_IFS=$IFS; IFS='-'
3185 # Remember, the first character of IFS is used to create $*,
3186 # except with old shells:
3189 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3193 $as_echo_n "checking host system type... " >&6; }
3194 if ${ac_cv_host+:} false; then :
3195 $as_echo_n "(cached) " >&6
3197 if test "x$host_alias" = x; then
3198 ac_cv_host=$ac_cv_build
3200 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3201 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3206 $as_echo "$ac_cv_host" >&6; }
3209 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3212 ac_save_IFS=$IFS; IFS='-'
3218 # Remember, the first character of IFS is used to create $*,
3219 # except with old shells:
3222 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3225 enable_win32_dll=yes
3228 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3229 if test -n "$ac_tool_prefix"; then
3230 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3231 set dummy ${ac_tool_prefix}as; ac_word=$2
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3233 $as_echo_n "checking for $ac_word... " >&6; }
3234 if ${ac_cv_prog_AS+:} false; then :
3235 $as_echo_n "(cached) " >&6
3237 if test -n "$AS"; then
3238 ac_cv_prog_AS="$AS" # Let the user override the test.
3240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3244 test -z "$as_dir" && as_dir=.
3245 for ac_exec_ext in '' $ac_executable_extensions; do
3246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3247 ac_cv_prog_AS="${ac_tool_prefix}as"
3248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3258 if test -n "$AS"; then
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3260 $as_echo "$AS" >&6; }
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3263 $as_echo "no" >&6; }
3268 if test -z "$ac_cv_prog_AS"; then
3270 # Extract the first word of "as", so it can be a program name with args.
3271 set dummy as; ac_word=$2
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3273 $as_echo_n "checking for $ac_word... " >&6; }
3274 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3275 $as_echo_n "(cached) " >&6
3277 if test -n "$ac_ct_AS"; then
3278 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3284 test -z "$as_dir" && as_dir=.
3285 for ac_exec_ext in '' $ac_executable_extensions; do
3286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3287 ac_cv_prog_ac_ct_AS="as"
3288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3298 if test -n "$ac_ct_AS"; then
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3300 $as_echo "$ac_ct_AS" >&6; }
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303 $as_echo "no" >&6; }
3306 if test "x$ac_ct_AS" = x; then
3309 case $cross_compiling:$ac_tool_warned in
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3313 ac_tool_warned=yes ;;
3321 if test -n "$ac_tool_prefix"; then
3322 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3323 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3325 $as_echo_n "checking for $ac_word... " >&6; }
3326 if ${ac_cv_prog_DLLTOOL+:} false; then :
3327 $as_echo_n "(cached) " >&6
3329 if test -n "$DLLTOOL"; then
3330 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3336 test -z "$as_dir" && as_dir=.
3337 for ac_exec_ext in '' $ac_executable_extensions; do
3338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3339 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3349 DLLTOOL=$ac_cv_prog_DLLTOOL
3350 if test -n "$DLLTOOL"; then
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3352 $as_echo "$DLLTOOL" >&6; }
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3355 $as_echo "no" >&6; }
3360 if test -z "$ac_cv_prog_DLLTOOL"; then
3361 ac_ct_DLLTOOL=$DLLTOOL
3362 # Extract the first word of "dlltool", so it can be a program name with args.
3363 set dummy dlltool; ac_word=$2
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3365 $as_echo_n "checking for $ac_word... " >&6; }
3366 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3367 $as_echo_n "(cached) " >&6
3369 if test -n "$ac_ct_DLLTOOL"; then
3370 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3376 test -z "$as_dir" && as_dir=.
3377 for ac_exec_ext in '' $ac_executable_extensions; do
3378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3379 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3389 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3390 if test -n "$ac_ct_DLLTOOL"; then
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3392 $as_echo "$ac_ct_DLLTOOL" >&6; }
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3395 $as_echo "no" >&6; }
3398 if test "x$ac_ct_DLLTOOL" = x; then
3401 case $cross_compiling:$ac_tool_warned in
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3405 ac_tool_warned=yes ;;
3407 DLLTOOL=$ac_ct_DLLTOOL
3410 DLLTOOL="$ac_cv_prog_DLLTOOL"
3413 if test -n "$ac_tool_prefix"; then
3414 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3415 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3417 $as_echo_n "checking for $ac_word... " >&6; }
3418 if ${ac_cv_prog_OBJDUMP+:} false; then :
3419 $as_echo_n "(cached) " >&6
3421 if test -n "$OBJDUMP"; then
3422 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 test -z "$as_dir" && as_dir=.
3429 for ac_exec_ext in '' $ac_executable_extensions; do
3430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3431 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441 OBJDUMP=$ac_cv_prog_OBJDUMP
3442 if test -n "$OBJDUMP"; then
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3444 $as_echo "$OBJDUMP" >&6; }
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3447 $as_echo "no" >&6; }
3452 if test -z "$ac_cv_prog_OBJDUMP"; then
3453 ac_ct_OBJDUMP=$OBJDUMP
3454 # Extract the first word of "objdump", so it can be a program name with args.
3455 set dummy objdump; ac_word=$2
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3457 $as_echo_n "checking for $ac_word... " >&6; }
3458 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3459 $as_echo_n "(cached) " >&6
3461 if test -n "$ac_ct_OBJDUMP"; then
3462 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3468 test -z "$as_dir" && as_dir=.
3469 for ac_exec_ext in '' $ac_executable_extensions; do
3470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3471 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3481 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3482 if test -n "$ac_ct_OBJDUMP"; then
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3484 $as_echo "$ac_ct_OBJDUMP" >&6; }
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3487 $as_echo "no" >&6; }
3490 if test "x$ac_ct_OBJDUMP" = x; then
3493 case $cross_compiling:$ac_tool_warned in
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3497 ac_tool_warned=yes ;;
3499 OBJDUMP=$ac_ct_OBJDUMP
3502 OBJDUMP="$ac_cv_prog_OBJDUMP"
3508 test -z "$AS" && AS=as
3514 test -z "$DLLTOOL" && DLLTOOL=dlltool
3520 test -z "$OBJDUMP" && OBJDUMP=objdump
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3531 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3536 macro_version='2.4.2'
3537 macro_revision='1.3337'
3551 ltmain="$ac_aux_dir/ltmain.sh"
3553 # Backslashify metacharacters that are still active within
3554 # double-quoted strings.
3555 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3557 # Same as above, but do not quote variable references.
3558 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3560 # Sed substitution to delay expansion of an escaped shell variable in a
3561 # double_quote_subst'ed string.
3562 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3564 # Sed substitution to delay expansion of an escaped single quote.
3565 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3567 # Sed substitution to avoid accidental globbing in evaled expressions
3568 no_glob_subst='s/\*/\\\*/g'
3570 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3571 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3572 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3575 $as_echo_n "checking how to print strings... " >&6; }
3576 # Test print first, because it will be a builtin if present.
3577 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3578 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3580 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3583 # Use this function as a fallback that always works.
3584 func_fallback_echo ()
3586 eval 'cat <<_LTECHO_EOF
3590 ECHO='func_fallback_echo'
3593 # func_echo_all arg...
3594 # Invoke $ECHO with all args, space-separated.
3601 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3602 $as_echo "printf" >&6; } ;;
3603 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3604 $as_echo "print -r" >&6; } ;;
3605 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3606 $as_echo "cat" >&6; } ;;
3622 DEPDIR="${am__leading_dot}deps"
3624 ac_config_commands="$ac_config_commands depfiles"
3627 am_make=${MAKE-make}
3628 cat > confinc << 'END'
3630 @echo this is the am__doit target
3633 # If we don't find an include directive, just comment out the code.
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3635 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3639 # First try GNU make style include.
3640 echo "include confinc" > confmf
3641 # Ignore all kinds of additional output from 'make'.
3642 case `$am_make -s -f confmf 2> /dev/null` in #(
3643 *the\ am__doit\ target*)
3649 # Now try BSD make style include.
3650 if test "$am__include" = "#"; then
3651 echo '.include "confinc"' > confmf
3652 case `$am_make -s -f confmf 2> /dev/null` in #(
3653 *the\ am__doit\ target*)
3654 am__include=.include
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3663 $as_echo "$_am_result" >&6; }
3664 rm -f confinc confmf
3666 # Check whether --enable-dependency-tracking was given.
3667 if test "${enable_dependency_tracking+set}" = set; then :
3668 enableval=$enable_dependency_tracking;
3671 if test "x$enable_dependency_tracking" != xno; then
3672 am_depcomp="$ac_aux_dir/depcomp"
3676 if test "x$enable_dependency_tracking" != xno; then
3686 ac_cpp='$CPP $CPPFLAGS'
3687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3690 if test -n "$ac_tool_prefix"; then
3691 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3692 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3694 $as_echo_n "checking for $ac_word... " >&6; }
3695 if ${ac_cv_prog_CC+:} false; then :
3696 $as_echo_n "(cached) " >&6
3698 if test -n "$CC"; then
3699 ac_cv_prog_CC="$CC" # Let the user override the test.
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3705 test -z "$as_dir" && as_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3708 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3719 if test -n "$CC"; then
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3721 $as_echo "$CC" >&6; }
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3724 $as_echo "no" >&6; }
3729 if test -z "$ac_cv_prog_CC"; then
3731 # Extract the first word of "gcc", so it can be a program name with args.
3732 set dummy gcc; ac_word=$2
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3734 $as_echo_n "checking for $ac_word... " >&6; }
3735 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3736 $as_echo_n "(cached) " >&6
3738 if test -n "$ac_ct_CC"; then
3739 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3745 test -z "$as_dir" && as_dir=.
3746 for ac_exec_ext in '' $ac_executable_extensions; do
3747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3748 ac_cv_prog_ac_ct_CC="gcc"
3749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3759 if test -n "$ac_ct_CC"; then
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3761 $as_echo "$ac_ct_CC" >&6; }
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764 $as_echo "no" >&6; }
3767 if test "x$ac_ct_CC" = x; then
3770 case $cross_compiling:$ac_tool_warned in
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3774 ac_tool_warned=yes ;;
3782 if test -z "$CC"; then
3783 if test -n "$ac_tool_prefix"; then
3784 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3785 set dummy ${ac_tool_prefix}cc; ac_word=$2
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3787 $as_echo_n "checking for $ac_word... " >&6; }
3788 if ${ac_cv_prog_CC+:} false; then :
3789 $as_echo_n "(cached) " >&6
3791 if test -n "$CC"; then
3792 ac_cv_prog_CC="$CC" # Let the user override the test.
3794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3798 test -z "$as_dir" && as_dir=.
3799 for ac_exec_ext in '' $ac_executable_extensions; do
3800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3801 ac_cv_prog_CC="${ac_tool_prefix}cc"
3802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 if test -n "$CC"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3814 $as_echo "$CC" >&6; }
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3823 if test -z "$CC"; then
3824 # Extract the first word of "cc", so it can be a program name with args.
3825 set dummy cc; ac_word=$2
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3827 $as_echo_n "checking for $ac_word... " >&6; }
3828 if ${ac_cv_prog_CC+:} false; then :
3829 $as_echo_n "(cached) " >&6
3831 if test -n "$CC"; then
3832 ac_cv_prog_CC="$CC" # Let the user override the test.
3835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3839 test -z "$as_dir" && as_dir=.
3840 for ac_exec_ext in '' $ac_executable_extensions; do
3841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3842 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3843 ac_prog_rejected=yes
3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 if test $ac_prog_rejected = yes; then
3855 # We found a bogon in the path, so make sure we never use it.
3856 set dummy $ac_cv_prog_CC
3858 if test $# != 0; then
3859 # We chose a different compiler from the bogus one.
3860 # However, it has the same basename, so the bogon will be chosen
3861 # first if we set CC to just the basename; use the full file name.
3863 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3869 if test -n "$CC"; then
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3871 $as_echo "$CC" >&6; }
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3874 $as_echo "no" >&6; }
3879 if test -z "$CC"; then
3880 if test -n "$ac_tool_prefix"; then
3881 for ac_prog in cl.exe
3883 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3884 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3886 $as_echo_n "checking for $ac_word... " >&6; }
3887 if ${ac_cv_prog_CC+:} false; then :
3888 $as_echo_n "(cached) " >&6
3890 if test -n "$CC"; then
3891 ac_cv_prog_CC="$CC" # Let the user override the test.
3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3897 test -z "$as_dir" && as_dir=.
3898 for ac_exec_ext in '' $ac_executable_extensions; do
3899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3900 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3911 if test -n "$CC"; then
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3913 $as_echo "$CC" >&6; }
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3916 $as_echo "no" >&6; }
3920 test -n "$CC" && break
3923 if test -z "$CC"; then
3925 for ac_prog in cl.exe
3927 # Extract the first word of "$ac_prog", so it can be a program name with args.
3928 set dummy $ac_prog; ac_word=$2
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3930 $as_echo_n "checking for $ac_word... " >&6; }
3931 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3932 $as_echo_n "(cached) " >&6
3934 if test -n "$ac_ct_CC"; then
3935 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3941 test -z "$as_dir" && as_dir=.
3942 for ac_exec_ext in '' $ac_executable_extensions; do
3943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3944 ac_cv_prog_ac_ct_CC="$ac_prog"
3945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3954 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3955 if test -n "$ac_ct_CC"; then
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3957 $as_echo "$ac_ct_CC" >&6; }
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3960 $as_echo "no" >&6; }
3964 test -n "$ac_ct_CC" && break
3967 if test "x$ac_ct_CC" = x; then
3970 case $cross_compiling:$ac_tool_warned in
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3974 ac_tool_warned=yes ;;
3983 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3985 as_fn_error $? "no acceptable C compiler found in \$PATH
3986 See \`config.log' for more details" "$LINENO" 5; }
3988 # Provide some information about the compiler.
3989 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3992 for ac_option in --version -v -V -qversion; do
3993 { { ac_try="$ac_compiler $ac_option >&5"
3995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3996 *) ac_try_echo=$ac_try;;
3998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3999 $as_echo "$ac_try_echo"; } >&5
4000 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4002 if test -s conftest.err; then
4004 ... rest of stderr output deleted ...
4005 10q' conftest.err >conftest.er1
4006 cat conftest.er1 >&5
4008 rm -f conftest.er1 conftest.err
4009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4010 test $ac_status = 0; }
4013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4014 /* end confdefs.h. */
4024 ac_clean_files_save=$ac_clean_files
4025 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4026 # Try to create an executable without -o first, disregard a.out.
4027 # It will help us diagnose broken compilers, and finding out an intuition
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4030 $as_echo_n "checking whether the C compiler works... " >&6; }
4031 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4033 # The possible output files:
4034 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4037 for ac_file in $ac_files
4040 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4041 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4046 if { { ac_try="$ac_link_default"
4048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049 *) ac_try_echo=$ac_try;;
4051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4052 $as_echo "$ac_try_echo"; } >&5
4053 (eval "$ac_link_default") 2>&5
4055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056 test $ac_status = 0; }; then :
4057 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4058 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4059 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4060 # so that the user can short-circuit this test for compilers unknown to
4062 for ac_file in $ac_files ''
4064 test -f "$ac_file" || continue
4066 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4069 # We found the default executable, but exeext='' is most
4073 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4075 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4077 # We set ac_cv_exeext here because the later test for it is not
4078 # safe: cross compilers may not add the suffix if given an `-o'
4079 # argument, so we may need to know it at that point already.
4080 # Even if this section looks crufty: it has the advantage of
4087 test "$ac_cv_exeext" = no && ac_cv_exeext=
4092 if test -z "$ac_file"; then :
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4094 $as_echo "no" >&6; }
4095 $as_echo "$as_me: failed program was:" >&5
4096 sed 's/^/| /' conftest.$ac_ext >&5
4098 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4100 as_fn_error 77 "C compiler cannot create executables
4101 See \`config.log' for more details" "$LINENO" 5; }
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4104 $as_echo "yes" >&6; }
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4107 $as_echo_n "checking for C compiler default output file name... " >&6; }
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4109 $as_echo "$ac_file" >&6; }
4110 ac_exeext=$ac_cv_exeext
4112 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4113 ac_clean_files=$ac_clean_files_save
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4115 $as_echo_n "checking for suffix of executables... " >&6; }
4116 if { { ac_try="$ac_link"
4118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4119 *) ac_try_echo=$ac_try;;
4121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4122 $as_echo "$ac_try_echo"; } >&5
4123 (eval "$ac_link") 2>&5
4125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4126 test $ac_status = 0; }; then :
4127 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4128 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4129 # work properly (i.e., refer to `conftest.exe'), while it won't with
4131 for ac_file in conftest.exe conftest conftest.*; do
4132 test -f "$ac_file" || continue
4134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4135 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4143 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4144 See \`config.log' for more details" "$LINENO" 5; }
4146 rm -f conftest conftest$ac_cv_exeext
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4148 $as_echo "$ac_cv_exeext" >&6; }
4150 rm -f conftest.$ac_ext
4151 EXEEXT=$ac_cv_exeext
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4159 FILE *f = fopen ("conftest.out", "w");
4160 return ferror (f) || fclose (f) != 0;
4166 ac_clean_files="$ac_clean_files conftest.out"
4167 # Check that the compiler produces executables we can run. If not, either
4168 # the compiler is broken, or we cross compile.
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4170 $as_echo_n "checking whether we are cross compiling... " >&6; }
4171 if test "$cross_compiling" != yes; then
4172 { { ac_try="$ac_link"
4174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4175 *) ac_try_echo=$ac_try;;
4177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4178 $as_echo "$ac_try_echo"; } >&5
4179 (eval "$ac_link") 2>&5
4181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4182 test $ac_status = 0; }
4183 if { ac_try='./conftest$ac_cv_exeext'
4184 { { case "(($ac_try" in
4185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4186 *) ac_try_echo=$ac_try;;
4188 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4189 $as_echo "$ac_try_echo"; } >&5
4190 (eval "$ac_try") 2>&5
4192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4193 test $ac_status = 0; }; }; then
4196 if test "$cross_compiling" = maybe; then
4199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4201 as_fn_error $? "cannot run C compiled programs.
4202 If you meant to cross compile, use \`--host'.
4203 See \`config.log' for more details" "$LINENO" 5; }
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4208 $as_echo "$cross_compiling" >&6; }
4210 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4211 ac_clean_files=$ac_clean_files_save
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4213 $as_echo_n "checking for suffix of object files... " >&6; }
4214 if ${ac_cv_objext+:} false; then :
4215 $as_echo_n "(cached) " >&6
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4228 rm -f conftest.o conftest.obj
4229 if { { ac_try="$ac_compile"
4231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4232 *) ac_try_echo=$ac_try;;
4234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4235 $as_echo "$ac_try_echo"; } >&5
4236 (eval "$ac_compile") 2>&5
4238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4239 test $ac_status = 0; }; then :
4240 for ac_file in conftest.o conftest.obj conftest.*; do
4241 test -f "$ac_file" || continue;
4243 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4244 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4249 $as_echo "$as_me: failed program was:" >&5
4250 sed 's/^/| /' conftest.$ac_ext >&5
4252 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4254 as_fn_error $? "cannot compute suffix of object files: cannot compile
4255 See \`config.log' for more details" "$LINENO" 5; }
4257 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4260 $as_echo "$ac_cv_objext" >&6; }
4261 OBJEXT=$ac_cv_objext
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4264 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4265 if ${ac_cv_c_compiler_gnu+:} false; then :
4266 $as_echo_n "(cached) " >&6
4268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h. */
4282 if ac_fn_c_try_compile "$LINENO"; then :
4287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4288 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4292 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4293 if test $ac_compiler_gnu = yes; then
4298 ac_test_CFLAGS=${CFLAGS+set}
4299 ac_save_CFLAGS=$CFLAGS
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4301 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4302 if ${ac_cv_prog_cc_g+:} false; then :
4303 $as_echo_n "(cached) " >&6
4305 ac_save_c_werror_flag=$ac_c_werror_flag
4306 ac_c_werror_flag=yes
4309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4310 /* end confdefs.h. */
4320 if ac_fn_c_try_compile "$LINENO"; then :
4324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325 /* end confdefs.h. */
4335 if ac_fn_c_try_compile "$LINENO"; then :
4338 ac_c_werror_flag=$ac_save_c_werror_flag
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4351 if ac_fn_c_try_compile "$LINENO"; then :
4354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4359 ac_c_werror_flag=$ac_save_c_werror_flag
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4362 $as_echo "$ac_cv_prog_cc_g" >&6; }
4363 if test "$ac_test_CFLAGS" = set; then
4364 CFLAGS=$ac_save_CFLAGS
4365 elif test $ac_cv_prog_cc_g = yes; then
4366 if test "$GCC" = yes; then
4372 if test "$GCC" = yes; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4379 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4380 if ${ac_cv_prog_cc_c89+:} false; then :
4381 $as_echo_n "(cached) " >&6
4383 ac_cv_prog_cc_c89=no
4385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4386 /* end confdefs.h. */
4390 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4391 struct buf { int x; };
4392 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4393 static char *e (p, i)
4399 static char *f (char * (*g) (char **, int), char **p, ...)
4404 s = g (p, va_arg (v,int));
4409 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4410 function prototypes and stuff, but not '\xHH' hex character constants.
4411 These don't provoke an error unfortunately, instead are silently treated
4412 as 'x'. The following induces an error, until -std is added to get
4413 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4414 array size at least. It's necessary to write '\x00'==0 to get something
4415 that's true only with -std. */
4416 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4418 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4419 inside strings and character constants. */
4421 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4423 int test (int i, double x);
4424 struct s1 {int (*f) (int a);};
4425 struct s2 {int (*f) (double a);};
4426 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4432 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4437 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4438 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4440 CC="$ac_save_CC $ac_arg"
4441 if ac_fn_c_try_compile "$LINENO"; then :
4442 ac_cv_prog_cc_c89=$ac_arg
4444 rm -f core conftest.err conftest.$ac_objext
4445 test "x$ac_cv_prog_cc_c89" != "xno" && break
4447 rm -f conftest.$ac_ext
4452 case "x$ac_cv_prog_cc_c89" in
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4455 $as_echo "none needed" >&6; } ;;
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4458 $as_echo "unsupported" >&6; } ;;
4460 CC="$CC $ac_cv_prog_cc_c89"
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4462 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4464 if test "x$ac_cv_prog_cc_c89" != xno; then :
4469 ac_cpp='$CPP $CPPFLAGS'
4470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4474 depcc="$CC" am_compiler_list=
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4477 $as_echo_n "checking dependency style of $depcc... " >&6; }
4478 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4479 $as_echo_n "(cached) " >&6
4481 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4482 # We make a subdir and do the tests there. Otherwise we can end up
4483 # making bogus files that we don't know about and never remove. For
4484 # instance it was reported that on HP-UX the gcc test will end up
4485 # making a dummy file named 'D' -- because '-MD' means "put the output
4489 # Copy depcomp to subdir because otherwise we won't find it if we're
4490 # using a relative directory.
4491 cp "$am_depcomp" conftest.dir
4493 # We will build objects and dependencies in a subdirectory because
4494 # it helps to detect inapplicable dependency modes. For instance
4495 # both Tru64's cc and ICC support -MD to output dependencies as a
4496 # side effect of compilation, but ICC will put the dependencies in
4497 # the current directory while Tru64 will put them in the object
4501 am_cv_CC_dependencies_compiler_type=none
4502 if test "$am_compiler_list" = ""; then
4503 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4506 case " $depcc " in #(
4507 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4510 for depmode in $am_compiler_list; do
4511 # Setup a source with many dependencies, because some compilers
4512 # like to wrap large dependency lists on column 80 (with \), and
4513 # we should not choose a depcomp mode which is confused by this.
4515 # We need to recreate these files for each test, as the compiler may
4516 # overwrite some of them when testing with obscure command lines.
4517 # This happens at least with the AIX C compiler.
4519 for i in 1 2 3 4 5 6; do
4520 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4521 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4522 # Solaris 10 /bin/sh.
4523 echo '/* dummy */' > sub/conftst$i.h
4525 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4527 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4528 # mode. It turns out that the SunPro C++ compiler does not properly
4529 # handle '-M -o', and we need to detect this. Also, some Intel
4530 # versions had trouble with output in subdirs.
4531 am__obj=sub/conftest.${OBJEXT-o}
4532 am__minus_obj="-o $am__obj"
4535 # This depmode causes a compiler race in universal mode.
4536 test "$am__universal" = false || continue
4539 # After this tag, mechanisms are not by side-effect, so they'll
4540 # only be used when explicitly requested.
4541 if test "x$enable_dependency_tracking" = xyes; then
4547 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4548 # This compiler won't grok '-c -o', but also, the minuso test has
4549 # not run yet. These depmodes are late enough in the game, and
4550 # so weak that their functioning should not be impacted.
4551 am__obj=conftest.${OBJEXT-o}
4556 if depmode=$depmode \
4557 source=sub/conftest.c object=$am__obj \
4558 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4559 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4560 >/dev/null 2>conftest.err &&
4561 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4562 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4563 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4564 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4565 # icc doesn't choke on unknown options, it will just issue warnings
4566 # or remarks (even with -Werror). So we grep stderr for any message
4567 # that says an option was ignored or not supported.
4568 # When given -MP, icc 7.0 and 7.1 complain thusly:
4569 # icc: Command line warning: ignoring option '-M'; no argument required
4570 # The diagnosis changed in icc 8.0:
4571 # icc: Command line remark: option '-MP' not supported
4572 if (grep 'ignoring option' conftest.err ||
4573 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4574 am_cv_CC_dependencies_compiler_type=$depmode
4583 am_cv_CC_dependencies_compiler_type=none
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4588 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4589 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4592 test "x$enable_dependency_tracking" != xno \
4593 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4595 am__fastdepCC_FALSE='#'
4597 am__fastdepCC_TRUE='#'
4598 am__fastdepCC_FALSE=
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4603 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4604 if ${ac_cv_path_SED+:} false; then :
4605 $as_echo_n "(cached) " >&6
4607 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4608 for ac_i in 1 2 3 4 5 6 7; do
4609 ac_script="$ac_script$as_nl$ac_script"
4611 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4612 { ac_script=; unset ac_script;}
4613 if test -z "$SED"; then
4614 ac_path_SED_found=false
4615 # Loop through the user's path and test for each of PROGNAME-LIST
4616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4620 test -z "$as_dir" && as_dir=.
4621 for ac_prog in sed gsed; do
4622 for ac_exec_ext in '' $ac_executable_extensions; do
4623 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4624 as_fn_executable_p "$ac_path_SED" || continue
4625 # Check for GNU ac_path_SED and select it if it is found.
4626 # Check for GNU $ac_path_SED
4627 case `"$ac_path_SED" --version 2>&1` in
4629 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4632 $as_echo_n 0123456789 >"conftest.in"
4635 cat "conftest.in" "conftest.in" >"conftest.tmp"
4636 mv "conftest.tmp" "conftest.in"
4637 cp "conftest.in" "conftest.nl"
4638 $as_echo '' >> "conftest.nl"
4639 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4640 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4641 as_fn_arith $ac_count + 1 && ac_count=$as_val
4642 if test $ac_count -gt ${ac_path_SED_max-0}; then
4643 # Best one so far, save it but keep looking for a better one
4644 ac_cv_path_SED="$ac_path_SED"
4645 ac_path_SED_max=$ac_count
4647 # 10*(2^10) chars as input seems more than enough
4648 test $ac_count -gt 10 && break
4650 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4653 $ac_path_SED_found && break 3
4658 if test -z "$ac_cv_path_SED"; then
4659 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4667 $as_echo "$ac_cv_path_SED" >&6; }
4668 SED="$ac_cv_path_SED"
4671 test -z "$SED" && SED=sed
4672 Xsed="$SED -e 1s/^X//"
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4685 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4686 if ${ac_cv_path_GREP+:} false; then :
4687 $as_echo_n "(cached) " >&6
4689 if test -z "$GREP"; then
4690 ac_path_GREP_found=false
4691 # Loop through the user's path and test for each of PROGNAME-LIST
4692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4693 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4696 test -z "$as_dir" && as_dir=.
4697 for ac_prog in grep ggrep; do
4698 for ac_exec_ext in '' $ac_executable_extensions; do
4699 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4700 as_fn_executable_p "$ac_path_GREP" || continue
4701 # Check for GNU ac_path_GREP and select it if it is found.
4702 # Check for GNU $ac_path_GREP
4703 case `"$ac_path_GREP" --version 2>&1` in
4705 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4708 $as_echo_n 0123456789 >"conftest.in"
4711 cat "conftest.in" "conftest.in" >"conftest.tmp"
4712 mv "conftest.tmp" "conftest.in"
4713 cp "conftest.in" "conftest.nl"
4714 $as_echo 'GREP' >> "conftest.nl"
4715 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4716 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4717 as_fn_arith $ac_count + 1 && ac_count=$as_val
4718 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4719 # Best one so far, save it but keep looking for a better one
4720 ac_cv_path_GREP="$ac_path_GREP"
4721 ac_path_GREP_max=$ac_count
4723 # 10*(2^10) chars as input seems more than enough
4724 test $ac_count -gt 10 && break
4726 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4729 $ac_path_GREP_found && break 3
4734 if test -z "$ac_cv_path_GREP"; then
4735 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4738 ac_cv_path_GREP=$GREP
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4743 $as_echo "$ac_cv_path_GREP" >&6; }
4744 GREP="$ac_cv_path_GREP"
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4748 $as_echo_n "checking for egrep... " >&6; }
4749 if ${ac_cv_path_EGREP+:} false; then :
4750 $as_echo_n "(cached) " >&6
4752 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4753 then ac_cv_path_EGREP="$GREP -E"
4755 if test -z "$EGREP"; then
4756 ac_path_EGREP_found=false
4757 # Loop through the user's path and test for each of PROGNAME-LIST
4758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4759 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4762 test -z "$as_dir" && as_dir=.
4763 for ac_prog in egrep; do
4764 for ac_exec_ext in '' $ac_executable_extensions; do
4765 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4766 as_fn_executable_p "$ac_path_EGREP" || continue
4767 # Check for GNU ac_path_EGREP and select it if it is found.
4768 # Check for GNU $ac_path_EGREP
4769 case `"$ac_path_EGREP" --version 2>&1` in
4771 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4774 $as_echo_n 0123456789 >"conftest.in"
4777 cat "conftest.in" "conftest.in" >"conftest.tmp"
4778 mv "conftest.tmp" "conftest.in"
4779 cp "conftest.in" "conftest.nl"
4780 $as_echo 'EGREP' >> "conftest.nl"
4781 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4782 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4783 as_fn_arith $ac_count + 1 && ac_count=$as_val
4784 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4785 # Best one so far, save it but keep looking for a better one
4786 ac_cv_path_EGREP="$ac_path_EGREP"
4787 ac_path_EGREP_max=$ac_count
4789 # 10*(2^10) chars as input seems more than enough
4790 test $ac_count -gt 10 && break
4792 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4795 $ac_path_EGREP_found && break 3
4800 if test -z "$ac_cv_path_EGREP"; then
4801 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4804 ac_cv_path_EGREP=$EGREP
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4810 $as_echo "$ac_cv_path_EGREP" >&6; }
4811 EGREP="$ac_cv_path_EGREP"
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4815 $as_echo_n "checking for fgrep... " >&6; }
4816 if ${ac_cv_path_FGREP+:} false; then :
4817 $as_echo_n "(cached) " >&6
4819 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4820 then ac_cv_path_FGREP="$GREP -F"
4822 if test -z "$FGREP"; then
4823 ac_path_FGREP_found=false
4824 # Loop through the user's path and test for each of PROGNAME-LIST
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4829 test -z "$as_dir" && as_dir=.
4830 for ac_prog in fgrep; do
4831 for ac_exec_ext in '' $ac_executable_extensions; do
4832 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4833 as_fn_executable_p "$ac_path_FGREP" || continue
4834 # Check for GNU ac_path_FGREP and select it if it is found.
4835 # Check for GNU $ac_path_FGREP
4836 case `"$ac_path_FGREP" --version 2>&1` in
4838 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4841 $as_echo_n 0123456789 >"conftest.in"
4844 cat "conftest.in" "conftest.in" >"conftest.tmp"
4845 mv "conftest.tmp" "conftest.in"
4846 cp "conftest.in" "conftest.nl"
4847 $as_echo 'FGREP' >> "conftest.nl"
4848 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4849 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4850 as_fn_arith $ac_count + 1 && ac_count=$as_val
4851 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4852 # Best one so far, save it but keep looking for a better one
4853 ac_cv_path_FGREP="$ac_path_FGREP"
4854 ac_path_FGREP_max=$ac_count
4856 # 10*(2^10) chars as input seems more than enough
4857 test $ac_count -gt 10 && break
4859 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4862 $ac_path_FGREP_found && break 3
4867 if test -z "$ac_cv_path_FGREP"; then
4868 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4871 ac_cv_path_FGREP=$FGREP
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4877 $as_echo "$ac_cv_path_FGREP" >&6; }
4878 FGREP="$ac_cv_path_FGREP"
4881 test -z "$GREP" && GREP=grep
4901 # Check whether --with-gnu-ld was given.
4902 if test "${with_gnu_ld+set}" = set; then :
4903 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4909 if test "$GCC" = yes; then
4910 # Check if gcc -print-prog-name=ld gives a path.
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4912 $as_echo_n "checking for ld used by $CC... " >&6; }
4915 # gcc leaves a trailing carriage return which upsets mingw
4916 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4918 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4921 # Accept absolute paths.
4923 re_direlt='/[^/][^/]*/\.\./'
4924 # Canonicalize the pathname of ld
4925 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4926 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4927 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4929 test -z "$LD" && LD="$ac_prog"
4932 # If it fails, then pretend we aren't using GCC.
4936 # If it is relative, then search for the first ld in PATH.
4940 elif test "$with_gnu_ld" = yes; then
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4942 $as_echo_n "checking for GNU ld... " >&6; }
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4945 $as_echo_n "checking for non-GNU ld... " >&6; }
4947 if ${lt_cv_path_LD+:} false; then :
4948 $as_echo_n "(cached) " >&6
4950 if test -z "$LD"; then
4951 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4952 for ac_dir in $PATH; do
4954 test -z "$ac_dir" && ac_dir=.
4955 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4956 lt_cv_path_LD="$ac_dir/$ac_prog"
4957 # Check to see if the program is GNU ld. I'd rather use --version,
4958 # but apparently some variants of GNU ld only accept -v.
4959 # Break only if it was the GNU/non-GNU ld that we prefer.
4960 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4961 *GNU* | *'with BFD'*)
4962 test "$with_gnu_ld" != no && break
4965 test "$with_gnu_ld" != yes && break
4972 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4977 if test -n "$LD"; then
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4979 $as_echo "$LD" >&6; }
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4982 $as_echo "no" >&6; }
4984 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4986 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4987 if ${lt_cv_prog_gnu_ld+:} false; then :
4988 $as_echo_n "(cached) " >&6
4990 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4991 case `$LD -v 2>&1 </dev/null` in
4992 *GNU* | *'with BFD'*)
4993 lt_cv_prog_gnu_ld=yes
4996 lt_cv_prog_gnu_ld=no
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5001 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5002 with_gnu_ld=$lt_cv_prog_gnu_ld
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5013 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5014 if ${lt_cv_path_NM+:} false; then :
5015 $as_echo_n "(cached) " >&6
5017 if test -n "$NM"; then
5018 # Let the user override the test.
5021 lt_nm_to_check="${ac_tool_prefix}nm"
5022 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5023 lt_nm_to_check="$lt_nm_to_check nm"
5025 for lt_tmp_nm in $lt_nm_to_check; do
5026 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5027 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5029 test -z "$ac_dir" && ac_dir=.
5030 tmp_nm="$ac_dir/$lt_tmp_nm"
5031 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5032 # Check to see if the nm accepts a BSD-compat flag.
5033 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5034 # nm: unknown option "B" ignored
5035 # Tru64's nm complains that /dev/null is an invalid object file
5036 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5037 */dev/null* | *'Invalid file or object type'*)
5038 lt_cv_path_NM="$tmp_nm -B"
5042 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5044 lt_cv_path_NM="$tmp_nm -p"
5048 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5049 continue # so that we can try to find one that supports BSD flags
5058 : ${lt_cv_path_NM=no}
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5062 $as_echo "$lt_cv_path_NM" >&6; }
5063 if test "$lt_cv_path_NM" != "no"; then
5066 # Didn't find any BSD compatible name lister, look for dumpbin.
5067 if test -n "$DUMPBIN"; then :
5068 # Let the user override the test.
5070 if test -n "$ac_tool_prefix"; then
5071 for ac_prog in dumpbin "link -dump"
5073 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5074 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5076 $as_echo_n "checking for $ac_word... " >&6; }
5077 if ${ac_cv_prog_DUMPBIN+:} false; then :
5078 $as_echo_n "(cached) " >&6
5080 if test -n "$DUMPBIN"; then
5081 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5087 test -z "$as_dir" && as_dir=.
5088 for ac_exec_ext in '' $ac_executable_extensions; do
5089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5090 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100 DUMPBIN=$ac_cv_prog_DUMPBIN
5101 if test -n "$DUMPBIN"; then
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5103 $as_echo "$DUMPBIN" >&6; }
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 $as_echo "no" >&6; }
5110 test -n "$DUMPBIN" && break
5113 if test -z "$DUMPBIN"; then
5114 ac_ct_DUMPBIN=$DUMPBIN
5115 for ac_prog in dumpbin "link -dump"
5117 # Extract the first word of "$ac_prog", so it can be a program name with args.
5118 set dummy $ac_prog; ac_word=$2
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5120 $as_echo_n "checking for $ac_word... " >&6; }
5121 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5122 $as_echo_n "(cached) " >&6
5124 if test -n "$ac_ct_DUMPBIN"; then
5125 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 test -z "$as_dir" && as_dir=.
5132 for ac_exec_ext in '' $ac_executable_extensions; do
5133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5134 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5144 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5145 if test -n "$ac_ct_DUMPBIN"; then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5147 $as_echo "$ac_ct_DUMPBIN" >&6; }
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5150 $as_echo "no" >&6; }
5154 test -n "$ac_ct_DUMPBIN" && break
5157 if test "x$ac_ct_DUMPBIN" = x; then
5160 case $cross_compiling:$ac_tool_warned in
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5164 ac_tool_warned=yes ;;
5166 DUMPBIN=$ac_ct_DUMPBIN
5170 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5172 DUMPBIN="$DUMPBIN -symbols"
5180 if test "$DUMPBIN" != ":"; then
5184 test -z "$NM" && NM=nm
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5192 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5193 if ${lt_cv_nm_interface+:} false; then :
5194 $as_echo_n "(cached) " >&6
5196 lt_cv_nm_interface="BSD nm"
5197 echo "int some_variable = 0;" > conftest.$ac_ext
5198 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5199 (eval "$ac_compile" 2>conftest.err)
5200 cat conftest.err >&5
5201 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5202 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5203 cat conftest.err >&5
5204 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5205 cat conftest.out >&5
5206 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5207 lt_cv_nm_interface="MS dumpbin"
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5212 $as_echo "$lt_cv_nm_interface" >&6; }
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5215 $as_echo_n "checking whether ln -s works... " >&6; }
5217 if test "$LN_S" = "ln -s"; then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5219 $as_echo "yes" >&6; }
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5222 $as_echo "no, using $LN_S" >&6; }
5225 # find the maximum length of command line arguments
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5227 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5228 if ${lt_cv_sys_max_cmd_len+:} false; then :
5229 $as_echo_n "(cached) " >&6
5236 # On DJGPP, this test can blow up pretty badly due to problems in libc
5237 # (any single argument exceeding 2000 bytes causes a buffer overrun
5238 # during glob expansion). Even if it were fixed, the result of this
5239 # check would be larger than it should be.
5240 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5244 # Under GNU Hurd, this test is not required because there is
5245 # no limit to the length of command line arguments.
5246 # Libtool will interpret -1 as no limit whatsoever
5247 lt_cv_sys_max_cmd_len=-1;
5250 cygwin* | mingw* | cegcc*)
5251 # On Win9x/ME, this test blows up -- it succeeds, but takes
5252 # about 5 minutes as the teststring grows exponentially.
5253 # Worse, since 9x/ME are not pre-emptively multitasking,
5254 # you end up with a "frozen" computer, even though with patience
5255 # the test eventually succeeds (with a max line length of 256k).
5256 # Instead, let's just punt: use the minimum linelength reported by
5257 # all of the supported platforms: 8192 (on NT/2K/XP).
5258 lt_cv_sys_max_cmd_len=8192;
5262 # On MiNT this can take a long time and run out of memory.
5263 lt_cv_sys_max_cmd_len=8192;
5267 # On AmigaOS with pdksh, this test takes hours, literally.
5268 # So we just punt and use a minimum line length of 8192.
5269 lt_cv_sys_max_cmd_len=8192;
5272 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5273 # This has been around since 386BSD, at least. Likely further.
5274 if test -x /sbin/sysctl; then
5275 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5276 elif test -x /usr/sbin/sysctl; then
5277 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5279 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5281 # And add a safety zone
5282 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5283 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5287 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5288 lt_cv_sys_max_cmd_len=196608
5292 # The test takes a long time on OS/2.
5293 lt_cv_sys_max_cmd_len=8192
5297 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5298 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5299 # nice to cause kernel panics so lets avoid the loop below.
5300 # First set a reasonable default.
5301 lt_cv_sys_max_cmd_len=16384
5303 if test -x /sbin/sysconfig; then
5304 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5305 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5310 lt_cv_sys_max_cmd_len=102400
5312 sysv5* | sco5v6* | sysv4.2uw2*)
5313 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5314 if test -n "$kargmax"; then
5315 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5317 lt_cv_sys_max_cmd_len=32768
5321 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5322 if test -n "$lt_cv_sys_max_cmd_len"; then
5323 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5324 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5326 # Make teststring a little bigger before we do anything with it.
5327 # a 1K string should be a reasonable start.
5328 for i in 1 2 3 4 5 6 7 8 ; do
5329 teststring=$teststring$teststring
5331 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5332 # If test is not a shell built-in, we'll probably end up computing a
5333 # maximum length that is only half of the actual maximum length, but
5335 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5336 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5337 test $i != 17 # 1/2 MB should be enough
5340 teststring=$teststring$teststring
5342 # Only check the string length outside the loop.
5343 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5345 # Add a significant safety factor because C++ compilers can tack on
5346 # massive amounts of additional arguments before passing them to the
5347 # linker. It appears as though 1/2 is a usable value.
5348 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5355 if test -n $lt_cv_sys_max_cmd_len ; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5357 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5360 $as_echo "none" >&6; }
5362 max_cmd_len=$lt_cv_sys_max_cmd_len
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5374 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5375 # Try some XSI features
5378 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5380 && eval 'test $(( 1 + 1 )) -eq 2 \
5381 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5384 $as_echo "$xsi_shell" >&6; }
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5388 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5390 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5392 && lt_shell_append=yes
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5394 $as_echo "$lt_shell_append" >&6; }
5397 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5407 # test EBCDIC or ASCII
5408 case `echo X|tr X '\101'` in
5409 A) # ASCII based system
5410 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5411 lt_SP2NL='tr \040 \012'
5412 lt_NL2SP='tr \015\012 \040\040'
5414 *) # EBCDIC based system
5415 lt_SP2NL='tr \100 \n'
5416 lt_NL2SP='tr \r\n \100\100'
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5429 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5430 if ${lt_cv_to_host_file_cmd+:} false; then :
5431 $as_echo_n "(cached) " >&6
5436 *-*-mingw* ) # actually msys
5437 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5440 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5442 * ) # otherwise, assume *nix
5443 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5449 *-*-mingw* ) # actually msys
5450 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5453 lt_cv_to_host_file_cmd=func_convert_file_noop
5455 * ) # otherwise, assume *nix
5456 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5460 * ) # unhandled hosts (and "normal" native builds)
5461 lt_cv_to_host_file_cmd=func_convert_file_noop
5467 to_host_file_cmd=$lt_cv_to_host_file_cmd
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5469 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5476 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5477 if ${lt_cv_to_tool_file_cmd+:} false; then :
5478 $as_echo_n "(cached) " >&6
5480 #assume ordinary cross tools, or native build.
5481 lt_cv_to_tool_file_cmd=func_convert_file_noop
5485 *-*-mingw* ) # actually msys
5486 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5494 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5496 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5503 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5504 if ${lt_cv_ld_reload_flag+:} false; then :
5505 $as_echo_n "(cached) " >&6
5507 lt_cv_ld_reload_flag='-r'
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5510 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5511 reload_flag=$lt_cv_ld_reload_flag
5512 case $reload_flag in
5514 *) reload_flag=" $reload_flag" ;;
5516 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5518 cygwin* | mingw* | pw32* | cegcc*)
5519 if test "$GCC" != yes; then
5524 if test "$GCC" = yes; then
5525 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5527 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5540 if test -n "$ac_tool_prefix"; then
5541 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5542 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5544 $as_echo_n "checking for $ac_word... " >&6; }
5545 if ${ac_cv_prog_OBJDUMP+:} false; then :
5546 $as_echo_n "(cached) " >&6
5548 if test -n "$OBJDUMP"; then
5549 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5555 test -z "$as_dir" && as_dir=.
5556 for ac_exec_ext in '' $ac_executable_extensions; do
5557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5558 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5568 OBJDUMP=$ac_cv_prog_OBJDUMP
5569 if test -n "$OBJDUMP"; then
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5571 $as_echo "$OBJDUMP" >&6; }
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5574 $as_echo "no" >&6; }
5579 if test -z "$ac_cv_prog_OBJDUMP"; then
5580 ac_ct_OBJDUMP=$OBJDUMP
5581 # Extract the first word of "objdump", so it can be a program name with args.
5582 set dummy objdump; ac_word=$2
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5584 $as_echo_n "checking for $ac_word... " >&6; }
5585 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5586 $as_echo_n "(cached) " >&6
5588 if test -n "$ac_ct_OBJDUMP"; then
5589 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5595 test -z "$as_dir" && as_dir=.
5596 for ac_exec_ext in '' $ac_executable_extensions; do
5597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5598 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5608 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5609 if test -n "$ac_ct_OBJDUMP"; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5611 $as_echo "$ac_ct_OBJDUMP" >&6; }
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5617 if test "x$ac_ct_OBJDUMP" = x; then
5620 case $cross_compiling:$ac_tool_warned in
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5624 ac_tool_warned=yes ;;
5626 OBJDUMP=$ac_ct_OBJDUMP
5629 OBJDUMP="$ac_cv_prog_OBJDUMP"
5632 test -z "$OBJDUMP" && OBJDUMP=objdump
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5640 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5641 if ${lt_cv_deplibs_check_method+:} false; then :
5642 $as_echo_n "(cached) " >&6
5644 lt_cv_file_magic_cmd='$MAGIC_CMD'
5645 lt_cv_file_magic_test_file=
5646 lt_cv_deplibs_check_method='unknown'
5647 # Need to set the preceding variable on all platforms that support
5648 # interlibrary dependencies.
5649 # 'none' -- dependencies not supported.
5650 # `unknown' -- same as none, but documents that we really don't know.
5651 # 'pass_all' -- all dependencies passed with no checks.
5652 # 'test_compile' -- check by making test program.
5653 # 'file_magic [[regex]]' -- check by looking for files in library path
5654 # which responds to the $file_magic_cmd with a given extended regex.
5655 # If you have `file' or equivalent on your system and you're not sure
5656 # whether `pass_all' will *always* work, you probably want this one.
5660 lt_cv_deplibs_check_method=pass_all
5664 lt_cv_deplibs_check_method=pass_all
5668 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5669 lt_cv_file_magic_cmd='/usr/bin/file -L'
5670 lt_cv_file_magic_test_file=/shlib/libc.so
5674 # func_win32_libid is a shell function defined in ltmain.sh
5675 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5676 lt_cv_file_magic_cmd='func_win32_libid'
5680 # Base MSYS/MinGW do not provide the 'file' command needed by
5681 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5682 # unless we find 'file', for example because we are cross-compiling.
5683 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5684 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5685 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5686 lt_cv_file_magic_cmd='func_win32_libid'
5688 # Keep this pattern in sync with the one in func_win32_libid.
5689 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5690 lt_cv_file_magic_cmd='$OBJDUMP -f'
5695 # use the weaker test based on 'objdump'. See mingw*.
5696 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5697 lt_cv_file_magic_cmd='$OBJDUMP -f'
5700 darwin* | rhapsody*)
5701 lt_cv_deplibs_check_method=pass_all
5704 freebsd* | dragonfly*)
5705 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5708 # Not sure whether the presence of OpenBSD here was a mistake.
5709 # Let's accept both of them until this is cleared up.
5710 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5711 lt_cv_file_magic_cmd=/usr/bin/file
5712 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5716 lt_cv_deplibs_check_method=pass_all
5721 lt_cv_deplibs_check_method=pass_all
5725 lt_cv_deplibs_check_method=pass_all
5728 hpux10.20* | hpux11*)
5729 lt_cv_file_magic_cmd=/usr/bin/file
5732 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5733 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5736 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5737 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5740 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5741 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5747 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5748 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5751 irix5* | irix6* | nonstopux*)
5753 *-32|*"-32 ") libmagic=32-bit;;
5754 *-n32|*"-n32 ") libmagic=N32;;
5755 *-64|*"-64 ") libmagic=64-bit;;
5756 *) libmagic=never-match;;
5758 lt_cv_deplibs_check_method=pass_all
5761 # This must be glibc/ELF.
5762 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5763 lt_cv_deplibs_check_method=pass_all
5767 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5768 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5770 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5775 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5776 lt_cv_file_magic_cmd=/usr/bin/file
5777 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5781 lt_cv_deplibs_check_method=pass_all
5785 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5786 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5788 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5792 osf3* | osf4* | osf5*)
5793 lt_cv_deplibs_check_method=pass_all
5797 lt_cv_deplibs_check_method=pass_all
5801 lt_cv_deplibs_check_method=pass_all
5804 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5805 lt_cv_deplibs_check_method=pass_all
5809 case $host_vendor in
5811 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]'
5812 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5815 lt_cv_deplibs_check_method=pass_all
5818 lt_cv_file_magic_cmd='/bin/file'
5819 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5822 lt_cv_file_magic_cmd='/bin/file'
5823 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5824 lt_cv_file_magic_test_file=/lib/libc.so
5827 lt_cv_deplibs_check_method=pass_all
5830 lt_cv_deplibs_check_method=pass_all
5836 lt_cv_deplibs_check_method=pass_all
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5842 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5846 if test "$build" = "$host"; then
5849 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5852 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5858 file_magic_cmd=$lt_cv_file_magic_cmd
5859 deplibs_check_method=$lt_cv_deplibs_check_method
5860 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5883 if test -n "$ac_tool_prefix"; then
5884 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5885 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5887 $as_echo_n "checking for $ac_word... " >&6; }
5888 if ${ac_cv_prog_DLLTOOL+:} false; then :
5889 $as_echo_n "(cached) " >&6
5891 if test -n "$DLLTOOL"; then
5892 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5898 test -z "$as_dir" && as_dir=.
5899 for ac_exec_ext in '' $ac_executable_extensions; do
5900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5901 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 DLLTOOL=$ac_cv_prog_DLLTOOL
5912 if test -n "$DLLTOOL"; then
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5914 $as_echo "$DLLTOOL" >&6; }
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917 $as_echo "no" >&6; }
5922 if test -z "$ac_cv_prog_DLLTOOL"; then
5923 ac_ct_DLLTOOL=$DLLTOOL
5924 # Extract the first word of "dlltool", so it can be a program name with args.
5925 set dummy dlltool; ac_word=$2
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5927 $as_echo_n "checking for $ac_word... " >&6; }
5928 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5929 $as_echo_n "(cached) " >&6
5931 if test -n "$ac_ct_DLLTOOL"; then
5932 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5938 test -z "$as_dir" && as_dir=.
5939 for ac_exec_ext in '' $ac_executable_extensions; do
5940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5941 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5951 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5952 if test -n "$ac_ct_DLLTOOL"; then
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5954 $as_echo "$ac_ct_DLLTOOL" >&6; }
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5957 $as_echo "no" >&6; }
5960 if test "x$ac_ct_DLLTOOL" = x; then
5963 case $cross_compiling:$ac_tool_warned in
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5967 ac_tool_warned=yes ;;
5969 DLLTOOL=$ac_ct_DLLTOOL
5972 DLLTOOL="$ac_cv_prog_DLLTOOL"
5975 test -z "$DLLTOOL" && DLLTOOL=dlltool
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5984 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5985 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5986 $as_echo_n "(cached) " >&6
5988 lt_cv_sharedlib_from_linklib_cmd='unknown'
5991 cygwin* | mingw* | pw32* | cegcc*)
5992 # two different shell functions defined in ltmain.sh
5993 # decide which to use based on capabilities of $DLLTOOL
5994 case `$DLLTOOL --help 2>&1` in
5995 *--identify-strict*)
5996 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5999 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6004 # fallback: assume linklib IS sharedlib
6005 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6011 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6012 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6013 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6022 if test -n "$ac_tool_prefix"; then
6025 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6026 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6028 $as_echo_n "checking for $ac_word... " >&6; }
6029 if ${ac_cv_prog_AR+:} false; then :
6030 $as_echo_n "(cached) " >&6
6032 if test -n "$AR"; then
6033 ac_cv_prog_AR="$AR" # Let the user override the test.
6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6039 test -z "$as_dir" && as_dir=.
6040 for ac_exec_ext in '' $ac_executable_extensions; do
6041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6042 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6053 if test -n "$AR"; then
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6055 $as_echo "$AR" >&6; }
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058 $as_echo "no" >&6; }
6062 test -n "$AR" && break
6065 if test -z "$AR"; then
6069 # Extract the first word of "$ac_prog", so it can be a program name with args.
6070 set dummy $ac_prog; ac_word=$2
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6072 $as_echo_n "checking for $ac_word... " >&6; }
6073 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6074 $as_echo_n "(cached) " >&6
6076 if test -n "$ac_ct_AR"; then
6077 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 test -z "$as_dir" && as_dir=.
6084 for ac_exec_ext in '' $ac_executable_extensions; do
6085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6086 ac_cv_prog_ac_ct_AR="$ac_prog"
6087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6096 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6097 if test -n "$ac_ct_AR"; then
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6099 $as_echo "$ac_ct_AR" >&6; }
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102 $as_echo "no" >&6; }
6106 test -n "$ac_ct_AR" && break
6109 if test "x$ac_ct_AR" = x; then
6112 case $cross_compiling:$ac_tool_warned in
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6116 ac_tool_warned=yes ;;
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6136 $as_echo_n "checking for archiver @FILE support... " >&6; }
6137 if ${lt_cv_ar_at_file+:} false; then :
6138 $as_echo_n "(cached) " >&6
6141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6142 /* end confdefs.h. */
6152 if ac_fn_c_try_compile "$LINENO"; then :
6153 echo conftest.$ac_objext > conftest.lst
6154 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6155 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6156 (eval $lt_ar_try) 2>&5
6158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6159 test $ac_status = 0; }
6160 if test "$ac_status" -eq 0; then
6161 # Ensure the archiver fails upon bogus file names.
6162 rm -f conftest.$ac_objext libconftest.a
6163 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6164 (eval $lt_ar_try) 2>&5
6166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6167 test $ac_status = 0; }
6168 if test "$ac_status" -ne 0; then
6172 rm -f conftest.* libconftest.a
6175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6179 $as_echo "$lt_cv_ar_at_file" >&6; }
6181 if test "x$lt_cv_ar_at_file" = xno; then
6184 archiver_list_spec=$lt_cv_ar_at_file
6193 if test -n "$ac_tool_prefix"; then
6194 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6195 set dummy ${ac_tool_prefix}strip; ac_word=$2
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6197 $as_echo_n "checking for $ac_word... " >&6; }
6198 if ${ac_cv_prog_STRIP+:} false; then :
6199 $as_echo_n "(cached) " >&6
6201 if test -n "$STRIP"; then
6202 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6208 test -z "$as_dir" && as_dir=.
6209 for ac_exec_ext in '' $ac_executable_extensions; do
6210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6211 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6221 STRIP=$ac_cv_prog_STRIP
6222 if test -n "$STRIP"; then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6224 $as_echo "$STRIP" >&6; }
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227 $as_echo "no" >&6; }
6232 if test -z "$ac_cv_prog_STRIP"; then
6234 # Extract the first word of "strip", so it can be a program name with args.
6235 set dummy strip; ac_word=$2
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6237 $as_echo_n "checking for $ac_word... " >&6; }
6238 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6239 $as_echo_n "(cached) " >&6
6241 if test -n "$ac_ct_STRIP"; then
6242 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6248 test -z "$as_dir" && as_dir=.
6249 for ac_exec_ext in '' $ac_executable_extensions; do
6250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6251 ac_cv_prog_ac_ct_STRIP="strip"
6252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6261 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6262 if test -n "$ac_ct_STRIP"; then
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6264 $as_echo "$ac_ct_STRIP" >&6; }
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6267 $as_echo "no" >&6; }
6270 if test "x$ac_ct_STRIP" = x; then
6273 case $cross_compiling:$ac_tool_warned in
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6277 ac_tool_warned=yes ;;
6282 STRIP="$ac_cv_prog_STRIP"
6285 test -z "$STRIP" && STRIP=:
6292 if test -n "$ac_tool_prefix"; then
6293 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6294 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6296 $as_echo_n "checking for $ac_word... " >&6; }
6297 if ${ac_cv_prog_RANLIB+:} false; then :
6298 $as_echo_n "(cached) " >&6
6300 if test -n "$RANLIB"; then
6301 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6307 test -z "$as_dir" && as_dir=.
6308 for ac_exec_ext in '' $ac_executable_extensions; do
6309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6310 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6320 RANLIB=$ac_cv_prog_RANLIB
6321 if test -n "$RANLIB"; then
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6323 $as_echo "$RANLIB" >&6; }
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6326 $as_echo "no" >&6; }
6331 if test -z "$ac_cv_prog_RANLIB"; then
6332 ac_ct_RANLIB=$RANLIB
6333 # Extract the first word of "ranlib", so it can be a program name with args.
6334 set dummy ranlib; ac_word=$2
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6336 $as_echo_n "checking for $ac_word... " >&6; }
6337 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6338 $as_echo_n "(cached) " >&6
6340 if test -n "$ac_ct_RANLIB"; then
6341 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6347 test -z "$as_dir" && as_dir=.
6348 for ac_exec_ext in '' $ac_executable_extensions; do
6349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6350 ac_cv_prog_ac_ct_RANLIB="ranlib"
6351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6360 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6361 if test -n "$ac_ct_RANLIB"; then
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6363 $as_echo "$ac_ct_RANLIB" >&6; }
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6366 $as_echo "no" >&6; }
6369 if test "x$ac_ct_RANLIB" = x; then
6372 case $cross_compiling:$ac_tool_warned in
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6376 ac_tool_warned=yes ;;
6378 RANLIB=$ac_ct_RANLIB
6381 RANLIB="$ac_cv_prog_RANLIB"
6384 test -z "$RANLIB" && RANLIB=:
6391 # Determine commands to create old-style static archives.
6392 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6393 old_postinstall_cmds='chmod 644 $oldlib'
6394 old_postuninstall_cmds=
6396 if test -n "$RANLIB"; then
6399 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6402 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6405 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6410 lock_old_archive_extraction=yes ;;
6412 lock_old_archive_extraction=no ;;
6453 # If no C compiler was specified, use CC.
6456 # If no C compiler flags were specified, use CFLAGS.
6457 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6459 # Allow CC to be a program name with arguments.
6463 # Check for command to grab the raw symbol name followed by C symbol from nm.
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6465 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6466 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6467 $as_echo_n "(cached) " >&6
6470 # These are sane defaults that work on at least a few old systems.
6471 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6473 # Character class describing NM global symbol codes.
6474 symcode='[BCDEGRST]'
6476 # Regexp to match symbols that can be accessed directly from C.
6477 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6479 # Define system-specific variables.
6484 cygwin* | mingw* | pw32* | cegcc*)
6485 symcode='[ABCDGISTW]'
6488 if test "$host_cpu" = ia64; then
6489 symcode='[ABCDEGRST]'
6493 symcode='[BCDEGRST]'
6496 symcode='[BCDEGQRST]'
6507 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6515 # If we're using GNU nm, then use its standard symbol codes.
6516 case `$NM -V 2>&1` in
6517 *GNU* | *'with BFD'*)
6518 symcode='[ABCDGIRSTW]' ;;
6521 # Transform an extracted symbol line into a proper C declaration.
6522 # Some systems (esp. on ia64) link data and code symbols differently,
6523 # so use this general approach.
6524 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6526 # Transform an extracted symbol line into symbol name and symbol address
6527 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6528 lt_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'"
6530 # Handle CRLF in mingw tool chain
6534 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6538 # Try without a prefix underscore, then with it.
6539 for ac_symprfx in "" "_"; do
6541 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6542 symxfrm="\\1 $ac_symprfx\\2 \\2"
6544 # Write the raw and C identifiers.
6545 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6546 # Fake it for dumpbin and say T for any non-static function
6547 # and D for any global variable.
6548 # Also find C++ and __fastcall symbols from MSVC++,
6549 # which start with @ or ?.
6550 lt_cv_sys_global_symbol_pipe="$AWK '"\
6551 " {last_section=section; section=\$ 3};"\
6552 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6553 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6554 " \$ 0!~/External *\|/{next};"\
6555 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6556 " {if(hide[section]) next};"\
6557 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6558 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6559 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6560 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6561 " ' prfx=^$ac_symprfx"
6563 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6565 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6567 # Check to see that the pipe works correctly.
6571 cat > conftest.$ac_ext <<_LT_EOF
6576 void nm_test_func(void);
6577 void nm_test_func(void){}
6581 int main(){nm_test_var='a';nm_test_func();return(0);}
6584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6585 (eval $ac_compile) 2>&5
6587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6588 test $ac_status = 0; }; then
6589 # Now try to grab the symbols.
6591 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6592 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6595 test $ac_status = 0; } && test -s "$nlist"; then
6596 # Try sorting and uniquifying the output.
6597 if sort "$nlist" | uniq > "$nlist"T; then
6598 mv -f "$nlist"T "$nlist"
6603 # Make sure that we snagged all the symbols we need.
6604 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6605 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6606 cat <<_LT_EOF > conftest.$ac_ext
6607 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6608 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6609 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6610 relocations are performed -- see ld's documentation on pseudo-relocs. */
6611 # define LT_DLSYM_CONST
6612 #elif defined(__osf__)
6613 /* This system does not cope well with relocations in const data. */
6614 # define LT_DLSYM_CONST
6616 # define LT_DLSYM_CONST const
6624 # Now generate the symbol file.
6625 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6627 cat <<_LT_EOF >> conftest.$ac_ext
6629 /* The mapping between symbol names and symbols. */
6630 LT_DLSYM_CONST struct {
6634 lt__PROGRAM__LTX_preloaded_symbols[] =
6636 { "@PROGRAM@", (void *) 0 },
6638 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6639 cat <<\_LT_EOF >> conftest.$ac_ext
6643 /* This works around a problem in FreeBSD linker */
6644 #ifdef FREEBSD_WORKAROUND
6645 static const void *lt_preloaded_setup() {
6646 return lt__PROGRAM__LTX_preloaded_symbols;
6654 # Now try linking the two files.
6655 mv conftest.$ac_objext conftstm.$ac_objext
6656 lt_globsym_save_LIBS=$LIBS
6657 lt_globsym_save_CFLAGS=$CFLAGS
6658 LIBS="conftstm.$ac_objext"
6659 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6660 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6661 (eval $ac_link) 2>&5
6663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6664 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6667 LIBS=$lt_globsym_save_LIBS
6668 CFLAGS=$lt_globsym_save_CFLAGS
6670 echo "cannot find nm_test_func in $nlist" >&5
6673 echo "cannot find nm_test_var in $nlist" >&5
6676 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6679 echo "$progname: failed program was:" >&5
6680 cat conftest.$ac_ext >&5
6682 rm -rf conftest* conftst*
6684 # Do not use the global_symbol_pipe unless it works.
6685 if test "$pipe_works" = yes; then
6688 lt_cv_sys_global_symbol_pipe=
6694 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6695 lt_cv_sys_global_symbol_to_cdecl=
6697 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6699 $as_echo "failed" >&6; }
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6702 $as_echo "ok" >&6; }
6705 # Response file support.
6706 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6707 nm_file_list_spec='@'
6708 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6709 nm_file_list_spec='@'
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6739 $as_echo_n "checking for sysroot... " >&6; }
6741 # Check whether --with-sysroot was given.
6742 if test "${with_sysroot+set}" = set; then :
6743 withval=$with_sysroot;
6750 case ${with_sysroot} in #(
6752 if test "$GCC" = yes; then
6753 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6757 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6763 $as_echo "${with_sysroot}" >&6; }
6764 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6769 $as_echo "${lt_sysroot:-no}" >&6; }
6775 # Check whether --enable-libtool-lock was given.
6776 if test "${enable_libtool_lock+set}" = set; then :
6777 enableval=$enable_libtool_lock;
6780 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6782 # Some flags need to be propagated to the compiler or linker for good
6786 # Find out which ABI we are using.
6787 echo 'int i;' > conftest.$ac_ext
6788 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6789 (eval $ac_compile) 2>&5
6791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6792 test $ac_status = 0; }; then
6793 case `/usr/bin/file conftest.$ac_objext` in
6805 # Find out which ABI we are using.
6806 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6807 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6808 (eval $ac_compile) 2>&5
6810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6811 test $ac_status = 0; }; then
6812 if test "$lt_cv_prog_gnu_ld" = yes; then
6813 case `/usr/bin/file conftest.$ac_objext` in
6815 LD="${LD-ld} -melf32bsmip"
6818 LD="${LD-ld} -melf32bmipn32"
6821 LD="${LD-ld} -melf64bmip"
6825 case `/usr/bin/file conftest.$ac_objext` in
6841 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6842 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6843 # Find out which ABI we are using.
6844 echo 'int i;' > conftest.$ac_ext
6845 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6846 (eval $ac_compile) 2>&5
6848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6849 test $ac_status = 0; }; then
6850 case `/usr/bin/file conftest.o` in
6853 x86_64-*kfreebsd*-gnu)
6854 LD="${LD-ld} -m elf_i386_fbsd"
6857 LD="${LD-ld} -m elf_i386"
6859 ppc64-*linux*|powerpc64-*linux*)
6860 LD="${LD-ld} -m elf32ppclinux"
6863 LD="${LD-ld} -m elf_s390"
6866 LD="${LD-ld} -m elf32_sparc"
6872 x86_64-*kfreebsd*-gnu)
6873 LD="${LD-ld} -m elf_x86_64_fbsd"
6876 LD="${LD-ld} -m elf_x86_64"
6878 ppc*-*linux*|powerpc*-*linux*)
6879 LD="${LD-ld} -m elf64ppc"
6881 s390*-*linux*|s390*-*tpf*)
6882 LD="${LD-ld} -m elf64_s390"
6885 LD="${LD-ld} -m elf64_sparc"
6895 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6896 SAVE_CFLAGS="$CFLAGS"
6897 CFLAGS="$CFLAGS -belf"
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6899 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6900 if ${lt_cv_cc_needs_belf+:} false; then :
6901 $as_echo_n "(cached) " >&6
6904 ac_cpp='$CPP $CPPFLAGS'
6905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6910 /* end confdefs.h. */
6920 if ac_fn_c_try_link "$LINENO"; then :
6921 lt_cv_cc_needs_belf=yes
6923 lt_cv_cc_needs_belf=no
6925 rm -f core conftest.err conftest.$ac_objext \
6926 conftest$ac_exeext conftest.$ac_ext
6928 ac_cpp='$CPP $CPPFLAGS'
6929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6935 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6936 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6937 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6938 CFLAGS="$SAVE_CFLAGS"
6942 # Find out which ABI we are using.
6943 echo 'int i;' > conftest.$ac_ext
6944 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6945 (eval $ac_compile) 2>&5
6947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6948 test $ac_status = 0; }; then
6949 case `/usr/bin/file conftest.o` in
6951 case $lt_cv_prog_gnu_ld in
6955 LD="${LD-ld} -m elf_x86_64"
6958 LD="${LD-ld} -m elf64_sparc"
6961 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6962 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6967 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6979 need_locks="$enable_libtool_lock"
6981 if test -n "$ac_tool_prefix"; then
6982 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6983 set dummy ${ac_tool_prefix}mt; ac_word=$2
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6985 $as_echo_n "checking for $ac_word... " >&6; }
6986 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6987 $as_echo_n "(cached) " >&6
6989 if test -n "$MANIFEST_TOOL"; then
6990 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6996 test -z "$as_dir" && as_dir=.
6997 for ac_exec_ext in '' $ac_executable_extensions; do
6998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6999 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7009 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7010 if test -n "$MANIFEST_TOOL"; then
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7012 $as_echo "$MANIFEST_TOOL" >&6; }
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7015 $as_echo "no" >&6; }
7020 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7021 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7022 # Extract the first word of "mt", so it can be a program name with args.
7023 set dummy mt; ac_word=$2
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7025 $as_echo_n "checking for $ac_word... " >&6; }
7026 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7027 $as_echo_n "(cached) " >&6
7029 if test -n "$ac_ct_MANIFEST_TOOL"; then
7030 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7036 test -z "$as_dir" && as_dir=.
7037 for ac_exec_ext in '' $ac_executable_extensions; do
7038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7039 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7049 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7050 if test -n "$ac_ct_MANIFEST_TOOL"; then
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7052 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7055 $as_echo "no" >&6; }
7058 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7061 case $cross_compiling:$ac_tool_warned in
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7065 ac_tool_warned=yes ;;
7067 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7070 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7073 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7075 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7076 if ${lt_cv_path_mainfest_tool+:} false; then :
7077 $as_echo_n "(cached) " >&6
7079 lt_cv_path_mainfest_tool=no
7080 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7081 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7082 cat conftest.err >&5
7083 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7084 lt_cv_path_mainfest_tool=yes
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7089 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7090 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7100 rhapsody* | darwin*)
7101 if test -n "$ac_tool_prefix"; then
7102 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7103 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7105 $as_echo_n "checking for $ac_word... " >&6; }
7106 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7107 $as_echo_n "(cached) " >&6
7109 if test -n "$DSYMUTIL"; then
7110 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7116 test -z "$as_dir" && as_dir=.
7117 for ac_exec_ext in '' $ac_executable_extensions; do
7118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7119 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7129 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7130 if test -n "$DSYMUTIL"; then
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7132 $as_echo "$DSYMUTIL" >&6; }
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7135 $as_echo "no" >&6; }
7140 if test -z "$ac_cv_prog_DSYMUTIL"; then
7141 ac_ct_DSYMUTIL=$DSYMUTIL
7142 # Extract the first word of "dsymutil", so it can be a program name with args.
7143 set dummy dsymutil; ac_word=$2
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7145 $as_echo_n "checking for $ac_word... " >&6; }
7146 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7147 $as_echo_n "(cached) " >&6
7149 if test -n "$ac_ct_DSYMUTIL"; then
7150 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7156 test -z "$as_dir" && as_dir=.
7157 for ac_exec_ext in '' $ac_executable_extensions; do
7158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7159 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7169 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7170 if test -n "$ac_ct_DSYMUTIL"; then
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7172 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175 $as_echo "no" >&6; }
7178 if test "x$ac_ct_DSYMUTIL" = x; then
7181 case $cross_compiling:$ac_tool_warned in
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7185 ac_tool_warned=yes ;;
7187 DSYMUTIL=$ac_ct_DSYMUTIL
7190 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7193 if test -n "$ac_tool_prefix"; then
7194 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7195 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7197 $as_echo_n "checking for $ac_word... " >&6; }
7198 if ${ac_cv_prog_NMEDIT+:} false; then :
7199 $as_echo_n "(cached) " >&6
7201 if test -n "$NMEDIT"; then
7202 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7208 test -z "$as_dir" && as_dir=.
7209 for ac_exec_ext in '' $ac_executable_extensions; do
7210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7211 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7221 NMEDIT=$ac_cv_prog_NMEDIT
7222 if test -n "$NMEDIT"; then
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7224 $as_echo "$NMEDIT" >&6; }
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7227 $as_echo "no" >&6; }
7232 if test -z "$ac_cv_prog_NMEDIT"; then
7233 ac_ct_NMEDIT=$NMEDIT
7234 # Extract the first word of "nmedit", so it can be a program name with args.
7235 set dummy nmedit; ac_word=$2
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7237 $as_echo_n "checking for $ac_word... " >&6; }
7238 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7239 $as_echo_n "(cached) " >&6
7241 if test -n "$ac_ct_NMEDIT"; then
7242 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7248 test -z "$as_dir" && as_dir=.
7249 for ac_exec_ext in '' $ac_executable_extensions; do
7250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7251 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7261 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7262 if test -n "$ac_ct_NMEDIT"; then
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7264 $as_echo "$ac_ct_NMEDIT" >&6; }
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7267 $as_echo "no" >&6; }
7270 if test "x$ac_ct_NMEDIT" = x; then
7273 case $cross_compiling:$ac_tool_warned in
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7277 ac_tool_warned=yes ;;
7279 NMEDIT=$ac_ct_NMEDIT
7282 NMEDIT="$ac_cv_prog_NMEDIT"
7285 if test -n "$ac_tool_prefix"; then
7286 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7287 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7289 $as_echo_n "checking for $ac_word... " >&6; }
7290 if ${ac_cv_prog_LIPO+:} false; then :
7291 $as_echo_n "(cached) " >&6
7293 if test -n "$LIPO"; then
7294 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7300 test -z "$as_dir" && as_dir=.
7301 for ac_exec_ext in '' $ac_executable_extensions; do
7302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7303 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7313 LIPO=$ac_cv_prog_LIPO
7314 if test -n "$LIPO"; then
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7316 $as_echo "$LIPO" >&6; }
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7319 $as_echo "no" >&6; }
7324 if test -z "$ac_cv_prog_LIPO"; then
7326 # Extract the first word of "lipo", so it can be a program name with args.
7327 set dummy lipo; ac_word=$2
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7329 $as_echo_n "checking for $ac_word... " >&6; }
7330 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7331 $as_echo_n "(cached) " >&6
7333 if test -n "$ac_ct_LIPO"; then
7334 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7340 test -z "$as_dir" && as_dir=.
7341 for ac_exec_ext in '' $ac_executable_extensions; do
7342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7343 ac_cv_prog_ac_ct_LIPO="lipo"
7344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7353 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7354 if test -n "$ac_ct_LIPO"; then
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7356 $as_echo "$ac_ct_LIPO" >&6; }
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7359 $as_echo "no" >&6; }
7362 if test "x$ac_ct_LIPO" = x; then
7365 case $cross_compiling:$ac_tool_warned in
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7369 ac_tool_warned=yes ;;
7374 LIPO="$ac_cv_prog_LIPO"
7377 if test -n "$ac_tool_prefix"; then
7378 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7379 set dummy ${ac_tool_prefix}otool; ac_word=$2
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7381 $as_echo_n "checking for $ac_word... " >&6; }
7382 if ${ac_cv_prog_OTOOL+:} false; then :
7383 $as_echo_n "(cached) " >&6
7385 if test -n "$OTOOL"; then
7386 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7392 test -z "$as_dir" && as_dir=.
7393 for ac_exec_ext in '' $ac_executable_extensions; do
7394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7395 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7405 OTOOL=$ac_cv_prog_OTOOL
7406 if test -n "$OTOOL"; then
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7408 $as_echo "$OTOOL" >&6; }
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7411 $as_echo "no" >&6; }
7416 if test -z "$ac_cv_prog_OTOOL"; then
7418 # Extract the first word of "otool", so it can be a program name with args.
7419 set dummy otool; ac_word=$2
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7421 $as_echo_n "checking for $ac_word... " >&6; }
7422 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7423 $as_echo_n "(cached) " >&6
7425 if test -n "$ac_ct_OTOOL"; then
7426 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7432 test -z "$as_dir" && as_dir=.
7433 for ac_exec_ext in '' $ac_executable_extensions; do
7434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7435 ac_cv_prog_ac_ct_OTOOL="otool"
7436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7445 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7446 if test -n "$ac_ct_OTOOL"; then
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7448 $as_echo "$ac_ct_OTOOL" >&6; }
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7451 $as_echo "no" >&6; }
7454 if test "x$ac_ct_OTOOL" = x; then
7457 case $cross_compiling:$ac_tool_warned in
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7461 ac_tool_warned=yes ;;
7466 OTOOL="$ac_cv_prog_OTOOL"
7469 if test -n "$ac_tool_prefix"; then
7470 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7471 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7473 $as_echo_n "checking for $ac_word... " >&6; }
7474 if ${ac_cv_prog_OTOOL64+:} false; then :
7475 $as_echo_n "(cached) " >&6
7477 if test -n "$OTOOL64"; then
7478 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7484 test -z "$as_dir" && as_dir=.
7485 for ac_exec_ext in '' $ac_executable_extensions; do
7486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7487 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7497 OTOOL64=$ac_cv_prog_OTOOL64
7498 if test -n "$OTOOL64"; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7500 $as_echo "$OTOOL64" >&6; }
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }
7508 if test -z "$ac_cv_prog_OTOOL64"; then
7509 ac_ct_OTOOL64=$OTOOL64
7510 # Extract the first word of "otool64", so it can be a program name with args.
7511 set dummy otool64; ac_word=$2
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7513 $as_echo_n "checking for $ac_word... " >&6; }
7514 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7515 $as_echo_n "(cached) " >&6
7517 if test -n "$ac_ct_OTOOL64"; then
7518 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7524 test -z "$as_dir" && as_dir=.
7525 for ac_exec_ext in '' $ac_executable_extensions; do
7526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7527 ac_cv_prog_ac_ct_OTOOL64="otool64"
7528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7537 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7538 if test -n "$ac_ct_OTOOL64"; then
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7540 $as_echo "$ac_ct_OTOOL64" >&6; }
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7543 $as_echo "no" >&6; }
7546 if test "x$ac_ct_OTOOL64" = x; then
7549 case $cross_compiling:$ac_tool_warned in
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7553 ac_tool_warned=yes ;;
7555 OTOOL64=$ac_ct_OTOOL64
7558 OTOOL64="$ac_cv_prog_OTOOL64"
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7588 $as_echo_n "checking for -single_module linker flag... " >&6; }
7589 if ${lt_cv_apple_cc_single_mod+:} false; then :
7590 $as_echo_n "(cached) " >&6
7592 lt_cv_apple_cc_single_mod=no
7593 if test -z "${LT_MULTI_MODULE}"; then
7594 # By default we will add the -single_module flag. You can override
7595 # by either setting the environment variable LT_MULTI_MODULE
7596 # non-empty at configure time, or by adding -multi_module to the
7598 rm -rf libconftest.dylib*
7599 echo "int foo(void){return 1;}" > conftest.c
7600 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7601 -dynamiclib -Wl,-single_module conftest.c" >&5
7602 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7603 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7605 # If there is a non-empty error log, and "single_module"
7606 # appears in it, assume the flag caused a linker warning
7607 if test -s conftest.err && $GREP single_module conftest.err; then
7608 cat conftest.err >&5
7609 # Otherwise, if the output was created with a 0 exit code from
7610 # the compiler, it worked.
7611 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7612 lt_cv_apple_cc_single_mod=yes
7614 cat conftest.err >&5
7616 rm -rf libconftest.dylib*
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7621 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7624 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7625 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7626 $as_echo_n "(cached) " >&6
7628 lt_cv_ld_exported_symbols_list=no
7629 save_LDFLAGS=$LDFLAGS
7630 echo "_main" > conftest.sym
7631 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7633 /* end confdefs.h. */
7643 if ac_fn_c_try_link "$LINENO"; then :
7644 lt_cv_ld_exported_symbols_list=yes
7646 lt_cv_ld_exported_symbols_list=no
7648 rm -f core conftest.err conftest.$ac_objext \
7649 conftest$ac_exeext conftest.$ac_ext
7650 LDFLAGS="$save_LDFLAGS"
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7654 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7657 $as_echo_n "checking for -force_load linker flag... " >&6; }
7658 if ${lt_cv_ld_force_load+:} false; then :
7659 $as_echo_n "(cached) " >&6
7661 lt_cv_ld_force_load=no
7662 cat > conftest.c << _LT_EOF
7663 int forced_loaded() { return 2;}
7665 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7666 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7667 echo "$AR cru libconftest.a conftest.o" >&5
7668 $AR cru libconftest.a conftest.o 2>&5
7669 echo "$RANLIB libconftest.a" >&5
7670 $RANLIB libconftest.a 2>&5
7671 cat > conftest.c << _LT_EOF
7672 int main() { return 0;}
7674 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7675 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7677 if test -s conftest.err && $GREP force_load conftest.err; then
7678 cat conftest.err >&5
7679 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7680 lt_cv_ld_force_load=yes
7682 cat conftest.err >&5
7684 rm -f conftest.err libconftest.a conftest conftest.c
7685 rm -rf conftest.dSYM
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7689 $as_echo "$lt_cv_ld_force_load" >&6; }
7691 rhapsody* | darwin1.[012])
7692 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7694 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7695 darwin*) # darwin 5.x on
7696 # if running on 10.5 or later, the deployment target defaults
7697 # to the OS version, if on x86, and 10.4, the deployment
7698 # target defaults to 10.4. Don't you love it?
7699 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7700 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7701 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7703 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7705 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7709 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7710 _lt_dar_single_mod='$single_module'
7712 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7713 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7715 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7717 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7718 _lt_dsymutil='~$DSYMUTIL $lib || :'
7726 ac_cpp='$CPP $CPPFLAGS'
7727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7731 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7732 # On Suns, sometimes $CPP names a directory.
7733 if test -n "$CPP" && test -d "$CPP"; then
7736 if test -z "$CPP"; then
7737 if ${ac_cv_prog_CPP+:} false; then :
7738 $as_echo_n "(cached) " >&6
7740 # Double quotes because CPP needs to be expanded
7741 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7744 for ac_c_preproc_warn_flag in '' yes
7746 # Use a header file that comes with gcc, so configuring glibc
7747 # with a fresh cross-compiler works.
7748 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7749 # <limits.h> exists even on freestanding compilers.
7750 # On the NeXT, cc -E runs the code through the compiler's parser,
7751 # not just through cpp. "Syntax error" is here to catch this case.
7752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7753 /* end confdefs.h. */
7755 # include <limits.h>
7757 # include <assert.h>
7761 if ac_fn_c_try_cpp "$LINENO"; then :
7764 # Broken: fails on valid input.
7767 rm -f conftest.err conftest.i conftest.$ac_ext
7769 # OK, works on sane cases. Now check whether nonexistent headers
7770 # can be detected and how.
7771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7772 /* end confdefs.h. */
7773 #include <ac_nonexistent.h>
7775 if ac_fn_c_try_cpp "$LINENO"; then :
7776 # Broken: success on invalid input.
7779 # Passes both tests.
7783 rm -f conftest.err conftest.i conftest.$ac_ext
7786 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7787 rm -f conftest.i conftest.err conftest.$ac_ext
7788 if $ac_preproc_ok; then :
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7801 $as_echo "$CPP" >&6; }
7803 for ac_c_preproc_warn_flag in '' yes
7805 # Use a header file that comes with gcc, so configuring glibc
7806 # with a fresh cross-compiler works.
7807 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7808 # <limits.h> exists even on freestanding compilers.
7809 # On the NeXT, cc -E runs the code through the compiler's parser,
7810 # not just through cpp. "Syntax error" is here to catch this case.
7811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7812 /* end confdefs.h. */
7814 # include <limits.h>
7816 # include <assert.h>
7820 if ac_fn_c_try_cpp "$LINENO"; then :
7823 # Broken: fails on valid input.
7826 rm -f conftest.err conftest.i conftest.$ac_ext
7828 # OK, works on sane cases. Now check whether nonexistent headers
7829 # can be detected and how.
7830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7831 /* end confdefs.h. */
7832 #include <ac_nonexistent.h>
7834 if ac_fn_c_try_cpp "$LINENO"; then :
7835 # Broken: success on invalid input.
7838 # Passes both tests.
7842 rm -f conftest.err conftest.i conftest.$ac_ext
7845 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7846 rm -f conftest.i conftest.err conftest.$ac_ext
7847 if $ac_preproc_ok; then :
7850 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7852 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7853 See \`config.log' for more details" "$LINENO" 5; }
7857 ac_cpp='$CPP $CPPFLAGS'
7858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7864 $as_echo_n "checking for ANSI C header files... " >&6; }
7865 if ${ac_cv_header_stdc+:} false; then :
7866 $as_echo_n "(cached) " >&6
7868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7869 /* end confdefs.h. */
7883 if ac_fn_c_try_compile "$LINENO"; then :
7884 ac_cv_header_stdc=yes
7886 ac_cv_header_stdc=no
7888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7890 if test $ac_cv_header_stdc = yes; then
7891 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7893 /* end confdefs.h. */
7897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7898 $EGREP "memchr" >/dev/null 2>&1; then :
7901 ac_cv_header_stdc=no
7907 if test $ac_cv_header_stdc = yes; then
7908 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7910 /* end confdefs.h. */
7914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7915 $EGREP "free" >/dev/null 2>&1; then :
7918 ac_cv_header_stdc=no
7924 if test $ac_cv_header_stdc = yes; then
7925 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7926 if test "$cross_compiling" = yes; then :
7929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7930 /* end confdefs.h. */
7933 #if ((' ' & 0x0FF) == 0x020)
7934 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7935 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7937 # define ISLOWER(c) \
7938 (('a' <= (c) && (c) <= 'i') \
7939 || ('j' <= (c) && (c) <= 'r') \
7940 || ('s' <= (c) && (c) <= 'z'))
7941 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7944 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7949 for (i = 0; i < 256; i++)
7950 if (XOR (islower (i), ISLOWER (i))
7951 || toupper (i) != TOUPPER (i))
7956 if ac_fn_c_try_run "$LINENO"; then :
7959 ac_cv_header_stdc=no
7961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7962 conftest.$ac_objext conftest.beam conftest.$ac_ext
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7968 $as_echo "$ac_cv_header_stdc" >&6; }
7969 if test $ac_cv_header_stdc = yes; then
7971 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7975 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7976 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7977 inttypes.h stdint.h unistd.h
7979 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7980 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7982 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7983 cat >>confdefs.h <<_ACEOF
7984 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7992 for ac_header in dlfcn.h
7994 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7996 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7997 cat >>confdefs.h <<_ACEOF
7998 #define HAVE_DLFCN_H 1
8017 # Check whether --enable-shared was given.
8018 if test "${enable_shared+set}" = set; then :
8019 enableval=$enable_shared; p=${PACKAGE-default}
8021 yes) enable_shared=yes ;;
8022 no) enable_shared=no ;;
8025 # Look at the argument we got. We use all the common list separators.
8026 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8027 for pkg in $enableval; do
8029 if test "X$pkg" = "X$p"; then
8048 # Check whether --enable-static was given.
8049 if test "${enable_static+set}" = set; then :
8050 enableval=$enable_static; p=${PACKAGE-default}
8052 yes) enable_static=yes ;;
8053 no) enable_static=no ;;
8056 # Look at the argument we got. We use all the common list separators.
8057 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8058 for pkg in $enableval; do
8060 if test "X$pkg" = "X$p"; then
8080 # Check whether --with-pic was given.
8081 if test "${with_pic+set}" = set; then :
8082 withval=$with_pic; lt_p=${PACKAGE-default}
8084 yes|no) pic_mode=$withval ;;
8087 # Look at the argument we got. We use all the common list separators.
8088 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8089 for lt_pkg in $withval; do
8091 if test "X$lt_pkg" = "X$lt_p"; then
8103 test -z "$pic_mode" && pic_mode=default
8111 # Check whether --enable-fast-install was given.
8112 if test "${enable_fast_install+set}" = set; then :
8113 enableval=$enable_fast_install; p=${PACKAGE-default}
8115 yes) enable_fast_install=yes ;;
8116 no) enable_fast_install=no ;;
8118 enable_fast_install=no
8119 # Look at the argument we got. We use all the common list separators.
8120 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8121 for pkg in $enableval; do
8123 if test "X$pkg" = "X$p"; then
8124 enable_fast_install=yes
8131 enable_fast_install=yes
8144 # This can be used to rebuild libtool when needed
8145 LIBTOOL_DEPS="$ltmain"
8147 # Always use our own libtool.
8148 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8179 test -z "$LN_S" && LN_S="ln -s"
8194 if test -n "${ZSH_VERSION+set}" ; then
8195 setopt NO_GLOB_SUBST
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8199 $as_echo_n "checking for objdir... " >&6; }
8200 if ${lt_cv_objdir+:} false; then :
8201 $as_echo_n "(cached) " >&6
8203 rm -f .libs 2>/dev/null
8204 mkdir .libs 2>/dev/null
8205 if test -d .libs; then
8208 # MS-DOS does not allow filenames that begin with a dot.
8211 rmdir .libs 2>/dev/null
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8214 $as_echo "$lt_cv_objdir" >&6; }
8215 objdir=$lt_cv_objdir
8221 cat >>confdefs.h <<_ACEOF
8222 #define LT_OBJDIR "$lt_cv_objdir/"
8230 # AIX sometimes has problems with the GCC collect2 program. For some
8231 # reason, if we set the COLLECT_NAMES environment variable, the problems
8232 # vanish in a puff of smoke.
8233 if test "X${COLLECT_NAMES+set}" != Xset; then
8235 export COLLECT_NAMES
8242 can_build_shared=yes
8244 # All known linkers require a `.a' archive for static linking (except MSVC,
8245 # which needs '.lib').
8248 with_gnu_ld="$lt_cv_prog_gnu_ld"
8251 old_CFLAGS="$CFLAGS"
8253 # Set sane defaults for various variables
8254 test -z "$CC" && CC=cc
8255 test -z "$LTCC" && LTCC=$CC
8256 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8257 test -z "$LD" && LD=ld
8258 test -z "$ac_objext" && ac_objext=o
8260 for cc_temp in $compiler""; do
8262 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8263 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8268 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8271 # Only perform the check for file, if the check method requires it
8272 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8273 case $deplibs_check_method in
8275 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8277 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8278 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8279 $as_echo_n "(cached) " >&6
8283 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8286 lt_save_MAGIC_CMD="$MAGIC_CMD"
8287 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8288 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8289 for ac_dir in $ac_dummy; do
8291 test -z "$ac_dir" && ac_dir=.
8292 if test -f $ac_dir/${ac_tool_prefix}file; then
8293 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8294 if test -n "$file_magic_test_file"; then
8295 case $deplibs_check_method in
8297 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8298 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8299 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8300 $EGREP "$file_magic_regex" > /dev/null; then
8305 *** Warning: the command libtool uses to detect shared libraries,
8306 *** $file_magic_cmd, produces output that libtool cannot recognize.
8307 *** The result is that libtool may fail to recognize shared libraries
8308 *** as such. This will affect the creation of libtool libraries that
8309 *** depend on shared libraries, but programs linked with such libtool
8310 *** libraries will work regardless of this problem. Nevertheless, you
8311 *** may want to report the problem to your system manager and/or to
8312 *** bug-libtool@gnu.org
8322 MAGIC_CMD="$lt_save_MAGIC_CMD"
8327 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8328 if test -n "$MAGIC_CMD"; then
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8330 $as_echo "$MAGIC_CMD" >&6; }
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8333 $as_echo "no" >&6; }
8340 if test -z "$lt_cv_path_MAGIC_CMD"; then
8341 if test -n "$ac_tool_prefix"; then
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8343 $as_echo_n "checking for file... " >&6; }
8344 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8345 $as_echo_n "(cached) " >&6
8349 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8352 lt_save_MAGIC_CMD="$MAGIC_CMD"
8353 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8354 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8355 for ac_dir in $ac_dummy; do
8357 test -z "$ac_dir" && ac_dir=.
8358 if test -f $ac_dir/file; then
8359 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8360 if test -n "$file_magic_test_file"; then
8361 case $deplibs_check_method in
8363 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8364 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8365 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8366 $EGREP "$file_magic_regex" > /dev/null; then
8371 *** Warning: the command libtool uses to detect shared libraries,
8372 *** $file_magic_cmd, produces output that libtool cannot recognize.
8373 *** The result is that libtool may fail to recognize shared libraries
8374 *** as such. This will affect the creation of libtool libraries that
8375 *** depend on shared libraries, but programs linked with such libtool
8376 *** libraries will work regardless of this problem. Nevertheless, you
8377 *** may want to report the problem to your system manager and/or to
8378 *** bug-libtool@gnu.org
8388 MAGIC_CMD="$lt_save_MAGIC_CMD"
8393 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8394 if test -n "$MAGIC_CMD"; then
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8396 $as_echo "$MAGIC_CMD" >&6; }
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8399 $as_echo "no" >&6; }
8412 # Use C for the default configuration in the libtool script
8416 ac_cpp='$CPP $CPPFLAGS'
8417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8422 # Source file extension for C test sources.
8425 # Object file extension for compiled C test sources.
8429 # Code to be used in simple compile tests
8430 lt_simple_compile_test_code="int some_variable = 0;"
8432 # Code to be used in simple link tests
8433 lt_simple_link_test_code='int main(){return(0);}'
8441 # If no C compiler was specified, use CC.
8444 # If no C compiler flags were specified, use CFLAGS.
8445 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8447 # Allow CC to be a program name with arguments.
8450 # Save the default compiler, since it gets overwritten when the other
8451 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8452 compiler_DEFAULT=$CC
8454 # save warnings/boilerplate of simple test code
8455 ac_outfile=conftest.$ac_objext
8456 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8457 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8458 _lt_compiler_boilerplate=`cat conftest.err`
8461 ac_outfile=conftest.$ac_objext
8462 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8463 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8464 _lt_linker_boilerplate=`cat conftest.err`
8468 if test -n "$compiler"; then
8470 lt_prog_compiler_no_builtin_flag=
8472 if test "$GCC" = yes; then
8473 case $cc_basename in
8475 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8477 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8481 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8482 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8483 $as_echo_n "(cached) " >&6
8485 lt_cv_prog_compiler_rtti_exceptions=no
8486 ac_outfile=conftest.$ac_objext
8487 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8488 lt_compiler_flag="-fno-rtti -fno-exceptions"
8489 # Insert the option either (1) after the last *FLAGS variable, or
8490 # (2) before a word containing "conftest.", or (3) at the end.
8491 # Note that $ac_compile itself does not contain backslashes and begins
8492 # with a dollar sign (not a hyphen), so the echo should work correctly.
8493 # The option is referenced via a variable to avoid confusing sed.
8494 lt_compile=`echo "$ac_compile" | $SED \
8495 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8496 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8497 -e 's:$: $lt_compiler_flag:'`
8498 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8499 (eval "$lt_compile" 2>conftest.err)
8501 cat conftest.err >&5
8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503 if (exit $ac_status) && test -s "$ac_outfile"; then
8504 # The compiler can only warn and ignore the option if not recognized
8505 # So say no if there are warnings other than the usual output.
8506 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8507 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8508 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8509 lt_cv_prog_compiler_rtti_exceptions=yes
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8516 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8518 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8519 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8531 lt_prog_compiler_wl=
8532 lt_prog_compiler_pic=
8533 lt_prog_compiler_static=
8536 if test "$GCC" = yes; then
8537 lt_prog_compiler_wl='-Wl,'
8538 lt_prog_compiler_static='-static'
8542 # All AIX code is PIC.
8543 if test "$host_cpu" = ia64; then
8544 # AIX 5 now supports IA64 processor
8545 lt_prog_compiler_static='-Bstatic'
8552 # see comment about AmigaOS4 .so support
8553 lt_prog_compiler_pic='-fPIC'
8556 # FIXME: we need at least 68020 code to build shared libraries, but
8557 # adding the `-m68020' flag to GCC prevents building anything better,
8559 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8564 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8565 # PIC is the default for these OSes.
8568 mingw* | cygwin* | pw32* | os2* | cegcc*)
8569 # This hack is so that the source file can tell whether it is being
8570 # built for inclusion in a dll (and should export symbols for example).
8571 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8572 # (--disable-auto-import) libraries
8573 lt_prog_compiler_pic='-DDLL_EXPORT'
8576 darwin* | rhapsody*)
8577 # PIC is the default on this platform
8578 # Common symbols not allowed in MH_DYLIB files
8579 lt_prog_compiler_pic='-fno-common'
8583 # PIC is the default for Haiku.
8584 # The "-static" flag exists, but is broken.
8585 lt_prog_compiler_static=
8589 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8590 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8591 # sets the default TLS model and affects inlining.
8597 lt_prog_compiler_pic='-fPIC'
8603 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8604 # Instead, we relocate shared libraries at runtime.
8608 # Just because we use GCC doesn't mean we suddenly get shared libraries
8609 # on systems that don't support them.
8610 lt_prog_compiler_can_build_shared=no
8615 # QNX uses GNU C++, but need to define -shared option too, otherwise
8617 lt_prog_compiler_pic='-fPIC -shared'
8621 if test -d /usr/nec; then
8622 lt_prog_compiler_pic=-Kconform_pic
8627 lt_prog_compiler_pic='-fPIC'
8631 case $cc_basename in
8632 nvcc*) # Cuda Compiler Driver 2.2
8633 lt_prog_compiler_wl='-Xlinker '
8634 if test -n "$lt_prog_compiler_pic"; then
8635 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8640 # PORTME Check for flag to pass linker flags through the system compiler.
8643 lt_prog_compiler_wl='-Wl,'
8644 if test "$host_cpu" = ia64; then
8645 # AIX 5 now supports IA64 processor
8646 lt_prog_compiler_static='-Bstatic'
8648 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8652 mingw* | cygwin* | pw32* | os2* | cegcc*)
8653 # This hack is so that the source file can tell whether it is being
8654 # built for inclusion in a dll (and should export symbols for example).
8655 lt_prog_compiler_pic='-DDLL_EXPORT'
8658 hpux9* | hpux10* | hpux11*)
8659 lt_prog_compiler_wl='-Wl,'
8660 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8667 lt_prog_compiler_pic='+Z'
8670 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8671 lt_prog_compiler_static='${wl}-a ${wl}archive'
8674 irix5* | irix6* | nonstopux*)
8675 lt_prog_compiler_wl='-Wl,'
8676 # PIC (with -KPIC) is the default.
8677 lt_prog_compiler_static='-non_shared'
8680 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8681 case $cc_basename in
8682 # old Intel for x86_64 which still supported -KPIC.
8684 lt_prog_compiler_wl='-Wl,'
8685 lt_prog_compiler_pic='-KPIC'
8686 lt_prog_compiler_static='-static'
8688 # icc used to be incompatible with GCC.
8689 # ICC 10 doesn't accept -KPIC any more.
8691 lt_prog_compiler_wl='-Wl,'
8692 lt_prog_compiler_pic='-fPIC'
8693 lt_prog_compiler_static='-static'
8695 # Lahey Fortran 8.1.
8697 lt_prog_compiler_wl='-Wl,'
8698 lt_prog_compiler_pic='--shared'
8699 lt_prog_compiler_static='--static'
8702 # NAG Fortran compiler
8703 lt_prog_compiler_wl='-Wl,-Wl,,'
8704 lt_prog_compiler_pic='-PIC'
8705 lt_prog_compiler_static='-Bstatic'
8707 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8708 # Portland Group compilers (*not* the Pentium gcc compiler,
8709 # which looks to be a dead project)
8710 lt_prog_compiler_wl='-Wl,'
8711 lt_prog_compiler_pic='-fpic'
8712 lt_prog_compiler_static='-Bstatic'
8715 lt_prog_compiler_wl='-Wl,'
8716 # All Alpha code is PIC.
8717 lt_prog_compiler_static='-non_shared'
8719 xl* | bgxl* | bgf* | mpixl*)
8720 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8721 lt_prog_compiler_wl='-Wl,'
8722 lt_prog_compiler_pic='-qpic'
8723 lt_prog_compiler_static='-qstaticlink'
8726 case `$CC -V 2>&1 | sed 5q` in
8727 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8728 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8729 lt_prog_compiler_pic='-KPIC'
8730 lt_prog_compiler_static='-Bstatic'
8731 lt_prog_compiler_wl=''
8733 *Sun\ F* | *Sun*Fortran*)
8734 lt_prog_compiler_pic='-KPIC'
8735 lt_prog_compiler_static='-Bstatic'
8736 lt_prog_compiler_wl='-Qoption ld '
8740 lt_prog_compiler_pic='-KPIC'
8741 lt_prog_compiler_static='-Bstatic'
8742 lt_prog_compiler_wl='-Wl,'
8744 *Intel*\ [CF]*Compiler*)
8745 lt_prog_compiler_wl='-Wl,'
8746 lt_prog_compiler_pic='-fPIC'
8747 lt_prog_compiler_static='-static'
8750 lt_prog_compiler_wl='-Wl,'
8751 lt_prog_compiler_pic='-fpic'
8752 lt_prog_compiler_static='-Bstatic'
8760 lt_prog_compiler_pic='-KPIC'
8761 lt_prog_compiler_static='-Bstatic'
8765 # QNX uses GNU C++, but need to define -shared option too, otherwise
8767 lt_prog_compiler_pic='-fPIC -shared'
8770 osf3* | osf4* | osf5*)
8771 lt_prog_compiler_wl='-Wl,'
8772 # All OSF/1 code is PIC.
8773 lt_prog_compiler_static='-non_shared'
8777 lt_prog_compiler_static='-non_shared'
8781 lt_prog_compiler_pic='-KPIC'
8782 lt_prog_compiler_static='-Bstatic'
8783 case $cc_basename in
8784 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8785 lt_prog_compiler_wl='-Qoption ld ';;
8787 lt_prog_compiler_wl='-Wl,';;
8792 lt_prog_compiler_wl='-Qoption ld '
8793 lt_prog_compiler_pic='-PIC'
8794 lt_prog_compiler_static='-Bstatic'
8797 sysv4 | sysv4.2uw2* | sysv4.3*)
8798 lt_prog_compiler_wl='-Wl,'
8799 lt_prog_compiler_pic='-KPIC'
8800 lt_prog_compiler_static='-Bstatic'
8804 if test -d /usr/nec ;then
8805 lt_prog_compiler_pic='-Kconform_pic'
8806 lt_prog_compiler_static='-Bstatic'
8810 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8811 lt_prog_compiler_wl='-Wl,'
8812 lt_prog_compiler_pic='-KPIC'
8813 lt_prog_compiler_static='-Bstatic'
8817 lt_prog_compiler_wl='-Wl,'
8818 lt_prog_compiler_can_build_shared=no
8822 lt_prog_compiler_pic='-pic'
8823 lt_prog_compiler_static='-Bstatic'
8827 lt_prog_compiler_can_build_shared=no
8833 # For platforms which do not support PIC, -DPIC is meaningless:
8835 lt_prog_compiler_pic=
8838 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8843 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8844 if ${lt_cv_prog_compiler_pic+:} false; then :
8845 $as_echo_n "(cached) " >&6
8847 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8850 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8851 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8854 # Check to make sure the PIC flag actually works.
8856 if test -n "$lt_prog_compiler_pic"; then
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8858 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8859 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8860 $as_echo_n "(cached) " >&6
8862 lt_cv_prog_compiler_pic_works=no
8863 ac_outfile=conftest.$ac_objext
8864 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8865 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8866 # Insert the option either (1) after the last *FLAGS variable, or
8867 # (2) before a word containing "conftest.", or (3) at the end.
8868 # Note that $ac_compile itself does not contain backslashes and begins
8869 # with a dollar sign (not a hyphen), so the echo should work correctly.
8870 # The option is referenced via a variable to avoid confusing sed.
8871 lt_compile=`echo "$ac_compile" | $SED \
8872 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8873 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8874 -e 's:$: $lt_compiler_flag:'`
8875 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8876 (eval "$lt_compile" 2>conftest.err)
8878 cat conftest.err >&5
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 if (exit $ac_status) && test -s "$ac_outfile"; then
8881 # The compiler can only warn and ignore the option if not recognized
8882 # So say no if there are warnings other than the usual output.
8883 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8884 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8885 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8886 lt_cv_prog_compiler_pic_works=yes
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8893 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8895 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8896 case $lt_prog_compiler_pic in
8898 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8901 lt_prog_compiler_pic=
8902 lt_prog_compiler_can_build_shared=no
8918 # Check to make sure the static flag actually works.
8920 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8922 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8923 if ${lt_cv_prog_compiler_static_works+:} false; then :
8924 $as_echo_n "(cached) " >&6
8926 lt_cv_prog_compiler_static_works=no
8927 save_LDFLAGS="$LDFLAGS"
8928 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8929 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8930 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8931 # The linker can only warn and ignore the option if not recognized
8932 # So say no if there are warnings
8933 if test -s conftest.err; then
8934 # Append any errors to the config.log.
8935 cat conftest.err 1>&5
8936 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8937 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8938 if diff conftest.exp conftest.er2 >/dev/null; then
8939 lt_cv_prog_compiler_static_works=yes
8942 lt_cv_prog_compiler_static_works=yes
8946 LDFLAGS="$save_LDFLAGS"
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8950 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8952 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8955 lt_prog_compiler_static=
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8965 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8966 if ${lt_cv_prog_compiler_c_o+:} false; then :
8967 $as_echo_n "(cached) " >&6
8969 lt_cv_prog_compiler_c_o=no
8970 $RM -r conftest 2>/dev/null
8974 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8976 lt_compiler_flag="-o out/conftest2.$ac_objext"
8977 # Insert the option either (1) after the last *FLAGS variable, or
8978 # (2) before a word containing "conftest.", or (3) at the end.
8979 # Note that $ac_compile itself does not contain backslashes and begins
8980 # with a dollar sign (not a hyphen), so the echo should work correctly.
8981 lt_compile=`echo "$ac_compile" | $SED \
8982 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8983 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8984 -e 's:$: $lt_compiler_flag:'`
8985 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8986 (eval "$lt_compile" 2>out/conftest.err)
8988 cat out/conftest.err >&5
8989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8992 # The compiler can only warn and ignore the option if not recognized
8993 # So say no if there are warnings
8994 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8995 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8996 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8997 lt_cv_prog_compiler_c_o=yes
9002 # SGI C++ compiler will create directory out/ii_files/ for
9003 # template instantiation
9004 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9005 $RM out/* && rmdir out
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9012 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9020 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9021 if ${lt_cv_prog_compiler_c_o+:} false; then :
9022 $as_echo_n "(cached) " >&6
9024 lt_cv_prog_compiler_c_o=no
9025 $RM -r conftest 2>/dev/null
9029 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9031 lt_compiler_flag="-o out/conftest2.$ac_objext"
9032 # Insert the option either (1) after the last *FLAGS variable, or
9033 # (2) before a word containing "conftest.", or (3) at the end.
9034 # Note that $ac_compile itself does not contain backslashes and begins
9035 # with a dollar sign (not a hyphen), so the echo should work correctly.
9036 lt_compile=`echo "$ac_compile" | $SED \
9037 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9038 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9039 -e 's:$: $lt_compiler_flag:'`
9040 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9041 (eval "$lt_compile" 2>out/conftest.err)
9043 cat out/conftest.err >&5
9044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9045 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9047 # The compiler can only warn and ignore the option if not recognized
9048 # So say no if there are warnings
9049 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9050 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9051 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9052 lt_cv_prog_compiler_c_o=yes
9057 # SGI C++ compiler will create directory out/ii_files/ for
9058 # template instantiation
9059 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9060 $RM out/* && rmdir out
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9067 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9072 hard_links="nottested"
9073 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9074 # do not overwrite the value of need_locks provided by the user
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9076 $as_echo_n "checking if we can lock with hard links... " >&6; }
9079 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9081 ln conftest.a conftest.b 2>&5 || hard_links=no
9082 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9084 $as_echo "$hard_links" >&6; }
9085 if test "$hard_links" = no; then
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9087 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9100 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9103 allow_undefined_flag=
9104 always_export_symbols=no
9106 archive_expsym_cmds=
9107 compiler_needs_object=no
9108 enable_shared_with_static_runtimes=no
9109 export_dynamic_flag_spec=
9110 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9111 hardcode_automatic=no
9113 hardcode_direct_absolute=no
9114 hardcode_libdir_flag_spec=
9115 hardcode_libdir_separator=
9117 hardcode_shlibpath_var=unsupported
9119 link_all_deplibs=unknown
9122 old_archive_from_new_cmds=
9123 old_archive_from_expsyms_cmds=
9124 thread_safe_flag_spec=
9125 whole_archive_flag_spec=
9126 # include_expsyms should be a list of space-separated symbols to be *always*
9127 # included in the symbol list
9129 # exclude_expsyms can be an extended regexp of symbols to exclude
9130 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9131 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9132 # as well as any symbol that contains `d'.
9133 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9134 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9135 # platforms (ab)use it in PIC code, but their linkers get confused if
9136 # the symbol is explicitly referenced. Since portable code cannot
9137 # rely on this symbol name, it's probably fine to never include it in
9138 # preloaded symbol tables.
9139 # Exclude shared library initialization/finalization symbols.
9140 extract_expsyms_cmds=
9143 cygwin* | mingw* | pw32* | cegcc*)
9144 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9145 # When not using gcc, we currently assume that we are using
9146 # Microsoft Visual C++.
9147 if test "$GCC" != yes; then
9152 # we just hope/assume this is gcc and not c89 (= MSVC++)
9162 # On some targets, GNU ld is compatible enough with the native linker
9163 # that we're better off using the native interface for both.
9164 lt_use_gnu_ld_interface=no
9165 if test "$with_gnu_ld" = yes; then
9168 # The AIX port of GNU ld has always aspired to compatibility
9169 # with the native linker. However, as the warning in the GNU ld
9170 # block says, versions before 2.19.5* couldn't really create working
9171 # shared libraries, regardless of the interface used.
9172 case `$LD -v 2>&1` in
9173 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9174 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9175 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9177 lt_use_gnu_ld_interface=yes
9182 lt_use_gnu_ld_interface=yes
9187 if test "$lt_use_gnu_ld_interface" = yes; then
9188 # If archive_cmds runs LD, not CC, wlarc should be empty
9191 # Set some defaults for GNU ld with shared library support. These
9192 # are reset later if shared libraries are not supported. Putting them
9193 # here allows them to be overridden if necessary.
9194 runpath_var=LD_RUN_PATH
9195 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9196 export_dynamic_flag_spec='${wl}--export-dynamic'
9197 # ancient GNU ld didn't support --whole-archive et. al.
9198 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9199 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9201 whole_archive_flag_spec=
9203 supports_anon_versioning=no
9204 case `$LD -v 2>&1` in
9205 *GNU\ gold*) supports_anon_versioning=yes ;;
9206 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9207 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9208 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9209 *\ 2.11.*) ;; # other 2.11 versions
9210 *) supports_anon_versioning=yes ;;
9213 # See if GNU ld supports shared libraries.
9216 # On AIX/PPC, the GNU linker is very broken
9217 if test "$host_cpu" != ia64; then
9221 *** Warning: the GNU linker, at least up to release 2.19, is reported
9222 *** to be unable to reliably create shared libraries on AIX.
9223 *** Therefore, libtool is disabling shared libraries support. If you
9224 *** really care for shared libraries, you may want to install binutils
9225 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9226 *** You will then need to restart the configuration process.
9235 # see comment about AmigaOS4 .so support
9236 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9237 archive_expsym_cmds=''
9240 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)'
9241 hardcode_libdir_flag_spec='-L$libdir'
9242 hardcode_minus_L=yes
9248 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9249 allow_undefined_flag=unsupported
9250 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9251 # support --undefined. This deserves some investigation. FIXME
9252 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9258 cygwin* | mingw* | pw32* | cegcc*)
9259 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9260 # as there is no search path for DLLs.
9261 hardcode_libdir_flag_spec='-L$libdir'
9262 export_dynamic_flag_spec='${wl}--export-all-symbols'
9263 allow_undefined_flag=unsupported
9264 always_export_symbols=no
9265 enable_shared_with_static_runtimes=yes
9266 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9267 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9269 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9270 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9271 # If the export-symbols file already is a .def file (1st line
9272 # is EXPORTS), use it as is; otherwise, prepend...
9273 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9274 cp $export_symbols $output_objdir/$soname.def;
9276 echo EXPORTS > $output_objdir/$soname.def;
9277 cat $export_symbols >> $output_objdir/$soname.def;
9279 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9286 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9287 link_all_deplibs=yes
9292 hardcode_shlibpath_var=no
9293 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9294 export_dynamic_flag_spec='${wl}-E'
9295 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9296 # Instead, shared libraries are loaded at an image base (0x10000000 by
9297 # default) and relocated if they conflict, which is a slow very memory
9298 # consuming and fragmenting process. To avoid this, we pick a random,
9299 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9300 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9301 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9302 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'
9305 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9307 if test "$host_os" = linux-dietlibc; then
9308 case $cc_basename in
9309 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9312 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9313 && test "$tmp_diet" = no
9315 tmp_addflag=' $pic_flag'
9316 tmp_sharedflag='-shared'
9317 case $cc_basename,$host_cpu in
9318 pgcc*) # Portland Group C compiler
9319 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9320 tmp_addflag=' $pic_flag'
9322 pgf77* | pgf90* | pgf95* | pgfortran*)
9323 # Portland Group f77 and f90 compilers
9324 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9325 tmp_addflag=' $pic_flag -Mnomain' ;;
9326 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9327 tmp_addflag=' -i_dynamic' ;;
9328 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9329 tmp_addflag=' -i_dynamic -nofor_main' ;;
9330 ifc* | ifort*) # Intel Fortran compiler
9331 tmp_addflag=' -nofor_main' ;;
9332 lf95*) # Lahey Fortran 8.1
9333 whole_archive_flag_spec=
9334 tmp_sharedflag='--shared' ;;
9335 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9336 tmp_sharedflag='-qmkshrobj'
9338 nvcc*) # Cuda Compiler Driver 2.2
9339 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9340 compiler_needs_object=yes
9343 case `$CC -V 2>&1 | sed 5q` in
9344 *Sun\ C*) # Sun C 5.9
9345 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9346 compiler_needs_object=yes
9347 tmp_sharedflag='-G' ;;
9348 *Sun\ F*) # Sun Fortran 8.3
9349 tmp_sharedflag='-G' ;;
9351 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9353 if test "x$supports_anon_versioning" = xyes; then
9354 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9355 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9356 echo "local: *; };" >> $output_objdir/$libname.ver~
9357 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9360 case $cc_basename in
9361 xlf* | bgf* | bgxlf* | mpixlf*)
9362 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9363 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9364 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9365 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9366 if test "x$supports_anon_versioning" = xyes; then
9367 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9368 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9369 echo "local: *; };" >> $output_objdir/$libname.ver~
9370 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9380 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9381 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9384 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9385 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9390 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9394 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9395 *** create shared libraries on Solaris systems. Therefore, libtool
9396 *** is disabling shared libraries support. We urge you to upgrade GNU
9397 *** binutils to release 2.9.1 or newer. Another option is to modify
9398 *** your PATH or compiler configuration so that the native linker is
9399 *** used, and then restart.
9402 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9403 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9404 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9410 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9411 case `$LD -v 2>&1` in
9412 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9416 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9417 *** reliably create shared libraries on SCO systems. Therefore, libtool
9418 *** is disabling shared libraries support. We urge you to upgrade GNU
9419 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9420 *** your PATH or compiler configuration so that the native linker is
9421 *** used, and then restart.
9426 # For security reasons, it is highly recommended that you always
9427 # use absolute paths for naming shared libraries, and exclude the
9428 # DT_RUNPATH tag from executables and libraries. But doing so
9429 # requires that you compile everything twice, which is a pain.
9430 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9431 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9432 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9433 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9442 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9445 hardcode_shlibpath_var=no
9449 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9450 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9451 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9458 if test "$ld_shlibs" = no; then
9460 hardcode_libdir_flag_spec=
9461 export_dynamic_flag_spec=
9462 whole_archive_flag_spec=
9465 # PORTME fill in a description of your system's linker (not GNU ld)
9468 allow_undefined_flag=unsupported
9469 always_export_symbols=yes
9470 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'
9471 # Note: this linker hardcodes the directories in LIBPATH if there
9472 # are no directories specified by -L.
9473 hardcode_minus_L=yes
9474 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9475 # Neither direct hardcoding nor static linking is supported with a
9477 hardcode_direct=unsupported
9482 if test "$host_cpu" = ia64; then
9483 # On IA64, the linker does run time linking by default, so we don't
9484 # have to do anything special.
9485 aix_use_runtimelinking=no
9486 exp_sym_flag='-Bexport'
9489 # If we're using GNU nm, then we don't want the "-C" option.
9490 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9491 # Also, AIX nm treats weak defined symbols like other global
9492 # defined symbols, whereas GNU nm marks them as "W".
9493 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9494 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9496 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'
9498 aix_use_runtimelinking=no
9500 # Test if we are trying to use run time linking or normal
9501 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9502 # need to do runtime linking.
9503 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9504 for ld_flag in $LDFLAGS; do
9505 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9506 aix_use_runtimelinking=yes
9513 exp_sym_flag='-bexport'
9514 no_entry_flag='-bnoentry'
9517 # When large executables or shared objects are built, AIX ld can
9518 # have problems creating the table of contents. If linking a library
9519 # or program results in "error TOC overflow" add -mminimal-toc to
9520 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9521 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9525 hardcode_direct_absolute=yes
9526 hardcode_libdir_separator=':'
9527 link_all_deplibs=yes
9528 file_list_spec='${wl}-f,'
9530 if test "$GCC" = yes; then
9531 case $host_os in aix4.[012]|aix4.[012].*)
9532 # We only want to do this on AIX 4.2 and lower, the check
9533 # below for broken collect2 doesn't work under 4.3+
9534 collect2name=`${CC} -print-prog-name=collect2`
9535 if test -f "$collect2name" &&
9536 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9538 # We have reworked collect2
9541 # We have old collect2
9542 hardcode_direct=unsupported
9543 # It fails to find uninstalled libraries when the uninstalled
9544 # path is not listed in the libpath. Setting hardcode_minus_L
9545 # to unsupported forces relinking
9546 hardcode_minus_L=yes
9547 hardcode_libdir_flag_spec='-L$libdir'
9548 hardcode_libdir_separator=
9552 shared_flag='-shared'
9553 if test "$aix_use_runtimelinking" = yes; then
9554 shared_flag="$shared_flag "'${wl}-G'
9558 if test "$host_cpu" = ia64; then
9559 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9560 # chokes on -Wl,-G. The following line is correct:
9563 if test "$aix_use_runtimelinking" = yes; then
9564 shared_flag='${wl}-G'
9566 shared_flag='${wl}-bM:SRE'
9571 export_dynamic_flag_spec='${wl}-bexpall'
9572 # It seems that -bexpall does not export symbols beginning with
9573 # underscore (_), so it is better to generate a list of symbols to export.
9574 always_export_symbols=yes
9575 if test "$aix_use_runtimelinking" = yes; then
9576 # Warning - without using the other runtime loading flags (-brtl),
9577 # -berok will link without error, but may produce a broken library.
9578 allow_undefined_flag='-berok'
9579 # Determine the default libpath from the value encoded in an
9581 if test "${lt_cv_aix_libpath+set}" = set; then
9582 aix_libpath=$lt_cv_aix_libpath
9584 if ${lt_cv_aix_libpath_+:} false; then :
9585 $as_echo_n "(cached) " >&6
9587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9588 /* end confdefs.h. */
9598 if ac_fn_c_try_link "$LINENO"; then :
9600 lt_aix_libpath_sed='
9601 /Import File Strings/,/^$/ {
9603 s/^0 *\([^ ]*\) *$/\1/
9607 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9608 # Check for a 64-bit object if we didn't find anything.
9609 if test -z "$lt_cv_aix_libpath_"; then
9610 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9613 rm -f core conftest.err conftest.$ac_objext \
9614 conftest$ac_exeext conftest.$ac_ext
9615 if test -z "$lt_cv_aix_libpath_"; then
9616 lt_cv_aix_libpath_="/usr/lib:/lib"
9621 aix_libpath=$lt_cv_aix_libpath_
9624 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9625 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9627 if test "$host_cpu" = ia64; then
9628 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9629 allow_undefined_flag="-z nodefs"
9630 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"
9632 # Determine the default libpath from the value encoded in an
9634 if test "${lt_cv_aix_libpath+set}" = set; then
9635 aix_libpath=$lt_cv_aix_libpath
9637 if ${lt_cv_aix_libpath_+:} false; then :
9638 $as_echo_n "(cached) " >&6
9640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9641 /* end confdefs.h. */
9651 if ac_fn_c_try_link "$LINENO"; then :
9653 lt_aix_libpath_sed='
9654 /Import File Strings/,/^$/ {
9656 s/^0 *\([^ ]*\) *$/\1/
9660 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9661 # Check for a 64-bit object if we didn't find anything.
9662 if test -z "$lt_cv_aix_libpath_"; then
9663 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9666 rm -f core conftest.err conftest.$ac_objext \
9667 conftest$ac_exeext conftest.$ac_ext
9668 if test -z "$lt_cv_aix_libpath_"; then
9669 lt_cv_aix_libpath_="/usr/lib:/lib"
9674 aix_libpath=$lt_cv_aix_libpath_
9677 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9678 # Warning - without using the other run time loading flags,
9679 # -berok will link without error, but may produce a broken library.
9680 no_undefined_flag=' ${wl}-bernotok'
9681 allow_undefined_flag=' ${wl}-berok'
9682 if test "$with_gnu_ld" = yes; then
9683 # We only use this code for GNU lds that support --whole-archive.
9684 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9686 # Exported symbols can be pulled into shared objects from archives
9687 whole_archive_flag_spec='$convenience'
9689 archive_cmds_need_lc=yes
9690 # This is similar to how AIX traditionally builds its shared libraries.
9691 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'
9699 # see comment about AmigaOS4 .so support
9700 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9701 archive_expsym_cmds=''
9704 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)'
9705 hardcode_libdir_flag_spec='-L$libdir'
9706 hardcode_minus_L=yes
9712 export_dynamic_flag_spec=-rdynamic
9715 cygwin* | mingw* | pw32* | cegcc*)
9716 # When not using gcc, we currently assume that we are using
9717 # Microsoft Visual C++.
9718 # hardcode_libdir_flag_spec is actually meaningless, as there is
9719 # no search path for DLLs.
9720 case $cc_basename in
9723 hardcode_libdir_flag_spec=' '
9724 allow_undefined_flag=unsupported
9725 always_export_symbols=yes
9727 # Tell ltmain to make .lib files, not .a files.
9729 # Tell ltmain to make .dll files, not .so files.
9731 # FIXME: Setting linknames here is a bad hack.
9732 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9733 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9734 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9736 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9738 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9740 # The linker will not automatically build a static lib if we build a DLL.
9741 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9742 enable_shared_with_static_runtimes=yes
9743 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9744 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9746 old_postinstall_cmds='chmod 644 $oldlib'
9747 postlink_cmds='lt_outputfile="@OUTPUT@"~
9748 lt_tool_outputfile="@TOOL_OUTPUT@"~
9749 case $lt_outputfile in
9752 lt_outputfile="$lt_outputfile.exe"
9753 lt_tool_outputfile="$lt_tool_outputfile.exe"
9756 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9757 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9758 $RM "$lt_outputfile.manifest";
9762 # Assume MSVC wrapper
9763 hardcode_libdir_flag_spec=' '
9764 allow_undefined_flag=unsupported
9765 # Tell ltmain to make .lib files, not .a files.
9767 # Tell ltmain to make .dll files, not .so files.
9769 # FIXME: Setting linknames here is a bad hack.
9770 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9771 # The linker will automatically build a .lib file if we build a DLL.
9772 old_archive_from_new_cmds='true'
9773 # FIXME: Should let the user specify the lib program.
9774 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9775 enable_shared_with_static_runtimes=yes
9780 darwin* | rhapsody*)
9783 archive_cmds_need_lc=no
9785 hardcode_automatic=yes
9786 hardcode_shlibpath_var=unsupported
9787 if test "$lt_cv_ld_force_load" = "yes"; then
9788 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9791 whole_archive_flag_spec=''
9793 link_all_deplibs=yes
9794 allow_undefined_flag="$_lt_dar_allow_undefined"
9795 case $cc_basename in
9796 ifort*) _lt_dar_can_shared=yes ;;
9797 *) _lt_dar_can_shared=$GCC ;;
9799 if test "$_lt_dar_can_shared" = "yes"; then
9800 output_verbose_link_cmd=func_echo_all
9801 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9802 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9803 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}"
9804 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}"
9813 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9814 hardcode_libdir_flag_spec='-L$libdir'
9815 hardcode_shlibpath_var=no
9818 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9819 # support. Future versions do this automatically, but an explicit c++rt0.o
9820 # does not break anything, and helps significantly (at the cost of a little
9823 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9824 hardcode_libdir_flag_spec='-R$libdir'
9826 hardcode_shlibpath_var=no
9829 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9831 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9833 hardcode_minus_L=yes
9834 hardcode_shlibpath_var=no
9837 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9838 freebsd* | dragonfly*)
9839 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9840 hardcode_libdir_flag_spec='-R$libdir'
9842 hardcode_shlibpath_var=no
9846 if test "$GCC" = yes; then
9847 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9849 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'
9851 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9852 hardcode_libdir_separator=:
9855 # hardcode_minus_L: Not really in the search PATH,
9856 # but as the default location of the library.
9857 hardcode_minus_L=yes
9858 export_dynamic_flag_spec='${wl}-E'
9862 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9863 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9865 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9867 if test "$with_gnu_ld" = no; then
9868 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9869 hardcode_libdir_separator=:
9871 hardcode_direct_absolute=yes
9872 export_dynamic_flag_spec='${wl}-E'
9873 # hardcode_minus_L: Not really in the search PATH,
9874 # but as the default location of the library.
9875 hardcode_minus_L=yes
9880 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9883 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9886 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9889 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9895 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9898 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9902 # Older versions of the 11.00 compiler do not understand -b yet
9903 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9905 $as_echo_n "checking if $CC understands -b... " >&6; }
9906 if ${lt_cv_prog_compiler__b+:} false; then :
9907 $as_echo_n "(cached) " >&6
9909 lt_cv_prog_compiler__b=no
9910 save_LDFLAGS="$LDFLAGS"
9911 LDFLAGS="$LDFLAGS -b"
9912 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9913 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9914 # The linker can only warn and ignore the option if not recognized
9915 # So say no if there are warnings
9916 if test -s conftest.err; then
9917 # Append any errors to the config.log.
9918 cat conftest.err 1>&5
9919 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9920 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9921 if diff conftest.exp conftest.er2 >/dev/null; then
9922 lt_cv_prog_compiler__b=yes
9925 lt_cv_prog_compiler__b=yes
9929 LDFLAGS="$save_LDFLAGS"
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9933 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9935 if test x"$lt_cv_prog_compiler__b" = xyes; then
9936 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9938 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9944 if test "$with_gnu_ld" = no; then
9945 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9946 hardcode_libdir_separator=:
9951 hardcode_shlibpath_var=no
9955 hardcode_direct_absolute=yes
9956 export_dynamic_flag_spec='${wl}-E'
9958 # hardcode_minus_L: Not really in the search PATH,
9959 # but as the default location of the library.
9960 hardcode_minus_L=yes
9966 irix5* | irix6* | nonstopux*)
9967 if test "$GCC" = yes; then
9968 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9969 # Try to use the -exported_symbol ld option, if it does not
9970 # work, assume that -exports_file does not work either and
9971 # implicitly export all symbols.
9972 # This should be the same for all languages, so no per-tag cache variable.
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9974 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9975 if ${lt_cv_irix_exported_symbol+:} false; then :
9976 $as_echo_n "(cached) " >&6
9978 save_LDFLAGS="$LDFLAGS"
9979 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9981 /* end confdefs.h. */
9982 int foo (void) { return 0; }
9984 if ac_fn_c_try_link "$LINENO"; then :
9985 lt_cv_irix_exported_symbol=yes
9987 lt_cv_irix_exported_symbol=no
9989 rm -f core conftest.err conftest.$ac_objext \
9990 conftest$ac_exeext conftest.$ac_ext
9991 LDFLAGS="$save_LDFLAGS"
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9994 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9995 if test "$lt_cv_irix_exported_symbol" = yes; then
9996 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9999 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10000 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10002 archive_cmds_need_lc='no'
10003 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10004 hardcode_libdir_separator=:
10006 link_all_deplibs=yes
10010 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10011 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10013 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10015 hardcode_libdir_flag_spec='-R$libdir'
10016 hardcode_direct=yes
10017 hardcode_shlibpath_var=no
10021 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10022 hardcode_direct=yes
10023 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10024 hardcode_libdir_separator=:
10025 hardcode_shlibpath_var=no
10032 if test -f /usr/libexec/ld.so; then
10033 hardcode_direct=yes
10034 hardcode_shlibpath_var=no
10035 hardcode_direct_absolute=yes
10036 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10037 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10038 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10039 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10040 export_dynamic_flag_spec='${wl}-E'
10043 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10044 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10045 hardcode_libdir_flag_spec='-R$libdir'
10048 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10049 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10059 hardcode_libdir_flag_spec='-L$libdir'
10060 hardcode_minus_L=yes
10061 allow_undefined_flag=unsupported
10062 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'
10063 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10067 if test "$GCC" = yes; then
10068 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10069 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10071 allow_undefined_flag=' -expect_unresolved \*'
10072 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10074 archive_cmds_need_lc='no'
10075 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10076 hardcode_libdir_separator=:
10079 osf4* | osf5*) # as osf3* with the addition of -msym flag
10080 if test "$GCC" = yes; then
10081 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10082 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10083 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10085 allow_undefined_flag=' -expect_unresolved \*'
10086 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10087 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~
10088 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10090 # Both c and cxx compiler support -rpath directly
10091 hardcode_libdir_flag_spec='-rpath $libdir'
10093 archive_cmds_need_lc='no'
10094 hardcode_libdir_separator=:
10098 no_undefined_flag=' -z defs'
10099 if test "$GCC" = yes; then
10101 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10102 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10103 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10105 case `$CC -V 2>&1` in
10108 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10109 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10110 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10114 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10115 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10116 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10120 hardcode_libdir_flag_spec='-R$libdir'
10121 hardcode_shlibpath_var=no
10123 solaris2.[0-5] | solaris2.[0-5].*) ;;
10125 # The compiler driver will combine and reorder linker options,
10126 # but understands `-z linker_flag'. GCC discards it without `$wl',
10127 # but is careful enough not to reorder.
10128 # Supported since Solaris 2.6 (maybe 2.5.1?)
10129 if test "$GCC" = yes; then
10130 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10132 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10136 link_all_deplibs=yes
10140 if test "x$host_vendor" = xsequent; then
10141 # Use $CC to link under sequent, because it throws in some extra .o
10142 # files that make .init and .fini sections work.
10143 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10145 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10147 hardcode_libdir_flag_spec='-L$libdir'
10148 hardcode_direct=yes
10149 hardcode_minus_L=yes
10150 hardcode_shlibpath_var=no
10154 case $host_vendor in
10156 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10157 hardcode_direct=yes # is this really true???
10160 ## LD is ld it makes a PLAMLIB
10161 ## CC just makes a GrossModule.
10162 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10163 reload_cmds='$CC -r -o $output$reload_objs'
10167 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10168 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10171 runpath_var='LD_RUN_PATH'
10172 hardcode_shlibpath_var=no
10176 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10177 hardcode_shlibpath_var=no
10178 export_dynamic_flag_spec='-Bexport'
10182 if test -d /usr/nec; then
10183 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10184 hardcode_shlibpath_var=no
10185 runpath_var=LD_RUN_PATH
10186 hardcode_runpath_var=yes
10191 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10192 no_undefined_flag='${wl}-z,text'
10193 archive_cmds_need_lc=no
10194 hardcode_shlibpath_var=no
10195 runpath_var='LD_RUN_PATH'
10197 if test "$GCC" = yes; then
10198 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10199 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10201 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10202 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10206 sysv5* | sco3.2v5* | sco5v6*)
10207 # Note: We can NOT use -z defs as we might desire, because we do not
10208 # link with -lc, and that would cause any symbols used from libc to
10209 # always be unresolved, which means just about no library would
10210 # ever link correctly. If we're not using GNU ld we use -z text
10211 # though, which does catch some bad symbols but isn't as heavy-handed
10213 no_undefined_flag='${wl}-z,text'
10214 allow_undefined_flag='${wl}-z,nodefs'
10215 archive_cmds_need_lc=no
10216 hardcode_shlibpath_var=no
10217 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10218 hardcode_libdir_separator=':'
10219 link_all_deplibs=yes
10220 export_dynamic_flag_spec='${wl}-Bexport'
10221 runpath_var='LD_RUN_PATH'
10223 if test "$GCC" = yes; then
10224 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10225 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10227 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10228 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10233 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10234 hardcode_libdir_flag_spec='-L$libdir'
10235 hardcode_shlibpath_var=no
10243 if test x$host_vendor = xsni; then
10245 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10246 export_dynamic_flag_spec='${wl}-Blargedynsym'
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10253 $as_echo "$ld_shlibs" >&6; }
10254 test "$ld_shlibs" = no && can_build_shared=no
10256 with_gnu_ld=$with_gnu_ld
10273 # Do we need to explicitly link libc?
10275 case "x$archive_cmds_need_lc" in
10277 # Assume -lc should be added
10278 archive_cmds_need_lc=yes
10280 if test "$enable_shared" = yes && test "$GCC" = yes; then
10281 case $archive_cmds in
10283 # FIXME: we may have to deal with multi-command sequences.
10286 # Test whether the compiler implicitly links with -lc since on some
10287 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10288 # to ld, don't add -lc before -lgcc.
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10290 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10291 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10292 $as_echo_n "(cached) " >&6
10295 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10297 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10298 (eval $ac_compile) 2>&5
10300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10301 test $ac_status = 0; } 2>conftest.err; then
10304 libobjs=conftest.$ac_objext
10306 wl=$lt_prog_compiler_wl
10307 pic_flag=$lt_prog_compiler_pic
10313 lt_save_allow_undefined_flag=$allow_undefined_flag
10314 allow_undefined_flag=
10315 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10316 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10319 test $ac_status = 0; }
10321 lt_cv_archive_cmds_need_lc=no
10323 lt_cv_archive_cmds_need_lc=yes
10325 allow_undefined_flag=$lt_save_allow_undefined_flag
10327 cat conftest.err 1>&5
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10333 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10334 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10493 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10495 if test "$GCC" = yes; then
10497 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10498 *) lt_awk_arg="/^libraries:/" ;;
10501 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10502 *) lt_sed_strip_eq="s,=/,/,g" ;;
10504 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10505 case $lt_search_path_spec in
10507 # if the path contains ";" then we assume it to be the separator
10508 # otherwise default to the standard path separator (i.e. ":") - it is
10509 # assumed that no part of a normal pathname contains ";" but that should
10510 # okay in the real world where ";" in dirpaths is itself problematic.
10511 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10514 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10517 # Ok, now we have the path, separated by spaces, we can step through it
10518 # and add multilib dir if necessary.
10519 lt_tmp_lt_search_path_spec=
10520 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10521 for lt_sys_path in $lt_search_path_spec; do
10522 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10523 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10525 test -d "$lt_sys_path" && \
10526 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10529 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10530 BEGIN {RS=" "; FS="/|\n";} {
10533 for (lt_i = NF; lt_i > 0; lt_i--) {
10534 if ($lt_i != "" && $lt_i != ".") {
10535 if ($lt_i == "..") {
10538 if (lt_count == 0) {
10539 lt_foo="/" $lt_i lt_foo;
10546 if (lt_foo != "") { lt_freq[lt_foo]++; }
10547 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10549 # AWK program above erroneously prepends '/' to C:/dos/paths
10552 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10553 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10555 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10557 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10559 library_names_spec=
10560 libname_spec='lib$name'
10564 postuninstall_cmds=
10568 shlibpath_overrides_runpath=unknown
10570 dynamic_linker="$host_os ld.so"
10571 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10572 need_lib_prefix=unknown
10573 hardcode_into_libs=no
10575 # when you set need_version to no, make sure it does not cause -set_version
10576 # flags to be left without arguments
10577 need_version=unknown
10581 version_type=linux # correct to gnu/linux during the next big refactor
10582 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10583 shlibpath_var=LIBPATH
10585 # AIX 3 has no versioning support, so we append a major version to the name.
10586 soname_spec='${libname}${release}${shared_ext}$major'
10590 version_type=linux # correct to gnu/linux during the next big refactor
10593 hardcode_into_libs=yes
10594 if test "$host_cpu" = ia64; then
10595 # AIX 5 supports IA64
10596 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10597 shlibpath_var=LD_LIBRARY_PATH
10599 # With GCC up to 2.95.x, collect2 would create an import file
10600 # for dependence libraries. The import file would start with
10601 # the line `#! .'. This would cause the generated library to
10602 # depend on `.', always an invalid library. This was fixed in
10603 # development snapshots of GCC prior to 3.0.
10605 aix4 | aix4.[01] | aix4.[01].*)
10606 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10608 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10611 can_build_shared=no
10615 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10616 # soname into executable. Probably we can add versioning support to
10617 # collect2, so additional links can be useful in future.
10618 if test "$aix_use_runtimelinking" = yes; then
10619 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10620 # instead of lib<name>.a to let people know that these are not
10621 # typical AIX shared libraries.
10622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10624 # We preserve .a as extension for shared libraries through AIX4.2
10625 # and later when we are not doing run time linking.
10626 library_names_spec='${libname}${release}.a $libname.a'
10627 soname_spec='${libname}${release}${shared_ext}$major'
10629 shlibpath_var=LIBPATH
10636 # Since July 2007 AmigaOS4 officially supports .so libraries.
10637 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10641 library_names_spec='$libname.ixlibrary $libname.a'
10642 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10643 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10649 library_names_spec='${libname}${shared_ext}'
10650 dynamic_linker="$host_os ld.so"
10651 shlibpath_var=LIBRARY_PATH
10655 version_type=linux # correct to gnu/linux during the next big refactor
10657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10658 soname_spec='${libname}${release}${shared_ext}$major'
10659 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10660 shlibpath_var=LD_LIBRARY_PATH
10661 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10662 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10663 # the default ld.so.conf also contains /usr/contrib/lib and
10664 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10665 # libtool to hard-code these into programs
10668 cygwin* | mingw* | pw32* | cegcc*)
10669 version_type=windows
10674 case $GCC,$cc_basename in
10677 library_names_spec='$libname.dll.a'
10678 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10679 postinstall_cmds='base_file=`basename \${file}`~
10680 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10681 dldir=$destdir/`dirname \$dlpath`~
10682 test -d \$dldir || mkdir -p \$dldir~
10683 $install_prog $dir/$dlname \$dldir/$dlname~
10684 chmod a+x \$dldir/$dlname~
10685 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10686 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10688 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10689 dlpath=$dir/\$dldll~
10691 shlibpath_overrides_runpath=yes
10695 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10696 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10698 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10701 # MinGW DLLs use traditional 'lib' prefix
10702 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10705 # pw32 DLLs use 'pw' prefix rather than 'lib'
10706 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10709 dynamic_linker='Win32 ld.exe'
10714 libname_spec='$name'
10715 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10716 library_names_spec='${libname}.dll.lib'
10720 sys_lib_search_path_spec=
10723 for lt_path in $LIB
10726 # Let DOS variable expansion print the short 8.3 style file name.
10727 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10728 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10731 # Convert to MSYS style.
10732 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10735 # Convert to unix form, then to dos form, then back to unix form
10736 # but this time dos style (no spaces!) so that the unix form looks
10737 # like /cygdrive/c/PROGRA~1:/cygdr...
10738 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10739 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10740 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10743 sys_lib_search_path_spec="$LIB"
10744 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10745 # It is most probably a Windows format PATH.
10746 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10748 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10750 # FIXME: find the short name or the path components, as spaces are
10751 # common. (e.g. "Program Files" -> "PROGRA~1")
10755 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10756 postinstall_cmds='base_file=`basename \${file}`~
10757 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10758 dldir=$destdir/`dirname \$dlpath`~
10759 test -d \$dldir || mkdir -p \$dldir~
10760 $install_prog $dir/$dlname \$dldir/$dlname'
10761 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10762 dlpath=$dir/\$dldll~
10764 shlibpath_overrides_runpath=yes
10765 dynamic_linker='Win32 link.exe'
10769 # Assume MSVC wrapper
10770 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10771 dynamic_linker='Win32 ld.exe'
10774 # FIXME: first we should search . and the directory the executable is in
10778 darwin* | rhapsody*)
10779 dynamic_linker="$host_os dyld"
10780 version_type=darwin
10783 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10784 soname_spec='${libname}${release}${major}$shared_ext'
10785 shlibpath_overrides_runpath=yes
10786 shlibpath_var=DYLD_LIBRARY_PATH
10787 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10789 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10790 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10794 version_type=linux # correct to gnu/linux during the next big refactor
10797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10798 soname_spec='${libname}${release}${shared_ext}$major'
10799 shlibpath_var=LD_LIBRARY_PATH
10802 freebsd* | dragonfly*)
10803 # DragonFly does not have aout. When/if they implement a new
10804 # versioning mechanism, adjust this.
10805 if test -x /usr/bin/objformat; then
10806 objformat=`/usr/bin/objformat`
10809 freebsd[23].*) objformat=aout ;;
10810 *) objformat=elf ;;
10813 version_type=freebsd-$objformat
10814 case $version_type in
10816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10821 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10825 shlibpath_var=LD_LIBRARY_PATH
10828 shlibpath_overrides_runpath=yes
10830 freebsd3.[01]* | freebsdelf3.[01]*)
10831 shlibpath_overrides_runpath=yes
10832 hardcode_into_libs=yes
10834 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10835 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10836 shlibpath_overrides_runpath=no
10837 hardcode_into_libs=yes
10839 *) # from 4.6 on, and DragonFly
10840 shlibpath_overrides_runpath=yes
10841 hardcode_into_libs=yes
10847 version_type=linux # correct to gnu/linux during the next big refactor
10850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10851 soname_spec='${libname}${release}${shared_ext}$major'
10852 shlibpath_var=LD_LIBRARY_PATH
10853 shlibpath_overrides_runpath=no
10854 hardcode_into_libs=yes
10858 version_type=linux # correct to gnu/linux during the next big refactor
10861 dynamic_linker="$host_os runtime_loader"
10862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10863 soname_spec='${libname}${release}${shared_ext}$major'
10864 shlibpath_var=LIBRARY_PATH
10865 shlibpath_overrides_runpath=yes
10866 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10867 hardcode_into_libs=yes
10870 hpux9* | hpux10* | hpux11*)
10871 # Give a soname corresponding to the major version so that dld.sl refuses to
10872 # link against other versions.
10879 hardcode_into_libs=yes
10880 dynamic_linker="$host_os dld.so"
10881 shlibpath_var=LD_LIBRARY_PATH
10882 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10884 soname_spec='${libname}${release}${shared_ext}$major'
10885 if test "X$HPUX_IA64_MODE" = X32; then
10886 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10888 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10890 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10894 hardcode_into_libs=yes
10895 dynamic_linker="$host_os dld.sl"
10896 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10897 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10899 soname_spec='${libname}${release}${shared_ext}$major'
10900 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10901 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10905 dynamic_linker="$host_os dld.sl"
10906 shlibpath_var=SHLIB_PATH
10907 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10909 soname_spec='${libname}${release}${shared_ext}$major'
10912 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10913 postinstall_cmds='chmod 555 $lib'
10914 # or fails outright, so override atomically:
10915 install_override_mode=555
10919 version_type=linux # correct to gnu/linux during the next big refactor
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10923 soname_spec='${libname}${release}${shared_ext}$major'
10924 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10925 shlibpath_var=LD_LIBRARY_PATH
10926 shlibpath_overrides_runpath=no
10927 hardcode_into_libs=yes
10930 irix5* | irix6* | nonstopux*)
10932 nonstopux*) version_type=nonstopux ;;
10934 if test "$lt_cv_prog_gnu_ld" = yes; then
10935 version_type=linux # correct to gnu/linux during the next big refactor
10942 soname_spec='${libname}${release}${shared_ext}$major'
10943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10945 irix5* | nonstopux*)
10946 libsuff= shlibsuff=
10949 case $LD in # libtool.m4 will add one of these switches to LD
10950 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10951 libsuff= shlibsuff= libmagic=32-bit;;
10952 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10953 libsuff=32 shlibsuff=N32 libmagic=N32;;
10954 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10955 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10956 *) libsuff= shlibsuff= libmagic=never-match;;
10960 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10961 shlibpath_overrides_runpath=no
10962 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10963 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10964 hardcode_into_libs=yes
10967 # No shared lib support for Linux oldld, aout, or coff.
10968 linux*oldld* | linux*aout* | linux*coff*)
10972 # This must be glibc/ELF.
10973 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10974 version_type=linux # correct to gnu/linux during the next big refactor
10977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978 soname_spec='${libname}${release}${shared_ext}$major'
10979 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=no
10983 # Some binutils ld are patched to set DT_RUNPATH
10984 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10985 $as_echo_n "(cached) " >&6
10987 lt_cv_shlibpath_overrides_runpath=no
10988 save_LDFLAGS=$LDFLAGS
10989 save_libdir=$libdir
10990 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10991 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10993 /* end confdefs.h. */
11003 if ac_fn_c_try_link "$LINENO"; then :
11004 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11005 lt_cv_shlibpath_overrides_runpath=yes
11008 rm -f core conftest.err conftest.$ac_objext \
11009 conftest$ac_exeext conftest.$ac_ext
11010 LDFLAGS=$save_LDFLAGS
11011 libdir=$save_libdir
11015 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11017 # This implies no fast_install, which is unacceptable.
11018 # Some rework will be needed to allow for fast_install
11019 # before this can be enabled.
11020 hardcode_into_libs=yes
11022 # Add ABI-specific directories to the system library path.
11023 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11025 # Append ld.so.conf contents to the search path
11026 if test -f /etc/ld.so.conf; then
11027 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;s/"//g;/^$/d' | tr '\n' ' '`
11028 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11032 # We used to test for /lib/ld.so.1 and disable shared libraries on
11033 # powerpc, because MkLinux only supported shared libraries with the
11034 # GNU dynamic linker. Since this was broken with cross compilers,
11035 # most powerpc-linux boxes support dynamic linking these days and
11036 # people can always --disable-shared, the test was removed, and we
11037 # assume the GNU/Linux dynamic linker is in use.
11038 dynamic_linker='GNU/Linux ld.so'
11045 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11047 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11048 dynamic_linker='NetBSD (a.out) ld.so'
11050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11051 soname_spec='${libname}${release}${shared_ext}$major'
11052 dynamic_linker='NetBSD ld.elf_so'
11054 shlibpath_var=LD_LIBRARY_PATH
11055 shlibpath_overrides_runpath=yes
11056 hardcode_into_libs=yes
11060 version_type=linux # correct to gnu/linux during the next big refactor
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062 shlibpath_var=LD_LIBRARY_PATH
11063 shlibpath_overrides_runpath=yes
11070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11071 soname_spec='${libname}${release}${shared_ext}$major'
11072 shlibpath_var=LD_LIBRARY_PATH
11073 shlibpath_overrides_runpath=no
11074 hardcode_into_libs=yes
11075 dynamic_linker='ldqnx.so'
11080 sys_lib_dlsearch_path_spec="/usr/lib"
11082 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11084 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11085 *) need_version=no ;;
11087 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11088 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11089 shlibpath_var=LD_LIBRARY_PATH
11090 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11092 openbsd2.[89] | openbsd2.[89].*)
11093 shlibpath_overrides_runpath=no
11096 shlibpath_overrides_runpath=yes
11100 shlibpath_overrides_runpath=yes
11105 libname_spec='$name'
11108 library_names_spec='$libname${shared_ext} $libname.a'
11109 dynamic_linker='OS/2 ld.exe'
11110 shlibpath_var=LIBPATH
11113 osf3* | osf4* | osf5*)
11117 soname_spec='${libname}${release}${shared_ext}$major'
11118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11119 shlibpath_var=LD_LIBRARY_PATH
11120 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11121 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11129 version_type=linux # correct to gnu/linux during the next big refactor
11132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11133 soname_spec='${libname}${release}${shared_ext}$major'
11134 shlibpath_var=LD_LIBRARY_PATH
11135 shlibpath_overrides_runpath=yes
11136 hardcode_into_libs=yes
11137 # ldd complains unless libraries are executable
11138 postinstall_cmds='chmod +x $lib'
11143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11144 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11145 shlibpath_var=LD_LIBRARY_PATH
11146 shlibpath_overrides_runpath=yes
11147 if test "$with_gnu_ld" = yes; then
11154 version_type=linux # correct to gnu/linux during the next big refactor
11155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11156 soname_spec='${libname}${release}${shared_ext}$major'
11157 shlibpath_var=LD_LIBRARY_PATH
11158 case $host_vendor in
11160 shlibpath_overrides_runpath=no
11162 runpath_var=LD_RUN_PATH
11170 shlibpath_overrides_runpath=no
11171 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11177 if test -d /usr/nec ;then
11178 version_type=linux # correct to gnu/linux during the next big refactor
11179 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11180 soname_spec='$libname${shared_ext}.$major'
11181 shlibpath_var=LD_LIBRARY_PATH
11185 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11186 version_type=freebsd-elf
11189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11190 soname_spec='${libname}${release}${shared_ext}$major'
11191 shlibpath_var=LD_LIBRARY_PATH
11192 shlibpath_overrides_runpath=yes
11193 hardcode_into_libs=yes
11194 if test "$with_gnu_ld" = yes; then
11195 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11197 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11200 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11204 sys_lib_dlsearch_path_spec='/usr/lib'
11208 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11209 version_type=linux # correct to gnu/linux during the next big refactor
11212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11213 shlibpath_var=LD_LIBRARY_PATH
11214 shlibpath_overrides_runpath=no
11215 hardcode_into_libs=yes
11219 version_type=linux # correct to gnu/linux during the next big refactor
11220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11221 soname_spec='${libname}${release}${shared_ext}$major'
11222 shlibpath_var=LD_LIBRARY_PATH
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11230 $as_echo "$dynamic_linker" >&6; }
11231 test "$dynamic_linker" = no && can_build_shared=no
11233 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11234 if test "$GCC" = yes; then
11235 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11238 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11239 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11241 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11242 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11337 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11339 if test -n "$hardcode_libdir_flag_spec" ||
11340 test -n "$runpath_var" ||
11341 test "X$hardcode_automatic" = "Xyes" ; then
11343 # We can hardcode non-existent directories.
11344 if test "$hardcode_direct" != no &&
11345 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11346 # have to relink, otherwise we might link with an installed library
11347 # when we should be linking with a yet-to-be-installed one
11348 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11349 test "$hardcode_minus_L" != no; then
11350 # Linking always hardcodes the temporary library directory.
11351 hardcode_action=relink
11353 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11354 hardcode_action=immediate
11357 # We cannot hardcode anything, or else we can only hardcode existing
11359 hardcode_action=unsupported
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11362 $as_echo "$hardcode_action" >&6; }
11364 if test "$hardcode_action" = relink ||
11365 test "$inherit_rpath" = yes; then
11366 # Fast installation is not supported
11367 enable_fast_install=no
11368 elif test "$shlibpath_overrides_runpath" = yes ||
11369 test "$enable_shared" = no; then
11370 # Fast installation is not necessary
11371 enable_fast_install=needless
11379 if test "x$enable_dlopen" != xyes; then
11380 enable_dlopen=unknown
11381 enable_dlopen_self=unknown
11382 enable_dlopen_self_static=unknown
11389 lt_cv_dlopen="load_add_on"
11391 lt_cv_dlopen_self=yes
11394 mingw* | pw32* | cegcc*)
11395 lt_cv_dlopen="LoadLibrary"
11400 lt_cv_dlopen="dlopen"
11405 # if libdl is installed we need to link against it
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11407 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11408 if ${ac_cv_lib_dl_dlopen+:} false; then :
11409 $as_echo_n "(cached) " >&6
11411 ac_check_lib_save_LIBS=$LIBS
11413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11416 /* Override any GCC internal prototype to avoid an error.
11417 Use char because int might match the return type of a GCC
11418 builtin and then its argument prototype would still apply. */
11431 if ac_fn_c_try_link "$LINENO"; then :
11432 ac_cv_lib_dl_dlopen=yes
11434 ac_cv_lib_dl_dlopen=no
11436 rm -f core conftest.err conftest.$ac_objext \
11437 conftest$ac_exeext conftest.$ac_ext
11438 LIBS=$ac_check_lib_save_LIBS
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11441 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11442 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11443 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11446 lt_cv_dlopen="dyld"
11448 lt_cv_dlopen_self=yes
11455 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11456 if test "x$ac_cv_func_shl_load" = xyes; then :
11457 lt_cv_dlopen="shl_load"
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11460 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11461 if ${ac_cv_lib_dld_shl_load+:} false; then :
11462 $as_echo_n "(cached) " >&6
11464 ac_check_lib_save_LIBS=$LIBS
11466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11467 /* end confdefs.h. */
11469 /* Override any GCC internal prototype to avoid an error.
11470 Use char because int might match the return type of a GCC
11471 builtin and then its argument prototype would still apply. */
11479 return shl_load ();
11484 if ac_fn_c_try_link "$LINENO"; then :
11485 ac_cv_lib_dld_shl_load=yes
11487 ac_cv_lib_dld_shl_load=no
11489 rm -f core conftest.err conftest.$ac_objext \
11490 conftest$ac_exeext conftest.$ac_ext
11491 LIBS=$ac_check_lib_save_LIBS
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11494 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11495 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11496 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11498 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11499 if test "x$ac_cv_func_dlopen" = xyes; then :
11500 lt_cv_dlopen="dlopen"
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11503 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11504 if ${ac_cv_lib_dl_dlopen+:} false; then :
11505 $as_echo_n "(cached) " >&6
11507 ac_check_lib_save_LIBS=$LIBS
11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11512 /* Override any GCC internal prototype to avoid an error.
11513 Use char because int might match the return type of a GCC
11514 builtin and then its argument prototype would still apply. */
11527 if ac_fn_c_try_link "$LINENO"; then :
11528 ac_cv_lib_dl_dlopen=yes
11530 ac_cv_lib_dl_dlopen=no
11532 rm -f core conftest.err conftest.$ac_objext \
11533 conftest$ac_exeext conftest.$ac_ext
11534 LIBS=$ac_check_lib_save_LIBS
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11537 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11538 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11539 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11542 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11543 if ${ac_cv_lib_svld_dlopen+:} false; then :
11544 $as_echo_n "(cached) " >&6
11546 ac_check_lib_save_LIBS=$LIBS
11547 LIBS="-lsvld $LIBS"
11548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h. */
11551 /* Override any GCC internal prototype to avoid an error.
11552 Use char because int might match the return type of a GCC
11553 builtin and then its argument prototype would still apply. */
11566 if ac_fn_c_try_link "$LINENO"; then :
11567 ac_cv_lib_svld_dlopen=yes
11569 ac_cv_lib_svld_dlopen=no
11571 rm -f core conftest.err conftest.$ac_objext \
11572 conftest$ac_exeext conftest.$ac_ext
11573 LIBS=$ac_check_lib_save_LIBS
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11576 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11577 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11578 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11581 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11582 if ${ac_cv_lib_dld_dld_link+:} false; then :
11583 $as_echo_n "(cached) " >&6
11585 ac_check_lib_save_LIBS=$LIBS
11587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11588 /* end confdefs.h. */
11590 /* Override any GCC internal prototype to avoid an error.
11591 Use char because int might match the return type of a GCC
11592 builtin and then its argument prototype would still apply. */
11600 return dld_link ();
11605 if ac_fn_c_try_link "$LINENO"; then :
11606 ac_cv_lib_dld_dld_link=yes
11608 ac_cv_lib_dld_dld_link=no
11610 rm -f core conftest.err conftest.$ac_objext \
11611 conftest$ac_exeext conftest.$ac_ext
11612 LIBS=$ac_check_lib_save_LIBS
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11615 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11616 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11617 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11638 if test "x$lt_cv_dlopen" != xno; then
11644 case $lt_cv_dlopen in
11646 save_CPPFLAGS="$CPPFLAGS"
11647 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11649 save_LDFLAGS="$LDFLAGS"
11650 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11653 LIBS="$lt_cv_dlopen_libs $LIBS"
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11656 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11657 if ${lt_cv_dlopen_self+:} false; then :
11658 $as_echo_n "(cached) " >&6
11660 if test "$cross_compiling" = yes; then :
11661 lt_cv_dlopen_self=cross
11663 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11664 lt_status=$lt_dlunknown
11665 cat > conftest.$ac_ext <<_LT_EOF
11666 #line $LINENO "configure"
11667 #include "confdefs.h"
11676 # define LT_DLGLOBAL RTLD_GLOBAL
11679 # define LT_DLGLOBAL DL_GLOBAL
11681 # define LT_DLGLOBAL 0
11685 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11686 find out it does not work in some platform. */
11687 #ifndef LT_DLLAZY_OR_NOW
11689 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11692 # define LT_DLLAZY_OR_NOW DL_LAZY
11695 # define LT_DLLAZY_OR_NOW RTLD_NOW
11698 # define LT_DLLAZY_OR_NOW DL_NOW
11700 # define LT_DLLAZY_OR_NOW 0
11707 /* When -fvisbility=hidden is used, assume the code has been annotated
11708 correspondingly for the symbols needed. */
11709 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11710 int fnord () __attribute__((visibility("default")));
11713 int fnord () { return 42; }
11716 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11717 int status = $lt_dlunknown;
11721 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11724 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11725 else puts (dlerror ());
11727 /* dlclose (self); */
11735 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11736 (eval $ac_link) 2>&5
11738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11739 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11740 (./conftest; exit; ) >&5 2>/dev/null
11742 case x$lt_status in
11743 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11744 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11745 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11748 # compilation failed
11749 lt_cv_dlopen_self=no
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11757 $as_echo "$lt_cv_dlopen_self" >&6; }
11759 if test "x$lt_cv_dlopen_self" = xyes; then
11760 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11762 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11763 if ${lt_cv_dlopen_self_static+:} false; then :
11764 $as_echo_n "(cached) " >&6
11766 if test "$cross_compiling" = yes; then :
11767 lt_cv_dlopen_self_static=cross
11769 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11770 lt_status=$lt_dlunknown
11771 cat > conftest.$ac_ext <<_LT_EOF
11772 #line $LINENO "configure"
11773 #include "confdefs.h"
11782 # define LT_DLGLOBAL RTLD_GLOBAL
11785 # define LT_DLGLOBAL DL_GLOBAL
11787 # define LT_DLGLOBAL 0
11791 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11792 find out it does not work in some platform. */
11793 #ifndef LT_DLLAZY_OR_NOW
11795 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11798 # define LT_DLLAZY_OR_NOW DL_LAZY
11801 # define LT_DLLAZY_OR_NOW RTLD_NOW
11804 # define LT_DLLAZY_OR_NOW DL_NOW
11806 # define LT_DLLAZY_OR_NOW 0
11813 /* When -fvisbility=hidden is used, assume the code has been annotated
11814 correspondingly for the symbols needed. */
11815 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11816 int fnord () __attribute__((visibility("default")));
11819 int fnord () { return 42; }
11822 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11823 int status = $lt_dlunknown;
11827 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11830 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11831 else puts (dlerror ());
11833 /* dlclose (self); */
11841 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11842 (eval $ac_link) 2>&5
11844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11845 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11846 (./conftest; exit; ) >&5 2>/dev/null
11848 case x$lt_status in
11849 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11850 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11851 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11854 # compilation failed
11855 lt_cv_dlopen_self_static=no
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11863 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11866 CPPFLAGS="$save_CPPFLAGS"
11867 LDFLAGS="$save_LDFLAGS"
11872 case $lt_cv_dlopen_self in
11873 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11874 *) enable_dlopen_self=unknown ;;
11877 case $lt_cv_dlopen_self_static in
11878 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11879 *) enable_dlopen_self_static=unknown ;;
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11902 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11903 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11904 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11905 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11907 $as_echo "yes" >&6; }
11909 # FIXME - insert some real tests, host_os isn't really good enough
11912 if test -n "$STRIP" ; then
11913 striplib="$STRIP -x"
11914 old_striplib="$STRIP -S"
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11916 $as_echo "yes" >&6; }
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11919 $as_echo "no" >&6; }
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11924 $as_echo "no" >&6; }
11940 # Report which library types will actually be built
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11942 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11944 $as_echo "$can_build_shared" >&6; }
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11947 $as_echo_n "checking whether to build shared libraries... " >&6; }
11948 test "$can_build_shared" = "no" && enable_shared=no
11950 # On AIX, shared libraries and static libraries use the same namespace, and
11951 # are all built from PIC.
11954 test "$enable_shared" = yes && enable_static=no
11955 if test -n "$RANLIB"; then
11956 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11957 postinstall_cmds='$RANLIB $lib'
11962 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11963 test "$enable_shared" = yes && enable_static=no
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11968 $as_echo "$enable_shared" >&6; }
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11971 $as_echo_n "checking whether to build static libraries... " >&6; }
11972 # Make sure either enable_shared or enable_static is yes.
11973 test "$enable_shared" = yes || enable_static=yes
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11975 $as_echo "$enable_static" >&6; }
11982 ac_cpp='$CPP $CPPFLAGS'
11983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12003 ac_config_commands="$ac_config_commands libtool"
12008 # Only expand once:
12012 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12013 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12017 cat >>confdefs.h <<_ACEOF
12022 cat >>confdefs.h <<_ACEOF
12027 cat >>confdefs.h <<_ACEOF
12032 cat >>confdefs.h <<_ACEOF
12036 version_info="8:8:7"
12040 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12041 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12046 cat >>confdefs.h <<_ACEOF
12047 #define SHARED_LIB_SUFFIX "$shrext_cmds"
12051 ### Default options with respect to host
12058 MODULE_ARCH="$host_os-$host_cpu"
12063 MODULE_ARCH="$host_os-$host_cpu-1.0.0"
12069 requirement_edje=""
12073 cat >>confdefs.h <<_ACEOF
12074 #define MODULE_ARCH "${MODULE_ARCH}"
12078 ### Additional options to configure
12080 # Check whether --enable-amalgamation was given.
12081 if test "${enable_amalgamation+set}" = set; then :
12082 enableval=$enable_amalgamation; if test "x${enableval}" = "xyes"; then
12083 do_amalgamation="yes"
12085 do_amalgamation="no"
12089 do_amalgamation="no"
12093 if test "x${do_amalgamation}" = "xyes"; then
12094 EDJE_AMALGAMATION_TRUE=
12095 EDJE_AMALGAMATION_FALSE='#'
12097 EDJE_AMALGAMATION_TRUE='#'
12098 EDJE_AMALGAMATION_FALSE=
12107 # Check whether --with-edje-cc was given.
12108 if test "${with_edje_cc+set}" = set; then :
12109 withval=$with_edje_cc; _efl_with_binary=${withval}
12111 _efl_with_binary=$(pkg-config --variable=prefix edje)/bin/edje_cc
12115 edje_cc=${_efl_with_binary}
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: edje_cc set to ${_efl_with_binary}" >&5
12117 $as_echo "$as_me: edje_cc set to ${_efl_with_binary}" >&6;}
12119 with_binary_edje_cc=${_efl_with_binary}
12131 # Check whether --enable-edje-cc was given.
12132 if test "${enable_edje_cc+set}" = set; then :
12133 enableval=$enable_edje_cc;
12134 if test "x${enableval}" = "xyes" ; then
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_cc binary" >&5
12144 $as_echo_n "checking whether to build edje_cc binary... " >&6; }
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_cc" >&5
12146 $as_echo "$have_edje_cc" >&6; }
12148 if test "x$have_edje_cc" = "xyes"; then
12149 EDJE_CC_PRG=edje_cc${EXEEXT}
12154 if test "x$have_edje_cc" = "xyes"; then
12155 BUILD_EDJE_CC_TRUE=
12156 BUILD_EDJE_CC_FALSE='#'
12158 BUILD_EDJE_CC_TRUE='#'
12159 BUILD_EDJE_CC_FALSE=
12163 if test "x$have_edje_cc" = "xyes"; then :
12171 have_edje_decc="yes"
12174 # Check whether --enable-edje-decc was given.
12175 if test "${enable_edje_decc+set}" = set; then :
12176 enableval=$enable_edje_decc;
12177 if test "x${enableval}" = "xyes" ; then
12178 have_edje_decc="yes"
12180 have_edje_decc="no"
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_decc binary" >&5
12187 $as_echo_n "checking whether to build edje_decc binary... " >&6; }
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_decc" >&5
12189 $as_echo "$have_edje_decc" >&6; }
12191 if test "x$have_edje_decc" = "xyes"; then
12192 EDJE_DECC_PRG=edje_decc${EXEEXT}
12197 if test "x$have_edje_decc" = "xyes"; then
12198 BUILD_EDJE_DECC_TRUE=
12199 BUILD_EDJE_DECC_FALSE='#'
12201 BUILD_EDJE_DECC_TRUE='#'
12202 BUILD_EDJE_DECC_FALSE=
12206 if test "x$have_edje_decc" = "xyes"; then :
12214 have_edje_recc="yes"
12217 # Check whether --enable-edje-recc was given.
12218 if test "${enable_edje_recc+set}" = set; then :
12219 enableval=$enable_edje_recc;
12220 if test "x${enableval}" = "xyes" ; then
12221 have_edje_recc="yes"
12223 have_edje_recc="no"
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_recc binary" >&5
12230 $as_echo_n "checking whether to build edje_recc binary... " >&6; }
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_recc" >&5
12232 $as_echo "$have_edje_recc" >&6; }
12234 if test "x$have_edje_recc" = "xyes"; then
12235 EDJE_RECC_PRG=edje_recc${EXEEXT}
12240 if test "x$have_edje_recc" = "xyes"; then
12241 BUILD_EDJE_RECC_TRUE=
12242 BUILD_EDJE_RECC_FALSE='#'
12244 BUILD_EDJE_RECC_TRUE='#'
12245 BUILD_EDJE_RECC_FALSE=
12249 if test "x$have_edje_recc" = "xyes"; then :
12257 have_edje_player="yes"
12260 # Check whether --enable-edje-player was given.
12261 if test "${enable_edje_player+set}" = set; then :
12262 enableval=$enable_edje_player;
12263 if test "x${enableval}" = "xyes" ; then
12264 have_edje_player="yes"
12266 have_edje_player="no"
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_player binary" >&5
12273 $as_echo_n "checking whether to build edje_player binary... " >&6; }
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_player" >&5
12275 $as_echo "$have_edje_player" >&6; }
12277 if test "x$have_edje_player" = "xyes"; then
12278 EDJE_PLAYER_PRG=edje_player${EXEEXT}
12283 if test "x$have_edje_player" = "xyes"; then
12284 BUILD_EDJE_PLAYER_TRUE=
12285 BUILD_EDJE_PLAYER_FALSE='#'
12287 BUILD_EDJE_PLAYER_TRUE='#'
12288 BUILD_EDJE_PLAYER_FALSE=
12292 if test "x$have_edje_player" = "xyes"; then :
12300 have_edje_inspector="yes"
12303 # Check whether --enable-edje-inspector was given.
12304 if test "${enable_edje_inspector+set}" = set; then :
12305 enableval=$enable_edje_inspector;
12306 if test "x${enableval}" = "xyes" ; then
12307 have_edje_inspector="yes"
12309 have_edje_inspector="no"
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_inspector binary" >&5
12316 $as_echo_n "checking whether to build edje_inspector binary... " >&6; }
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_inspector" >&5
12318 $as_echo "$have_edje_inspector" >&6; }
12320 if test "x$have_edje_inspector" = "xyes"; then
12321 EDJE_INSPECTOR_PRG=edje_inspector${EXEEXT}
12326 if test "x$have_edje_inspector" = "xyes"; then
12327 BUILD_EDJE_INSPECTOR_TRUE=
12328 BUILD_EDJE_INSPECTOR_FALSE='#'
12330 BUILD_EDJE_INSPECTOR_TRUE='#'
12331 BUILD_EDJE_INSPECTOR_FALSE=
12335 if test "x$have_edje_inspector" = "xyes"; then :
12343 have_edje_external_inspector="yes"
12346 # Check whether --enable-edje-external-inspector was given.
12347 if test "${enable_edje_external_inspector+set}" = set; then :
12348 enableval=$enable_edje_external_inspector;
12349 if test "x${enableval}" = "xyes" ; then
12350 have_edje_external_inspector="yes"
12352 have_edje_external_inspector="no"
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_external_inspector binary" >&5
12359 $as_echo_n "checking whether to build edje_external_inspector binary... " >&6; }
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_external_inspector" >&5
12361 $as_echo "$have_edje_external_inspector" >&6; }
12363 if test "x$have_edje_external_inspector" = "xyes"; then
12364 EDJE_EXTERNAL_INSPECTOR_PRG=edje_external_inspector${EXEEXT}
12369 if test "x$have_edje_external_inspector" = "xyes"; then
12370 BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE=
12371 BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE='#'
12373 BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE='#'
12374 BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE=
12378 if test "x$have_edje_external_inspector" = "xyes"; then :
12386 have_edje_watch="yes"
12389 # Check whether --enable-edje-watch was given.
12390 if test "${enable_edje_watch+set}" = set; then :
12391 enableval=$enable_edje_watch;
12392 if test "x${enableval}" = "xyes" ; then
12393 have_edje_watch="yes"
12395 have_edje_watch="no"
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_watch binary" >&5
12402 $as_echo_n "checking whether to build edje_watch binary... " >&6; }
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_watch" >&5
12404 $as_echo "$have_edje_watch" >&6; }
12406 if test "x$have_edje_watch" = "xyes"; then
12407 EDJE_WATCH_PRG=edje_watch${EXEEXT}
12412 if test "x$have_edje_watch" = "xyes"; then
12413 BUILD_EDJE_WATCH_TRUE=
12414 BUILD_EDJE_WATCH_FALSE='#'
12416 BUILD_EDJE_WATCH_TRUE='#'
12417 BUILD_EDJE_WATCH_FALSE=
12421 if test "x$have_edje_watch" = "xyes"; then :
12427 # Optional EDJE_PROGRAM_CACHE (use much more ram, but increase speed in some cases)
12428 want_edje_program_cache="no"
12430 # Check whether --enable-edje-program-cache was given.
12431 if test "${enable_edje_program_cache+set}" = set; then :
12432 enableval=$enable_edje_program_cache; want_edje_program_cache=$enableval
12436 if test "x${want_edje_program_cache}" = "xyes"; then
12437 EDJE_PROGRAM_CACHE_TRUE=
12438 EDJE_PROGRAM_CACHE_FALSE='#'
12440 EDJE_PROGRAM_CACHE_TRUE='#'
12441 EDJE_PROGRAM_CACHE_FALSE=
12445 if test "x${want_edje_program_cache}" = "xyes" ; then
12447 $as_echo "#define EDJE_PROGRAM_CACHE 1" >>confdefs.h
12451 # Optional EDJE_CALC_CACHE (use more ram, but increase speed by reducing the need to recalculate static stuff)
12452 want_edje_calc_cache="yes"
12454 # Check whether --enable-edje-calc-cache was given.
12455 if test "${enable_edje_calc_cache+set}" = set; then :
12456 enableval=$enable_edje_calc_cache; want_edje_calc_cache=$enableval
12460 if test "x${want_edje_calc_cache}" = "xyes"; then
12461 EDJE_CALC_CACHE_TRUE=
12462 EDJE_CALC_CACHE_FALSE='#'
12464 EDJE_CALC_CACHE_TRUE='#'
12465 EDJE_CALC_CACHE_FALSE=
12469 if test "x${want_edje_calc_cache}" = "xyes" ; then
12471 $as_echo "#define EDJE_CALC_CACHE 1" >>confdefs.h
12475 # Enable Fixed Point use
12476 want_fixed_point="no"
12478 # Check whether --enable-fixed-point was given.
12479 if test "${enable_fixed_point+set}" = set; then :
12480 enableval=$enable_fixed_point; want_fixed_point=$enableval
12484 if test "x${want_fixed_point}" = "xyes"; then
12485 BUILD_EDJE_FP_TRUE=
12486 BUILD_EDJE_FP_FALSE='#'
12488 BUILD_EDJE_FP_TRUE='#'
12489 BUILD_EDJE_FP_FALSE=
12493 if test "x${want_fixed_point}" = "xyes" ; then
12495 $as_echo "#define BUILD_EDJE_FP 1" >>confdefs.h
12501 # Check whether --with-vim was given.
12502 if test "${with_vim+set}" = set; then :
12504 if test -d "${withval}"; then
12505 vimdir="${withval}"
12512 if test "x${vimdir}" = "x" ; then
12513 if test -d "${prefix}/share/vim"; then
12514 vimdir="${prefix}/share/vim"
12515 elif test -d "/usr/share/vim"; then
12516 vimdir="/usr/share/vim"
12517 elif test -d "/usr/local/share/vim"; then
12518 vimdir="/usr/local/share/vim"
12519 elif test -d "/opt/share/vim"; then
12520 vimdir="/opt/share/vim"
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of Vim data files" >&5
12527 $as_echo_n "checking for location of Vim data files... " >&6; }
12529 if test "${install_vim}" = "yes"; then
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vimdir" >&5
12531 $as_echo "$vimdir" >&6; }
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found, EDC syntax file will not be installed" >&5
12534 $as_echo "Not found, EDC syntax file will not be installed" >&6; }
12539 ### Checks for programs
12541 ac_cpp='$CPP $CPPFLAGS'
12542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12545 if test -n "$ac_tool_prefix"; then
12546 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12547 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12549 $as_echo_n "checking for $ac_word... " >&6; }
12550 if ${ac_cv_prog_CC+:} false; then :
12551 $as_echo_n "(cached) " >&6
12553 if test -n "$CC"; then
12554 ac_cv_prog_CC="$CC" # Let the user override the test.
12556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12557 for as_dir in $PATH
12560 test -z "$as_dir" && as_dir=.
12561 for ac_exec_ext in '' $ac_executable_extensions; do
12562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12563 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12574 if test -n "$CC"; then
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12576 $as_echo "$CC" >&6; }
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12579 $as_echo "no" >&6; }
12584 if test -z "$ac_cv_prog_CC"; then
12586 # Extract the first word of "gcc", so it can be a program name with args.
12587 set dummy gcc; ac_word=$2
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12589 $as_echo_n "checking for $ac_word... " >&6; }
12590 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12591 $as_echo_n "(cached) " >&6
12593 if test -n "$ac_ct_CC"; then
12594 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12597 for as_dir in $PATH
12600 test -z "$as_dir" && as_dir=.
12601 for ac_exec_ext in '' $ac_executable_extensions; do
12602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12603 ac_cv_prog_ac_ct_CC="gcc"
12604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12613 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12614 if test -n "$ac_ct_CC"; then
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12616 $as_echo "$ac_ct_CC" >&6; }
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12619 $as_echo "no" >&6; }
12622 if test "x$ac_ct_CC" = x; then
12625 case $cross_compiling:$ac_tool_warned in
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12629 ac_tool_warned=yes ;;
12634 CC="$ac_cv_prog_CC"
12637 if test -z "$CC"; then
12638 if test -n "$ac_tool_prefix"; then
12639 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12640 set dummy ${ac_tool_prefix}cc; ac_word=$2
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12642 $as_echo_n "checking for $ac_word... " >&6; }
12643 if ${ac_cv_prog_CC+:} false; then :
12644 $as_echo_n "(cached) " >&6
12646 if test -n "$CC"; then
12647 ac_cv_prog_CC="$CC" # Let the user override the test.
12649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12650 for as_dir in $PATH
12653 test -z "$as_dir" && as_dir=.
12654 for ac_exec_ext in '' $ac_executable_extensions; do
12655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12656 ac_cv_prog_CC="${ac_tool_prefix}cc"
12657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12667 if test -n "$CC"; then
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12669 $as_echo "$CC" >&6; }
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12672 $as_echo "no" >&6; }
12678 if test -z "$CC"; then
12679 # Extract the first word of "cc", so it can be a program name with args.
12680 set dummy cc; ac_word=$2
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12682 $as_echo_n "checking for $ac_word... " >&6; }
12683 if ${ac_cv_prog_CC+:} false; then :
12684 $as_echo_n "(cached) " >&6
12686 if test -n "$CC"; then
12687 ac_cv_prog_CC="$CC" # Let the user override the test.
12689 ac_prog_rejected=no
12690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12691 for as_dir in $PATH
12694 test -z "$as_dir" && as_dir=.
12695 for ac_exec_ext in '' $ac_executable_extensions; do
12696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12697 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12698 ac_prog_rejected=yes
12702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12709 if test $ac_prog_rejected = yes; then
12710 # We found a bogon in the path, so make sure we never use it.
12711 set dummy $ac_cv_prog_CC
12713 if test $# != 0; then
12714 # We chose a different compiler from the bogus one.
12715 # However, it has the same basename, so the bogon will be chosen
12716 # first if we set CC to just the basename; use the full file name.
12718 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12724 if test -n "$CC"; then
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12726 $as_echo "$CC" >&6; }
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12729 $as_echo "no" >&6; }
12734 if test -z "$CC"; then
12735 if test -n "$ac_tool_prefix"; then
12736 for ac_prog in cl.exe
12738 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12739 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12741 $as_echo_n "checking for $ac_word... " >&6; }
12742 if ${ac_cv_prog_CC+:} false; then :
12743 $as_echo_n "(cached) " >&6
12745 if test -n "$CC"; then
12746 ac_cv_prog_CC="$CC" # Let the user override the test.
12748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12749 for as_dir in $PATH
12752 test -z "$as_dir" && as_dir=.
12753 for ac_exec_ext in '' $ac_executable_extensions; do
12754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12755 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12766 if test -n "$CC"; then
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12768 $as_echo "$CC" >&6; }
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12771 $as_echo "no" >&6; }
12775 test -n "$CC" && break
12778 if test -z "$CC"; then
12780 for ac_prog in cl.exe
12782 # Extract the first word of "$ac_prog", so it can be a program name with args.
12783 set dummy $ac_prog; ac_word=$2
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12785 $as_echo_n "checking for $ac_word... " >&6; }
12786 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12787 $as_echo_n "(cached) " >&6
12789 if test -n "$ac_ct_CC"; then
12790 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12793 for as_dir in $PATH
12796 test -z "$as_dir" && as_dir=.
12797 for ac_exec_ext in '' $ac_executable_extensions; do
12798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12799 ac_cv_prog_ac_ct_CC="$ac_prog"
12800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12809 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12810 if test -n "$ac_ct_CC"; then
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12812 $as_echo "$ac_ct_CC" >&6; }
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12815 $as_echo "no" >&6; }
12819 test -n "$ac_ct_CC" && break
12822 if test "x$ac_ct_CC" = x; then
12825 case $cross_compiling:$ac_tool_warned in
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12829 ac_tool_warned=yes ;;
12838 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12840 as_fn_error $? "no acceptable C compiler found in \$PATH
12841 See \`config.log' for more details" "$LINENO" 5; }
12843 # Provide some information about the compiler.
12844 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12847 for ac_option in --version -v -V -qversion; do
12848 { { ac_try="$ac_compiler $ac_option >&5"
12849 case "(($ac_try" in
12850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12851 *) ac_try_echo=$ac_try;;
12853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12854 $as_echo "$ac_try_echo"; } >&5
12855 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12857 if test -s conftest.err; then
12859 ... rest of stderr output deleted ...
12860 10q' conftest.err >conftest.er1
12861 cat conftest.er1 >&5
12863 rm -f conftest.er1 conftest.err
12864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12865 test $ac_status = 0; }
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12869 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12870 if ${ac_cv_c_compiler_gnu+:} false; then :
12871 $as_echo_n "(cached) " >&6
12873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12874 /* end confdefs.h. */
12887 if ac_fn_c_try_compile "$LINENO"; then :
12888 ac_compiler_gnu=yes
12892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12893 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12897 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12898 if test $ac_compiler_gnu = yes; then
12903 ac_test_CFLAGS=${CFLAGS+set}
12904 ac_save_CFLAGS=$CFLAGS
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12906 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12907 if ${ac_cv_prog_cc_g+:} false; then :
12908 $as_echo_n "(cached) " >&6
12910 ac_save_c_werror_flag=$ac_c_werror_flag
12911 ac_c_werror_flag=yes
12914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12915 /* end confdefs.h. */
12925 if ac_fn_c_try_compile "$LINENO"; then :
12926 ac_cv_prog_cc_g=yes
12929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12930 /* end confdefs.h. */
12940 if ac_fn_c_try_compile "$LINENO"; then :
12943 ac_c_werror_flag=$ac_save_c_werror_flag
12945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12946 /* end confdefs.h. */
12956 if ac_fn_c_try_compile "$LINENO"; then :
12957 ac_cv_prog_cc_g=yes
12959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12964 ac_c_werror_flag=$ac_save_c_werror_flag
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12967 $as_echo "$ac_cv_prog_cc_g" >&6; }
12968 if test "$ac_test_CFLAGS" = set; then
12969 CFLAGS=$ac_save_CFLAGS
12970 elif test $ac_cv_prog_cc_g = yes; then
12971 if test "$GCC" = yes; then
12977 if test "$GCC" = yes; then
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12984 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12985 if ${ac_cv_prog_cc_c89+:} false; then :
12986 $as_echo_n "(cached) " >&6
12988 ac_cv_prog_cc_c89=no
12990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12991 /* end confdefs.h. */
12992 #include <stdarg.h>
12995 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12996 struct buf { int x; };
12997 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12998 static char *e (p, i)
13004 static char *f (char * (*g) (char **, int), char **p, ...)
13009 s = g (p, va_arg (v,int));
13014 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13015 function prototypes and stuff, but not '\xHH' hex character constants.
13016 These don't provoke an error unfortunately, instead are silently treated
13017 as 'x'. The following induces an error, until -std is added to get
13018 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13019 array size at least. It's necessary to write '\x00'==0 to get something
13020 that's true only with -std. */
13021 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13023 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13024 inside strings and character constants. */
13026 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13028 int test (int i, double x);
13029 struct s1 {int (*f) (int a);};
13030 struct s2 {int (*f) (double a);};
13031 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13037 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13042 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13043 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13045 CC="$ac_save_CC $ac_arg"
13046 if ac_fn_c_try_compile "$LINENO"; then :
13047 ac_cv_prog_cc_c89=$ac_arg
13049 rm -f core conftest.err conftest.$ac_objext
13050 test "x$ac_cv_prog_cc_c89" != "xno" && break
13052 rm -f conftest.$ac_ext
13057 case "x$ac_cv_prog_cc_c89" in
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13060 $as_echo "none needed" >&6; } ;;
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13063 $as_echo "unsupported" >&6; } ;;
13065 CC="$CC $ac_cv_prog_cc_c89"
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13067 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13069 if test "x$ac_cv_prog_cc_c89" != xno; then :
13074 ac_cpp='$CPP $CPPFLAGS'
13075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13079 depcc="$CC" am_compiler_list=
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13082 $as_echo_n "checking dependency style of $depcc... " >&6; }
13083 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13084 $as_echo_n "(cached) " >&6
13086 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13087 # We make a subdir and do the tests there. Otherwise we can end up
13088 # making bogus files that we don't know about and never remove. For
13089 # instance it was reported that on HP-UX the gcc test will end up
13090 # making a dummy file named 'D' -- because '-MD' means "put the output
13092 rm -rf conftest.dir
13094 # Copy depcomp to subdir because otherwise we won't find it if we're
13095 # using a relative directory.
13096 cp "$am_depcomp" conftest.dir
13098 # We will build objects and dependencies in a subdirectory because
13099 # it helps to detect inapplicable dependency modes. For instance
13100 # both Tru64's cc and ICC support -MD to output dependencies as a
13101 # side effect of compilation, but ICC will put the dependencies in
13102 # the current directory while Tru64 will put them in the object
13106 am_cv_CC_dependencies_compiler_type=none
13107 if test "$am_compiler_list" = ""; then
13108 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13110 am__universal=false
13111 case " $depcc " in #(
13112 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13115 for depmode in $am_compiler_list; do
13116 # Setup a source with many dependencies, because some compilers
13117 # like to wrap large dependency lists on column 80 (with \), and
13118 # we should not choose a depcomp mode which is confused by this.
13120 # We need to recreate these files for each test, as the compiler may
13121 # overwrite some of them when testing with obscure command lines.
13122 # This happens at least with the AIX C compiler.
13124 for i in 1 2 3 4 5 6; do
13125 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13126 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13127 # Solaris 10 /bin/sh.
13128 echo '/* dummy */' > sub/conftst$i.h
13130 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13132 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13133 # mode. It turns out that the SunPro C++ compiler does not properly
13134 # handle '-M -o', and we need to detect this. Also, some Intel
13135 # versions had trouble with output in subdirs.
13136 am__obj=sub/conftest.${OBJEXT-o}
13137 am__minus_obj="-o $am__obj"
13140 # This depmode causes a compiler race in universal mode.
13141 test "$am__universal" = false || continue
13144 # After this tag, mechanisms are not by side-effect, so they'll
13145 # only be used when explicitly requested.
13146 if test "x$enable_dependency_tracking" = xyes; then
13152 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13153 # This compiler won't grok '-c -o', but also, the minuso test has
13154 # not run yet. These depmodes are late enough in the game, and
13155 # so weak that their functioning should not be impacted.
13156 am__obj=conftest.${OBJEXT-o}
13161 if depmode=$depmode \
13162 source=sub/conftest.c object=$am__obj \
13163 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13164 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13165 >/dev/null 2>conftest.err &&
13166 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13167 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13168 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13169 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13170 # icc doesn't choke on unknown options, it will just issue warnings
13171 # or remarks (even with -Werror). So we grep stderr for any message
13172 # that says an option was ignored or not supported.
13173 # When given -MP, icc 7.0 and 7.1 complain thusly:
13174 # icc: Command line warning: ignoring option '-M'; no argument required
13175 # The diagnosis changed in icc 8.0:
13176 # icc: Command line remark: option '-MP' not supported
13177 if (grep 'ignoring option' conftest.err ||
13178 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13179 am_cv_CC_dependencies_compiler_type=$depmode
13186 rm -rf conftest.dir
13188 am_cv_CC_dependencies_compiler_type=none
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13193 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13194 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13197 test "x$enable_dependency_tracking" != xno \
13198 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13199 am__fastdepCC_TRUE=
13200 am__fastdepCC_FALSE='#'
13202 am__fastdepCC_TRUE='#'
13203 am__fastdepCC_FALSE=
13208 # doxygen program for documentation building
13212 # Check whether --enable-doc was given.
13213 if test "${enable_doc+set}" = set; then :
13214 enableval=$enable_doc;
13215 if test "x${enableval}" = "xyes" ; then
13216 efl_enable_doc="yes"
13218 efl_enable_doc="no"
13222 efl_enable_doc="yes"
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
13227 $as_echo_n "checking whether to build documentation... " >&6; }
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
13229 $as_echo "${efl_enable_doc}" >&6; }
13231 if test "x${efl_enable_doc}" = "xyes" ; then
13234 efl_doxygen="doxygen"
13237 # Check whether --with-doxygen was given.
13238 if test "${with_doxygen+set}" = set; then :
13239 withval=$with_doxygen;
13240 efl_doxygen=${withval}
13241 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
13242 set dummy ${efl_doxygen}; ac_word=$2
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13244 $as_echo_n "checking for $ac_word... " >&6; }
13245 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
13246 $as_echo_n "(cached) " >&6
13248 if test -n "$efl_have_doxygen"; then
13249 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13252 for as_dir in $PATH
13255 test -z "$as_dir" && as_dir=.
13256 for ac_exec_ext in '' $ac_executable_extensions; do
13257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13258 ac_cv_prog_efl_have_doxygen="yes"
13259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13266 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13269 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13270 if test -n "$efl_have_doxygen"; then
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13272 $as_echo "$efl_have_doxygen" >&6; }
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13275 $as_echo "no" >&6; }
13279 if test "x${efl_have_doxygen}" = "xno" ; then
13281 echo "The doxygen program you specified:"
13282 echo "${efl_doxygen}"
13283 echo "was not found. Please check the path and make sure "
13284 echo "the program exists and is executable."
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13286 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13290 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
13291 set dummy ${efl_doxygen}; ac_word=$2
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13293 $as_echo_n "checking for $ac_word... " >&6; }
13294 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
13295 $as_echo_n "(cached) " >&6
13297 if test -n "$efl_have_doxygen"; then
13298 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13301 for as_dir in $PATH
13304 test -z "$as_dir" && as_dir=.
13305 for ac_exec_ext in '' $ac_executable_extensions; do
13306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13307 ac_cv_prog_efl_have_doxygen="yes"
13308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13315 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13318 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13319 if test -n "$efl_have_doxygen"; then
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13321 $as_echo "$efl_have_doxygen" >&6; }
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13324 $as_echo "no" >&6; }
13328 if test "x${efl_have_doxygen}" = "xno" ; then
13330 echo "The doxygen program was not found in your execute path."
13331 echo "You may have doxygen installed somewhere not covered by your path."
13333 echo "If this is the case make sure you have the packages installed, AND"
13334 echo "that the doxygen program is in your execute path (see your"
13335 echo "shell manual page on setting the \$PATH environment variable), OR"
13336 echo "alternatively, specify the program to use with --with-doxygen."
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13338 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13347 if ! test "x${efl_have_doxygen}" = "xyes" ; then
13348 efl_enable_doc="no"
13351 if test "x${efl_enable_doc}" = "xyes"; then
13352 EFL_BUILD_DOC_TRUE=
13353 EFL_BUILD_DOC_FALSE='#'
13355 EFL_BUILD_DOC_TRUE='#'
13356 EFL_BUILD_DOC_FALSE=
13360 if test "x${efl_enable_doc}" = "xyes" ; then
13376 if test -n "$PYTHON"; then
13377 # If the user set $PYTHON, use it and don't search something else.
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
13379 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
13381 # split strings by '.' and convert to numeric. Append some zeros
13382 # because we need at least 4 digits for the hex conversion.
13383 # map returns an iterator in Python 3.0 and a list in 2.x
13384 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
13386 # xrange is not present in Python 3.0 and range returns an iterator
13387 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13388 sys.exit(sys.hexversion < minverhex)"
13389 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
13390 ($PYTHON -c "$prog") >&5 2>&5
13392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13393 (exit $ac_status); }; then :
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13395 $as_echo "yes" >&6; }
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13398 $as_echo "no" >&6; }
13399 as_fn_error $? "Python interpreter is too old" "$LINENO" 5
13401 am_display_PYTHON=$PYTHON
13403 # Otherwise, try each interpreter until we find one that satisfies
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
13406 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
13407 if ${am_cv_pathless_PYTHON+:} false; then :
13408 $as_echo_n "(cached) " >&6
13411 for am_cv_pathless_PYTHON in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
13412 test "$am_cv_pathless_PYTHON" = none && break
13414 # split strings by '.' and convert to numeric. Append some zeros
13415 # because we need at least 4 digits for the hex conversion.
13416 # map returns an iterator in Python 3.0 and a list in 2.x
13417 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
13419 # xrange is not present in Python 3.0 and range returns an iterator
13420 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13421 sys.exit(sys.hexversion < minverhex)"
13422 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
13423 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
13425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13426 (exit $ac_status); }; then :
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
13432 $as_echo "$am_cv_pathless_PYTHON" >&6; }
13433 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
13434 if test "$am_cv_pathless_PYTHON" = none; then
13437 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
13438 set dummy $am_cv_pathless_PYTHON; ac_word=$2
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13440 $as_echo_n "checking for $ac_word... " >&6; }
13441 if ${ac_cv_path_PYTHON+:} false; then :
13442 $as_echo_n "(cached) " >&6
13446 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
13449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13450 for as_dir in $PATH
13453 test -z "$as_dir" && as_dir=.
13454 for ac_exec_ext in '' $ac_executable_extensions; do
13455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13456 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
13457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13467 PYTHON=$ac_cv_path_PYTHON
13468 if test -n "$PYTHON"; then
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13470 $as_echo "$PYTHON" >&6; }
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13473 $as_echo "no" >&6; }
13478 am_display_PYTHON=$am_cv_pathless_PYTHON
13482 if test "$PYTHON" = :; then
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
13488 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
13489 if ${am_cv_python_version+:} false; then :
13490 $as_echo_n "(cached) " >&6
13492 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
13495 $as_echo "$am_cv_python_version" >&6; }
13496 PYTHON_VERSION=$am_cv_python_version
13500 PYTHON_PREFIX='${prefix}'
13502 PYTHON_EXEC_PREFIX='${exec_prefix}'
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
13507 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
13508 if ${am_cv_python_platform+:} false; then :
13509 $as_echo_n "(cached) " >&6
13511 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
13514 $as_echo "$am_cv_python_platform" >&6; }
13515 PYTHON_PLATFORM=$am_cv_python_platform
13518 # Just factor out some code duplication.
13519 am_python_setup_sysconfig="\
13521 # Prefer sysconfig over distutils.sysconfig, for better compatibility
13522 # with python 3.x. See automake bug#10227.
13525 except ImportError:
13526 can_use_sysconfig = 0
13528 can_use_sysconfig = 1
13529 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
13530 # <https://github.com/pypa/virtualenv/issues/118>
13532 from platform import python_implementation
13533 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
13534 can_use_sysconfig = 0
13535 except ImportError:
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
13540 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
13541 if ${am_cv_python_pythondir+:} false; then :
13542 $as_echo_n "(cached) " >&6
13544 if test "x$prefix" = xNONE
13546 am_py_prefix=$ac_default_prefix
13548 am_py_prefix=$prefix
13550 am_cv_python_pythondir=`$PYTHON -c "
13551 $am_python_setup_sysconfig
13552 if can_use_sysconfig:
13553 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
13555 from distutils import sysconfig
13556 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
13557 sys.stdout.write(sitedir)"`
13558 case $am_cv_python_pythondir in
13560 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
13561 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
13564 case $am_py_prefix in
13567 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
13575 $as_echo "$am_cv_python_pythondir" >&6; }
13576 pythondir=$am_cv_python_pythondir
13580 pkgpythondir=\${pythondir}/$PACKAGE
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
13584 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
13585 if ${am_cv_python_pyexecdir+:} false; then :
13586 $as_echo_n "(cached) " >&6
13588 if test "x$exec_prefix" = xNONE
13590 am_py_exec_prefix=$am_py_prefix
13592 am_py_exec_prefix=$exec_prefix
13594 am_cv_python_pyexecdir=`$PYTHON -c "
13595 $am_python_setup_sysconfig
13596 if can_use_sysconfig:
13597 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
13599 from distutils import sysconfig
13600 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
13601 sys.stdout.write(sitedir)"`
13602 case $am_cv_python_pyexecdir in
13603 $am_py_exec_prefix*)
13604 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
13605 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
13608 case $am_py_exec_prefix in
13611 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
13619 $as_echo "$am_cv_python_pyexecdir" >&6; }
13620 pyexecdir=$am_cv_python_pyexecdir
13624 pkgpyexecdir=\${pyexecdir}/$PACKAGE
13631 if test "$PYTHON" != : ; then
13633 HAVE_PYTHON_FALSE='#'
13635 HAVE_PYTHON_TRUE='#'
13649 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13650 if test -n "$ac_tool_prefix"; then
13651 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13652 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13654 $as_echo_n "checking for $ac_word... " >&6; }
13655 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13656 $as_echo_n "(cached) " >&6
13658 case $PKG_CONFIG in
13660 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13664 for as_dir in $PATH
13667 test -z "$as_dir" && as_dir=.
13668 for ac_exec_ext in '' $ac_executable_extensions; do
13669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13670 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13681 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13682 if test -n "$PKG_CONFIG"; then
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13684 $as_echo "$PKG_CONFIG" >&6; }
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13687 $as_echo "no" >&6; }
13692 if test -z "$ac_cv_path_PKG_CONFIG"; then
13693 ac_pt_PKG_CONFIG=$PKG_CONFIG
13694 # Extract the first word of "pkg-config", so it can be a program name with args.
13695 set dummy pkg-config; ac_word=$2
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13697 $as_echo_n "checking for $ac_word... " >&6; }
13698 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13699 $as_echo_n "(cached) " >&6
13701 case $ac_pt_PKG_CONFIG in
13703 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13707 for as_dir in $PATH
13710 test -z "$as_dir" && as_dir=.
13711 for ac_exec_ext in '' $ac_executable_extensions; do
13712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13713 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13724 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13725 if test -n "$ac_pt_PKG_CONFIG"; then
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13727 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13730 $as_echo "no" >&6; }
13733 if test "x$ac_pt_PKG_CONFIG" = x; then
13736 case $cross_compiling:$ac_tool_warned in
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13740 ac_tool_warned=yes ;;
13742 PKG_CONFIG=$ac_pt_PKG_CONFIG
13745 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13749 if test -n "$PKG_CONFIG"; then
13750 _pkg_min_version=0.9.0
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13752 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13753 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13755 $as_echo "yes" >&6; }
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13758 $as_echo "no" >&6; }
13763 # Check whether pkg-config supports Requires.private
13765 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
13766 pkgconfig_requires_private="Requires.private"
13768 pkgconfig_requires_private="Requires"
13773 ### Checks for libraries
13775 # Evil library for compilation on Windows
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
13783 $as_echo_n "checking for EVIL... " >&6; }
13785 if test -n "$EVIL_CFLAGS"; then
13786 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
13787 elif test -n "$PKG_CONFIG"; then
13788 if test -n "$PKG_CONFIG" && \
13789 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.8\""; } >&5
13790 ($PKG_CONFIG --exists --print-errors "evil >= 1.7.8") 2>&5
13792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13793 test $ac_status = 0; }; then
13794 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.7.8" 2>/dev/null`
13795 test "x$?" != "x0" && pkg_failed=yes
13802 if test -n "$EVIL_LIBS"; then
13803 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
13804 elif test -n "$PKG_CONFIG"; then
13805 if test -n "$PKG_CONFIG" && \
13806 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.8\""; } >&5
13807 ($PKG_CONFIG --exists --print-errors "evil >= 1.7.8") 2>&5
13809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13810 test $ac_status = 0; }; then
13811 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.7.8" 2>/dev/null`
13812 test "x$?" != "x0" && pkg_failed=yes
13822 if test $pkg_failed = yes; then
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13824 $as_echo "no" >&6; }
13826 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13827 _pkg_short_errors_supported=yes
13829 _pkg_short_errors_supported=no
13831 if test $_pkg_short_errors_supported = yes; then
13832 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evil >= 1.7.8" 2>&1`
13834 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evil >= 1.7.8" 2>&1`
13836 # Put the nasty error message in config.log where it belongs
13837 echo "$EVIL_PKG_ERRORS" >&5
13839 as_fn_error $? "Package requirements (evil >= 1.7.8) were not met:
13843 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13844 installed software in a non-standard prefix.
13846 Alternatively, you may set the environment variables EVIL_CFLAGS
13847 and EVIL_LIBS to avoid the need to call pkg-config.
13848 See the pkg-config man page for more details." "$LINENO" 5
13849 elif test $pkg_failed = untried; then
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13851 $as_echo "no" >&6; }
13852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13854 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13855 is in your PATH or set the PKG_CONFIG environment variable to the full
13856 path to pkg-config.
13858 Alternatively, you may set the environment variables EVIL_CFLAGS
13859 and EVIL_LIBS to avoid the need to call pkg-config.
13860 See the pkg-config man page for more details.
13862 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13863 See \`config.log' for more details" "$LINENO" 5; }
13865 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
13866 EVIL_LIBS=$pkg_cv_EVIL_LIBS
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13868 $as_echo "yes" >&6; }
13872 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13874 requirement_edje="evil ${requirement_edje}"
13875 EFL_EDJE_BUILD="-DEFL_EDJE_BUILD"
13880 # Dependencies for the library
13882 # Lua pkg-config hack for different naming conventions
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13889 $as_echo_n "checking for LUA... " >&6; }
13891 if test -n "$LUA_CFLAGS"; then
13892 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13893 elif test -n "$PKG_CONFIG"; then
13894 if test -n "$PKG_CONFIG" && \
13895 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
13896 ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
13898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13899 test $ac_status = 0; }; then
13900 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1.0" 2>/dev/null`
13901 test "x$?" != "x0" && pkg_failed=yes
13908 if test -n "$LUA_LIBS"; then
13909 pkg_cv_LUA_LIBS="$LUA_LIBS"
13910 elif test -n "$PKG_CONFIG"; then
13911 if test -n "$PKG_CONFIG" && \
13912 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
13913 ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
13915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13916 test $ac_status = 0; }; then
13917 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1.0" 2>/dev/null`
13918 test "x$?" != "x0" && pkg_failed=yes
13928 if test $pkg_failed = yes; then
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13930 $as_echo "no" >&6; }
13932 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13933 _pkg_short_errors_supported=yes
13935 _pkg_short_errors_supported=no
13937 if test $_pkg_short_errors_supported = yes; then
13938 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1.0" 2>&1`
13940 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1.0" 2>&1`
13942 # Put the nasty error message in config.log where it belongs
13943 echo "$LUA_PKG_ERRORS" >&5
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13948 $as_echo_n "checking for LUA... " >&6; }
13950 if test -n "$LUA_CFLAGS"; then
13951 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13952 elif test -n "$PKG_CONFIG"; then
13953 if test -n "$PKG_CONFIG" && \
13954 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13955 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13958 test $ac_status = 0; }; then
13959 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0" 2>/dev/null`
13960 test "x$?" != "x0" && pkg_failed=yes
13967 if test -n "$LUA_LIBS"; then
13968 pkg_cv_LUA_LIBS="$LUA_LIBS"
13969 elif test -n "$PKG_CONFIG"; then
13970 if test -n "$PKG_CONFIG" && \
13971 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13972 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13975 test $ac_status = 0; }; then
13976 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
13977 test "x$?" != "x0" && pkg_failed=yes
13987 if test $pkg_failed = yes; then
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13989 $as_echo "no" >&6; }
13991 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13992 _pkg_short_errors_supported=yes
13994 _pkg_short_errors_supported=no
13996 if test $_pkg_short_errors_supported = yes; then
13997 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.1 >= 5.1.0" 2>&1`
13999 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.1 >= 5.1.0" 2>&1`
14001 # Put the nasty error message in config.log where it belongs
14002 echo "$LUA_PKG_ERRORS" >&5
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14007 $as_echo_n "checking for LUA... " >&6; }
14009 if test -n "$LUA_CFLAGS"; then
14010 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14011 elif test -n "$PKG_CONFIG"; then
14012 if test -n "$PKG_CONFIG" && \
14013 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14014 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14017 test $ac_status = 0; }; then
14018 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14019 test "x$?" != "x0" && pkg_failed=yes
14026 if test -n "$LUA_LIBS"; then
14027 pkg_cv_LUA_LIBS="$LUA_LIBS"
14028 elif test -n "$PKG_CONFIG"; then
14029 if test -n "$PKG_CONFIG" && \
14030 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14031 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14034 test $ac_status = 0; }; then
14035 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14036 test "x$?" != "x0" && pkg_failed=yes
14046 if test $pkg_failed = yes; then
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14048 $as_echo "no" >&6; }
14050 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14051 _pkg_short_errors_supported=yes
14053 _pkg_short_errors_supported=no
14055 if test $_pkg_short_errors_supported = yes; then
14056 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14058 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14060 # Put the nasty error message in config.log where it belongs
14061 echo "$LUA_PKG_ERRORS" >&5
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14066 $as_echo_n "checking for LUA... " >&6; }
14068 if test -n "$LUA_CFLAGS"; then
14069 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14070 elif test -n "$PKG_CONFIG"; then
14071 if test -n "$PKG_CONFIG" && \
14072 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14073 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14076 test $ac_status = 0; }; then
14077 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14078 test "x$?" != "x0" && pkg_failed=yes
14085 if test -n "$LUA_LIBS"; then
14086 pkg_cv_LUA_LIBS="$LUA_LIBS"
14087 elif test -n "$PKG_CONFIG"; then
14088 if test -n "$PKG_CONFIG" && \
14089 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14090 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14093 test $ac_status = 0; }; then
14094 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14095 test "x$?" != "x0" && pkg_failed=yes
14105 if test $pkg_failed = yes; then
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14107 $as_echo "no" >&6; }
14109 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14110 _pkg_short_errors_supported=yes
14112 _pkg_short_errors_supported=no
14114 if test $_pkg_short_errors_supported = yes; then
14115 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14117 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14119 # Put the nasty error message in config.log where it belongs
14120 echo "$LUA_PKG_ERRORS" >&5
14123 elif test $pkg_failed = untried; then
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14125 $as_echo "no" >&6; }
14128 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14129 LUA_LIBS=$pkg_cv_LUA_LIBS
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14131 $as_echo "yes" >&6; }
14132 requirement_lua="lua51"
14134 elif test $pkg_failed = untried; then
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14136 $as_echo "no" >&6; }
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14140 $as_echo_n "checking for LUA... " >&6; }
14142 if test -n "$LUA_CFLAGS"; then
14143 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14144 elif test -n "$PKG_CONFIG"; then
14145 if test -n "$PKG_CONFIG" && \
14146 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14147 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14150 test $ac_status = 0; }; then
14151 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14152 test "x$?" != "x0" && pkg_failed=yes
14159 if test -n "$LUA_LIBS"; then
14160 pkg_cv_LUA_LIBS="$LUA_LIBS"
14161 elif test -n "$PKG_CONFIG"; then
14162 if test -n "$PKG_CONFIG" && \
14163 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14164 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14167 test $ac_status = 0; }; then
14168 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14169 test "x$?" != "x0" && pkg_failed=yes
14179 if test $pkg_failed = yes; then
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14181 $as_echo "no" >&6; }
14183 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14184 _pkg_short_errors_supported=yes
14186 _pkg_short_errors_supported=no
14188 if test $_pkg_short_errors_supported = yes; then
14189 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14191 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14193 # Put the nasty error message in config.log where it belongs
14194 echo "$LUA_PKG_ERRORS" >&5
14197 elif test $pkg_failed = untried; then
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14199 $as_echo "no" >&6; }
14202 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14203 LUA_LIBS=$pkg_cv_LUA_LIBS
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14205 $as_echo "yes" >&6; }
14206 requirement_lua="lua51"
14209 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14210 LUA_LIBS=$pkg_cv_LUA_LIBS
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14212 $as_echo "yes" >&6; }
14213 requirement_lua="lua-5.1"
14215 elif test $pkg_failed = untried; then
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14217 $as_echo "no" >&6; }
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14221 $as_echo_n "checking for LUA... " >&6; }
14223 if test -n "$LUA_CFLAGS"; then
14224 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14225 elif test -n "$PKG_CONFIG"; then
14226 if test -n "$PKG_CONFIG" && \
14227 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14228 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14231 test $ac_status = 0; }; then
14232 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14233 test "x$?" != "x0" && pkg_failed=yes
14240 if test -n "$LUA_LIBS"; then
14241 pkg_cv_LUA_LIBS="$LUA_LIBS"
14242 elif test -n "$PKG_CONFIG"; then
14243 if test -n "$PKG_CONFIG" && \
14244 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14245 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14248 test $ac_status = 0; }; then
14249 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14250 test "x$?" != "x0" && pkg_failed=yes
14260 if test $pkg_failed = yes; then
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14262 $as_echo "no" >&6; }
14264 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14265 _pkg_short_errors_supported=yes
14267 _pkg_short_errors_supported=no
14269 if test $_pkg_short_errors_supported = yes; then
14270 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14272 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14274 # Put the nasty error message in config.log where it belongs
14275 echo "$LUA_PKG_ERRORS" >&5
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14280 $as_echo_n "checking for LUA... " >&6; }
14282 if test -n "$LUA_CFLAGS"; then
14283 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14284 elif test -n "$PKG_CONFIG"; then
14285 if test -n "$PKG_CONFIG" && \
14286 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14287 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14290 test $ac_status = 0; }; then
14291 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14292 test "x$?" != "x0" && pkg_failed=yes
14299 if test -n "$LUA_LIBS"; then
14300 pkg_cv_LUA_LIBS="$LUA_LIBS"
14301 elif test -n "$PKG_CONFIG"; then
14302 if test -n "$PKG_CONFIG" && \
14303 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14304 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14307 test $ac_status = 0; }; then
14308 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14309 test "x$?" != "x0" && pkg_failed=yes
14319 if test $pkg_failed = yes; then
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14321 $as_echo "no" >&6; }
14323 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14324 _pkg_short_errors_supported=yes
14326 _pkg_short_errors_supported=no
14328 if test $_pkg_short_errors_supported = yes; then
14329 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14331 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14333 # Put the nasty error message in config.log where it belongs
14334 echo "$LUA_PKG_ERRORS" >&5
14337 elif test $pkg_failed = untried; then
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14339 $as_echo "no" >&6; }
14342 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14343 LUA_LIBS=$pkg_cv_LUA_LIBS
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14345 $as_echo "yes" >&6; }
14346 requirement_lua="lua51"
14348 elif test $pkg_failed = untried; then
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14350 $as_echo "no" >&6; }
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14354 $as_echo_n "checking for LUA... " >&6; }
14356 if test -n "$LUA_CFLAGS"; then
14357 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14358 elif test -n "$PKG_CONFIG"; then
14359 if test -n "$PKG_CONFIG" && \
14360 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14361 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14364 test $ac_status = 0; }; then
14365 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14366 test "x$?" != "x0" && pkg_failed=yes
14373 if test -n "$LUA_LIBS"; then
14374 pkg_cv_LUA_LIBS="$LUA_LIBS"
14375 elif test -n "$PKG_CONFIG"; then
14376 if test -n "$PKG_CONFIG" && \
14377 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14378 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14381 test $ac_status = 0; }; then
14382 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14383 test "x$?" != "x0" && pkg_failed=yes
14393 if test $pkg_failed = yes; then
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14395 $as_echo "no" >&6; }
14397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14398 _pkg_short_errors_supported=yes
14400 _pkg_short_errors_supported=no
14402 if test $_pkg_short_errors_supported = yes; then
14403 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14405 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14407 # Put the nasty error message in config.log where it belongs
14408 echo "$LUA_PKG_ERRORS" >&5
14411 elif test $pkg_failed = untried; then
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14413 $as_echo "no" >&6; }
14416 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14417 LUA_LIBS=$pkg_cv_LUA_LIBS
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14419 $as_echo "yes" >&6; }
14420 requirement_lua="lua51"
14423 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14424 LUA_LIBS=$pkg_cv_LUA_LIBS
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14426 $as_echo "yes" >&6; }
14427 requirement_lua="lua-5.1"
14430 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14431 LUA_LIBS=$pkg_cv_LUA_LIBS
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14433 $as_echo "yes" >&6; }
14434 requirement_lua="lua5.1"
14436 elif test $pkg_failed = untried; then
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14438 $as_echo "no" >&6; }
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14442 $as_echo_n "checking for LUA... " >&6; }
14444 if test -n "$LUA_CFLAGS"; then
14445 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14446 elif test -n "$PKG_CONFIG"; then
14447 if test -n "$PKG_CONFIG" && \
14448 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
14449 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
14451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14452 test $ac_status = 0; }; then
14453 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0" 2>/dev/null`
14454 test "x$?" != "x0" && pkg_failed=yes
14461 if test -n "$LUA_LIBS"; then
14462 pkg_cv_LUA_LIBS="$LUA_LIBS"
14463 elif test -n "$PKG_CONFIG"; then
14464 if test -n "$PKG_CONFIG" && \
14465 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
14466 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
14468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14469 test $ac_status = 0; }; then
14470 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
14471 test "x$?" != "x0" && pkg_failed=yes
14481 if test $pkg_failed = yes; then
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14483 $as_echo "no" >&6; }
14485 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14486 _pkg_short_errors_supported=yes
14488 _pkg_short_errors_supported=no
14490 if test $_pkg_short_errors_supported = yes; then
14491 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.1 >= 5.1.0" 2>&1`
14493 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.1 >= 5.1.0" 2>&1`
14495 # Put the nasty error message in config.log where it belongs
14496 echo "$LUA_PKG_ERRORS" >&5
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14501 $as_echo_n "checking for LUA... " >&6; }
14503 if test -n "$LUA_CFLAGS"; then
14504 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14505 elif test -n "$PKG_CONFIG"; then
14506 if test -n "$PKG_CONFIG" && \
14507 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14508 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14511 test $ac_status = 0; }; then
14512 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14513 test "x$?" != "x0" && pkg_failed=yes
14520 if test -n "$LUA_LIBS"; then
14521 pkg_cv_LUA_LIBS="$LUA_LIBS"
14522 elif test -n "$PKG_CONFIG"; then
14523 if test -n "$PKG_CONFIG" && \
14524 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14525 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14528 test $ac_status = 0; }; then
14529 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14530 test "x$?" != "x0" && pkg_failed=yes
14540 if test $pkg_failed = yes; then
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14542 $as_echo "no" >&6; }
14544 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14545 _pkg_short_errors_supported=yes
14547 _pkg_short_errors_supported=no
14549 if test $_pkg_short_errors_supported = yes; then
14550 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14552 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14554 # Put the nasty error message in config.log where it belongs
14555 echo "$LUA_PKG_ERRORS" >&5
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14560 $as_echo_n "checking for LUA... " >&6; }
14562 if test -n "$LUA_CFLAGS"; then
14563 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14564 elif test -n "$PKG_CONFIG"; then
14565 if test -n "$PKG_CONFIG" && \
14566 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14567 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14570 test $ac_status = 0; }; then
14571 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14572 test "x$?" != "x0" && pkg_failed=yes
14579 if test -n "$LUA_LIBS"; then
14580 pkg_cv_LUA_LIBS="$LUA_LIBS"
14581 elif test -n "$PKG_CONFIG"; then
14582 if test -n "$PKG_CONFIG" && \
14583 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14584 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14587 test $ac_status = 0; }; then
14588 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14589 test "x$?" != "x0" && pkg_failed=yes
14599 if test $pkg_failed = yes; then
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14601 $as_echo "no" >&6; }
14603 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14604 _pkg_short_errors_supported=yes
14606 _pkg_short_errors_supported=no
14608 if test $_pkg_short_errors_supported = yes; then
14609 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14611 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14613 # Put the nasty error message in config.log where it belongs
14614 echo "$LUA_PKG_ERRORS" >&5
14617 elif test $pkg_failed = untried; then
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14619 $as_echo "no" >&6; }
14622 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14623 LUA_LIBS=$pkg_cv_LUA_LIBS
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14625 $as_echo "yes" >&6; }
14626 requirement_lua="lua51"
14628 elif test $pkg_failed = untried; then
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14630 $as_echo "no" >&6; }
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14634 $as_echo_n "checking for LUA... " >&6; }
14636 if test -n "$LUA_CFLAGS"; then
14637 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14638 elif test -n "$PKG_CONFIG"; then
14639 if test -n "$PKG_CONFIG" && \
14640 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14641 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14644 test $ac_status = 0; }; then
14645 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14646 test "x$?" != "x0" && pkg_failed=yes
14653 if test -n "$LUA_LIBS"; then
14654 pkg_cv_LUA_LIBS="$LUA_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 \"lua51 >= 5.1.0\""; } >&5
14658 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14661 test $ac_status = 0; }; then
14662 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14663 test "x$?" != "x0" && pkg_failed=yes
14673 if test $pkg_failed = yes; then
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14675 $as_echo "no" >&6; }
14677 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14678 _pkg_short_errors_supported=yes
14680 _pkg_short_errors_supported=no
14682 if test $_pkg_short_errors_supported = yes; then
14683 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14685 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14687 # Put the nasty error message in config.log where it belongs
14688 echo "$LUA_PKG_ERRORS" >&5
14691 elif test $pkg_failed = untried; then
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14693 $as_echo "no" >&6; }
14696 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14697 LUA_LIBS=$pkg_cv_LUA_LIBS
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14699 $as_echo "yes" >&6; }
14700 requirement_lua="lua51"
14703 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14704 LUA_LIBS=$pkg_cv_LUA_LIBS
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14706 $as_echo "yes" >&6; }
14707 requirement_lua="lua-5.1"
14709 elif test $pkg_failed = untried; then
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14711 $as_echo "no" >&6; }
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14715 $as_echo_n "checking for LUA... " >&6; }
14717 if test -n "$LUA_CFLAGS"; then
14718 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14719 elif test -n "$PKG_CONFIG"; then
14720 if test -n "$PKG_CONFIG" && \
14721 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14722 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14725 test $ac_status = 0; }; then
14726 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14727 test "x$?" != "x0" && pkg_failed=yes
14734 if test -n "$LUA_LIBS"; then
14735 pkg_cv_LUA_LIBS="$LUA_LIBS"
14736 elif test -n "$PKG_CONFIG"; then
14737 if test -n "$PKG_CONFIG" && \
14738 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14739 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14742 test $ac_status = 0; }; then
14743 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14744 test "x$?" != "x0" && pkg_failed=yes
14754 if test $pkg_failed = yes; then
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14756 $as_echo "no" >&6; }
14758 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14759 _pkg_short_errors_supported=yes
14761 _pkg_short_errors_supported=no
14763 if test $_pkg_short_errors_supported = yes; then
14764 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14766 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14768 # Put the nasty error message in config.log where it belongs
14769 echo "$LUA_PKG_ERRORS" >&5
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14774 $as_echo_n "checking for LUA... " >&6; }
14776 if test -n "$LUA_CFLAGS"; then
14777 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14778 elif test -n "$PKG_CONFIG"; then
14779 if test -n "$PKG_CONFIG" && \
14780 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14781 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14784 test $ac_status = 0; }; then
14785 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14786 test "x$?" != "x0" && pkg_failed=yes
14793 if test -n "$LUA_LIBS"; then
14794 pkg_cv_LUA_LIBS="$LUA_LIBS"
14795 elif test -n "$PKG_CONFIG"; then
14796 if test -n "$PKG_CONFIG" && \
14797 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14798 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14801 test $ac_status = 0; }; then
14802 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14803 test "x$?" != "x0" && pkg_failed=yes
14813 if test $pkg_failed = yes; then
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14815 $as_echo "no" >&6; }
14817 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14818 _pkg_short_errors_supported=yes
14820 _pkg_short_errors_supported=no
14822 if test $_pkg_short_errors_supported = yes; then
14823 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14825 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14827 # Put the nasty error message in config.log where it belongs
14828 echo "$LUA_PKG_ERRORS" >&5
14831 elif test $pkg_failed = untried; then
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14833 $as_echo "no" >&6; }
14836 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14837 LUA_LIBS=$pkg_cv_LUA_LIBS
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14839 $as_echo "yes" >&6; }
14840 requirement_lua="lua51"
14842 elif test $pkg_failed = untried; then
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14844 $as_echo "no" >&6; }
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14848 $as_echo_n "checking for LUA... " >&6; }
14850 if test -n "$LUA_CFLAGS"; then
14851 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14852 elif test -n "$PKG_CONFIG"; then
14853 if test -n "$PKG_CONFIG" && \
14854 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14855 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14858 test $ac_status = 0; }; then
14859 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14860 test "x$?" != "x0" && pkg_failed=yes
14867 if test -n "$LUA_LIBS"; then
14868 pkg_cv_LUA_LIBS="$LUA_LIBS"
14869 elif test -n "$PKG_CONFIG"; then
14870 if test -n "$PKG_CONFIG" && \
14871 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14872 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14875 test $ac_status = 0; }; then
14876 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14877 test "x$?" != "x0" && pkg_failed=yes
14887 if test $pkg_failed = yes; then
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14889 $as_echo "no" >&6; }
14891 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14892 _pkg_short_errors_supported=yes
14894 _pkg_short_errors_supported=no
14896 if test $_pkg_short_errors_supported = yes; then
14897 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14899 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14901 # Put the nasty error message in config.log where it belongs
14902 echo "$LUA_PKG_ERRORS" >&5
14905 elif test $pkg_failed = untried; then
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14907 $as_echo "no" >&6; }
14910 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14911 LUA_LIBS=$pkg_cv_LUA_LIBS
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14913 $as_echo "yes" >&6; }
14914 requirement_lua="lua51"
14917 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14918 LUA_LIBS=$pkg_cv_LUA_LIBS
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14920 $as_echo "yes" >&6; }
14921 requirement_lua="lua-5.1"
14924 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14925 LUA_LIBS=$pkg_cv_LUA_LIBS
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14927 $as_echo "yes" >&6; }
14928 requirement_lua="lua5.1"
14931 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14932 LUA_LIBS=$pkg_cv_LUA_LIBS
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14934 $as_echo "yes" >&6; }
14935 requirement_lua="lua"
14938 if test "x${have_lua}" = "xno" ; then
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lua_newstate() is in liblua" >&5
14940 $as_echo_n "checking whether lua_newstate() is in liblua... " >&6; }
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua_newstate in -llua" >&5
14942 $as_echo_n "checking for lua_newstate in -llua... " >&6; }
14943 if ${ac_cv_lib_lua_lua_newstate+:} false; then :
14944 $as_echo_n "(cached) " >&6
14946 ac_check_lib_save_LIBS=$LIBS
14948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h. */
14951 /* Override any GCC internal prototype to avoid an error.
14952 Use char because int might match the return type of a GCC
14953 builtin and then its argument prototype would still apply. */
14957 char lua_newstate ();
14961 return lua_newstate ();
14966 if ac_fn_c_try_link "$LINENO"; then :
14967 ac_cv_lib_lua_lua_newstate=yes
14969 ac_cv_lib_lua_lua_newstate=no
14971 rm -f core conftest.err conftest.$ac_objext \
14972 conftest$ac_exeext conftest.$ac_ext
14973 LIBS=$ac_check_lib_save_LIBS
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua_lua_newstate" >&5
14976 $as_echo "$ac_cv_lib_lua_lua_newstate" >&6; }
14977 if test "x$ac_cv_lib_lua_lua_newstate" = xyes; then :
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_lua}" >&5
14987 $as_echo "${have_lua}" >&6; }
14991 if test "x${have_lua}" = "xno" ; then
14992 as_fn_error $? "Cannot find lua library. Be sure that you have installed it and set CFLAGS and LDFLAGS correctly" "$LINENO" 5
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MINIMAL" >&5
14998 $as_echo_n "checking for MINIMAL... " >&6; }
15000 if test -n "$MINIMAL_CFLAGS"; then
15001 pkg_cv_MINIMAL_CFLAGS="$MINIMAL_CFLAGS"
15002 elif test -n "$PKG_CONFIG"; then
15003 if test -n "$PKG_CONFIG" && \
15004 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15008 ($PKG_CONFIG --exists --print-errors "
15013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15014 test $ac_status = 0; }; then
15015 pkg_cv_MINIMAL_CFLAGS=`$PKG_CONFIG --cflags "
15019 test "x$?" != "x0" && pkg_failed=yes
15026 if test -n "$MINIMAL_LIBS"; then
15027 pkg_cv_MINIMAL_LIBS="$MINIMAL_LIBS"
15028 elif test -n "$PKG_CONFIG"; then
15029 if test -n "$PKG_CONFIG" && \
15030 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15034 ($PKG_CONFIG --exists --print-errors "
15039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15040 test $ac_status = 0; }; then
15041 pkg_cv_MINIMAL_LIBS=`$PKG_CONFIG --libs "
15045 test "x$?" != "x0" && pkg_failed=yes
15055 if test $pkg_failed = yes; then
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15057 $as_echo "no" >&6; }
15059 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15060 _pkg_short_errors_supported=yes
15062 _pkg_short_errors_supported=no
15064 if test $_pkg_short_errors_supported = yes; then
15065 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15070 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15075 # Put the nasty error message in config.log where it belongs
15076 echo "$MINIMAL_PKG_ERRORS" >&5
15078 as_fn_error $? "Package requirements (
15083 $MINIMAL_PKG_ERRORS
15085 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15086 installed software in a non-standard prefix.
15088 Alternatively, you may set the environment variables MINIMAL_CFLAGS
15089 and MINIMAL_LIBS to avoid the need to call pkg-config.
15090 See the pkg-config man page for more details." "$LINENO" 5
15091 elif test $pkg_failed = untried; then
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15093 $as_echo "no" >&6; }
15094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15096 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15097 is in your PATH or set the PKG_CONFIG environment variable to the full
15098 path to pkg-config.
15100 Alternatively, you may set the environment variables MINIMAL_CFLAGS
15101 and MINIMAL_LIBS to avoid the need to call pkg-config.
15102 See the pkg-config man page for more details.
15104 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15105 See \`config.log' for more details" "$LINENO" 5; }
15107 MINIMAL_CFLAGS=$pkg_cv_MINIMAL_CFLAGS
15108 MINIMAL_LIBS=$pkg_cv_MINIMAL_LIBS
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15110 $as_echo "yes" >&6; }
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
15117 $as_echo_n "checking for EDJE... " >&6; }
15119 if test -n "$EDJE_CFLAGS"; then
15120 pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
15121 elif test -n "$PKG_CONFIG"; then
15122 if test -n "$PKG_CONFIG" && \
15123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15128 ecore-evas >= 1.7.8
15129 ecore-file >= 1.7.8
15130 ecore-input >= 1.7.8
15133 ($PKG_CONFIG --exists --print-errors "
15138 ecore-evas >= 1.7.8
15139 ecore-file >= 1.7.8
15140 ecore-input >= 1.7.8
15144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15145 test $ac_status = 0; }; then
15146 pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags "
15151 ecore-evas >= 1.7.8
15152 ecore-file >= 1.7.8
15153 ecore-input >= 1.7.8
15156 test "x$?" != "x0" && pkg_failed=yes
15163 if test -n "$EDJE_LIBS"; then
15164 pkg_cv_EDJE_LIBS="$EDJE_LIBS"
15165 elif test -n "$PKG_CONFIG"; then
15166 if test -n "$PKG_CONFIG" && \
15167 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15172 ecore-evas >= 1.7.8
15173 ecore-file >= 1.7.8
15174 ecore-input >= 1.7.8
15177 ($PKG_CONFIG --exists --print-errors "
15182 ecore-evas >= 1.7.8
15183 ecore-file >= 1.7.8
15184 ecore-input >= 1.7.8
15188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15189 test $ac_status = 0; }; then
15190 pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "
15195 ecore-evas >= 1.7.8
15196 ecore-file >= 1.7.8
15197 ecore-input >= 1.7.8
15200 test "x$?" != "x0" && pkg_failed=yes
15210 if test $pkg_failed = yes; then
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15212 $as_echo "no" >&6; }
15214 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15215 _pkg_short_errors_supported=yes
15217 _pkg_short_errors_supported=no
15219 if test $_pkg_short_errors_supported = yes; then
15220 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15225 ecore-evas >= 1.7.8
15226 ecore-file >= 1.7.8
15227 ecore-input >= 1.7.8
15231 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15236 ecore-evas >= 1.7.8
15237 ecore-file >= 1.7.8
15238 ecore-input >= 1.7.8
15242 # Put the nasty error message in config.log where it belongs
15243 echo "$EDJE_PKG_ERRORS" >&5
15245 as_fn_error $? "Package requirements (
15250 ecore-evas >= 1.7.8
15251 ecore-file >= 1.7.8
15252 ecore-input >= 1.7.8
15258 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15259 installed software in a non-standard prefix.
15261 Alternatively, you may set the environment variables EDJE_CFLAGS
15262 and EDJE_LIBS to avoid the need to call pkg-config.
15263 See the pkg-config man page for more details." "$LINENO" 5
15264 elif test $pkg_failed = untried; then
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15266 $as_echo "no" >&6; }
15267 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15269 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15270 is in your PATH or set the PKG_CONFIG environment variable to the full
15271 path to pkg-config.
15273 Alternatively, you may set the environment variables EDJE_CFLAGS
15274 and EDJE_LIBS to avoid the need to call pkg-config.
15275 See the pkg-config man page for more details.
15277 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15278 See \`config.log' for more details" "$LINENO" 5; }
15280 EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
15281 EDJE_LIBS=$pkg_cv_EDJE_LIBS
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15283 $as_echo "yes" >&6; }
15287 EDJE_LIBS="${EDJE_LIBS} ${LUA_LIBS} ${lua_libs}"
15288 EDJE_CFLAGS="${EDJE_CFLAGS} ${LUA_CFLAGS}"
15290 requirement_edje="embryo >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8 ${requirement_edje}"
15291 requirement_edje="${requirement_lua} ${requirement_edje}"
15293 have_ecore_imf="no"
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_IMF" >&5
15297 $as_echo_n "checking for ECORE_IMF... " >&6; }
15299 if test -n "$ECORE_IMF_CFLAGS"; then
15300 pkg_cv_ECORE_IMF_CFLAGS="$ECORE_IMF_CFLAGS"
15301 elif test -n "$PKG_CONFIG"; then
15302 if test -n "$PKG_CONFIG" && \
15303 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15305 ecore-imf-evas >= 1.7.8
15307 ($PKG_CONFIG --exists --print-errors "
15309 ecore-imf-evas >= 1.7.8
15312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15313 test $ac_status = 0; }; then
15314 pkg_cv_ECORE_IMF_CFLAGS=`$PKG_CONFIG --cflags "
15316 ecore-imf-evas >= 1.7.8
15318 test "x$?" != "x0" && pkg_failed=yes
15325 if test -n "$ECORE_IMF_LIBS"; then
15326 pkg_cv_ECORE_IMF_LIBS="$ECORE_IMF_LIBS"
15327 elif test -n "$PKG_CONFIG"; then
15328 if test -n "$PKG_CONFIG" && \
15329 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15331 ecore-imf-evas >= 1.7.8
15333 ($PKG_CONFIG --exists --print-errors "
15335 ecore-imf-evas >= 1.7.8
15338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15339 test $ac_status = 0; }; then
15340 pkg_cv_ECORE_IMF_LIBS=`$PKG_CONFIG --libs "
15342 ecore-imf-evas >= 1.7.8
15344 test "x$?" != "x0" && pkg_failed=yes
15354 if test $pkg_failed = yes; then
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15356 $as_echo "no" >&6; }
15358 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15359 _pkg_short_errors_supported=yes
15361 _pkg_short_errors_supported=no
15363 if test $_pkg_short_errors_supported = yes; then
15364 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15366 ecore-imf-evas >= 1.7.8
15369 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15371 ecore-imf-evas >= 1.7.8
15374 # Put the nasty error message in config.log where it belongs
15375 echo "$ECORE_IMF_PKG_ERRORS" >&5
15377 have_ecore_imf="no"
15378 elif test $pkg_failed = untried; then
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15380 $as_echo "no" >&6; }
15381 have_ecore_imf="no"
15383 ECORE_IMF_CFLAGS=$pkg_cv_ECORE_IMF_CFLAGS
15384 ECORE_IMF_LIBS=$pkg_cv_ECORE_IMF_LIBS
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15386 $as_echo "yes" >&6; }
15389 $as_echo "#define HAVE_ECORE_IMF 1" >>confdefs.h
15391 have_ecore_imf="yes"
15392 requirement_edje="ecore-imf-evas >= 1.7.8 ecore-imf >= 1.7.8 ${requirement_edje}"
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
15399 $as_echo_n "checking for EIO... " >&6; }
15401 if test -n "$EIO_CFLAGS"; then
15402 pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
15403 elif test -n "$PKG_CONFIG"; then
15404 if test -n "$PKG_CONFIG" && \
15405 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.7.8\""; } >&5
15406 ($PKG_CONFIG --exists --print-errors "eio >= 1.7.8") 2>&5
15408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15409 test $ac_status = 0; }; then
15410 pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "eio >= 1.7.8" 2>/dev/null`
15411 test "x$?" != "x0" && pkg_failed=yes
15418 if test -n "$EIO_LIBS"; then
15419 pkg_cv_EIO_LIBS="$EIO_LIBS"
15420 elif test -n "$PKG_CONFIG"; then
15421 if test -n "$PKG_CONFIG" && \
15422 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.7.8\""; } >&5
15423 ($PKG_CONFIG --exists --print-errors "eio >= 1.7.8") 2>&5
15425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15426 test $ac_status = 0; }; then
15427 pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "eio >= 1.7.8" 2>/dev/null`
15428 test "x$?" != "x0" && pkg_failed=yes
15438 if test $pkg_failed = yes; then
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15440 $as_echo "no" >&6; }
15442 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15443 _pkg_short_errors_supported=yes
15445 _pkg_short_errors_supported=no
15447 if test $_pkg_short_errors_supported = yes; then
15448 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eio >= 1.7.8" 2>&1`
15450 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eio >= 1.7.8" 2>&1`
15452 # Put the nasty error message in config.log where it belongs
15453 echo "$EIO_PKG_ERRORS" >&5
15456 elif test $pkg_failed = untried; then
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15458 $as_echo "no" >&6; }
15461 EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
15462 EIO_LIBS=$pkg_cv_EIO_LIBS
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15464 $as_echo "yes" >&6; }
15467 $as_echo "#define HAVE_EIO 1" >>confdefs.h
15470 requirement_edje="eio >= 1.7.8 ${requirement_edje}"
15474 # Enable Multisense use
15475 want_multisense="no"
15476 if test "x${want_multisense}" = "xyes"; then
15477 ENABLE_MULTISENSE_TRUE=
15478 ENABLE_MULTISENSE_FALSE='#'
15480 ENABLE_MULTISENSE_TRUE='#'
15481 ENABLE_MULTISENSE_FALSE=
15487 want_sndfile="auto"
15488 # Check whether --enable-sndfile was given.
15489 if test "${enable_sndfile+set}" = set; then :
15490 enableval=$enable_sndfile; want_sndfile=$enableval
15494 if test "x${want_multisense}" = "xyes" -a "x$want_sndfile" != "xno"; then
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
15499 $as_echo_n "checking for SNDFILE... " >&6; }
15501 if test -n "$SNDFILE_CFLAGS"; then
15502 pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
15503 elif test -n "$PKG_CONFIG"; then
15504 if test -n "$PKG_CONFIG" && \
15505 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
15506 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
15508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15509 test $ac_status = 0; }; then
15510 pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile >= 1.0.21" 2>/dev/null`
15511 test "x$?" != "x0" && pkg_failed=yes
15518 if test -n "$SNDFILE_LIBS"; then
15519 pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
15520 elif test -n "$PKG_CONFIG"; then
15521 if test -n "$PKG_CONFIG" && \
15522 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
15523 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
15525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15526 test $ac_status = 0; }; then
15527 pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile >= 1.0.21" 2>/dev/null`
15528 test "x$?" != "x0" && pkg_failed=yes
15538 if test $pkg_failed = yes; then
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15540 $as_echo "no" >&6; }
15542 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15543 _pkg_short_errors_supported=yes
15545 _pkg_short_errors_supported=no
15547 if test $_pkg_short_errors_supported = yes; then
15548 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sndfile >= 1.0.21" 2>&1`
15550 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sndfile >= 1.0.21" 2>&1`
15552 # Put the nasty error message in config.log where it belongs
15553 echo "$SNDFILE_PKG_ERRORS" >&5
15555 have_sndfile="no"; want_multisense="no"
15557 elif test $pkg_failed = untried; then
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15559 $as_echo "no" >&6; }
15560 have_sndfile="no"; want_multisense="no"
15563 SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
15564 SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15566 $as_echo "yes" >&6; }
15569 $as_echo "#define HAVE_LIBSNDFILE 1" >>confdefs.h
15572 requirement_edje="sndfile >= 1.0.21 ${requirement_edje}"
15576 if test "x$want_sndfile" = "xyes" -a "x$have_sndfile" = "xno"; then
15577 as_fn_error $? "sndfile support requested, but not found by pkg-config." "$LINENO" 5
15580 if test "x${have_sndfile}" = "xyes"; then
15581 HAVE_LIBSNDFILE_TRUE=
15582 HAVE_LIBSNDFILE_FALSE='#'
15584 HAVE_LIBSNDFILE_TRUE='#'
15585 HAVE_LIBSNDFILE_FALSE=
15591 want_libremix="auto"
15592 # Check whether --enable-remix was given.
15593 if test "${enable_remix+set}" = set; then :
15594 enableval=$enable_remix; want_libremix=$enableval
15598 if test "x${want_multisense}" = "xyes" -a "x$want_libremix" != "xno"; then
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for REMIX" >&5
15602 $as_echo_n "checking for REMIX... " >&6; }
15604 if test -n "$REMIX_CFLAGS"; then
15605 pkg_cv_REMIX_CFLAGS="$REMIX_CFLAGS"
15606 elif test -n "$PKG_CONFIG"; then
15607 if test -n "$PKG_CONFIG" && \
15608 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5
15609 ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
15611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15612 test $ac_status = 0; }; then
15613 pkg_cv_REMIX_CFLAGS=`$PKG_CONFIG --cflags "remix >= 0.2.4" 2>/dev/null`
15614 test "x$?" != "x0" && pkg_failed=yes
15621 if test -n "$REMIX_LIBS"; then
15622 pkg_cv_REMIX_LIBS="$REMIX_LIBS"
15623 elif test -n "$PKG_CONFIG"; then
15624 if test -n "$PKG_CONFIG" && \
15625 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5
15626 ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
15628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15629 test $ac_status = 0; }; then
15630 pkg_cv_REMIX_LIBS=`$PKG_CONFIG --libs "remix >= 0.2.4" 2>/dev/null`
15631 test "x$?" != "x0" && pkg_failed=yes
15641 if test $pkg_failed = yes; then
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15643 $as_echo "no" >&6; }
15645 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15646 _pkg_short_errors_supported=yes
15648 _pkg_short_errors_supported=no
15650 if test $_pkg_short_errors_supported = yes; then
15651 REMIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "remix >= 0.2.4" 2>&1`
15653 REMIX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "remix >= 0.2.4" 2>&1`
15655 # Put the nasty error message in config.log where it belongs
15656 echo "$REMIX_PKG_ERRORS" >&5
15658 have_libremix="no"; want_multisense="no"
15660 elif test $pkg_failed = untried; then
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15662 $as_echo "no" >&6; }
15663 have_libremix="no"; want_multisense="no"
15666 REMIX_CFLAGS=$pkg_cv_REMIX_CFLAGS
15667 REMIX_LIBS=$pkg_cv_REMIX_LIBS
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15669 $as_echo "yes" >&6; }
15672 $as_echo "#define HAVE_LIBREMIX 1" >>confdefs.h
15674 have_libremix="yes"
15675 requirement_edje="remix >= 0.2.4 ${requirement_edje}"
15677 $as_echo "#define __REMIX_PLUGIN__ 1" >>confdefs.h
15679 REMIX_PLUGIN_DIR=`pkg-config --variable=libdir remix`"/remix"
15682 cat >>confdefs.h <<_ACEOF
15683 #define REMIX_PLUGIN_DIR "$REMIX_PLUGIN_DIR"
15689 if test "x$want_libremix" = "xyes" -a "x$have_libremix" = "xno"; then
15690 as_fn_error $? "remix support requested, but not found by pkg-config." "$LINENO" 5
15693 if test "x${have_libremix}" = "xyes"; then
15694 HAVE_LIBREMIX_TRUE=
15695 HAVE_LIBREMIX_FALSE='#'
15697 HAVE_LIBREMIX_TRUE='#'
15698 HAVE_LIBREMIX_FALSE=
15702 ##vorbis/ogg library
15705 # Check whether --enable-vorbisenc was given.
15706 if test "${enable_vorbisenc+set}" = set; then :
15707 enableval=$enable_vorbisenc; want_vorbis=$enableval
15711 if test "x${want_multisense}" = "xyes" -a "x$want_vorbis" != "xno"; then
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VORBISENC" >&5
15715 $as_echo_n "checking for VORBISENC... " >&6; }
15717 if test -n "$VORBISENC_CFLAGS"; then
15718 pkg_cv_VORBISENC_CFLAGS="$VORBISENC_CFLAGS"
15719 elif test -n "$PKG_CONFIG"; then
15720 if test -n "$PKG_CONFIG" && \
15721 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15726 ($PKG_CONFIG --exists --print-errors "
15732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15733 test $ac_status = 0; }; then
15734 pkg_cv_VORBISENC_CFLAGS=`$PKG_CONFIG --cflags "
15739 test "x$?" != "x0" && pkg_failed=yes
15746 if test -n "$VORBISENC_LIBS"; then
15747 pkg_cv_VORBISENC_LIBS="$VORBISENC_LIBS"
15748 elif test -n "$PKG_CONFIG"; then
15749 if test -n "$PKG_CONFIG" && \
15750 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15755 ($PKG_CONFIG --exists --print-errors "
15761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15762 test $ac_status = 0; }; then
15763 pkg_cv_VORBISENC_LIBS=`$PKG_CONFIG --libs "
15768 test "x$?" != "x0" && pkg_failed=yes
15778 if test $pkg_failed = yes; then
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15780 $as_echo "no" >&6; }
15782 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15783 _pkg_short_errors_supported=yes
15785 _pkg_short_errors_supported=no
15787 if test $_pkg_short_errors_supported = yes; then
15788 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15794 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15800 # Put the nasty error message in config.log where it belongs
15801 echo "$VORBISENC_PKG_ERRORS" >&5
15803 have_vorbis="no"; want_multisense="no"
15805 elif test $pkg_failed = untried; then
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15807 $as_echo "no" >&6; }
15808 have_vorbis="no"; want_multisense="no"
15811 VORBISENC_CFLAGS=$pkg_cv_VORBISENC_CFLAGS
15812 VORBISENC_LIBS=$pkg_cv_VORBISENC_LIBS
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15814 $as_echo "yes" >&6; }
15817 $as_echo "#define HAVE_VORBIS 1" >>confdefs.h
15820 requirement_edje="ogg >= 1.1.4 vorbis >= 1.2.3 vorbisenc >= 1.2.3 ${requirement_edje}"
15824 if test "x$want_vorbis" = "xyes" -a "x$have_vorbis" = "xno"; then
15825 as_fn_error $? "vorbisenc support requested, but not found by pkg-config." "$LINENO" 5
15831 want_alsa_lib="auto"
15832 # Check whether --enable-alsa was given.
15833 if test "${enable_alsa+set}" = set; then :
15834 enableval=$enable_alsa; want_alsa_lib=$enableval
15838 if test "x${want_multisense}" = "xyes" -a "x$want_alsa_lib" != "xno"; then
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
15842 $as_echo_n "checking for ALSA... " >&6; }
15844 if test -n "$ALSA_CFLAGS"; then
15845 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
15846 elif test -n "$PKG_CONFIG"; then
15847 if test -n "$PKG_CONFIG" && \
15848 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15851 ($PKG_CONFIG --exists --print-errors "
15855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15856 test $ac_status = 0; }; then
15857 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "
15860 test "x$?" != "x0" && pkg_failed=yes
15867 if test -n "$ALSA_LIBS"; then
15868 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
15869 elif test -n "$PKG_CONFIG"; then
15870 if test -n "$PKG_CONFIG" && \
15871 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15874 ($PKG_CONFIG --exists --print-errors "
15878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15879 test $ac_status = 0; }; then
15880 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "
15883 test "x$?" != "x0" && pkg_failed=yes
15893 if test $pkg_failed = yes; then
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15895 $as_echo "no" >&6; }
15897 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15898 _pkg_short_errors_supported=yes
15900 _pkg_short_errors_supported=no
15902 if test $_pkg_short_errors_supported = yes; then
15903 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15907 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15911 # Put the nasty error message in config.log where it belongs
15912 echo "$ALSA_PKG_ERRORS" >&5
15914 have_alsa_lib="no"; want_multisense="no"
15916 elif test $pkg_failed = untried; then
15917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15918 $as_echo "no" >&6; }
15919 have_alsa_lib="no"; want_multisense="no"
15922 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
15923 ALSA_LIBS=$pkg_cv_ALSA_LIBS
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15925 $as_echo "yes" >&6; }
15928 $as_echo "#define HAVE_LIBALSA 1" >>confdefs.h
15930 have_alsa_lib="yes"
15931 requirement_edje="alsa >= 1.0.21 ${requirement_edje}"
15935 if test "x$want_alsa_lib" = "xyes" -a "x$have_alsa_lib" = "xno"; then
15936 as_fn_error $? "alsa support requested, but not found by pkg-config." "$LINENO" 5
15939 if test "x${have_alsa_lib}" = "xyes"; then
15941 HAVE_LIBALSA_FALSE='#'
15943 HAVE_LIBALSA_TRUE='#'
15944 HAVE_LIBALSA_FALSE=
15951 want_flac_lib="auto"
15952 # Check whether --enable-flac was given.
15953 if test "${enable_flac+set}" = set; then :
15954 enableval=$enable_flac; want_flac_lib=$enableval
15958 if test "x${want_multisense}" = "xyes" -a "x$want_flac_lib" != "xno"; then
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5
15962 $as_echo_n "checking for FLAC... " >&6; }
15964 if test -n "$FLAC_CFLAGS"; then
15965 pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS"
15966 elif test -n "$PKG_CONFIG"; then
15967 if test -n "$PKG_CONFIG" && \
15968 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15971 ($PKG_CONFIG --exists --print-errors "
15975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15976 test $ac_status = 0; }; then
15977 pkg_cv_FLAC_CFLAGS=`$PKG_CONFIG --cflags "
15980 test "x$?" != "x0" && pkg_failed=yes
15987 if test -n "$FLAC_LIBS"; then
15988 pkg_cv_FLAC_LIBS="$FLAC_LIBS"
15989 elif test -n "$PKG_CONFIG"; then
15990 if test -n "$PKG_CONFIG" && \
15991 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15994 ($PKG_CONFIG --exists --print-errors "
15998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15999 test $ac_status = 0; }; then
16000 pkg_cv_FLAC_LIBS=`$PKG_CONFIG --libs "
16003 test "x$?" != "x0" && pkg_failed=yes
16013 if test $pkg_failed = yes; then
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16015 $as_echo "no" >&6; }
16017 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16018 _pkg_short_errors_supported=yes
16020 _pkg_short_errors_supported=no
16022 if test $_pkg_short_errors_supported = yes; then
16023 FLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16027 FLAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16031 # Put the nasty error message in config.log where it belongs
16032 echo "$FLAC_PKG_ERRORS" >&5
16034 have_flac_lib="no"; want_multisense="no"
16036 elif test $pkg_failed = untried; then
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16038 $as_echo "no" >&6; }
16039 have_flac_lib="no"; want_multisense="no"
16042 FLAC_CFLAGS=$pkg_cv_FLAC_CFLAGS
16043 FLAC_LIBS=$pkg_cv_FLAC_LIBS
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16045 $as_echo "yes" >&6; }
16048 $as_echo "#define HAVE_LIBFLAC 1" >>confdefs.h
16050 have_flac_lib="yes"
16051 # disabled because this adds flac include dirs to cflags... and
16052 # FLAC has an assert.h in its include dirs that ends up
16053 # overriding the system assert.h and thus causes all sorts of
16055 #requirement_edje="flac >= 1.2.1 ${requirement_edje}"
16058 if test "x$want_flac_lib" = "xyes" -a "x$have_flac_lib" = "xno"; then
16059 as_fn_error $? "flac support requested, but not found by pkg-config." "$LINENO" 5
16063 if test "x${want_multisense}" = "xyes" ; then
16065 $as_echo "#define ENABLE_MULTISENSE 1" >>confdefs.h
16070 # Dependencies for the binaries
16072 if test "x${have_edje_cc}" = "xyes" ; then
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_CC" >&5
16076 $as_echo_n "checking for EDJE_CC... " >&6; }
16078 if test -n "$EDJE_CC_CFLAGS"; then
16079 pkg_cv_EDJE_CC_CFLAGS="$EDJE_CC_CFLAGS"
16080 elif test -n "$PKG_CONFIG"; then
16081 if test -n "$PKG_CONFIG" && \
16082 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8\""; } >&5
16083 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8") 2>&5
16085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16086 test $ac_status = 0; }; then
16087 pkg_cv_EDJE_CC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16088 test "x$?" != "x0" && pkg_failed=yes
16095 if test -n "$EDJE_CC_LIBS"; then
16096 pkg_cv_EDJE_CC_LIBS="$EDJE_CC_LIBS"
16097 elif test -n "$PKG_CONFIG"; then
16098 if test -n "$PKG_CONFIG" && \
16099 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8\""; } >&5
16100 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8") 2>&5
16102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16103 test $ac_status = 0; }; then
16104 pkg_cv_EDJE_CC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16105 test "x$?" != "x0" && pkg_failed=yes
16115 if test $pkg_failed = yes; then
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16117 $as_echo "no" >&6; }
16119 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16120 _pkg_short_errors_supported=yes
16122 _pkg_short_errors_supported=no
16124 if test $_pkg_short_errors_supported = yes; then
16125 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8" 2>&1`
16127 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8" 2>&1`
16129 # Put the nasty error message in config.log where it belongs
16130 echo "$EDJE_CC_PKG_ERRORS" >&5
16132 as_fn_error $? "Package requirements (ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8) were not met:
16134 $EDJE_CC_PKG_ERRORS
16136 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16137 installed software in a non-standard prefix.
16139 Alternatively, you may set the environment variables EDJE_CC_CFLAGS
16140 and EDJE_CC_LIBS to avoid the need to call pkg-config.
16141 See the pkg-config man page for more details." "$LINENO" 5
16142 elif test $pkg_failed = untried; then
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16144 $as_echo "no" >&6; }
16145 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16146 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16147 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16148 is in your PATH or set the PKG_CONFIG environment variable to the full
16149 path to pkg-config.
16151 Alternatively, you may set the environment variables EDJE_CC_CFLAGS
16152 and EDJE_CC_LIBS to avoid the need to call pkg-config.
16153 See the pkg-config man page for more details.
16155 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16156 See \`config.log' for more details" "$LINENO" 5; }
16158 EDJE_CC_CFLAGS=$pkg_cv_EDJE_CC_CFLAGS
16159 EDJE_CC_LIBS=$pkg_cv_EDJE_CC_LIBS
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16161 $as_echo "yes" >&6; }
16164 EDJE_CC_LIBS="${EDJE_CC_LIBS} ${LUA_LIBS} ${lua_libs}"
16167 if test "x${have_edje_cc}" = "xyes"; then
16169 BUILD_EPP_FALSE='#'
16176 if test "x${have_edje_decc}" = "xyes" ; then
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_DECC" >&5
16180 $as_echo_n "checking for EDJE_DECC... " >&6; }
16182 if test -n "$EDJE_DECC_CFLAGS"; then
16183 pkg_cv_EDJE_DECC_CFLAGS="$EDJE_DECC_CFLAGS"
16184 elif test -n "$PKG_CONFIG"; then
16185 if test -n "$PKG_CONFIG" && \
16186 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8\""; } >&5
16187 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8") 2>&5
16189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16190 test $ac_status = 0; }; then
16191 pkg_cv_EDJE_DECC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16192 test "x$?" != "x0" && pkg_failed=yes
16199 if test -n "$EDJE_DECC_LIBS"; then
16200 pkg_cv_EDJE_DECC_LIBS="$EDJE_DECC_LIBS"
16201 elif test -n "$PKG_CONFIG"; then
16202 if test -n "$PKG_CONFIG" && \
16203 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8\""; } >&5
16204 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8") 2>&5
16206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16207 test $ac_status = 0; }; then
16208 pkg_cv_EDJE_DECC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16209 test "x$?" != "x0" && pkg_failed=yes
16219 if test $pkg_failed = yes; then
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16221 $as_echo "no" >&6; }
16223 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16224 _pkg_short_errors_supported=yes
16226 _pkg_short_errors_supported=no
16228 if test $_pkg_short_errors_supported = yes; then
16229 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8" 2>&1`
16231 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8" 2>&1`
16233 # Put the nasty error message in config.log where it belongs
16234 echo "$EDJE_DECC_PKG_ERRORS" >&5
16236 as_fn_error $? "Package requirements (ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8) were not met:
16238 $EDJE_DECC_PKG_ERRORS
16240 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16241 installed software in a non-standard prefix.
16243 Alternatively, you may set the environment variables EDJE_DECC_CFLAGS
16244 and EDJE_DECC_LIBS to avoid the need to call pkg-config.
16245 See the pkg-config man page for more details." "$LINENO" 5
16246 elif test $pkg_failed = untried; then
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16248 $as_echo "no" >&6; }
16249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16251 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16252 is in your PATH or set the PKG_CONFIG environment variable to the full
16253 path to pkg-config.
16255 Alternatively, you may set the environment variables EDJE_DECC_CFLAGS
16256 and EDJE_DECC_LIBS to avoid the need to call pkg-config.
16257 See the pkg-config man page for more details.
16259 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16260 See \`config.log' for more details" "$LINENO" 5; }
16262 EDJE_DECC_CFLAGS=$pkg_cv_EDJE_DECC_CFLAGS
16263 EDJE_DECC_LIBS=$pkg_cv_EDJE_DECC_LIBS
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16265 $as_echo "yes" >&6; }
16270 if test "x${have_edje_player}" = "xyes" ; then
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_PLAYER" >&5
16274 $as_echo_n "checking for EDJE_PLAYER... " >&6; }
16276 if test -n "$EDJE_PLAYER_CFLAGS"; then
16277 pkg_cv_EDJE_PLAYER_CFLAGS="$EDJE_PLAYER_CFLAGS"
16278 elif test -n "$PKG_CONFIG"; then
16279 if test -n "$PKG_CONFIG" && \
16280 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8\""; } >&5
16281 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8") 2>&5
16283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16284 test $ac_status = 0; }; then
16285 pkg_cv_EDJE_PLAYER_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16286 test "x$?" != "x0" && pkg_failed=yes
16293 if test -n "$EDJE_PLAYER_LIBS"; then
16294 pkg_cv_EDJE_PLAYER_LIBS="$EDJE_PLAYER_LIBS"
16295 elif test -n "$PKG_CONFIG"; then
16296 if test -n "$PKG_CONFIG" && \
16297 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8\""; } >&5
16298 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8") 2>&5
16300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16301 test $ac_status = 0; }; then
16302 pkg_cv_EDJE_PLAYER_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16303 test "x$?" != "x0" && pkg_failed=yes
16313 if test $pkg_failed = yes; then
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16315 $as_echo "no" >&6; }
16317 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16318 _pkg_short_errors_supported=yes
16320 _pkg_short_errors_supported=no
16322 if test $_pkg_short_errors_supported = yes; then
16323 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>&1`
16325 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>&1`
16327 # Put the nasty error message in config.log where it belongs
16328 echo "$EDJE_PLAYER_PKG_ERRORS" >&5
16330 as_fn_error $? "Package requirements (ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8) were not met:
16332 $EDJE_PLAYER_PKG_ERRORS
16334 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16335 installed software in a non-standard prefix.
16337 Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS
16338 and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
16339 See the pkg-config man page for more details." "$LINENO" 5
16340 elif test $pkg_failed = untried; then
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16342 $as_echo "no" >&6; }
16343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16345 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16346 is in your PATH or set the PKG_CONFIG environment variable to the full
16347 path to pkg-config.
16349 Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS
16350 and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
16351 See the pkg-config man page for more details.
16353 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16354 See \`config.log' for more details" "$LINENO" 5; }
16356 EDJE_PLAYER_CFLAGS=$pkg_cv_EDJE_PLAYER_CFLAGS
16357 EDJE_PLAYER_LIBS=$pkg_cv_EDJE_PLAYER_LIBS
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16359 $as_echo "yes" >&6; }
16364 if test "x${have_edje_inspector}" = "xyes" ; then
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_INSPECTOR" >&5
16368 $as_echo_n "checking for EDJE_INSPECTOR... " >&6; }
16370 if test -n "$EDJE_INSPECTOR_CFLAGS"; then
16371 pkg_cv_EDJE_INSPECTOR_CFLAGS="$EDJE_INSPECTOR_CFLAGS"
16372 elif test -n "$PKG_CONFIG"; then
16373 if test -n "$PKG_CONFIG" && \
16374 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8\""; } >&5
16375 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8") 2>&5
16377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16378 test $ac_status = 0; }; then
16379 pkg_cv_EDJE_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16380 test "x$?" != "x0" && pkg_failed=yes
16387 if test -n "$EDJE_INSPECTOR_LIBS"; then
16388 pkg_cv_EDJE_INSPECTOR_LIBS="$EDJE_INSPECTOR_LIBS"
16389 elif test -n "$PKG_CONFIG"; then
16390 if test -n "$PKG_CONFIG" && \
16391 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8\""; } >&5
16392 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8") 2>&5
16394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16395 test $ac_status = 0; }; then
16396 pkg_cv_EDJE_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16397 test "x$?" != "x0" && pkg_failed=yes
16407 if test $pkg_failed = yes; then
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16409 $as_echo "no" >&6; }
16411 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16412 _pkg_short_errors_supported=yes
16414 _pkg_short_errors_supported=no
16416 if test $_pkg_short_errors_supported = yes; then
16417 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>&1`
16419 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>&1`
16421 # Put the nasty error message in config.log where it belongs
16422 echo "$EDJE_INSPECTOR_PKG_ERRORS" >&5
16424 as_fn_error $? "Package requirements (ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8) were not met:
16426 $EDJE_INSPECTOR_PKG_ERRORS
16428 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16429 installed software in a non-standard prefix.
16431 Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS
16432 and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
16433 See the pkg-config man page for more details." "$LINENO" 5
16434 elif test $pkg_failed = untried; then
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16436 $as_echo "no" >&6; }
16437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16439 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16440 is in your PATH or set the PKG_CONFIG environment variable to the full
16441 path to pkg-config.
16443 Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS
16444 and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
16445 See the pkg-config man page for more details.
16447 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16448 See \`config.log' for more details" "$LINENO" 5; }
16450 EDJE_INSPECTOR_CFLAGS=$pkg_cv_EDJE_INSPECTOR_CFLAGS
16451 EDJE_INSPECTOR_LIBS=$pkg_cv_EDJE_INSPECTOR_LIBS
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16453 $as_echo "yes" >&6; }
16458 if test "x${have_edje_external_inspector}" = "xyes" ; then
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_EXTERNAL_INSPECTOR" >&5
16462 $as_echo_n "checking for EDJE_EXTERNAL_INSPECTOR... " >&6; }
16464 if test -n "$EDJE_EXTERNAL_INSPECTOR_CFLAGS"; then
16465 pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS="$EDJE_EXTERNAL_INSPECTOR_CFLAGS"
16466 elif test -n "$PKG_CONFIG"; then
16467 if test -n "$PKG_CONFIG" && \
16468 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8\""; } >&5
16469 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8") 2>&5
16471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16472 test $ac_status = 0; }; then
16473 pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16474 test "x$?" != "x0" && pkg_failed=yes
16481 if test -n "$EDJE_EXTERNAL_INSPECTOR_LIBS"; then
16482 pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS="$EDJE_EXTERNAL_INSPECTOR_LIBS"
16483 elif test -n "$PKG_CONFIG"; then
16484 if test -n "$PKG_CONFIG" && \
16485 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8\""; } >&5
16486 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8") 2>&5
16488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16489 test $ac_status = 0; }; then
16490 pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16491 test "x$?" != "x0" && pkg_failed=yes
16501 if test $pkg_failed = yes; then
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16503 $as_echo "no" >&6; }
16505 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16506 _pkg_short_errors_supported=yes
16508 _pkg_short_errors_supported=no
16510 if test $_pkg_short_errors_supported = yes; then
16511 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>&1`
16513 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>&1`
16515 # Put the nasty error message in config.log where it belongs
16516 echo "$EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS" >&5
16518 as_fn_error $? "Package requirements (ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8) were not met:
16520 $EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS
16522 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16523 installed software in a non-standard prefix.
16525 Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS
16526 and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
16527 See the pkg-config man page for more details." "$LINENO" 5
16528 elif test $pkg_failed = untried; then
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16530 $as_echo "no" >&6; }
16531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16533 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16534 is in your PATH or set the PKG_CONFIG environment variable to the full
16535 path to pkg-config.
16537 Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS
16538 and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
16539 See the pkg-config man page for more details.
16541 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16542 See \`config.log' for more details" "$LINENO" 5; }
16544 EDJE_EXTERNAL_INSPECTOR_CFLAGS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS
16545 EDJE_EXTERNAL_INSPECTOR_LIBS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16547 $as_echo "yes" >&6; }
16552 if test "x${have_edje_watch}" = "xyes" ; then
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_WATCH" >&5
16556 $as_echo_n "checking for EDJE_WATCH... " >&6; }
16558 if test -n "$EDJE_WATCH_CFLAGS"; then
16559 pkg_cv_EDJE_WATCH_CFLAGS="$EDJE_WATCH_CFLAGS"
16560 elif test -n "$PKG_CONFIG"; then
16561 if test -n "$PKG_CONFIG" && \
16562 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 eio >= 1.7.8\""; } >&5
16563 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 eio >= 1.7.8") 2>&5
16565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16566 test $ac_status = 0; }; then
16567 pkg_cv_EDJE_WATCH_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 eina >= 1.7.8 eio >= 1.7.8" 2>/dev/null`
16568 test "x$?" != "x0" && pkg_failed=yes
16575 if test -n "$EDJE_WATCH_LIBS"; then
16576 pkg_cv_EDJE_WATCH_LIBS="$EDJE_WATCH_LIBS"
16577 elif test -n "$PKG_CONFIG"; then
16578 if test -n "$PKG_CONFIG" && \
16579 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 eio >= 1.7.8\""; } >&5
16580 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 eio >= 1.7.8") 2>&5
16582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16583 test $ac_status = 0; }; then
16584 pkg_cv_EDJE_WATCH_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 eina >= 1.7.8 eio >= 1.7.8" 2>/dev/null`
16585 test "x$?" != "x0" && pkg_failed=yes
16595 if test $pkg_failed = yes; then
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16597 $as_echo "no" >&6; }
16599 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16600 _pkg_short_errors_supported=yes
16602 _pkg_short_errors_supported=no
16604 if test $_pkg_short_errors_supported = yes; then
16605 EDJE_WATCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 eio >= 1.7.8" 2>&1`
16607 EDJE_WATCH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 eio >= 1.7.8" 2>&1`
16609 # Put the nasty error message in config.log where it belongs
16610 echo "$EDJE_WATCH_PKG_ERRORS" >&5
16612 have_edje_watch="no"
16613 elif test $pkg_failed = untried; then
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16615 $as_echo "no" >&6; }
16616 have_edje_watch="no"
16618 EDJE_WATCH_CFLAGS=$pkg_cv_EDJE_WATCH_CFLAGS
16619 EDJE_WATCH_LIBS=$pkg_cv_EDJE_WATCH_LIBS
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16621 $as_echo "yes" >&6; }
16622 have_edje_watch="yes"
16626 if test "x${have_edje_watch}" = "xyes"; then
16627 BUILD_EDJE_WATCH_TRUE=
16628 BUILD_EDJE_WATCH_FALSE='#'
16630 BUILD_EDJE_WATCH_TRUE='#'
16631 BUILD_EDJE_WATCH_FALSE=
16635 ### Checks for header files
16636 for ac_header in locale.h sys/resource.h
16638 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16639 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16640 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16641 cat >>confdefs.h <<_ACEOF
16642 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16654 ac_cpp='$CPP $CPPFLAGS'
16655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
16661 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
16662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16663 /* end confdefs.h. */
16665 #include <limits.h>
16677 if ac_fn_c_try_compile "$LINENO"; then :
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16679 $as_echo "yes" >&6; }
16683 cat >>confdefs.h <<_ACEOF
16684 #define PATH_MAX ${default_max}
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
16688 $as_echo "no: using ${default_max}" >&6; }
16691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16694 ac_cpp='$CPP $CPPFLAGS'
16695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16703 ### Checks for types
16706 ### Checks for structures
16709 ### Checks for compiler characteristics
16710 if test "x$CC" != xcc; then
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
16712 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
16715 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
16717 set dummy $CC; ac_cc=`$as_echo "$2" |
16718 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16719 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
16720 $as_echo_n "(cached) " >&6
16722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16723 /* end confdefs.h. */
16733 # Make sure it works both with $CC and with simple cc.
16734 # We do the test twice because some compilers refuse to overwrite an
16735 # existing .o file with -o, though they will create one.
16736 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16738 if { { case "(($ac_try" in
16739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16740 *) ac_try_echo=$ac_try;;
16742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16743 $as_echo "$ac_try_echo"; } >&5
16744 (eval "$ac_try") 2>&5
16746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16747 test $ac_status = 0; } &&
16748 test -f conftest2.$ac_objext && { { case "(($ac_try" in
16749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16750 *) ac_try_echo=$ac_try;;
16752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16753 $as_echo "$ac_try_echo"; } >&5
16754 (eval "$ac_try") 2>&5
16756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16757 test $ac_status = 0; };
16759 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
16760 if test "x$CC" != xcc; then
16761 # Test first that cc exists at all.
16762 if { ac_try='cc -c conftest.$ac_ext >&5'
16763 { { case "(($ac_try" in
16764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16765 *) ac_try_echo=$ac_try;;
16767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16768 $as_echo "$ac_try_echo"; } >&5
16769 (eval "$ac_try") 2>&5
16771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16772 test $ac_status = 0; }; }; then
16773 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16775 if { { case "(($ac_try" in
16776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16777 *) ac_try_echo=$ac_try;;
16779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16780 $as_echo "$ac_try_echo"; } >&5
16781 (eval "$ac_try") 2>&5
16783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16784 test $ac_status = 0; } &&
16785 test -f conftest2.$ac_objext && { { case "(($ac_try" in
16786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16787 *) ac_try_echo=$ac_try;;
16789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16790 $as_echo "$ac_try_echo"; } >&5
16791 (eval "$ac_try") 2>&5
16793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16794 test $ac_status = 0; };
16799 # cc exists but doesn't like -o.
16800 eval ac_cv_prog_cc_${ac_cc}_c_o=no
16805 eval ac_cv_prog_cc_${ac_cc}_c_o=no
16807 rm -f core conftest*
16810 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16812 $as_echo "yes" >&6; }
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16815 $as_echo "no" >&6; }
16817 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
16821 # FIXME: we rely on the cache variable name because
16822 # there is no other way.
16824 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16825 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
16826 if test "$am_t" != yes; then
16827 # Losing compiler, so override with the script.
16828 # FIXME: It is wrong to rewrite CC.
16829 # But if we don't then we get into trouble of one sort or another.
16830 # A longer-term fix would be to have automake use am__CC in this case,
16831 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16832 CC="$am_aux_dir/compile $CC"
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
16837 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16838 if ${ac_cv_c_const+:} false; then :
16839 $as_echo_n "(cached) " >&6
16841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16842 /* end confdefs.h. */
16848 #ifndef __cplusplus
16849 /* Ultrix mips cc rejects this sort of thing. */
16850 typedef int charset[2];
16851 const charset cs = { 0, 0 };
16852 /* SunOS 4.1.1 cc rejects this. */
16853 char const *const *pcpcc;
16855 /* NEC SVR4.0.2 mips cc rejects this. */
16856 struct point {int x, y;};
16857 static struct point const zero = {0,0};
16858 /* AIX XL C 1.02.0.0 rejects this.
16859 It does not let you subtract one const X* pointer from another in
16860 an arm of an if-expression whose if-part is not a constant
16862 const char *g = "string";
16863 pcpcc = &g + (g ? g-g : 0);
16864 /* HPUX 7.0 cc rejects these. */
16866 ppc = (char**) pcpcc;
16867 pcpcc = (char const *const *) ppc;
16868 { /* SCO 3.2v4 cc rejects this sort of thing. */
16871 char const *s = 0 ? (char *) 0 : (char const *) 0;
16876 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16877 int x[] = {25, 17};
16878 const int *foo = &x[0];
16881 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16882 typedef const int *iptr;
16886 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
16887 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16888 struct s { int j; const int *ap[3]; } bx;
16889 struct s *b = &bx; b->j = 5;
16891 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16892 const int foo = 10;
16893 if (!foo) return 0;
16895 return !cs[0] && !zero.x;
16902 if ac_fn_c_try_compile "$LINENO"; then :
16907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
16910 $as_echo "$ac_cv_c_const" >&6; }
16911 if test $ac_cv_c_const = no; then
16913 $as_echo "#define const /**/" >>confdefs.h
16917 case $ac_cv_prog_cc_stdc in #(
16919 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
16922 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
16923 if ${ac_cv_prog_cc_c99+:} false; then :
16924 $as_echo_n "(cached) " >&6
16926 ac_cv_prog_cc_c99=no
16928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16929 /* end confdefs.h. */
16930 #include <stdarg.h>
16931 #include <stdbool.h>
16932 #include <stdlib.h>
16936 // Check varargs macros. These examples are taken from C99 6.10.3.5.
16937 #define debug(...) fprintf (stderr, __VA_ARGS__)
16938 #define showlist(...) puts (#__VA_ARGS__)
16939 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
16941 test_varargs_macros (void)
16946 debug ("X = %d\n", x);
16947 showlist (The first, second, and third items.);
16948 report (x>y, "x is %d but y is %d", x, y);
16951 // Check long long types.
16952 #define BIG64 18446744073709551615ull
16953 #define BIG32 4294967295ul
16954 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
16956 your preprocessor is broken;
16960 your preprocessor is broken;
16962 static long long int bignum = -9223372036854775807LL;
16963 static unsigned long long int ubignum = BIG64;
16965 struct incomplete_array
16971 struct named_init {
16973 const wchar_t *name;
16977 typedef const char *ccp;
16980 test_restrict (ccp restrict text)
16982 // See if C++-style comments work.
16983 // Iterate through items via the restricted pointer.
16984 // Also check for declarations in for loops.
16985 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
16990 // Check varargs and va_copy.
16992 test_varargs (const char *format, ...)
16995 va_start (args, format);
16997 va_copy (args_copy, args);
17007 case 's': // string
17008 str = va_arg (args_copy, const char *);
17011 number = va_arg (args_copy, int);
17014 fnumber = va_arg (args_copy, double);
17020 va_end (args_copy);
17029 _Bool success = false;
17032 if (test_restrict ("String literal") == 0)
17034 char *restrict newvar = "Another string";
17037 test_varargs ("s, d' f .", "string", 65, 34.234);
17038 test_varargs_macros ();
17040 // Check flexible array members.
17041 struct incomplete_array *ia =
17042 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
17044 for (int i = 0; i < ia->datasize; ++i)
17045 ia->data[i] = i * 1.234;
17047 // Check named initializers.
17048 struct named_init ni = {
17050 .name = L"Test wide string",
17051 .average = 543.34343,
17056 int dynamic_array[ni.number];
17057 dynamic_array[ni.number - 1] = 543;
17059 // work around unused variable warnings
17060 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
17061 || dynamic_array[ni.number - 1] != 543);
17067 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
17069 CC="$ac_save_CC $ac_arg"
17070 if ac_fn_c_try_compile "$LINENO"; then :
17071 ac_cv_prog_cc_c99=$ac_arg
17073 rm -f core conftest.err conftest.$ac_objext
17074 test "x$ac_cv_prog_cc_c99" != "xno" && break
17076 rm -f conftest.$ac_ext
17081 case "x$ac_cv_prog_cc_c99" in
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17084 $as_echo "none needed" >&6; } ;;
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17087 $as_echo "unsupported" >&6; } ;;
17089 CC="$CC $ac_cv_prog_cc_c99"
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
17091 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
17093 if test "x$ac_cv_prog_cc_c99" != xno; then :
17094 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17097 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17098 if ${ac_cv_prog_cc_c89+:} false; then :
17099 $as_echo_n "(cached) " >&6
17101 ac_cv_prog_cc_c89=no
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 #include <stdarg.h>
17108 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17109 struct buf { int x; };
17110 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17111 static char *e (p, i)
17117 static char *f (char * (*g) (char **, int), char **p, ...)
17122 s = g (p, va_arg (v,int));
17127 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17128 function prototypes and stuff, but not '\xHH' hex character constants.
17129 These don't provoke an error unfortunately, instead are silently treated
17130 as 'x'. The following induces an error, until -std is added to get
17131 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17132 array size at least. It's necessary to write '\x00'==0 to get something
17133 that's true only with -std. */
17134 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17136 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17137 inside strings and character constants. */
17139 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17141 int test (int i, double x);
17142 struct s1 {int (*f) (int a);};
17143 struct s2 {int (*f) (double a);};
17144 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17150 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17155 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17156 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17158 CC="$ac_save_CC $ac_arg"
17159 if ac_fn_c_try_compile "$LINENO"; then :
17160 ac_cv_prog_cc_c89=$ac_arg
17162 rm -f core conftest.err conftest.$ac_objext
17163 test "x$ac_cv_prog_cc_c89" != "xno" && break
17165 rm -f conftest.$ac_ext
17170 case "x$ac_cv_prog_cc_c89" in
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17173 $as_echo "none needed" >&6; } ;;
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17176 $as_echo "unsupported" >&6; } ;;
17178 CC="$CC $ac_cv_prog_cc_c89"
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17180 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17182 if test "x$ac_cv_prog_cc_c89" != xno; then :
17183 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
17185 ac_cv_prog_cc_stdc=no
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
17192 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
17193 if ${ac_cv_prog_cc_stdc+:} false; then :
17194 $as_echo_n "(cached) " >&6
17197 case $ac_cv_prog_cc_stdc in #(
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17200 $as_echo "unsupported" >&6; } ;; #(
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17203 $as_echo "none needed" >&6; } ;; #(
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
17206 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
17210 $as_echo_n "checking for ANSI C header files... " >&6; }
17211 if ${ac_cv_header_stdc+:} false; then :
17212 $as_echo_n "(cached) " >&6
17214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17215 /* end confdefs.h. */
17216 #include <stdlib.h>
17217 #include <stdarg.h>
17218 #include <string.h>
17229 if ac_fn_c_try_compile "$LINENO"; then :
17230 ac_cv_header_stdc=yes
17232 ac_cv_header_stdc=no
17234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17236 if test $ac_cv_header_stdc = yes; then
17237 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17239 /* end confdefs.h. */
17240 #include <string.h>
17243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17244 $EGREP "memchr" >/dev/null 2>&1; then :
17247 ac_cv_header_stdc=no
17253 if test $ac_cv_header_stdc = yes; then
17254 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17256 /* end confdefs.h. */
17257 #include <stdlib.h>
17260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17261 $EGREP "free" >/dev/null 2>&1; then :
17264 ac_cv_header_stdc=no
17270 if test $ac_cv_header_stdc = yes; then
17271 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17272 if test "$cross_compiling" = yes; then :
17275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17276 /* end confdefs.h. */
17278 #include <stdlib.h>
17279 #if ((' ' & 0x0FF) == 0x020)
17280 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17281 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17283 # define ISLOWER(c) \
17284 (('a' <= (c) && (c) <= 'i') \
17285 || ('j' <= (c) && (c) <= 'r') \
17286 || ('s' <= (c) && (c) <= 'z'))
17287 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17290 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17295 for (i = 0; i < 256; i++)
17296 if (XOR (islower (i), ISLOWER (i))
17297 || toupper (i) != TOUPPER (i))
17302 if ac_fn_c_try_run "$LINENO"; then :
17305 ac_cv_header_stdc=no
17307 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17308 conftest.$ac_objext conftest.beam conftest.$ac_ext
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
17314 $as_echo "$ac_cv_header_stdc" >&6; }
17315 if test $ac_cv_header_stdc = yes; then
17317 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
17323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
17324 $as_echo_n "checking for __attribute__... " >&6; }
17326 if ${ac_cv___attribute__+:} false; then :
17327 $as_echo_n "(cached) " >&6
17329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17330 /* end confdefs.h. */
17332 #include <stdlib.h>
17335 int foo(int x __attribute__ ((unused)))
17348 if ac_fn_c_try_compile "$LINENO"; then :
17349 ac_cv___attribute__="yes"
17351 ac_cv___attribute__="no"
17354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
17359 $as_echo "$ac_cv___attribute__" >&6; }
17361 if test "x${ac_cv___attribute__}" = "xyes" ; then
17363 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
17366 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
17370 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
17378 EDJE_CFLAGS="${EDJE_CFLAGS} -D_WIN32_WCE=0x0420"
17383 ### Checks for linker characteristics
17385 lt_enable_auto_import=""
17388 lt_enable_auto_import="-Wl,--enable-auto-import"
17394 ### Checks for library functions
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
17397 $as_echo_n "checking for library containing strerror... " >&6; }
17398 if ${ac_cv_search_strerror+:} false; then :
17399 $as_echo_n "(cached) " >&6
17401 ac_func_search_save_LIBS=$LIBS
17402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17403 /* end confdefs.h. */
17405 /* Override any GCC internal prototype to avoid an error.
17406 Use char because int might match the return type of a GCC
17407 builtin and then its argument prototype would still apply. */
17415 return strerror ();
17420 for ac_lib in '' cposix; do
17421 if test -z "$ac_lib"; then
17422 ac_res="none required"
17425 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17427 if ac_fn_c_try_link "$LINENO"; then :
17428 ac_cv_search_strerror=$ac_res
17430 rm -f core conftest.err conftest.$ac_objext \
17432 if ${ac_cv_search_strerror+:} false; then :
17436 if ${ac_cv_search_strerror+:} false; then :
17439 ac_cv_search_strerror=no
17441 rm conftest.$ac_ext
17442 LIBS=$ac_func_search_save_LIBS
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
17445 $as_echo "$ac_cv_search_strerror" >&6; }
17446 ac_res=$ac_cv_search_strerror
17447 if test "$ac_res" != no; then :
17448 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17453 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17454 if test "x$ac_cv_type_size_t" = xyes; then :
17458 cat >>confdefs.h <<_ACEOF
17459 #define size_t unsigned int
17464 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
17465 # for constant arguments. Useless!
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
17467 $as_echo_n "checking for working alloca.h... " >&6; }
17468 if ${ac_cv_working_alloca_h+:} false; then :
17469 $as_echo_n "(cached) " >&6
17471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17472 /* end confdefs.h. */
17473 #include <alloca.h>
17477 char *p = (char *) alloca (2 * sizeof (int));
17483 if ac_fn_c_try_link "$LINENO"; then :
17484 ac_cv_working_alloca_h=yes
17486 ac_cv_working_alloca_h=no
17488 rm -f core conftest.err conftest.$ac_objext \
17489 conftest$ac_exeext conftest.$ac_ext
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
17492 $as_echo "$ac_cv_working_alloca_h" >&6; }
17493 if test $ac_cv_working_alloca_h = yes; then
17495 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
17500 $as_echo_n "checking for alloca... " >&6; }
17501 if ${ac_cv_func_alloca_works+:} false; then :
17502 $as_echo_n "(cached) " >&6
17504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17505 /* end confdefs.h. */
17507 # define alloca __builtin_alloca
17510 # include <malloc.h>
17511 # define alloca _alloca
17513 # ifdef HAVE_ALLOCA_H
17514 # include <alloca.h>
17519 # ifndef alloca /* predefined by HP cc +Olibcalls */
17520 void *alloca (size_t);
17530 char *p = (char *) alloca (1);
17536 if ac_fn_c_try_link "$LINENO"; then :
17537 ac_cv_func_alloca_works=yes
17539 ac_cv_func_alloca_works=no
17541 rm -f core conftest.err conftest.$ac_objext \
17542 conftest$ac_exeext conftest.$ac_ext
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
17545 $as_echo "$ac_cv_func_alloca_works" >&6; }
17547 if test $ac_cv_func_alloca_works = yes; then
17549 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
17552 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
17553 # that cause trouble. Some versions do not even contain alloca or
17554 # contain a buggy version. If you still want to use their alloca,
17555 # use ar to extract alloca.o from them instead of compiling alloca.c.
17557 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
17559 $as_echo "#define C_ALLOCA 1" >>confdefs.h
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
17563 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
17564 if ${ac_cv_os_cray+:} false; then :
17565 $as_echo_n "(cached) " >&6
17567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17568 /* end confdefs.h. */
17569 #if defined CRAY && ! defined CRAY2
17576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17577 $EGREP "webecray" >/dev/null 2>&1; then :
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
17586 $as_echo "$ac_cv_os_cray" >&6; }
17587 if test $ac_cv_os_cray = yes; then
17588 for ac_func in _getb67 GETB67 getb67; do
17589 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17591 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17593 cat >>confdefs.h <<_ACEOF
17594 #define CRAY_STACKSEG_END $ac_func
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
17604 $as_echo_n "checking stack direction for C alloca... " >&6; }
17605 if ${ac_cv_c_stack_direction+:} false; then :
17606 $as_echo_n "(cached) " >&6
17608 if test "$cross_compiling" = yes; then :
17609 ac_cv_c_stack_direction=0
17611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17612 /* end confdefs.h. */
17613 $ac_includes_default
17615 find_stack_direction (int *addr, int depth)
17617 int dir, dummy = 0;
17620 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
17621 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
17622 return dir + dummy;
17626 main (int argc, char **argv)
17628 return find_stack_direction (0, argc + !argv + 20) < 0;
17631 if ac_fn_c_try_run "$LINENO"; then :
17632 ac_cv_c_stack_direction=1
17634 ac_cv_c_stack_direction=-1
17636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17637 conftest.$ac_objext conftest.beam conftest.$ac_ext
17641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
17642 $as_echo "$ac_cv_c_stack_direction" >&6; }
17643 cat >>confdefs.h <<_ACEOF
17644 #define STACK_DIRECTION $ac_cv_c_stack_direction
17654 $as_echo "#define HAVE_REALPATH 1" >>confdefs.h
17658 for ac_func in realpath
17660 ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath"
17661 if test "x$ac_cv_func_realpath" = xyes; then :
17662 cat >>confdefs.h <<_ACEOF
17663 #define HAVE_REALPATH 1
17672 ### Unit tests, coverage and benchmarking
17677 # Check whether --enable-tests was given.
17678 if test "${enable_tests+set}" = set; then :
17679 enableval=$enable_tests;
17680 if test "x${enableval}" = "xyes" ; then
17681 _efl_enable_tests="yes"
17683 _efl_enable_tests="no"
17687 _efl_enable_tests="no"
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
17692 $as_echo_n "checking whether tests are built... " >&6; }
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
17694 $as_echo "${_efl_enable_tests}" >&6; }
17698 if test "x${_efl_enable_tests}" = "xyes" ; then
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
17702 $as_echo_n "checking for CHECK... " >&6; }
17704 if test -n "$CHECK_CFLAGS"; then
17705 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
17706 elif test -n "$PKG_CONFIG"; then
17707 if test -n "$PKG_CONFIG" && \
17708 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
17709 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
17711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17712 test $ac_status = 0; }; then
17713 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
17714 test "x$?" != "x0" && pkg_failed=yes
17721 if test -n "$CHECK_LIBS"; then
17722 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
17723 elif test -n "$PKG_CONFIG"; then
17724 if test -n "$PKG_CONFIG" && \
17725 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
17726 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
17728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17729 test $ac_status = 0; }; then
17730 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
17731 test "x$?" != "x0" && pkg_failed=yes
17741 if test $pkg_failed = yes; then
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17743 $as_echo "no" >&6; }
17745 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17746 _pkg_short_errors_supported=yes
17748 _pkg_short_errors_supported=no
17750 if test $_pkg_short_errors_supported = yes; then
17751 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
17753 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
17755 # Put the nasty error message in config.log where it belongs
17756 echo "$CHECK_PKG_ERRORS" >&5
17758 _efl_enable_tests="no"
17759 elif test $pkg_failed = untried; then
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17761 $as_echo "no" >&6; }
17762 _efl_enable_tests="no"
17764 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
17765 CHECK_LIBS=$pkg_cv_CHECK_LIBS
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17767 $as_echo "yes" >&6; }
17772 if test "x${_efl_enable_tests}" = "xyes"; then
17773 EFL_ENABLE_TESTS_TRUE=
17774 EFL_ENABLE_TESTS_FALSE='#'
17776 EFL_ENABLE_TESTS_TRUE='#'
17777 EFL_ENABLE_TESTS_FALSE=
17781 if test "x$_efl_enable_tests" = "xyes"; then :
17791 # Check whether --enable-coverage was given.
17792 if test "${enable_coverage+set}" = set; then :
17793 enableval=$enable_coverage;
17794 if test "x${enableval}" = "xyes" ; then
17795 _efl_enable_coverage="yes"
17797 _efl_enable_coverage="no"
17801 _efl_enable_coverage="no"
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
17806 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
17808 $as_echo "$_efl_enable_coverage" >&6; }
17811 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
17813 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
17815 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
17816 _efl_enable_coverage="no"
17819 if test "x$_efl_enable_coverage" = "xyes" ; then
17820 # Extract the first word of "lcov", so it can be a program name with args.
17821 set dummy lcov; ac_word=$2
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17823 $as_echo_n "checking for $ac_word... " >&6; }
17824 if ${ac_cv_prog_have_lcov+:} false; then :
17825 $as_echo_n "(cached) " >&6
17827 if test -n "$have_lcov"; then
17828 ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
17830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17831 for as_dir in $PATH
17834 test -z "$as_dir" && as_dir=.
17835 for ac_exec_ext in '' $ac_executable_extensions; do
17836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17837 ac_cv_prog_have_lcov="yes"
17838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17845 test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
17848 have_lcov=$ac_cv_prog_have_lcov
17849 if test -n "$have_lcov"; then
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
17851 $as_echo "$have_lcov" >&6; }
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17854 $as_echo "no" >&6; }
17858 if test "x$have_lcov" = "xyes" ; then
17859 EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
17860 EFL_COVERAGE_LIBS="-lgcov"
17861 # remove any optimisation flag and force debug symbols
17862 EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
17865 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
17866 _efl_enable_coverage="no"
17873 if test "x${_efl_enable_coverage}" = "xyes"; then
17874 EFL_ENABLE_COVERAGE_TRUE=
17875 EFL_ENABLE_COVERAGE_FALSE='#'
17877 EFL_ENABLE_COVERAGE_TRUE='#'
17878 EFL_ENABLE_COVERAGE_FALSE=
17882 if test "x$_efl_enable_coverage" = "xyes"; then :
17883 enable_coverage="yes"
17885 enable_coverage="no"
17888 EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
17889 EDJE_LIBS="${EDJE_LIBS} ${EFL_COVERAGE_LIBS}"
17890 if test "x$enable_coverage" = "xyes" ; then
17891 EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_DEBUG_CFLAGS}"
17896 build_examples="no"
17897 # Check whether --enable-build-examples was given.
17898 if test "${enable_build_examples+set}" = set; then :
17899 enableval=$enable_build_examples;
17900 if test "x${enableval}" = "xyes" ; then
17901 build_examples="yes"
17903 build_examples="no"
17907 build_examples="no"
17910 if test "x${build_examples}" = "xyes"; then
17911 BUILD_EXAMPLES_TRUE=
17912 BUILD_EXAMPLES_FALSE='#'
17914 BUILD_EXAMPLES_TRUE='#'
17915 BUILD_EXAMPLES_FALSE=
17921 ac_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"
17923 cat >confcache <<\_ACEOF
17924 # This file is a shell script that caches the results of configure
17925 # tests run on this system so they can be shared between configure
17926 # scripts and configure runs, see configure's option --config-cache.
17927 # It is not useful on other systems. If it contains results you don't
17928 # want to keep, you may remove or edit it.
17930 # config.status only pays attention to the cache file if you give it
17931 # the --recheck option to rerun configure.
17933 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17934 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17935 # following values.
17939 # The following way of writing the cache mishandles newlines in values,
17940 # but we know of no workaround that is simple, portable, and efficient.
17941 # So, we kill variables containing newlines.
17942 # Ultrix sh set writes to stderr and can't be redirected directly,
17943 # and sets the high bit in the cache file unless we assign to the vars.
17945 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17946 eval ac_val=\$$ac_var
17950 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17951 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17954 _ | IFS | as_nl) ;; #(
17955 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17956 *) { eval $ac_var=; unset $ac_var;} ;;
17962 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17963 *${as_nl}ac_space=\ *)
17964 # `set' does not quote correctly, so add quotes: double-quote
17965 # substitution turns \\\\ into \\, and sed turns \\ into \.
17968 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17971 # `set' quotes correctly as required by POSIX, so do not add quotes.
17972 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17981 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17983 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17985 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17986 if test -w "$cache_file"; then
17987 if test "x$cache_file" != "x/dev/null"; then
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17989 $as_echo "$as_me: updating cache $cache_file" >&6;}
17990 if test ! -f "$cache_file" || test -h "$cache_file"; then
17991 cat confcache >"$cache_file"
17993 case $cache_file in #(
17995 mv -f confcache "$cache_file"$$ &&
17996 mv -f "$cache_file"$$ "$cache_file" ;; #(
17998 mv -f confcache "$cache_file" ;;
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18004 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18009 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18010 # Let make expand exec_prefix.
18011 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18013 DEFS=-DHAVE_CONFIG_H
18018 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18019 # 1. Remove the extension, and $U if already installed.
18020 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18021 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18022 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18023 # will be set to the directory where LIBOBJS objects are built.
18024 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18025 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18027 LIBOBJS=$ac_libobjs
18029 LTLIBOBJS=$ac_ltlibobjs
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18033 $as_echo_n "checking that generated files are newer than configure... " >&6; }
18034 if test -n "$am_sleep_pid"; then
18035 # Hide warnings about reused PIDs.
18036 wait $am_sleep_pid 2>/dev/null
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18039 $as_echo "done" >&6; }
18040 if test -n "$EXEEXT"; then
18042 am__EXEEXT_FALSE='#'
18044 am__EXEEXT_TRUE='#'
18048 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18049 as_fn_error $? "conditional \"AMDEP\" was never defined.
18050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18052 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18053 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18056 if test -z "${EDJE_AMALGAMATION_TRUE}" && test -z "${EDJE_AMALGAMATION_FALSE}"; then
18057 as_fn_error $? "conditional \"EDJE_AMALGAMATION\" was never defined.
18058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18060 if test -z "${BUILD_EDJE_CC_TRUE}" && test -z "${BUILD_EDJE_CC_FALSE}"; then
18061 as_fn_error $? "conditional \"BUILD_EDJE_CC\" was never defined.
18062 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18064 if test -z "${BUILD_EDJE_DECC_TRUE}" && test -z "${BUILD_EDJE_DECC_FALSE}"; then
18065 as_fn_error $? "conditional \"BUILD_EDJE_DECC\" was never defined.
18066 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18068 if test -z "${BUILD_EDJE_RECC_TRUE}" && test -z "${BUILD_EDJE_RECC_FALSE}"; then
18069 as_fn_error $? "conditional \"BUILD_EDJE_RECC\" was never defined.
18070 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18072 if test -z "${BUILD_EDJE_PLAYER_TRUE}" && test -z "${BUILD_EDJE_PLAYER_FALSE}"; then
18073 as_fn_error $? "conditional \"BUILD_EDJE_PLAYER\" was never defined.
18074 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18076 if test -z "${BUILD_EDJE_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_INSPECTOR_FALSE}"; then
18077 as_fn_error $? "conditional \"BUILD_EDJE_INSPECTOR\" was never defined.
18078 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18080 if test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE}"; then
18081 as_fn_error $? "conditional \"BUILD_EDJE_EXTERNAL_INSPECTOR\" was never defined.
18082 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18084 if test -z "${BUILD_EDJE_WATCH_TRUE}" && test -z "${BUILD_EDJE_WATCH_FALSE}"; then
18085 as_fn_error $? "conditional \"BUILD_EDJE_WATCH\" was never defined.
18086 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18088 if test -z "${EDJE_PROGRAM_CACHE_TRUE}" && test -z "${EDJE_PROGRAM_CACHE_FALSE}"; then
18089 as_fn_error $? "conditional \"EDJE_PROGRAM_CACHE\" was never defined.
18090 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18092 if test -z "${EDJE_CALC_CACHE_TRUE}" && test -z "${EDJE_CALC_CACHE_FALSE}"; then
18093 as_fn_error $? "conditional \"EDJE_CALC_CACHE\" was never defined.
18094 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18096 if test -z "${BUILD_EDJE_FP_TRUE}" && test -z "${BUILD_EDJE_FP_FALSE}"; then
18097 as_fn_error $? "conditional \"BUILD_EDJE_FP\" was never defined.
18098 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18100 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18101 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18104 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
18105 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
18106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18108 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
18109 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
18110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18112 if test -z "${ENABLE_MULTISENSE_TRUE}" && test -z "${ENABLE_MULTISENSE_FALSE}"; then
18113 as_fn_error $? "conditional \"ENABLE_MULTISENSE\" was never defined.
18114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18116 if test -z "${HAVE_LIBSNDFILE_TRUE}" && test -z "${HAVE_LIBSNDFILE_FALSE}"; then
18117 as_fn_error $? "conditional \"HAVE_LIBSNDFILE\" was never defined.
18118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18120 if test -z "${HAVE_LIBREMIX_TRUE}" && test -z "${HAVE_LIBREMIX_FALSE}"; then
18121 as_fn_error $? "conditional \"HAVE_LIBREMIX\" was never defined.
18122 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18124 if test -z "${HAVE_LIBALSA_TRUE}" && test -z "${HAVE_LIBALSA_FALSE}"; then
18125 as_fn_error $? "conditional \"HAVE_LIBALSA\" was never defined.
18126 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18128 if test -z "${BUILD_EPP_TRUE}" && test -z "${BUILD_EPP_FALSE}"; then
18129 as_fn_error $? "conditional \"BUILD_EPP\" was never defined.
18130 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18132 if test -z "${BUILD_EDJE_WATCH_TRUE}" && test -z "${BUILD_EDJE_WATCH_FALSE}"; then
18133 as_fn_error $? "conditional \"BUILD_EDJE_WATCH\" was never defined.
18134 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18136 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
18137 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
18138 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18140 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
18141 as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
18142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18144 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
18145 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
18146 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18149 : "${CONFIG_STATUS=./config.status}"
18151 ac_clean_files_save=$ac_clean_files
18152 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18153 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18154 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18156 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18158 # Generated by $as_me.
18159 # Run this file to recreate the current configuration.
18160 # Compiler output produced by configure, useful for debugging
18161 # configure, is in config.log if it exists.
18164 ac_cs_recheck=false
18167 SHELL=\${CONFIG_SHELL-$SHELL}
18170 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18171 ## -------------------- ##
18172 ## M4sh Initialization. ##
18173 ## -------------------- ##
18175 # Be more Bourne compatible
18176 DUALCASE=1; export DUALCASE # for MKS sh
18177 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18180 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18181 # is contrary to our usage. Disable this feature.
18182 alias -g '${1+"$@"}'='"$@"'
18183 setopt NO_GLOB_SUBST
18185 case `(set -o) 2>/dev/null` in #(
18197 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18198 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18199 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18200 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18201 # Prefer a ksh shell builtin over an external printf program on Solaris,
18202 # but without wasting forks for bash or zsh.
18203 if test -z "$BASH_VERSION$ZSH_VERSION" \
18204 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18205 as_echo='print -r --'
18206 as_echo_n='print -rn --'
18207 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18208 as_echo='printf %s\n'
18209 as_echo_n='printf %s'
18211 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18212 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18213 as_echo_n='/usr/ucb/echo -n'
18215 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18216 as_echo_n_body='eval
18220 expr "X$arg" : "X\\(.*\\)$as_nl";
18221 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18223 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18225 export as_echo_n_body
18226 as_echo_n='sh -c $as_echo_n_body as_echo'
18228 export as_echo_body
18229 as_echo='sh -c $as_echo_body as_echo'
18232 # The user is always right.
18233 if test "${PATH_SEPARATOR+set}" != set; then
18235 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18236 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18243 # We need space, tab and new line, in precisely that order. Quoting is
18244 # there to prevent editors from complaining about space-tab.
18245 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18246 # splitting by setting IFS to empty value.)
18249 # Find who we are. Look in the path if we contain no directory separator.
18252 *[\\/]* ) as_myself=$0 ;;
18253 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18254 for as_dir in $PATH
18257 test -z "$as_dir" && as_dir=.
18258 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18264 # We did not find ourselves, most probably we were run as `sh COMMAND'
18265 # in which case we are not to be found in the path.
18266 if test "x$as_myself" = x; then
18269 if test ! -f "$as_myself"; then
18270 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18274 # Unset variables that we do not need and which cause bugs (e.g. in
18275 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18276 # suppresses any "Segmentation fault" message there. '((' could
18277 # trigger a bug in pdksh 5.2.14.
18278 for as_var in BASH_ENV ENV MAIL MAILPATH
18279 do eval test x\${$as_var+set} = xset \
18280 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18293 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18296 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18297 # ----------------------------------------
18298 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18299 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18300 # script with STATUS, using 1 if that was 0.
18303 as_status=$1; test $as_status -eq 0 && as_status=1
18305 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18306 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18308 $as_echo "$as_me: error: $2" >&2
18309 as_fn_exit $as_status
18313 # as_fn_set_status STATUS
18314 # -----------------------
18315 # Set $? to STATUS, without forking.
18316 as_fn_set_status ()
18319 } # as_fn_set_status
18321 # as_fn_exit STATUS
18322 # -----------------
18323 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18327 as_fn_set_status $1
18333 # Portably unset VAR.
18336 { eval $1=; unset $1;}
18338 as_unset=as_fn_unset
18339 # as_fn_append VAR VALUE
18340 # ----------------------
18341 # Append the text in VALUE to the end of the definition contained in VAR. Take
18342 # advantage of any shell optimizations that allow amortized linear growth over
18343 # repeated appends, instead of the typical quadratic growth present in naive
18345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18346 eval 'as_fn_append ()
18357 # as_fn_arith ARG...
18358 # ------------------
18359 # Perform arithmetic evaluation on the ARGs, and store the result in the
18360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18361 # must be portable across $(()) and expr.
18362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18363 eval 'as_fn_arith ()
18370 as_val=`expr "$@" || test $? -eq 1`
18375 if expr a : '\(a\)' >/dev/null 2>&1 &&
18376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18383 as_basename=basename
18388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18394 as_me=`$as_basename -- "$0" ||
18395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18396 X"$0" : 'X\(//\)$' \| \
18397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18399 sed '/^.*\/\([^/][^/]*\)\/*$/{
18413 # Avoid depending upon Character Ranges.
18414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18417 as_cr_digits='0123456789'
18418 as_cr_alnum=$as_cr_Letters$as_cr_digits
18420 ECHO_C= ECHO_N= ECHO_T=
18421 case `echo -n x` in #(((((
18423 case `echo 'xy\c'` in
18424 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18426 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18433 rm -f conf$$ conf$$.exe conf$$.file
18434 if test -d conf$$.dir; then
18435 rm -f conf$$.dir/conf$$.file
18438 mkdir conf$$.dir 2>/dev/null
18440 if (echo >conf$$.file) 2>/dev/null; then
18441 if ln -s conf$$.file conf$$ 2>/dev/null; then
18443 # ... but there are two gotchas:
18444 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18445 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18446 # In both cases, we have to default to `cp -pR'.
18447 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18449 elif ln conf$$.file conf$$ 2>/dev/null; then
18457 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18458 rmdir conf$$.dir 2>/dev/null
18463 # Create "$as_dir" as a directory, including parents if necessary.
18468 -*) as_dir=./$as_dir;;
18470 test -d "$as_dir" || eval $as_mkdir_p || {
18474 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18475 *) as_qdir=$as_dir;;
18477 as_dirs="'$as_qdir' $as_dirs"
18478 as_dir=`$as_dirname -- "$as_dir" ||
18479 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18480 X"$as_dir" : 'X\(//\)[^/]' \| \
18481 X"$as_dir" : 'X\(//\)$' \| \
18482 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18483 $as_echo X"$as_dir" |
18484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18488 /^X\(\/\/\)[^/].*/{
18501 test -d "$as_dir" && break
18503 test -z "$as_dirs" || eval "mkdir $as_dirs"
18504 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18508 if mkdir -p . 2>/dev/null; then
18509 as_mkdir_p='mkdir -p "$as_dir"'
18511 test -d ./-p && rmdir ./-p
18516 # as_fn_executable_p FILE
18517 # -----------------------
18518 # Test if FILE is an executable regular file.
18519 as_fn_executable_p ()
18521 test -f "$1" && test -x "$1"
18522 } # as_fn_executable_p
18523 as_test_x='test -x'
18524 as_executable_p=as_fn_executable_p
18526 # Sed expression to map a string onto a valid CPP name.
18527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18529 # Sed expression to map a string onto a valid variable name.
18530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18534 ## ----------------------------------- ##
18535 ## Main body of $CONFIG_STATUS script. ##
18536 ## ----------------------------------- ##
18538 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18541 # Save the log message, to keep $0 and so on meaningful, and to
18542 # report actual input values of CONFIG_FILES etc. instead of their
18543 # values after options handling.
18545 This file was extended by edje $as_me 1.7.8, which was
18546 generated by GNU Autoconf 2.69. Invocation command line was
18548 CONFIG_FILES = $CONFIG_FILES
18549 CONFIG_HEADERS = $CONFIG_HEADERS
18550 CONFIG_LINKS = $CONFIG_LINKS
18551 CONFIG_COMMANDS = $CONFIG_COMMANDS
18554 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18559 case $ac_config_files in *"
18560 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18563 case $ac_config_headers in *"
18564 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18569 # Files that config.status was made for.
18570 config_files="$ac_config_files"
18571 config_headers="$ac_config_headers"
18572 config_commands="$ac_config_commands"
18576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18578 \`$as_me' instantiates files and other configuration actions
18579 from templates according to the current configuration. Unless the files
18580 and actions are specified as TAGs, all are instantiated by default.
18582 Usage: $0 [OPTION]... [TAG]...
18584 -h, --help print this help, then exit
18585 -V, --version print version number and configuration settings, then exit
18586 --config print configuration, then exit
18587 -q, --quiet, --silent
18588 do not print progress messages
18589 -d, --debug don't remove temporary files
18590 --recheck update $as_me by reconfiguring in the same conditions
18591 --file=FILE[:TEMPLATE]
18592 instantiate the configuration file FILE
18593 --header=FILE[:TEMPLATE]
18594 instantiate the configuration header FILE
18596 Configuration files:
18599 Configuration headers:
18602 Configuration commands:
18605 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
18608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18609 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18611 edje config.status 1.7.8
18612 configured by $0, generated by GNU Autoconf 2.69,
18613 with options \\"\$ac_cs_config\\"
18615 Copyright (C) 2012 Free Software Foundation, Inc.
18616 This config.status script is free software; the Free Software Foundation
18617 gives unlimited permission to copy, distribute and modify it."
18624 test -n "\$AWK" || AWK=awk
18627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18628 # The default lists apply if the user does not specify any file.
18634 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18635 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18639 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18651 # Handling of the options.
18652 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18654 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18655 $as_echo "$ac_cs_version"; exit ;;
18656 --config | --confi | --conf | --con | --co | --c )
18657 $as_echo "$ac_cs_config"; exit ;;
18658 --debug | --debu | --deb | --de | --d | -d )
18660 --file | --fil | --fi | --f )
18663 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18664 '') as_fn_error $? "missing file argument" ;;
18666 as_fn_append CONFIG_FILES " '$ac_optarg'"
18667 ac_need_defaults=false;;
18668 --header | --heade | --head | --hea )
18671 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18673 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18674 ac_need_defaults=false;;
18676 # Conflict between --help and --header
18677 as_fn_error $? "ambiguous option: \`$1'
18678 Try \`$0 --help' for more information.";;
18679 --help | --hel | -h )
18680 $as_echo "$ac_cs_usage"; exit ;;
18681 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18682 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18685 # This is an error.
18686 -*) as_fn_error $? "unrecognized option: \`$1'
18687 Try \`$0 --help' for more information." ;;
18689 *) as_fn_append ac_config_targets " $1"
18690 ac_need_defaults=false ;;
18696 ac_configure_extra_args=
18698 if $ac_cs_silent; then
18700 ac_configure_extra_args="$ac_configure_extra_args --silent"
18704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18705 if \$ac_cs_recheck; then
18706 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18708 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18709 CONFIG_SHELL='$SHELL'
18710 export CONFIG_SHELL
18715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18719 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18720 ## Running $as_me. ##
18726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18730 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18733 # The HP-UX ksh and POSIX shell print the target directory to stdout
18734 # if CDPATH is set.
18735 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18737 sed_quote_subst='$sed_quote_subst'
18738 double_quote_subst='$double_quote_subst'
18739 delay_variable_subst='$delay_variable_subst'
18740 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
18741 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18742 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18743 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18744 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18745 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18746 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18747 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18748 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18749 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18750 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18751 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18752 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18753 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18754 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18755 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18756 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18757 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18758 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18759 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18760 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18761 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18762 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18763 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18764 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18765 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18766 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18767 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18768 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18769 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18770 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18771 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18772 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18773 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18774 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18775 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18776 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18777 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18778 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18779 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18780 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18781 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18782 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18783 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18784 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18785 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18786 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18787 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18788 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18789 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18790 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18791 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18792 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18793 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18794 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18795 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18796 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18797 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
18798 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18799 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18800 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18801 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18802 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18803 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18804 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18805 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18806 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18807 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18808 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18809 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18810 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18811 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18812 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18813 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18814 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18815 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18816 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18817 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18818 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18819 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18820 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18821 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18822 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18823 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18824 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18825 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18826 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18827 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18828 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18829 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18830 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18831 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18832 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18833 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18834 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18835 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18836 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18837 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18838 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18839 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18840 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18841 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18842 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18843 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18844 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18845 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18846 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18847 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18848 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18849 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18850 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18851 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18852 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18853 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18854 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18855 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18856 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18857 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18858 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18859 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18860 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18861 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18862 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18863 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18864 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18865 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18866 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18867 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18868 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18869 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18870 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18873 LTCFLAGS='$LTCFLAGS'
18874 compiler='$compiler_DEFAULT'
18876 # A function that is used when there is no print builtin or printf.
18877 func_fallback_echo ()
18879 eval 'cat <<_LTECHO_EOF
18884 # Quote evaled strings.
18901 deplibs_check_method \
18905 sharedlib_from_linklib_cmd \
18908 archiver_list_spec \
18914 lt_cv_sys_global_symbol_pipe \
18915 lt_cv_sys_global_symbol_to_cdecl \
18916 lt_cv_sys_global_symbol_to_c_name_address \
18917 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18918 nm_file_list_spec \
18919 lt_prog_compiler_no_builtin_flag \
18920 lt_prog_compiler_pic \
18921 lt_prog_compiler_wl \
18922 lt_prog_compiler_static \
18923 lt_cv_prog_compiler_c_o \
18932 export_dynamic_flag_spec \
18933 whole_archive_flag_spec \
18934 compiler_needs_object \
18936 allow_undefined_flag \
18937 no_undefined_flag \
18938 hardcode_libdir_flag_spec \
18939 hardcode_libdir_separator \
18943 variables_saved_for_relink \
18945 library_names_spec \
18947 install_override_mode \
18951 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18952 *[\\\\\\\`\\"\\\$]*)
18953 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18956 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18961 # Double-quote double-evaled strings.
18962 for var in reload_cmds \
18963 old_postinstall_cmds \
18964 old_postuninstall_cmds \
18966 extract_expsyms_cmds \
18967 old_archive_from_new_cmds \
18968 old_archive_from_expsyms_cmds \
18970 archive_expsym_cmds \
18972 module_expsym_cmds \
18973 export_symbols_cmds \
18977 postuninstall_cmds \
18979 sys_lib_search_path_spec \
18980 sys_lib_dlsearch_path_spec; do
18981 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18982 *[\\\\\\\`\\"\\\$]*)
18983 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18986 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18991 ac_aux_dir='$ac_aux_dir'
18992 xsi_shell='$xsi_shell'
18993 lt_shell_append='$lt_shell_append'
18995 # See if we are running on zsh, and set the options which allow our
18996 # commands through without removal of \ escapes INIT.
18997 if test -n "\${ZSH_VERSION+set}" ; then
18998 setopt NO_GLOB_SUBST
19004 TIMESTAMP='$TIMESTAMP'
19013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19015 # Handling of arguments.
19016 for ac_config_target in $ac_config_targets
19018 case $ac_config_target in
19019 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
19020 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19021 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19022 "edje.pc") CONFIG_FILES="$CONFIG_FILES edje.pc" ;;
19023 "edje.spec") CONFIG_FILES="$CONFIG_FILES edje.spec" ;;
19024 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19025 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
19026 "data/include/Makefile") CONFIG_FILES="$CONFIG_FILES data/include/Makefile" ;;
19027 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
19028 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
19029 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
19030 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
19031 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
19032 "src/bin/epp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/epp/Makefile" ;;
19033 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
19034 "src/modules/alsa_snd_player/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/alsa_snd_player/Makefile" ;;
19035 "src/modules/eet_snd_reader/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/eet_snd_reader/Makefile" ;;
19036 "src/modules/multisense_factory/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/multisense_factory/Makefile" ;;
19037 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
19038 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
19039 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
19041 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19046 # If the user did not use the arguments to specify the items to instantiate,
19047 # then the envvar interface is used. Set only those that are not.
19048 # We use the long form for the default assignment because of an extremely
19049 # bizarre bug on SunOS 4.1.3.
19050 if $ac_need_defaults; then
19051 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19052 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19053 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19056 # Have a temporary directory for convenience. Make it in the build tree
19057 # simply because there is no reason against having it here, and in addition,
19058 # creating and moving files from /tmp can sometimes cause problems.
19059 # Hook for its removal unless debugging.
19060 # Note that there is a small window in which the directory will not be cleaned:
19061 # after its creation but before its name has been assigned to `$tmp'.
19065 trap 'exit_status=$?
19066 : "${ac_tmp:=$tmp}"
19067 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19069 trap 'as_fn_exit 1' 1 2 13 15
19071 # Create a (secure) tmp directory for tmp files.
19074 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19078 tmp=./conf$$-$RANDOM
19079 (umask 077 && mkdir "$tmp")
19080 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19083 # Set up the scripts for CONFIG_FILES section.
19084 # No need to generate them if there are no CONFIG_FILES.
19085 # This happens for instance with `./config.status config.h'.
19086 if test -n "$CONFIG_FILES"; then
19089 ac_cr=`echo X | tr X '\015'`
19090 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19091 # But we know of no other shell where ac_cr would be empty at this
19092 # point, so we can use a bashism as a fallback.
19093 if test "x$ac_cr" = x; then
19094 eval ac_cr=\$\'\\r\'
19096 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19097 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19100 ac_cs_awk_cr=$ac_cr
19103 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19108 echo "cat >conf$$subs.awk <<_ACEOF" &&
19109 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19111 } >conf$$subs.sh ||
19112 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19113 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19115 for ac_last_try in false false false false false :; do
19116 . ./conf$$subs.sh ||
19117 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19119 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19120 if test $ac_delim_n = $ac_delim_num; then
19122 elif $ac_last_try; then
19123 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19125 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19128 rm -f conf$$subs.sh
19130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19131 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19135 s/^/S["/; s/!.*/"]=/
19145 s/\(.\{148\}\)..*/\1/
19147 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19152 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19159 s/\(.\{148\}\)..*/\1/
19161 s/["\\]/\\&/g; s/^/"/; s/$/"/
19165 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19170 ' <conf$$subs.awk | sed '
19175 ' >>$CONFIG_STATUS || ac_write_fail=1
19176 rm -f conf$$subs.awk
19177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19179 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19180 for (key in S) S_is_set[key] = 1
19186 nfields = split(line, field, "@")
19188 len = length(field[1])
19189 for (i = 2; i < nfields; i++) {
19191 keylen = length(key)
19192 if (S_is_set[key]) {
19194 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19195 len += length(value) + length(field[++i])
19206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19207 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19208 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19211 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19212 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19215 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19216 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19217 # trailing colons and then remove the whole line if VPATH becomes empty
19218 # (actually we leave an empty line to preserve line numbers).
19219 if test "x$srcdir" = x.; then
19220 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19239 fi # test -n "$CONFIG_FILES"
19241 # Set up the scripts for CONFIG_HEADERS section.
19242 # No need to generate them if there are no CONFIG_HEADERS.
19243 # This happens for instance with `./config.status Makefile'.
19244 if test -n "$CONFIG_HEADERS"; then
19245 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19249 # Transform confdefs.h into an awk script `defines.awk', embedded as
19250 # here-document in config.status, that substitutes the proper values into
19251 # config.h.in to produce config.h.
19253 # Create a delimiter string that does not exist in confdefs.h, to ease
19254 # handling of long lines.
19256 for ac_last_try in false false :; do
19257 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19258 if test -z "$ac_tt"; then
19260 elif $ac_last_try; then
19261 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19263 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19267 # For the awk script, D is an array of macro values keyed by name,
19268 # likewise P contains macro parameters if any. Preserve backslash
19269 # newline sequences.
19271 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19273 s/.\{148\}/&'"$ac_delim"'/g
19276 s/^[ ]*#[ ]*define[ ][ ]*/ /
19283 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19285 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19289 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19290 D["\1"]=" \3\\\\\\n"\\/p
19292 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19297 s/.\{148\}/&'"$ac_delim"'/g
19302 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19305 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19307 ' <confdefs.h | sed '
19308 s/'"$ac_delim"'/"\\\
19309 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19312 for (key in D) D_is_set[key] = 1
19315 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19317 split(line, arg, " ")
19318 if (arg[1] == "#") {
19322 defundef = substr(arg[1], 2)
19325 split(mac1, mac2, "(") #)
19327 prefix = substr(line, 1, index(line, defundef) - 1)
19328 if (D_is_set[macro]) {
19329 # Preserve the white space surrounding the "#".
19330 print prefix "define", macro P[macro] D[macro]
19333 # Replace #undef with comments. This is necessary, for example,
19334 # in the case of _POSIX_SOURCE, which is predefined and required
19335 # on some systems where configure will not decide to define it.
19336 if (defundef == "undef") {
19337 print "/*", prefix defundef, macro, "*/"
19345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19346 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19347 fi # test -n "$CONFIG_HEADERS"
19350 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19355 :[FHLC]) ac_mode=$ac_tag; continue;;
19357 case $ac_mode$ac_tag in
19359 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19360 :[FH]-) ac_tag=-:-;;
19361 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19378 -) ac_f="$ac_tmp/stdin";;
19379 *) # Look for the file first in the build tree, then in the source tree
19380 # (if the path is not absolute). The absolute path cannot be DOS-style,
19381 # because $ac_f cannot contain `:'.
19385 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19387 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19389 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19390 as_fn_append ac_file_inputs " '$ac_f'"
19393 # Let's still pretend it is `configure' which instantiates (i.e., don't
19394 # use $as_me), people would be surprised to read:
19395 # /* config.h. Generated by config.status. */
19396 configure_input='Generated from '`
19397 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19399 if test x"$ac_file" != x-; then
19400 configure_input="$ac_file. $configure_input"
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19402 $as_echo "$as_me: creating $ac_file" >&6;}
19404 # Neutralize special characters interpreted by sed in replacement strings.
19405 case $configure_input in #(
19406 *\&* | *\|* | *\\* )
19407 ac_sed_conf_input=`$as_echo "$configure_input" |
19408 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19409 *) ac_sed_conf_input=$configure_input;;
19413 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19414 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19419 ac_dir=`$as_dirname -- "$ac_file" ||
19420 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19421 X"$ac_file" : 'X\(//\)[^/]' \| \
19422 X"$ac_file" : 'X\(//\)$' \| \
19423 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19424 $as_echo X"$ac_file" |
19425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19429 /^X\(\/\/\)[^/].*/{
19442 as_dir="$ac_dir"; as_fn_mkdir_p
19446 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19448 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19449 # A ".." for each directory in $ac_dir_suffix.
19450 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19451 case $ac_top_builddir_sub in
19452 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19453 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19456 ac_abs_top_builddir=$ac_pwd
19457 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19458 # for backward compatibility:
19459 ac_top_builddir=$ac_top_build_prefix
19462 .) # We are building in place.
19464 ac_top_srcdir=$ac_top_builddir_sub
19465 ac_abs_top_srcdir=$ac_pwd ;;
19466 [\\/]* | ?:[\\/]* ) # Absolute name.
19467 ac_srcdir=$srcdir$ac_dir_suffix;
19468 ac_top_srcdir=$srcdir
19469 ac_abs_top_srcdir=$srcdir ;;
19470 *) # Relative name.
19471 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19472 ac_top_srcdir=$ac_top_build_prefix$srcdir
19473 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19475 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19485 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19486 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19488 ac_MKDIR_P=$MKDIR_P
19490 [\\/$]* | ?:[\\/]* ) ;;
19491 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19496 # If the template does not know about datarootdir, expand it.
19497 # FIXME: This hack should be removed a few years after 2.60.
19498 ac_datarootdir_hack=; ac_datarootdir_seen=
19509 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19510 *datarootdir*) ac_datarootdir_seen=yes;;
19511 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19513 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19516 ac_datarootdir_hack='
19517 s&@datadir@&$datadir&g
19518 s&@docdir@&$docdir&g
19519 s&@infodir@&$infodir&g
19520 s&@localedir@&$localedir&g
19521 s&@mandir@&$mandir&g
19522 s&\\\${datarootdir}&$datarootdir&g' ;;
19526 # Neutralize VPATH when `$srcdir' = `.'.
19527 # Shell code in configure.ac might set extrasub.
19528 # FIXME: do we really want to maintain this feature?
19529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19530 ac_sed_extra="$ac_vpsub
19533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19535 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19536 s|@configure_input@|$ac_sed_conf_input|;t t
19537 s&@top_builddir@&$ac_top_builddir_sub&;t t
19538 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19539 s&@srcdir@&$ac_srcdir&;t t
19540 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19541 s&@top_srcdir@&$ac_top_srcdir&;t t
19542 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19543 s&@builddir@&$ac_builddir&;t t
19544 s&@abs_builddir@&$ac_abs_builddir&;t t
19545 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19546 s&@INSTALL@&$ac_INSTALL&;t t
19547 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19548 $ac_datarootdir_hack
19550 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19551 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19553 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19554 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19555 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19556 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19558 which seems to be undefined. Please make sure it is defined" >&5
19559 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19560 which seems to be undefined. Please make sure it is defined" >&2;}
19562 rm -f "$ac_tmp/stdin"
19564 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19565 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19567 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19573 if test x"$ac_file" != x-; then
19575 $as_echo "/* $configure_input */" \
19576 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19577 } >"$ac_tmp/config.h" \
19578 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19579 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19581 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19584 mv "$ac_tmp/config.h" "$ac_file" \
19585 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19588 $as_echo "/* $configure_input */" \
19589 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19590 || as_fn_error $? "could not create -" "$LINENO" 5
19592 # Compute "$ac_file"'s index in $config_headers.
19595 for _am_header in $config_headers :; do
19596 case $_am_header in
19597 $_am_arg | $_am_arg:* )
19600 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19603 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19604 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19605 X"$_am_arg" : 'X\(//\)[^/]' \| \
19606 X"$_am_arg" : 'X\(//\)$' \| \
19607 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19608 $as_echo X"$_am_arg" |
19609 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19613 /^X\(\/\/\)[^/].*/{
19625 s/.*/./; q'`/stamp-h$_am_stamp_count
19628 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19629 $as_echo "$as_me: executing $ac_file commands" >&6;}
19634 case $ac_file$ac_mode in
19635 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19636 # Older Autoconf quotes --file arguments for eval, but not when files
19637 # are listed without --file. Let's play safe and only enable the eval
19638 # if we detect the quoting.
19639 case $CONFIG_FILES in
19640 *\'*) eval set x "$CONFIG_FILES" ;;
19641 *) set x $CONFIG_FILES ;;
19646 # Strip MF so we end up with the name of the file.
19647 mf=`echo "$mf" | sed -e 's/:.*$//'`
19648 # Check whether this is an Automake generated Makefile or not.
19649 # We used to match only the files named 'Makefile.in', but
19650 # some people rename them; so instead we look at the file content.
19651 # Grep'ing the first line is not enough: some people post-process
19652 # each Makefile.in and add a new line on top of each file to say so.
19653 # Grep'ing the whole file is not good either: AIX grep has a line
19654 # limit of 2048, but all sed's we know have understand at least 4000.
19655 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19656 dirpart=`$as_dirname -- "$mf" ||
19657 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19658 X"$mf" : 'X\(//\)[^/]' \| \
19659 X"$mf" : 'X\(//\)$' \| \
19660 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19666 /^X\(\/\/\)[^/].*/{
19682 # Extract the definition of DEPDIR, am__include, and am__quote
19683 # from the Makefile without running 'make'.
19684 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19685 test -z "$DEPDIR" && continue
19686 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19687 test -z "$am__include" && continue
19688 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19689 # Find all dependency output files, they are included files with
19690 # $(DEPDIR) in their names. We invoke sed twice because it is the
19691 # simplest approach to changing $(DEPDIR) to its actual value in the
19693 for file in `sed -n "
19694 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19695 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19696 # Make sure the directory exists.
19697 test -f "$dirpart/$file" && continue
19698 fdir=`$as_dirname -- "$file" ||
19699 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19700 X"$file" : 'X\(//\)[^/]' \| \
19701 X"$file" : 'X\(//\)$' \| \
19702 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19703 $as_echo X"$file" |
19704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19708 /^X\(\/\/\)[^/].*/{
19721 as_dir=$dirpart/$fdir; as_fn_mkdir_p
19722 # echo "creating $dirpart/$file"
19723 echo '# dummy' > "$dirpart/$file"
19730 # See if we are running on zsh, and set the options which allow our
19731 # commands through without removal of \ escapes.
19732 if test -n "${ZSH_VERSION+set}" ; then
19733 setopt NO_GLOB_SUBST
19736 cfgfile="${ofile}T"
19737 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19740 cat <<_LT_EOF >> "$cfgfile"
19743 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19744 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19745 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19746 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19748 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19749 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
19751 # Written by Gordon Matzigkeit, 1996
19753 # This file is part of GNU Libtool.
19755 # GNU Libtool is free software; you can redistribute it and/or
19756 # modify it under the terms of the GNU General Public License as
19757 # published by the Free Software Foundation; either version 2 of
19758 # the License, or (at your option) any later version.
19760 # As a special exception to the GNU General Public License,
19761 # if you distribute this file as part of a program or library that
19762 # is built using GNU Libtool, you may include this file under the
19763 # same distribution terms that you use for the rest of that program.
19765 # GNU Libtool is distributed in the hope that it will be useful,
19766 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19767 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19768 # GNU General Public License for more details.
19770 # You should have received a copy of the GNU General Public License
19771 # along with GNU Libtool; see the file COPYING. If not, a copy
19772 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19773 # obtained by writing to the Free Software Foundation, Inc.,
19774 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19777 # The names of the tagged configurations supported by this script.
19780 # ### BEGIN LIBTOOL CONFIG
19782 # Assembler program.
19785 # DLL creation program.
19786 DLLTOOL=$lt_DLLTOOL
19788 # Object dumper program.
19789 OBJDUMP=$lt_OBJDUMP
19791 # Which release of libtool.m4 was used?
19792 macro_version=$macro_version
19793 macro_revision=$macro_revision
19795 # Whether or not to build shared libraries.
19796 build_libtool_libs=$enable_shared
19798 # Whether or not to build static libraries.
19799 build_old_libs=$enable_static
19801 # What type of objects to build.
19804 # Whether or not to optimize for fast installation.
19805 fast_install=$enable_fast_install
19807 # Shell to use when invoking shell scripts.
19810 # An echo program that protects backslashes.
19813 # The PATH separator for the build system.
19814 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19817 host_alias=$host_alias
19821 # The build system.
19822 build_alias=$build_alias
19826 # A sed program that does not truncate output.
19829 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19830 Xsed="\$SED -e 1s/^X//"
19832 # A grep program that handles long lines.
19838 # A literal string matcher.
19841 # A BSD- or MS-compatible name lister.
19844 # Whether we need soft or hard links.
19847 # What is the maximum length of a command?
19848 max_cmd_len=$max_cmd_len
19850 # Object file suffix (normally "o").
19853 # Executable file suffix (normally "").
19856 # whether the shell understands "unset".
19859 # turn spaces into newlines.
19862 # turn newlines into spaces.
19865 # convert \$build file names to \$host format.
19866 to_host_file_cmd=$lt_cv_to_host_file_cmd
19868 # convert \$build files to toolchain format.
19869 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19871 # Method to check whether dependent libraries are shared objects.
19872 deplibs_check_method=$lt_deplibs_check_method
19874 # Command to use when deplibs_check_method = "file_magic".
19875 file_magic_cmd=$lt_file_magic_cmd
19877 # How to find potential files when deplibs_check_method = "file_magic".
19878 file_magic_glob=$lt_file_magic_glob
19880 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19881 want_nocaseglob=$lt_want_nocaseglob
19883 # Command to associate shared and link libraries.
19884 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19889 # Flags to create an archive.
19890 AR_FLAGS=$lt_AR_FLAGS
19892 # How to feed a file listing to the archiver.
19893 archiver_list_spec=$lt_archiver_list_spec
19895 # A symbol stripping program.
19898 # Commands used to install an old-style archive.
19900 old_postinstall_cmds=$lt_old_postinstall_cmds
19901 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19903 # Whether to use a lock for old archive extraction.
19904 lock_old_archive_extraction=$lock_old_archive_extraction
19909 # LTCC compiler flags.
19910 LTCFLAGS=$lt_CFLAGS
19912 # Take the output of nm and produce a listing of raw symbols and C names.
19913 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19915 # Transform the output of nm in a proper C declaration.
19916 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19918 # Transform the output of nm in a C name address pair.
19919 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19921 # Transform the output of nm in a C name address pair when lib prefix is needed.
19922 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19924 # Specify filename containing input files for \$NM.
19925 nm_file_list_spec=$lt_nm_file_list_spec
19927 # The root where to search for dependent libraries,and in which our libraries should be installed.
19928 lt_sysroot=$lt_sysroot
19930 # The name of the directory that contains temporary libtool files.
19933 # Used to examine libraries when file_magic_cmd begins with "file".
19934 MAGIC_CMD=$MAGIC_CMD
19936 # Must we lock files when doing compilation?
19937 need_locks=$lt_need_locks
19940 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19942 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19943 DSYMUTIL=$lt_DSYMUTIL
19945 # Tool to change global to local symbols on Mac OS X.
19948 # Tool to manipulate fat objects and archives on Mac OS X.
19951 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19954 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19955 OTOOL64=$lt_OTOOL64
19957 # Old archive suffix (normally "a").
19960 # Shared library suffix (normally ".so").
19961 shrext_cmds=$lt_shrext_cmds
19963 # The commands to extract the exported symbol list from a shared archive.
19964 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19966 # Variables whose values should be saved in libtool wrapper scripts and
19967 # restored at link time.
19968 variables_saved_for_relink=$lt_variables_saved_for_relink
19970 # Do we need the "lib" prefix for modules?
19971 need_lib_prefix=$need_lib_prefix
19973 # Do we need a version for libraries?
19974 need_version=$need_version
19976 # Library versioning type.
19977 version_type=$version_type
19979 # Shared library runtime path variable.
19980 runpath_var=$runpath_var
19982 # Shared library path variable.
19983 shlibpath_var=$shlibpath_var
19985 # Is shlibpath searched before the hard-coded library search path?
19986 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19988 # Format of library name prefix.
19989 libname_spec=$lt_libname_spec
19991 # List of archive names. First name is the real one, the rest are links.
19992 # The last name is the one that the linker finds with -lNAME
19993 library_names_spec=$lt_library_names_spec
19995 # The coded name of the library, if different from the real name.
19996 soname_spec=$lt_soname_spec
19998 # Permission mode override for installation of shared libraries.
19999 install_override_mode=$lt_install_override_mode
20001 # Command to use after installation of a shared archive.
20002 postinstall_cmds=$lt_postinstall_cmds
20004 # Command to use after uninstallation of a shared archive.
20005 postuninstall_cmds=$lt_postuninstall_cmds
20007 # Commands used to finish a libtool library installation in a directory.
20008 finish_cmds=$lt_finish_cmds
20010 # As "finish_cmds", except a single script fragment to be evaled but
20012 finish_eval=$lt_finish_eval
20014 # Whether we should hardcode library paths into libraries.
20015 hardcode_into_libs=$hardcode_into_libs
20017 # Compile-time system search path for libraries.
20018 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20020 # Run-time system search path for libraries.
20021 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20023 # Whether dlopen is supported.
20024 dlopen_support=$enable_dlopen
20026 # Whether dlopen of programs is supported.
20027 dlopen_self=$enable_dlopen_self
20029 # Whether dlopen of statically linked programs is supported.
20030 dlopen_self_static=$enable_dlopen_self_static
20032 # Commands to strip libraries.
20033 old_striplib=$lt_old_striplib
20034 striplib=$lt_striplib
20037 # The linker used to build libraries.
20040 # How to create reloadable object files.
20041 reload_flag=$lt_reload_flag
20042 reload_cmds=$lt_reload_cmds
20044 # Commands used to build an old-style archive.
20045 old_archive_cmds=$lt_old_archive_cmds
20047 # A language specific compiler.
20050 # Is the compiler the GNU compiler?
20053 # Compiler flag to turn off builtin functions.
20054 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20056 # Additional compiler flags for building library objects.
20057 pic_flag=$lt_lt_prog_compiler_pic
20059 # How to pass a linker flag through the compiler.
20060 wl=$lt_lt_prog_compiler_wl
20062 # Compiler flag to prevent dynamic linking.
20063 link_static_flag=$lt_lt_prog_compiler_static
20065 # Does compiler simultaneously support -c and -o options?
20066 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20068 # Whether or not to add -lc for building shared libraries.
20069 build_libtool_need_lc=$archive_cmds_need_lc
20071 # Whether or not to disallow shared libs when runtime libs are static.
20072 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20074 # Compiler flag to allow reflexive dlopens.
20075 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20077 # Compiler flag to generate shared objects directly from archives.
20078 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20080 # Whether the compiler copes with passing no objects directly.
20081 compiler_needs_object=$lt_compiler_needs_object
20083 # Create an old-style archive from a shared archive.
20084 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20086 # Create a temporary old-style archive to link instead of a shared archive.
20087 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20089 # Commands used to build a shared archive.
20090 archive_cmds=$lt_archive_cmds
20091 archive_expsym_cmds=$lt_archive_expsym_cmds
20093 # Commands used to build a loadable module if different from building
20094 # a shared archive.
20095 module_cmds=$lt_module_cmds
20096 module_expsym_cmds=$lt_module_expsym_cmds
20098 # Whether we are building with GNU ld or not.
20099 with_gnu_ld=$lt_with_gnu_ld
20101 # Flag that allows shared libraries with undefined symbols to be built.
20102 allow_undefined_flag=$lt_allow_undefined_flag
20104 # Flag that enforces no undefined symbols.
20105 no_undefined_flag=$lt_no_undefined_flag
20107 # Flag to hardcode \$libdir into a binary during linking.
20108 # This must work even if \$libdir does not exist
20109 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20111 # Whether we need a single "-rpath" flag with a separated argument.
20112 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20114 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20115 # DIR into the resulting binary.
20116 hardcode_direct=$hardcode_direct
20118 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20119 # DIR into the resulting binary and the resulting library dependency is
20120 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20121 # library is relocated.
20122 hardcode_direct_absolute=$hardcode_direct_absolute
20124 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20125 # into the resulting binary.
20126 hardcode_minus_L=$hardcode_minus_L
20128 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20129 # into the resulting binary.
20130 hardcode_shlibpath_var=$hardcode_shlibpath_var
20132 # Set to "yes" if building a shared library automatically hardcodes DIR
20133 # into the library and all subsequent libraries and executables linked
20135 hardcode_automatic=$hardcode_automatic
20137 # Set to yes if linker adds runtime paths of dependent libraries
20138 # to runtime path list.
20139 inherit_rpath=$inherit_rpath
20141 # Whether libtool must link a program against all its dependency libraries.
20142 link_all_deplibs=$link_all_deplibs
20144 # Set to "yes" if exported symbols are required.
20145 always_export_symbols=$always_export_symbols
20147 # The commands to list exported symbols.
20148 export_symbols_cmds=$lt_export_symbols_cmds
20150 # Symbols that should not be listed in the preloaded symbols.
20151 exclude_expsyms=$lt_exclude_expsyms
20153 # Symbols that must always be exported.
20154 include_expsyms=$lt_include_expsyms
20156 # Commands necessary for linking programs (against libraries) with templates.
20157 prelink_cmds=$lt_prelink_cmds
20159 # Commands necessary for finishing linking programs.
20160 postlink_cmds=$lt_postlink_cmds
20162 # Specify filename containing input files.
20163 file_list_spec=$lt_file_list_spec
20165 # How to hardcode a shared library path into an executable.
20166 hardcode_action=$hardcode_action
20168 # ### END LIBTOOL CONFIG
20174 cat <<\_LT_EOF >> "$cfgfile"
20175 # AIX sometimes has problems with the GCC collect2 program. For some
20176 # reason, if we set the COLLECT_NAMES environment variable, the problems
20177 # vanish in a puff of smoke.
20178 if test "X${COLLECT_NAMES+set}" != Xset; then
20180 export COLLECT_NAMES
20187 ltmain="$ac_aux_dir/ltmain.sh"
20190 # We use sed instead of cat because bash on DJGPP gets confused if
20191 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20192 # text mode, it properly converts lines to CR/LF. This bash problem
20193 # is reportedly fixed, but why not run on old versions too?
20194 sed '$q' "$ltmain" >> "$cfgfile" \
20195 || (rm -f "$cfgfile"; exit 1)
20197 if test x"$xsi_shell" = xyes; then
20198 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20202 \ */*) func_dirname_result="${1%/*}${2}" ;;\
20203 \ * ) func_dirname_result="${3}" ;;\
20205 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
20206 && mv -f "$cfgfile.tmp" "$cfgfile" \
20207 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20208 test 0 -eq $? || _lt_function_replace_fail=:
20211 sed -e '/^func_basename ()$/,/^} # func_basename /c\
20214 \ func_basename_result="${1##*/}"\
20215 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
20216 && mv -f "$cfgfile.tmp" "$cfgfile" \
20217 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20218 test 0 -eq $? || _lt_function_replace_fail=:
20221 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20222 func_dirname_and_basename ()\
20225 \ */*) func_dirname_result="${1%/*}${2}" ;;\
20226 \ * ) func_dirname_result="${3}" ;;\
20228 \ func_basename_result="${1##*/}"\
20229 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
20230 && mv -f "$cfgfile.tmp" "$cfgfile" \
20231 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20232 test 0 -eq $? || _lt_function_replace_fail=:
20235 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
20238 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
20239 \ # positional parameters, so assign one to ordinary parameter first.\
20240 \ func_stripname_result=${3}\
20241 \ func_stripname_result=${func_stripname_result#"${1}"}\
20242 \ func_stripname_result=${func_stripname_result%"${2}"}\
20243 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
20244 && mv -f "$cfgfile.tmp" "$cfgfile" \
20245 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20246 test 0 -eq $? || _lt_function_replace_fail=:
20249 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
20250 func_split_long_opt ()\
20252 \ func_split_long_opt_name=${1%%=*}\
20253 \ func_split_long_opt_arg=${1#*=}\
20254 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
20255 && mv -f "$cfgfile.tmp" "$cfgfile" \
20256 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20257 test 0 -eq $? || _lt_function_replace_fail=:
20260 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
20261 func_split_short_opt ()\
20263 \ func_split_short_opt_arg=${1#??}\
20264 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
20265 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
20266 && mv -f "$cfgfile.tmp" "$cfgfile" \
20267 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20268 test 0 -eq $? || _lt_function_replace_fail=:
20271 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
20275 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
20276 \ *) func_lo2o_result=${1} ;;\
20278 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
20279 && mv -f "$cfgfile.tmp" "$cfgfile" \
20280 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20281 test 0 -eq $? || _lt_function_replace_fail=:
20284 sed -e '/^func_xform ()$/,/^} # func_xform /c\
20287 func_xform_result=${1%.*}.lo\
20288 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
20289 && mv -f "$cfgfile.tmp" "$cfgfile" \
20290 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20291 test 0 -eq $? || _lt_function_replace_fail=:
20294 sed -e '/^func_arith ()$/,/^} # func_arith /c\
20297 func_arith_result=$(( $* ))\
20298 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
20299 && mv -f "$cfgfile.tmp" "$cfgfile" \
20300 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20301 test 0 -eq $? || _lt_function_replace_fail=:
20304 sed -e '/^func_len ()$/,/^} # func_len /c\
20307 func_len_result=${#1}\
20308 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
20309 && mv -f "$cfgfile.tmp" "$cfgfile" \
20310 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20311 test 0 -eq $? || _lt_function_replace_fail=:
20315 if test x"$lt_shell_append" = xyes; then
20316 sed -e '/^func_append ()$/,/^} # func_append /c\
20319 eval "${1}+=\\${2}"\
20320 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
20321 && mv -f "$cfgfile.tmp" "$cfgfile" \
20322 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20323 test 0 -eq $? || _lt_function_replace_fail=:
20326 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20327 func_append_quoted ()\
20329 \ func_quote_for_eval "${2}"\
20330 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20331 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20332 && mv -f "$cfgfile.tmp" "$cfgfile" \
20333 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20334 test 0 -eq $? || _lt_function_replace_fail=:
20337 # Save a `func_append' function call where possible by direct use of '+='
20338 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20339 && mv -f "$cfgfile.tmp" "$cfgfile" \
20340 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20341 test 0 -eq $? || _lt_function_replace_fail=:
20343 # Save a `func_append' function call even when '+=' is not available
20344 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
20345 && mv -f "$cfgfile.tmp" "$cfgfile" \
20346 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20347 test 0 -eq $? || _lt_function_replace_fail=:
20350 if test x"$_lt_function_replace_fail" = x":"; then
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
20352 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
20356 mv -f "$cfgfile" "$ofile" ||
20357 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20368 ac_clean_files=$ac_clean_files_save
20370 test $ac_write_fail = 0 ||
20371 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20374 # configure is writing to config.log, and then calls config.status.
20375 # config.status does its own redirection, appending to config.log.
20376 # Unfortunately, on DOS this fails, as config.log is still kept open
20377 # by configure, so config.status won't be able to write to it; its
20378 # output is simply discarded. So we exec the FD to /dev/null,
20379 # effectively closing config.log, so it can be properly (re)opened and
20380 # appended to by config.status. When coming back to configure, we
20381 # need to make the FD available again.
20382 if test "$no_create" != yes; then
20384 ac_config_status_args=
20385 test "$silent" = yes &&
20386 ac_config_status_args="$ac_config_status_args --quiet"
20388 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20390 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20391 # would make configure fail if this is the last instruction.
20392 $ac_cs_success || as_fn_exit 1
20394 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20396 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20401 #####################################################################
20407 echo "------------------------------------------------------------------------"
20408 echo "$PACKAGE $VERSION"
20409 echo "------------------------------------------------------------------------"
20411 echo "Configuration Options Summary:"
20413 echo " Amalgamation.........: ${do_amalgamation}"
20414 echo " Ecore IMF............: $have_ecore_imf"
20416 if test "x${want_multisense}" = "xyes" ; then
20417 echo " LibRemix.............: $have_libremix"
20418 echo " Libsndfile...........: $have_sndfile"
20419 echo " Ogg/Vorbis...........: $have_vorbis"
20420 echo " LibFLAC..............: $have_flac_lib"
20421 echo " LibALSA..............: $have_alsa_lib"
20424 echo " EDJE_PROGRAM_CACHE...: $want_edje_program_cache"
20425 echo " EDJE_CALC_CACHE......: $want_edje_calc_cache"
20426 echo " Fixed point..........: $want_fixed_point"
20427 echo " Documentation........: ${build_doc}"
20428 if test "x${build_doc}" = "xyes" ; then
20429 echo " Installation.......: make install-doc"
20431 echo " Tests................: ${enable_tests}"
20432 echo " Coverage.............: ${enable_coverage}"
20433 echo " Examples.............: install:${install_examples} build:${build_examples}"
20437 echo " Build edje_cc................: $have_edje_cc"
20438 echo " Build edje_decc..............: $have_edje_decc"
20439 echo " Build edje_recc..............: $have_edje_recc"
20440 echo " Build edje_player............: $have_edje_player"
20441 echo " Build edje_inspector.........: $have_edje_inspector"
20442 echo " Build edje_external_inspector: $have_edje_external_inspector"
20443 echo " Build edje_watch.............: $have_edje_watch"
20445 echo "Compilation............: make (or gmake)"
20446 echo " CPPFLAGS.............: $CPPFLAGS"
20447 echo " CFLAGS...............: $CFLAGS"
20448 echo " LDFLAGS..............: $LDFLAGS"
20450 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
20451 echo " prefix...............: $prefix"