2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for emotion 1.7.1.
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: enlightenment-devel@lists.sourceforge.net about your
235 $0: system, including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
369 as_status=$1; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 # Check that we are running under the correct shell.
534 SHELL=${CONFIG_SHELL-/bin/sh}
538 # Remove one level of quotation (which was required for Make).
539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544 if test "X$1" = X--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
547 elif test "X$1" = X--fallback-echo; then
548 # Avoid inline document here, it may be left over
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
558 if test "X$1" = X--fallback-echo; then
559 # used as fallback echo
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
593 # So, first we look for a working echo in the user's PATH.
595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596 for dir in $PATH /usr/ucb; do
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
608 if test "X$ECHO" = Xecho; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X/bin/ksh; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL=/bin/ksh
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637 SHELL="$CONFIG_SHELL"
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO="$CONFIG_SHELL $0 --fallback-echo"
646 # maybe with a smaller string...
649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 # Oops. We lost completely, so just stick with echo.
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681 test -n "$DJDIR" || exec 7<&0 </dev/null
685 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
692 ac_default_prefix=/usr/local
694 ac_config_libobj_dir=.
701 # Identity of this package.
702 PACKAGE_NAME='emotion'
703 PACKAGE_TARNAME='emotion'
704 PACKAGE_VERSION='1.7.1'
705 PACKAGE_STRING='emotion 1.7.1'
706 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
709 ac_unique_file="configure.ac"
710 # Factoring default headers for most tests.
711 ac_includes_default="\
713 #ifdef HAVE_SYS_TYPES_H
714 # include <sys/types.h>
716 #ifdef HAVE_SYS_STAT_H
717 # include <sys/stat.h>
723 # ifdef HAVE_STDLIB_H
728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
733 #ifdef HAVE_STRINGS_H
734 # include <strings.h>
736 #ifdef HAVE_INTTYPES_H
737 # include <inttypes.h>
746 ac_subst_vars='am__EXEEXT_FALSE
751 EFL_INSTALL_EXAMPLES_FALSE
752 EFL_INSTALL_EXAMPLES_TRUE
753 EFL_BUILD_EXAMPLES_FALSE
754 EFL_BUILD_EXAMPLES_TRUE
755 GSTREAMER_INTERFACE_LIBS
756 GSTREAMER_INTERFACE_CFLAGS
757 EMOTION_BUILD_GENERIC_VLC_FALSE
758 EMOTION_BUILD_GENERIC_VLC_TRUE
762 EMOTION_STATIC_BUILD_GENERIC_FALSE
763 EMOTION_STATIC_BUILD_GENERIC_TRUE
764 EMOTION_BUILD_GENERIC_FALSE
765 EMOTION_BUILD_GENERIC_TRUE
768 EMOTION_STATIC_BUILD_GSTREAMER_FALSE
769 EMOTION_STATIC_BUILD_GSTREAMER_TRUE
770 EMOTION_BUILD_GSTREAMER_FALSE
771 EMOTION_BUILD_GSTREAMER_TRUE
774 EMOTION_STATIC_BUILD_XINE_FALSE
775 EMOTION_STATIC_BUILD_XINE_TRUE
776 EMOTION_BUILD_XINE_FALSE
777 EMOTION_BUILD_XINE_TRUE
781 lt_enable_auto_import
790 ENABLE_EDJE_EXTERNAL_FALSE
791 ENABLE_EDJE_EXTERNAL_TRUE
807 pkgconfig_requires_private
812 BUILD_EMOTION_TEST_FALSE
813 BUILD_EMOTION_TEST_TRUE
859 INSTALL_STRIP_PROGRAM
916 program_transform_name
929 enable_option_checking
930 enable_dependency_tracking
948 enable_build_examples
949 enable_install_examples
951 ac_precious_vars='build_alias
985 GSTREAMER_INTERFACE_CFLAGS
986 GSTREAMER_INTERFACE_LIBS'
989 # Initialize some variables set by options.
991 ac_init_version=false
992 ac_unrecognized_opts=
994 # The variables have the same names as the options, with
995 # dashes changed to underlines.
1003 program_transform_name=s,x,x,
1011 # Installation directory options.
1012 # These are left unexpanded so users can "make install exec_prefix=/foo"
1013 # and all the variables that are supposed to be based on exec_prefix
1014 # by default will actually change.
1015 # Use braces instead of parens because sh, perl, etc. also accept them.
1016 # (The list follows the same order as the GNU Coding Standards.)
1017 bindir='${exec_prefix}/bin'
1018 sbindir='${exec_prefix}/sbin'
1019 libexecdir='${exec_prefix}/libexec'
1020 datarootdir='${prefix}/share'
1021 datadir='${datarootdir}'
1022 sysconfdir='${prefix}/etc'
1023 sharedstatedir='${prefix}/com'
1024 localstatedir='${prefix}/var'
1025 includedir='${prefix}/include'
1026 oldincludedir='/usr/include'
1027 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1028 infodir='${datarootdir}/info'
1033 libdir='${exec_prefix}/lib'
1034 localedir='${datarootdir}/locale'
1035 mandir='${datarootdir}/man'
1041 # If the previous option needs an argument, assign it.
1042 if test -n "$ac_prev"; then
1043 eval $ac_prev=\$ac_option
1049 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1054 # Accept the important Cygnus configure options, so we can diagnose typos.
1056 case $ac_dashdash$ac_option in
1060 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1062 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1063 bindir=$ac_optarg ;;
1065 -build | --build | --buil | --bui | --bu)
1066 ac_prev=build_alias ;;
1067 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1068 build_alias=$ac_optarg ;;
1070 -cache-file | --cache-file | --cache-fil | --cache-fi \
1071 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1072 ac_prev=cache_file ;;
1073 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1074 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1075 cache_file=$ac_optarg ;;
1077 --config-cache | -C)
1078 cache_file=config.cache ;;
1080 -datadir | --datadir | --datadi | --datad)
1082 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1083 datadir=$ac_optarg ;;
1085 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1086 | --dataroo | --dataro | --datar)
1087 ac_prev=datarootdir ;;
1088 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1089 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1090 datarootdir=$ac_optarg ;;
1092 -disable-* | --disable-*)
1093 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1094 # Reject names that are not valid shell variable names.
1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1096 as_fn_error $? "invalid feature name: $ac_useropt"
1097 ac_useropt_orig=$ac_useropt
1098 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099 case $ac_user_opts in
1101 "enable_$ac_useropt"
1103 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1104 ac_unrecognized_sep=', ';;
1106 eval enable_$ac_useropt=no ;;
1108 -docdir | --docdir | --docdi | --doc | --do)
1110 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1111 docdir=$ac_optarg ;;
1113 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1115 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1116 dvidir=$ac_optarg ;;
1118 -enable-* | --enable-*)
1119 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1122 as_fn_error $? "invalid feature name: $ac_useropt"
1123 ac_useropt_orig=$ac_useropt
1124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1127 "enable_$ac_useropt"
1129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1130 ac_unrecognized_sep=', ';;
1132 eval enable_$ac_useropt=\$ac_optarg ;;
1134 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1135 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1136 | --exec | --exe | --ex)
1137 ac_prev=exec_prefix ;;
1138 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1139 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1140 | --exec=* | --exe=* | --ex=*)
1141 exec_prefix=$ac_optarg ;;
1143 -gas | --gas | --ga | --g)
1144 # Obsolete; use --with-gas.
1147 -help | --help | --hel | --he | -h)
1148 ac_init_help=long ;;
1149 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1150 ac_init_help=recursive ;;
1151 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1152 ac_init_help=short ;;
1154 -host | --host | --hos | --ho)
1155 ac_prev=host_alias ;;
1156 -host=* | --host=* | --hos=* | --ho=*)
1157 host_alias=$ac_optarg ;;
1159 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1161 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1163 htmldir=$ac_optarg ;;
1165 -includedir | --includedir | --includedi | --included | --include \
1166 | --includ | --inclu | --incl | --inc)
1167 ac_prev=includedir ;;
1168 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1169 | --includ=* | --inclu=* | --incl=* | --inc=*)
1170 includedir=$ac_optarg ;;
1172 -infodir | --infodir | --infodi | --infod | --info | --inf)
1174 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1175 infodir=$ac_optarg ;;
1177 -libdir | --libdir | --libdi | --libd)
1179 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1180 libdir=$ac_optarg ;;
1182 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1183 | --libexe | --libex | --libe)
1184 ac_prev=libexecdir ;;
1185 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1186 | --libexe=* | --libex=* | --libe=*)
1187 libexecdir=$ac_optarg ;;
1189 -localedir | --localedir | --localedi | --localed | --locale)
1190 ac_prev=localedir ;;
1191 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1192 localedir=$ac_optarg ;;
1194 -localstatedir | --localstatedir | --localstatedi | --localstated \
1195 | --localstate | --localstat | --localsta | --localst | --locals)
1196 ac_prev=localstatedir ;;
1197 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1198 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1199 localstatedir=$ac_optarg ;;
1201 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1203 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1204 mandir=$ac_optarg ;;
1206 -nfp | --nfp | --nf)
1207 # Obsolete; use --without-fp.
1210 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1211 | --no-cr | --no-c | -n)
1214 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1215 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1218 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1219 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1220 | --oldin | --oldi | --old | --ol | --o)
1221 ac_prev=oldincludedir ;;
1222 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1223 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1224 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1225 oldincludedir=$ac_optarg ;;
1227 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1229 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1230 prefix=$ac_optarg ;;
1232 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1233 | --program-pre | --program-pr | --program-p)
1234 ac_prev=program_prefix ;;
1235 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1236 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1237 program_prefix=$ac_optarg ;;
1239 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1240 | --program-suf | --program-su | --program-s)
1241 ac_prev=program_suffix ;;
1242 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1243 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1244 program_suffix=$ac_optarg ;;
1246 -program-transform-name | --program-transform-name \
1247 | --program-transform-nam | --program-transform-na \
1248 | --program-transform-n | --program-transform- \
1249 | --program-transform | --program-transfor \
1250 | --program-transfo | --program-transf \
1251 | --program-trans | --program-tran \
1252 | --progr-tra | --program-tr | --program-t)
1253 ac_prev=program_transform_name ;;
1254 -program-transform-name=* | --program-transform-name=* \
1255 | --program-transform-nam=* | --program-transform-na=* \
1256 | --program-transform-n=* | --program-transform-=* \
1257 | --program-transform=* | --program-transfor=* \
1258 | --program-transfo=* | --program-transf=* \
1259 | --program-trans=* | --program-tran=* \
1260 | --progr-tra=* | --program-tr=* | --program-t=*)
1261 program_transform_name=$ac_optarg ;;
1263 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1265 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1266 pdfdir=$ac_optarg ;;
1268 -psdir | --psdir | --psdi | --psd | --ps)
1270 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1274 | -silent | --silent | --silen | --sile | --sil)
1277 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1279 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1281 sbindir=$ac_optarg ;;
1283 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1284 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1285 | --sharedst | --shareds | --shared | --share | --shar \
1287 ac_prev=sharedstatedir ;;
1288 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1289 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1290 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1292 sharedstatedir=$ac_optarg ;;
1294 -site | --site | --sit)
1296 -site=* | --site=* | --sit=*)
1299 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1301 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1302 srcdir=$ac_optarg ;;
1304 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1305 | --syscon | --sysco | --sysc | --sys | --sy)
1306 ac_prev=sysconfdir ;;
1307 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1308 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1309 sysconfdir=$ac_optarg ;;
1311 -target | --target | --targe | --targ | --tar | --ta | --t)
1312 ac_prev=target_alias ;;
1313 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1314 target_alias=$ac_optarg ;;
1316 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1319 -version | --version | --versio | --versi | --vers | -V)
1320 ac_init_version=: ;;
1323 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1324 # Reject names that are not valid shell variable names.
1325 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1326 as_fn_error $? "invalid package name: $ac_useropt"
1327 ac_useropt_orig=$ac_useropt
1328 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1329 case $ac_user_opts in
1333 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1334 ac_unrecognized_sep=', ';;
1336 eval with_$ac_useropt=\$ac_optarg ;;
1338 -without-* | --without-*)
1339 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1340 # Reject names that are not valid shell variable names.
1341 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1342 as_fn_error $? "invalid package name: $ac_useropt"
1343 ac_useropt_orig=$ac_useropt
1344 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1345 case $ac_user_opts in
1349 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1350 ac_unrecognized_sep=', ';;
1352 eval with_$ac_useropt=no ;;
1355 # Obsolete; use --with-x.
1358 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1359 | --x-incl | --x-inc | --x-in | --x-i)
1360 ac_prev=x_includes ;;
1361 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1362 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1363 x_includes=$ac_optarg ;;
1365 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1366 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1367 ac_prev=x_libraries ;;
1368 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1369 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1370 x_libraries=$ac_optarg ;;
1372 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1373 Try \`$0 --help' for more information"
1377 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1378 # Reject names that are not valid shell variable names.
1379 case $ac_envvar in #(
1380 '' | [0-9]* | *[!_$as_cr_alnum]* )
1381 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1383 eval $ac_envvar=\$ac_optarg
1384 export $ac_envvar ;;
1387 # FIXME: should be removed in autoconf 3.0.
1388 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1389 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1390 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1391 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1397 if test -n "$ac_prev"; then
1398 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1399 as_fn_error $? "missing argument to $ac_option"
1402 if test -n "$ac_unrecognized_opts"; then
1403 case $enable_option_checking in
1405 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1406 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1410 # Check all directory arguments for consistency.
1411 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1412 datadir sysconfdir sharedstatedir localstatedir includedir \
1413 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1414 libdir localedir mandir
1416 eval ac_val=\$$ac_var
1417 # Remove trailing slashes.
1420 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1421 eval $ac_var=\$ac_val;;
1423 # Be sure to have absolute directory names.
1425 [\\/$]* | ?:[\\/]* ) continue;;
1426 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1428 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1431 # There might be people who depend on the old broken behavior: `$host'
1432 # used to hold the argument of --host etc.
1433 # FIXME: To remove some day.
1436 target=$target_alias
1438 # FIXME: To remove some day.
1439 if test "x$host_alias" != x; then
1440 if test "x$build_alias" = x; then
1441 cross_compiling=maybe
1442 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1443 If a cross compiler is detected then cross compile mode will be used" >&2
1444 elif test "x$build_alias" != "x$host_alias"; then
1450 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1452 test "$silent" = yes && exec 6>/dev/null
1455 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1456 ac_ls_di=`ls -di .` &&
1457 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1458 as_fn_error $? "working directory cannot be determined"
1459 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1460 as_fn_error $? "pwd does not report name of working directory"
1463 # Find the source files, if location was not specified.
1464 if test -z "$srcdir"; then
1465 ac_srcdir_defaulted=yes
1466 # Try the directory containing this script, then the parent directory.
1467 ac_confdir=`$as_dirname -- "$as_myself" ||
1468 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1469 X"$as_myself" : 'X\(//\)[^/]' \| \
1470 X"$as_myself" : 'X\(//\)$' \| \
1471 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1472 $as_echo X"$as_myself" |
1473 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1491 if test ! -r "$srcdir/$ac_unique_file"; then
1495 ac_srcdir_defaulted=no
1497 if test ! -r "$srcdir/$ac_unique_file"; then
1498 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1499 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1501 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1503 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1505 # When building in place, set srcdir=.
1506 if test "$ac_abs_confdir" = "$ac_pwd"; then
1509 # Remove unnecessary trailing slashes from srcdir.
1510 # Double slashes in file names in object file debugging info
1511 # mess up M-x gdb in Emacs.
1513 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1515 for ac_var in $ac_precious_vars; do
1516 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1517 eval ac_env_${ac_var}_value=\$${ac_var}
1518 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1519 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1523 # Report the --help message.
1525 if test "$ac_init_help" = "long"; then
1526 # Omit some internal or obsolete options to make the list less imposing.
1527 # This message is too long to be a string in the A/UX 3.1 sh.
1529 \`configure' configures emotion 1.7.1 to adapt to many kinds of systems.
1531 Usage: $0 [OPTION]... [VAR=VALUE]...
1533 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1534 VAR=VALUE. See below for descriptions of some of the useful variables.
1536 Defaults for the options are specified in brackets.
1539 -h, --help display this help and exit
1540 --help=short display options specific to this package
1541 --help=recursive display the short help of all the included packages
1542 -V, --version display version information and exit
1543 -q, --quiet, --silent do not print \`checking ...' messages
1544 --cache-file=FILE cache test results in FILE [disabled]
1545 -C, --config-cache alias for \`--cache-file=config.cache'
1546 -n, --no-create do not create output files
1547 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1549 Installation directories:
1550 --prefix=PREFIX install architecture-independent files in PREFIX
1551 [$ac_default_prefix]
1552 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1555 By default, \`make install' will install all the files in
1556 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1557 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1558 for instance \`--prefix=\$HOME'.
1560 For better control, use the options below.
1562 Fine tuning of the installation directories:
1563 --bindir=DIR user executables [EPREFIX/bin]
1564 --sbindir=DIR system admin executables [EPREFIX/sbin]
1565 --libexecdir=DIR program executables [EPREFIX/libexec]
1566 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1567 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1568 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1569 --libdir=DIR object code libraries [EPREFIX/lib]
1570 --includedir=DIR C header files [PREFIX/include]
1571 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1572 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1573 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1574 --infodir=DIR info documentation [DATAROOTDIR/info]
1575 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1576 --mandir=DIR man documentation [DATAROOTDIR/man]
1577 --docdir=DIR documentation root [DATAROOTDIR/doc/emotion]
1578 --htmldir=DIR html documentation [DOCDIR]
1579 --dvidir=DIR dvi documentation [DOCDIR]
1580 --pdfdir=DIR pdf documentation [DOCDIR]
1581 --psdir=DIR ps documentation [DOCDIR]
1587 --program-prefix=PREFIX prepend PREFIX to installed program names
1588 --program-suffix=SUFFIX append SUFFIX to installed program names
1589 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1592 --build=BUILD configure for building on BUILD [guessed]
1593 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1597 if test -n "$ac_init_help"; then
1598 case $ac_init_help in
1599 short | recursive ) echo "Configuration of emotion 1.7.1:";;
1604 --disable-option-checking ignore unrecognized --enable/--with options
1605 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1606 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1607 --disable-dependency-tracking speeds up one-time build
1608 --enable-dependency-tracking do not reject slow dependency extractors
1609 --enable-silent-rules less verbose build output (undo: `make V=1')
1610 --disable-silent-rules verbose build output (undo: `make V=0')
1611 --enable-shared[=PKGS] build shared libraries [default=yes]
1612 --enable-static[=PKGS] build static libraries [default=yes]
1613 --enable-fast-install[=PKGS]
1614 optimize for fast installation [default=yes]
1615 --disable-libtool-lock avoid locking (might break parallel builds)
1616 --disable-emotion-test disable building of emotion_test
1617 --disable-doc Disable documentation build [default=enabled]
1618 --disable-edje-external disable providing Edje EXTERNAL support.
1620 --disable-ecore-x disable ecore-x support. [default=detect]
1621 --enable-xine enable build of Xine module [default=yes]
1622 --enable-gstreamer enable build of Gstreamer module [default=yes]
1623 --enable-generic enable build of Generic module [default=yes]
1624 --enable-generic-vlc enable build of Generic Player VLC [default=yes]
1625 --enable-build-examples enable building examples [default=disabled]
1626 --enable-install-examples
1627 enable installing example source files
1631 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1632 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1633 --with-pic try to use only PIC/non-PIC objects [default=use
1635 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1636 --with-edje-cc=PATH specify a specific path to edje_cc
1637 --with-doxygen=FILE doxygen program to use [default=doxygen]
1639 Some influential environment variables:
1640 CC C compiler command
1641 CFLAGS C compiler flags
1642 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1643 nonstandard directory <lib dir>
1644 LIBS libraries to pass to the linker, e.g. -l<library>
1645 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1646 you have headers in a nonstandard directory <include dir>
1648 PKG_CONFIG path to pkg-config utility
1650 directories to add to pkg-config's search path
1652 path overriding pkg-config's built-in search path
1654 C compiler flags for EMOTION, overriding pkg-config
1656 linker flags for EMOTION, overriding pkg-config
1658 C compiler flags for EMOTION_BIN, overriding pkg-config
1660 linker flags for EMOTION_BIN, overriding pkg-config
1662 C compiler flags for ECORE_X, overriding pkg-config
1664 linker flags for ECORE_X, overriding pkg-config
1666 C compiler flags for ECORE_FB, overriding pkg-config
1668 linker flags for ECORE_FB, overriding pkg-config
1669 EDJE_EXTERNAL_CFLAGS
1670 C compiler flags for EDJE_EXTERNAL, overriding pkg-config
1672 linker flags for EDJE_EXTERNAL, overriding pkg-config
1673 EEZE_CFLAGS C compiler flags for EEZE, overriding pkg-config
1674 EEZE_LIBS linker flags for EEZE, overriding pkg-config
1675 EIO_CFLAGS C compiler flags for EIO, overriding pkg-config
1676 EIO_LIBS linker flags for EIO, overriding pkg-config
1677 XINE_CFLAGS C compiler flags for XINE, overriding pkg-config
1678 XINE_LIBS linker flags for XINE, overriding pkg-config
1680 C compiler flags for GSTREAMER, overriding pkg-config
1682 linker flags for GSTREAMER, overriding pkg-config
1684 C compiler flags for GENERIC, overriding pkg-config
1686 linker flags for GENERIC, overriding pkg-config
1688 C compiler flags for GENERIC_VLC, overriding pkg-config
1690 linker flags for GENERIC_VLC, overriding pkg-config
1691 GSTREAMER_INTERFACE_CFLAGS
1692 C compiler flags for GSTREAMER_INTERFACE, overriding pkg-config
1693 GSTREAMER_INTERFACE_LIBS
1694 linker flags for GSTREAMER_INTERFACE, overriding pkg-config
1696 Use these variables to override the choices made by `configure' or to help
1697 it to find libraries and programs with nonstandard names/locations.
1699 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1704 if test "$ac_init_help" = "recursive"; then
1705 # If there are subdirs, report their specific --help.
1706 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1707 test -d "$ac_dir" ||
1708 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1713 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1715 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1716 # A ".." for each directory in $ac_dir_suffix.
1717 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1718 case $ac_top_builddir_sub in
1719 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1720 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1723 ac_abs_top_builddir=$ac_pwd
1724 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1725 # for backward compatibility:
1726 ac_top_builddir=$ac_top_build_prefix
1729 .) # We are building in place.
1731 ac_top_srcdir=$ac_top_builddir_sub
1732 ac_abs_top_srcdir=$ac_pwd ;;
1733 [\\/]* | ?:[\\/]* ) # Absolute name.
1734 ac_srcdir=$srcdir$ac_dir_suffix;
1735 ac_top_srcdir=$srcdir
1736 ac_abs_top_srcdir=$srcdir ;;
1738 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1739 ac_top_srcdir=$ac_top_build_prefix$srcdir
1740 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1742 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1744 cd "$ac_dir" || { ac_status=$?; continue; }
1745 # Check for guested configure.
1746 if test -f "$ac_srcdir/configure.gnu"; then
1748 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1749 elif test -f "$ac_srcdir/configure"; then
1751 $SHELL "$ac_srcdir/configure" --help=recursive
1753 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1755 cd "$ac_pwd" || { ac_status=$?; break; }
1759 test -n "$ac_init_help" && exit $ac_status
1760 if $ac_init_version; then
1762 emotion configure 1.7.1
1763 generated by GNU Autoconf 2.67
1765 Copyright (C) 2010 Free Software Foundation, Inc.
1766 This configure script is free software; the Free Software Foundation
1767 gives unlimited permission to copy, distribute and modify it.
1772 ## ------------------------ ##
1773 ## Autoconf initialization. ##
1774 ## ------------------------ ##
1776 # ac_fn_c_try_compile LINENO
1777 # --------------------------
1778 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1779 ac_fn_c_try_compile ()
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 rm -f conftest.$ac_objext
1783 if { { ac_try="$ac_compile"
1785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786 *) ac_try_echo=$ac_try;;
1788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789 $as_echo "$ac_try_echo"; } >&5
1790 (eval "$ac_compile") 2>conftest.err
1792 if test -s conftest.err; then
1793 grep -v '^ *+' conftest.err >conftest.er1
1794 cat conftest.er1 >&5
1795 mv -f conftest.er1 conftest.err
1797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798 test $ac_status = 0; } && {
1799 test -z "$ac_c_werror_flag" ||
1800 test ! -s conftest.err
1801 } && test -s conftest.$ac_objext; then :
1804 $as_echo "$as_me: failed program was:" >&5
1805 sed 's/^/| /' conftest.$ac_ext >&5
1809 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1810 as_fn_set_status $ac_retval
1812 } # ac_fn_c_try_compile
1814 # ac_fn_c_try_link LINENO
1815 # -----------------------
1816 # Try to link conftest.$ac_ext, and return whether this succeeded.
1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820 rm -f conftest.$ac_objext conftest$ac_exeext
1821 if { { ac_try="$ac_link"
1823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824 *) ac_try_echo=$ac_try;;
1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828 (eval "$ac_link") 2>conftest.err
1830 if test -s conftest.err; then
1831 grep -v '^ *+' conftest.err >conftest.er1
1832 cat conftest.er1 >&5
1833 mv -f conftest.er1 conftest.err
1835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836 test $ac_status = 0; } && {
1837 test -z "$ac_c_werror_flag" ||
1838 test ! -s conftest.err
1839 } && test -s conftest$ac_exeext && {
1840 test "$cross_compiling" = yes ||
1841 $as_test_x conftest$ac_exeext
1845 $as_echo "$as_me: failed program was:" >&5
1846 sed 's/^/| /' conftest.$ac_ext >&5
1850 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1851 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1852 # interfere with the next link command; also delete a directory that is
1853 # left behind by Apple's compiler. We do this before executing the actions.
1854 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1855 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1856 as_fn_set_status $ac_retval
1858 } # ac_fn_c_try_link
1860 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1861 # -------------------------------------------------------
1862 # Tests whether HEADER exists and can be compiled using the include files in
1863 # INCLUDES, setting the cache variable VAR accordingly.
1864 ac_fn_c_check_header_compile ()
1866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1868 $as_echo_n "checking for $2... " >&6; }
1869 if eval "test \"\${$3+set}\"" = set; then :
1870 $as_echo_n "(cached) " >&6
1872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1873 /* end confdefs.h. */
1877 if ac_fn_c_try_compile "$LINENO"; then :
1882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886 $as_echo "$ac_res" >&6; }
1887 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1889 } # ac_fn_c_check_header_compile
1891 # ac_fn_c_try_cpp LINENO
1892 # ----------------------
1893 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 if { { ac_try="$ac_cpp conftest.$ac_ext"
1899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1900 *) ac_try_echo=$ac_try;;
1902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1903 $as_echo "$ac_try_echo"; } >&5
1904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1906 if test -s conftest.err; then
1907 grep -v '^ *+' conftest.err >conftest.er1
1908 cat conftest.er1 >&5
1909 mv -f conftest.er1 conftest.err
1911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912 test $ac_status = 0; } > conftest.i && {
1913 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1914 test ! -s conftest.err
1918 $as_echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.$ac_ext >&5
1923 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1924 as_fn_set_status $ac_retval
1928 # ac_fn_c_try_run LINENO
1929 # ----------------------
1930 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1931 # that executables *can* be run.
1934 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1935 if { { ac_try="$ac_link"
1937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1938 *) ac_try_echo=$ac_try;;
1940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1941 $as_echo "$ac_try_echo"; } >&5
1942 (eval "$ac_link") 2>&5
1944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1945 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1946 { { case "(($ac_try" in
1947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1948 *) ac_try_echo=$ac_try;;
1950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1951 $as_echo "$ac_try_echo"; } >&5
1952 (eval "$ac_try") 2>&5
1954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1955 test $ac_status = 0; }; }; then :
1958 $as_echo "$as_me: program exited with status $ac_status" >&5
1959 $as_echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.$ac_ext >&5
1962 ac_retval=$ac_status
1964 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1965 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1966 as_fn_set_status $ac_retval
1970 # ac_fn_c_check_func LINENO FUNC VAR
1971 # ----------------------------------
1972 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1973 ac_fn_c_check_func ()
1975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1977 $as_echo_n "checking for $2... " >&6; }
1978 if eval "test \"\${$3+set}\"" = set; then :
1979 $as_echo_n "(cached) " >&6
1981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1982 /* end confdefs.h. */
1983 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1985 #define $2 innocuous_$2
1987 /* System header to define __stub macros and hopefully few prototypes,
1988 which can conflict with char $2 (); below.
1989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1990 <limits.h> exists even on freestanding compilers. */
1993 # include <limits.h>
1995 # include <assert.h>
2000 /* Override any GCC internal prototype to avoid an error.
2001 Use char because int might match the return type of a GCC
2002 builtin and then its argument prototype would still apply. */
2007 /* The GNU C library defines this for functions which it implements
2008 to always fail with ENOSYS. Some functions are actually named
2009 something starting with __ and the normal name is an alias. */
2010 #if defined __stub_$2 || defined __stub___$2
2022 if ac_fn_c_try_link "$LINENO"; then :
2027 rm -f core conftest.err conftest.$ac_objext \
2028 conftest$ac_exeext conftest.$ac_ext
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2032 $as_echo "$ac_res" >&6; }
2033 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2035 } # ac_fn_c_check_func
2037 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2038 # -------------------------------------------------------
2039 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2040 # the include files in INCLUDES and setting the cache variable VAR
2042 ac_fn_c_check_header_mongrel ()
2044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2045 if eval "test \"\${$3+set}\"" = set; then :
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2047 $as_echo_n "checking for $2... " >&6; }
2048 if eval "test \"\${$3+set}\"" = set; then :
2049 $as_echo_n "(cached) " >&6
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053 $as_echo "$ac_res" >&6; }
2055 # Is the header compilable?
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2057 $as_echo_n "checking $2 usability... " >&6; }
2058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2059 /* end confdefs.h. */
2063 if ac_fn_c_try_compile "$LINENO"; then :
2064 ac_header_compiler=yes
2066 ac_header_compiler=no
2068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2070 $as_echo "$ac_header_compiler" >&6; }
2072 # Is the header present?
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2074 $as_echo_n "checking $2 presence... " >&6; }
2075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2076 /* end confdefs.h. */
2079 if ac_fn_c_try_cpp "$LINENO"; then :
2080 ac_header_preproc=yes
2082 ac_header_preproc=no
2084 rm -f conftest.err conftest.i conftest.$ac_ext
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2086 $as_echo "$ac_header_preproc" >&6; }
2088 # So? What about this header?
2089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2092 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2094 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2098 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2100 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2102 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2104 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2106 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2107 ( $as_echo "## -------------------------------------------------------- ##
2108 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2109 ## -------------------------------------------------------- ##"
2110 ) | sed "s/^/$as_me: WARNING: /" >&2
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2114 $as_echo_n "checking for $2... " >&6; }
2115 if eval "test \"\${$3+set}\"" = set; then :
2116 $as_echo_n "(cached) " >&6
2118 eval "$3=\$ac_header_compiler"
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2122 $as_echo "$ac_res" >&6; }
2124 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2126 } # ac_fn_c_check_header_mongrel
2127 cat >config.log <<_ACEOF
2128 This file contains any messages produced by compilers while
2129 running configure, to aid debugging if configure makes a mistake.
2131 It was created by emotion $as_me 1.7.1, which was
2132 generated by GNU Autoconf 2.67. Invocation command line was
2144 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2145 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2146 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2147 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2148 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2150 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2151 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2153 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2154 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2155 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2156 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2157 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2158 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2159 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 test -z "$as_dir" && as_dir=.
2168 $as_echo "PATH: $as_dir"
2184 # Keep a trace of the command line.
2185 # Strip out --no-create and --no-recursion so they do not pile up.
2186 # Strip out --silent because we don't want to record it for future runs.
2187 # Also quote any args containing shell meta-characters.
2188 # Make two passes to allow for proper duplicate-argument suppression.
2192 ac_must_keep_next=false
2198 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2199 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2200 | -silent | --silent | --silen | --sile | --sil)
2203 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2206 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2208 as_fn_append ac_configure_args1 " '$ac_arg'"
2209 if test $ac_must_keep_next = true; then
2210 ac_must_keep_next=false # Got value, back to normal.
2213 *=* | --config-cache | -C | -disable-* | --disable-* \
2214 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2215 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2216 | -with-* | --with-* | -without-* | --without-* | --x)
2217 case "$ac_configure_args0 " in
2218 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2221 -* ) ac_must_keep_next=true ;;
2224 as_fn_append ac_configure_args " '$ac_arg'"
2229 { ac_configure_args0=; unset ac_configure_args0;}
2230 { ac_configure_args1=; unset ac_configure_args1;}
2232 # When interrupted or exit'd, cleanup temporary files, and complete
2233 # config.log. We remove comments because anyway the quotes in there
2234 # would cause problems or look ugly.
2235 # WARNING: Use '\'' to represent an apostrophe within the trap.
2236 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2237 trap 'exit_status=$?
2238 # Save into config.log some information that might help in debugging.
2242 $as_echo "## ---------------- ##
2243 ## Cache variables. ##
2244 ## ---------------- ##"
2246 # The following way of writing the cache mishandles newlines in values,
2248 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2249 eval ac_val=\$$ac_var
2253 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2254 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2257 _ | IFS | as_nl) ;; #(
2258 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2259 *) { eval $ac_var=; unset $ac_var;} ;;
2264 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2265 *${as_nl}ac_space=\ *)
2267 "s/'\''/'\''\\\\'\'''\''/g;
2268 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2271 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2278 $as_echo "## ----------------- ##
2279 ## Output variables. ##
2280 ## ----------------- ##"
2282 for ac_var in $ac_subst_vars
2284 eval ac_val=\$$ac_var
2286 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2288 $as_echo "$ac_var='\''$ac_val'\''"
2292 if test -n "$ac_subst_files"; then
2293 $as_echo "## ------------------- ##
2294 ## File substitutions. ##
2295 ## ------------------- ##"
2297 for ac_var in $ac_subst_files
2299 eval ac_val=\$$ac_var
2301 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2303 $as_echo "$ac_var='\''$ac_val'\''"
2308 if test -s confdefs.h; then
2309 $as_echo "## ----------- ##
2316 test "$ac_signal" != 0 &&
2317 $as_echo "$as_me: caught signal $ac_signal"
2318 $as_echo "$as_me: exit $exit_status"
2320 rm -f core *.core core.conftest.* &&
2321 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2324 for ac_signal in 1 2 13 15; do
2325 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2329 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2330 rm -f -r conftest* confdefs.h
2332 $as_echo "/* confdefs.h */" > confdefs.h
2334 # Predefined preprocessor variables.
2336 cat >>confdefs.h <<_ACEOF
2337 #define PACKAGE_NAME "$PACKAGE_NAME"
2340 cat >>confdefs.h <<_ACEOF
2341 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2344 cat >>confdefs.h <<_ACEOF
2345 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2348 cat >>confdefs.h <<_ACEOF
2349 #define PACKAGE_STRING "$PACKAGE_STRING"
2352 cat >>confdefs.h <<_ACEOF
2353 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2356 cat >>confdefs.h <<_ACEOF
2357 #define PACKAGE_URL "$PACKAGE_URL"
2361 # Let the site file select an alternate cache file if it wants to.
2362 # Prefer an explicitly selected file to automatically selected ones.
2365 if test -n "$CONFIG_SITE"; then
2366 # We do not want a PATH search for config.site.
2367 case $CONFIG_SITE in #((
2368 -*) ac_site_file1=./$CONFIG_SITE;;
2369 */*) ac_site_file1=$CONFIG_SITE;;
2370 *) ac_site_file1=./$CONFIG_SITE;;
2372 elif test "x$prefix" != xNONE; then
2373 ac_site_file1=$prefix/share/config.site
2374 ac_site_file2=$prefix/etc/config.site
2376 ac_site_file1=$ac_default_prefix/share/config.site
2377 ac_site_file2=$ac_default_prefix/etc/config.site
2379 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2381 test "x$ac_site_file" = xNONE && continue
2382 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2384 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2385 sed 's/^/| /' "$ac_site_file" >&5
2387 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2389 as_fn_error $? "failed to load site script $ac_site_file
2390 See \`config.log' for more details" "$LINENO" 5 ; }
2394 if test -r "$cache_file"; then
2395 # Some versions of bash will fail to source /dev/null (special files
2396 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2397 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2399 $as_echo "$as_me: loading cache $cache_file" >&6;}
2401 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2402 *) . "./$cache_file";;
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2407 $as_echo "$as_me: creating cache $cache_file" >&6;}
2411 # Check that the precious variables saved in the cache have kept the same
2413 ac_cache_corrupted=false
2414 for ac_var in $ac_precious_vars; do
2415 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2416 eval ac_new_set=\$ac_env_${ac_var}_set
2417 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2418 eval ac_new_val=\$ac_env_${ac_var}_value
2419 case $ac_old_set,$ac_new_set in
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2422 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2423 ac_cache_corrupted=: ;;
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2426 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2427 ac_cache_corrupted=: ;;
2430 if test "x$ac_old_val" != "x$ac_new_val"; then
2431 # differences in whitespace do not lead to failure.
2432 ac_old_val_w=`echo x $ac_old_val`
2433 ac_new_val_w=`echo x $ac_new_val`
2434 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2436 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2437 ac_cache_corrupted=:
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2440 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2441 eval $ac_var=\$ac_old_val
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2444 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2446 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2449 # Pass precious variables to config.status.
2450 if test "$ac_new_set" = set; then
2452 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2453 *) ac_arg=$ac_var=$ac_new_val ;;
2455 case " $ac_configure_args " in
2456 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2457 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2461 if $ac_cache_corrupted; then
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2465 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2466 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2468 ## -------------------- ##
2469 ## Main body of script. ##
2470 ## -------------------- ##
2473 ac_cpp='$CPP $CPPFLAGS'
2474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2483 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2484 if test -f "$ac_dir/install-sh"; then
2486 ac_install_sh="$ac_aux_dir/install-sh -c"
2488 elif test -f "$ac_dir/install.sh"; then
2490 ac_install_sh="$ac_aux_dir/install.sh -c"
2492 elif test -f "$ac_dir/shtool"; then
2494 ac_install_sh="$ac_aux_dir/shtool install -c"
2498 if test -z "$ac_aux_dir"; then
2499 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2502 # These three variables are undocumented and unsupported,
2503 # and are intended to be withdrawn in a future Autoconf release.
2504 # They can cause serious problems if a builder's source tree is in a directory
2505 # whose full name contains unusual characters.
2506 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2507 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2508 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2511 # Make sure we can run config.sub.
2512 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2513 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2516 $as_echo_n "checking build system type... " >&6; }
2517 if test "${ac_cv_build+set}" = set; then :
2518 $as_echo_n "(cached) " >&6
2520 ac_build_alias=$build_alias
2521 test "x$ac_build_alias" = x &&
2522 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2523 test "x$ac_build_alias" = x &&
2524 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2525 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2526 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2530 $as_echo "$ac_cv_build" >&6; }
2531 case $ac_cv_build in
2533 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2536 ac_save_IFS=$IFS; IFS='-'
2542 # Remember, the first character of IFS is used to create $*,
2543 # except with old shells:
2546 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2550 $as_echo_n "checking host system type... " >&6; }
2551 if test "${ac_cv_host+set}" = set; then :
2552 $as_echo_n "(cached) " >&6
2554 if test "x$host_alias" = x; then
2555 ac_cv_host=$ac_cv_build
2557 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2558 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2563 $as_echo "$ac_cv_host" >&6; }
2566 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2569 ac_save_IFS=$IFS; IFS='-'
2575 # Remember, the first character of IFS is used to create $*,
2576 # except with old shells:
2579 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2583 ac_cpp='$CPP $CPPFLAGS'
2584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2587 if test -n "$ac_tool_prefix"; then
2588 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2589 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2591 $as_echo_n "checking for $ac_word... " >&6; }
2592 if test "${ac_cv_prog_CC+set}" = set; then :
2593 $as_echo_n "(cached) " >&6
2595 if test -n "$CC"; then
2596 ac_cv_prog_CC="$CC" # Let the user override the test.
2598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602 test -z "$as_dir" && as_dir=.
2603 for ac_exec_ext in '' $ac_executable_extensions; do
2604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2605 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2616 if test -n "$CC"; then
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2618 $as_echo "$CC" >&6; }
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2621 $as_echo "no" >&6; }
2626 if test -z "$ac_cv_prog_CC"; then
2628 # Extract the first word of "gcc", so it can be a program name with args.
2629 set dummy gcc; ac_word=$2
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2631 $as_echo_n "checking for $ac_word... " >&6; }
2632 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2633 $as_echo_n "(cached) " >&6
2635 if test -n "$ac_ct_CC"; then
2636 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2642 test -z "$as_dir" && as_dir=.
2643 for ac_exec_ext in '' $ac_executable_extensions; do
2644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2645 ac_cv_prog_ac_ct_CC="gcc"
2646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2655 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2656 if test -n "$ac_ct_CC"; then
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2658 $as_echo "$ac_ct_CC" >&6; }
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2661 $as_echo "no" >&6; }
2664 if test "x$ac_ct_CC" = x; then
2667 case $cross_compiling:$ac_tool_warned in
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2671 ac_tool_warned=yes ;;
2679 if test -z "$CC"; then
2680 if test -n "$ac_tool_prefix"; then
2681 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2682 set dummy ${ac_tool_prefix}cc; ac_word=$2
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684 $as_echo_n "checking for $ac_word... " >&6; }
2685 if test "${ac_cv_prog_CC+set}" = set; then :
2686 $as_echo_n "(cached) " >&6
2688 if test -n "$CC"; then
2689 ac_cv_prog_CC="$CC" # Let the user override the test.
2691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695 test -z "$as_dir" && as_dir=.
2696 for ac_exec_ext in '' $ac_executable_extensions; do
2697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2698 ac_cv_prog_CC="${ac_tool_prefix}cc"
2699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2709 if test -n "$CC"; then
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2711 $as_echo "$CC" >&6; }
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714 $as_echo "no" >&6; }
2720 if test -z "$CC"; then
2721 # Extract the first word of "cc", so it can be a program name with args.
2722 set dummy cc; ac_word=$2
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2724 $as_echo_n "checking for $ac_word... " >&6; }
2725 if test "${ac_cv_prog_CC+set}" = set; then :
2726 $as_echo_n "(cached) " >&6
2728 if test -n "$CC"; then
2729 ac_cv_prog_CC="$CC" # Let the user override the test.
2732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2736 test -z "$as_dir" && as_dir=.
2737 for ac_exec_ext in '' $ac_executable_extensions; do
2738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2739 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2740 ac_prog_rejected=yes
2744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2751 if test $ac_prog_rejected = yes; then
2752 # We found a bogon in the path, so make sure we never use it.
2753 set dummy $ac_cv_prog_CC
2755 if test $# != 0; then
2756 # We chose a different compiler from the bogus one.
2757 # However, it has the same basename, so the bogon will be chosen
2758 # first if we set CC to just the basename; use the full file name.
2760 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2766 if test -n "$CC"; then
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2768 $as_echo "$CC" >&6; }
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771 $as_echo "no" >&6; }
2776 if test -z "$CC"; then
2777 if test -n "$ac_tool_prefix"; then
2778 for ac_prog in cl.exe
2780 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2781 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2783 $as_echo_n "checking for $ac_word... " >&6; }
2784 if test "${ac_cv_prog_CC+set}" = set; then :
2785 $as_echo_n "(cached) " >&6
2787 if test -n "$CC"; then
2788 ac_cv_prog_CC="$CC" # Let the user override the test.
2790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2794 test -z "$as_dir" && as_dir=.
2795 for ac_exec_ext in '' $ac_executable_extensions; do
2796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2797 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2808 if test -n "$CC"; then
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2810 $as_echo "$CC" >&6; }
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2813 $as_echo "no" >&6; }
2817 test -n "$CC" && break
2820 if test -z "$CC"; then
2822 for ac_prog in cl.exe
2824 # Extract the first word of "$ac_prog", so it can be a program name with args.
2825 set dummy $ac_prog; 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 test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2829 $as_echo_n "(cached) " >&6
2831 if test -n "$ac_ct_CC"; then
2832 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2841 ac_cv_prog_ac_ct_CC="$ac_prog"
2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2851 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2852 if test -n "$ac_ct_CC"; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2854 $as_echo "$ac_ct_CC" >&6; }
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857 $as_echo "no" >&6; }
2861 test -n "$ac_ct_CC" && break
2864 if test "x$ac_ct_CC" = x; then
2867 case $cross_compiling:$ac_tool_warned in
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2871 ac_tool_warned=yes ;;
2880 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2882 as_fn_error $? "no acceptable C compiler found in \$PATH
2883 See \`config.log' for more details" "$LINENO" 5 ; }
2885 # Provide some information about the compiler.
2886 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2889 for ac_option in --version -v -V -qversion; do
2890 { { ac_try="$ac_compiler $ac_option >&5"
2892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893 *) ac_try_echo=$ac_try;;
2895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2896 $as_echo "$ac_try_echo"; } >&5
2897 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2899 if test -s conftest.err; then
2901 ... rest of stderr output deleted ...
2902 10q' conftest.err >conftest.er1
2903 cat conftest.er1 >&5
2905 rm -f conftest.er1 conftest.err
2906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2907 test $ac_status = 0; }
2910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2911 /* end confdefs.h. */
2921 ac_clean_files_save=$ac_clean_files
2922 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2923 # Try to create an executable without -o first, disregard a.out.
2924 # It will help us diagnose broken compilers, and finding out an intuition
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2927 $as_echo_n "checking whether the C compiler works... " >&6; }
2928 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2930 # The possible output files:
2931 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2934 for ac_file in $ac_files
2937 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2938 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2943 if { { ac_try="$ac_link_default"
2945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946 *) ac_try_echo=$ac_try;;
2948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2949 $as_echo "$ac_try_echo"; } >&5
2950 (eval "$ac_link_default") 2>&5
2952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2953 test $ac_status = 0; }; then :
2954 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2955 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2956 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2957 # so that the user can short-circuit this test for compilers unknown to
2959 for ac_file in $ac_files ''
2961 test -f "$ac_file" || continue
2963 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2966 # We found the default executable, but exeext='' is most
2970 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2972 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2974 # We set ac_cv_exeext here because the later test for it is not
2975 # safe: cross compilers may not add the suffix if given an `-o'
2976 # argument, so we may need to know it at that point already.
2977 # Even if this section looks crufty: it has the advantage of
2984 test "$ac_cv_exeext" = no && ac_cv_exeext=
2989 if test -z "$ac_file"; then :
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991 $as_echo "no" >&6; }
2992 $as_echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2995 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2996 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2997 as_fn_error 77 "C compiler cannot create executables
2998 See \`config.log' for more details" "$LINENO" 5 ; }
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3001 $as_echo "yes" >&6; }
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3004 $as_echo_n "checking for C compiler default output file name... " >&6; }
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3006 $as_echo "$ac_file" >&6; }
3007 ac_exeext=$ac_cv_exeext
3009 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3010 ac_clean_files=$ac_clean_files_save
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3012 $as_echo_n "checking for suffix of executables... " >&6; }
3013 if { { ac_try="$ac_link"
3015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016 *) ac_try_echo=$ac_try;;
3018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3019 $as_echo "$ac_try_echo"; } >&5
3020 (eval "$ac_link") 2>&5
3022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3023 test $ac_status = 0; }; then :
3024 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3025 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3026 # work properly (i.e., refer to `conftest.exe'), while it won't with
3028 for ac_file in conftest.exe conftest conftest.*; do
3029 test -f "$ac_file" || continue
3031 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3032 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3038 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3039 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3040 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3041 See \`config.log' for more details" "$LINENO" 5 ; }
3043 rm -f conftest conftest$ac_cv_exeext
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3045 $as_echo "$ac_cv_exeext" >&6; }
3047 rm -f conftest.$ac_ext
3048 EXEEXT=$ac_cv_exeext
3050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3051 /* end confdefs.h. */
3056 FILE *f = fopen ("conftest.out", "w");
3057 return ferror (f) || fclose (f) != 0;
3063 ac_clean_files="$ac_clean_files conftest.out"
3064 # Check that the compiler produces executables we can run. If not, either
3065 # the compiler is broken, or we cross compile.
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3067 $as_echo_n "checking whether we are cross compiling... " >&6; }
3068 if test "$cross_compiling" != yes; then
3069 { { ac_try="$ac_link"
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3075 $as_echo "$ac_try_echo"; } >&5
3076 (eval "$ac_link") 2>&5
3078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3079 test $ac_status = 0; }
3080 if { ac_try='./conftest$ac_cv_exeext'
3081 { { case "(($ac_try" in
3082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083 *) ac_try_echo=$ac_try;;
3085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3086 $as_echo "$ac_try_echo"; } >&5
3087 (eval "$ac_try") 2>&5
3089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3090 test $ac_status = 0; }; }; then
3093 if test "$cross_compiling" = maybe; then
3096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3098 as_fn_error $? "cannot run C compiled programs.
3099 If you meant to cross compile, use \`--host'.
3100 See \`config.log' for more details" "$LINENO" 5 ; }
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3105 $as_echo "$cross_compiling" >&6; }
3107 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3108 ac_clean_files=$ac_clean_files_save
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3110 $as_echo_n "checking for suffix of object files... " >&6; }
3111 if test "${ac_cv_objext+set}" = set; then :
3112 $as_echo_n "(cached) " >&6
3114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3115 /* end confdefs.h. */
3125 rm -f conftest.o conftest.obj
3126 if { { ac_try="$ac_compile"
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3132 $as_echo "$ac_try_echo"; } >&5
3133 (eval "$ac_compile") 2>&5
3135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3136 test $ac_status = 0; }; then :
3137 for ac_file in conftest.o conftest.obj conftest.*; do
3138 test -f "$ac_file" || continue;
3140 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3141 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3146 $as_echo "$as_me: failed program was:" >&5
3147 sed 's/^/| /' conftest.$ac_ext >&5
3149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3151 as_fn_error $? "cannot compute suffix of object files: cannot compile
3152 See \`config.log' for more details" "$LINENO" 5 ; }
3154 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3157 $as_echo "$ac_cv_objext" >&6; }
3158 OBJEXT=$ac_cv_objext
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3161 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3162 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3163 $as_echo_n "(cached) " >&6
3165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3166 /* end confdefs.h. */
3179 if ac_fn_c_try_compile "$LINENO"; then :
3184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3185 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3189 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3190 if test $ac_compiler_gnu = yes; then
3195 ac_test_CFLAGS=${CFLAGS+set}
3196 ac_save_CFLAGS=$CFLAGS
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3198 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3199 if test "${ac_cv_prog_cc_g+set}" = set; then :
3200 $as_echo_n "(cached) " >&6
3202 ac_save_c_werror_flag=$ac_c_werror_flag
3203 ac_c_werror_flag=yes
3206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h. */
3217 if ac_fn_c_try_compile "$LINENO"; then :
3221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3232 if ac_fn_c_try_compile "$LINENO"; then :
3235 ac_c_werror_flag=$ac_save_c_werror_flag
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h. */
3248 if ac_fn_c_try_compile "$LINENO"; then :
3251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3256 ac_c_werror_flag=$ac_save_c_werror_flag
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3259 $as_echo "$ac_cv_prog_cc_g" >&6; }
3260 if test "$ac_test_CFLAGS" = set; then
3261 CFLAGS=$ac_save_CFLAGS
3262 elif test $ac_cv_prog_cc_g = yes; then
3263 if test "$GCC" = yes; then
3269 if test "$GCC" = yes; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3276 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3277 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3278 $as_echo_n "(cached) " >&6
3280 ac_cv_prog_cc_c89=no
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3286 #include <sys/types.h>
3287 #include <sys/stat.h>
3288 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3289 struct buf { int x; };
3290 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3291 static char *e (p, i)
3297 static char *f (char * (*g) (char **, int), char **p, ...)
3302 s = g (p, va_arg (v,int));
3307 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3308 function prototypes and stuff, but not '\xHH' hex character constants.
3309 These don't provoke an error unfortunately, instead are silently treated
3310 as 'x'. The following induces an error, until -std is added to get
3311 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3312 array size at least. It's necessary to write '\x00'==0 to get something
3313 that's true only with -std. */
3314 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3316 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3317 inside strings and character constants. */
3319 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3321 int test (int i, double x);
3322 struct s1 {int (*f) (int a);};
3323 struct s2 {int (*f) (double a);};
3324 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3330 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3335 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3336 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3338 CC="$ac_save_CC $ac_arg"
3339 if ac_fn_c_try_compile "$LINENO"; then :
3340 ac_cv_prog_cc_c89=$ac_arg
3342 rm -f core conftest.err conftest.$ac_objext
3343 test "x$ac_cv_prog_cc_c89" != "xno" && break
3345 rm -f conftest.$ac_ext
3350 case "x$ac_cv_prog_cc_c89" in
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3353 $as_echo "none needed" >&6; } ;;
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3356 $as_echo "unsupported" >&6; } ;;
3358 CC="$CC $ac_cv_prog_cc_c89"
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3360 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3362 if test "x$ac_cv_prog_cc_c89" != xno; then :
3367 ac_cpp='$CPP $CPPFLAGS'
3368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3374 $as_echo_n "checking for library containing strerror... " >&6; }
3375 if test "${ac_cv_search_strerror+set}" = set; then :
3376 $as_echo_n "(cached) " >&6
3378 ac_func_search_save_LIBS=$LIBS
3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h. */
3382 /* Override any GCC internal prototype to avoid an error.
3383 Use char because int might match the return type of a GCC
3384 builtin and then its argument prototype would still apply. */
3397 for ac_lib in '' cposix; do
3398 if test -z "$ac_lib"; then
3399 ac_res="none required"
3402 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3404 if ac_fn_c_try_link "$LINENO"; then :
3405 ac_cv_search_strerror=$ac_res
3407 rm -f core conftest.err conftest.$ac_objext \
3409 if test "${ac_cv_search_strerror+set}" = set; then :
3413 if test "${ac_cv_search_strerror+set}" = set; then :
3416 ac_cv_search_strerror=no
3419 LIBS=$ac_func_search_save_LIBS
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3422 $as_echo "$ac_cv_search_strerror" >&6; }
3423 ac_res=$ac_cv_search_strerror
3424 if test "$ac_res" != no; then :
3425 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3430 am__api_version='1.11'
3432 # Find a good install program. We prefer a C program (faster),
3433 # so one script is as good as another. But avoid the broken or
3434 # incompatible versions:
3435 # SysV /etc/install, /usr/sbin/install
3436 # SunOS /usr/etc/install
3437 # IRIX /sbin/install
3439 # AmigaOS /C/install, which installs bootblocks on floppy discs
3440 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3441 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3442 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3443 # OS/2's system install, which has a completely different semantic
3444 # ./install, which can be erroneously created by make from ./install.sh.
3445 # Reject install programs that cannot install multiple files.
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3447 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3448 if test -z "$INSTALL"; then
3449 if test "${ac_cv_path_install+set}" = set; then :
3450 $as_echo_n "(cached) " >&6
3452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3456 test -z "$as_dir" && as_dir=.
3457 # Account for people who put trailing slashes in PATH elements.
3458 case $as_dir/ in #((
3459 ./ | .// | /[cC]/* | \
3460 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3461 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3464 # OSF1 and SCO ODT 3.0 have their own names for install.
3465 # Don't use installbsd from OSF since it installs stuff as root
3467 for ac_prog in ginstall scoinst install; do
3468 for ac_exec_ext in '' $ac_executable_extensions; do
3469 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3470 if test $ac_prog = install &&
3471 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3472 # AIX install. It has an incompatible calling convention.
3474 elif test $ac_prog = install &&
3475 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3476 # program-specific install script used by HP pwplus--don't use.
3479 rm -rf conftest.one conftest.two conftest.dir
3480 echo one > conftest.one
3481 echo two > conftest.two
3483 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3484 test -s conftest.one && test -s conftest.two &&
3485 test -s conftest.dir/conftest.one &&
3486 test -s conftest.dir/conftest.two
3488 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3501 rm -rf conftest.one conftest.two conftest.dir
3504 if test "${ac_cv_path_install+set}" = set; then
3505 INSTALL=$ac_cv_path_install
3507 # As a last resort, use the slow shell script. Don't cache a
3508 # value for INSTALL within a source directory, because that will
3509 # break other packages using the cache if that directory is
3510 # removed, or if the value is a relative name.
3511 INSTALL=$ac_install_sh
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3515 $as_echo "$INSTALL" >&6; }
3517 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3518 # It thinks the first close brace ends the variable substitution.
3519 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3521 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3523 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3526 $as_echo_n "checking whether build environment is sane... " >&6; }
3529 echo timestamp > conftest.file
3530 # Reject unsafe characters in $srcdir or the absolute working directory
3531 # name. Accept space and tab only in the latter.
3535 *[\\\"\#\$\&\'\`$am_lf]*)
3536 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3539 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3540 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3543 # Do `set' in a subshell so we don't clobber the current shell's
3544 # arguments. Must try -L first in case configure is actually a
3545 # symlink; some systems play weird games with the mod time of symlinks
3546 # (eg FreeBSD returns the mod time of the symlink's containing
3549 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3550 if test "$*" = "X"; then
3552 set X `ls -t "$srcdir/configure" conftest.file`
3555 if test "$*" != "X $srcdir/configure conftest.file" \
3556 && test "$*" != "X conftest.file $srcdir/configure"; then
3558 # If neither matched, then we have a broken ls. This can happen
3559 # if, for instance, CONFIG_SHELL is bash and it inherits a
3560 # broken ls alias from the environment. This has actually
3561 # happened. Such a system could not be considered "sane".
3562 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3563 alias in your environment" "$LINENO" 5
3566 test "$2" = conftest.file
3572 as_fn_error $? "newly created file is older than distributed files!
3573 Check your system clock" "$LINENO" 5
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3576 $as_echo "yes" >&6; }
3577 test "$program_prefix" != NONE &&
3578 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3579 # Use a double $ so make ignores it.
3580 test "$program_suffix" != NONE &&
3581 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3582 # Double any \ or $.
3583 # By default was `s,x,x', remove it if useless.
3584 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3585 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3587 # expand $ac_aux_dir to an absolute path
3588 am_aux_dir=`cd $ac_aux_dir && pwd`
3590 if test x"${MISSING+set}" != xset; then
3593 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3595 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3598 # Use eval to expand $SHELL
3599 if eval "$MISSING --run true"; then
3600 am_missing_run="$MISSING --run "
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3604 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3607 if test x"${install_sh}" != xset; then
3610 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3612 install_sh="\${SHELL} $am_aux_dir/install-sh"
3616 # Installed binaries are usually stripped using `strip' when the user
3617 # run `make install-strip'. However `strip' might not be the right
3618 # tool to use in cross-compilation environments, therefore Automake
3619 # will honor the `STRIP' environment variable to overrule this program.
3620 if test "$cross_compiling" != no; then
3621 if test -n "$ac_tool_prefix"; then
3622 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3623 set dummy ${ac_tool_prefix}strip; ac_word=$2
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3625 $as_echo_n "checking for $ac_word... " >&6; }
3626 if test "${ac_cv_prog_STRIP+set}" = set; then :
3627 $as_echo_n "(cached) " >&6
3629 if test -n "$STRIP"; then
3630 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3636 test -z "$as_dir" && as_dir=.
3637 for ac_exec_ext in '' $ac_executable_extensions; do
3638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3639 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3649 STRIP=$ac_cv_prog_STRIP
3650 if test -n "$STRIP"; then
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3652 $as_echo "$STRIP" >&6; }
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3655 $as_echo "no" >&6; }
3660 if test -z "$ac_cv_prog_STRIP"; then
3662 # Extract the first word of "strip", so it can be a program name with args.
3663 set dummy strip; ac_word=$2
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3665 $as_echo_n "checking for $ac_word... " >&6; }
3666 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3667 $as_echo_n "(cached) " >&6
3669 if test -n "$ac_ct_STRIP"; then
3670 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3676 test -z "$as_dir" && as_dir=.
3677 for ac_exec_ext in '' $ac_executable_extensions; do
3678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3679 ac_cv_prog_ac_ct_STRIP="strip"
3680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3689 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3690 if test -n "$ac_ct_STRIP"; then
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3692 $as_echo "$ac_ct_STRIP" >&6; }
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3695 $as_echo "no" >&6; }
3698 if test "x$ac_ct_STRIP" = x; then
3701 case $cross_compiling:$ac_tool_warned in
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3705 ac_tool_warned=yes ;;
3710 STRIP="$ac_cv_prog_STRIP"
3714 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3717 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3718 if test -z "$MKDIR_P"; then
3719 if test "${ac_cv_path_mkdir+set}" = set; then :
3720 $as_echo_n "(cached) " >&6
3722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3723 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3726 test -z "$as_dir" && as_dir=.
3727 for ac_prog in mkdir gmkdir; do
3728 for ac_exec_ext in '' $ac_executable_extensions; do
3729 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3730 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3731 'mkdir (GNU coreutils) '* | \
3732 'mkdir (coreutils) '* | \
3733 'mkdir (fileutils) '4.1*)
3734 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3744 test -d ./--version && rmdir ./--version
3745 if test "${ac_cv_path_mkdir+set}" = set; then
3746 MKDIR_P="$ac_cv_path_mkdir -p"
3748 # As a last resort, use the slow shell script. Don't cache a
3749 # value for MKDIR_P within a source directory, because that will
3750 # break other packages using the cache if that directory is
3751 # removed, or if the value is a relative name.
3752 MKDIR_P="$ac_install_sh -d"
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3756 $as_echo "$MKDIR_P" >&6; }
3760 [\\/$]* | ?:[\\/]*) ;;
3761 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3764 for ac_prog in gawk mawk nawk awk
3766 # Extract the first word of "$ac_prog", so it can be a program name with args.
3767 set dummy $ac_prog; ac_word=$2
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3769 $as_echo_n "checking for $ac_word... " >&6; }
3770 if test "${ac_cv_prog_AWK+set}" = set; then :
3771 $as_echo_n "(cached) " >&6
3773 if test -n "$AWK"; then
3774 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3783 ac_cv_prog_AWK="$ac_prog"
3784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3794 if test -n "$AWK"; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3796 $as_echo "$AWK" >&6; }
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799 $as_echo "no" >&6; }
3803 test -n "$AWK" && break
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3807 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3809 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3810 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3811 $as_echo_n "(cached) " >&6
3813 cat >conftest.make <<\_ACEOF
3816 @echo '@@@%%%=$(MAKE)=@@@%%%'
3818 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3819 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3821 eval ac_cv_prog_make_${ac_make}_set=yes;;
3823 eval ac_cv_prog_make_${ac_make}_set=no;;
3827 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3829 $as_echo "yes" >&6; }
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3834 SET_MAKE="MAKE=${MAKE-make}"
3837 rm -rf .tst 2>/dev/null
3838 mkdir .tst 2>/dev/null
3839 if test -d .tst; then
3844 rmdir .tst 2>/dev/null
3846 DEPDIR="${am__leading_dot}deps"
3848 ac_config_commands="$ac_config_commands depfiles"
3851 am_make=${MAKE-make}
3852 cat > confinc << 'END'
3854 @echo this is the am__doit target
3857 # If we don't find an include directive, just comment out the code.
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3859 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3863 # First try GNU make style include.
3864 echo "include confinc" > confmf
3865 # Ignore all kinds of additional output from `make'.
3866 case `$am_make -s -f confmf 2> /dev/null` in #(
3867 *the\ am__doit\ target*)
3873 # Now try BSD make style include.
3874 if test "$am__include" = "#"; then
3875 echo '.include "confinc"' > confmf
3876 case `$am_make -s -f confmf 2> /dev/null` in #(
3877 *the\ am__doit\ target*)
3878 am__include=.include
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3887 $as_echo "$_am_result" >&6; }
3888 rm -f confinc confmf
3890 # Check whether --enable-dependency-tracking was given.
3891 if test "${enable_dependency_tracking+set}" = set; then :
3892 enableval=$enable_dependency_tracking;
3895 if test "x$enable_dependency_tracking" != xno; then
3896 am_depcomp="$ac_aux_dir/depcomp"
3899 if test "x$enable_dependency_tracking" != xno; then
3908 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3909 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3910 # is not polluted with repeated "-I."
3911 am__isrc=' -I$(srcdir)'
3912 # test to see if srcdir already configured
3913 if test -f $srcdir/config.status; then
3914 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3918 # test whether we have cygpath
3919 if test -z "$CYGPATH_W"; then
3920 if (cygpath --version) >/dev/null 2>/dev/null; then
3921 CYGPATH_W='cygpath -w'
3928 # Define the identity of the package.
3933 cat >>confdefs.h <<_ACEOF
3934 #define PACKAGE "$PACKAGE"
3938 cat >>confdefs.h <<_ACEOF
3939 #define VERSION "$VERSION"
3942 # Some tools Automake needs.
3944 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3947 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3950 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3953 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3956 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3958 # We need awk for the "check" target. The system "awk" is bad on
3960 # Always define AMTAR for backward compatibility.
3962 AMTAR=${AMTAR-"${am_missing_run}tar"}
3964 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3969 depcc="$CC" am_compiler_list=
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3972 $as_echo_n "checking dependency style of $depcc... " >&6; }
3973 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3974 $as_echo_n "(cached) " >&6
3976 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3977 # We make a subdir and do the tests there. Otherwise we can end up
3978 # making bogus files that we don't know about and never remove. For
3979 # instance it was reported that on HP-UX the gcc test will end up
3980 # making a dummy file named `D' -- because `-MD' means `put the output
3983 # Copy depcomp to subdir because otherwise we won't find it if we're
3984 # using a relative directory.
3985 cp "$am_depcomp" conftest.dir
3987 # We will build objects and dependencies in a subdirectory because
3988 # it helps to detect inapplicable dependency modes. For instance
3989 # both Tru64's cc and ICC support -MD to output dependencies as a
3990 # side effect of compilation, but ICC will put the dependencies in
3991 # the current directory while Tru64 will put them in the object
3995 am_cv_CC_dependencies_compiler_type=none
3996 if test "$am_compiler_list" = ""; then
3997 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4000 case " $depcc " in #(
4001 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4004 for depmode in $am_compiler_list; do
4005 # Setup a source with many dependencies, because some compilers
4006 # like to wrap large dependency lists on column 80 (with \), and
4007 # we should not choose a depcomp mode which is confused by this.
4009 # We need to recreate these files for each test, as the compiler may
4010 # overwrite some of them when testing with obscure command lines.
4011 # This happens at least with the AIX C compiler.
4013 for i in 1 2 3 4 5 6; do
4014 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4015 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4016 # Solaris 8's {/usr,}/bin/sh.
4017 touch sub/conftst$i.h
4019 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4021 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4022 # mode. It turns out that the SunPro C++ compiler does not properly
4023 # handle `-M -o', and we need to detect this. Also, some Intel
4024 # versions had trouble with output in subdirs
4025 am__obj=sub/conftest.${OBJEXT-o}
4026 am__minus_obj="-o $am__obj"
4029 # This depmode causes a compiler race in universal mode.
4030 test "$am__universal" = false || continue
4033 # after this tag, mechanisms are not by side-effect, so they'll
4034 # only be used when explicitly requested
4035 if test "x$enable_dependency_tracking" = xyes; then
4041 msvisualcpp | msvcmsys)
4042 # This compiler won't grok `-c -o', but also, the minuso test has
4043 # not run yet. These depmodes are late enough in the game, and
4044 # so weak that their functioning should not be impacted.
4045 am__obj=conftest.${OBJEXT-o}
4050 if depmode=$depmode \
4051 source=sub/conftest.c object=$am__obj \
4052 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4053 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4054 >/dev/null 2>conftest.err &&
4055 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4056 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4057 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4058 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4059 # icc doesn't choke on unknown options, it will just issue warnings
4060 # or remarks (even with -Werror). So we grep stderr for any message
4061 # that says an option was ignored or not supported.
4062 # When given -MP, icc 7.0 and 7.1 complain thusly:
4063 # icc: Command line warning: ignoring option '-M'; no argument required
4064 # The diagnosis changed in icc 8.0:
4065 # icc: Command line remark: option '-MP' not supported
4066 if (grep 'ignoring option' conftest.err ||
4067 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4068 am_cv_CC_dependencies_compiler_type=$depmode
4077 am_cv_CC_dependencies_compiler_type=none
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4082 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4083 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4086 test "x$enable_dependency_tracking" != xno \
4087 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4089 am__fastdepCC_FALSE='#'
4091 am__fastdepCC_TRUE='#'
4092 am__fastdepCC_FALSE=
4097 ac_config_headers="$ac_config_headers config.h"
4099 # Check whether --enable-silent-rules was given.
4100 if test "${enable_silent_rules+set}" = set; then :
4101 enableval=$enable_silent_rules;
4104 case $enable_silent_rules in
4105 yes) AM_DEFAULT_VERBOSITY=0;;
4106 no) AM_DEFAULT_VERBOSITY=1;;
4107 *) AM_DEFAULT_VERBOSITY=0;;
4112 enable_win32_dll=yes
4115 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
4116 if test -n "$ac_tool_prefix"; then
4117 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4118 set dummy ${ac_tool_prefix}as; ac_word=$2
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4120 $as_echo_n "checking for $ac_word... " >&6; }
4121 if test "${ac_cv_prog_AS+set}" = set; then :
4122 $as_echo_n "(cached) " >&6
4124 if test -n "$AS"; then
4125 ac_cv_prog_AS="$AS" # Let the user override the test.
4127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4131 test -z "$as_dir" && as_dir=.
4132 for ac_exec_ext in '' $ac_executable_extensions; do
4133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4134 ac_cv_prog_AS="${ac_tool_prefix}as"
4135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4145 if test -n "$AS"; then
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4147 $as_echo "$AS" >&6; }
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4150 $as_echo "no" >&6; }
4155 if test -z "$ac_cv_prog_AS"; then
4157 # Extract the first word of "as", so it can be a program name with args.
4158 set dummy as; ac_word=$2
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4160 $as_echo_n "checking for $ac_word... " >&6; }
4161 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4162 $as_echo_n "(cached) " >&6
4164 if test -n "$ac_ct_AS"; then
4165 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4171 test -z "$as_dir" && as_dir=.
4172 for ac_exec_ext in '' $ac_executable_extensions; do
4173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4174 ac_cv_prog_ac_ct_AS="as"
4175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4184 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4185 if test -n "$ac_ct_AS"; then
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4187 $as_echo "$ac_ct_AS" >&6; }
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4190 $as_echo "no" >&6; }
4193 if test "x$ac_ct_AS" = x; then
4196 case $cross_compiling:$ac_tool_warned in
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4200 ac_tool_warned=yes ;;
4208 if test -n "$ac_tool_prefix"; then
4209 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4210 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4212 $as_echo_n "checking for $ac_word... " >&6; }
4213 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
4214 $as_echo_n "(cached) " >&6
4216 if test -n "$DLLTOOL"; then
4217 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4223 test -z "$as_dir" && as_dir=.
4224 for ac_exec_ext in '' $ac_executable_extensions; do
4225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4226 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4236 DLLTOOL=$ac_cv_prog_DLLTOOL
4237 if test -n "$DLLTOOL"; then
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4239 $as_echo "$DLLTOOL" >&6; }
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4242 $as_echo "no" >&6; }
4247 if test -z "$ac_cv_prog_DLLTOOL"; then
4248 ac_ct_DLLTOOL=$DLLTOOL
4249 # Extract the first word of "dlltool", so it can be a program name with args.
4250 set dummy dlltool; ac_word=$2
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4252 $as_echo_n "checking for $ac_word... " >&6; }
4253 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
4254 $as_echo_n "(cached) " >&6
4256 if test -n "$ac_ct_DLLTOOL"; then
4257 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4263 test -z "$as_dir" && as_dir=.
4264 for ac_exec_ext in '' $ac_executable_extensions; do
4265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4266 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4276 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4277 if test -n "$ac_ct_DLLTOOL"; then
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4279 $as_echo "$ac_ct_DLLTOOL" >&6; }
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4282 $as_echo "no" >&6; }
4285 if test "x$ac_ct_DLLTOOL" = x; then
4288 case $cross_compiling:$ac_tool_warned in
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4292 ac_tool_warned=yes ;;
4294 DLLTOOL=$ac_ct_DLLTOOL
4297 DLLTOOL="$ac_cv_prog_DLLTOOL"
4300 if test -n "$ac_tool_prefix"; then
4301 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4302 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4304 $as_echo_n "checking for $ac_word... " >&6; }
4305 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4306 $as_echo_n "(cached) " >&6
4308 if test -n "$OBJDUMP"; then
4309 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4315 test -z "$as_dir" && as_dir=.
4316 for ac_exec_ext in '' $ac_executable_extensions; do
4317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4318 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4328 OBJDUMP=$ac_cv_prog_OBJDUMP
4329 if test -n "$OBJDUMP"; then
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4331 $as_echo "$OBJDUMP" >&6; }
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334 $as_echo "no" >&6; }
4339 if test -z "$ac_cv_prog_OBJDUMP"; then
4340 ac_ct_OBJDUMP=$OBJDUMP
4341 # Extract the first word of "objdump", so it can be a program name with args.
4342 set dummy objdump; ac_word=$2
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4344 $as_echo_n "checking for $ac_word... " >&6; }
4345 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4346 $as_echo_n "(cached) " >&6
4348 if test -n "$ac_ct_OBJDUMP"; then
4349 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4355 test -z "$as_dir" && as_dir=.
4356 for ac_exec_ext in '' $ac_executable_extensions; do
4357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4358 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4368 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4369 if test -n "$ac_ct_OBJDUMP"; then
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4371 $as_echo "$ac_ct_OBJDUMP" >&6; }
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4374 $as_echo "no" >&6; }
4377 if test "x$ac_ct_OBJDUMP" = x; then
4380 case $cross_compiling:$ac_tool_warned in
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4384 ac_tool_warned=yes ;;
4386 OBJDUMP=$ac_ct_OBJDUMP
4389 OBJDUMP="$ac_cv_prog_OBJDUMP"
4395 test -z "$AS" && AS=as
4401 test -z "$DLLTOOL" && DLLTOOL=dlltool
4407 test -z "$OBJDUMP" && OBJDUMP=objdump
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4418 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4423 macro_version='2.2.6b'
4424 macro_revision='1.3017'
4438 ltmain="$ac_aux_dir/ltmain.sh"
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4441 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4442 if test "${ac_cv_path_SED+set}" = set; then :
4443 $as_echo_n "(cached) " >&6
4445 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4446 for ac_i in 1 2 3 4 5 6 7; do
4447 ac_script="$ac_script$as_nl$ac_script"
4449 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4450 { ac_script=; unset ac_script;}
4451 if test -z "$SED"; then
4452 ac_path_SED_found=false
4453 # Loop through the user's path and test for each of PROGNAME-LIST
4454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4458 test -z "$as_dir" && as_dir=.
4459 for ac_prog in sed gsed; do
4460 for ac_exec_ext in '' $ac_executable_extensions; do
4461 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4462 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4463 # Check for GNU ac_path_SED and select it if it is found.
4464 # Check for GNU $ac_path_SED
4465 case `"$ac_path_SED" --version 2>&1` in
4467 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4470 $as_echo_n 0123456789 >"conftest.in"
4473 cat "conftest.in" "conftest.in" >"conftest.tmp"
4474 mv "conftest.tmp" "conftest.in"
4475 cp "conftest.in" "conftest.nl"
4476 $as_echo '' >> "conftest.nl"
4477 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4478 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4479 as_fn_arith $ac_count + 1 && ac_count=$as_val
4480 if test $ac_count -gt ${ac_path_SED_max-0}; then
4481 # Best one so far, save it but keep looking for a better one
4482 ac_cv_path_SED="$ac_path_SED"
4483 ac_path_SED_max=$ac_count
4485 # 10*(2^10) chars as input seems more than enough
4486 test $ac_count -gt 10 && break
4488 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4491 $ac_path_SED_found && break 3
4496 if test -z "$ac_cv_path_SED"; then
4497 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4505 $as_echo "$ac_cv_path_SED" >&6; }
4506 SED="$ac_cv_path_SED"
4509 test -z "$SED" && SED=sed
4510 Xsed="$SED -e 1s/^X//"
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4523 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4524 if test "${ac_cv_path_GREP+set}" = set; then :
4525 $as_echo_n "(cached) " >&6
4527 if test -z "$GREP"; then
4528 ac_path_GREP_found=false
4529 # Loop through the user's path and test for each of PROGNAME-LIST
4530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4534 test -z "$as_dir" && as_dir=.
4535 for ac_prog in grep ggrep; do
4536 for ac_exec_ext in '' $ac_executable_extensions; do
4537 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4538 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4539 # Check for GNU ac_path_GREP and select it if it is found.
4540 # Check for GNU $ac_path_GREP
4541 case `"$ac_path_GREP" --version 2>&1` in
4543 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4546 $as_echo_n 0123456789 >"conftest.in"
4549 cat "conftest.in" "conftest.in" >"conftest.tmp"
4550 mv "conftest.tmp" "conftest.in"
4551 cp "conftest.in" "conftest.nl"
4552 $as_echo 'GREP' >> "conftest.nl"
4553 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4554 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4555 as_fn_arith $ac_count + 1 && ac_count=$as_val
4556 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4557 # Best one so far, save it but keep looking for a better one
4558 ac_cv_path_GREP="$ac_path_GREP"
4559 ac_path_GREP_max=$ac_count
4561 # 10*(2^10) chars as input seems more than enough
4562 test $ac_count -gt 10 && break
4564 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4567 $ac_path_GREP_found && break 3
4572 if test -z "$ac_cv_path_GREP"; then
4573 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4576 ac_cv_path_GREP=$GREP
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4581 $as_echo "$ac_cv_path_GREP" >&6; }
4582 GREP="$ac_cv_path_GREP"
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4586 $as_echo_n "checking for egrep... " >&6; }
4587 if test "${ac_cv_path_EGREP+set}" = set; then :
4588 $as_echo_n "(cached) " >&6
4590 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4591 then ac_cv_path_EGREP="$GREP -E"
4593 if test -z "$EGREP"; then
4594 ac_path_EGREP_found=false
4595 # Loop through the user's path and test for each of PROGNAME-LIST
4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4600 test -z "$as_dir" && as_dir=.
4601 for ac_prog in egrep; do
4602 for ac_exec_ext in '' $ac_executable_extensions; do
4603 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4604 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4605 # Check for GNU ac_path_EGREP and select it if it is found.
4606 # Check for GNU $ac_path_EGREP
4607 case `"$ac_path_EGREP" --version 2>&1` in
4609 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4612 $as_echo_n 0123456789 >"conftest.in"
4615 cat "conftest.in" "conftest.in" >"conftest.tmp"
4616 mv "conftest.tmp" "conftest.in"
4617 cp "conftest.in" "conftest.nl"
4618 $as_echo 'EGREP' >> "conftest.nl"
4619 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4620 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4621 as_fn_arith $ac_count + 1 && ac_count=$as_val
4622 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4623 # Best one so far, save it but keep looking for a better one
4624 ac_cv_path_EGREP="$ac_path_EGREP"
4625 ac_path_EGREP_max=$ac_count
4627 # 10*(2^10) chars as input seems more than enough
4628 test $ac_count -gt 10 && break
4630 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4633 $ac_path_EGREP_found && break 3
4638 if test -z "$ac_cv_path_EGREP"; then
4639 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4642 ac_cv_path_EGREP=$EGREP
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4648 $as_echo "$ac_cv_path_EGREP" >&6; }
4649 EGREP="$ac_cv_path_EGREP"
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4653 $as_echo_n "checking for fgrep... " >&6; }
4654 if test "${ac_cv_path_FGREP+set}" = set; then :
4655 $as_echo_n "(cached) " >&6
4657 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4658 then ac_cv_path_FGREP="$GREP -F"
4660 if test -z "$FGREP"; then
4661 ac_path_FGREP_found=false
4662 # Loop through the user's path and test for each of PROGNAME-LIST
4663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4664 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4667 test -z "$as_dir" && as_dir=.
4668 for ac_prog in fgrep; do
4669 for ac_exec_ext in '' $ac_executable_extensions; do
4670 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4671 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4672 # Check for GNU ac_path_FGREP and select it if it is found.
4673 # Check for GNU $ac_path_FGREP
4674 case `"$ac_path_FGREP" --version 2>&1` in
4676 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4679 $as_echo_n 0123456789 >"conftest.in"
4682 cat "conftest.in" "conftest.in" >"conftest.tmp"
4683 mv "conftest.tmp" "conftest.in"
4684 cp "conftest.in" "conftest.nl"
4685 $as_echo 'FGREP' >> "conftest.nl"
4686 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4687 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4688 as_fn_arith $ac_count + 1 && ac_count=$as_val
4689 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4690 # Best one so far, save it but keep looking for a better one
4691 ac_cv_path_FGREP="$ac_path_FGREP"
4692 ac_path_FGREP_max=$ac_count
4694 # 10*(2^10) chars as input seems more than enough
4695 test $ac_count -gt 10 && break
4697 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4700 $ac_path_FGREP_found && break 3
4705 if test -z "$ac_cv_path_FGREP"; then
4706 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4709 ac_cv_path_FGREP=$FGREP
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4715 $as_echo "$ac_cv_path_FGREP" >&6; }
4716 FGREP="$ac_cv_path_FGREP"
4719 test -z "$GREP" && GREP=grep
4739 # Check whether --with-gnu-ld was given.
4740 if test "${with_gnu_ld+set}" = set; then :
4741 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4747 if test "$GCC" = yes; then
4748 # Check if gcc -print-prog-name=ld gives a path.
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4750 $as_echo_n "checking for ld used by $CC... " >&6; }
4753 # gcc leaves a trailing carriage return which upsets mingw
4754 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4756 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4759 # Accept absolute paths.
4761 re_direlt='/[^/][^/]*/\.\./'
4762 # Canonicalize the pathname of ld
4763 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4764 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4765 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4767 test -z "$LD" && LD="$ac_prog"
4770 # If it fails, then pretend we aren't using GCC.
4774 # If it is relative, then search for the first ld in PATH.
4778 elif test "$with_gnu_ld" = yes; then
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4780 $as_echo_n "checking for GNU ld... " >&6; }
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4783 $as_echo_n "checking for non-GNU ld... " >&6; }
4785 if test "${lt_cv_path_LD+set}" = set; then :
4786 $as_echo_n "(cached) " >&6
4788 if test -z "$LD"; then
4789 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4790 for ac_dir in $PATH; do
4792 test -z "$ac_dir" && ac_dir=.
4793 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4794 lt_cv_path_LD="$ac_dir/$ac_prog"
4795 # Check to see if the program is GNU ld. I'd rather use --version,
4796 # but apparently some variants of GNU ld only accept -v.
4797 # Break only if it was the GNU/non-GNU ld that we prefer.
4798 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4799 *GNU* | *'with BFD'*)
4800 test "$with_gnu_ld" != no && break
4803 test "$with_gnu_ld" != yes && break
4810 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4815 if test -n "$LD"; then
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4817 $as_echo "$LD" >&6; }
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 $as_echo "no" >&6; }
4822 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4824 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4825 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4826 $as_echo_n "(cached) " >&6
4828 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4829 case `$LD -v 2>&1 </dev/null` in
4830 *GNU* | *'with BFD'*)
4831 lt_cv_prog_gnu_ld=yes
4834 lt_cv_prog_gnu_ld=no
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4839 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4840 with_gnu_ld=$lt_cv_prog_gnu_ld
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4851 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4852 if test "${lt_cv_path_NM+set}" = set; then :
4853 $as_echo_n "(cached) " >&6
4855 if test -n "$NM"; then
4856 # Let the user override the test.
4859 lt_nm_to_check="${ac_tool_prefix}nm"
4860 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4861 lt_nm_to_check="$lt_nm_to_check nm"
4863 for lt_tmp_nm in $lt_nm_to_check; do
4864 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4865 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4867 test -z "$ac_dir" && ac_dir=.
4868 tmp_nm="$ac_dir/$lt_tmp_nm"
4869 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4870 # Check to see if the nm accepts a BSD-compat flag.
4871 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4872 # nm: unknown option "B" ignored
4873 # Tru64's nm complains that /dev/null is an invalid object file
4874 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4875 */dev/null* | *'Invalid file or object type'*)
4876 lt_cv_path_NM="$tmp_nm -B"
4880 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4882 lt_cv_path_NM="$tmp_nm -p"
4886 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4887 continue # so that we can try to find one that supports BSD flags
4896 : ${lt_cv_path_NM=no}
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4900 $as_echo "$lt_cv_path_NM" >&6; }
4901 if test "$lt_cv_path_NM" != "no"; then
4904 # Didn't find any BSD compatible name lister, look for dumpbin.
4905 if test -n "$ac_tool_prefix"; then
4906 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4908 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4909 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4911 $as_echo_n "checking for $ac_word... " >&6; }
4912 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4913 $as_echo_n "(cached) " >&6
4915 if test -n "$DUMPBIN"; then
4916 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4922 test -z "$as_dir" && as_dir=.
4923 for ac_exec_ext in '' $ac_executable_extensions; do
4924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4925 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4935 DUMPBIN=$ac_cv_prog_DUMPBIN
4936 if test -n "$DUMPBIN"; then
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4938 $as_echo "$DUMPBIN" >&6; }
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941 $as_echo "no" >&6; }
4945 test -n "$DUMPBIN" && break
4948 if test -z "$DUMPBIN"; then
4949 ac_ct_DUMPBIN=$DUMPBIN
4950 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4952 # Extract the first word of "$ac_prog", so it can be a program name with args.
4953 set dummy $ac_prog; ac_word=$2
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4955 $as_echo_n "checking for $ac_word... " >&6; }
4956 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4957 $as_echo_n "(cached) " >&6
4959 if test -n "$ac_ct_DUMPBIN"; then
4960 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4966 test -z "$as_dir" && as_dir=.
4967 for ac_exec_ext in '' $ac_executable_extensions; do
4968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4969 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4979 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4980 if test -n "$ac_ct_DUMPBIN"; then
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4982 $as_echo "$ac_ct_DUMPBIN" >&6; }
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4989 test -n "$ac_ct_DUMPBIN" && break
4992 if test "x$ac_ct_DUMPBIN" = x; then
4995 case $cross_compiling:$ac_tool_warned in
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4999 ac_tool_warned=yes ;;
5001 DUMPBIN=$ac_ct_DUMPBIN
5006 if test "$DUMPBIN" != ":"; then
5010 test -z "$NM" && NM=nm
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5018 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5019 if test "${lt_cv_nm_interface+set}" = set; then :
5020 $as_echo_n "(cached) " >&6
5022 lt_cv_nm_interface="BSD nm"
5023 echo "int some_variable = 0;" > conftest.$ac_ext
5024 (eval echo "\"\$as_me:5024: $ac_compile\"" >&5)
5025 (eval "$ac_compile" 2>conftest.err)
5026 cat conftest.err >&5
5027 (eval echo "\"\$as_me:5027: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5028 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5029 cat conftest.err >&5
5030 (eval echo "\"\$as_me:5030: output\"" >&5)
5031 cat conftest.out >&5
5032 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5033 lt_cv_nm_interface="MS dumpbin"
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5038 $as_echo "$lt_cv_nm_interface" >&6; }
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5041 $as_echo_n "checking whether ln -s works... " >&6; }
5043 if test "$LN_S" = "ln -s"; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5045 $as_echo "yes" >&6; }
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5048 $as_echo "no, using $LN_S" >&6; }
5051 # find the maximum length of command line arguments
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5053 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5054 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5055 $as_echo_n "(cached) " >&6
5062 # On DJGPP, this test can blow up pretty badly due to problems in libc
5063 # (any single argument exceeding 2000 bytes causes a buffer overrun
5064 # during glob expansion). Even if it were fixed, the result of this
5065 # check would be larger than it should be.
5066 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5070 # Under GNU Hurd, this test is not required because there is
5071 # no limit to the length of command line arguments.
5072 # Libtool will interpret -1 as no limit whatsoever
5073 lt_cv_sys_max_cmd_len=-1;
5076 cygwin* | mingw* | cegcc*)
5077 # On Win9x/ME, this test blows up -- it succeeds, but takes
5078 # about 5 minutes as the teststring grows exponentially.
5079 # Worse, since 9x/ME are not pre-emptively multitasking,
5080 # you end up with a "frozen" computer, even though with patience
5081 # the test eventually succeeds (with a max line length of 256k).
5082 # Instead, let's just punt: use the minimum linelength reported by
5083 # all of the supported platforms: 8192 (on NT/2K/XP).
5084 lt_cv_sys_max_cmd_len=8192;
5088 # On AmigaOS with pdksh, this test takes hours, literally.
5089 # So we just punt and use a minimum line length of 8192.
5090 lt_cv_sys_max_cmd_len=8192;
5093 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5094 # This has been around since 386BSD, at least. Likely further.
5095 if test -x /sbin/sysctl; then
5096 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5097 elif test -x /usr/sbin/sysctl; then
5098 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5100 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5102 # And add a safety zone
5103 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5104 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5108 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5109 lt_cv_sys_max_cmd_len=196608
5113 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5114 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5115 # nice to cause kernel panics so lets avoid the loop below.
5116 # First set a reasonable default.
5117 lt_cv_sys_max_cmd_len=16384
5119 if test -x /sbin/sysconfig; then
5120 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5121 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5126 lt_cv_sys_max_cmd_len=102400
5128 sysv5* | sco5v6* | sysv4.2uw2*)
5129 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5130 if test -n "$kargmax"; then
5131 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5133 lt_cv_sys_max_cmd_len=32768
5137 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5138 if test -n "$lt_cv_sys_max_cmd_len"; then
5139 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5140 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5142 # Make teststring a little bigger before we do anything with it.
5143 # a 1K string should be a reasonable start.
5144 for i in 1 2 3 4 5 6 7 8 ; do
5145 teststring=$teststring$teststring
5147 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5148 # If test is not a shell built-in, we'll probably end up computing a
5149 # maximum length that is only half of the actual maximum length, but
5151 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5152 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5153 test $i != 17 # 1/2 MB should be enough
5156 teststring=$teststring$teststring
5158 # Only check the string length outside the loop.
5159 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5161 # Add a significant safety factor because C++ compilers can tack on
5162 # massive amounts of additional arguments before passing them to the
5163 # linker. It appears as though 1/2 is a usable value.
5164 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5171 if test -n $lt_cv_sys_max_cmd_len ; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5173 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5176 $as_echo "none" >&6; }
5178 max_cmd_len=$lt_cv_sys_max_cmd_len
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5190 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5191 # Try some XSI features
5194 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5196 && eval 'test $(( 1 + 1 )) -eq 2 \
5197 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5200 $as_echo "$xsi_shell" >&6; }
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5204 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5206 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5208 && lt_shell_append=yes
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5210 $as_echo "$lt_shell_append" >&6; }
5213 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5223 # test EBCDIC or ASCII
5224 case `echo X|tr X '\101'` in
5225 A) # ASCII based system
5226 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5227 lt_SP2NL='tr \040 \012'
5228 lt_NL2SP='tr \015\012 \040\040'
5230 *) # EBCDIC based system
5231 lt_SP2NL='tr \100 \n'
5232 lt_NL2SP='tr \r\n \100\100'
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5245 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5246 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5247 $as_echo_n "(cached) " >&6
5249 lt_cv_ld_reload_flag='-r'
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5252 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5253 reload_flag=$lt_cv_ld_reload_flag
5254 case $reload_flag in
5256 *) reload_flag=" $reload_flag" ;;
5258 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5261 if test "$GCC" = yes; then
5262 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5264 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5277 if test -n "$ac_tool_prefix"; then
5278 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5279 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5281 $as_echo_n "checking for $ac_word... " >&6; }
5282 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5283 $as_echo_n "(cached) " >&6
5285 if test -n "$OBJDUMP"; then
5286 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292 test -z "$as_dir" && as_dir=.
5293 for ac_exec_ext in '' $ac_executable_extensions; do
5294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5295 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5305 OBJDUMP=$ac_cv_prog_OBJDUMP
5306 if test -n "$OBJDUMP"; then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5308 $as_echo "$OBJDUMP" >&6; }
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5311 $as_echo "no" >&6; }
5316 if test -z "$ac_cv_prog_OBJDUMP"; then
5317 ac_ct_OBJDUMP=$OBJDUMP
5318 # Extract the first word of "objdump", so it can be a program name with args.
5319 set dummy objdump; ac_word=$2
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5321 $as_echo_n "checking for $ac_word... " >&6; }
5322 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5323 $as_echo_n "(cached) " >&6
5325 if test -n "$ac_ct_OBJDUMP"; then
5326 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5332 test -z "$as_dir" && as_dir=.
5333 for ac_exec_ext in '' $ac_executable_extensions; do
5334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5335 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5345 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5346 if test -n "$ac_ct_OBJDUMP"; then
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5348 $as_echo "$ac_ct_OBJDUMP" >&6; }
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5351 $as_echo "no" >&6; }
5354 if test "x$ac_ct_OBJDUMP" = x; then
5357 case $cross_compiling:$ac_tool_warned in
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5361 ac_tool_warned=yes ;;
5363 OBJDUMP=$ac_ct_OBJDUMP
5366 OBJDUMP="$ac_cv_prog_OBJDUMP"
5369 test -z "$OBJDUMP" && OBJDUMP=objdump
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5377 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5378 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5379 $as_echo_n "(cached) " >&6
5381 lt_cv_file_magic_cmd='$MAGIC_CMD'
5382 lt_cv_file_magic_test_file=
5383 lt_cv_deplibs_check_method='unknown'
5384 # Need to set the preceding variable on all platforms that support
5385 # interlibrary dependencies.
5386 # 'none' -- dependencies not supported.
5387 # `unknown' -- same as none, but documents that we really don't know.
5388 # 'pass_all' -- all dependencies passed with no checks.
5389 # 'test_compile' -- check by making test program.
5390 # 'file_magic [[regex]]' -- check by looking for files in library path
5391 # which responds to the $file_magic_cmd with a given extended regex.
5392 # If you have `file' or equivalent on your system and you're not sure
5393 # whether `pass_all' will *always* work, you probably want this one.
5397 lt_cv_deplibs_check_method=pass_all
5401 lt_cv_deplibs_check_method=pass_all
5405 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5406 lt_cv_file_magic_cmd='/usr/bin/file -L'
5407 lt_cv_file_magic_test_file=/shlib/libc.so
5411 # func_win32_libid is a shell function defined in ltmain.sh
5412 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5413 lt_cv_file_magic_cmd='func_win32_libid'
5417 # Base MSYS/MinGW do not provide the 'file' command needed by
5418 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5419 # unless we find 'file', for example because we are cross-compiling.
5420 if ( file / ) >/dev/null 2>&1; then
5421 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5422 lt_cv_file_magic_cmd='func_win32_libid'
5424 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5425 lt_cv_file_magic_cmd='$OBJDUMP -f'
5430 # use the weaker test based on 'objdump'. See mingw*.
5431 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5432 lt_cv_file_magic_cmd='$OBJDUMP -f'
5435 darwin* | rhapsody*)
5436 lt_cv_deplibs_check_method=pass_all
5439 freebsd* | dragonfly*)
5440 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5443 # Not sure whether the presence of OpenBSD here was a mistake.
5444 # Let's accept both of them until this is cleared up.
5445 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5446 lt_cv_file_magic_cmd=/usr/bin/file
5447 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5451 lt_cv_deplibs_check_method=pass_all
5456 lt_cv_deplibs_check_method=pass_all
5459 hpux10.20* | hpux11*)
5460 lt_cv_file_magic_cmd=/usr/bin/file
5463 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5464 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5467 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5468 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5471 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5472 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5478 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5479 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5482 irix5* | irix6* | nonstopux*)
5484 *-32|*"-32 ") libmagic=32-bit;;
5485 *-n32|*"-n32 ") libmagic=N32;;
5486 *-64|*"-64 ") libmagic=64-bit;;
5487 *) libmagic=never-match;;
5489 lt_cv_deplibs_check_method=pass_all
5492 # This must be Linux ELF.
5493 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5494 lt_cv_deplibs_check_method=pass_all
5497 netbsd* | netbsdelf*-gnu)
5498 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5499 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5501 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5506 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5507 lt_cv_file_magic_cmd=/usr/bin/file
5508 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5512 lt_cv_deplibs_check_method=pass_all
5516 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5517 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5519 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5523 osf3* | osf4* | osf5*)
5524 lt_cv_deplibs_check_method=pass_all
5528 lt_cv_deplibs_check_method=pass_all
5532 lt_cv_deplibs_check_method=pass_all
5535 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5536 lt_cv_deplibs_check_method=pass_all
5540 case $host_vendor in
5542 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]'
5543 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5546 lt_cv_deplibs_check_method=pass_all
5549 lt_cv_file_magic_cmd='/bin/file'
5550 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5553 lt_cv_file_magic_cmd='/bin/file'
5554 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5555 lt_cv_file_magic_test_file=/lib/libc.so
5558 lt_cv_deplibs_check_method=pass_all
5561 lt_cv_deplibs_check_method=pass_all
5567 lt_cv_deplibs_check_method=pass_all
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5573 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5574 file_magic_cmd=$lt_cv_file_magic_cmd
5575 deplibs_check_method=$lt_cv_deplibs_check_method
5576 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5589 if test -n "$ac_tool_prefix"; then
5590 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5591 set dummy ${ac_tool_prefix}ar; ac_word=$2
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5593 $as_echo_n "checking for $ac_word... " >&6; }
5594 if test "${ac_cv_prog_AR+set}" = set; then :
5595 $as_echo_n "(cached) " >&6
5597 if test -n "$AR"; then
5598 ac_cv_prog_AR="$AR" # Let the user override the test.
5600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5604 test -z "$as_dir" && as_dir=.
5605 for ac_exec_ext in '' $ac_executable_extensions; do
5606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5607 ac_cv_prog_AR="${ac_tool_prefix}ar"
5608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5618 if test -n "$AR"; then
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5620 $as_echo "$AR" >&6; }
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5623 $as_echo "no" >&6; }
5628 if test -z "$ac_cv_prog_AR"; then
5630 # Extract the first word of "ar", so it can be a program name with args.
5631 set dummy ar; ac_word=$2
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5633 $as_echo_n "checking for $ac_word... " >&6; }
5634 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5635 $as_echo_n "(cached) " >&6
5637 if test -n "$ac_ct_AR"; then
5638 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5644 test -z "$as_dir" && as_dir=.
5645 for ac_exec_ext in '' $ac_executable_extensions; do
5646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5647 ac_cv_prog_ac_ct_AR="ar"
5648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5657 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5658 if test -n "$ac_ct_AR"; then
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5660 $as_echo "$ac_ct_AR" >&6; }
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5663 $as_echo "no" >&6; }
5666 if test "x$ac_ct_AR" = x; then
5669 case $cross_compiling:$ac_tool_warned in
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5673 ac_tool_warned=yes ;;
5681 test -z "$AR" && AR=ar
5682 test -z "$AR_FLAGS" && AR_FLAGS=cru
5694 if test -n "$ac_tool_prefix"; then
5695 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5696 set dummy ${ac_tool_prefix}strip; ac_word=$2
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5698 $as_echo_n "checking for $ac_word... " >&6; }
5699 if test "${ac_cv_prog_STRIP+set}" = set; then :
5700 $as_echo_n "(cached) " >&6
5702 if test -n "$STRIP"; then
5703 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5709 test -z "$as_dir" && as_dir=.
5710 for ac_exec_ext in '' $ac_executable_extensions; do
5711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5712 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5722 STRIP=$ac_cv_prog_STRIP
5723 if test -n "$STRIP"; then
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5725 $as_echo "$STRIP" >&6; }
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 $as_echo "no" >&6; }
5733 if test -z "$ac_cv_prog_STRIP"; then
5735 # Extract the first word of "strip", so it can be a program name with args.
5736 set dummy strip; ac_word=$2
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5738 $as_echo_n "checking for $ac_word... " >&6; }
5739 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5740 $as_echo_n "(cached) " >&6
5742 if test -n "$ac_ct_STRIP"; then
5743 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5749 test -z "$as_dir" && as_dir=.
5750 for ac_exec_ext in '' $ac_executable_extensions; do
5751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5752 ac_cv_prog_ac_ct_STRIP="strip"
5753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5762 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5763 if test -n "$ac_ct_STRIP"; then
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5765 $as_echo "$ac_ct_STRIP" >&6; }
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5768 $as_echo "no" >&6; }
5771 if test "x$ac_ct_STRIP" = x; then
5774 case $cross_compiling:$ac_tool_warned in
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5778 ac_tool_warned=yes ;;
5783 STRIP="$ac_cv_prog_STRIP"
5786 test -z "$STRIP" && STRIP=:
5793 if test -n "$ac_tool_prefix"; then
5794 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5795 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5799 $as_echo_n "(cached) " >&6
5801 if test -n "$RANLIB"; then
5802 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5808 test -z "$as_dir" && as_dir=.
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5811 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5821 RANLIB=$ac_cv_prog_RANLIB
5822 if test -n "$RANLIB"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5824 $as_echo "$RANLIB" >&6; }
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5832 if test -z "$ac_cv_prog_RANLIB"; then
5833 ac_ct_RANLIB=$RANLIB
5834 # Extract the first word of "ranlib", so it can be a program name with args.
5835 set dummy ranlib; ac_word=$2
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5837 $as_echo_n "checking for $ac_word... " >&6; }
5838 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5839 $as_echo_n "(cached) " >&6
5841 if test -n "$ac_ct_RANLIB"; then
5842 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5848 test -z "$as_dir" && as_dir=.
5849 for ac_exec_ext in '' $ac_executable_extensions; do
5850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5851 ac_cv_prog_ac_ct_RANLIB="ranlib"
5852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5861 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5862 if test -n "$ac_ct_RANLIB"; then
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5864 $as_echo "$ac_ct_RANLIB" >&6; }
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5870 if test "x$ac_ct_RANLIB" = x; then
5873 case $cross_compiling:$ac_tool_warned in
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5877 ac_tool_warned=yes ;;
5879 RANLIB=$ac_ct_RANLIB
5882 RANLIB="$ac_cv_prog_RANLIB"
5885 test -z "$RANLIB" && RANLIB=:
5892 # Determine commands to create old-style static archives.
5893 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5894 old_postinstall_cmds='chmod 644 $oldlib'
5895 old_postuninstall_cmds=
5897 if test -n "$RANLIB"; then
5900 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5903 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5906 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5942 # If no C compiler was specified, use CC.
5945 # If no C compiler flags were specified, use CFLAGS.
5946 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5948 # Allow CC to be a program name with arguments.
5952 # Check for command to grab the raw symbol name followed by C symbol from nm.
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5954 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5955 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5956 $as_echo_n "(cached) " >&6
5959 # These are sane defaults that work on at least a few old systems.
5960 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5962 # Character class describing NM global symbol codes.
5963 symcode='[BCDEGRST]'
5965 # Regexp to match symbols that can be accessed directly from C.
5966 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5968 # Define system-specific variables.
5973 cygwin* | mingw* | pw32* | cegcc*)
5974 symcode='[ABCDGISTW]'
5977 if test "$host_cpu" = ia64; then
5978 symcode='[ABCDEGRST]'
5982 symcode='[BCDEGRST]'
5985 symcode='[BCDEGQRST]'
5996 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6004 # If we're using GNU nm, then use its standard symbol codes.
6005 case `$NM -V 2>&1` in
6006 *GNU* | *'with BFD'*)
6007 symcode='[ABCDGIRSTW]' ;;
6010 # Transform an extracted symbol line into a proper C declaration.
6011 # Some systems (esp. on ia64) link data and code symbols differently,
6012 # so use this general approach.
6013 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6015 # Transform an extracted symbol line into symbol name and symbol address
6016 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6017 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'"
6019 # Handle CRLF in mingw tool chain
6023 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6027 # Try without a prefix underscore, then with it.
6028 for ac_symprfx in "" "_"; do
6030 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6031 symxfrm="\\1 $ac_symprfx\\2 \\2"
6033 # Write the raw and C identifiers.
6034 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6035 # Fake it for dumpbin and say T for any non-static function
6036 # and D for any global variable.
6037 # Also find C++ and __fastcall symbols from MSVC++,
6038 # which start with @ or ?.
6039 lt_cv_sys_global_symbol_pipe="$AWK '"\
6040 " {last_section=section; section=\$ 3};"\
6041 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6042 " \$ 0!~/External *\|/{next};"\
6043 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6044 " {if(hide[section]) next};"\
6045 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6046 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6047 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6048 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6049 " ' prfx=^$ac_symprfx"
6051 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6054 # Check to see that the pipe works correctly.
6058 cat > conftest.$ac_ext <<_LT_EOF
6063 void nm_test_func(void);
6064 void nm_test_func(void){}
6068 int main(){nm_test_var='a';nm_test_func();return(0);}
6071 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6072 (eval $ac_compile) 2>&5
6074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6075 test $ac_status = 0; }; then
6076 # Now try to grab the symbols.
6078 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6079 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6082 test $ac_status = 0; } && test -s "$nlist"; then
6083 # Try sorting and uniquifying the output.
6084 if sort "$nlist" | uniq > "$nlist"T; then
6085 mv -f "$nlist"T "$nlist"
6090 # Make sure that we snagged all the symbols we need.
6091 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6092 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6093 cat <<_LT_EOF > conftest.$ac_ext
6099 # Now generate the symbol file.
6100 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6102 cat <<_LT_EOF >> conftest.$ac_ext
6104 /* The mapping between symbol names and symbols. */
6109 lt__PROGRAM__LTX_preloaded_symbols[] =
6111 { "@PROGRAM@", (void *) 0 },
6113 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6114 cat <<\_LT_EOF >> conftest.$ac_ext
6118 /* This works around a problem in FreeBSD linker */
6119 #ifdef FREEBSD_WORKAROUND
6120 static const void *lt_preloaded_setup() {
6121 return lt__PROGRAM__LTX_preloaded_symbols;
6129 # Now try linking the two files.
6130 mv conftest.$ac_objext conftstm.$ac_objext
6131 lt_save_LIBS="$LIBS"
6132 lt_save_CFLAGS="$CFLAGS"
6133 LIBS="conftstm.$ac_objext"
6134 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6135 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6136 (eval $ac_link) 2>&5
6138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6139 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6142 LIBS="$lt_save_LIBS"
6143 CFLAGS="$lt_save_CFLAGS"
6145 echo "cannot find nm_test_func in $nlist" >&5
6148 echo "cannot find nm_test_var in $nlist" >&5
6151 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6154 echo "$progname: failed program was:" >&5
6155 cat conftest.$ac_ext >&5
6157 rm -rf conftest* conftst*
6159 # Do not use the global_symbol_pipe unless it works.
6160 if test "$pipe_works" = yes; then
6163 lt_cv_sys_global_symbol_pipe=
6169 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6170 lt_cv_sys_global_symbol_to_cdecl=
6172 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6174 $as_echo "failed" >&6; }
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6177 $as_echo "ok" >&6; }
6201 # Check whether --enable-libtool-lock was given.
6202 if test "${enable_libtool_lock+set}" = set; then :
6203 enableval=$enable_libtool_lock;
6206 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6208 # Some flags need to be propagated to the compiler or linker for good
6212 # Find out which ABI we are using.
6213 echo 'int i;' > conftest.$ac_ext
6214 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6215 (eval $ac_compile) 2>&5
6217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6218 test $ac_status = 0; }; then
6219 case `/usr/bin/file conftest.$ac_objext` in
6231 # Find out which ABI we are using.
6232 echo '#line 6232 "configure"' > conftest.$ac_ext
6233 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6234 (eval $ac_compile) 2>&5
6236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6237 test $ac_status = 0; }; then
6238 if test "$lt_cv_prog_gnu_ld" = yes; then
6239 case `/usr/bin/file conftest.$ac_objext` in
6241 LD="${LD-ld} -melf32bsmip"
6244 LD="${LD-ld} -melf32bmipn32"
6247 LD="${LD-ld} -melf64bmip"
6251 case `/usr/bin/file conftest.$ac_objext` in
6267 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6268 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6269 # Find out which ABI we are using.
6270 echo 'int i;' > conftest.$ac_ext
6271 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6272 (eval $ac_compile) 2>&5
6274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6275 test $ac_status = 0; }; then
6276 case `/usr/bin/file conftest.o` in
6279 x86_64-*kfreebsd*-gnu)
6280 LD="${LD-ld} -m elf_i386_fbsd"
6283 LD="${LD-ld} -m elf_i386"
6285 ppc64-*linux*|powerpc64-*linux*)
6286 LD="${LD-ld} -m elf32ppclinux"
6289 LD="${LD-ld} -m elf_s390"
6292 LD="${LD-ld} -m elf32_sparc"
6298 x86_64-*kfreebsd*-gnu)
6299 LD="${LD-ld} -m elf_x86_64_fbsd"
6302 LD="${LD-ld} -m elf_x86_64"
6304 ppc*-*linux*|powerpc*-*linux*)
6305 LD="${LD-ld} -m elf64ppc"
6307 s390*-*linux*|s390*-*tpf*)
6308 LD="${LD-ld} -m elf64_s390"
6311 LD="${LD-ld} -m elf64_sparc"
6321 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6322 SAVE_CFLAGS="$CFLAGS"
6323 CFLAGS="$CFLAGS -belf"
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6325 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6326 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6327 $as_echo_n "(cached) " >&6
6330 ac_cpp='$CPP $CPPFLAGS'
6331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6336 /* end confdefs.h. */
6346 if ac_fn_c_try_link "$LINENO"; then :
6347 lt_cv_cc_needs_belf=yes
6349 lt_cv_cc_needs_belf=no
6351 rm -f core conftest.err conftest.$ac_objext \
6352 conftest$ac_exeext conftest.$ac_ext
6354 ac_cpp='$CPP $CPPFLAGS'
6355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6361 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6362 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6363 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6364 CFLAGS="$SAVE_CFLAGS"
6368 # Find out which ABI we are using.
6369 echo 'int i;' > conftest.$ac_ext
6370 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6371 (eval $ac_compile) 2>&5
6373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6374 test $ac_status = 0; }; then
6375 case `/usr/bin/file conftest.o` in
6377 case $lt_cv_prog_gnu_ld in
6378 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6380 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6392 need_locks="$enable_libtool_lock"
6396 rhapsody* | darwin*)
6397 if test -n "$ac_tool_prefix"; then
6398 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6399 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6401 $as_echo_n "checking for $ac_word... " >&6; }
6402 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6403 $as_echo_n "(cached) " >&6
6405 if test -n "$DSYMUTIL"; then
6406 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6412 test -z "$as_dir" && as_dir=.
6413 for ac_exec_ext in '' $ac_executable_extensions; do
6414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6415 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6425 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6426 if test -n "$DSYMUTIL"; then
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6428 $as_echo "$DSYMUTIL" >&6; }
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6431 $as_echo "no" >&6; }
6436 if test -z "$ac_cv_prog_DSYMUTIL"; then
6437 ac_ct_DSYMUTIL=$DSYMUTIL
6438 # Extract the first word of "dsymutil", so it can be a program name with args.
6439 set dummy dsymutil; ac_word=$2
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6441 $as_echo_n "checking for $ac_word... " >&6; }
6442 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6443 $as_echo_n "(cached) " >&6
6445 if test -n "$ac_ct_DSYMUTIL"; then
6446 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6452 test -z "$as_dir" && as_dir=.
6453 for ac_exec_ext in '' $ac_executable_extensions; do
6454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6455 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6465 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6466 if test -n "$ac_ct_DSYMUTIL"; then
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6468 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6471 $as_echo "no" >&6; }
6474 if test "x$ac_ct_DSYMUTIL" = x; then
6477 case $cross_compiling:$ac_tool_warned in
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6481 ac_tool_warned=yes ;;
6483 DSYMUTIL=$ac_ct_DSYMUTIL
6486 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6489 if test -n "$ac_tool_prefix"; then
6490 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6491 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6493 $as_echo_n "checking for $ac_word... " >&6; }
6494 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6495 $as_echo_n "(cached) " >&6
6497 if test -n "$NMEDIT"; then
6498 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6504 test -z "$as_dir" && as_dir=.
6505 for ac_exec_ext in '' $ac_executable_extensions; do
6506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6507 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6517 NMEDIT=$ac_cv_prog_NMEDIT
6518 if test -n "$NMEDIT"; then
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6520 $as_echo "$NMEDIT" >&6; }
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6523 $as_echo "no" >&6; }
6528 if test -z "$ac_cv_prog_NMEDIT"; then
6529 ac_ct_NMEDIT=$NMEDIT
6530 # Extract the first word of "nmedit", so it can be a program name with args.
6531 set dummy nmedit; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533 $as_echo_n "checking for $ac_word... " >&6; }
6534 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6535 $as_echo_n "(cached) " >&6
6537 if test -n "$ac_ct_NMEDIT"; then
6538 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6544 test -z "$as_dir" && as_dir=.
6545 for ac_exec_ext in '' $ac_executable_extensions; do
6546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6557 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6558 if test -n "$ac_ct_NMEDIT"; then
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6560 $as_echo "$ac_ct_NMEDIT" >&6; }
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563 $as_echo "no" >&6; }
6566 if test "x$ac_ct_NMEDIT" = x; then
6569 case $cross_compiling:$ac_tool_warned in
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6573 ac_tool_warned=yes ;;
6575 NMEDIT=$ac_ct_NMEDIT
6578 NMEDIT="$ac_cv_prog_NMEDIT"
6581 if test -n "$ac_tool_prefix"; then
6582 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6583 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6585 $as_echo_n "checking for $ac_word... " >&6; }
6586 if test "${ac_cv_prog_LIPO+set}" = set; then :
6587 $as_echo_n "(cached) " >&6
6589 if test -n "$LIPO"; then
6590 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6596 test -z "$as_dir" && as_dir=.
6597 for ac_exec_ext in '' $ac_executable_extensions; do
6598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6599 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6609 LIPO=$ac_cv_prog_LIPO
6610 if test -n "$LIPO"; then
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6612 $as_echo "$LIPO" >&6; }
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6615 $as_echo "no" >&6; }
6620 if test -z "$ac_cv_prog_LIPO"; then
6622 # Extract the first word of "lipo", so it can be a program name with args.
6623 set dummy lipo; ac_word=$2
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6625 $as_echo_n "checking for $ac_word... " >&6; }
6626 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6627 $as_echo_n "(cached) " >&6
6629 if test -n "$ac_ct_LIPO"; then
6630 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6636 test -z "$as_dir" && as_dir=.
6637 for ac_exec_ext in '' $ac_executable_extensions; do
6638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6639 ac_cv_prog_ac_ct_LIPO="lipo"
6640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6649 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6650 if test -n "$ac_ct_LIPO"; then
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6652 $as_echo "$ac_ct_LIPO" >&6; }
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6655 $as_echo "no" >&6; }
6658 if test "x$ac_ct_LIPO" = x; then
6661 case $cross_compiling:$ac_tool_warned in
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6665 ac_tool_warned=yes ;;
6670 LIPO="$ac_cv_prog_LIPO"
6673 if test -n "$ac_tool_prefix"; then
6674 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6675 set dummy ${ac_tool_prefix}otool; ac_word=$2
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6677 $as_echo_n "checking for $ac_word... " >&6; }
6678 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6679 $as_echo_n "(cached) " >&6
6681 if test -n "$OTOOL"; then
6682 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6688 test -z "$as_dir" && as_dir=.
6689 for ac_exec_ext in '' $ac_executable_extensions; do
6690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6691 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6701 OTOOL=$ac_cv_prog_OTOOL
6702 if test -n "$OTOOL"; then
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6704 $as_echo "$OTOOL" >&6; }
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6707 $as_echo "no" >&6; }
6712 if test -z "$ac_cv_prog_OTOOL"; then
6714 # Extract the first word of "otool", so it can be a program name with args.
6715 set dummy otool; ac_word=$2
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6717 $as_echo_n "checking for $ac_word... " >&6; }
6718 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6719 $as_echo_n "(cached) " >&6
6721 if test -n "$ac_ct_OTOOL"; then
6722 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6728 test -z "$as_dir" && as_dir=.
6729 for ac_exec_ext in '' $ac_executable_extensions; do
6730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6731 ac_cv_prog_ac_ct_OTOOL="otool"
6732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6741 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6742 if test -n "$ac_ct_OTOOL"; then
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6744 $as_echo "$ac_ct_OTOOL" >&6; }
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6747 $as_echo "no" >&6; }
6750 if test "x$ac_ct_OTOOL" = x; then
6753 case $cross_compiling:$ac_tool_warned in
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6757 ac_tool_warned=yes ;;
6762 OTOOL="$ac_cv_prog_OTOOL"
6765 if test -n "$ac_tool_prefix"; then
6766 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6767 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6769 $as_echo_n "checking for $ac_word... " >&6; }
6770 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6771 $as_echo_n "(cached) " >&6
6773 if test -n "$OTOOL64"; then
6774 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6780 test -z "$as_dir" && as_dir=.
6781 for ac_exec_ext in '' $ac_executable_extensions; do
6782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6783 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6793 OTOOL64=$ac_cv_prog_OTOOL64
6794 if test -n "$OTOOL64"; then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6796 $as_echo "$OTOOL64" >&6; }
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6799 $as_echo "no" >&6; }
6804 if test -z "$ac_cv_prog_OTOOL64"; then
6805 ac_ct_OTOOL64=$OTOOL64
6806 # Extract the first word of "otool64", so it can be a program name with args.
6807 set dummy otool64; ac_word=$2
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6809 $as_echo_n "checking for $ac_word... " >&6; }
6810 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6811 $as_echo_n "(cached) " >&6
6813 if test -n "$ac_ct_OTOOL64"; then
6814 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6820 test -z "$as_dir" && as_dir=.
6821 for ac_exec_ext in '' $ac_executable_extensions; do
6822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6823 ac_cv_prog_ac_ct_OTOOL64="otool64"
6824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6833 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6834 if test -n "$ac_ct_OTOOL64"; then
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6836 $as_echo "$ac_ct_OTOOL64" >&6; }
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6839 $as_echo "no" >&6; }
6842 if test "x$ac_ct_OTOOL64" = x; then
6845 case $cross_compiling:$ac_tool_warned in
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6849 ac_tool_warned=yes ;;
6851 OTOOL64=$ac_ct_OTOOL64
6854 OTOOL64="$ac_cv_prog_OTOOL64"
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6884 $as_echo_n "checking for -single_module linker flag... " >&6; }
6885 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6886 $as_echo_n "(cached) " >&6
6888 lt_cv_apple_cc_single_mod=no
6889 if test -z "${LT_MULTI_MODULE}"; then
6890 # By default we will add the -single_module flag. You can override
6891 # by either setting the environment variable LT_MULTI_MODULE
6892 # non-empty at configure time, or by adding -multi_module to the
6894 rm -rf libconftest.dylib*
6895 echo "int foo(void){return 1;}" > conftest.c
6896 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6897 -dynamiclib -Wl,-single_module conftest.c" >&5
6898 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6899 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6901 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6902 lt_cv_apple_cc_single_mod=yes
6904 cat conftest.err >&5
6906 rm -rf libconftest.dylib*
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6911 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6913 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6914 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6915 $as_echo_n "(cached) " >&6
6917 lt_cv_ld_exported_symbols_list=no
6918 save_LDFLAGS=$LDFLAGS
6919 echo "_main" > conftest.sym
6920 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6922 /* end confdefs.h. */
6932 if ac_fn_c_try_link "$LINENO"; then :
6933 lt_cv_ld_exported_symbols_list=yes
6935 lt_cv_ld_exported_symbols_list=no
6937 rm -f core conftest.err conftest.$ac_objext \
6938 conftest$ac_exeext conftest.$ac_ext
6939 LDFLAGS="$save_LDFLAGS"
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6943 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6945 rhapsody* | darwin1.[012])
6946 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6948 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6949 darwin*) # darwin 5.x on
6950 # if running on 10.5 or later, the deployment target defaults
6951 # to the OS version, if on x86, and 10.4, the deployment
6952 # target defaults to 10.4. Don't you love it?
6953 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6954 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6955 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6957 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6959 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6963 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6964 _lt_dar_single_mod='$single_module'
6966 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6967 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6969 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6971 if test "$DSYMUTIL" != ":"; then
6972 _lt_dsymutil='~$DSYMUTIL $lib || :'
6980 ac_cpp='$CPP $CPPFLAGS'
6981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6985 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6986 # On Suns, sometimes $CPP names a directory.
6987 if test -n "$CPP" && test -d "$CPP"; then
6990 if test -z "$CPP"; then
6991 if test "${ac_cv_prog_CPP+set}" = set; then :
6992 $as_echo_n "(cached) " >&6
6994 # Double quotes because CPP needs to be expanded
6995 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6998 for ac_c_preproc_warn_flag in '' yes
7000 # Use a header file that comes with gcc, so configuring glibc
7001 # with a fresh cross-compiler works.
7002 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7003 # <limits.h> exists even on freestanding compilers.
7004 # On the NeXT, cc -E runs the code through the compiler's parser,
7005 # not just through cpp. "Syntax error" is here to catch this case.
7006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7007 /* end confdefs.h. */
7009 # include <limits.h>
7011 # include <assert.h>
7015 if ac_fn_c_try_cpp "$LINENO"; then :
7018 # Broken: fails on valid input.
7021 rm -f conftest.err conftest.i conftest.$ac_ext
7023 # OK, works on sane cases. Now check whether nonexistent headers
7024 # can be detected and how.
7025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7026 /* end confdefs.h. */
7027 #include <ac_nonexistent.h>
7029 if ac_fn_c_try_cpp "$LINENO"; then :
7030 # Broken: success on invalid input.
7033 # Passes both tests.
7037 rm -f conftest.err conftest.i conftest.$ac_ext
7040 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7041 rm -f conftest.i conftest.err conftest.$ac_ext
7042 if $ac_preproc_ok; then :
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7055 $as_echo "$CPP" >&6; }
7057 for ac_c_preproc_warn_flag in '' yes
7059 # Use a header file that comes with gcc, so configuring glibc
7060 # with a fresh cross-compiler works.
7061 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7062 # <limits.h> exists even on freestanding compilers.
7063 # On the NeXT, cc -E runs the code through the compiler's parser,
7064 # not just through cpp. "Syntax error" is here to catch this case.
7065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7066 /* end confdefs.h. */
7068 # include <limits.h>
7070 # include <assert.h>
7074 if ac_fn_c_try_cpp "$LINENO"; then :
7077 # Broken: fails on valid input.
7080 rm -f conftest.err conftest.i conftest.$ac_ext
7082 # OK, works on sane cases. Now check whether nonexistent headers
7083 # can be detected and how.
7084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7085 /* end confdefs.h. */
7086 #include <ac_nonexistent.h>
7088 if ac_fn_c_try_cpp "$LINENO"; then :
7089 # Broken: success on invalid input.
7092 # Passes both tests.
7096 rm -f conftest.err conftest.i conftest.$ac_ext
7099 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7100 rm -f conftest.i conftest.err conftest.$ac_ext
7101 if $ac_preproc_ok; then :
7104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7106 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7107 See \`config.log' for more details" "$LINENO" 5 ; }
7111 ac_cpp='$CPP $CPPFLAGS'
7112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7118 $as_echo_n "checking for ANSI C header files... " >&6; }
7119 if test "${ac_cv_header_stdc+set}" = set; then :
7120 $as_echo_n "(cached) " >&6
7122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7123 /* end confdefs.h. */
7137 if ac_fn_c_try_compile "$LINENO"; then :
7138 ac_cv_header_stdc=yes
7140 ac_cv_header_stdc=no
7142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7144 if test $ac_cv_header_stdc = yes; then
7145 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7147 /* end confdefs.h. */
7151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7152 $EGREP "memchr" >/dev/null 2>&1; then :
7155 ac_cv_header_stdc=no
7161 if test $ac_cv_header_stdc = yes; then
7162 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7164 /* end confdefs.h. */
7168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7169 $EGREP "free" >/dev/null 2>&1; then :
7172 ac_cv_header_stdc=no
7178 if test $ac_cv_header_stdc = yes; then
7179 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7180 if test "$cross_compiling" = yes; then :
7183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7184 /* end confdefs.h. */
7187 #if ((' ' & 0x0FF) == 0x020)
7188 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7189 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7191 # define ISLOWER(c) \
7192 (('a' <= (c) && (c) <= 'i') \
7193 || ('j' <= (c) && (c) <= 'r') \
7194 || ('s' <= (c) && (c) <= 'z'))
7195 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7198 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7203 for (i = 0; i < 256; i++)
7204 if (XOR (islower (i), ISLOWER (i))
7205 || toupper (i) != TOUPPER (i))
7210 if ac_fn_c_try_run "$LINENO"; then :
7213 ac_cv_header_stdc=no
7215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7216 conftest.$ac_objext conftest.beam conftest.$ac_ext
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7222 $as_echo "$ac_cv_header_stdc" >&6; }
7223 if test $ac_cv_header_stdc = yes; then
7225 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7229 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7230 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7231 inttypes.h stdint.h unistd.h
7233 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7234 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7236 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7237 cat >>confdefs.h <<_ACEOF
7238 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7246 for ac_header in dlfcn.h
7248 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7250 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7251 cat >>confdefs.h <<_ACEOF
7252 #define HAVE_DLFCN_H 1
7269 # Check whether --enable-shared was given.
7270 if test "${enable_shared+set}" = set; then :
7271 enableval=$enable_shared; p=${PACKAGE-default}
7273 yes) enable_shared=yes ;;
7274 no) enable_shared=no ;;
7277 # Look at the argument we got. We use all the common list separators.
7278 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7279 for pkg in $enableval; do
7281 if test "X$pkg" = "X$p"; then
7300 # Check whether --enable-static was given.
7301 if test "${enable_static+set}" = set; then :
7302 enableval=$enable_static; p=${PACKAGE-default}
7304 yes) enable_static=yes ;;
7305 no) enable_static=no ;;
7308 # Look at the argument we got. We use all the common list separators.
7309 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7310 for pkg in $enableval; do
7312 if test "X$pkg" = "X$p"; then
7332 # Check whether --with-pic was given.
7333 if test "${with_pic+set}" = set; then :
7334 withval=$with_pic; pic_mode="$withval"
7340 test -z "$pic_mode" && pic_mode=default
7348 # Check whether --enable-fast-install was given.
7349 if test "${enable_fast_install+set}" = set; then :
7350 enableval=$enable_fast_install; p=${PACKAGE-default}
7352 yes) enable_fast_install=yes ;;
7353 no) enable_fast_install=no ;;
7355 enable_fast_install=no
7356 # Look at the argument we got. We use all the common list separators.
7357 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7358 for pkg in $enableval; do
7360 if test "X$pkg" = "X$p"; then
7361 enable_fast_install=yes
7368 enable_fast_install=yes
7381 # This can be used to rebuild libtool when needed
7382 LIBTOOL_DEPS="$ltmain"
7384 # Always use our own libtool.
7385 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7411 test -z "$LN_S" && LN_S="ln -s"
7426 if test -n "${ZSH_VERSION+set}" ; then
7427 setopt NO_GLOB_SUBST
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7431 $as_echo_n "checking for objdir... " >&6; }
7432 if test "${lt_cv_objdir+set}" = set; then :
7433 $as_echo_n "(cached) " >&6
7435 rm -f .libs 2>/dev/null
7436 mkdir .libs 2>/dev/null
7437 if test -d .libs; then
7440 # MS-DOS does not allow filenames that begin with a dot.
7443 rmdir .libs 2>/dev/null
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7446 $as_echo "$lt_cv_objdir" >&6; }
7447 objdir=$lt_cv_objdir
7453 cat >>confdefs.h <<_ACEOF
7454 #define LT_OBJDIR "$lt_cv_objdir/"
7475 # AIX sometimes has problems with the GCC collect2 program. For some
7476 # reason, if we set the COLLECT_NAMES environment variable, the problems
7477 # vanish in a puff of smoke.
7478 if test "X${COLLECT_NAMES+set}" != Xset; then
7480 export COLLECT_NAMES
7485 # Sed substitution that helps us do robust quoting. It backslashifies
7486 # metacharacters that are still active within double-quoted strings.
7487 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7489 # Same as above, but do not quote variable references.
7490 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7492 # Sed substitution to delay expansion of an escaped shell variable in a
7493 # double_quote_subst'ed string.
7494 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7496 # Sed substitution to delay expansion of an escaped single quote.
7497 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7499 # Sed substitution to avoid accidental globbing in evaled expressions
7500 no_glob_subst='s/\*/\\\*/g'
7504 can_build_shared=yes
7506 # All known linkers require a `.a' archive for static linking (except MSVC,
7507 # which needs '.lib').
7510 with_gnu_ld="$lt_cv_prog_gnu_ld"
7513 old_CFLAGS="$CFLAGS"
7515 # Set sane defaults for various variables
7516 test -z "$CC" && CC=cc
7517 test -z "$LTCC" && LTCC=$CC
7518 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7519 test -z "$LD" && LD=ld
7520 test -z "$ac_objext" && ac_objext=o
7522 for cc_temp in $compiler""; do
7524 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7525 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7530 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7533 # Only perform the check for file, if the check method requires it
7534 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7535 case $deplibs_check_method in
7537 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7539 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7540 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7541 $as_echo_n "(cached) " >&6
7545 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7548 lt_save_MAGIC_CMD="$MAGIC_CMD"
7549 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7550 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7551 for ac_dir in $ac_dummy; do
7553 test -z "$ac_dir" && ac_dir=.
7554 if test -f $ac_dir/${ac_tool_prefix}file; then
7555 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7556 if test -n "$file_magic_test_file"; then
7557 case $deplibs_check_method in
7559 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7560 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7561 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7562 $EGREP "$file_magic_regex" > /dev/null; then
7567 *** Warning: the command libtool uses to detect shared libraries,
7568 *** $file_magic_cmd, produces output that libtool cannot recognize.
7569 *** The result is that libtool may fail to recognize shared libraries
7570 *** as such. This will affect the creation of libtool libraries that
7571 *** depend on shared libraries, but programs linked with such libtool
7572 *** libraries will work regardless of this problem. Nevertheless, you
7573 *** may want to report the problem to your system manager and/or to
7574 *** bug-libtool@gnu.org
7584 MAGIC_CMD="$lt_save_MAGIC_CMD"
7589 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7590 if test -n "$MAGIC_CMD"; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7592 $as_echo "$MAGIC_CMD" >&6; }
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595 $as_echo "no" >&6; }
7602 if test -z "$lt_cv_path_MAGIC_CMD"; then
7603 if test -n "$ac_tool_prefix"; then
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7605 $as_echo_n "checking for file... " >&6; }
7606 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7607 $as_echo_n "(cached) " >&6
7611 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7614 lt_save_MAGIC_CMD="$MAGIC_CMD"
7615 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7616 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7617 for ac_dir in $ac_dummy; do
7619 test -z "$ac_dir" && ac_dir=.
7620 if test -f $ac_dir/file; then
7621 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7622 if test -n "$file_magic_test_file"; then
7623 case $deplibs_check_method in
7625 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7626 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7627 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7628 $EGREP "$file_magic_regex" > /dev/null; then
7633 *** Warning: the command libtool uses to detect shared libraries,
7634 *** $file_magic_cmd, produces output that libtool cannot recognize.
7635 *** The result is that libtool may fail to recognize shared libraries
7636 *** as such. This will affect the creation of libtool libraries that
7637 *** depend on shared libraries, but programs linked with such libtool
7638 *** libraries will work regardless of this problem. Nevertheless, you
7639 *** may want to report the problem to your system manager and/or to
7640 *** bug-libtool@gnu.org
7650 MAGIC_CMD="$lt_save_MAGIC_CMD"
7655 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7656 if test -n "$MAGIC_CMD"; then
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7658 $as_echo "$MAGIC_CMD" >&6; }
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7661 $as_echo "no" >&6; }
7674 # Use C for the default configuration in the libtool script
7678 ac_cpp='$CPP $CPPFLAGS'
7679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7684 # Source file extension for C test sources.
7687 # Object file extension for compiled C test sources.
7691 # Code to be used in simple compile tests
7692 lt_simple_compile_test_code="int some_variable = 0;"
7694 # Code to be used in simple link tests
7695 lt_simple_link_test_code='int main(){return(0);}'
7703 # If no C compiler was specified, use CC.
7706 # If no C compiler flags were specified, use CFLAGS.
7707 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7709 # Allow CC to be a program name with arguments.
7712 # Save the default compiler, since it gets overwritten when the other
7713 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7714 compiler_DEFAULT=$CC
7716 # save warnings/boilerplate of simple test code
7717 ac_outfile=conftest.$ac_objext
7718 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7719 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7720 _lt_compiler_boilerplate=`cat conftest.err`
7723 ac_outfile=conftest.$ac_objext
7724 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7725 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7726 _lt_linker_boilerplate=`cat conftest.err`
7731 ## There is no encapsulation within the following macros, do not change
7732 ## the running order or otherwise move them around unless you know exactly
7733 ## what you are doing...
7734 if test -n "$compiler"; then
7736 lt_prog_compiler_no_builtin_flag=
7738 if test "$GCC" = yes; then
7739 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7742 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7743 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7744 $as_echo_n "(cached) " >&6
7746 lt_cv_prog_compiler_rtti_exceptions=no
7747 ac_outfile=conftest.$ac_objext
7748 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7749 lt_compiler_flag="-fno-rtti -fno-exceptions"
7750 # Insert the option either (1) after the last *FLAGS variable, or
7751 # (2) before a word containing "conftest.", or (3) at the end.
7752 # Note that $ac_compile itself does not contain backslashes and begins
7753 # with a dollar sign (not a hyphen), so the echo should work correctly.
7754 # The option is referenced via a variable to avoid confusing sed.
7755 lt_compile=`echo "$ac_compile" | $SED \
7756 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7757 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7758 -e 's:$: $lt_compiler_flag:'`
7759 (eval echo "\"\$as_me:7759: $lt_compile\"" >&5)
7760 (eval "$lt_compile" 2>conftest.err)
7762 cat conftest.err >&5
7763 echo "$as_me:7763: \$? = $ac_status" >&5
7764 if (exit $ac_status) && test -s "$ac_outfile"; then
7765 # The compiler can only warn and ignore the option if not recognized
7766 # So say no if there are warnings other than the usual output.
7767 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7768 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7769 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7770 lt_cv_prog_compiler_rtti_exceptions=yes
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7777 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7779 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7780 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7792 lt_prog_compiler_wl=
7793 lt_prog_compiler_pic=
7794 lt_prog_compiler_static=
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7797 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7799 if test "$GCC" = yes; then
7800 lt_prog_compiler_wl='-Wl,'
7801 lt_prog_compiler_static='-static'
7805 # All AIX code is PIC.
7806 if test "$host_cpu" = ia64; then
7807 # AIX 5 now supports IA64 processor
7808 lt_prog_compiler_static='-Bstatic'
7815 # see comment about AmigaOS4 .so support
7816 lt_prog_compiler_pic='-fPIC'
7819 # FIXME: we need at least 68020 code to build shared libraries, but
7820 # adding the `-m68020' flag to GCC prevents building anything better,
7822 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7827 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7828 # PIC is the default for these OSes.
7831 mingw* | cygwin* | pw32* | os2* | cegcc*)
7832 # This hack is so that the source file can tell whether it is being
7833 # built for inclusion in a dll (and should export symbols for example).
7834 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7835 # (--disable-auto-import) libraries
7836 lt_prog_compiler_pic='-DDLL_EXPORT'
7839 darwin* | rhapsody*)
7840 # PIC is the default on this platform
7841 # Common symbols not allowed in MH_DYLIB files
7842 lt_prog_compiler_pic='-fno-common'
7846 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7847 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7848 # sets the default TLS model and affects inlining.
7854 lt_prog_compiler_pic='-fPIC'
7860 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7861 # Instead, we relocate shared libraries at runtime.
7865 # Just because we use GCC doesn't mean we suddenly get shared libraries
7866 # on systems that don't support them.
7867 lt_prog_compiler_can_build_shared=no
7872 # QNX uses GNU C++, but need to define -shared option too, otherwise
7874 lt_prog_compiler_pic='-fPIC -shared'
7878 if test -d /usr/nec; then
7879 lt_prog_compiler_pic=-Kconform_pic
7884 lt_prog_compiler_pic='-fPIC'
7888 # PORTME Check for flag to pass linker flags through the system compiler.
7891 lt_prog_compiler_wl='-Wl,'
7892 if test "$host_cpu" = ia64; then
7893 # AIX 5 now supports IA64 processor
7894 lt_prog_compiler_static='-Bstatic'
7896 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7900 mingw* | cygwin* | pw32* | os2* | cegcc*)
7901 # This hack is so that the source file can tell whether it is being
7902 # built for inclusion in a dll (and should export symbols for example).
7903 lt_prog_compiler_pic='-DDLL_EXPORT'
7906 hpux9* | hpux10* | hpux11*)
7907 lt_prog_compiler_wl='-Wl,'
7908 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7915 lt_prog_compiler_pic='+Z'
7918 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7919 lt_prog_compiler_static='${wl}-a ${wl}archive'
7922 irix5* | irix6* | nonstopux*)
7923 lt_prog_compiler_wl='-Wl,'
7924 # PIC (with -KPIC) is the default.
7925 lt_prog_compiler_static='-non_shared'
7928 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7929 case $cc_basename in
7930 # old Intel for x86_64 which still supported -KPIC.
7932 lt_prog_compiler_wl='-Wl,'
7933 lt_prog_compiler_pic='-KPIC'
7934 lt_prog_compiler_static='-static'
7936 # icc used to be incompatible with GCC.
7937 # ICC 10 doesn't accept -KPIC any more.
7939 lt_prog_compiler_wl='-Wl,'
7940 lt_prog_compiler_pic='-fPIC'
7941 lt_prog_compiler_static='-static'
7943 # Lahey Fortran 8.1.
7945 lt_prog_compiler_wl='-Wl,'
7946 lt_prog_compiler_pic='--shared'
7947 lt_prog_compiler_static='--static'
7949 pgcc* | pgf77* | pgf90* | pgf95*)
7950 # Portland Group compilers (*not* the Pentium gcc compiler,
7951 # which looks to be a dead project)
7952 lt_prog_compiler_wl='-Wl,'
7953 lt_prog_compiler_pic='-fpic'
7954 lt_prog_compiler_static='-Bstatic'
7957 lt_prog_compiler_wl='-Wl,'
7958 # All Alpha code is PIC.
7959 lt_prog_compiler_static='-non_shared'
7962 # IBM XL C 8.0/Fortran 10.1 on PPC
7963 lt_prog_compiler_wl='-Wl,'
7964 lt_prog_compiler_pic='-qpic'
7965 lt_prog_compiler_static='-qstaticlink'
7968 case `$CC -V 2>&1 | sed 5q` in
7971 lt_prog_compiler_pic='-KPIC'
7972 lt_prog_compiler_static='-Bstatic'
7973 lt_prog_compiler_wl='-Wl,'
7976 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7977 lt_prog_compiler_pic='-KPIC'
7978 lt_prog_compiler_static='-Bstatic'
7979 lt_prog_compiler_wl=''
7987 lt_prog_compiler_pic='-KPIC'
7988 lt_prog_compiler_static='-Bstatic'
7992 # QNX uses GNU C++, but need to define -shared option too, otherwise
7994 lt_prog_compiler_pic='-fPIC -shared'
7997 osf3* | osf4* | osf5*)
7998 lt_prog_compiler_wl='-Wl,'
7999 # All OSF/1 code is PIC.
8000 lt_prog_compiler_static='-non_shared'
8004 lt_prog_compiler_static='-non_shared'
8008 lt_prog_compiler_pic='-KPIC'
8009 lt_prog_compiler_static='-Bstatic'
8010 case $cc_basename in
8012 lt_prog_compiler_wl='-Qoption ld ';;
8014 lt_prog_compiler_wl='-Wl,';;
8019 lt_prog_compiler_wl='-Qoption ld '
8020 lt_prog_compiler_pic='-PIC'
8021 lt_prog_compiler_static='-Bstatic'
8024 sysv4 | sysv4.2uw2* | sysv4.3*)
8025 lt_prog_compiler_wl='-Wl,'
8026 lt_prog_compiler_pic='-KPIC'
8027 lt_prog_compiler_static='-Bstatic'
8031 if test -d /usr/nec ;then
8032 lt_prog_compiler_pic='-Kconform_pic'
8033 lt_prog_compiler_static='-Bstatic'
8037 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8038 lt_prog_compiler_wl='-Wl,'
8039 lt_prog_compiler_pic='-KPIC'
8040 lt_prog_compiler_static='-Bstatic'
8044 lt_prog_compiler_wl='-Wl,'
8045 lt_prog_compiler_can_build_shared=no
8049 lt_prog_compiler_pic='-pic'
8050 lt_prog_compiler_static='-Bstatic'
8054 lt_prog_compiler_can_build_shared=no
8060 # For platforms which do not support PIC, -DPIC is meaningless:
8062 lt_prog_compiler_pic=
8065 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8069 $as_echo "$lt_prog_compiler_pic" >&6; }
8077 # Check to make sure the PIC flag actually works.
8079 if test -n "$lt_prog_compiler_pic"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8081 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8082 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8083 $as_echo_n "(cached) " >&6
8085 lt_cv_prog_compiler_pic_works=no
8086 ac_outfile=conftest.$ac_objext
8087 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8088 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8089 # Insert the option either (1) after the last *FLAGS variable, or
8090 # (2) before a word containing "conftest.", or (3) at the end.
8091 # Note that $ac_compile itself does not contain backslashes and begins
8092 # with a dollar sign (not a hyphen), so the echo should work correctly.
8093 # The option is referenced via a variable to avoid confusing sed.
8094 lt_compile=`echo "$ac_compile" | $SED \
8095 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8096 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8097 -e 's:$: $lt_compiler_flag:'`
8098 (eval echo "\"\$as_me:8098: $lt_compile\"" >&5)
8099 (eval "$lt_compile" 2>conftest.err)
8101 cat conftest.err >&5
8102 echo "$as_me:8102: \$? = $ac_status" >&5
8103 if (exit $ac_status) && test -s "$ac_outfile"; then
8104 # The compiler can only warn and ignore the option if not recognized
8105 # So say no if there are warnings other than the usual output.
8106 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8107 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8108 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8109 lt_cv_prog_compiler_pic_works=yes
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8116 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8118 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8119 case $lt_prog_compiler_pic in
8121 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8124 lt_prog_compiler_pic=
8125 lt_prog_compiler_can_build_shared=no
8136 # Check to make sure the static flag actually works.
8138 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8140 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8141 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8142 $as_echo_n "(cached) " >&6
8144 lt_cv_prog_compiler_static_works=no
8145 save_LDFLAGS="$LDFLAGS"
8146 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8147 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8148 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8149 # The linker can only warn and ignore the option if not recognized
8150 # So say no if there are warnings
8151 if test -s conftest.err; then
8152 # Append any errors to the config.log.
8153 cat conftest.err 1>&5
8154 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8155 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8156 if diff conftest.exp conftest.er2 >/dev/null; then
8157 lt_cv_prog_compiler_static_works=yes
8160 lt_cv_prog_compiler_static_works=yes
8164 LDFLAGS="$save_LDFLAGS"
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8168 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8170 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8173 lt_prog_compiler_static=
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8183 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8184 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8185 $as_echo_n "(cached) " >&6
8187 lt_cv_prog_compiler_c_o=no
8188 $RM -r conftest 2>/dev/null
8192 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8194 lt_compiler_flag="-o out/conftest2.$ac_objext"
8195 # Insert the option either (1) after the last *FLAGS variable, or
8196 # (2) before a word containing "conftest.", or (3) at the end.
8197 # Note that $ac_compile itself does not contain backslashes and begins
8198 # with a dollar sign (not a hyphen), so the echo should work correctly.
8199 lt_compile=`echo "$ac_compile" | $SED \
8200 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8201 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8202 -e 's:$: $lt_compiler_flag:'`
8203 (eval echo "\"\$as_me:8203: $lt_compile\"" >&5)
8204 (eval "$lt_compile" 2>out/conftest.err)
8206 cat out/conftest.err >&5
8207 echo "$as_me:8207: \$? = $ac_status" >&5
8208 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8210 # The compiler can only warn and ignore the option if not recognized
8211 # So say no if there are warnings
8212 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8213 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8214 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8215 lt_cv_prog_compiler_c_o=yes
8220 # SGI C++ compiler will create directory out/ii_files/ for
8221 # template instantiation
8222 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8223 $RM out/* && rmdir out
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8230 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8238 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8239 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8240 $as_echo_n "(cached) " >&6
8242 lt_cv_prog_compiler_c_o=no
8243 $RM -r conftest 2>/dev/null
8247 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8249 lt_compiler_flag="-o out/conftest2.$ac_objext"
8250 # Insert the option either (1) after the last *FLAGS variable, or
8251 # (2) before a word containing "conftest.", or (3) at the end.
8252 # Note that $ac_compile itself does not contain backslashes and begins
8253 # with a dollar sign (not a hyphen), so the echo should work correctly.
8254 lt_compile=`echo "$ac_compile" | $SED \
8255 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8256 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8257 -e 's:$: $lt_compiler_flag:'`
8258 (eval echo "\"\$as_me:8258: $lt_compile\"" >&5)
8259 (eval "$lt_compile" 2>out/conftest.err)
8261 cat out/conftest.err >&5
8262 echo "$as_me:8262: \$? = $ac_status" >&5
8263 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8265 # The compiler can only warn and ignore the option if not recognized
8266 # So say no if there are warnings
8267 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8268 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8269 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8270 lt_cv_prog_compiler_c_o=yes
8275 # SGI C++ compiler will create directory out/ii_files/ for
8276 # template instantiation
8277 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8278 $RM out/* && rmdir out
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8285 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8290 hard_links="nottested"
8291 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8292 # do not overwrite the value of need_locks provided by the user
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8294 $as_echo_n "checking if we can lock with hard links... " >&6; }
8297 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8299 ln conftest.a conftest.b 2>&5 || hard_links=no
8300 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8302 $as_echo "$hard_links" >&6; }
8303 if test "$hard_links" = no; then
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8305 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8318 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8321 allow_undefined_flag=
8322 always_export_symbols=no
8324 archive_expsym_cmds=
8325 compiler_needs_object=no
8326 enable_shared_with_static_runtimes=no
8327 export_dynamic_flag_spec=
8328 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8329 hardcode_automatic=no
8331 hardcode_direct_absolute=no
8332 hardcode_libdir_flag_spec=
8333 hardcode_libdir_flag_spec_ld=
8334 hardcode_libdir_separator=
8336 hardcode_shlibpath_var=unsupported
8338 link_all_deplibs=unknown
8341 old_archive_from_new_cmds=
8342 old_archive_from_expsyms_cmds=
8343 thread_safe_flag_spec=
8344 whole_archive_flag_spec=
8345 # include_expsyms should be a list of space-separated symbols to be *always*
8346 # included in the symbol list
8348 # exclude_expsyms can be an extended regexp of symbols to exclude
8349 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8350 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8351 # as well as any symbol that contains `d'.
8352 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8353 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8354 # platforms (ab)use it in PIC code, but their linkers get confused if
8355 # the symbol is explicitly referenced. Since portable code cannot
8356 # rely on this symbol name, it's probably fine to never include it in
8357 # preloaded symbol tables.
8358 # Exclude shared library initialization/finalization symbols.
8359 extract_expsyms_cmds=
8362 cygwin* | mingw* | pw32* | cegcc*)
8363 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8364 # When not using gcc, we currently assume that we are using
8365 # Microsoft Visual C++.
8366 if test "$GCC" != yes; then
8371 # we just hope/assume this is gcc and not c89 (= MSVC++)
8377 linux* | k*bsd*-gnu)
8383 if test "$with_gnu_ld" = yes; then
8384 # If archive_cmds runs LD, not CC, wlarc should be empty
8387 # Set some defaults for GNU ld with shared library support. These
8388 # are reset later if shared libraries are not supported. Putting them
8389 # here allows them to be overridden if necessary.
8390 runpath_var=LD_RUN_PATH
8391 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8392 export_dynamic_flag_spec='${wl}--export-dynamic'
8393 # ancient GNU ld didn't support --whole-archive et. al.
8394 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8395 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8397 whole_archive_flag_spec=
8399 supports_anon_versioning=no
8400 case `$LD -v 2>&1` in
8401 *GNU\ gold*) supports_anon_versioning=yes ;;
8402 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8403 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8404 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8405 *\ 2.11.*) ;; # other 2.11 versions
8406 *) supports_anon_versioning=yes ;;
8409 # See if GNU ld supports shared libraries.
8412 # On AIX/PPC, the GNU linker is very broken
8413 if test "$host_cpu" != ia64; then
8417 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8418 *** to be unable to reliably create shared libraries on AIX.
8419 *** Therefore, libtool is disabling shared libraries support. If you
8420 *** really care for shared libraries, you may want to modify your PATH
8421 *** so that a non-GNU linker is found, and then restart.
8430 # see comment about AmigaOS4 .so support
8431 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8432 archive_expsym_cmds=''
8435 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)'
8436 hardcode_libdir_flag_spec='-L$libdir'
8437 hardcode_minus_L=yes
8443 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8444 allow_undefined_flag=unsupported
8445 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8446 # support --undefined. This deserves some investigation. FIXME
8447 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8453 cygwin* | mingw* | pw32* | cegcc*)
8454 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8455 # as there is no search path for DLLs.
8456 hardcode_libdir_flag_spec='-L$libdir'
8457 allow_undefined_flag=unsupported
8458 always_export_symbols=no
8459 enable_shared_with_static_runtimes=yes
8460 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8462 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8463 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8464 # If the export-symbols file already is a .def file (1st line
8465 # is EXPORTS), use it as is; otherwise, prepend...
8466 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8467 cp $export_symbols $output_objdir/$soname.def;
8469 echo EXPORTS > $output_objdir/$soname.def;
8470 cat $export_symbols >> $output_objdir/$soname.def;
8472 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8480 hardcode_shlibpath_var=no
8481 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8482 export_dynamic_flag_spec='${wl}-E'
8483 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8484 # Instead, shared libraries are loaded at an image base (0x10000000 by
8485 # default) and relocated if they conflict, which is a slow very memory
8486 # consuming and fragmenting process. To avoid this, we pick a random,
8487 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8488 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8489 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8490 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'
8493 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8495 if test "$host_os" = linux-dietlibc; then
8496 case $cc_basename in
8497 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8500 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8501 && test "$tmp_diet" = no
8504 tmp_sharedflag='-shared'
8505 case $cc_basename,$host_cpu in
8506 pgcc*) # Portland Group C compiler
8507 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8508 tmp_addflag=' $pic_flag'
8510 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8511 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8512 tmp_addflag=' $pic_flag -Mnomain' ;;
8513 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8514 tmp_addflag=' -i_dynamic' ;;
8515 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8516 tmp_addflag=' -i_dynamic -nofor_main' ;;
8517 ifc* | ifort*) # Intel Fortran compiler
8518 tmp_addflag=' -nofor_main' ;;
8519 lf95*) # Lahey Fortran 8.1
8520 whole_archive_flag_spec=
8521 tmp_sharedflag='--shared' ;;
8522 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8523 tmp_sharedflag='-qmkshrobj'
8526 case `$CC -V 2>&1 | sed 5q` in
8527 *Sun\ C*) # Sun C 5.9
8528 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8529 compiler_needs_object=yes
8530 tmp_sharedflag='-G' ;;
8531 *Sun\ F*) # Sun Fortran 8.3
8532 tmp_sharedflag='-G' ;;
8534 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8536 if test "x$supports_anon_versioning" = xyes; then
8537 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8538 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8539 echo "local: *; };" >> $output_objdir/$libname.ver~
8540 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8543 case $cc_basename in
8545 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8546 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8547 hardcode_libdir_flag_spec=
8548 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8549 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8550 if test "x$supports_anon_versioning" = xyes; then
8551 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8552 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8553 echo "local: *; };" >> $output_objdir/$libname.ver~
8554 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8563 netbsd* | netbsdelf*-gnu)
8564 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8565 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8568 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8569 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8574 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8578 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8579 *** create shared libraries on Solaris systems. Therefore, libtool
8580 *** is disabling shared libraries support. We urge you to upgrade GNU
8581 *** binutils to release 2.9.1 or newer. Another option is to modify
8582 *** your PATH or compiler configuration so that the native linker is
8583 *** used, and then restart.
8586 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8587 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8588 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8594 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8595 case `$LD -v 2>&1` in
8596 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8600 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8601 *** reliably create shared libraries on SCO systems. Therefore, libtool
8602 *** is disabling shared libraries support. We urge you to upgrade GNU
8603 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8604 *** your PATH or compiler configuration so that the native linker is
8605 *** used, and then restart.
8610 # For security reasons, it is highly recommended that you always
8611 # use absolute paths for naming shared libraries, and exclude the
8612 # DT_RUNPATH tag from executables and libraries. But doing so
8613 # requires that you compile everything twice, which is a pain.
8614 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8615 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8616 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8617 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8626 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8629 hardcode_shlibpath_var=no
8633 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8634 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8635 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8642 if test "$ld_shlibs" = no; then
8644 hardcode_libdir_flag_spec=
8645 export_dynamic_flag_spec=
8646 whole_archive_flag_spec=
8649 # PORTME fill in a description of your system's linker (not GNU ld)
8652 allow_undefined_flag=unsupported
8653 always_export_symbols=yes
8654 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'
8655 # Note: this linker hardcodes the directories in LIBPATH if there
8656 # are no directories specified by -L.
8657 hardcode_minus_L=yes
8658 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8659 # Neither direct hardcoding nor static linking is supported with a
8661 hardcode_direct=unsupported
8666 if test "$host_cpu" = ia64; then
8667 # On IA64, the linker does run time linking by default, so we don't
8668 # have to do anything special.
8669 aix_use_runtimelinking=no
8670 exp_sym_flag='-Bexport'
8673 # If we're using GNU nm, then we don't want the "-C" option.
8674 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8675 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8676 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8678 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'
8680 aix_use_runtimelinking=no
8682 # Test if we are trying to use run time linking or normal
8683 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8684 # need to do runtime linking.
8685 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8686 for ld_flag in $LDFLAGS; do
8687 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8688 aix_use_runtimelinking=yes
8695 exp_sym_flag='-bexport'
8696 no_entry_flag='-bnoentry'
8699 # When large executables or shared objects are built, AIX ld can
8700 # have problems creating the table of contents. If linking a library
8701 # or program results in "error TOC overflow" add -mminimal-toc to
8702 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8703 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8707 hardcode_direct_absolute=yes
8708 hardcode_libdir_separator=':'
8709 link_all_deplibs=yes
8710 file_list_spec='${wl}-f,'
8712 if test "$GCC" = yes; then
8713 case $host_os in aix4.[012]|aix4.[012].*)
8714 # We only want to do this on AIX 4.2 and lower, the check
8715 # below for broken collect2 doesn't work under 4.3+
8716 collect2name=`${CC} -print-prog-name=collect2`
8717 if test -f "$collect2name" &&
8718 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8720 # We have reworked collect2
8723 # We have old collect2
8724 hardcode_direct=unsupported
8725 # It fails to find uninstalled libraries when the uninstalled
8726 # path is not listed in the libpath. Setting hardcode_minus_L
8727 # to unsupported forces relinking
8728 hardcode_minus_L=yes
8729 hardcode_libdir_flag_spec='-L$libdir'
8730 hardcode_libdir_separator=
8734 shared_flag='-shared'
8735 if test "$aix_use_runtimelinking" = yes; then
8736 shared_flag="$shared_flag "'${wl}-G'
8741 if test "$host_cpu" = ia64; then
8742 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8743 # chokes on -Wl,-G. The following line is correct:
8746 if test "$aix_use_runtimelinking" = yes; then
8747 shared_flag='${wl}-G'
8749 shared_flag='${wl}-bM:SRE'
8754 export_dynamic_flag_spec='${wl}-bexpall'
8755 # It seems that -bexpall does not export symbols beginning with
8756 # underscore (_), so it is better to generate a list of symbols to export.
8757 always_export_symbols=yes
8758 if test "$aix_use_runtimelinking" = yes; then
8759 # Warning - without using the other runtime loading flags (-brtl),
8760 # -berok will link without error, but may produce a broken library.
8761 allow_undefined_flag='-berok'
8762 # Determine the default libpath from the value encoded in an
8764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8765 /* end confdefs.h. */
8775 if ac_fn_c_try_link "$LINENO"; then :
8777 lt_aix_libpath_sed='
8778 /Import File Strings/,/^$/ {
8784 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8785 # Check for a 64-bit object if we didn't find anything.
8786 if test -z "$aix_libpath"; then
8787 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8790 rm -f core conftest.err conftest.$ac_objext \
8791 conftest$ac_exeext conftest.$ac_ext
8792 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8794 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8795 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8797 if test "$host_cpu" = ia64; then
8798 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8799 allow_undefined_flag="-z nodefs"
8800 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"
8802 # Determine the default libpath from the value encoded in an
8804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8805 /* end confdefs.h. */
8815 if ac_fn_c_try_link "$LINENO"; then :
8817 lt_aix_libpath_sed='
8818 /Import File Strings/,/^$/ {
8824 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8825 # Check for a 64-bit object if we didn't find anything.
8826 if test -z "$aix_libpath"; then
8827 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8830 rm -f core conftest.err conftest.$ac_objext \
8831 conftest$ac_exeext conftest.$ac_ext
8832 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8834 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8835 # Warning - without using the other run time loading flags,
8836 # -berok will link without error, but may produce a broken library.
8837 no_undefined_flag=' ${wl}-bernotok'
8838 allow_undefined_flag=' ${wl}-berok'
8839 # Exported symbols can be pulled into shared objects from archives
8840 whole_archive_flag_spec='$convenience'
8841 archive_cmds_need_lc=yes
8842 # This is similar to how AIX traditionally builds its shared libraries.
8843 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'
8851 # see comment about AmigaOS4 .so support
8852 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8853 archive_expsym_cmds=''
8856 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)'
8857 hardcode_libdir_flag_spec='-L$libdir'
8858 hardcode_minus_L=yes
8864 export_dynamic_flag_spec=-rdynamic
8867 cygwin* | mingw* | pw32* | cegcc*)
8868 # When not using gcc, we currently assume that we are using
8869 # Microsoft Visual C++.
8870 # hardcode_libdir_flag_spec is actually meaningless, as there is
8871 # no search path for DLLs.
8872 hardcode_libdir_flag_spec=' '
8873 allow_undefined_flag=unsupported
8874 # Tell ltmain to make .lib files, not .a files.
8876 # Tell ltmain to make .dll files, not .so files.
8878 # FIXME: Setting linknames here is a bad hack.
8879 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8880 # The linker will automatically build a .lib file if we build a DLL.
8881 old_archive_from_new_cmds='true'
8882 # FIXME: Should let the user specify the lib program.
8883 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8884 fix_srcfile_path='`cygpath -w "$srcfile"`'
8885 enable_shared_with_static_runtimes=yes
8888 darwin* | rhapsody*)
8891 archive_cmds_need_lc=no
8893 hardcode_automatic=yes
8894 hardcode_shlibpath_var=unsupported
8895 whole_archive_flag_spec=''
8896 link_all_deplibs=yes
8897 allow_undefined_flag="$_lt_dar_allow_undefined"
8898 case $cc_basename in
8899 ifort*) _lt_dar_can_shared=yes ;;
8900 *) _lt_dar_can_shared=$GCC ;;
8902 if test "$_lt_dar_can_shared" = "yes"; then
8903 output_verbose_link_cmd=echo
8904 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8905 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8906 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}"
8907 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}"
8916 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8917 hardcode_libdir_flag_spec='-L$libdir'
8918 hardcode_shlibpath_var=no
8925 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8926 # support. Future versions do this automatically, but an explicit c++rt0.o
8927 # does not break anything, and helps significantly (at the cost of a little
8930 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8931 hardcode_libdir_flag_spec='-R$libdir'
8933 hardcode_shlibpath_var=no
8936 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8938 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8940 hardcode_minus_L=yes
8941 hardcode_shlibpath_var=no
8944 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8945 freebsd* | dragonfly*)
8946 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8947 hardcode_libdir_flag_spec='-R$libdir'
8949 hardcode_shlibpath_var=no
8953 if test "$GCC" = yes; then
8954 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8956 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'
8958 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8959 hardcode_libdir_separator=:
8962 # hardcode_minus_L: Not really in the search PATH,
8963 # but as the default location of the library.
8964 hardcode_minus_L=yes
8965 export_dynamic_flag_spec='${wl}-E'
8969 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8970 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8972 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8974 if test "$with_gnu_ld" = no; then
8975 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8976 hardcode_libdir_flag_spec_ld='+b $libdir'
8977 hardcode_libdir_separator=:
8979 hardcode_direct_absolute=yes
8980 export_dynamic_flag_spec='${wl}-E'
8981 # hardcode_minus_L: Not really in the search PATH,
8982 # but as the default location of the library.
8983 hardcode_minus_L=yes
8988 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8991 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8994 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8997 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9003 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9006 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9009 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9013 if test "$with_gnu_ld" = no; then
9014 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9015 hardcode_libdir_separator=:
9020 hardcode_shlibpath_var=no
9024 hardcode_direct_absolute=yes
9025 export_dynamic_flag_spec='${wl}-E'
9027 # hardcode_minus_L: Not really in the search PATH,
9028 # but as the default location of the library.
9029 hardcode_minus_L=yes
9035 irix5* | irix6* | nonstopux*)
9036 if test "$GCC" = yes; then
9037 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9038 # Try to use the -exported_symbol ld option, if it does not
9039 # work, assume that -exports_file does not work either and
9040 # implicitly export all symbols.
9041 save_LDFLAGS="$LDFLAGS"
9042 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9044 /* end confdefs.h. */
9047 if ac_fn_c_try_link "$LINENO"; then :
9048 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9051 rm -f core conftest.err conftest.$ac_objext \
9052 conftest$ac_exeext conftest.$ac_ext
9053 LDFLAGS="$save_LDFLAGS"
9055 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9056 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9058 archive_cmds_need_lc='no'
9059 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9060 hardcode_libdir_separator=:
9062 link_all_deplibs=yes
9065 netbsd* | netbsdelf*-gnu)
9066 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9067 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9069 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9071 hardcode_libdir_flag_spec='-R$libdir'
9073 hardcode_shlibpath_var=no
9077 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9079 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9080 hardcode_libdir_separator=:
9081 hardcode_shlibpath_var=no
9088 if test -f /usr/libexec/ld.so; then
9090 hardcode_shlibpath_var=no
9091 hardcode_direct_absolute=yes
9092 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9093 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9094 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9095 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9096 export_dynamic_flag_spec='${wl}-E'
9099 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9100 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9101 hardcode_libdir_flag_spec='-R$libdir'
9104 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9105 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9115 hardcode_libdir_flag_spec='-L$libdir'
9116 hardcode_minus_L=yes
9117 allow_undefined_flag=unsupported
9118 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'
9119 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9123 if test "$GCC" = yes; then
9124 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9125 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9127 allow_undefined_flag=' -expect_unresolved \*'
9128 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9130 archive_cmds_need_lc='no'
9131 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9132 hardcode_libdir_separator=:
9135 osf4* | osf5*) # as osf3* with the addition of -msym flag
9136 if test "$GCC" = yes; then
9137 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9138 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9139 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9141 allow_undefined_flag=' -expect_unresolved \*'
9142 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9143 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~
9144 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9146 # Both c and cxx compiler support -rpath directly
9147 hardcode_libdir_flag_spec='-rpath $libdir'
9149 archive_cmds_need_lc='no'
9150 hardcode_libdir_separator=:
9154 no_undefined_flag=' -z defs'
9155 if test "$GCC" = yes; then
9157 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9158 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9159 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9161 case `$CC -V 2>&1` in
9164 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9165 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9166 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9170 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9171 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9172 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9176 hardcode_libdir_flag_spec='-R$libdir'
9177 hardcode_shlibpath_var=no
9179 solaris2.[0-5] | solaris2.[0-5].*) ;;
9181 # The compiler driver will combine and reorder linker options,
9182 # but understands `-z linker_flag'. GCC discards it without `$wl',
9183 # but is careful enough not to reorder.
9184 # Supported since Solaris 2.6 (maybe 2.5.1?)
9185 if test "$GCC" = yes; then
9186 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9188 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9192 link_all_deplibs=yes
9196 if test "x$host_vendor" = xsequent; then
9197 # Use $CC to link under sequent, because it throws in some extra .o
9198 # files that make .init and .fini sections work.
9199 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9201 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9203 hardcode_libdir_flag_spec='-L$libdir'
9205 hardcode_minus_L=yes
9206 hardcode_shlibpath_var=no
9210 case $host_vendor in
9212 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9213 hardcode_direct=yes # is this really true???
9216 ## LD is ld it makes a PLAMLIB
9217 ## CC just makes a GrossModule.
9218 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9219 reload_cmds='$CC -r -o $output$reload_objs'
9223 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9224 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9227 runpath_var='LD_RUN_PATH'
9228 hardcode_shlibpath_var=no
9232 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9233 hardcode_shlibpath_var=no
9234 export_dynamic_flag_spec='-Bexport'
9238 if test -d /usr/nec; then
9239 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9240 hardcode_shlibpath_var=no
9241 runpath_var=LD_RUN_PATH
9242 hardcode_runpath_var=yes
9247 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9248 no_undefined_flag='${wl}-z,text'
9249 archive_cmds_need_lc=no
9250 hardcode_shlibpath_var=no
9251 runpath_var='LD_RUN_PATH'
9253 if test "$GCC" = yes; then
9254 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9255 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9257 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9258 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9262 sysv5* | sco3.2v5* | sco5v6*)
9263 # Note: We can NOT use -z defs as we might desire, because we do not
9264 # link with -lc, and that would cause any symbols used from libc to
9265 # always be unresolved, which means just about no library would
9266 # ever link correctly. If we're not using GNU ld we use -z text
9267 # though, which does catch some bad symbols but isn't as heavy-handed
9269 no_undefined_flag='${wl}-z,text'
9270 allow_undefined_flag='${wl}-z,nodefs'
9271 archive_cmds_need_lc=no
9272 hardcode_shlibpath_var=no
9273 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9274 hardcode_libdir_separator=':'
9275 link_all_deplibs=yes
9276 export_dynamic_flag_spec='${wl}-Bexport'
9277 runpath_var='LD_RUN_PATH'
9279 if test "$GCC" = yes; then
9280 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9281 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9283 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9284 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9289 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9290 hardcode_libdir_flag_spec='-L$libdir'
9291 hardcode_shlibpath_var=no
9299 if test x$host_vendor = xsni; then
9301 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9302 export_dynamic_flag_spec='${wl}-Blargedynsym'
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9309 $as_echo "$ld_shlibs" >&6; }
9310 test "$ld_shlibs" = no && can_build_shared=no
9312 with_gnu_ld=$with_gnu_ld
9329 # Do we need to explicitly link libc?
9331 case "x$archive_cmds_need_lc" in
9333 # Assume -lc should be added
9334 archive_cmds_need_lc=yes
9336 if test "$enable_shared" = yes && test "$GCC" = yes; then
9337 case $archive_cmds in
9339 # FIXME: we may have to deal with multi-command sequences.
9342 # Test whether the compiler implicitly links with -lc since on some
9343 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9344 # to ld, don't add -lc before -lgcc.
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9346 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9348 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9350 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9351 (eval $ac_compile) 2>&5
9353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9354 test $ac_status = 0; } 2>conftest.err; then
9357 libobjs=conftest.$ac_objext
9359 wl=$lt_prog_compiler_wl
9360 pic_flag=$lt_prog_compiler_pic
9366 lt_save_allow_undefined_flag=$allow_undefined_flag
9367 allow_undefined_flag=
9368 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9369 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9372 test $ac_status = 0; }
9374 archive_cmds_need_lc=no
9376 archive_cmds_need_lc=yes
9378 allow_undefined_flag=$lt_save_allow_undefined_flag
9380 cat conftest.err 1>&5
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9384 $as_echo "$archive_cmds_need_lc" >&6; }
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9548 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9550 if test "$GCC" = yes; then
9552 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9553 *) lt_awk_arg="/^libraries:/" ;;
9555 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9556 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9557 # if the path contains ";" then we assume it to be the separator
9558 # otherwise default to the standard path separator (i.e. ":") - it is
9559 # assumed that no part of a normal pathname contains ";" but that should
9560 # okay in the real world where ";" in dirpaths is itself problematic.
9561 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9563 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9565 # Ok, now we have the path, separated by spaces, we can step through it
9566 # and add multilib dir if necessary.
9567 lt_tmp_lt_search_path_spec=
9568 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9569 for lt_sys_path in $lt_search_path_spec; do
9570 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9571 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9573 test -d "$lt_sys_path" && \
9574 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9577 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9578 BEGIN {RS=" "; FS="/|\n";} {
9581 for (lt_i = NF; lt_i > 0; lt_i--) {
9582 if ($lt_i != "" && $lt_i != ".") {
9583 if ($lt_i == "..") {
9586 if (lt_count == 0) {
9587 lt_foo="/" $lt_i lt_foo;
9594 if (lt_foo != "") { lt_freq[lt_foo]++; }
9595 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9597 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9599 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9602 libname_spec='lib$name'
9610 shlibpath_overrides_runpath=unknown
9612 dynamic_linker="$host_os ld.so"
9613 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9614 need_lib_prefix=unknown
9615 hardcode_into_libs=no
9617 # when you set need_version to no, make sure it does not cause -set_version
9618 # flags to be left without arguments
9619 need_version=unknown
9624 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9625 shlibpath_var=LIBPATH
9627 # AIX 3 has no versioning support, so we append a major version to the name.
9628 soname_spec='${libname}${release}${shared_ext}$major'
9635 hardcode_into_libs=yes
9636 if test "$host_cpu" = ia64; then
9637 # AIX 5 supports IA64
9638 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9639 shlibpath_var=LD_LIBRARY_PATH
9641 # With GCC up to 2.95.x, collect2 would create an import file
9642 # for dependence libraries. The import file would start with
9643 # the line `#! .'. This would cause the generated library to
9644 # depend on `.', always an invalid library. This was fixed in
9645 # development snapshots of GCC prior to 3.0.
9647 aix4 | aix4.[01] | aix4.[01].*)
9648 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9650 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9657 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9658 # soname into executable. Probably we can add versioning support to
9659 # collect2, so additional links can be useful in future.
9660 if test "$aix_use_runtimelinking" = yes; then
9661 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9662 # instead of lib<name>.a to let people know that these are not
9663 # typical AIX shared libraries.
9664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9666 # We preserve .a as extension for shared libraries through AIX4.2
9667 # and later when we are not doing run time linking.
9668 library_names_spec='${libname}${release}.a $libname.a'
9669 soname_spec='${libname}${release}${shared_ext}$major'
9671 shlibpath_var=LIBPATH
9678 # Since July 2007 AmigaOS4 officially supports .so libraries.
9679 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9683 library_names_spec='$libname.ixlibrary $libname.a'
9684 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9685 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9691 library_names_spec='${libname}${shared_ext}'
9692 dynamic_linker="$host_os ld.so"
9693 shlibpath_var=LIBRARY_PATH
9699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9700 soname_spec='${libname}${release}${shared_ext}$major'
9701 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9702 shlibpath_var=LD_LIBRARY_PATH
9703 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9704 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9705 # the default ld.so.conf also contains /usr/contrib/lib and
9706 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9707 # libtool to hard-code these into programs
9710 cygwin* | mingw* | pw32* | cegcc*)
9711 version_type=windows
9716 case $GCC,$host_os in
9717 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9718 library_names_spec='$libname.dll.a'
9719 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9720 postinstall_cmds='base_file=`basename \${file}`~
9721 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9722 dldir=$destdir/`dirname \$dlpath`~
9723 test -d \$dldir || mkdir -p \$dldir~
9724 $install_prog $dir/$dlname \$dldir/$dlname~
9725 chmod a+x \$dldir/$dlname~
9726 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9727 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9729 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9730 dlpath=$dir/\$dldll~
9732 shlibpath_overrides_runpath=yes
9736 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9737 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9738 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9741 # MinGW DLLs use traditional 'lib' prefix
9742 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9743 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9744 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9745 # It is most probably a Windows format PATH printed by
9746 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9747 # path with ; separators, and with drive letters. We can handle the
9748 # drive letters (cygwin fileutils understands them), so leave them,
9749 # especially as we might pass files found there to a mingw objdump,
9750 # which wouldn't understand a cygwinified path. Ahh.
9751 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9753 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9757 # pw32 DLLs use 'pw' prefix rather than 'lib'
9758 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9764 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9767 dynamic_linker='Win32 ld.exe'
9768 # FIXME: first we should search . and the directory the executable is in
9772 darwin* | rhapsody*)
9773 dynamic_linker="$host_os dyld"
9777 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9778 soname_spec='${libname}${release}${major}$shared_ext'
9779 shlibpath_overrides_runpath=yes
9780 shlibpath_var=DYLD_LIBRARY_PATH
9781 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9783 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9784 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9792 soname_spec='${libname}${release}${shared_ext}$major'
9793 shlibpath_var=LD_LIBRARY_PATH
9800 freebsd* | dragonfly*)
9801 # DragonFly does not have aout. When/if they implement a new
9802 # versioning mechanism, adjust this.
9803 if test -x /usr/bin/objformat; then
9804 objformat=`/usr/bin/objformat`
9807 freebsd[123]*) objformat=aout ;;
9811 version_type=freebsd-$objformat
9812 case $version_type in
9814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9819 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9823 shlibpath_var=LD_LIBRARY_PATH
9826 shlibpath_overrides_runpath=yes
9828 freebsd3.[01]* | freebsdelf3.[01]*)
9829 shlibpath_overrides_runpath=yes
9830 hardcode_into_libs=yes
9832 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9833 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9834 shlibpath_overrides_runpath=no
9835 hardcode_into_libs=yes
9837 *) # from 4.6 on, and DragonFly
9838 shlibpath_overrides_runpath=yes
9839 hardcode_into_libs=yes
9848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9849 soname_spec='${libname}${release}${shared_ext}$major'
9850 shlibpath_var=LD_LIBRARY_PATH
9851 hardcode_into_libs=yes
9854 hpux9* | hpux10* | hpux11*)
9855 # Give a soname corresponding to the major version so that dld.sl refuses to
9856 # link against other versions.
9863 hardcode_into_libs=yes
9864 dynamic_linker="$host_os dld.so"
9865 shlibpath_var=LD_LIBRARY_PATH
9866 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9868 soname_spec='${libname}${release}${shared_ext}$major'
9869 if test "X$HPUX_IA64_MODE" = X32; then
9870 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9872 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9874 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9878 hardcode_into_libs=yes
9879 dynamic_linker="$host_os dld.sl"
9880 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9881 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9883 soname_spec='${libname}${release}${shared_ext}$major'
9884 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9885 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9889 dynamic_linker="$host_os dld.sl"
9890 shlibpath_var=SHLIB_PATH
9891 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9893 soname_spec='${libname}${release}${shared_ext}$major'
9896 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9897 postinstall_cmds='chmod 555 $lib'
9904 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9905 soname_spec='${libname}${release}${shared_ext}$major'
9906 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9907 shlibpath_var=LD_LIBRARY_PATH
9908 shlibpath_overrides_runpath=no
9909 hardcode_into_libs=yes
9912 irix5* | irix6* | nonstopux*)
9914 nonstopux*) version_type=nonstopux ;;
9916 if test "$lt_cv_prog_gnu_ld" = yes; then
9924 soname_spec='${libname}${release}${shared_ext}$major'
9925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9927 irix5* | nonstopux*)
9931 case $LD in # libtool.m4 will add one of these switches to LD
9932 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9933 libsuff= shlibsuff= libmagic=32-bit;;
9934 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9935 libsuff=32 shlibsuff=N32 libmagic=N32;;
9936 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9937 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9938 *) libsuff= shlibsuff= libmagic=never-match;;
9942 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9943 shlibpath_overrides_runpath=no
9944 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9945 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9946 hardcode_into_libs=yes
9949 # No shared lib support for Linux oldld, aout, or coff.
9950 linux*oldld* | linux*aout* | linux*coff*)
9954 # This must be Linux ELF.
9955 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9960 soname_spec='${libname}${release}${shared_ext}$major'
9961 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9962 shlibpath_var=LD_LIBRARY_PATH
9963 shlibpath_overrides_runpath=no
9964 # Some binutils ld are patched to set DT_RUNPATH
9965 save_LDFLAGS=$LDFLAGS
9967 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9968 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9980 if ac_fn_c_try_link "$LINENO"; then :
9981 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9982 shlibpath_overrides_runpath=yes
9985 rm -f core conftest.err conftest.$ac_objext \
9986 conftest$ac_exeext conftest.$ac_ext
9987 LDFLAGS=$save_LDFLAGS
9990 # This implies no fast_install, which is unacceptable.
9991 # Some rework will be needed to allow for fast_install
9992 # before this can be enabled.
9993 hardcode_into_libs=yes
9995 # Append ld.so.conf contents to the search path
9996 if test -f /etc/ld.so.conf; then
9997 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9998 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10001 # We used to test for /lib/ld.so.1 and disable shared libraries on
10002 # powerpc, because MkLinux only supported shared libraries with the
10003 # GNU dynamic linker. Since this was broken with cross compilers,
10004 # most powerpc-linux boxes support dynamic linking these days and
10005 # people can always --disable-shared, the test was removed, and we
10006 # assume the GNU/Linux dynamic linker is in use.
10007 dynamic_linker='GNU/Linux ld.so'
10014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10015 soname_spec='${libname}${release}${shared_ext}$major'
10016 shlibpath_var=LD_LIBRARY_PATH
10017 shlibpath_overrides_runpath=no
10018 hardcode_into_libs=yes
10019 dynamic_linker='NetBSD ld.elf_so'
10026 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10028 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10029 dynamic_linker='NetBSD (a.out) ld.so'
10031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10032 soname_spec='${libname}${release}${shared_ext}$major'
10033 dynamic_linker='NetBSD ld.elf_so'
10035 shlibpath_var=LD_LIBRARY_PATH
10036 shlibpath_overrides_runpath=yes
10037 hardcode_into_libs=yes
10042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10043 shlibpath_var=LD_LIBRARY_PATH
10044 shlibpath_overrides_runpath=yes
10051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10052 soname_spec='${libname}${release}${shared_ext}$major'
10053 shlibpath_var=LD_LIBRARY_PATH
10054 shlibpath_overrides_runpath=no
10055 hardcode_into_libs=yes
10056 dynamic_linker='ldqnx.so'
10061 sys_lib_dlsearch_path_spec="/usr/lib"
10063 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10065 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10066 *) need_version=no ;;
10068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10069 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10070 shlibpath_var=LD_LIBRARY_PATH
10071 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10073 openbsd2.[89] | openbsd2.[89].*)
10074 shlibpath_overrides_runpath=no
10077 shlibpath_overrides_runpath=yes
10081 shlibpath_overrides_runpath=yes
10086 libname_spec='$name'
10089 library_names_spec='$libname${shared_ext} $libname.a'
10090 dynamic_linker='OS/2 ld.exe'
10091 shlibpath_var=LIBPATH
10094 osf3* | osf4* | osf5*)
10098 soname_spec='${libname}${release}${shared_ext}$major'
10099 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10100 shlibpath_var=LD_LIBRARY_PATH
10101 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10102 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10113 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10114 soname_spec='${libname}${release}${shared_ext}$major'
10115 shlibpath_var=LD_LIBRARY_PATH
10116 shlibpath_overrides_runpath=yes
10117 hardcode_into_libs=yes
10118 # ldd complains unless libraries are executable
10119 postinstall_cmds='chmod +x $lib'
10124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10125 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10126 shlibpath_var=LD_LIBRARY_PATH
10127 shlibpath_overrides_runpath=yes
10128 if test "$with_gnu_ld" = yes; then
10136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10137 soname_spec='${libname}${release}${shared_ext}$major'
10138 shlibpath_var=LD_LIBRARY_PATH
10139 case $host_vendor in
10141 shlibpath_overrides_runpath=no
10143 runpath_var=LD_RUN_PATH
10151 shlibpath_overrides_runpath=no
10152 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10158 if test -d /usr/nec ;then
10160 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10161 soname_spec='$libname${shared_ext}.$major'
10162 shlibpath_var=LD_LIBRARY_PATH
10166 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10167 version_type=freebsd-elf
10170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10171 soname_spec='${libname}${release}${shared_ext}$major'
10172 shlibpath_var=LD_LIBRARY_PATH
10173 shlibpath_overrides_runpath=yes
10174 hardcode_into_libs=yes
10175 if test "$with_gnu_ld" = yes; then
10176 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10178 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10181 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10185 sys_lib_dlsearch_path_spec='/usr/lib'
10189 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10193 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10194 shlibpath_var=LD_LIBRARY_PATH
10195 shlibpath_overrides_runpath=no
10196 hardcode_into_libs=yes
10201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10202 soname_spec='${libname}${release}${shared_ext}$major'
10203 shlibpath_var=LD_LIBRARY_PATH
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10211 $as_echo "$dynamic_linker" >&6; }
10212 test "$dynamic_linker" = no && can_build_shared=no
10214 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10215 if test "$GCC" = yes; then
10216 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10219 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10220 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10222 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10223 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10313 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10315 if test -n "$hardcode_libdir_flag_spec" ||
10316 test -n "$runpath_var" ||
10317 test "X$hardcode_automatic" = "Xyes" ; then
10319 # We can hardcode non-existent directories.
10320 if test "$hardcode_direct" != no &&
10321 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10322 # have to relink, otherwise we might link with an installed library
10323 # when we should be linking with a yet-to-be-installed one
10324 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10325 test "$hardcode_minus_L" != no; then
10326 # Linking always hardcodes the temporary library directory.
10327 hardcode_action=relink
10329 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10330 hardcode_action=immediate
10333 # We cannot hardcode anything, or else we can only hardcode existing
10335 hardcode_action=unsupported
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10338 $as_echo "$hardcode_action" >&6; }
10340 if test "$hardcode_action" = relink ||
10341 test "$inherit_rpath" = yes; then
10342 # Fast installation is not supported
10343 enable_fast_install=no
10344 elif test "$shlibpath_overrides_runpath" = yes ||
10345 test "$enable_shared" = no; then
10346 # Fast installation is not necessary
10347 enable_fast_install=needless
10355 if test "x$enable_dlopen" != xyes; then
10356 enable_dlopen=unknown
10357 enable_dlopen_self=unknown
10358 enable_dlopen_self_static=unknown
10365 lt_cv_dlopen="load_add_on"
10367 lt_cv_dlopen_self=yes
10370 mingw* | pw32* | cegcc*)
10371 lt_cv_dlopen="LoadLibrary"
10376 lt_cv_dlopen="dlopen"
10381 # if libdl is installed we need to link against it
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10383 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10384 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10385 $as_echo_n "(cached) " >&6
10387 ac_check_lib_save_LIBS=$LIBS
10389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10390 /* end confdefs.h. */
10392 /* Override any GCC internal prototype to avoid an error.
10393 Use char because int might match the return type of a GCC
10394 builtin and then its argument prototype would still apply. */
10407 if ac_fn_c_try_link "$LINENO"; then :
10408 ac_cv_lib_dl_dlopen=yes
10410 ac_cv_lib_dl_dlopen=no
10412 rm -f core conftest.err conftest.$ac_objext \
10413 conftest$ac_exeext conftest.$ac_ext
10414 LIBS=$ac_check_lib_save_LIBS
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10417 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10418 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10419 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10422 lt_cv_dlopen="dyld"
10424 lt_cv_dlopen_self=yes
10431 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10432 if test "x$ac_cv_func_shl_load" = x""yes; then :
10433 lt_cv_dlopen="shl_load"
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10436 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10437 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10438 $as_echo_n "(cached) " >&6
10440 ac_check_lib_save_LIBS=$LIBS
10442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10443 /* end confdefs.h. */
10445 /* Override any GCC internal prototype to avoid an error.
10446 Use char because int might match the return type of a GCC
10447 builtin and then its argument prototype would still apply. */
10455 return shl_load ();
10460 if ac_fn_c_try_link "$LINENO"; then :
10461 ac_cv_lib_dld_shl_load=yes
10463 ac_cv_lib_dld_shl_load=no
10465 rm -f core conftest.err conftest.$ac_objext \
10466 conftest$ac_exeext conftest.$ac_ext
10467 LIBS=$ac_check_lib_save_LIBS
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10470 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10471 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10472 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10474 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10475 if test "x$ac_cv_func_dlopen" = x""yes; then :
10476 lt_cv_dlopen="dlopen"
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10479 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10480 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10481 $as_echo_n "(cached) " >&6
10483 ac_check_lib_save_LIBS=$LIBS
10485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10486 /* end confdefs.h. */
10488 /* Override any GCC internal prototype to avoid an error.
10489 Use char because int might match the return type of a GCC
10490 builtin and then its argument prototype would still apply. */
10503 if ac_fn_c_try_link "$LINENO"; then :
10504 ac_cv_lib_dl_dlopen=yes
10506 ac_cv_lib_dl_dlopen=no
10508 rm -f core conftest.err conftest.$ac_objext \
10509 conftest$ac_exeext conftest.$ac_ext
10510 LIBS=$ac_check_lib_save_LIBS
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10513 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10514 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10515 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10518 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10519 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10520 $as_echo_n "(cached) " >&6
10522 ac_check_lib_save_LIBS=$LIBS
10523 LIBS="-lsvld $LIBS"
10524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10525 /* end confdefs.h. */
10527 /* Override any GCC internal prototype to avoid an error.
10528 Use char because int might match the return type of a GCC
10529 builtin and then its argument prototype would still apply. */
10542 if ac_fn_c_try_link "$LINENO"; then :
10543 ac_cv_lib_svld_dlopen=yes
10545 ac_cv_lib_svld_dlopen=no
10547 rm -f core conftest.err conftest.$ac_objext \
10548 conftest$ac_exeext conftest.$ac_ext
10549 LIBS=$ac_check_lib_save_LIBS
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10552 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10553 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10554 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10557 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10558 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10559 $as_echo_n "(cached) " >&6
10561 ac_check_lib_save_LIBS=$LIBS
10563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10564 /* end confdefs.h. */
10566 /* Override any GCC internal prototype to avoid an error.
10567 Use char because int might match the return type of a GCC
10568 builtin and then its argument prototype would still apply. */
10576 return dld_link ();
10581 if ac_fn_c_try_link "$LINENO"; then :
10582 ac_cv_lib_dld_dld_link=yes
10584 ac_cv_lib_dld_dld_link=no
10586 rm -f core conftest.err conftest.$ac_objext \
10587 conftest$ac_exeext conftest.$ac_ext
10588 LIBS=$ac_check_lib_save_LIBS
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10591 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10592 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10593 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10614 if test "x$lt_cv_dlopen" != xno; then
10620 case $lt_cv_dlopen in
10622 save_CPPFLAGS="$CPPFLAGS"
10623 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10625 save_LDFLAGS="$LDFLAGS"
10626 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10629 LIBS="$lt_cv_dlopen_libs $LIBS"
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10632 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10633 if test "${lt_cv_dlopen_self+set}" = set; then :
10634 $as_echo_n "(cached) " >&6
10636 if test "$cross_compiling" = yes; then :
10637 lt_cv_dlopen_self=cross
10639 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10640 lt_status=$lt_dlunknown
10641 cat > conftest.$ac_ext <<_LT_EOF
10642 #line 10642 "configure"
10643 #include "confdefs.h"
10652 # define LT_DLGLOBAL RTLD_GLOBAL
10655 # define LT_DLGLOBAL DL_GLOBAL
10657 # define LT_DLGLOBAL 0
10661 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10662 find out it does not work in some platform. */
10663 #ifndef LT_DLLAZY_OR_NOW
10665 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10668 # define LT_DLLAZY_OR_NOW DL_LAZY
10671 # define LT_DLLAZY_OR_NOW RTLD_NOW
10674 # define LT_DLLAZY_OR_NOW DL_NOW
10676 # define LT_DLLAZY_OR_NOW 0
10683 void fnord() { int i=42;}
10686 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10687 int status = $lt_dlunknown;
10691 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10692 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10693 /* dlclose (self); */
10701 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10702 (eval $ac_link) 2>&5
10704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10705 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10706 (./conftest; exit; ) >&5 2>/dev/null
10708 case x$lt_status in
10709 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10710 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10711 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10714 # compilation failed
10715 lt_cv_dlopen_self=no
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10723 $as_echo "$lt_cv_dlopen_self" >&6; }
10725 if test "x$lt_cv_dlopen_self" = xyes; then
10726 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10728 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10729 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10730 $as_echo_n "(cached) " >&6
10732 if test "$cross_compiling" = yes; then :
10733 lt_cv_dlopen_self_static=cross
10735 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10736 lt_status=$lt_dlunknown
10737 cat > conftest.$ac_ext <<_LT_EOF
10738 #line 10738 "configure"
10739 #include "confdefs.h"
10748 # define LT_DLGLOBAL RTLD_GLOBAL
10751 # define LT_DLGLOBAL DL_GLOBAL
10753 # define LT_DLGLOBAL 0
10757 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10758 find out it does not work in some platform. */
10759 #ifndef LT_DLLAZY_OR_NOW
10761 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10764 # define LT_DLLAZY_OR_NOW DL_LAZY
10767 # define LT_DLLAZY_OR_NOW RTLD_NOW
10770 # define LT_DLLAZY_OR_NOW DL_NOW
10772 # define LT_DLLAZY_OR_NOW 0
10779 void fnord() { int i=42;}
10782 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10783 int status = $lt_dlunknown;
10787 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10788 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10789 /* dlclose (self); */
10797 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10798 (eval $ac_link) 2>&5
10800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10801 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10802 (./conftest; exit; ) >&5 2>/dev/null
10804 case x$lt_status in
10805 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10806 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10807 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10810 # compilation failed
10811 lt_cv_dlopen_self_static=no
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10819 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10822 CPPFLAGS="$save_CPPFLAGS"
10823 LDFLAGS="$save_LDFLAGS"
10828 case $lt_cv_dlopen_self in
10829 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10830 *) enable_dlopen_self=unknown ;;
10833 case $lt_cv_dlopen_self_static in
10834 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10835 *) enable_dlopen_self_static=unknown ;;
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10858 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10859 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10860 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10861 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10863 $as_echo "yes" >&6; }
10865 # FIXME - insert some real tests, host_os isn't really good enough
10868 if test -n "$STRIP" ; then
10869 striplib="$STRIP -x"
10870 old_striplib="$STRIP -S"
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10872 $as_echo "yes" >&6; }
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10875 $as_echo "no" >&6; }
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10880 $as_echo "no" >&6; }
10896 # Report which library types will actually be built
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10898 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10900 $as_echo "$can_build_shared" >&6; }
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10903 $as_echo_n "checking whether to build shared libraries... " >&6; }
10904 test "$can_build_shared" = "no" && enable_shared=no
10906 # On AIX, shared libraries and static libraries use the same namespace, and
10907 # are all built from PIC.
10910 test "$enable_shared" = yes && enable_static=no
10911 if test -n "$RANLIB"; then
10912 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10913 postinstall_cmds='$RANLIB $lib'
10918 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10919 test "$enable_shared" = yes && enable_static=no
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10924 $as_echo "$enable_shared" >&6; }
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10927 $as_echo_n "checking whether to build static libraries... " >&6; }
10928 # Make sure either enable_shared or enable_static is yes.
10929 test "$enable_shared" = yes || enable_static=yes
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10931 $as_echo "$enable_static" >&6; }
10938 ac_cpp='$CPP $CPPFLAGS'
10939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10957 ac_config_commands="$ac_config_commands libtool"
10962 # Only expand once:
10966 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10967 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10971 cat >>confdefs.h <<_ACEOF
10976 cat >>confdefs.h <<_ACEOF
10981 cat >>confdefs.h <<_ACEOF
10986 cat >>confdefs.h <<_ACEOF
10990 version_info="8:1:7"
10991 release_info="-release ver-pre-svn-07"
10994 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10995 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11003 want_gstreamer="yes"
11005 want_generic_vlc="no"
11009 want_gstreamer="yes"
11010 want_generic_vlc="yes"
11014 requirement_emotion=""
11016 ### Additional options to configure
11021 have_emotion_test="yes"
11024 # Check whether --enable-emotion-test was given.
11025 if test "${enable_emotion_test+set}" = set; then :
11026 enableval=$enable_emotion_test;
11027 if test "x${enableval}" = "xyes" ; then
11028 have_emotion_test="yes"
11030 have_emotion_test="no"
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build emotion_test binary" >&5
11037 $as_echo_n "checking whether to build emotion_test binary... " >&6; }
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_emotion_test" >&5
11039 $as_echo "$have_emotion_test" >&6; }
11041 if test "x$have_emotion_test" = "xyes"; then
11042 EMOTION_TEST_PRG=emotion_test${EXEEXT}
11047 if test "x$have_emotion_test" = "xyes"; then
11048 BUILD_EMOTION_TEST_TRUE=
11049 BUILD_EMOTION_TEST_FALSE='#'
11051 BUILD_EMOTION_TEST_TRUE='#'
11052 BUILD_EMOTION_TEST_FALSE=
11056 if test "x$have_emotion_test" = "xyes"; then :
11065 # Check whether --with-edje-cc was given.
11066 if test "${with_edje_cc+set}" = set; then :
11067 withval=$with_edje_cc;
11070 echo " Enlightenment edje_cc explicitly set to "$edje_cc;
11073 edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
11079 ### Checks for programs
11081 ac_cpp='$CPP $CPPFLAGS'
11082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11085 if test -n "$ac_tool_prefix"; then
11086 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11087 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11089 $as_echo_n "checking for $ac_word... " >&6; }
11090 if test "${ac_cv_prog_CC+set}" = set; then :
11091 $as_echo_n "(cached) " >&6
11093 if test -n "$CC"; then
11094 ac_cv_prog_CC="$CC" # Let the user override the test.
11096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11097 for as_dir in $PATH
11100 test -z "$as_dir" && as_dir=.
11101 for ac_exec_ext in '' $ac_executable_extensions; do
11102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11103 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11114 if test -n "$CC"; then
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11116 $as_echo "$CC" >&6; }
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11119 $as_echo "no" >&6; }
11124 if test -z "$ac_cv_prog_CC"; then
11126 # Extract the first word of "gcc", so it can be a program name with args.
11127 set dummy gcc; ac_word=$2
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11129 $as_echo_n "checking for $ac_word... " >&6; }
11130 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11131 $as_echo_n "(cached) " >&6
11133 if test -n "$ac_ct_CC"; then
11134 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11137 for as_dir in $PATH
11140 test -z "$as_dir" && as_dir=.
11141 for ac_exec_ext in '' $ac_executable_extensions; do
11142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11143 ac_cv_prog_ac_ct_CC="gcc"
11144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11153 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11154 if test -n "$ac_ct_CC"; then
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11156 $as_echo "$ac_ct_CC" >&6; }
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11159 $as_echo "no" >&6; }
11162 if test "x$ac_ct_CC" = x; then
11165 case $cross_compiling:$ac_tool_warned in
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11169 ac_tool_warned=yes ;;
11174 CC="$ac_cv_prog_CC"
11177 if test -z "$CC"; then
11178 if test -n "$ac_tool_prefix"; then
11179 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11180 set dummy ${ac_tool_prefix}cc; ac_word=$2
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11182 $as_echo_n "checking for $ac_word... " >&6; }
11183 if test "${ac_cv_prog_CC+set}" = set; then :
11184 $as_echo_n "(cached) " >&6
11186 if test -n "$CC"; then
11187 ac_cv_prog_CC="$CC" # Let the user override the test.
11189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11190 for as_dir in $PATH
11193 test -z "$as_dir" && as_dir=.
11194 for ac_exec_ext in '' $ac_executable_extensions; do
11195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11196 ac_cv_prog_CC="${ac_tool_prefix}cc"
11197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11207 if test -n "$CC"; then
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11209 $as_echo "$CC" >&6; }
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11212 $as_echo "no" >&6; }
11218 if test -z "$CC"; then
11219 # Extract the first word of "cc", so it can be a program name with args.
11220 set dummy cc; ac_word=$2
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11222 $as_echo_n "checking for $ac_word... " >&6; }
11223 if test "${ac_cv_prog_CC+set}" = set; then :
11224 $as_echo_n "(cached) " >&6
11226 if test -n "$CC"; then
11227 ac_cv_prog_CC="$CC" # Let the user override the test.
11229 ac_prog_rejected=no
11230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11231 for as_dir in $PATH
11234 test -z "$as_dir" && as_dir=.
11235 for ac_exec_ext in '' $ac_executable_extensions; do
11236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11237 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11238 ac_prog_rejected=yes
11242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11249 if test $ac_prog_rejected = yes; then
11250 # We found a bogon in the path, so make sure we never use it.
11251 set dummy $ac_cv_prog_CC
11253 if test $# != 0; then
11254 # We chose a different compiler from the bogus one.
11255 # However, it has the same basename, so the bogon will be chosen
11256 # first if we set CC to just the basename; use the full file name.
11258 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11264 if test -n "$CC"; then
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11266 $as_echo "$CC" >&6; }
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11269 $as_echo "no" >&6; }
11274 if test -z "$CC"; then
11275 if test -n "$ac_tool_prefix"; then
11276 for ac_prog in cl.exe
11278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11281 $as_echo_n "checking for $ac_word... " >&6; }
11282 if test "${ac_cv_prog_CC+set}" = set; then :
11283 $as_echo_n "(cached) " >&6
11285 if test -n "$CC"; then
11286 ac_cv_prog_CC="$CC" # Let the user override the test.
11288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11289 for as_dir in $PATH
11292 test -z "$as_dir" && as_dir=.
11293 for ac_exec_ext in '' $ac_executable_extensions; do
11294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11295 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11306 if test -n "$CC"; then
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11308 $as_echo "$CC" >&6; }
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11311 $as_echo "no" >&6; }
11315 test -n "$CC" && break
11318 if test -z "$CC"; then
11320 for ac_prog in cl.exe
11322 # Extract the first word of "$ac_prog", so it can be a program name with args.
11323 set dummy $ac_prog; ac_word=$2
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11325 $as_echo_n "checking for $ac_word... " >&6; }
11326 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11327 $as_echo_n "(cached) " >&6
11329 if test -n "$ac_ct_CC"; then
11330 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11333 for as_dir in $PATH
11336 test -z "$as_dir" && as_dir=.
11337 for ac_exec_ext in '' $ac_executable_extensions; do
11338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11339 ac_cv_prog_ac_ct_CC="$ac_prog"
11340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11349 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11350 if test -n "$ac_ct_CC"; then
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11352 $as_echo "$ac_ct_CC" >&6; }
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11355 $as_echo "no" >&6; }
11359 test -n "$ac_ct_CC" && break
11362 if test "x$ac_ct_CC" = x; then
11365 case $cross_compiling:$ac_tool_warned in
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11369 ac_tool_warned=yes ;;
11378 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11380 as_fn_error $? "no acceptable C compiler found in \$PATH
11381 See \`config.log' for more details" "$LINENO" 5 ; }
11383 # Provide some information about the compiler.
11384 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11387 for ac_option in --version -v -V -qversion; do
11388 { { ac_try="$ac_compiler $ac_option >&5"
11389 case "(($ac_try" in
11390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11391 *) ac_try_echo=$ac_try;;
11393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11394 $as_echo "$ac_try_echo"; } >&5
11395 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11397 if test -s conftest.err; then
11399 ... rest of stderr output deleted ...
11400 10q' conftest.err >conftest.er1
11401 cat conftest.er1 >&5
11403 rm -f conftest.er1 conftest.err
11404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11405 test $ac_status = 0; }
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11409 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11410 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11411 $as_echo_n "(cached) " >&6
11413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11427 if ac_fn_c_try_compile "$LINENO"; then :
11428 ac_compiler_gnu=yes
11432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11433 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11437 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11438 if test $ac_compiler_gnu = yes; then
11443 ac_test_CFLAGS=${CFLAGS+set}
11444 ac_save_CFLAGS=$CFLAGS
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11446 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11447 if test "${ac_cv_prog_cc_g+set}" = set; then :
11448 $as_echo_n "(cached) " >&6
11450 ac_save_c_werror_flag=$ac_c_werror_flag
11451 ac_c_werror_flag=yes
11454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11455 /* end confdefs.h. */
11465 if ac_fn_c_try_compile "$LINENO"; then :
11466 ac_cv_prog_cc_g=yes
11469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11470 /* end confdefs.h. */
11480 if ac_fn_c_try_compile "$LINENO"; then :
11483 ac_c_werror_flag=$ac_save_c_werror_flag
11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11496 if ac_fn_c_try_compile "$LINENO"; then :
11497 ac_cv_prog_cc_g=yes
11499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11504 ac_c_werror_flag=$ac_save_c_werror_flag
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11507 $as_echo "$ac_cv_prog_cc_g" >&6; }
11508 if test "$ac_test_CFLAGS" = set; then
11509 CFLAGS=$ac_save_CFLAGS
11510 elif test $ac_cv_prog_cc_g = yes; then
11511 if test "$GCC" = yes; then
11517 if test "$GCC" = yes; then
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11524 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11525 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11526 $as_echo_n "(cached) " >&6
11528 ac_cv_prog_cc_c89=no
11530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11531 /* end confdefs.h. */
11532 #include <stdarg.h>
11534 #include <sys/types.h>
11535 #include <sys/stat.h>
11536 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11537 struct buf { int x; };
11538 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11539 static char *e (p, i)
11545 static char *f (char * (*g) (char **, int), char **p, ...)
11550 s = g (p, va_arg (v,int));
11555 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11556 function prototypes and stuff, but not '\xHH' hex character constants.
11557 These don't provoke an error unfortunately, instead are silently treated
11558 as 'x'. The following induces an error, until -std is added to get
11559 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11560 array size at least. It's necessary to write '\x00'==0 to get something
11561 that's true only with -std. */
11562 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11564 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11565 inside strings and character constants. */
11567 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11569 int test (int i, double x);
11570 struct s1 {int (*f) (int a);};
11571 struct s2 {int (*f) (double a);};
11572 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11578 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11583 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11584 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11586 CC="$ac_save_CC $ac_arg"
11587 if ac_fn_c_try_compile "$LINENO"; then :
11588 ac_cv_prog_cc_c89=$ac_arg
11590 rm -f core conftest.err conftest.$ac_objext
11591 test "x$ac_cv_prog_cc_c89" != "xno" && break
11593 rm -f conftest.$ac_ext
11598 case "x$ac_cv_prog_cc_c89" in
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11601 $as_echo "none needed" >&6; } ;;
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11604 $as_echo "unsupported" >&6; } ;;
11606 CC="$CC $ac_cv_prog_cc_c89"
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11608 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11610 if test "x$ac_cv_prog_cc_c89" != xno; then :
11615 ac_cpp='$CPP $CPPFLAGS'
11616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11628 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11629 if test -n "$ac_tool_prefix"; then
11630 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11631 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11633 $as_echo_n "checking for $ac_word... " >&6; }
11634 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11635 $as_echo_n "(cached) " >&6
11637 case $PKG_CONFIG in
11639 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11643 for as_dir in $PATH
11646 test -z "$as_dir" && as_dir=.
11647 for ac_exec_ext in '' $ac_executable_extensions; do
11648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11649 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11660 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11661 if test -n "$PKG_CONFIG"; then
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11663 $as_echo "$PKG_CONFIG" >&6; }
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11666 $as_echo "no" >&6; }
11671 if test -z "$ac_cv_path_PKG_CONFIG"; then
11672 ac_pt_PKG_CONFIG=$PKG_CONFIG
11673 # Extract the first word of "pkg-config", so it can be a program name with args.
11674 set dummy pkg-config; ac_word=$2
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11676 $as_echo_n "checking for $ac_word... " >&6; }
11677 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11678 $as_echo_n "(cached) " >&6
11680 case $ac_pt_PKG_CONFIG in
11682 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11686 for as_dir in $PATH
11689 test -z "$as_dir" && as_dir=.
11690 for ac_exec_ext in '' $ac_executable_extensions; do
11691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11692 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11703 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11704 if test -n "$ac_pt_PKG_CONFIG"; then
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11706 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11709 $as_echo "no" >&6; }
11712 if test "x$ac_pt_PKG_CONFIG" = x; then
11715 case $cross_compiling:$ac_tool_warned in
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11719 ac_tool_warned=yes ;;
11721 PKG_CONFIG=$ac_pt_PKG_CONFIG
11724 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11728 if test -n "$PKG_CONFIG"; then
11729 _pkg_min_version=0.9.0
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11731 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11732 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11734 $as_echo "yes" >&6; }
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11737 $as_echo "no" >&6; }
11742 # Check whether pkg-config supports Requires.private
11743 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
11744 pkgconfig_requires_private="Requires.private"
11746 pkgconfig_requires_private="Requires"
11750 # doxygen program for documentation building
11754 # Check whether --enable-doc was given.
11755 if test "${enable_doc+set}" = set; then :
11756 enableval=$enable_doc;
11757 if test "x${enableval}" = "xyes" ; then
11758 efl_enable_doc="yes"
11760 efl_enable_doc="no"
11764 efl_enable_doc="yes"
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
11769 $as_echo_n "checking whether to build documentation... " >&6; }
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
11771 $as_echo "${efl_enable_doc}" >&6; }
11773 if test "x${efl_enable_doc}" = "xyes" ; then
11776 efl_doxygen="doxygen"
11779 # Check whether --with-doxygen was given.
11780 if test "${with_doxygen+set}" = set; then :
11781 withval=$with_doxygen;
11782 efl_doxygen=${withval}
11783 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
11784 set dummy ${efl_doxygen}; ac_word=$2
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11786 $as_echo_n "checking for $ac_word... " >&6; }
11787 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
11788 $as_echo_n "(cached) " >&6
11790 if test -n "$efl_have_doxygen"; then
11791 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
11793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11794 for as_dir in $PATH
11797 test -z "$as_dir" && as_dir=.
11798 for ac_exec_ext in '' $ac_executable_extensions; do
11799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11800 ac_cv_prog_efl_have_doxygen="yes"
11801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11808 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
11811 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
11812 if test -n "$efl_have_doxygen"; then
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
11814 $as_echo "$efl_have_doxygen" >&6; }
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11817 $as_echo "no" >&6; }
11821 if test "x${efl_have_doxygen}" = "xno" ; then
11823 echo "The doxygen program you specified:"
11824 echo "${efl_doxygen}"
11825 echo "was not found. Please check the path and make sure "
11826 echo "the program exists and is executable."
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
11828 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
11832 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
11833 set dummy ${efl_doxygen}; ac_word=$2
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11835 $as_echo_n "checking for $ac_word... " >&6; }
11836 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
11837 $as_echo_n "(cached) " >&6
11839 if test -n "$efl_have_doxygen"; then
11840 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
11842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11843 for as_dir in $PATH
11846 test -z "$as_dir" && as_dir=.
11847 for ac_exec_ext in '' $ac_executable_extensions; do
11848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11849 ac_cv_prog_efl_have_doxygen="yes"
11850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11857 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
11860 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
11861 if test -n "$efl_have_doxygen"; then
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
11863 $as_echo "$efl_have_doxygen" >&6; }
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11866 $as_echo "no" >&6; }
11870 if test "x${efl_have_doxygen}" = "xno" ; then
11872 echo "The doxygen program was not found in your execute path."
11873 echo "You may have doxygen installed somewhere not covered by your path."
11875 echo "If this is the case make sure you have the packages installed, AND"
11876 echo "that the doxygen program is in your execute path (see your"
11877 echo "shell manual page on setting the \$PATH environment variable), OR"
11878 echo "alternatively, specify the program to use with --with-doxygen."
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
11880 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
11886 efl_have_doxygen="no"
11891 if ! test "x${efl_have_doxygen}" = "xyes" ; then
11892 efl_enable_doc="no"
11895 if test "x${efl_have_doxygen}" = "xyes"; then
11896 EFL_BUILD_DOC_TRUE=
11897 EFL_BUILD_DOC_FALSE='#'
11899 EFL_BUILD_DOC_TRUE='#'
11900 EFL_BUILD_DOC_FALSE=
11904 if test "x$efl_have_doxygen" = "xyes"; then :
11912 ### Checks for libraries
11914 requirement_emotion="ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99"
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMOTION" >&5
11918 $as_echo_n "checking for EMOTION... " >&6; }
11920 if test -n "$EMOTION_CFLAGS"; then
11921 pkg_cv_EMOTION_CFLAGS="$EMOTION_CFLAGS"
11922 elif test -n "$PKG_CONFIG"; then
11923 if test -n "$PKG_CONFIG" && \
11924 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_emotion}\""; } >&5
11925 ($PKG_CONFIG --exists --print-errors "${requirement_emotion}") 2>&5
11927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11928 test $ac_status = 0; }; then
11929 pkg_cv_EMOTION_CFLAGS=`$PKG_CONFIG --cflags "${requirement_emotion}" 2>/dev/null`
11936 if test -n "$EMOTION_LIBS"; then
11937 pkg_cv_EMOTION_LIBS="$EMOTION_LIBS"
11938 elif test -n "$PKG_CONFIG"; then
11939 if test -n "$PKG_CONFIG" && \
11940 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_emotion}\""; } >&5
11941 ($PKG_CONFIG --exists --print-errors "${requirement_emotion}") 2>&5
11943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11944 test $ac_status = 0; }; then
11945 pkg_cv_EMOTION_LIBS=`$PKG_CONFIG --libs "${requirement_emotion}" 2>/dev/null`
11955 if test $pkg_failed = yes; then
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11957 $as_echo "no" >&6; }
11959 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11960 _pkg_short_errors_supported=yes
11962 _pkg_short_errors_supported=no
11964 if test $_pkg_short_errors_supported = yes; then
11965 EMOTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "${requirement_emotion}" 2>&1`
11967 EMOTION_PKG_ERRORS=`$PKG_CONFIG --print-errors "${requirement_emotion}" 2>&1`
11969 # Put the nasty error message in config.log where it belongs
11970 echo "$EMOTION_PKG_ERRORS" >&5
11972 as_fn_error $? "Package requirements (${requirement_emotion}) were not met:
11974 $EMOTION_PKG_ERRORS
11976 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11977 installed software in a non-standard prefix.
11979 Alternatively, you may set the environment variables EMOTION_CFLAGS
11980 and EMOTION_LIBS to avoid the need to call pkg-config.
11981 See the pkg-config man page for more details." "$LINENO" 5
11982 elif test $pkg_failed = untried; then
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11984 $as_echo "no" >&6; }
11985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11987 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11988 is in your PATH or set the PKG_CONFIG environment variable to the full
11989 path to pkg-config.
11991 Alternatively, you may set the environment variables EMOTION_CFLAGS
11992 and EMOTION_LIBS to avoid the need to call pkg-config.
11993 See the pkg-config man page for more details.
11995 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11996 See \`config.log' for more details" "$LINENO" 5 ; }
11998 EMOTION_CFLAGS=$pkg_cv_EMOTION_CFLAGS
11999 EMOTION_LIBS=$pkg_cv_EMOTION_LIBS
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12001 $as_echo "yes" >&6; }
12006 if test "x${have_emotion_test}" = "xyes" ; then
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMOTION_BIN" >&5
12010 $as_echo_n "checking for EMOTION_BIN... " >&6; }
12012 if test -n "$EMOTION_BIN_CFLAGS"; then
12013 pkg_cv_EMOTION_BIN_CFLAGS="$EMOTION_BIN_CFLAGS"
12014 elif test -n "$PKG_CONFIG"; then
12015 if test -n "$PKG_CONFIG" && \
12016 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99\""; } >&5
12017 ($PKG_CONFIG --exists --print-errors "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99") 2>&5
12019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12020 test $ac_status = 0; }; then
12021 pkg_cv_EMOTION_BIN_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99" 2>/dev/null`
12028 if test -n "$EMOTION_BIN_LIBS"; then
12029 pkg_cv_EMOTION_BIN_LIBS="$EMOTION_BIN_LIBS"
12030 elif test -n "$PKG_CONFIG"; then
12031 if test -n "$PKG_CONFIG" && \
12032 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99\""; } >&5
12033 ($PKG_CONFIG --exists --print-errors "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99") 2>&5
12035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12036 test $ac_status = 0; }; then
12037 pkg_cv_EMOTION_BIN_LIBS=`$PKG_CONFIG --libs "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99" 2>/dev/null`
12047 if test $pkg_failed = yes; then
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12049 $as_echo "no" >&6; }
12051 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12052 _pkg_short_errors_supported=yes
12054 _pkg_short_errors_supported=no
12056 if test $_pkg_short_errors_supported = yes; then
12057 EMOTION_BIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99" 2>&1`
12059 EMOTION_BIN_PKG_ERRORS=`$PKG_CONFIG --print-errors "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99" 2>&1`
12061 # Put the nasty error message in config.log where it belongs
12062 echo "$EMOTION_BIN_PKG_ERRORS" >&5
12064 as_fn_error $? "Package requirements (eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99) were not met:
12066 $EMOTION_BIN_PKG_ERRORS
12068 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12069 installed software in a non-standard prefix.
12071 Alternatively, you may set the environment variables EMOTION_BIN_CFLAGS
12072 and EMOTION_BIN_LIBS to avoid the need to call pkg-config.
12073 See the pkg-config man page for more details." "$LINENO" 5
12074 elif test $pkg_failed = untried; then
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12076 $as_echo "no" >&6; }
12077 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12079 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12080 is in your PATH or set the PKG_CONFIG environment variable to the full
12081 path to pkg-config.
12083 Alternatively, you may set the environment variables EMOTION_BIN_CFLAGS
12084 and EMOTION_BIN_LIBS to avoid the need to call pkg-config.
12085 See the pkg-config man page for more details.
12087 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12088 See \`config.log' for more details" "$LINENO" 5 ; }
12090 EMOTION_BIN_CFLAGS=$pkg_cv_EMOTION_BIN_CFLAGS
12091 EMOTION_BIN_LIBS=$pkg_cv_EMOTION_BIN_LIBS
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12093 $as_echo "yes" >&6; }
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_X" >&5
12101 $as_echo_n "checking for ECORE_X... " >&6; }
12103 if test -n "$ECORE_X_CFLAGS"; then
12104 pkg_cv_ECORE_X_CFLAGS="$ECORE_X_CFLAGS"
12105 elif test -n "$PKG_CONFIG"; then
12106 if test -n "$PKG_CONFIG" && \
12107 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.6.99 ecore-evas >= 1.6.99\""; } >&5
12108 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.6.99 ecore-evas >= 1.6.99") 2>&5
12110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12111 test $ac_status = 0; }; then
12112 pkg_cv_ECORE_X_CFLAGS=`$PKG_CONFIG --cflags "ecore-x >= 1.6.99 ecore-evas >= 1.6.99" 2>/dev/null`
12119 if test -n "$ECORE_X_LIBS"; then
12120 pkg_cv_ECORE_X_LIBS="$ECORE_X_LIBS"
12121 elif test -n "$PKG_CONFIG"; then
12122 if test -n "$PKG_CONFIG" && \
12123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.6.99 ecore-evas >= 1.6.99\""; } >&5
12124 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.6.99 ecore-evas >= 1.6.99") 2>&5
12126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12127 test $ac_status = 0; }; then
12128 pkg_cv_ECORE_X_LIBS=`$PKG_CONFIG --libs "ecore-x >= 1.6.99 ecore-evas >= 1.6.99" 2>/dev/null`
12138 if test $pkg_failed = yes; then
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12140 $as_echo "no" >&6; }
12142 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12143 _pkg_short_errors_supported=yes
12145 _pkg_short_errors_supported=no
12147 if test $_pkg_short_errors_supported = yes; then
12148 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-x >= 1.6.99 ecore-evas >= 1.6.99" 2>&1`
12150 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-x >= 1.6.99 ecore-evas >= 1.6.99" 2>&1`
12152 # Put the nasty error message in config.log where it belongs
12153 echo "$ECORE_X_PKG_ERRORS" >&5
12156 elif test $pkg_failed = untried; then
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12158 $as_echo "no" >&6; }
12161 ECORE_X_CFLAGS=$pkg_cv_ECORE_X_CFLAGS
12162 ECORE_X_LIBS=$pkg_cv_ECORE_X_LIBS
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12164 $as_echo "yes" >&6; }
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_FB" >&5
12171 $as_echo_n "checking for ECORE_FB... " >&6; }
12173 if test -n "$ECORE_FB_CFLAGS"; then
12174 pkg_cv_ECORE_FB_CFLAGS="$ECORE_FB_CFLAGS"
12175 elif test -n "$PKG_CONFIG"; then
12176 if test -n "$PKG_CONFIG" && \
12177 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.6.99\""; } >&5
12178 ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.6.99") 2>&5
12180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12181 test $ac_status = 0; }; then
12182 pkg_cv_ECORE_FB_CFLAGS=`$PKG_CONFIG --cflags "ecore-fb >= 1.6.99" 2>/dev/null`
12189 if test -n "$ECORE_FB_LIBS"; then
12190 pkg_cv_ECORE_FB_LIBS="$ECORE_FB_LIBS"
12191 elif test -n "$PKG_CONFIG"; then
12192 if test -n "$PKG_CONFIG" && \
12193 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.6.99\""; } >&5
12194 ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.6.99") 2>&5
12196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12197 test $ac_status = 0; }; then
12198 pkg_cv_ECORE_FB_LIBS=`$PKG_CONFIG --libs "ecore-fb >= 1.6.99" 2>/dev/null`
12208 if test $pkg_failed = yes; then
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12210 $as_echo "no" >&6; }
12212 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12213 _pkg_short_errors_supported=yes
12215 _pkg_short_errors_supported=no
12217 if test $_pkg_short_errors_supported = yes; then
12218 ECORE_FB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-fb >= 1.6.99" 2>&1`
12220 ECORE_FB_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-fb >= 1.6.99" 2>&1`
12222 # Put the nasty error message in config.log where it belongs
12223 echo "$ECORE_FB_PKG_ERRORS" >&5
12226 elif test $pkg_failed = untried; then
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12228 $as_echo "no" >&6; }
12231 ECORE_FB_CFLAGS=$pkg_cv_ECORE_FB_CFLAGS
12232 ECORE_FB_LIBS=$pkg_cv_ECORE_FB_LIBS
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12234 $as_echo "yes" >&6; }
12235 have_ecore_fb="yes"
12238 if test "x${have_ecore_x}" = "xyes" ; then
12240 $as_echo "#define EMOTION_HAVE_ECORE_X 1" >>confdefs.h
12244 if test "x${have_ecore_fb}" = "xyes" ; then
12246 $as_echo "#define EMOTION_HAVE_ECORE_FB 1" >>confdefs.h
12250 if test -n "$PKG_CONFIG" && \
12251 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-x11 >= 1.6.99\""; } >&5
12252 ($PKG_CONFIG --exists --print-errors "evas-software-x11 >= 1.6.99") 2>&5
12254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12255 test $ac_status = 0; }; then
12257 $as_echo "#define HAVE_EVAS_SOFWARE_X11 1" >>confdefs.h
12261 if test -n "$PKG_CONFIG" && \
12262 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-xrender-x11 >= 1.6.99\""; } >&5
12263 ($PKG_CONFIG --exists --print-errors "evas-xrender-x11 >= 1.6.99") 2>&5
12265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12266 test $ac_status = 0; }; then
12268 $as_echo "#define HAVE_EVAS_XRENDER_X11 1" >>confdefs.h
12272 if test -n "$PKG_CONFIG" && \
12273 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-x11 >= 1.6.99\""; } >&5
12274 ($PKG_CONFIG --exists --print-errors "evas-opengl-x11 >= 1.6.99") 2>&5
12276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12277 test $ac_status = 0; }; then
12279 $as_echo "#define HAVE_EVAS_OPENGL_X11 1" >>confdefs.h
12283 if test -n "$PKG_CONFIG" && \
12284 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-fb >= 1.6.99\""; } >&5
12285 ($PKG_CONFIG --exists --print-errors "evas-fb >= 1.6.99") 2>&5
12287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12288 test $ac_status = 0; }; then
12290 $as_echo "#define HAVE_EVAS_FB 1" >>confdefs.h
12296 # Check whether --enable-edje-external was given.
12297 if test "${enable_edje_external+set}" = set; then :
12298 enableval=$enable_edje_external;
12299 if test "x${enableval}" = "xyes" ; then
12300 _efl_want_edje_external="yes"
12302 _efl_want_edje_external="no"
12306 _efl_want_edje_external="auto"
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if should provide Edje EXTERNAL support..." >&5
12311 $as_echo_n "checking if should provide Edje EXTERNAL support...... " >&6; }
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_want_edje_external}" >&5
12313 $as_echo "${_efl_want_edje_external}" >&6; }
12315 _efl_enable_edje_external="no"
12316 if ! test "x${_efl_want_edje_external}" = "xno" ; then
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_EXTERNAL" >&5
12320 $as_echo_n "checking for EDJE_EXTERNAL... " >&6; }
12322 if test -n "$EDJE_EXTERNAL_CFLAGS"; then
12323 pkg_cv_EDJE_EXTERNAL_CFLAGS="$EDJE_EXTERNAL_CFLAGS"
12324 elif test -n "$PKG_CONFIG"; then
12325 if test -n "$PKG_CONFIG" && \
12326 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje >= 1.0.0\""; } >&5
12327 ($PKG_CONFIG --exists --print-errors "edje >= 1.0.0") 2>&5
12329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12330 test $ac_status = 0; }; then
12331 pkg_cv_EDJE_EXTERNAL_CFLAGS=`$PKG_CONFIG --cflags "edje >= 1.0.0" 2>/dev/null`
12338 if test -n "$EDJE_EXTERNAL_LIBS"; then
12339 pkg_cv_EDJE_EXTERNAL_LIBS="$EDJE_EXTERNAL_LIBS"
12340 elif test -n "$PKG_CONFIG"; then
12341 if test -n "$PKG_CONFIG" && \
12342 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje >= 1.0.0\""; } >&5
12343 ($PKG_CONFIG --exists --print-errors "edje >= 1.0.0") 2>&5
12345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12346 test $ac_status = 0; }; then
12347 pkg_cv_EDJE_EXTERNAL_LIBS=`$PKG_CONFIG --libs "edje >= 1.0.0" 2>/dev/null`
12357 if test $pkg_failed = yes; then
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12359 $as_echo "no" >&6; }
12361 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12362 _pkg_short_errors_supported=yes
12364 _pkg_short_errors_supported=no
12366 if test $_pkg_short_errors_supported = yes; then
12367 EDJE_EXTERNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "edje >= 1.0.0" 2>&1`
12369 EDJE_EXTERNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors "edje >= 1.0.0" 2>&1`
12371 # Put the nasty error message in config.log where it belongs
12372 echo "$EDJE_EXTERNAL_PKG_ERRORS" >&5
12374 _efl_enable_edje_external="no"
12375 elif test $pkg_failed = untried; then
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12377 $as_echo "no" >&6; }
12378 _efl_enable_edje_external="no"
12380 EDJE_EXTERNAL_CFLAGS=$pkg_cv_EDJE_EXTERNAL_CFLAGS
12381 EDJE_EXTERNAL_LIBS=$pkg_cv_EDJE_EXTERNAL_LIBS
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12383 $as_echo "yes" >&6; }
12384 _efl_enable_edje_external="yes"
12391 if test "x${_efl_want_edje_external}" = "xyes" && test "x${_efl_enable_edje_external}" = "xno" ; then
12392 as_fn_error $? "Edje EXTERNAL support requested, but Edje not found by pkg-config." "$LINENO" 5
12395 if test "x${_efl_enable_edje_external}" = "xyes" ; then
12396 EDJE_VERSION=`${PKG_CONFIG} edje --modversion | awk -F . '{printf("%s.0.0", $1);}'`
12397 MODULE_EDJE="$host_os-$host_cpu-${EDJE_VERSION}"
12399 cat >>confdefs.h <<_ACEOF
12400 #define MODULE_EDJE "$MODULE_EDJE"
12407 if test "x${_efl_enable_edje_external}" = "xyes"; then
12408 ENABLE_EDJE_EXTERNAL_TRUE=
12409 ENABLE_EDJE_EXTERNAL_FALSE='#'
12411 ENABLE_EDJE_EXTERNAL_TRUE='#'
12412 ENABLE_EDJE_EXTERNAL_FALSE=
12416 if test "x${_efl_enable_edje_external}" = "xyes"; then :
12417 have_edje_external="yes"
12419 have_edje_external="no"
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EEZE" >&5
12427 $as_echo_n "checking for EEZE... " >&6; }
12429 if test -n "$EEZE_CFLAGS"; then
12430 pkg_cv_EEZE_CFLAGS="$EEZE_CFLAGS"
12431 elif test -n "$PKG_CONFIG"; then
12432 if test -n "$PKG_CONFIG" && \
12433 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eeze >= 1.6.99\""; } >&5
12434 ($PKG_CONFIG --exists --print-errors "eeze >= 1.6.99") 2>&5
12436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12437 test $ac_status = 0; }; then
12438 pkg_cv_EEZE_CFLAGS=`$PKG_CONFIG --cflags "eeze >= 1.6.99" 2>/dev/null`
12445 if test -n "$EEZE_LIBS"; then
12446 pkg_cv_EEZE_LIBS="$EEZE_LIBS"
12447 elif test -n "$PKG_CONFIG"; then
12448 if test -n "$PKG_CONFIG" && \
12449 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eeze >= 1.6.99\""; } >&5
12450 ($PKG_CONFIG --exists --print-errors "eeze >= 1.6.99") 2>&5
12452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12453 test $ac_status = 0; }; then
12454 pkg_cv_EEZE_LIBS=`$PKG_CONFIG --libs "eeze >= 1.6.99" 2>/dev/null`
12464 if test $pkg_failed = yes; then
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12466 $as_echo "no" >&6; }
12468 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12469 _pkg_short_errors_supported=yes
12471 _pkg_short_errors_supported=no
12473 if test $_pkg_short_errors_supported = yes; then
12474 EEZE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eeze >= 1.6.99" 2>&1`
12476 EEZE_PKG_ERRORS=`$PKG_CONFIG --print-errors "eeze >= 1.6.99" 2>&1`
12478 # Put the nasty error message in config.log where it belongs
12479 echo "$EEZE_PKG_ERRORS" >&5
12482 elif test $pkg_failed = untried; then
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12484 $as_echo "no" >&6; }
12487 EEZE_CFLAGS=$pkg_cv_EEZE_CFLAGS
12488 EEZE_LIBS=$pkg_cv_EEZE_LIBS
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12490 $as_echo "yes" >&6; }
12494 if test "x${have_eeze}" = "xyes"; then
12496 $as_echo "#define EMOTION_HAVE_EEZE 1" >>confdefs.h
12498 requirement_emotion="${requirement_emotion} eeze >= 1.6.99"
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
12504 $as_echo_n "checking for EIO... " >&6; }
12506 if test -n "$EIO_CFLAGS"; then
12507 pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
12508 elif test -n "$PKG_CONFIG"; then
12509 if test -n "$PKG_CONFIG" && \
12510 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.6.99\""; } >&5
12511 ($PKG_CONFIG --exists --print-errors "eio >= 1.6.99") 2>&5
12513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12514 test $ac_status = 0; }; then
12515 pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "eio >= 1.6.99" 2>/dev/null`
12522 if test -n "$EIO_LIBS"; then
12523 pkg_cv_EIO_LIBS="$EIO_LIBS"
12524 elif test -n "$PKG_CONFIG"; then
12525 if test -n "$PKG_CONFIG" && \
12526 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.6.99\""; } >&5
12527 ($PKG_CONFIG --exists --print-errors "eio >= 1.6.99") 2>&5
12529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12530 test $ac_status = 0; }; then
12531 pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "eio >= 1.6.99" 2>/dev/null`
12541 if test $pkg_failed = yes; then
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12543 $as_echo "no" >&6; }
12545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12546 _pkg_short_errors_supported=yes
12548 _pkg_short_errors_supported=no
12550 if test $_pkg_short_errors_supported = yes; then
12551 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eio >= 1.6.99" 2>&1`
12553 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "eio >= 1.6.99" 2>&1`
12555 # Put the nasty error message in config.log where it belongs
12556 echo "$EIO_PKG_ERRORS" >&5
12559 elif test $pkg_failed = untried; then
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12561 $as_echo "no" >&6; }
12564 EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
12565 EIO_LIBS=$pkg_cv_EIO_LIBS
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12567 $as_echo "yes" >&6; }
12570 if test "x${have_eio}" = "xyes"; then
12572 $as_echo "#define HAVE_EIO 1" >>confdefs.h
12574 requirement_emotion="eio >= 1.6.99 ${requirement_emotion}"
12577 if test "x${have_eio}" = "xyes"; then
12586 # ecore-x availability, used for XV, VAAPI, VDPAU output.
12589 # Check whether --enable-ecore-x was given.
12590 if test "${enable_ecore_x+set}" = set; then :
12591 enableval=$enable_ecore_x;
12592 if test "x${enableval}" = "xyes" || test "x${enableval}" = "xauto" ; then
12593 want_ecore_x=${enableval}
12599 want_ecore_x="auto"
12603 if ! test "x$want_ecore_x" = "xno" ; then
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_X" >&5
12607 $as_echo_n "checking for ECORE_X... " >&6; }
12609 if test -n "$ECORE_X_CFLAGS"; then
12610 pkg_cv_ECORE_X_CFLAGS="$ECORE_X_CFLAGS"
12611 elif test -n "$PKG_CONFIG"; then
12612 if test -n "$PKG_CONFIG" && \
12613 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.6.99\""; } >&5
12614 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.6.99") 2>&5
12616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12617 test $ac_status = 0; }; then
12618 pkg_cv_ECORE_X_CFLAGS=`$PKG_CONFIG --cflags "ecore-x >= 1.6.99" 2>/dev/null`
12625 if test -n "$ECORE_X_LIBS"; then
12626 pkg_cv_ECORE_X_LIBS="$ECORE_X_LIBS"
12627 elif test -n "$PKG_CONFIG"; then
12628 if test -n "$PKG_CONFIG" && \
12629 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.6.99\""; } >&5
12630 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.6.99") 2>&5
12632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12633 test $ac_status = 0; }; then
12634 pkg_cv_ECORE_X_LIBS=`$PKG_CONFIG --libs "ecore-x >= 1.6.99" 2>/dev/null`
12644 if test $pkg_failed = yes; then
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12646 $as_echo "no" >&6; }
12648 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12649 _pkg_short_errors_supported=yes
12651 _pkg_short_errors_supported=no
12653 if test $_pkg_short_errors_supported = yes; then
12654 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-x >= 1.6.99" 2>&1`
12656 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-x >= 1.6.99" 2>&1`
12658 # Put the nasty error message in config.log where it belongs
12659 echo "$ECORE_X_PKG_ERRORS" >&5
12663 elif test $pkg_failed = untried; then
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12665 $as_echo "no" >&6; }
12669 ECORE_X_CFLAGS=$pkg_cv_ECORE_X_CFLAGS
12670 ECORE_X_LIBS=$pkg_cv_ECORE_X_LIBS
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12672 $as_echo "yes" >&6; }
12675 $as_echo "#define HAVE_ECORE_X 1" >>confdefs.h
12678 requirement_elm="ecore-x >= 1.6.99 ${requirement_elm}"
12685 if test "x$want_ecore_x" = "xyes" && test "x$have_ecore_x" = "xno" ; then
12686 as_fn_error $? "ecore-x support requested, but not found by pkg-config." "$LINENO" 5
12689 ### Checks for header files
12691 for ac_header in unistd.h
12693 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
12694 if test "x$ac_cv_header_unistd_h" = x""yes; then :
12695 cat >>confdefs.h <<_ACEOF
12696 #define HAVE_UNISTD_H 1
12704 # Check for video4linux
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for V4L2" >&5
12707 $as_echo_n "checking for V4L2... " >&6; }
12708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12712 #include <linux/videodev2.h>
12718 fprintf(stdout, "%i\n", V4L2_CAP_VIDEO_CAPTURE);
12724 if ac_fn_c_try_compile "$LINENO"; then :
12727 $as_echo "#define HAVE_V4L2 1" >>confdefs.h
12734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_v4l2}" >&5
12736 $as_echo "${have_v4l2}" >&6; }
12738 ### Checks for types
12741 ### Checks for structures
12744 ### Checks for compiler characteristics
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12746 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12747 if test "${ac_cv_c_bigendian+set}" = set; then :
12748 $as_echo_n "(cached) " >&6
12750 ac_cv_c_bigendian=unknown
12751 # See if we're dealing with a universal compiler.
12752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h. */
12754 #ifndef __APPLE_CC__
12755 not a universal capable compiler
12760 if ac_fn_c_try_compile "$LINENO"; then :
12762 # Check for potential -arch flags. It is not universal unless
12763 # there are at least two -arch flags with different values.
12766 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12767 if test -n "$ac_prev"; then
12769 i?86 | x86_64 | ppc | ppc64)
12770 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12773 ac_cv_c_bigendian=universal
12779 elif test "x$ac_word" = "x-arch"; then
12784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12785 if test $ac_cv_c_bigendian = unknown; then
12786 # See if sys/param.h defines the BYTE_ORDER macro.
12787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12788 /* end confdefs.h. */
12789 #include <sys/types.h>
12790 #include <sys/param.h>
12795 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12796 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12798 bogus endian macros
12805 if ac_fn_c_try_compile "$LINENO"; then :
12806 # It does; now see whether it defined to BIG_ENDIAN or not.
12807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h. */
12809 #include <sys/types.h>
12810 #include <sys/param.h>
12815 #if BYTE_ORDER != BIG_ENDIAN
12823 if ac_fn_c_try_compile "$LINENO"; then :
12824 ac_cv_c_bigendian=yes
12826 ac_cv_c_bigendian=no
12828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12832 if test $ac_cv_c_bigendian = unknown; then
12833 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12835 /* end confdefs.h. */
12836 #include <limits.h>
12841 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12842 bogus endian macros
12849 if ac_fn_c_try_compile "$LINENO"; then :
12850 # It does; now see whether it defined to _BIG_ENDIAN or not.
12851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12852 /* end confdefs.h. */
12853 #include <limits.h>
12858 #ifndef _BIG_ENDIAN
12866 if ac_fn_c_try_compile "$LINENO"; then :
12867 ac_cv_c_bigendian=yes
12869 ac_cv_c_bigendian=no
12871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12875 if test $ac_cv_c_bigendian = unknown; then
12876 # Compile a test program.
12877 if test "$cross_compiling" = yes; then :
12878 # Try to guess by grepping values from an object file.
12879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12880 /* end confdefs.h. */
12881 short int ascii_mm[] =
12882 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12883 short int ascii_ii[] =
12884 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12885 int use_ascii (int i) {
12886 return ascii_mm[i] + ascii_ii[i];
12888 short int ebcdic_ii[] =
12889 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12890 short int ebcdic_mm[] =
12891 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12892 int use_ebcdic (int i) {
12893 return ebcdic_mm[i] + ebcdic_ii[i];
12900 return use_ascii (foo) == use_ebcdic (foo);
12905 if ac_fn_c_try_compile "$LINENO"; then :
12906 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
12907 ac_cv_c_bigendian=yes
12909 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
12910 if test "$ac_cv_c_bigendian" = unknown; then
12911 ac_cv_c_bigendian=no
12913 # finding both strings is unlikely to happen, but who knows?
12914 ac_cv_c_bigendian=unknown
12918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12921 /* end confdefs.h. */
12922 $ac_includes_default
12927 /* Are we little or big endian? From Harbison&Steele. */
12931 char c[sizeof (long int)];
12934 return u.c[sizeof (long int) - 1] == 1;
12940 if ac_fn_c_try_run "$LINENO"; then :
12941 ac_cv_c_bigendian=no
12943 ac_cv_c_bigendian=yes
12945 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12946 conftest.$ac_objext conftest.beam conftest.$ac_ext
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12952 $as_echo "$ac_cv_c_bigendian" >&6; }
12953 case $ac_cv_c_bigendian in #(
12955 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12961 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12965 as_fn_error $? "unknown endianness
12966 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
12972 $as_echo_n "checking for __attribute__... " >&6; }
12974 if test "${ac_cv___attribute__+set}" = set; then :
12975 $as_echo_n "(cached) " >&6
12977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12978 /* end confdefs.h. */
12980 #include <stdlib.h>
12983 int foo(int x __attribute__ ((unused)))
12996 if ac_fn_c_try_compile "$LINENO"; then :
12997 ac_cv___attribute__="yes"
12999 ac_cv___attribute__="no"
13002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
13008 $as_echo "$ac_cv___attribute__" >&6; }
13010 if test "x${ac_cv___attribute__}" = "xyes" ; then
13012 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
13015 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
13019 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
13025 EFL_EMOTION_BUILD=""
13028 EMOTION_CPPFLAGS="-D_WIN32_WCE=0x0420"
13029 EFL_EMOTION_BUILD="-DEFL_EMOTION_BUILD"
13032 EMOTION_CPPFLAGS="-D_WIN32_WINNT=0x0501"
13033 EFL_EMOTION_BUILD="-DEFL_EMOTION_BUILD"
13040 ### Checks for linker characteristics
13042 # use --enable-auto-import on Windows
13044 lt_enable_auto_import=""
13047 lt_enable_auto_import="-Wl,--enable-auto-import"
13053 ### Checks for library functions
13054 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13055 # for constant arguments. Useless!
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
13057 $as_echo_n "checking for working alloca.h... " >&6; }
13058 if test "${ac_cv_working_alloca_h+set}" = set; then :
13059 $as_echo_n "(cached) " >&6
13061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13062 /* end confdefs.h. */
13063 #include <alloca.h>
13067 char *p = (char *) alloca (2 * sizeof (int));
13073 if ac_fn_c_try_link "$LINENO"; then :
13074 ac_cv_working_alloca_h=yes
13076 ac_cv_working_alloca_h=no
13078 rm -f core conftest.err conftest.$ac_objext \
13079 conftest$ac_exeext conftest.$ac_ext
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
13082 $as_echo "$ac_cv_working_alloca_h" >&6; }
13083 if test $ac_cv_working_alloca_h = yes; then
13085 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
13090 $as_echo_n "checking for alloca... " >&6; }
13091 if test "${ac_cv_func_alloca_works+set}" = set; then :
13092 $as_echo_n "(cached) " >&6
13094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13095 /* end confdefs.h. */
13097 # define alloca __builtin_alloca
13100 # include <malloc.h>
13101 # define alloca _alloca
13103 # ifdef HAVE_ALLOCA_H
13104 # include <alloca.h>
13109 # ifndef alloca /* predefined by HP cc +Olibcalls */
13120 char *p = (char *) alloca (1);
13126 if ac_fn_c_try_link "$LINENO"; then :
13127 ac_cv_func_alloca_works=yes
13129 ac_cv_func_alloca_works=no
13131 rm -f core conftest.err conftest.$ac_objext \
13132 conftest$ac_exeext conftest.$ac_ext
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
13135 $as_echo "$ac_cv_func_alloca_works" >&6; }
13137 if test $ac_cv_func_alloca_works = yes; then
13139 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
13142 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13143 # that cause trouble. Some versions do not even contain alloca or
13144 # contain a buggy version. If you still want to use their alloca,
13145 # use ar to extract alloca.o from them instead of compiling alloca.c.
13147 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
13149 $as_echo "#define C_ALLOCA 1" >>confdefs.h
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
13153 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
13154 if test "${ac_cv_os_cray+set}" = set; then :
13155 $as_echo_n "(cached) " >&6
13157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13158 /* end confdefs.h. */
13159 #if defined CRAY && ! defined CRAY2
13166 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13167 $EGREP "webecray" >/dev/null 2>&1; then :
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
13176 $as_echo "$ac_cv_os_cray" >&6; }
13177 if test $ac_cv_os_cray = yes; then
13178 for ac_func in _getb67 GETB67 getb67; do
13179 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13181 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13183 cat >>confdefs.h <<_ACEOF
13184 #define CRAY_STACKSEG_END $ac_func
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
13194 $as_echo_n "checking stack direction for C alloca... " >&6; }
13195 if test "${ac_cv_c_stack_direction+set}" = set; then :
13196 $as_echo_n "(cached) " >&6
13198 if test "$cross_compiling" = yes; then :
13199 ac_cv_c_stack_direction=0
13201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13202 /* end confdefs.h. */
13203 $ac_includes_default
13205 find_stack_direction ()
13207 static char *addr = 0;
13212 return find_stack_direction ();
13215 return (&dummy > addr) ? 1 : -1;
13221 return find_stack_direction () < 0;
13224 if ac_fn_c_try_run "$LINENO"; then :
13225 ac_cv_c_stack_direction=1
13227 ac_cv_c_stack_direction=-1
13229 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13230 conftest.$ac_objext conftest.beam conftest.$ac_ext
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
13235 $as_echo "$ac_cv_c_stack_direction" >&6; }
13236 cat >>confdefs.h <<_ACEOF
13237 #define STACK_DIRECTION $ac_cv_c_stack_direction
13249 want_module="${want_xine}"
13251 # Check whether --enable-xine was given.
13252 if test "${enable_xine+set}" = set; then :
13253 enableval=$enable_xine;
13254 if test "x${enableval}" = "xyes" ; then
13255 enable_module="yes"
13257 if test "x${enableval}" = "xstatic" ; then
13258 enable_module="static"
13265 enable_module="yes"
13269 if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
13274 if test "x${want_module}" = "xyes" && (test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic") ; then
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XINE" >&5
13282 $as_echo_n "checking for XINE... " >&6; }
13284 if test -n "$XINE_CFLAGS"; then
13285 pkg_cv_XINE_CFLAGS="$XINE_CFLAGS"
13286 elif test -n "$PKG_CONFIG"; then
13287 if test -n "$PKG_CONFIG" && \
13288 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxine >= 1.1.1 evas >= 1.0.0\""; } >&5
13289 ($PKG_CONFIG --exists --print-errors "libxine >= 1.1.1 evas >= 1.0.0") 2>&5
13291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13292 test $ac_status = 0; }; then
13293 pkg_cv_XINE_CFLAGS=`$PKG_CONFIG --cflags "libxine >= 1.1.1 evas >= 1.0.0" 2>/dev/null`
13300 if test -n "$XINE_LIBS"; then
13301 pkg_cv_XINE_LIBS="$XINE_LIBS"
13302 elif test -n "$PKG_CONFIG"; then
13303 if test -n "$PKG_CONFIG" && \
13304 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxine >= 1.1.1 evas >= 1.0.0\""; } >&5
13305 ($PKG_CONFIG --exists --print-errors "libxine >= 1.1.1 evas >= 1.0.0") 2>&5
13307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13308 test $ac_status = 0; }; then
13309 pkg_cv_XINE_LIBS=`$PKG_CONFIG --libs "libxine >= 1.1.1 evas >= 1.0.0" 2>/dev/null`
13319 if test $pkg_failed = yes; then
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13321 $as_echo "no" >&6; }
13323 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13324 _pkg_short_errors_supported=yes
13326 _pkg_short_errors_supported=no
13328 if test $_pkg_short_errors_supported = yes; then
13329 XINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxine >= 1.1.1 evas >= 1.0.0" 2>&1`
13331 XINE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxine >= 1.1.1 evas >= 1.0.0" 2>&1`
13333 # Put the nasty error message in config.log where it belongs
13334 echo "$XINE_PKG_ERRORS" >&5
13337 elif test $pkg_failed = untried; then
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13339 $as_echo "no" >&6; }
13342 XINE_CFLAGS=$pkg_cv_XINE_CFLAGS
13343 XINE_LIBS=$pkg_cv_XINE_LIBS
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13345 $as_echo "yes" >&6; }
13348 requirement="libxine"
13352 if test "x${enable_module}" = "xstatic" ; then
13353 requirement_emotion="${requirement} ${requirement_emotion}"
13356 if test "x$have_dep" = "xyes"; then :
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Xine module built" >&5
13366 $as_echo_n "checking whether to enable Xine module built... " >&6; }
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
13368 $as_echo "${have_module}" >&6; }
13371 if test "x${have_module}" = "xyes" && test "x${enable_module}" = "xstatic" ; then
13372 static_module="yes"
13375 if test "x${have_module}" = "xyes"; then
13376 EMOTION_BUILD_XINE_TRUE=
13377 EMOTION_BUILD_XINE_FALSE='#'
13379 EMOTION_BUILD_XINE_TRUE='#'
13380 EMOTION_BUILD_XINE_FALSE=
13383 if test "x${static_module}" = "xyes"; then
13384 EMOTION_STATIC_BUILD_XINE_TRUE=
13385 EMOTION_STATIC_BUILD_XINE_FALSE='#'
13387 EMOTION_STATIC_BUILD_XINE_TRUE='#'
13388 EMOTION_STATIC_BUILD_XINE_FALSE=
13392 if test "x${static_module}" = "xyes" ; then
13394 $as_echo "#define EMOTION_STATIC_BUILD_XINE 1" >>confdefs.h
13396 have_static_module="yes"
13400 if test "x${have_module}" = "xyes" ; then
13401 enable_xine=${enable_module}
13403 $as_echo "#define EMOTION_BUILD_XINE 1" >>confdefs.h
13407 if test "x$have_module" = "xyes"; then :
13416 want_module="${want_gstreamer}"
13418 # Check whether --enable-gstreamer was given.
13419 if test "${enable_gstreamer+set}" = set; then :
13420 enableval=$enable_gstreamer;
13421 if test "x${enableval}" = "xyes" ; then
13422 enable_module="yes"
13424 if test "x${enableval}" = "xstatic" ; then
13425 enable_module="static"
13432 enable_module="yes"
13436 if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
13441 if test "x${want_module}" = "xyes" && (test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic") ; then
13445 GSTPLUG_REQS=0.10.1
13446 GST_MAJORMINOR=0.10
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5
13452 $as_echo_n "checking for GSTREAMER... " >&6; }
13454 if test -n "$GSTREAMER_CFLAGS"; then
13455 pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
13456 elif test -n "$PKG_CONFIG"; then
13457 if test -n "$PKG_CONFIG" && \
13458 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR >= \$GST_REQS gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GSTPLUG_REQS gstreamer-video-\$GST_MAJORMINOR >= \$GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99\""; } >&5
13459 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQS gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPLUG_REQS gstreamer-video-$GST_MAJORMINOR >= $GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99") 2>&5
13461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13462 test $ac_status = 0; }; then
13463 pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQS gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPLUG_REQS gstreamer-video-$GST_MAJORMINOR >= $GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99" 2>/dev/null`
13470 if test -n "$GSTREAMER_LIBS"; then
13471 pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
13472 elif test -n "$PKG_CONFIG"; then
13473 if test -n "$PKG_CONFIG" && \
13474 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR >= \$GST_REQS gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GSTPLUG_REQS gstreamer-video-\$GST_MAJORMINOR >= \$GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99\""; } >&5
13475 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQS gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPLUG_REQS gstreamer-video-$GST_MAJORMINOR >= $GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99") 2>&5
13477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13478 test $ac_status = 0; }; then
13479 pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQS gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPLUG_REQS gstreamer-video-$GST_MAJORMINOR >= $GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99" 2>/dev/null`
13489 if test $pkg_failed = yes; then
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13491 $as_echo "no" >&6; }
13493 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13494 _pkg_short_errors_supported=yes
13496 _pkg_short_errors_supported=no
13498 if test $_pkg_short_errors_supported = yes; then
13499 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQS gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPLUG_REQS gstreamer-video-$GST_MAJORMINOR >= $GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99" 2>&1`
13501 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQS gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPLUG_REQS gstreamer-video-$GST_MAJORMINOR >= $GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99" 2>&1`
13503 # Put the nasty error message in config.log where it belongs
13504 echo "$GSTREAMER_PKG_ERRORS" >&5
13507 elif test $pkg_failed = untried; then
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13509 $as_echo "no" >&6; }
13512 GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
13513 GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13515 $as_echo "yes" >&6; }
13518 requirement="gstreamer-$GST_MAJORMINOR gstreamer-plugins-base-$GST_MAJORMINOR"
13522 if test "x${enable_module}" = "xstatic" ; then
13523 requirement_emotion="${requirement} ${requirement_emotion}"
13526 if test "x$have_dep" = "xyes"; then :
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Gstreamer module built" >&5
13536 $as_echo_n "checking whether to enable Gstreamer module built... " >&6; }
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
13538 $as_echo "${have_module}" >&6; }
13541 if test "x${have_module}" = "xyes" && test "x${enable_module}" = "xstatic" ; then
13542 static_module="yes"
13545 if test "x${have_module}" = "xyes"; then
13546 EMOTION_BUILD_GSTREAMER_TRUE=
13547 EMOTION_BUILD_GSTREAMER_FALSE='#'
13549 EMOTION_BUILD_GSTREAMER_TRUE='#'
13550 EMOTION_BUILD_GSTREAMER_FALSE=
13553 if test "x${static_module}" = "xyes"; then
13554 EMOTION_STATIC_BUILD_GSTREAMER_TRUE=
13555 EMOTION_STATIC_BUILD_GSTREAMER_FALSE='#'
13557 EMOTION_STATIC_BUILD_GSTREAMER_TRUE='#'
13558 EMOTION_STATIC_BUILD_GSTREAMER_FALSE=
13562 if test "x${static_module}" = "xyes" ; then
13564 $as_echo "#define EMOTION_STATIC_BUILD_GSTREAMER 1" >>confdefs.h
13566 have_static_module="yes"
13569 enable_gstreamer="no"
13570 if test "x${have_module}" = "xyes" ; then
13571 enable_gstreamer=${enable_module}
13573 $as_echo "#define EMOTION_BUILD_GSTREAMER 1" >>confdefs.h
13577 if test "x$have_module" = "xyes"; then :
13586 want_module="${want_generic}"
13588 # Check whether --enable-generic was given.
13589 if test "${enable_generic+set}" = set; then :
13590 enableval=$enable_generic;
13591 if test "x${enableval}" = "xyes" ; then
13592 enable_module="yes"
13594 if test "x${enableval}" = "xstatic" ; then
13595 enable_module="static"
13602 enable_module="yes"
13606 if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
13611 if test "x${want_module}" = "xyes" && (test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic") ; then
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GENERIC" >&5
13619 $as_echo_n "checking for GENERIC... " >&6; }
13621 if test -n "$GENERIC_CFLAGS"; then
13622 pkg_cv_GENERIC_CFLAGS="$GENERIC_CFLAGS"
13623 elif test -n "$PKG_CONFIG"; then
13624 if test -n "$PKG_CONFIG" && \
13625 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.0.0\""; } >&5
13626 ($PKG_CONFIG --exists --print-errors "evas >= 1.0.0") 2>&5
13628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13629 test $ac_status = 0; }; then
13630 pkg_cv_GENERIC_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.0.0" 2>/dev/null`
13637 if test -n "$GENERIC_LIBS"; then
13638 pkg_cv_GENERIC_LIBS="$GENERIC_LIBS"
13639 elif test -n "$PKG_CONFIG"; then
13640 if test -n "$PKG_CONFIG" && \
13641 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.0.0\""; } >&5
13642 ($PKG_CONFIG --exists --print-errors "evas >= 1.0.0") 2>&5
13644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13645 test $ac_status = 0; }; then
13646 pkg_cv_GENERIC_LIBS=`$PKG_CONFIG --libs "evas >= 1.0.0" 2>/dev/null`
13656 if test $pkg_failed = yes; then
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13658 $as_echo "no" >&6; }
13660 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13661 _pkg_short_errors_supported=yes
13663 _pkg_short_errors_supported=no
13665 if test $_pkg_short_errors_supported = yes; then
13666 GENERIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evas >= 1.0.0" 2>&1`
13668 GENERIC_PKG_ERRORS=`$PKG_CONFIG --print-errors "evas >= 1.0.0" 2>&1`
13670 # Put the nasty error message in config.log where it belongs
13671 echo "$GENERIC_PKG_ERRORS" >&5
13674 elif test $pkg_failed = untried; then
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13676 $as_echo "no" >&6; }
13679 GENERIC_CFLAGS=$pkg_cv_GENERIC_CFLAGS
13680 GENERIC_LIBS=$pkg_cv_GENERIC_LIBS
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13682 $as_echo "yes" >&6; }
13688 if test "x${enable_module}" = "xstatic" ; then
13689 requirement_emotion="${requirement} ${requirement_emotion}"
13692 if test "x$have_dep" = "xyes"; then :
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Generic module built" >&5
13702 $as_echo_n "checking whether to enable Generic module built... " >&6; }
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
13704 $as_echo "${have_module}" >&6; }
13707 if test "x${have_module}" = "xyes" && test "x${enable_module}" = "xstatic" ; then
13708 static_module="yes"
13711 if test "x${have_module}" = "xyes"; then
13712 EMOTION_BUILD_GENERIC_TRUE=
13713 EMOTION_BUILD_GENERIC_FALSE='#'
13715 EMOTION_BUILD_GENERIC_TRUE='#'
13716 EMOTION_BUILD_GENERIC_FALSE=
13719 if test "x${static_module}" = "xyes"; then
13720 EMOTION_STATIC_BUILD_GENERIC_TRUE=
13721 EMOTION_STATIC_BUILD_GENERIC_FALSE='#'
13723 EMOTION_STATIC_BUILD_GENERIC_TRUE='#'
13724 EMOTION_STATIC_BUILD_GENERIC_FALSE=
13728 if test "x${static_module}" = "xyes" ; then
13730 $as_echo "#define EMOTION_STATIC_BUILD_GENERIC 1" >>confdefs.h
13732 have_static_module="yes"
13735 enable_generic="no"
13736 if test "x${have_module}" = "xyes" ; then
13737 enable_generic=${enable_module}
13739 $as_echo "#define EMOTION_BUILD_GENERIC 1" >>confdefs.h
13743 if test "x$have_module" = "xyes"; then :
13753 want_module="${want_generic_vlc}"
13755 # Check whether --enable-generic-vlc was given.
13756 if test "${enable_generic_vlc+set}" = set; then :
13757 enableval=$enable_generic_vlc;
13758 if test "x${enableval}" = "xyes" ; then
13759 enable_module="yes"
13765 enable_module="auto"
13771 _efl_have_shm_open="no"
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
13775 $as_echo_n "checking for shm_open in libc... " >&6; }
13776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13777 /* end confdefs.h. */
13779 #include <sys/mman.h>
13780 #include <sys/stat.h> /* For mode constants */
13781 #include <fcntl.h> /* For O_* constants */
13789 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
13795 if ac_fn_c_try_link "$LINENO"; then :
13796 _efl_have_shm_open="yes"
13798 _efl_have_shm_open="no"
13800 rm -f core conftest.err conftest.$ac_objext \
13801 conftest$ac_exeext conftest.$ac_ext
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
13804 $as_echo "${_efl_have_shm_open}" >&6; }
13806 if test "x$_efl_have_shm_open" = "xno" ; then
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
13808 $as_echo_n "checking for shm_open in librt... " >&6; }
13810 LIBS_save="${LIBS}"
13811 LIBS="${LIBS} -lrt"
13812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h. */
13815 #include <sys/mman.h>
13816 #include <sys/stat.h> /* For mode constants */
13817 #include <fcntl.h> /* For O_* constants */
13825 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
13831 if ac_fn_c_try_link "$LINENO"; then :
13833 EFL_SHM_OPEN_LIBS="-lrt"
13834 _efl_have_shm_open="yes"
13836 _efl_have_shm_open="no"
13838 rm -f core conftest.err conftest.$ac_objext \
13839 conftest$ac_exeext conftest.$ac_ext
13841 LIBS="${LIBS_save}"
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
13844 $as_echo "${_efl_have_shm_open}" >&6; }
13849 if test "x$_efl_have_shm_open" = "xyes" ; then
13851 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
13855 if test "x$_efl_have_shm_open" = "xyes"; then :
13856 have_shm_open="yes"
13863 if test "x${have_shm_open}" != "xyes"; then
13864 enable_generic="no"
13867 if test "x${enable_generic}" != "xyes" && test "x${enable_generic}" != "xstatic"; then
13868 if test "x${enable_module}" = "xyes"; then
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Generic module is disabled, force disable of Generic Player VLC" >&5
13870 $as_echo "$as_me: WARNING: Generic module is disabled, force disable of Generic Player VLC" >&2;}
13876 if test "x${enable_module}" = "xauto"; then
13877 enable_module="${want_module}"
13878 elif test "x${enable_module}" = "xyes"; then
13883 if test "x${want_module}" = "xyes" && test "x${enable_module}" = "xyes"; then
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GENERIC_VLC" >&5
13891 $as_echo_n "checking for GENERIC_VLC... " >&6; }
13893 if test -n "$GENERIC_VLC_CFLAGS"; then
13894 pkg_cv_GENERIC_VLC_CFLAGS="$GENERIC_VLC_CFLAGS"
13895 elif test -n "$PKG_CONFIG"; then
13896 if test -n "$PKG_CONFIG" && \
13897 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvlc >= 0.9 eina >= 1.1.99\""; } >&5
13898 ($PKG_CONFIG --exists --print-errors "libvlc >= 0.9 eina >= 1.1.99") 2>&5
13900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13901 test $ac_status = 0; }; then
13902 pkg_cv_GENERIC_VLC_CFLAGS=`$PKG_CONFIG --cflags "libvlc >= 0.9 eina >= 1.1.99" 2>/dev/null`
13909 if test -n "$GENERIC_VLC_LIBS"; then
13910 pkg_cv_GENERIC_VLC_LIBS="$GENERIC_VLC_LIBS"
13911 elif test -n "$PKG_CONFIG"; then
13912 if test -n "$PKG_CONFIG" && \
13913 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvlc >= 0.9 eina >= 1.1.99\""; } >&5
13914 ($PKG_CONFIG --exists --print-errors "libvlc >= 0.9 eina >= 1.1.99") 2>&5
13916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13917 test $ac_status = 0; }; then
13918 pkg_cv_GENERIC_VLC_LIBS=`$PKG_CONFIG --libs "libvlc >= 0.9 eina >= 1.1.99" 2>/dev/null`
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 GENERIC_VLC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libvlc >= 0.9 eina >= 1.1.99" 2>&1`
13940 GENERIC_VLC_PKG_ERRORS=`$PKG_CONFIG --print-errors "libvlc >= 0.9 eina >= 1.1.99" 2>&1`
13942 # Put the nasty error message in config.log where it belongs
13943 echo "$GENERIC_VLC_PKG_ERRORS" >&5
13946 elif test $pkg_failed = untried; then
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13948 $as_echo "no" >&6; }
13951 GENERIC_VLC_CFLAGS=$pkg_cv_GENERIC_VLC_CFLAGS
13952 GENERIC_VLC_LIBS=$pkg_cv_GENERIC_VLC_LIBS
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13954 $as_echo "yes" >&6; }
13957 requirement="libvlc"
13961 if test "x${enable_module}" = "xstatic" ; then
13962 requirement_emotion="${requirement} ${requirement_emotion}"
13965 if test "x$have_dep" = "xyes"; then :
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to enable Generic Player VLC" >&5
13975 $as_echo_n "checking Whether to enable Generic Player VLC... " >&6; }
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
13977 $as_echo "${have_module}" >&6; }
13979 if test "x${have_module}" = "xyes"; then
13980 EMOTION_BUILD_GENERIC_VLC_TRUE=
13981 EMOTION_BUILD_GENERIC_VLC_FALSE='#'
13983 EMOTION_BUILD_GENERIC_VLC_TRUE='#'
13984 EMOTION_BUILD_GENERIC_VLC_FALSE=
13988 enable_generic_vlc="no"
13989 if test "x${have_module}" = "xyes" ; then
13990 enable_generic_vlc=${enable_module}
13992 $as_echo "#define EMOTION_BUILD_GENERIC_VLC 1" >>confdefs.h
13996 if test "x$have_module" = "xyes"; then :
14004 if test "x${enable_xine}" = "xno" && test "x${enable_gstreamer}" = "xno" && test "x${enable_generic}" = "xno" ; then
14005 as_fn_error $? "Xine, Gstreamer or Generic backends must be selected to build Emotion" "$LINENO" 5
14008 # Check if gstreamer X Overlay is available
14009 build_xoverlay="no"
14010 if test "x${enable_gstreamer}" = "xyes" ; then
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER_INTERFACE" >&5
14014 $as_echo_n "checking for GSTREAMER_INTERFACE... " >&6; }
14016 if test -n "$GSTREAMER_INTERFACE_CFLAGS"; then
14017 pkg_cv_GSTREAMER_INTERFACE_CFLAGS="$GSTREAMER_INTERFACE_CFLAGS"
14018 elif test -n "$PKG_CONFIG"; then
14019 if test -n "$PKG_CONFIG" && \
14020 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-interfaces-0.10 >= 0.10.34\""; } >&5
14021 ($PKG_CONFIG --exists --print-errors "gstreamer-interfaces-0.10 >= 0.10.34") 2>&5
14023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14024 test $ac_status = 0; }; then
14025 pkg_cv_GSTREAMER_INTERFACE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-interfaces-0.10 >= 0.10.34" 2>/dev/null`
14032 if test -n "$GSTREAMER_INTERFACE_LIBS"; then
14033 pkg_cv_GSTREAMER_INTERFACE_LIBS="$GSTREAMER_INTERFACE_LIBS"
14034 elif test -n "$PKG_CONFIG"; then
14035 if test -n "$PKG_CONFIG" && \
14036 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-interfaces-0.10 >= 0.10.34\""; } >&5
14037 ($PKG_CONFIG --exists --print-errors "gstreamer-interfaces-0.10 >= 0.10.34") 2>&5
14039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14040 test $ac_status = 0; }; then
14041 pkg_cv_GSTREAMER_INTERFACE_LIBS=`$PKG_CONFIG --libs "gstreamer-interfaces-0.10 >= 0.10.34" 2>/dev/null`
14051 if test $pkg_failed = yes; then
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14053 $as_echo "no" >&6; }
14055 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14056 _pkg_short_errors_supported=yes
14058 _pkg_short_errors_supported=no
14060 if test $_pkg_short_errors_supported = yes; then
14061 GSTREAMER_INTERFACE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gstreamer-interfaces-0.10 >= 0.10.34" 2>&1`
14063 GSTREAMER_INTERFACE_PKG_ERRORS=`$PKG_CONFIG --print-errors "gstreamer-interfaces-0.10 >= 0.10.34" 2>&1`
14065 # Put the nasty error message in config.log where it belongs
14066 echo "$GSTREAMER_INTERFACE_PKG_ERRORS" >&5
14068 build_xoverlay="no"
14069 elif test $pkg_failed = untried; then
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14071 $as_echo "no" >&6; }
14072 build_xoverlay="no"
14074 GSTREAMER_INTERFACE_CFLAGS=$pkg_cv_GSTREAMER_INTERFACE_CFLAGS
14075 GSTREAMER_INTERFACE_LIBS=$pkg_cv_GSTREAMER_INTERFACE_LIBS
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14077 $as_echo "yes" >&6; }
14078 build_xoverlay="yes"
14080 if test "x${build_xoverlay}" = "xyes" ; then
14081 save_CPPFLAGS=$CPPFLAGS
14082 CPPFLAGS="$CPPFLAGS ${GSTREAMER_CFLAGS} ${GSTREAMER_INTERFACE_CFLAGS}"
14083 ac_fn_c_check_header_mongrel "$LINENO" "gst/interfaces/xoverlay.h" "ac_cv_header_gst_interfaces_xoverlay_h" "$ac_includes_default"
14084 if test "x$ac_cv_header_gst_interfaces_xoverlay_h" = x""yes; then :
14087 $as_echo "#define HAVE_XOVERLAY_H 1" >>confdefs.h
14089 build_xoverlay="yes"
14092 build_xoverlay="no"
14096 CPPFLAGS=$save_CPPFLAGS
14098 save_LDFLAGS=${LDFLAGS}
14099 LDFLAGS="${LDFLAGS} ${GSTREAMER_INTERFACES}"
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_x_overlay_set_window_handle in -lgstinterfaces-0.10" >&5
14101 $as_echo_n "checking for gst_x_overlay_set_window_handle in -lgstinterfaces-0.10... " >&6; }
14102 if test "${ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle+set}" = set; then :
14103 $as_echo_n "(cached) " >&6
14105 ac_check_lib_save_LIBS=$LIBS
14106 LIBS="-lgstinterfaces-0.10 $LIBS"
14107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14108 /* end confdefs.h. */
14110 /* Override any GCC internal prototype to avoid an error.
14111 Use char because int might match the return type of a GCC
14112 builtin and then its argument prototype would still apply. */
14116 char gst_x_overlay_set_window_handle ();
14120 return gst_x_overlay_set_window_handle ();
14125 if ac_fn_c_try_link "$LINENO"; then :
14126 ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle=yes
14128 ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle=no
14130 rm -f core conftest.err conftest.$ac_objext \
14131 conftest$ac_exeext conftest.$ac_ext
14132 LIBS=$ac_check_lib_save_LIBS
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle" >&5
14135 $as_echo "$ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle" >&6; }
14136 if test "x$ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle" = x""yes; then :
14138 $as_echo "#define HAVE_X_OVERLAY_SET 1" >>confdefs.h
14142 LDFLAGS=$sava_LDFLAGS
14146 ### install and build examples
14151 # Check whether --enable-build-examples was given.
14152 if test "${enable_build_examples+set}" = set; then :
14153 enableval=$enable_build_examples;
14154 if test "x${enableval}" = "xyes" ; then
14155 _efl_enable_build_examples="yes"
14157 _efl_enable_build_examples="no"
14161 _efl_enable_build_examples="no"
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are built" >&5
14166 $as_echo_n "checking whether examples are built... " >&6; }
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_build_examples}" >&5
14168 $as_echo "${_efl_enable_build_examples}" >&6; }
14170 if test "x${_efl_enable_build_examples}" = "xyes"; then
14171 EFL_BUILD_EXAMPLES_TRUE=
14172 EFL_BUILD_EXAMPLES_FALSE='#'
14174 EFL_BUILD_EXAMPLES_TRUE='#'
14175 EFL_BUILD_EXAMPLES_FALSE=
14179 if test "x$_efl_enable_build_examples" = "xyes"; then :
14180 enable_build_examples="yes"
14182 enable_build_examples="no"
14188 # Check whether --enable-install-examples was given.
14189 if test "${enable_install_examples+set}" = set; then :
14190 enableval=$enable_install_examples;
14191 if test "x${enableval}" = "xyes" ; then
14192 _efl_enable_install_examples="yes"
14194 _efl_enable_install_examples="no"
14198 _efl_enable_install_examples="no"
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are installed" >&5
14203 $as_echo_n "checking whether examples are installed... " >&6; }
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_install_examples}" >&5
14205 $as_echo "${_efl_enable_install_examples}" >&6; }
14207 if test "x${_efl_enable_install_examples}" = "xyes"; then
14208 EFL_INSTALL_EXAMPLES_TRUE=
14209 EFL_INSTALL_EXAMPLES_FALSE='#'
14211 EFL_INSTALL_EXAMPLES_TRUE='#'
14212 EFL_INSTALL_EXAMPLES_FALSE=
14216 if test "x$_efl_enable_install_examples" = "xyes"; then :
14217 enable_install_examples="yes"
14219 enable_install_examples="no"
14225 ac_config_files="$ac_config_files Makefile emotion.pc emotion.spec src/Makefile src/lib/Makefile src/modules/Makefile src/modules/xine/Makefile src/modules/gstreamer/Makefile src/modules/generic/Makefile src/edje_external/Makefile src/generic_players/Makefile src/generic_players/vlc/Makefile src/bin/Makefile src/examples/Makefile doc/Makefile doc/Doxyfile data/Makefile"
14227 cat >confcache <<\_ACEOF
14228 # This file is a shell script that caches the results of configure
14229 # tests run on this system so they can be shared between configure
14230 # scripts and configure runs, see configure's option --config-cache.
14231 # It is not useful on other systems. If it contains results you don't
14232 # want to keep, you may remove or edit it.
14234 # config.status only pays attention to the cache file if you give it
14235 # the --recheck option to rerun configure.
14237 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14238 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14239 # following values.
14243 # The following way of writing the cache mishandles newlines in values,
14244 # but we know of no workaround that is simple, portable, and efficient.
14245 # So, we kill variables containing newlines.
14246 # Ultrix sh set writes to stderr and can't be redirected directly,
14247 # and sets the high bit in the cache file unless we assign to the vars.
14249 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14250 eval ac_val=\$$ac_var
14254 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14255 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14258 _ | IFS | as_nl) ;; #(
14259 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14260 *) { eval $ac_var=; unset $ac_var;} ;;
14266 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14267 *${as_nl}ac_space=\ *)
14268 # `set' does not quote correctly, so add quotes: double-quote
14269 # substitution turns \\\\ into \\, and sed turns \\ into \.
14272 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14275 # `set' quotes correctly as required by POSIX, so do not add quotes.
14276 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14285 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14287 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14289 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14290 if test -w "$cache_file"; then
14291 test "x$cache_file" != "x/dev/null" &&
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14293 $as_echo "$as_me: updating cache $cache_file" >&6;}
14294 cat confcache >$cache_file
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14297 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14302 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14303 # Let make expand exec_prefix.
14304 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14306 DEFS=-DHAVE_CONFIG_H
14311 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14312 # 1. Remove the extension, and $U if already installed.
14313 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14314 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14315 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14316 # will be set to the directory where LIBOBJS objects are built.
14317 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14318 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14320 LIBOBJS=$ac_libobjs
14322 LTLIBOBJS=$ac_ltlibobjs
14325 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14326 as_fn_error $? "conditional \"AMDEP\" was never defined.
14327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14329 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14330 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14333 if test -n "$EXEEXT"; then
14335 am__EXEEXT_FALSE='#'
14337 am__EXEEXT_TRUE='#'
14341 if test -z "${BUILD_EMOTION_TEST_TRUE}" && test -z "${BUILD_EMOTION_TEST_FALSE}"; then
14342 as_fn_error $? "conditional \"BUILD_EMOTION_TEST\" was never defined.
14343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14345 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
14346 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
14347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14349 if test -z "${ENABLE_EDJE_EXTERNAL_TRUE}" && test -z "${ENABLE_EDJE_EXTERNAL_FALSE}"; then
14350 as_fn_error $? "conditional \"ENABLE_EDJE_EXTERNAL\" was never defined.
14351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14353 if test -z "${HAVE_EIO_TRUE}" && test -z "${HAVE_EIO_FALSE}"; then
14354 as_fn_error $? "conditional \"HAVE_EIO\" was never defined.
14355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14358 if test -z "${EMOTION_BUILD_XINE_TRUE}" && test -z "${EMOTION_BUILD_XINE_FALSE}"; then
14359 as_fn_error $? "conditional \"EMOTION_BUILD_XINE\" was never defined.
14360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14362 if test -z "${EMOTION_STATIC_BUILD_XINE_TRUE}" && test -z "${EMOTION_STATIC_BUILD_XINE_FALSE}"; then
14363 as_fn_error $? "conditional \"EMOTION_STATIC_BUILD_XINE\" was never defined.
14364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14366 if test -z "${EMOTION_BUILD_GSTREAMER_TRUE}" && test -z "${EMOTION_BUILD_GSTREAMER_FALSE}"; then
14367 as_fn_error $? "conditional \"EMOTION_BUILD_GSTREAMER\" was never defined.
14368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14370 if test -z "${EMOTION_STATIC_BUILD_GSTREAMER_TRUE}" && test -z "${EMOTION_STATIC_BUILD_GSTREAMER_FALSE}"; then
14371 as_fn_error $? "conditional \"EMOTION_STATIC_BUILD_GSTREAMER\" was never defined.
14372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14374 if test -z "${EMOTION_BUILD_GENERIC_TRUE}" && test -z "${EMOTION_BUILD_GENERIC_FALSE}"; then
14375 as_fn_error $? "conditional \"EMOTION_BUILD_GENERIC\" was never defined.
14376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14378 if test -z "${EMOTION_STATIC_BUILD_GENERIC_TRUE}" && test -z "${EMOTION_STATIC_BUILD_GENERIC_FALSE}"; then
14379 as_fn_error $? "conditional \"EMOTION_STATIC_BUILD_GENERIC\" was never defined.
14380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14382 if test -z "${EMOTION_BUILD_GENERIC_VLC_TRUE}" && test -z "${EMOTION_BUILD_GENERIC_VLC_FALSE}"; then
14383 as_fn_error $? "conditional \"EMOTION_BUILD_GENERIC_VLC\" was never defined.
14384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14386 if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
14387 as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
14388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14390 if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
14391 as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
14392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14395 : ${CONFIG_STATUS=./config.status}
14397 ac_clean_files_save=$ac_clean_files
14398 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14400 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14402 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14404 # Generated by $as_me.
14405 # Run this file to recreate the current configuration.
14406 # Compiler output produced by configure, useful for debugging
14407 # configure, is in config.log if it exists.
14410 ac_cs_recheck=false
14413 SHELL=\${CONFIG_SHELL-$SHELL}
14416 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14417 ## -------------------- ##
14418 ## M4sh Initialization. ##
14419 ## -------------------- ##
14421 # Be more Bourne compatible
14422 DUALCASE=1; export DUALCASE # for MKS sh
14423 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14426 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14427 # is contrary to our usage. Disable this feature.
14428 alias -g '${1+"$@"}'='"$@"'
14429 setopt NO_GLOB_SUBST
14431 case `(set -o) 2>/dev/null` in #(
14443 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14444 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14445 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14446 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14447 # Prefer a ksh shell builtin over an external printf program on Solaris,
14448 # but without wasting forks for bash or zsh.
14449 if test -z "$BASH_VERSION$ZSH_VERSION" \
14450 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14451 as_echo='print -r --'
14452 as_echo_n='print -rn --'
14453 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14454 as_echo='printf %s\n'
14455 as_echo_n='printf %s'
14457 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14458 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14459 as_echo_n='/usr/ucb/echo -n'
14461 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14462 as_echo_n_body='eval
14466 expr "X$arg" : "X\\(.*\\)$as_nl";
14467 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14469 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14471 export as_echo_n_body
14472 as_echo_n='sh -c $as_echo_n_body as_echo'
14474 export as_echo_body
14475 as_echo='sh -c $as_echo_body as_echo'
14478 # The user is always right.
14479 if test "${PATH_SEPARATOR+set}" != set; then
14481 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14482 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14489 # We need space, tab and new line, in precisely that order. Quoting is
14490 # there to prevent editors from complaining about space-tab.
14491 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14492 # splitting by setting IFS to empty value.)
14495 # Find who we are. Look in the path if we contain no directory separator.
14497 *[\\/]* ) as_myself=$0 ;;
14498 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14499 for as_dir in $PATH
14502 test -z "$as_dir" && as_dir=.
14503 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14509 # We did not find ourselves, most probably we were run as `sh COMMAND'
14510 # in which case we are not to be found in the path.
14511 if test "x$as_myself" = x; then
14514 if test ! -f "$as_myself"; then
14515 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14519 # Unset variables that we do not need and which cause bugs (e.g. in
14520 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14521 # suppresses any "Segmentation fault" message there. '((' could
14522 # trigger a bug in pdksh 5.2.14.
14523 for as_var in BASH_ENV ENV MAIL MAILPATH
14524 do eval test x\${$as_var+set} = xset \
14525 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14538 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14541 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14542 # ----------------------------------------
14543 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14544 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14545 # script with STATUS, using 1 if that was 0.
14548 as_status=$1; test $as_status -eq 0 && as_status=1
14550 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14551 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14553 $as_echo "$as_me: error: $2" >&2
14554 as_fn_exit $as_status
14558 # as_fn_set_status STATUS
14559 # -----------------------
14560 # Set $? to STATUS, without forking.
14561 as_fn_set_status ()
14564 } # as_fn_set_status
14566 # as_fn_exit STATUS
14567 # -----------------
14568 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14572 as_fn_set_status $1
14578 # Portably unset VAR.
14581 { eval $1=; unset $1;}
14583 as_unset=as_fn_unset
14584 # as_fn_append VAR VALUE
14585 # ----------------------
14586 # Append the text in VALUE to the end of the definition contained in VAR. Take
14587 # advantage of any shell optimizations that allow amortized linear growth over
14588 # repeated appends, instead of the typical quadratic growth present in naive
14590 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14591 eval 'as_fn_append ()
14602 # as_fn_arith ARG...
14603 # ------------------
14604 # Perform arithmetic evaluation on the ARGs, and store the result in the
14605 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14606 # must be portable across $(()) and expr.
14607 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14608 eval 'as_fn_arith ()
14615 as_val=`expr "$@" || test $? -eq 1`
14620 if expr a : '\(a\)' >/dev/null 2>&1 &&
14621 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14627 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14628 as_basename=basename
14633 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14639 as_me=`$as_basename -- "$0" ||
14640 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14641 X"$0" : 'X\(//\)$' \| \
14642 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14644 sed '/^.*\/\([^/][^/]*\)\/*$/{
14658 # Avoid depending upon Character Ranges.
14659 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14660 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14661 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14662 as_cr_digits='0123456789'
14663 as_cr_alnum=$as_cr_Letters$as_cr_digits
14665 ECHO_C= ECHO_N= ECHO_T=
14666 case `echo -n x` in #(((((
14668 case `echo 'xy\c'` in
14669 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14671 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14678 rm -f conf$$ conf$$.exe conf$$.file
14679 if test -d conf$$.dir; then
14680 rm -f conf$$.dir/conf$$.file
14683 mkdir conf$$.dir 2>/dev/null
14685 if (echo >conf$$.file) 2>/dev/null; then
14686 if ln -s conf$$.file conf$$ 2>/dev/null; then
14688 # ... but there are two gotchas:
14689 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14690 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14691 # In both cases, we have to default to `cp -p'.
14692 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14694 elif ln conf$$.file conf$$ 2>/dev/null; then
14702 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14703 rmdir conf$$.dir 2>/dev/null
14708 # Create "$as_dir" as a directory, including parents if necessary.
14713 -*) as_dir=./$as_dir;;
14715 test -d "$as_dir" || eval $as_mkdir_p || {
14719 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14720 *) as_qdir=$as_dir;;
14722 as_dirs="'$as_qdir' $as_dirs"
14723 as_dir=`$as_dirname -- "$as_dir" ||
14724 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14725 X"$as_dir" : 'X\(//\)[^/]' \| \
14726 X"$as_dir" : 'X\(//\)$' \| \
14727 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14728 $as_echo X"$as_dir" |
14729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14733 /^X\(\/\/\)[^/].*/{
14746 test -d "$as_dir" && break
14748 test -z "$as_dirs" || eval "mkdir $as_dirs"
14749 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14753 if mkdir -p . 2>/dev/null; then
14754 as_mkdir_p='mkdir -p "$as_dir"'
14756 test -d ./-p && rmdir ./-p
14760 if test -x / >/dev/null 2>&1; then
14761 as_test_x='test -x'
14763 if ls -dL / >/dev/null 2>&1; then
14770 if test -d "$1"; then
14776 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14777 ???[sx]*):;;*)false;;esac;fi
14781 as_executable_p=$as_test_x
14783 # Sed expression to map a string onto a valid CPP name.
14784 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14786 # Sed expression to map a string onto a valid variable name.
14787 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14791 ## ----------------------------------- ##
14792 ## Main body of $CONFIG_STATUS script. ##
14793 ## ----------------------------------- ##
14795 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14798 # Save the log message, to keep $0 and so on meaningful, and to
14799 # report actual input values of CONFIG_FILES etc. instead of their
14800 # values after options handling.
14802 This file was extended by emotion $as_me 1.7.1, which was
14803 generated by GNU Autoconf 2.67. Invocation command line was
14805 CONFIG_FILES = $CONFIG_FILES
14806 CONFIG_HEADERS = $CONFIG_HEADERS
14807 CONFIG_LINKS = $CONFIG_LINKS
14808 CONFIG_COMMANDS = $CONFIG_COMMANDS
14811 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14816 case $ac_config_files in *"
14817 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14820 case $ac_config_headers in *"
14821 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14826 # Files that config.status was made for.
14827 config_files="$ac_config_files"
14828 config_headers="$ac_config_headers"
14829 config_commands="$ac_config_commands"
14833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14835 \`$as_me' instantiates files and other configuration actions
14836 from templates according to the current configuration. Unless the files
14837 and actions are specified as TAGs, all are instantiated by default.
14839 Usage: $0 [OPTION]... [TAG]...
14841 -h, --help print this help, then exit
14842 -V, --version print version number and configuration settings, then exit
14843 --config print configuration, then exit
14844 -q, --quiet, --silent
14845 do not print progress messages
14846 -d, --debug don't remove temporary files
14847 --recheck update $as_me by reconfiguring in the same conditions
14848 --file=FILE[:TEMPLATE]
14849 instantiate the configuration file FILE
14850 --header=FILE[:TEMPLATE]
14851 instantiate the configuration header FILE
14853 Configuration files:
14856 Configuration headers:
14859 Configuration commands:
14862 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
14865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14866 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14868 emotion config.status 1.7.1
14869 configured by $0, generated by GNU Autoconf 2.67,
14870 with options \\"\$ac_cs_config\\"
14872 Copyright (C) 2010 Free Software Foundation, Inc.
14873 This config.status script is free software; the Free Software Foundation
14874 gives unlimited permission to copy, distribute and modify it."
14881 test -n "\$AWK" || AWK=awk
14884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14885 # The default lists apply if the user does not specify any file.
14891 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14892 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14896 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14908 # Handling of the options.
14909 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14911 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14912 $as_echo "$ac_cs_version"; exit ;;
14913 --config | --confi | --conf | --con | --co | --c )
14914 $as_echo "$ac_cs_config"; exit ;;
14915 --debug | --debu | --deb | --de | --d | -d )
14917 --file | --fil | --fi | --f )
14920 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14921 '') as_fn_error $? "missing file argument" ;;
14923 as_fn_append CONFIG_FILES " '$ac_optarg'"
14924 ac_need_defaults=false;;
14925 --header | --heade | --head | --hea )
14928 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14930 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14931 ac_need_defaults=false;;
14933 # Conflict between --help and --header
14934 as_fn_error $? "ambiguous option: \`$1'
14935 Try \`$0 --help' for more information.";;
14936 --help | --hel | -h )
14937 $as_echo "$ac_cs_usage"; exit ;;
14938 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14939 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14942 # This is an error.
14943 -*) as_fn_error $? "unrecognized option: \`$1'
14944 Try \`$0 --help' for more information." ;;
14946 *) as_fn_append ac_config_targets " $1"
14947 ac_need_defaults=false ;;
14953 ac_configure_extra_args=
14955 if $ac_cs_silent; then
14957 ac_configure_extra_args="$ac_configure_extra_args --silent"
14961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14962 if \$ac_cs_recheck; then
14963 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14965 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14966 CONFIG_SHELL='$SHELL'
14967 export CONFIG_SHELL
14972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14976 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14977 ## Running $as_me. ##
14983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14987 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14990 # The HP-UX ksh and POSIX shell print the target directory to stdout
14991 # if CDPATH is set.
14992 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14994 sed_quote_subst='$sed_quote_subst'
14995 double_quote_subst='$double_quote_subst'
14996 delay_variable_subst='$delay_variable_subst'
14997 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
14998 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14999 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15000 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15001 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15002 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15003 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15004 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15005 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15006 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15007 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15008 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15009 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15010 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15011 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15012 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15013 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15014 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15015 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15016 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15017 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15018 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15019 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15020 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15021 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15022 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15023 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15024 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15025 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15026 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15027 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15028 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15029 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15030 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15031 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15032 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15033 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15034 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15035 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15036 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15037 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15038 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15039 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15040 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15041 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15042 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15043 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
15044 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15045 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15046 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15047 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15048 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15049 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15050 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15051 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15052 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15053 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15054 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15055 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15056 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15057 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15058 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15059 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15060 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15061 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15062 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15063 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15064 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15065 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15066 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15067 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15068 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15069 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15070 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15071 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15072 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15073 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15074 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15075 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15076 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15077 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15078 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15079 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15080 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15081 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15082 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15083 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15084 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15085 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15086 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15087 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15088 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15089 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15090 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15091 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15092 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15093 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15094 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15095 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15096 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15097 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15098 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15099 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15100 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15101 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15102 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15103 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15104 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15105 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15106 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15107 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15108 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15109 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15110 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15111 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15112 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15113 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15114 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15115 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15116 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15119 LTCFLAGS='$LTCFLAGS'
15120 compiler='$compiler_DEFAULT'
15122 # Quote evaled strings.
15133 deplibs_check_method \
15142 lt_cv_sys_global_symbol_pipe \
15143 lt_cv_sys_global_symbol_to_cdecl \
15144 lt_cv_sys_global_symbol_to_c_name_address \
15145 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15148 lt_prog_compiler_no_builtin_flag \
15149 lt_prog_compiler_wl \
15150 lt_prog_compiler_pic \
15151 lt_prog_compiler_static \
15152 lt_cv_prog_compiler_c_o \
15160 export_dynamic_flag_spec \
15161 whole_archive_flag_spec \
15162 compiler_needs_object \
15164 allow_undefined_flag \
15165 no_undefined_flag \
15166 hardcode_libdir_flag_spec \
15167 hardcode_libdir_flag_spec_ld \
15168 hardcode_libdir_separator \
15173 variables_saved_for_relink \
15175 library_names_spec \
15180 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15181 *[\\\\\\\`\\"\\\$]*)
15182 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15185 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15190 # Double-quote double-evaled strings.
15191 for var in reload_cmds \
15192 old_postinstall_cmds \
15193 old_postuninstall_cmds \
15195 extract_expsyms_cmds \
15196 old_archive_from_new_cmds \
15197 old_archive_from_expsyms_cmds \
15199 archive_expsym_cmds \
15201 module_expsym_cmds \
15202 export_symbols_cmds \
15205 postuninstall_cmds \
15207 sys_lib_search_path_spec \
15208 sys_lib_dlsearch_path_spec; do
15209 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15210 *[\\\\\\\`\\"\\\$]*)
15211 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15214 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15219 # Fix-up fallback echo if it was mangled by the above quoting rules.
15221 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15225 ac_aux_dir='$ac_aux_dir'
15226 xsi_shell='$xsi_shell'
15227 lt_shell_append='$lt_shell_append'
15229 # See if we are running on zsh, and set the options which allow our
15230 # commands through without removal of \ escapes INIT.
15231 if test -n "\${ZSH_VERSION+set}" ; then
15232 setopt NO_GLOB_SUBST
15238 TIMESTAMP='$TIMESTAMP'
15247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15249 # Handling of arguments.
15250 for ac_config_target in $ac_config_targets
15252 case $ac_config_target in
15253 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15254 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15255 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15256 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15257 "emotion.pc") CONFIG_FILES="$CONFIG_FILES emotion.pc" ;;
15258 "emotion.spec") CONFIG_FILES="$CONFIG_FILES emotion.spec" ;;
15259 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15260 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
15261 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
15262 "src/modules/xine/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/xine/Makefile" ;;
15263 "src/modules/gstreamer/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/gstreamer/Makefile" ;;
15264 "src/modules/generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/generic/Makefile" ;;
15265 "src/edje_external/Makefile") CONFIG_FILES="$CONFIG_FILES src/edje_external/Makefile" ;;
15266 "src/generic_players/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic_players/Makefile" ;;
15267 "src/generic_players/vlc/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic_players/vlc/Makefile" ;;
15268 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
15269 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
15270 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15271 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
15272 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
15274 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
15279 # If the user did not use the arguments to specify the items to instantiate,
15280 # then the envvar interface is used. Set only those that are not.
15281 # We use the long form for the default assignment because of an extremely
15282 # bizarre bug on SunOS 4.1.3.
15283 if $ac_need_defaults; then
15284 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15285 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15286 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15289 # Have a temporary directory for convenience. Make it in the build tree
15290 # simply because there is no reason against having it here, and in addition,
15291 # creating and moving files from /tmp can sometimes cause problems.
15292 # Hook for its removal unless debugging.
15293 # Note that there is a small window in which the directory will not be cleaned:
15294 # after its creation but before its name has been assigned to `$tmp'.
15298 trap 'exit_status=$?
15299 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15301 trap 'as_fn_exit 1' 1 2 13 15
15303 # Create a (secure) tmp directory for tmp files.
15306 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15307 test -n "$tmp" && test -d "$tmp"
15310 tmp=./conf$$-$RANDOM
15311 (umask 077 && mkdir "$tmp")
15312 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15314 # Set up the scripts for CONFIG_FILES section.
15315 # No need to generate them if there are no CONFIG_FILES.
15316 # This happens for instance with `./config.status config.h'.
15317 if test -n "$CONFIG_FILES"; then
15320 ac_cr=`echo X | tr X '\015'`
15321 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15322 # But we know of no other shell where ac_cr would be empty at this
15323 # point, so we can use a bashism as a fallback.
15324 if test "x$ac_cr" = x; then
15325 eval ac_cr=\$\'\\r\'
15327 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15328 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15331 ac_cs_awk_cr=$ac_cr
15334 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15339 echo "cat >conf$$subs.awk <<_ACEOF" &&
15340 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15342 } >conf$$subs.sh ||
15343 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15344 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15346 for ac_last_try in false false false false false :; do
15347 . ./conf$$subs.sh ||
15348 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15350 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15351 if test $ac_delim_n = $ac_delim_num; then
15353 elif $ac_last_try; then
15354 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15356 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15359 rm -f conf$$subs.sh
15361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15362 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15366 s/^/S["/; s/!.*/"]=/
15376 s/\(.\{148\}\)..*/\1/
15378 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15383 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15390 s/\(.\{148\}\)..*/\1/
15392 s/["\\]/\\&/g; s/^/"/; s/$/"/
15396 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15401 ' <conf$$subs.awk | sed '
15406 ' >>$CONFIG_STATUS || ac_write_fail=1
15407 rm -f conf$$subs.awk
15408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15410 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15411 for (key in S) S_is_set[key] = 1
15417 nfields = split(line, field, "@")
15419 len = length(field[1])
15420 for (i = 2; i < nfields; i++) {
15422 keylen = length(key)
15423 if (S_is_set[key]) {
15425 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15426 len += length(value) + length(field[++i])
15437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15438 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15439 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15442 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15443 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15446 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15447 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15448 # trailing colons and then remove the whole line if VPATH becomes empty
15449 # (actually we leave an empty line to preserve line numbers).
15450 if test "x$srcdir" = x.; then
15451 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15470 fi # test -n "$CONFIG_FILES"
15472 # Set up the scripts for CONFIG_HEADERS section.
15473 # No need to generate them if there are no CONFIG_HEADERS.
15474 # This happens for instance with `./config.status Makefile'.
15475 if test -n "$CONFIG_HEADERS"; then
15476 cat >"$tmp/defines.awk" <<\_ACAWK ||
15480 # Transform confdefs.h into an awk script `defines.awk', embedded as
15481 # here-document in config.status, that substitutes the proper values into
15482 # config.h.in to produce config.h.
15484 # Create a delimiter string that does not exist in confdefs.h, to ease
15485 # handling of long lines.
15487 for ac_last_try in false false :; do
15488 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15489 if test -z "$ac_t"; then
15491 elif $ac_last_try; then
15492 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15494 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15498 # For the awk script, D is an array of macro values keyed by name,
15499 # likewise P contains macro parameters if any. Preserve backslash
15500 # newline sequences.
15502 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15504 s/.\{148\}/&'"$ac_delim"'/g
15507 s/^[ ]*#[ ]*define[ ][ ]*/ /
15514 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15516 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15520 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15521 D["\1"]=" \3\\\\\\n"\\/p
15523 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15528 s/.\{148\}/&'"$ac_delim"'/g
15533 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15536 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15538 ' <confdefs.h | sed '
15539 s/'"$ac_delim"'/"\\\
15540 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15543 for (key in D) D_is_set[key] = 1
15546 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15548 split(line, arg, " ")
15549 if (arg[1] == "#") {
15553 defundef = substr(arg[1], 2)
15556 split(mac1, mac2, "(") #)
15558 prefix = substr(line, 1, index(line, defundef) - 1)
15559 if (D_is_set[macro]) {
15560 # Preserve the white space surrounding the "#".
15561 print prefix "define", macro P[macro] D[macro]
15564 # Replace #undef with comments. This is necessary, for example,
15565 # in the case of _POSIX_SOURCE, which is predefined and required
15566 # on some systems where configure will not decide to define it.
15567 if (defundef == "undef") {
15568 print "/*", prefix defundef, macro, "*/"
15576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15577 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15578 fi # test -n "$CONFIG_HEADERS"
15581 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15586 :[FHLC]) ac_mode=$ac_tag; continue;;
15588 case $ac_mode$ac_tag in
15590 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
15591 :[FH]-) ac_tag=-:-;;
15592 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15609 -) ac_f="$tmp/stdin";;
15610 *) # Look for the file first in the build tree, then in the source tree
15611 # (if the path is not absolute). The absolute path cannot be DOS-style,
15612 # because $ac_f cannot contain `:'.
15616 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15618 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
15620 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15621 as_fn_append ac_file_inputs " '$ac_f'"
15624 # Let's still pretend it is `configure' which instantiates (i.e., don't
15625 # use $as_me), people would be surprised to read:
15626 # /* config.h. Generated by config.status. */
15627 configure_input='Generated from '`
15628 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15630 if test x"$ac_file" != x-; then
15631 configure_input="$ac_file. $configure_input"
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15633 $as_echo "$as_me: creating $ac_file" >&6;}
15635 # Neutralize special characters interpreted by sed in replacement strings.
15636 case $configure_input in #(
15637 *\&* | *\|* | *\\* )
15638 ac_sed_conf_input=`$as_echo "$configure_input" |
15639 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15640 *) ac_sed_conf_input=$configure_input;;
15644 *:-:* | *:-) cat >"$tmp/stdin" \
15645 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15650 ac_dir=`$as_dirname -- "$ac_file" ||
15651 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15652 X"$ac_file" : 'X\(//\)[^/]' \| \
15653 X"$ac_file" : 'X\(//\)$' \| \
15654 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15655 $as_echo X"$ac_file" |
15656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15660 /^X\(\/\/\)[^/].*/{
15673 as_dir="$ac_dir"; as_fn_mkdir_p
15677 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15679 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15680 # A ".." for each directory in $ac_dir_suffix.
15681 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15682 case $ac_top_builddir_sub in
15683 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15684 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15687 ac_abs_top_builddir=$ac_pwd
15688 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15689 # for backward compatibility:
15690 ac_top_builddir=$ac_top_build_prefix
15693 .) # We are building in place.
15695 ac_top_srcdir=$ac_top_builddir_sub
15696 ac_abs_top_srcdir=$ac_pwd ;;
15697 [\\/]* | ?:[\\/]* ) # Absolute name.
15698 ac_srcdir=$srcdir$ac_dir_suffix;
15699 ac_top_srcdir=$srcdir
15700 ac_abs_top_srcdir=$srcdir ;;
15701 *) # Relative name.
15702 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15703 ac_top_srcdir=$ac_top_build_prefix$srcdir
15704 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15706 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15716 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15717 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15719 ac_MKDIR_P=$MKDIR_P
15721 [\\/$]* | ?:[\\/]* ) ;;
15722 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15727 # If the template does not know about datarootdir, expand it.
15728 # FIXME: This hack should be removed a few years after 2.60.
15729 ac_datarootdir_hack=; ac_datarootdir_seen=
15740 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15741 *datarootdir*) ac_datarootdir_seen=yes;;
15742 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15744 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15747 ac_datarootdir_hack='
15748 s&@datadir@&$datadir&g
15749 s&@docdir@&$docdir&g
15750 s&@infodir@&$infodir&g
15751 s&@localedir@&$localedir&g
15752 s&@mandir@&$mandir&g
15753 s&\\\${datarootdir}&$datarootdir&g' ;;
15757 # Neutralize VPATH when `$srcdir' = `.'.
15758 # Shell code in configure.ac might set extrasub.
15759 # FIXME: do we really want to maintain this feature?
15760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15761 ac_sed_extra="$ac_vpsub
15764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15766 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15767 s|@configure_input@|$ac_sed_conf_input|;t t
15768 s&@top_builddir@&$ac_top_builddir_sub&;t t
15769 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15770 s&@srcdir@&$ac_srcdir&;t t
15771 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15772 s&@top_srcdir@&$ac_top_srcdir&;t t
15773 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15774 s&@builddir@&$ac_builddir&;t t
15775 s&@abs_builddir@&$ac_abs_builddir&;t t
15776 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15777 s&@INSTALL@&$ac_INSTALL&;t t
15778 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15779 $ac_datarootdir_hack
15781 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15782 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15784 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15785 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15786 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15788 which seems to be undefined. Please make sure it is defined" >&5
15789 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15790 which seems to be undefined. Please make sure it is defined" >&2;}
15794 -) cat "$tmp/out" && rm -f "$tmp/out";;
15795 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15797 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15803 if test x"$ac_file" != x-; then
15805 $as_echo "/* $configure_input */" \
15806 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15807 } >"$tmp/config.h" \
15808 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15809 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15811 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15814 mv "$tmp/config.h" "$ac_file" \
15815 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15818 $as_echo "/* $configure_input */" \
15819 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15820 || as_fn_error $? "could not create -" "$LINENO" 5
15822 # Compute "$ac_file"'s index in $config_headers.
15825 for _am_header in $config_headers :; do
15826 case $_am_header in
15827 $_am_arg | $_am_arg:* )
15830 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15833 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15834 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15835 X"$_am_arg" : 'X\(//\)[^/]' \| \
15836 X"$_am_arg" : 'X\(//\)$' \| \
15837 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15838 $as_echo X"$_am_arg" |
15839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15843 /^X\(\/\/\)[^/].*/{
15855 s/.*/./; q'`/stamp-h$_am_stamp_count
15858 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15859 $as_echo "$as_me: executing $ac_file commands" >&6;}
15864 case $ac_file$ac_mode in
15865 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15866 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15867 # are listed without --file. Let's play safe and only enable the eval
15868 # if we detect the quoting.
15869 case $CONFIG_FILES in
15870 *\'*) eval set x "$CONFIG_FILES" ;;
15871 *) set x $CONFIG_FILES ;;
15876 # Strip MF so we end up with the name of the file.
15877 mf=`echo "$mf" | sed -e 's/:.*$//'`
15878 # Check whether this is an Automake generated Makefile or not.
15879 # We used to match only the files named `Makefile.in', but
15880 # some people rename them; so instead we look at the file content.
15881 # Grep'ing the first line is not enough: some people post-process
15882 # each Makefile.in and add a new line on top of each file to say so.
15883 # Grep'ing the whole file is not good either: AIX grep has a line
15884 # limit of 2048, but all sed's we know have understand at least 4000.
15885 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15886 dirpart=`$as_dirname -- "$mf" ||
15887 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15888 X"$mf" : 'X\(//\)[^/]' \| \
15889 X"$mf" : 'X\(//\)$' \| \
15890 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15896 /^X\(\/\/\)[^/].*/{
15912 # Extract the definition of DEPDIR, am__include, and am__quote
15913 # from the Makefile without running `make'.
15914 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15915 test -z "$DEPDIR" && continue
15916 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15917 test -z "am__include" && continue
15918 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15919 # When using ansi2knr, U may be empty or an underscore; expand it
15920 U=`sed -n 's/^U = //p' < "$mf"`
15921 # Find all dependency output files, they are included files with
15922 # $(DEPDIR) in their names. We invoke sed twice because it is the
15923 # simplest approach to changing $(DEPDIR) to its actual value in the
15925 for file in `sed -n "
15926 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15927 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15928 # Make sure the directory exists.
15929 test -f "$dirpart/$file" && continue
15930 fdir=`$as_dirname -- "$file" ||
15931 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15932 X"$file" : 'X\(//\)[^/]' \| \
15933 X"$file" : 'X\(//\)$' \| \
15934 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15935 $as_echo X"$file" |
15936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15940 /^X\(\/\/\)[^/].*/{
15953 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15954 # echo "creating $dirpart/$file"
15955 echo '# dummy' > "$dirpart/$file"
15962 # See if we are running on zsh, and set the options which allow our
15963 # commands through without removal of \ escapes.
15964 if test -n "${ZSH_VERSION+set}" ; then
15965 setopt NO_GLOB_SUBST
15968 cfgfile="${ofile}T"
15969 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15972 cat <<_LT_EOF >> "$cfgfile"
15975 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15976 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15977 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15978 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15980 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15981 # 2006, 2007, 2008 Free Software Foundation, Inc.
15982 # Written by Gordon Matzigkeit, 1996
15984 # This file is part of GNU Libtool.
15986 # GNU Libtool is free software; you can redistribute it and/or
15987 # modify it under the terms of the GNU General Public License as
15988 # published by the Free Software Foundation; either version 2 of
15989 # the License, or (at your option) any later version.
15991 # As a special exception to the GNU General Public License,
15992 # if you distribute this file as part of a program or library that
15993 # is built using GNU Libtool, you may include this file under the
15994 # same distribution terms that you use for the rest of that program.
15996 # GNU Libtool is distributed in the hope that it will be useful,
15997 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15998 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15999 # GNU General Public License for more details.
16001 # You should have received a copy of the GNU General Public License
16002 # along with GNU Libtool; see the file COPYING. If not, a copy
16003 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16004 # obtained by writing to the Free Software Foundation, Inc.,
16005 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16008 # The names of the tagged configurations supported by this script.
16011 # ### BEGIN LIBTOOL CONFIG
16013 # Assembler program.
16016 # DLL creation program.
16019 # Object dumper program.
16022 # Which release of libtool.m4 was used?
16023 macro_version=$macro_version
16024 macro_revision=$macro_revision
16026 # Whether or not to build shared libraries.
16027 build_libtool_libs=$enable_shared
16029 # Whether or not to build static libraries.
16030 build_old_libs=$enable_static
16032 # What type of objects to build.
16035 # Whether or not to optimize for fast installation.
16036 fast_install=$enable_fast_install
16039 host_alias=$host_alias
16043 # The build system.
16044 build_alias=$build_alias
16048 # A sed program that does not truncate output.
16051 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16052 Xsed="\$SED -e 1s/^X//"
16054 # A grep program that handles long lines.
16060 # A literal string matcher.
16063 # A BSD- or MS-compatible name lister.
16066 # Whether we need soft or hard links.
16069 # What is the maximum length of a command?
16070 max_cmd_len=$max_cmd_len
16072 # Object file suffix (normally "o").
16075 # Executable file suffix (normally "").
16078 # whether the shell understands "unset".
16081 # turn spaces into newlines.
16084 # turn newlines into spaces.
16087 # How to create reloadable object files.
16088 reload_flag=$lt_reload_flag
16089 reload_cmds=$lt_reload_cmds
16091 # Method to check whether dependent libraries are shared objects.
16092 deplibs_check_method=$lt_deplibs_check_method
16094 # Command to use when deplibs_check_method == "file_magic".
16095 file_magic_cmd=$lt_file_magic_cmd
16099 AR_FLAGS=$lt_AR_FLAGS
16101 # A symbol stripping program.
16104 # Commands used to install an old-style archive.
16106 old_postinstall_cmds=$lt_old_postinstall_cmds
16107 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16112 # LTCC compiler flags.
16113 LTCFLAGS=$lt_CFLAGS
16115 # Take the output of nm and produce a listing of raw symbols and C names.
16116 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16118 # Transform the output of nm in a proper C declaration.
16119 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16121 # Transform the output of nm in a C name address pair.
16122 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16124 # Transform the output of nm in a C name address pair when lib prefix is needed.
16125 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16127 # The name of the directory that contains temporary libtool files.
16130 # Shell to use when invoking shell scripts.
16133 # An echo program that does not interpret backslashes.
16136 # Used to examine libraries when file_magic_cmd begins with "file".
16137 MAGIC_CMD=$MAGIC_CMD
16139 # Must we lock files when doing compilation?
16140 need_locks=$lt_need_locks
16142 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16143 DSYMUTIL=$lt_DSYMUTIL
16145 # Tool to change global to local symbols on Mac OS X.
16148 # Tool to manipulate fat objects and archives on Mac OS X.
16151 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16154 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16155 OTOOL64=$lt_OTOOL64
16157 # Old archive suffix (normally "a").
16160 # Shared library suffix (normally ".so").
16161 shrext_cmds=$lt_shrext_cmds
16163 # The commands to extract the exported symbol list from a shared archive.
16164 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16166 # Variables whose values should be saved in libtool wrapper scripts and
16167 # restored at link time.
16168 variables_saved_for_relink=$lt_variables_saved_for_relink
16170 # Do we need the "lib" prefix for modules?
16171 need_lib_prefix=$need_lib_prefix
16173 # Do we need a version for libraries?
16174 need_version=$need_version
16176 # Library versioning type.
16177 version_type=$version_type
16179 # Shared library runtime path variable.
16180 runpath_var=$runpath_var
16182 # Shared library path variable.
16183 shlibpath_var=$shlibpath_var
16185 # Is shlibpath searched before the hard-coded library search path?
16186 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16188 # Format of library name prefix.
16189 libname_spec=$lt_libname_spec
16191 # List of archive names. First name is the real one, the rest are links.
16192 # The last name is the one that the linker finds with -lNAME
16193 library_names_spec=$lt_library_names_spec
16195 # The coded name of the library, if different from the real name.
16196 soname_spec=$lt_soname_spec
16198 # Command to use after installation of a shared archive.
16199 postinstall_cmds=$lt_postinstall_cmds
16201 # Command to use after uninstallation of a shared archive.
16202 postuninstall_cmds=$lt_postuninstall_cmds
16204 # Commands used to finish a libtool library installation in a directory.
16205 finish_cmds=$lt_finish_cmds
16207 # As "finish_cmds", except a single script fragment to be evaled but
16209 finish_eval=$lt_finish_eval
16211 # Whether we should hardcode library paths into libraries.
16212 hardcode_into_libs=$hardcode_into_libs
16214 # Compile-time system search path for libraries.
16215 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16217 # Run-time system search path for libraries.
16218 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16220 # Whether dlopen is supported.
16221 dlopen_support=$enable_dlopen
16223 # Whether dlopen of programs is supported.
16224 dlopen_self=$enable_dlopen_self
16226 # Whether dlopen of statically linked programs is supported.
16227 dlopen_self_static=$enable_dlopen_self_static
16229 # Commands to strip libraries.
16230 old_striplib=$lt_old_striplib
16231 striplib=$lt_striplib
16234 # The linker used to build libraries.
16237 # Commands used to build an old-style archive.
16238 old_archive_cmds=$lt_old_archive_cmds
16240 # A language specific compiler.
16243 # Is the compiler the GNU compiler?
16246 # Compiler flag to turn off builtin functions.
16247 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16249 # How to pass a linker flag through the compiler.
16250 wl=$lt_lt_prog_compiler_wl
16252 # Additional compiler flags for building library objects.
16253 pic_flag=$lt_lt_prog_compiler_pic
16255 # Compiler flag to prevent dynamic linking.
16256 link_static_flag=$lt_lt_prog_compiler_static
16258 # Does compiler simultaneously support -c and -o options?
16259 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16261 # Whether or not to add -lc for building shared libraries.
16262 build_libtool_need_lc=$archive_cmds_need_lc
16264 # Whether or not to disallow shared libs when runtime libs are static.
16265 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16267 # Compiler flag to allow reflexive dlopens.
16268 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16270 # Compiler flag to generate shared objects directly from archives.
16271 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16273 # Whether the compiler copes with passing no objects directly.
16274 compiler_needs_object=$lt_compiler_needs_object
16276 # Create an old-style archive from a shared archive.
16277 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16279 # Create a temporary old-style archive to link instead of a shared archive.
16280 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16282 # Commands used to build a shared archive.
16283 archive_cmds=$lt_archive_cmds
16284 archive_expsym_cmds=$lt_archive_expsym_cmds
16286 # Commands used to build a loadable module if different from building
16287 # a shared archive.
16288 module_cmds=$lt_module_cmds
16289 module_expsym_cmds=$lt_module_expsym_cmds
16291 # Whether we are building with GNU ld or not.
16292 with_gnu_ld=$lt_with_gnu_ld
16294 # Flag that allows shared libraries with undefined symbols to be built.
16295 allow_undefined_flag=$lt_allow_undefined_flag
16297 # Flag that enforces no undefined symbols.
16298 no_undefined_flag=$lt_no_undefined_flag
16300 # Flag to hardcode \$libdir into a binary during linking.
16301 # This must work even if \$libdir does not exist
16302 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16304 # If ld is used when linking, flag to hardcode \$libdir into a binary
16305 # during linking. This must work even if \$libdir does not exist.
16306 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16308 # Whether we need a single "-rpath" flag with a separated argument.
16309 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16311 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16312 # DIR into the resulting binary.
16313 hardcode_direct=$hardcode_direct
16315 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16316 # DIR into the resulting binary and the resulting library dependency is
16317 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16318 # library is relocated.
16319 hardcode_direct_absolute=$hardcode_direct_absolute
16321 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16322 # into the resulting binary.
16323 hardcode_minus_L=$hardcode_minus_L
16325 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16326 # into the resulting binary.
16327 hardcode_shlibpath_var=$hardcode_shlibpath_var
16329 # Set to "yes" if building a shared library automatically hardcodes DIR
16330 # into the library and all subsequent libraries and executables linked
16332 hardcode_automatic=$hardcode_automatic
16334 # Set to yes if linker adds runtime paths of dependent libraries
16335 # to runtime path list.
16336 inherit_rpath=$inherit_rpath
16338 # Whether libtool must link a program against all its dependency libraries.
16339 link_all_deplibs=$link_all_deplibs
16341 # Fix the shell variable \$srcfile for the compiler.
16342 fix_srcfile_path=$lt_fix_srcfile_path
16344 # Set to "yes" if exported symbols are required.
16345 always_export_symbols=$always_export_symbols
16347 # The commands to list exported symbols.
16348 export_symbols_cmds=$lt_export_symbols_cmds
16350 # Symbols that should not be listed in the preloaded symbols.
16351 exclude_expsyms=$lt_exclude_expsyms
16353 # Symbols that must always be exported.
16354 include_expsyms=$lt_include_expsyms
16356 # Commands necessary for linking programs (against libraries) with templates.
16357 prelink_cmds=$lt_prelink_cmds
16359 # Specify filename containing input files.
16360 file_list_spec=$lt_file_list_spec
16362 # How to hardcode a shared library path into an executable.
16363 hardcode_action=$hardcode_action
16365 # ### END LIBTOOL CONFIG
16371 cat <<\_LT_EOF >> "$cfgfile"
16372 # AIX sometimes has problems with the GCC collect2 program. For some
16373 # reason, if we set the COLLECT_NAMES environment variable, the problems
16374 # vanish in a puff of smoke.
16375 if test "X${COLLECT_NAMES+set}" != Xset; then
16377 export COLLECT_NAMES
16384 ltmain="$ac_aux_dir/ltmain.sh"
16387 # We use sed instead of cat because bash on DJGPP gets confused if
16388 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16389 # text mode, it properly converts lines to CR/LF. This bash problem
16390 # is reportedly fixed, but why not run on old versions too?
16391 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16392 || (rm -f "$cfgfile"; exit 1)
16396 cat << \_LT_EOF >> "$cfgfile"
16398 # func_dirname file append nondir_replacement
16399 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16400 # otherwise set result to NONDIR_REPLACEMENT.
16404 */*) func_dirname_result="${1%/*}${2}" ;;
16405 * ) func_dirname_result="${3}" ;;
16409 # func_basename file
16412 func_basename_result="${1##*/}"
16415 # func_dirname_and_basename file append nondir_replacement
16416 # perform func_basename and func_dirname in a single function
16418 # dirname: Compute the dirname of FILE. If nonempty,
16419 # add APPEND to the result, otherwise set result
16420 # to NONDIR_REPLACEMENT.
16421 # value returned in "$func_dirname_result"
16422 # basename: Compute filename of FILE.
16423 # value retuned in "$func_basename_result"
16424 # Implementation must be kept synchronized with func_dirname
16425 # and func_basename. For efficiency, we do not delegate to
16426 # those functions but instead duplicate the functionality here.
16427 func_dirname_and_basename ()
16430 */*) func_dirname_result="${1%/*}${2}" ;;
16431 * ) func_dirname_result="${3}" ;;
16433 func_basename_result="${1##*/}"
16436 # func_stripname prefix suffix name
16437 # strip PREFIX and SUFFIX off of NAME.
16438 # PREFIX and SUFFIX must not contain globbing or regex special
16439 # characters, hashes, percent signs, but SUFFIX may contain a leading
16440 # dot (in which case that matches only a dot).
16443 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16444 # positional parameters, so assign one to ordinary parameter first.
16445 func_stripname_result=${3}
16446 func_stripname_result=${func_stripname_result#"${1}"}
16447 func_stripname_result=${func_stripname_result%"${2}"}
16453 func_opt_split_opt=${1%%=*}
16454 func_opt_split_arg=${1#*=}
16461 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16462 *) func_lo2o_result=${1} ;;
16466 # func_xform libobj-or-source
16469 func_xform_result=${1%.*}.lo
16472 # func_arith arithmetic-term...
16475 func_arith_result=$(( $* ))
16479 # STRING may not start with a hyphen.
16482 func_len_result=${#1}
16487 *) # Bourne compatible functions.
16488 cat << \_LT_EOF >> "$cfgfile"
16490 # func_dirname file append nondir_replacement
16491 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16492 # otherwise set result to NONDIR_REPLACEMENT.
16495 # Extract subdirectory from the argument.
16496 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16497 if test "X$func_dirname_result" = "X${1}"; then
16498 func_dirname_result="${3}"
16500 func_dirname_result="$func_dirname_result${2}"
16504 # func_basename file
16507 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16511 # func_stripname prefix suffix name
16512 # strip PREFIX and SUFFIX off of NAME.
16513 # PREFIX and SUFFIX must not contain globbing or regex special
16514 # characters, hashes, percent signs, but SUFFIX may contain a leading
16515 # dot (in which case that matches only a dot).
16516 # func_strip_suffix prefix name
16520 .*) func_stripname_result=`$ECHO "X${3}" \
16521 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16522 *) func_stripname_result=`$ECHO "X${3}" \
16523 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16528 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16529 my_sed_long_arg='1s/^-[^=]*=//'
16534 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16535 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16541 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16544 # func_xform libobj-or-source
16547 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16550 # func_arith arithmetic-term...
16553 func_arith_result=`expr "$@"`
16557 # STRING may not start with a hyphen.
16560 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16566 case $lt_shell_append in
16568 cat << \_LT_EOF >> "$cfgfile"
16570 # func_append var value
16571 # Append VALUE to the end of shell variable VAR.
16579 cat << \_LT_EOF >> "$cfgfile"
16581 # func_append var value
16582 # Append VALUE to the end of shell variable VAR.
16593 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16594 || (rm -f "$cfgfile"; exit 1)
16596 mv -f "$cfgfile" "$ofile" ||
16597 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16608 ac_clean_files=$ac_clean_files_save
16610 test $ac_write_fail = 0 ||
16611 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16614 # configure is writing to config.log, and then calls config.status.
16615 # config.status does its own redirection, appending to config.log.
16616 # Unfortunately, on DOS this fails, as config.log is still kept open
16617 # by configure, so config.status won't be able to write to it; its
16618 # output is simply discarded. So we exec the FD to /dev/null,
16619 # effectively closing config.log, so it can be properly (re)opened and
16620 # appended to by config.status. When coming back to configure, we
16621 # need to make the FD available again.
16622 if test "$no_create" != yes; then
16624 ac_config_status_args=
16625 test "$silent" = yes &&
16626 ac_config_status_args="$ac_config_status_args --quiet"
16628 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16630 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16631 # would make configure fail if this is the last instruction.
16632 $ac_cs_success || as_fn_exit 1
16634 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16636 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16641 #####################################################################
16647 echo "------------------------------------------------------------------------"
16648 echo "$PACKAGE $VERSION"
16649 echo "------------------------------------------------------------------------"
16651 echo "Configuration Options Summary:"
16654 echo " Xine...............: ${enable_xine}"
16655 echo " Gstreamer..........: ${enable_gstreamer} (X: ${have_ecore_x}/${build_xoverlay})"
16656 echo " Generic............: ${enable_generic}"
16658 if test "x${enable_generic}" = "xyes" || test "x${enable_generic}" = "xstatic"; then
16660 echo " Generic Players:"
16661 echo " VLC................: ${enable_generic_vlc}"
16665 echo " Build emotion_test...: $have_emotion_test"
16666 echo " edje_cc..............: ${edje_cc}"
16668 echo " Edje EXTERNAL support: ${have_edje_external}"
16670 echo " Eio..................: ${have_eio}"
16671 echo " V4L2.................: ${have_v4l2}"
16673 echo "Documentation..........: ${build_doc}"
16674 echo "Examples.............: ${enable_build_examples}"
16675 echo "Examples installed...: ${enable_install_examples}"
16677 echo "Compilation............: make (or gmake)"
16678 echo " CPPFLAGS.............: $CPPFLAGS"
16679 echo " CFLAGS...............: $CFLAGS"
16680 echo " LDFLAGS..............: $LDFLAGS"
16682 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
16683 echo " prefix...............: $prefix"
16685 if test "x${have_static_module}" = "xyes" ; then
16686 echo -e "\0033\01331;31mWarning\0033\01331;0m: You are trying to link statically one or more modules to Emotion."
16687 echo " You must know what you are doing, or else you will have a lot of problems."
16688 echo " And asparagus will disappear from the earth."
16689 echo " Think about that."