2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for emotion 1.7.3.
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.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: enlightenment-devel@lists.sourceforge.net about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
571 PACKAGE_NAME='emotion'
572 PACKAGE_TARNAME='emotion'
573 PACKAGE_VERSION='1.7.3'
574 PACKAGE_STRING='emotion 1.7.3'
575 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
578 ac_unique_file="configure.ac"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars='am__EXEEXT_FALSE
620 EFL_INSTALL_EXAMPLES_FALSE
621 EFL_INSTALL_EXAMPLES_TRUE
622 EFL_BUILD_EXAMPLES_FALSE
623 EFL_BUILD_EXAMPLES_TRUE
624 GSTREAMER_INTERFACE_LIBS
625 GSTREAMER_INTERFACE_CFLAGS
626 EMOTION_BUILD_GENERIC_VLC_FALSE
627 EMOTION_BUILD_GENERIC_VLC_TRUE
631 EMOTION_STATIC_BUILD_GENERIC_FALSE
632 EMOTION_STATIC_BUILD_GENERIC_TRUE
633 EMOTION_BUILD_GENERIC_FALSE
634 EMOTION_BUILD_GENERIC_TRUE
637 EMOTION_STATIC_BUILD_GSTREAMER_FALSE
638 EMOTION_STATIC_BUILD_GSTREAMER_TRUE
639 EMOTION_BUILD_GSTREAMER_FALSE
640 EMOTION_BUILD_GSTREAMER_TRUE
643 EMOTION_STATIC_BUILD_XINE_FALSE
644 EMOTION_STATIC_BUILD_XINE_TRUE
645 EMOTION_BUILD_XINE_FALSE
646 EMOTION_BUILD_XINE_TRUE
650 lt_enable_auto_import
659 ENABLE_EDJE_EXTERNAL_FALSE
660 ENABLE_EDJE_EXTERNAL_TRUE
676 pkgconfig_requires_private
681 BUILD_EMOTION_TEST_FALSE
682 BUILD_EMOTION_TEST_TRUE
732 INSTALL_STRIP_PROGRAM
789 program_transform_name
802 enable_option_checking
803 enable_dependency_tracking
822 enable_build_examples
823 enable_install_examples
825 ac_precious_vars='build_alias
859 GSTREAMER_INTERFACE_CFLAGS
860 GSTREAMER_INTERFACE_LIBS'
863 # Initialize some variables set by options.
865 ac_init_version=false
866 ac_unrecognized_opts=
868 # The variables have the same names as the options, with
869 # dashes changed to underlines.
877 program_transform_name=s,x,x,
885 # Installation directory options.
886 # These are left unexpanded so users can "make install exec_prefix=/foo"
887 # and all the variables that are supposed to be based on exec_prefix
888 # by default will actually change.
889 # Use braces instead of parens because sh, perl, etc. also accept them.
890 # (The list follows the same order as the GNU Coding Standards.)
891 bindir='${exec_prefix}/bin'
892 sbindir='${exec_prefix}/sbin'
893 libexecdir='${exec_prefix}/libexec'
894 datarootdir='${prefix}/share'
895 datadir='${datarootdir}'
896 sysconfdir='${prefix}/etc'
897 sharedstatedir='${prefix}/com'
898 localstatedir='${prefix}/var'
899 includedir='${prefix}/include'
900 oldincludedir='/usr/include'
901 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
902 infodir='${datarootdir}/info'
907 libdir='${exec_prefix}/lib'
908 localedir='${datarootdir}/locale'
909 mandir='${datarootdir}/man'
915 # If the previous option needs an argument, assign it.
916 if test -n "$ac_prev"; then
917 eval $ac_prev=\$ac_option
923 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
928 # Accept the important Cygnus configure options, so we can diagnose typos.
930 case $ac_dashdash$ac_option in
934 -bindir | --bindir | --bindi | --bind | --bin | --bi)
936 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
939 -build | --build | --buil | --bui | --bu)
940 ac_prev=build_alias ;;
941 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
942 build_alias=$ac_optarg ;;
944 -cache-file | --cache-file | --cache-fil | --cache-fi \
945 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
946 ac_prev=cache_file ;;
947 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
948 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
949 cache_file=$ac_optarg ;;
952 cache_file=config.cache ;;
954 -datadir | --datadir | --datadi | --datad)
956 -datadir=* | --datadir=* | --datadi=* | --datad=*)
957 datadir=$ac_optarg ;;
959 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
960 | --dataroo | --dataro | --datar)
961 ac_prev=datarootdir ;;
962 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
963 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
964 datarootdir=$ac_optarg ;;
966 -disable-* | --disable-*)
967 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
970 as_fn_error $? "invalid feature name: $ac_useropt"
971 ac_useropt_orig=$ac_useropt
972 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
977 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
978 ac_unrecognized_sep=', ';;
980 eval enable_$ac_useropt=no ;;
982 -docdir | --docdir | --docdi | --doc | --do)
984 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
987 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
989 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
992 -enable-* | --enable-*)
993 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
996 as_fn_error $? "invalid feature name: $ac_useropt"
997 ac_useropt_orig=$ac_useropt
998 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1001 "enable_$ac_useropt"
1003 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1004 ac_unrecognized_sep=', ';;
1006 eval enable_$ac_useropt=\$ac_optarg ;;
1008 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1009 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1010 | --exec | --exe | --ex)
1011 ac_prev=exec_prefix ;;
1012 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1013 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1014 | --exec=* | --exe=* | --ex=*)
1015 exec_prefix=$ac_optarg ;;
1017 -gas | --gas | --ga | --g)
1018 # Obsolete; use --with-gas.
1021 -help | --help | --hel | --he | -h)
1022 ac_init_help=long ;;
1023 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1024 ac_init_help=recursive ;;
1025 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1026 ac_init_help=short ;;
1028 -host | --host | --hos | --ho)
1029 ac_prev=host_alias ;;
1030 -host=* | --host=* | --hos=* | --ho=*)
1031 host_alias=$ac_optarg ;;
1033 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1035 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1037 htmldir=$ac_optarg ;;
1039 -includedir | --includedir | --includedi | --included | --include \
1040 | --includ | --inclu | --incl | --inc)
1041 ac_prev=includedir ;;
1042 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1043 | --includ=* | --inclu=* | --incl=* | --inc=*)
1044 includedir=$ac_optarg ;;
1046 -infodir | --infodir | --infodi | --infod | --info | --inf)
1048 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1049 infodir=$ac_optarg ;;
1051 -libdir | --libdir | --libdi | --libd)
1053 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1054 libdir=$ac_optarg ;;
1056 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1057 | --libexe | --libex | --libe)
1058 ac_prev=libexecdir ;;
1059 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1060 | --libexe=* | --libex=* | --libe=*)
1061 libexecdir=$ac_optarg ;;
1063 -localedir | --localedir | --localedi | --localed | --locale)
1064 ac_prev=localedir ;;
1065 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1066 localedir=$ac_optarg ;;
1068 -localstatedir | --localstatedir | --localstatedi | --localstated \
1069 | --localstate | --localstat | --localsta | --localst | --locals)
1070 ac_prev=localstatedir ;;
1071 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1072 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1073 localstatedir=$ac_optarg ;;
1075 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1077 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1078 mandir=$ac_optarg ;;
1080 -nfp | --nfp | --nf)
1081 # Obsolete; use --without-fp.
1084 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1085 | --no-cr | --no-c | -n)
1088 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1089 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1092 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1093 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1094 | --oldin | --oldi | --old | --ol | --o)
1095 ac_prev=oldincludedir ;;
1096 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1097 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1098 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1099 oldincludedir=$ac_optarg ;;
1101 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1103 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1104 prefix=$ac_optarg ;;
1106 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1107 | --program-pre | --program-pr | --program-p)
1108 ac_prev=program_prefix ;;
1109 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1110 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1111 program_prefix=$ac_optarg ;;
1113 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1114 | --program-suf | --program-su | --program-s)
1115 ac_prev=program_suffix ;;
1116 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1117 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1118 program_suffix=$ac_optarg ;;
1120 -program-transform-name | --program-transform-name \
1121 | --program-transform-nam | --program-transform-na \
1122 | --program-transform-n | --program-transform- \
1123 | --program-transform | --program-transfor \
1124 | --program-transfo | --program-transf \
1125 | --program-trans | --program-tran \
1126 | --progr-tra | --program-tr | --program-t)
1127 ac_prev=program_transform_name ;;
1128 -program-transform-name=* | --program-transform-name=* \
1129 | --program-transform-nam=* | --program-transform-na=* \
1130 | --program-transform-n=* | --program-transform-=* \
1131 | --program-transform=* | --program-transfor=* \
1132 | --program-transfo=* | --program-transf=* \
1133 | --program-trans=* | --program-tran=* \
1134 | --progr-tra=* | --program-tr=* | --program-t=*)
1135 program_transform_name=$ac_optarg ;;
1137 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1139 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1140 pdfdir=$ac_optarg ;;
1142 -psdir | --psdir | --psdi | --psd | --ps)
1144 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1147 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1148 | -silent | --silent | --silen | --sile | --sil)
1151 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1153 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1155 sbindir=$ac_optarg ;;
1157 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1158 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1159 | --sharedst | --shareds | --shared | --share | --shar \
1161 ac_prev=sharedstatedir ;;
1162 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1163 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1164 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1166 sharedstatedir=$ac_optarg ;;
1168 -site | --site | --sit)
1170 -site=* | --site=* | --sit=*)
1173 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1175 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1176 srcdir=$ac_optarg ;;
1178 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1179 | --syscon | --sysco | --sysc | --sys | --sy)
1180 ac_prev=sysconfdir ;;
1181 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1182 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1183 sysconfdir=$ac_optarg ;;
1185 -target | --target | --targe | --targ | --tar | --ta | --t)
1186 ac_prev=target_alias ;;
1187 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1188 target_alias=$ac_optarg ;;
1190 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1193 -version | --version | --versio | --versi | --vers | -V)
1194 ac_init_version=: ;;
1197 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1198 # Reject names that are not valid shell variable names.
1199 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1200 as_fn_error $? "invalid package name: $ac_useropt"
1201 ac_useropt_orig=$ac_useropt
1202 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1203 case $ac_user_opts in
1207 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1208 ac_unrecognized_sep=', ';;
1210 eval with_$ac_useropt=\$ac_optarg ;;
1212 -without-* | --without-*)
1213 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1216 as_fn_error $? "invalid package name: $ac_useropt"
1217 ac_useropt_orig=$ac_useropt
1218 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1219 case $ac_user_opts in
1223 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1224 ac_unrecognized_sep=', ';;
1226 eval with_$ac_useropt=no ;;
1229 # Obsolete; use --with-x.
1232 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1233 | --x-incl | --x-inc | --x-in | --x-i)
1234 ac_prev=x_includes ;;
1235 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1236 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1237 x_includes=$ac_optarg ;;
1239 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1240 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1241 ac_prev=x_libraries ;;
1242 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1243 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1244 x_libraries=$ac_optarg ;;
1246 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1247 Try \`$0 --help' for more information"
1251 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1252 # Reject names that are not valid shell variable names.
1253 case $ac_envvar in #(
1254 '' | [0-9]* | *[!_$as_cr_alnum]* )
1255 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1257 eval $ac_envvar=\$ac_optarg
1258 export $ac_envvar ;;
1261 # FIXME: should be removed in autoconf 3.0.
1262 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1263 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1264 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1265 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1271 if test -n "$ac_prev"; then
1272 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1273 as_fn_error $? "missing argument to $ac_option"
1276 if test -n "$ac_unrecognized_opts"; then
1277 case $enable_option_checking in
1279 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1280 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1284 # Check all directory arguments for consistency.
1285 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1286 datadir sysconfdir sharedstatedir localstatedir includedir \
1287 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1288 libdir localedir mandir
1290 eval ac_val=\$$ac_var
1291 # Remove trailing slashes.
1294 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1295 eval $ac_var=\$ac_val;;
1297 # Be sure to have absolute directory names.
1299 [\\/$]* | ?:[\\/]* ) continue;;
1300 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1302 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1305 # There might be people who depend on the old broken behavior: `$host'
1306 # used to hold the argument of --host etc.
1307 # FIXME: To remove some day.
1310 target=$target_alias
1312 # FIXME: To remove some day.
1313 if test "x$host_alias" != x; then
1314 if test "x$build_alias" = x; then
1315 cross_compiling=maybe
1316 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1317 If a cross compiler is detected then cross compile mode will be used" >&2
1318 elif test "x$build_alias" != "x$host_alias"; then
1324 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1326 test "$silent" = yes && exec 6>/dev/null
1329 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1330 ac_ls_di=`ls -di .` &&
1331 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1332 as_fn_error $? "working directory cannot be determined"
1333 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1334 as_fn_error $? "pwd does not report name of working directory"
1337 # Find the source files, if location was not specified.
1338 if test -z "$srcdir"; then
1339 ac_srcdir_defaulted=yes
1340 # Try the directory containing this script, then the parent directory.
1341 ac_confdir=`$as_dirname -- "$as_myself" ||
1342 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1343 X"$as_myself" : 'X\(//\)[^/]' \| \
1344 X"$as_myself" : 'X\(//\)$' \| \
1345 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1346 $as_echo X"$as_myself" |
1347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1369 ac_srcdir_defaulted=no
1371 if test ! -r "$srcdir/$ac_unique_file"; then
1372 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1373 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1375 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1377 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1379 # When building in place, set srcdir=.
1380 if test "$ac_abs_confdir" = "$ac_pwd"; then
1383 # Remove unnecessary trailing slashes from srcdir.
1384 # Double slashes in file names in object file debugging info
1385 # mess up M-x gdb in Emacs.
1387 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1389 for ac_var in $ac_precious_vars; do
1390 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1391 eval ac_env_${ac_var}_value=\$${ac_var}
1392 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1393 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1397 # Report the --help message.
1399 if test "$ac_init_help" = "long"; then
1400 # Omit some internal or obsolete options to make the list less imposing.
1401 # This message is too long to be a string in the A/UX 3.1 sh.
1403 \`configure' configures emotion 1.7.3 to adapt to many kinds of systems.
1405 Usage: $0 [OPTION]... [VAR=VALUE]...
1407 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1408 VAR=VALUE. See below for descriptions of some of the useful variables.
1410 Defaults for the options are specified in brackets.
1413 -h, --help display this help and exit
1414 --help=short display options specific to this package
1415 --help=recursive display the short help of all the included packages
1416 -V, --version display version information and exit
1417 -q, --quiet, --silent do not print \`checking ...' messages
1418 --cache-file=FILE cache test results in FILE [disabled]
1419 -C, --config-cache alias for \`--cache-file=config.cache'
1420 -n, --no-create do not create output files
1421 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1423 Installation directories:
1424 --prefix=PREFIX install architecture-independent files in PREFIX
1425 [$ac_default_prefix]
1426 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1429 By default, \`make install' will install all the files in
1430 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1431 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1432 for instance \`--prefix=\$HOME'.
1434 For better control, use the options below.
1436 Fine tuning of the installation directories:
1437 --bindir=DIR user executables [EPREFIX/bin]
1438 --sbindir=DIR system admin executables [EPREFIX/sbin]
1439 --libexecdir=DIR program executables [EPREFIX/libexec]
1440 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1441 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1442 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1443 --libdir=DIR object code libraries [EPREFIX/lib]
1444 --includedir=DIR C header files [PREFIX/include]
1445 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1446 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1447 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1448 --infodir=DIR info documentation [DATAROOTDIR/info]
1449 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1450 --mandir=DIR man documentation [DATAROOTDIR/man]
1451 --docdir=DIR documentation root [DATAROOTDIR/doc/emotion]
1452 --htmldir=DIR html documentation [DOCDIR]
1453 --dvidir=DIR dvi documentation [DOCDIR]
1454 --pdfdir=DIR pdf documentation [DOCDIR]
1455 --psdir=DIR ps documentation [DOCDIR]
1461 --program-prefix=PREFIX prepend PREFIX to installed program names
1462 --program-suffix=SUFFIX append SUFFIX to installed program names
1463 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1466 --build=BUILD configure for building on BUILD [guessed]
1467 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1471 if test -n "$ac_init_help"; then
1472 case $ac_init_help in
1473 short | recursive ) echo "Configuration of emotion 1.7.3:";;
1478 --disable-option-checking ignore unrecognized --enable/--with options
1479 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1480 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1481 --disable-dependency-tracking speeds up one-time build
1482 --enable-dependency-tracking do not reject slow dependency extractors
1483 --enable-silent-rules less verbose build output (undo: `make V=1')
1484 --disable-silent-rules verbose build output (undo: `make V=0')
1485 --enable-shared[=PKGS] build shared libraries [default=yes]
1486 --enable-static[=PKGS] build static libraries [default=yes]
1487 --enable-fast-install[=PKGS]
1488 optimize for fast installation [default=yes]
1489 --disable-libtool-lock avoid locking (might break parallel builds)
1490 --disable-emotion-test disable building of emotion_test
1491 --disable-doc Disable documentation build [default=enabled]
1492 --disable-edje-external disable providing Edje EXTERNAL support.
1494 --disable-ecore-x disable ecore-x support. [default=detect]
1495 --enable-xine enable build of Xine module [default=yes]
1496 --enable-gstreamer enable build of Gstreamer module [default=yes]
1497 --enable-generic enable build of Generic module [default=yes]
1498 --enable-generic-vlc enable build of Generic Player VLC [default=yes]
1499 --enable-build-examples enable building examples [default=disabled]
1500 --enable-install-examples
1501 enable installing example source files
1505 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1506 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1507 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1509 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1510 --with-sysroot=DIR Search for dependent libraries within DIR
1511 (or the compiler's sysroot if not specified).
1512 --with-edje-cc=PATH specify a specific path to edje_cc
1513 --with-doxygen=FILE doxygen program to use [default=doxygen]
1515 Some influential environment variables:
1516 CC C compiler command
1517 CFLAGS C compiler flags
1518 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1519 nonstandard directory <lib dir>
1520 LIBS libraries to pass to the linker, e.g. -l<library>
1521 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1522 you have headers in a nonstandard directory <include dir>
1524 PKG_CONFIG path to pkg-config utility
1526 directories to add to pkg-config's search path
1528 path overriding pkg-config's built-in search path
1530 C compiler flags for EMOTION, overriding pkg-config
1532 linker flags for EMOTION, overriding pkg-config
1534 C compiler flags for EMOTION_BIN, overriding pkg-config
1536 linker flags for EMOTION_BIN, overriding pkg-config
1538 C compiler flags for ECORE_X, overriding pkg-config
1540 linker flags for ECORE_X, overriding pkg-config
1542 C compiler flags for ECORE_FB, overriding pkg-config
1544 linker flags for ECORE_FB, overriding pkg-config
1545 EDJE_EXTERNAL_CFLAGS
1546 C compiler flags for EDJE_EXTERNAL, overriding pkg-config
1548 linker flags for EDJE_EXTERNAL, overriding pkg-config
1549 EEZE_CFLAGS C compiler flags for EEZE, overriding pkg-config
1550 EEZE_LIBS linker flags for EEZE, overriding pkg-config
1551 EIO_CFLAGS C compiler flags for EIO, overriding pkg-config
1552 EIO_LIBS linker flags for EIO, overriding pkg-config
1553 XINE_CFLAGS C compiler flags for XINE, overriding pkg-config
1554 XINE_LIBS linker flags for XINE, overriding pkg-config
1556 C compiler flags for GSTREAMER, overriding pkg-config
1558 linker flags for GSTREAMER, overriding pkg-config
1560 C compiler flags for GENERIC, overriding pkg-config
1562 linker flags for GENERIC, overriding pkg-config
1564 C compiler flags for GENERIC_VLC, overriding pkg-config
1566 linker flags for GENERIC_VLC, overriding pkg-config
1567 GSTREAMER_INTERFACE_CFLAGS
1568 C compiler flags for GSTREAMER_INTERFACE, overriding pkg-config
1569 GSTREAMER_INTERFACE_LIBS
1570 linker flags for GSTREAMER_INTERFACE, overriding pkg-config
1572 Use these variables to override the choices made by `configure' or to help
1573 it to find libraries and programs with nonstandard names/locations.
1575 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1580 if test "$ac_init_help" = "recursive"; then
1581 # If there are subdirs, report their specific --help.
1582 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1583 test -d "$ac_dir" ||
1584 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1589 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1591 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1592 # A ".." for each directory in $ac_dir_suffix.
1593 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1594 case $ac_top_builddir_sub in
1595 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1596 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1599 ac_abs_top_builddir=$ac_pwd
1600 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1601 # for backward compatibility:
1602 ac_top_builddir=$ac_top_build_prefix
1605 .) # We are building in place.
1607 ac_top_srcdir=$ac_top_builddir_sub
1608 ac_abs_top_srcdir=$ac_pwd ;;
1609 [\\/]* | ?:[\\/]* ) # Absolute name.
1610 ac_srcdir=$srcdir$ac_dir_suffix;
1611 ac_top_srcdir=$srcdir
1612 ac_abs_top_srcdir=$srcdir ;;
1614 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1615 ac_top_srcdir=$ac_top_build_prefix$srcdir
1616 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1618 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1620 cd "$ac_dir" || { ac_status=$?; continue; }
1621 # Check for guested configure.
1622 if test -f "$ac_srcdir/configure.gnu"; then
1624 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1625 elif test -f "$ac_srcdir/configure"; then
1627 $SHELL "$ac_srcdir/configure" --help=recursive
1629 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1631 cd "$ac_pwd" || { ac_status=$?; break; }
1635 test -n "$ac_init_help" && exit $ac_status
1636 if $ac_init_version; then
1638 emotion configure 1.7.3
1639 generated by GNU Autoconf 2.68
1641 Copyright (C) 2010 Free Software Foundation, Inc.
1642 This configure script is free software; the Free Software Foundation
1643 gives unlimited permission to copy, distribute and modify it.
1648 ## ------------------------ ##
1649 ## Autoconf initialization. ##
1650 ## ------------------------ ##
1652 # ac_fn_c_try_compile LINENO
1653 # --------------------------
1654 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1655 ac_fn_c_try_compile ()
1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658 rm -f conftest.$ac_objext
1659 if { { ac_try="$ac_compile"
1661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662 *) ac_try_echo=$ac_try;;
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666 (eval "$ac_compile") 2>conftest.err
1668 if test -s conftest.err; then
1669 grep -v '^ *+' conftest.err >conftest.er1
1670 cat conftest.er1 >&5
1671 mv -f conftest.er1 conftest.err
1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674 test $ac_status = 0; } && {
1675 test -z "$ac_c_werror_flag" ||
1676 test ! -s conftest.err
1677 } && test -s conftest.$ac_objext; then :
1680 $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686 as_fn_set_status $ac_retval
1688 } # ac_fn_c_try_compile
1690 # ac_fn_c_try_link LINENO
1691 # -----------------------
1692 # Try to link conftest.$ac_ext, and return whether this succeeded.
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 rm -f conftest.$ac_objext conftest$ac_exeext
1697 if { { ac_try="$ac_link"
1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700 *) ac_try_echo=$ac_try;;
1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704 (eval "$ac_link") 2>conftest.err
1706 if test -s conftest.err; then
1707 grep -v '^ *+' conftest.err >conftest.er1
1708 cat conftest.er1 >&5
1709 mv -f conftest.er1 conftest.err
1711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712 test $ac_status = 0; } && {
1713 test -z "$ac_c_werror_flag" ||
1714 test ! -s conftest.err
1715 } && test -s conftest$ac_exeext && {
1716 test "$cross_compiling" = yes ||
1717 $as_test_x conftest$ac_exeext
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1726 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1727 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1728 # interfere with the next link command; also delete a directory that is
1729 # left behind by Apple's compiler. We do this before executing the actions.
1730 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732 as_fn_set_status $ac_retval
1734 } # ac_fn_c_try_link
1736 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1737 # -------------------------------------------------------
1738 # Tests whether HEADER exists and can be compiled using the include files in
1739 # INCLUDES, setting the cache variable VAR accordingly.
1740 ac_fn_c_check_header_compile ()
1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1744 $as_echo_n "checking for $2... " >&6; }
1745 if eval \${$3+:} false; then :
1746 $as_echo_n "(cached) " >&6
1748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1749 /* end confdefs.h. */
1753 if ac_fn_c_try_compile "$LINENO"; then :
1758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1762 $as_echo "$ac_res" >&6; }
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765 } # ac_fn_c_check_header_compile
1767 # ac_fn_c_try_cpp LINENO
1768 # ----------------------
1769 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 if { { ac_try="$ac_cpp conftest.$ac_ext"
1775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776 *) ac_try_echo=$ac_try;;
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1782 if test -s conftest.err; then
1783 grep -v '^ *+' conftest.err >conftest.er1
1784 cat conftest.er1 >&5
1785 mv -f conftest.er1 conftest.err
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; } > conftest.i && {
1789 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1790 test ! -s conftest.err
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1799 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1800 as_fn_set_status $ac_retval
1804 # ac_fn_c_try_run LINENO
1805 # ----------------------
1806 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1807 # that executables *can* be run.
1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811 if { { ac_try="$ac_link"
1813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1814 *) ac_try_echo=$ac_try;;
1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818 (eval "$ac_link") 2>&5
1820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1822 { { case "(($ac_try" in
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_try") 2>&5
1830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831 test $ac_status = 0; }; }; then :
1834 $as_echo "$as_me: program exited with status $ac_status" >&5
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1838 ac_retval=$ac_status
1840 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842 as_fn_set_status $ac_retval
1846 # ac_fn_c_check_func LINENO FUNC VAR
1847 # ----------------------------------
1848 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1849 ac_fn_c_check_func ()
1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1853 $as_echo_n "checking for $2... " >&6; }
1854 if eval \${$3+:} false; then :
1855 $as_echo_n "(cached) " >&6
1857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h. */
1859 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1861 #define $2 innocuous_$2
1863 /* System header to define __stub macros and hopefully few prototypes,
1864 which can conflict with char $2 (); below.
1865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1866 <limits.h> exists even on freestanding compilers. */
1869 # include <limits.h>
1871 # include <assert.h>
1876 /* Override any GCC internal prototype to avoid an error.
1877 Use char because int might match the return type of a GCC
1878 builtin and then its argument prototype would still apply. */
1883 /* The GNU C library defines this for functions which it implements
1884 to always fail with ENOSYS. Some functions are actually named
1885 something starting with __ and the normal name is an alias. */
1886 #if defined __stub_$2 || defined __stub___$2
1898 if ac_fn_c_try_link "$LINENO"; then :
1903 rm -f core conftest.err conftest.$ac_objext \
1904 conftest$ac_exeext conftest.$ac_ext
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908 $as_echo "$ac_res" >&6; }
1909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1911 } # ac_fn_c_check_func
1913 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1914 # -------------------------------------------------------
1915 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1916 # the include files in INCLUDES and setting the cache variable VAR
1918 ac_fn_c_check_header_mongrel ()
1920 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1921 if eval \${$3+:} false; then :
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923 $as_echo_n "checking for $2... " >&6; }
1924 if eval \${$3+:} false; then :
1925 $as_echo_n "(cached) " >&6
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929 $as_echo "$ac_res" >&6; }
1931 # Is the header compilable?
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1933 $as_echo_n "checking $2 usability... " >&6; }
1934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1935 /* end confdefs.h. */
1939 if ac_fn_c_try_compile "$LINENO"; then :
1940 ac_header_compiler=yes
1942 ac_header_compiler=no
1944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1946 $as_echo "$ac_header_compiler" >&6; }
1948 # Is the header present?
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1950 $as_echo_n "checking $2 presence... " >&6; }
1951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1952 /* end confdefs.h. */
1955 if ac_fn_c_try_cpp "$LINENO"; then :
1956 ac_header_preproc=yes
1958 ac_header_preproc=no
1960 rm -f conftest.err conftest.i conftest.$ac_ext
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1962 $as_echo "$ac_header_preproc" >&6; }
1964 # So? What about this header?
1965 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1968 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1970 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1974 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1976 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1978 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1980 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1982 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1983 ( $as_echo "## -------------------------------------------------------- ##
1984 ## Report this to enlightenment-devel@lists.sourceforge.net ##
1985 ## -------------------------------------------------------- ##"
1986 ) | sed "s/^/$as_me: WARNING: /" >&2
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1990 $as_echo_n "checking for $2... " >&6; }
1991 if eval \${$3+:} false; then :
1992 $as_echo_n "(cached) " >&6
1994 eval "$3=\$ac_header_compiler"
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1998 $as_echo "$ac_res" >&6; }
2000 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2002 } # ac_fn_c_check_header_mongrel
2004 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2005 # -------------------------------------------
2006 # Tests whether TYPE exists after having included INCLUDES, setting cache
2007 # variable VAR accordingly.
2008 ac_fn_c_check_type ()
2010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2012 $as_echo_n "checking for $2... " >&6; }
2013 if eval \${$3+:} false; then :
2014 $as_echo_n "(cached) " >&6
2017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2018 /* end confdefs.h. */
2029 if ac_fn_c_try_compile "$LINENO"; then :
2030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2031 /* end confdefs.h. */
2042 if ac_fn_c_try_compile "$LINENO"; then :
2047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053 $as_echo "$ac_res" >&6; }
2054 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2056 } # ac_fn_c_check_type
2057 cat >config.log <<_ACEOF
2058 This file contains any messages produced by compilers while
2059 running configure, to aid debugging if configure makes a mistake.
2061 It was created by emotion $as_me 1.7.3, which was
2062 generated by GNU Autoconf 2.68. Invocation command line was
2074 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2075 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2076 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2077 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2078 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2080 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2081 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2083 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2084 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2085 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2086 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2087 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2088 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2089 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 test -z "$as_dir" && as_dir=.
2098 $as_echo "PATH: $as_dir"
2114 # Keep a trace of the command line.
2115 # Strip out --no-create and --no-recursion so they do not pile up.
2116 # Strip out --silent because we don't want to record it for future runs.
2117 # Also quote any args containing shell meta-characters.
2118 # Make two passes to allow for proper duplicate-argument suppression.
2122 ac_must_keep_next=false
2128 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2129 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2130 | -silent | --silent | --silen | --sile | --sil)
2133 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2136 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2138 as_fn_append ac_configure_args1 " '$ac_arg'"
2139 if test $ac_must_keep_next = true; then
2140 ac_must_keep_next=false # Got value, back to normal.
2143 *=* | --config-cache | -C | -disable-* | --disable-* \
2144 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2145 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2146 | -with-* | --with-* | -without-* | --without-* | --x)
2147 case "$ac_configure_args0 " in
2148 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2151 -* ) ac_must_keep_next=true ;;
2154 as_fn_append ac_configure_args " '$ac_arg'"
2159 { ac_configure_args0=; unset ac_configure_args0;}
2160 { ac_configure_args1=; unset ac_configure_args1;}
2162 # When interrupted or exit'd, cleanup temporary files, and complete
2163 # config.log. We remove comments because anyway the quotes in there
2164 # would cause problems or look ugly.
2165 # WARNING: Use '\'' to represent an apostrophe within the trap.
2166 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2167 trap 'exit_status=$?
2168 # Save into config.log some information that might help in debugging.
2172 $as_echo "## ---------------- ##
2173 ## Cache variables. ##
2174 ## ---------------- ##"
2176 # The following way of writing the cache mishandles newlines in values,
2178 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2179 eval ac_val=\$$ac_var
2183 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2184 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2187 _ | IFS | as_nl) ;; #(
2188 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2189 *) { eval $ac_var=; unset $ac_var;} ;;
2194 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2195 *${as_nl}ac_space=\ *)
2197 "s/'\''/'\''\\\\'\'''\''/g;
2198 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2201 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2208 $as_echo "## ----------------- ##
2209 ## Output variables. ##
2210 ## ----------------- ##"
2212 for ac_var in $ac_subst_vars
2214 eval ac_val=\$$ac_var
2216 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2218 $as_echo "$ac_var='\''$ac_val'\''"
2222 if test -n "$ac_subst_files"; then
2223 $as_echo "## ------------------- ##
2224 ## File substitutions. ##
2225 ## ------------------- ##"
2227 for ac_var in $ac_subst_files
2229 eval ac_val=\$$ac_var
2231 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2233 $as_echo "$ac_var='\''$ac_val'\''"
2238 if test -s confdefs.h; then
2239 $as_echo "## ----------- ##
2246 test "$ac_signal" != 0 &&
2247 $as_echo "$as_me: caught signal $ac_signal"
2248 $as_echo "$as_me: exit $exit_status"
2250 rm -f core *.core core.conftest.* &&
2251 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2254 for ac_signal in 1 2 13 15; do
2255 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2259 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2260 rm -f -r conftest* confdefs.h
2262 $as_echo "/* confdefs.h */" > confdefs.h
2264 # Predefined preprocessor variables.
2266 cat >>confdefs.h <<_ACEOF
2267 #define PACKAGE_NAME "$PACKAGE_NAME"
2270 cat >>confdefs.h <<_ACEOF
2271 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2274 cat >>confdefs.h <<_ACEOF
2275 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2278 cat >>confdefs.h <<_ACEOF
2279 #define PACKAGE_STRING "$PACKAGE_STRING"
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_URL "$PACKAGE_URL"
2291 # Let the site file select an alternate cache file if it wants to.
2292 # Prefer an explicitly selected file to automatically selected ones.
2295 if test -n "$CONFIG_SITE"; then
2296 # We do not want a PATH search for config.site.
2297 case $CONFIG_SITE in #((
2298 -*) ac_site_file1=./$CONFIG_SITE;;
2299 */*) ac_site_file1=$CONFIG_SITE;;
2300 *) ac_site_file1=./$CONFIG_SITE;;
2302 elif test "x$prefix" != xNONE; then
2303 ac_site_file1=$prefix/share/config.site
2304 ac_site_file2=$prefix/etc/config.site
2306 ac_site_file1=$ac_default_prefix/share/config.site
2307 ac_site_file2=$ac_default_prefix/etc/config.site
2309 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2311 test "x$ac_site_file" = xNONE && continue
2312 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2314 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2315 sed 's/^/| /' "$ac_site_file" >&5
2317 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2319 as_fn_error $? "failed to load site script $ac_site_file
2320 See \`config.log' for more details" "$LINENO" 5; }
2324 if test -r "$cache_file"; then
2325 # Some versions of bash will fail to source /dev/null (special files
2326 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2327 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2329 $as_echo "$as_me: loading cache $cache_file" >&6;}
2331 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2332 *) . "./$cache_file";;
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2337 $as_echo "$as_me: creating cache $cache_file" >&6;}
2341 # Check that the precious variables saved in the cache have kept the same
2343 ac_cache_corrupted=false
2344 for ac_var in $ac_precious_vars; do
2345 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2346 eval ac_new_set=\$ac_env_${ac_var}_set
2347 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2348 eval ac_new_val=\$ac_env_${ac_var}_value
2349 case $ac_old_set,$ac_new_set in
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2352 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2353 ac_cache_corrupted=: ;;
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2356 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2357 ac_cache_corrupted=: ;;
2360 if test "x$ac_old_val" != "x$ac_new_val"; then
2361 # differences in whitespace do not lead to failure.
2362 ac_old_val_w=`echo x $ac_old_val`
2363 ac_new_val_w=`echo x $ac_new_val`
2364 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2366 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2367 ac_cache_corrupted=:
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2370 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2371 eval $ac_var=\$ac_old_val
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2374 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2376 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2379 # Pass precious variables to config.status.
2380 if test "$ac_new_set" = set; then
2382 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2383 *) ac_arg=$ac_var=$ac_new_val ;;
2385 case " $ac_configure_args " in
2386 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2387 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2391 if $ac_cache_corrupted; then
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2395 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2396 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2398 ## -------------------- ##
2399 ## Main body of script. ##
2400 ## -------------------- ##
2403 ac_cpp='$CPP $CPPFLAGS'
2404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2413 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2414 if test -f "$ac_dir/install-sh"; then
2416 ac_install_sh="$ac_aux_dir/install-sh -c"
2418 elif test -f "$ac_dir/install.sh"; then
2420 ac_install_sh="$ac_aux_dir/install.sh -c"
2422 elif test -f "$ac_dir/shtool"; then
2424 ac_install_sh="$ac_aux_dir/shtool install -c"
2428 if test -z "$ac_aux_dir"; then
2429 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2432 # These three variables are undocumented and unsupported,
2433 # and are intended to be withdrawn in a future Autoconf release.
2434 # They can cause serious problems if a builder's source tree is in a directory
2435 # whose full name contains unusual characters.
2436 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2437 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2438 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2441 # Make sure we can run config.sub.
2442 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2443 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2446 $as_echo_n "checking build system type... " >&6; }
2447 if ${ac_cv_build+:} false; then :
2448 $as_echo_n "(cached) " >&6
2450 ac_build_alias=$build_alias
2451 test "x$ac_build_alias" = x &&
2452 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2453 test "x$ac_build_alias" = x &&
2454 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2455 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2456 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2460 $as_echo "$ac_cv_build" >&6; }
2461 case $ac_cv_build in
2463 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2466 ac_save_IFS=$IFS; IFS='-'
2472 # Remember, the first character of IFS is used to create $*,
2473 # except with old shells:
2476 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2480 $as_echo_n "checking host system type... " >&6; }
2481 if ${ac_cv_host+:} false; then :
2482 $as_echo_n "(cached) " >&6
2484 if test "x$host_alias" = x; then
2485 ac_cv_host=$ac_cv_build
2487 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2488 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2493 $as_echo "$ac_cv_host" >&6; }
2496 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2499 ac_save_IFS=$IFS; IFS='-'
2505 # Remember, the first character of IFS is used to create $*,
2506 # except with old shells:
2509 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2513 ac_cpp='$CPP $CPPFLAGS'
2514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2517 if test -n "$ac_tool_prefix"; then
2518 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2519 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2521 $as_echo_n "checking for $ac_word... " >&6; }
2522 if ${ac_cv_prog_CC+:} false; then :
2523 $as_echo_n "(cached) " >&6
2525 if test -n "$CC"; then
2526 ac_cv_prog_CC="$CC" # Let the user override the test.
2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532 test -z "$as_dir" && as_dir=.
2533 for ac_exec_ext in '' $ac_executable_extensions; do
2534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2535 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2546 if test -n "$CC"; then
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2548 $as_echo "$CC" >&6; }
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2551 $as_echo "no" >&6; }
2556 if test -z "$ac_cv_prog_CC"; then
2558 # Extract the first word of "gcc", so it can be a program name with args.
2559 set dummy gcc; ac_word=$2
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2561 $as_echo_n "checking for $ac_word... " >&6; }
2562 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2563 $as_echo_n "(cached) " >&6
2565 if test -n "$ac_ct_CC"; then
2566 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2572 test -z "$as_dir" && as_dir=.
2573 for ac_exec_ext in '' $ac_executable_extensions; do
2574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2575 ac_cv_prog_ac_ct_CC="gcc"
2576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2585 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2586 if test -n "$ac_ct_CC"; then
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2588 $as_echo "$ac_ct_CC" >&6; }
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2591 $as_echo "no" >&6; }
2594 if test "x$ac_ct_CC" = x; then
2597 case $cross_compiling:$ac_tool_warned in
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2601 ac_tool_warned=yes ;;
2609 if test -z "$CC"; then
2610 if test -n "$ac_tool_prefix"; then
2611 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2612 set dummy ${ac_tool_prefix}cc; ac_word=$2
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2614 $as_echo_n "checking for $ac_word... " >&6; }
2615 if ${ac_cv_prog_CC+:} false; then :
2616 $as_echo_n "(cached) " >&6
2618 if test -n "$CC"; then
2619 ac_cv_prog_CC="$CC" # Let the user override the test.
2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2625 test -z "$as_dir" && as_dir=.
2626 for ac_exec_ext in '' $ac_executable_extensions; do
2627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2628 ac_cv_prog_CC="${ac_tool_prefix}cc"
2629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2639 if test -n "$CC"; then
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2641 $as_echo "$CC" >&6; }
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2644 $as_echo "no" >&6; }
2650 if test -z "$CC"; then
2651 # Extract the first word of "cc", so it can be a program name with args.
2652 set dummy cc; ac_word=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; }
2655 if ${ac_cv_prog_CC+:} false; then :
2656 $as_echo_n "(cached) " >&6
2658 if test -n "$CC"; then
2659 ac_cv_prog_CC="$CC" # Let the user override the test.
2662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2666 test -z "$as_dir" && as_dir=.
2667 for ac_exec_ext in '' $ac_executable_extensions; do
2668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2669 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2670 ac_prog_rejected=yes
2674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2681 if test $ac_prog_rejected = yes; then
2682 # We found a bogon in the path, so make sure we never use it.
2683 set dummy $ac_cv_prog_CC
2685 if test $# != 0; then
2686 # We chose a different compiler from the bogus one.
2687 # However, it has the same basename, so the bogon will be chosen
2688 # first if we set CC to just the basename; use the full file name.
2690 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2696 if test -n "$CC"; then
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2698 $as_echo "$CC" >&6; }
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2701 $as_echo "no" >&6; }
2706 if test -z "$CC"; then
2707 if test -n "$ac_tool_prefix"; then
2708 for ac_prog in cl.exe
2710 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2711 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2713 $as_echo_n "checking for $ac_word... " >&6; }
2714 if ${ac_cv_prog_CC+:} false; then :
2715 $as_echo_n "(cached) " >&6
2717 if test -n "$CC"; then
2718 ac_cv_prog_CC="$CC" # Let the user override the test.
2720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2724 test -z "$as_dir" && as_dir=.
2725 for ac_exec_ext in '' $ac_executable_extensions; do
2726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2727 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2738 if test -n "$CC"; then
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2740 $as_echo "$CC" >&6; }
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2743 $as_echo "no" >&6; }
2747 test -n "$CC" && break
2750 if test -z "$CC"; then
2752 for ac_prog in cl.exe
2754 # Extract the first word of "$ac_prog", so it can be a program name with args.
2755 set dummy $ac_prog; ac_word=$2
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2757 $as_echo_n "checking for $ac_word... " >&6; }
2758 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2759 $as_echo_n "(cached) " >&6
2761 if test -n "$ac_ct_CC"; then
2762 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2768 test -z "$as_dir" && as_dir=.
2769 for ac_exec_ext in '' $ac_executable_extensions; do
2770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2771 ac_cv_prog_ac_ct_CC="$ac_prog"
2772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2781 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2782 if test -n "$ac_ct_CC"; then
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2784 $as_echo "$ac_ct_CC" >&6; }
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2787 $as_echo "no" >&6; }
2791 test -n "$ac_ct_CC" && break
2794 if test "x$ac_ct_CC" = x; then
2797 case $cross_compiling:$ac_tool_warned in
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2801 ac_tool_warned=yes ;;
2810 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2812 as_fn_error $? "no acceptable C compiler found in \$PATH
2813 See \`config.log' for more details" "$LINENO" 5; }
2815 # Provide some information about the compiler.
2816 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2819 for ac_option in --version -v -V -qversion; do
2820 { { ac_try="$ac_compiler $ac_option >&5"
2822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2823 *) ac_try_echo=$ac_try;;
2825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2826 $as_echo "$ac_try_echo"; } >&5
2827 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2829 if test -s conftest.err; then
2831 ... rest of stderr output deleted ...
2832 10q' conftest.err >conftest.er1
2833 cat conftest.er1 >&5
2835 rm -f conftest.er1 conftest.err
2836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2837 test $ac_status = 0; }
2840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2841 /* end confdefs.h. */
2851 ac_clean_files_save=$ac_clean_files
2852 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2853 # Try to create an executable without -o first, disregard a.out.
2854 # It will help us diagnose broken compilers, and finding out an intuition
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2857 $as_echo_n "checking whether the C compiler works... " >&6; }
2858 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2860 # The possible output files:
2861 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2864 for ac_file in $ac_files
2867 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2868 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2873 if { { ac_try="$ac_link_default"
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2879 $as_echo "$ac_try_echo"; } >&5
2880 (eval "$ac_link_default") 2>&5
2882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2883 test $ac_status = 0; }; then :
2884 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2885 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2886 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2887 # so that the user can short-circuit this test for compilers unknown to
2889 for ac_file in $ac_files ''
2891 test -f "$ac_file" || continue
2893 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2896 # We found the default executable, but exeext='' is most
2900 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2902 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2904 # We set ac_cv_exeext here because the later test for it is not
2905 # safe: cross compilers may not add the suffix if given an `-o'
2906 # argument, so we may need to know it at that point already.
2907 # Even if this section looks crufty: it has the advantage of
2914 test "$ac_cv_exeext" = no && ac_cv_exeext=
2919 if test -z "$ac_file"; then :
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2921 $as_echo "no" >&6; }
2922 $as_echo "$as_me: failed program was:" >&5
2923 sed 's/^/| /' conftest.$ac_ext >&5
2925 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2926 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2927 as_fn_error 77 "C compiler cannot create executables
2928 See \`config.log' for more details" "$LINENO" 5; }
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2931 $as_echo "yes" >&6; }
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2934 $as_echo_n "checking for C compiler default output file name... " >&6; }
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2936 $as_echo "$ac_file" >&6; }
2937 ac_exeext=$ac_cv_exeext
2939 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2940 ac_clean_files=$ac_clean_files_save
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2942 $as_echo_n "checking for suffix of executables... " >&6; }
2943 if { { ac_try="$ac_link"
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") 2>&5
2952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2953 test $ac_status = 0; }; then :
2954 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2955 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2956 # work properly (i.e., refer to `conftest.exe'), while it won't with
2958 for ac_file in conftest.exe conftest conftest.*; do
2959 test -f "$ac_file" || continue
2961 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2962 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2970 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2971 See \`config.log' for more details" "$LINENO" 5; }
2973 rm -f conftest conftest$ac_cv_exeext
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2975 $as_echo "$ac_cv_exeext" >&6; }
2977 rm -f conftest.$ac_ext
2978 EXEEXT=$ac_cv_exeext
2980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2981 /* end confdefs.h. */
2986 FILE *f = fopen ("conftest.out", "w");
2987 return ferror (f) || fclose (f) != 0;
2993 ac_clean_files="$ac_clean_files conftest.out"
2994 # Check that the compiler produces executables we can run. If not, either
2995 # the compiler is broken, or we cross compile.
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2997 $as_echo_n "checking whether we are cross compiling... " >&6; }
2998 if test "$cross_compiling" != yes; then
2999 { { ac_try="$ac_link"
3001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002 *) ac_try_echo=$ac_try;;
3004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3005 $as_echo "$ac_try_echo"; } >&5
3006 (eval "$ac_link") 2>&5
3008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3009 test $ac_status = 0; }
3010 if { ac_try='./conftest$ac_cv_exeext'
3011 { { case "(($ac_try" in
3012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3013 *) ac_try_echo=$ac_try;;
3015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3016 $as_echo "$ac_try_echo"; } >&5
3017 (eval "$ac_try") 2>&5
3019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3020 test $ac_status = 0; }; }; then
3023 if test "$cross_compiling" = maybe; then
3026 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3028 as_fn_error $? "cannot run C compiled programs.
3029 If you meant to cross compile, use \`--host'.
3030 See \`config.log' for more details" "$LINENO" 5; }
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3035 $as_echo "$cross_compiling" >&6; }
3037 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3038 ac_clean_files=$ac_clean_files_save
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3040 $as_echo_n "checking for suffix of object files... " >&6; }
3041 if ${ac_cv_objext+:} false; then :
3042 $as_echo_n "(cached) " >&6
3044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h. */
3055 rm -f conftest.o conftest.obj
3056 if { { ac_try="$ac_compile"
3058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3059 *) ac_try_echo=$ac_try;;
3061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3062 $as_echo "$ac_try_echo"; } >&5
3063 (eval "$ac_compile") 2>&5
3065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3066 test $ac_status = 0; }; then :
3067 for ac_file in conftest.o conftest.obj conftest.*; do
3068 test -f "$ac_file" || continue;
3070 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3071 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3076 $as_echo "$as_me: failed program was:" >&5
3077 sed 's/^/| /' conftest.$ac_ext >&5
3079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3081 as_fn_error $? "cannot compute suffix of object files: cannot compile
3082 See \`config.log' for more details" "$LINENO" 5; }
3084 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3087 $as_echo "$ac_cv_objext" >&6; }
3088 OBJEXT=$ac_cv_objext
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3091 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3092 if ${ac_cv_c_compiler_gnu+:} false; then :
3093 $as_echo_n "(cached) " >&6
3095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3096 /* end confdefs.h. */
3109 if ac_fn_c_try_compile "$LINENO"; then :
3114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3115 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3119 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3120 if test $ac_compiler_gnu = yes; then
3125 ac_test_CFLAGS=${CFLAGS+set}
3126 ac_save_CFLAGS=$CFLAGS
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3128 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3129 if ${ac_cv_prog_cc_g+:} false; then :
3130 $as_echo_n "(cached) " >&6
3132 ac_save_c_werror_flag=$ac_c_werror_flag
3133 ac_c_werror_flag=yes
3136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3137 /* end confdefs.h. */
3147 if ac_fn_c_try_compile "$LINENO"; then :
3151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3152 /* end confdefs.h. */
3162 if ac_fn_c_try_compile "$LINENO"; then :
3165 ac_c_werror_flag=$ac_save_c_werror_flag
3167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3168 /* end confdefs.h. */
3178 if ac_fn_c_try_compile "$LINENO"; then :
3181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3186 ac_c_werror_flag=$ac_save_c_werror_flag
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3189 $as_echo "$ac_cv_prog_cc_g" >&6; }
3190 if test "$ac_test_CFLAGS" = set; then
3191 CFLAGS=$ac_save_CFLAGS
3192 elif test $ac_cv_prog_cc_g = yes; then
3193 if test "$GCC" = yes; then
3199 if test "$GCC" = yes; then
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3206 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3207 if ${ac_cv_prog_cc_c89+:} false; then :
3208 $as_echo_n "(cached) " >&6
3210 ac_cv_prog_cc_c89=no
3212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3213 /* end confdefs.h. */
3216 #include <sys/types.h>
3217 #include <sys/stat.h>
3218 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3219 struct buf { int x; };
3220 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3221 static char *e (p, i)
3227 static char *f (char * (*g) (char **, int), char **p, ...)
3232 s = g (p, va_arg (v,int));
3237 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3238 function prototypes and stuff, but not '\xHH' hex character constants.
3239 These don't provoke an error unfortunately, instead are silently treated
3240 as 'x'. The following induces an error, until -std is added to get
3241 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3242 array size at least. It's necessary to write '\x00'==0 to get something
3243 that's true only with -std. */
3244 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3246 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3247 inside strings and character constants. */
3249 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3251 int test (int i, double x);
3252 struct s1 {int (*f) (int a);};
3253 struct s2 {int (*f) (double a);};
3254 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3260 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3265 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3266 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3268 CC="$ac_save_CC $ac_arg"
3269 if ac_fn_c_try_compile "$LINENO"; then :
3270 ac_cv_prog_cc_c89=$ac_arg
3272 rm -f core conftest.err conftest.$ac_objext
3273 test "x$ac_cv_prog_cc_c89" != "xno" && break
3275 rm -f conftest.$ac_ext
3280 case "x$ac_cv_prog_cc_c89" in
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3283 $as_echo "none needed" >&6; } ;;
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3286 $as_echo "unsupported" >&6; } ;;
3288 CC="$CC $ac_cv_prog_cc_c89"
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3290 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3292 if test "x$ac_cv_prog_cc_c89" != xno; then :
3297 ac_cpp='$CPP $CPPFLAGS'
3298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3304 $as_echo_n "checking for library containing strerror... " >&6; }
3305 if ${ac_cv_search_strerror+:} false; then :
3306 $as_echo_n "(cached) " >&6
3308 ac_func_search_save_LIBS=$LIBS
3309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h. */
3312 /* Override any GCC internal prototype to avoid an error.
3313 Use char because int might match the return type of a GCC
3314 builtin and then its argument prototype would still apply. */
3327 for ac_lib in '' cposix; do
3328 if test -z "$ac_lib"; then
3329 ac_res="none required"
3332 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3334 if ac_fn_c_try_link "$LINENO"; then :
3335 ac_cv_search_strerror=$ac_res
3337 rm -f core conftest.err conftest.$ac_objext \
3339 if ${ac_cv_search_strerror+:} false; then :
3343 if ${ac_cv_search_strerror+:} false; then :
3346 ac_cv_search_strerror=no
3349 LIBS=$ac_func_search_save_LIBS
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3352 $as_echo "$ac_cv_search_strerror" >&6; }
3353 ac_res=$ac_cv_search_strerror
3354 if test "$ac_res" != no; then :
3355 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3360 am__api_version='1.11'
3362 # Find a good install program. We prefer a C program (faster),
3363 # so one script is as good as another. But avoid the broken or
3364 # incompatible versions:
3365 # SysV /etc/install, /usr/sbin/install
3366 # SunOS /usr/etc/install
3367 # IRIX /sbin/install
3369 # AmigaOS /C/install, which installs bootblocks on floppy discs
3370 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3371 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3372 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3373 # OS/2's system install, which has a completely different semantic
3374 # ./install, which can be erroneously created by make from ./install.sh.
3375 # Reject install programs that cannot install multiple files.
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3377 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3378 if test -z "$INSTALL"; then
3379 if ${ac_cv_path_install+:} false; then :
3380 $as_echo_n "(cached) " >&6
3382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3386 test -z "$as_dir" && as_dir=.
3387 # Account for people who put trailing slashes in PATH elements.
3388 case $as_dir/ in #((
3389 ./ | .// | /[cC]/* | \
3390 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3391 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3394 # OSF1 and SCO ODT 3.0 have their own names for install.
3395 # Don't use installbsd from OSF since it installs stuff as root
3397 for ac_prog in ginstall scoinst install; do
3398 for ac_exec_ext in '' $ac_executable_extensions; do
3399 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3400 if test $ac_prog = install &&
3401 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3402 # AIX install. It has an incompatible calling convention.
3404 elif test $ac_prog = install &&
3405 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3406 # program-specific install script used by HP pwplus--don't use.
3409 rm -rf conftest.one conftest.two conftest.dir
3410 echo one > conftest.one
3411 echo two > conftest.two
3413 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3414 test -s conftest.one && test -s conftest.two &&
3415 test -s conftest.dir/conftest.one &&
3416 test -s conftest.dir/conftest.two
3418 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3431 rm -rf conftest.one conftest.two conftest.dir
3434 if test "${ac_cv_path_install+set}" = set; then
3435 INSTALL=$ac_cv_path_install
3437 # As a last resort, use the slow shell script. Don't cache a
3438 # value for INSTALL within a source directory, because that will
3439 # break other packages using the cache if that directory is
3440 # removed, or if the value is a relative name.
3441 INSTALL=$ac_install_sh
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3445 $as_echo "$INSTALL" >&6; }
3447 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3448 # It thinks the first close brace ends the variable substitution.
3449 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3451 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3453 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3456 $as_echo_n "checking whether build environment is sane... " >&6; }
3459 echo timestamp > conftest.file
3460 # Reject unsafe characters in $srcdir or the absolute working directory
3461 # name. Accept space and tab only in the latter.
3465 *[\\\"\#\$\&\'\`$am_lf]*)
3466 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3469 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3470 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3473 # Do `set' in a subshell so we don't clobber the current shell's
3474 # arguments. Must try -L first in case configure is actually a
3475 # symlink; some systems play weird games with the mod time of symlinks
3476 # (eg FreeBSD returns the mod time of the symlink's containing
3479 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3480 if test "$*" = "X"; then
3482 set X `ls -t "$srcdir/configure" conftest.file`
3485 if test "$*" != "X $srcdir/configure conftest.file" \
3486 && test "$*" != "X conftest.file $srcdir/configure"; then
3488 # If neither matched, then we have a broken ls. This can happen
3489 # if, for instance, CONFIG_SHELL is bash and it inherits a
3490 # broken ls alias from the environment. This has actually
3491 # happened. Such a system could not be considered "sane".
3492 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3493 alias in your environment" "$LINENO" 5
3496 test "$2" = conftest.file
3502 as_fn_error $? "newly created file is older than distributed files!
3503 Check your system clock" "$LINENO" 5
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3506 $as_echo "yes" >&6; }
3507 test "$program_prefix" != NONE &&
3508 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3509 # Use a double $ so make ignores it.
3510 test "$program_suffix" != NONE &&
3511 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3512 # Double any \ or $.
3513 # By default was `s,x,x', remove it if useless.
3514 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3515 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3517 # expand $ac_aux_dir to an absolute path
3518 am_aux_dir=`cd $ac_aux_dir && pwd`
3520 if test x"${MISSING+set}" != xset; then
3523 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3525 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3528 # Use eval to expand $SHELL
3529 if eval "$MISSING --run true"; then
3530 am_missing_run="$MISSING --run "
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3534 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3537 if test x"${install_sh}" != xset; then
3540 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3542 install_sh="\${SHELL} $am_aux_dir/install-sh"
3546 # Installed binaries are usually stripped using `strip' when the user
3547 # run `make install-strip'. However `strip' might not be the right
3548 # tool to use in cross-compilation environments, therefore Automake
3549 # will honor the `STRIP' environment variable to overrule this program.
3550 if test "$cross_compiling" != no; then
3551 if test -n "$ac_tool_prefix"; then
3552 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3553 set dummy ${ac_tool_prefix}strip; ac_word=$2
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3555 $as_echo_n "checking for $ac_word... " >&6; }
3556 if ${ac_cv_prog_STRIP+:} false; then :
3557 $as_echo_n "(cached) " >&6
3559 if test -n "$STRIP"; then
3560 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3566 test -z "$as_dir" && as_dir=.
3567 for ac_exec_ext in '' $ac_executable_extensions; do
3568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3569 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3579 STRIP=$ac_cv_prog_STRIP
3580 if test -n "$STRIP"; then
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3582 $as_echo "$STRIP" >&6; }
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3590 if test -z "$ac_cv_prog_STRIP"; then
3592 # Extract the first word of "strip", so it can be a program name with args.
3593 set dummy strip; ac_word=$2
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3595 $as_echo_n "checking for $ac_word... " >&6; }
3596 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3597 $as_echo_n "(cached) " >&6
3599 if test -n "$ac_ct_STRIP"; then
3600 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3606 test -z "$as_dir" && as_dir=.
3607 for ac_exec_ext in '' $ac_executable_extensions; do
3608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3609 ac_cv_prog_ac_ct_STRIP="strip"
3610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3619 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3620 if test -n "$ac_ct_STRIP"; then
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3622 $as_echo "$ac_ct_STRIP" >&6; }
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3625 $as_echo "no" >&6; }
3628 if test "x$ac_ct_STRIP" = x; then
3631 case $cross_compiling:$ac_tool_warned in
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3635 ac_tool_warned=yes ;;
3640 STRIP="$ac_cv_prog_STRIP"
3644 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3647 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3648 if test -z "$MKDIR_P"; then
3649 if ${ac_cv_path_mkdir+:} false; then :
3650 $as_echo_n "(cached) " >&6
3652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3653 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3656 test -z "$as_dir" && as_dir=.
3657 for ac_prog in mkdir gmkdir; do
3658 for ac_exec_ext in '' $ac_executable_extensions; do
3659 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3660 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3661 'mkdir (GNU coreutils) '* | \
3662 'mkdir (coreutils) '* | \
3663 'mkdir (fileutils) '4.1*)
3664 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3674 test -d ./--version && rmdir ./--version
3675 if test "${ac_cv_path_mkdir+set}" = set; then
3676 MKDIR_P="$ac_cv_path_mkdir -p"
3678 # As a last resort, use the slow shell script. Don't cache a
3679 # value for MKDIR_P within a source directory, because that will
3680 # break other packages using the cache if that directory is
3681 # removed, or if the value is a relative name.
3682 MKDIR_P="$ac_install_sh -d"
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3686 $as_echo "$MKDIR_P" >&6; }
3690 [\\/$]* | ?:[\\/]*) ;;
3691 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3694 for ac_prog in gawk mawk nawk awk
3696 # Extract the first word of "$ac_prog", so it can be a program name with args.
3697 set dummy $ac_prog; ac_word=$2
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3699 $as_echo_n "checking for $ac_word... " >&6; }
3700 if ${ac_cv_prog_AWK+:} false; then :
3701 $as_echo_n "(cached) " >&6
3703 if test -n "$AWK"; then
3704 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3710 test -z "$as_dir" && as_dir=.
3711 for ac_exec_ext in '' $ac_executable_extensions; do
3712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3713 ac_cv_prog_AWK="$ac_prog"
3714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3724 if test -n "$AWK"; then
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3726 $as_echo "$AWK" >&6; }
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3729 $as_echo "no" >&6; }
3733 test -n "$AWK" && break
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3737 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3739 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3740 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3741 $as_echo_n "(cached) " >&6
3743 cat >conftest.make <<\_ACEOF
3746 @echo '@@@%%%=$(MAKE)=@@@%%%'
3748 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3749 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3751 eval ac_cv_prog_make_${ac_make}_set=yes;;
3753 eval ac_cv_prog_make_${ac_make}_set=no;;
3757 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3759 $as_echo "yes" >&6; }
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 $as_echo "no" >&6; }
3764 SET_MAKE="MAKE=${MAKE-make}"
3767 rm -rf .tst 2>/dev/null
3768 mkdir .tst 2>/dev/null
3769 if test -d .tst; then
3774 rmdir .tst 2>/dev/null
3776 DEPDIR="${am__leading_dot}deps"
3778 ac_config_commands="$ac_config_commands depfiles"
3781 am_make=${MAKE-make}
3782 cat > confinc << 'END'
3784 @echo this is the am__doit target
3787 # If we don't find an include directive, just comment out the code.
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3789 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3793 # First try GNU make style include.
3794 echo "include confinc" > confmf
3795 # Ignore all kinds of additional output from `make'.
3796 case `$am_make -s -f confmf 2> /dev/null` in #(
3797 *the\ am__doit\ target*)
3803 # Now try BSD make style include.
3804 if test "$am__include" = "#"; then
3805 echo '.include "confinc"' > confmf
3806 case `$am_make -s -f confmf 2> /dev/null` in #(
3807 *the\ am__doit\ target*)
3808 am__include=.include
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3817 $as_echo "$_am_result" >&6; }
3818 rm -f confinc confmf
3820 # Check whether --enable-dependency-tracking was given.
3821 if test "${enable_dependency_tracking+set}" = set; then :
3822 enableval=$enable_dependency_tracking;
3825 if test "x$enable_dependency_tracking" != xno; then
3826 am_depcomp="$ac_aux_dir/depcomp"
3830 if test "x$enable_dependency_tracking" != xno; then
3839 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3840 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3841 # is not polluted with repeated "-I."
3842 am__isrc=' -I$(srcdir)'
3843 # test to see if srcdir already configured
3844 if test -f $srcdir/config.status; then
3845 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3849 # test whether we have cygpath
3850 if test -z "$CYGPATH_W"; then
3851 if (cygpath --version) >/dev/null 2>/dev/null; then
3852 CYGPATH_W='cygpath -w'
3859 # Define the identity of the package.
3864 cat >>confdefs.h <<_ACEOF
3865 #define PACKAGE "$PACKAGE"
3869 cat >>confdefs.h <<_ACEOF
3870 #define VERSION "$VERSION"
3873 # Some tools Automake needs.
3875 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3878 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3881 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3884 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3887 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3889 # We need awk for the "check" target. The system "awk" is bad on
3891 # Always define AMTAR for backward compatibility. Yes, it's still used
3892 # in the wild :-( We should find a proper way to deprecate it ...
3895 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3900 depcc="$CC" am_compiler_list=
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3903 $as_echo_n "checking dependency style of $depcc... " >&6; }
3904 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3905 $as_echo_n "(cached) " >&6
3907 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3908 # We make a subdir and do the tests there. Otherwise we can end up
3909 # making bogus files that we don't know about and never remove. For
3910 # instance it was reported that on HP-UX the gcc test will end up
3911 # making a dummy file named `D' -- because `-MD' means `put the output
3915 # Copy depcomp to subdir because otherwise we won't find it if we're
3916 # using a relative directory.
3917 cp "$am_depcomp" conftest.dir
3919 # We will build objects and dependencies in a subdirectory because
3920 # it helps to detect inapplicable dependency modes. For instance
3921 # both Tru64's cc and ICC support -MD to output dependencies as a
3922 # side effect of compilation, but ICC will put the dependencies in
3923 # the current directory while Tru64 will put them in the object
3927 am_cv_CC_dependencies_compiler_type=none
3928 if test "$am_compiler_list" = ""; then
3929 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3932 case " $depcc " in #(
3933 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3936 for depmode in $am_compiler_list; do
3937 # Setup a source with many dependencies, because some compilers
3938 # like to wrap large dependency lists on column 80 (with \), and
3939 # we should not choose a depcomp mode which is confused by this.
3941 # We need to recreate these files for each test, as the compiler may
3942 # overwrite some of them when testing with obscure command lines.
3943 # This happens at least with the AIX C compiler.
3945 for i in 1 2 3 4 5 6; do
3946 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3947 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3948 # Solaris 8's {/usr,}/bin/sh.
3949 touch sub/conftst$i.h
3951 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3953 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3954 # mode. It turns out that the SunPro C++ compiler does not properly
3955 # handle `-M -o', and we need to detect this. Also, some Intel
3956 # versions had trouble with output in subdirs
3957 am__obj=sub/conftest.${OBJEXT-o}
3958 am__minus_obj="-o $am__obj"
3961 # This depmode causes a compiler race in universal mode.
3962 test "$am__universal" = false || continue
3965 # after this tag, mechanisms are not by side-effect, so they'll
3966 # only be used when explicitly requested
3967 if test "x$enable_dependency_tracking" = xyes; then
3973 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3974 # This compiler won't grok `-c -o', but also, the minuso test has
3975 # not run yet. These depmodes are late enough in the game, and
3976 # so weak that their functioning should not be impacted.
3977 am__obj=conftest.${OBJEXT-o}
3982 if depmode=$depmode \
3983 source=sub/conftest.c object=$am__obj \
3984 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3985 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3986 >/dev/null 2>conftest.err &&
3987 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3988 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3989 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3990 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3991 # icc doesn't choke on unknown options, it will just issue warnings
3992 # or remarks (even with -Werror). So we grep stderr for any message
3993 # that says an option was ignored or not supported.
3994 # When given -MP, icc 7.0 and 7.1 complain thusly:
3995 # icc: Command line warning: ignoring option '-M'; no argument required
3996 # The diagnosis changed in icc 8.0:
3997 # icc: Command line remark: option '-MP' not supported
3998 if (grep 'ignoring option' conftest.err ||
3999 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4000 am_cv_CC_dependencies_compiler_type=$depmode
4009 am_cv_CC_dependencies_compiler_type=none
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4014 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4015 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4018 test "x$enable_dependency_tracking" != xno \
4019 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4021 am__fastdepCC_FALSE='#'
4023 am__fastdepCC_TRUE='#'
4024 am__fastdepCC_FALSE=
4029 ac_config_headers="$ac_config_headers config.h"
4031 # Check whether --enable-silent-rules was given.
4032 if test "${enable_silent_rules+set}" = set; then :
4033 enableval=$enable_silent_rules;
4036 case $enable_silent_rules in
4037 yes) AM_DEFAULT_VERBOSITY=0;;
4038 no) AM_DEFAULT_VERBOSITY=1;;
4039 *) AM_DEFAULT_VERBOSITY=0;;
4041 am_make=${MAKE-make}
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4043 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4044 if ${am_cv_make_support_nested_variables+:} false; then :
4045 $as_echo_n "(cached) " >&6
4047 if $as_echo 'TRUE=$(BAR$(V))
4053 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4054 am_cv_make_support_nested_variables=yes
4056 am_cv_make_support_nested_variables=no
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4060 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4061 if test $am_cv_make_support_nested_variables = yes; then
4063 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4065 AM_V=$AM_DEFAULT_VERBOSITY
4066 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4071 enable_win32_dll=yes
4074 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4075 if test -n "$ac_tool_prefix"; then
4076 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4077 set dummy ${ac_tool_prefix}as; ac_word=$2
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4079 $as_echo_n "checking for $ac_word... " >&6; }
4080 if ${ac_cv_prog_AS+:} false; then :
4081 $as_echo_n "(cached) " >&6
4083 if test -n "$AS"; then
4084 ac_cv_prog_AS="$AS" # Let the user override the test.
4086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4090 test -z "$as_dir" && as_dir=.
4091 for ac_exec_ext in '' $ac_executable_extensions; do
4092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4093 ac_cv_prog_AS="${ac_tool_prefix}as"
4094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4104 if test -n "$AS"; then
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4106 $as_echo "$AS" >&6; }
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4109 $as_echo "no" >&6; }
4114 if test -z "$ac_cv_prog_AS"; then
4116 # Extract the first word of "as", so it can be a program name with args.
4117 set dummy as; ac_word=$2
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4119 $as_echo_n "checking for $ac_word... " >&6; }
4120 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4121 $as_echo_n "(cached) " >&6
4123 if test -n "$ac_ct_AS"; then
4124 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4130 test -z "$as_dir" && as_dir=.
4131 for ac_exec_ext in '' $ac_executable_extensions; do
4132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4133 ac_cv_prog_ac_ct_AS="as"
4134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4143 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4144 if test -n "$ac_ct_AS"; then
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4146 $as_echo "$ac_ct_AS" >&6; }
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4149 $as_echo "no" >&6; }
4152 if test "x$ac_ct_AS" = x; then
4155 case $cross_compiling:$ac_tool_warned in
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4158 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4159 ac_tool_warned=yes ;;
4167 if test -n "$ac_tool_prefix"; then
4168 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4169 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4171 $as_echo_n "checking for $ac_word... " >&6; }
4172 if ${ac_cv_prog_DLLTOOL+:} false; then :
4173 $as_echo_n "(cached) " >&6
4175 if test -n "$DLLTOOL"; then
4176 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4182 test -z "$as_dir" && as_dir=.
4183 for ac_exec_ext in '' $ac_executable_extensions; do
4184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4185 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4195 DLLTOOL=$ac_cv_prog_DLLTOOL
4196 if test -n "$DLLTOOL"; then
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4198 $as_echo "$DLLTOOL" >&6; }
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4201 $as_echo "no" >&6; }
4206 if test -z "$ac_cv_prog_DLLTOOL"; then
4207 ac_ct_DLLTOOL=$DLLTOOL
4208 # Extract the first word of "dlltool", so it can be a program name with args.
4209 set dummy dlltool; ac_word=$2
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4211 $as_echo_n "checking for $ac_word... " >&6; }
4212 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4213 $as_echo_n "(cached) " >&6
4215 if test -n "$ac_ct_DLLTOOL"; then
4216 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4222 test -z "$as_dir" && as_dir=.
4223 for ac_exec_ext in '' $ac_executable_extensions; do
4224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4225 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4235 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4236 if test -n "$ac_ct_DLLTOOL"; then
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4238 $as_echo "$ac_ct_DLLTOOL" >&6; }
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4241 $as_echo "no" >&6; }
4244 if test "x$ac_ct_DLLTOOL" = x; then
4247 case $cross_compiling:$ac_tool_warned in
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4251 ac_tool_warned=yes ;;
4253 DLLTOOL=$ac_ct_DLLTOOL
4256 DLLTOOL="$ac_cv_prog_DLLTOOL"
4259 if test -n "$ac_tool_prefix"; then
4260 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4261 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4263 $as_echo_n "checking for $ac_word... " >&6; }
4264 if ${ac_cv_prog_OBJDUMP+:} false; then :
4265 $as_echo_n "(cached) " >&6
4267 if test -n "$OBJDUMP"; then
4268 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4274 test -z "$as_dir" && as_dir=.
4275 for ac_exec_ext in '' $ac_executable_extensions; do
4276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4277 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4287 OBJDUMP=$ac_cv_prog_OBJDUMP
4288 if test -n "$OBJDUMP"; then
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4290 $as_echo "$OBJDUMP" >&6; }
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4293 $as_echo "no" >&6; }
4298 if test -z "$ac_cv_prog_OBJDUMP"; then
4299 ac_ct_OBJDUMP=$OBJDUMP
4300 # Extract the first word of "objdump", so it can be a program name with args.
4301 set dummy objdump; ac_word=$2
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4303 $as_echo_n "checking for $ac_word... " >&6; }
4304 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4305 $as_echo_n "(cached) " >&6
4307 if test -n "$ac_ct_OBJDUMP"; then
4308 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4314 test -z "$as_dir" && as_dir=.
4315 for ac_exec_ext in '' $ac_executable_extensions; do
4316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4317 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4327 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4328 if test -n "$ac_ct_OBJDUMP"; then
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4330 $as_echo "$ac_ct_OBJDUMP" >&6; }
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4333 $as_echo "no" >&6; }
4336 if test "x$ac_ct_OBJDUMP" = x; then
4339 case $cross_compiling:$ac_tool_warned in
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4343 ac_tool_warned=yes ;;
4345 OBJDUMP=$ac_ct_OBJDUMP
4348 OBJDUMP="$ac_cv_prog_OBJDUMP"
4354 test -z "$AS" && AS=as
4360 test -z "$DLLTOOL" && DLLTOOL=dlltool
4366 test -z "$OBJDUMP" && OBJDUMP=objdump
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4377 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4382 macro_version='2.4.2'
4383 macro_revision='1.3337'
4397 ltmain="$ac_aux_dir/ltmain.sh"
4399 # Backslashify metacharacters that are still active within
4400 # double-quoted strings.
4401 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4403 # Same as above, but do not quote variable references.
4404 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4406 # Sed substitution to delay expansion of an escaped shell variable in a
4407 # double_quote_subst'ed string.
4408 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4410 # Sed substitution to delay expansion of an escaped single quote.
4411 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4413 # Sed substitution to avoid accidental globbing in evaled expressions
4414 no_glob_subst='s/\*/\\\*/g'
4416 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4417 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4418 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4421 $as_echo_n "checking how to print strings... " >&6; }
4422 # Test print first, because it will be a builtin if present.
4423 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4424 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4426 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4429 # Use this function as a fallback that always works.
4430 func_fallback_echo ()
4432 eval 'cat <<_LTECHO_EOF
4436 ECHO='func_fallback_echo'
4439 # func_echo_all arg...
4440 # Invoke $ECHO with all args, space-separated.
4447 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4448 $as_echo "printf" >&6; } ;;
4449 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4450 $as_echo "print -r" >&6; } ;;
4451 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4452 $as_echo "cat" >&6; } ;;
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4469 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4470 if ${ac_cv_path_SED+:} false; then :
4471 $as_echo_n "(cached) " >&6
4473 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4474 for ac_i in 1 2 3 4 5 6 7; do
4475 ac_script="$ac_script$as_nl$ac_script"
4477 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4478 { ac_script=; unset ac_script;}
4479 if test -z "$SED"; then
4480 ac_path_SED_found=false
4481 # Loop through the user's path and test for each of PROGNAME-LIST
4482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4486 test -z "$as_dir" && as_dir=.
4487 for ac_prog in sed gsed; do
4488 for ac_exec_ext in '' $ac_executable_extensions; do
4489 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4490 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4491 # Check for GNU ac_path_SED and select it if it is found.
4492 # Check for GNU $ac_path_SED
4493 case `"$ac_path_SED" --version 2>&1` in
4495 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4498 $as_echo_n 0123456789 >"conftest.in"
4501 cat "conftest.in" "conftest.in" >"conftest.tmp"
4502 mv "conftest.tmp" "conftest.in"
4503 cp "conftest.in" "conftest.nl"
4504 $as_echo '' >> "conftest.nl"
4505 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4506 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4507 as_fn_arith $ac_count + 1 && ac_count=$as_val
4508 if test $ac_count -gt ${ac_path_SED_max-0}; then
4509 # Best one so far, save it but keep looking for a better one
4510 ac_cv_path_SED="$ac_path_SED"
4511 ac_path_SED_max=$ac_count
4513 # 10*(2^10) chars as input seems more than enough
4514 test $ac_count -gt 10 && break
4516 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4519 $ac_path_SED_found && break 3
4524 if test -z "$ac_cv_path_SED"; then
4525 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4533 $as_echo "$ac_cv_path_SED" >&6; }
4534 SED="$ac_cv_path_SED"
4537 test -z "$SED" && SED=sed
4538 Xsed="$SED -e 1s/^X//"
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4551 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4552 if ${ac_cv_path_GREP+:} false; then :
4553 $as_echo_n "(cached) " >&6
4555 if test -z "$GREP"; then
4556 ac_path_GREP_found=false
4557 # Loop through the user's path and test for each of PROGNAME-LIST
4558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4559 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4562 test -z "$as_dir" && as_dir=.
4563 for ac_prog in grep ggrep; do
4564 for ac_exec_ext in '' $ac_executable_extensions; do
4565 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4566 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4567 # Check for GNU ac_path_GREP and select it if it is found.
4568 # Check for GNU $ac_path_GREP
4569 case `"$ac_path_GREP" --version 2>&1` in
4571 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4574 $as_echo_n 0123456789 >"conftest.in"
4577 cat "conftest.in" "conftest.in" >"conftest.tmp"
4578 mv "conftest.tmp" "conftest.in"
4579 cp "conftest.in" "conftest.nl"
4580 $as_echo 'GREP' >> "conftest.nl"
4581 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4582 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4583 as_fn_arith $ac_count + 1 && ac_count=$as_val
4584 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4585 # Best one so far, save it but keep looking for a better one
4586 ac_cv_path_GREP="$ac_path_GREP"
4587 ac_path_GREP_max=$ac_count
4589 # 10*(2^10) chars as input seems more than enough
4590 test $ac_count -gt 10 && break
4592 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4595 $ac_path_GREP_found && break 3
4600 if test -z "$ac_cv_path_GREP"; then
4601 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4604 ac_cv_path_GREP=$GREP
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4609 $as_echo "$ac_cv_path_GREP" >&6; }
4610 GREP="$ac_cv_path_GREP"
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4614 $as_echo_n "checking for egrep... " >&6; }
4615 if ${ac_cv_path_EGREP+:} false; then :
4616 $as_echo_n "(cached) " >&6
4618 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4619 then ac_cv_path_EGREP="$GREP -E"
4621 if test -z "$EGREP"; then
4622 ac_path_EGREP_found=false
4623 # Loop through the user's path and test for each of PROGNAME-LIST
4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4628 test -z "$as_dir" && as_dir=.
4629 for ac_prog in egrep; do
4630 for ac_exec_ext in '' $ac_executable_extensions; do
4631 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4632 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4633 # Check for GNU ac_path_EGREP and select it if it is found.
4634 # Check for GNU $ac_path_EGREP
4635 case `"$ac_path_EGREP" --version 2>&1` in
4637 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4640 $as_echo_n 0123456789 >"conftest.in"
4643 cat "conftest.in" "conftest.in" >"conftest.tmp"
4644 mv "conftest.tmp" "conftest.in"
4645 cp "conftest.in" "conftest.nl"
4646 $as_echo 'EGREP' >> "conftest.nl"
4647 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4648 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4649 as_fn_arith $ac_count + 1 && ac_count=$as_val
4650 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4651 # Best one so far, save it but keep looking for a better one
4652 ac_cv_path_EGREP="$ac_path_EGREP"
4653 ac_path_EGREP_max=$ac_count
4655 # 10*(2^10) chars as input seems more than enough
4656 test $ac_count -gt 10 && break
4658 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4661 $ac_path_EGREP_found && break 3
4666 if test -z "$ac_cv_path_EGREP"; then
4667 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4670 ac_cv_path_EGREP=$EGREP
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4676 $as_echo "$ac_cv_path_EGREP" >&6; }
4677 EGREP="$ac_cv_path_EGREP"
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4681 $as_echo_n "checking for fgrep... " >&6; }
4682 if ${ac_cv_path_FGREP+:} false; then :
4683 $as_echo_n "(cached) " >&6
4685 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4686 then ac_cv_path_FGREP="$GREP -F"
4688 if test -z "$FGREP"; then
4689 ac_path_FGREP_found=false
4690 # Loop through the user's path and test for each of PROGNAME-LIST
4691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4692 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4695 test -z "$as_dir" && as_dir=.
4696 for ac_prog in fgrep; do
4697 for ac_exec_ext in '' $ac_executable_extensions; do
4698 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4699 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4700 # Check for GNU ac_path_FGREP and select it if it is found.
4701 # Check for GNU $ac_path_FGREP
4702 case `"$ac_path_FGREP" --version 2>&1` in
4704 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4707 $as_echo_n 0123456789 >"conftest.in"
4710 cat "conftest.in" "conftest.in" >"conftest.tmp"
4711 mv "conftest.tmp" "conftest.in"
4712 cp "conftest.in" "conftest.nl"
4713 $as_echo 'FGREP' >> "conftest.nl"
4714 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4715 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4716 as_fn_arith $ac_count + 1 && ac_count=$as_val
4717 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4718 # Best one so far, save it but keep looking for a better one
4719 ac_cv_path_FGREP="$ac_path_FGREP"
4720 ac_path_FGREP_max=$ac_count
4722 # 10*(2^10) chars as input seems more than enough
4723 test $ac_count -gt 10 && break
4725 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4728 $ac_path_FGREP_found && break 3
4733 if test -z "$ac_cv_path_FGREP"; then
4734 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4737 ac_cv_path_FGREP=$FGREP
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4743 $as_echo "$ac_cv_path_FGREP" >&6; }
4744 FGREP="$ac_cv_path_FGREP"
4747 test -z "$GREP" && GREP=grep
4767 # Check whether --with-gnu-ld was given.
4768 if test "${with_gnu_ld+set}" = set; then :
4769 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4775 if test "$GCC" = yes; then
4776 # Check if gcc -print-prog-name=ld gives a path.
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4778 $as_echo_n "checking for ld used by $CC... " >&6; }
4781 # gcc leaves a trailing carriage return which upsets mingw
4782 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4784 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4787 # Accept absolute paths.
4789 re_direlt='/[^/][^/]*/\.\./'
4790 # Canonicalize the pathname of ld
4791 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4792 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4793 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4795 test -z "$LD" && LD="$ac_prog"
4798 # If it fails, then pretend we aren't using GCC.
4802 # If it is relative, then search for the first ld in PATH.
4806 elif test "$with_gnu_ld" = yes; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4808 $as_echo_n "checking for GNU ld... " >&6; }
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4811 $as_echo_n "checking for non-GNU ld... " >&6; }
4813 if ${lt_cv_path_LD+:} false; then :
4814 $as_echo_n "(cached) " >&6
4816 if test -z "$LD"; then
4817 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4818 for ac_dir in $PATH; do
4820 test -z "$ac_dir" && ac_dir=.
4821 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4822 lt_cv_path_LD="$ac_dir/$ac_prog"
4823 # Check to see if the program is GNU ld. I'd rather use --version,
4824 # but apparently some variants of GNU ld only accept -v.
4825 # Break only if it was the GNU/non-GNU ld that we prefer.
4826 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4827 *GNU* | *'with BFD'*)
4828 test "$with_gnu_ld" != no && break
4831 test "$with_gnu_ld" != yes && break
4838 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4843 if test -n "$LD"; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4845 $as_echo "$LD" >&6; }
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4848 $as_echo "no" >&6; }
4850 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4852 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4853 if ${lt_cv_prog_gnu_ld+:} false; then :
4854 $as_echo_n "(cached) " >&6
4856 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4857 case `$LD -v 2>&1 </dev/null` in
4858 *GNU* | *'with BFD'*)
4859 lt_cv_prog_gnu_ld=yes
4862 lt_cv_prog_gnu_ld=no
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4867 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4868 with_gnu_ld=$lt_cv_prog_gnu_ld
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4879 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4880 if ${lt_cv_path_NM+:} false; then :
4881 $as_echo_n "(cached) " >&6
4883 if test -n "$NM"; then
4884 # Let the user override the test.
4887 lt_nm_to_check="${ac_tool_prefix}nm"
4888 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4889 lt_nm_to_check="$lt_nm_to_check nm"
4891 for lt_tmp_nm in $lt_nm_to_check; do
4892 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4893 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4895 test -z "$ac_dir" && ac_dir=.
4896 tmp_nm="$ac_dir/$lt_tmp_nm"
4897 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4898 # Check to see if the nm accepts a BSD-compat flag.
4899 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4900 # nm: unknown option "B" ignored
4901 # Tru64's nm complains that /dev/null is an invalid object file
4902 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4903 */dev/null* | *'Invalid file or object type'*)
4904 lt_cv_path_NM="$tmp_nm -B"
4908 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4910 lt_cv_path_NM="$tmp_nm -p"
4914 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4915 continue # so that we can try to find one that supports BSD flags
4924 : ${lt_cv_path_NM=no}
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4928 $as_echo "$lt_cv_path_NM" >&6; }
4929 if test "$lt_cv_path_NM" != "no"; then
4932 # Didn't find any BSD compatible name lister, look for dumpbin.
4933 if test -n "$DUMPBIN"; then :
4934 # Let the user override the test.
4936 if test -n "$ac_tool_prefix"; then
4937 for ac_prog in dumpbin "link -dump"
4939 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4940 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4942 $as_echo_n "checking for $ac_word... " >&6; }
4943 if ${ac_cv_prog_DUMPBIN+:} false; then :
4944 $as_echo_n "(cached) " >&6
4946 if test -n "$DUMPBIN"; then
4947 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4953 test -z "$as_dir" && as_dir=.
4954 for ac_exec_ext in '' $ac_executable_extensions; do
4955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4956 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4966 DUMPBIN=$ac_cv_prog_DUMPBIN
4967 if test -n "$DUMPBIN"; then
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4969 $as_echo "$DUMPBIN" >&6; }
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4972 $as_echo "no" >&6; }
4976 test -n "$DUMPBIN" && break
4979 if test -z "$DUMPBIN"; then
4980 ac_ct_DUMPBIN=$DUMPBIN
4981 for ac_prog in dumpbin "link -dump"
4983 # Extract the first word of "$ac_prog", so it can be a program name with args.
4984 set dummy $ac_prog; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4988 $as_echo_n "(cached) " >&6
4990 if test -n "$ac_ct_DUMPBIN"; then
4991 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5010 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5011 if test -n "$ac_ct_DUMPBIN"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5013 $as_echo "$ac_ct_DUMPBIN" >&6; }
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5020 test -n "$ac_ct_DUMPBIN" && break
5023 if test "x$ac_ct_DUMPBIN" = x; then
5026 case $cross_compiling:$ac_tool_warned in
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5030 ac_tool_warned=yes ;;
5032 DUMPBIN=$ac_ct_DUMPBIN
5036 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5038 DUMPBIN="$DUMPBIN -symbols"
5046 if test "$DUMPBIN" != ":"; then
5050 test -z "$NM" && NM=nm
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5058 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5059 if ${lt_cv_nm_interface+:} false; then :
5060 $as_echo_n "(cached) " >&6
5062 lt_cv_nm_interface="BSD nm"
5063 echo "int some_variable = 0;" > conftest.$ac_ext
5064 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5065 (eval "$ac_compile" 2>conftest.err)
5066 cat conftest.err >&5
5067 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5068 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5069 cat conftest.err >&5
5070 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5071 cat conftest.out >&5
5072 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5073 lt_cv_nm_interface="MS dumpbin"
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5078 $as_echo "$lt_cv_nm_interface" >&6; }
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5081 $as_echo_n "checking whether ln -s works... " >&6; }
5083 if test "$LN_S" = "ln -s"; then
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5085 $as_echo "yes" >&6; }
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5088 $as_echo "no, using $LN_S" >&6; }
5091 # find the maximum length of command line arguments
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5093 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5094 if ${lt_cv_sys_max_cmd_len+:} false; then :
5095 $as_echo_n "(cached) " >&6
5102 # On DJGPP, this test can blow up pretty badly due to problems in libc
5103 # (any single argument exceeding 2000 bytes causes a buffer overrun
5104 # during glob expansion). Even if it were fixed, the result of this
5105 # check would be larger than it should be.
5106 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5110 # Under GNU Hurd, this test is not required because there is
5111 # no limit to the length of command line arguments.
5112 # Libtool will interpret -1 as no limit whatsoever
5113 lt_cv_sys_max_cmd_len=-1;
5116 cygwin* | mingw* | cegcc*)
5117 # On Win9x/ME, this test blows up -- it succeeds, but takes
5118 # about 5 minutes as the teststring grows exponentially.
5119 # Worse, since 9x/ME are not pre-emptively multitasking,
5120 # you end up with a "frozen" computer, even though with patience
5121 # the test eventually succeeds (with a max line length of 256k).
5122 # Instead, let's just punt: use the minimum linelength reported by
5123 # all of the supported platforms: 8192 (on NT/2K/XP).
5124 lt_cv_sys_max_cmd_len=8192;
5128 # On MiNT this can take a long time and run out of memory.
5129 lt_cv_sys_max_cmd_len=8192;
5133 # On AmigaOS with pdksh, this test takes hours, literally.
5134 # So we just punt and use a minimum line length of 8192.
5135 lt_cv_sys_max_cmd_len=8192;
5138 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5139 # This has been around since 386BSD, at least. Likely further.
5140 if test -x /sbin/sysctl; then
5141 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5142 elif test -x /usr/sbin/sysctl; then
5143 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5145 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5147 # And add a safety zone
5148 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5149 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5153 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5154 lt_cv_sys_max_cmd_len=196608
5158 # The test takes a long time on OS/2.
5159 lt_cv_sys_max_cmd_len=8192
5163 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5164 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5165 # nice to cause kernel panics so lets avoid the loop below.
5166 # First set a reasonable default.
5167 lt_cv_sys_max_cmd_len=16384
5169 if test -x /sbin/sysconfig; then
5170 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5171 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5176 lt_cv_sys_max_cmd_len=102400
5178 sysv5* | sco5v6* | sysv4.2uw2*)
5179 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5180 if test -n "$kargmax"; then
5181 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5183 lt_cv_sys_max_cmd_len=32768
5187 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5188 if test -n "$lt_cv_sys_max_cmd_len"; then
5189 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5190 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5192 # Make teststring a little bigger before we do anything with it.
5193 # a 1K string should be a reasonable start.
5194 for i in 1 2 3 4 5 6 7 8 ; do
5195 teststring=$teststring$teststring
5197 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5198 # If test is not a shell built-in, we'll probably end up computing a
5199 # maximum length that is only half of the actual maximum length, but
5201 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5202 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5203 test $i != 17 # 1/2 MB should be enough
5206 teststring=$teststring$teststring
5208 # Only check the string length outside the loop.
5209 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5211 # Add a significant safety factor because C++ compilers can tack on
5212 # massive amounts of additional arguments before passing them to the
5213 # linker. It appears as though 1/2 is a usable value.
5214 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5221 if test -n $lt_cv_sys_max_cmd_len ; then
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5223 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5226 $as_echo "none" >&6; }
5228 max_cmd_len=$lt_cv_sys_max_cmd_len
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5240 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5241 # Try some XSI features
5244 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5246 && eval 'test $(( 1 + 1 )) -eq 2 \
5247 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5250 $as_echo "$xsi_shell" >&6; }
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5254 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5256 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5258 && lt_shell_append=yes
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5260 $as_echo "$lt_shell_append" >&6; }
5263 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5273 # test EBCDIC or ASCII
5274 case `echo X|tr X '\101'` in
5275 A) # ASCII based system
5276 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5277 lt_SP2NL='tr \040 \012'
5278 lt_NL2SP='tr \015\012 \040\040'
5280 *) # EBCDIC based system
5281 lt_SP2NL='tr \100 \n'
5282 lt_NL2SP='tr \r\n \100\100'
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5295 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5296 if ${lt_cv_to_host_file_cmd+:} false; then :
5297 $as_echo_n "(cached) " >&6
5302 *-*-mingw* ) # actually msys
5303 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5306 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5308 * ) # otherwise, assume *nix
5309 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5315 *-*-mingw* ) # actually msys
5316 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5319 lt_cv_to_host_file_cmd=func_convert_file_noop
5321 * ) # otherwise, assume *nix
5322 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5326 * ) # unhandled hosts (and "normal" native builds)
5327 lt_cv_to_host_file_cmd=func_convert_file_noop
5333 to_host_file_cmd=$lt_cv_to_host_file_cmd
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5335 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5342 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5343 if ${lt_cv_to_tool_file_cmd+:} false; then :
5344 $as_echo_n "(cached) " >&6
5346 #assume ordinary cross tools, or native build.
5347 lt_cv_to_tool_file_cmd=func_convert_file_noop
5351 *-*-mingw* ) # actually msys
5352 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5360 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5362 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5369 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5370 if ${lt_cv_ld_reload_flag+:} false; then :
5371 $as_echo_n "(cached) " >&6
5373 lt_cv_ld_reload_flag='-r'
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5376 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5377 reload_flag=$lt_cv_ld_reload_flag
5378 case $reload_flag in
5380 *) reload_flag=" $reload_flag" ;;
5382 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5384 cygwin* | mingw* | pw32* | cegcc*)
5385 if test "$GCC" != yes; then
5390 if test "$GCC" = yes; then
5391 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5393 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5406 if test -n "$ac_tool_prefix"; then
5407 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5408 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5410 $as_echo_n "checking for $ac_word... " >&6; }
5411 if ${ac_cv_prog_OBJDUMP+:} false; then :
5412 $as_echo_n "(cached) " >&6
5414 if test -n "$OBJDUMP"; then
5415 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5421 test -z "$as_dir" && as_dir=.
5422 for ac_exec_ext in '' $ac_executable_extensions; do
5423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5424 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5434 OBJDUMP=$ac_cv_prog_OBJDUMP
5435 if test -n "$OBJDUMP"; then
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5437 $as_echo "$OBJDUMP" >&6; }
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5440 $as_echo "no" >&6; }
5445 if test -z "$ac_cv_prog_OBJDUMP"; then
5446 ac_ct_OBJDUMP=$OBJDUMP
5447 # Extract the first word of "objdump", so it can be a program name with args.
5448 set dummy objdump; ac_word=$2
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5450 $as_echo_n "checking for $ac_word... " >&6; }
5451 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5452 $as_echo_n "(cached) " >&6
5454 if test -n "$ac_ct_OBJDUMP"; then
5455 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5461 test -z "$as_dir" && as_dir=.
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5464 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5475 if test -n "$ac_ct_OBJDUMP"; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5477 $as_echo "$ac_ct_OBJDUMP" >&6; }
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5483 if test "x$ac_ct_OBJDUMP" = x; then
5486 case $cross_compiling:$ac_tool_warned in
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5490 ac_tool_warned=yes ;;
5492 OBJDUMP=$ac_ct_OBJDUMP
5495 OBJDUMP="$ac_cv_prog_OBJDUMP"
5498 test -z "$OBJDUMP" && OBJDUMP=objdump
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5506 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5507 if ${lt_cv_deplibs_check_method+:} false; then :
5508 $as_echo_n "(cached) " >&6
5510 lt_cv_file_magic_cmd='$MAGIC_CMD'
5511 lt_cv_file_magic_test_file=
5512 lt_cv_deplibs_check_method='unknown'
5513 # Need to set the preceding variable on all platforms that support
5514 # interlibrary dependencies.
5515 # 'none' -- dependencies not supported.
5516 # `unknown' -- same as none, but documents that we really don't know.
5517 # 'pass_all' -- all dependencies passed with no checks.
5518 # 'test_compile' -- check by making test program.
5519 # 'file_magic [[regex]]' -- check by looking for files in library path
5520 # which responds to the $file_magic_cmd with a given extended regex.
5521 # If you have `file' or equivalent on your system and you're not sure
5522 # whether `pass_all' will *always* work, you probably want this one.
5526 lt_cv_deplibs_check_method=pass_all
5530 lt_cv_deplibs_check_method=pass_all
5534 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5535 lt_cv_file_magic_cmd='/usr/bin/file -L'
5536 lt_cv_file_magic_test_file=/shlib/libc.so
5540 # func_win32_libid is a shell function defined in ltmain.sh
5541 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5542 lt_cv_file_magic_cmd='func_win32_libid'
5546 # Base MSYS/MinGW do not provide the 'file' command needed by
5547 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5548 # unless we find 'file', for example because we are cross-compiling.
5549 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5550 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5551 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5552 lt_cv_file_magic_cmd='func_win32_libid'
5554 # Keep this pattern in sync with the one in func_win32_libid.
5555 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5556 lt_cv_file_magic_cmd='$OBJDUMP -f'
5561 # use the weaker test based on 'objdump'. See mingw*.
5562 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5563 lt_cv_file_magic_cmd='$OBJDUMP -f'
5566 darwin* | rhapsody*)
5567 lt_cv_deplibs_check_method=pass_all
5570 freebsd* | dragonfly*)
5571 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5574 # Not sure whether the presence of OpenBSD here was a mistake.
5575 # Let's accept both of them until this is cleared up.
5576 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5577 lt_cv_file_magic_cmd=/usr/bin/file
5578 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5582 lt_cv_deplibs_check_method=pass_all
5587 lt_cv_deplibs_check_method=pass_all
5591 lt_cv_deplibs_check_method=pass_all
5594 hpux10.20* | hpux11*)
5595 lt_cv_file_magic_cmd=/usr/bin/file
5598 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5599 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5602 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5603 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5606 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5607 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5613 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5614 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5617 irix5* | irix6* | nonstopux*)
5619 *-32|*"-32 ") libmagic=32-bit;;
5620 *-n32|*"-n32 ") libmagic=N32;;
5621 *-64|*"-64 ") libmagic=64-bit;;
5622 *) libmagic=never-match;;
5624 lt_cv_deplibs_check_method=pass_all
5627 # This must be glibc/ELF.
5628 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5629 lt_cv_deplibs_check_method=pass_all
5632 netbsd* | netbsdelf*-gnu)
5633 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5634 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5636 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5641 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5642 lt_cv_file_magic_cmd=/usr/bin/file
5643 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5647 lt_cv_deplibs_check_method=pass_all
5651 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5652 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5654 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5658 osf3* | osf4* | osf5*)
5659 lt_cv_deplibs_check_method=pass_all
5663 lt_cv_deplibs_check_method=pass_all
5667 lt_cv_deplibs_check_method=pass_all
5670 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5671 lt_cv_deplibs_check_method=pass_all
5675 case $host_vendor in
5677 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]'
5678 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5681 lt_cv_deplibs_check_method=pass_all
5684 lt_cv_file_magic_cmd='/bin/file'
5685 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5688 lt_cv_file_magic_cmd='/bin/file'
5689 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5690 lt_cv_file_magic_test_file=/lib/libc.so
5693 lt_cv_deplibs_check_method=pass_all
5696 lt_cv_deplibs_check_method=pass_all
5702 lt_cv_deplibs_check_method=pass_all
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5708 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5712 if test "$build" = "$host"; then
5715 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5718 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5724 file_magic_cmd=$lt_cv_file_magic_cmd
5725 deplibs_check_method=$lt_cv_deplibs_check_method
5726 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5749 if test -n "$ac_tool_prefix"; then
5750 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5751 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5753 $as_echo_n "checking for $ac_word... " >&6; }
5754 if ${ac_cv_prog_DLLTOOL+:} false; then :
5755 $as_echo_n "(cached) " >&6
5757 if test -n "$DLLTOOL"; then
5758 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764 test -z "$as_dir" && as_dir=.
5765 for ac_exec_ext in '' $ac_executable_extensions; do
5766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5767 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5777 DLLTOOL=$ac_cv_prog_DLLTOOL
5778 if test -n "$DLLTOOL"; then
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5780 $as_echo "$DLLTOOL" >&6; }
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5783 $as_echo "no" >&6; }
5788 if test -z "$ac_cv_prog_DLLTOOL"; then
5789 ac_ct_DLLTOOL=$DLLTOOL
5790 # Extract the first word of "dlltool", so it can be a program name with args.
5791 set dummy dlltool; ac_word=$2
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5793 $as_echo_n "checking for $ac_word... " >&6; }
5794 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5795 $as_echo_n "(cached) " >&6
5797 if test -n "$ac_ct_DLLTOOL"; then
5798 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5804 test -z "$as_dir" && as_dir=.
5805 for ac_exec_ext in '' $ac_executable_extensions; do
5806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5807 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5817 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5818 if test -n "$ac_ct_DLLTOOL"; then
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5820 $as_echo "$ac_ct_DLLTOOL" >&6; }
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823 $as_echo "no" >&6; }
5826 if test "x$ac_ct_DLLTOOL" = x; then
5829 case $cross_compiling:$ac_tool_warned in
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5833 ac_tool_warned=yes ;;
5835 DLLTOOL=$ac_ct_DLLTOOL
5838 DLLTOOL="$ac_cv_prog_DLLTOOL"
5841 test -z "$DLLTOOL" && DLLTOOL=dlltool
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5850 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5851 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5852 $as_echo_n "(cached) " >&6
5854 lt_cv_sharedlib_from_linklib_cmd='unknown'
5857 cygwin* | mingw* | pw32* | cegcc*)
5858 # two different shell functions defined in ltmain.sh
5859 # decide which to use based on capabilities of $DLLTOOL
5860 case `$DLLTOOL --help 2>&1` in
5861 *--identify-strict*)
5862 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5865 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5870 # fallback: assume linklib IS sharedlib
5871 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5877 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5878 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5879 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5887 if test -n "$ac_tool_prefix"; then
5890 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5891 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5893 $as_echo_n "checking for $ac_word... " >&6; }
5894 if ${ac_cv_prog_AR+:} false; then :
5895 $as_echo_n "(cached) " >&6
5897 if test -n "$AR"; then
5898 ac_cv_prog_AR="$AR" # Let the user override the test.
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5907 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 if test -n "$AR"; then
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5920 $as_echo "$AR" >&6; }
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5923 $as_echo "no" >&6; }
5927 test -n "$AR" && break
5930 if test -z "$AR"; then
5934 # Extract the first word of "$ac_prog", so it can be a program name with args.
5935 set dummy $ac_prog; ac_word=$2
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937 $as_echo_n "checking for $ac_word... " >&6; }
5938 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5939 $as_echo_n "(cached) " >&6
5941 if test -n "$ac_ct_AR"; then
5942 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948 test -z "$as_dir" && as_dir=.
5949 for ac_exec_ext in '' $ac_executable_extensions; do
5950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5951 ac_cv_prog_ac_ct_AR="$ac_prog"
5952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5961 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5962 if test -n "$ac_ct_AR"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5964 $as_echo "$ac_ct_AR" >&6; }
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967 $as_echo "no" >&6; }
5971 test -n "$ac_ct_AR" && break
5974 if test "x$ac_ct_AR" = x; then
5977 case $cross_compiling:$ac_tool_warned in
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5981 ac_tool_warned=yes ;;
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6001 $as_echo_n "checking for archiver @FILE support... " >&6; }
6002 if ${lt_cv_ar_at_file+:} false; then :
6003 $as_echo_n "(cached) " >&6
6006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6007 /* end confdefs.h. */
6017 if ac_fn_c_try_compile "$LINENO"; then :
6018 echo conftest.$ac_objext > conftest.lst
6019 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6020 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6021 (eval $lt_ar_try) 2>&5
6023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6024 test $ac_status = 0; }
6025 if test "$ac_status" -eq 0; then
6026 # Ensure the archiver fails upon bogus file names.
6027 rm -f conftest.$ac_objext libconftest.a
6028 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6029 (eval $lt_ar_try) 2>&5
6031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6032 test $ac_status = 0; }
6033 if test "$ac_status" -ne 0; then
6037 rm -f conftest.* libconftest.a
6040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6044 $as_echo "$lt_cv_ar_at_file" >&6; }
6046 if test "x$lt_cv_ar_at_file" = xno; then
6049 archiver_list_spec=$lt_cv_ar_at_file
6058 if test -n "$ac_tool_prefix"; then
6059 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6060 set dummy ${ac_tool_prefix}strip; ac_word=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 $as_echo_n "checking for $ac_word... " >&6; }
6063 if ${ac_cv_prog_STRIP+:} false; then :
6064 $as_echo_n "(cached) " >&6
6066 if test -n "$STRIP"; then
6067 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073 test -z "$as_dir" && as_dir=.
6074 for ac_exec_ext in '' $ac_executable_extensions; do
6075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6076 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6086 STRIP=$ac_cv_prog_STRIP
6087 if test -n "$STRIP"; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6089 $as_echo "$STRIP" >&6; }
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6097 if test -z "$ac_cv_prog_STRIP"; then
6099 # Extract the first word of "strip", so it can be a program name with args.
6100 set dummy strip; ac_word=$2
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102 $as_echo_n "checking for $ac_word... " >&6; }
6103 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6104 $as_echo_n "(cached) " >&6
6106 if test -n "$ac_ct_STRIP"; then
6107 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6113 test -z "$as_dir" && as_dir=.
6114 for ac_exec_ext in '' $ac_executable_extensions; do
6115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6116 ac_cv_prog_ac_ct_STRIP="strip"
6117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6127 if test -n "$ac_ct_STRIP"; then
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6129 $as_echo "$ac_ct_STRIP" >&6; }
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 $as_echo "no" >&6; }
6135 if test "x$ac_ct_STRIP" = x; then
6138 case $cross_compiling:$ac_tool_warned in
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6142 ac_tool_warned=yes ;;
6147 STRIP="$ac_cv_prog_STRIP"
6150 test -z "$STRIP" && STRIP=:
6157 if test -n "$ac_tool_prefix"; then
6158 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6159 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6161 $as_echo_n "checking for $ac_word... " >&6; }
6162 if ${ac_cv_prog_RANLIB+:} false; then :
6163 $as_echo_n "(cached) " >&6
6165 if test -n "$RANLIB"; then
6166 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6172 test -z "$as_dir" && as_dir=.
6173 for ac_exec_ext in '' $ac_executable_extensions; do
6174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6175 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6185 RANLIB=$ac_cv_prog_RANLIB
6186 if test -n "$RANLIB"; then
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6188 $as_echo "$RANLIB" >&6; }
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6191 $as_echo "no" >&6; }
6196 if test -z "$ac_cv_prog_RANLIB"; then
6197 ac_ct_RANLIB=$RANLIB
6198 # Extract the first word of "ranlib", so it can be a program name with args.
6199 set dummy ranlib; ac_word=$2
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6201 $as_echo_n "checking for $ac_word... " >&6; }
6202 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6203 $as_echo_n "(cached) " >&6
6205 if test -n "$ac_ct_RANLIB"; then
6206 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6212 test -z "$as_dir" && as_dir=.
6213 for ac_exec_ext in '' $ac_executable_extensions; do
6214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6215 ac_cv_prog_ac_ct_RANLIB="ranlib"
6216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6225 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6226 if test -n "$ac_ct_RANLIB"; then
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6228 $as_echo "$ac_ct_RANLIB" >&6; }
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6231 $as_echo "no" >&6; }
6234 if test "x$ac_ct_RANLIB" = x; then
6237 case $cross_compiling:$ac_tool_warned in
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6241 ac_tool_warned=yes ;;
6243 RANLIB=$ac_ct_RANLIB
6246 RANLIB="$ac_cv_prog_RANLIB"
6249 test -z "$RANLIB" && RANLIB=:
6256 # Determine commands to create old-style static archives.
6257 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6258 old_postinstall_cmds='chmod 644 $oldlib'
6259 old_postuninstall_cmds=
6261 if test -n "$RANLIB"; then
6264 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6267 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6270 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6275 lock_old_archive_extraction=yes ;;
6277 lock_old_archive_extraction=no ;;
6318 # If no C compiler was specified, use CC.
6321 # If no C compiler flags were specified, use CFLAGS.
6322 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6324 # Allow CC to be a program name with arguments.
6328 # Check for command to grab the raw symbol name followed by C symbol from nm.
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6330 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6331 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6332 $as_echo_n "(cached) " >&6
6335 # These are sane defaults that work on at least a few old systems.
6336 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6338 # Character class describing NM global symbol codes.
6339 symcode='[BCDEGRST]'
6341 # Regexp to match symbols that can be accessed directly from C.
6342 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6344 # Define system-specific variables.
6349 cygwin* | mingw* | pw32* | cegcc*)
6350 symcode='[ABCDGISTW]'
6353 if test "$host_cpu" = ia64; then
6354 symcode='[ABCDEGRST]'
6358 symcode='[BCDEGRST]'
6361 symcode='[BCDEGQRST]'
6372 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6380 # If we're using GNU nm, then use its standard symbol codes.
6381 case `$NM -V 2>&1` in
6382 *GNU* | *'with BFD'*)
6383 symcode='[ABCDGIRSTW]' ;;
6386 # Transform an extracted symbol line into a proper C declaration.
6387 # Some systems (esp. on ia64) link data and code symbols differently,
6388 # so use this general approach.
6389 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6391 # Transform an extracted symbol line into symbol name and symbol address
6392 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6393 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'"
6395 # Handle CRLF in mingw tool chain
6399 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6403 # Try without a prefix underscore, then with it.
6404 for ac_symprfx in "" "_"; do
6406 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6407 symxfrm="\\1 $ac_symprfx\\2 \\2"
6409 # Write the raw and C identifiers.
6410 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6411 # Fake it for dumpbin and say T for any non-static function
6412 # and D for any global variable.
6413 # Also find C++ and __fastcall symbols from MSVC++,
6414 # which start with @ or ?.
6415 lt_cv_sys_global_symbol_pipe="$AWK '"\
6416 " {last_section=section; section=\$ 3};"\
6417 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6418 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6419 " \$ 0!~/External *\|/{next};"\
6420 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6421 " {if(hide[section]) next};"\
6422 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6423 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6424 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6425 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6426 " ' prfx=^$ac_symprfx"
6428 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6430 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6432 # Check to see that the pipe works correctly.
6436 cat > conftest.$ac_ext <<_LT_EOF
6441 void nm_test_func(void);
6442 void nm_test_func(void){}
6446 int main(){nm_test_var='a';nm_test_func();return(0);}
6449 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6450 (eval $ac_compile) 2>&5
6452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6453 test $ac_status = 0; }; then
6454 # Now try to grab the symbols.
6456 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6457 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6460 test $ac_status = 0; } && test -s "$nlist"; then
6461 # Try sorting and uniquifying the output.
6462 if sort "$nlist" | uniq > "$nlist"T; then
6463 mv -f "$nlist"T "$nlist"
6468 # Make sure that we snagged all the symbols we need.
6469 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6470 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6471 cat <<_LT_EOF > conftest.$ac_ext
6472 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6473 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6474 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6475 relocations are performed -- see ld's documentation on pseudo-relocs. */
6476 # define LT_DLSYM_CONST
6477 #elif defined(__osf__)
6478 /* This system does not cope well with relocations in const data. */
6479 # define LT_DLSYM_CONST
6481 # define LT_DLSYM_CONST const
6489 # Now generate the symbol file.
6490 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6492 cat <<_LT_EOF >> conftest.$ac_ext
6494 /* The mapping between symbol names and symbols. */
6495 LT_DLSYM_CONST struct {
6499 lt__PROGRAM__LTX_preloaded_symbols[] =
6501 { "@PROGRAM@", (void *) 0 },
6503 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6504 cat <<\_LT_EOF >> conftest.$ac_ext
6508 /* This works around a problem in FreeBSD linker */
6509 #ifdef FREEBSD_WORKAROUND
6510 static const void *lt_preloaded_setup() {
6511 return lt__PROGRAM__LTX_preloaded_symbols;
6519 # Now try linking the two files.
6520 mv conftest.$ac_objext conftstm.$ac_objext
6521 lt_globsym_save_LIBS=$LIBS
6522 lt_globsym_save_CFLAGS=$CFLAGS
6523 LIBS="conftstm.$ac_objext"
6524 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6525 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6526 (eval $ac_link) 2>&5
6528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6529 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6532 LIBS=$lt_globsym_save_LIBS
6533 CFLAGS=$lt_globsym_save_CFLAGS
6535 echo "cannot find nm_test_func in $nlist" >&5
6538 echo "cannot find nm_test_var in $nlist" >&5
6541 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6544 echo "$progname: failed program was:" >&5
6545 cat conftest.$ac_ext >&5
6547 rm -rf conftest* conftst*
6549 # Do not use the global_symbol_pipe unless it works.
6550 if test "$pipe_works" = yes; then
6553 lt_cv_sys_global_symbol_pipe=
6559 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6560 lt_cv_sys_global_symbol_to_cdecl=
6562 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6564 $as_echo "failed" >&6; }
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6567 $as_echo "ok" >&6; }
6570 # Response file support.
6571 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6572 nm_file_list_spec='@'
6573 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6574 nm_file_list_spec='@'
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6604 $as_echo_n "checking for sysroot... " >&6; }
6606 # Check whether --with-sysroot was given.
6607 if test "${with_sysroot+set}" = set; then :
6608 withval=$with_sysroot;
6615 case ${with_sysroot} in #(
6617 if test "$GCC" = yes; then
6618 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6622 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6628 $as_echo "${with_sysroot}" >&6; }
6629 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6634 $as_echo "${lt_sysroot:-no}" >&6; }
6640 # Check whether --enable-libtool-lock was given.
6641 if test "${enable_libtool_lock+set}" = set; then :
6642 enableval=$enable_libtool_lock;
6645 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6647 # Some flags need to be propagated to the compiler or linker for good
6651 # Find out which ABI we are using.
6652 echo 'int i;' > conftest.$ac_ext
6653 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6654 (eval $ac_compile) 2>&5
6656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6657 test $ac_status = 0; }; then
6658 case `/usr/bin/file conftest.$ac_objext` in
6670 # Find out which ABI we are using.
6671 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6672 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6673 (eval $ac_compile) 2>&5
6675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6676 test $ac_status = 0; }; then
6677 if test "$lt_cv_prog_gnu_ld" = yes; then
6678 case `/usr/bin/file conftest.$ac_objext` in
6680 LD="${LD-ld} -melf32bsmip"
6683 LD="${LD-ld} -melf32bmipn32"
6686 LD="${LD-ld} -melf64bmip"
6690 case `/usr/bin/file conftest.$ac_objext` in
6706 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6707 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6708 # Find out which ABI we are using.
6709 echo 'int i;' > conftest.$ac_ext
6710 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6711 (eval $ac_compile) 2>&5
6713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6714 test $ac_status = 0; }; then
6715 case `/usr/bin/file conftest.o` in
6718 x86_64-*kfreebsd*-gnu)
6719 LD="${LD-ld} -m elf_i386_fbsd"
6722 LD="${LD-ld} -m elf_i386"
6724 ppc64-*linux*|powerpc64-*linux*)
6725 LD="${LD-ld} -m elf32ppclinux"
6728 LD="${LD-ld} -m elf_s390"
6731 LD="${LD-ld} -m elf32_sparc"
6737 x86_64-*kfreebsd*-gnu)
6738 LD="${LD-ld} -m elf_x86_64_fbsd"
6741 LD="${LD-ld} -m elf_x86_64"
6743 ppc*-*linux*|powerpc*-*linux*)
6744 LD="${LD-ld} -m elf64ppc"
6746 s390*-*linux*|s390*-*tpf*)
6747 LD="${LD-ld} -m elf64_s390"
6750 LD="${LD-ld} -m elf64_sparc"
6760 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6761 SAVE_CFLAGS="$CFLAGS"
6762 CFLAGS="$CFLAGS -belf"
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6764 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6765 if ${lt_cv_cc_needs_belf+:} false; then :
6766 $as_echo_n "(cached) " >&6
6769 ac_cpp='$CPP $CPPFLAGS'
6770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6775 /* end confdefs.h. */
6785 if ac_fn_c_try_link "$LINENO"; then :
6786 lt_cv_cc_needs_belf=yes
6788 lt_cv_cc_needs_belf=no
6790 rm -f core conftest.err conftest.$ac_objext \
6791 conftest$ac_exeext conftest.$ac_ext
6793 ac_cpp='$CPP $CPPFLAGS'
6794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6800 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6801 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6802 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6803 CFLAGS="$SAVE_CFLAGS"
6807 # Find out which ABI we are using.
6808 echo 'int i;' > conftest.$ac_ext
6809 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6810 (eval $ac_compile) 2>&5
6812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6813 test $ac_status = 0; }; then
6814 case `/usr/bin/file conftest.o` in
6816 case $lt_cv_prog_gnu_ld in
6820 LD="${LD-ld} -m elf_x86_64"
6823 LD="${LD-ld} -m elf64_sparc"
6826 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6827 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6832 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6844 need_locks="$enable_libtool_lock"
6846 if test -n "$ac_tool_prefix"; then
6847 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6848 set dummy ${ac_tool_prefix}mt; ac_word=$2
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850 $as_echo_n "checking for $ac_word... " >&6; }
6851 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6852 $as_echo_n "(cached) " >&6
6854 if test -n "$MANIFEST_TOOL"; then
6855 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6861 test -z "$as_dir" && as_dir=.
6862 for ac_exec_ext in '' $ac_executable_extensions; do
6863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6864 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6874 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6875 if test -n "$MANIFEST_TOOL"; then
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6877 $as_echo "$MANIFEST_TOOL" >&6; }
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880 $as_echo "no" >&6; }
6885 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6886 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6887 # Extract the first word of "mt", so it can be a program name with args.
6888 set dummy mt; ac_word=$2
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6890 $as_echo_n "checking for $ac_word... " >&6; }
6891 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6892 $as_echo_n "(cached) " >&6
6894 if test -n "$ac_ct_MANIFEST_TOOL"; then
6895 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6901 test -z "$as_dir" && as_dir=.
6902 for ac_exec_ext in '' $ac_executable_extensions; do
6903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6904 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6914 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6915 if test -n "$ac_ct_MANIFEST_TOOL"; then
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6917 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6920 $as_echo "no" >&6; }
6923 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6926 case $cross_compiling:$ac_tool_warned in
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6929 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6930 ac_tool_warned=yes ;;
6932 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6935 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6938 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6940 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6941 if ${lt_cv_path_mainfest_tool+:} false; then :
6942 $as_echo_n "(cached) " >&6
6944 lt_cv_path_mainfest_tool=no
6945 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6946 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6947 cat conftest.err >&5
6948 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6949 lt_cv_path_mainfest_tool=yes
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6954 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6955 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6965 rhapsody* | darwin*)
6966 if test -n "$ac_tool_prefix"; then
6967 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6968 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6970 $as_echo_n "checking for $ac_word... " >&6; }
6971 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6972 $as_echo_n "(cached) " >&6
6974 if test -n "$DSYMUTIL"; then
6975 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6981 test -z "$as_dir" && as_dir=.
6982 for ac_exec_ext in '' $ac_executable_extensions; do
6983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6984 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6994 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6995 if test -n "$DSYMUTIL"; then
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6997 $as_echo "$DSYMUTIL" >&6; }
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000 $as_echo "no" >&6; }
7005 if test -z "$ac_cv_prog_DSYMUTIL"; then
7006 ac_ct_DSYMUTIL=$DSYMUTIL
7007 # Extract the first word of "dsymutil", so it can be a program name with args.
7008 set dummy dsymutil; ac_word=$2
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7010 $as_echo_n "checking for $ac_word... " >&6; }
7011 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7012 $as_echo_n "(cached) " >&6
7014 if test -n "$ac_ct_DSYMUTIL"; then
7015 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7021 test -z "$as_dir" && as_dir=.
7022 for ac_exec_ext in '' $ac_executable_extensions; do
7023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7024 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7034 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7035 if test -n "$ac_ct_DSYMUTIL"; then
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7037 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7040 $as_echo "no" >&6; }
7043 if test "x$ac_ct_DSYMUTIL" = x; then
7046 case $cross_compiling:$ac_tool_warned in
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7050 ac_tool_warned=yes ;;
7052 DSYMUTIL=$ac_ct_DSYMUTIL
7055 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7058 if test -n "$ac_tool_prefix"; then
7059 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7060 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7062 $as_echo_n "checking for $ac_word... " >&6; }
7063 if ${ac_cv_prog_NMEDIT+:} false; then :
7064 $as_echo_n "(cached) " >&6
7066 if test -n "$NMEDIT"; then
7067 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7073 test -z "$as_dir" && as_dir=.
7074 for ac_exec_ext in '' $ac_executable_extensions; do
7075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7076 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7086 NMEDIT=$ac_cv_prog_NMEDIT
7087 if test -n "$NMEDIT"; then
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7089 $as_echo "$NMEDIT" >&6; }
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7092 $as_echo "no" >&6; }
7097 if test -z "$ac_cv_prog_NMEDIT"; then
7098 ac_ct_NMEDIT=$NMEDIT
7099 # Extract the first word of "nmedit", so it can be a program name with args.
7100 set dummy nmedit; ac_word=$2
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7102 $as_echo_n "checking for $ac_word... " >&6; }
7103 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7104 $as_echo_n "(cached) " >&6
7106 if test -n "$ac_ct_NMEDIT"; then
7107 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7113 test -z "$as_dir" && as_dir=.
7114 for ac_exec_ext in '' $ac_executable_extensions; do
7115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7116 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7126 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7127 if test -n "$ac_ct_NMEDIT"; then
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7129 $as_echo "$ac_ct_NMEDIT" >&6; }
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7132 $as_echo "no" >&6; }
7135 if test "x$ac_ct_NMEDIT" = x; then
7138 case $cross_compiling:$ac_tool_warned in
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7142 ac_tool_warned=yes ;;
7144 NMEDIT=$ac_ct_NMEDIT
7147 NMEDIT="$ac_cv_prog_NMEDIT"
7150 if test -n "$ac_tool_prefix"; then
7151 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7152 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7154 $as_echo_n "checking for $ac_word... " >&6; }
7155 if ${ac_cv_prog_LIPO+:} false; then :
7156 $as_echo_n "(cached) " >&6
7158 if test -n "$LIPO"; then
7159 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7165 test -z "$as_dir" && as_dir=.
7166 for ac_exec_ext in '' $ac_executable_extensions; do
7167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7168 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7178 LIPO=$ac_cv_prog_LIPO
7179 if test -n "$LIPO"; then
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7181 $as_echo "$LIPO" >&6; }
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7184 $as_echo "no" >&6; }
7189 if test -z "$ac_cv_prog_LIPO"; then
7191 # Extract the first word of "lipo", so it can be a program name with args.
7192 set dummy lipo; ac_word=$2
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7194 $as_echo_n "checking for $ac_word... " >&6; }
7195 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7196 $as_echo_n "(cached) " >&6
7198 if test -n "$ac_ct_LIPO"; then
7199 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7205 test -z "$as_dir" && as_dir=.
7206 for ac_exec_ext in '' $ac_executable_extensions; do
7207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7208 ac_cv_prog_ac_ct_LIPO="lipo"
7209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7218 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7219 if test -n "$ac_ct_LIPO"; then
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7221 $as_echo "$ac_ct_LIPO" >&6; }
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224 $as_echo "no" >&6; }
7227 if test "x$ac_ct_LIPO" = x; then
7230 case $cross_compiling:$ac_tool_warned in
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7234 ac_tool_warned=yes ;;
7239 LIPO="$ac_cv_prog_LIPO"
7242 if test -n "$ac_tool_prefix"; then
7243 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7244 set dummy ${ac_tool_prefix}otool; ac_word=$2
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7246 $as_echo_n "checking for $ac_word... " >&6; }
7247 if ${ac_cv_prog_OTOOL+:} false; then :
7248 $as_echo_n "(cached) " >&6
7250 if test -n "$OTOOL"; then
7251 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7257 test -z "$as_dir" && as_dir=.
7258 for ac_exec_ext in '' $ac_executable_extensions; do
7259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7260 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7270 OTOOL=$ac_cv_prog_OTOOL
7271 if test -n "$OTOOL"; then
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7273 $as_echo "$OTOOL" >&6; }
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7276 $as_echo "no" >&6; }
7281 if test -z "$ac_cv_prog_OTOOL"; then
7283 # Extract the first word of "otool", so it can be a program name with args.
7284 set dummy otool; ac_word=$2
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286 $as_echo_n "checking for $ac_word... " >&6; }
7287 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7288 $as_echo_n "(cached) " >&6
7290 if test -n "$ac_ct_OTOOL"; then
7291 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7297 test -z "$as_dir" && as_dir=.
7298 for ac_exec_ext in '' $ac_executable_extensions; do
7299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7300 ac_cv_prog_ac_ct_OTOOL="otool"
7301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7310 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7311 if test -n "$ac_ct_OTOOL"; then
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7313 $as_echo "$ac_ct_OTOOL" >&6; }
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316 $as_echo "no" >&6; }
7319 if test "x$ac_ct_OTOOL" = x; then
7322 case $cross_compiling:$ac_tool_warned in
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7326 ac_tool_warned=yes ;;
7331 OTOOL="$ac_cv_prog_OTOOL"
7334 if test -n "$ac_tool_prefix"; then
7335 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7336 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7338 $as_echo_n "checking for $ac_word... " >&6; }
7339 if ${ac_cv_prog_OTOOL64+:} false; then :
7340 $as_echo_n "(cached) " >&6
7342 if test -n "$OTOOL64"; then
7343 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 test -z "$as_dir" && as_dir=.
7350 for ac_exec_ext in '' $ac_executable_extensions; do
7351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7352 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7362 OTOOL64=$ac_cv_prog_OTOOL64
7363 if test -n "$OTOOL64"; then
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7365 $as_echo "$OTOOL64" >&6; }
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7368 $as_echo "no" >&6; }
7373 if test -z "$ac_cv_prog_OTOOL64"; then
7374 ac_ct_OTOOL64=$OTOOL64
7375 # Extract the first word of "otool64", so it can be a program name with args.
7376 set dummy otool64; ac_word=$2
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7378 $as_echo_n "checking for $ac_word... " >&6; }
7379 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7380 $as_echo_n "(cached) " >&6
7382 if test -n "$ac_ct_OTOOL64"; then
7383 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7389 test -z "$as_dir" && as_dir=.
7390 for ac_exec_ext in '' $ac_executable_extensions; do
7391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7392 ac_cv_prog_ac_ct_OTOOL64="otool64"
7393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7402 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7403 if test -n "$ac_ct_OTOOL64"; then
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7405 $as_echo "$ac_ct_OTOOL64" >&6; }
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7408 $as_echo "no" >&6; }
7411 if test "x$ac_ct_OTOOL64" = x; then
7414 case $cross_compiling:$ac_tool_warned in
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7418 ac_tool_warned=yes ;;
7420 OTOOL64=$ac_ct_OTOOL64
7423 OTOOL64="$ac_cv_prog_OTOOL64"
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7453 $as_echo_n "checking for -single_module linker flag... " >&6; }
7454 if ${lt_cv_apple_cc_single_mod+:} false; then :
7455 $as_echo_n "(cached) " >&6
7457 lt_cv_apple_cc_single_mod=no
7458 if test -z "${LT_MULTI_MODULE}"; then
7459 # By default we will add the -single_module flag. You can override
7460 # by either setting the environment variable LT_MULTI_MODULE
7461 # non-empty at configure time, or by adding -multi_module to the
7463 rm -rf libconftest.dylib*
7464 echo "int foo(void){return 1;}" > conftest.c
7465 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7466 -dynamiclib -Wl,-single_module conftest.c" >&5
7467 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7468 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7470 # If there is a non-empty error log, and "single_module"
7471 # appears in it, assume the flag caused a linker warning
7472 if test -s conftest.err && $GREP single_module conftest.err; then
7473 cat conftest.err >&5
7474 # Otherwise, if the output was created with a 0 exit code from
7475 # the compiler, it worked.
7476 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7477 lt_cv_apple_cc_single_mod=yes
7479 cat conftest.err >&5
7481 rm -rf libconftest.dylib*
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7486 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7489 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7490 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7491 $as_echo_n "(cached) " >&6
7493 lt_cv_ld_exported_symbols_list=no
7494 save_LDFLAGS=$LDFLAGS
7495 echo "_main" > conftest.sym
7496 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7498 /* end confdefs.h. */
7508 if ac_fn_c_try_link "$LINENO"; then :
7509 lt_cv_ld_exported_symbols_list=yes
7511 lt_cv_ld_exported_symbols_list=no
7513 rm -f core conftest.err conftest.$ac_objext \
7514 conftest$ac_exeext conftest.$ac_ext
7515 LDFLAGS="$save_LDFLAGS"
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7519 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7522 $as_echo_n "checking for -force_load linker flag... " >&6; }
7523 if ${lt_cv_ld_force_load+:} false; then :
7524 $as_echo_n "(cached) " >&6
7526 lt_cv_ld_force_load=no
7527 cat > conftest.c << _LT_EOF
7528 int forced_loaded() { return 2;}
7530 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7531 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7532 echo "$AR cru libconftest.a conftest.o" >&5
7533 $AR cru libconftest.a conftest.o 2>&5
7534 echo "$RANLIB libconftest.a" >&5
7535 $RANLIB libconftest.a 2>&5
7536 cat > conftest.c << _LT_EOF
7537 int main() { return 0;}
7539 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7540 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7542 if test -s conftest.err && $GREP force_load conftest.err; then
7543 cat conftest.err >&5
7544 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7545 lt_cv_ld_force_load=yes
7547 cat conftest.err >&5
7549 rm -f conftest.err libconftest.a conftest conftest.c
7550 rm -rf conftest.dSYM
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7554 $as_echo "$lt_cv_ld_force_load" >&6; }
7556 rhapsody* | darwin1.[012])
7557 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7559 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7560 darwin*) # darwin 5.x on
7561 # if running on 10.5 or later, the deployment target defaults
7562 # to the OS version, if on x86, and 10.4, the deployment
7563 # target defaults to 10.4. Don't you love it?
7564 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7565 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7566 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7568 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7570 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7574 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7575 _lt_dar_single_mod='$single_module'
7577 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7578 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7580 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7582 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7583 _lt_dsymutil='~$DSYMUTIL $lib || :'
7591 ac_cpp='$CPP $CPPFLAGS'
7592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7596 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7597 # On Suns, sometimes $CPP names a directory.
7598 if test -n "$CPP" && test -d "$CPP"; then
7601 if test -z "$CPP"; then
7602 if ${ac_cv_prog_CPP+:} false; then :
7603 $as_echo_n "(cached) " >&6
7605 # Double quotes because CPP needs to be expanded
7606 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7609 for ac_c_preproc_warn_flag in '' yes
7611 # Use a header file that comes with gcc, so configuring glibc
7612 # with a fresh cross-compiler works.
7613 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7614 # <limits.h> exists even on freestanding compilers.
7615 # On the NeXT, cc -E runs the code through the compiler's parser,
7616 # not just through cpp. "Syntax error" is here to catch this case.
7617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7618 /* end confdefs.h. */
7620 # include <limits.h>
7622 # include <assert.h>
7626 if ac_fn_c_try_cpp "$LINENO"; then :
7629 # Broken: fails on valid input.
7632 rm -f conftest.err conftest.i conftest.$ac_ext
7634 # OK, works on sane cases. Now check whether nonexistent headers
7635 # can be detected and how.
7636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7637 /* end confdefs.h. */
7638 #include <ac_nonexistent.h>
7640 if ac_fn_c_try_cpp "$LINENO"; then :
7641 # Broken: success on invalid input.
7644 # Passes both tests.
7648 rm -f conftest.err conftest.i conftest.$ac_ext
7651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7652 rm -f conftest.i conftest.err conftest.$ac_ext
7653 if $ac_preproc_ok; then :
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7666 $as_echo "$CPP" >&6; }
7668 for ac_c_preproc_warn_flag in '' yes
7670 # Use a header file that comes with gcc, so configuring glibc
7671 # with a fresh cross-compiler works.
7672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7673 # <limits.h> exists even on freestanding compilers.
7674 # On the NeXT, cc -E runs the code through the compiler's parser,
7675 # not just through cpp. "Syntax error" is here to catch this case.
7676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7677 /* end confdefs.h. */
7679 # include <limits.h>
7681 # include <assert.h>
7685 if ac_fn_c_try_cpp "$LINENO"; then :
7688 # Broken: fails on valid input.
7691 rm -f conftest.err conftest.i conftest.$ac_ext
7693 # OK, works on sane cases. Now check whether nonexistent headers
7694 # can be detected and how.
7695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7696 /* end confdefs.h. */
7697 #include <ac_nonexistent.h>
7699 if ac_fn_c_try_cpp "$LINENO"; then :
7700 # Broken: success on invalid input.
7703 # Passes both tests.
7707 rm -f conftest.err conftest.i conftest.$ac_ext
7710 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7711 rm -f conftest.i conftest.err conftest.$ac_ext
7712 if $ac_preproc_ok; then :
7715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7717 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7718 See \`config.log' for more details" "$LINENO" 5; }
7722 ac_cpp='$CPP $CPPFLAGS'
7723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7729 $as_echo_n "checking for ANSI C header files... " >&6; }
7730 if ${ac_cv_header_stdc+:} false; then :
7731 $as_echo_n "(cached) " >&6
7733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7734 /* end confdefs.h. */
7748 if ac_fn_c_try_compile "$LINENO"; then :
7749 ac_cv_header_stdc=yes
7751 ac_cv_header_stdc=no
7753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7755 if test $ac_cv_header_stdc = yes; then
7756 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7763 $EGREP "memchr" >/dev/null 2>&1; then :
7766 ac_cv_header_stdc=no
7772 if test $ac_cv_header_stdc = yes; then
7773 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7775 /* end confdefs.h. */
7779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7780 $EGREP "free" >/dev/null 2>&1; then :
7783 ac_cv_header_stdc=no
7789 if test $ac_cv_header_stdc = yes; then
7790 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7791 if test "$cross_compiling" = yes; then :
7794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h. */
7798 #if ((' ' & 0x0FF) == 0x020)
7799 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7800 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7802 # define ISLOWER(c) \
7803 (('a' <= (c) && (c) <= 'i') \
7804 || ('j' <= (c) && (c) <= 'r') \
7805 || ('s' <= (c) && (c) <= 'z'))
7806 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7809 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7814 for (i = 0; i < 256; i++)
7815 if (XOR (islower (i), ISLOWER (i))
7816 || toupper (i) != TOUPPER (i))
7821 if ac_fn_c_try_run "$LINENO"; then :
7824 ac_cv_header_stdc=no
7826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7827 conftest.$ac_objext conftest.beam conftest.$ac_ext
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7833 $as_echo "$ac_cv_header_stdc" >&6; }
7834 if test $ac_cv_header_stdc = yes; then
7836 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7840 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7841 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7842 inttypes.h stdint.h unistd.h
7844 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7845 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7847 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7848 cat >>confdefs.h <<_ACEOF
7849 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7857 for ac_header in dlfcn.h
7859 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7861 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7862 cat >>confdefs.h <<_ACEOF
7863 #define HAVE_DLFCN_H 1
7882 # Check whether --enable-shared was given.
7883 if test "${enable_shared+set}" = set; then :
7884 enableval=$enable_shared; p=${PACKAGE-default}
7886 yes) enable_shared=yes ;;
7887 no) enable_shared=no ;;
7890 # Look at the argument we got. We use all the common list separators.
7891 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7892 for pkg in $enableval; do
7894 if test "X$pkg" = "X$p"; then
7913 # Check whether --enable-static was given.
7914 if test "${enable_static+set}" = set; then :
7915 enableval=$enable_static; p=${PACKAGE-default}
7917 yes) enable_static=yes ;;
7918 no) enable_static=no ;;
7921 # Look at the argument we got. We use all the common list separators.
7922 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7923 for pkg in $enableval; do
7925 if test "X$pkg" = "X$p"; then
7945 # Check whether --with-pic was given.
7946 if test "${with_pic+set}" = set; then :
7947 withval=$with_pic; lt_p=${PACKAGE-default}
7949 yes|no) pic_mode=$withval ;;
7952 # Look at the argument we got. We use all the common list separators.
7953 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7954 for lt_pkg in $withval; do
7956 if test "X$lt_pkg" = "X$lt_p"; then
7968 test -z "$pic_mode" && pic_mode=default
7976 # Check whether --enable-fast-install was given.
7977 if test "${enable_fast_install+set}" = set; then :
7978 enableval=$enable_fast_install; p=${PACKAGE-default}
7980 yes) enable_fast_install=yes ;;
7981 no) enable_fast_install=no ;;
7983 enable_fast_install=no
7984 # Look at the argument we got. We use all the common list separators.
7985 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7986 for pkg in $enableval; do
7988 if test "X$pkg" = "X$p"; then
7989 enable_fast_install=yes
7996 enable_fast_install=yes
8009 # This can be used to rebuild libtool when needed
8010 LIBTOOL_DEPS="$ltmain"
8012 # Always use our own libtool.
8013 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8044 test -z "$LN_S" && LN_S="ln -s"
8059 if test -n "${ZSH_VERSION+set}" ; then
8060 setopt NO_GLOB_SUBST
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8064 $as_echo_n "checking for objdir... " >&6; }
8065 if ${lt_cv_objdir+:} false; then :
8066 $as_echo_n "(cached) " >&6
8068 rm -f .libs 2>/dev/null
8069 mkdir .libs 2>/dev/null
8070 if test -d .libs; then
8073 # MS-DOS does not allow filenames that begin with a dot.
8076 rmdir .libs 2>/dev/null
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8079 $as_echo "$lt_cv_objdir" >&6; }
8080 objdir=$lt_cv_objdir
8086 cat >>confdefs.h <<_ACEOF
8087 #define LT_OBJDIR "$lt_cv_objdir/"
8095 # AIX sometimes has problems with the GCC collect2 program. For some
8096 # reason, if we set the COLLECT_NAMES environment variable, the problems
8097 # vanish in a puff of smoke.
8098 if test "X${COLLECT_NAMES+set}" != Xset; then
8100 export COLLECT_NAMES
8107 can_build_shared=yes
8109 # All known linkers require a `.a' archive for static linking (except MSVC,
8110 # which needs '.lib').
8113 with_gnu_ld="$lt_cv_prog_gnu_ld"
8116 old_CFLAGS="$CFLAGS"
8118 # Set sane defaults for various variables
8119 test -z "$CC" && CC=cc
8120 test -z "$LTCC" && LTCC=$CC
8121 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8122 test -z "$LD" && LD=ld
8123 test -z "$ac_objext" && ac_objext=o
8125 for cc_temp in $compiler""; do
8127 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8128 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8133 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8136 # Only perform the check for file, if the check method requires it
8137 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8138 case $deplibs_check_method in
8140 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8142 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8143 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8144 $as_echo_n "(cached) " >&6
8148 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8151 lt_save_MAGIC_CMD="$MAGIC_CMD"
8152 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8153 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8154 for ac_dir in $ac_dummy; do
8156 test -z "$ac_dir" && ac_dir=.
8157 if test -f $ac_dir/${ac_tool_prefix}file; then
8158 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8159 if test -n "$file_magic_test_file"; then
8160 case $deplibs_check_method in
8162 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8163 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8164 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8165 $EGREP "$file_magic_regex" > /dev/null; then
8170 *** Warning: the command libtool uses to detect shared libraries,
8171 *** $file_magic_cmd, produces output that libtool cannot recognize.
8172 *** The result is that libtool may fail to recognize shared libraries
8173 *** as such. This will affect the creation of libtool libraries that
8174 *** depend on shared libraries, but programs linked with such libtool
8175 *** libraries will work regardless of this problem. Nevertheless, you
8176 *** may want to report the problem to your system manager and/or to
8177 *** bug-libtool@gnu.org
8187 MAGIC_CMD="$lt_save_MAGIC_CMD"
8192 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8193 if test -n "$MAGIC_CMD"; then
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8195 $as_echo "$MAGIC_CMD" >&6; }
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8198 $as_echo "no" >&6; }
8205 if test -z "$lt_cv_path_MAGIC_CMD"; then
8206 if test -n "$ac_tool_prefix"; then
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8208 $as_echo_n "checking for file... " >&6; }
8209 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8210 $as_echo_n "(cached) " >&6
8214 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8217 lt_save_MAGIC_CMD="$MAGIC_CMD"
8218 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8219 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8220 for ac_dir in $ac_dummy; do
8222 test -z "$ac_dir" && ac_dir=.
8223 if test -f $ac_dir/file; then
8224 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8225 if test -n "$file_magic_test_file"; then
8226 case $deplibs_check_method in
8228 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8229 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8230 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8231 $EGREP "$file_magic_regex" > /dev/null; then
8236 *** Warning: the command libtool uses to detect shared libraries,
8237 *** $file_magic_cmd, produces output that libtool cannot recognize.
8238 *** The result is that libtool may fail to recognize shared libraries
8239 *** as such. This will affect the creation of libtool libraries that
8240 *** depend on shared libraries, but programs linked with such libtool
8241 *** libraries will work regardless of this problem. Nevertheless, you
8242 *** may want to report the problem to your system manager and/or to
8243 *** bug-libtool@gnu.org
8253 MAGIC_CMD="$lt_save_MAGIC_CMD"
8258 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8259 if test -n "$MAGIC_CMD"; then
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8261 $as_echo "$MAGIC_CMD" >&6; }
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8264 $as_echo "no" >&6; }
8277 # Use C for the default configuration in the libtool script
8281 ac_cpp='$CPP $CPPFLAGS'
8282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8287 # Source file extension for C test sources.
8290 # Object file extension for compiled C test sources.
8294 # Code to be used in simple compile tests
8295 lt_simple_compile_test_code="int some_variable = 0;"
8297 # Code to be used in simple link tests
8298 lt_simple_link_test_code='int main(){return(0);}'
8306 # If no C compiler was specified, use CC.
8309 # If no C compiler flags were specified, use CFLAGS.
8310 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8312 # Allow CC to be a program name with arguments.
8315 # Save the default compiler, since it gets overwritten when the other
8316 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8317 compiler_DEFAULT=$CC
8319 # save warnings/boilerplate of simple test code
8320 ac_outfile=conftest.$ac_objext
8321 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8322 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8323 _lt_compiler_boilerplate=`cat conftest.err`
8326 ac_outfile=conftest.$ac_objext
8327 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8328 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8329 _lt_linker_boilerplate=`cat conftest.err`
8334 ## There is no encapsulation within the following macros, do not change
8335 ## the running order or otherwise move them around unless you know exactly
8336 ## what you are doing...
8337 if test -n "$compiler"; then
8339 lt_prog_compiler_no_builtin_flag=
8341 if test "$GCC" = yes; then
8342 case $cc_basename in
8344 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8346 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8350 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8351 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8352 $as_echo_n "(cached) " >&6
8354 lt_cv_prog_compiler_rtti_exceptions=no
8355 ac_outfile=conftest.$ac_objext
8356 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8357 lt_compiler_flag="-fno-rtti -fno-exceptions"
8358 # Insert the option either (1) after the last *FLAGS variable, or
8359 # (2) before a word containing "conftest.", or (3) at the end.
8360 # Note that $ac_compile itself does not contain backslashes and begins
8361 # with a dollar sign (not a hyphen), so the echo should work correctly.
8362 # The option is referenced via a variable to avoid confusing sed.
8363 lt_compile=`echo "$ac_compile" | $SED \
8364 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8365 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8366 -e 's:$: $lt_compiler_flag:'`
8367 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8368 (eval "$lt_compile" 2>conftest.err)
8370 cat conftest.err >&5
8371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8372 if (exit $ac_status) && test -s "$ac_outfile"; then
8373 # The compiler can only warn and ignore the option if not recognized
8374 # So say no if there are warnings other than the usual output.
8375 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8376 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8377 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8378 lt_cv_prog_compiler_rtti_exceptions=yes
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8385 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8387 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8388 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8400 lt_prog_compiler_wl=
8401 lt_prog_compiler_pic=
8402 lt_prog_compiler_static=
8405 if test "$GCC" = yes; then
8406 lt_prog_compiler_wl='-Wl,'
8407 lt_prog_compiler_static='-static'
8411 # All AIX code is PIC.
8412 if test "$host_cpu" = ia64; then
8413 # AIX 5 now supports IA64 processor
8414 lt_prog_compiler_static='-Bstatic'
8421 # see comment about AmigaOS4 .so support
8422 lt_prog_compiler_pic='-fPIC'
8425 # FIXME: we need at least 68020 code to build shared libraries, but
8426 # adding the `-m68020' flag to GCC prevents building anything better,
8428 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8433 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8434 # PIC is the default for these OSes.
8437 mingw* | cygwin* | pw32* | os2* | cegcc*)
8438 # This hack is so that the source file can tell whether it is being
8439 # built for inclusion in a dll (and should export symbols for example).
8440 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8441 # (--disable-auto-import) libraries
8442 lt_prog_compiler_pic='-DDLL_EXPORT'
8445 darwin* | rhapsody*)
8446 # PIC is the default on this platform
8447 # Common symbols not allowed in MH_DYLIB files
8448 lt_prog_compiler_pic='-fno-common'
8452 # PIC is the default for Haiku.
8453 # The "-static" flag exists, but is broken.
8454 lt_prog_compiler_static=
8458 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8459 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8460 # sets the default TLS model and affects inlining.
8466 lt_prog_compiler_pic='-fPIC'
8472 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8473 # Instead, we relocate shared libraries at runtime.
8477 # Just because we use GCC doesn't mean we suddenly get shared libraries
8478 # on systems that don't support them.
8479 lt_prog_compiler_can_build_shared=no
8484 # QNX uses GNU C++, but need to define -shared option too, otherwise
8486 lt_prog_compiler_pic='-fPIC -shared'
8490 if test -d /usr/nec; then
8491 lt_prog_compiler_pic=-Kconform_pic
8496 lt_prog_compiler_pic='-fPIC'
8500 case $cc_basename in
8501 nvcc*) # Cuda Compiler Driver 2.2
8502 lt_prog_compiler_wl='-Xlinker '
8503 if test -n "$lt_prog_compiler_pic"; then
8504 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8509 # PORTME Check for flag to pass linker flags through the system compiler.
8512 lt_prog_compiler_wl='-Wl,'
8513 if test "$host_cpu" = ia64; then
8514 # AIX 5 now supports IA64 processor
8515 lt_prog_compiler_static='-Bstatic'
8517 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8521 mingw* | cygwin* | pw32* | os2* | cegcc*)
8522 # This hack is so that the source file can tell whether it is being
8523 # built for inclusion in a dll (and should export symbols for example).
8524 lt_prog_compiler_pic='-DDLL_EXPORT'
8527 hpux9* | hpux10* | hpux11*)
8528 lt_prog_compiler_wl='-Wl,'
8529 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8536 lt_prog_compiler_pic='+Z'
8539 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8540 lt_prog_compiler_static='${wl}-a ${wl}archive'
8543 irix5* | irix6* | nonstopux*)
8544 lt_prog_compiler_wl='-Wl,'
8545 # PIC (with -KPIC) is the default.
8546 lt_prog_compiler_static='-non_shared'
8549 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8550 case $cc_basename in
8551 # old Intel for x86_64 which still supported -KPIC.
8553 lt_prog_compiler_wl='-Wl,'
8554 lt_prog_compiler_pic='-KPIC'
8555 lt_prog_compiler_static='-static'
8557 # icc used to be incompatible with GCC.
8558 # ICC 10 doesn't accept -KPIC any more.
8560 lt_prog_compiler_wl='-Wl,'
8561 lt_prog_compiler_pic='-fPIC'
8562 lt_prog_compiler_static='-static'
8564 # Lahey Fortran 8.1.
8566 lt_prog_compiler_wl='-Wl,'
8567 lt_prog_compiler_pic='--shared'
8568 lt_prog_compiler_static='--static'
8571 # NAG Fortran compiler
8572 lt_prog_compiler_wl='-Wl,-Wl,,'
8573 lt_prog_compiler_pic='-PIC'
8574 lt_prog_compiler_static='-Bstatic'
8576 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8577 # Portland Group compilers (*not* the Pentium gcc compiler,
8578 # which looks to be a dead project)
8579 lt_prog_compiler_wl='-Wl,'
8580 lt_prog_compiler_pic='-fpic'
8581 lt_prog_compiler_static='-Bstatic'
8584 lt_prog_compiler_wl='-Wl,'
8585 # All Alpha code is PIC.
8586 lt_prog_compiler_static='-non_shared'
8588 xl* | bgxl* | bgf* | mpixl*)
8589 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8590 lt_prog_compiler_wl='-Wl,'
8591 lt_prog_compiler_pic='-qpic'
8592 lt_prog_compiler_static='-qstaticlink'
8595 case `$CC -V 2>&1 | sed 5q` in
8596 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8597 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8598 lt_prog_compiler_pic='-KPIC'
8599 lt_prog_compiler_static='-Bstatic'
8600 lt_prog_compiler_wl=''
8602 *Sun\ F* | *Sun*Fortran*)
8603 lt_prog_compiler_pic='-KPIC'
8604 lt_prog_compiler_static='-Bstatic'
8605 lt_prog_compiler_wl='-Qoption ld '
8609 lt_prog_compiler_pic='-KPIC'
8610 lt_prog_compiler_static='-Bstatic'
8611 lt_prog_compiler_wl='-Wl,'
8613 *Intel*\ [CF]*Compiler*)
8614 lt_prog_compiler_wl='-Wl,'
8615 lt_prog_compiler_pic='-fPIC'
8616 lt_prog_compiler_static='-static'
8619 lt_prog_compiler_wl='-Wl,'
8620 lt_prog_compiler_pic='-fpic'
8621 lt_prog_compiler_static='-Bstatic'
8629 lt_prog_compiler_pic='-KPIC'
8630 lt_prog_compiler_static='-Bstatic'
8634 # QNX uses GNU C++, but need to define -shared option too, otherwise
8636 lt_prog_compiler_pic='-fPIC -shared'
8639 osf3* | osf4* | osf5*)
8640 lt_prog_compiler_wl='-Wl,'
8641 # All OSF/1 code is PIC.
8642 lt_prog_compiler_static='-non_shared'
8646 lt_prog_compiler_static='-non_shared'
8650 lt_prog_compiler_pic='-KPIC'
8651 lt_prog_compiler_static='-Bstatic'
8652 case $cc_basename in
8653 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8654 lt_prog_compiler_wl='-Qoption ld ';;
8656 lt_prog_compiler_wl='-Wl,';;
8661 lt_prog_compiler_wl='-Qoption ld '
8662 lt_prog_compiler_pic='-PIC'
8663 lt_prog_compiler_static='-Bstatic'
8666 sysv4 | sysv4.2uw2* | sysv4.3*)
8667 lt_prog_compiler_wl='-Wl,'
8668 lt_prog_compiler_pic='-KPIC'
8669 lt_prog_compiler_static='-Bstatic'
8673 if test -d /usr/nec ;then
8674 lt_prog_compiler_pic='-Kconform_pic'
8675 lt_prog_compiler_static='-Bstatic'
8679 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8680 lt_prog_compiler_wl='-Wl,'
8681 lt_prog_compiler_pic='-KPIC'
8682 lt_prog_compiler_static='-Bstatic'
8686 lt_prog_compiler_wl='-Wl,'
8687 lt_prog_compiler_can_build_shared=no
8691 lt_prog_compiler_pic='-pic'
8692 lt_prog_compiler_static='-Bstatic'
8696 lt_prog_compiler_can_build_shared=no
8702 # For platforms which do not support PIC, -DPIC is meaningless:
8704 lt_prog_compiler_pic=
8707 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8712 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8713 if ${lt_cv_prog_compiler_pic+:} false; then :
8714 $as_echo_n "(cached) " >&6
8716 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8719 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8720 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8723 # Check to make sure the PIC flag actually works.
8725 if test -n "$lt_prog_compiler_pic"; then
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8727 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8728 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8729 $as_echo_n "(cached) " >&6
8731 lt_cv_prog_compiler_pic_works=no
8732 ac_outfile=conftest.$ac_objext
8733 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8734 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8735 # Insert the option either (1) after the last *FLAGS variable, or
8736 # (2) before a word containing "conftest.", or (3) at the end.
8737 # Note that $ac_compile itself does not contain backslashes and begins
8738 # with a dollar sign (not a hyphen), so the echo should work correctly.
8739 # The option is referenced via a variable to avoid confusing sed.
8740 lt_compile=`echo "$ac_compile" | $SED \
8741 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8742 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8743 -e 's:$: $lt_compiler_flag:'`
8744 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8745 (eval "$lt_compile" 2>conftest.err)
8747 cat conftest.err >&5
8748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749 if (exit $ac_status) && test -s "$ac_outfile"; then
8750 # The compiler can only warn and ignore the option if not recognized
8751 # So say no if there are warnings other than the usual output.
8752 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8753 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8754 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8755 lt_cv_prog_compiler_pic_works=yes
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8762 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8764 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8765 case $lt_prog_compiler_pic in
8767 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8770 lt_prog_compiler_pic=
8771 lt_prog_compiler_can_build_shared=no
8787 # Check to make sure the static flag actually works.
8789 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8791 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8792 if ${lt_cv_prog_compiler_static_works+:} false; then :
8793 $as_echo_n "(cached) " >&6
8795 lt_cv_prog_compiler_static_works=no
8796 save_LDFLAGS="$LDFLAGS"
8797 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8798 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8799 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8800 # The linker can only warn and ignore the option if not recognized
8801 # So say no if there are warnings
8802 if test -s conftest.err; then
8803 # Append any errors to the config.log.
8804 cat conftest.err 1>&5
8805 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8806 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8807 if diff conftest.exp conftest.er2 >/dev/null; then
8808 lt_cv_prog_compiler_static_works=yes
8811 lt_cv_prog_compiler_static_works=yes
8815 LDFLAGS="$save_LDFLAGS"
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8819 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8821 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8824 lt_prog_compiler_static=
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8834 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8835 if ${lt_cv_prog_compiler_c_o+:} false; then :
8836 $as_echo_n "(cached) " >&6
8838 lt_cv_prog_compiler_c_o=no
8839 $RM -r conftest 2>/dev/null
8843 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8845 lt_compiler_flag="-o out/conftest2.$ac_objext"
8846 # Insert the option either (1) after the last *FLAGS variable, or
8847 # (2) before a word containing "conftest.", or (3) at the end.
8848 # Note that $ac_compile itself does not contain backslashes and begins
8849 # with a dollar sign (not a hyphen), so the echo should work correctly.
8850 lt_compile=`echo "$ac_compile" | $SED \
8851 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8852 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8853 -e 's:$: $lt_compiler_flag:'`
8854 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8855 (eval "$lt_compile" 2>out/conftest.err)
8857 cat out/conftest.err >&5
8858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8861 # The compiler can only warn and ignore the option if not recognized
8862 # So say no if there are warnings
8863 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8864 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8865 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8866 lt_cv_prog_compiler_c_o=yes
8871 # SGI C++ compiler will create directory out/ii_files/ for
8872 # template instantiation
8873 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8874 $RM out/* && rmdir out
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8881 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8889 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8890 if ${lt_cv_prog_compiler_c_o+:} false; then :
8891 $as_echo_n "(cached) " >&6
8893 lt_cv_prog_compiler_c_o=no
8894 $RM -r conftest 2>/dev/null
8898 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8900 lt_compiler_flag="-o out/conftest2.$ac_objext"
8901 # Insert the option either (1) after the last *FLAGS variable, or
8902 # (2) before a word containing "conftest.", or (3) at the end.
8903 # Note that $ac_compile itself does not contain backslashes and begins
8904 # with a dollar sign (not a hyphen), so the echo should work correctly.
8905 lt_compile=`echo "$ac_compile" | $SED \
8906 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8907 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8908 -e 's:$: $lt_compiler_flag:'`
8909 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8910 (eval "$lt_compile" 2>out/conftest.err)
8912 cat out/conftest.err >&5
8913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8914 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8916 # The compiler can only warn and ignore the option if not recognized
8917 # So say no if there are warnings
8918 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8919 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8920 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8921 lt_cv_prog_compiler_c_o=yes
8926 # SGI C++ compiler will create directory out/ii_files/ for
8927 # template instantiation
8928 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8929 $RM out/* && rmdir out
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8936 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8941 hard_links="nottested"
8942 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8943 # do not overwrite the value of need_locks provided by the user
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8945 $as_echo_n "checking if we can lock with hard links... " >&6; }
8948 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8950 ln conftest.a conftest.b 2>&5 || hard_links=no
8951 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8953 $as_echo "$hard_links" >&6; }
8954 if test "$hard_links" = no; then
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8956 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8969 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8972 allow_undefined_flag=
8973 always_export_symbols=no
8975 archive_expsym_cmds=
8976 compiler_needs_object=no
8977 enable_shared_with_static_runtimes=no
8978 export_dynamic_flag_spec=
8979 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8980 hardcode_automatic=no
8982 hardcode_direct_absolute=no
8983 hardcode_libdir_flag_spec=
8984 hardcode_libdir_separator=
8986 hardcode_shlibpath_var=unsupported
8988 link_all_deplibs=unknown
8991 old_archive_from_new_cmds=
8992 old_archive_from_expsyms_cmds=
8993 thread_safe_flag_spec=
8994 whole_archive_flag_spec=
8995 # include_expsyms should be a list of space-separated symbols to be *always*
8996 # included in the symbol list
8998 # exclude_expsyms can be an extended regexp of symbols to exclude
8999 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9000 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9001 # as well as any symbol that contains `d'.
9002 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9003 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9004 # platforms (ab)use it in PIC code, but their linkers get confused if
9005 # the symbol is explicitly referenced. Since portable code cannot
9006 # rely on this symbol name, it's probably fine to never include it in
9007 # preloaded symbol tables.
9008 # Exclude shared library initialization/finalization symbols.
9009 extract_expsyms_cmds=
9012 cygwin* | mingw* | pw32* | cegcc*)
9013 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9014 # When not using gcc, we currently assume that we are using
9015 # Microsoft Visual C++.
9016 if test "$GCC" != yes; then
9021 # we just hope/assume this is gcc and not c89 (= MSVC++)
9027 linux* | k*bsd*-gnu | gnu*)
9034 # On some targets, GNU ld is compatible enough with the native linker
9035 # that we're better off using the native interface for both.
9036 lt_use_gnu_ld_interface=no
9037 if test "$with_gnu_ld" = yes; then
9040 # The AIX port of GNU ld has always aspired to compatibility
9041 # with the native linker. However, as the warning in the GNU ld
9042 # block says, versions before 2.19.5* couldn't really create working
9043 # shared libraries, regardless of the interface used.
9044 case `$LD -v 2>&1` in
9045 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9046 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9047 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9049 lt_use_gnu_ld_interface=yes
9054 lt_use_gnu_ld_interface=yes
9059 if test "$lt_use_gnu_ld_interface" = yes; then
9060 # If archive_cmds runs LD, not CC, wlarc should be empty
9063 # Set some defaults for GNU ld with shared library support. These
9064 # are reset later if shared libraries are not supported. Putting them
9065 # here allows them to be overridden if necessary.
9066 runpath_var=LD_RUN_PATH
9067 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9068 export_dynamic_flag_spec='${wl}--export-dynamic'
9069 # ancient GNU ld didn't support --whole-archive et. al.
9070 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9071 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9073 whole_archive_flag_spec=
9075 supports_anon_versioning=no
9076 case `$LD -v 2>&1` in
9077 *GNU\ gold*) supports_anon_versioning=yes ;;
9078 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9079 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9080 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9081 *\ 2.11.*) ;; # other 2.11 versions
9082 *) supports_anon_versioning=yes ;;
9085 # See if GNU ld supports shared libraries.
9088 # On AIX/PPC, the GNU linker is very broken
9089 if test "$host_cpu" != ia64; then
9093 *** Warning: the GNU linker, at least up to release 2.19, is reported
9094 *** to be unable to reliably create shared libraries on AIX.
9095 *** Therefore, libtool is disabling shared libraries support. If you
9096 *** really care for shared libraries, you may want to install binutils
9097 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9098 *** You will then need to restart the configuration process.
9107 # see comment about AmigaOS4 .so support
9108 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9109 archive_expsym_cmds=''
9112 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)'
9113 hardcode_libdir_flag_spec='-L$libdir'
9114 hardcode_minus_L=yes
9120 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9121 allow_undefined_flag=unsupported
9122 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9123 # support --undefined. This deserves some investigation. FIXME
9124 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9130 cygwin* | mingw* | pw32* | cegcc*)
9131 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9132 # as there is no search path for DLLs.
9133 hardcode_libdir_flag_spec='-L$libdir'
9134 export_dynamic_flag_spec='${wl}--export-all-symbols'
9135 allow_undefined_flag=unsupported
9136 always_export_symbols=no
9137 enable_shared_with_static_runtimes=yes
9138 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9139 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9141 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9142 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9143 # If the export-symbols file already is a .def file (1st line
9144 # is EXPORTS), use it as is; otherwise, prepend...
9145 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9146 cp $export_symbols $output_objdir/$soname.def;
9148 echo EXPORTS > $output_objdir/$soname.def;
9149 cat $export_symbols >> $output_objdir/$soname.def;
9151 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9158 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9159 link_all_deplibs=yes
9164 hardcode_shlibpath_var=no
9165 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9166 export_dynamic_flag_spec='${wl}-E'
9167 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9168 # Instead, shared libraries are loaded at an image base (0x10000000 by
9169 # default) and relocated if they conflict, which is a slow very memory
9170 # consuming and fragmenting process. To avoid this, we pick a random,
9171 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9172 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9173 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9174 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'
9177 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9179 if test "$host_os" = linux-dietlibc; then
9180 case $cc_basename in
9181 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9184 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9185 && test "$tmp_diet" = no
9187 tmp_addflag=' $pic_flag'
9188 tmp_sharedflag='-shared'
9189 case $cc_basename,$host_cpu in
9190 pgcc*) # Portland Group C compiler
9191 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9192 tmp_addflag=' $pic_flag'
9194 pgf77* | pgf90* | pgf95* | pgfortran*)
9195 # Portland Group f77 and f90 compilers
9196 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9197 tmp_addflag=' $pic_flag -Mnomain' ;;
9198 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9199 tmp_addflag=' -i_dynamic' ;;
9200 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9201 tmp_addflag=' -i_dynamic -nofor_main' ;;
9202 ifc* | ifort*) # Intel Fortran compiler
9203 tmp_addflag=' -nofor_main' ;;
9204 lf95*) # Lahey Fortran 8.1
9205 whole_archive_flag_spec=
9206 tmp_sharedflag='--shared' ;;
9207 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9208 tmp_sharedflag='-qmkshrobj'
9210 nvcc*) # Cuda Compiler Driver 2.2
9211 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9212 compiler_needs_object=yes
9215 case `$CC -V 2>&1 | sed 5q` in
9216 *Sun\ C*) # Sun C 5.9
9217 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9218 compiler_needs_object=yes
9219 tmp_sharedflag='-G' ;;
9220 *Sun\ F*) # Sun Fortran 8.3
9221 tmp_sharedflag='-G' ;;
9223 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9225 if test "x$supports_anon_versioning" = xyes; then
9226 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9227 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9228 echo "local: *; };" >> $output_objdir/$libname.ver~
9229 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9232 case $cc_basename in
9233 xlf* | bgf* | bgxlf* | mpixlf*)
9234 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9235 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9236 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9237 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9238 if test "x$supports_anon_versioning" = xyes; then
9239 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9240 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9241 echo "local: *; };" >> $output_objdir/$libname.ver~
9242 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9251 netbsd* | netbsdelf*-gnu)
9252 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9253 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9256 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9257 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9262 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9266 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9267 *** create shared libraries on Solaris systems. Therefore, libtool
9268 *** is disabling shared libraries support. We urge you to upgrade GNU
9269 *** binutils to release 2.9.1 or newer. Another option is to modify
9270 *** your PATH or compiler configuration so that the native linker is
9271 *** used, and then restart.
9274 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9275 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9276 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9282 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9283 case `$LD -v 2>&1` in
9284 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9288 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9289 *** reliably create shared libraries on SCO systems. Therefore, libtool
9290 *** is disabling shared libraries support. We urge you to upgrade GNU
9291 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9292 *** your PATH or compiler configuration so that the native linker is
9293 *** used, and then restart.
9298 # For security reasons, it is highly recommended that you always
9299 # use absolute paths for naming shared libraries, and exclude the
9300 # DT_RUNPATH tag from executables and libraries. But doing so
9301 # requires that you compile everything twice, which is a pain.
9302 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9303 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9304 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9305 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9314 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9317 hardcode_shlibpath_var=no
9321 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9322 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9323 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9330 if test "$ld_shlibs" = no; then
9332 hardcode_libdir_flag_spec=
9333 export_dynamic_flag_spec=
9334 whole_archive_flag_spec=
9337 # PORTME fill in a description of your system's linker (not GNU ld)
9340 allow_undefined_flag=unsupported
9341 always_export_symbols=yes
9342 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'
9343 # Note: this linker hardcodes the directories in LIBPATH if there
9344 # are no directories specified by -L.
9345 hardcode_minus_L=yes
9346 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9347 # Neither direct hardcoding nor static linking is supported with a
9349 hardcode_direct=unsupported
9354 if test "$host_cpu" = ia64; then
9355 # On IA64, the linker does run time linking by default, so we don't
9356 # have to do anything special.
9357 aix_use_runtimelinking=no
9358 exp_sym_flag='-Bexport'
9361 # If we're using GNU nm, then we don't want the "-C" option.
9362 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9363 # Also, AIX nm treats weak defined symbols like other global
9364 # defined symbols, whereas GNU nm marks them as "W".
9365 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9366 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9368 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'
9370 aix_use_runtimelinking=no
9372 # Test if we are trying to use run time linking or normal
9373 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9374 # need to do runtime linking.
9375 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9376 for ld_flag in $LDFLAGS; do
9377 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9378 aix_use_runtimelinking=yes
9385 exp_sym_flag='-bexport'
9386 no_entry_flag='-bnoentry'
9389 # When large executables or shared objects are built, AIX ld can
9390 # have problems creating the table of contents. If linking a library
9391 # or program results in "error TOC overflow" add -mminimal-toc to
9392 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9393 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9397 hardcode_direct_absolute=yes
9398 hardcode_libdir_separator=':'
9399 link_all_deplibs=yes
9400 file_list_spec='${wl}-f,'
9402 if test "$GCC" = yes; then
9403 case $host_os in aix4.[012]|aix4.[012].*)
9404 # We only want to do this on AIX 4.2 and lower, the check
9405 # below for broken collect2 doesn't work under 4.3+
9406 collect2name=`${CC} -print-prog-name=collect2`
9407 if test -f "$collect2name" &&
9408 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9410 # We have reworked collect2
9413 # We have old collect2
9414 hardcode_direct=unsupported
9415 # It fails to find uninstalled libraries when the uninstalled
9416 # path is not listed in the libpath. Setting hardcode_minus_L
9417 # to unsupported forces relinking
9418 hardcode_minus_L=yes
9419 hardcode_libdir_flag_spec='-L$libdir'
9420 hardcode_libdir_separator=
9424 shared_flag='-shared'
9425 if test "$aix_use_runtimelinking" = yes; then
9426 shared_flag="$shared_flag "'${wl}-G'
9431 if test "$host_cpu" = ia64; then
9432 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9433 # chokes on -Wl,-G. The following line is correct:
9436 if test "$aix_use_runtimelinking" = yes; then
9437 shared_flag='${wl}-G'
9439 shared_flag='${wl}-bM:SRE'
9444 export_dynamic_flag_spec='${wl}-bexpall'
9445 # It seems that -bexpall does not export symbols beginning with
9446 # underscore (_), so it is better to generate a list of symbols to export.
9447 always_export_symbols=yes
9448 if test "$aix_use_runtimelinking" = yes; then
9449 # Warning - without using the other runtime loading flags (-brtl),
9450 # -berok will link without error, but may produce a broken library.
9451 allow_undefined_flag='-berok'
9452 # Determine the default libpath from the value encoded in an
9454 if test "${lt_cv_aix_libpath+set}" = set; then
9455 aix_libpath=$lt_cv_aix_libpath
9457 if ${lt_cv_aix_libpath_+:} false; then :
9458 $as_echo_n "(cached) " >&6
9460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9461 /* end confdefs.h. */
9471 if ac_fn_c_try_link "$LINENO"; then :
9473 lt_aix_libpath_sed='
9474 /Import File Strings/,/^$/ {
9476 s/^0 *\([^ ]*\) *$/\1/
9480 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9481 # Check for a 64-bit object if we didn't find anything.
9482 if test -z "$lt_cv_aix_libpath_"; then
9483 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9486 rm -f core conftest.err conftest.$ac_objext \
9487 conftest$ac_exeext conftest.$ac_ext
9488 if test -z "$lt_cv_aix_libpath_"; then
9489 lt_cv_aix_libpath_="/usr/lib:/lib"
9494 aix_libpath=$lt_cv_aix_libpath_
9497 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9498 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9500 if test "$host_cpu" = ia64; then
9501 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9502 allow_undefined_flag="-z nodefs"
9503 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"
9505 # Determine the default libpath from the value encoded in an
9507 if test "${lt_cv_aix_libpath+set}" = set; then
9508 aix_libpath=$lt_cv_aix_libpath
9510 if ${lt_cv_aix_libpath_+:} false; then :
9511 $as_echo_n "(cached) " >&6
9513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h. */
9524 if ac_fn_c_try_link "$LINENO"; then :
9526 lt_aix_libpath_sed='
9527 /Import File Strings/,/^$/ {
9529 s/^0 *\([^ ]*\) *$/\1/
9533 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9534 # Check for a 64-bit object if we didn't find anything.
9535 if test -z "$lt_cv_aix_libpath_"; then
9536 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9539 rm -f core conftest.err conftest.$ac_objext \
9540 conftest$ac_exeext conftest.$ac_ext
9541 if test -z "$lt_cv_aix_libpath_"; then
9542 lt_cv_aix_libpath_="/usr/lib:/lib"
9547 aix_libpath=$lt_cv_aix_libpath_
9550 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9551 # Warning - without using the other run time loading flags,
9552 # -berok will link without error, but may produce a broken library.
9553 no_undefined_flag=' ${wl}-bernotok'
9554 allow_undefined_flag=' ${wl}-berok'
9555 if test "$with_gnu_ld" = yes; then
9556 # We only use this code for GNU lds that support --whole-archive.
9557 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9559 # Exported symbols can be pulled into shared objects from archives
9560 whole_archive_flag_spec='$convenience'
9562 archive_cmds_need_lc=yes
9563 # This is similar to how AIX traditionally builds its shared libraries.
9564 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'
9572 # see comment about AmigaOS4 .so support
9573 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9574 archive_expsym_cmds=''
9577 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)'
9578 hardcode_libdir_flag_spec='-L$libdir'
9579 hardcode_minus_L=yes
9585 export_dynamic_flag_spec=-rdynamic
9588 cygwin* | mingw* | pw32* | cegcc*)
9589 # When not using gcc, we currently assume that we are using
9590 # Microsoft Visual C++.
9591 # hardcode_libdir_flag_spec is actually meaningless, as there is
9592 # no search path for DLLs.
9593 case $cc_basename in
9596 hardcode_libdir_flag_spec=' '
9597 allow_undefined_flag=unsupported
9598 always_export_symbols=yes
9600 # Tell ltmain to make .lib files, not .a files.
9602 # Tell ltmain to make .dll files, not .so files.
9604 # FIXME: Setting linknames here is a bad hack.
9605 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9606 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9607 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9609 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9611 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9613 # The linker will not automatically build a static lib if we build a DLL.
9614 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9615 enable_shared_with_static_runtimes=yes
9616 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9617 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9619 old_postinstall_cmds='chmod 644 $oldlib'
9620 postlink_cmds='lt_outputfile="@OUTPUT@"~
9621 lt_tool_outputfile="@TOOL_OUTPUT@"~
9622 case $lt_outputfile in
9625 lt_outputfile="$lt_outputfile.exe"
9626 lt_tool_outputfile="$lt_tool_outputfile.exe"
9629 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9630 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9631 $RM "$lt_outputfile.manifest";
9635 # Assume MSVC wrapper
9636 hardcode_libdir_flag_spec=' '
9637 allow_undefined_flag=unsupported
9638 # Tell ltmain to make .lib files, not .a files.
9640 # Tell ltmain to make .dll files, not .so files.
9642 # FIXME: Setting linknames here is a bad hack.
9643 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9644 # The linker will automatically build a .lib file if we build a DLL.
9645 old_archive_from_new_cmds='true'
9646 # FIXME: Should let the user specify the lib program.
9647 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9648 enable_shared_with_static_runtimes=yes
9653 darwin* | rhapsody*)
9656 archive_cmds_need_lc=no
9658 hardcode_automatic=yes
9659 hardcode_shlibpath_var=unsupported
9660 if test "$lt_cv_ld_force_load" = "yes"; then
9661 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9664 whole_archive_flag_spec=''
9666 link_all_deplibs=yes
9667 allow_undefined_flag="$_lt_dar_allow_undefined"
9668 case $cc_basename in
9669 ifort*) _lt_dar_can_shared=yes ;;
9670 *) _lt_dar_can_shared=$GCC ;;
9672 if test "$_lt_dar_can_shared" = "yes"; then
9673 output_verbose_link_cmd=func_echo_all
9674 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9675 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9676 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}"
9677 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}"
9686 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9687 hardcode_libdir_flag_spec='-L$libdir'
9688 hardcode_shlibpath_var=no
9691 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9692 # support. Future versions do this automatically, but an explicit c++rt0.o
9693 # does not break anything, and helps significantly (at the cost of a little
9696 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9697 hardcode_libdir_flag_spec='-R$libdir'
9699 hardcode_shlibpath_var=no
9702 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9704 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9706 hardcode_minus_L=yes
9707 hardcode_shlibpath_var=no
9710 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9711 freebsd* | dragonfly*)
9712 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9713 hardcode_libdir_flag_spec='-R$libdir'
9715 hardcode_shlibpath_var=no
9719 if test "$GCC" = yes; then
9720 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9722 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'
9724 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9725 hardcode_libdir_separator=:
9728 # hardcode_minus_L: Not really in the search PATH,
9729 # but as the default location of the library.
9730 hardcode_minus_L=yes
9731 export_dynamic_flag_spec='${wl}-E'
9735 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9736 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9738 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9740 if test "$with_gnu_ld" = no; then
9741 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9742 hardcode_libdir_separator=:
9744 hardcode_direct_absolute=yes
9745 export_dynamic_flag_spec='${wl}-E'
9746 # hardcode_minus_L: Not really in the search PATH,
9747 # but as the default location of the library.
9748 hardcode_minus_L=yes
9753 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9756 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9759 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9762 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9768 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9771 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9775 # Older versions of the 11.00 compiler do not understand -b yet
9776 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9778 $as_echo_n "checking if $CC understands -b... " >&6; }
9779 if ${lt_cv_prog_compiler__b+:} false; then :
9780 $as_echo_n "(cached) " >&6
9782 lt_cv_prog_compiler__b=no
9783 save_LDFLAGS="$LDFLAGS"
9784 LDFLAGS="$LDFLAGS -b"
9785 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9786 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9787 # The linker can only warn and ignore the option if not recognized
9788 # So say no if there are warnings
9789 if test -s conftest.err; then
9790 # Append any errors to the config.log.
9791 cat conftest.err 1>&5
9792 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9793 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9794 if diff conftest.exp conftest.er2 >/dev/null; then
9795 lt_cv_prog_compiler__b=yes
9798 lt_cv_prog_compiler__b=yes
9802 LDFLAGS="$save_LDFLAGS"
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9806 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9808 if test x"$lt_cv_prog_compiler__b" = xyes; then
9809 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9811 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9817 if test "$with_gnu_ld" = no; then
9818 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9819 hardcode_libdir_separator=:
9824 hardcode_shlibpath_var=no
9828 hardcode_direct_absolute=yes
9829 export_dynamic_flag_spec='${wl}-E'
9831 # hardcode_minus_L: Not really in the search PATH,
9832 # but as the default location of the library.
9833 hardcode_minus_L=yes
9839 irix5* | irix6* | nonstopux*)
9840 if test "$GCC" = yes; then
9841 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9842 # Try to use the -exported_symbol ld option, if it does not
9843 # work, assume that -exports_file does not work either and
9844 # implicitly export all symbols.
9845 # This should be the same for all languages, so no per-tag cache variable.
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9847 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9848 if ${lt_cv_irix_exported_symbol+:} false; then :
9849 $as_echo_n "(cached) " >&6
9851 save_LDFLAGS="$LDFLAGS"
9852 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9855 int foo (void) { return 0; }
9857 if ac_fn_c_try_link "$LINENO"; then :
9858 lt_cv_irix_exported_symbol=yes
9860 lt_cv_irix_exported_symbol=no
9862 rm -f core conftest.err conftest.$ac_objext \
9863 conftest$ac_exeext conftest.$ac_ext
9864 LDFLAGS="$save_LDFLAGS"
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9867 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9868 if test "$lt_cv_irix_exported_symbol" = yes; then
9869 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9872 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9873 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9875 archive_cmds_need_lc='no'
9876 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9877 hardcode_libdir_separator=:
9879 link_all_deplibs=yes
9882 netbsd* | netbsdelf*-gnu)
9883 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9884 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9886 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9888 hardcode_libdir_flag_spec='-R$libdir'
9890 hardcode_shlibpath_var=no
9894 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9896 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9897 hardcode_libdir_separator=:
9898 hardcode_shlibpath_var=no
9905 if test -f /usr/libexec/ld.so; then
9907 hardcode_shlibpath_var=no
9908 hardcode_direct_absolute=yes
9909 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9910 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9911 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9912 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9913 export_dynamic_flag_spec='${wl}-E'
9916 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9917 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9918 hardcode_libdir_flag_spec='-R$libdir'
9921 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9922 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9932 hardcode_libdir_flag_spec='-L$libdir'
9933 hardcode_minus_L=yes
9934 allow_undefined_flag=unsupported
9935 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'
9936 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9940 if test "$GCC" = yes; then
9941 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9942 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9944 allow_undefined_flag=' -expect_unresolved \*'
9945 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9947 archive_cmds_need_lc='no'
9948 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9949 hardcode_libdir_separator=:
9952 osf4* | osf5*) # as osf3* with the addition of -msym flag
9953 if test "$GCC" = yes; then
9954 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9955 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9956 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9958 allow_undefined_flag=' -expect_unresolved \*'
9959 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9960 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~
9961 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9963 # Both c and cxx compiler support -rpath directly
9964 hardcode_libdir_flag_spec='-rpath $libdir'
9966 archive_cmds_need_lc='no'
9967 hardcode_libdir_separator=:
9971 no_undefined_flag=' -z defs'
9972 if test "$GCC" = yes; then
9974 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9975 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9976 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9978 case `$CC -V 2>&1` in
9981 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9982 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9983 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9987 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9988 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9989 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9993 hardcode_libdir_flag_spec='-R$libdir'
9994 hardcode_shlibpath_var=no
9996 solaris2.[0-5] | solaris2.[0-5].*) ;;
9998 # The compiler driver will combine and reorder linker options,
9999 # but understands `-z linker_flag'. GCC discards it without `$wl',
10000 # but is careful enough not to reorder.
10001 # Supported since Solaris 2.6 (maybe 2.5.1?)
10002 if test "$GCC" = yes; then
10003 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10005 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10009 link_all_deplibs=yes
10013 if test "x$host_vendor" = xsequent; then
10014 # Use $CC to link under sequent, because it throws in some extra .o
10015 # files that make .init and .fini sections work.
10016 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10018 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10020 hardcode_libdir_flag_spec='-L$libdir'
10021 hardcode_direct=yes
10022 hardcode_minus_L=yes
10023 hardcode_shlibpath_var=no
10027 case $host_vendor in
10029 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10030 hardcode_direct=yes # is this really true???
10033 ## LD is ld it makes a PLAMLIB
10034 ## CC just makes a GrossModule.
10035 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10036 reload_cmds='$CC -r -o $output$reload_objs'
10040 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10041 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10044 runpath_var='LD_RUN_PATH'
10045 hardcode_shlibpath_var=no
10049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050 hardcode_shlibpath_var=no
10051 export_dynamic_flag_spec='-Bexport'
10055 if test -d /usr/nec; then
10056 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10057 hardcode_shlibpath_var=no
10058 runpath_var=LD_RUN_PATH
10059 hardcode_runpath_var=yes
10064 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10065 no_undefined_flag='${wl}-z,text'
10066 archive_cmds_need_lc=no
10067 hardcode_shlibpath_var=no
10068 runpath_var='LD_RUN_PATH'
10070 if test "$GCC" = yes; then
10071 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10074 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10075 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10079 sysv5* | sco3.2v5* | sco5v6*)
10080 # Note: We can NOT use -z defs as we might desire, because we do not
10081 # link with -lc, and that would cause any symbols used from libc to
10082 # always be unresolved, which means just about no library would
10083 # ever link correctly. If we're not using GNU ld we use -z text
10084 # though, which does catch some bad symbols but isn't as heavy-handed
10086 no_undefined_flag='${wl}-z,text'
10087 allow_undefined_flag='${wl}-z,nodefs'
10088 archive_cmds_need_lc=no
10089 hardcode_shlibpath_var=no
10090 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10091 hardcode_libdir_separator=':'
10092 link_all_deplibs=yes
10093 export_dynamic_flag_spec='${wl}-Bexport'
10094 runpath_var='LD_RUN_PATH'
10096 if test "$GCC" = yes; then
10097 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10098 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10100 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10101 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10106 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10107 hardcode_libdir_flag_spec='-L$libdir'
10108 hardcode_shlibpath_var=no
10116 if test x$host_vendor = xsni; then
10118 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10119 export_dynamic_flag_spec='${wl}-Blargedynsym'
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10126 $as_echo "$ld_shlibs" >&6; }
10127 test "$ld_shlibs" = no && can_build_shared=no
10129 with_gnu_ld=$with_gnu_ld
10146 # Do we need to explicitly link libc?
10148 case "x$archive_cmds_need_lc" in
10150 # Assume -lc should be added
10151 archive_cmds_need_lc=yes
10153 if test "$enable_shared" = yes && test "$GCC" = yes; then
10154 case $archive_cmds in
10156 # FIXME: we may have to deal with multi-command sequences.
10159 # Test whether the compiler implicitly links with -lc since on some
10160 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10161 # to ld, don't add -lc before -lgcc.
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10163 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10164 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10165 $as_echo_n "(cached) " >&6
10168 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10170 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10171 (eval $ac_compile) 2>&5
10173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10174 test $ac_status = 0; } 2>conftest.err; then
10177 libobjs=conftest.$ac_objext
10179 wl=$lt_prog_compiler_wl
10180 pic_flag=$lt_prog_compiler_pic
10186 lt_save_allow_undefined_flag=$allow_undefined_flag
10187 allow_undefined_flag=
10188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10189 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10192 test $ac_status = 0; }
10194 lt_cv_archive_cmds_need_lc=no
10196 lt_cv_archive_cmds_need_lc=yes
10198 allow_undefined_flag=$lt_save_allow_undefined_flag
10200 cat conftest.err 1>&5
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10206 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10207 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10366 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10368 if test "$GCC" = yes; then
10370 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10371 *) lt_awk_arg="/^libraries:/" ;;
10374 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10375 *) lt_sed_strip_eq="s,=/,/,g" ;;
10377 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10378 case $lt_search_path_spec in
10380 # if the path contains ";" then we assume it to be the separator
10381 # otherwise default to the standard path separator (i.e. ":") - it is
10382 # assumed that no part of a normal pathname contains ";" but that should
10383 # okay in the real world where ";" in dirpaths is itself problematic.
10384 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10387 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10390 # Ok, now we have the path, separated by spaces, we can step through it
10391 # and add multilib dir if necessary.
10392 lt_tmp_lt_search_path_spec=
10393 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10394 for lt_sys_path in $lt_search_path_spec; do
10395 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10396 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10398 test -d "$lt_sys_path" && \
10399 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10402 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10403 BEGIN {RS=" "; FS="/|\n";} {
10406 for (lt_i = NF; lt_i > 0; lt_i--) {
10407 if ($lt_i != "" && $lt_i != ".") {
10408 if ($lt_i == "..") {
10411 if (lt_count == 0) {
10412 lt_foo="/" $lt_i lt_foo;
10419 if (lt_foo != "") { lt_freq[lt_foo]++; }
10420 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10422 # AWK program above erroneously prepends '/' to C:/dos/paths
10425 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10426 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10428 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10430 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10432 library_names_spec=
10433 libname_spec='lib$name'
10437 postuninstall_cmds=
10441 shlibpath_overrides_runpath=unknown
10443 dynamic_linker="$host_os ld.so"
10444 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10445 need_lib_prefix=unknown
10446 hardcode_into_libs=no
10448 # when you set need_version to no, make sure it does not cause -set_version
10449 # flags to be left without arguments
10450 need_version=unknown
10454 version_type=linux # correct to gnu/linux during the next big refactor
10455 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10456 shlibpath_var=LIBPATH
10458 # AIX 3 has no versioning support, so we append a major version to the name.
10459 soname_spec='${libname}${release}${shared_ext}$major'
10463 version_type=linux # correct to gnu/linux during the next big refactor
10466 hardcode_into_libs=yes
10467 if test "$host_cpu" = ia64; then
10468 # AIX 5 supports IA64
10469 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10470 shlibpath_var=LD_LIBRARY_PATH
10472 # With GCC up to 2.95.x, collect2 would create an import file
10473 # for dependence libraries. The import file would start with
10474 # the line `#! .'. This would cause the generated library to
10475 # depend on `.', always an invalid library. This was fixed in
10476 # development snapshots of GCC prior to 3.0.
10478 aix4 | aix4.[01] | aix4.[01].*)
10479 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10481 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10484 can_build_shared=no
10488 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10489 # soname into executable. Probably we can add versioning support to
10490 # collect2, so additional links can be useful in future.
10491 if test "$aix_use_runtimelinking" = yes; then
10492 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10493 # instead of lib<name>.a to let people know that these are not
10494 # typical AIX shared libraries.
10495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10497 # We preserve .a as extension for shared libraries through AIX4.2
10498 # and later when we are not doing run time linking.
10499 library_names_spec='${libname}${release}.a $libname.a'
10500 soname_spec='${libname}${release}${shared_ext}$major'
10502 shlibpath_var=LIBPATH
10509 # Since July 2007 AmigaOS4 officially supports .so libraries.
10510 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10514 library_names_spec='$libname.ixlibrary $libname.a'
10515 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10516 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10522 library_names_spec='${libname}${shared_ext}'
10523 dynamic_linker="$host_os ld.so"
10524 shlibpath_var=LIBRARY_PATH
10528 version_type=linux # correct to gnu/linux during the next big refactor
10530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10531 soname_spec='${libname}${release}${shared_ext}$major'
10532 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10533 shlibpath_var=LD_LIBRARY_PATH
10534 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10535 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10536 # the default ld.so.conf also contains /usr/contrib/lib and
10537 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10538 # libtool to hard-code these into programs
10541 cygwin* | mingw* | pw32* | cegcc*)
10542 version_type=windows
10547 case $GCC,$cc_basename in
10550 library_names_spec='$libname.dll.a'
10551 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10552 postinstall_cmds='base_file=`basename \${file}`~
10553 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10554 dldir=$destdir/`dirname \$dlpath`~
10555 test -d \$dldir || mkdir -p \$dldir~
10556 $install_prog $dir/$dlname \$dldir/$dlname~
10557 chmod a+x \$dldir/$dlname~
10558 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10559 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10561 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10562 dlpath=$dir/\$dldll~
10564 shlibpath_overrides_runpath=yes
10568 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10569 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10571 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10574 # MinGW DLLs use traditional 'lib' prefix
10575 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10578 # pw32 DLLs use 'pw' prefix rather than 'lib'
10579 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10582 dynamic_linker='Win32 ld.exe'
10587 libname_spec='$name'
10588 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10589 library_names_spec='${libname}.dll.lib'
10593 sys_lib_search_path_spec=
10596 for lt_path in $LIB
10599 # Let DOS variable expansion print the short 8.3 style file name.
10600 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10601 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10604 # Convert to MSYS style.
10605 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10608 # Convert to unix form, then to dos form, then back to unix form
10609 # but this time dos style (no spaces!) so that the unix form looks
10610 # like /cygdrive/c/PROGRA~1:/cygdr...
10611 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10612 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10613 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10616 sys_lib_search_path_spec="$LIB"
10617 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10618 # It is most probably a Windows format PATH.
10619 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10621 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10623 # FIXME: find the short name or the path components, as spaces are
10624 # common. (e.g. "Program Files" -> "PROGRA~1")
10628 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10629 postinstall_cmds='base_file=`basename \${file}`~
10630 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10631 dldir=$destdir/`dirname \$dlpath`~
10632 test -d \$dldir || mkdir -p \$dldir~
10633 $install_prog $dir/$dlname \$dldir/$dlname'
10634 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10635 dlpath=$dir/\$dldll~
10637 shlibpath_overrides_runpath=yes
10638 dynamic_linker='Win32 link.exe'
10642 # Assume MSVC wrapper
10643 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10644 dynamic_linker='Win32 ld.exe'
10647 # FIXME: first we should search . and the directory the executable is in
10651 darwin* | rhapsody*)
10652 dynamic_linker="$host_os dyld"
10653 version_type=darwin
10656 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10657 soname_spec='${libname}${release}${major}$shared_ext'
10658 shlibpath_overrides_runpath=yes
10659 shlibpath_var=DYLD_LIBRARY_PATH
10660 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10662 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10663 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10667 version_type=linux # correct to gnu/linux during the next big refactor
10670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10671 soname_spec='${libname}${release}${shared_ext}$major'
10672 shlibpath_var=LD_LIBRARY_PATH
10675 freebsd* | dragonfly*)
10676 # DragonFly does not have aout. When/if they implement a new
10677 # versioning mechanism, adjust this.
10678 if test -x /usr/bin/objformat; then
10679 objformat=`/usr/bin/objformat`
10682 freebsd[23].*) objformat=aout ;;
10683 *) objformat=elf ;;
10686 version_type=freebsd-$objformat
10687 case $version_type in
10689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10694 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10698 shlibpath_var=LD_LIBRARY_PATH
10701 shlibpath_overrides_runpath=yes
10703 freebsd3.[01]* | freebsdelf3.[01]*)
10704 shlibpath_overrides_runpath=yes
10705 hardcode_into_libs=yes
10707 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10708 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10709 shlibpath_overrides_runpath=no
10710 hardcode_into_libs=yes
10712 *) # from 4.6 on, and DragonFly
10713 shlibpath_overrides_runpath=yes
10714 hardcode_into_libs=yes
10720 version_type=linux # correct to gnu/linux during the next big refactor
10723 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10724 soname_spec='${libname}${release}${shared_ext}$major'
10725 shlibpath_var=LD_LIBRARY_PATH
10726 shlibpath_overrides_runpath=no
10727 hardcode_into_libs=yes
10731 version_type=linux # correct to gnu/linux during the next big refactor
10734 dynamic_linker="$host_os runtime_loader"
10735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10736 soname_spec='${libname}${release}${shared_ext}$major'
10737 shlibpath_var=LIBRARY_PATH
10738 shlibpath_overrides_runpath=yes
10739 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10740 hardcode_into_libs=yes
10743 hpux9* | hpux10* | hpux11*)
10744 # Give a soname corresponding to the major version so that dld.sl refuses to
10745 # link against other versions.
10752 hardcode_into_libs=yes
10753 dynamic_linker="$host_os dld.so"
10754 shlibpath_var=LD_LIBRARY_PATH
10755 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10757 soname_spec='${libname}${release}${shared_ext}$major'
10758 if test "X$HPUX_IA64_MODE" = X32; then
10759 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10761 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10763 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10767 hardcode_into_libs=yes
10768 dynamic_linker="$host_os dld.sl"
10769 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10770 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10772 soname_spec='${libname}${release}${shared_ext}$major'
10773 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10774 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10778 dynamic_linker="$host_os dld.sl"
10779 shlibpath_var=SHLIB_PATH
10780 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10782 soname_spec='${libname}${release}${shared_ext}$major'
10785 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10786 postinstall_cmds='chmod 555 $lib'
10787 # or fails outright, so override atomically:
10788 install_override_mode=555
10792 version_type=linux # correct to gnu/linux during the next big refactor
10795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10796 soname_spec='${libname}${release}${shared_ext}$major'
10797 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10798 shlibpath_var=LD_LIBRARY_PATH
10799 shlibpath_overrides_runpath=no
10800 hardcode_into_libs=yes
10803 irix5* | irix6* | nonstopux*)
10805 nonstopux*) version_type=nonstopux ;;
10807 if test "$lt_cv_prog_gnu_ld" = yes; then
10808 version_type=linux # correct to gnu/linux during the next big refactor
10815 soname_spec='${libname}${release}${shared_ext}$major'
10816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10818 irix5* | nonstopux*)
10819 libsuff= shlibsuff=
10822 case $LD in # libtool.m4 will add one of these switches to LD
10823 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10824 libsuff= shlibsuff= libmagic=32-bit;;
10825 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10826 libsuff=32 shlibsuff=N32 libmagic=N32;;
10827 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10828 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10829 *) libsuff= shlibsuff= libmagic=never-match;;
10833 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10834 shlibpath_overrides_runpath=no
10835 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10836 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10837 hardcode_into_libs=yes
10840 # No shared lib support for Linux oldld, aout, or coff.
10841 linux*oldld* | linux*aout* | linux*coff*)
10845 # This must be glibc/ELF.
10846 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10847 version_type=linux # correct to gnu/linux during the next big refactor
10850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851 soname_spec='${libname}${release}${shared_ext}$major'
10852 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10853 shlibpath_var=LD_LIBRARY_PATH
10854 shlibpath_overrides_runpath=no
10856 # Some binutils ld are patched to set DT_RUNPATH
10857 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10858 $as_echo_n "(cached) " >&6
10860 lt_cv_shlibpath_overrides_runpath=no
10861 save_LDFLAGS=$LDFLAGS
10862 save_libdir=$libdir
10863 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10864 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h. */
10876 if ac_fn_c_try_link "$LINENO"; then :
10877 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10878 lt_cv_shlibpath_overrides_runpath=yes
10881 rm -f core conftest.err conftest.$ac_objext \
10882 conftest$ac_exeext conftest.$ac_ext
10883 LDFLAGS=$save_LDFLAGS
10884 libdir=$save_libdir
10888 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10890 # This implies no fast_install, which is unacceptable.
10891 # Some rework will be needed to allow for fast_install
10892 # before this can be enabled.
10893 hardcode_into_libs=yes
10895 # Append ld.so.conf contents to the search path
10896 if test -f /etc/ld.so.conf; then
10897 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10898 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10901 # We used to test for /lib/ld.so.1 and disable shared libraries on
10902 # powerpc, because MkLinux only supported shared libraries with the
10903 # GNU dynamic linker. Since this was broken with cross compilers,
10904 # most powerpc-linux boxes support dynamic linking these days and
10905 # people can always --disable-shared, the test was removed, and we
10906 # assume the GNU/Linux dynamic linker is in use.
10907 dynamic_linker='GNU/Linux ld.so'
10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10915 soname_spec='${libname}${release}${shared_ext}$major'
10916 shlibpath_var=LD_LIBRARY_PATH
10917 shlibpath_overrides_runpath=no
10918 hardcode_into_libs=yes
10919 dynamic_linker='NetBSD ld.elf_so'
10926 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10927 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10928 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10929 dynamic_linker='NetBSD (a.out) ld.so'
10931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10932 soname_spec='${libname}${release}${shared_ext}$major'
10933 dynamic_linker='NetBSD ld.elf_so'
10935 shlibpath_var=LD_LIBRARY_PATH
10936 shlibpath_overrides_runpath=yes
10937 hardcode_into_libs=yes
10941 version_type=linux # correct to gnu/linux during the next big refactor
10942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10943 shlibpath_var=LD_LIBRARY_PATH
10944 shlibpath_overrides_runpath=yes
10951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10952 soname_spec='${libname}${release}${shared_ext}$major'
10953 shlibpath_var=LD_LIBRARY_PATH
10954 shlibpath_overrides_runpath=no
10955 hardcode_into_libs=yes
10956 dynamic_linker='ldqnx.so'
10961 sys_lib_dlsearch_path_spec="/usr/lib"
10963 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10965 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10966 *) need_version=no ;;
10968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10969 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10970 shlibpath_var=LD_LIBRARY_PATH
10971 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10973 openbsd2.[89] | openbsd2.[89].*)
10974 shlibpath_overrides_runpath=no
10977 shlibpath_overrides_runpath=yes
10981 shlibpath_overrides_runpath=yes
10986 libname_spec='$name'
10989 library_names_spec='$libname${shared_ext} $libname.a'
10990 dynamic_linker='OS/2 ld.exe'
10991 shlibpath_var=LIBPATH
10994 osf3* | osf4* | osf5*)
10998 soname_spec='${libname}${release}${shared_ext}$major'
10999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11000 shlibpath_var=LD_LIBRARY_PATH
11001 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11002 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11010 version_type=linux # correct to gnu/linux during the next big refactor
11013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11014 soname_spec='${libname}${release}${shared_ext}$major'
11015 shlibpath_var=LD_LIBRARY_PATH
11016 shlibpath_overrides_runpath=yes
11017 hardcode_into_libs=yes
11018 # ldd complains unless libraries are executable
11019 postinstall_cmds='chmod +x $lib'
11024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11025 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11026 shlibpath_var=LD_LIBRARY_PATH
11027 shlibpath_overrides_runpath=yes
11028 if test "$with_gnu_ld" = yes; then
11035 version_type=linux # correct to gnu/linux during the next big refactor
11036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11037 soname_spec='${libname}${release}${shared_ext}$major'
11038 shlibpath_var=LD_LIBRARY_PATH
11039 case $host_vendor in
11041 shlibpath_overrides_runpath=no
11043 runpath_var=LD_RUN_PATH
11051 shlibpath_overrides_runpath=no
11052 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11058 if test -d /usr/nec ;then
11059 version_type=linux # correct to gnu/linux during the next big refactor
11060 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11061 soname_spec='$libname${shared_ext}.$major'
11062 shlibpath_var=LD_LIBRARY_PATH
11066 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11067 version_type=freebsd-elf
11070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11071 soname_spec='${libname}${release}${shared_ext}$major'
11072 shlibpath_var=LD_LIBRARY_PATH
11073 shlibpath_overrides_runpath=yes
11074 hardcode_into_libs=yes
11075 if test "$with_gnu_ld" = yes; then
11076 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11078 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11081 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11085 sys_lib_dlsearch_path_spec='/usr/lib'
11089 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11090 version_type=linux # correct to gnu/linux during the next big refactor
11093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11094 shlibpath_var=LD_LIBRARY_PATH
11095 shlibpath_overrides_runpath=no
11096 hardcode_into_libs=yes
11100 version_type=linux # correct to gnu/linux during the next big refactor
11101 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11102 soname_spec='${libname}${release}${shared_ext}$major'
11103 shlibpath_var=LD_LIBRARY_PATH
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11111 $as_echo "$dynamic_linker" >&6; }
11112 test "$dynamic_linker" = no && can_build_shared=no
11114 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11115 if test "$GCC" = yes; then
11116 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11119 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11120 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11122 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11123 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11218 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11220 if test -n "$hardcode_libdir_flag_spec" ||
11221 test -n "$runpath_var" ||
11222 test "X$hardcode_automatic" = "Xyes" ; then
11224 # We can hardcode non-existent directories.
11225 if test "$hardcode_direct" != no &&
11226 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11227 # have to relink, otherwise we might link with an installed library
11228 # when we should be linking with a yet-to-be-installed one
11229 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11230 test "$hardcode_minus_L" != no; then
11231 # Linking always hardcodes the temporary library directory.
11232 hardcode_action=relink
11234 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11235 hardcode_action=immediate
11238 # We cannot hardcode anything, or else we can only hardcode existing
11240 hardcode_action=unsupported
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11243 $as_echo "$hardcode_action" >&6; }
11245 if test "$hardcode_action" = relink ||
11246 test "$inherit_rpath" = yes; then
11247 # Fast installation is not supported
11248 enable_fast_install=no
11249 elif test "$shlibpath_overrides_runpath" = yes ||
11250 test "$enable_shared" = no; then
11251 # Fast installation is not necessary
11252 enable_fast_install=needless
11260 if test "x$enable_dlopen" != xyes; then
11261 enable_dlopen=unknown
11262 enable_dlopen_self=unknown
11263 enable_dlopen_self_static=unknown
11270 lt_cv_dlopen="load_add_on"
11272 lt_cv_dlopen_self=yes
11275 mingw* | pw32* | cegcc*)
11276 lt_cv_dlopen="LoadLibrary"
11281 lt_cv_dlopen="dlopen"
11286 # if libdl is installed we need to link against it
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11288 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11289 if ${ac_cv_lib_dl_dlopen+:} false; then :
11290 $as_echo_n "(cached) " >&6
11292 ac_check_lib_save_LIBS=$LIBS
11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h. */
11297 /* Override any GCC internal prototype to avoid an error.
11298 Use char because int might match the return type of a GCC
11299 builtin and then its argument prototype would still apply. */
11312 if ac_fn_c_try_link "$LINENO"; then :
11313 ac_cv_lib_dl_dlopen=yes
11315 ac_cv_lib_dl_dlopen=no
11317 rm -f core conftest.err conftest.$ac_objext \
11318 conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_lib_save_LIBS
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11322 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11323 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11324 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11327 lt_cv_dlopen="dyld"
11329 lt_cv_dlopen_self=yes
11336 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11337 if test "x$ac_cv_func_shl_load" = xyes; then :
11338 lt_cv_dlopen="shl_load"
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11341 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11342 if ${ac_cv_lib_dld_shl_load+:} false; then :
11343 $as_echo_n "(cached) " >&6
11345 ac_check_lib_save_LIBS=$LIBS
11347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11348 /* end confdefs.h. */
11350 /* Override any GCC internal prototype to avoid an error.
11351 Use char because int might match the return type of a GCC
11352 builtin and then its argument prototype would still apply. */
11360 return shl_load ();
11365 if ac_fn_c_try_link "$LINENO"; then :
11366 ac_cv_lib_dld_shl_load=yes
11368 ac_cv_lib_dld_shl_load=no
11370 rm -f core conftest.err conftest.$ac_objext \
11371 conftest$ac_exeext conftest.$ac_ext
11372 LIBS=$ac_check_lib_save_LIBS
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11375 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11376 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11377 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11379 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11380 if test "x$ac_cv_func_dlopen" = xyes; then :
11381 lt_cv_dlopen="dlopen"
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11384 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11385 if ${ac_cv_lib_dl_dlopen+:} false; then :
11386 $as_echo_n "(cached) " >&6
11388 ac_check_lib_save_LIBS=$LIBS
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11408 if ac_fn_c_try_link "$LINENO"; then :
11409 ac_cv_lib_dl_dlopen=yes
11411 ac_cv_lib_dl_dlopen=no
11413 rm -f core conftest.err conftest.$ac_objext \
11414 conftest$ac_exeext conftest.$ac_ext
11415 LIBS=$ac_check_lib_save_LIBS
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11418 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11419 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11420 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11423 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11424 if ${ac_cv_lib_svld_dlopen+:} false; then :
11425 $as_echo_n "(cached) " >&6
11427 ac_check_lib_save_LIBS=$LIBS
11428 LIBS="-lsvld $LIBS"
11429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11430 /* end confdefs.h. */
11432 /* Override any GCC internal prototype to avoid an error.
11433 Use char because int might match the return type of a GCC
11434 builtin and then its argument prototype would still apply. */
11447 if ac_fn_c_try_link "$LINENO"; then :
11448 ac_cv_lib_svld_dlopen=yes
11450 ac_cv_lib_svld_dlopen=no
11452 rm -f core conftest.err conftest.$ac_objext \
11453 conftest$ac_exeext conftest.$ac_ext
11454 LIBS=$ac_check_lib_save_LIBS
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11457 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11458 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11459 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11462 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11463 if ${ac_cv_lib_dld_dld_link+:} false; then :
11464 $as_echo_n "(cached) " >&6
11466 ac_check_lib_save_LIBS=$LIBS
11468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11469 /* end confdefs.h. */
11471 /* Override any GCC internal prototype to avoid an error.
11472 Use char because int might match the return type of a GCC
11473 builtin and then its argument prototype would still apply. */
11481 return dld_link ();
11486 if ac_fn_c_try_link "$LINENO"; then :
11487 ac_cv_lib_dld_dld_link=yes
11489 ac_cv_lib_dld_dld_link=no
11491 rm -f core conftest.err conftest.$ac_objext \
11492 conftest$ac_exeext conftest.$ac_ext
11493 LIBS=$ac_check_lib_save_LIBS
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11496 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11497 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11498 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11519 if test "x$lt_cv_dlopen" != xno; then
11525 case $lt_cv_dlopen in
11527 save_CPPFLAGS="$CPPFLAGS"
11528 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11530 save_LDFLAGS="$LDFLAGS"
11531 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11534 LIBS="$lt_cv_dlopen_libs $LIBS"
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11537 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11538 if ${lt_cv_dlopen_self+:} false; then :
11539 $as_echo_n "(cached) " >&6
11541 if test "$cross_compiling" = yes; then :
11542 lt_cv_dlopen_self=cross
11544 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11545 lt_status=$lt_dlunknown
11546 cat > conftest.$ac_ext <<_LT_EOF
11547 #line $LINENO "configure"
11548 #include "confdefs.h"
11557 # define LT_DLGLOBAL RTLD_GLOBAL
11560 # define LT_DLGLOBAL DL_GLOBAL
11562 # define LT_DLGLOBAL 0
11566 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11567 find out it does not work in some platform. */
11568 #ifndef LT_DLLAZY_OR_NOW
11570 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11573 # define LT_DLLAZY_OR_NOW DL_LAZY
11576 # define LT_DLLAZY_OR_NOW RTLD_NOW
11579 # define LT_DLLAZY_OR_NOW DL_NOW
11581 # define LT_DLLAZY_OR_NOW 0
11588 /* When -fvisbility=hidden is used, assume the code has been annotated
11589 correspondingly for the symbols needed. */
11590 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11591 int fnord () __attribute__((visibility("default")));
11594 int fnord () { return 42; }
11597 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11598 int status = $lt_dlunknown;
11602 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11605 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11606 else puts (dlerror ());
11608 /* dlclose (self); */
11616 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11617 (eval $ac_link) 2>&5
11619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11620 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11621 (./conftest; exit; ) >&5 2>/dev/null
11623 case x$lt_status in
11624 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11625 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11626 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11629 # compilation failed
11630 lt_cv_dlopen_self=no
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11638 $as_echo "$lt_cv_dlopen_self" >&6; }
11640 if test "x$lt_cv_dlopen_self" = xyes; then
11641 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11643 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11644 if ${lt_cv_dlopen_self_static+:} false; then :
11645 $as_echo_n "(cached) " >&6
11647 if test "$cross_compiling" = yes; then :
11648 lt_cv_dlopen_self_static=cross
11650 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11651 lt_status=$lt_dlunknown
11652 cat > conftest.$ac_ext <<_LT_EOF
11653 #line $LINENO "configure"
11654 #include "confdefs.h"
11663 # define LT_DLGLOBAL RTLD_GLOBAL
11666 # define LT_DLGLOBAL DL_GLOBAL
11668 # define LT_DLGLOBAL 0
11672 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11673 find out it does not work in some platform. */
11674 #ifndef LT_DLLAZY_OR_NOW
11676 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11679 # define LT_DLLAZY_OR_NOW DL_LAZY
11682 # define LT_DLLAZY_OR_NOW RTLD_NOW
11685 # define LT_DLLAZY_OR_NOW DL_NOW
11687 # define LT_DLLAZY_OR_NOW 0
11694 /* When -fvisbility=hidden is used, assume the code has been annotated
11695 correspondingly for the symbols needed. */
11696 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11697 int fnord () __attribute__((visibility("default")));
11700 int fnord () { return 42; }
11703 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11704 int status = $lt_dlunknown;
11708 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11711 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11712 else puts (dlerror ());
11714 /* dlclose (self); */
11722 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11723 (eval $ac_link) 2>&5
11725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11726 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11727 (./conftest; exit; ) >&5 2>/dev/null
11729 case x$lt_status in
11730 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11731 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11732 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11735 # compilation failed
11736 lt_cv_dlopen_self_static=no
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11744 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11747 CPPFLAGS="$save_CPPFLAGS"
11748 LDFLAGS="$save_LDFLAGS"
11753 case $lt_cv_dlopen_self in
11754 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11755 *) enable_dlopen_self=unknown ;;
11758 case $lt_cv_dlopen_self_static in
11759 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11760 *) enable_dlopen_self_static=unknown ;;
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11783 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11784 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11785 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11786 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11788 $as_echo "yes" >&6; }
11790 # FIXME - insert some real tests, host_os isn't really good enough
11793 if test -n "$STRIP" ; then
11794 striplib="$STRIP -x"
11795 old_striplib="$STRIP -S"
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11797 $as_echo "yes" >&6; }
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11800 $as_echo "no" >&6; }
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11805 $as_echo "no" >&6; }
11821 # Report which library types will actually be built
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11823 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11825 $as_echo "$can_build_shared" >&6; }
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11828 $as_echo_n "checking whether to build shared libraries... " >&6; }
11829 test "$can_build_shared" = "no" && enable_shared=no
11831 # On AIX, shared libraries and static libraries use the same namespace, and
11832 # are all built from PIC.
11835 test "$enable_shared" = yes && enable_static=no
11836 if test -n "$RANLIB"; then
11837 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11838 postinstall_cmds='$RANLIB $lib'
11843 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11844 test "$enable_shared" = yes && enable_static=no
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11849 $as_echo "$enable_shared" >&6; }
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11852 $as_echo_n "checking whether to build static libraries... " >&6; }
11853 # Make sure either enable_shared or enable_static is yes.
11854 test "$enable_shared" = yes || enable_static=yes
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11856 $as_echo "$enable_static" >&6; }
11863 ac_cpp='$CPP $CPPFLAGS'
11864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11884 ac_config_commands="$ac_config_commands libtool"
11889 # Only expand once:
11893 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11894 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11898 cat >>confdefs.h <<_ACEOF
11903 cat >>confdefs.h <<_ACEOF
11908 cat >>confdefs.h <<_ACEOF
11913 cat >>confdefs.h <<_ACEOF
11917 version_info="8:3:7"
11918 release_info="-release ver-pre-svn-07"
11921 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11922 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11930 want_gstreamer="yes"
11932 want_generic_vlc="no"
11936 want_gstreamer="yes"
11937 want_generic_vlc="yes"
11941 requirement_emotion=""
11943 ### Additional options to configure
11948 have_emotion_test="yes"
11951 # Check whether --enable-emotion-test was given.
11952 if test "${enable_emotion_test+set}" = set; then :
11953 enableval=$enable_emotion_test;
11954 if test "x${enableval}" = "xyes" ; then
11955 have_emotion_test="yes"
11957 have_emotion_test="no"
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build emotion_test binary" >&5
11964 $as_echo_n "checking whether to build emotion_test binary... " >&6; }
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_emotion_test" >&5
11966 $as_echo "$have_emotion_test" >&6; }
11968 if test "x$have_emotion_test" = "xyes"; then
11969 EMOTION_TEST_PRG=emotion_test${EXEEXT}
11974 if test "x$have_emotion_test" = "xyes"; then
11975 BUILD_EMOTION_TEST_TRUE=
11976 BUILD_EMOTION_TEST_FALSE='#'
11978 BUILD_EMOTION_TEST_TRUE='#'
11979 BUILD_EMOTION_TEST_FALSE=
11983 if test "x$have_emotion_test" = "xyes"; then :
11992 # Check whether --with-edje-cc was given.
11993 if test "${with_edje_cc+set}" = set; then :
11994 withval=$with_edje_cc;
11997 echo " Enlightenment edje_cc explicitly set to "$edje_cc;
12000 edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
12006 ### Checks for programs
12008 ac_cpp='$CPP $CPPFLAGS'
12009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12012 if test -n "$ac_tool_prefix"; then
12013 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12014 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12016 $as_echo_n "checking for $ac_word... " >&6; }
12017 if ${ac_cv_prog_CC+:} false; then :
12018 $as_echo_n "(cached) " >&6
12020 if test -n "$CC"; then
12021 ac_cv_prog_CC="$CC" # Let the user override the test.
12023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12024 for as_dir in $PATH
12027 test -z "$as_dir" && as_dir=.
12028 for ac_exec_ext in '' $ac_executable_extensions; do
12029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12030 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12041 if test -n "$CC"; then
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12043 $as_echo "$CC" >&6; }
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12046 $as_echo "no" >&6; }
12051 if test -z "$ac_cv_prog_CC"; then
12053 # Extract the first word of "gcc", so it can be a program name with args.
12054 set dummy gcc; ac_word=$2
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12056 $as_echo_n "checking for $ac_word... " >&6; }
12057 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12058 $as_echo_n "(cached) " >&6
12060 if test -n "$ac_ct_CC"; then
12061 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12064 for as_dir in $PATH
12067 test -z "$as_dir" && as_dir=.
12068 for ac_exec_ext in '' $ac_executable_extensions; do
12069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12070 ac_cv_prog_ac_ct_CC="gcc"
12071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12080 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12081 if test -n "$ac_ct_CC"; then
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12083 $as_echo "$ac_ct_CC" >&6; }
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12086 $as_echo "no" >&6; }
12089 if test "x$ac_ct_CC" = x; then
12092 case $cross_compiling:$ac_tool_warned in
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12096 ac_tool_warned=yes ;;
12101 CC="$ac_cv_prog_CC"
12104 if test -z "$CC"; then
12105 if test -n "$ac_tool_prefix"; then
12106 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12107 set dummy ${ac_tool_prefix}cc; ac_word=$2
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12109 $as_echo_n "checking for $ac_word... " >&6; }
12110 if ${ac_cv_prog_CC+:} false; then :
12111 $as_echo_n "(cached) " >&6
12113 if test -n "$CC"; then
12114 ac_cv_prog_CC="$CC" # Let the user override the test.
12116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12117 for as_dir in $PATH
12120 test -z "$as_dir" && as_dir=.
12121 for ac_exec_ext in '' $ac_executable_extensions; do
12122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12123 ac_cv_prog_CC="${ac_tool_prefix}cc"
12124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12134 if test -n "$CC"; then
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12136 $as_echo "$CC" >&6; }
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12139 $as_echo "no" >&6; }
12145 if test -z "$CC"; then
12146 # Extract the first word of "cc", so it can be a program name with args.
12147 set dummy cc; ac_word=$2
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12149 $as_echo_n "checking for $ac_word... " >&6; }
12150 if ${ac_cv_prog_CC+:} false; then :
12151 $as_echo_n "(cached) " >&6
12153 if test -n "$CC"; then
12154 ac_cv_prog_CC="$CC" # Let the user override the test.
12156 ac_prog_rejected=no
12157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12158 for as_dir in $PATH
12161 test -z "$as_dir" && as_dir=.
12162 for ac_exec_ext in '' $ac_executable_extensions; do
12163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12164 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12165 ac_prog_rejected=yes
12169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12176 if test $ac_prog_rejected = yes; then
12177 # We found a bogon in the path, so make sure we never use it.
12178 set dummy $ac_cv_prog_CC
12180 if test $# != 0; then
12181 # We chose a different compiler from the bogus one.
12182 # However, it has the same basename, so the bogon will be chosen
12183 # first if we set CC to just the basename; use the full file name.
12185 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12191 if test -n "$CC"; then
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12193 $as_echo "$CC" >&6; }
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12196 $as_echo "no" >&6; }
12201 if test -z "$CC"; then
12202 if test -n "$ac_tool_prefix"; then
12203 for ac_prog in cl.exe
12205 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12206 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12208 $as_echo_n "checking for $ac_word... " >&6; }
12209 if ${ac_cv_prog_CC+:} false; then :
12210 $as_echo_n "(cached) " >&6
12212 if test -n "$CC"; then
12213 ac_cv_prog_CC="$CC" # Let the user override the test.
12215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12216 for as_dir in $PATH
12219 test -z "$as_dir" && as_dir=.
12220 for ac_exec_ext in '' $ac_executable_extensions; do
12221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12222 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12233 if test -n "$CC"; then
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12235 $as_echo "$CC" >&6; }
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12238 $as_echo "no" >&6; }
12242 test -n "$CC" && break
12245 if test -z "$CC"; then
12247 for ac_prog in cl.exe
12249 # Extract the first word of "$ac_prog", so it can be a program name with args.
12250 set dummy $ac_prog; ac_word=$2
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12252 $as_echo_n "checking for $ac_word... " >&6; }
12253 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12254 $as_echo_n "(cached) " >&6
12256 if test -n "$ac_ct_CC"; then
12257 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12260 for as_dir in $PATH
12263 test -z "$as_dir" && as_dir=.
12264 for ac_exec_ext in '' $ac_executable_extensions; do
12265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12266 ac_cv_prog_ac_ct_CC="$ac_prog"
12267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12276 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12277 if test -n "$ac_ct_CC"; then
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12279 $as_echo "$ac_ct_CC" >&6; }
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12282 $as_echo "no" >&6; }
12286 test -n "$ac_ct_CC" && break
12289 if test "x$ac_ct_CC" = x; then
12292 case $cross_compiling:$ac_tool_warned in
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12296 ac_tool_warned=yes ;;
12305 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12307 as_fn_error $? "no acceptable C compiler found in \$PATH
12308 See \`config.log' for more details" "$LINENO" 5; }
12310 # Provide some information about the compiler.
12311 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12314 for ac_option in --version -v -V -qversion; do
12315 { { ac_try="$ac_compiler $ac_option >&5"
12316 case "(($ac_try" in
12317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12318 *) ac_try_echo=$ac_try;;
12320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12321 $as_echo "$ac_try_echo"; } >&5
12322 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12324 if test -s conftest.err; then
12326 ... rest of stderr output deleted ...
12327 10q' conftest.err >conftest.er1
12328 cat conftest.er1 >&5
12330 rm -f conftest.er1 conftest.err
12331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12332 test $ac_status = 0; }
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12336 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12337 if ${ac_cv_c_compiler_gnu+:} false; then :
12338 $as_echo_n "(cached) " >&6
12340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12341 /* end confdefs.h. */
12354 if ac_fn_c_try_compile "$LINENO"; then :
12355 ac_compiler_gnu=yes
12359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12360 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12364 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12365 if test $ac_compiler_gnu = yes; then
12370 ac_test_CFLAGS=${CFLAGS+set}
12371 ac_save_CFLAGS=$CFLAGS
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12373 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12374 if ${ac_cv_prog_cc_g+:} false; then :
12375 $as_echo_n "(cached) " >&6
12377 ac_save_c_werror_flag=$ac_c_werror_flag
12378 ac_c_werror_flag=yes
12381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12382 /* end confdefs.h. */
12392 if ac_fn_c_try_compile "$LINENO"; then :
12393 ac_cv_prog_cc_g=yes
12396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12397 /* end confdefs.h. */
12407 if ac_fn_c_try_compile "$LINENO"; then :
12410 ac_c_werror_flag=$ac_save_c_werror_flag
12412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12413 /* end confdefs.h. */
12423 if ac_fn_c_try_compile "$LINENO"; then :
12424 ac_cv_prog_cc_g=yes
12426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12431 ac_c_werror_flag=$ac_save_c_werror_flag
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12434 $as_echo "$ac_cv_prog_cc_g" >&6; }
12435 if test "$ac_test_CFLAGS" = set; then
12436 CFLAGS=$ac_save_CFLAGS
12437 elif test $ac_cv_prog_cc_g = yes; then
12438 if test "$GCC" = yes; then
12444 if test "$GCC" = yes; then
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12451 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12452 if ${ac_cv_prog_cc_c89+:} false; then :
12453 $as_echo_n "(cached) " >&6
12455 ac_cv_prog_cc_c89=no
12457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12458 /* end confdefs.h. */
12459 #include <stdarg.h>
12461 #include <sys/types.h>
12462 #include <sys/stat.h>
12463 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12464 struct buf { int x; };
12465 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12466 static char *e (p, i)
12472 static char *f (char * (*g) (char **, int), char **p, ...)
12477 s = g (p, va_arg (v,int));
12482 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12483 function prototypes and stuff, but not '\xHH' hex character constants.
12484 These don't provoke an error unfortunately, instead are silently treated
12485 as 'x'. The following induces an error, until -std is added to get
12486 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12487 array size at least. It's necessary to write '\x00'==0 to get something
12488 that's true only with -std. */
12489 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12491 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12492 inside strings and character constants. */
12494 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12496 int test (int i, double x);
12497 struct s1 {int (*f) (int a);};
12498 struct s2 {int (*f) (double a);};
12499 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12505 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12510 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12511 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12513 CC="$ac_save_CC $ac_arg"
12514 if ac_fn_c_try_compile "$LINENO"; then :
12515 ac_cv_prog_cc_c89=$ac_arg
12517 rm -f core conftest.err conftest.$ac_objext
12518 test "x$ac_cv_prog_cc_c89" != "xno" && break
12520 rm -f conftest.$ac_ext
12525 case "x$ac_cv_prog_cc_c89" in
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12528 $as_echo "none needed" >&6; } ;;
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12531 $as_echo "unsupported" >&6; } ;;
12533 CC="$CC $ac_cv_prog_cc_c89"
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12535 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12537 if test "x$ac_cv_prog_cc_c89" != xno; then :
12542 ac_cpp='$CPP $CPPFLAGS'
12543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12556 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12557 if test -n "$ac_tool_prefix"; then
12558 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12559 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12561 $as_echo_n "checking for $ac_word... " >&6; }
12562 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12563 $as_echo_n "(cached) " >&6
12565 case $PKG_CONFIG in
12567 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12571 for as_dir in $PATH
12574 test -z "$as_dir" && as_dir=.
12575 for ac_exec_ext in '' $ac_executable_extensions; do
12576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12577 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12588 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12589 if test -n "$PKG_CONFIG"; then
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12591 $as_echo "$PKG_CONFIG" >&6; }
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12594 $as_echo "no" >&6; }
12599 if test -z "$ac_cv_path_PKG_CONFIG"; then
12600 ac_pt_PKG_CONFIG=$PKG_CONFIG
12601 # Extract the first word of "pkg-config", so it can be a program name with args.
12602 set dummy pkg-config; ac_word=$2
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12604 $as_echo_n "checking for $ac_word... " >&6; }
12605 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12606 $as_echo_n "(cached) " >&6
12608 case $ac_pt_PKG_CONFIG in
12610 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12614 for as_dir in $PATH
12617 test -z "$as_dir" && as_dir=.
12618 for ac_exec_ext in '' $ac_executable_extensions; do
12619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12620 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12631 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12632 if test -n "$ac_pt_PKG_CONFIG"; then
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12634 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12637 $as_echo "no" >&6; }
12640 if test "x$ac_pt_PKG_CONFIG" = x; then
12643 case $cross_compiling:$ac_tool_warned in
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12647 ac_tool_warned=yes ;;
12649 PKG_CONFIG=$ac_pt_PKG_CONFIG
12652 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12656 if test -n "$PKG_CONFIG"; then
12657 _pkg_min_version=0.9.0
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12659 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12660 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12662 $as_echo "yes" >&6; }
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12665 $as_echo "no" >&6; }
12670 # Check whether pkg-config supports Requires.private
12671 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
12672 pkgconfig_requires_private="Requires.private"
12674 pkgconfig_requires_private="Requires"
12678 # doxygen program for documentation building
12682 # Check whether --enable-doc was given.
12683 if test "${enable_doc+set}" = set; then :
12684 enableval=$enable_doc;
12685 if test "x${enableval}" = "xyes" ; then
12686 efl_enable_doc="yes"
12688 efl_enable_doc="no"
12692 efl_enable_doc="yes"
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12697 $as_echo_n "checking whether to build documentation... " >&6; }
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12699 $as_echo "${efl_enable_doc}" >&6; }
12701 if test "x${efl_enable_doc}" = "xyes" ; then
12704 efl_doxygen="doxygen"
12707 # Check whether --with-doxygen was given.
12708 if test "${with_doxygen+set}" = set; then :
12709 withval=$with_doxygen;
12710 efl_doxygen=${withval}
12711 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12712 set dummy ${efl_doxygen}; ac_word=$2
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12714 $as_echo_n "checking for $ac_word... " >&6; }
12715 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12716 $as_echo_n "(cached) " >&6
12718 if test -n "$efl_have_doxygen"; then
12719 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12722 for as_dir in $PATH
12725 test -z "$as_dir" && as_dir=.
12726 for ac_exec_ext in '' $ac_executable_extensions; do
12727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12728 ac_cv_prog_efl_have_doxygen="yes"
12729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12736 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12739 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12740 if test -n "$efl_have_doxygen"; then
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12742 $as_echo "$efl_have_doxygen" >&6; }
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12745 $as_echo "no" >&6; }
12749 if test "x${efl_have_doxygen}" = "xno" ; then
12751 echo "The doxygen program you specified:"
12752 echo "${efl_doxygen}"
12753 echo "was not found. Please check the path and make sure "
12754 echo "the program exists and is executable."
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12756 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12760 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12761 set dummy ${efl_doxygen}; ac_word=$2
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12763 $as_echo_n "checking for $ac_word... " >&6; }
12764 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12765 $as_echo_n "(cached) " >&6
12767 if test -n "$efl_have_doxygen"; then
12768 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12771 for as_dir in $PATH
12774 test -z "$as_dir" && as_dir=.
12775 for ac_exec_ext in '' $ac_executable_extensions; do
12776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12777 ac_cv_prog_efl_have_doxygen="yes"
12778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12785 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12788 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12789 if test -n "$efl_have_doxygen"; then
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12791 $as_echo "$efl_have_doxygen" >&6; }
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12794 $as_echo "no" >&6; }
12798 if test "x${efl_have_doxygen}" = "xno" ; then
12800 echo "The doxygen program was not found in your execute path."
12801 echo "You may have doxygen installed somewhere not covered by your path."
12803 echo "If this is the case make sure you have the packages installed, AND"
12804 echo "that the doxygen program is in your execute path (see your"
12805 echo "shell manual page on setting the \$PATH environment variable), OR"
12806 echo "alternatively, specify the program to use with --with-doxygen."
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12808 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12814 efl_have_doxygen="no"
12819 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12820 efl_enable_doc="no"
12823 if test "x${efl_have_doxygen}" = "xyes"; then
12824 EFL_BUILD_DOC_TRUE=
12825 EFL_BUILD_DOC_FALSE='#'
12827 EFL_BUILD_DOC_TRUE='#'
12828 EFL_BUILD_DOC_FALSE=
12832 if test "x$efl_have_doxygen" = "xyes"; then :
12840 ### Checks for libraries
12842 requirement_emotion="ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99"
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMOTION" >&5
12846 $as_echo_n "checking for EMOTION... " >&6; }
12848 if test -n "$EMOTION_CFLAGS"; then
12849 pkg_cv_EMOTION_CFLAGS="$EMOTION_CFLAGS"
12850 elif test -n "$PKG_CONFIG"; then
12851 if test -n "$PKG_CONFIG" && \
12852 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_emotion}\""; } >&5
12853 ($PKG_CONFIG --exists --print-errors "${requirement_emotion}") 2>&5
12855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12856 test $ac_status = 0; }; then
12857 pkg_cv_EMOTION_CFLAGS=`$PKG_CONFIG --cflags "${requirement_emotion}" 2>/dev/null`
12858 test "x$?" != "x0" && pkg_failed=yes
12865 if test -n "$EMOTION_LIBS"; then
12866 pkg_cv_EMOTION_LIBS="$EMOTION_LIBS"
12867 elif test -n "$PKG_CONFIG"; then
12868 if test -n "$PKG_CONFIG" && \
12869 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_emotion}\""; } >&5
12870 ($PKG_CONFIG --exists --print-errors "${requirement_emotion}") 2>&5
12872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12873 test $ac_status = 0; }; then
12874 pkg_cv_EMOTION_LIBS=`$PKG_CONFIG --libs "${requirement_emotion}" 2>/dev/null`
12875 test "x$?" != "x0" && pkg_failed=yes
12885 if test $pkg_failed = yes; then
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12887 $as_echo "no" >&6; }
12889 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12890 _pkg_short_errors_supported=yes
12892 _pkg_short_errors_supported=no
12894 if test $_pkg_short_errors_supported = yes; then
12895 EMOTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${requirement_emotion}" 2>&1`
12897 EMOTION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${requirement_emotion}" 2>&1`
12899 # Put the nasty error message in config.log where it belongs
12900 echo "$EMOTION_PKG_ERRORS" >&5
12902 as_fn_error $? "Package requirements (${requirement_emotion}) were not met:
12904 $EMOTION_PKG_ERRORS
12906 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12907 installed software in a non-standard prefix.
12909 Alternatively, you may set the environment variables EMOTION_CFLAGS
12910 and EMOTION_LIBS to avoid the need to call pkg-config.
12911 See the pkg-config man page for more details." "$LINENO" 5
12912 elif test $pkg_failed = untried; then
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12914 $as_echo "no" >&6; }
12915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12917 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12918 is in your PATH or set the PKG_CONFIG environment variable to the full
12919 path to pkg-config.
12921 Alternatively, you may set the environment variables EMOTION_CFLAGS
12922 and EMOTION_LIBS to avoid the need to call pkg-config.
12923 See the pkg-config man page for more details.
12925 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12926 See \`config.log' for more details" "$LINENO" 5; }
12928 EMOTION_CFLAGS=$pkg_cv_EMOTION_CFLAGS
12929 EMOTION_LIBS=$pkg_cv_EMOTION_LIBS
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12931 $as_echo "yes" >&6; }
12936 if test "x${have_emotion_test}" = "xyes" ; then
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMOTION_BIN" >&5
12940 $as_echo_n "checking for EMOTION_BIN... " >&6; }
12942 if test -n "$EMOTION_BIN_CFLAGS"; then
12943 pkg_cv_EMOTION_BIN_CFLAGS="$EMOTION_BIN_CFLAGS"
12944 elif test -n "$PKG_CONFIG"; then
12945 if test -n "$PKG_CONFIG" && \
12946 { { $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
12947 ($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
12949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12950 test $ac_status = 0; }; then
12951 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`
12952 test "x$?" != "x0" && pkg_failed=yes
12959 if test -n "$EMOTION_BIN_LIBS"; then
12960 pkg_cv_EMOTION_BIN_LIBS="$EMOTION_BIN_LIBS"
12961 elif test -n "$PKG_CONFIG"; then
12962 if test -n "$PKG_CONFIG" && \
12963 { { $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
12964 ($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
12966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12967 test $ac_status = 0; }; then
12968 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`
12969 test "x$?" != "x0" && pkg_failed=yes
12979 if test $pkg_failed = yes; then
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12981 $as_echo "no" >&6; }
12983 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12984 _pkg_short_errors_supported=yes
12986 _pkg_short_errors_supported=no
12988 if test $_pkg_short_errors_supported = yes; then
12989 EMOTION_BIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99" 2>&1`
12991 EMOTION_BIN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99" 2>&1`
12993 # Put the nasty error message in config.log where it belongs
12994 echo "$EMOTION_BIN_PKG_ERRORS" >&5
12996 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:
12998 $EMOTION_BIN_PKG_ERRORS
13000 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13001 installed software in a non-standard prefix.
13003 Alternatively, you may set the environment variables EMOTION_BIN_CFLAGS
13004 and EMOTION_BIN_LIBS to avoid the need to call pkg-config.
13005 See the pkg-config man page for more details." "$LINENO" 5
13006 elif test $pkg_failed = untried; then
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13008 $as_echo "no" >&6; }
13009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13011 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13012 is in your PATH or set the PKG_CONFIG environment variable to the full
13013 path to pkg-config.
13015 Alternatively, you may set the environment variables EMOTION_BIN_CFLAGS
13016 and EMOTION_BIN_LIBS to avoid the need to call pkg-config.
13017 See the pkg-config man page for more details.
13019 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13020 See \`config.log' for more details" "$LINENO" 5; }
13022 EMOTION_BIN_CFLAGS=$pkg_cv_EMOTION_BIN_CFLAGS
13023 EMOTION_BIN_LIBS=$pkg_cv_EMOTION_BIN_LIBS
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13025 $as_echo "yes" >&6; }
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_X" >&5
13033 $as_echo_n "checking for ECORE_X... " >&6; }
13035 if test -n "$ECORE_X_CFLAGS"; then
13036 pkg_cv_ECORE_X_CFLAGS="$ECORE_X_CFLAGS"
13037 elif test -n "$PKG_CONFIG"; then
13038 if test -n "$PKG_CONFIG" && \
13039 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.6.99 ecore-evas >= 1.6.99\""; } >&5
13040 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.6.99 ecore-evas >= 1.6.99") 2>&5
13042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13043 test $ac_status = 0; }; then
13044 pkg_cv_ECORE_X_CFLAGS=`$PKG_CONFIG --cflags "ecore-x >= 1.6.99 ecore-evas >= 1.6.99" 2>/dev/null`
13045 test "x$?" != "x0" && pkg_failed=yes
13052 if test -n "$ECORE_X_LIBS"; then
13053 pkg_cv_ECORE_X_LIBS="$ECORE_X_LIBS"
13054 elif test -n "$PKG_CONFIG"; then
13055 if test -n "$PKG_CONFIG" && \
13056 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.6.99 ecore-evas >= 1.6.99\""; } >&5
13057 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.6.99 ecore-evas >= 1.6.99") 2>&5
13059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13060 test $ac_status = 0; }; then
13061 pkg_cv_ECORE_X_LIBS=`$PKG_CONFIG --libs "ecore-x >= 1.6.99 ecore-evas >= 1.6.99" 2>/dev/null`
13062 test "x$?" != "x0" && pkg_failed=yes
13072 if test $pkg_failed = yes; then
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13074 $as_echo "no" >&6; }
13076 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13077 _pkg_short_errors_supported=yes
13079 _pkg_short_errors_supported=no
13081 if test $_pkg_short_errors_supported = yes; then
13082 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-x >= 1.6.99 ecore-evas >= 1.6.99" 2>&1`
13084 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-x >= 1.6.99 ecore-evas >= 1.6.99" 2>&1`
13086 # Put the nasty error message in config.log where it belongs
13087 echo "$ECORE_X_PKG_ERRORS" >&5
13090 elif test $pkg_failed = untried; then
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13092 $as_echo "no" >&6; }
13095 ECORE_X_CFLAGS=$pkg_cv_ECORE_X_CFLAGS
13096 ECORE_X_LIBS=$pkg_cv_ECORE_X_LIBS
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13098 $as_echo "yes" >&6; }
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_FB" >&5
13105 $as_echo_n "checking for ECORE_FB... " >&6; }
13107 if test -n "$ECORE_FB_CFLAGS"; then
13108 pkg_cv_ECORE_FB_CFLAGS="$ECORE_FB_CFLAGS"
13109 elif test -n "$PKG_CONFIG"; then
13110 if test -n "$PKG_CONFIG" && \
13111 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.6.99\""; } >&5
13112 ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.6.99") 2>&5
13114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13115 test $ac_status = 0; }; then
13116 pkg_cv_ECORE_FB_CFLAGS=`$PKG_CONFIG --cflags "ecore-fb >= 1.6.99" 2>/dev/null`
13117 test "x$?" != "x0" && pkg_failed=yes
13124 if test -n "$ECORE_FB_LIBS"; then
13125 pkg_cv_ECORE_FB_LIBS="$ECORE_FB_LIBS"
13126 elif test -n "$PKG_CONFIG"; then
13127 if test -n "$PKG_CONFIG" && \
13128 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.6.99\""; } >&5
13129 ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.6.99") 2>&5
13131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13132 test $ac_status = 0; }; then
13133 pkg_cv_ECORE_FB_LIBS=`$PKG_CONFIG --libs "ecore-fb >= 1.6.99" 2>/dev/null`
13134 test "x$?" != "x0" && pkg_failed=yes
13144 if test $pkg_failed = yes; then
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13146 $as_echo "no" >&6; }
13148 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13149 _pkg_short_errors_supported=yes
13151 _pkg_short_errors_supported=no
13153 if test $_pkg_short_errors_supported = yes; then
13154 ECORE_FB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-fb >= 1.6.99" 2>&1`
13156 ECORE_FB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-fb >= 1.6.99" 2>&1`
13158 # Put the nasty error message in config.log where it belongs
13159 echo "$ECORE_FB_PKG_ERRORS" >&5
13162 elif test $pkg_failed = untried; then
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13164 $as_echo "no" >&6; }
13167 ECORE_FB_CFLAGS=$pkg_cv_ECORE_FB_CFLAGS
13168 ECORE_FB_LIBS=$pkg_cv_ECORE_FB_LIBS
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13170 $as_echo "yes" >&6; }
13171 have_ecore_fb="yes"
13174 if test "x${have_ecore_x}" = "xyes" ; then
13176 $as_echo "#define EMOTION_HAVE_ECORE_X 1" >>confdefs.h
13180 if test "x${have_ecore_fb}" = "xyes" ; then
13182 $as_echo "#define EMOTION_HAVE_ECORE_FB 1" >>confdefs.h
13186 if test -n "$PKG_CONFIG" && \
13187 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-x11 >= 1.6.99\""; } >&5
13188 ($PKG_CONFIG --exists --print-errors "evas-software-x11 >= 1.6.99") 2>&5
13190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13191 test $ac_status = 0; }; then
13193 $as_echo "#define HAVE_EVAS_SOFWARE_X11 1" >>confdefs.h
13197 if test -n "$PKG_CONFIG" && \
13198 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-xrender-x11 >= 1.6.99\""; } >&5
13199 ($PKG_CONFIG --exists --print-errors "evas-xrender-x11 >= 1.6.99") 2>&5
13201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13202 test $ac_status = 0; }; then
13204 $as_echo "#define HAVE_EVAS_XRENDER_X11 1" >>confdefs.h
13208 if test -n "$PKG_CONFIG" && \
13209 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-x11 >= 1.6.99\""; } >&5
13210 ($PKG_CONFIG --exists --print-errors "evas-opengl-x11 >= 1.6.99") 2>&5
13212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13213 test $ac_status = 0; }; then
13215 $as_echo "#define HAVE_EVAS_OPENGL_X11 1" >>confdefs.h
13219 if test -n "$PKG_CONFIG" && \
13220 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-fb >= 1.6.99\""; } >&5
13221 ($PKG_CONFIG --exists --print-errors "evas-fb >= 1.6.99") 2>&5
13223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13224 test $ac_status = 0; }; then
13226 $as_echo "#define HAVE_EVAS_FB 1" >>confdefs.h
13232 # Check whether --enable-edje-external was given.
13233 if test "${enable_edje_external+set}" = set; then :
13234 enableval=$enable_edje_external;
13235 if test "x${enableval}" = "xyes" ; then
13236 _efl_want_edje_external="yes"
13238 _efl_want_edje_external="no"
13242 _efl_want_edje_external="auto"
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if should provide Edje EXTERNAL support..." >&5
13247 $as_echo_n "checking if should provide Edje EXTERNAL support...... " >&6; }
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_want_edje_external}" >&5
13249 $as_echo "${_efl_want_edje_external}" >&6; }
13251 _efl_enable_edje_external="no"
13252 if ! test "x${_efl_want_edje_external}" = "xno" ; then
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_EXTERNAL" >&5
13256 $as_echo_n "checking for EDJE_EXTERNAL... " >&6; }
13258 if test -n "$EDJE_EXTERNAL_CFLAGS"; then
13259 pkg_cv_EDJE_EXTERNAL_CFLAGS="$EDJE_EXTERNAL_CFLAGS"
13260 elif test -n "$PKG_CONFIG"; then
13261 if test -n "$PKG_CONFIG" && \
13262 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje >= 1.0.0\""; } >&5
13263 ($PKG_CONFIG --exists --print-errors "edje >= 1.0.0") 2>&5
13265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13266 test $ac_status = 0; }; then
13267 pkg_cv_EDJE_EXTERNAL_CFLAGS=`$PKG_CONFIG --cflags "edje >= 1.0.0" 2>/dev/null`
13268 test "x$?" != "x0" && pkg_failed=yes
13275 if test -n "$EDJE_EXTERNAL_LIBS"; then
13276 pkg_cv_EDJE_EXTERNAL_LIBS="$EDJE_EXTERNAL_LIBS"
13277 elif test -n "$PKG_CONFIG"; then
13278 if test -n "$PKG_CONFIG" && \
13279 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje >= 1.0.0\""; } >&5
13280 ($PKG_CONFIG --exists --print-errors "edje >= 1.0.0") 2>&5
13282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13283 test $ac_status = 0; }; then
13284 pkg_cv_EDJE_EXTERNAL_LIBS=`$PKG_CONFIG --libs "edje >= 1.0.0" 2>/dev/null`
13285 test "x$?" != "x0" && pkg_failed=yes
13295 if test $pkg_failed = yes; then
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13297 $as_echo "no" >&6; }
13299 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13300 _pkg_short_errors_supported=yes
13302 _pkg_short_errors_supported=no
13304 if test $_pkg_short_errors_supported = yes; then
13305 EDJE_EXTERNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "edje >= 1.0.0" 2>&1`
13307 EDJE_EXTERNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "edje >= 1.0.0" 2>&1`
13309 # Put the nasty error message in config.log where it belongs
13310 echo "$EDJE_EXTERNAL_PKG_ERRORS" >&5
13312 _efl_enable_edje_external="no"
13313 elif test $pkg_failed = untried; then
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13315 $as_echo "no" >&6; }
13316 _efl_enable_edje_external="no"
13318 EDJE_EXTERNAL_CFLAGS=$pkg_cv_EDJE_EXTERNAL_CFLAGS
13319 EDJE_EXTERNAL_LIBS=$pkg_cv_EDJE_EXTERNAL_LIBS
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13321 $as_echo "yes" >&6; }
13322 _efl_enable_edje_external="yes"
13329 if test "x${_efl_want_edje_external}" = "xyes" && test "x${_efl_enable_edje_external}" = "xno" ; then
13330 as_fn_error $? "Edje EXTERNAL support requested, but Edje not found by pkg-config." "$LINENO" 5
13333 if test "x${_efl_enable_edje_external}" = "xyes" ; then
13334 EDJE_VERSION=`${PKG_CONFIG} edje --modversion | awk -F . '{printf("%s.0.0", $1);}'`
13335 MODULE_EDJE="$host_os-$host_cpu-${EDJE_VERSION}"
13337 cat >>confdefs.h <<_ACEOF
13338 #define MODULE_EDJE "$MODULE_EDJE"
13345 if test "x${_efl_enable_edje_external}" = "xyes"; then
13346 ENABLE_EDJE_EXTERNAL_TRUE=
13347 ENABLE_EDJE_EXTERNAL_FALSE='#'
13349 ENABLE_EDJE_EXTERNAL_TRUE='#'
13350 ENABLE_EDJE_EXTERNAL_FALSE=
13354 if test "x${_efl_enable_edje_external}" = "xyes"; then :
13355 have_edje_external="yes"
13357 have_edje_external="no"
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EEZE" >&5
13365 $as_echo_n "checking for EEZE... " >&6; }
13367 if test -n "$EEZE_CFLAGS"; then
13368 pkg_cv_EEZE_CFLAGS="$EEZE_CFLAGS"
13369 elif test -n "$PKG_CONFIG"; then
13370 if test -n "$PKG_CONFIG" && \
13371 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eeze >= 1.6.99\""; } >&5
13372 ($PKG_CONFIG --exists --print-errors "eeze >= 1.6.99") 2>&5
13374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13375 test $ac_status = 0; }; then
13376 pkg_cv_EEZE_CFLAGS=`$PKG_CONFIG --cflags "eeze >= 1.6.99" 2>/dev/null`
13377 test "x$?" != "x0" && pkg_failed=yes
13384 if test -n "$EEZE_LIBS"; then
13385 pkg_cv_EEZE_LIBS="$EEZE_LIBS"
13386 elif test -n "$PKG_CONFIG"; then
13387 if test -n "$PKG_CONFIG" && \
13388 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eeze >= 1.6.99\""; } >&5
13389 ($PKG_CONFIG --exists --print-errors "eeze >= 1.6.99") 2>&5
13391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13392 test $ac_status = 0; }; then
13393 pkg_cv_EEZE_LIBS=`$PKG_CONFIG --libs "eeze >= 1.6.99" 2>/dev/null`
13394 test "x$?" != "x0" && pkg_failed=yes
13404 if test $pkg_failed = yes; then
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13406 $as_echo "no" >&6; }
13408 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13409 _pkg_short_errors_supported=yes
13411 _pkg_short_errors_supported=no
13413 if test $_pkg_short_errors_supported = yes; then
13414 EEZE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eeze >= 1.6.99" 2>&1`
13416 EEZE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eeze >= 1.6.99" 2>&1`
13418 # Put the nasty error message in config.log where it belongs
13419 echo "$EEZE_PKG_ERRORS" >&5
13422 elif test $pkg_failed = untried; then
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13424 $as_echo "no" >&6; }
13427 EEZE_CFLAGS=$pkg_cv_EEZE_CFLAGS
13428 EEZE_LIBS=$pkg_cv_EEZE_LIBS
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13430 $as_echo "yes" >&6; }
13434 if test "x${have_eeze}" = "xyes"; then
13436 $as_echo "#define EMOTION_HAVE_EEZE 1" >>confdefs.h
13438 requirement_emotion="${requirement_emotion} eeze >= 1.6.99"
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
13444 $as_echo_n "checking for EIO... " >&6; }
13446 if test -n "$EIO_CFLAGS"; then
13447 pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
13448 elif test -n "$PKG_CONFIG"; then
13449 if test -n "$PKG_CONFIG" && \
13450 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.6.99\""; } >&5
13451 ($PKG_CONFIG --exists --print-errors "eio >= 1.6.99") 2>&5
13453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13454 test $ac_status = 0; }; then
13455 pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "eio >= 1.6.99" 2>/dev/null`
13456 test "x$?" != "x0" && pkg_failed=yes
13463 if test -n "$EIO_LIBS"; then
13464 pkg_cv_EIO_LIBS="$EIO_LIBS"
13465 elif test -n "$PKG_CONFIG"; then
13466 if test -n "$PKG_CONFIG" && \
13467 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.6.99\""; } >&5
13468 ($PKG_CONFIG --exists --print-errors "eio >= 1.6.99") 2>&5
13470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13471 test $ac_status = 0; }; then
13472 pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "eio >= 1.6.99" 2>/dev/null`
13473 test "x$?" != "x0" && pkg_failed=yes
13483 if test $pkg_failed = yes; then
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13485 $as_echo "no" >&6; }
13487 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13488 _pkg_short_errors_supported=yes
13490 _pkg_short_errors_supported=no
13492 if test $_pkg_short_errors_supported = yes; then
13493 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eio >= 1.6.99" 2>&1`
13495 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eio >= 1.6.99" 2>&1`
13497 # Put the nasty error message in config.log where it belongs
13498 echo "$EIO_PKG_ERRORS" >&5
13501 elif test $pkg_failed = untried; then
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13503 $as_echo "no" >&6; }
13506 EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
13507 EIO_LIBS=$pkg_cv_EIO_LIBS
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13509 $as_echo "yes" >&6; }
13512 if test "x${have_eio}" = "xyes"; then
13514 $as_echo "#define HAVE_EIO 1" >>confdefs.h
13516 requirement_emotion="eio >= 1.6.99 ${requirement_emotion}"
13519 if test "x${have_eio}" = "xyes"; then
13528 # ecore-x availability, used for XV, VAAPI, VDPAU output.
13531 # Check whether --enable-ecore-x was given.
13532 if test "${enable_ecore_x+set}" = set; then :
13533 enableval=$enable_ecore_x;
13534 if test "x${enableval}" = "xyes" || test "x${enableval}" = "xauto" ; then
13535 want_ecore_x=${enableval}
13541 want_ecore_x="auto"
13545 if ! test "x$want_ecore_x" = "xno" ; then
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_X" >&5
13549 $as_echo_n "checking for ECORE_X... " >&6; }
13551 if test -n "$ECORE_X_CFLAGS"; then
13552 pkg_cv_ECORE_X_CFLAGS="$ECORE_X_CFLAGS"
13553 elif test -n "$PKG_CONFIG"; then
13554 if test -n "$PKG_CONFIG" && \
13555 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.6.99\""; } >&5
13556 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.6.99") 2>&5
13558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13559 test $ac_status = 0; }; then
13560 pkg_cv_ECORE_X_CFLAGS=`$PKG_CONFIG --cflags "ecore-x >= 1.6.99" 2>/dev/null`
13561 test "x$?" != "x0" && pkg_failed=yes
13568 if test -n "$ECORE_X_LIBS"; then
13569 pkg_cv_ECORE_X_LIBS="$ECORE_X_LIBS"
13570 elif test -n "$PKG_CONFIG"; then
13571 if test -n "$PKG_CONFIG" && \
13572 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.6.99\""; } >&5
13573 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.6.99") 2>&5
13575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13576 test $ac_status = 0; }; then
13577 pkg_cv_ECORE_X_LIBS=`$PKG_CONFIG --libs "ecore-x >= 1.6.99" 2>/dev/null`
13578 test "x$?" != "x0" && pkg_failed=yes
13588 if test $pkg_failed = yes; then
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13590 $as_echo "no" >&6; }
13592 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13593 _pkg_short_errors_supported=yes
13595 _pkg_short_errors_supported=no
13597 if test $_pkg_short_errors_supported = yes; then
13598 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-x >= 1.6.99" 2>&1`
13600 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-x >= 1.6.99" 2>&1`
13602 # Put the nasty error message in config.log where it belongs
13603 echo "$ECORE_X_PKG_ERRORS" >&5
13607 elif test $pkg_failed = untried; then
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13609 $as_echo "no" >&6; }
13613 ECORE_X_CFLAGS=$pkg_cv_ECORE_X_CFLAGS
13614 ECORE_X_LIBS=$pkg_cv_ECORE_X_LIBS
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13616 $as_echo "yes" >&6; }
13619 $as_echo "#define HAVE_ECORE_X 1" >>confdefs.h
13622 requirement_elm="ecore-x >= 1.6.99 ${requirement_elm}"
13629 if test "x$want_ecore_x" = "xyes" && test "x$have_ecore_x" = "xno" ; then
13630 as_fn_error $? "ecore-x support requested, but not found by pkg-config." "$LINENO" 5
13633 ### Checks for header files
13635 for ac_header in unistd.h
13637 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
13638 if test "x$ac_cv_header_unistd_h" = xyes; then :
13639 cat >>confdefs.h <<_ACEOF
13640 #define HAVE_UNISTD_H 1
13648 # Check for video4linux
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for V4L2" >&5
13651 $as_echo_n "checking for V4L2... " >&6; }
13652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13653 /* end confdefs.h. */
13656 #include <linux/videodev2.h>
13662 fprintf(stdout, "%i\n", V4L2_CAP_VIDEO_CAPTURE);
13668 if ac_fn_c_try_compile "$LINENO"; then :
13671 $as_echo "#define HAVE_V4L2 1" >>confdefs.h
13678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_v4l2}" >&5
13680 $as_echo "${have_v4l2}" >&6; }
13682 ### Checks for types
13685 ### Checks for structures
13688 ### Checks for compiler characteristics
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13690 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13691 if ${ac_cv_c_bigendian+:} false; then :
13692 $as_echo_n "(cached) " >&6
13694 ac_cv_c_bigendian=unknown
13695 # See if we're dealing with a universal compiler.
13696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13698 #ifndef __APPLE_CC__
13699 not a universal capable compiler
13704 if ac_fn_c_try_compile "$LINENO"; then :
13706 # Check for potential -arch flags. It is not universal unless
13707 # there are at least two -arch flags with different values.
13710 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13711 if test -n "$ac_prev"; then
13713 i?86 | x86_64 | ppc | ppc64)
13714 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13717 ac_cv_c_bigendian=universal
13723 elif test "x$ac_word" = "x-arch"; then
13728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13729 if test $ac_cv_c_bigendian = unknown; then
13730 # See if sys/param.h defines the BYTE_ORDER macro.
13731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13732 /* end confdefs.h. */
13733 #include <sys/types.h>
13734 #include <sys/param.h>
13739 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13740 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13742 bogus endian macros
13749 if ac_fn_c_try_compile "$LINENO"; then :
13750 # It does; now see whether it defined to BIG_ENDIAN or not.
13751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13752 /* end confdefs.h. */
13753 #include <sys/types.h>
13754 #include <sys/param.h>
13759 #if BYTE_ORDER != BIG_ENDIAN
13767 if ac_fn_c_try_compile "$LINENO"; then :
13768 ac_cv_c_bigendian=yes
13770 ac_cv_c_bigendian=no
13772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13776 if test $ac_cv_c_bigendian = unknown; then
13777 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13779 /* end confdefs.h. */
13780 #include <limits.h>
13785 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13786 bogus endian macros
13793 if ac_fn_c_try_compile "$LINENO"; then :
13794 # It does; now see whether it defined to _BIG_ENDIAN or not.
13795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13796 /* end confdefs.h. */
13797 #include <limits.h>
13802 #ifndef _BIG_ENDIAN
13810 if ac_fn_c_try_compile "$LINENO"; then :
13811 ac_cv_c_bigendian=yes
13813 ac_cv_c_bigendian=no
13815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13819 if test $ac_cv_c_bigendian = unknown; then
13820 # Compile a test program.
13821 if test "$cross_compiling" = yes; then :
13822 # Try to guess by grepping values from an object file.
13823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13825 short int ascii_mm[] =
13826 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13827 short int ascii_ii[] =
13828 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13829 int use_ascii (int i) {
13830 return ascii_mm[i] + ascii_ii[i];
13832 short int ebcdic_ii[] =
13833 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13834 short int ebcdic_mm[] =
13835 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13836 int use_ebcdic (int i) {
13837 return ebcdic_mm[i] + ebcdic_ii[i];
13844 return use_ascii (foo) == use_ebcdic (foo);
13849 if ac_fn_c_try_compile "$LINENO"; then :
13850 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13851 ac_cv_c_bigendian=yes
13853 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13854 if test "$ac_cv_c_bigendian" = unknown; then
13855 ac_cv_c_bigendian=no
13857 # finding both strings is unlikely to happen, but who knows?
13858 ac_cv_c_bigendian=unknown
13862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13865 /* end confdefs.h. */
13866 $ac_includes_default
13871 /* Are we little or big endian? From Harbison&Steele. */
13875 char c[sizeof (long int)];
13878 return u.c[sizeof (long int) - 1] == 1;
13884 if ac_fn_c_try_run "$LINENO"; then :
13885 ac_cv_c_bigendian=no
13887 ac_cv_c_bigendian=yes
13889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13890 conftest.$ac_objext conftest.beam conftest.$ac_ext
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13896 $as_echo "$ac_cv_c_bigendian" >&6; }
13897 case $ac_cv_c_bigendian in #(
13899 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13905 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13909 as_fn_error $? "unknown endianness
13910 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
13916 $as_echo_n "checking for __attribute__... " >&6; }
13918 if ${ac_cv___attribute__+:} false; then :
13919 $as_echo_n "(cached) " >&6
13921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13922 /* end confdefs.h. */
13924 #include <stdlib.h>
13927 int foo(int x __attribute__ ((unused)))
13940 if ac_fn_c_try_compile "$LINENO"; then :
13941 ac_cv___attribute__="yes"
13943 ac_cv___attribute__="no"
13946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
13952 $as_echo "$ac_cv___attribute__" >&6; }
13954 if test "x${ac_cv___attribute__}" = "xyes" ; then
13956 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
13959 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
13963 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
13969 EFL_EMOTION_BUILD=""
13972 EMOTION_CPPFLAGS="-D_WIN32_WCE=0x0420"
13973 EFL_EMOTION_BUILD="-DEFL_EMOTION_BUILD"
13976 EMOTION_CPPFLAGS="-D_WIN32_WINNT=0x0501"
13977 EFL_EMOTION_BUILD="-DEFL_EMOTION_BUILD"
13984 ### Checks for linker characteristics
13986 # use --enable-auto-import on Windows
13988 lt_enable_auto_import=""
13991 lt_enable_auto_import="-Wl,--enable-auto-import"
13997 ### Checks for library functions
13998 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13999 if test "x$ac_cv_type_size_t" = xyes; then :
14003 cat >>confdefs.h <<_ACEOF
14004 #define size_t unsigned int
14009 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14010 # for constant arguments. Useless!
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
14012 $as_echo_n "checking for working alloca.h... " >&6; }
14013 if ${ac_cv_working_alloca_h+:} false; then :
14014 $as_echo_n "(cached) " >&6
14016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14017 /* end confdefs.h. */
14018 #include <alloca.h>
14022 char *p = (char *) alloca (2 * sizeof (int));
14028 if ac_fn_c_try_link "$LINENO"; then :
14029 ac_cv_working_alloca_h=yes
14031 ac_cv_working_alloca_h=no
14033 rm -f core conftest.err conftest.$ac_objext \
14034 conftest$ac_exeext conftest.$ac_ext
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
14037 $as_echo "$ac_cv_working_alloca_h" >&6; }
14038 if test $ac_cv_working_alloca_h = yes; then
14040 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
14045 $as_echo_n "checking for alloca... " >&6; }
14046 if ${ac_cv_func_alloca_works+:} false; then :
14047 $as_echo_n "(cached) " >&6
14049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14050 /* end confdefs.h. */
14052 # define alloca __builtin_alloca
14055 # include <malloc.h>
14056 # define alloca _alloca
14058 # ifdef HAVE_ALLOCA_H
14059 # include <alloca.h>
14064 # ifndef alloca /* predefined by HP cc +Olibcalls */
14065 void *alloca (size_t);
14075 char *p = (char *) alloca (1);
14081 if ac_fn_c_try_link "$LINENO"; then :
14082 ac_cv_func_alloca_works=yes
14084 ac_cv_func_alloca_works=no
14086 rm -f core conftest.err conftest.$ac_objext \
14087 conftest$ac_exeext conftest.$ac_ext
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
14090 $as_echo "$ac_cv_func_alloca_works" >&6; }
14092 if test $ac_cv_func_alloca_works = yes; then
14094 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
14097 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14098 # that cause trouble. Some versions do not even contain alloca or
14099 # contain a buggy version. If you still want to use their alloca,
14100 # use ar to extract alloca.o from them instead of compiling alloca.c.
14102 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
14104 $as_echo "#define C_ALLOCA 1" >>confdefs.h
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
14108 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
14109 if ${ac_cv_os_cray+:} false; then :
14110 $as_echo_n "(cached) " >&6
14112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14113 /* end confdefs.h. */
14114 #if defined CRAY && ! defined CRAY2
14121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14122 $EGREP "webecray" >/dev/null 2>&1; then :
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
14131 $as_echo "$ac_cv_os_cray" >&6; }
14132 if test $ac_cv_os_cray = yes; then
14133 for ac_func in _getb67 GETB67 getb67; do
14134 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14135 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14136 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14138 cat >>confdefs.h <<_ACEOF
14139 #define CRAY_STACKSEG_END $ac_func
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
14149 $as_echo_n "checking stack direction for C alloca... " >&6; }
14150 if ${ac_cv_c_stack_direction+:} false; then :
14151 $as_echo_n "(cached) " >&6
14153 if test "$cross_compiling" = yes; then :
14154 ac_cv_c_stack_direction=0
14156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14157 /* end confdefs.h. */
14158 $ac_includes_default
14160 find_stack_direction ()
14162 static char *addr = 0;
14167 return find_stack_direction ();
14170 return (&dummy > addr) ? 1 : -1;
14176 return find_stack_direction () < 0;
14179 if ac_fn_c_try_run "$LINENO"; then :
14180 ac_cv_c_stack_direction=1
14182 ac_cv_c_stack_direction=-1
14184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14185 conftest.$ac_objext conftest.beam conftest.$ac_ext
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
14190 $as_echo "$ac_cv_c_stack_direction" >&6; }
14191 cat >>confdefs.h <<_ACEOF
14192 #define STACK_DIRECTION $ac_cv_c_stack_direction
14204 want_module="${want_xine}"
14206 # Check whether --enable-xine was given.
14207 if test "${enable_xine+set}" = set; then :
14208 enableval=$enable_xine;
14209 if test "x${enableval}" = "xyes" ; then
14210 enable_module="yes"
14212 if test "x${enableval}" = "xstatic" ; then
14213 enable_module="static"
14220 enable_module="yes"
14224 if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
14229 if test "x${want_module}" = "xyes" && (test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic") ; then
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XINE" >&5
14237 $as_echo_n "checking for XINE... " >&6; }
14239 if test -n "$XINE_CFLAGS"; then
14240 pkg_cv_XINE_CFLAGS="$XINE_CFLAGS"
14241 elif test -n "$PKG_CONFIG"; then
14242 if test -n "$PKG_CONFIG" && \
14243 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxine >= 1.1.1 evas >= 1.0.0\""; } >&5
14244 ($PKG_CONFIG --exists --print-errors "libxine >= 1.1.1 evas >= 1.0.0") 2>&5
14246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14247 test $ac_status = 0; }; then
14248 pkg_cv_XINE_CFLAGS=`$PKG_CONFIG --cflags "libxine >= 1.1.1 evas >= 1.0.0" 2>/dev/null`
14249 test "x$?" != "x0" && pkg_failed=yes
14256 if test -n "$XINE_LIBS"; then
14257 pkg_cv_XINE_LIBS="$XINE_LIBS"
14258 elif test -n "$PKG_CONFIG"; then
14259 if test -n "$PKG_CONFIG" && \
14260 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxine >= 1.1.1 evas >= 1.0.0\""; } >&5
14261 ($PKG_CONFIG --exists --print-errors "libxine >= 1.1.1 evas >= 1.0.0") 2>&5
14263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14264 test $ac_status = 0; }; then
14265 pkg_cv_XINE_LIBS=`$PKG_CONFIG --libs "libxine >= 1.1.1 evas >= 1.0.0" 2>/dev/null`
14266 test "x$?" != "x0" && pkg_failed=yes
14276 if test $pkg_failed = yes; then
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14278 $as_echo "no" >&6; }
14280 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14281 _pkg_short_errors_supported=yes
14283 _pkg_short_errors_supported=no
14285 if test $_pkg_short_errors_supported = yes; then
14286 XINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxine >= 1.1.1 evas >= 1.0.0" 2>&1`
14288 XINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxine >= 1.1.1 evas >= 1.0.0" 2>&1`
14290 # Put the nasty error message in config.log where it belongs
14291 echo "$XINE_PKG_ERRORS" >&5
14294 elif test $pkg_failed = untried; then
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14296 $as_echo "no" >&6; }
14299 XINE_CFLAGS=$pkg_cv_XINE_CFLAGS
14300 XINE_LIBS=$pkg_cv_XINE_LIBS
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14302 $as_echo "yes" >&6; }
14305 requirement="libxine"
14309 if test "x${enable_module}" = "xstatic" ; then
14310 requirement_emotion="${requirement} ${requirement_emotion}"
14313 if test "x$have_dep" = "xyes"; then :
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Xine module built" >&5
14323 $as_echo_n "checking whether to enable Xine module built... " >&6; }
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
14325 $as_echo "${have_module}" >&6; }
14328 if test "x${have_module}" = "xyes" && test "x${enable_module}" = "xstatic" ; then
14329 static_module="yes"
14332 if test "x${have_module}" = "xyes"; then
14333 EMOTION_BUILD_XINE_TRUE=
14334 EMOTION_BUILD_XINE_FALSE='#'
14336 EMOTION_BUILD_XINE_TRUE='#'
14337 EMOTION_BUILD_XINE_FALSE=
14340 if test "x${static_module}" = "xyes"; then
14341 EMOTION_STATIC_BUILD_XINE_TRUE=
14342 EMOTION_STATIC_BUILD_XINE_FALSE='#'
14344 EMOTION_STATIC_BUILD_XINE_TRUE='#'
14345 EMOTION_STATIC_BUILD_XINE_FALSE=
14349 if test "x${static_module}" = "xyes" ; then
14351 $as_echo "#define EMOTION_STATIC_BUILD_XINE 1" >>confdefs.h
14353 have_static_module="yes"
14357 if test "x${have_module}" = "xyes" ; then
14358 enable_xine=${enable_module}
14360 $as_echo "#define EMOTION_BUILD_XINE 1" >>confdefs.h
14364 if test "x$have_module" = "xyes"; then :
14373 want_module="${want_gstreamer}"
14375 # Check whether --enable-gstreamer was given.
14376 if test "${enable_gstreamer+set}" = set; then :
14377 enableval=$enable_gstreamer;
14378 if test "x${enableval}" = "xyes" ; then
14379 enable_module="yes"
14381 if test "x${enableval}" = "xstatic" ; then
14382 enable_module="static"
14389 enable_module="yes"
14393 if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
14398 if test "x${want_module}" = "xyes" && (test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic") ; then
14402 GSTPLUG_REQS=0.10.1
14403 GST_MAJORMINOR=0.10
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5
14409 $as_echo_n "checking for GSTREAMER... " >&6; }
14411 if test -n "$GSTREAMER_CFLAGS"; then
14412 pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
14413 elif test -n "$PKG_CONFIG"; then
14414 if test -n "$PKG_CONFIG" && \
14415 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"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
14416 ($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
14418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14419 test $ac_status = 0; }; then
14420 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`
14421 test "x$?" != "x0" && pkg_failed=yes
14428 if test -n "$GSTREAMER_LIBS"; then
14429 pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
14430 elif test -n "$PKG_CONFIG"; then
14431 if test -n "$PKG_CONFIG" && \
14432 { { $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
14433 ($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
14435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14436 test $ac_status = 0; }; then
14437 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`
14438 test "x$?" != "x0" && pkg_failed=yes
14448 if test $pkg_failed = yes; then
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14450 $as_echo "no" >&6; }
14452 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14453 _pkg_short_errors_supported=yes
14455 _pkg_short_errors_supported=no
14457 if test $_pkg_short_errors_supported = yes; then
14458 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --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>&1`
14460 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --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>&1`
14462 # Put the nasty error message in config.log where it belongs
14463 echo "$GSTREAMER_PKG_ERRORS" >&5
14466 elif test $pkg_failed = untried; then
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14468 $as_echo "no" >&6; }
14471 GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
14472 GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14474 $as_echo "yes" >&6; }
14477 requirement="gstreamer-$GST_MAJORMINOR gstreamer-plugins-base-$GST_MAJORMINOR"
14481 if test "x${enable_module}" = "xstatic" ; then
14482 requirement_emotion="${requirement} ${requirement_emotion}"
14485 if test "x$have_dep" = "xyes"; then :
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Gstreamer module built" >&5
14495 $as_echo_n "checking whether to enable Gstreamer module built... " >&6; }
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
14497 $as_echo "${have_module}" >&6; }
14500 if test "x${have_module}" = "xyes" && test "x${enable_module}" = "xstatic" ; then
14501 static_module="yes"
14504 if test "x${have_module}" = "xyes"; then
14505 EMOTION_BUILD_GSTREAMER_TRUE=
14506 EMOTION_BUILD_GSTREAMER_FALSE='#'
14508 EMOTION_BUILD_GSTREAMER_TRUE='#'
14509 EMOTION_BUILD_GSTREAMER_FALSE=
14512 if test "x${static_module}" = "xyes"; then
14513 EMOTION_STATIC_BUILD_GSTREAMER_TRUE=
14514 EMOTION_STATIC_BUILD_GSTREAMER_FALSE='#'
14516 EMOTION_STATIC_BUILD_GSTREAMER_TRUE='#'
14517 EMOTION_STATIC_BUILD_GSTREAMER_FALSE=
14521 if test "x${static_module}" = "xyes" ; then
14523 $as_echo "#define EMOTION_STATIC_BUILD_GSTREAMER 1" >>confdefs.h
14525 have_static_module="yes"
14528 enable_gstreamer="no"
14529 if test "x${have_module}" = "xyes" ; then
14530 enable_gstreamer=${enable_module}
14532 $as_echo "#define EMOTION_BUILD_GSTREAMER 1" >>confdefs.h
14536 if test "x$have_module" = "xyes"; then :
14545 want_module="${want_generic}"
14547 # Check whether --enable-generic was given.
14548 if test "${enable_generic+set}" = set; then :
14549 enableval=$enable_generic;
14550 if test "x${enableval}" = "xyes" ; then
14551 enable_module="yes"
14553 if test "x${enableval}" = "xstatic" ; then
14554 enable_module="static"
14561 enable_module="yes"
14565 if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
14570 if test "x${want_module}" = "xyes" && (test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic") ; then
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GENERIC" >&5
14578 $as_echo_n "checking for GENERIC... " >&6; }
14580 if test -n "$GENERIC_CFLAGS"; then
14581 pkg_cv_GENERIC_CFLAGS="$GENERIC_CFLAGS"
14582 elif test -n "$PKG_CONFIG"; then
14583 if test -n "$PKG_CONFIG" && \
14584 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.0.0\""; } >&5
14585 ($PKG_CONFIG --exists --print-errors "evas >= 1.0.0") 2>&5
14587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14588 test $ac_status = 0; }; then
14589 pkg_cv_GENERIC_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.0.0" 2>/dev/null`
14590 test "x$?" != "x0" && pkg_failed=yes
14597 if test -n "$GENERIC_LIBS"; then
14598 pkg_cv_GENERIC_LIBS="$GENERIC_LIBS"
14599 elif test -n "$PKG_CONFIG"; then
14600 if test -n "$PKG_CONFIG" && \
14601 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.0.0\""; } >&5
14602 ($PKG_CONFIG --exists --print-errors "evas >= 1.0.0") 2>&5
14604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14605 test $ac_status = 0; }; then
14606 pkg_cv_GENERIC_LIBS=`$PKG_CONFIG --libs "evas >= 1.0.0" 2>/dev/null`
14607 test "x$?" != "x0" && pkg_failed=yes
14617 if test $pkg_failed = yes; then
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14619 $as_echo "no" >&6; }
14621 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14622 _pkg_short_errors_supported=yes
14624 _pkg_short_errors_supported=no
14626 if test $_pkg_short_errors_supported = yes; then
14627 GENERIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evas >= 1.0.0" 2>&1`
14629 GENERIC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evas >= 1.0.0" 2>&1`
14631 # Put the nasty error message in config.log where it belongs
14632 echo "$GENERIC_PKG_ERRORS" >&5
14635 elif test $pkg_failed = untried; then
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14637 $as_echo "no" >&6; }
14640 GENERIC_CFLAGS=$pkg_cv_GENERIC_CFLAGS
14641 GENERIC_LIBS=$pkg_cv_GENERIC_LIBS
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14643 $as_echo "yes" >&6; }
14649 if test "x${enable_module}" = "xstatic" ; then
14650 requirement_emotion="${requirement} ${requirement_emotion}"
14653 if test "x$have_dep" = "xyes"; then :
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Generic module built" >&5
14663 $as_echo_n "checking whether to enable Generic module built... " >&6; }
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
14665 $as_echo "${have_module}" >&6; }
14668 if test "x${have_module}" = "xyes" && test "x${enable_module}" = "xstatic" ; then
14669 static_module="yes"
14672 if test "x${have_module}" = "xyes"; then
14673 EMOTION_BUILD_GENERIC_TRUE=
14674 EMOTION_BUILD_GENERIC_FALSE='#'
14676 EMOTION_BUILD_GENERIC_TRUE='#'
14677 EMOTION_BUILD_GENERIC_FALSE=
14680 if test "x${static_module}" = "xyes"; then
14681 EMOTION_STATIC_BUILD_GENERIC_TRUE=
14682 EMOTION_STATIC_BUILD_GENERIC_FALSE='#'
14684 EMOTION_STATIC_BUILD_GENERIC_TRUE='#'
14685 EMOTION_STATIC_BUILD_GENERIC_FALSE=
14689 if test "x${static_module}" = "xyes" ; then
14691 $as_echo "#define EMOTION_STATIC_BUILD_GENERIC 1" >>confdefs.h
14693 have_static_module="yes"
14696 enable_generic="no"
14697 if test "x${have_module}" = "xyes" ; then
14698 enable_generic=${enable_module}
14700 $as_echo "#define EMOTION_BUILD_GENERIC 1" >>confdefs.h
14704 if test "x$have_module" = "xyes"; then :
14714 want_module="${want_generic_vlc}"
14716 # Check whether --enable-generic-vlc was given.
14717 if test "${enable_generic_vlc+set}" = set; then :
14718 enableval=$enable_generic_vlc;
14719 if test "x${enableval}" = "xyes" ; then
14720 enable_module="yes"
14726 enable_module="auto"
14732 _efl_have_shm_open="no"
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
14736 $as_echo_n "checking for shm_open in libc... " >&6; }
14737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14738 /* end confdefs.h. */
14740 #include <sys/mman.h>
14741 #include <sys/stat.h> /* For mode constants */
14742 #include <fcntl.h> /* For O_* constants */
14750 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
14756 if ac_fn_c_try_link "$LINENO"; then :
14757 _efl_have_shm_open="yes"
14759 _efl_have_shm_open="no"
14761 rm -f core conftest.err conftest.$ac_objext \
14762 conftest$ac_exeext conftest.$ac_ext
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
14765 $as_echo "${_efl_have_shm_open}" >&6; }
14767 if test "x$_efl_have_shm_open" = "xno" ; then
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
14769 $as_echo_n "checking for shm_open in librt... " >&6; }
14771 LIBS_save="${LIBS}"
14772 LIBS="${LIBS} -lrt"
14773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14774 /* end confdefs.h. */
14776 #include <sys/mman.h>
14777 #include <sys/stat.h> /* For mode constants */
14778 #include <fcntl.h> /* For O_* constants */
14786 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
14792 if ac_fn_c_try_link "$LINENO"; then :
14794 EFL_SHM_OPEN_LIBS="-lrt"
14795 _efl_have_shm_open="yes"
14797 _efl_have_shm_open="no"
14799 rm -f core conftest.err conftest.$ac_objext \
14800 conftest$ac_exeext conftest.$ac_ext
14802 LIBS="${LIBS_save}"
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
14805 $as_echo "${_efl_have_shm_open}" >&6; }
14810 if test "x$_efl_have_shm_open" = "xyes" ; then
14812 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
14816 if test "x$_efl_have_shm_open" = "xyes"; then :
14817 have_shm_open="yes"
14824 if test "x${have_shm_open}" != "xyes"; then
14825 enable_generic="no"
14828 if test "x${enable_generic}" != "xyes" && test "x${enable_generic}" != "xstatic"; then
14829 if test "x${enable_module}" = "xyes"; then
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Generic module is disabled, force disable of Generic Player VLC" >&5
14831 $as_echo "$as_me: WARNING: Generic module is disabled, force disable of Generic Player VLC" >&2;}
14837 if test "x${enable_module}" = "xauto"; then
14838 enable_module="${want_module}"
14839 elif test "x${enable_module}" = "xyes"; then
14844 if test "x${want_module}" = "xyes" && test "x${enable_module}" = "xyes"; then
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GENERIC_VLC" >&5
14852 $as_echo_n "checking for GENERIC_VLC... " >&6; }
14854 if test -n "$GENERIC_VLC_CFLAGS"; then
14855 pkg_cv_GENERIC_VLC_CFLAGS="$GENERIC_VLC_CFLAGS"
14856 elif test -n "$PKG_CONFIG"; then
14857 if test -n "$PKG_CONFIG" && \
14858 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvlc >= 0.9 eina >= 1.1.99\""; } >&5
14859 ($PKG_CONFIG --exists --print-errors "libvlc >= 0.9 eina >= 1.1.99") 2>&5
14861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14862 test $ac_status = 0; }; then
14863 pkg_cv_GENERIC_VLC_CFLAGS=`$PKG_CONFIG --cflags "libvlc >= 0.9 eina >= 1.1.99" 2>/dev/null`
14864 test "x$?" != "x0" && pkg_failed=yes
14871 if test -n "$GENERIC_VLC_LIBS"; then
14872 pkg_cv_GENERIC_VLC_LIBS="$GENERIC_VLC_LIBS"
14873 elif test -n "$PKG_CONFIG"; then
14874 if test -n "$PKG_CONFIG" && \
14875 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvlc >= 0.9 eina >= 1.1.99\""; } >&5
14876 ($PKG_CONFIG --exists --print-errors "libvlc >= 0.9 eina >= 1.1.99") 2>&5
14878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14879 test $ac_status = 0; }; then
14880 pkg_cv_GENERIC_VLC_LIBS=`$PKG_CONFIG --libs "libvlc >= 0.9 eina >= 1.1.99" 2>/dev/null`
14881 test "x$?" != "x0" && pkg_failed=yes
14891 if test $pkg_failed = yes; then
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14893 $as_echo "no" >&6; }
14895 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14896 _pkg_short_errors_supported=yes
14898 _pkg_short_errors_supported=no
14900 if test $_pkg_short_errors_supported = yes; then
14901 GENERIC_VLC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libvlc >= 0.9 eina >= 1.1.99" 2>&1`
14903 GENERIC_VLC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libvlc >= 0.9 eina >= 1.1.99" 2>&1`
14905 # Put the nasty error message in config.log where it belongs
14906 echo "$GENERIC_VLC_PKG_ERRORS" >&5
14909 elif test $pkg_failed = untried; then
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14911 $as_echo "no" >&6; }
14914 GENERIC_VLC_CFLAGS=$pkg_cv_GENERIC_VLC_CFLAGS
14915 GENERIC_VLC_LIBS=$pkg_cv_GENERIC_VLC_LIBS
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14917 $as_echo "yes" >&6; }
14920 requirement="libvlc"
14924 if test "x${enable_module}" = "xstatic" ; then
14925 requirement_emotion="${requirement} ${requirement_emotion}"
14928 if test "x$have_dep" = "xyes"; then :
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to enable Generic Player VLC" >&5
14938 $as_echo_n "checking Whether to enable Generic Player VLC... " >&6; }
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
14940 $as_echo "${have_module}" >&6; }
14942 if test "x${have_module}" = "xyes"; then
14943 EMOTION_BUILD_GENERIC_VLC_TRUE=
14944 EMOTION_BUILD_GENERIC_VLC_FALSE='#'
14946 EMOTION_BUILD_GENERIC_VLC_TRUE='#'
14947 EMOTION_BUILD_GENERIC_VLC_FALSE=
14951 enable_generic_vlc="no"
14952 if test "x${have_module}" = "xyes" ; then
14953 enable_generic_vlc=${enable_module}
14955 $as_echo "#define EMOTION_BUILD_GENERIC_VLC 1" >>confdefs.h
14959 if test "x$have_module" = "xyes"; then :
14967 if test "x${enable_xine}" = "xno" && test "x${enable_gstreamer}" = "xno" && test "x${enable_generic}" = "xno" ; then
14968 as_fn_error $? "Xine, Gstreamer or Generic backends must be selected to build Emotion" "$LINENO" 5
14971 # Check if gstreamer X Overlay is available
14972 build_xoverlay="no"
14973 if test "x${enable_gstreamer}" = "xyes" ; then
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER_INTERFACE" >&5
14977 $as_echo_n "checking for GSTREAMER_INTERFACE... " >&6; }
14979 if test -n "$GSTREAMER_INTERFACE_CFLAGS"; then
14980 pkg_cv_GSTREAMER_INTERFACE_CFLAGS="$GSTREAMER_INTERFACE_CFLAGS"
14981 elif test -n "$PKG_CONFIG"; then
14982 if test -n "$PKG_CONFIG" && \
14983 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-interfaces-0.10 >= 0.10.34\""; } >&5
14984 ($PKG_CONFIG --exists --print-errors "gstreamer-interfaces-0.10 >= 0.10.34") 2>&5
14986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14987 test $ac_status = 0; }; then
14988 pkg_cv_GSTREAMER_INTERFACE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-interfaces-0.10 >= 0.10.34" 2>/dev/null`
14989 test "x$?" != "x0" && pkg_failed=yes
14996 if test -n "$GSTREAMER_INTERFACE_LIBS"; then
14997 pkg_cv_GSTREAMER_INTERFACE_LIBS="$GSTREAMER_INTERFACE_LIBS"
14998 elif test -n "$PKG_CONFIG"; then
14999 if test -n "$PKG_CONFIG" && \
15000 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-interfaces-0.10 >= 0.10.34\""; } >&5
15001 ($PKG_CONFIG --exists --print-errors "gstreamer-interfaces-0.10 >= 0.10.34") 2>&5
15003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15004 test $ac_status = 0; }; then
15005 pkg_cv_GSTREAMER_INTERFACE_LIBS=`$PKG_CONFIG --libs "gstreamer-interfaces-0.10 >= 0.10.34" 2>/dev/null`
15006 test "x$?" != "x0" && pkg_failed=yes
15016 if test $pkg_failed = yes; then
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15018 $as_echo "no" >&6; }
15020 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15021 _pkg_short_errors_supported=yes
15023 _pkg_short_errors_supported=no
15025 if test $_pkg_short_errors_supported = yes; then
15026 GSTREAMER_INTERFACE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-interfaces-0.10 >= 0.10.34" 2>&1`
15028 GSTREAMER_INTERFACE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-interfaces-0.10 >= 0.10.34" 2>&1`
15030 # Put the nasty error message in config.log where it belongs
15031 echo "$GSTREAMER_INTERFACE_PKG_ERRORS" >&5
15033 build_xoverlay="no"
15034 elif test $pkg_failed = untried; then
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15036 $as_echo "no" >&6; }
15037 build_xoverlay="no"
15039 GSTREAMER_INTERFACE_CFLAGS=$pkg_cv_GSTREAMER_INTERFACE_CFLAGS
15040 GSTREAMER_INTERFACE_LIBS=$pkg_cv_GSTREAMER_INTERFACE_LIBS
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15042 $as_echo "yes" >&6; }
15043 build_xoverlay="yes"
15045 if test "x${build_xoverlay}" = "xyes" ; then
15046 save_CPPFLAGS=$CPPFLAGS
15047 CPPFLAGS="$CPPFLAGS ${GSTREAMER_CFLAGS} ${GSTREAMER_INTERFACE_CFLAGS}"
15048 ac_fn_c_check_header_mongrel "$LINENO" "gst/interfaces/xoverlay.h" "ac_cv_header_gst_interfaces_xoverlay_h" "$ac_includes_default"
15049 if test "x$ac_cv_header_gst_interfaces_xoverlay_h" = xyes; then :
15052 $as_echo "#define HAVE_XOVERLAY_H 1" >>confdefs.h
15054 build_xoverlay="yes"
15057 build_xoverlay="no"
15061 CPPFLAGS=$save_CPPFLAGS
15063 save_LDFLAGS=${LDFLAGS}
15064 LDFLAGS="${LDFLAGS} ${GSTREAMER_INTERFACES}"
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_x_overlay_set_window_handle in -lgstinterfaces-0.10" >&5
15066 $as_echo_n "checking for gst_x_overlay_set_window_handle in -lgstinterfaces-0.10... " >&6; }
15067 if ${ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle+:} false; then :
15068 $as_echo_n "(cached) " >&6
15070 ac_check_lib_save_LIBS=$LIBS
15071 LIBS="-lgstinterfaces-0.10 $LIBS"
15072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h. */
15075 /* Override any GCC internal prototype to avoid an error.
15076 Use char because int might match the return type of a GCC
15077 builtin and then its argument prototype would still apply. */
15081 char gst_x_overlay_set_window_handle ();
15085 return gst_x_overlay_set_window_handle ();
15090 if ac_fn_c_try_link "$LINENO"; then :
15091 ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle=yes
15093 ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle=no
15095 rm -f core conftest.err conftest.$ac_objext \
15096 conftest$ac_exeext conftest.$ac_ext
15097 LIBS=$ac_check_lib_save_LIBS
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle" >&5
15100 $as_echo "$ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle" >&6; }
15101 if test "x$ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle" = xyes; then :
15103 $as_echo "#define HAVE_X_OVERLAY_SET 1" >>confdefs.h
15107 LDFLAGS=$sava_LDFLAGS
15111 ### install and build examples
15116 # Check whether --enable-build-examples was given.
15117 if test "${enable_build_examples+set}" = set; then :
15118 enableval=$enable_build_examples;
15119 if test "x${enableval}" = "xyes" ; then
15120 _efl_enable_build_examples="yes"
15122 _efl_enable_build_examples="no"
15126 _efl_enable_build_examples="no"
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are built" >&5
15131 $as_echo_n "checking whether examples are built... " >&6; }
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_build_examples}" >&5
15133 $as_echo "${_efl_enable_build_examples}" >&6; }
15135 if test "x${_efl_enable_build_examples}" = "xyes"; then
15136 EFL_BUILD_EXAMPLES_TRUE=
15137 EFL_BUILD_EXAMPLES_FALSE='#'
15139 EFL_BUILD_EXAMPLES_TRUE='#'
15140 EFL_BUILD_EXAMPLES_FALSE=
15144 if test "x$_efl_enable_build_examples" = "xyes"; then :
15145 enable_build_examples="yes"
15147 enable_build_examples="no"
15153 # Check whether --enable-install-examples was given.
15154 if test "${enable_install_examples+set}" = set; then :
15155 enableval=$enable_install_examples;
15156 if test "x${enableval}" = "xyes" ; then
15157 _efl_enable_install_examples="yes"
15159 _efl_enable_install_examples="no"
15163 _efl_enable_install_examples="no"
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are installed" >&5
15168 $as_echo_n "checking whether examples are installed... " >&6; }
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_install_examples}" >&5
15170 $as_echo "${_efl_enable_install_examples}" >&6; }
15172 if test "x${_efl_enable_install_examples}" = "xyes"; then
15173 EFL_INSTALL_EXAMPLES_TRUE=
15174 EFL_INSTALL_EXAMPLES_FALSE='#'
15176 EFL_INSTALL_EXAMPLES_TRUE='#'
15177 EFL_INSTALL_EXAMPLES_FALSE=
15181 if test "x$_efl_enable_install_examples" = "xyes"; then :
15182 enable_install_examples="yes"
15184 enable_install_examples="no"
15190 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"
15192 cat >confcache <<\_ACEOF
15193 # This file is a shell script that caches the results of configure
15194 # tests run on this system so they can be shared between configure
15195 # scripts and configure runs, see configure's option --config-cache.
15196 # It is not useful on other systems. If it contains results you don't
15197 # want to keep, you may remove or edit it.
15199 # config.status only pays attention to the cache file if you give it
15200 # the --recheck option to rerun configure.
15202 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15203 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15204 # following values.
15208 # The following way of writing the cache mishandles newlines in values,
15209 # but we know of no workaround that is simple, portable, and efficient.
15210 # So, we kill variables containing newlines.
15211 # Ultrix sh set writes to stderr and can't be redirected directly,
15212 # and sets the high bit in the cache file unless we assign to the vars.
15214 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15215 eval ac_val=\$$ac_var
15219 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15220 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15223 _ | IFS | as_nl) ;; #(
15224 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15225 *) { eval $ac_var=; unset $ac_var;} ;;
15231 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15232 *${as_nl}ac_space=\ *)
15233 # `set' does not quote correctly, so add quotes: double-quote
15234 # substitution turns \\\\ into \\, and sed turns \\ into \.
15237 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15240 # `set' quotes correctly as required by POSIX, so do not add quotes.
15241 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15250 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15252 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15254 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15255 if test -w "$cache_file"; then
15256 if test "x$cache_file" != "x/dev/null"; then
15257 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15258 $as_echo "$as_me: updating cache $cache_file" >&6;}
15259 if test ! -f "$cache_file" || test -h "$cache_file"; then
15260 cat confcache >"$cache_file"
15262 case $cache_file in #(
15264 mv -f confcache "$cache_file"$$ &&
15265 mv -f "$cache_file"$$ "$cache_file" ;; #(
15267 mv -f confcache "$cache_file" ;;
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15273 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15278 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15279 # Let make expand exec_prefix.
15280 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15282 DEFS=-DHAVE_CONFIG_H
15287 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15288 # 1. Remove the extension, and $U if already installed.
15289 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15290 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15291 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15292 # will be set to the directory where LIBOBJS objects are built.
15293 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15294 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15296 LIBOBJS=$ac_libobjs
15298 LTLIBOBJS=$ac_ltlibobjs
15301 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15302 as_fn_error $? "conditional \"AMDEP\" was never defined.
15303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15305 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15306 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15309 if test -n "$EXEEXT"; then
15311 am__EXEEXT_FALSE='#'
15313 am__EXEEXT_TRUE='#'
15317 if test -z "${BUILD_EMOTION_TEST_TRUE}" && test -z "${BUILD_EMOTION_TEST_FALSE}"; then
15318 as_fn_error $? "conditional \"BUILD_EMOTION_TEST\" was never defined.
15319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15321 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
15322 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
15323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15325 if test -z "${ENABLE_EDJE_EXTERNAL_TRUE}" && test -z "${ENABLE_EDJE_EXTERNAL_FALSE}"; then
15326 as_fn_error $? "conditional \"ENABLE_EDJE_EXTERNAL\" was never defined.
15327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15329 if test -z "${HAVE_EIO_TRUE}" && test -z "${HAVE_EIO_FALSE}"; then
15330 as_fn_error $? "conditional \"HAVE_EIO\" was never defined.
15331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15334 if test -z "${EMOTION_BUILD_XINE_TRUE}" && test -z "${EMOTION_BUILD_XINE_FALSE}"; then
15335 as_fn_error $? "conditional \"EMOTION_BUILD_XINE\" was never defined.
15336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15338 if test -z "${EMOTION_STATIC_BUILD_XINE_TRUE}" && test -z "${EMOTION_STATIC_BUILD_XINE_FALSE}"; then
15339 as_fn_error $? "conditional \"EMOTION_STATIC_BUILD_XINE\" was never defined.
15340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15342 if test -z "${EMOTION_BUILD_GSTREAMER_TRUE}" && test -z "${EMOTION_BUILD_GSTREAMER_FALSE}"; then
15343 as_fn_error $? "conditional \"EMOTION_BUILD_GSTREAMER\" was never defined.
15344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15346 if test -z "${EMOTION_STATIC_BUILD_GSTREAMER_TRUE}" && test -z "${EMOTION_STATIC_BUILD_GSTREAMER_FALSE}"; then
15347 as_fn_error $? "conditional \"EMOTION_STATIC_BUILD_GSTREAMER\" was never defined.
15348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15350 if test -z "${EMOTION_BUILD_GENERIC_TRUE}" && test -z "${EMOTION_BUILD_GENERIC_FALSE}"; then
15351 as_fn_error $? "conditional \"EMOTION_BUILD_GENERIC\" was never defined.
15352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15354 if test -z "${EMOTION_STATIC_BUILD_GENERIC_TRUE}" && test -z "${EMOTION_STATIC_BUILD_GENERIC_FALSE}"; then
15355 as_fn_error $? "conditional \"EMOTION_STATIC_BUILD_GENERIC\" was never defined.
15356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15358 if test -z "${EMOTION_BUILD_GENERIC_VLC_TRUE}" && test -z "${EMOTION_BUILD_GENERIC_VLC_FALSE}"; then
15359 as_fn_error $? "conditional \"EMOTION_BUILD_GENERIC_VLC\" was never defined.
15360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15362 if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
15363 as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
15364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15366 if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
15367 as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
15368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15371 : "${CONFIG_STATUS=./config.status}"
15373 ac_clean_files_save=$ac_clean_files
15374 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15376 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15378 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15380 # Generated by $as_me.
15381 # Run this file to recreate the current configuration.
15382 # Compiler output produced by configure, useful for debugging
15383 # configure, is in config.log if it exists.
15386 ac_cs_recheck=false
15389 SHELL=\${CONFIG_SHELL-$SHELL}
15392 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15393 ## -------------------- ##
15394 ## M4sh Initialization. ##
15395 ## -------------------- ##
15397 # Be more Bourne compatible
15398 DUALCASE=1; export DUALCASE # for MKS sh
15399 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15402 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15403 # is contrary to our usage. Disable this feature.
15404 alias -g '${1+"$@"}'='"$@"'
15405 setopt NO_GLOB_SUBST
15407 case `(set -o) 2>/dev/null` in #(
15419 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15420 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15421 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15422 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15423 # Prefer a ksh shell builtin over an external printf program on Solaris,
15424 # but without wasting forks for bash or zsh.
15425 if test -z "$BASH_VERSION$ZSH_VERSION" \
15426 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15427 as_echo='print -r --'
15428 as_echo_n='print -rn --'
15429 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15430 as_echo='printf %s\n'
15431 as_echo_n='printf %s'
15433 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15434 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15435 as_echo_n='/usr/ucb/echo -n'
15437 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15438 as_echo_n_body='eval
15442 expr "X$arg" : "X\\(.*\\)$as_nl";
15443 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15445 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15447 export as_echo_n_body
15448 as_echo_n='sh -c $as_echo_n_body as_echo'
15450 export as_echo_body
15451 as_echo='sh -c $as_echo_body as_echo'
15454 # The user is always right.
15455 if test "${PATH_SEPARATOR+set}" != set; then
15457 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15458 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15465 # We need space, tab and new line, in precisely that order. Quoting is
15466 # there to prevent editors from complaining about space-tab.
15467 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15468 # splitting by setting IFS to empty value.)
15471 # Find who we are. Look in the path if we contain no directory separator.
15474 *[\\/]* ) as_myself=$0 ;;
15475 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15476 for as_dir in $PATH
15479 test -z "$as_dir" && as_dir=.
15480 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15486 # We did not find ourselves, most probably we were run as `sh COMMAND'
15487 # in which case we are not to be found in the path.
15488 if test "x$as_myself" = x; then
15491 if test ! -f "$as_myself"; then
15492 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15496 # Unset variables that we do not need and which cause bugs (e.g. in
15497 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15498 # suppresses any "Segmentation fault" message there. '((' could
15499 # trigger a bug in pdksh 5.2.14.
15500 for as_var in BASH_ENV ENV MAIL MAILPATH
15501 do eval test x\${$as_var+set} = xset \
15502 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15515 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15518 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15519 # ----------------------------------------
15520 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15521 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15522 # script with STATUS, using 1 if that was 0.
15525 as_status=$1; test $as_status -eq 0 && as_status=1
15527 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15528 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15530 $as_echo "$as_me: error: $2" >&2
15531 as_fn_exit $as_status
15535 # as_fn_set_status STATUS
15536 # -----------------------
15537 # Set $? to STATUS, without forking.
15538 as_fn_set_status ()
15541 } # as_fn_set_status
15543 # as_fn_exit STATUS
15544 # -----------------
15545 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15549 as_fn_set_status $1
15555 # Portably unset VAR.
15558 { eval $1=; unset $1;}
15560 as_unset=as_fn_unset
15561 # as_fn_append VAR VALUE
15562 # ----------------------
15563 # Append the text in VALUE to the end of the definition contained in VAR. Take
15564 # advantage of any shell optimizations that allow amortized linear growth over
15565 # repeated appends, instead of the typical quadratic growth present in naive
15567 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15568 eval 'as_fn_append ()
15579 # as_fn_arith ARG...
15580 # ------------------
15581 # Perform arithmetic evaluation on the ARGs, and store the result in the
15582 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15583 # must be portable across $(()) and expr.
15584 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15585 eval 'as_fn_arith ()
15592 as_val=`expr "$@" || test $? -eq 1`
15597 if expr a : '\(a\)' >/dev/null 2>&1 &&
15598 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15604 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15605 as_basename=basename
15610 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15616 as_me=`$as_basename -- "$0" ||
15617 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15618 X"$0" : 'X\(//\)$' \| \
15619 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15621 sed '/^.*\/\([^/][^/]*\)\/*$/{
15635 # Avoid depending upon Character Ranges.
15636 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15637 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15638 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15639 as_cr_digits='0123456789'
15640 as_cr_alnum=$as_cr_Letters$as_cr_digits
15642 ECHO_C= ECHO_N= ECHO_T=
15643 case `echo -n x` in #(((((
15645 case `echo 'xy\c'` in
15646 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15648 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15655 rm -f conf$$ conf$$.exe conf$$.file
15656 if test -d conf$$.dir; then
15657 rm -f conf$$.dir/conf$$.file
15660 mkdir conf$$.dir 2>/dev/null
15662 if (echo >conf$$.file) 2>/dev/null; then
15663 if ln -s conf$$.file conf$$ 2>/dev/null; then
15665 # ... but there are two gotchas:
15666 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15667 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15668 # In both cases, we have to default to `cp -p'.
15669 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15671 elif ln conf$$.file conf$$ 2>/dev/null; then
15679 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15680 rmdir conf$$.dir 2>/dev/null
15685 # Create "$as_dir" as a directory, including parents if necessary.
15690 -*) as_dir=./$as_dir;;
15692 test -d "$as_dir" || eval $as_mkdir_p || {
15696 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15697 *) as_qdir=$as_dir;;
15699 as_dirs="'$as_qdir' $as_dirs"
15700 as_dir=`$as_dirname -- "$as_dir" ||
15701 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15702 X"$as_dir" : 'X\(//\)[^/]' \| \
15703 X"$as_dir" : 'X\(//\)$' \| \
15704 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15705 $as_echo X"$as_dir" |
15706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15710 /^X\(\/\/\)[^/].*/{
15723 test -d "$as_dir" && break
15725 test -z "$as_dirs" || eval "mkdir $as_dirs"
15726 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15730 if mkdir -p . 2>/dev/null; then
15731 as_mkdir_p='mkdir -p "$as_dir"'
15733 test -d ./-p && rmdir ./-p
15737 if test -x / >/dev/null 2>&1; then
15738 as_test_x='test -x'
15740 if ls -dL / >/dev/null 2>&1; then
15747 if test -d "$1"; then
15753 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15754 ???[sx]*):;;*)false;;esac;fi
15758 as_executable_p=$as_test_x
15760 # Sed expression to map a string onto a valid CPP name.
15761 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15763 # Sed expression to map a string onto a valid variable name.
15764 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15768 ## ----------------------------------- ##
15769 ## Main body of $CONFIG_STATUS script. ##
15770 ## ----------------------------------- ##
15772 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15775 # Save the log message, to keep $0 and so on meaningful, and to
15776 # report actual input values of CONFIG_FILES etc. instead of their
15777 # values after options handling.
15779 This file was extended by emotion $as_me 1.7.3, which was
15780 generated by GNU Autoconf 2.68. Invocation command line was
15782 CONFIG_FILES = $CONFIG_FILES
15783 CONFIG_HEADERS = $CONFIG_HEADERS
15784 CONFIG_LINKS = $CONFIG_LINKS
15785 CONFIG_COMMANDS = $CONFIG_COMMANDS
15788 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15793 case $ac_config_files in *"
15794 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15797 case $ac_config_headers in *"
15798 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15803 # Files that config.status was made for.
15804 config_files="$ac_config_files"
15805 config_headers="$ac_config_headers"
15806 config_commands="$ac_config_commands"
15810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15812 \`$as_me' instantiates files and other configuration actions
15813 from templates according to the current configuration. Unless the files
15814 and actions are specified as TAGs, all are instantiated by default.
15816 Usage: $0 [OPTION]... [TAG]...
15818 -h, --help print this help, then exit
15819 -V, --version print version number and configuration settings, then exit
15820 --config print configuration, then exit
15821 -q, --quiet, --silent
15822 do not print progress messages
15823 -d, --debug don't remove temporary files
15824 --recheck update $as_me by reconfiguring in the same conditions
15825 --file=FILE[:TEMPLATE]
15826 instantiate the configuration file FILE
15827 --header=FILE[:TEMPLATE]
15828 instantiate the configuration header FILE
15830 Configuration files:
15833 Configuration headers:
15836 Configuration commands:
15839 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
15842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15843 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15845 emotion config.status 1.7.3
15846 configured by $0, generated by GNU Autoconf 2.68,
15847 with options \\"\$ac_cs_config\\"
15849 Copyright (C) 2010 Free Software Foundation, Inc.
15850 This config.status script is free software; the Free Software Foundation
15851 gives unlimited permission to copy, distribute and modify it."
15858 test -n "\$AWK" || AWK=awk
15861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15862 # The default lists apply if the user does not specify any file.
15868 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15869 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15873 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15885 # Handling of the options.
15886 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15888 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15889 $as_echo "$ac_cs_version"; exit ;;
15890 --config | --confi | --conf | --con | --co | --c )
15891 $as_echo "$ac_cs_config"; exit ;;
15892 --debug | --debu | --deb | --de | --d | -d )
15894 --file | --fil | --fi | --f )
15897 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15898 '') as_fn_error $? "missing file argument" ;;
15900 as_fn_append CONFIG_FILES " '$ac_optarg'"
15901 ac_need_defaults=false;;
15902 --header | --heade | --head | --hea )
15905 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15907 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15908 ac_need_defaults=false;;
15910 # Conflict between --help and --header
15911 as_fn_error $? "ambiguous option: \`$1'
15912 Try \`$0 --help' for more information.";;
15913 --help | --hel | -h )
15914 $as_echo "$ac_cs_usage"; exit ;;
15915 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15916 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15919 # This is an error.
15920 -*) as_fn_error $? "unrecognized option: \`$1'
15921 Try \`$0 --help' for more information." ;;
15923 *) as_fn_append ac_config_targets " $1"
15924 ac_need_defaults=false ;;
15930 ac_configure_extra_args=
15932 if $ac_cs_silent; then
15934 ac_configure_extra_args="$ac_configure_extra_args --silent"
15938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15939 if \$ac_cs_recheck; then
15940 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15942 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15943 CONFIG_SHELL='$SHELL'
15944 export CONFIG_SHELL
15949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15953 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15954 ## Running $as_me. ##
15960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15964 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15967 # The HP-UX ksh and POSIX shell print the target directory to stdout
15968 # if CDPATH is set.
15969 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15971 sed_quote_subst='$sed_quote_subst'
15972 double_quote_subst='$double_quote_subst'
15973 delay_variable_subst='$delay_variable_subst'
15974 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15975 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15976 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15977 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15978 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15979 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15980 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15981 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15982 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15983 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15984 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15985 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15986 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15987 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15988 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15989 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15990 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15991 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15992 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15993 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15994 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15995 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15996 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15997 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15998 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15999 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16000 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16001 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16002 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16003 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16004 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16005 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16006 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16007 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16008 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16009 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16010 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16011 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16012 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16013 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16014 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16015 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16016 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16017 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16018 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16019 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16020 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16021 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16022 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16023 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16024 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16025 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16026 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16027 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16028 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16029 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16030 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16031 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
16032 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16033 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16034 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16035 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16036 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16037 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16038 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16039 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16040 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16041 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16042 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16043 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16044 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16045 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16046 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16047 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16048 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16049 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16050 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16051 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16052 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16053 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16054 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16055 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16056 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16057 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16058 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16059 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16060 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16061 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16062 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16063 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16064 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16065 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16066 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16067 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16068 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16069 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16070 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16071 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16072 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16073 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16074 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16075 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16076 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16077 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16078 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16079 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16080 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16081 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16082 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16083 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16084 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16085 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16086 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16087 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16088 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16089 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16090 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16091 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16092 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16093 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16094 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16095 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16096 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16097 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16098 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16099 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16100 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16101 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16102 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16103 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16104 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16107 LTCFLAGS='$LTCFLAGS'
16108 compiler='$compiler_DEFAULT'
16110 # A function that is used when there is no print builtin or printf.
16111 func_fallback_echo ()
16113 eval 'cat <<_LTECHO_EOF
16118 # Quote evaled strings.
16135 deplibs_check_method \
16139 sharedlib_from_linklib_cmd \
16142 archiver_list_spec \
16148 lt_cv_sys_global_symbol_pipe \
16149 lt_cv_sys_global_symbol_to_cdecl \
16150 lt_cv_sys_global_symbol_to_c_name_address \
16151 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16152 nm_file_list_spec \
16153 lt_prog_compiler_no_builtin_flag \
16154 lt_prog_compiler_pic \
16155 lt_prog_compiler_wl \
16156 lt_prog_compiler_static \
16157 lt_cv_prog_compiler_c_o \
16166 export_dynamic_flag_spec \
16167 whole_archive_flag_spec \
16168 compiler_needs_object \
16170 allow_undefined_flag \
16171 no_undefined_flag \
16172 hardcode_libdir_flag_spec \
16173 hardcode_libdir_separator \
16177 variables_saved_for_relink \
16179 library_names_spec \
16181 install_override_mode \
16185 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16186 *[\\\\\\\`\\"\\\$]*)
16187 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16190 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16195 # Double-quote double-evaled strings.
16196 for var in reload_cmds \
16197 old_postinstall_cmds \
16198 old_postuninstall_cmds \
16200 extract_expsyms_cmds \
16201 old_archive_from_new_cmds \
16202 old_archive_from_expsyms_cmds \
16204 archive_expsym_cmds \
16206 module_expsym_cmds \
16207 export_symbols_cmds \
16211 postuninstall_cmds \
16213 sys_lib_search_path_spec \
16214 sys_lib_dlsearch_path_spec; do
16215 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16216 *[\\\\\\\`\\"\\\$]*)
16217 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16220 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16225 ac_aux_dir='$ac_aux_dir'
16226 xsi_shell='$xsi_shell'
16227 lt_shell_append='$lt_shell_append'
16229 # See if we are running on zsh, and set the options which allow our
16230 # commands through without removal of \ escapes INIT.
16231 if test -n "\${ZSH_VERSION+set}" ; then
16232 setopt NO_GLOB_SUBST
16238 TIMESTAMP='$TIMESTAMP'
16247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16249 # Handling of arguments.
16250 for ac_config_target in $ac_config_targets
16252 case $ac_config_target in
16253 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16254 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16255 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16256 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16257 "emotion.pc") CONFIG_FILES="$CONFIG_FILES emotion.pc" ;;
16258 "emotion.spec") CONFIG_FILES="$CONFIG_FILES emotion.spec" ;;
16259 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16260 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
16261 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
16262 "src/modules/xine/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/xine/Makefile" ;;
16263 "src/modules/gstreamer/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/gstreamer/Makefile" ;;
16264 "src/modules/generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/generic/Makefile" ;;
16265 "src/edje_external/Makefile") CONFIG_FILES="$CONFIG_FILES src/edje_external/Makefile" ;;
16266 "src/generic_players/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic_players/Makefile" ;;
16267 "src/generic_players/vlc/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic_players/vlc/Makefile" ;;
16268 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
16269 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
16270 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16271 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
16272 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16274 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16279 # If the user did not use the arguments to specify the items to instantiate,
16280 # then the envvar interface is used. Set only those that are not.
16281 # We use the long form for the default assignment because of an extremely
16282 # bizarre bug on SunOS 4.1.3.
16283 if $ac_need_defaults; then
16284 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16285 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16286 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16289 # Have a temporary directory for convenience. Make it in the build tree
16290 # simply because there is no reason against having it here, and in addition,
16291 # creating and moving files from /tmp can sometimes cause problems.
16292 # Hook for its removal unless debugging.
16293 # Note that there is a small window in which the directory will not be cleaned:
16294 # after its creation but before its name has been assigned to `$tmp'.
16298 trap 'exit_status=$?
16299 : "${ac_tmp:=$tmp}"
16300 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16302 trap 'as_fn_exit 1' 1 2 13 15
16304 # Create a (secure) tmp directory for tmp files.
16307 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16311 tmp=./conf$$-$RANDOM
16312 (umask 077 && mkdir "$tmp")
16313 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16316 # Set up the scripts for CONFIG_FILES section.
16317 # No need to generate them if there are no CONFIG_FILES.
16318 # This happens for instance with `./config.status config.h'.
16319 if test -n "$CONFIG_FILES"; then
16322 ac_cr=`echo X | tr X '\015'`
16323 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16324 # But we know of no other shell where ac_cr would be empty at this
16325 # point, so we can use a bashism as a fallback.
16326 if test "x$ac_cr" = x; then
16327 eval ac_cr=\$\'\\r\'
16329 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16330 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16333 ac_cs_awk_cr=$ac_cr
16336 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16341 echo "cat >conf$$subs.awk <<_ACEOF" &&
16342 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16344 } >conf$$subs.sh ||
16345 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16346 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16348 for ac_last_try in false false false false false :; do
16349 . ./conf$$subs.sh ||
16350 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16352 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16353 if test $ac_delim_n = $ac_delim_num; then
16355 elif $ac_last_try; then
16356 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16358 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16361 rm -f conf$$subs.sh
16363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16364 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16368 s/^/S["/; s/!.*/"]=/
16378 s/\(.\{148\}\)..*/\1/
16380 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16385 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16392 s/\(.\{148\}\)..*/\1/
16394 s/["\\]/\\&/g; s/^/"/; s/$/"/
16398 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16403 ' <conf$$subs.awk | sed '
16408 ' >>$CONFIG_STATUS || ac_write_fail=1
16409 rm -f conf$$subs.awk
16410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16412 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16413 for (key in S) S_is_set[key] = 1
16419 nfields = split(line, field, "@")
16421 len = length(field[1])
16422 for (i = 2; i < nfields; i++) {
16424 keylen = length(key)
16425 if (S_is_set[key]) {
16427 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16428 len += length(value) + length(field[++i])
16439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16440 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16441 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16444 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16445 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16448 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16449 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16450 # trailing colons and then remove the whole line if VPATH becomes empty
16451 # (actually we leave an empty line to preserve line numbers).
16452 if test "x$srcdir" = x.; then
16453 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16472 fi # test -n "$CONFIG_FILES"
16474 # Set up the scripts for CONFIG_HEADERS section.
16475 # No need to generate them if there are no CONFIG_HEADERS.
16476 # This happens for instance with `./config.status Makefile'.
16477 if test -n "$CONFIG_HEADERS"; then
16478 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16482 # Transform confdefs.h into an awk script `defines.awk', embedded as
16483 # here-document in config.status, that substitutes the proper values into
16484 # config.h.in to produce config.h.
16486 # Create a delimiter string that does not exist in confdefs.h, to ease
16487 # handling of long lines.
16489 for ac_last_try in false false :; do
16490 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16491 if test -z "$ac_tt"; then
16493 elif $ac_last_try; then
16494 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16496 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16500 # For the awk script, D is an array of macro values keyed by name,
16501 # likewise P contains macro parameters if any. Preserve backslash
16502 # newline sequences.
16504 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16506 s/.\{148\}/&'"$ac_delim"'/g
16509 s/^[ ]*#[ ]*define[ ][ ]*/ /
16516 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16518 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16522 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16523 D["\1"]=" \3\\\\\\n"\\/p
16525 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16530 s/.\{148\}/&'"$ac_delim"'/g
16535 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16538 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16540 ' <confdefs.h | sed '
16541 s/'"$ac_delim"'/"\\\
16542 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16545 for (key in D) D_is_set[key] = 1
16548 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16550 split(line, arg, " ")
16551 if (arg[1] == "#") {
16555 defundef = substr(arg[1], 2)
16558 split(mac1, mac2, "(") #)
16560 prefix = substr(line, 1, index(line, defundef) - 1)
16561 if (D_is_set[macro]) {
16562 # Preserve the white space surrounding the "#".
16563 print prefix "define", macro P[macro] D[macro]
16566 # Replace #undef with comments. This is necessary, for example,
16567 # in the case of _POSIX_SOURCE, which is predefined and required
16568 # on some systems where configure will not decide to define it.
16569 if (defundef == "undef") {
16570 print "/*", prefix defundef, macro, "*/"
16578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16579 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16580 fi # test -n "$CONFIG_HEADERS"
16583 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16588 :[FHLC]) ac_mode=$ac_tag; continue;;
16590 case $ac_mode$ac_tag in
16592 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16593 :[FH]-) ac_tag=-:-;;
16594 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16611 -) ac_f="$ac_tmp/stdin";;
16612 *) # Look for the file first in the build tree, then in the source tree
16613 # (if the path is not absolute). The absolute path cannot be DOS-style,
16614 # because $ac_f cannot contain `:'.
16618 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16620 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16622 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16623 as_fn_append ac_file_inputs " '$ac_f'"
16626 # Let's still pretend it is `configure' which instantiates (i.e., don't
16627 # use $as_me), people would be surprised to read:
16628 # /* config.h. Generated by config.status. */
16629 configure_input='Generated from '`
16630 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16632 if test x"$ac_file" != x-; then
16633 configure_input="$ac_file. $configure_input"
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16635 $as_echo "$as_me: creating $ac_file" >&6;}
16637 # Neutralize special characters interpreted by sed in replacement strings.
16638 case $configure_input in #(
16639 *\&* | *\|* | *\\* )
16640 ac_sed_conf_input=`$as_echo "$configure_input" |
16641 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16642 *) ac_sed_conf_input=$configure_input;;
16646 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16647 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16652 ac_dir=`$as_dirname -- "$ac_file" ||
16653 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16654 X"$ac_file" : 'X\(//\)[^/]' \| \
16655 X"$ac_file" : 'X\(//\)$' \| \
16656 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16657 $as_echo X"$ac_file" |
16658 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16662 /^X\(\/\/\)[^/].*/{
16675 as_dir="$ac_dir"; as_fn_mkdir_p
16679 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16681 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16682 # A ".." for each directory in $ac_dir_suffix.
16683 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16684 case $ac_top_builddir_sub in
16685 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16686 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16689 ac_abs_top_builddir=$ac_pwd
16690 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16691 # for backward compatibility:
16692 ac_top_builddir=$ac_top_build_prefix
16695 .) # We are building in place.
16697 ac_top_srcdir=$ac_top_builddir_sub
16698 ac_abs_top_srcdir=$ac_pwd ;;
16699 [\\/]* | ?:[\\/]* ) # Absolute name.
16700 ac_srcdir=$srcdir$ac_dir_suffix;
16701 ac_top_srcdir=$srcdir
16702 ac_abs_top_srcdir=$srcdir ;;
16703 *) # Relative name.
16704 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16705 ac_top_srcdir=$ac_top_build_prefix$srcdir
16706 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16708 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16718 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16719 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16721 ac_MKDIR_P=$MKDIR_P
16723 [\\/$]* | ?:[\\/]* ) ;;
16724 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16729 # If the template does not know about datarootdir, expand it.
16730 # FIXME: This hack should be removed a few years after 2.60.
16731 ac_datarootdir_hack=; ac_datarootdir_seen=
16742 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16743 *datarootdir*) ac_datarootdir_seen=yes;;
16744 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16746 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16749 ac_datarootdir_hack='
16750 s&@datadir@&$datadir&g
16751 s&@docdir@&$docdir&g
16752 s&@infodir@&$infodir&g
16753 s&@localedir@&$localedir&g
16754 s&@mandir@&$mandir&g
16755 s&\\\${datarootdir}&$datarootdir&g' ;;
16759 # Neutralize VPATH when `$srcdir' = `.'.
16760 # Shell code in configure.ac might set extrasub.
16761 # FIXME: do we really want to maintain this feature?
16762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16763 ac_sed_extra="$ac_vpsub
16766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16768 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16769 s|@configure_input@|$ac_sed_conf_input|;t t
16770 s&@top_builddir@&$ac_top_builddir_sub&;t t
16771 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16772 s&@srcdir@&$ac_srcdir&;t t
16773 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16774 s&@top_srcdir@&$ac_top_srcdir&;t t
16775 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16776 s&@builddir@&$ac_builddir&;t t
16777 s&@abs_builddir@&$ac_abs_builddir&;t t
16778 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16779 s&@INSTALL@&$ac_INSTALL&;t t
16780 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16781 $ac_datarootdir_hack
16783 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16784 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16786 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16787 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16788 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16789 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16791 which seems to be undefined. Please make sure it is defined" >&5
16792 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16793 which seems to be undefined. Please make sure it is defined" >&2;}
16795 rm -f "$ac_tmp/stdin"
16797 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16798 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16800 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16806 if test x"$ac_file" != x-; then
16808 $as_echo "/* $configure_input */" \
16809 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16810 } >"$ac_tmp/config.h" \
16811 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16812 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16814 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16817 mv "$ac_tmp/config.h" "$ac_file" \
16818 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16821 $as_echo "/* $configure_input */" \
16822 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16823 || as_fn_error $? "could not create -" "$LINENO" 5
16825 # Compute "$ac_file"'s index in $config_headers.
16828 for _am_header in $config_headers :; do
16829 case $_am_header in
16830 $_am_arg | $_am_arg:* )
16833 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16836 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16837 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16838 X"$_am_arg" : 'X\(//\)[^/]' \| \
16839 X"$_am_arg" : 'X\(//\)$' \| \
16840 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16841 $as_echo X"$_am_arg" |
16842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16846 /^X\(\/\/\)[^/].*/{
16858 s/.*/./; q'`/stamp-h$_am_stamp_count
16861 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16862 $as_echo "$as_me: executing $ac_file commands" >&6;}
16867 case $ac_file$ac_mode in
16868 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16869 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16870 # are listed without --file. Let's play safe and only enable the eval
16871 # if we detect the quoting.
16872 case $CONFIG_FILES in
16873 *\'*) eval set x "$CONFIG_FILES" ;;
16874 *) set x $CONFIG_FILES ;;
16879 # Strip MF so we end up with the name of the file.
16880 mf=`echo "$mf" | sed -e 's/:.*$//'`
16881 # Check whether this is an Automake generated Makefile or not.
16882 # We used to match only the files named `Makefile.in', but
16883 # some people rename them; so instead we look at the file content.
16884 # Grep'ing the first line is not enough: some people post-process
16885 # each Makefile.in and add a new line on top of each file to say so.
16886 # Grep'ing the whole file is not good either: AIX grep has a line
16887 # limit of 2048, but all sed's we know have understand at least 4000.
16888 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16889 dirpart=`$as_dirname -- "$mf" ||
16890 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16891 X"$mf" : 'X\(//\)[^/]' \| \
16892 X"$mf" : 'X\(//\)$' \| \
16893 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16899 /^X\(\/\/\)[^/].*/{
16915 # Extract the definition of DEPDIR, am__include, and am__quote
16916 # from the Makefile without running `make'.
16917 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16918 test -z "$DEPDIR" && continue
16919 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16920 test -z "am__include" && continue
16921 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16922 # When using ansi2knr, U may be empty or an underscore; expand it
16923 U=`sed -n 's/^U = //p' < "$mf"`
16924 # Find all dependency output files, they are included files with
16925 # $(DEPDIR) in their names. We invoke sed twice because it is the
16926 # simplest approach to changing $(DEPDIR) to its actual value in the
16928 for file in `sed -n "
16929 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16930 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16931 # Make sure the directory exists.
16932 test -f "$dirpart/$file" && continue
16933 fdir=`$as_dirname -- "$file" ||
16934 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16935 X"$file" : 'X\(//\)[^/]' \| \
16936 X"$file" : 'X\(//\)$' \| \
16937 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16938 $as_echo X"$file" |
16939 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16943 /^X\(\/\/\)[^/].*/{
16956 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16957 # echo "creating $dirpart/$file"
16958 echo '# dummy' > "$dirpart/$file"
16965 # See if we are running on zsh, and set the options which allow our
16966 # commands through without removal of \ escapes.
16967 if test -n "${ZSH_VERSION+set}" ; then
16968 setopt NO_GLOB_SUBST
16971 cfgfile="${ofile}T"
16972 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16975 cat <<_LT_EOF >> "$cfgfile"
16978 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16979 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16980 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16981 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16983 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16984 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16986 # Written by Gordon Matzigkeit, 1996
16988 # This file is part of GNU Libtool.
16990 # GNU Libtool is free software; you can redistribute it and/or
16991 # modify it under the terms of the GNU General Public License as
16992 # published by the Free Software Foundation; either version 2 of
16993 # the License, or (at your option) any later version.
16995 # As a special exception to the GNU General Public License,
16996 # if you distribute this file as part of a program or library that
16997 # is built using GNU Libtool, you may include this file under the
16998 # same distribution terms that you use for the rest of that program.
17000 # GNU Libtool is distributed in the hope that it will be useful,
17001 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17002 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17003 # GNU General Public License for more details.
17005 # You should have received a copy of the GNU General Public License
17006 # along with GNU Libtool; see the file COPYING. If not, a copy
17007 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17008 # obtained by writing to the Free Software Foundation, Inc.,
17009 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17012 # The names of the tagged configurations supported by this script.
17015 # ### BEGIN LIBTOOL CONFIG
17017 # Assembler program.
17020 # DLL creation program.
17021 DLLTOOL=$lt_DLLTOOL
17023 # Object dumper program.
17024 OBJDUMP=$lt_OBJDUMP
17026 # Which release of libtool.m4 was used?
17027 macro_version=$macro_version
17028 macro_revision=$macro_revision
17030 # Whether or not to build shared libraries.
17031 build_libtool_libs=$enable_shared
17033 # Whether or not to build static libraries.
17034 build_old_libs=$enable_static
17036 # What type of objects to build.
17039 # Whether or not to optimize for fast installation.
17040 fast_install=$enable_fast_install
17042 # Shell to use when invoking shell scripts.
17045 # An echo program that protects backslashes.
17048 # The PATH separator for the build system.
17049 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17052 host_alias=$host_alias
17056 # The build system.
17057 build_alias=$build_alias
17061 # A sed program that does not truncate output.
17064 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17065 Xsed="\$SED -e 1s/^X//"
17067 # A grep program that handles long lines.
17073 # A literal string matcher.
17076 # A BSD- or MS-compatible name lister.
17079 # Whether we need soft or hard links.
17082 # What is the maximum length of a command?
17083 max_cmd_len=$max_cmd_len
17085 # Object file suffix (normally "o").
17088 # Executable file suffix (normally "").
17091 # whether the shell understands "unset".
17094 # turn spaces into newlines.
17097 # turn newlines into spaces.
17100 # convert \$build file names to \$host format.
17101 to_host_file_cmd=$lt_cv_to_host_file_cmd
17103 # convert \$build files to toolchain format.
17104 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17106 # Method to check whether dependent libraries are shared objects.
17107 deplibs_check_method=$lt_deplibs_check_method
17109 # Command to use when deplibs_check_method = "file_magic".
17110 file_magic_cmd=$lt_file_magic_cmd
17112 # How to find potential files when deplibs_check_method = "file_magic".
17113 file_magic_glob=$lt_file_magic_glob
17115 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17116 want_nocaseglob=$lt_want_nocaseglob
17118 # Command to associate shared and link libraries.
17119 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17124 # Flags to create an archive.
17125 AR_FLAGS=$lt_AR_FLAGS
17127 # How to feed a file listing to the archiver.
17128 archiver_list_spec=$lt_archiver_list_spec
17130 # A symbol stripping program.
17133 # Commands used to install an old-style archive.
17135 old_postinstall_cmds=$lt_old_postinstall_cmds
17136 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17138 # Whether to use a lock for old archive extraction.
17139 lock_old_archive_extraction=$lock_old_archive_extraction
17144 # LTCC compiler flags.
17145 LTCFLAGS=$lt_CFLAGS
17147 # Take the output of nm and produce a listing of raw symbols and C names.
17148 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17150 # Transform the output of nm in a proper C declaration.
17151 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17153 # Transform the output of nm in a C name address pair.
17154 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17156 # Transform the output of nm in a C name address pair when lib prefix is needed.
17157 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17159 # Specify filename containing input files for \$NM.
17160 nm_file_list_spec=$lt_nm_file_list_spec
17162 # The root where to search for dependent libraries,and in which our libraries should be installed.
17163 lt_sysroot=$lt_sysroot
17165 # The name of the directory that contains temporary libtool files.
17168 # Used to examine libraries when file_magic_cmd begins with "file".
17169 MAGIC_CMD=$MAGIC_CMD
17171 # Must we lock files when doing compilation?
17172 need_locks=$lt_need_locks
17175 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17177 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17178 DSYMUTIL=$lt_DSYMUTIL
17180 # Tool to change global to local symbols on Mac OS X.
17183 # Tool to manipulate fat objects and archives on Mac OS X.
17186 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17189 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17190 OTOOL64=$lt_OTOOL64
17192 # Old archive suffix (normally "a").
17195 # Shared library suffix (normally ".so").
17196 shrext_cmds=$lt_shrext_cmds
17198 # The commands to extract the exported symbol list from a shared archive.
17199 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17201 # Variables whose values should be saved in libtool wrapper scripts and
17202 # restored at link time.
17203 variables_saved_for_relink=$lt_variables_saved_for_relink
17205 # Do we need the "lib" prefix for modules?
17206 need_lib_prefix=$need_lib_prefix
17208 # Do we need a version for libraries?
17209 need_version=$need_version
17211 # Library versioning type.
17212 version_type=$version_type
17214 # Shared library runtime path variable.
17215 runpath_var=$runpath_var
17217 # Shared library path variable.
17218 shlibpath_var=$shlibpath_var
17220 # Is shlibpath searched before the hard-coded library search path?
17221 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17223 # Format of library name prefix.
17224 libname_spec=$lt_libname_spec
17226 # List of archive names. First name is the real one, the rest are links.
17227 # The last name is the one that the linker finds with -lNAME
17228 library_names_spec=$lt_library_names_spec
17230 # The coded name of the library, if different from the real name.
17231 soname_spec=$lt_soname_spec
17233 # Permission mode override for installation of shared libraries.
17234 install_override_mode=$lt_install_override_mode
17236 # Command to use after installation of a shared archive.
17237 postinstall_cmds=$lt_postinstall_cmds
17239 # Command to use after uninstallation of a shared archive.
17240 postuninstall_cmds=$lt_postuninstall_cmds
17242 # Commands used to finish a libtool library installation in a directory.
17243 finish_cmds=$lt_finish_cmds
17245 # As "finish_cmds", except a single script fragment to be evaled but
17247 finish_eval=$lt_finish_eval
17249 # Whether we should hardcode library paths into libraries.
17250 hardcode_into_libs=$hardcode_into_libs
17252 # Compile-time system search path for libraries.
17253 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17255 # Run-time system search path for libraries.
17256 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17258 # Whether dlopen is supported.
17259 dlopen_support=$enable_dlopen
17261 # Whether dlopen of programs is supported.
17262 dlopen_self=$enable_dlopen_self
17264 # Whether dlopen of statically linked programs is supported.
17265 dlopen_self_static=$enable_dlopen_self_static
17267 # Commands to strip libraries.
17268 old_striplib=$lt_old_striplib
17269 striplib=$lt_striplib
17272 # The linker used to build libraries.
17275 # How to create reloadable object files.
17276 reload_flag=$lt_reload_flag
17277 reload_cmds=$lt_reload_cmds
17279 # Commands used to build an old-style archive.
17280 old_archive_cmds=$lt_old_archive_cmds
17282 # A language specific compiler.
17285 # Is the compiler the GNU compiler?
17288 # Compiler flag to turn off builtin functions.
17289 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17291 # Additional compiler flags for building library objects.
17292 pic_flag=$lt_lt_prog_compiler_pic
17294 # How to pass a linker flag through the compiler.
17295 wl=$lt_lt_prog_compiler_wl
17297 # Compiler flag to prevent dynamic linking.
17298 link_static_flag=$lt_lt_prog_compiler_static
17300 # Does compiler simultaneously support -c and -o options?
17301 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17303 # Whether or not to add -lc for building shared libraries.
17304 build_libtool_need_lc=$archive_cmds_need_lc
17306 # Whether or not to disallow shared libs when runtime libs are static.
17307 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17309 # Compiler flag to allow reflexive dlopens.
17310 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17312 # Compiler flag to generate shared objects directly from archives.
17313 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17315 # Whether the compiler copes with passing no objects directly.
17316 compiler_needs_object=$lt_compiler_needs_object
17318 # Create an old-style archive from a shared archive.
17319 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17321 # Create a temporary old-style archive to link instead of a shared archive.
17322 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17324 # Commands used to build a shared archive.
17325 archive_cmds=$lt_archive_cmds
17326 archive_expsym_cmds=$lt_archive_expsym_cmds
17328 # Commands used to build a loadable module if different from building
17329 # a shared archive.
17330 module_cmds=$lt_module_cmds
17331 module_expsym_cmds=$lt_module_expsym_cmds
17333 # Whether we are building with GNU ld or not.
17334 with_gnu_ld=$lt_with_gnu_ld
17336 # Flag that allows shared libraries with undefined symbols to be built.
17337 allow_undefined_flag=$lt_allow_undefined_flag
17339 # Flag that enforces no undefined symbols.
17340 no_undefined_flag=$lt_no_undefined_flag
17342 # Flag to hardcode \$libdir into a binary during linking.
17343 # This must work even if \$libdir does not exist
17344 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17346 # Whether we need a single "-rpath" flag with a separated argument.
17347 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17349 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17350 # DIR into the resulting binary.
17351 hardcode_direct=$hardcode_direct
17353 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17354 # DIR into the resulting binary and the resulting library dependency is
17355 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17356 # library is relocated.
17357 hardcode_direct_absolute=$hardcode_direct_absolute
17359 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17360 # into the resulting binary.
17361 hardcode_minus_L=$hardcode_minus_L
17363 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17364 # into the resulting binary.
17365 hardcode_shlibpath_var=$hardcode_shlibpath_var
17367 # Set to "yes" if building a shared library automatically hardcodes DIR
17368 # into the library and all subsequent libraries and executables linked
17370 hardcode_automatic=$hardcode_automatic
17372 # Set to yes if linker adds runtime paths of dependent libraries
17373 # to runtime path list.
17374 inherit_rpath=$inherit_rpath
17376 # Whether libtool must link a program against all its dependency libraries.
17377 link_all_deplibs=$link_all_deplibs
17379 # Set to "yes" if exported symbols are required.
17380 always_export_symbols=$always_export_symbols
17382 # The commands to list exported symbols.
17383 export_symbols_cmds=$lt_export_symbols_cmds
17385 # Symbols that should not be listed in the preloaded symbols.
17386 exclude_expsyms=$lt_exclude_expsyms
17388 # Symbols that must always be exported.
17389 include_expsyms=$lt_include_expsyms
17391 # Commands necessary for linking programs (against libraries) with templates.
17392 prelink_cmds=$lt_prelink_cmds
17394 # Commands necessary for finishing linking programs.
17395 postlink_cmds=$lt_postlink_cmds
17397 # Specify filename containing input files.
17398 file_list_spec=$lt_file_list_spec
17400 # How to hardcode a shared library path into an executable.
17401 hardcode_action=$hardcode_action
17403 # ### END LIBTOOL CONFIG
17409 cat <<\_LT_EOF >> "$cfgfile"
17410 # AIX sometimes has problems with the GCC collect2 program. For some
17411 # reason, if we set the COLLECT_NAMES environment variable, the problems
17412 # vanish in a puff of smoke.
17413 if test "X${COLLECT_NAMES+set}" != Xset; then
17415 export COLLECT_NAMES
17422 ltmain="$ac_aux_dir/ltmain.sh"
17425 # We use sed instead of cat because bash on DJGPP gets confused if
17426 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17427 # text mode, it properly converts lines to CR/LF. This bash problem
17428 # is reportedly fixed, but why not run on old versions too?
17429 sed '$q' "$ltmain" >> "$cfgfile" \
17430 || (rm -f "$cfgfile"; exit 1)
17432 if test x"$xsi_shell" = xyes; then
17433 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17437 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17438 \ * ) func_dirname_result="${3}" ;;\
17440 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17441 && mv -f "$cfgfile.tmp" "$cfgfile" \
17442 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17443 test 0 -eq $? || _lt_function_replace_fail=:
17446 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17449 \ func_basename_result="${1##*/}"\
17450 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17451 && mv -f "$cfgfile.tmp" "$cfgfile" \
17452 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17453 test 0 -eq $? || _lt_function_replace_fail=:
17456 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17457 func_dirname_and_basename ()\
17460 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17461 \ * ) func_dirname_result="${3}" ;;\
17463 \ func_basename_result="${1##*/}"\
17464 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17465 && mv -f "$cfgfile.tmp" "$cfgfile" \
17466 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17467 test 0 -eq $? || _lt_function_replace_fail=:
17470 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17473 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17474 \ # positional parameters, so assign one to ordinary parameter first.\
17475 \ func_stripname_result=${3}\
17476 \ func_stripname_result=${func_stripname_result#"${1}"}\
17477 \ func_stripname_result=${func_stripname_result%"${2}"}\
17478 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17479 && mv -f "$cfgfile.tmp" "$cfgfile" \
17480 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17481 test 0 -eq $? || _lt_function_replace_fail=:
17484 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17485 func_split_long_opt ()\
17487 \ func_split_long_opt_name=${1%%=*}\
17488 \ func_split_long_opt_arg=${1#*=}\
17489 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17490 && mv -f "$cfgfile.tmp" "$cfgfile" \
17491 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17492 test 0 -eq $? || _lt_function_replace_fail=:
17495 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17496 func_split_short_opt ()\
17498 \ func_split_short_opt_arg=${1#??}\
17499 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17500 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17501 && mv -f "$cfgfile.tmp" "$cfgfile" \
17502 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17503 test 0 -eq $? || _lt_function_replace_fail=:
17506 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17510 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17511 \ *) func_lo2o_result=${1} ;;\
17513 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17514 && mv -f "$cfgfile.tmp" "$cfgfile" \
17515 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17516 test 0 -eq $? || _lt_function_replace_fail=:
17519 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17522 func_xform_result=${1%.*}.lo\
17523 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17524 && mv -f "$cfgfile.tmp" "$cfgfile" \
17525 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17526 test 0 -eq $? || _lt_function_replace_fail=:
17529 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17532 func_arith_result=$(( $* ))\
17533 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17534 && mv -f "$cfgfile.tmp" "$cfgfile" \
17535 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17536 test 0 -eq $? || _lt_function_replace_fail=:
17539 sed -e '/^func_len ()$/,/^} # func_len /c\
17542 func_len_result=${#1}\
17543 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17544 && mv -f "$cfgfile.tmp" "$cfgfile" \
17545 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17546 test 0 -eq $? || _lt_function_replace_fail=:
17550 if test x"$lt_shell_append" = xyes; then
17551 sed -e '/^func_append ()$/,/^} # func_append /c\
17554 eval "${1}+=\\${2}"\
17555 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17556 && mv -f "$cfgfile.tmp" "$cfgfile" \
17557 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17558 test 0 -eq $? || _lt_function_replace_fail=:
17561 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17562 func_append_quoted ()\
17564 \ func_quote_for_eval "${2}"\
17565 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17566 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17567 && mv -f "$cfgfile.tmp" "$cfgfile" \
17568 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17569 test 0 -eq $? || _lt_function_replace_fail=:
17572 # Save a `func_append' function call where possible by direct use of '+='
17573 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17574 && mv -f "$cfgfile.tmp" "$cfgfile" \
17575 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17576 test 0 -eq $? || _lt_function_replace_fail=:
17578 # Save a `func_append' function call even when '+=' is not available
17579 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17580 && mv -f "$cfgfile.tmp" "$cfgfile" \
17581 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17582 test 0 -eq $? || _lt_function_replace_fail=:
17585 if test x"$_lt_function_replace_fail" = x":"; then
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17587 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17591 mv -f "$cfgfile" "$ofile" ||
17592 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17603 ac_clean_files=$ac_clean_files_save
17605 test $ac_write_fail = 0 ||
17606 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17609 # configure is writing to config.log, and then calls config.status.
17610 # config.status does its own redirection, appending to config.log.
17611 # Unfortunately, on DOS this fails, as config.log is still kept open
17612 # by configure, so config.status won't be able to write to it; its
17613 # output is simply discarded. So we exec the FD to /dev/null,
17614 # effectively closing config.log, so it can be properly (re)opened and
17615 # appended to by config.status. When coming back to configure, we
17616 # need to make the FD available again.
17617 if test "$no_create" != yes; then
17619 ac_config_status_args=
17620 test "$silent" = yes &&
17621 ac_config_status_args="$ac_config_status_args --quiet"
17623 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17625 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17626 # would make configure fail if this is the last instruction.
17627 $ac_cs_success || as_fn_exit 1
17629 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17631 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17636 #####################################################################
17642 echo "------------------------------------------------------------------------"
17643 echo "$PACKAGE $VERSION"
17644 echo "------------------------------------------------------------------------"
17646 echo "Configuration Options Summary:"
17649 echo " Xine...............: ${enable_xine}"
17650 echo " Gstreamer..........: ${enable_gstreamer} (X: ${have_ecore_x}/${build_xoverlay})"
17651 echo " Generic............: ${enable_generic}"
17653 if test "x${enable_generic}" = "xyes" || test "x${enable_generic}" = "xstatic"; then
17655 echo " Generic Players:"
17656 echo " VLC................: ${enable_generic_vlc}"
17660 echo " Build emotion_test...: $have_emotion_test"
17661 echo " edje_cc..............: ${edje_cc}"
17663 echo " Edje EXTERNAL support: ${have_edje_external}"
17665 echo " Eio..................: ${have_eio}"
17666 echo " V4L2.................: ${have_v4l2}"
17668 echo "Documentation..........: ${build_doc}"
17669 echo "Examples.............: ${enable_build_examples}"
17670 echo "Examples installed...: ${enable_install_examples}"
17672 echo "Compilation............: make (or gmake)"
17673 echo " CPPFLAGS.............: $CPPFLAGS"
17674 echo " CFLAGS...............: $CFLAGS"
17675 echo " LDFLAGS..............: $LDFLAGS"
17677 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
17678 echo " prefix...............: $prefix"
17680 if test "x${have_static_module}" = "xyes" ; then
17681 echo -e "\0033\01331;31mWarning\0033\01331;0m: You are trying to link statically one or more modules to Emotion."
17682 echo " You must know what you are doing, or else you will have a lot of problems."
17683 echo " And asparagus will disappear from the earth."
17684 echo " Think about that."