2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for emotion 1.7.8.
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: enlightenment-devel@lists.sourceforge.net about your
279 $0: system, including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
591 PACKAGE_NAME='emotion'
592 PACKAGE_TARNAME='emotion'
593 PACKAGE_VERSION='1.7.8'
594 PACKAGE_STRING='emotion 1.7.8'
595 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
598 ac_unique_file="configure.ac"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars='am__EXEEXT_FALSE
640 EFL_INSTALL_EXAMPLES_FALSE
641 EFL_INSTALL_EXAMPLES_TRUE
642 EFL_BUILD_EXAMPLES_FALSE
643 EFL_BUILD_EXAMPLES_TRUE
644 GSTREAMER_INTERFACE_LIBS
645 GSTREAMER_INTERFACE_CFLAGS
646 EMOTION_BUILD_GENERIC_VLC_FALSE
647 EMOTION_BUILD_GENERIC_VLC_TRUE
651 EMOTION_STATIC_BUILD_GENERIC_FALSE
652 EMOTION_STATIC_BUILD_GENERIC_TRUE
653 EMOTION_BUILD_GENERIC_FALSE
654 EMOTION_BUILD_GENERIC_TRUE
657 EMOTION_STATIC_BUILD_GSTREAMER_FALSE
658 EMOTION_STATIC_BUILD_GSTREAMER_TRUE
659 EMOTION_BUILD_GSTREAMER_FALSE
660 EMOTION_BUILD_GSTREAMER_TRUE
663 EMOTION_STATIC_BUILD_XINE_FALSE
664 EMOTION_STATIC_BUILD_XINE_TRUE
665 EMOTION_BUILD_XINE_FALSE
666 EMOTION_BUILD_XINE_TRUE
670 lt_enable_auto_import
679 ENABLE_EDJE_EXTERNAL_FALSE
680 ENABLE_EDJE_EXTERNAL_TRUE
696 pkgconfig_requires_private
701 BUILD_EMOTION_TEST_FALSE
702 BUILD_EMOTION_TEST_TRUE
752 INSTALL_STRIP_PROGRAM
809 program_transform_name
822 enable_option_checking
823 enable_dependency_tracking
842 enable_build_examples
843 enable_install_examples
845 ac_precious_vars='build_alias
879 GSTREAMER_INTERFACE_CFLAGS
880 GSTREAMER_INTERFACE_LIBS'
883 # Initialize some variables set by options.
885 ac_init_version=false
886 ac_unrecognized_opts=
888 # The variables have the same names as the options, with
889 # dashes changed to underlines.
897 program_transform_name=s,x,x,
905 # Installation directory options.
906 # These are left unexpanded so users can "make install exec_prefix=/foo"
907 # and all the variables that are supposed to be based on exec_prefix
908 # by default will actually change.
909 # Use braces instead of parens because sh, perl, etc. also accept them.
910 # (The list follows the same order as the GNU Coding Standards.)
911 bindir='${exec_prefix}/bin'
912 sbindir='${exec_prefix}/sbin'
913 libexecdir='${exec_prefix}/libexec'
914 datarootdir='${prefix}/share'
915 datadir='${datarootdir}'
916 sysconfdir='${prefix}/etc'
917 sharedstatedir='${prefix}/com'
918 localstatedir='${prefix}/var'
919 includedir='${prefix}/include'
920 oldincludedir='/usr/include'
921 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
922 infodir='${datarootdir}/info'
927 libdir='${exec_prefix}/lib'
928 localedir='${datarootdir}/locale'
929 mandir='${datarootdir}/man'
935 # If the previous option needs an argument, assign it.
936 if test -n "$ac_prev"; then
937 eval $ac_prev=\$ac_option
943 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
948 # Accept the important Cygnus configure options, so we can diagnose typos.
950 case $ac_dashdash$ac_option in
954 -bindir | --bindir | --bindi | --bind | --bin | --bi)
956 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
959 -build | --build | --buil | --bui | --bu)
960 ac_prev=build_alias ;;
961 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
962 build_alias=$ac_optarg ;;
964 -cache-file | --cache-file | --cache-fil | --cache-fi \
965 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
966 ac_prev=cache_file ;;
967 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
968 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
969 cache_file=$ac_optarg ;;
972 cache_file=config.cache ;;
974 -datadir | --datadir | --datadi | --datad)
976 -datadir=* | --datadir=* | --datadi=* | --datad=*)
977 datadir=$ac_optarg ;;
979 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
980 | --dataroo | --dataro | --datar)
981 ac_prev=datarootdir ;;
982 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
983 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
984 datarootdir=$ac_optarg ;;
986 -disable-* | --disable-*)
987 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
988 # Reject names that are not valid shell variable names.
989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
990 as_fn_error $? "invalid feature name: $ac_useropt"
991 ac_useropt_orig=$ac_useropt
992 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
993 case $ac_user_opts in
997 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
998 ac_unrecognized_sep=', ';;
1000 eval enable_$ac_useropt=no ;;
1002 -docdir | --docdir | --docdi | --doc | --do)
1004 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1005 docdir=$ac_optarg ;;
1007 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1009 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1010 dvidir=$ac_optarg ;;
1012 -enable-* | --enable-*)
1013 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1014 # Reject names that are not valid shell variable names.
1015 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1016 as_fn_error $? "invalid feature name: $ac_useropt"
1017 ac_useropt_orig=$ac_useropt
1018 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1019 case $ac_user_opts in
1021 "enable_$ac_useropt"
1023 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1024 ac_unrecognized_sep=', ';;
1026 eval enable_$ac_useropt=\$ac_optarg ;;
1028 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1029 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1030 | --exec | --exe | --ex)
1031 ac_prev=exec_prefix ;;
1032 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1033 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1034 | --exec=* | --exe=* | --ex=*)
1035 exec_prefix=$ac_optarg ;;
1037 -gas | --gas | --ga | --g)
1038 # Obsolete; use --with-gas.
1041 -help | --help | --hel | --he | -h)
1042 ac_init_help=long ;;
1043 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1044 ac_init_help=recursive ;;
1045 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1046 ac_init_help=short ;;
1048 -host | --host | --hos | --ho)
1049 ac_prev=host_alias ;;
1050 -host=* | --host=* | --hos=* | --ho=*)
1051 host_alias=$ac_optarg ;;
1053 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1055 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1057 htmldir=$ac_optarg ;;
1059 -includedir | --includedir | --includedi | --included | --include \
1060 | --includ | --inclu | --incl | --inc)
1061 ac_prev=includedir ;;
1062 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1063 | --includ=* | --inclu=* | --incl=* | --inc=*)
1064 includedir=$ac_optarg ;;
1066 -infodir | --infodir | --infodi | --infod | --info | --inf)
1068 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1069 infodir=$ac_optarg ;;
1071 -libdir | --libdir | --libdi | --libd)
1073 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1074 libdir=$ac_optarg ;;
1076 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1077 | --libexe | --libex | --libe)
1078 ac_prev=libexecdir ;;
1079 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1080 | --libexe=* | --libex=* | --libe=*)
1081 libexecdir=$ac_optarg ;;
1083 -localedir | --localedir | --localedi | --localed | --locale)
1084 ac_prev=localedir ;;
1085 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1086 localedir=$ac_optarg ;;
1088 -localstatedir | --localstatedir | --localstatedi | --localstated \
1089 | --localstate | --localstat | --localsta | --localst | --locals)
1090 ac_prev=localstatedir ;;
1091 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1092 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1093 localstatedir=$ac_optarg ;;
1095 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1097 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1098 mandir=$ac_optarg ;;
1100 -nfp | --nfp | --nf)
1101 # Obsolete; use --without-fp.
1104 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1105 | --no-cr | --no-c | -n)
1108 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1109 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1112 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1113 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1114 | --oldin | --oldi | --old | --ol | --o)
1115 ac_prev=oldincludedir ;;
1116 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1117 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1118 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1119 oldincludedir=$ac_optarg ;;
1121 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1123 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1124 prefix=$ac_optarg ;;
1126 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1127 | --program-pre | --program-pr | --program-p)
1128 ac_prev=program_prefix ;;
1129 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1130 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1131 program_prefix=$ac_optarg ;;
1133 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1134 | --program-suf | --program-su | --program-s)
1135 ac_prev=program_suffix ;;
1136 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1137 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1138 program_suffix=$ac_optarg ;;
1140 -program-transform-name | --program-transform-name \
1141 | --program-transform-nam | --program-transform-na \
1142 | --program-transform-n | --program-transform- \
1143 | --program-transform | --program-transfor \
1144 | --program-transfo | --program-transf \
1145 | --program-trans | --program-tran \
1146 | --progr-tra | --program-tr | --program-t)
1147 ac_prev=program_transform_name ;;
1148 -program-transform-name=* | --program-transform-name=* \
1149 | --program-transform-nam=* | --program-transform-na=* \
1150 | --program-transform-n=* | --program-transform-=* \
1151 | --program-transform=* | --program-transfor=* \
1152 | --program-transfo=* | --program-transf=* \
1153 | --program-trans=* | --program-tran=* \
1154 | --progr-tra=* | --program-tr=* | --program-t=*)
1155 program_transform_name=$ac_optarg ;;
1157 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1159 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1160 pdfdir=$ac_optarg ;;
1162 -psdir | --psdir | --psdi | --psd | --ps)
1164 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1167 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1168 | -silent | --silent | --silen | --sile | --sil)
1171 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1173 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1175 sbindir=$ac_optarg ;;
1177 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1178 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1179 | --sharedst | --shareds | --shared | --share | --shar \
1181 ac_prev=sharedstatedir ;;
1182 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1183 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1184 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1186 sharedstatedir=$ac_optarg ;;
1188 -site | --site | --sit)
1190 -site=* | --site=* | --sit=*)
1193 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1195 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1196 srcdir=$ac_optarg ;;
1198 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1199 | --syscon | --sysco | --sysc | --sys | --sy)
1200 ac_prev=sysconfdir ;;
1201 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1202 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1203 sysconfdir=$ac_optarg ;;
1205 -target | --target | --targe | --targ | --tar | --ta | --t)
1206 ac_prev=target_alias ;;
1207 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1208 target_alias=$ac_optarg ;;
1210 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1213 -version | --version | --versio | --versi | --vers | -V)
1214 ac_init_version=: ;;
1217 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1218 # Reject names that are not valid shell variable names.
1219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1220 as_fn_error $? "invalid package name: $ac_useropt"
1221 ac_useropt_orig=$ac_useropt
1222 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1223 case $ac_user_opts in
1227 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1228 ac_unrecognized_sep=', ';;
1230 eval with_$ac_useropt=\$ac_optarg ;;
1232 -without-* | --without-*)
1233 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1234 # Reject names that are not valid shell variable names.
1235 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1236 as_fn_error $? "invalid package name: $ac_useropt"
1237 ac_useropt_orig=$ac_useropt
1238 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1239 case $ac_user_opts in
1243 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1244 ac_unrecognized_sep=', ';;
1246 eval with_$ac_useropt=no ;;
1249 # Obsolete; use --with-x.
1252 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1253 | --x-incl | --x-inc | --x-in | --x-i)
1254 ac_prev=x_includes ;;
1255 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1256 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1257 x_includes=$ac_optarg ;;
1259 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1260 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1261 ac_prev=x_libraries ;;
1262 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1263 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1264 x_libraries=$ac_optarg ;;
1266 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1267 Try \`$0 --help' for more information"
1271 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1272 # Reject names that are not valid shell variable names.
1273 case $ac_envvar in #(
1274 '' | [0-9]* | *[!_$as_cr_alnum]* )
1275 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1277 eval $ac_envvar=\$ac_optarg
1278 export $ac_envvar ;;
1281 # FIXME: should be removed in autoconf 3.0.
1282 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1283 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1284 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1285 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1291 if test -n "$ac_prev"; then
1292 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1293 as_fn_error $? "missing argument to $ac_option"
1296 if test -n "$ac_unrecognized_opts"; then
1297 case $enable_option_checking in
1299 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1300 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1304 # Check all directory arguments for consistency.
1305 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1306 datadir sysconfdir sharedstatedir localstatedir includedir \
1307 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1308 libdir localedir mandir
1310 eval ac_val=\$$ac_var
1311 # Remove trailing slashes.
1314 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1315 eval $ac_var=\$ac_val;;
1317 # Be sure to have absolute directory names.
1319 [\\/$]* | ?:[\\/]* ) continue;;
1320 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1322 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1325 # There might be people who depend on the old broken behavior: `$host'
1326 # used to hold the argument of --host etc.
1327 # FIXME: To remove some day.
1330 target=$target_alias
1332 # FIXME: To remove some day.
1333 if test "x$host_alias" != x; then
1334 if test "x$build_alias" = x; then
1335 cross_compiling=maybe
1336 elif test "x$build_alias" != "x$host_alias"; then
1342 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1344 test "$silent" = yes && exec 6>/dev/null
1347 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1348 ac_ls_di=`ls -di .` &&
1349 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1350 as_fn_error $? "working directory cannot be determined"
1351 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1352 as_fn_error $? "pwd does not report name of working directory"
1355 # Find the source files, if location was not specified.
1356 if test -z "$srcdir"; then
1357 ac_srcdir_defaulted=yes
1358 # Try the directory containing this script, then the parent directory.
1359 ac_confdir=`$as_dirname -- "$as_myself" ||
1360 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1361 X"$as_myself" : 'X\(//\)[^/]' \| \
1362 X"$as_myself" : 'X\(//\)$' \| \
1363 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1364 $as_echo X"$as_myself" |
1365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1383 if test ! -r "$srcdir/$ac_unique_file"; then
1387 ac_srcdir_defaulted=no
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1390 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1391 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1393 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1395 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1397 # When building in place, set srcdir=.
1398 if test "$ac_abs_confdir" = "$ac_pwd"; then
1401 # Remove unnecessary trailing slashes from srcdir.
1402 # Double slashes in file names in object file debugging info
1403 # mess up M-x gdb in Emacs.
1405 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1407 for ac_var in $ac_precious_vars; do
1408 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1409 eval ac_env_${ac_var}_value=\$${ac_var}
1410 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1411 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1415 # Report the --help message.
1417 if test "$ac_init_help" = "long"; then
1418 # Omit some internal or obsolete options to make the list less imposing.
1419 # This message is too long to be a string in the A/UX 3.1 sh.
1421 \`configure' configures emotion 1.7.8 to adapt to many kinds of systems.
1423 Usage: $0 [OPTION]... [VAR=VALUE]...
1425 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1426 VAR=VALUE. See below for descriptions of some of the useful variables.
1428 Defaults for the options are specified in brackets.
1431 -h, --help display this help and exit
1432 --help=short display options specific to this package
1433 --help=recursive display the short help of all the included packages
1434 -V, --version display version information and exit
1435 -q, --quiet, --silent do not print \`checking ...' messages
1436 --cache-file=FILE cache test results in FILE [disabled]
1437 -C, --config-cache alias for \`--cache-file=config.cache'
1438 -n, --no-create do not create output files
1439 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1441 Installation directories:
1442 --prefix=PREFIX install architecture-independent files in PREFIX
1443 [$ac_default_prefix]
1444 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1447 By default, \`make install' will install all the files in
1448 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1449 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1450 for instance \`--prefix=\$HOME'.
1452 For better control, use the options below.
1454 Fine tuning of the installation directories:
1455 --bindir=DIR user executables [EPREFIX/bin]
1456 --sbindir=DIR system admin executables [EPREFIX/sbin]
1457 --libexecdir=DIR program executables [EPREFIX/libexec]
1458 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1459 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1460 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1461 --libdir=DIR object code libraries [EPREFIX/lib]
1462 --includedir=DIR C header files [PREFIX/include]
1463 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1464 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1465 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1466 --infodir=DIR info documentation [DATAROOTDIR/info]
1467 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1468 --mandir=DIR man documentation [DATAROOTDIR/man]
1469 --docdir=DIR documentation root [DATAROOTDIR/doc/emotion]
1470 --htmldir=DIR html documentation [DOCDIR]
1471 --dvidir=DIR dvi documentation [DOCDIR]
1472 --pdfdir=DIR pdf documentation [DOCDIR]
1473 --psdir=DIR ps documentation [DOCDIR]
1479 --program-prefix=PREFIX prepend PREFIX to installed program names
1480 --program-suffix=SUFFIX append SUFFIX to installed program names
1481 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1484 --build=BUILD configure for building on BUILD [guessed]
1485 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1489 if test -n "$ac_init_help"; then
1490 case $ac_init_help in
1491 short | recursive ) echo "Configuration of emotion 1.7.8:";;
1496 --disable-option-checking ignore unrecognized --enable/--with options
1497 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1498 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1499 --enable-dependency-tracking
1500 do not reject slow dependency extractors
1501 --disable-dependency-tracking
1502 speeds up one-time build
1503 --enable-silent-rules less verbose build output (undo: "make V=1")
1504 --disable-silent-rules verbose build output (undo: "make V=0")
1505 --enable-shared[=PKGS] build shared libraries [default=yes]
1506 --enable-static[=PKGS] build static libraries [default=yes]
1507 --enable-fast-install[=PKGS]
1508 optimize for fast installation [default=yes]
1509 --disable-libtool-lock avoid locking (might break parallel builds)
1510 --disable-emotion-test disable building of emotion_test
1511 --disable-doc Disable documentation build [default=enabled]
1512 --disable-edje-external disable providing Edje EXTERNAL support.
1514 --disable-ecore-x disable ecore-x support. [default=detect]
1515 --enable-xine enable build of Xine module [default=yes]
1516 --enable-gstreamer enable build of Gstreamer module [default=yes]
1517 --enable-generic enable build of Generic module [default=yes]
1518 --enable-generic-vlc enable build of Generic Player VLC [default=yes]
1519 --enable-build-examples enable building examples [default=disabled]
1520 --enable-install-examples
1521 enable installing example source files
1525 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1526 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1527 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1529 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1530 --with-sysroot=DIR Search for dependent libraries within DIR
1531 (or the compiler's sysroot if not specified).
1532 --with-edje-cc=PATH specify a specific path to edje_cc
1533 --with-doxygen=FILE doxygen program to use [default=doxygen]
1535 Some influential environment variables:
1536 CC C compiler command
1537 CFLAGS C compiler flags
1538 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1539 nonstandard directory <lib dir>
1540 LIBS libraries to pass to the linker, e.g. -l<library>
1541 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1542 you have headers in a nonstandard directory <include dir>
1544 PKG_CONFIG path to pkg-config utility
1546 directories to add to pkg-config's search path
1548 path overriding pkg-config's built-in search path
1550 C compiler flags for EMOTION, overriding pkg-config
1552 linker flags for EMOTION, overriding pkg-config
1554 C compiler flags for EMOTION_BIN, overriding pkg-config
1556 linker flags for EMOTION_BIN, overriding pkg-config
1558 C compiler flags for ECORE_X, overriding pkg-config
1560 linker flags for ECORE_X, overriding pkg-config
1562 C compiler flags for ECORE_FB, overriding pkg-config
1564 linker flags for ECORE_FB, overriding pkg-config
1565 EDJE_EXTERNAL_CFLAGS
1566 C compiler flags for EDJE_EXTERNAL, overriding pkg-config
1568 linker flags for EDJE_EXTERNAL, overriding pkg-config
1569 EEZE_CFLAGS C compiler flags for EEZE, overriding pkg-config
1570 EEZE_LIBS linker flags for EEZE, overriding pkg-config
1571 EIO_CFLAGS C compiler flags for EIO, overriding pkg-config
1572 EIO_LIBS linker flags for EIO, overriding pkg-config
1573 XINE_CFLAGS C compiler flags for XINE, overriding pkg-config
1574 XINE_LIBS linker flags for XINE, overriding pkg-config
1576 C compiler flags for GSTREAMER, overriding pkg-config
1578 linker flags for GSTREAMER, overriding pkg-config
1580 C compiler flags for GENERIC, overriding pkg-config
1582 linker flags for GENERIC, overriding pkg-config
1584 C compiler flags for GENERIC_VLC, overriding pkg-config
1586 linker flags for GENERIC_VLC, overriding pkg-config
1587 GSTREAMER_INTERFACE_CFLAGS
1588 C compiler flags for GSTREAMER_INTERFACE, overriding pkg-config
1589 GSTREAMER_INTERFACE_LIBS
1590 linker flags for GSTREAMER_INTERFACE, overriding pkg-config
1592 Use these variables to override the choices made by `configure' or to help
1593 it to find libraries and programs with nonstandard names/locations.
1595 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1600 if test "$ac_init_help" = "recursive"; then
1601 # If there are subdirs, report their specific --help.
1602 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1603 test -d "$ac_dir" ||
1604 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1609 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1611 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1612 # A ".." for each directory in $ac_dir_suffix.
1613 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1614 case $ac_top_builddir_sub in
1615 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1616 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1619 ac_abs_top_builddir=$ac_pwd
1620 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1621 # for backward compatibility:
1622 ac_top_builddir=$ac_top_build_prefix
1625 .) # We are building in place.
1627 ac_top_srcdir=$ac_top_builddir_sub
1628 ac_abs_top_srcdir=$ac_pwd ;;
1629 [\\/]* | ?:[\\/]* ) # Absolute name.
1630 ac_srcdir=$srcdir$ac_dir_suffix;
1631 ac_top_srcdir=$srcdir
1632 ac_abs_top_srcdir=$srcdir ;;
1634 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1635 ac_top_srcdir=$ac_top_build_prefix$srcdir
1636 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1638 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1640 cd "$ac_dir" || { ac_status=$?; continue; }
1641 # Check for guested configure.
1642 if test -f "$ac_srcdir/configure.gnu"; then
1644 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1645 elif test -f "$ac_srcdir/configure"; then
1647 $SHELL "$ac_srcdir/configure" --help=recursive
1649 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1651 cd "$ac_pwd" || { ac_status=$?; break; }
1655 test -n "$ac_init_help" && exit $ac_status
1656 if $ac_init_version; then
1658 emotion configure 1.7.8
1659 generated by GNU Autoconf 2.69
1661 Copyright (C) 2012 Free Software Foundation, Inc.
1662 This configure script is free software; the Free Software Foundation
1663 gives unlimited permission to copy, distribute and modify it.
1668 ## ------------------------ ##
1669 ## Autoconf initialization. ##
1670 ## ------------------------ ##
1672 # ac_fn_c_try_compile LINENO
1673 # --------------------------
1674 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1675 ac_fn_c_try_compile ()
1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678 rm -f conftest.$ac_objext
1679 if { { ac_try="$ac_compile"
1681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1682 *) ac_try_echo=$ac_try;;
1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685 $as_echo "$ac_try_echo"; } >&5
1686 (eval "$ac_compile") 2>conftest.err
1688 if test -s conftest.err; then
1689 grep -v '^ *+' conftest.err >conftest.er1
1690 cat conftest.er1 >&5
1691 mv -f conftest.er1 conftest.err
1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694 test $ac_status = 0; } && {
1695 test -z "$ac_c_werror_flag" ||
1696 test ! -s conftest.err
1697 } && test -s conftest.$ac_objext; then :
1700 $as_echo "$as_me: failed program was:" >&5
1701 sed 's/^/| /' conftest.$ac_ext >&5
1705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706 as_fn_set_status $ac_retval
1708 } # ac_fn_c_try_compile
1710 # ac_fn_c_try_link LINENO
1711 # -----------------------
1712 # Try to link conftest.$ac_ext, and return whether this succeeded.
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 rm -f conftest.$ac_objext conftest$ac_exeext
1717 if { { ac_try="$ac_link"
1719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720 *) ac_try_echo=$ac_try;;
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_link") 2>conftest.err
1726 if test -s conftest.err; then
1727 grep -v '^ *+' conftest.err >conftest.er1
1728 cat conftest.er1 >&5
1729 mv -f conftest.er1 conftest.err
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; } && {
1733 test -z "$ac_c_werror_flag" ||
1734 test ! -s conftest.err
1735 } && test -s conftest$ac_exeext && {
1736 test "$cross_compiling" = yes ||
1737 test -x conftest$ac_exeext
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1746 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1747 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1748 # interfere with the next link command; also delete a directory that is
1749 # left behind by Apple's compiler. We do this before executing the actions.
1750 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752 as_fn_set_status $ac_retval
1754 } # ac_fn_c_try_link
1756 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1757 # -------------------------------------------------------
1758 # Tests whether HEADER exists and can be compiled using the include files in
1759 # INCLUDES, setting the cache variable VAR accordingly.
1760 ac_fn_c_check_header_compile ()
1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1764 $as_echo_n "checking for $2... " >&6; }
1765 if eval \${$3+:} false; then :
1766 $as_echo_n "(cached) " >&6
1768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1769 /* end confdefs.h. */
1773 if ac_fn_c_try_compile "$LINENO"; then :
1778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1782 $as_echo "$ac_res" >&6; }
1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1785 } # ac_fn_c_check_header_compile
1787 # ac_fn_c_try_cpp LINENO
1788 # ----------------------
1789 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 if { { ac_try="$ac_cpp conftest.$ac_ext"
1795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796 *) ac_try_echo=$ac_try;;
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1802 if test -s conftest.err; then
1803 grep -v '^ *+' conftest.err >conftest.er1
1804 cat conftest.er1 >&5
1805 mv -f conftest.er1 conftest.err
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } > conftest.i && {
1809 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1810 test ! -s conftest.err
1814 $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.$ac_ext >&5
1819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820 as_fn_set_status $ac_retval
1824 # ac_fn_c_try_run LINENO
1825 # ----------------------
1826 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1827 # that executables *can* be run.
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 if { { ac_try="$ac_link"
1833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1834 *) ac_try_echo=$ac_try;;
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838 (eval "$ac_link") 2>&5
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1842 { { case "(($ac_try" in
1843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1844 *) ac_try_echo=$ac_try;;
1846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848 (eval "$ac_try") 2>&5
1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1851 test $ac_status = 0; }; }; then :
1854 $as_echo "$as_me: program exited with status $ac_status" >&5
1855 $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5
1858 ac_retval=$ac_status
1860 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1862 as_fn_set_status $ac_retval
1866 # ac_fn_c_check_func LINENO FUNC VAR
1867 # ----------------------------------
1868 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1869 ac_fn_c_check_func ()
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1873 $as_echo_n "checking for $2... " >&6; }
1874 if eval \${$3+:} false; then :
1875 $as_echo_n "(cached) " >&6
1877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1878 /* end confdefs.h. */
1879 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1881 #define $2 innocuous_$2
1883 /* System header to define __stub macros and hopefully few prototypes,
1884 which can conflict with char $2 (); below.
1885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1886 <limits.h> exists even on freestanding compilers. */
1889 # include <limits.h>
1891 # include <assert.h>
1896 /* Override any GCC internal prototype to avoid an error.
1897 Use char because int might match the return type of a GCC
1898 builtin and then its argument prototype would still apply. */
1903 /* The GNU C library defines this for functions which it implements
1904 to always fail with ENOSYS. Some functions are actually named
1905 something starting with __ and the normal name is an alias. */
1906 #if defined __stub_$2 || defined __stub___$2
1918 if ac_fn_c_try_link "$LINENO"; then :
1923 rm -f core conftest.err conftest.$ac_objext \
1924 conftest$ac_exeext conftest.$ac_ext
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1928 $as_echo "$ac_res" >&6; }
1929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931 } # ac_fn_c_check_func
1933 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1934 # -------------------------------------------------------
1935 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1936 # the include files in INCLUDES and setting the cache variable VAR
1938 ac_fn_c_check_header_mongrel ()
1940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941 if eval \${$3+:} false; then :
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1943 $as_echo_n "checking for $2... " >&6; }
1944 if eval \${$3+:} false; then :
1945 $as_echo_n "(cached) " >&6
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1949 $as_echo "$ac_res" >&6; }
1951 # Is the header compilable?
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1953 $as_echo_n "checking $2 usability... " >&6; }
1954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1955 /* end confdefs.h. */
1959 if ac_fn_c_try_compile "$LINENO"; then :
1960 ac_header_compiler=yes
1962 ac_header_compiler=no
1964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1966 $as_echo "$ac_header_compiler" >&6; }
1968 # Is the header present?
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1970 $as_echo_n "checking $2 presence... " >&6; }
1971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */
1975 if ac_fn_c_try_cpp "$LINENO"; then :
1976 ac_header_preproc=yes
1978 ac_header_preproc=no
1980 rm -f conftest.err conftest.i conftest.$ac_ext
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1982 $as_echo "$ac_header_preproc" >&6; }
1984 # So? What about this header?
1985 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1988 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1990 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1994 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1996 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1998 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2000 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2002 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2003 ( $as_echo "## -------------------------------------------------------- ##
2004 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2005 ## -------------------------------------------------------- ##"
2006 ) | sed "s/^/$as_me: WARNING: /" >&2
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2010 $as_echo_n "checking for $2... " >&6; }
2011 if eval \${$3+:} false; then :
2012 $as_echo_n "(cached) " >&6
2014 eval "$3=\$ac_header_compiler"
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2018 $as_echo "$ac_res" >&6; }
2020 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2022 } # ac_fn_c_check_header_mongrel
2024 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2025 # -------------------------------------------
2026 # Tests whether TYPE exists after having included INCLUDES, setting cache
2027 # variable VAR accordingly.
2028 ac_fn_c_check_type ()
2030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032 $as_echo_n "checking for $2... " >&6; }
2033 if eval \${$3+:} false; then :
2034 $as_echo_n "(cached) " >&6
2037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038 /* end confdefs.h. */
2049 if ac_fn_c_try_compile "$LINENO"; then :
2050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2051 /* end confdefs.h. */
2062 if ac_fn_c_try_compile "$LINENO"; then :
2067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073 $as_echo "$ac_res" >&6; }
2074 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2076 } # ac_fn_c_check_type
2077 cat >config.log <<_ACEOF
2078 This file contains any messages produced by compilers while
2079 running configure, to aid debugging if configure makes a mistake.
2081 It was created by emotion $as_me 1.7.8, which was
2082 generated by GNU Autoconf 2.69. Invocation command line was
2094 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2095 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2096 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2097 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2098 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2100 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2101 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2103 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2104 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2105 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2106 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2107 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2108 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2109 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2117 test -z "$as_dir" && as_dir=.
2118 $as_echo "PATH: $as_dir"
2134 # Keep a trace of the command line.
2135 # Strip out --no-create and --no-recursion so they do not pile up.
2136 # Strip out --silent because we don't want to record it for future runs.
2137 # Also quote any args containing shell meta-characters.
2138 # Make two passes to allow for proper duplicate-argument suppression.
2142 ac_must_keep_next=false
2148 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2149 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2150 | -silent | --silent | --silen | --sile | --sil)
2153 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2156 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2158 as_fn_append ac_configure_args1 " '$ac_arg'"
2159 if test $ac_must_keep_next = true; then
2160 ac_must_keep_next=false # Got value, back to normal.
2163 *=* | --config-cache | -C | -disable-* | --disable-* \
2164 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2165 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2166 | -with-* | --with-* | -without-* | --without-* | --x)
2167 case "$ac_configure_args0 " in
2168 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2171 -* ) ac_must_keep_next=true ;;
2174 as_fn_append ac_configure_args " '$ac_arg'"
2179 { ac_configure_args0=; unset ac_configure_args0;}
2180 { ac_configure_args1=; unset ac_configure_args1;}
2182 # When interrupted or exit'd, cleanup temporary files, and complete
2183 # config.log. We remove comments because anyway the quotes in there
2184 # would cause problems or look ugly.
2185 # WARNING: Use '\'' to represent an apostrophe within the trap.
2186 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2187 trap 'exit_status=$?
2188 # Save into config.log some information that might help in debugging.
2192 $as_echo "## ---------------- ##
2193 ## Cache variables. ##
2194 ## ---------------- ##"
2196 # The following way of writing the cache mishandles newlines in values,
2198 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2199 eval ac_val=\$$ac_var
2203 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2204 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2207 _ | IFS | as_nl) ;; #(
2208 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2209 *) { eval $ac_var=; unset $ac_var;} ;;
2214 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2215 *${as_nl}ac_space=\ *)
2217 "s/'\''/'\''\\\\'\'''\''/g;
2218 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2221 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2228 $as_echo "## ----------------- ##
2229 ## Output variables. ##
2230 ## ----------------- ##"
2232 for ac_var in $ac_subst_vars
2234 eval ac_val=\$$ac_var
2236 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2238 $as_echo "$ac_var='\''$ac_val'\''"
2242 if test -n "$ac_subst_files"; then
2243 $as_echo "## ------------------- ##
2244 ## File substitutions. ##
2245 ## ------------------- ##"
2247 for ac_var in $ac_subst_files
2249 eval ac_val=\$$ac_var
2251 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2253 $as_echo "$ac_var='\''$ac_val'\''"
2258 if test -s confdefs.h; then
2259 $as_echo "## ----------- ##
2266 test "$ac_signal" != 0 &&
2267 $as_echo "$as_me: caught signal $ac_signal"
2268 $as_echo "$as_me: exit $exit_status"
2270 rm -f core *.core core.conftest.* &&
2271 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2274 for ac_signal in 1 2 13 15; do
2275 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2279 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2280 rm -f -r conftest* confdefs.h
2282 $as_echo "/* confdefs.h */" > confdefs.h
2284 # Predefined preprocessor variables.
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_NAME "$PACKAGE_NAME"
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2298 cat >>confdefs.h <<_ACEOF
2299 #define PACKAGE_STRING "$PACKAGE_STRING"
2302 cat >>confdefs.h <<_ACEOF
2303 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2306 cat >>confdefs.h <<_ACEOF
2307 #define PACKAGE_URL "$PACKAGE_URL"
2311 # Let the site file select an alternate cache file if it wants to.
2312 # Prefer an explicitly selected file to automatically selected ones.
2315 if test -n "$CONFIG_SITE"; then
2316 # We do not want a PATH search for config.site.
2317 case $CONFIG_SITE in #((
2318 -*) ac_site_file1=./$CONFIG_SITE;;
2319 */*) ac_site_file1=$CONFIG_SITE;;
2320 *) ac_site_file1=./$CONFIG_SITE;;
2322 elif test "x$prefix" != xNONE; then
2323 ac_site_file1=$prefix/share/config.site
2324 ac_site_file2=$prefix/etc/config.site
2326 ac_site_file1=$ac_default_prefix/share/config.site
2327 ac_site_file2=$ac_default_prefix/etc/config.site
2329 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2331 test "x$ac_site_file" = xNONE && continue
2332 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2334 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2335 sed 's/^/| /' "$ac_site_file" >&5
2337 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2339 as_fn_error $? "failed to load site script $ac_site_file
2340 See \`config.log' for more details" "$LINENO" 5; }
2344 if test -r "$cache_file"; then
2345 # Some versions of bash will fail to source /dev/null (special files
2346 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2347 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2349 $as_echo "$as_me: loading cache $cache_file" >&6;}
2351 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2352 *) . "./$cache_file";;
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2357 $as_echo "$as_me: creating cache $cache_file" >&6;}
2361 # Check that the precious variables saved in the cache have kept the same
2363 ac_cache_corrupted=false
2364 for ac_var in $ac_precious_vars; do
2365 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2366 eval ac_new_set=\$ac_env_${ac_var}_set
2367 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2368 eval ac_new_val=\$ac_env_${ac_var}_value
2369 case $ac_old_set,$ac_new_set in
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2372 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2373 ac_cache_corrupted=: ;;
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2376 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2377 ac_cache_corrupted=: ;;
2380 if test "x$ac_old_val" != "x$ac_new_val"; then
2381 # differences in whitespace do not lead to failure.
2382 ac_old_val_w=`echo x $ac_old_val`
2383 ac_new_val_w=`echo x $ac_new_val`
2384 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2386 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2387 ac_cache_corrupted=:
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2390 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2391 eval $ac_var=\$ac_old_val
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2394 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2396 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2399 # Pass precious variables to config.status.
2400 if test "$ac_new_set" = set; then
2402 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2403 *) ac_arg=$ac_var=$ac_new_val ;;
2405 case " $ac_configure_args " in
2406 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2407 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2411 if $ac_cache_corrupted; then
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2415 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2416 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2418 ## -------------------- ##
2419 ## Main body of script. ##
2420 ## -------------------- ##
2423 ac_cpp='$CPP $CPPFLAGS'
2424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2433 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2434 if test -f "$ac_dir/install-sh"; then
2436 ac_install_sh="$ac_aux_dir/install-sh -c"
2438 elif test -f "$ac_dir/install.sh"; then
2440 ac_install_sh="$ac_aux_dir/install.sh -c"
2442 elif test -f "$ac_dir/shtool"; then
2444 ac_install_sh="$ac_aux_dir/shtool install -c"
2448 if test -z "$ac_aux_dir"; then
2449 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2452 # These three variables are undocumented and unsupported,
2453 # and are intended to be withdrawn in a future Autoconf release.
2454 # They can cause serious problems if a builder's source tree is in a directory
2455 # whose full name contains unusual characters.
2456 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2457 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2458 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2461 # Make sure we can run config.sub.
2462 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2463 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2466 $as_echo_n "checking build system type... " >&6; }
2467 if ${ac_cv_build+:} false; then :
2468 $as_echo_n "(cached) " >&6
2470 ac_build_alias=$build_alias
2471 test "x$ac_build_alias" = x &&
2472 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2473 test "x$ac_build_alias" = x &&
2474 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2475 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2476 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2480 $as_echo "$ac_cv_build" >&6; }
2481 case $ac_cv_build in
2483 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2486 ac_save_IFS=$IFS; IFS='-'
2492 # Remember, the first character of IFS is used to create $*,
2493 # except with old shells:
2496 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2500 $as_echo_n "checking host system type... " >&6; }
2501 if ${ac_cv_host+:} false; then :
2502 $as_echo_n "(cached) " >&6
2504 if test "x$host_alias" = x; then
2505 ac_cv_host=$ac_cv_build
2507 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2508 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2513 $as_echo "$ac_cv_host" >&6; }
2516 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2519 ac_save_IFS=$IFS; IFS='-'
2525 # Remember, the first character of IFS is used to create $*,
2526 # except with old shells:
2529 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2533 ac_cpp='$CPP $CPPFLAGS'
2534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2537 if test -n "$ac_tool_prefix"; then
2538 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2539 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2541 $as_echo_n "checking for $ac_word... " >&6; }
2542 if ${ac_cv_prog_CC+:} false; then :
2543 $as_echo_n "(cached) " >&6
2545 if test -n "$CC"; then
2546 ac_cv_prog_CC="$CC" # Let the user override the test.
2548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2552 test -z "$as_dir" && as_dir=.
2553 for ac_exec_ext in '' $ac_executable_extensions; do
2554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2555 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2566 if test -n "$CC"; then
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2568 $as_echo "$CC" >&6; }
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2571 $as_echo "no" >&6; }
2576 if test -z "$ac_cv_prog_CC"; then
2578 # Extract the first word of "gcc", so it can be a program name with args.
2579 set dummy gcc; ac_word=$2
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2581 $as_echo_n "checking for $ac_word... " >&6; }
2582 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2583 $as_echo_n "(cached) " >&6
2585 if test -n "$ac_ct_CC"; then
2586 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592 test -z "$as_dir" && as_dir=.
2593 for ac_exec_ext in '' $ac_executable_extensions; do
2594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2595 ac_cv_prog_ac_ct_CC="gcc"
2596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2605 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2606 if test -n "$ac_ct_CC"; then
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2608 $as_echo "$ac_ct_CC" >&6; }
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2611 $as_echo "no" >&6; }
2614 if test "x$ac_ct_CC" = x; then
2617 case $cross_compiling:$ac_tool_warned in
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2621 ac_tool_warned=yes ;;
2629 if test -z "$CC"; then
2630 if test -n "$ac_tool_prefix"; then
2631 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2632 set dummy ${ac_tool_prefix}cc; ac_word=$2
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2634 $as_echo_n "checking for $ac_word... " >&6; }
2635 if ${ac_cv_prog_CC+:} false; then :
2636 $as_echo_n "(cached) " >&6
2638 if test -n "$CC"; then
2639 ac_cv_prog_CC="$CC" # Let the user override the test.
2641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2645 test -z "$as_dir" && as_dir=.
2646 for ac_exec_ext in '' $ac_executable_extensions; do
2647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2648 ac_cv_prog_CC="${ac_tool_prefix}cc"
2649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2659 if test -n "$CC"; then
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2661 $as_echo "$CC" >&6; }
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2664 $as_echo "no" >&6; }
2670 if test -z "$CC"; then
2671 # Extract the first word of "cc", so it can be a program name with args.
2672 set dummy cc; ac_word=$2
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2674 $as_echo_n "checking for $ac_word... " >&6; }
2675 if ${ac_cv_prog_CC+:} false; then :
2676 $as_echo_n "(cached) " >&6
2678 if test -n "$CC"; then
2679 ac_cv_prog_CC="$CC" # Let the user override the test.
2682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2686 test -z "$as_dir" && as_dir=.
2687 for ac_exec_ext in '' $ac_executable_extensions; do
2688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2689 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2690 ac_prog_rejected=yes
2694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 if test $ac_prog_rejected = yes; then
2702 # We found a bogon in the path, so make sure we never use it.
2703 set dummy $ac_cv_prog_CC
2705 if test $# != 0; then
2706 # We chose a different compiler from the bogus one.
2707 # However, it has the same basename, so the bogon will be chosen
2708 # first if we set CC to just the basename; use the full file name.
2710 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2716 if test -n "$CC"; then
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2718 $as_echo "$CC" >&6; }
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 $as_echo "no" >&6; }
2726 if test -z "$CC"; then
2727 if test -n "$ac_tool_prefix"; then
2728 for ac_prog in cl.exe
2730 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2731 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2733 $as_echo_n "checking for $ac_word... " >&6; }
2734 if ${ac_cv_prog_CC+:} false; then :
2735 $as_echo_n "(cached) " >&6
2737 if test -n "$CC"; then
2738 ac_cv_prog_CC="$CC" # Let the user override the test.
2740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2744 test -z "$as_dir" && as_dir=.
2745 for ac_exec_ext in '' $ac_executable_extensions; do
2746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2747 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 if test -n "$CC"; then
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2760 $as_echo "$CC" >&6; }
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2763 $as_echo "no" >&6; }
2767 test -n "$CC" && break
2770 if test -z "$CC"; then
2772 for ac_prog in cl.exe
2774 # Extract the first word of "$ac_prog", so it can be a program name with args.
2775 set dummy $ac_prog; ac_word=$2
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2777 $as_echo_n "checking for $ac_word... " >&6; }
2778 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2779 $as_echo_n "(cached) " >&6
2781 if test -n "$ac_ct_CC"; then
2782 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2788 test -z "$as_dir" && as_dir=.
2789 for ac_exec_ext in '' $ac_executable_extensions; do
2790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2791 ac_cv_prog_ac_ct_CC="$ac_prog"
2792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2802 if test -n "$ac_ct_CC"; then
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2804 $as_echo "$ac_ct_CC" >&6; }
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2807 $as_echo "no" >&6; }
2811 test -n "$ac_ct_CC" && break
2814 if test "x$ac_ct_CC" = x; then
2817 case $cross_compiling:$ac_tool_warned in
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2821 ac_tool_warned=yes ;;
2830 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2832 as_fn_error $? "no acceptable C compiler found in \$PATH
2833 See \`config.log' for more details" "$LINENO" 5; }
2835 # Provide some information about the compiler.
2836 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2839 for ac_option in --version -v -V -qversion; do
2840 { { ac_try="$ac_compiler $ac_option >&5"
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2846 $as_echo "$ac_try_echo"; } >&5
2847 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2849 if test -s conftest.err; then
2851 ... rest of stderr output deleted ...
2852 10q' conftest.err >conftest.er1
2853 cat conftest.er1 >&5
2855 rm -f conftest.er1 conftest.err
2856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2857 test $ac_status = 0; }
2860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2861 /* end confdefs.h. */
2871 ac_clean_files_save=$ac_clean_files
2872 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2873 # Try to create an executable without -o first, disregard a.out.
2874 # It will help us diagnose broken compilers, and finding out an intuition
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2877 $as_echo_n "checking whether the C compiler works... " >&6; }
2878 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2880 # The possible output files:
2881 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2884 for ac_file in $ac_files
2887 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2888 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2893 if { { ac_try="$ac_link_default"
2895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2896 *) ac_try_echo=$ac_try;;
2898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2899 $as_echo "$ac_try_echo"; } >&5
2900 (eval "$ac_link_default") 2>&5
2902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2903 test $ac_status = 0; }; then :
2904 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2905 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2906 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2907 # so that the user can short-circuit this test for compilers unknown to
2909 for ac_file in $ac_files ''
2911 test -f "$ac_file" || continue
2913 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2916 # We found the default executable, but exeext='' is most
2920 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2922 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2924 # We set ac_cv_exeext here because the later test for it is not
2925 # safe: cross compilers may not add the suffix if given an `-o'
2926 # argument, so we may need to know it at that point already.
2927 # Even if this section looks crufty: it has the advantage of
2934 test "$ac_cv_exeext" = no && ac_cv_exeext=
2939 if test -z "$ac_file"; then :
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2941 $as_echo "no" >&6; }
2942 $as_echo "$as_me: failed program was:" >&5
2943 sed 's/^/| /' conftest.$ac_ext >&5
2945 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2947 as_fn_error 77 "C compiler cannot create executables
2948 See \`config.log' for more details" "$LINENO" 5; }
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2951 $as_echo "yes" >&6; }
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2954 $as_echo_n "checking for C compiler default output file name... " >&6; }
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2956 $as_echo "$ac_file" >&6; }
2957 ac_exeext=$ac_cv_exeext
2959 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2960 ac_clean_files=$ac_clean_files_save
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2962 $as_echo_n "checking for suffix of executables... " >&6; }
2963 if { { ac_try="$ac_link"
2965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966 *) ac_try_echo=$ac_try;;
2968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2969 $as_echo "$ac_try_echo"; } >&5
2970 (eval "$ac_link") 2>&5
2972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2973 test $ac_status = 0; }; then :
2974 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2975 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2976 # work properly (i.e., refer to `conftest.exe'), while it won't with
2978 for ac_file in conftest.exe conftest conftest.*; do
2979 test -f "$ac_file" || continue
2981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2982 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2988 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2990 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2991 See \`config.log' for more details" "$LINENO" 5; }
2993 rm -f conftest conftest$ac_cv_exeext
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2995 $as_echo "$ac_cv_exeext" >&6; }
2997 rm -f conftest.$ac_ext
2998 EXEEXT=$ac_cv_exeext
3000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3001 /* end confdefs.h. */
3006 FILE *f = fopen ("conftest.out", "w");
3007 return ferror (f) || fclose (f) != 0;
3013 ac_clean_files="$ac_clean_files conftest.out"
3014 # Check that the compiler produces executables we can run. If not, either
3015 # the compiler is broken, or we cross compile.
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3017 $as_echo_n "checking whether we are cross compiling... " >&6; }
3018 if test "$cross_compiling" != yes; then
3019 { { ac_try="$ac_link"
3021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3022 *) ac_try_echo=$ac_try;;
3024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3025 $as_echo "$ac_try_echo"; } >&5
3026 (eval "$ac_link") 2>&5
3028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3029 test $ac_status = 0; }
3030 if { ac_try='./conftest$ac_cv_exeext'
3031 { { case "(($ac_try" in
3032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3033 *) ac_try_echo=$ac_try;;
3035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3036 $as_echo "$ac_try_echo"; } >&5
3037 (eval "$ac_try") 2>&5
3039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3040 test $ac_status = 0; }; }; then
3043 if test "$cross_compiling" = maybe; then
3046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3048 as_fn_error $? "cannot run C compiled programs.
3049 If you meant to cross compile, use \`--host'.
3050 See \`config.log' for more details" "$LINENO" 5; }
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3055 $as_echo "$cross_compiling" >&6; }
3057 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3058 ac_clean_files=$ac_clean_files_save
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3060 $as_echo_n "checking for suffix of object files... " >&6; }
3061 if ${ac_cv_objext+:} false; then :
3062 $as_echo_n "(cached) " >&6
3064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065 /* end confdefs.h. */
3075 rm -f conftest.o conftest.obj
3076 if { { ac_try="$ac_compile"
3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3082 $as_echo "$ac_try_echo"; } >&5
3083 (eval "$ac_compile") 2>&5
3085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3086 test $ac_status = 0; }; then :
3087 for ac_file in conftest.o conftest.obj conftest.*; do
3088 test -f "$ac_file" || continue;
3090 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3091 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3096 $as_echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3101 as_fn_error $? "cannot compute suffix of object files: cannot compile
3102 See \`config.log' for more details" "$LINENO" 5; }
3104 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3107 $as_echo "$ac_cv_objext" >&6; }
3108 OBJEXT=$ac_cv_objext
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3111 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3112 if ${ac_cv_c_compiler_gnu+:} false; then :
3113 $as_echo_n "(cached) " >&6
3115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3116 /* end confdefs.h. */
3129 if ac_fn_c_try_compile "$LINENO"; then :
3134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3135 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3139 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3140 if test $ac_compiler_gnu = yes; then
3145 ac_test_CFLAGS=${CFLAGS+set}
3146 ac_save_CFLAGS=$CFLAGS
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3148 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3149 if ${ac_cv_prog_cc_g+:} false; then :
3150 $as_echo_n "(cached) " >&6
3152 ac_save_c_werror_flag=$ac_c_werror_flag
3153 ac_c_werror_flag=yes
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3167 if ac_fn_c_try_compile "$LINENO"; then :
3171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3172 /* end confdefs.h. */
3182 if ac_fn_c_try_compile "$LINENO"; then :
3185 ac_c_werror_flag=$ac_save_c_werror_flag
3187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3188 /* end confdefs.h. */
3198 if ac_fn_c_try_compile "$LINENO"; then :
3201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3206 ac_c_werror_flag=$ac_save_c_werror_flag
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3209 $as_echo "$ac_cv_prog_cc_g" >&6; }
3210 if test "$ac_test_CFLAGS" = set; then
3211 CFLAGS=$ac_save_CFLAGS
3212 elif test $ac_cv_prog_cc_g = yes; then
3213 if test "$GCC" = yes; then
3219 if test "$GCC" = yes; then
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3226 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3227 if ${ac_cv_prog_cc_c89+:} false; then :
3228 $as_echo_n "(cached) " >&6
3230 ac_cv_prog_cc_c89=no
3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233 /* end confdefs.h. */
3237 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3238 struct buf { int x; };
3239 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3240 static char *e (p, i)
3246 static char *f (char * (*g) (char **, int), char **p, ...)
3251 s = g (p, va_arg (v,int));
3256 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3257 function prototypes and stuff, but not '\xHH' hex character constants.
3258 These don't provoke an error unfortunately, instead are silently treated
3259 as 'x'. The following induces an error, until -std is added to get
3260 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3261 array size at least. It's necessary to write '\x00'==0 to get something
3262 that's true only with -std. */
3263 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3265 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3266 inside strings and character constants. */
3268 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3270 int test (int i, double x);
3271 struct s1 {int (*f) (int a);};
3272 struct s2 {int (*f) (double a);};
3273 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3279 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3284 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3285 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3287 CC="$ac_save_CC $ac_arg"
3288 if ac_fn_c_try_compile "$LINENO"; then :
3289 ac_cv_prog_cc_c89=$ac_arg
3291 rm -f core conftest.err conftest.$ac_objext
3292 test "x$ac_cv_prog_cc_c89" != "xno" && break
3294 rm -f conftest.$ac_ext
3299 case "x$ac_cv_prog_cc_c89" in
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3302 $as_echo "none needed" >&6; } ;;
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3305 $as_echo "unsupported" >&6; } ;;
3307 CC="$CC $ac_cv_prog_cc_c89"
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3309 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3311 if test "x$ac_cv_prog_cc_c89" != xno; then :
3316 ac_cpp='$CPP $CPPFLAGS'
3317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3323 $as_echo_n "checking for library containing strerror... " >&6; }
3324 if ${ac_cv_search_strerror+:} false; then :
3325 $as_echo_n "(cached) " >&6
3327 ac_func_search_save_LIBS=$LIBS
3328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3329 /* end confdefs.h. */
3331 /* Override any GCC internal prototype to avoid an error.
3332 Use char because int might match the return type of a GCC
3333 builtin and then its argument prototype would still apply. */
3346 for ac_lib in '' cposix; do
3347 if test -z "$ac_lib"; then
3348 ac_res="none required"
3351 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3353 if ac_fn_c_try_link "$LINENO"; then :
3354 ac_cv_search_strerror=$ac_res
3356 rm -f core conftest.err conftest.$ac_objext \
3358 if ${ac_cv_search_strerror+:} false; then :
3362 if ${ac_cv_search_strerror+:} false; then :
3365 ac_cv_search_strerror=no
3368 LIBS=$ac_func_search_save_LIBS
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3371 $as_echo "$ac_cv_search_strerror" >&6; }
3372 ac_res=$ac_cv_search_strerror
3373 if test "$ac_res" != no; then :
3374 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3379 am__api_version='1.13'
3381 # Find a good install program. We prefer a C program (faster),
3382 # so one script is as good as another. But avoid the broken or
3383 # incompatible versions:
3384 # SysV /etc/install, /usr/sbin/install
3385 # SunOS /usr/etc/install
3386 # IRIX /sbin/install
3388 # AmigaOS /C/install, which installs bootblocks on floppy discs
3389 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3390 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3391 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3392 # OS/2's system install, which has a completely different semantic
3393 # ./install, which can be erroneously created by make from ./install.sh.
3394 # Reject install programs that cannot install multiple files.
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3396 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3397 if test -z "$INSTALL"; then
3398 if ${ac_cv_path_install+:} false; then :
3399 $as_echo_n "(cached) " >&6
3401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 test -z "$as_dir" && as_dir=.
3406 # Account for people who put trailing slashes in PATH elements.
3407 case $as_dir/ in #((
3408 ./ | .// | /[cC]/* | \
3409 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3410 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3413 # OSF1 and SCO ODT 3.0 have their own names for install.
3414 # Don't use installbsd from OSF since it installs stuff as root
3416 for ac_prog in ginstall scoinst install; do
3417 for ac_exec_ext in '' $ac_executable_extensions; do
3418 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3419 if test $ac_prog = install &&
3420 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3421 # AIX install. It has an incompatible calling convention.
3423 elif test $ac_prog = install &&
3424 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3425 # program-specific install script used by HP pwplus--don't use.
3428 rm -rf conftest.one conftest.two conftest.dir
3429 echo one > conftest.one
3430 echo two > conftest.two
3432 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3433 test -s conftest.one && test -s conftest.two &&
3434 test -s conftest.dir/conftest.one &&
3435 test -s conftest.dir/conftest.two
3437 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3450 rm -rf conftest.one conftest.two conftest.dir
3453 if test "${ac_cv_path_install+set}" = set; then
3454 INSTALL=$ac_cv_path_install
3456 # As a last resort, use the slow shell script. Don't cache a
3457 # value for INSTALL within a source directory, because that will
3458 # break other packages using the cache if that directory is
3459 # removed, or if the value is a relative name.
3460 INSTALL=$ac_install_sh
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3464 $as_echo "$INSTALL" >&6; }
3466 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3467 # It thinks the first close brace ends the variable substitution.
3468 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3470 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3472 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3475 $as_echo_n "checking whether build environment is sane... " >&6; }
3476 # Reject unsafe characters in $srcdir or the absolute working directory
3477 # name. Accept space and tab only in the latter.
3481 *[\\\"\#\$\&\'\`$am_lf]*)
3482 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3485 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3486 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3489 # Do 'set' in a subshell so we don't clobber the current shell's
3490 # arguments. Must try -L first in case configure is actually a
3491 # symlink; some systems play weird games with the mod time of symlinks
3492 # (eg FreeBSD returns the mod time of the symlink's containing
3496 for am_try in 1 2; do
3497 echo "timestamp, slept: $am_has_slept" > conftest.file
3498 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3499 if test "$*" = "X"; then
3501 set X `ls -t "$srcdir/configure" conftest.file`
3503 if test "$*" != "X $srcdir/configure conftest.file" \
3504 && test "$*" != "X conftest.file $srcdir/configure"; then
3506 # If neither matched, then we have a broken ls. This can happen
3507 # if, for instance, CONFIG_SHELL is bash and it inherits a
3508 # broken ls alias from the environment. This has actually
3509 # happened. Such a system could not be considered "sane".
3510 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3511 alias in your environment" "$LINENO" 5
3513 if test "$2" = conftest.file || test $am_try -eq 2; then
3520 test "$2" = conftest.file
3526 as_fn_error $? "newly created file is older than distributed files!
3527 Check your system clock" "$LINENO" 5
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3530 $as_echo "yes" >&6; }
3531 # If we didn't sleep, we still need to ensure time stamps of config.status and
3532 # generated files are strictly newer.
3534 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3541 test "$program_prefix" != NONE &&
3542 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3543 # Use a double $ so make ignores it.
3544 test "$program_suffix" != NONE &&
3545 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3546 # Double any \ or $.
3547 # By default was `s,x,x', remove it if useless.
3548 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3549 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3551 # expand $ac_aux_dir to an absolute path
3552 am_aux_dir=`cd $ac_aux_dir && pwd`
3554 if test x"${MISSING+set}" != xset; then
3557 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3559 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3562 # Use eval to expand $SHELL
3563 if eval "$MISSING --is-lightweight"; then
3564 am_missing_run="$MISSING "
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3568 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3571 if test x"${install_sh}" != xset; then
3574 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3576 install_sh="\${SHELL} $am_aux_dir/install-sh"
3580 # Installed binaries are usually stripped using 'strip' when the user
3581 # run "make install-strip". However 'strip' might not be the right
3582 # tool to use in cross-compilation environments, therefore Automake
3583 # will honor the 'STRIP' environment variable to overrule this program.
3584 if test "$cross_compiling" != no; then
3585 if test -n "$ac_tool_prefix"; then
3586 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3587 set dummy ${ac_tool_prefix}strip; ac_word=$2
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3589 $as_echo_n "checking for $ac_word... " >&6; }
3590 if ${ac_cv_prog_STRIP+:} false; then :
3591 $as_echo_n "(cached) " >&6
3593 if test -n "$STRIP"; then
3594 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600 test -z "$as_dir" && as_dir=.
3601 for ac_exec_ext in '' $ac_executable_extensions; do
3602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3603 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3613 STRIP=$ac_cv_prog_STRIP
3614 if test -n "$STRIP"; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3616 $as_echo "$STRIP" >&6; }
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3619 $as_echo "no" >&6; }
3624 if test -z "$ac_cv_prog_STRIP"; then
3626 # Extract the first word of "strip", so it can be a program name with args.
3627 set dummy strip; ac_word=$2
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3629 $as_echo_n "checking for $ac_word... " >&6; }
3630 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3631 $as_echo_n "(cached) " >&6
3633 if test -n "$ac_ct_STRIP"; then
3634 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3640 test -z "$as_dir" && as_dir=.
3641 for ac_exec_ext in '' $ac_executable_extensions; do
3642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3643 ac_cv_prog_ac_ct_STRIP="strip"
3644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3654 if test -n "$ac_ct_STRIP"; then
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3656 $as_echo "$ac_ct_STRIP" >&6; }
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3659 $as_echo "no" >&6; }
3662 if test "x$ac_ct_STRIP" = x; then
3665 case $cross_compiling:$ac_tool_warned in
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3669 ac_tool_warned=yes ;;
3674 STRIP="$ac_cv_prog_STRIP"
3678 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3681 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3682 if test -z "$MKDIR_P"; then
3683 if ${ac_cv_path_mkdir+:} false; then :
3684 $as_echo_n "(cached) " >&6
3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3687 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3690 test -z "$as_dir" && as_dir=.
3691 for ac_prog in mkdir gmkdir; do
3692 for ac_exec_ext in '' $ac_executable_extensions; do
3693 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3694 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3695 'mkdir (GNU coreutils) '* | \
3696 'mkdir (coreutils) '* | \
3697 'mkdir (fileutils) '4.1*)
3698 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3708 test -d ./--version && rmdir ./--version
3709 if test "${ac_cv_path_mkdir+set}" = set; then
3710 MKDIR_P="$ac_cv_path_mkdir -p"
3712 # As a last resort, use the slow shell script. Don't cache a
3713 # value for MKDIR_P within a source directory, because that will
3714 # break other packages using the cache if that directory is
3715 # removed, or if the value is a relative name.
3716 MKDIR_P="$ac_install_sh -d"
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3720 $as_echo "$MKDIR_P" >&6; }
3722 for ac_prog in gawk mawk nawk awk
3724 # Extract the first word of "$ac_prog", so it can be a program name with args.
3725 set dummy $ac_prog; ac_word=$2
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3727 $as_echo_n "checking for $ac_word... " >&6; }
3728 if ${ac_cv_prog_AWK+:} false; then :
3729 $as_echo_n "(cached) " >&6
3731 if test -n "$AWK"; then
3732 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 test -z "$as_dir" && as_dir=.
3739 for ac_exec_ext in '' $ac_executable_extensions; do
3740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3741 ac_cv_prog_AWK="$ac_prog"
3742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3752 if test -n "$AWK"; then
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3754 $as_echo "$AWK" >&6; }
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757 $as_echo "no" >&6; }
3761 test -n "$AWK" && break
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3765 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3767 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3768 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3769 $as_echo_n "(cached) " >&6
3771 cat >conftest.make <<\_ACEOF
3774 @echo '@@@%%%=$(MAKE)=@@@%%%'
3776 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3777 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3779 eval ac_cv_prog_make_${ac_make}_set=yes;;
3781 eval ac_cv_prog_make_${ac_make}_set=no;;
3785 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3787 $as_echo "yes" >&6; }
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3791 $as_echo "no" >&6; }
3792 SET_MAKE="MAKE=${MAKE-make}"
3795 rm -rf .tst 2>/dev/null
3796 mkdir .tst 2>/dev/null
3797 if test -d .tst; then
3802 rmdir .tst 2>/dev/null
3804 DEPDIR="${am__leading_dot}deps"
3806 ac_config_commands="$ac_config_commands depfiles"
3809 am_make=${MAKE-make}
3810 cat > confinc << 'END'
3812 @echo this is the am__doit target
3815 # If we don't find an include directive, just comment out the code.
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3817 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3821 # First try GNU make style include.
3822 echo "include confinc" > confmf
3823 # Ignore all kinds of additional output from 'make'.
3824 case `$am_make -s -f confmf 2> /dev/null` in #(
3825 *the\ am__doit\ target*)
3831 # Now try BSD make style include.
3832 if test "$am__include" = "#"; then
3833 echo '.include "confinc"' > confmf
3834 case `$am_make -s -f confmf 2> /dev/null` in #(
3835 *the\ am__doit\ target*)
3836 am__include=.include
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3845 $as_echo "$_am_result" >&6; }
3846 rm -f confinc confmf
3848 # Check whether --enable-dependency-tracking was given.
3849 if test "${enable_dependency_tracking+set}" = set; then :
3850 enableval=$enable_dependency_tracking;
3853 if test "x$enable_dependency_tracking" != xno; then
3854 am_depcomp="$ac_aux_dir/depcomp"
3858 if test "x$enable_dependency_tracking" != xno; then
3867 # Check whether --enable-silent-rules was given.
3868 if test "${enable_silent_rules+set}" = set; then :
3869 enableval=$enable_silent_rules;
3872 case $enable_silent_rules in # (((
3873 yes) AM_DEFAULT_VERBOSITY=0;;
3874 no) AM_DEFAULT_VERBOSITY=1;;
3875 *) AM_DEFAULT_VERBOSITY=1;;
3877 am_make=${MAKE-make}
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3879 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3880 if ${am_cv_make_support_nested_variables+:} false; then :
3881 $as_echo_n "(cached) " >&6
3883 if $as_echo 'TRUE=$(BAR$(V))
3889 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3890 am_cv_make_support_nested_variables=yes
3892 am_cv_make_support_nested_variables=no
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3896 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3897 if test $am_cv_make_support_nested_variables = yes; then
3899 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3901 AM_V=$AM_DEFAULT_VERBOSITY
3902 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3906 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3907 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3908 # is not polluted with repeated "-I."
3909 am__isrc=' -I$(srcdir)'
3910 # test to see if srcdir already configured
3911 if test -f $srcdir/config.status; then
3912 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3916 # test whether we have cygpath
3917 if test -z "$CYGPATH_W"; then
3918 if (cygpath --version) >/dev/null 2>/dev/null; then
3919 CYGPATH_W='cygpath -w'
3926 # Define the identity of the package.
3931 cat >>confdefs.h <<_ACEOF
3932 #define PACKAGE "$PACKAGE"
3936 cat >>confdefs.h <<_ACEOF
3937 #define VERSION "$VERSION"
3940 # Some tools Automake needs.
3942 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3945 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3948 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3951 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3954 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3956 # For better backward compatibility. To be removed once Automake 1.9.x
3957 # dies out for good. For more background, see:
3958 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3959 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3960 mkdir_p='$(MKDIR_P)'
3962 # We need awk for the "check" target. The system "awk" is bad on
3964 # Always define AMTAR for backward compatibility. Yes, it's still used
3965 # in the wild :-( We should find a proper way to deprecate it ...
3969 # We'll loop over all known methods to create a tar archive until one works.
3970 _am_tools='gnutar pax cpio none'
3972 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3978 depcc="$CC" am_compiler_list=
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3981 $as_echo_n "checking dependency style of $depcc... " >&6; }
3982 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3983 $as_echo_n "(cached) " >&6
3985 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3986 # We make a subdir and do the tests there. Otherwise we can end up
3987 # making bogus files that we don't know about and never remove. For
3988 # instance it was reported that on HP-UX the gcc test will end up
3989 # making a dummy file named 'D' -- because '-MD' means "put the output
3993 # Copy depcomp to subdir because otherwise we won't find it if we're
3994 # using a relative directory.
3995 cp "$am_depcomp" conftest.dir
3997 # We will build objects and dependencies in a subdirectory because
3998 # it helps to detect inapplicable dependency modes. For instance
3999 # both Tru64's cc and ICC support -MD to output dependencies as a
4000 # side effect of compilation, but ICC will put the dependencies in
4001 # the current directory while Tru64 will put them in the object
4005 am_cv_CC_dependencies_compiler_type=none
4006 if test "$am_compiler_list" = ""; then
4007 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4010 case " $depcc " in #(
4011 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4014 for depmode in $am_compiler_list; do
4015 # Setup a source with many dependencies, because some compilers
4016 # like to wrap large dependency lists on column 80 (with \), and
4017 # we should not choose a depcomp mode which is confused by this.
4019 # We need to recreate these files for each test, as the compiler may
4020 # overwrite some of them when testing with obscure command lines.
4021 # This happens at least with the AIX C compiler.
4023 for i in 1 2 3 4 5 6; do
4024 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4025 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4026 # Solaris 10 /bin/sh.
4027 echo '/* dummy */' > sub/conftst$i.h
4029 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4031 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4032 # mode. It turns out that the SunPro C++ compiler does not properly
4033 # handle '-M -o', and we need to detect this. Also, some Intel
4034 # versions had trouble with output in subdirs.
4035 am__obj=sub/conftest.${OBJEXT-o}
4036 am__minus_obj="-o $am__obj"
4039 # This depmode causes a compiler race in universal mode.
4040 test "$am__universal" = false || continue
4043 # After this tag, mechanisms are not by side-effect, so they'll
4044 # only be used when explicitly requested.
4045 if test "x$enable_dependency_tracking" = xyes; then
4051 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4052 # This compiler won't grok '-c -o', but also, the minuso test has
4053 # not run yet. These depmodes are late enough in the game, and
4054 # so weak that their functioning should not be impacted.
4055 am__obj=conftest.${OBJEXT-o}
4060 if depmode=$depmode \
4061 source=sub/conftest.c object=$am__obj \
4062 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4063 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4064 >/dev/null 2>conftest.err &&
4065 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4066 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4067 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4068 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4069 # icc doesn't choke on unknown options, it will just issue warnings
4070 # or remarks (even with -Werror). So we grep stderr for any message
4071 # that says an option was ignored or not supported.
4072 # When given -MP, icc 7.0 and 7.1 complain thusly:
4073 # icc: Command line warning: ignoring option '-M'; no argument required
4074 # The diagnosis changed in icc 8.0:
4075 # icc: Command line remark: option '-MP' not supported
4076 if (grep 'ignoring option' conftest.err ||
4077 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4078 am_cv_CC_dependencies_compiler_type=$depmode
4087 am_cv_CC_dependencies_compiler_type=none
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4092 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4093 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4096 test "x$enable_dependency_tracking" != xno \
4097 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4099 am__fastdepCC_FALSE='#'
4101 am__fastdepCC_TRUE='#'
4102 am__fastdepCC_FALSE=
4107 ac_config_headers="$ac_config_headers config.h"
4109 # Check whether --enable-silent-rules was given.
4110 if test "${enable_silent_rules+set}" = set; then :
4111 enableval=$enable_silent_rules;
4114 case $enable_silent_rules in # (((
4115 yes) AM_DEFAULT_VERBOSITY=0;;
4116 no) AM_DEFAULT_VERBOSITY=1;;
4117 *) AM_DEFAULT_VERBOSITY=0;;
4119 am_make=${MAKE-make}
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4121 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4122 if ${am_cv_make_support_nested_variables+:} false; then :
4123 $as_echo_n "(cached) " >&6
4125 if $as_echo 'TRUE=$(BAR$(V))
4131 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4132 am_cv_make_support_nested_variables=yes
4134 am_cv_make_support_nested_variables=no
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4138 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4139 if test $am_cv_make_support_nested_variables = yes; then
4141 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4143 AM_V=$AM_DEFAULT_VERBOSITY
4144 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4149 enable_win32_dll=yes
4152 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4153 if test -n "$ac_tool_prefix"; then
4154 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4155 set dummy ${ac_tool_prefix}as; ac_word=$2
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4157 $as_echo_n "checking for $ac_word... " >&6; }
4158 if ${ac_cv_prog_AS+:} false; then :
4159 $as_echo_n "(cached) " >&6
4161 if test -n "$AS"; then
4162 ac_cv_prog_AS="$AS" # Let the user override the test.
4164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4168 test -z "$as_dir" && as_dir=.
4169 for ac_exec_ext in '' $ac_executable_extensions; do
4170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4171 ac_cv_prog_AS="${ac_tool_prefix}as"
4172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4182 if test -n "$AS"; then
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4184 $as_echo "$AS" >&6; }
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4187 $as_echo "no" >&6; }
4192 if test -z "$ac_cv_prog_AS"; then
4194 # Extract the first word of "as", so it can be a program name with args.
4195 set dummy as; ac_word=$2
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4197 $as_echo_n "checking for $ac_word... " >&6; }
4198 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4199 $as_echo_n "(cached) " >&6
4201 if test -n "$ac_ct_AS"; then
4202 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4208 test -z "$as_dir" && as_dir=.
4209 for ac_exec_ext in '' $ac_executable_extensions; do
4210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4211 ac_cv_prog_ac_ct_AS="as"
4212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4221 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4222 if test -n "$ac_ct_AS"; then
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4224 $as_echo "$ac_ct_AS" >&6; }
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227 $as_echo "no" >&6; }
4230 if test "x$ac_ct_AS" = x; then
4233 case $cross_compiling:$ac_tool_warned in
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4237 ac_tool_warned=yes ;;
4245 if test -n "$ac_tool_prefix"; then
4246 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4247 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4249 $as_echo_n "checking for $ac_word... " >&6; }
4250 if ${ac_cv_prog_DLLTOOL+:} false; then :
4251 $as_echo_n "(cached) " >&6
4253 if test -n "$DLLTOOL"; then
4254 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 test -z "$as_dir" && as_dir=.
4261 for ac_exec_ext in '' $ac_executable_extensions; do
4262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4263 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4273 DLLTOOL=$ac_cv_prog_DLLTOOL
4274 if test -n "$DLLTOOL"; then
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4276 $as_echo "$DLLTOOL" >&6; }
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4279 $as_echo "no" >&6; }
4284 if test -z "$ac_cv_prog_DLLTOOL"; then
4285 ac_ct_DLLTOOL=$DLLTOOL
4286 # Extract the first word of "dlltool", so it can be a program name with args.
4287 set dummy dlltool; ac_word=$2
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4289 $as_echo_n "checking for $ac_word... " >&6; }
4290 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4291 $as_echo_n "(cached) " >&6
4293 if test -n "$ac_ct_DLLTOOL"; then
4294 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4300 test -z "$as_dir" && as_dir=.
4301 for ac_exec_ext in '' $ac_executable_extensions; do
4302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4303 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4313 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4314 if test -n "$ac_ct_DLLTOOL"; then
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4316 $as_echo "$ac_ct_DLLTOOL" >&6; }
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4319 $as_echo "no" >&6; }
4322 if test "x$ac_ct_DLLTOOL" = x; then
4325 case $cross_compiling:$ac_tool_warned in
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4329 ac_tool_warned=yes ;;
4331 DLLTOOL=$ac_ct_DLLTOOL
4334 DLLTOOL="$ac_cv_prog_DLLTOOL"
4337 if test -n "$ac_tool_prefix"; then
4338 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4339 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4341 $as_echo_n "checking for $ac_word... " >&6; }
4342 if ${ac_cv_prog_OBJDUMP+:} false; then :
4343 $as_echo_n "(cached) " >&6
4345 if test -n "$OBJDUMP"; then
4346 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4352 test -z "$as_dir" && as_dir=.
4353 for ac_exec_ext in '' $ac_executable_extensions; do
4354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4355 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4365 OBJDUMP=$ac_cv_prog_OBJDUMP
4366 if test -n "$OBJDUMP"; then
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4368 $as_echo "$OBJDUMP" >&6; }
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4371 $as_echo "no" >&6; }
4376 if test -z "$ac_cv_prog_OBJDUMP"; then
4377 ac_ct_OBJDUMP=$OBJDUMP
4378 # Extract the first word of "objdump", so it can be a program name with args.
4379 set dummy objdump; ac_word=$2
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4381 $as_echo_n "checking for $ac_word... " >&6; }
4382 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4383 $as_echo_n "(cached) " >&6
4385 if test -n "$ac_ct_OBJDUMP"; then
4386 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392 test -z "$as_dir" && as_dir=.
4393 for ac_exec_ext in '' $ac_executable_extensions; do
4394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4395 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4405 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4406 if test -n "$ac_ct_OBJDUMP"; then
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4408 $as_echo "$ac_ct_OBJDUMP" >&6; }
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4411 $as_echo "no" >&6; }
4414 if test "x$ac_ct_OBJDUMP" = x; then
4417 case $cross_compiling:$ac_tool_warned in
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4421 ac_tool_warned=yes ;;
4423 OBJDUMP=$ac_ct_OBJDUMP
4426 OBJDUMP="$ac_cv_prog_OBJDUMP"
4432 test -z "$AS" && AS=as
4438 test -z "$DLLTOOL" && DLLTOOL=dlltool
4444 test -z "$OBJDUMP" && OBJDUMP=objdump
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4455 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4460 macro_version='2.4.2'
4461 macro_revision='1.3337'
4475 ltmain="$ac_aux_dir/ltmain.sh"
4477 # Backslashify metacharacters that are still active within
4478 # double-quoted strings.
4479 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4481 # Same as above, but do not quote variable references.
4482 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4484 # Sed substitution to delay expansion of an escaped shell variable in a
4485 # double_quote_subst'ed string.
4486 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4488 # Sed substitution to delay expansion of an escaped single quote.
4489 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4491 # Sed substitution to avoid accidental globbing in evaled expressions
4492 no_glob_subst='s/\*/\\\*/g'
4494 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4495 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4496 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4499 $as_echo_n "checking how to print strings... " >&6; }
4500 # Test print first, because it will be a builtin if present.
4501 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4502 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4504 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4507 # Use this function as a fallback that always works.
4508 func_fallback_echo ()
4510 eval 'cat <<_LTECHO_EOF
4514 ECHO='func_fallback_echo'
4517 # func_echo_all arg...
4518 # Invoke $ECHO with all args, space-separated.
4525 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4526 $as_echo "printf" >&6; } ;;
4527 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4528 $as_echo "print -r" >&6; } ;;
4529 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4530 $as_echo "cat" >&6; } ;;
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4547 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4548 if ${ac_cv_path_SED+:} false; then :
4549 $as_echo_n "(cached) " >&6
4551 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4552 for ac_i in 1 2 3 4 5 6 7; do
4553 ac_script="$ac_script$as_nl$ac_script"
4555 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4556 { ac_script=; unset ac_script;}
4557 if test -z "$SED"; then
4558 ac_path_SED_found=false
4559 # Loop through the user's path and test for each of PROGNAME-LIST
4560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4564 test -z "$as_dir" && as_dir=.
4565 for ac_prog in sed gsed; do
4566 for ac_exec_ext in '' $ac_executable_extensions; do
4567 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4568 as_fn_executable_p "$ac_path_SED" || continue
4569 # Check for GNU ac_path_SED and select it if it is found.
4570 # Check for GNU $ac_path_SED
4571 case `"$ac_path_SED" --version 2>&1` in
4573 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4576 $as_echo_n 0123456789 >"conftest.in"
4579 cat "conftest.in" "conftest.in" >"conftest.tmp"
4580 mv "conftest.tmp" "conftest.in"
4581 cp "conftest.in" "conftest.nl"
4582 $as_echo '' >> "conftest.nl"
4583 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4584 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4585 as_fn_arith $ac_count + 1 && ac_count=$as_val
4586 if test $ac_count -gt ${ac_path_SED_max-0}; then
4587 # Best one so far, save it but keep looking for a better one
4588 ac_cv_path_SED="$ac_path_SED"
4589 ac_path_SED_max=$ac_count
4591 # 10*(2^10) chars as input seems more than enough
4592 test $ac_count -gt 10 && break
4594 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4597 $ac_path_SED_found && break 3
4602 if test -z "$ac_cv_path_SED"; then
4603 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4611 $as_echo "$ac_cv_path_SED" >&6; }
4612 SED="$ac_cv_path_SED"
4615 test -z "$SED" && SED=sed
4616 Xsed="$SED -e 1s/^X//"
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4629 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4630 if ${ac_cv_path_GREP+:} false; then :
4631 $as_echo_n "(cached) " >&6
4633 if test -z "$GREP"; then
4634 ac_path_GREP_found=false
4635 # Loop through the user's path and test for each of PROGNAME-LIST
4636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4637 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4640 test -z "$as_dir" && as_dir=.
4641 for ac_prog in grep ggrep; do
4642 for ac_exec_ext in '' $ac_executable_extensions; do
4643 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4644 as_fn_executable_p "$ac_path_GREP" || continue
4645 # Check for GNU ac_path_GREP and select it if it is found.
4646 # Check for GNU $ac_path_GREP
4647 case `"$ac_path_GREP" --version 2>&1` in
4649 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4652 $as_echo_n 0123456789 >"conftest.in"
4655 cat "conftest.in" "conftest.in" >"conftest.tmp"
4656 mv "conftest.tmp" "conftest.in"
4657 cp "conftest.in" "conftest.nl"
4658 $as_echo 'GREP' >> "conftest.nl"
4659 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4660 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4661 as_fn_arith $ac_count + 1 && ac_count=$as_val
4662 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4663 # Best one so far, save it but keep looking for a better one
4664 ac_cv_path_GREP="$ac_path_GREP"
4665 ac_path_GREP_max=$ac_count
4667 # 10*(2^10) chars as input seems more than enough
4668 test $ac_count -gt 10 && break
4670 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4673 $ac_path_GREP_found && break 3
4678 if test -z "$ac_cv_path_GREP"; then
4679 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4682 ac_cv_path_GREP=$GREP
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4687 $as_echo "$ac_cv_path_GREP" >&6; }
4688 GREP="$ac_cv_path_GREP"
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4692 $as_echo_n "checking for egrep... " >&6; }
4693 if ${ac_cv_path_EGREP+:} false; then :
4694 $as_echo_n "(cached) " >&6
4696 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4697 then ac_cv_path_EGREP="$GREP -E"
4699 if test -z "$EGREP"; then
4700 ac_path_EGREP_found=false
4701 # Loop through the user's path and test for each of PROGNAME-LIST
4702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4703 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4706 test -z "$as_dir" && as_dir=.
4707 for ac_prog in egrep; do
4708 for ac_exec_ext in '' $ac_executable_extensions; do
4709 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4710 as_fn_executable_p "$ac_path_EGREP" || continue
4711 # Check for GNU ac_path_EGREP and select it if it is found.
4712 # Check for GNU $ac_path_EGREP
4713 case `"$ac_path_EGREP" --version 2>&1` in
4715 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4718 $as_echo_n 0123456789 >"conftest.in"
4721 cat "conftest.in" "conftest.in" >"conftest.tmp"
4722 mv "conftest.tmp" "conftest.in"
4723 cp "conftest.in" "conftest.nl"
4724 $as_echo 'EGREP' >> "conftest.nl"
4725 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4726 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4727 as_fn_arith $ac_count + 1 && ac_count=$as_val
4728 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4729 # Best one so far, save it but keep looking for a better one
4730 ac_cv_path_EGREP="$ac_path_EGREP"
4731 ac_path_EGREP_max=$ac_count
4733 # 10*(2^10) chars as input seems more than enough
4734 test $ac_count -gt 10 && break
4736 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4739 $ac_path_EGREP_found && break 3
4744 if test -z "$ac_cv_path_EGREP"; then
4745 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4748 ac_cv_path_EGREP=$EGREP
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4754 $as_echo "$ac_cv_path_EGREP" >&6; }
4755 EGREP="$ac_cv_path_EGREP"
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4759 $as_echo_n "checking for fgrep... " >&6; }
4760 if ${ac_cv_path_FGREP+:} false; then :
4761 $as_echo_n "(cached) " >&6
4763 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4764 then ac_cv_path_FGREP="$GREP -F"
4766 if test -z "$FGREP"; then
4767 ac_path_FGREP_found=false
4768 # Loop through the user's path and test for each of PROGNAME-LIST
4769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4770 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4773 test -z "$as_dir" && as_dir=.
4774 for ac_prog in fgrep; do
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4777 as_fn_executable_p "$ac_path_FGREP" || continue
4778 # Check for GNU ac_path_FGREP and select it if it is found.
4779 # Check for GNU $ac_path_FGREP
4780 case `"$ac_path_FGREP" --version 2>&1` in
4782 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4785 $as_echo_n 0123456789 >"conftest.in"
4788 cat "conftest.in" "conftest.in" >"conftest.tmp"
4789 mv "conftest.tmp" "conftest.in"
4790 cp "conftest.in" "conftest.nl"
4791 $as_echo 'FGREP' >> "conftest.nl"
4792 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4793 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4794 as_fn_arith $ac_count + 1 && ac_count=$as_val
4795 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4796 # Best one so far, save it but keep looking for a better one
4797 ac_cv_path_FGREP="$ac_path_FGREP"
4798 ac_path_FGREP_max=$ac_count
4800 # 10*(2^10) chars as input seems more than enough
4801 test $ac_count -gt 10 && break
4803 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4806 $ac_path_FGREP_found && break 3
4811 if test -z "$ac_cv_path_FGREP"; then
4812 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4815 ac_cv_path_FGREP=$FGREP
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4821 $as_echo "$ac_cv_path_FGREP" >&6; }
4822 FGREP="$ac_cv_path_FGREP"
4825 test -z "$GREP" && GREP=grep
4845 # Check whether --with-gnu-ld was given.
4846 if test "${with_gnu_ld+set}" = set; then :
4847 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4853 if test "$GCC" = yes; then
4854 # Check if gcc -print-prog-name=ld gives a path.
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4856 $as_echo_n "checking for ld used by $CC... " >&6; }
4859 # gcc leaves a trailing carriage return which upsets mingw
4860 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4862 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4865 # Accept absolute paths.
4867 re_direlt='/[^/][^/]*/\.\./'
4868 # Canonicalize the pathname of ld
4869 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4870 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4871 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4873 test -z "$LD" && LD="$ac_prog"
4876 # If it fails, then pretend we aren't using GCC.
4880 # If it is relative, then search for the first ld in PATH.
4884 elif test "$with_gnu_ld" = yes; then
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4886 $as_echo_n "checking for GNU ld... " >&6; }
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4889 $as_echo_n "checking for non-GNU ld... " >&6; }
4891 if ${lt_cv_path_LD+:} false; then :
4892 $as_echo_n "(cached) " >&6
4894 if test -z "$LD"; then
4895 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4896 for ac_dir in $PATH; do
4898 test -z "$ac_dir" && ac_dir=.
4899 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4900 lt_cv_path_LD="$ac_dir/$ac_prog"
4901 # Check to see if the program is GNU ld. I'd rather use --version,
4902 # but apparently some variants of GNU ld only accept -v.
4903 # Break only if it was the GNU/non-GNU ld that we prefer.
4904 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4905 *GNU* | *'with BFD'*)
4906 test "$with_gnu_ld" != no && break
4909 test "$with_gnu_ld" != yes && break
4916 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4921 if test -n "$LD"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4923 $as_echo "$LD" >&6; }
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926 $as_echo "no" >&6; }
4928 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4930 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4931 if ${lt_cv_prog_gnu_ld+:} false; then :
4932 $as_echo_n "(cached) " >&6
4934 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4935 case `$LD -v 2>&1 </dev/null` in
4936 *GNU* | *'with BFD'*)
4937 lt_cv_prog_gnu_ld=yes
4940 lt_cv_prog_gnu_ld=no
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4945 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4946 with_gnu_ld=$lt_cv_prog_gnu_ld
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4957 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4958 if ${lt_cv_path_NM+:} false; then :
4959 $as_echo_n "(cached) " >&6
4961 if test -n "$NM"; then
4962 # Let the user override the test.
4965 lt_nm_to_check="${ac_tool_prefix}nm"
4966 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4967 lt_nm_to_check="$lt_nm_to_check nm"
4969 for lt_tmp_nm in $lt_nm_to_check; do
4970 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4971 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4973 test -z "$ac_dir" && ac_dir=.
4974 tmp_nm="$ac_dir/$lt_tmp_nm"
4975 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4976 # Check to see if the nm accepts a BSD-compat flag.
4977 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4978 # nm: unknown option "B" ignored
4979 # Tru64's nm complains that /dev/null is an invalid object file
4980 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4981 */dev/null* | *'Invalid file or object type'*)
4982 lt_cv_path_NM="$tmp_nm -B"
4986 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4988 lt_cv_path_NM="$tmp_nm -p"
4992 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4993 continue # so that we can try to find one that supports BSD flags
5002 : ${lt_cv_path_NM=no}
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5006 $as_echo "$lt_cv_path_NM" >&6; }
5007 if test "$lt_cv_path_NM" != "no"; then
5010 # Didn't find any BSD compatible name lister, look for dumpbin.
5011 if test -n "$DUMPBIN"; then :
5012 # Let the user override the test.
5014 if test -n "$ac_tool_prefix"; then
5015 for ac_prog in dumpbin "link -dump"
5017 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5018 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5020 $as_echo_n "checking for $ac_word... " >&6; }
5021 if ${ac_cv_prog_DUMPBIN+:} false; then :
5022 $as_echo_n "(cached) " >&6
5024 if test -n "$DUMPBIN"; then
5025 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5031 test -z "$as_dir" && as_dir=.
5032 for ac_exec_ext in '' $ac_executable_extensions; do
5033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5034 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 DUMPBIN=$ac_cv_prog_DUMPBIN
5045 if test -n "$DUMPBIN"; then
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5047 $as_echo "$DUMPBIN" >&6; }
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5050 $as_echo "no" >&6; }
5054 test -n "$DUMPBIN" && break
5057 if test -z "$DUMPBIN"; then
5058 ac_ct_DUMPBIN=$DUMPBIN
5059 for ac_prog in dumpbin "link -dump"
5061 # Extract the first word of "$ac_prog", so it can be a program name with args.
5062 set dummy $ac_prog; ac_word=$2
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5064 $as_echo_n "checking for $ac_word... " >&6; }
5065 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5066 $as_echo_n "(cached) " >&6
5068 if test -n "$ac_ct_DUMPBIN"; then
5069 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075 test -z "$as_dir" && as_dir=.
5076 for ac_exec_ext in '' $ac_executable_extensions; do
5077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5078 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5089 if test -n "$ac_ct_DUMPBIN"; then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5091 $as_echo "$ac_ct_DUMPBIN" >&6; }
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5098 test -n "$ac_ct_DUMPBIN" && break
5101 if test "x$ac_ct_DUMPBIN" = x; then
5104 case $cross_compiling:$ac_tool_warned in
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5108 ac_tool_warned=yes ;;
5110 DUMPBIN=$ac_ct_DUMPBIN
5114 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5116 DUMPBIN="$DUMPBIN -symbols"
5124 if test "$DUMPBIN" != ":"; then
5128 test -z "$NM" && NM=nm
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5136 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5137 if ${lt_cv_nm_interface+:} false; then :
5138 $as_echo_n "(cached) " >&6
5140 lt_cv_nm_interface="BSD nm"
5141 echo "int some_variable = 0;" > conftest.$ac_ext
5142 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5143 (eval "$ac_compile" 2>conftest.err)
5144 cat conftest.err >&5
5145 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5146 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5147 cat conftest.err >&5
5148 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5149 cat conftest.out >&5
5150 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5151 lt_cv_nm_interface="MS dumpbin"
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5156 $as_echo "$lt_cv_nm_interface" >&6; }
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5159 $as_echo_n "checking whether ln -s works... " >&6; }
5161 if test "$LN_S" = "ln -s"; then
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5163 $as_echo "yes" >&6; }
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5166 $as_echo "no, using $LN_S" >&6; }
5169 # find the maximum length of command line arguments
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5171 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5172 if ${lt_cv_sys_max_cmd_len+:} false; then :
5173 $as_echo_n "(cached) " >&6
5180 # On DJGPP, this test can blow up pretty badly due to problems in libc
5181 # (any single argument exceeding 2000 bytes causes a buffer overrun
5182 # during glob expansion). Even if it were fixed, the result of this
5183 # check would be larger than it should be.
5184 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5188 # Under GNU Hurd, this test is not required because there is
5189 # no limit to the length of command line arguments.
5190 # Libtool will interpret -1 as no limit whatsoever
5191 lt_cv_sys_max_cmd_len=-1;
5194 cygwin* | mingw* | cegcc*)
5195 # On Win9x/ME, this test blows up -- it succeeds, but takes
5196 # about 5 minutes as the teststring grows exponentially.
5197 # Worse, since 9x/ME are not pre-emptively multitasking,
5198 # you end up with a "frozen" computer, even though with patience
5199 # the test eventually succeeds (with a max line length of 256k).
5200 # Instead, let's just punt: use the minimum linelength reported by
5201 # all of the supported platforms: 8192 (on NT/2K/XP).
5202 lt_cv_sys_max_cmd_len=8192;
5206 # On MiNT this can take a long time and run out of memory.
5207 lt_cv_sys_max_cmd_len=8192;
5211 # On AmigaOS with pdksh, this test takes hours, literally.
5212 # So we just punt and use a minimum line length of 8192.
5213 lt_cv_sys_max_cmd_len=8192;
5216 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5217 # This has been around since 386BSD, at least. Likely further.
5218 if test -x /sbin/sysctl; then
5219 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5220 elif test -x /usr/sbin/sysctl; then
5221 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5223 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5225 # And add a safety zone
5226 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5227 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5231 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5232 lt_cv_sys_max_cmd_len=196608
5236 # The test takes a long time on OS/2.
5237 lt_cv_sys_max_cmd_len=8192
5241 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5242 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5243 # nice to cause kernel panics so lets avoid the loop below.
5244 # First set a reasonable default.
5245 lt_cv_sys_max_cmd_len=16384
5247 if test -x /sbin/sysconfig; then
5248 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5249 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5254 lt_cv_sys_max_cmd_len=102400
5256 sysv5* | sco5v6* | sysv4.2uw2*)
5257 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5258 if test -n "$kargmax"; then
5259 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5261 lt_cv_sys_max_cmd_len=32768
5265 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5266 if test -n "$lt_cv_sys_max_cmd_len"; then
5267 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5268 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5270 # Make teststring a little bigger before we do anything with it.
5271 # a 1K string should be a reasonable start.
5272 for i in 1 2 3 4 5 6 7 8 ; do
5273 teststring=$teststring$teststring
5275 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5276 # If test is not a shell built-in, we'll probably end up computing a
5277 # maximum length that is only half of the actual maximum length, but
5279 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5280 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5281 test $i != 17 # 1/2 MB should be enough
5284 teststring=$teststring$teststring
5286 # Only check the string length outside the loop.
5287 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5289 # Add a significant safety factor because C++ compilers can tack on
5290 # massive amounts of additional arguments before passing them to the
5291 # linker. It appears as though 1/2 is a usable value.
5292 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5299 if test -n $lt_cv_sys_max_cmd_len ; then
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5301 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5304 $as_echo "none" >&6; }
5306 max_cmd_len=$lt_cv_sys_max_cmd_len
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5318 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5319 # Try some XSI features
5322 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5324 && eval 'test $(( 1 + 1 )) -eq 2 \
5325 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5328 $as_echo "$xsi_shell" >&6; }
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5332 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5334 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5336 && lt_shell_append=yes
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5338 $as_echo "$lt_shell_append" >&6; }
5341 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5351 # test EBCDIC or ASCII
5352 case `echo X|tr X '\101'` in
5353 A) # ASCII based system
5354 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5355 lt_SP2NL='tr \040 \012'
5356 lt_NL2SP='tr \015\012 \040\040'
5358 *) # EBCDIC based system
5359 lt_SP2NL='tr \100 \n'
5360 lt_NL2SP='tr \r\n \100\100'
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5373 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5374 if ${lt_cv_to_host_file_cmd+:} false; then :
5375 $as_echo_n "(cached) " >&6
5380 *-*-mingw* ) # actually msys
5381 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5384 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5386 * ) # otherwise, assume *nix
5387 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5393 *-*-mingw* ) # actually msys
5394 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5397 lt_cv_to_host_file_cmd=func_convert_file_noop
5399 * ) # otherwise, assume *nix
5400 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5404 * ) # unhandled hosts (and "normal" native builds)
5405 lt_cv_to_host_file_cmd=func_convert_file_noop
5411 to_host_file_cmd=$lt_cv_to_host_file_cmd
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5413 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5420 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5421 if ${lt_cv_to_tool_file_cmd+:} false; then :
5422 $as_echo_n "(cached) " >&6
5424 #assume ordinary cross tools, or native build.
5425 lt_cv_to_tool_file_cmd=func_convert_file_noop
5429 *-*-mingw* ) # actually msys
5430 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5438 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5440 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5447 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5448 if ${lt_cv_ld_reload_flag+:} false; then :
5449 $as_echo_n "(cached) " >&6
5451 lt_cv_ld_reload_flag='-r'
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5454 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5455 reload_flag=$lt_cv_ld_reload_flag
5456 case $reload_flag in
5458 *) reload_flag=" $reload_flag" ;;
5460 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5462 cygwin* | mingw* | pw32* | cegcc*)
5463 if test "$GCC" != yes; then
5468 if test "$GCC" = yes; then
5469 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5471 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5484 if test -n "$ac_tool_prefix"; then
5485 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5486 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5488 $as_echo_n "checking for $ac_word... " >&6; }
5489 if ${ac_cv_prog_OBJDUMP+:} false; then :
5490 $as_echo_n "(cached) " >&6
5492 if test -n "$OBJDUMP"; then
5493 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 test -z "$as_dir" && as_dir=.
5500 for ac_exec_ext in '' $ac_executable_extensions; do
5501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5502 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5512 OBJDUMP=$ac_cv_prog_OBJDUMP
5513 if test -n "$OBJDUMP"; then
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5515 $as_echo "$OBJDUMP" >&6; }
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5518 $as_echo "no" >&6; }
5523 if test -z "$ac_cv_prog_OBJDUMP"; then
5524 ac_ct_OBJDUMP=$OBJDUMP
5525 # Extract the first word of "objdump", so it can be a program name with args.
5526 set dummy objdump; ac_word=$2
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5528 $as_echo_n "checking for $ac_word... " >&6; }
5529 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5530 $as_echo_n "(cached) " >&6
5532 if test -n "$ac_ct_OBJDUMP"; then
5533 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 test -z "$as_dir" && as_dir=.
5540 for ac_exec_ext in '' $ac_executable_extensions; do
5541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5542 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5552 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5553 if test -n "$ac_ct_OBJDUMP"; then
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5555 $as_echo "$ac_ct_OBJDUMP" >&6; }
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5558 $as_echo "no" >&6; }
5561 if test "x$ac_ct_OBJDUMP" = x; then
5564 case $cross_compiling:$ac_tool_warned in
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5568 ac_tool_warned=yes ;;
5570 OBJDUMP=$ac_ct_OBJDUMP
5573 OBJDUMP="$ac_cv_prog_OBJDUMP"
5576 test -z "$OBJDUMP" && OBJDUMP=objdump
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5584 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5585 if ${lt_cv_deplibs_check_method+:} false; then :
5586 $as_echo_n "(cached) " >&6
5588 lt_cv_file_magic_cmd='$MAGIC_CMD'
5589 lt_cv_file_magic_test_file=
5590 lt_cv_deplibs_check_method='unknown'
5591 # Need to set the preceding variable on all platforms that support
5592 # interlibrary dependencies.
5593 # 'none' -- dependencies not supported.
5594 # `unknown' -- same as none, but documents that we really don't know.
5595 # 'pass_all' -- all dependencies passed with no checks.
5596 # 'test_compile' -- check by making test program.
5597 # 'file_magic [[regex]]' -- check by looking for files in library path
5598 # which responds to the $file_magic_cmd with a given extended regex.
5599 # If you have `file' or equivalent on your system and you're not sure
5600 # whether `pass_all' will *always* work, you probably want this one.
5604 lt_cv_deplibs_check_method=pass_all
5608 lt_cv_deplibs_check_method=pass_all
5612 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5613 lt_cv_file_magic_cmd='/usr/bin/file -L'
5614 lt_cv_file_magic_test_file=/shlib/libc.so
5618 # func_win32_libid is a shell function defined in ltmain.sh
5619 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5620 lt_cv_file_magic_cmd='func_win32_libid'
5624 # Base MSYS/MinGW do not provide the 'file' command needed by
5625 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5626 # unless we find 'file', for example because we are cross-compiling.
5627 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5628 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5629 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5630 lt_cv_file_magic_cmd='func_win32_libid'
5632 # Keep this pattern in sync with the one in func_win32_libid.
5633 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5634 lt_cv_file_magic_cmd='$OBJDUMP -f'
5639 # use the weaker test based on 'objdump'. See mingw*.
5640 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5641 lt_cv_file_magic_cmd='$OBJDUMP -f'
5644 darwin* | rhapsody*)
5645 lt_cv_deplibs_check_method=pass_all
5648 freebsd* | dragonfly*)
5649 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5652 # Not sure whether the presence of OpenBSD here was a mistake.
5653 # Let's accept both of them until this is cleared up.
5654 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5655 lt_cv_file_magic_cmd=/usr/bin/file
5656 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5660 lt_cv_deplibs_check_method=pass_all
5665 lt_cv_deplibs_check_method=pass_all
5669 lt_cv_deplibs_check_method=pass_all
5672 hpux10.20* | hpux11*)
5673 lt_cv_file_magic_cmd=/usr/bin/file
5676 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5677 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5680 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]'
5681 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5684 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5685 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5691 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5692 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5695 irix5* | irix6* | nonstopux*)
5697 *-32|*"-32 ") libmagic=32-bit;;
5698 *-n32|*"-n32 ") libmagic=N32;;
5699 *-64|*"-64 ") libmagic=64-bit;;
5700 *) libmagic=never-match;;
5702 lt_cv_deplibs_check_method=pass_all
5705 # This must be glibc/ELF.
5706 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5707 lt_cv_deplibs_check_method=pass_all
5711 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5712 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5714 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5719 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5720 lt_cv_file_magic_cmd=/usr/bin/file
5721 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5725 lt_cv_deplibs_check_method=pass_all
5729 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5730 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5732 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5736 osf3* | osf4* | osf5*)
5737 lt_cv_deplibs_check_method=pass_all
5741 lt_cv_deplibs_check_method=pass_all
5745 lt_cv_deplibs_check_method=pass_all
5748 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5749 lt_cv_deplibs_check_method=pass_all
5753 case $host_vendor in
5755 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]'
5756 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5759 lt_cv_deplibs_check_method=pass_all
5762 lt_cv_file_magic_cmd='/bin/file'
5763 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5766 lt_cv_file_magic_cmd='/bin/file'
5767 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5768 lt_cv_file_magic_test_file=/lib/libc.so
5771 lt_cv_deplibs_check_method=pass_all
5774 lt_cv_deplibs_check_method=pass_all
5780 lt_cv_deplibs_check_method=pass_all
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5786 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5790 if test "$build" = "$host"; then
5793 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5796 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5802 file_magic_cmd=$lt_cv_file_magic_cmd
5803 deplibs_check_method=$lt_cv_deplibs_check_method
5804 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5827 if test -n "$ac_tool_prefix"; then
5828 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5829 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5831 $as_echo_n "checking for $ac_word... " >&6; }
5832 if ${ac_cv_prog_DLLTOOL+:} false; then :
5833 $as_echo_n "(cached) " >&6
5835 if test -n "$DLLTOOL"; then
5836 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5842 test -z "$as_dir" && as_dir=.
5843 for ac_exec_ext in '' $ac_executable_extensions; do
5844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5845 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5855 DLLTOOL=$ac_cv_prog_DLLTOOL
5856 if test -n "$DLLTOOL"; then
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5858 $as_echo "$DLLTOOL" >&6; }
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5861 $as_echo "no" >&6; }
5866 if test -z "$ac_cv_prog_DLLTOOL"; then
5867 ac_ct_DLLTOOL=$DLLTOOL
5868 # Extract the first word of "dlltool", so it can be a program name with args.
5869 set dummy dlltool; ac_word=$2
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5871 $as_echo_n "checking for $ac_word... " >&6; }
5872 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5873 $as_echo_n "(cached) " >&6
5875 if test -n "$ac_ct_DLLTOOL"; then
5876 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5882 test -z "$as_dir" && as_dir=.
5883 for ac_exec_ext in '' $ac_executable_extensions; do
5884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5885 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5895 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5896 if test -n "$ac_ct_DLLTOOL"; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5898 $as_echo "$ac_ct_DLLTOOL" >&6; }
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5901 $as_echo "no" >&6; }
5904 if test "x$ac_ct_DLLTOOL" = x; then
5907 case $cross_compiling:$ac_tool_warned in
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5911 ac_tool_warned=yes ;;
5913 DLLTOOL=$ac_ct_DLLTOOL
5916 DLLTOOL="$ac_cv_prog_DLLTOOL"
5919 test -z "$DLLTOOL" && DLLTOOL=dlltool
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5928 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5929 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5930 $as_echo_n "(cached) " >&6
5932 lt_cv_sharedlib_from_linklib_cmd='unknown'
5935 cygwin* | mingw* | pw32* | cegcc*)
5936 # two different shell functions defined in ltmain.sh
5937 # decide which to use based on capabilities of $DLLTOOL
5938 case `$DLLTOOL --help 2>&1` in
5939 *--identify-strict*)
5940 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5943 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5948 # fallback: assume linklib IS sharedlib
5949 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5955 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5956 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5957 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5965 if test -n "$ac_tool_prefix"; then
5968 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5969 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5971 $as_echo_n "checking for $ac_word... " >&6; }
5972 if ${ac_cv_prog_AR+:} false; then :
5973 $as_echo_n "(cached) " >&6
5975 if test -n "$AR"; then
5976 ac_cv_prog_AR="$AR" # Let the user override the test.
5978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 test -z "$as_dir" && as_dir=.
5983 for ac_exec_ext in '' $ac_executable_extensions; do
5984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5985 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5996 if test -n "$AR"; then
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5998 $as_echo "$AR" >&6; }
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6001 $as_echo "no" >&6; }
6005 test -n "$AR" && break
6008 if test -z "$AR"; then
6012 # Extract the first word of "$ac_prog", so it can be a program name with args.
6013 set dummy $ac_prog; ac_word=$2
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015 $as_echo_n "checking for $ac_word... " >&6; }
6016 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6017 $as_echo_n "(cached) " >&6
6019 if test -n "$ac_ct_AR"; then
6020 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026 test -z "$as_dir" && as_dir=.
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6029 ac_cv_prog_ac_ct_AR="$ac_prog"
6030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6039 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6040 if test -n "$ac_ct_AR"; then
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6042 $as_echo "$ac_ct_AR" >&6; }
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 $as_echo "no" >&6; }
6049 test -n "$ac_ct_AR" && break
6052 if test "x$ac_ct_AR" = x; then
6055 case $cross_compiling:$ac_tool_warned in
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6059 ac_tool_warned=yes ;;
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6079 $as_echo_n "checking for archiver @FILE support... " >&6; }
6080 if ${lt_cv_ar_at_file+:} false; then :
6081 $as_echo_n "(cached) " >&6
6084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6085 /* end confdefs.h. */
6095 if ac_fn_c_try_compile "$LINENO"; then :
6096 echo conftest.$ac_objext > conftest.lst
6097 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6098 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6099 (eval $lt_ar_try) 2>&5
6101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6102 test $ac_status = 0; }
6103 if test "$ac_status" -eq 0; then
6104 # Ensure the archiver fails upon bogus file names.
6105 rm -f conftest.$ac_objext libconftest.a
6106 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6107 (eval $lt_ar_try) 2>&5
6109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6110 test $ac_status = 0; }
6111 if test "$ac_status" -ne 0; then
6115 rm -f conftest.* libconftest.a
6118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6122 $as_echo "$lt_cv_ar_at_file" >&6; }
6124 if test "x$lt_cv_ar_at_file" = xno; then
6127 archiver_list_spec=$lt_cv_ar_at_file
6136 if test -n "$ac_tool_prefix"; then
6137 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6138 set dummy ${ac_tool_prefix}strip; ac_word=$2
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6140 $as_echo_n "checking for $ac_word... " >&6; }
6141 if ${ac_cv_prog_STRIP+:} false; then :
6142 $as_echo_n "(cached) " >&6
6144 if test -n "$STRIP"; then
6145 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6151 test -z "$as_dir" && as_dir=.
6152 for ac_exec_ext in '' $ac_executable_extensions; do
6153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6154 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 STRIP=$ac_cv_prog_STRIP
6165 if test -n "$STRIP"; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6167 $as_echo "$STRIP" >&6; }
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6170 $as_echo "no" >&6; }
6175 if test -z "$ac_cv_prog_STRIP"; then
6177 # Extract the first word of "strip", so it can be a program name with args.
6178 set dummy strip; ac_word=$2
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6180 $as_echo_n "checking for $ac_word... " >&6; }
6181 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6182 $as_echo_n "(cached) " >&6
6184 if test -n "$ac_ct_STRIP"; then
6185 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 test -z "$as_dir" && as_dir=.
6192 for ac_exec_ext in '' $ac_executable_extensions; do
6193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6194 ac_cv_prog_ac_ct_STRIP="strip"
6195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6204 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6205 if test -n "$ac_ct_STRIP"; then
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6207 $as_echo "$ac_ct_STRIP" >&6; }
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6210 $as_echo "no" >&6; }
6213 if test "x$ac_ct_STRIP" = x; then
6216 case $cross_compiling:$ac_tool_warned in
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6220 ac_tool_warned=yes ;;
6225 STRIP="$ac_cv_prog_STRIP"
6228 test -z "$STRIP" && STRIP=:
6235 if test -n "$ac_tool_prefix"; then
6236 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6237 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6239 $as_echo_n "checking for $ac_word... " >&6; }
6240 if ${ac_cv_prog_RANLIB+:} false; then :
6241 $as_echo_n "(cached) " >&6
6243 if test -n "$RANLIB"; then
6244 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250 test -z "$as_dir" && as_dir=.
6251 for ac_exec_ext in '' $ac_executable_extensions; do
6252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6253 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6263 RANLIB=$ac_cv_prog_RANLIB
6264 if test -n "$RANLIB"; then
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6266 $as_echo "$RANLIB" >&6; }
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6269 $as_echo "no" >&6; }
6274 if test -z "$ac_cv_prog_RANLIB"; then
6275 ac_ct_RANLIB=$RANLIB
6276 # Extract the first word of "ranlib", so it can be a program name with args.
6277 set dummy ranlib; ac_word=$2
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6279 $as_echo_n "checking for $ac_word... " >&6; }
6280 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6281 $as_echo_n "(cached) " >&6
6283 if test -n "$ac_ct_RANLIB"; then
6284 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6290 test -z "$as_dir" && as_dir=.
6291 for ac_exec_ext in '' $ac_executable_extensions; do
6292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6293 ac_cv_prog_ac_ct_RANLIB="ranlib"
6294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6303 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6304 if test -n "$ac_ct_RANLIB"; then
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6306 $as_echo "$ac_ct_RANLIB" >&6; }
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6309 $as_echo "no" >&6; }
6312 if test "x$ac_ct_RANLIB" = x; then
6315 case $cross_compiling:$ac_tool_warned in
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6319 ac_tool_warned=yes ;;
6321 RANLIB=$ac_ct_RANLIB
6324 RANLIB="$ac_cv_prog_RANLIB"
6327 test -z "$RANLIB" && RANLIB=:
6334 # Determine commands to create old-style static archives.
6335 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6336 old_postinstall_cmds='chmod 644 $oldlib'
6337 old_postuninstall_cmds=
6339 if test -n "$RANLIB"; then
6342 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6345 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6348 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6353 lock_old_archive_extraction=yes ;;
6355 lock_old_archive_extraction=no ;;
6396 # If no C compiler was specified, use CC.
6399 # If no C compiler flags were specified, use CFLAGS.
6400 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6402 # Allow CC to be a program name with arguments.
6406 # Check for command to grab the raw symbol name followed by C symbol from nm.
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6408 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6409 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6410 $as_echo_n "(cached) " >&6
6413 # These are sane defaults that work on at least a few old systems.
6414 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6416 # Character class describing NM global symbol codes.
6417 symcode='[BCDEGRST]'
6419 # Regexp to match symbols that can be accessed directly from C.
6420 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6422 # Define system-specific variables.
6427 cygwin* | mingw* | pw32* | cegcc*)
6428 symcode='[ABCDGISTW]'
6431 if test "$host_cpu" = ia64; then
6432 symcode='[ABCDEGRST]'
6436 symcode='[BCDEGRST]'
6439 symcode='[BCDEGQRST]'
6450 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6458 # If we're using GNU nm, then use its standard symbol codes.
6459 case `$NM -V 2>&1` in
6460 *GNU* | *'with BFD'*)
6461 symcode='[ABCDGIRSTW]' ;;
6464 # Transform an extracted symbol line into a proper C declaration.
6465 # Some systems (esp. on ia64) link data and code symbols differently,
6466 # so use this general approach.
6467 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6469 # Transform an extracted symbol line into symbol name and symbol address
6470 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6471 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'"
6473 # Handle CRLF in mingw tool chain
6477 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6481 # Try without a prefix underscore, then with it.
6482 for ac_symprfx in "" "_"; do
6484 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6485 symxfrm="\\1 $ac_symprfx\\2 \\2"
6487 # Write the raw and C identifiers.
6488 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6489 # Fake it for dumpbin and say T for any non-static function
6490 # and D for any global variable.
6491 # Also find C++ and __fastcall symbols from MSVC++,
6492 # which start with @ or ?.
6493 lt_cv_sys_global_symbol_pipe="$AWK '"\
6494 " {last_section=section; section=\$ 3};"\
6495 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6496 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6497 " \$ 0!~/External *\|/{next};"\
6498 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6499 " {if(hide[section]) next};"\
6500 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6501 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6502 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6503 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6504 " ' prfx=^$ac_symprfx"
6506 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6508 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6510 # Check to see that the pipe works correctly.
6514 cat > conftest.$ac_ext <<_LT_EOF
6519 void nm_test_func(void);
6520 void nm_test_func(void){}
6524 int main(){nm_test_var='a';nm_test_func();return(0);}
6527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6528 (eval $ac_compile) 2>&5
6530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6531 test $ac_status = 0; }; then
6532 # Now try to grab the symbols.
6534 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6535 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6538 test $ac_status = 0; } && test -s "$nlist"; then
6539 # Try sorting and uniquifying the output.
6540 if sort "$nlist" | uniq > "$nlist"T; then
6541 mv -f "$nlist"T "$nlist"
6546 # Make sure that we snagged all the symbols we need.
6547 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6548 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6549 cat <<_LT_EOF > conftest.$ac_ext
6550 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6551 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6552 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6553 relocations are performed -- see ld's documentation on pseudo-relocs. */
6554 # define LT_DLSYM_CONST
6555 #elif defined(__osf__)
6556 /* This system does not cope well with relocations in const data. */
6557 # define LT_DLSYM_CONST
6559 # define LT_DLSYM_CONST const
6567 # Now generate the symbol file.
6568 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6570 cat <<_LT_EOF >> conftest.$ac_ext
6572 /* The mapping between symbol names and symbols. */
6573 LT_DLSYM_CONST struct {
6577 lt__PROGRAM__LTX_preloaded_symbols[] =
6579 { "@PROGRAM@", (void *) 0 },
6581 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6582 cat <<\_LT_EOF >> conftest.$ac_ext
6586 /* This works around a problem in FreeBSD linker */
6587 #ifdef FREEBSD_WORKAROUND
6588 static const void *lt_preloaded_setup() {
6589 return lt__PROGRAM__LTX_preloaded_symbols;
6597 # Now try linking the two files.
6598 mv conftest.$ac_objext conftstm.$ac_objext
6599 lt_globsym_save_LIBS=$LIBS
6600 lt_globsym_save_CFLAGS=$CFLAGS
6601 LIBS="conftstm.$ac_objext"
6602 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6603 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6604 (eval $ac_link) 2>&5
6606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6607 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6610 LIBS=$lt_globsym_save_LIBS
6611 CFLAGS=$lt_globsym_save_CFLAGS
6613 echo "cannot find nm_test_func in $nlist" >&5
6616 echo "cannot find nm_test_var in $nlist" >&5
6619 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6622 echo "$progname: failed program was:" >&5
6623 cat conftest.$ac_ext >&5
6625 rm -rf conftest* conftst*
6627 # Do not use the global_symbol_pipe unless it works.
6628 if test "$pipe_works" = yes; then
6631 lt_cv_sys_global_symbol_pipe=
6637 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6638 lt_cv_sys_global_symbol_to_cdecl=
6640 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6642 $as_echo "failed" >&6; }
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6645 $as_echo "ok" >&6; }
6648 # Response file support.
6649 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6650 nm_file_list_spec='@'
6651 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6652 nm_file_list_spec='@'
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6682 $as_echo_n "checking for sysroot... " >&6; }
6684 # Check whether --with-sysroot was given.
6685 if test "${with_sysroot+set}" = set; then :
6686 withval=$with_sysroot;
6693 case ${with_sysroot} in #(
6695 if test "$GCC" = yes; then
6696 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6700 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6706 $as_echo "${with_sysroot}" >&6; }
6707 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6712 $as_echo "${lt_sysroot:-no}" >&6; }
6718 # Check whether --enable-libtool-lock was given.
6719 if test "${enable_libtool_lock+set}" = set; then :
6720 enableval=$enable_libtool_lock;
6723 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6725 # Some flags need to be propagated to the compiler or linker for good
6729 # Find out which ABI we are using.
6730 echo 'int i;' > conftest.$ac_ext
6731 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6732 (eval $ac_compile) 2>&5
6734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6735 test $ac_status = 0; }; then
6736 case `/usr/bin/file conftest.$ac_objext` in
6748 # Find out which ABI we are using.
6749 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6750 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6751 (eval $ac_compile) 2>&5
6753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6754 test $ac_status = 0; }; then
6755 if test "$lt_cv_prog_gnu_ld" = yes; then
6756 case `/usr/bin/file conftest.$ac_objext` in
6758 LD="${LD-ld} -melf32bsmip"
6761 LD="${LD-ld} -melf32bmipn32"
6764 LD="${LD-ld} -melf64bmip"
6768 case `/usr/bin/file conftest.$ac_objext` in
6784 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6785 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6786 # Find out which ABI we are using.
6787 echo 'int i;' > conftest.$ac_ext
6788 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6789 (eval $ac_compile) 2>&5
6791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6792 test $ac_status = 0; }; then
6793 case `/usr/bin/file conftest.o` in
6796 x86_64-*kfreebsd*-gnu)
6797 LD="${LD-ld} -m elf_i386_fbsd"
6800 LD="${LD-ld} -m elf_i386"
6802 ppc64-*linux*|powerpc64-*linux*)
6803 LD="${LD-ld} -m elf32ppclinux"
6806 LD="${LD-ld} -m elf_s390"
6809 LD="${LD-ld} -m elf32_sparc"
6815 x86_64-*kfreebsd*-gnu)
6816 LD="${LD-ld} -m elf_x86_64_fbsd"
6819 LD="${LD-ld} -m elf_x86_64"
6821 ppc*-*linux*|powerpc*-*linux*)
6822 LD="${LD-ld} -m elf64ppc"
6824 s390*-*linux*|s390*-*tpf*)
6825 LD="${LD-ld} -m elf64_s390"
6828 LD="${LD-ld} -m elf64_sparc"
6838 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6839 SAVE_CFLAGS="$CFLAGS"
6840 CFLAGS="$CFLAGS -belf"
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6842 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6843 if ${lt_cv_cc_needs_belf+:} false; then :
6844 $as_echo_n "(cached) " >&6
6847 ac_cpp='$CPP $CPPFLAGS'
6848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6853 /* end confdefs.h. */
6863 if ac_fn_c_try_link "$LINENO"; then :
6864 lt_cv_cc_needs_belf=yes
6866 lt_cv_cc_needs_belf=no
6868 rm -f core conftest.err conftest.$ac_objext \
6869 conftest$ac_exeext conftest.$ac_ext
6871 ac_cpp='$CPP $CPPFLAGS'
6872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6878 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6879 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6880 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6881 CFLAGS="$SAVE_CFLAGS"
6885 # Find out which ABI we are using.
6886 echo 'int i;' > conftest.$ac_ext
6887 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6888 (eval $ac_compile) 2>&5
6890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6891 test $ac_status = 0; }; then
6892 case `/usr/bin/file conftest.o` in
6894 case $lt_cv_prog_gnu_ld in
6898 LD="${LD-ld} -m elf_x86_64"
6901 LD="${LD-ld} -m elf64_sparc"
6904 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6905 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6910 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6922 need_locks="$enable_libtool_lock"
6924 if test -n "$ac_tool_prefix"; then
6925 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6926 set dummy ${ac_tool_prefix}mt; ac_word=$2
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6928 $as_echo_n "checking for $ac_word... " >&6; }
6929 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6930 $as_echo_n "(cached) " >&6
6932 if test -n "$MANIFEST_TOOL"; then
6933 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6939 test -z "$as_dir" && as_dir=.
6940 for ac_exec_ext in '' $ac_executable_extensions; do
6941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6942 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6952 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6953 if test -n "$MANIFEST_TOOL"; then
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6955 $as_echo "$MANIFEST_TOOL" >&6; }
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6958 $as_echo "no" >&6; }
6963 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6964 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6965 # Extract the first word of "mt", so it can be a program name with args.
6966 set dummy mt; ac_word=$2
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6968 $as_echo_n "checking for $ac_word... " >&6; }
6969 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6970 $as_echo_n "(cached) " >&6
6972 if test -n "$ac_ct_MANIFEST_TOOL"; then
6973 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6979 test -z "$as_dir" && as_dir=.
6980 for ac_exec_ext in '' $ac_executable_extensions; do
6981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6982 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6992 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6993 if test -n "$ac_ct_MANIFEST_TOOL"; then
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6995 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6998 $as_echo "no" >&6; }
7001 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7004 case $cross_compiling:$ac_tool_warned in
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7008 ac_tool_warned=yes ;;
7010 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7013 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7016 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7018 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7019 if ${lt_cv_path_mainfest_tool+:} false; then :
7020 $as_echo_n "(cached) " >&6
7022 lt_cv_path_mainfest_tool=no
7023 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7024 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7025 cat conftest.err >&5
7026 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7027 lt_cv_path_mainfest_tool=yes
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7032 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7033 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7043 rhapsody* | darwin*)
7044 if test -n "$ac_tool_prefix"; then
7045 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7046 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7048 $as_echo_n "checking for $ac_word... " >&6; }
7049 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7050 $as_echo_n "(cached) " >&6
7052 if test -n "$DSYMUTIL"; then
7053 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7059 test -z "$as_dir" && as_dir=.
7060 for ac_exec_ext in '' $ac_executable_extensions; do
7061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7062 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7072 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7073 if test -n "$DSYMUTIL"; then
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7075 $as_echo "$DSYMUTIL" >&6; }
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7078 $as_echo "no" >&6; }
7083 if test -z "$ac_cv_prog_DSYMUTIL"; then
7084 ac_ct_DSYMUTIL=$DSYMUTIL
7085 # Extract the first word of "dsymutil", so it can be a program name with args.
7086 set dummy dsymutil; ac_word=$2
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088 $as_echo_n "checking for $ac_word... " >&6; }
7089 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7090 $as_echo_n "(cached) " >&6
7092 if test -n "$ac_ct_DSYMUTIL"; then
7093 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099 test -z "$as_dir" && as_dir=.
7100 for ac_exec_ext in '' $ac_executable_extensions; do
7101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7102 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7112 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7113 if test -n "$ac_ct_DSYMUTIL"; then
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7115 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7118 $as_echo "no" >&6; }
7121 if test "x$ac_ct_DSYMUTIL" = x; then
7124 case $cross_compiling:$ac_tool_warned in
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7128 ac_tool_warned=yes ;;
7130 DSYMUTIL=$ac_ct_DSYMUTIL
7133 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7136 if test -n "$ac_tool_prefix"; then
7137 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7138 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 $as_echo_n "checking for $ac_word... " >&6; }
7141 if ${ac_cv_prog_NMEDIT+:} false; then :
7142 $as_echo_n "(cached) " >&6
7144 if test -n "$NMEDIT"; then
7145 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7151 test -z "$as_dir" && as_dir=.
7152 for ac_exec_ext in '' $ac_executable_extensions; do
7153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7154 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7164 NMEDIT=$ac_cv_prog_NMEDIT
7165 if test -n "$NMEDIT"; then
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7167 $as_echo "$NMEDIT" >&6; }
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7170 $as_echo "no" >&6; }
7175 if test -z "$ac_cv_prog_NMEDIT"; then
7176 ac_ct_NMEDIT=$NMEDIT
7177 # Extract the first word of "nmedit", so it can be a program name with args.
7178 set dummy nmedit; ac_word=$2
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7180 $as_echo_n "checking for $ac_word... " >&6; }
7181 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7182 $as_echo_n "(cached) " >&6
7184 if test -n "$ac_ct_NMEDIT"; then
7185 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7191 test -z "$as_dir" && as_dir=.
7192 for ac_exec_ext in '' $ac_executable_extensions; do
7193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7194 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7205 if test -n "$ac_ct_NMEDIT"; then
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7207 $as_echo "$ac_ct_NMEDIT" >&6; }
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7210 $as_echo "no" >&6; }
7213 if test "x$ac_ct_NMEDIT" = x; then
7216 case $cross_compiling:$ac_tool_warned in
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7220 ac_tool_warned=yes ;;
7222 NMEDIT=$ac_ct_NMEDIT
7225 NMEDIT="$ac_cv_prog_NMEDIT"
7228 if test -n "$ac_tool_prefix"; then
7229 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7230 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7232 $as_echo_n "checking for $ac_word... " >&6; }
7233 if ${ac_cv_prog_LIPO+:} false; then :
7234 $as_echo_n "(cached) " >&6
7236 if test -n "$LIPO"; then
7237 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 test -z "$as_dir" && as_dir=.
7244 for ac_exec_ext in '' $ac_executable_extensions; do
7245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7246 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7256 LIPO=$ac_cv_prog_LIPO
7257 if test -n "$LIPO"; then
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7259 $as_echo "$LIPO" >&6; }
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7262 $as_echo "no" >&6; }
7267 if test -z "$ac_cv_prog_LIPO"; then
7269 # Extract the first word of "lipo", so it can be a program name with args.
7270 set dummy lipo; ac_word=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 $as_echo_n "checking for $ac_word... " >&6; }
7273 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7274 $as_echo_n "(cached) " >&6
7276 if test -n "$ac_ct_LIPO"; then
7277 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 test -z "$as_dir" && as_dir=.
7284 for ac_exec_ext in '' $ac_executable_extensions; do
7285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7286 ac_cv_prog_ac_ct_LIPO="lipo"
7287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7296 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7297 if test -n "$ac_ct_LIPO"; then
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7299 $as_echo "$ac_ct_LIPO" >&6; }
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7305 if test "x$ac_ct_LIPO" = x; then
7308 case $cross_compiling:$ac_tool_warned in
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7312 ac_tool_warned=yes ;;
7317 LIPO="$ac_cv_prog_LIPO"
7320 if test -n "$ac_tool_prefix"; then
7321 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7322 set dummy ${ac_tool_prefix}otool; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324 $as_echo_n "checking for $ac_word... " >&6; }
7325 if ${ac_cv_prog_OTOOL+:} false; then :
7326 $as_echo_n "(cached) " >&6
7328 if test -n "$OTOOL"; then
7329 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7338 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7348 OTOOL=$ac_cv_prog_OTOOL
7349 if test -n "$OTOOL"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7351 $as_echo "$OTOOL" >&6; }
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 $as_echo "no" >&6; }
7359 if test -z "$ac_cv_prog_OTOOL"; then
7361 # Extract the first word of "otool", so it can be a program name with args.
7362 set dummy otool; ac_word=$2
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7364 $as_echo_n "checking for $ac_word... " >&6; }
7365 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7366 $as_echo_n "(cached) " >&6
7368 if test -n "$ac_ct_OTOOL"; then
7369 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7375 test -z "$as_dir" && as_dir=.
7376 for ac_exec_ext in '' $ac_executable_extensions; do
7377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7378 ac_cv_prog_ac_ct_OTOOL="otool"
7379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7389 if test -n "$ac_ct_OTOOL"; then
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7391 $as_echo "$ac_ct_OTOOL" >&6; }
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7397 if test "x$ac_ct_OTOOL" = x; then
7400 case $cross_compiling:$ac_tool_warned in
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7404 ac_tool_warned=yes ;;
7409 OTOOL="$ac_cv_prog_OTOOL"
7412 if test -n "$ac_tool_prefix"; then
7413 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7414 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 $as_echo_n "checking for $ac_word... " >&6; }
7417 if ${ac_cv_prog_OTOOL64+:} false; then :
7418 $as_echo_n "(cached) " >&6
7420 if test -n "$OTOOL64"; then
7421 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427 test -z "$as_dir" && as_dir=.
7428 for ac_exec_ext in '' $ac_executable_extensions; do
7429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7430 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7440 OTOOL64=$ac_cv_prog_OTOOL64
7441 if test -n "$OTOOL64"; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7443 $as_echo "$OTOOL64" >&6; }
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7451 if test -z "$ac_cv_prog_OTOOL64"; then
7452 ac_ct_OTOOL64=$OTOOL64
7453 # Extract the first word of "otool64", so it can be a program name with args.
7454 set dummy otool64; ac_word=$2
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7456 $as_echo_n "checking for $ac_word... " >&6; }
7457 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7458 $as_echo_n "(cached) " >&6
7460 if test -n "$ac_ct_OTOOL64"; then
7461 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7467 test -z "$as_dir" && as_dir=.
7468 for ac_exec_ext in '' $ac_executable_extensions; do
7469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7470 ac_cv_prog_ac_ct_OTOOL64="otool64"
7471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7480 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7481 if test -n "$ac_ct_OTOOL64"; then
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7483 $as_echo "$ac_ct_OTOOL64" >&6; }
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 $as_echo "no" >&6; }
7489 if test "x$ac_ct_OTOOL64" = x; then
7492 case $cross_compiling:$ac_tool_warned in
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7496 ac_tool_warned=yes ;;
7498 OTOOL64=$ac_ct_OTOOL64
7501 OTOOL64="$ac_cv_prog_OTOOL64"
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7531 $as_echo_n "checking for -single_module linker flag... " >&6; }
7532 if ${lt_cv_apple_cc_single_mod+:} false; then :
7533 $as_echo_n "(cached) " >&6
7535 lt_cv_apple_cc_single_mod=no
7536 if test -z "${LT_MULTI_MODULE}"; then
7537 # By default we will add the -single_module flag. You can override
7538 # by either setting the environment variable LT_MULTI_MODULE
7539 # non-empty at configure time, or by adding -multi_module to the
7541 rm -rf libconftest.dylib*
7542 echo "int foo(void){return 1;}" > conftest.c
7543 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7544 -dynamiclib -Wl,-single_module conftest.c" >&5
7545 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7546 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7548 # If there is a non-empty error log, and "single_module"
7549 # appears in it, assume the flag caused a linker warning
7550 if test -s conftest.err && $GREP single_module conftest.err; then
7551 cat conftest.err >&5
7552 # Otherwise, if the output was created with a 0 exit code from
7553 # the compiler, it worked.
7554 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7555 lt_cv_apple_cc_single_mod=yes
7557 cat conftest.err >&5
7559 rm -rf libconftest.dylib*
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7564 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7567 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7568 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7569 $as_echo_n "(cached) " >&6
7571 lt_cv_ld_exported_symbols_list=no
7572 save_LDFLAGS=$LDFLAGS
7573 echo "_main" > conftest.sym
7574 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7576 /* end confdefs.h. */
7586 if ac_fn_c_try_link "$LINENO"; then :
7587 lt_cv_ld_exported_symbols_list=yes
7589 lt_cv_ld_exported_symbols_list=no
7591 rm -f core conftest.err conftest.$ac_objext \
7592 conftest$ac_exeext conftest.$ac_ext
7593 LDFLAGS="$save_LDFLAGS"
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7597 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7600 $as_echo_n "checking for -force_load linker flag... " >&6; }
7601 if ${lt_cv_ld_force_load+:} false; then :
7602 $as_echo_n "(cached) " >&6
7604 lt_cv_ld_force_load=no
7605 cat > conftest.c << _LT_EOF
7606 int forced_loaded() { return 2;}
7608 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7609 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7610 echo "$AR cru libconftest.a conftest.o" >&5
7611 $AR cru libconftest.a conftest.o 2>&5
7612 echo "$RANLIB libconftest.a" >&5
7613 $RANLIB libconftest.a 2>&5
7614 cat > conftest.c << _LT_EOF
7615 int main() { return 0;}
7617 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7618 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7620 if test -s conftest.err && $GREP force_load conftest.err; then
7621 cat conftest.err >&5
7622 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7623 lt_cv_ld_force_load=yes
7625 cat conftest.err >&5
7627 rm -f conftest.err libconftest.a conftest conftest.c
7628 rm -rf conftest.dSYM
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7632 $as_echo "$lt_cv_ld_force_load" >&6; }
7634 rhapsody* | darwin1.[012])
7635 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7637 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7638 darwin*) # darwin 5.x on
7639 # if running on 10.5 or later, the deployment target defaults
7640 # to the OS version, if on x86, and 10.4, the deployment
7641 # target defaults to 10.4. Don't you love it?
7642 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7643 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7644 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7646 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7648 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7652 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7653 _lt_dar_single_mod='$single_module'
7655 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7656 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7658 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7660 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7661 _lt_dsymutil='~$DSYMUTIL $lib || :'
7669 ac_cpp='$CPP $CPPFLAGS'
7670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7674 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7675 # On Suns, sometimes $CPP names a directory.
7676 if test -n "$CPP" && test -d "$CPP"; then
7679 if test -z "$CPP"; then
7680 if ${ac_cv_prog_CPP+:} false; then :
7681 $as_echo_n "(cached) " >&6
7683 # Double quotes because CPP needs to be expanded
7684 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7687 for ac_c_preproc_warn_flag in '' yes
7689 # Use a header file that comes with gcc, so configuring glibc
7690 # with a fresh cross-compiler works.
7691 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7692 # <limits.h> exists even on freestanding compilers.
7693 # On the NeXT, cc -E runs the code through the compiler's parser,
7694 # not just through cpp. "Syntax error" is here to catch this case.
7695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7696 /* end confdefs.h. */
7698 # include <limits.h>
7700 # include <assert.h>
7704 if ac_fn_c_try_cpp "$LINENO"; then :
7707 # Broken: fails on valid input.
7710 rm -f conftest.err conftest.i conftest.$ac_ext
7712 # OK, works on sane cases. Now check whether nonexistent headers
7713 # can be detected and how.
7714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7715 /* end confdefs.h. */
7716 #include <ac_nonexistent.h>
7718 if ac_fn_c_try_cpp "$LINENO"; then :
7719 # Broken: success on invalid input.
7722 # Passes both tests.
7726 rm -f conftest.err conftest.i conftest.$ac_ext
7729 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7730 rm -f conftest.i conftest.err conftest.$ac_ext
7731 if $ac_preproc_ok; then :
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7744 $as_echo "$CPP" >&6; }
7746 for ac_c_preproc_warn_flag in '' yes
7748 # Use a header file that comes with gcc, so configuring glibc
7749 # with a fresh cross-compiler works.
7750 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7751 # <limits.h> exists even on freestanding compilers.
7752 # On the NeXT, cc -E runs the code through the compiler's parser,
7753 # not just through cpp. "Syntax error" is here to catch this case.
7754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7755 /* end confdefs.h. */
7757 # include <limits.h>
7759 # include <assert.h>
7763 if ac_fn_c_try_cpp "$LINENO"; then :
7766 # Broken: fails on valid input.
7769 rm -f conftest.err conftest.i conftest.$ac_ext
7771 # OK, works on sane cases. Now check whether nonexistent headers
7772 # can be detected and how.
7773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7774 /* end confdefs.h. */
7775 #include <ac_nonexistent.h>
7777 if ac_fn_c_try_cpp "$LINENO"; then :
7778 # Broken: success on invalid input.
7781 # Passes both tests.
7785 rm -f conftest.err conftest.i conftest.$ac_ext
7788 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7789 rm -f conftest.i conftest.err conftest.$ac_ext
7790 if $ac_preproc_ok; then :
7793 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7795 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7796 See \`config.log' for more details" "$LINENO" 5; }
7800 ac_cpp='$CPP $CPPFLAGS'
7801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7807 $as_echo_n "checking for ANSI C header files... " >&6; }
7808 if ${ac_cv_header_stdc+:} false; then :
7809 $as_echo_n "(cached) " >&6
7811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7812 /* end confdefs.h. */
7826 if ac_fn_c_try_compile "$LINENO"; then :
7827 ac_cv_header_stdc=yes
7829 ac_cv_header_stdc=no
7831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7833 if test $ac_cv_header_stdc = yes; then
7834 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7836 /* end confdefs.h. */
7840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7841 $EGREP "memchr" >/dev/null 2>&1; then :
7844 ac_cv_header_stdc=no
7850 if test $ac_cv_header_stdc = yes; then
7851 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7853 /* end confdefs.h. */
7857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7858 $EGREP "free" >/dev/null 2>&1; then :
7861 ac_cv_header_stdc=no
7867 if test $ac_cv_header_stdc = yes; then
7868 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7869 if test "$cross_compiling" = yes; then :
7872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7873 /* end confdefs.h. */
7876 #if ((' ' & 0x0FF) == 0x020)
7877 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7878 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7880 # define ISLOWER(c) \
7881 (('a' <= (c) && (c) <= 'i') \
7882 || ('j' <= (c) && (c) <= 'r') \
7883 || ('s' <= (c) && (c) <= 'z'))
7884 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7887 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7892 for (i = 0; i < 256; i++)
7893 if (XOR (islower (i), ISLOWER (i))
7894 || toupper (i) != TOUPPER (i))
7899 if ac_fn_c_try_run "$LINENO"; then :
7902 ac_cv_header_stdc=no
7904 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7905 conftest.$ac_objext conftest.beam conftest.$ac_ext
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7911 $as_echo "$ac_cv_header_stdc" >&6; }
7912 if test $ac_cv_header_stdc = yes; then
7914 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7918 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7919 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7920 inttypes.h stdint.h unistd.h
7922 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7923 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7925 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7926 cat >>confdefs.h <<_ACEOF
7927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7935 for ac_header in dlfcn.h
7937 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7939 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7940 cat >>confdefs.h <<_ACEOF
7941 #define HAVE_DLFCN_H 1
7960 # Check whether --enable-shared was given.
7961 if test "${enable_shared+set}" = set; then :
7962 enableval=$enable_shared; p=${PACKAGE-default}
7964 yes) enable_shared=yes ;;
7965 no) enable_shared=no ;;
7968 # Look at the argument we got. We use all the common list separators.
7969 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7970 for pkg in $enableval; do
7972 if test "X$pkg" = "X$p"; then
7991 # Check whether --enable-static was given.
7992 if test "${enable_static+set}" = set; then :
7993 enableval=$enable_static; p=${PACKAGE-default}
7995 yes) enable_static=yes ;;
7996 no) enable_static=no ;;
7999 # Look at the argument we got. We use all the common list separators.
8000 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8001 for pkg in $enableval; do
8003 if test "X$pkg" = "X$p"; then
8023 # Check whether --with-pic was given.
8024 if test "${with_pic+set}" = set; then :
8025 withval=$with_pic; lt_p=${PACKAGE-default}
8027 yes|no) pic_mode=$withval ;;
8030 # Look at the argument we got. We use all the common list separators.
8031 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8032 for lt_pkg in $withval; do
8034 if test "X$lt_pkg" = "X$lt_p"; then
8046 test -z "$pic_mode" && pic_mode=default
8054 # Check whether --enable-fast-install was given.
8055 if test "${enable_fast_install+set}" = set; then :
8056 enableval=$enable_fast_install; p=${PACKAGE-default}
8058 yes) enable_fast_install=yes ;;
8059 no) enable_fast_install=no ;;
8061 enable_fast_install=no
8062 # Look at the argument we got. We use all the common list separators.
8063 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8064 for pkg in $enableval; do
8066 if test "X$pkg" = "X$p"; then
8067 enable_fast_install=yes
8074 enable_fast_install=yes
8087 # This can be used to rebuild libtool when needed
8088 LIBTOOL_DEPS="$ltmain"
8090 # Always use our own libtool.
8091 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8122 test -z "$LN_S" && LN_S="ln -s"
8137 if test -n "${ZSH_VERSION+set}" ; then
8138 setopt NO_GLOB_SUBST
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8142 $as_echo_n "checking for objdir... " >&6; }
8143 if ${lt_cv_objdir+:} false; then :
8144 $as_echo_n "(cached) " >&6
8146 rm -f .libs 2>/dev/null
8147 mkdir .libs 2>/dev/null
8148 if test -d .libs; then
8151 # MS-DOS does not allow filenames that begin with a dot.
8154 rmdir .libs 2>/dev/null
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8157 $as_echo "$lt_cv_objdir" >&6; }
8158 objdir=$lt_cv_objdir
8164 cat >>confdefs.h <<_ACEOF
8165 #define LT_OBJDIR "$lt_cv_objdir/"
8173 # AIX sometimes has problems with the GCC collect2 program. For some
8174 # reason, if we set the COLLECT_NAMES environment variable, the problems
8175 # vanish in a puff of smoke.
8176 if test "X${COLLECT_NAMES+set}" != Xset; then
8178 export COLLECT_NAMES
8185 can_build_shared=yes
8187 # All known linkers require a `.a' archive for static linking (except MSVC,
8188 # which needs '.lib').
8191 with_gnu_ld="$lt_cv_prog_gnu_ld"
8194 old_CFLAGS="$CFLAGS"
8196 # Set sane defaults for various variables
8197 test -z "$CC" && CC=cc
8198 test -z "$LTCC" && LTCC=$CC
8199 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8200 test -z "$LD" && LD=ld
8201 test -z "$ac_objext" && ac_objext=o
8203 for cc_temp in $compiler""; do
8205 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8206 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8211 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8214 # Only perform the check for file, if the check method requires it
8215 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8216 case $deplibs_check_method in
8218 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8220 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8221 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8222 $as_echo_n "(cached) " >&6
8226 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8229 lt_save_MAGIC_CMD="$MAGIC_CMD"
8230 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8231 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8232 for ac_dir in $ac_dummy; do
8234 test -z "$ac_dir" && ac_dir=.
8235 if test -f $ac_dir/${ac_tool_prefix}file; then
8236 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8237 if test -n "$file_magic_test_file"; then
8238 case $deplibs_check_method in
8240 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8241 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8242 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8243 $EGREP "$file_magic_regex" > /dev/null; then
8248 *** Warning: the command libtool uses to detect shared libraries,
8249 *** $file_magic_cmd, produces output that libtool cannot recognize.
8250 *** The result is that libtool may fail to recognize shared libraries
8251 *** as such. This will affect the creation of libtool libraries that
8252 *** depend on shared libraries, but programs linked with such libtool
8253 *** libraries will work regardless of this problem. Nevertheless, you
8254 *** may want to report the problem to your system manager and/or to
8255 *** bug-libtool@gnu.org
8265 MAGIC_CMD="$lt_save_MAGIC_CMD"
8270 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8271 if test -n "$MAGIC_CMD"; then
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8273 $as_echo "$MAGIC_CMD" >&6; }
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8276 $as_echo "no" >&6; }
8283 if test -z "$lt_cv_path_MAGIC_CMD"; then
8284 if test -n "$ac_tool_prefix"; then
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8286 $as_echo_n "checking for file... " >&6; }
8287 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8288 $as_echo_n "(cached) " >&6
8292 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8295 lt_save_MAGIC_CMD="$MAGIC_CMD"
8296 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8297 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8298 for ac_dir in $ac_dummy; do
8300 test -z "$ac_dir" && ac_dir=.
8301 if test -f $ac_dir/file; then
8302 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8303 if test -n "$file_magic_test_file"; then
8304 case $deplibs_check_method in
8306 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8307 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8308 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8309 $EGREP "$file_magic_regex" > /dev/null; then
8314 *** Warning: the command libtool uses to detect shared libraries,
8315 *** $file_magic_cmd, produces output that libtool cannot recognize.
8316 *** The result is that libtool may fail to recognize shared libraries
8317 *** as such. This will affect the creation of libtool libraries that
8318 *** depend on shared libraries, but programs linked with such libtool
8319 *** libraries will work regardless of this problem. Nevertheless, you
8320 *** may want to report the problem to your system manager and/or to
8321 *** bug-libtool@gnu.org
8331 MAGIC_CMD="$lt_save_MAGIC_CMD"
8336 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8337 if test -n "$MAGIC_CMD"; then
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8339 $as_echo "$MAGIC_CMD" >&6; }
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8342 $as_echo "no" >&6; }
8355 # Use C for the default configuration in the libtool script
8359 ac_cpp='$CPP $CPPFLAGS'
8360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8365 # Source file extension for C test sources.
8368 # Object file extension for compiled C test sources.
8372 # Code to be used in simple compile tests
8373 lt_simple_compile_test_code="int some_variable = 0;"
8375 # Code to be used in simple link tests
8376 lt_simple_link_test_code='int main(){return(0);}'
8384 # If no C compiler was specified, use CC.
8387 # If no C compiler flags were specified, use CFLAGS.
8388 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8390 # Allow CC to be a program name with arguments.
8393 # Save the default compiler, since it gets overwritten when the other
8394 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8395 compiler_DEFAULT=$CC
8397 # save warnings/boilerplate of simple test code
8398 ac_outfile=conftest.$ac_objext
8399 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8400 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8401 _lt_compiler_boilerplate=`cat conftest.err`
8404 ac_outfile=conftest.$ac_objext
8405 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8406 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8407 _lt_linker_boilerplate=`cat conftest.err`
8411 if test -n "$compiler"; then
8413 lt_prog_compiler_no_builtin_flag=
8415 if test "$GCC" = yes; then
8416 case $cc_basename in
8418 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8420 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8424 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8425 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8426 $as_echo_n "(cached) " >&6
8428 lt_cv_prog_compiler_rtti_exceptions=no
8429 ac_outfile=conftest.$ac_objext
8430 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8431 lt_compiler_flag="-fno-rtti -fno-exceptions"
8432 # Insert the option either (1) after the last *FLAGS variable, or
8433 # (2) before a word containing "conftest.", or (3) at the end.
8434 # Note that $ac_compile itself does not contain backslashes and begins
8435 # with a dollar sign (not a hyphen), so the echo should work correctly.
8436 # The option is referenced via a variable to avoid confusing sed.
8437 lt_compile=`echo "$ac_compile" | $SED \
8438 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8439 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8440 -e 's:$: $lt_compiler_flag:'`
8441 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8442 (eval "$lt_compile" 2>conftest.err)
8444 cat conftest.err >&5
8445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446 if (exit $ac_status) && test -s "$ac_outfile"; then
8447 # The compiler can only warn and ignore the option if not recognized
8448 # So say no if there are warnings other than the usual output.
8449 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8450 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8451 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8452 lt_cv_prog_compiler_rtti_exceptions=yes
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8459 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8461 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8462 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8474 lt_prog_compiler_wl=
8475 lt_prog_compiler_pic=
8476 lt_prog_compiler_static=
8479 if test "$GCC" = yes; then
8480 lt_prog_compiler_wl='-Wl,'
8481 lt_prog_compiler_static='-static'
8485 # All AIX code is PIC.
8486 if test "$host_cpu" = ia64; then
8487 # AIX 5 now supports IA64 processor
8488 lt_prog_compiler_static='-Bstatic'
8495 # see comment about AmigaOS4 .so support
8496 lt_prog_compiler_pic='-fPIC'
8499 # FIXME: we need at least 68020 code to build shared libraries, but
8500 # adding the `-m68020' flag to GCC prevents building anything better,
8502 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8507 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8508 # PIC is the default for these OSes.
8511 mingw* | cygwin* | pw32* | os2* | cegcc*)
8512 # This hack is so that the source file can tell whether it is being
8513 # built for inclusion in a dll (and should export symbols for example).
8514 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8515 # (--disable-auto-import) libraries
8516 lt_prog_compiler_pic='-DDLL_EXPORT'
8519 darwin* | rhapsody*)
8520 # PIC is the default on this platform
8521 # Common symbols not allowed in MH_DYLIB files
8522 lt_prog_compiler_pic='-fno-common'
8526 # PIC is the default for Haiku.
8527 # The "-static" flag exists, but is broken.
8528 lt_prog_compiler_static=
8532 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8533 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8534 # sets the default TLS model and affects inlining.
8540 lt_prog_compiler_pic='-fPIC'
8546 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8547 # Instead, we relocate shared libraries at runtime.
8551 # Just because we use GCC doesn't mean we suddenly get shared libraries
8552 # on systems that don't support them.
8553 lt_prog_compiler_can_build_shared=no
8558 # QNX uses GNU C++, but need to define -shared option too, otherwise
8560 lt_prog_compiler_pic='-fPIC -shared'
8564 if test -d /usr/nec; then
8565 lt_prog_compiler_pic=-Kconform_pic
8570 lt_prog_compiler_pic='-fPIC'
8574 case $cc_basename in
8575 nvcc*) # Cuda Compiler Driver 2.2
8576 lt_prog_compiler_wl='-Xlinker '
8577 if test -n "$lt_prog_compiler_pic"; then
8578 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8583 # PORTME Check for flag to pass linker flags through the system compiler.
8586 lt_prog_compiler_wl='-Wl,'
8587 if test "$host_cpu" = ia64; then
8588 # AIX 5 now supports IA64 processor
8589 lt_prog_compiler_static='-Bstatic'
8591 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8595 mingw* | cygwin* | pw32* | os2* | cegcc*)
8596 # This hack is so that the source file can tell whether it is being
8597 # built for inclusion in a dll (and should export symbols for example).
8598 lt_prog_compiler_pic='-DDLL_EXPORT'
8601 hpux9* | hpux10* | hpux11*)
8602 lt_prog_compiler_wl='-Wl,'
8603 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8610 lt_prog_compiler_pic='+Z'
8613 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8614 lt_prog_compiler_static='${wl}-a ${wl}archive'
8617 irix5* | irix6* | nonstopux*)
8618 lt_prog_compiler_wl='-Wl,'
8619 # PIC (with -KPIC) is the default.
8620 lt_prog_compiler_static='-non_shared'
8623 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8624 case $cc_basename in
8625 # old Intel for x86_64 which still supported -KPIC.
8627 lt_prog_compiler_wl='-Wl,'
8628 lt_prog_compiler_pic='-KPIC'
8629 lt_prog_compiler_static='-static'
8631 # icc used to be incompatible with GCC.
8632 # ICC 10 doesn't accept -KPIC any more.
8634 lt_prog_compiler_wl='-Wl,'
8635 lt_prog_compiler_pic='-fPIC'
8636 lt_prog_compiler_static='-static'
8638 # Lahey Fortran 8.1.
8640 lt_prog_compiler_wl='-Wl,'
8641 lt_prog_compiler_pic='--shared'
8642 lt_prog_compiler_static='--static'
8645 # NAG Fortran compiler
8646 lt_prog_compiler_wl='-Wl,-Wl,,'
8647 lt_prog_compiler_pic='-PIC'
8648 lt_prog_compiler_static='-Bstatic'
8650 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8651 # Portland Group compilers (*not* the Pentium gcc compiler,
8652 # which looks to be a dead project)
8653 lt_prog_compiler_wl='-Wl,'
8654 lt_prog_compiler_pic='-fpic'
8655 lt_prog_compiler_static='-Bstatic'
8658 lt_prog_compiler_wl='-Wl,'
8659 # All Alpha code is PIC.
8660 lt_prog_compiler_static='-non_shared'
8662 xl* | bgxl* | bgf* | mpixl*)
8663 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8664 lt_prog_compiler_wl='-Wl,'
8665 lt_prog_compiler_pic='-qpic'
8666 lt_prog_compiler_static='-qstaticlink'
8669 case `$CC -V 2>&1 | sed 5q` in
8670 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8671 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8672 lt_prog_compiler_pic='-KPIC'
8673 lt_prog_compiler_static='-Bstatic'
8674 lt_prog_compiler_wl=''
8676 *Sun\ F* | *Sun*Fortran*)
8677 lt_prog_compiler_pic='-KPIC'
8678 lt_prog_compiler_static='-Bstatic'
8679 lt_prog_compiler_wl='-Qoption ld '
8683 lt_prog_compiler_pic='-KPIC'
8684 lt_prog_compiler_static='-Bstatic'
8685 lt_prog_compiler_wl='-Wl,'
8687 *Intel*\ [CF]*Compiler*)
8688 lt_prog_compiler_wl='-Wl,'
8689 lt_prog_compiler_pic='-fPIC'
8690 lt_prog_compiler_static='-static'
8693 lt_prog_compiler_wl='-Wl,'
8694 lt_prog_compiler_pic='-fpic'
8695 lt_prog_compiler_static='-Bstatic'
8703 lt_prog_compiler_pic='-KPIC'
8704 lt_prog_compiler_static='-Bstatic'
8708 # QNX uses GNU C++, but need to define -shared option too, otherwise
8710 lt_prog_compiler_pic='-fPIC -shared'
8713 osf3* | osf4* | osf5*)
8714 lt_prog_compiler_wl='-Wl,'
8715 # All OSF/1 code is PIC.
8716 lt_prog_compiler_static='-non_shared'
8720 lt_prog_compiler_static='-non_shared'
8724 lt_prog_compiler_pic='-KPIC'
8725 lt_prog_compiler_static='-Bstatic'
8726 case $cc_basename in
8727 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8728 lt_prog_compiler_wl='-Qoption ld ';;
8730 lt_prog_compiler_wl='-Wl,';;
8735 lt_prog_compiler_wl='-Qoption ld '
8736 lt_prog_compiler_pic='-PIC'
8737 lt_prog_compiler_static='-Bstatic'
8740 sysv4 | sysv4.2uw2* | sysv4.3*)
8741 lt_prog_compiler_wl='-Wl,'
8742 lt_prog_compiler_pic='-KPIC'
8743 lt_prog_compiler_static='-Bstatic'
8747 if test -d /usr/nec ;then
8748 lt_prog_compiler_pic='-Kconform_pic'
8749 lt_prog_compiler_static='-Bstatic'
8753 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8754 lt_prog_compiler_wl='-Wl,'
8755 lt_prog_compiler_pic='-KPIC'
8756 lt_prog_compiler_static='-Bstatic'
8760 lt_prog_compiler_wl='-Wl,'
8761 lt_prog_compiler_can_build_shared=no
8765 lt_prog_compiler_pic='-pic'
8766 lt_prog_compiler_static='-Bstatic'
8770 lt_prog_compiler_can_build_shared=no
8776 # For platforms which do not support PIC, -DPIC is meaningless:
8778 lt_prog_compiler_pic=
8781 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8786 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8787 if ${lt_cv_prog_compiler_pic+:} false; then :
8788 $as_echo_n "(cached) " >&6
8790 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8793 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8794 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8797 # Check to make sure the PIC flag actually works.
8799 if test -n "$lt_prog_compiler_pic"; then
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8801 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8802 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8803 $as_echo_n "(cached) " >&6
8805 lt_cv_prog_compiler_pic_works=no
8806 ac_outfile=conftest.$ac_objext
8807 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8808 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8809 # Insert the option either (1) after the last *FLAGS variable, or
8810 # (2) before a word containing "conftest.", or (3) at the end.
8811 # Note that $ac_compile itself does not contain backslashes and begins
8812 # with a dollar sign (not a hyphen), so the echo should work correctly.
8813 # The option is referenced via a variable to avoid confusing sed.
8814 lt_compile=`echo "$ac_compile" | $SED \
8815 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8816 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8817 -e 's:$: $lt_compiler_flag:'`
8818 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8819 (eval "$lt_compile" 2>conftest.err)
8821 cat conftest.err >&5
8822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823 if (exit $ac_status) && test -s "$ac_outfile"; then
8824 # The compiler can only warn and ignore the option if not recognized
8825 # So say no if there are warnings other than the usual output.
8826 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8827 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8828 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8829 lt_cv_prog_compiler_pic_works=yes
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8836 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8838 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8839 case $lt_prog_compiler_pic in
8841 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8844 lt_prog_compiler_pic=
8845 lt_prog_compiler_can_build_shared=no
8861 # Check to make sure the static flag actually works.
8863 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8865 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8866 if ${lt_cv_prog_compiler_static_works+:} false; then :
8867 $as_echo_n "(cached) " >&6
8869 lt_cv_prog_compiler_static_works=no
8870 save_LDFLAGS="$LDFLAGS"
8871 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8872 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8873 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8874 # The linker can only warn and ignore the option if not recognized
8875 # So say no if there are warnings
8876 if test -s conftest.err; then
8877 # Append any errors to the config.log.
8878 cat conftest.err 1>&5
8879 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8880 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8881 if diff conftest.exp conftest.er2 >/dev/null; then
8882 lt_cv_prog_compiler_static_works=yes
8885 lt_cv_prog_compiler_static_works=yes
8889 LDFLAGS="$save_LDFLAGS"
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8893 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8895 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8898 lt_prog_compiler_static=
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8908 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8909 if ${lt_cv_prog_compiler_c_o+:} false; then :
8910 $as_echo_n "(cached) " >&6
8912 lt_cv_prog_compiler_c_o=no
8913 $RM -r conftest 2>/dev/null
8917 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8919 lt_compiler_flag="-o out/conftest2.$ac_objext"
8920 # Insert the option either (1) after the last *FLAGS variable, or
8921 # (2) before a word containing "conftest.", or (3) at the end.
8922 # Note that $ac_compile itself does not contain backslashes and begins
8923 # with a dollar sign (not a hyphen), so the echo should work correctly.
8924 lt_compile=`echo "$ac_compile" | $SED \
8925 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8926 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8927 -e 's:$: $lt_compiler_flag:'`
8928 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8929 (eval "$lt_compile" 2>out/conftest.err)
8931 cat out/conftest.err >&5
8932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8935 # The compiler can only warn and ignore the option if not recognized
8936 # So say no if there are warnings
8937 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8938 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8939 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8940 lt_cv_prog_compiler_c_o=yes
8945 # SGI C++ compiler will create directory out/ii_files/ for
8946 # template instantiation
8947 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8948 $RM out/* && rmdir out
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8955 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8963 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8964 if ${lt_cv_prog_compiler_c_o+:} false; then :
8965 $as_echo_n "(cached) " >&6
8967 lt_cv_prog_compiler_c_o=no
8968 $RM -r conftest 2>/dev/null
8972 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8974 lt_compiler_flag="-o out/conftest2.$ac_objext"
8975 # Insert the option either (1) after the last *FLAGS variable, or
8976 # (2) before a word containing "conftest.", or (3) at the end.
8977 # Note that $ac_compile itself does not contain backslashes and begins
8978 # with a dollar sign (not a hyphen), so the echo should work correctly.
8979 lt_compile=`echo "$ac_compile" | $SED \
8980 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8981 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8982 -e 's:$: $lt_compiler_flag:'`
8983 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8984 (eval "$lt_compile" 2>out/conftest.err)
8986 cat out/conftest.err >&5
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8990 # The compiler can only warn and ignore the option if not recognized
8991 # So say no if there are warnings
8992 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8993 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8994 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8995 lt_cv_prog_compiler_c_o=yes
9000 # SGI C++ compiler will create directory out/ii_files/ for
9001 # template instantiation
9002 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9003 $RM out/* && rmdir out
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9010 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9015 hard_links="nottested"
9016 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9017 # do not overwrite the value of need_locks provided by the user
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9019 $as_echo_n "checking if we can lock with hard links... " >&6; }
9022 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9024 ln conftest.a conftest.b 2>&5 || hard_links=no
9025 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9027 $as_echo "$hard_links" >&6; }
9028 if test "$hard_links" = no; then
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9030 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9043 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9046 allow_undefined_flag=
9047 always_export_symbols=no
9049 archive_expsym_cmds=
9050 compiler_needs_object=no
9051 enable_shared_with_static_runtimes=no
9052 export_dynamic_flag_spec=
9053 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9054 hardcode_automatic=no
9056 hardcode_direct_absolute=no
9057 hardcode_libdir_flag_spec=
9058 hardcode_libdir_separator=
9060 hardcode_shlibpath_var=unsupported
9062 link_all_deplibs=unknown
9065 old_archive_from_new_cmds=
9066 old_archive_from_expsyms_cmds=
9067 thread_safe_flag_spec=
9068 whole_archive_flag_spec=
9069 # include_expsyms should be a list of space-separated symbols to be *always*
9070 # included in the symbol list
9072 # exclude_expsyms can be an extended regexp of symbols to exclude
9073 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9074 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9075 # as well as any symbol that contains `d'.
9076 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9077 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9078 # platforms (ab)use it in PIC code, but their linkers get confused if
9079 # the symbol is explicitly referenced. Since portable code cannot
9080 # rely on this symbol name, it's probably fine to never include it in
9081 # preloaded symbol tables.
9082 # Exclude shared library initialization/finalization symbols.
9083 extract_expsyms_cmds=
9086 cygwin* | mingw* | pw32* | cegcc*)
9087 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9088 # When not using gcc, we currently assume that we are using
9089 # Microsoft Visual C++.
9090 if test "$GCC" != yes; then
9095 # we just hope/assume this is gcc and not c89 (= MSVC++)
9105 # On some targets, GNU ld is compatible enough with the native linker
9106 # that we're better off using the native interface for both.
9107 lt_use_gnu_ld_interface=no
9108 if test "$with_gnu_ld" = yes; then
9111 # The AIX port of GNU ld has always aspired to compatibility
9112 # with the native linker. However, as the warning in the GNU ld
9113 # block says, versions before 2.19.5* couldn't really create working
9114 # shared libraries, regardless of the interface used.
9115 case `$LD -v 2>&1` in
9116 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9117 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9118 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9120 lt_use_gnu_ld_interface=yes
9125 lt_use_gnu_ld_interface=yes
9130 if test "$lt_use_gnu_ld_interface" = yes; then
9131 # If archive_cmds runs LD, not CC, wlarc should be empty
9134 # Set some defaults for GNU ld with shared library support. These
9135 # are reset later if shared libraries are not supported. Putting them
9136 # here allows them to be overridden if necessary.
9137 runpath_var=LD_RUN_PATH
9138 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9139 export_dynamic_flag_spec='${wl}--export-dynamic'
9140 # ancient GNU ld didn't support --whole-archive et. al.
9141 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9142 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9144 whole_archive_flag_spec=
9146 supports_anon_versioning=no
9147 case `$LD -v 2>&1` in
9148 *GNU\ gold*) supports_anon_versioning=yes ;;
9149 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9150 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9151 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9152 *\ 2.11.*) ;; # other 2.11 versions
9153 *) supports_anon_versioning=yes ;;
9156 # See if GNU ld supports shared libraries.
9159 # On AIX/PPC, the GNU linker is very broken
9160 if test "$host_cpu" != ia64; then
9164 *** Warning: the GNU linker, at least up to release 2.19, is reported
9165 *** to be unable to reliably create shared libraries on AIX.
9166 *** Therefore, libtool is disabling shared libraries support. If you
9167 *** really care for shared libraries, you may want to install binutils
9168 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9169 *** You will then need to restart the configuration process.
9178 # see comment about AmigaOS4 .so support
9179 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9180 archive_expsym_cmds=''
9183 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)'
9184 hardcode_libdir_flag_spec='-L$libdir'
9185 hardcode_minus_L=yes
9191 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9192 allow_undefined_flag=unsupported
9193 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9194 # support --undefined. This deserves some investigation. FIXME
9195 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9201 cygwin* | mingw* | pw32* | cegcc*)
9202 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9203 # as there is no search path for DLLs.
9204 hardcode_libdir_flag_spec='-L$libdir'
9205 export_dynamic_flag_spec='${wl}--export-all-symbols'
9206 allow_undefined_flag=unsupported
9207 always_export_symbols=no
9208 enable_shared_with_static_runtimes=yes
9209 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'
9210 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9212 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9213 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9214 # If the export-symbols file already is a .def file (1st line
9215 # is EXPORTS), use it as is; otherwise, prepend...
9216 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9217 cp $export_symbols $output_objdir/$soname.def;
9219 echo EXPORTS > $output_objdir/$soname.def;
9220 cat $export_symbols >> $output_objdir/$soname.def;
9222 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9229 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9230 link_all_deplibs=yes
9235 hardcode_shlibpath_var=no
9236 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9237 export_dynamic_flag_spec='${wl}-E'
9238 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9239 # Instead, shared libraries are loaded at an image base (0x10000000 by
9240 # default) and relocated if they conflict, which is a slow very memory
9241 # consuming and fragmenting process. To avoid this, we pick a random,
9242 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9243 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9244 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9245 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'
9248 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9250 if test "$host_os" = linux-dietlibc; then
9251 case $cc_basename in
9252 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9255 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9256 && test "$tmp_diet" = no
9258 tmp_addflag=' $pic_flag'
9259 tmp_sharedflag='-shared'
9260 case $cc_basename,$host_cpu in
9261 pgcc*) # Portland Group C compiler
9262 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'
9263 tmp_addflag=' $pic_flag'
9265 pgf77* | pgf90* | pgf95* | pgfortran*)
9266 # Portland Group f77 and f90 compilers
9267 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'
9268 tmp_addflag=' $pic_flag -Mnomain' ;;
9269 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9270 tmp_addflag=' -i_dynamic' ;;
9271 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9272 tmp_addflag=' -i_dynamic -nofor_main' ;;
9273 ifc* | ifort*) # Intel Fortran compiler
9274 tmp_addflag=' -nofor_main' ;;
9275 lf95*) # Lahey Fortran 8.1
9276 whole_archive_flag_spec=
9277 tmp_sharedflag='--shared' ;;
9278 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9279 tmp_sharedflag='-qmkshrobj'
9281 nvcc*) # Cuda Compiler Driver 2.2
9282 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'
9283 compiler_needs_object=yes
9286 case `$CC -V 2>&1 | sed 5q` in
9287 *Sun\ C*) # Sun C 5.9
9288 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'
9289 compiler_needs_object=yes
9290 tmp_sharedflag='-G' ;;
9291 *Sun\ F*) # Sun Fortran 8.3
9292 tmp_sharedflag='-G' ;;
9294 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9296 if test "x$supports_anon_versioning" = xyes; then
9297 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9298 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9299 echo "local: *; };" >> $output_objdir/$libname.ver~
9300 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9303 case $cc_basename in
9304 xlf* | bgf* | bgxlf* | mpixlf*)
9305 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9306 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9307 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9308 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9309 if test "x$supports_anon_versioning" = xyes; then
9310 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9311 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9312 echo "local: *; };" >> $output_objdir/$libname.ver~
9313 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9323 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9324 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9327 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9328 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9333 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9337 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9338 *** create shared libraries on Solaris systems. Therefore, libtool
9339 *** is disabling shared libraries support. We urge you to upgrade GNU
9340 *** binutils to release 2.9.1 or newer. Another option is to modify
9341 *** your PATH or compiler configuration so that the native linker is
9342 *** used, and then restart.
9345 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9346 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9347 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9353 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9354 case `$LD -v 2>&1` in
9355 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9359 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9360 *** reliably create shared libraries on SCO systems. Therefore, libtool
9361 *** is disabling shared libraries support. We urge you to upgrade GNU
9362 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9363 *** your PATH or compiler configuration so that the native linker is
9364 *** used, and then restart.
9369 # For security reasons, it is highly recommended that you always
9370 # use absolute paths for naming shared libraries, and exclude the
9371 # DT_RUNPATH tag from executables and libraries. But doing so
9372 # requires that you compile everything twice, which is a pain.
9373 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9374 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9375 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9376 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9385 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9388 hardcode_shlibpath_var=no
9392 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9393 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9394 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9401 if test "$ld_shlibs" = no; then
9403 hardcode_libdir_flag_spec=
9404 export_dynamic_flag_spec=
9405 whole_archive_flag_spec=
9408 # PORTME fill in a description of your system's linker (not GNU ld)
9411 allow_undefined_flag=unsupported
9412 always_export_symbols=yes
9413 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'
9414 # Note: this linker hardcodes the directories in LIBPATH if there
9415 # are no directories specified by -L.
9416 hardcode_minus_L=yes
9417 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9418 # Neither direct hardcoding nor static linking is supported with a
9420 hardcode_direct=unsupported
9425 if test "$host_cpu" = ia64; then
9426 # On IA64, the linker does run time linking by default, so we don't
9427 # have to do anything special.
9428 aix_use_runtimelinking=no
9429 exp_sym_flag='-Bexport'
9432 # If we're using GNU nm, then we don't want the "-C" option.
9433 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9434 # Also, AIX nm treats weak defined symbols like other global
9435 # defined symbols, whereas GNU nm marks them as "W".
9436 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9437 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'
9439 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'
9441 aix_use_runtimelinking=no
9443 # Test if we are trying to use run time linking or normal
9444 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9445 # need to do runtime linking.
9446 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9447 for ld_flag in $LDFLAGS; do
9448 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9449 aix_use_runtimelinking=yes
9456 exp_sym_flag='-bexport'
9457 no_entry_flag='-bnoentry'
9460 # When large executables or shared objects are built, AIX ld can
9461 # have problems creating the table of contents. If linking a library
9462 # or program results in "error TOC overflow" add -mminimal-toc to
9463 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9464 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9468 hardcode_direct_absolute=yes
9469 hardcode_libdir_separator=':'
9470 link_all_deplibs=yes
9471 file_list_spec='${wl}-f,'
9473 if test "$GCC" = yes; then
9474 case $host_os in aix4.[012]|aix4.[012].*)
9475 # We only want to do this on AIX 4.2 and lower, the check
9476 # below for broken collect2 doesn't work under 4.3+
9477 collect2name=`${CC} -print-prog-name=collect2`
9478 if test -f "$collect2name" &&
9479 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9481 # We have reworked collect2
9484 # We have old collect2
9485 hardcode_direct=unsupported
9486 # It fails to find uninstalled libraries when the uninstalled
9487 # path is not listed in the libpath. Setting hardcode_minus_L
9488 # to unsupported forces relinking
9489 hardcode_minus_L=yes
9490 hardcode_libdir_flag_spec='-L$libdir'
9491 hardcode_libdir_separator=
9495 shared_flag='-shared'
9496 if test "$aix_use_runtimelinking" = yes; then
9497 shared_flag="$shared_flag "'${wl}-G'
9501 if test "$host_cpu" = ia64; then
9502 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9503 # chokes on -Wl,-G. The following line is correct:
9506 if test "$aix_use_runtimelinking" = yes; then
9507 shared_flag='${wl}-G'
9509 shared_flag='${wl}-bM:SRE'
9514 export_dynamic_flag_spec='${wl}-bexpall'
9515 # It seems that -bexpall does not export symbols beginning with
9516 # underscore (_), so it is better to generate a list of symbols to export.
9517 always_export_symbols=yes
9518 if test "$aix_use_runtimelinking" = yes; then
9519 # Warning - without using the other runtime loading flags (-brtl),
9520 # -berok will link without error, but may produce a broken library.
9521 allow_undefined_flag='-berok'
9522 # Determine the default libpath from the value encoded in an
9524 if test "${lt_cv_aix_libpath+set}" = set; then
9525 aix_libpath=$lt_cv_aix_libpath
9527 if ${lt_cv_aix_libpath_+:} false; then :
9528 $as_echo_n "(cached) " >&6
9530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9531 /* end confdefs.h. */
9541 if ac_fn_c_try_link "$LINENO"; then :
9543 lt_aix_libpath_sed='
9544 /Import File Strings/,/^$/ {
9546 s/^0 *\([^ ]*\) *$/\1/
9550 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9551 # Check for a 64-bit object if we didn't find anything.
9552 if test -z "$lt_cv_aix_libpath_"; then
9553 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9556 rm -f core conftest.err conftest.$ac_objext \
9557 conftest$ac_exeext conftest.$ac_ext
9558 if test -z "$lt_cv_aix_libpath_"; then
9559 lt_cv_aix_libpath_="/usr/lib:/lib"
9564 aix_libpath=$lt_cv_aix_libpath_
9567 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9568 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"
9570 if test "$host_cpu" = ia64; then
9571 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9572 allow_undefined_flag="-z nodefs"
9573 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"
9575 # Determine the default libpath from the value encoded in an
9577 if test "${lt_cv_aix_libpath+set}" = set; then
9578 aix_libpath=$lt_cv_aix_libpath
9580 if ${lt_cv_aix_libpath_+:} false; then :
9581 $as_echo_n "(cached) " >&6
9583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9584 /* end confdefs.h. */
9594 if ac_fn_c_try_link "$LINENO"; then :
9596 lt_aix_libpath_sed='
9597 /Import File Strings/,/^$/ {
9599 s/^0 *\([^ ]*\) *$/\1/
9603 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9604 # Check for a 64-bit object if we didn't find anything.
9605 if test -z "$lt_cv_aix_libpath_"; then
9606 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9609 rm -f core conftest.err conftest.$ac_objext \
9610 conftest$ac_exeext conftest.$ac_ext
9611 if test -z "$lt_cv_aix_libpath_"; then
9612 lt_cv_aix_libpath_="/usr/lib:/lib"
9617 aix_libpath=$lt_cv_aix_libpath_
9620 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9621 # Warning - without using the other run time loading flags,
9622 # -berok will link without error, but may produce a broken library.
9623 no_undefined_flag=' ${wl}-bernotok'
9624 allow_undefined_flag=' ${wl}-berok'
9625 if test "$with_gnu_ld" = yes; then
9626 # We only use this code for GNU lds that support --whole-archive.
9627 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9629 # Exported symbols can be pulled into shared objects from archives
9630 whole_archive_flag_spec='$convenience'
9632 archive_cmds_need_lc=yes
9633 # This is similar to how AIX traditionally builds its shared libraries.
9634 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'
9642 # see comment about AmigaOS4 .so support
9643 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9644 archive_expsym_cmds=''
9647 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)'
9648 hardcode_libdir_flag_spec='-L$libdir'
9649 hardcode_minus_L=yes
9655 export_dynamic_flag_spec=-rdynamic
9658 cygwin* | mingw* | pw32* | cegcc*)
9659 # When not using gcc, we currently assume that we are using
9660 # Microsoft Visual C++.
9661 # hardcode_libdir_flag_spec is actually meaningless, as there is
9662 # no search path for DLLs.
9663 case $cc_basename in
9666 hardcode_libdir_flag_spec=' '
9667 allow_undefined_flag=unsupported
9668 always_export_symbols=yes
9670 # Tell ltmain to make .lib files, not .a files.
9672 # Tell ltmain to make .dll files, not .so files.
9674 # FIXME: Setting linknames here is a bad hack.
9675 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9676 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9677 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9679 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9681 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9683 # The linker will not automatically build a static lib if we build a DLL.
9684 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9685 enable_shared_with_static_runtimes=yes
9686 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9687 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9689 old_postinstall_cmds='chmod 644 $oldlib'
9690 postlink_cmds='lt_outputfile="@OUTPUT@"~
9691 lt_tool_outputfile="@TOOL_OUTPUT@"~
9692 case $lt_outputfile in
9695 lt_outputfile="$lt_outputfile.exe"
9696 lt_tool_outputfile="$lt_tool_outputfile.exe"
9699 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9700 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9701 $RM "$lt_outputfile.manifest";
9705 # Assume MSVC wrapper
9706 hardcode_libdir_flag_spec=' '
9707 allow_undefined_flag=unsupported
9708 # Tell ltmain to make .lib files, not .a files.
9710 # Tell ltmain to make .dll files, not .so files.
9712 # FIXME: Setting linknames here is a bad hack.
9713 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9714 # The linker will automatically build a .lib file if we build a DLL.
9715 old_archive_from_new_cmds='true'
9716 # FIXME: Should let the user specify the lib program.
9717 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9718 enable_shared_with_static_runtimes=yes
9723 darwin* | rhapsody*)
9726 archive_cmds_need_lc=no
9728 hardcode_automatic=yes
9729 hardcode_shlibpath_var=unsupported
9730 if test "$lt_cv_ld_force_load" = "yes"; then
9731 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\"`'
9734 whole_archive_flag_spec=''
9736 link_all_deplibs=yes
9737 allow_undefined_flag="$_lt_dar_allow_undefined"
9738 case $cc_basename in
9739 ifort*) _lt_dar_can_shared=yes ;;
9740 *) _lt_dar_can_shared=$GCC ;;
9742 if test "$_lt_dar_can_shared" = "yes"; then
9743 output_verbose_link_cmd=func_echo_all
9744 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9745 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9746 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}"
9747 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}"
9756 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9757 hardcode_libdir_flag_spec='-L$libdir'
9758 hardcode_shlibpath_var=no
9761 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9762 # support. Future versions do this automatically, but an explicit c++rt0.o
9763 # does not break anything, and helps significantly (at the cost of a little
9766 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9767 hardcode_libdir_flag_spec='-R$libdir'
9769 hardcode_shlibpath_var=no
9772 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9774 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9776 hardcode_minus_L=yes
9777 hardcode_shlibpath_var=no
9780 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9781 freebsd* | dragonfly*)
9782 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9783 hardcode_libdir_flag_spec='-R$libdir'
9785 hardcode_shlibpath_var=no
9789 if test "$GCC" = yes; then
9790 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'
9792 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'
9794 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9795 hardcode_libdir_separator=:
9798 # hardcode_minus_L: Not really in the search PATH,
9799 # but as the default location of the library.
9800 hardcode_minus_L=yes
9801 export_dynamic_flag_spec='${wl}-E'
9805 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9806 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9808 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9810 if test "$with_gnu_ld" = no; then
9811 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9812 hardcode_libdir_separator=:
9814 hardcode_direct_absolute=yes
9815 export_dynamic_flag_spec='${wl}-E'
9816 # hardcode_minus_L: Not really in the search PATH,
9817 # but as the default location of the library.
9818 hardcode_minus_L=yes
9823 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9826 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9829 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9832 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9838 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9841 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9845 # Older versions of the 11.00 compiler do not understand -b yet
9846 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9848 $as_echo_n "checking if $CC understands -b... " >&6; }
9849 if ${lt_cv_prog_compiler__b+:} false; then :
9850 $as_echo_n "(cached) " >&6
9852 lt_cv_prog_compiler__b=no
9853 save_LDFLAGS="$LDFLAGS"
9854 LDFLAGS="$LDFLAGS -b"
9855 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9856 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9857 # The linker can only warn and ignore the option if not recognized
9858 # So say no if there are warnings
9859 if test -s conftest.err; then
9860 # Append any errors to the config.log.
9861 cat conftest.err 1>&5
9862 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9863 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9864 if diff conftest.exp conftest.er2 >/dev/null; then
9865 lt_cv_prog_compiler__b=yes
9868 lt_cv_prog_compiler__b=yes
9872 LDFLAGS="$save_LDFLAGS"
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9876 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9878 if test x"$lt_cv_prog_compiler__b" = xyes; then
9879 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9881 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9887 if test "$with_gnu_ld" = no; then
9888 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9889 hardcode_libdir_separator=:
9894 hardcode_shlibpath_var=no
9898 hardcode_direct_absolute=yes
9899 export_dynamic_flag_spec='${wl}-E'
9901 # hardcode_minus_L: Not really in the search PATH,
9902 # but as the default location of the library.
9903 hardcode_minus_L=yes
9909 irix5* | irix6* | nonstopux*)
9910 if test "$GCC" = yes; then
9911 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'
9912 # Try to use the -exported_symbol ld option, if it does not
9913 # work, assume that -exports_file does not work either and
9914 # implicitly export all symbols.
9915 # This should be the same for all languages, so no per-tag cache variable.
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9917 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9918 if ${lt_cv_irix_exported_symbol+:} false; then :
9919 $as_echo_n "(cached) " >&6
9921 save_LDFLAGS="$LDFLAGS"
9922 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9924 /* end confdefs.h. */
9925 int foo (void) { return 0; }
9927 if ac_fn_c_try_link "$LINENO"; then :
9928 lt_cv_irix_exported_symbol=yes
9930 lt_cv_irix_exported_symbol=no
9932 rm -f core conftest.err conftest.$ac_objext \
9933 conftest$ac_exeext conftest.$ac_ext
9934 LDFLAGS="$save_LDFLAGS"
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9937 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9938 if test "$lt_cv_irix_exported_symbol" = yes; then
9939 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'
9942 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'
9943 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'
9945 archive_cmds_need_lc='no'
9946 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9947 hardcode_libdir_separator=:
9949 link_all_deplibs=yes
9953 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9954 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9956 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9958 hardcode_libdir_flag_spec='-R$libdir'
9960 hardcode_shlibpath_var=no
9964 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9966 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9967 hardcode_libdir_separator=:
9968 hardcode_shlibpath_var=no
9975 if test -f /usr/libexec/ld.so; then
9977 hardcode_shlibpath_var=no
9978 hardcode_direct_absolute=yes
9979 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9980 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9981 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9982 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9983 export_dynamic_flag_spec='${wl}-E'
9986 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9987 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9988 hardcode_libdir_flag_spec='-R$libdir'
9991 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9992 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10002 hardcode_libdir_flag_spec='-L$libdir'
10003 hardcode_minus_L=yes
10004 allow_undefined_flag=unsupported
10005 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'
10006 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10010 if test "$GCC" = yes; then
10011 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10012 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'
10014 allow_undefined_flag=' -expect_unresolved \*'
10015 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'
10017 archive_cmds_need_lc='no'
10018 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10019 hardcode_libdir_separator=:
10022 osf4* | osf5*) # as osf3* with the addition of -msym flag
10023 if test "$GCC" = yes; then
10024 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10025 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'
10026 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10028 allow_undefined_flag=' -expect_unresolved \*'
10029 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'
10030 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~
10031 $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'
10033 # Both c and cxx compiler support -rpath directly
10034 hardcode_libdir_flag_spec='-rpath $libdir'
10036 archive_cmds_need_lc='no'
10037 hardcode_libdir_separator=:
10041 no_undefined_flag=' -z defs'
10042 if test "$GCC" = yes; then
10044 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10045 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10046 $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'
10048 case `$CC -V 2>&1` in
10051 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10052 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10053 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10057 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10058 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10059 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10063 hardcode_libdir_flag_spec='-R$libdir'
10064 hardcode_shlibpath_var=no
10066 solaris2.[0-5] | solaris2.[0-5].*) ;;
10068 # The compiler driver will combine and reorder linker options,
10069 # but understands `-z linker_flag'. GCC discards it without `$wl',
10070 # but is careful enough not to reorder.
10071 # Supported since Solaris 2.6 (maybe 2.5.1?)
10072 if test "$GCC" = yes; then
10073 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10075 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10079 link_all_deplibs=yes
10083 if test "x$host_vendor" = xsequent; then
10084 # Use $CC to link under sequent, because it throws in some extra .o
10085 # files that make .init and .fini sections work.
10086 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10088 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10090 hardcode_libdir_flag_spec='-L$libdir'
10091 hardcode_direct=yes
10092 hardcode_minus_L=yes
10093 hardcode_shlibpath_var=no
10097 case $host_vendor in
10099 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10100 hardcode_direct=yes # is this really true???
10103 ## LD is ld it makes a PLAMLIB
10104 ## CC just makes a GrossModule.
10105 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10106 reload_cmds='$CC -r -o $output$reload_objs'
10110 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10111 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10114 runpath_var='LD_RUN_PATH'
10115 hardcode_shlibpath_var=no
10119 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10120 hardcode_shlibpath_var=no
10121 export_dynamic_flag_spec='-Bexport'
10125 if test -d /usr/nec; then
10126 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10127 hardcode_shlibpath_var=no
10128 runpath_var=LD_RUN_PATH
10129 hardcode_runpath_var=yes
10134 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10135 no_undefined_flag='${wl}-z,text'
10136 archive_cmds_need_lc=no
10137 hardcode_shlibpath_var=no
10138 runpath_var='LD_RUN_PATH'
10140 if test "$GCC" = yes; then
10141 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10142 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10144 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10145 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10149 sysv5* | sco3.2v5* | sco5v6*)
10150 # Note: We can NOT use -z defs as we might desire, because we do not
10151 # link with -lc, and that would cause any symbols used from libc to
10152 # always be unresolved, which means just about no library would
10153 # ever link correctly. If we're not using GNU ld we use -z text
10154 # though, which does catch some bad symbols but isn't as heavy-handed
10156 no_undefined_flag='${wl}-z,text'
10157 allow_undefined_flag='${wl}-z,nodefs'
10158 archive_cmds_need_lc=no
10159 hardcode_shlibpath_var=no
10160 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10161 hardcode_libdir_separator=':'
10162 link_all_deplibs=yes
10163 export_dynamic_flag_spec='${wl}-Bexport'
10164 runpath_var='LD_RUN_PATH'
10166 if test "$GCC" = yes; then
10167 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10168 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10170 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10171 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10176 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10177 hardcode_libdir_flag_spec='-L$libdir'
10178 hardcode_shlibpath_var=no
10186 if test x$host_vendor = xsni; then
10188 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10189 export_dynamic_flag_spec='${wl}-Blargedynsym'
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10196 $as_echo "$ld_shlibs" >&6; }
10197 test "$ld_shlibs" = no && can_build_shared=no
10199 with_gnu_ld=$with_gnu_ld
10216 # Do we need to explicitly link libc?
10218 case "x$archive_cmds_need_lc" in
10220 # Assume -lc should be added
10221 archive_cmds_need_lc=yes
10223 if test "$enable_shared" = yes && test "$GCC" = yes; then
10224 case $archive_cmds in
10226 # FIXME: we may have to deal with multi-command sequences.
10229 # Test whether the compiler implicitly links with -lc since on some
10230 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10231 # to ld, don't add -lc before -lgcc.
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10233 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10234 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10235 $as_echo_n "(cached) " >&6
10238 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10241 (eval $ac_compile) 2>&5
10243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10244 test $ac_status = 0; } 2>conftest.err; then
10247 libobjs=conftest.$ac_objext
10249 wl=$lt_prog_compiler_wl
10250 pic_flag=$lt_prog_compiler_pic
10256 lt_save_allow_undefined_flag=$allow_undefined_flag
10257 allow_undefined_flag=
10258 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10259 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10262 test $ac_status = 0; }
10264 lt_cv_archive_cmds_need_lc=no
10266 lt_cv_archive_cmds_need_lc=yes
10268 allow_undefined_flag=$lt_save_allow_undefined_flag
10270 cat conftest.err 1>&5
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10276 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10277 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10436 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10438 if test "$GCC" = yes; then
10440 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10441 *) lt_awk_arg="/^libraries:/" ;;
10444 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10445 *) lt_sed_strip_eq="s,=/,/,g" ;;
10447 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10448 case $lt_search_path_spec in
10450 # if the path contains ";" then we assume it to be the separator
10451 # otherwise default to the standard path separator (i.e. ":") - it is
10452 # assumed that no part of a normal pathname contains ";" but that should
10453 # okay in the real world where ";" in dirpaths is itself problematic.
10454 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10457 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10460 # Ok, now we have the path, separated by spaces, we can step through it
10461 # and add multilib dir if necessary.
10462 lt_tmp_lt_search_path_spec=
10463 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10464 for lt_sys_path in $lt_search_path_spec; do
10465 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10466 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10468 test -d "$lt_sys_path" && \
10469 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10472 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10473 BEGIN {RS=" "; FS="/|\n";} {
10476 for (lt_i = NF; lt_i > 0; lt_i--) {
10477 if ($lt_i != "" && $lt_i != ".") {
10478 if ($lt_i == "..") {
10481 if (lt_count == 0) {
10482 lt_foo="/" $lt_i lt_foo;
10489 if (lt_foo != "") { lt_freq[lt_foo]++; }
10490 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10492 # AWK program above erroneously prepends '/' to C:/dos/paths
10495 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10496 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10498 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10500 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10502 library_names_spec=
10503 libname_spec='lib$name'
10507 postuninstall_cmds=
10511 shlibpath_overrides_runpath=unknown
10513 dynamic_linker="$host_os ld.so"
10514 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10515 need_lib_prefix=unknown
10516 hardcode_into_libs=no
10518 # when you set need_version to no, make sure it does not cause -set_version
10519 # flags to be left without arguments
10520 need_version=unknown
10524 version_type=linux # correct to gnu/linux during the next big refactor
10525 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10526 shlibpath_var=LIBPATH
10528 # AIX 3 has no versioning support, so we append a major version to the name.
10529 soname_spec='${libname}${release}${shared_ext}$major'
10533 version_type=linux # correct to gnu/linux during the next big refactor
10536 hardcode_into_libs=yes
10537 if test "$host_cpu" = ia64; then
10538 # AIX 5 supports IA64
10539 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10540 shlibpath_var=LD_LIBRARY_PATH
10542 # With GCC up to 2.95.x, collect2 would create an import file
10543 # for dependence libraries. The import file would start with
10544 # the line `#! .'. This would cause the generated library to
10545 # depend on `.', always an invalid library. This was fixed in
10546 # development snapshots of GCC prior to 3.0.
10548 aix4 | aix4.[01] | aix4.[01].*)
10549 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10551 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10554 can_build_shared=no
10558 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10559 # soname into executable. Probably we can add versioning support to
10560 # collect2, so additional links can be useful in future.
10561 if test "$aix_use_runtimelinking" = yes; then
10562 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10563 # instead of lib<name>.a to let people know that these are not
10564 # typical AIX shared libraries.
10565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10567 # We preserve .a as extension for shared libraries through AIX4.2
10568 # and later when we are not doing run time linking.
10569 library_names_spec='${libname}${release}.a $libname.a'
10570 soname_spec='${libname}${release}${shared_ext}$major'
10572 shlibpath_var=LIBPATH
10579 # Since July 2007 AmigaOS4 officially supports .so libraries.
10580 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10584 library_names_spec='$libname.ixlibrary $libname.a'
10585 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10586 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'
10592 library_names_spec='${libname}${shared_ext}'
10593 dynamic_linker="$host_os ld.so"
10594 shlibpath_var=LIBRARY_PATH
10598 version_type=linux # correct to gnu/linux during the next big refactor
10600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10601 soname_spec='${libname}${release}${shared_ext}$major'
10602 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10603 shlibpath_var=LD_LIBRARY_PATH
10604 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10605 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10606 # the default ld.so.conf also contains /usr/contrib/lib and
10607 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10608 # libtool to hard-code these into programs
10611 cygwin* | mingw* | pw32* | cegcc*)
10612 version_type=windows
10617 case $GCC,$cc_basename in
10620 library_names_spec='$libname.dll.a'
10621 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10622 postinstall_cmds='base_file=`basename \${file}`~
10623 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10624 dldir=$destdir/`dirname \$dlpath`~
10625 test -d \$dldir || mkdir -p \$dldir~
10626 $install_prog $dir/$dlname \$dldir/$dlname~
10627 chmod a+x \$dldir/$dlname~
10628 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10629 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10631 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10632 dlpath=$dir/\$dldll~
10634 shlibpath_overrides_runpath=yes
10638 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10639 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10641 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10644 # MinGW DLLs use traditional 'lib' prefix
10645 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10648 # pw32 DLLs use 'pw' prefix rather than 'lib'
10649 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10652 dynamic_linker='Win32 ld.exe'
10657 libname_spec='$name'
10658 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10659 library_names_spec='${libname}.dll.lib'
10663 sys_lib_search_path_spec=
10666 for lt_path in $LIB
10669 # Let DOS variable expansion print the short 8.3 style file name.
10670 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10671 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10674 # Convert to MSYS style.
10675 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10678 # Convert to unix form, then to dos form, then back to unix form
10679 # but this time dos style (no spaces!) so that the unix form looks
10680 # like /cygdrive/c/PROGRA~1:/cygdr...
10681 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10682 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10683 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10686 sys_lib_search_path_spec="$LIB"
10687 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10688 # It is most probably a Windows format PATH.
10689 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10691 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10693 # FIXME: find the short name or the path components, as spaces are
10694 # common. (e.g. "Program Files" -> "PROGRA~1")
10698 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10699 postinstall_cmds='base_file=`basename \${file}`~
10700 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10701 dldir=$destdir/`dirname \$dlpath`~
10702 test -d \$dldir || mkdir -p \$dldir~
10703 $install_prog $dir/$dlname \$dldir/$dlname'
10704 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10705 dlpath=$dir/\$dldll~
10707 shlibpath_overrides_runpath=yes
10708 dynamic_linker='Win32 link.exe'
10712 # Assume MSVC wrapper
10713 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10714 dynamic_linker='Win32 ld.exe'
10717 # FIXME: first we should search . and the directory the executable is in
10721 darwin* | rhapsody*)
10722 dynamic_linker="$host_os dyld"
10723 version_type=darwin
10726 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10727 soname_spec='${libname}${release}${major}$shared_ext'
10728 shlibpath_overrides_runpath=yes
10729 shlibpath_var=DYLD_LIBRARY_PATH
10730 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10732 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10733 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10737 version_type=linux # correct to gnu/linux during the next big refactor
10740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10741 soname_spec='${libname}${release}${shared_ext}$major'
10742 shlibpath_var=LD_LIBRARY_PATH
10745 freebsd* | dragonfly*)
10746 # DragonFly does not have aout. When/if they implement a new
10747 # versioning mechanism, adjust this.
10748 if test -x /usr/bin/objformat; then
10749 objformat=`/usr/bin/objformat`
10752 freebsd[23].*) objformat=aout ;;
10753 *) objformat=elf ;;
10756 version_type=freebsd-$objformat
10757 case $version_type in
10759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10764 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10768 shlibpath_var=LD_LIBRARY_PATH
10771 shlibpath_overrides_runpath=yes
10773 freebsd3.[01]* | freebsdelf3.[01]*)
10774 shlibpath_overrides_runpath=yes
10775 hardcode_into_libs=yes
10777 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10778 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10779 shlibpath_overrides_runpath=no
10780 hardcode_into_libs=yes
10782 *) # from 4.6 on, and DragonFly
10783 shlibpath_overrides_runpath=yes
10784 hardcode_into_libs=yes
10790 version_type=linux # correct to gnu/linux during the next big refactor
10793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10794 soname_spec='${libname}${release}${shared_ext}$major'
10795 shlibpath_var=LD_LIBRARY_PATH
10796 shlibpath_overrides_runpath=no
10797 hardcode_into_libs=yes
10801 version_type=linux # correct to gnu/linux during the next big refactor
10804 dynamic_linker="$host_os runtime_loader"
10805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10806 soname_spec='${libname}${release}${shared_ext}$major'
10807 shlibpath_var=LIBRARY_PATH
10808 shlibpath_overrides_runpath=yes
10809 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10810 hardcode_into_libs=yes
10813 hpux9* | hpux10* | hpux11*)
10814 # Give a soname corresponding to the major version so that dld.sl refuses to
10815 # link against other versions.
10822 hardcode_into_libs=yes
10823 dynamic_linker="$host_os dld.so"
10824 shlibpath_var=LD_LIBRARY_PATH
10825 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827 soname_spec='${libname}${release}${shared_ext}$major'
10828 if test "X$HPUX_IA64_MODE" = X32; then
10829 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10831 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10833 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10837 hardcode_into_libs=yes
10838 dynamic_linker="$host_os dld.sl"
10839 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10840 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10842 soname_spec='${libname}${release}${shared_ext}$major'
10843 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10844 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10848 dynamic_linker="$host_os dld.sl"
10849 shlibpath_var=SHLIB_PATH
10850 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10852 soname_spec='${libname}${release}${shared_ext}$major'
10855 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10856 postinstall_cmds='chmod 555 $lib'
10857 # or fails outright, so override atomically:
10858 install_override_mode=555
10862 version_type=linux # correct to gnu/linux during the next big refactor
10865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10866 soname_spec='${libname}${release}${shared_ext}$major'
10867 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10868 shlibpath_var=LD_LIBRARY_PATH
10869 shlibpath_overrides_runpath=no
10870 hardcode_into_libs=yes
10873 irix5* | irix6* | nonstopux*)
10875 nonstopux*) version_type=nonstopux ;;
10877 if test "$lt_cv_prog_gnu_ld" = yes; then
10878 version_type=linux # correct to gnu/linux during the next big refactor
10885 soname_spec='${libname}${release}${shared_ext}$major'
10886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10888 irix5* | nonstopux*)
10889 libsuff= shlibsuff=
10892 case $LD in # libtool.m4 will add one of these switches to LD
10893 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10894 libsuff= shlibsuff= libmagic=32-bit;;
10895 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10896 libsuff=32 shlibsuff=N32 libmagic=N32;;
10897 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10898 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10899 *) libsuff= shlibsuff= libmagic=never-match;;
10903 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10904 shlibpath_overrides_runpath=no
10905 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10906 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10907 hardcode_into_libs=yes
10910 # No shared lib support for Linux oldld, aout, or coff.
10911 linux*oldld* | linux*aout* | linux*coff*)
10915 # This must be glibc/ELF.
10916 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10917 version_type=linux # correct to gnu/linux during the next big refactor
10920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10921 soname_spec='${libname}${release}${shared_ext}$major'
10922 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10923 shlibpath_var=LD_LIBRARY_PATH
10924 shlibpath_overrides_runpath=no
10926 # Some binutils ld are patched to set DT_RUNPATH
10927 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10928 $as_echo_n "(cached) " >&6
10930 lt_cv_shlibpath_overrides_runpath=no
10931 save_LDFLAGS=$LDFLAGS
10932 save_libdir=$libdir
10933 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10934 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10936 /* end confdefs.h. */
10946 if ac_fn_c_try_link "$LINENO"; then :
10947 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10948 lt_cv_shlibpath_overrides_runpath=yes
10951 rm -f core conftest.err conftest.$ac_objext \
10952 conftest$ac_exeext conftest.$ac_ext
10953 LDFLAGS=$save_LDFLAGS
10954 libdir=$save_libdir
10958 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10960 # This implies no fast_install, which is unacceptable.
10961 # Some rework will be needed to allow for fast_install
10962 # before this can be enabled.
10963 hardcode_into_libs=yes
10965 # Add ABI-specific directories to the system library path.
10966 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10968 # Append ld.so.conf contents to the search path
10969 if test -f /etc/ld.so.conf; then
10970 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' ' '`
10971 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10975 # We used to test for /lib/ld.so.1 and disable shared libraries on
10976 # powerpc, because MkLinux only supported shared libraries with the
10977 # GNU dynamic linker. Since this was broken with cross compilers,
10978 # most powerpc-linux boxes support dynamic linking these days and
10979 # people can always --disable-shared, the test was removed, and we
10980 # assume the GNU/Linux dynamic linker is in use.
10981 dynamic_linker='GNU/Linux ld.so'
10988 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10990 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10991 dynamic_linker='NetBSD (a.out) ld.so'
10993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10994 soname_spec='${libname}${release}${shared_ext}$major'
10995 dynamic_linker='NetBSD ld.elf_so'
10997 shlibpath_var=LD_LIBRARY_PATH
10998 shlibpath_overrides_runpath=yes
10999 hardcode_into_libs=yes
11003 version_type=linux # correct to gnu/linux during the next big refactor
11004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 shlibpath_overrides_runpath=yes
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=no
11017 hardcode_into_libs=yes
11018 dynamic_linker='ldqnx.so'
11023 sys_lib_dlsearch_path_spec="/usr/lib"
11025 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11027 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11028 *) need_version=no ;;
11030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11031 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11032 shlibpath_var=LD_LIBRARY_PATH
11033 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11035 openbsd2.[89] | openbsd2.[89].*)
11036 shlibpath_overrides_runpath=no
11039 shlibpath_overrides_runpath=yes
11043 shlibpath_overrides_runpath=yes
11048 libname_spec='$name'
11051 library_names_spec='$libname${shared_ext} $libname.a'
11052 dynamic_linker='OS/2 ld.exe'
11053 shlibpath_var=LIBPATH
11056 osf3* | osf4* | osf5*)
11060 soname_spec='${libname}${release}${shared_ext}$major'
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062 shlibpath_var=LD_LIBRARY_PATH
11063 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11064 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11072 version_type=linux # correct to gnu/linux during the next big refactor
11075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11076 soname_spec='${libname}${release}${shared_ext}$major'
11077 shlibpath_var=LD_LIBRARY_PATH
11078 shlibpath_overrides_runpath=yes
11079 hardcode_into_libs=yes
11080 # ldd complains unless libraries are executable
11081 postinstall_cmds='chmod +x $lib'
11086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11087 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11088 shlibpath_var=LD_LIBRARY_PATH
11089 shlibpath_overrides_runpath=yes
11090 if test "$with_gnu_ld" = yes; then
11097 version_type=linux # correct to gnu/linux during the next big refactor
11098 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11099 soname_spec='${libname}${release}${shared_ext}$major'
11100 shlibpath_var=LD_LIBRARY_PATH
11101 case $host_vendor in
11103 shlibpath_overrides_runpath=no
11105 runpath_var=LD_RUN_PATH
11113 shlibpath_overrides_runpath=no
11114 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11120 if test -d /usr/nec ;then
11121 version_type=linux # correct to gnu/linux during the next big refactor
11122 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11123 soname_spec='$libname${shared_ext}.$major'
11124 shlibpath_var=LD_LIBRARY_PATH
11128 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11129 version_type=freebsd-elf
11132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11133 soname_spec='${libname}${release}${shared_ext}$major'
11134 shlibpath_var=LD_LIBRARY_PATH
11135 shlibpath_overrides_runpath=yes
11136 hardcode_into_libs=yes
11137 if test "$with_gnu_ld" = yes; then
11138 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11140 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11143 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11147 sys_lib_dlsearch_path_spec='/usr/lib'
11151 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11152 version_type=linux # correct to gnu/linux during the next big refactor
11155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11156 shlibpath_var=LD_LIBRARY_PATH
11157 shlibpath_overrides_runpath=no
11158 hardcode_into_libs=yes
11162 version_type=linux # correct to gnu/linux during the next big refactor
11163 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11164 soname_spec='${libname}${release}${shared_ext}$major'
11165 shlibpath_var=LD_LIBRARY_PATH
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11173 $as_echo "$dynamic_linker" >&6; }
11174 test "$dynamic_linker" = no && can_build_shared=no
11176 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11177 if test "$GCC" = yes; then
11178 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11181 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11182 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11184 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11185 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11280 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11282 if test -n "$hardcode_libdir_flag_spec" ||
11283 test -n "$runpath_var" ||
11284 test "X$hardcode_automatic" = "Xyes" ; then
11286 # We can hardcode non-existent directories.
11287 if test "$hardcode_direct" != no &&
11288 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11289 # have to relink, otherwise we might link with an installed library
11290 # when we should be linking with a yet-to-be-installed one
11291 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11292 test "$hardcode_minus_L" != no; then
11293 # Linking always hardcodes the temporary library directory.
11294 hardcode_action=relink
11296 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11297 hardcode_action=immediate
11300 # We cannot hardcode anything, or else we can only hardcode existing
11302 hardcode_action=unsupported
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11305 $as_echo "$hardcode_action" >&6; }
11307 if test "$hardcode_action" = relink ||
11308 test "$inherit_rpath" = yes; then
11309 # Fast installation is not supported
11310 enable_fast_install=no
11311 elif test "$shlibpath_overrides_runpath" = yes ||
11312 test "$enable_shared" = no; then
11313 # Fast installation is not necessary
11314 enable_fast_install=needless
11322 if test "x$enable_dlopen" != xyes; then
11323 enable_dlopen=unknown
11324 enable_dlopen_self=unknown
11325 enable_dlopen_self_static=unknown
11332 lt_cv_dlopen="load_add_on"
11334 lt_cv_dlopen_self=yes
11337 mingw* | pw32* | cegcc*)
11338 lt_cv_dlopen="LoadLibrary"
11343 lt_cv_dlopen="dlopen"
11348 # if libdl is installed we need to link against it
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11350 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11351 if ${ac_cv_lib_dl_dlopen+:} false; then :
11352 $as_echo_n "(cached) " >&6
11354 ac_check_lib_save_LIBS=$LIBS
11356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h. */
11359 /* Override any GCC internal prototype to avoid an error.
11360 Use char because int might match the return type of a GCC
11361 builtin and then its argument prototype would still apply. */
11374 if ac_fn_c_try_link "$LINENO"; then :
11375 ac_cv_lib_dl_dlopen=yes
11377 ac_cv_lib_dl_dlopen=no
11379 rm -f core conftest.err conftest.$ac_objext \
11380 conftest$ac_exeext conftest.$ac_ext
11381 LIBS=$ac_check_lib_save_LIBS
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11384 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11385 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11386 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11389 lt_cv_dlopen="dyld"
11391 lt_cv_dlopen_self=yes
11398 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11399 if test "x$ac_cv_func_shl_load" = xyes; then :
11400 lt_cv_dlopen="shl_load"
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11403 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11404 if ${ac_cv_lib_dld_shl_load+:} false; then :
11405 $as_echo_n "(cached) " >&6
11407 ac_check_lib_save_LIBS=$LIBS
11409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h. */
11412 /* Override any GCC internal prototype to avoid an error.
11413 Use char because int might match the return type of a GCC
11414 builtin and then its argument prototype would still apply. */
11422 return shl_load ();
11427 if ac_fn_c_try_link "$LINENO"; then :
11428 ac_cv_lib_dld_shl_load=yes
11430 ac_cv_lib_dld_shl_load=no
11432 rm -f core conftest.err conftest.$ac_objext \
11433 conftest$ac_exeext conftest.$ac_ext
11434 LIBS=$ac_check_lib_save_LIBS
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11437 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11438 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11439 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11441 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11442 if test "x$ac_cv_func_dlopen" = xyes; then :
11443 lt_cv_dlopen="dlopen"
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11446 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11447 if ${ac_cv_lib_dl_dlopen+:} false; then :
11448 $as_echo_n "(cached) " >&6
11450 ac_check_lib_save_LIBS=$LIBS
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11455 /* Override any GCC internal prototype to avoid an error.
11456 Use char because int might match the return type of a GCC
11457 builtin and then its argument prototype would still apply. */
11470 if ac_fn_c_try_link "$LINENO"; then :
11471 ac_cv_lib_dl_dlopen=yes
11473 ac_cv_lib_dl_dlopen=no
11475 rm -f core conftest.err conftest.$ac_objext \
11476 conftest$ac_exeext conftest.$ac_ext
11477 LIBS=$ac_check_lib_save_LIBS
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11480 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11481 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11482 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11485 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11486 if ${ac_cv_lib_svld_dlopen+:} false; then :
11487 $as_echo_n "(cached) " >&6
11489 ac_check_lib_save_LIBS=$LIBS
11490 LIBS="-lsvld $LIBS"
11491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11492 /* end confdefs.h. */
11494 /* Override any GCC internal prototype to avoid an error.
11495 Use char because int might match the return type of a GCC
11496 builtin and then its argument prototype would still apply. */
11509 if ac_fn_c_try_link "$LINENO"; then :
11510 ac_cv_lib_svld_dlopen=yes
11512 ac_cv_lib_svld_dlopen=no
11514 rm -f core conftest.err conftest.$ac_objext \
11515 conftest$ac_exeext conftest.$ac_ext
11516 LIBS=$ac_check_lib_save_LIBS
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11519 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11520 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11521 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11524 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11525 if ${ac_cv_lib_dld_dld_link+:} false; then :
11526 $as_echo_n "(cached) " >&6
11528 ac_check_lib_save_LIBS=$LIBS
11530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11531 /* end confdefs.h. */
11533 /* Override any GCC internal prototype to avoid an error.
11534 Use char because int might match the return type of a GCC
11535 builtin and then its argument prototype would still apply. */
11543 return dld_link ();
11548 if ac_fn_c_try_link "$LINENO"; then :
11549 ac_cv_lib_dld_dld_link=yes
11551 ac_cv_lib_dld_dld_link=no
11553 rm -f core conftest.err conftest.$ac_objext \
11554 conftest$ac_exeext conftest.$ac_ext
11555 LIBS=$ac_check_lib_save_LIBS
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11558 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11559 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11560 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11581 if test "x$lt_cv_dlopen" != xno; then
11587 case $lt_cv_dlopen in
11589 save_CPPFLAGS="$CPPFLAGS"
11590 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11592 save_LDFLAGS="$LDFLAGS"
11593 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11596 LIBS="$lt_cv_dlopen_libs $LIBS"
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11599 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11600 if ${lt_cv_dlopen_self+:} false; then :
11601 $as_echo_n "(cached) " >&6
11603 if test "$cross_compiling" = yes; then :
11604 lt_cv_dlopen_self=cross
11606 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11607 lt_status=$lt_dlunknown
11608 cat > conftest.$ac_ext <<_LT_EOF
11609 #line $LINENO "configure"
11610 #include "confdefs.h"
11619 # define LT_DLGLOBAL RTLD_GLOBAL
11622 # define LT_DLGLOBAL DL_GLOBAL
11624 # define LT_DLGLOBAL 0
11628 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11629 find out it does not work in some platform. */
11630 #ifndef LT_DLLAZY_OR_NOW
11632 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11635 # define LT_DLLAZY_OR_NOW DL_LAZY
11638 # define LT_DLLAZY_OR_NOW RTLD_NOW
11641 # define LT_DLLAZY_OR_NOW DL_NOW
11643 # define LT_DLLAZY_OR_NOW 0
11650 /* When -fvisbility=hidden is used, assume the code has been annotated
11651 correspondingly for the symbols needed. */
11652 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11653 int fnord () __attribute__((visibility("default")));
11656 int fnord () { return 42; }
11659 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11660 int status = $lt_dlunknown;
11664 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11667 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11668 else puts (dlerror ());
11670 /* dlclose (self); */
11678 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11679 (eval $ac_link) 2>&5
11681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11682 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11683 (./conftest; exit; ) >&5 2>/dev/null
11685 case x$lt_status in
11686 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11687 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11688 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11691 # compilation failed
11692 lt_cv_dlopen_self=no
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11700 $as_echo "$lt_cv_dlopen_self" >&6; }
11702 if test "x$lt_cv_dlopen_self" = xyes; then
11703 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11705 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11706 if ${lt_cv_dlopen_self_static+:} false; then :
11707 $as_echo_n "(cached) " >&6
11709 if test "$cross_compiling" = yes; then :
11710 lt_cv_dlopen_self_static=cross
11712 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11713 lt_status=$lt_dlunknown
11714 cat > conftest.$ac_ext <<_LT_EOF
11715 #line $LINENO "configure"
11716 #include "confdefs.h"
11725 # define LT_DLGLOBAL RTLD_GLOBAL
11728 # define LT_DLGLOBAL DL_GLOBAL
11730 # define LT_DLGLOBAL 0
11734 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11735 find out it does not work in some platform. */
11736 #ifndef LT_DLLAZY_OR_NOW
11738 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11741 # define LT_DLLAZY_OR_NOW DL_LAZY
11744 # define LT_DLLAZY_OR_NOW RTLD_NOW
11747 # define LT_DLLAZY_OR_NOW DL_NOW
11749 # define LT_DLLAZY_OR_NOW 0
11756 /* When -fvisbility=hidden is used, assume the code has been annotated
11757 correspondingly for the symbols needed. */
11758 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11759 int fnord () __attribute__((visibility("default")));
11762 int fnord () { return 42; }
11765 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11766 int status = $lt_dlunknown;
11770 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11773 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11774 else puts (dlerror ());
11776 /* dlclose (self); */
11784 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11785 (eval $ac_link) 2>&5
11787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11788 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11789 (./conftest; exit; ) >&5 2>/dev/null
11791 case x$lt_status in
11792 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11793 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11794 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11797 # compilation failed
11798 lt_cv_dlopen_self_static=no
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11806 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11809 CPPFLAGS="$save_CPPFLAGS"
11810 LDFLAGS="$save_LDFLAGS"
11815 case $lt_cv_dlopen_self in
11816 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11817 *) enable_dlopen_self=unknown ;;
11820 case $lt_cv_dlopen_self_static in
11821 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11822 *) enable_dlopen_self_static=unknown ;;
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11845 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11846 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11847 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11848 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11850 $as_echo "yes" >&6; }
11852 # FIXME - insert some real tests, host_os isn't really good enough
11855 if test -n "$STRIP" ; then
11856 striplib="$STRIP -x"
11857 old_striplib="$STRIP -S"
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11859 $as_echo "yes" >&6; }
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11862 $as_echo "no" >&6; }
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11867 $as_echo "no" >&6; }
11883 # Report which library types will actually be built
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11885 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11887 $as_echo "$can_build_shared" >&6; }
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11890 $as_echo_n "checking whether to build shared libraries... " >&6; }
11891 test "$can_build_shared" = "no" && enable_shared=no
11893 # On AIX, shared libraries and static libraries use the same namespace, and
11894 # are all built from PIC.
11897 test "$enable_shared" = yes && enable_static=no
11898 if test -n "$RANLIB"; then
11899 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11900 postinstall_cmds='$RANLIB $lib'
11905 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11906 test "$enable_shared" = yes && enable_static=no
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11911 $as_echo "$enable_shared" >&6; }
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11914 $as_echo_n "checking whether to build static libraries... " >&6; }
11915 # Make sure either enable_shared or enable_static is yes.
11916 test "$enable_shared" = yes || enable_static=yes
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11918 $as_echo "$enable_static" >&6; }
11925 ac_cpp='$CPP $CPPFLAGS'
11926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11946 ac_config_commands="$ac_config_commands libtool"
11951 # Only expand once:
11955 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11956 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11960 cat >>confdefs.h <<_ACEOF
11965 cat >>confdefs.h <<_ACEOF
11970 cat >>confdefs.h <<_ACEOF
11975 cat >>confdefs.h <<_ACEOF
11979 version_info="8:8:7"
11980 release_info="-release ver-pre-svn-07"
11983 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11984 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11992 want_gstreamer="yes"
11994 want_generic_vlc="no"
11998 want_gstreamer="yes"
11999 want_generic_vlc="yes"
12003 requirement_emotion=""
12005 ### Additional options to configure
12010 have_emotion_test="yes"
12013 # Check whether --enable-emotion-test was given.
12014 if test "${enable_emotion_test+set}" = set; then :
12015 enableval=$enable_emotion_test;
12016 if test "x${enableval}" = "xyes" ; then
12017 have_emotion_test="yes"
12019 have_emotion_test="no"
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build emotion_test binary" >&5
12026 $as_echo_n "checking whether to build emotion_test binary... " >&6; }
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_emotion_test" >&5
12028 $as_echo "$have_emotion_test" >&6; }
12030 if test "x$have_emotion_test" = "xyes"; then
12031 EMOTION_TEST_PRG=emotion_test${EXEEXT}
12036 if test "x$have_emotion_test" = "xyes"; then
12037 BUILD_EMOTION_TEST_TRUE=
12038 BUILD_EMOTION_TEST_FALSE='#'
12040 BUILD_EMOTION_TEST_TRUE='#'
12041 BUILD_EMOTION_TEST_FALSE=
12045 if test "x$have_emotion_test" = "xyes"; then :
12054 # Check whether --with-edje-cc was given.
12055 if test "${with_edje_cc+set}" = set; then :
12056 withval=$with_edje_cc;
12059 echo " Enlightenment edje_cc explicitly set to "$edje_cc;
12062 edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
12068 ### Checks for programs
12070 ac_cpp='$CPP $CPPFLAGS'
12071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12074 if test -n "$ac_tool_prefix"; then
12075 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12076 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12078 $as_echo_n "checking for $ac_word... " >&6; }
12079 if ${ac_cv_prog_CC+:} false; then :
12080 $as_echo_n "(cached) " >&6
12082 if test -n "$CC"; then
12083 ac_cv_prog_CC="$CC" # Let the user override the test.
12085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12086 for as_dir in $PATH
12089 test -z "$as_dir" && as_dir=.
12090 for ac_exec_ext in '' $ac_executable_extensions; do
12091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12092 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12103 if test -n "$CC"; then
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12105 $as_echo "$CC" >&6; }
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12108 $as_echo "no" >&6; }
12113 if test -z "$ac_cv_prog_CC"; then
12115 # Extract the first word of "gcc", so it can be a program name with args.
12116 set dummy gcc; ac_word=$2
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12118 $as_echo_n "checking for $ac_word... " >&6; }
12119 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12120 $as_echo_n "(cached) " >&6
12122 if test -n "$ac_ct_CC"; then
12123 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12126 for as_dir in $PATH
12129 test -z "$as_dir" && as_dir=.
12130 for ac_exec_ext in '' $ac_executable_extensions; do
12131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12132 ac_cv_prog_ac_ct_CC="gcc"
12133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12142 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12143 if test -n "$ac_ct_CC"; then
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12145 $as_echo "$ac_ct_CC" >&6; }
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12148 $as_echo "no" >&6; }
12151 if test "x$ac_ct_CC" = x; then
12154 case $cross_compiling:$ac_tool_warned in
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12158 ac_tool_warned=yes ;;
12163 CC="$ac_cv_prog_CC"
12166 if test -z "$CC"; then
12167 if test -n "$ac_tool_prefix"; then
12168 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12169 set dummy ${ac_tool_prefix}cc; ac_word=$2
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12171 $as_echo_n "checking for $ac_word... " >&6; }
12172 if ${ac_cv_prog_CC+:} false; then :
12173 $as_echo_n "(cached) " >&6
12175 if test -n "$CC"; then
12176 ac_cv_prog_CC="$CC" # Let the user override the test.
12178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12179 for as_dir in $PATH
12182 test -z "$as_dir" && as_dir=.
12183 for ac_exec_ext in '' $ac_executable_extensions; do
12184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12185 ac_cv_prog_CC="${ac_tool_prefix}cc"
12186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12196 if test -n "$CC"; then
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12198 $as_echo "$CC" >&6; }
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12201 $as_echo "no" >&6; }
12207 if test -z "$CC"; then
12208 # Extract the first word of "cc", so it can be a program name with args.
12209 set dummy cc; ac_word=$2
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12211 $as_echo_n "checking for $ac_word... " >&6; }
12212 if ${ac_cv_prog_CC+:} false; then :
12213 $as_echo_n "(cached) " >&6
12215 if test -n "$CC"; then
12216 ac_cv_prog_CC="$CC" # Let the user override the test.
12218 ac_prog_rejected=no
12219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12220 for as_dir in $PATH
12223 test -z "$as_dir" && as_dir=.
12224 for ac_exec_ext in '' $ac_executable_extensions; do
12225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12226 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12227 ac_prog_rejected=yes
12231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12238 if test $ac_prog_rejected = yes; then
12239 # We found a bogon in the path, so make sure we never use it.
12240 set dummy $ac_cv_prog_CC
12242 if test $# != 0; then
12243 # We chose a different compiler from the bogus one.
12244 # However, it has the same basename, so the bogon will be chosen
12245 # first if we set CC to just the basename; use the full file name.
12247 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12253 if test -n "$CC"; then
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12255 $as_echo "$CC" >&6; }
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12258 $as_echo "no" >&6; }
12263 if test -z "$CC"; then
12264 if test -n "$ac_tool_prefix"; then
12265 for ac_prog in cl.exe
12267 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12268 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12270 $as_echo_n "checking for $ac_word... " >&6; }
12271 if ${ac_cv_prog_CC+:} false; then :
12272 $as_echo_n "(cached) " >&6
12274 if test -n "$CC"; then
12275 ac_cv_prog_CC="$CC" # Let the user override the test.
12277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12278 for as_dir in $PATH
12281 test -z "$as_dir" && as_dir=.
12282 for ac_exec_ext in '' $ac_executable_extensions; do
12283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12284 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12295 if test -n "$CC"; then
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12297 $as_echo "$CC" >&6; }
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12300 $as_echo "no" >&6; }
12304 test -n "$CC" && break
12307 if test -z "$CC"; then
12309 for ac_prog in cl.exe
12311 # Extract the first word of "$ac_prog", so it can be a program name with args.
12312 set dummy $ac_prog; ac_word=$2
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12314 $as_echo_n "checking for $ac_word... " >&6; }
12315 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12316 $as_echo_n "(cached) " >&6
12318 if test -n "$ac_ct_CC"; then
12319 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12322 for as_dir in $PATH
12325 test -z "$as_dir" && as_dir=.
12326 for ac_exec_ext in '' $ac_executable_extensions; do
12327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12328 ac_cv_prog_ac_ct_CC="$ac_prog"
12329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12338 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12339 if test -n "$ac_ct_CC"; then
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12341 $as_echo "$ac_ct_CC" >&6; }
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12344 $as_echo "no" >&6; }
12348 test -n "$ac_ct_CC" && break
12351 if test "x$ac_ct_CC" = x; then
12354 case $cross_compiling:$ac_tool_warned in
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12358 ac_tool_warned=yes ;;
12367 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12369 as_fn_error $? "no acceptable C compiler found in \$PATH
12370 See \`config.log' for more details" "$LINENO" 5; }
12372 # Provide some information about the compiler.
12373 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12376 for ac_option in --version -v -V -qversion; do
12377 { { ac_try="$ac_compiler $ac_option >&5"
12378 case "(($ac_try" in
12379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12380 *) ac_try_echo=$ac_try;;
12382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12383 $as_echo "$ac_try_echo"; } >&5
12384 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12386 if test -s conftest.err; then
12388 ... rest of stderr output deleted ...
12389 10q' conftest.err >conftest.er1
12390 cat conftest.er1 >&5
12392 rm -f conftest.er1 conftest.err
12393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12394 test $ac_status = 0; }
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12398 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12399 if ${ac_cv_c_compiler_gnu+:} false; then :
12400 $as_echo_n "(cached) " >&6
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12416 if ac_fn_c_try_compile "$LINENO"; then :
12417 ac_compiler_gnu=yes
12421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12422 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12426 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12427 if test $ac_compiler_gnu = yes; then
12432 ac_test_CFLAGS=${CFLAGS+set}
12433 ac_save_CFLAGS=$CFLAGS
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12435 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12436 if ${ac_cv_prog_cc_g+:} false; then :
12437 $as_echo_n "(cached) " >&6
12439 ac_save_c_werror_flag=$ac_c_werror_flag
12440 ac_c_werror_flag=yes
12443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12444 /* end confdefs.h. */
12454 if ac_fn_c_try_compile "$LINENO"; then :
12455 ac_cv_prog_cc_g=yes
12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12469 if ac_fn_c_try_compile "$LINENO"; then :
12472 ac_c_werror_flag=$ac_save_c_werror_flag
12474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12475 /* end confdefs.h. */
12485 if ac_fn_c_try_compile "$LINENO"; then :
12486 ac_cv_prog_cc_g=yes
12488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12493 ac_c_werror_flag=$ac_save_c_werror_flag
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12496 $as_echo "$ac_cv_prog_cc_g" >&6; }
12497 if test "$ac_test_CFLAGS" = set; then
12498 CFLAGS=$ac_save_CFLAGS
12499 elif test $ac_cv_prog_cc_g = yes; then
12500 if test "$GCC" = yes; then
12506 if test "$GCC" = yes; then
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12513 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12514 if ${ac_cv_prog_cc_c89+:} false; then :
12515 $as_echo_n "(cached) " >&6
12517 ac_cv_prog_cc_c89=no
12519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12520 /* end confdefs.h. */
12521 #include <stdarg.h>
12524 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12525 struct buf { int x; };
12526 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12527 static char *e (p, i)
12533 static char *f (char * (*g) (char **, int), char **p, ...)
12538 s = g (p, va_arg (v,int));
12543 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12544 function prototypes and stuff, but not '\xHH' hex character constants.
12545 These don't provoke an error unfortunately, instead are silently treated
12546 as 'x'. The following induces an error, until -std is added to get
12547 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12548 array size at least. It's necessary to write '\x00'==0 to get something
12549 that's true only with -std. */
12550 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12552 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12553 inside strings and character constants. */
12555 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12557 int test (int i, double x);
12558 struct s1 {int (*f) (int a);};
12559 struct s2 {int (*f) (double a);};
12560 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12566 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12571 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12572 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12574 CC="$ac_save_CC $ac_arg"
12575 if ac_fn_c_try_compile "$LINENO"; then :
12576 ac_cv_prog_cc_c89=$ac_arg
12578 rm -f core conftest.err conftest.$ac_objext
12579 test "x$ac_cv_prog_cc_c89" != "xno" && break
12581 rm -f conftest.$ac_ext
12586 case "x$ac_cv_prog_cc_c89" in
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12589 $as_echo "none needed" >&6; } ;;
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12592 $as_echo "unsupported" >&6; } ;;
12594 CC="$CC $ac_cv_prog_cc_c89"
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12596 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12598 if test "x$ac_cv_prog_cc_c89" != xno; then :
12603 ac_cpp='$CPP $CPPFLAGS'
12604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12617 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12618 if test -n "$ac_tool_prefix"; then
12619 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12620 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12622 $as_echo_n "checking for $ac_word... " >&6; }
12623 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12624 $as_echo_n "(cached) " >&6
12626 case $PKG_CONFIG in
12628 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12632 for as_dir in $PATH
12635 test -z "$as_dir" && as_dir=.
12636 for ac_exec_ext in '' $ac_executable_extensions; do
12637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12638 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12649 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12650 if test -n "$PKG_CONFIG"; then
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12652 $as_echo "$PKG_CONFIG" >&6; }
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12655 $as_echo "no" >&6; }
12660 if test -z "$ac_cv_path_PKG_CONFIG"; then
12661 ac_pt_PKG_CONFIG=$PKG_CONFIG
12662 # Extract the first word of "pkg-config", so it can be a program name with args.
12663 set dummy pkg-config; ac_word=$2
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12665 $as_echo_n "checking for $ac_word... " >&6; }
12666 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12667 $as_echo_n "(cached) " >&6
12669 case $ac_pt_PKG_CONFIG in
12671 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12675 for as_dir in $PATH
12678 test -z "$as_dir" && as_dir=.
12679 for ac_exec_ext in '' $ac_executable_extensions; do
12680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12681 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12692 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12693 if test -n "$ac_pt_PKG_CONFIG"; then
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12695 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12698 $as_echo "no" >&6; }
12701 if test "x$ac_pt_PKG_CONFIG" = x; then
12704 case $cross_compiling:$ac_tool_warned in
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12708 ac_tool_warned=yes ;;
12710 PKG_CONFIG=$ac_pt_PKG_CONFIG
12713 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12717 if test -n "$PKG_CONFIG"; then
12718 _pkg_min_version=0.9.0
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12720 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12721 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12723 $as_echo "yes" >&6; }
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12726 $as_echo "no" >&6; }
12731 # Check whether pkg-config supports Requires.private
12732 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
12733 pkgconfig_requires_private="Requires.private"
12735 pkgconfig_requires_private="Requires"
12739 # doxygen program for documentation building
12743 # Check whether --enable-doc was given.
12744 if test "${enable_doc+set}" = set; then :
12745 enableval=$enable_doc;
12746 if test "x${enableval}" = "xyes" ; then
12747 efl_enable_doc="yes"
12749 efl_enable_doc="no"
12753 efl_enable_doc="yes"
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12758 $as_echo_n "checking whether to build documentation... " >&6; }
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12760 $as_echo "${efl_enable_doc}" >&6; }
12762 if test "x${efl_enable_doc}" = "xyes" ; then
12765 efl_doxygen="doxygen"
12768 # Check whether --with-doxygen was given.
12769 if test "${with_doxygen+set}" = set; then :
12770 withval=$with_doxygen;
12771 efl_doxygen=${withval}
12772 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12773 set dummy ${efl_doxygen}; ac_word=$2
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12775 $as_echo_n "checking for $ac_word... " >&6; }
12776 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12777 $as_echo_n "(cached) " >&6
12779 if test -n "$efl_have_doxygen"; then
12780 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12783 for as_dir in $PATH
12786 test -z "$as_dir" && as_dir=.
12787 for ac_exec_ext in '' $ac_executable_extensions; do
12788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12789 ac_cv_prog_efl_have_doxygen="yes"
12790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12797 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12800 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12801 if test -n "$efl_have_doxygen"; then
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12803 $as_echo "$efl_have_doxygen" >&6; }
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12806 $as_echo "no" >&6; }
12810 if test "x${efl_have_doxygen}" = "xno" ; then
12812 echo "The doxygen program you specified:"
12813 echo "${efl_doxygen}"
12814 echo "was not found. Please check the path and make sure "
12815 echo "the program exists and is executable."
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12817 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12821 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12822 set dummy ${efl_doxygen}; ac_word=$2
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12824 $as_echo_n "checking for $ac_word... " >&6; }
12825 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12826 $as_echo_n "(cached) " >&6
12828 if test -n "$efl_have_doxygen"; then
12829 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12832 for as_dir in $PATH
12835 test -z "$as_dir" && as_dir=.
12836 for ac_exec_ext in '' $ac_executable_extensions; do
12837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12838 ac_cv_prog_efl_have_doxygen="yes"
12839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12846 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12849 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12850 if test -n "$efl_have_doxygen"; then
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12852 $as_echo "$efl_have_doxygen" >&6; }
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12855 $as_echo "no" >&6; }
12859 if test "x${efl_have_doxygen}" = "xno" ; then
12861 echo "The doxygen program was not found in your execute path."
12862 echo "You may have doxygen installed somewhere not covered by your path."
12864 echo "If this is the case make sure you have the packages installed, AND"
12865 echo "that the doxygen program is in your execute path (see your"
12866 echo "shell manual page on setting the \$PATH environment variable), OR"
12867 echo "alternatively, specify the program to use with --with-doxygen."
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12869 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12875 efl_have_doxygen="no"
12880 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12881 efl_enable_doc="no"
12884 if test "x${efl_have_doxygen}" = "xyes"; then
12885 EFL_BUILD_DOC_TRUE=
12886 EFL_BUILD_DOC_FALSE='#'
12888 EFL_BUILD_DOC_TRUE='#'
12889 EFL_BUILD_DOC_FALSE=
12893 if test "x$efl_have_doxygen" = "xyes"; then :
12901 ### Checks for libraries
12903 requirement_emotion="ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8"
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMOTION" >&5
12907 $as_echo_n "checking for EMOTION... " >&6; }
12909 if test -n "$EMOTION_CFLAGS"; then
12910 pkg_cv_EMOTION_CFLAGS="$EMOTION_CFLAGS"
12911 elif test -n "$PKG_CONFIG"; then
12912 if test -n "$PKG_CONFIG" && \
12913 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_emotion}\""; } >&5
12914 ($PKG_CONFIG --exists --print-errors "${requirement_emotion}") 2>&5
12916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12917 test $ac_status = 0; }; then
12918 pkg_cv_EMOTION_CFLAGS=`$PKG_CONFIG --cflags "${requirement_emotion}" 2>/dev/null`
12919 test "x$?" != "x0" && pkg_failed=yes
12926 if test -n "$EMOTION_LIBS"; then
12927 pkg_cv_EMOTION_LIBS="$EMOTION_LIBS"
12928 elif test -n "$PKG_CONFIG"; then
12929 if test -n "$PKG_CONFIG" && \
12930 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_emotion}\""; } >&5
12931 ($PKG_CONFIG --exists --print-errors "${requirement_emotion}") 2>&5
12933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12934 test $ac_status = 0; }; then
12935 pkg_cv_EMOTION_LIBS=`$PKG_CONFIG --libs "${requirement_emotion}" 2>/dev/null`
12936 test "x$?" != "x0" && pkg_failed=yes
12946 if test $pkg_failed = yes; then
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12948 $as_echo "no" >&6; }
12950 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12951 _pkg_short_errors_supported=yes
12953 _pkg_short_errors_supported=no
12955 if test $_pkg_short_errors_supported = yes; then
12956 EMOTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${requirement_emotion}" 2>&1`
12958 EMOTION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${requirement_emotion}" 2>&1`
12960 # Put the nasty error message in config.log where it belongs
12961 echo "$EMOTION_PKG_ERRORS" >&5
12963 as_fn_error $? "Package requirements (${requirement_emotion}) were not met:
12965 $EMOTION_PKG_ERRORS
12967 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12968 installed software in a non-standard prefix.
12970 Alternatively, you may set the environment variables EMOTION_CFLAGS
12971 and EMOTION_LIBS to avoid the need to call pkg-config.
12972 See the pkg-config man page for more details." "$LINENO" 5
12973 elif test $pkg_failed = untried; then
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12975 $as_echo "no" >&6; }
12976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12978 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12979 is in your PATH or set the PKG_CONFIG environment variable to the full
12980 path to pkg-config.
12982 Alternatively, you may set the environment variables EMOTION_CFLAGS
12983 and EMOTION_LIBS to avoid the need to call pkg-config.
12984 See the pkg-config man page for more details.
12986 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12987 See \`config.log' for more details" "$LINENO" 5; }
12989 EMOTION_CFLAGS=$pkg_cv_EMOTION_CFLAGS
12990 EMOTION_LIBS=$pkg_cv_EMOTION_LIBS
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12992 $as_echo "yes" >&6; }
12997 if test "x${have_emotion_test}" = "xyes" ; then
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMOTION_BIN" >&5
13001 $as_echo_n "checking for EMOTION_BIN... " >&6; }
13003 if test -n "$EMOTION_BIN_CFLAGS"; then
13004 pkg_cv_EMOTION_BIN_CFLAGS="$EMOTION_BIN_CFLAGS"
13005 elif test -n "$PKG_CONFIG"; then
13006 if test -n "$PKG_CONFIG" && \
13007 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.7.8 evas >= 1.7.8 ecore >= 1.7.8 ecore-evas >= 1.7.8 edje >= 1.7.8\""; } >&5
13008 ($PKG_CONFIG --exists --print-errors "eina >= 1.7.8 evas >= 1.7.8 ecore >= 1.7.8 ecore-evas >= 1.7.8 edje >= 1.7.8") 2>&5
13010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13011 test $ac_status = 0; }; then
13012 pkg_cv_EMOTION_BIN_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.7.8 evas >= 1.7.8 ecore >= 1.7.8 ecore-evas >= 1.7.8 edje >= 1.7.8" 2>/dev/null`
13013 test "x$?" != "x0" && pkg_failed=yes
13020 if test -n "$EMOTION_BIN_LIBS"; then
13021 pkg_cv_EMOTION_BIN_LIBS="$EMOTION_BIN_LIBS"
13022 elif test -n "$PKG_CONFIG"; then
13023 if test -n "$PKG_CONFIG" && \
13024 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.7.8 evas >= 1.7.8 ecore >= 1.7.8 ecore-evas >= 1.7.8 edje >= 1.7.8\""; } >&5
13025 ($PKG_CONFIG --exists --print-errors "eina >= 1.7.8 evas >= 1.7.8 ecore >= 1.7.8 ecore-evas >= 1.7.8 edje >= 1.7.8") 2>&5
13027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13028 test $ac_status = 0; }; then
13029 pkg_cv_EMOTION_BIN_LIBS=`$PKG_CONFIG --libs "eina >= 1.7.8 evas >= 1.7.8 ecore >= 1.7.8 ecore-evas >= 1.7.8 edje >= 1.7.8" 2>/dev/null`
13030 test "x$?" != "x0" && pkg_failed=yes
13040 if test $pkg_failed = yes; then
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13042 $as_echo "no" >&6; }
13044 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13045 _pkg_short_errors_supported=yes
13047 _pkg_short_errors_supported=no
13049 if test $_pkg_short_errors_supported = yes; then
13050 EMOTION_BIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eina >= 1.7.8 evas >= 1.7.8 ecore >= 1.7.8 ecore-evas >= 1.7.8 edje >= 1.7.8" 2>&1`
13052 EMOTION_BIN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eina >= 1.7.8 evas >= 1.7.8 ecore >= 1.7.8 ecore-evas >= 1.7.8 edje >= 1.7.8" 2>&1`
13054 # Put the nasty error message in config.log where it belongs
13055 echo "$EMOTION_BIN_PKG_ERRORS" >&5
13057 as_fn_error $? "Package requirements (eina >= 1.7.8 evas >= 1.7.8 ecore >= 1.7.8 ecore-evas >= 1.7.8 edje >= 1.7.8) were not met:
13059 $EMOTION_BIN_PKG_ERRORS
13061 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13062 installed software in a non-standard prefix.
13064 Alternatively, you may set the environment variables EMOTION_BIN_CFLAGS
13065 and EMOTION_BIN_LIBS to avoid the need to call pkg-config.
13066 See the pkg-config man page for more details." "$LINENO" 5
13067 elif test $pkg_failed = untried; then
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13069 $as_echo "no" >&6; }
13070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13072 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13073 is in your PATH or set the PKG_CONFIG environment variable to the full
13074 path to pkg-config.
13076 Alternatively, you may set the environment variables EMOTION_BIN_CFLAGS
13077 and EMOTION_BIN_LIBS to avoid the need to call pkg-config.
13078 See the pkg-config man page for more details.
13080 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13081 See \`config.log' for more details" "$LINENO" 5; }
13083 EMOTION_BIN_CFLAGS=$pkg_cv_EMOTION_BIN_CFLAGS
13084 EMOTION_BIN_LIBS=$pkg_cv_EMOTION_BIN_LIBS
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13086 $as_echo "yes" >&6; }
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_X" >&5
13094 $as_echo_n "checking for ECORE_X... " >&6; }
13096 if test -n "$ECORE_X_CFLAGS"; then
13097 pkg_cv_ECORE_X_CFLAGS="$ECORE_X_CFLAGS"
13098 elif test -n "$PKG_CONFIG"; then
13099 if test -n "$PKG_CONFIG" && \
13100 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.7.8 ecore-evas >= 1.7.8\""; } >&5
13101 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.7.8 ecore-evas >= 1.7.8") 2>&5
13103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13104 test $ac_status = 0; }; then
13105 pkg_cv_ECORE_X_CFLAGS=`$PKG_CONFIG --cflags "ecore-x >= 1.7.8 ecore-evas >= 1.7.8" 2>/dev/null`
13106 test "x$?" != "x0" && pkg_failed=yes
13113 if test -n "$ECORE_X_LIBS"; then
13114 pkg_cv_ECORE_X_LIBS="$ECORE_X_LIBS"
13115 elif test -n "$PKG_CONFIG"; then
13116 if test -n "$PKG_CONFIG" && \
13117 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.7.8 ecore-evas >= 1.7.8\""; } >&5
13118 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.7.8 ecore-evas >= 1.7.8") 2>&5
13120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13121 test $ac_status = 0; }; then
13122 pkg_cv_ECORE_X_LIBS=`$PKG_CONFIG --libs "ecore-x >= 1.7.8 ecore-evas >= 1.7.8" 2>/dev/null`
13123 test "x$?" != "x0" && pkg_failed=yes
13133 if test $pkg_failed = yes; then
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13135 $as_echo "no" >&6; }
13137 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13138 _pkg_short_errors_supported=yes
13140 _pkg_short_errors_supported=no
13142 if test $_pkg_short_errors_supported = yes; then
13143 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-x >= 1.7.8 ecore-evas >= 1.7.8" 2>&1`
13145 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-x >= 1.7.8 ecore-evas >= 1.7.8" 2>&1`
13147 # Put the nasty error message in config.log where it belongs
13148 echo "$ECORE_X_PKG_ERRORS" >&5
13151 elif test $pkg_failed = untried; then
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13153 $as_echo "no" >&6; }
13156 ECORE_X_CFLAGS=$pkg_cv_ECORE_X_CFLAGS
13157 ECORE_X_LIBS=$pkg_cv_ECORE_X_LIBS
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13159 $as_echo "yes" >&6; }
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_FB" >&5
13166 $as_echo_n "checking for ECORE_FB... " >&6; }
13168 if test -n "$ECORE_FB_CFLAGS"; then
13169 pkg_cv_ECORE_FB_CFLAGS="$ECORE_FB_CFLAGS"
13170 elif test -n "$PKG_CONFIG"; then
13171 if test -n "$PKG_CONFIG" && \
13172 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.7.8\""; } >&5
13173 ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.7.8") 2>&5
13175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13176 test $ac_status = 0; }; then
13177 pkg_cv_ECORE_FB_CFLAGS=`$PKG_CONFIG --cflags "ecore-fb >= 1.7.8" 2>/dev/null`
13178 test "x$?" != "x0" && pkg_failed=yes
13185 if test -n "$ECORE_FB_LIBS"; then
13186 pkg_cv_ECORE_FB_LIBS="$ECORE_FB_LIBS"
13187 elif test -n "$PKG_CONFIG"; then
13188 if test -n "$PKG_CONFIG" && \
13189 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.7.8\""; } >&5
13190 ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.7.8") 2>&5
13192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13193 test $ac_status = 0; }; then
13194 pkg_cv_ECORE_FB_LIBS=`$PKG_CONFIG --libs "ecore-fb >= 1.7.8" 2>/dev/null`
13195 test "x$?" != "x0" && pkg_failed=yes
13205 if test $pkg_failed = yes; then
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13207 $as_echo "no" >&6; }
13209 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13210 _pkg_short_errors_supported=yes
13212 _pkg_short_errors_supported=no
13214 if test $_pkg_short_errors_supported = yes; then
13215 ECORE_FB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-fb >= 1.7.8" 2>&1`
13217 ECORE_FB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-fb >= 1.7.8" 2>&1`
13219 # Put the nasty error message in config.log where it belongs
13220 echo "$ECORE_FB_PKG_ERRORS" >&5
13223 elif test $pkg_failed = untried; then
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13225 $as_echo "no" >&6; }
13228 ECORE_FB_CFLAGS=$pkg_cv_ECORE_FB_CFLAGS
13229 ECORE_FB_LIBS=$pkg_cv_ECORE_FB_LIBS
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13231 $as_echo "yes" >&6; }
13232 have_ecore_fb="yes"
13235 if test "x${have_ecore_x}" = "xyes" ; then
13237 $as_echo "#define EMOTION_HAVE_ECORE_X 1" >>confdefs.h
13241 if test "x${have_ecore_fb}" = "xyes" ; then
13243 $as_echo "#define EMOTION_HAVE_ECORE_FB 1" >>confdefs.h
13247 if test -n "$PKG_CONFIG" && \
13248 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-x11 >= 1.7.8\""; } >&5
13249 ($PKG_CONFIG --exists --print-errors "evas-software-x11 >= 1.7.8") 2>&5
13251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13252 test $ac_status = 0; }; then
13254 $as_echo "#define HAVE_EVAS_SOFWARE_X11 1" >>confdefs.h
13258 if test -n "$PKG_CONFIG" && \
13259 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-xrender-x11 >= 1.7.8\""; } >&5
13260 ($PKG_CONFIG --exists --print-errors "evas-xrender-x11 >= 1.7.8") 2>&5
13262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13263 test $ac_status = 0; }; then
13265 $as_echo "#define HAVE_EVAS_XRENDER_X11 1" >>confdefs.h
13269 if test -n "$PKG_CONFIG" && \
13270 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-x11 >= 1.7.8\""; } >&5
13271 ($PKG_CONFIG --exists --print-errors "evas-opengl-x11 >= 1.7.8") 2>&5
13273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13274 test $ac_status = 0; }; then
13276 $as_echo "#define HAVE_EVAS_OPENGL_X11 1" >>confdefs.h
13280 if test -n "$PKG_CONFIG" && \
13281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-fb >= 1.7.8\""; } >&5
13282 ($PKG_CONFIG --exists --print-errors "evas-fb >= 1.7.8") 2>&5
13284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13285 test $ac_status = 0; }; then
13287 $as_echo "#define HAVE_EVAS_FB 1" >>confdefs.h
13293 # Check whether --enable-edje-external was given.
13294 if test "${enable_edje_external+set}" = set; then :
13295 enableval=$enable_edje_external;
13296 if test "x${enableval}" = "xyes" ; then
13297 _efl_want_edje_external="yes"
13299 _efl_want_edje_external="no"
13303 _efl_want_edje_external="auto"
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if should provide Edje EXTERNAL support..." >&5
13308 $as_echo_n "checking if should provide Edje EXTERNAL support...... " >&6; }
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_want_edje_external}" >&5
13310 $as_echo "${_efl_want_edje_external}" >&6; }
13312 _efl_enable_edje_external="no"
13313 if ! test "x${_efl_want_edje_external}" = "xno" ; then
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_EXTERNAL" >&5
13317 $as_echo_n "checking for EDJE_EXTERNAL... " >&6; }
13319 if test -n "$EDJE_EXTERNAL_CFLAGS"; then
13320 pkg_cv_EDJE_EXTERNAL_CFLAGS="$EDJE_EXTERNAL_CFLAGS"
13321 elif test -n "$PKG_CONFIG"; then
13322 if test -n "$PKG_CONFIG" && \
13323 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje >= 1.0.0\""; } >&5
13324 ($PKG_CONFIG --exists --print-errors "edje >= 1.0.0") 2>&5
13326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13327 test $ac_status = 0; }; then
13328 pkg_cv_EDJE_EXTERNAL_CFLAGS=`$PKG_CONFIG --cflags "edje >= 1.0.0" 2>/dev/null`
13329 test "x$?" != "x0" && pkg_failed=yes
13336 if test -n "$EDJE_EXTERNAL_LIBS"; then
13337 pkg_cv_EDJE_EXTERNAL_LIBS="$EDJE_EXTERNAL_LIBS"
13338 elif test -n "$PKG_CONFIG"; then
13339 if test -n "$PKG_CONFIG" && \
13340 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje >= 1.0.0\""; } >&5
13341 ($PKG_CONFIG --exists --print-errors "edje >= 1.0.0") 2>&5
13343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13344 test $ac_status = 0; }; then
13345 pkg_cv_EDJE_EXTERNAL_LIBS=`$PKG_CONFIG --libs "edje >= 1.0.0" 2>/dev/null`
13346 test "x$?" != "x0" && pkg_failed=yes
13356 if test $pkg_failed = yes; then
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13358 $as_echo "no" >&6; }
13360 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13361 _pkg_short_errors_supported=yes
13363 _pkg_short_errors_supported=no
13365 if test $_pkg_short_errors_supported = yes; then
13366 EDJE_EXTERNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "edje >= 1.0.0" 2>&1`
13368 EDJE_EXTERNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "edje >= 1.0.0" 2>&1`
13370 # Put the nasty error message in config.log where it belongs
13371 echo "$EDJE_EXTERNAL_PKG_ERRORS" >&5
13373 _efl_enable_edje_external="no"
13374 elif test $pkg_failed = untried; then
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13376 $as_echo "no" >&6; }
13377 _efl_enable_edje_external="no"
13379 EDJE_EXTERNAL_CFLAGS=$pkg_cv_EDJE_EXTERNAL_CFLAGS
13380 EDJE_EXTERNAL_LIBS=$pkg_cv_EDJE_EXTERNAL_LIBS
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13382 $as_echo "yes" >&6; }
13383 _efl_enable_edje_external="yes"
13390 if test "x${_efl_want_edje_external}" = "xyes" && test "x${_efl_enable_edje_external}" = "xno" ; then
13391 as_fn_error $? "Edje EXTERNAL support requested, but Edje not found by pkg-config." "$LINENO" 5
13394 if test "x${_efl_enable_edje_external}" = "xyes" ; then
13395 EDJE_VERSION=`${PKG_CONFIG} edje --modversion | awk -F . '{printf("%s.0.0", $1);}'`
13396 MODULE_EDJE="$host_os-$host_cpu-${EDJE_VERSION}"
13398 cat >>confdefs.h <<_ACEOF
13399 #define MODULE_EDJE "$MODULE_EDJE"
13406 if test "x${_efl_enable_edje_external}" = "xyes"; then
13407 ENABLE_EDJE_EXTERNAL_TRUE=
13408 ENABLE_EDJE_EXTERNAL_FALSE='#'
13410 ENABLE_EDJE_EXTERNAL_TRUE='#'
13411 ENABLE_EDJE_EXTERNAL_FALSE=
13415 if test "x${_efl_enable_edje_external}" = "xyes"; then :
13416 have_edje_external="yes"
13418 have_edje_external="no"
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EEZE" >&5
13426 $as_echo_n "checking for EEZE... " >&6; }
13428 if test -n "$EEZE_CFLAGS"; then
13429 pkg_cv_EEZE_CFLAGS="$EEZE_CFLAGS"
13430 elif test -n "$PKG_CONFIG"; then
13431 if test -n "$PKG_CONFIG" && \
13432 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eeze >= 1.7.8\""; } >&5
13433 ($PKG_CONFIG --exists --print-errors "eeze >= 1.7.8") 2>&5
13435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13436 test $ac_status = 0; }; then
13437 pkg_cv_EEZE_CFLAGS=`$PKG_CONFIG --cflags "eeze >= 1.7.8" 2>/dev/null`
13438 test "x$?" != "x0" && pkg_failed=yes
13445 if test -n "$EEZE_LIBS"; then
13446 pkg_cv_EEZE_LIBS="$EEZE_LIBS"
13447 elif test -n "$PKG_CONFIG"; then
13448 if test -n "$PKG_CONFIG" && \
13449 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eeze >= 1.7.8\""; } >&5
13450 ($PKG_CONFIG --exists --print-errors "eeze >= 1.7.8") 2>&5
13452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13453 test $ac_status = 0; }; then
13454 pkg_cv_EEZE_LIBS=`$PKG_CONFIG --libs "eeze >= 1.7.8" 2>/dev/null`
13455 test "x$?" != "x0" && pkg_failed=yes
13465 if test $pkg_failed = yes; then
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13467 $as_echo "no" >&6; }
13469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13470 _pkg_short_errors_supported=yes
13472 _pkg_short_errors_supported=no
13474 if test $_pkg_short_errors_supported = yes; then
13475 EEZE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eeze >= 1.7.8" 2>&1`
13477 EEZE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eeze >= 1.7.8" 2>&1`
13479 # Put the nasty error message in config.log where it belongs
13480 echo "$EEZE_PKG_ERRORS" >&5
13483 elif test $pkg_failed = untried; then
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13485 $as_echo "no" >&6; }
13488 EEZE_CFLAGS=$pkg_cv_EEZE_CFLAGS
13489 EEZE_LIBS=$pkg_cv_EEZE_LIBS
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13491 $as_echo "yes" >&6; }
13495 if test "x${have_eeze}" = "xyes"; then
13497 $as_echo "#define EMOTION_HAVE_EEZE 1" >>confdefs.h
13499 requirement_emotion="${requirement_emotion} eeze >= 1.7.8"
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
13505 $as_echo_n "checking for EIO... " >&6; }
13507 if test -n "$EIO_CFLAGS"; then
13508 pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
13509 elif test -n "$PKG_CONFIG"; then
13510 if test -n "$PKG_CONFIG" && \
13511 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.7.8\""; } >&5
13512 ($PKG_CONFIG --exists --print-errors "eio >= 1.7.8") 2>&5
13514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13515 test $ac_status = 0; }; then
13516 pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "eio >= 1.7.8" 2>/dev/null`
13517 test "x$?" != "x0" && pkg_failed=yes
13524 if test -n "$EIO_LIBS"; then
13525 pkg_cv_EIO_LIBS="$EIO_LIBS"
13526 elif test -n "$PKG_CONFIG"; then
13527 if test -n "$PKG_CONFIG" && \
13528 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.7.8\""; } >&5
13529 ($PKG_CONFIG --exists --print-errors "eio >= 1.7.8") 2>&5
13531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13532 test $ac_status = 0; }; then
13533 pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "eio >= 1.7.8" 2>/dev/null`
13534 test "x$?" != "x0" && pkg_failed=yes
13544 if test $pkg_failed = yes; then
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13546 $as_echo "no" >&6; }
13548 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13549 _pkg_short_errors_supported=yes
13551 _pkg_short_errors_supported=no
13553 if test $_pkg_short_errors_supported = yes; then
13554 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eio >= 1.7.8" 2>&1`
13556 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eio >= 1.7.8" 2>&1`
13558 # Put the nasty error message in config.log where it belongs
13559 echo "$EIO_PKG_ERRORS" >&5
13562 elif test $pkg_failed = untried; then
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13564 $as_echo "no" >&6; }
13567 EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
13568 EIO_LIBS=$pkg_cv_EIO_LIBS
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13570 $as_echo "yes" >&6; }
13573 if test "x${have_eio}" = "xyes"; then
13575 $as_echo "#define HAVE_EIO 1" >>confdefs.h
13577 requirement_emotion="eio >= 1.7.8 ${requirement_emotion}"
13580 if test "x${have_eio}" = "xyes"; then
13589 # ecore-x availability, used for XV, VAAPI, VDPAU output.
13592 # Check whether --enable-ecore-x was given.
13593 if test "${enable_ecore_x+set}" = set; then :
13594 enableval=$enable_ecore_x;
13595 if test "x${enableval}" = "xyes" || test "x${enableval}" = "xauto" ; then
13596 want_ecore_x=${enableval}
13602 want_ecore_x="auto"
13606 if ! test "x$want_ecore_x" = "xno" ; then
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_X" >&5
13610 $as_echo_n "checking for ECORE_X... " >&6; }
13612 if test -n "$ECORE_X_CFLAGS"; then
13613 pkg_cv_ECORE_X_CFLAGS="$ECORE_X_CFLAGS"
13614 elif test -n "$PKG_CONFIG"; then
13615 if test -n "$PKG_CONFIG" && \
13616 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.7.8\""; } >&5
13617 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.7.8") 2>&5
13619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13620 test $ac_status = 0; }; then
13621 pkg_cv_ECORE_X_CFLAGS=`$PKG_CONFIG --cflags "ecore-x >= 1.7.8" 2>/dev/null`
13622 test "x$?" != "x0" && pkg_failed=yes
13629 if test -n "$ECORE_X_LIBS"; then
13630 pkg_cv_ECORE_X_LIBS="$ECORE_X_LIBS"
13631 elif test -n "$PKG_CONFIG"; then
13632 if test -n "$PKG_CONFIG" && \
13633 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.7.8\""; } >&5
13634 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.7.8") 2>&5
13636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13637 test $ac_status = 0; }; then
13638 pkg_cv_ECORE_X_LIBS=`$PKG_CONFIG --libs "ecore-x >= 1.7.8" 2>/dev/null`
13639 test "x$?" != "x0" && pkg_failed=yes
13649 if test $pkg_failed = yes; then
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13651 $as_echo "no" >&6; }
13653 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13654 _pkg_short_errors_supported=yes
13656 _pkg_short_errors_supported=no
13658 if test $_pkg_short_errors_supported = yes; then
13659 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-x >= 1.7.8" 2>&1`
13661 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-x >= 1.7.8" 2>&1`
13663 # Put the nasty error message in config.log where it belongs
13664 echo "$ECORE_X_PKG_ERRORS" >&5
13668 elif test $pkg_failed = untried; then
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13670 $as_echo "no" >&6; }
13674 ECORE_X_CFLAGS=$pkg_cv_ECORE_X_CFLAGS
13675 ECORE_X_LIBS=$pkg_cv_ECORE_X_LIBS
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13677 $as_echo "yes" >&6; }
13680 $as_echo "#define HAVE_ECORE_X 1" >>confdefs.h
13683 requirement_elm="ecore-x >= 1.7.8 ${requirement_elm}"
13690 if test "x$want_ecore_x" = "xyes" && test "x$have_ecore_x" = "xno" ; then
13691 as_fn_error $? "ecore-x support requested, but not found by pkg-config." "$LINENO" 5
13694 ### Checks for header files
13696 for ac_header in unistd.h
13698 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
13699 if test "x$ac_cv_header_unistd_h" = xyes; then :
13700 cat >>confdefs.h <<_ACEOF
13701 #define HAVE_UNISTD_H 1
13709 # Check for video4linux
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for V4L2" >&5
13712 $as_echo_n "checking for V4L2... " >&6; }
13713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13714 /* end confdefs.h. */
13717 #include <linux/videodev2.h>
13723 fprintf(stdout, "%i\n", V4L2_CAP_VIDEO_CAPTURE);
13729 if ac_fn_c_try_compile "$LINENO"; then :
13732 $as_echo "#define HAVE_V4L2 1" >>confdefs.h
13739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_v4l2}" >&5
13741 $as_echo "${have_v4l2}" >&6; }
13743 ### Checks for types
13746 ### Checks for structures
13749 ### Checks for compiler characteristics
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13751 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13752 if ${ac_cv_c_bigendian+:} false; then :
13753 $as_echo_n "(cached) " >&6
13755 ac_cv_c_bigendian=unknown
13756 # See if we're dealing with a universal compiler.
13757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13758 /* end confdefs.h. */
13759 #ifndef __APPLE_CC__
13760 not a universal capable compiler
13765 if ac_fn_c_try_compile "$LINENO"; then :
13767 # Check for potential -arch flags. It is not universal unless
13768 # there are at least two -arch flags with different values.
13771 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13772 if test -n "$ac_prev"; then
13774 i?86 | x86_64 | ppc | ppc64)
13775 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13778 ac_cv_c_bigendian=universal
13784 elif test "x$ac_word" = "x-arch"; then
13789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13790 if test $ac_cv_c_bigendian = unknown; then
13791 # See if sys/param.h defines the BYTE_ORDER macro.
13792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13793 /* end confdefs.h. */
13794 #include <sys/types.h>
13795 #include <sys/param.h>
13800 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13801 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13803 bogus endian macros
13810 if ac_fn_c_try_compile "$LINENO"; then :
13811 # It does; now see whether it defined to BIG_ENDIAN or not.
13812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h. */
13814 #include <sys/types.h>
13815 #include <sys/param.h>
13820 #if BYTE_ORDER != BIG_ENDIAN
13828 if ac_fn_c_try_compile "$LINENO"; then :
13829 ac_cv_c_bigendian=yes
13831 ac_cv_c_bigendian=no
13833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13837 if test $ac_cv_c_bigendian = unknown; then
13838 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h. */
13841 #include <limits.h>
13846 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13847 bogus endian macros
13854 if ac_fn_c_try_compile "$LINENO"; then :
13855 # It does; now see whether it defined to _BIG_ENDIAN or not.
13856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13857 /* end confdefs.h. */
13858 #include <limits.h>
13863 #ifndef _BIG_ENDIAN
13871 if ac_fn_c_try_compile "$LINENO"; then :
13872 ac_cv_c_bigendian=yes
13874 ac_cv_c_bigendian=no
13876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13880 if test $ac_cv_c_bigendian = unknown; then
13881 # Compile a test program.
13882 if test "$cross_compiling" = yes; then :
13883 # Try to guess by grepping values from an object file.
13884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h. */
13886 short int ascii_mm[] =
13887 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13888 short int ascii_ii[] =
13889 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13890 int use_ascii (int i) {
13891 return ascii_mm[i] + ascii_ii[i];
13893 short int ebcdic_ii[] =
13894 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13895 short int ebcdic_mm[] =
13896 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13897 int use_ebcdic (int i) {
13898 return ebcdic_mm[i] + ebcdic_ii[i];
13905 return use_ascii (foo) == use_ebcdic (foo);
13910 if ac_fn_c_try_compile "$LINENO"; then :
13911 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13912 ac_cv_c_bigendian=yes
13914 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13915 if test "$ac_cv_c_bigendian" = unknown; then
13916 ac_cv_c_bigendian=no
13918 # finding both strings is unlikely to happen, but who knows?
13919 ac_cv_c_bigendian=unknown
13923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13926 /* end confdefs.h. */
13927 $ac_includes_default
13932 /* Are we little or big endian? From Harbison&Steele. */
13936 char c[sizeof (long int)];
13939 return u.c[sizeof (long int) - 1] == 1;
13945 if ac_fn_c_try_run "$LINENO"; then :
13946 ac_cv_c_bigendian=no
13948 ac_cv_c_bigendian=yes
13950 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13951 conftest.$ac_objext conftest.beam conftest.$ac_ext
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13957 $as_echo "$ac_cv_c_bigendian" >&6; }
13958 case $ac_cv_c_bigendian in #(
13960 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13966 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13970 as_fn_error $? "unknown endianness
13971 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
13977 $as_echo_n "checking for __attribute__... " >&6; }
13979 if ${ac_cv___attribute__+:} false; then :
13980 $as_echo_n "(cached) " >&6
13982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13985 #include <stdlib.h>
13988 int foo(int x __attribute__ ((unused)))
14001 if ac_fn_c_try_compile "$LINENO"; then :
14002 ac_cv___attribute__="yes"
14004 ac_cv___attribute__="no"
14007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
14013 $as_echo "$ac_cv___attribute__" >&6; }
14015 if test "x${ac_cv___attribute__}" = "xyes" ; then
14017 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
14020 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
14024 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
14030 EFL_EMOTION_BUILD=""
14033 EMOTION_CPPFLAGS="-D_WIN32_WCE=0x0420"
14034 EFL_EMOTION_BUILD="-DEFL_EMOTION_BUILD"
14037 EMOTION_CPPFLAGS="-D_WIN32_WINNT=0x0501"
14038 EFL_EMOTION_BUILD="-DEFL_EMOTION_BUILD"
14045 ### Checks for linker characteristics
14047 # use --enable-auto-import on Windows
14049 lt_enable_auto_import=""
14052 lt_enable_auto_import="-Wl,--enable-auto-import"
14058 ### Checks for library functions
14059 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14060 if test "x$ac_cv_type_size_t" = xyes; then :
14064 cat >>confdefs.h <<_ACEOF
14065 #define size_t unsigned int
14070 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14071 # for constant arguments. Useless!
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
14073 $as_echo_n "checking for working alloca.h... " >&6; }
14074 if ${ac_cv_working_alloca_h+:} false; then :
14075 $as_echo_n "(cached) " >&6
14077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14078 /* end confdefs.h. */
14079 #include <alloca.h>
14083 char *p = (char *) alloca (2 * sizeof (int));
14089 if ac_fn_c_try_link "$LINENO"; then :
14090 ac_cv_working_alloca_h=yes
14092 ac_cv_working_alloca_h=no
14094 rm -f core conftest.err conftest.$ac_objext \
14095 conftest$ac_exeext conftest.$ac_ext
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
14098 $as_echo "$ac_cv_working_alloca_h" >&6; }
14099 if test $ac_cv_working_alloca_h = yes; then
14101 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
14106 $as_echo_n "checking for alloca... " >&6; }
14107 if ${ac_cv_func_alloca_works+:} false; then :
14108 $as_echo_n "(cached) " >&6
14110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14111 /* end confdefs.h. */
14113 # define alloca __builtin_alloca
14116 # include <malloc.h>
14117 # define alloca _alloca
14119 # ifdef HAVE_ALLOCA_H
14120 # include <alloca.h>
14125 # ifndef alloca /* predefined by HP cc +Olibcalls */
14126 void *alloca (size_t);
14136 char *p = (char *) alloca (1);
14142 if ac_fn_c_try_link "$LINENO"; then :
14143 ac_cv_func_alloca_works=yes
14145 ac_cv_func_alloca_works=no
14147 rm -f core conftest.err conftest.$ac_objext \
14148 conftest$ac_exeext conftest.$ac_ext
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
14151 $as_echo "$ac_cv_func_alloca_works" >&6; }
14153 if test $ac_cv_func_alloca_works = yes; then
14155 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
14158 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14159 # that cause trouble. Some versions do not even contain alloca or
14160 # contain a buggy version. If you still want to use their alloca,
14161 # use ar to extract alloca.o from them instead of compiling alloca.c.
14163 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
14165 $as_echo "#define C_ALLOCA 1" >>confdefs.h
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
14169 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
14170 if ${ac_cv_os_cray+:} false; then :
14171 $as_echo_n "(cached) " >&6
14173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14174 /* end confdefs.h. */
14175 #if defined CRAY && ! defined CRAY2
14182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14183 $EGREP "webecray" >/dev/null 2>&1; then :
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
14192 $as_echo "$ac_cv_os_cray" >&6; }
14193 if test $ac_cv_os_cray = yes; then
14194 for ac_func in _getb67 GETB67 getb67; do
14195 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14196 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14197 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14199 cat >>confdefs.h <<_ACEOF
14200 #define CRAY_STACKSEG_END $ac_func
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
14210 $as_echo_n "checking stack direction for C alloca... " >&6; }
14211 if ${ac_cv_c_stack_direction+:} false; then :
14212 $as_echo_n "(cached) " >&6
14214 if test "$cross_compiling" = yes; then :
14215 ac_cv_c_stack_direction=0
14217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14218 /* end confdefs.h. */
14219 $ac_includes_default
14221 find_stack_direction (int *addr, int depth)
14223 int dir, dummy = 0;
14226 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
14227 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
14228 return dir + dummy;
14232 main (int argc, char **argv)
14234 return find_stack_direction (0, argc + !argv + 20) < 0;
14237 if ac_fn_c_try_run "$LINENO"; then :
14238 ac_cv_c_stack_direction=1
14240 ac_cv_c_stack_direction=-1
14242 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14243 conftest.$ac_objext conftest.beam conftest.$ac_ext
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
14248 $as_echo "$ac_cv_c_stack_direction" >&6; }
14249 cat >>confdefs.h <<_ACEOF
14250 #define STACK_DIRECTION $ac_cv_c_stack_direction
14262 want_module="${want_xine}"
14264 # Check whether --enable-xine was given.
14265 if test "${enable_xine+set}" = set; then :
14266 enableval=$enable_xine;
14267 if test "x${enableval}" = "xyes" ; then
14268 enable_module="yes"
14270 if test "x${enableval}" = "xstatic" ; then
14271 enable_module="static"
14278 enable_module="yes"
14282 if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
14287 if test "x${want_module}" = "xyes" && (test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic") ; then
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XINE" >&5
14295 $as_echo_n "checking for XINE... " >&6; }
14297 if test -n "$XINE_CFLAGS"; then
14298 pkg_cv_XINE_CFLAGS="$XINE_CFLAGS"
14299 elif test -n "$PKG_CONFIG"; then
14300 if test -n "$PKG_CONFIG" && \
14301 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxine >= 1.1.1 evas >= 1.0.0\""; } >&5
14302 ($PKG_CONFIG --exists --print-errors "libxine >= 1.1.1 evas >= 1.0.0") 2>&5
14304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14305 test $ac_status = 0; }; then
14306 pkg_cv_XINE_CFLAGS=`$PKG_CONFIG --cflags "libxine >= 1.1.1 evas >= 1.0.0" 2>/dev/null`
14307 test "x$?" != "x0" && pkg_failed=yes
14314 if test -n "$XINE_LIBS"; then
14315 pkg_cv_XINE_LIBS="$XINE_LIBS"
14316 elif test -n "$PKG_CONFIG"; then
14317 if test -n "$PKG_CONFIG" && \
14318 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxine >= 1.1.1 evas >= 1.0.0\""; } >&5
14319 ($PKG_CONFIG --exists --print-errors "libxine >= 1.1.1 evas >= 1.0.0") 2>&5
14321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14322 test $ac_status = 0; }; then
14323 pkg_cv_XINE_LIBS=`$PKG_CONFIG --libs "libxine >= 1.1.1 evas >= 1.0.0" 2>/dev/null`
14324 test "x$?" != "x0" && pkg_failed=yes
14334 if test $pkg_failed = yes; then
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14336 $as_echo "no" >&6; }
14338 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14339 _pkg_short_errors_supported=yes
14341 _pkg_short_errors_supported=no
14343 if test $_pkg_short_errors_supported = yes; then
14344 XINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxine >= 1.1.1 evas >= 1.0.0" 2>&1`
14346 XINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxine >= 1.1.1 evas >= 1.0.0" 2>&1`
14348 # Put the nasty error message in config.log where it belongs
14349 echo "$XINE_PKG_ERRORS" >&5
14352 elif test $pkg_failed = untried; then
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14354 $as_echo "no" >&6; }
14357 XINE_CFLAGS=$pkg_cv_XINE_CFLAGS
14358 XINE_LIBS=$pkg_cv_XINE_LIBS
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14360 $as_echo "yes" >&6; }
14363 requirement="libxine"
14367 if test "x${enable_module}" = "xstatic" ; then
14368 requirement_emotion="${requirement} ${requirement_emotion}"
14371 if test "x$have_dep" = "xyes"; then :
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Xine module built" >&5
14381 $as_echo_n "checking whether to enable Xine module built... " >&6; }
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
14383 $as_echo "${have_module}" >&6; }
14386 if test "x${have_module}" = "xyes" && test "x${enable_module}" = "xstatic" ; then
14387 static_module="yes"
14390 if test "x${have_module}" = "xyes"; then
14391 EMOTION_BUILD_XINE_TRUE=
14392 EMOTION_BUILD_XINE_FALSE='#'
14394 EMOTION_BUILD_XINE_TRUE='#'
14395 EMOTION_BUILD_XINE_FALSE=
14398 if test "x${static_module}" = "xyes"; then
14399 EMOTION_STATIC_BUILD_XINE_TRUE=
14400 EMOTION_STATIC_BUILD_XINE_FALSE='#'
14402 EMOTION_STATIC_BUILD_XINE_TRUE='#'
14403 EMOTION_STATIC_BUILD_XINE_FALSE=
14407 if test "x${static_module}" = "xyes" ; then
14409 $as_echo "#define EMOTION_STATIC_BUILD_XINE 1" >>confdefs.h
14411 have_static_module="yes"
14415 if test "x${have_module}" = "xyes" ; then
14416 enable_xine=${enable_module}
14418 $as_echo "#define EMOTION_BUILD_XINE 1" >>confdefs.h
14422 if test "x$have_module" = "xyes"; then :
14431 want_module="${want_gstreamer}"
14433 # Check whether --enable-gstreamer was given.
14434 if test "${enable_gstreamer+set}" = set; then :
14435 enableval=$enable_gstreamer;
14436 if test "x${enableval}" = "xyes" ; then
14437 enable_module="yes"
14439 if test "x${enableval}" = "xstatic" ; then
14440 enable_module="static"
14447 enable_module="yes"
14451 if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
14456 if test "x${want_module}" = "xyes" && (test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic") ; then
14460 GSTPLUG_REQS=0.10.1
14461 GST_MAJORMINOR=0.10
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5
14467 $as_echo_n "checking for GSTREAMER... " >&6; }
14469 if test -n "$GSTREAMER_CFLAGS"; then
14470 pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
14471 elif test -n "$PKG_CONFIG"; then
14472 if test -n "$PKG_CONFIG" && \
14473 { { $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
14474 ($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
14476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14477 test $ac_status = 0; }; then
14478 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`
14479 test "x$?" != "x0" && pkg_failed=yes
14486 if test -n "$GSTREAMER_LIBS"; then
14487 pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
14488 elif test -n "$PKG_CONFIG"; then
14489 if test -n "$PKG_CONFIG" && \
14490 { { $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
14491 ($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
14493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14494 test $ac_status = 0; }; then
14495 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`
14496 test "x$?" != "x0" && pkg_failed=yes
14506 if test $pkg_failed = yes; then
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14508 $as_echo "no" >&6; }
14510 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14511 _pkg_short_errors_supported=yes
14513 _pkg_short_errors_supported=no
14515 if test $_pkg_short_errors_supported = yes; then
14516 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`
14518 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`
14520 # Put the nasty error message in config.log where it belongs
14521 echo "$GSTREAMER_PKG_ERRORS" >&5
14524 elif test $pkg_failed = untried; then
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14526 $as_echo "no" >&6; }
14529 GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
14530 GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14532 $as_echo "yes" >&6; }
14535 requirement="gstreamer-$GST_MAJORMINOR gstreamer-plugins-base-$GST_MAJORMINOR"
14539 if test "x${enable_module}" = "xstatic" ; then
14540 requirement_emotion="${requirement} ${requirement_emotion}"
14543 if test "x$have_dep" = "xyes"; then :
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Gstreamer module built" >&5
14553 $as_echo_n "checking whether to enable Gstreamer module built... " >&6; }
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
14555 $as_echo "${have_module}" >&6; }
14558 if test "x${have_module}" = "xyes" && test "x${enable_module}" = "xstatic" ; then
14559 static_module="yes"
14562 if test "x${have_module}" = "xyes"; then
14563 EMOTION_BUILD_GSTREAMER_TRUE=
14564 EMOTION_BUILD_GSTREAMER_FALSE='#'
14566 EMOTION_BUILD_GSTREAMER_TRUE='#'
14567 EMOTION_BUILD_GSTREAMER_FALSE=
14570 if test "x${static_module}" = "xyes"; then
14571 EMOTION_STATIC_BUILD_GSTREAMER_TRUE=
14572 EMOTION_STATIC_BUILD_GSTREAMER_FALSE='#'
14574 EMOTION_STATIC_BUILD_GSTREAMER_TRUE='#'
14575 EMOTION_STATIC_BUILD_GSTREAMER_FALSE=
14579 if test "x${static_module}" = "xyes" ; then
14581 $as_echo "#define EMOTION_STATIC_BUILD_GSTREAMER 1" >>confdefs.h
14583 have_static_module="yes"
14586 enable_gstreamer="no"
14587 if test "x${have_module}" = "xyes" ; then
14588 enable_gstreamer=${enable_module}
14590 $as_echo "#define EMOTION_BUILD_GSTREAMER 1" >>confdefs.h
14594 if test "x$have_module" = "xyes"; then :
14603 want_module="${want_generic}"
14605 # Check whether --enable-generic was given.
14606 if test "${enable_generic+set}" = set; then :
14607 enableval=$enable_generic;
14608 if test "x${enableval}" = "xyes" ; then
14609 enable_module="yes"
14611 if test "x${enableval}" = "xstatic" ; then
14612 enable_module="static"
14619 enable_module="yes"
14623 if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
14628 if test "x${want_module}" = "xyes" && (test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic") ; then
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GENERIC" >&5
14636 $as_echo_n "checking for GENERIC... " >&6; }
14638 if test -n "$GENERIC_CFLAGS"; then
14639 pkg_cv_GENERIC_CFLAGS="$GENERIC_CFLAGS"
14640 elif test -n "$PKG_CONFIG"; then
14641 if test -n "$PKG_CONFIG" && \
14642 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.0.0\""; } >&5
14643 ($PKG_CONFIG --exists --print-errors "evas >= 1.0.0") 2>&5
14645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14646 test $ac_status = 0; }; then
14647 pkg_cv_GENERIC_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.0.0" 2>/dev/null`
14648 test "x$?" != "x0" && pkg_failed=yes
14655 if test -n "$GENERIC_LIBS"; then
14656 pkg_cv_GENERIC_LIBS="$GENERIC_LIBS"
14657 elif test -n "$PKG_CONFIG"; then
14658 if test -n "$PKG_CONFIG" && \
14659 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.0.0\""; } >&5
14660 ($PKG_CONFIG --exists --print-errors "evas >= 1.0.0") 2>&5
14662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14663 test $ac_status = 0; }; then
14664 pkg_cv_GENERIC_LIBS=`$PKG_CONFIG --libs "evas >= 1.0.0" 2>/dev/null`
14665 test "x$?" != "x0" && pkg_failed=yes
14675 if test $pkg_failed = yes; then
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14677 $as_echo "no" >&6; }
14679 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14680 _pkg_short_errors_supported=yes
14682 _pkg_short_errors_supported=no
14684 if test $_pkg_short_errors_supported = yes; then
14685 GENERIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evas >= 1.0.0" 2>&1`
14687 GENERIC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evas >= 1.0.0" 2>&1`
14689 # Put the nasty error message in config.log where it belongs
14690 echo "$GENERIC_PKG_ERRORS" >&5
14693 elif test $pkg_failed = untried; then
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14695 $as_echo "no" >&6; }
14698 GENERIC_CFLAGS=$pkg_cv_GENERIC_CFLAGS
14699 GENERIC_LIBS=$pkg_cv_GENERIC_LIBS
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14701 $as_echo "yes" >&6; }
14707 if test "x${enable_module}" = "xstatic" ; then
14708 requirement_emotion="${requirement} ${requirement_emotion}"
14711 if test "x$have_dep" = "xyes"; then :
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Generic module built" >&5
14721 $as_echo_n "checking whether to enable Generic module built... " >&6; }
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
14723 $as_echo "${have_module}" >&6; }
14726 if test "x${have_module}" = "xyes" && test "x${enable_module}" = "xstatic" ; then
14727 static_module="yes"
14730 if test "x${have_module}" = "xyes"; then
14731 EMOTION_BUILD_GENERIC_TRUE=
14732 EMOTION_BUILD_GENERIC_FALSE='#'
14734 EMOTION_BUILD_GENERIC_TRUE='#'
14735 EMOTION_BUILD_GENERIC_FALSE=
14738 if test "x${static_module}" = "xyes"; then
14739 EMOTION_STATIC_BUILD_GENERIC_TRUE=
14740 EMOTION_STATIC_BUILD_GENERIC_FALSE='#'
14742 EMOTION_STATIC_BUILD_GENERIC_TRUE='#'
14743 EMOTION_STATIC_BUILD_GENERIC_FALSE=
14747 if test "x${static_module}" = "xyes" ; then
14749 $as_echo "#define EMOTION_STATIC_BUILD_GENERIC 1" >>confdefs.h
14751 have_static_module="yes"
14754 enable_generic="no"
14755 if test "x${have_module}" = "xyes" ; then
14756 enable_generic=${enable_module}
14758 $as_echo "#define EMOTION_BUILD_GENERIC 1" >>confdefs.h
14762 if test "x$have_module" = "xyes"; then :
14772 want_module="${want_generic_vlc}"
14774 # Check whether --enable-generic-vlc was given.
14775 if test "${enable_generic_vlc+set}" = set; then :
14776 enableval=$enable_generic_vlc;
14777 if test "x${enableval}" = "xyes" ; then
14778 enable_module="yes"
14784 enable_module="auto"
14790 _efl_have_shm_open="no"
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
14794 $as_echo_n "checking for shm_open in libc... " >&6; }
14795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14796 /* end confdefs.h. */
14798 #include <sys/mman.h>
14799 #include <sys/stat.h> /* For mode constants */
14800 #include <fcntl.h> /* For O_* constants */
14808 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
14814 if ac_fn_c_try_link "$LINENO"; then :
14815 _efl_have_shm_open="yes"
14817 _efl_have_shm_open="no"
14819 rm -f core conftest.err conftest.$ac_objext \
14820 conftest$ac_exeext conftest.$ac_ext
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
14823 $as_echo "${_efl_have_shm_open}" >&6; }
14825 if test "x$_efl_have_shm_open" = "xno" ; then
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
14827 $as_echo_n "checking for shm_open in librt... " >&6; }
14829 LIBS_save="${LIBS}"
14830 LIBS="${LIBS} -lrt"
14831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14832 /* end confdefs.h. */
14834 #include <sys/mman.h>
14835 #include <sys/stat.h> /* For mode constants */
14836 #include <fcntl.h> /* For O_* constants */
14844 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
14850 if ac_fn_c_try_link "$LINENO"; then :
14852 EFL_SHM_OPEN_LIBS="-lrt"
14853 _efl_have_shm_open="yes"
14855 _efl_have_shm_open="no"
14857 rm -f core conftest.err conftest.$ac_objext \
14858 conftest$ac_exeext conftest.$ac_ext
14860 LIBS="${LIBS_save}"
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
14863 $as_echo "${_efl_have_shm_open}" >&6; }
14868 if test "x$_efl_have_shm_open" = "xyes" ; then
14870 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
14874 if test "x$_efl_have_shm_open" = "xyes"; then :
14875 have_shm_open="yes"
14882 if test "x${have_shm_open}" != "xyes"; then
14883 enable_generic="no"
14886 if test "x${enable_generic}" != "xyes" && test "x${enable_generic}" != "xstatic"; then
14887 if test "x${enable_module}" = "xyes"; then
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Generic module is disabled, force disable of Generic Player VLC" >&5
14889 $as_echo "$as_me: WARNING: Generic module is disabled, force disable of Generic Player VLC" >&2;}
14895 if test "x${enable_module}" = "xauto"; then
14896 enable_module="${want_module}"
14897 elif test "x${enable_module}" = "xyes"; then
14902 if test "x${want_module}" = "xyes" && test "x${enable_module}" = "xyes"; then
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GENERIC_VLC" >&5
14910 $as_echo_n "checking for GENERIC_VLC... " >&6; }
14912 if test -n "$GENERIC_VLC_CFLAGS"; then
14913 pkg_cv_GENERIC_VLC_CFLAGS="$GENERIC_VLC_CFLAGS"
14914 elif test -n "$PKG_CONFIG"; then
14915 if test -n "$PKG_CONFIG" && \
14916 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvlc >= 0.9 eina >= 1.1.99\""; } >&5
14917 ($PKG_CONFIG --exists --print-errors "libvlc >= 0.9 eina >= 1.1.99") 2>&5
14919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14920 test $ac_status = 0; }; then
14921 pkg_cv_GENERIC_VLC_CFLAGS=`$PKG_CONFIG --cflags "libvlc >= 0.9 eina >= 1.1.99" 2>/dev/null`
14922 test "x$?" != "x0" && pkg_failed=yes
14929 if test -n "$GENERIC_VLC_LIBS"; then
14930 pkg_cv_GENERIC_VLC_LIBS="$GENERIC_VLC_LIBS"
14931 elif test -n "$PKG_CONFIG"; then
14932 if test -n "$PKG_CONFIG" && \
14933 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvlc >= 0.9 eina >= 1.1.99\""; } >&5
14934 ($PKG_CONFIG --exists --print-errors "libvlc >= 0.9 eina >= 1.1.99") 2>&5
14936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14937 test $ac_status = 0; }; then
14938 pkg_cv_GENERIC_VLC_LIBS=`$PKG_CONFIG --libs "libvlc >= 0.9 eina >= 1.1.99" 2>/dev/null`
14939 test "x$?" != "x0" && pkg_failed=yes
14949 if test $pkg_failed = yes; then
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14951 $as_echo "no" >&6; }
14953 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14954 _pkg_short_errors_supported=yes
14956 _pkg_short_errors_supported=no
14958 if test $_pkg_short_errors_supported = yes; then
14959 GENERIC_VLC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libvlc >= 0.9 eina >= 1.1.99" 2>&1`
14961 GENERIC_VLC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libvlc >= 0.9 eina >= 1.1.99" 2>&1`
14963 # Put the nasty error message in config.log where it belongs
14964 echo "$GENERIC_VLC_PKG_ERRORS" >&5
14967 elif test $pkg_failed = untried; then
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14969 $as_echo "no" >&6; }
14972 GENERIC_VLC_CFLAGS=$pkg_cv_GENERIC_VLC_CFLAGS
14973 GENERIC_VLC_LIBS=$pkg_cv_GENERIC_VLC_LIBS
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14975 $as_echo "yes" >&6; }
14978 requirement="libvlc"
14982 if test "x${enable_module}" = "xstatic" ; then
14983 requirement_emotion="${requirement} ${requirement_emotion}"
14986 if test "x$have_dep" = "xyes"; then :
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to enable Generic Player VLC" >&5
14996 $as_echo_n "checking Whether to enable Generic Player VLC... " >&6; }
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
14998 $as_echo "${have_module}" >&6; }
15000 if test "x${have_module}" = "xyes"; then
15001 EMOTION_BUILD_GENERIC_VLC_TRUE=
15002 EMOTION_BUILD_GENERIC_VLC_FALSE='#'
15004 EMOTION_BUILD_GENERIC_VLC_TRUE='#'
15005 EMOTION_BUILD_GENERIC_VLC_FALSE=
15009 enable_generic_vlc="no"
15010 if test "x${have_module}" = "xyes" ; then
15011 enable_generic_vlc=${enable_module}
15013 $as_echo "#define EMOTION_BUILD_GENERIC_VLC 1" >>confdefs.h
15017 if test "x$have_module" = "xyes"; then :
15025 if test "x${enable_xine}" = "xno" && test "x${enable_gstreamer}" = "xno" && test "x${enable_generic}" = "xno" ; then
15026 as_fn_error $? "Xine, Gstreamer or Generic backends must be selected to build Emotion" "$LINENO" 5
15029 # Check if gstreamer X Overlay is available
15030 build_xoverlay="no"
15031 if test "x${enable_gstreamer}" = "xyes" ; then
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER_INTERFACE" >&5
15035 $as_echo_n "checking for GSTREAMER_INTERFACE... " >&6; }
15037 if test -n "$GSTREAMER_INTERFACE_CFLAGS"; then
15038 pkg_cv_GSTREAMER_INTERFACE_CFLAGS="$GSTREAMER_INTERFACE_CFLAGS"
15039 elif test -n "$PKG_CONFIG"; then
15040 if test -n "$PKG_CONFIG" && \
15041 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-interfaces-0.10 >= 0.10.34\""; } >&5
15042 ($PKG_CONFIG --exists --print-errors "gstreamer-interfaces-0.10 >= 0.10.34") 2>&5
15044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15045 test $ac_status = 0; }; then
15046 pkg_cv_GSTREAMER_INTERFACE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-interfaces-0.10 >= 0.10.34" 2>/dev/null`
15047 test "x$?" != "x0" && pkg_failed=yes
15054 if test -n "$GSTREAMER_INTERFACE_LIBS"; then
15055 pkg_cv_GSTREAMER_INTERFACE_LIBS="$GSTREAMER_INTERFACE_LIBS"
15056 elif test -n "$PKG_CONFIG"; then
15057 if test -n "$PKG_CONFIG" && \
15058 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-interfaces-0.10 >= 0.10.34\""; } >&5
15059 ($PKG_CONFIG --exists --print-errors "gstreamer-interfaces-0.10 >= 0.10.34") 2>&5
15061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15062 test $ac_status = 0; }; then
15063 pkg_cv_GSTREAMER_INTERFACE_LIBS=`$PKG_CONFIG --libs "gstreamer-interfaces-0.10 >= 0.10.34" 2>/dev/null`
15064 test "x$?" != "x0" && pkg_failed=yes
15074 if test $pkg_failed = yes; then
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15076 $as_echo "no" >&6; }
15078 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15079 _pkg_short_errors_supported=yes
15081 _pkg_short_errors_supported=no
15083 if test $_pkg_short_errors_supported = yes; then
15084 GSTREAMER_INTERFACE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-interfaces-0.10 >= 0.10.34" 2>&1`
15086 GSTREAMER_INTERFACE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-interfaces-0.10 >= 0.10.34" 2>&1`
15088 # Put the nasty error message in config.log where it belongs
15089 echo "$GSTREAMER_INTERFACE_PKG_ERRORS" >&5
15091 build_xoverlay="no"
15092 elif test $pkg_failed = untried; then
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15094 $as_echo "no" >&6; }
15095 build_xoverlay="no"
15097 GSTREAMER_INTERFACE_CFLAGS=$pkg_cv_GSTREAMER_INTERFACE_CFLAGS
15098 GSTREAMER_INTERFACE_LIBS=$pkg_cv_GSTREAMER_INTERFACE_LIBS
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15100 $as_echo "yes" >&6; }
15101 build_xoverlay="yes"
15103 if test "x${build_xoverlay}" = "xyes" ; then
15104 save_CPPFLAGS=$CPPFLAGS
15105 CPPFLAGS="$CPPFLAGS ${GSTREAMER_CFLAGS} ${GSTREAMER_INTERFACE_CFLAGS}"
15106 ac_fn_c_check_header_mongrel "$LINENO" "gst/interfaces/xoverlay.h" "ac_cv_header_gst_interfaces_xoverlay_h" "$ac_includes_default"
15107 if test "x$ac_cv_header_gst_interfaces_xoverlay_h" = xyes; then :
15110 $as_echo "#define HAVE_XOVERLAY_H 1" >>confdefs.h
15112 build_xoverlay="yes"
15115 build_xoverlay="no"
15119 CPPFLAGS=$save_CPPFLAGS
15121 save_LDFLAGS=${LDFLAGS}
15122 LDFLAGS="${LDFLAGS} ${GSTREAMER_INTERFACES}"
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_x_overlay_set_window_handle in -lgstinterfaces-0.10" >&5
15124 $as_echo_n "checking for gst_x_overlay_set_window_handle in -lgstinterfaces-0.10... " >&6; }
15125 if ${ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle+:} false; then :
15126 $as_echo_n "(cached) " >&6
15128 ac_check_lib_save_LIBS=$LIBS
15129 LIBS="-lgstinterfaces-0.10 $LIBS"
15130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15131 /* end confdefs.h. */
15133 /* Override any GCC internal prototype to avoid an error.
15134 Use char because int might match the return type of a GCC
15135 builtin and then its argument prototype would still apply. */
15139 char gst_x_overlay_set_window_handle ();
15143 return gst_x_overlay_set_window_handle ();
15148 if ac_fn_c_try_link "$LINENO"; then :
15149 ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle=yes
15151 ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle=no
15153 rm -f core conftest.err conftest.$ac_objext \
15154 conftest$ac_exeext conftest.$ac_ext
15155 LIBS=$ac_check_lib_save_LIBS
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle" >&5
15158 $as_echo "$ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle" >&6; }
15159 if test "x$ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle" = xyes; then :
15161 $as_echo "#define HAVE_X_OVERLAY_SET 1" >>confdefs.h
15165 LDFLAGS=$save_LDFLAGS
15169 ### install and build examples
15174 # Check whether --enable-build-examples was given.
15175 if test "${enable_build_examples+set}" = set; then :
15176 enableval=$enable_build_examples;
15177 if test "x${enableval}" = "xyes" ; then
15178 _efl_enable_build_examples="yes"
15180 _efl_enable_build_examples="no"
15184 _efl_enable_build_examples="no"
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are built" >&5
15189 $as_echo_n "checking whether examples are built... " >&6; }
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_build_examples}" >&5
15191 $as_echo "${_efl_enable_build_examples}" >&6; }
15193 if test "x${_efl_enable_build_examples}" = "xyes"; then
15194 EFL_BUILD_EXAMPLES_TRUE=
15195 EFL_BUILD_EXAMPLES_FALSE='#'
15197 EFL_BUILD_EXAMPLES_TRUE='#'
15198 EFL_BUILD_EXAMPLES_FALSE=
15202 if test "x$_efl_enable_build_examples" = "xyes"; then :
15203 enable_build_examples="yes"
15205 enable_build_examples="no"
15211 # Check whether --enable-install-examples was given.
15212 if test "${enable_install_examples+set}" = set; then :
15213 enableval=$enable_install_examples;
15214 if test "x${enableval}" = "xyes" ; then
15215 _efl_enable_install_examples="yes"
15217 _efl_enable_install_examples="no"
15221 _efl_enable_install_examples="no"
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are installed" >&5
15226 $as_echo_n "checking whether examples are installed... " >&6; }
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_install_examples}" >&5
15228 $as_echo "${_efl_enable_install_examples}" >&6; }
15230 if test "x${_efl_enable_install_examples}" = "xyes"; then
15231 EFL_INSTALL_EXAMPLES_TRUE=
15232 EFL_INSTALL_EXAMPLES_FALSE='#'
15234 EFL_INSTALL_EXAMPLES_TRUE='#'
15235 EFL_INSTALL_EXAMPLES_FALSE=
15239 if test "x$_efl_enable_install_examples" = "xyes"; then :
15240 enable_install_examples="yes"
15242 enable_install_examples="no"
15248 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"
15250 cat >confcache <<\_ACEOF
15251 # This file is a shell script that caches the results of configure
15252 # tests run on this system so they can be shared between configure
15253 # scripts and configure runs, see configure's option --config-cache.
15254 # It is not useful on other systems. If it contains results you don't
15255 # want to keep, you may remove or edit it.
15257 # config.status only pays attention to the cache file if you give it
15258 # the --recheck option to rerun configure.
15260 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15261 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15262 # following values.
15266 # The following way of writing the cache mishandles newlines in values,
15267 # but we know of no workaround that is simple, portable, and efficient.
15268 # So, we kill variables containing newlines.
15269 # Ultrix sh set writes to stderr and can't be redirected directly,
15270 # and sets the high bit in the cache file unless we assign to the vars.
15272 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15273 eval ac_val=\$$ac_var
15277 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15278 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15281 _ | IFS | as_nl) ;; #(
15282 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15283 *) { eval $ac_var=; unset $ac_var;} ;;
15289 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15290 *${as_nl}ac_space=\ *)
15291 # `set' does not quote correctly, so add quotes: double-quote
15292 # substitution turns \\\\ into \\, and sed turns \\ into \.
15295 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15298 # `set' quotes correctly as required by POSIX, so do not add quotes.
15299 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15308 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15310 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15312 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15313 if test -w "$cache_file"; then
15314 if test "x$cache_file" != "x/dev/null"; then
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15316 $as_echo "$as_me: updating cache $cache_file" >&6;}
15317 if test ! -f "$cache_file" || test -h "$cache_file"; then
15318 cat confcache >"$cache_file"
15320 case $cache_file in #(
15322 mv -f confcache "$cache_file"$$ &&
15323 mv -f "$cache_file"$$ "$cache_file" ;; #(
15325 mv -f confcache "$cache_file" ;;
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15331 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15336 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15337 # Let make expand exec_prefix.
15338 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15340 DEFS=-DHAVE_CONFIG_H
15344 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15345 # 1. Remove the extension, and $U if already installed.
15346 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15347 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15348 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15349 # will be set to the directory where LIBOBJS objects are built.
15350 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15351 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15353 LIBOBJS=$ac_libobjs
15355 LTLIBOBJS=$ac_ltlibobjs
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15359 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15360 if test -n "$am_sleep_pid"; then
15361 # Hide warnings about reused PIDs.
15362 wait $am_sleep_pid 2>/dev/null
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15365 $as_echo "done" >&6; }
15366 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15367 as_fn_error $? "conditional \"AMDEP\" was never defined.
15368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15370 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15371 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15374 if test -n "$EXEEXT"; then
15376 am__EXEEXT_FALSE='#'
15378 am__EXEEXT_TRUE='#'
15382 if test -z "${BUILD_EMOTION_TEST_TRUE}" && test -z "${BUILD_EMOTION_TEST_FALSE}"; then
15383 as_fn_error $? "conditional \"BUILD_EMOTION_TEST\" was never defined.
15384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15386 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
15387 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
15388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15390 if test -z "${ENABLE_EDJE_EXTERNAL_TRUE}" && test -z "${ENABLE_EDJE_EXTERNAL_FALSE}"; then
15391 as_fn_error $? "conditional \"ENABLE_EDJE_EXTERNAL\" was never defined.
15392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15394 if test -z "${HAVE_EIO_TRUE}" && test -z "${HAVE_EIO_FALSE}"; then
15395 as_fn_error $? "conditional \"HAVE_EIO\" was never defined.
15396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15399 if test -z "${EMOTION_BUILD_XINE_TRUE}" && test -z "${EMOTION_BUILD_XINE_FALSE}"; then
15400 as_fn_error $? "conditional \"EMOTION_BUILD_XINE\" was never defined.
15401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15403 if test -z "${EMOTION_STATIC_BUILD_XINE_TRUE}" && test -z "${EMOTION_STATIC_BUILD_XINE_FALSE}"; then
15404 as_fn_error $? "conditional \"EMOTION_STATIC_BUILD_XINE\" was never defined.
15405 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15407 if test -z "${EMOTION_BUILD_GSTREAMER_TRUE}" && test -z "${EMOTION_BUILD_GSTREAMER_FALSE}"; then
15408 as_fn_error $? "conditional \"EMOTION_BUILD_GSTREAMER\" was never defined.
15409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15411 if test -z "${EMOTION_STATIC_BUILD_GSTREAMER_TRUE}" && test -z "${EMOTION_STATIC_BUILD_GSTREAMER_FALSE}"; then
15412 as_fn_error $? "conditional \"EMOTION_STATIC_BUILD_GSTREAMER\" was never defined.
15413 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15415 if test -z "${EMOTION_BUILD_GENERIC_TRUE}" && test -z "${EMOTION_BUILD_GENERIC_FALSE}"; then
15416 as_fn_error $? "conditional \"EMOTION_BUILD_GENERIC\" was never defined.
15417 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15419 if test -z "${EMOTION_STATIC_BUILD_GENERIC_TRUE}" && test -z "${EMOTION_STATIC_BUILD_GENERIC_FALSE}"; then
15420 as_fn_error $? "conditional \"EMOTION_STATIC_BUILD_GENERIC\" was never defined.
15421 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15423 if test -z "${EMOTION_BUILD_GENERIC_VLC_TRUE}" && test -z "${EMOTION_BUILD_GENERIC_VLC_FALSE}"; then
15424 as_fn_error $? "conditional \"EMOTION_BUILD_GENERIC_VLC\" was never defined.
15425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15427 if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
15428 as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
15429 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15431 if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
15432 as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
15433 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15436 : "${CONFIG_STATUS=./config.status}"
15438 ac_clean_files_save=$ac_clean_files
15439 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15441 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15443 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15445 # Generated by $as_me.
15446 # Run this file to recreate the current configuration.
15447 # Compiler output produced by configure, useful for debugging
15448 # configure, is in config.log if it exists.
15451 ac_cs_recheck=false
15454 SHELL=\${CONFIG_SHELL-$SHELL}
15457 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15458 ## -------------------- ##
15459 ## M4sh Initialization. ##
15460 ## -------------------- ##
15462 # Be more Bourne compatible
15463 DUALCASE=1; export DUALCASE # for MKS sh
15464 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15467 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15468 # is contrary to our usage. Disable this feature.
15469 alias -g '${1+"$@"}'='"$@"'
15470 setopt NO_GLOB_SUBST
15472 case `(set -o) 2>/dev/null` in #(
15484 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15485 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15486 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15487 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15488 # Prefer a ksh shell builtin over an external printf program on Solaris,
15489 # but without wasting forks for bash or zsh.
15490 if test -z "$BASH_VERSION$ZSH_VERSION" \
15491 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15492 as_echo='print -r --'
15493 as_echo_n='print -rn --'
15494 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15495 as_echo='printf %s\n'
15496 as_echo_n='printf %s'
15498 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15499 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15500 as_echo_n='/usr/ucb/echo -n'
15502 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15503 as_echo_n_body='eval
15507 expr "X$arg" : "X\\(.*\\)$as_nl";
15508 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15510 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15512 export as_echo_n_body
15513 as_echo_n='sh -c $as_echo_n_body as_echo'
15515 export as_echo_body
15516 as_echo='sh -c $as_echo_body as_echo'
15519 # The user is always right.
15520 if test "${PATH_SEPARATOR+set}" != set; then
15522 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15523 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15530 # We need space, tab and new line, in precisely that order. Quoting is
15531 # there to prevent editors from complaining about space-tab.
15532 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15533 # splitting by setting IFS to empty value.)
15536 # Find who we are. Look in the path if we contain no directory separator.
15539 *[\\/]* ) as_myself=$0 ;;
15540 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15541 for as_dir in $PATH
15544 test -z "$as_dir" && as_dir=.
15545 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15551 # We did not find ourselves, most probably we were run as `sh COMMAND'
15552 # in which case we are not to be found in the path.
15553 if test "x$as_myself" = x; then
15556 if test ! -f "$as_myself"; then
15557 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15561 # Unset variables that we do not need and which cause bugs (e.g. in
15562 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15563 # suppresses any "Segmentation fault" message there. '((' could
15564 # trigger a bug in pdksh 5.2.14.
15565 for as_var in BASH_ENV ENV MAIL MAILPATH
15566 do eval test x\${$as_var+set} = xset \
15567 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15580 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15583 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15584 # ----------------------------------------
15585 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15586 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15587 # script with STATUS, using 1 if that was 0.
15590 as_status=$1; test $as_status -eq 0 && as_status=1
15592 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15593 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15595 $as_echo "$as_me: error: $2" >&2
15596 as_fn_exit $as_status
15600 # as_fn_set_status STATUS
15601 # -----------------------
15602 # Set $? to STATUS, without forking.
15603 as_fn_set_status ()
15606 } # as_fn_set_status
15608 # as_fn_exit STATUS
15609 # -----------------
15610 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15614 as_fn_set_status $1
15620 # Portably unset VAR.
15623 { eval $1=; unset $1;}
15625 as_unset=as_fn_unset
15626 # as_fn_append VAR VALUE
15627 # ----------------------
15628 # Append the text in VALUE to the end of the definition contained in VAR. Take
15629 # advantage of any shell optimizations that allow amortized linear growth over
15630 # repeated appends, instead of the typical quadratic growth present in naive
15632 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15633 eval 'as_fn_append ()
15644 # as_fn_arith ARG...
15645 # ------------------
15646 # Perform arithmetic evaluation on the ARGs, and store the result in the
15647 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15648 # must be portable across $(()) and expr.
15649 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15650 eval 'as_fn_arith ()
15657 as_val=`expr "$@" || test $? -eq 1`
15662 if expr a : '\(a\)' >/dev/null 2>&1 &&
15663 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15669 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15670 as_basename=basename
15675 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15681 as_me=`$as_basename -- "$0" ||
15682 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15683 X"$0" : 'X\(//\)$' \| \
15684 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15686 sed '/^.*\/\([^/][^/]*\)\/*$/{
15700 # Avoid depending upon Character Ranges.
15701 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15702 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15703 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15704 as_cr_digits='0123456789'
15705 as_cr_alnum=$as_cr_Letters$as_cr_digits
15707 ECHO_C= ECHO_N= ECHO_T=
15708 case `echo -n x` in #(((((
15710 case `echo 'xy\c'` in
15711 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15713 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15720 rm -f conf$$ conf$$.exe conf$$.file
15721 if test -d conf$$.dir; then
15722 rm -f conf$$.dir/conf$$.file
15725 mkdir conf$$.dir 2>/dev/null
15727 if (echo >conf$$.file) 2>/dev/null; then
15728 if ln -s conf$$.file conf$$ 2>/dev/null; then
15730 # ... but there are two gotchas:
15731 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15732 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15733 # In both cases, we have to default to `cp -pR'.
15734 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15736 elif ln conf$$.file conf$$ 2>/dev/null; then
15744 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15745 rmdir conf$$.dir 2>/dev/null
15750 # Create "$as_dir" as a directory, including parents if necessary.
15755 -*) as_dir=./$as_dir;;
15757 test -d "$as_dir" || eval $as_mkdir_p || {
15761 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15762 *) as_qdir=$as_dir;;
15764 as_dirs="'$as_qdir' $as_dirs"
15765 as_dir=`$as_dirname -- "$as_dir" ||
15766 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15767 X"$as_dir" : 'X\(//\)[^/]' \| \
15768 X"$as_dir" : 'X\(//\)$' \| \
15769 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15770 $as_echo X"$as_dir" |
15771 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15775 /^X\(\/\/\)[^/].*/{
15788 test -d "$as_dir" && break
15790 test -z "$as_dirs" || eval "mkdir $as_dirs"
15791 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15795 if mkdir -p . 2>/dev/null; then
15796 as_mkdir_p='mkdir -p "$as_dir"'
15798 test -d ./-p && rmdir ./-p
15803 # as_fn_executable_p FILE
15804 # -----------------------
15805 # Test if FILE is an executable regular file.
15806 as_fn_executable_p ()
15808 test -f "$1" && test -x "$1"
15809 } # as_fn_executable_p
15810 as_test_x='test -x'
15811 as_executable_p=as_fn_executable_p
15813 # Sed expression to map a string onto a valid CPP name.
15814 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15816 # Sed expression to map a string onto a valid variable name.
15817 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15821 ## ----------------------------------- ##
15822 ## Main body of $CONFIG_STATUS script. ##
15823 ## ----------------------------------- ##
15825 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15828 # Save the log message, to keep $0 and so on meaningful, and to
15829 # report actual input values of CONFIG_FILES etc. instead of their
15830 # values after options handling.
15832 This file was extended by emotion $as_me 1.7.8, which was
15833 generated by GNU Autoconf 2.69. Invocation command line was
15835 CONFIG_FILES = $CONFIG_FILES
15836 CONFIG_HEADERS = $CONFIG_HEADERS
15837 CONFIG_LINKS = $CONFIG_LINKS
15838 CONFIG_COMMANDS = $CONFIG_COMMANDS
15841 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15846 case $ac_config_files in *"
15847 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15850 case $ac_config_headers in *"
15851 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15856 # Files that config.status was made for.
15857 config_files="$ac_config_files"
15858 config_headers="$ac_config_headers"
15859 config_commands="$ac_config_commands"
15863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15865 \`$as_me' instantiates files and other configuration actions
15866 from templates according to the current configuration. Unless the files
15867 and actions are specified as TAGs, all are instantiated by default.
15869 Usage: $0 [OPTION]... [TAG]...
15871 -h, --help print this help, then exit
15872 -V, --version print version number and configuration settings, then exit
15873 --config print configuration, then exit
15874 -q, --quiet, --silent
15875 do not print progress messages
15876 -d, --debug don't remove temporary files
15877 --recheck update $as_me by reconfiguring in the same conditions
15878 --file=FILE[:TEMPLATE]
15879 instantiate the configuration file FILE
15880 --header=FILE[:TEMPLATE]
15881 instantiate the configuration header FILE
15883 Configuration files:
15886 Configuration headers:
15889 Configuration commands:
15892 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
15895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15896 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15898 emotion config.status 1.7.8
15899 configured by $0, generated by GNU Autoconf 2.69,
15900 with options \\"\$ac_cs_config\\"
15902 Copyright (C) 2012 Free Software Foundation, Inc.
15903 This config.status script is free software; the Free Software Foundation
15904 gives unlimited permission to copy, distribute and modify it."
15911 test -n "\$AWK" || AWK=awk
15914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15915 # The default lists apply if the user does not specify any file.
15921 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15922 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15926 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15938 # Handling of the options.
15939 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15941 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15942 $as_echo "$ac_cs_version"; exit ;;
15943 --config | --confi | --conf | --con | --co | --c )
15944 $as_echo "$ac_cs_config"; exit ;;
15945 --debug | --debu | --deb | --de | --d | -d )
15947 --file | --fil | --fi | --f )
15950 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15951 '') as_fn_error $? "missing file argument" ;;
15953 as_fn_append CONFIG_FILES " '$ac_optarg'"
15954 ac_need_defaults=false;;
15955 --header | --heade | --head | --hea )
15958 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15960 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15961 ac_need_defaults=false;;
15963 # Conflict between --help and --header
15964 as_fn_error $? "ambiguous option: \`$1'
15965 Try \`$0 --help' for more information.";;
15966 --help | --hel | -h )
15967 $as_echo "$ac_cs_usage"; exit ;;
15968 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15969 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15972 # This is an error.
15973 -*) as_fn_error $? "unrecognized option: \`$1'
15974 Try \`$0 --help' for more information." ;;
15976 *) as_fn_append ac_config_targets " $1"
15977 ac_need_defaults=false ;;
15983 ac_configure_extra_args=
15985 if $ac_cs_silent; then
15987 ac_configure_extra_args="$ac_configure_extra_args --silent"
15991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15992 if \$ac_cs_recheck; then
15993 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15995 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15996 CONFIG_SHELL='$SHELL'
15997 export CONFIG_SHELL
16002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16006 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16007 ## Running $as_me. ##
16013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16017 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16020 # The HP-UX ksh and POSIX shell print the target directory to stdout
16021 # if CDPATH is set.
16022 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16024 sed_quote_subst='$sed_quote_subst'
16025 double_quote_subst='$double_quote_subst'
16026 delay_variable_subst='$delay_variable_subst'
16027 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16028 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16029 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16030 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16031 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16032 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16033 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16034 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16035 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16036 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16037 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16038 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16039 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16040 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16041 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16042 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16043 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16044 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16045 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16046 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16047 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16048 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16049 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16050 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16051 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16052 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16053 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16054 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16055 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16056 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16057 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16058 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16059 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16060 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16061 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16062 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16063 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16064 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16065 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16066 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16067 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16068 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16069 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16070 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16071 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16072 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16073 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16074 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16075 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16076 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16077 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16078 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16079 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16080 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16081 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16082 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16083 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16084 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"`'
16085 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16086 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16087 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16088 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16089 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16090 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16091 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16092 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16093 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16094 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16095 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16096 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16097 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16098 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16099 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16100 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16101 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16102 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16103 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16104 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16105 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16106 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16107 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16108 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16109 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16110 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16111 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16112 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16113 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16114 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16115 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16116 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16117 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16118 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16119 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16120 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16121 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16122 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16123 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16124 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16125 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16126 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16127 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16128 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16129 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16130 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16131 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16132 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16133 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16134 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16135 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16136 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16137 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16138 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16139 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16140 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16141 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16142 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16143 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16144 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16145 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16146 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16147 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16148 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16149 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16150 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16151 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16152 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16153 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16154 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16155 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16156 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16157 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16160 LTCFLAGS='$LTCFLAGS'
16161 compiler='$compiler_DEFAULT'
16163 # A function that is used when there is no print builtin or printf.
16164 func_fallback_echo ()
16166 eval 'cat <<_LTECHO_EOF
16171 # Quote evaled strings.
16188 deplibs_check_method \
16192 sharedlib_from_linklib_cmd \
16195 archiver_list_spec \
16201 lt_cv_sys_global_symbol_pipe \
16202 lt_cv_sys_global_symbol_to_cdecl \
16203 lt_cv_sys_global_symbol_to_c_name_address \
16204 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16205 nm_file_list_spec \
16206 lt_prog_compiler_no_builtin_flag \
16207 lt_prog_compiler_pic \
16208 lt_prog_compiler_wl \
16209 lt_prog_compiler_static \
16210 lt_cv_prog_compiler_c_o \
16219 export_dynamic_flag_spec \
16220 whole_archive_flag_spec \
16221 compiler_needs_object \
16223 allow_undefined_flag \
16224 no_undefined_flag \
16225 hardcode_libdir_flag_spec \
16226 hardcode_libdir_separator \
16230 variables_saved_for_relink \
16232 library_names_spec \
16234 install_override_mode \
16238 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16239 *[\\\\\\\`\\"\\\$]*)
16240 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16243 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16248 # Double-quote double-evaled strings.
16249 for var in reload_cmds \
16250 old_postinstall_cmds \
16251 old_postuninstall_cmds \
16253 extract_expsyms_cmds \
16254 old_archive_from_new_cmds \
16255 old_archive_from_expsyms_cmds \
16257 archive_expsym_cmds \
16259 module_expsym_cmds \
16260 export_symbols_cmds \
16264 postuninstall_cmds \
16266 sys_lib_search_path_spec \
16267 sys_lib_dlsearch_path_spec; do
16268 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16269 *[\\\\\\\`\\"\\\$]*)
16270 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16273 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16278 ac_aux_dir='$ac_aux_dir'
16279 xsi_shell='$xsi_shell'
16280 lt_shell_append='$lt_shell_append'
16282 # See if we are running on zsh, and set the options which allow our
16283 # commands through without removal of \ escapes INIT.
16284 if test -n "\${ZSH_VERSION+set}" ; then
16285 setopt NO_GLOB_SUBST
16291 TIMESTAMP='$TIMESTAMP'
16300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16302 # Handling of arguments.
16303 for ac_config_target in $ac_config_targets
16305 case $ac_config_target in
16306 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16307 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16308 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16309 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16310 "emotion.pc") CONFIG_FILES="$CONFIG_FILES emotion.pc" ;;
16311 "emotion.spec") CONFIG_FILES="$CONFIG_FILES emotion.spec" ;;
16312 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16313 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
16314 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
16315 "src/modules/xine/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/xine/Makefile" ;;
16316 "src/modules/gstreamer/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/gstreamer/Makefile" ;;
16317 "src/modules/generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/generic/Makefile" ;;
16318 "src/edje_external/Makefile") CONFIG_FILES="$CONFIG_FILES src/edje_external/Makefile" ;;
16319 "src/generic_players/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic_players/Makefile" ;;
16320 "src/generic_players/vlc/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic_players/vlc/Makefile" ;;
16321 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
16322 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
16323 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16324 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
16325 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16327 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16332 # If the user did not use the arguments to specify the items to instantiate,
16333 # then the envvar interface is used. Set only those that are not.
16334 # We use the long form for the default assignment because of an extremely
16335 # bizarre bug on SunOS 4.1.3.
16336 if $ac_need_defaults; then
16337 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16338 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16339 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16342 # Have a temporary directory for convenience. Make it in the build tree
16343 # simply because there is no reason against having it here, and in addition,
16344 # creating and moving files from /tmp can sometimes cause problems.
16345 # Hook for its removal unless debugging.
16346 # Note that there is a small window in which the directory will not be cleaned:
16347 # after its creation but before its name has been assigned to `$tmp'.
16351 trap 'exit_status=$?
16352 : "${ac_tmp:=$tmp}"
16353 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16355 trap 'as_fn_exit 1' 1 2 13 15
16357 # Create a (secure) tmp directory for tmp files.
16360 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16364 tmp=./conf$$-$RANDOM
16365 (umask 077 && mkdir "$tmp")
16366 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16369 # Set up the scripts for CONFIG_FILES section.
16370 # No need to generate them if there are no CONFIG_FILES.
16371 # This happens for instance with `./config.status config.h'.
16372 if test -n "$CONFIG_FILES"; then
16375 ac_cr=`echo X | tr X '\015'`
16376 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16377 # But we know of no other shell where ac_cr would be empty at this
16378 # point, so we can use a bashism as a fallback.
16379 if test "x$ac_cr" = x; then
16380 eval ac_cr=\$\'\\r\'
16382 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16383 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16386 ac_cs_awk_cr=$ac_cr
16389 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16394 echo "cat >conf$$subs.awk <<_ACEOF" &&
16395 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16397 } >conf$$subs.sh ||
16398 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16399 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16401 for ac_last_try in false false false false false :; do
16402 . ./conf$$subs.sh ||
16403 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16405 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16406 if test $ac_delim_n = $ac_delim_num; then
16408 elif $ac_last_try; then
16409 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16411 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16414 rm -f conf$$subs.sh
16416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16417 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16421 s/^/S["/; s/!.*/"]=/
16431 s/\(.\{148\}\)..*/\1/
16433 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16438 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16445 s/\(.\{148\}\)..*/\1/
16447 s/["\\]/\\&/g; s/^/"/; s/$/"/
16451 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16456 ' <conf$$subs.awk | sed '
16461 ' >>$CONFIG_STATUS || ac_write_fail=1
16462 rm -f conf$$subs.awk
16463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16465 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16466 for (key in S) S_is_set[key] = 1
16472 nfields = split(line, field, "@")
16474 len = length(field[1])
16475 for (i = 2; i < nfields; i++) {
16477 keylen = length(key)
16478 if (S_is_set[key]) {
16480 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16481 len += length(value) + length(field[++i])
16492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16493 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16494 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16497 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16498 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16501 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16502 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16503 # trailing colons and then remove the whole line if VPATH becomes empty
16504 # (actually we leave an empty line to preserve line numbers).
16505 if test "x$srcdir" = x.; then
16506 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16525 fi # test -n "$CONFIG_FILES"
16527 # Set up the scripts for CONFIG_HEADERS section.
16528 # No need to generate them if there are no CONFIG_HEADERS.
16529 # This happens for instance with `./config.status Makefile'.
16530 if test -n "$CONFIG_HEADERS"; then
16531 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16535 # Transform confdefs.h into an awk script `defines.awk', embedded as
16536 # here-document in config.status, that substitutes the proper values into
16537 # config.h.in to produce config.h.
16539 # Create a delimiter string that does not exist in confdefs.h, to ease
16540 # handling of long lines.
16542 for ac_last_try in false false :; do
16543 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16544 if test -z "$ac_tt"; then
16546 elif $ac_last_try; then
16547 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16549 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16553 # For the awk script, D is an array of macro values keyed by name,
16554 # likewise P contains macro parameters if any. Preserve backslash
16555 # newline sequences.
16557 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16559 s/.\{148\}/&'"$ac_delim"'/g
16562 s/^[ ]*#[ ]*define[ ][ ]*/ /
16569 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16571 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16575 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16576 D["\1"]=" \3\\\\\\n"\\/p
16578 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16583 s/.\{148\}/&'"$ac_delim"'/g
16588 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16591 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16593 ' <confdefs.h | sed '
16594 s/'"$ac_delim"'/"\\\
16595 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16598 for (key in D) D_is_set[key] = 1
16601 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16603 split(line, arg, " ")
16604 if (arg[1] == "#") {
16608 defundef = substr(arg[1], 2)
16611 split(mac1, mac2, "(") #)
16613 prefix = substr(line, 1, index(line, defundef) - 1)
16614 if (D_is_set[macro]) {
16615 # Preserve the white space surrounding the "#".
16616 print prefix "define", macro P[macro] D[macro]
16619 # Replace #undef with comments. This is necessary, for example,
16620 # in the case of _POSIX_SOURCE, which is predefined and required
16621 # on some systems where configure will not decide to define it.
16622 if (defundef == "undef") {
16623 print "/*", prefix defundef, macro, "*/"
16631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16632 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16633 fi # test -n "$CONFIG_HEADERS"
16636 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16641 :[FHLC]) ac_mode=$ac_tag; continue;;
16643 case $ac_mode$ac_tag in
16645 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16646 :[FH]-) ac_tag=-:-;;
16647 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16664 -) ac_f="$ac_tmp/stdin";;
16665 *) # Look for the file first in the build tree, then in the source tree
16666 # (if the path is not absolute). The absolute path cannot be DOS-style,
16667 # because $ac_f cannot contain `:'.
16671 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16673 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16675 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16676 as_fn_append ac_file_inputs " '$ac_f'"
16679 # Let's still pretend it is `configure' which instantiates (i.e., don't
16680 # use $as_me), people would be surprised to read:
16681 # /* config.h. Generated by config.status. */
16682 configure_input='Generated from '`
16683 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16685 if test x"$ac_file" != x-; then
16686 configure_input="$ac_file. $configure_input"
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16688 $as_echo "$as_me: creating $ac_file" >&6;}
16690 # Neutralize special characters interpreted by sed in replacement strings.
16691 case $configure_input in #(
16692 *\&* | *\|* | *\\* )
16693 ac_sed_conf_input=`$as_echo "$configure_input" |
16694 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16695 *) ac_sed_conf_input=$configure_input;;
16699 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16700 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16705 ac_dir=`$as_dirname -- "$ac_file" ||
16706 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16707 X"$ac_file" : 'X\(//\)[^/]' \| \
16708 X"$ac_file" : 'X\(//\)$' \| \
16709 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16710 $as_echo X"$ac_file" |
16711 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16715 /^X\(\/\/\)[^/].*/{
16728 as_dir="$ac_dir"; as_fn_mkdir_p
16732 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16734 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16735 # A ".." for each directory in $ac_dir_suffix.
16736 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16737 case $ac_top_builddir_sub in
16738 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16739 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16742 ac_abs_top_builddir=$ac_pwd
16743 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16744 # for backward compatibility:
16745 ac_top_builddir=$ac_top_build_prefix
16748 .) # We are building in place.
16750 ac_top_srcdir=$ac_top_builddir_sub
16751 ac_abs_top_srcdir=$ac_pwd ;;
16752 [\\/]* | ?:[\\/]* ) # Absolute name.
16753 ac_srcdir=$srcdir$ac_dir_suffix;
16754 ac_top_srcdir=$srcdir
16755 ac_abs_top_srcdir=$srcdir ;;
16756 *) # Relative name.
16757 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16758 ac_top_srcdir=$ac_top_build_prefix$srcdir
16759 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16761 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16771 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16772 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16774 ac_MKDIR_P=$MKDIR_P
16776 [\\/$]* | ?:[\\/]* ) ;;
16777 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16782 # If the template does not know about datarootdir, expand it.
16783 # FIXME: This hack should be removed a few years after 2.60.
16784 ac_datarootdir_hack=; ac_datarootdir_seen=
16795 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16796 *datarootdir*) ac_datarootdir_seen=yes;;
16797 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16799 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16802 ac_datarootdir_hack='
16803 s&@datadir@&$datadir&g
16804 s&@docdir@&$docdir&g
16805 s&@infodir@&$infodir&g
16806 s&@localedir@&$localedir&g
16807 s&@mandir@&$mandir&g
16808 s&\\\${datarootdir}&$datarootdir&g' ;;
16812 # Neutralize VPATH when `$srcdir' = `.'.
16813 # Shell code in configure.ac might set extrasub.
16814 # FIXME: do we really want to maintain this feature?
16815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16816 ac_sed_extra="$ac_vpsub
16819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16821 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16822 s|@configure_input@|$ac_sed_conf_input|;t t
16823 s&@top_builddir@&$ac_top_builddir_sub&;t t
16824 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16825 s&@srcdir@&$ac_srcdir&;t t
16826 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16827 s&@top_srcdir@&$ac_top_srcdir&;t t
16828 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16829 s&@builddir@&$ac_builddir&;t t
16830 s&@abs_builddir@&$ac_abs_builddir&;t t
16831 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16832 s&@INSTALL@&$ac_INSTALL&;t t
16833 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16834 $ac_datarootdir_hack
16836 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16837 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16839 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16840 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16841 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16842 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16844 which seems to be undefined. Please make sure it is defined" >&5
16845 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16846 which seems to be undefined. Please make sure it is defined" >&2;}
16848 rm -f "$ac_tmp/stdin"
16850 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16851 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16853 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16859 if test x"$ac_file" != x-; then
16861 $as_echo "/* $configure_input */" \
16862 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16863 } >"$ac_tmp/config.h" \
16864 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16865 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16867 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16870 mv "$ac_tmp/config.h" "$ac_file" \
16871 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16874 $as_echo "/* $configure_input */" \
16875 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16876 || as_fn_error $? "could not create -" "$LINENO" 5
16878 # Compute "$ac_file"'s index in $config_headers.
16881 for _am_header in $config_headers :; do
16882 case $_am_header in
16883 $_am_arg | $_am_arg:* )
16886 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16889 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16890 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16891 X"$_am_arg" : 'X\(//\)[^/]' \| \
16892 X"$_am_arg" : 'X\(//\)$' \| \
16893 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16894 $as_echo X"$_am_arg" |
16895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16899 /^X\(\/\/\)[^/].*/{
16911 s/.*/./; q'`/stamp-h$_am_stamp_count
16914 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16915 $as_echo "$as_me: executing $ac_file commands" >&6;}
16920 case $ac_file$ac_mode in
16921 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16922 # Older Autoconf quotes --file arguments for eval, but not when files
16923 # are listed without --file. Let's play safe and only enable the eval
16924 # if we detect the quoting.
16925 case $CONFIG_FILES in
16926 *\'*) eval set x "$CONFIG_FILES" ;;
16927 *) set x $CONFIG_FILES ;;
16932 # Strip MF so we end up with the name of the file.
16933 mf=`echo "$mf" | sed -e 's/:.*$//'`
16934 # Check whether this is an Automake generated Makefile or not.
16935 # We used to match only the files named 'Makefile.in', but
16936 # some people rename them; so instead we look at the file content.
16937 # Grep'ing the first line is not enough: some people post-process
16938 # each Makefile.in and add a new line on top of each file to say so.
16939 # Grep'ing the whole file is not good either: AIX grep has a line
16940 # limit of 2048, but all sed's we know have understand at least 4000.
16941 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16942 dirpart=`$as_dirname -- "$mf" ||
16943 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16944 X"$mf" : 'X\(//\)[^/]' \| \
16945 X"$mf" : 'X\(//\)$' \| \
16946 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16952 /^X\(\/\/\)[^/].*/{
16968 # Extract the definition of DEPDIR, am__include, and am__quote
16969 # from the Makefile without running 'make'.
16970 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16971 test -z "$DEPDIR" && continue
16972 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16973 test -z "$am__include" && continue
16974 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16975 # Find all dependency output files, they are included files with
16976 # $(DEPDIR) in their names. We invoke sed twice because it is the
16977 # simplest approach to changing $(DEPDIR) to its actual value in the
16979 for file in `sed -n "
16980 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16981 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16982 # Make sure the directory exists.
16983 test -f "$dirpart/$file" && continue
16984 fdir=`$as_dirname -- "$file" ||
16985 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16986 X"$file" : 'X\(//\)[^/]' \| \
16987 X"$file" : 'X\(//\)$' \| \
16988 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16989 $as_echo X"$file" |
16990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16994 /^X\(\/\/\)[^/].*/{
17007 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17008 # echo "creating $dirpart/$file"
17009 echo '# dummy' > "$dirpart/$file"
17016 # See if we are running on zsh, and set the options which allow our
17017 # commands through without removal of \ escapes.
17018 if test -n "${ZSH_VERSION+set}" ; then
17019 setopt NO_GLOB_SUBST
17022 cfgfile="${ofile}T"
17023 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17026 cat <<_LT_EOF >> "$cfgfile"
17029 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17030 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17031 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17032 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17034 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17035 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17037 # Written by Gordon Matzigkeit, 1996
17039 # This file is part of GNU Libtool.
17041 # GNU Libtool is free software; you can redistribute it and/or
17042 # modify it under the terms of the GNU General Public License as
17043 # published by the Free Software Foundation; either version 2 of
17044 # the License, or (at your option) any later version.
17046 # As a special exception to the GNU General Public License,
17047 # if you distribute this file as part of a program or library that
17048 # is built using GNU Libtool, you may include this file under the
17049 # same distribution terms that you use for the rest of that program.
17051 # GNU Libtool is distributed in the hope that it will be useful,
17052 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17053 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17054 # GNU General Public License for more details.
17056 # You should have received a copy of the GNU General Public License
17057 # along with GNU Libtool; see the file COPYING. If not, a copy
17058 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17059 # obtained by writing to the Free Software Foundation, Inc.,
17060 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17063 # The names of the tagged configurations supported by this script.
17066 # ### BEGIN LIBTOOL CONFIG
17068 # Assembler program.
17071 # DLL creation program.
17072 DLLTOOL=$lt_DLLTOOL
17074 # Object dumper program.
17075 OBJDUMP=$lt_OBJDUMP
17077 # Which release of libtool.m4 was used?
17078 macro_version=$macro_version
17079 macro_revision=$macro_revision
17081 # Whether or not to build shared libraries.
17082 build_libtool_libs=$enable_shared
17084 # Whether or not to build static libraries.
17085 build_old_libs=$enable_static
17087 # What type of objects to build.
17090 # Whether or not to optimize for fast installation.
17091 fast_install=$enable_fast_install
17093 # Shell to use when invoking shell scripts.
17096 # An echo program that protects backslashes.
17099 # The PATH separator for the build system.
17100 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17103 host_alias=$host_alias
17107 # The build system.
17108 build_alias=$build_alias
17112 # A sed program that does not truncate output.
17115 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17116 Xsed="\$SED -e 1s/^X//"
17118 # A grep program that handles long lines.
17124 # A literal string matcher.
17127 # A BSD- or MS-compatible name lister.
17130 # Whether we need soft or hard links.
17133 # What is the maximum length of a command?
17134 max_cmd_len=$max_cmd_len
17136 # Object file suffix (normally "o").
17139 # Executable file suffix (normally "").
17142 # whether the shell understands "unset".
17145 # turn spaces into newlines.
17148 # turn newlines into spaces.
17151 # convert \$build file names to \$host format.
17152 to_host_file_cmd=$lt_cv_to_host_file_cmd
17154 # convert \$build files to toolchain format.
17155 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17157 # Method to check whether dependent libraries are shared objects.
17158 deplibs_check_method=$lt_deplibs_check_method
17160 # Command to use when deplibs_check_method = "file_magic".
17161 file_magic_cmd=$lt_file_magic_cmd
17163 # How to find potential files when deplibs_check_method = "file_magic".
17164 file_magic_glob=$lt_file_magic_glob
17166 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17167 want_nocaseglob=$lt_want_nocaseglob
17169 # Command to associate shared and link libraries.
17170 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17175 # Flags to create an archive.
17176 AR_FLAGS=$lt_AR_FLAGS
17178 # How to feed a file listing to the archiver.
17179 archiver_list_spec=$lt_archiver_list_spec
17181 # A symbol stripping program.
17184 # Commands used to install an old-style archive.
17186 old_postinstall_cmds=$lt_old_postinstall_cmds
17187 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17189 # Whether to use a lock for old archive extraction.
17190 lock_old_archive_extraction=$lock_old_archive_extraction
17195 # LTCC compiler flags.
17196 LTCFLAGS=$lt_CFLAGS
17198 # Take the output of nm and produce a listing of raw symbols and C names.
17199 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17201 # Transform the output of nm in a proper C declaration.
17202 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17204 # Transform the output of nm in a C name address pair.
17205 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17207 # Transform the output of nm in a C name address pair when lib prefix is needed.
17208 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17210 # Specify filename containing input files for \$NM.
17211 nm_file_list_spec=$lt_nm_file_list_spec
17213 # The root where to search for dependent libraries,and in which our libraries should be installed.
17214 lt_sysroot=$lt_sysroot
17216 # The name of the directory that contains temporary libtool files.
17219 # Used to examine libraries when file_magic_cmd begins with "file".
17220 MAGIC_CMD=$MAGIC_CMD
17222 # Must we lock files when doing compilation?
17223 need_locks=$lt_need_locks
17226 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17228 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17229 DSYMUTIL=$lt_DSYMUTIL
17231 # Tool to change global to local symbols on Mac OS X.
17234 # Tool to manipulate fat objects and archives on Mac OS X.
17237 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17240 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17241 OTOOL64=$lt_OTOOL64
17243 # Old archive suffix (normally "a").
17246 # Shared library suffix (normally ".so").
17247 shrext_cmds=$lt_shrext_cmds
17249 # The commands to extract the exported symbol list from a shared archive.
17250 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17252 # Variables whose values should be saved in libtool wrapper scripts and
17253 # restored at link time.
17254 variables_saved_for_relink=$lt_variables_saved_for_relink
17256 # Do we need the "lib" prefix for modules?
17257 need_lib_prefix=$need_lib_prefix
17259 # Do we need a version for libraries?
17260 need_version=$need_version
17262 # Library versioning type.
17263 version_type=$version_type
17265 # Shared library runtime path variable.
17266 runpath_var=$runpath_var
17268 # Shared library path variable.
17269 shlibpath_var=$shlibpath_var
17271 # Is shlibpath searched before the hard-coded library search path?
17272 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17274 # Format of library name prefix.
17275 libname_spec=$lt_libname_spec
17277 # List of archive names. First name is the real one, the rest are links.
17278 # The last name is the one that the linker finds with -lNAME
17279 library_names_spec=$lt_library_names_spec
17281 # The coded name of the library, if different from the real name.
17282 soname_spec=$lt_soname_spec
17284 # Permission mode override for installation of shared libraries.
17285 install_override_mode=$lt_install_override_mode
17287 # Command to use after installation of a shared archive.
17288 postinstall_cmds=$lt_postinstall_cmds
17290 # Command to use after uninstallation of a shared archive.
17291 postuninstall_cmds=$lt_postuninstall_cmds
17293 # Commands used to finish a libtool library installation in a directory.
17294 finish_cmds=$lt_finish_cmds
17296 # As "finish_cmds", except a single script fragment to be evaled but
17298 finish_eval=$lt_finish_eval
17300 # Whether we should hardcode library paths into libraries.
17301 hardcode_into_libs=$hardcode_into_libs
17303 # Compile-time system search path for libraries.
17304 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17306 # Run-time system search path for libraries.
17307 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17309 # Whether dlopen is supported.
17310 dlopen_support=$enable_dlopen
17312 # Whether dlopen of programs is supported.
17313 dlopen_self=$enable_dlopen_self
17315 # Whether dlopen of statically linked programs is supported.
17316 dlopen_self_static=$enable_dlopen_self_static
17318 # Commands to strip libraries.
17319 old_striplib=$lt_old_striplib
17320 striplib=$lt_striplib
17323 # The linker used to build libraries.
17326 # How to create reloadable object files.
17327 reload_flag=$lt_reload_flag
17328 reload_cmds=$lt_reload_cmds
17330 # Commands used to build an old-style archive.
17331 old_archive_cmds=$lt_old_archive_cmds
17333 # A language specific compiler.
17336 # Is the compiler the GNU compiler?
17339 # Compiler flag to turn off builtin functions.
17340 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17342 # Additional compiler flags for building library objects.
17343 pic_flag=$lt_lt_prog_compiler_pic
17345 # How to pass a linker flag through the compiler.
17346 wl=$lt_lt_prog_compiler_wl
17348 # Compiler flag to prevent dynamic linking.
17349 link_static_flag=$lt_lt_prog_compiler_static
17351 # Does compiler simultaneously support -c and -o options?
17352 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17354 # Whether or not to add -lc for building shared libraries.
17355 build_libtool_need_lc=$archive_cmds_need_lc
17357 # Whether or not to disallow shared libs when runtime libs are static.
17358 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17360 # Compiler flag to allow reflexive dlopens.
17361 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17363 # Compiler flag to generate shared objects directly from archives.
17364 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17366 # Whether the compiler copes with passing no objects directly.
17367 compiler_needs_object=$lt_compiler_needs_object
17369 # Create an old-style archive from a shared archive.
17370 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17372 # Create a temporary old-style archive to link instead of a shared archive.
17373 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17375 # Commands used to build a shared archive.
17376 archive_cmds=$lt_archive_cmds
17377 archive_expsym_cmds=$lt_archive_expsym_cmds
17379 # Commands used to build a loadable module if different from building
17380 # a shared archive.
17381 module_cmds=$lt_module_cmds
17382 module_expsym_cmds=$lt_module_expsym_cmds
17384 # Whether we are building with GNU ld or not.
17385 with_gnu_ld=$lt_with_gnu_ld
17387 # Flag that allows shared libraries with undefined symbols to be built.
17388 allow_undefined_flag=$lt_allow_undefined_flag
17390 # Flag that enforces no undefined symbols.
17391 no_undefined_flag=$lt_no_undefined_flag
17393 # Flag to hardcode \$libdir into a binary during linking.
17394 # This must work even if \$libdir does not exist
17395 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17397 # Whether we need a single "-rpath" flag with a separated argument.
17398 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17400 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17401 # DIR into the resulting binary.
17402 hardcode_direct=$hardcode_direct
17404 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17405 # DIR into the resulting binary and the resulting library dependency is
17406 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17407 # library is relocated.
17408 hardcode_direct_absolute=$hardcode_direct_absolute
17410 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17411 # into the resulting binary.
17412 hardcode_minus_L=$hardcode_minus_L
17414 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17415 # into the resulting binary.
17416 hardcode_shlibpath_var=$hardcode_shlibpath_var
17418 # Set to "yes" if building a shared library automatically hardcodes DIR
17419 # into the library and all subsequent libraries and executables linked
17421 hardcode_automatic=$hardcode_automatic
17423 # Set to yes if linker adds runtime paths of dependent libraries
17424 # to runtime path list.
17425 inherit_rpath=$inherit_rpath
17427 # Whether libtool must link a program against all its dependency libraries.
17428 link_all_deplibs=$link_all_deplibs
17430 # Set to "yes" if exported symbols are required.
17431 always_export_symbols=$always_export_symbols
17433 # The commands to list exported symbols.
17434 export_symbols_cmds=$lt_export_symbols_cmds
17436 # Symbols that should not be listed in the preloaded symbols.
17437 exclude_expsyms=$lt_exclude_expsyms
17439 # Symbols that must always be exported.
17440 include_expsyms=$lt_include_expsyms
17442 # Commands necessary for linking programs (against libraries) with templates.
17443 prelink_cmds=$lt_prelink_cmds
17445 # Commands necessary for finishing linking programs.
17446 postlink_cmds=$lt_postlink_cmds
17448 # Specify filename containing input files.
17449 file_list_spec=$lt_file_list_spec
17451 # How to hardcode a shared library path into an executable.
17452 hardcode_action=$hardcode_action
17454 # ### END LIBTOOL CONFIG
17460 cat <<\_LT_EOF >> "$cfgfile"
17461 # AIX sometimes has problems with the GCC collect2 program. For some
17462 # reason, if we set the COLLECT_NAMES environment variable, the problems
17463 # vanish in a puff of smoke.
17464 if test "X${COLLECT_NAMES+set}" != Xset; then
17466 export COLLECT_NAMES
17473 ltmain="$ac_aux_dir/ltmain.sh"
17476 # We use sed instead of cat because bash on DJGPP gets confused if
17477 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17478 # text mode, it properly converts lines to CR/LF. This bash problem
17479 # is reportedly fixed, but why not run on old versions too?
17480 sed '$q' "$ltmain" >> "$cfgfile" \
17481 || (rm -f "$cfgfile"; exit 1)
17483 if test x"$xsi_shell" = xyes; then
17484 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17488 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17489 \ * ) func_dirname_result="${3}" ;;\
17491 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17492 && mv -f "$cfgfile.tmp" "$cfgfile" \
17493 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17494 test 0 -eq $? || _lt_function_replace_fail=:
17497 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17500 \ func_basename_result="${1##*/}"\
17501 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17502 && mv -f "$cfgfile.tmp" "$cfgfile" \
17503 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17504 test 0 -eq $? || _lt_function_replace_fail=:
17507 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17508 func_dirname_and_basename ()\
17511 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17512 \ * ) func_dirname_result="${3}" ;;\
17514 \ func_basename_result="${1##*/}"\
17515 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17516 && mv -f "$cfgfile.tmp" "$cfgfile" \
17517 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17518 test 0 -eq $? || _lt_function_replace_fail=:
17521 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17524 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17525 \ # positional parameters, so assign one to ordinary parameter first.\
17526 \ func_stripname_result=${3}\
17527 \ func_stripname_result=${func_stripname_result#"${1}"}\
17528 \ func_stripname_result=${func_stripname_result%"${2}"}\
17529 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17530 && mv -f "$cfgfile.tmp" "$cfgfile" \
17531 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17532 test 0 -eq $? || _lt_function_replace_fail=:
17535 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17536 func_split_long_opt ()\
17538 \ func_split_long_opt_name=${1%%=*}\
17539 \ func_split_long_opt_arg=${1#*=}\
17540 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17541 && mv -f "$cfgfile.tmp" "$cfgfile" \
17542 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17543 test 0 -eq $? || _lt_function_replace_fail=:
17546 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17547 func_split_short_opt ()\
17549 \ func_split_short_opt_arg=${1#??}\
17550 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17551 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17552 && mv -f "$cfgfile.tmp" "$cfgfile" \
17553 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17554 test 0 -eq $? || _lt_function_replace_fail=:
17557 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17561 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17562 \ *) func_lo2o_result=${1} ;;\
17564 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17565 && mv -f "$cfgfile.tmp" "$cfgfile" \
17566 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17567 test 0 -eq $? || _lt_function_replace_fail=:
17570 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17573 func_xform_result=${1%.*}.lo\
17574 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17575 && mv -f "$cfgfile.tmp" "$cfgfile" \
17576 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17577 test 0 -eq $? || _lt_function_replace_fail=:
17580 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17583 func_arith_result=$(( $* ))\
17584 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17585 && mv -f "$cfgfile.tmp" "$cfgfile" \
17586 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17587 test 0 -eq $? || _lt_function_replace_fail=:
17590 sed -e '/^func_len ()$/,/^} # func_len /c\
17593 func_len_result=${#1}\
17594 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17595 && mv -f "$cfgfile.tmp" "$cfgfile" \
17596 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17597 test 0 -eq $? || _lt_function_replace_fail=:
17601 if test x"$lt_shell_append" = xyes; then
17602 sed -e '/^func_append ()$/,/^} # func_append /c\
17605 eval "${1}+=\\${2}"\
17606 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17607 && mv -f "$cfgfile.tmp" "$cfgfile" \
17608 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17609 test 0 -eq $? || _lt_function_replace_fail=:
17612 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17613 func_append_quoted ()\
17615 \ func_quote_for_eval "${2}"\
17616 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17617 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17618 && mv -f "$cfgfile.tmp" "$cfgfile" \
17619 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17620 test 0 -eq $? || _lt_function_replace_fail=:
17623 # Save a `func_append' function call where possible by direct use of '+='
17624 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17625 && mv -f "$cfgfile.tmp" "$cfgfile" \
17626 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17627 test 0 -eq $? || _lt_function_replace_fail=:
17629 # Save a `func_append' function call even when '+=' is not available
17630 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17631 && mv -f "$cfgfile.tmp" "$cfgfile" \
17632 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17633 test 0 -eq $? || _lt_function_replace_fail=:
17636 if test x"$_lt_function_replace_fail" = x":"; then
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17638 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17642 mv -f "$cfgfile" "$ofile" ||
17643 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17654 ac_clean_files=$ac_clean_files_save
17656 test $ac_write_fail = 0 ||
17657 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17660 # configure is writing to config.log, and then calls config.status.
17661 # config.status does its own redirection, appending to config.log.
17662 # Unfortunately, on DOS this fails, as config.log is still kept open
17663 # by configure, so config.status won't be able to write to it; its
17664 # output is simply discarded. So we exec the FD to /dev/null,
17665 # effectively closing config.log, so it can be properly (re)opened and
17666 # appended to by config.status. When coming back to configure, we
17667 # need to make the FD available again.
17668 if test "$no_create" != yes; then
17670 ac_config_status_args=
17671 test "$silent" = yes &&
17672 ac_config_status_args="$ac_config_status_args --quiet"
17674 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17676 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17677 # would make configure fail if this is the last instruction.
17678 $ac_cs_success || as_fn_exit 1
17680 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17682 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17687 #####################################################################
17693 echo "------------------------------------------------------------------------"
17694 echo "$PACKAGE $VERSION"
17695 echo "------------------------------------------------------------------------"
17697 echo "Configuration Options Summary:"
17700 echo " Xine...............: ${enable_xine}"
17701 echo " Gstreamer..........: ${enable_gstreamer} (X: ${have_ecore_x}/${build_xoverlay})"
17702 echo " Generic............: ${enable_generic}"
17704 if test "x${enable_generic}" = "xyes" || test "x${enable_generic}" = "xstatic"; then
17706 echo " Generic Players:"
17707 echo " VLC................: ${enable_generic_vlc}"
17711 echo " Build emotion_test...: $have_emotion_test"
17712 echo " edje_cc..............: ${edje_cc}"
17714 echo " Edje EXTERNAL support: ${have_edje_external}"
17716 echo " Eio..................: ${have_eio}"
17717 echo " V4L2.................: ${have_v4l2}"
17719 echo "Documentation..........: ${build_doc}"
17720 if test "x${build_doc}" = "xyes" ; then
17721 echo " Installation.......: make install-doc"
17723 echo "Examples.............: ${enable_build_examples}"
17724 echo "Examples installed...: ${enable_install_examples}"
17726 echo "Compilation............: make (or gmake)"
17727 echo " CPPFLAGS.............: $CPPFLAGS"
17728 echo " CFLAGS...............: $CFLAGS"
17729 echo " LDFLAGS..............: $LDFLAGS"
17731 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
17732 echo " prefix...............: $prefix"
17734 if test "x${have_static_module}" = "xyes" ; then
17735 echo -e "\0033\01331;31mWarning\0033\01331;0m: You are trying to link statically one or more modules to Emotion."
17736 echo " You must know what you are doing, or else you will have a lot of problems."
17737 echo " And asparagus will disappear from the earth."
17738 echo " Think about that."