2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ecore 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
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: enlightenment-devel@lists.sourceforge.net about your
279 $0: system, including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
592 PACKAGE_TARNAME='ecore'
593 PACKAGE_VERSION='1.7.8'
594 PACKAGE_STRING='ecore 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>
636 ac_subst_vars='am__EXEEXT_FALSE
640 requirements_ecore_wayland
641 requirements_ecore_imf_ibus
642 requirements_ecore_imf_scim
643 requirements_ecore_imf_xim
644 requirements_ecore_wince
645 requirements_ecore_win32
647 requirements_ecore_psl1ght
648 requirements_ecore_sdl
649 requirements_ecore_cocoa
650 requirements_ecore_ipc
651 requirements_ecore_input_evas
652 requirements_ecore_input
653 requirements_ecore_imf_evas
654 requirements_ecore_imf
655 requirements_ecore_file
656 requirements_ecore_fb
657 requirements_ecore_evas
658 requirements_ecore_directfb
659 requirements_ecore_con
661 EFL_INSTALL_EXAMPLES_FALSE
662 EFL_INSTALL_EXAMPLES_TRUE
663 EFL_BUILD_EXAMPLES_FALSE
664 EFL_BUILD_EXAMPLES_TRUE
665 EFL_ENABLE_COVERAGE_FALSE
666 EFL_ENABLE_COVERAGE_TRUE
670 EFL_ENABLE_TESTS_FALSE
671 EFL_ENABLE_TESTS_TRUE
678 BUILD_ECORE_WAYLAND_FALSE
679 BUILD_ECORE_WAYLAND_TRUE
683 ecore_imf_ibus_cflags
684 BUILD_ECORE_IMF_IBUS_FALSE
685 BUILD_ECORE_IMF_IBUS_TRUE
692 BUILD_ECORE_EVAS_FALSE
693 BUILD_ECORE_EVAS_TRUE
696 BUILD_ECORE_WINCE_FALSE
697 BUILD_ECORE_WINCE_TRUE
699 ecore_directfb_cflags
700 BUILD_ECORE_DIRECTFB_FALSE
701 BUILD_ECORE_DIRECTFB_TRUE
710 BUILD_ECORE_PSL1GHT_FALSE
711 BUILD_ECORE_PSL1GHT_TRUE
714 BUILD_ECORE_SDL_FALSE
718 BUILD_ECORE_COCOA_FALSE
719 BUILD_ECORE_COCOA_TRUE
722 BUILD_ECORE_WIN32_FALSE
723 BUILD_ECORE_WIN32_TRUE
729 ecore_imf_scim_cflags
730 BUILD_ECORE_IMF_SCIM_FALSE
731 BUILD_ECORE_IMF_SCIM_TRUE
736 BUILD_ECORE_IMF_XIM_FALSE
737 BUILD_ECORE_IMF_XIM_TRUE
738 ecore_input_evas_libs
739 ecore_input_evas_cflags
740 BUILD_ECORE_INPUT_EVAS_FALSE
741 BUILD_ECORE_INPUT_EVAS_TRUE
744 BUILD_ECORE_INPUT_FALSE
745 BUILD_ECORE_INPUT_TRUE
747 ecore_imf_evas_cflags
748 BUILD_ECORE_IMF_EVAS_FALSE
749 BUILD_ECORE_IMF_EVAS_TRUE
752 BUILD_ECORE_IMF_FALSE
754 BUILD_ECORE_CONFIG_FALSE
755 BUILD_ECORE_CONFIG_TRUE
758 BUILD_ECORE_FILE_FALSE
759 BUILD_ECORE_FILE_TRUE
762 BUILD_ECORE_IPC_FALSE
768 EFL_HAVE_WNO_INITIALIZER_OVERRIDES_FALSE
769 EFL_HAVE_WNO_INITIALIZER_OVERRIDES_TRUE
770 EFL_HAVE_WNO_OVERRIDE_INIT_FALSE
771 EFL_HAVE_WNO_OVERRIDE_INIT_TRUE
788 BUILD_ECORE_CON_FALSE
792 lt_enable_auto_import
800 BUILD_ECORE_X_XCB_FALSE
801 BUILD_ECORE_X_XCB_TRUE
802 BUILD_ECORE_X_XLIB_FALSE
803 BUILD_ECORE_X_XLIB_TRUE
841 have_ecore_x_xcb_define
861 XCB_SCREENSAVER_CFLAGS
891 ECORE_HAVE_WIN32_FALSE
892 ECORE_HAVE_WIN32_TRUE
893 ECORE_HAVE_WINCE_FALSE
894 ECORE_HAVE_WINCE_TRUE
895 EFL_ECORE_PSL1GHT_BUILD
897 EFL_ECORE_WIN32_BUILD
898 EFL_ECORE_WINCE_BUILD
900 EFL_ECORE_INPUT_EVAS_BUILD
901 EFL_ECORE_INPUT_BUILD
902 EFL_ECORE_IMF_EVAS_BUILD
908 ECORE_HAVE_EXOTIC_FALSE
909 ECORE_HAVE_EXOTIC_TRUE
916 pkgconfig_requires_private
931 am__fastdepOBJC_FALSE
946 XGETTEXT_EXTRA_OPTIONS
954 GETTEXT_MACRO_VERSION
1008 AM_DEFAULT_VERBOSITY
1019 INSTALL_STRIP_PROGRAM
1061 program_transform_name
1074 enable_option_checking
1076 enable_dependency_tracking
1086 with_libiconv_prefix
1088 with_internal_maximum_log_level
1089 enable_glib_integration_always
1091 enable_local_sockets
1092 enable_abstract_sockets
1097 enable_ecore_timer_dump
1100 enable_ecore_x_composite
1101 enable_ecore_x_damage
1103 enable_ecore_x_randr
1104 enable_ecore_x_render
1105 enable_ecore_x_screensaver
1106 enable_ecore_x_shape
1107 enable_ecore_x_gesture
1109 enable_ecore_x_xfixes
1110 enable_ecore_x_xinerama
1111 enable_ecore_x_xprint
1112 enable_ecore_x_xtest
1113 enable_ecore_x_cursor
1114 enable_ecore_x_input
1121 enable_posix_threads
1122 enable_win32_threads
1123 enable_debug_threads
1124 enable_thread_safety
1125 enable_atfile_source
1130 with_libgcrypt_prefix
1131 with_libgcrypt_exec_prefix
1140 enable_ecore_imf_evas
1142 enable_ecore_input_evas
1143 enable_ecore_imf_xim
1144 enable_ecore_imf_scim
1149 enable_ecore_psl1ght
1152 enable_ecore_directfb
1155 enable_ecore_evas_software_buffer
1156 enable_ecore_evas_software_x11
1157 enable_ecore_evas_opengl_x11
1158 enable_ecore_evas_software_16_x11
1159 enable_ecore_evas_software_8_x11
1160 enable_ecore_evas_software_gdi
1161 enable_ecore_evas_software_ddraw
1162 enable_ecore_evas_direct3d
1163 enable_ecore_evas_opengl_glew
1164 enable_ecore_evas_software_16_ddraw
1165 enable_ecore_evas_opengl_sdl
1166 enable_ecore_evas_opengl_cocoa
1167 enable_ecore_evas_directfb
1168 enable_ecore_evas_fb
1169 enable_ecore_evas_software_16_wince
1170 enable_ecore_evas_ews
1171 enable_ecore_evas_psl1ght
1172 enable_ecore_imf_ibus
1173 enable_ecore_wayland
1174 enable_ecore_evas_wayland_shm
1175 enable_ecore_evas_wayland_egl
1178 enable_build_examples
1179 enable_install_examples
1181 ac_precious_vars='build_alias
1217 XCB_COMPOSITE_CFLAGS
1227 XCB_SCREENSAVER_CFLAGS
1228 XCB_SCREENSAVER_LIBS
1277 # Initialize some variables set by options.
1279 ac_init_version=false
1280 ac_unrecognized_opts=
1281 ac_unrecognized_sep=
1282 # The variables have the same names as the options, with
1283 # dashes changed to underlines.
1284 cache_file=/dev/null
1291 program_transform_name=s,x,x,
1299 # Installation directory options.
1300 # These are left unexpanded so users can "make install exec_prefix=/foo"
1301 # and all the variables that are supposed to be based on exec_prefix
1302 # by default will actually change.
1303 # Use braces instead of parens because sh, perl, etc. also accept them.
1304 # (The list follows the same order as the GNU Coding Standards.)
1305 bindir='${exec_prefix}/bin'
1306 sbindir='${exec_prefix}/sbin'
1307 libexecdir='${exec_prefix}/libexec'
1308 datarootdir='${prefix}/share'
1309 datadir='${datarootdir}'
1310 sysconfdir='${prefix}/etc'
1311 sharedstatedir='${prefix}/com'
1312 localstatedir='${prefix}/var'
1313 includedir='${prefix}/include'
1314 oldincludedir='/usr/include'
1315 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1316 infodir='${datarootdir}/info'
1321 libdir='${exec_prefix}/lib'
1322 localedir='${datarootdir}/locale'
1323 mandir='${datarootdir}/man'
1329 # If the previous option needs an argument, assign it.
1330 if test -n "$ac_prev"; then
1331 eval $ac_prev=\$ac_option
1337 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1342 # Accept the important Cygnus configure options, so we can diagnose typos.
1344 case $ac_dashdash$ac_option in
1348 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1350 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1351 bindir=$ac_optarg ;;
1353 -build | --build | --buil | --bui | --bu)
1354 ac_prev=build_alias ;;
1355 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1356 build_alias=$ac_optarg ;;
1358 -cache-file | --cache-file | --cache-fil | --cache-fi \
1359 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1360 ac_prev=cache_file ;;
1361 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1362 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1363 cache_file=$ac_optarg ;;
1365 --config-cache | -C)
1366 cache_file=config.cache ;;
1368 -datadir | --datadir | --datadi | --datad)
1370 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1371 datadir=$ac_optarg ;;
1373 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1374 | --dataroo | --dataro | --datar)
1375 ac_prev=datarootdir ;;
1376 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1377 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1378 datarootdir=$ac_optarg ;;
1380 -disable-* | --disable-*)
1381 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1384 as_fn_error $? "invalid feature name: $ac_useropt"
1385 ac_useropt_orig=$ac_useropt
1386 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1387 case $ac_user_opts in
1389 "enable_$ac_useropt"
1391 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1392 ac_unrecognized_sep=', ';;
1394 eval enable_$ac_useropt=no ;;
1396 -docdir | --docdir | --docdi | --doc | --do)
1398 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1399 docdir=$ac_optarg ;;
1401 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1403 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1404 dvidir=$ac_optarg ;;
1406 -enable-* | --enable-*)
1407 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1408 # Reject names that are not valid shell variable names.
1409 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1410 as_fn_error $? "invalid feature name: $ac_useropt"
1411 ac_useropt_orig=$ac_useropt
1412 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1413 case $ac_user_opts in
1415 "enable_$ac_useropt"
1417 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1418 ac_unrecognized_sep=', ';;
1420 eval enable_$ac_useropt=\$ac_optarg ;;
1422 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1423 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1424 | --exec | --exe | --ex)
1425 ac_prev=exec_prefix ;;
1426 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1427 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1428 | --exec=* | --exe=* | --ex=*)
1429 exec_prefix=$ac_optarg ;;
1431 -gas | --gas | --ga | --g)
1432 # Obsolete; use --with-gas.
1435 -help | --help | --hel | --he | -h)
1436 ac_init_help=long ;;
1437 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1438 ac_init_help=recursive ;;
1439 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1440 ac_init_help=short ;;
1442 -host | --host | --hos | --ho)
1443 ac_prev=host_alias ;;
1444 -host=* | --host=* | --hos=* | --ho=*)
1445 host_alias=$ac_optarg ;;
1447 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1449 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1451 htmldir=$ac_optarg ;;
1453 -includedir | --includedir | --includedi | --included | --include \
1454 | --includ | --inclu | --incl | --inc)
1455 ac_prev=includedir ;;
1456 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1457 | --includ=* | --inclu=* | --incl=* | --inc=*)
1458 includedir=$ac_optarg ;;
1460 -infodir | --infodir | --infodi | --infod | --info | --inf)
1462 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1463 infodir=$ac_optarg ;;
1465 -libdir | --libdir | --libdi | --libd)
1467 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1468 libdir=$ac_optarg ;;
1470 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1471 | --libexe | --libex | --libe)
1472 ac_prev=libexecdir ;;
1473 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1474 | --libexe=* | --libex=* | --libe=*)
1475 libexecdir=$ac_optarg ;;
1477 -localedir | --localedir | --localedi | --localed | --locale)
1478 ac_prev=localedir ;;
1479 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1480 localedir=$ac_optarg ;;
1482 -localstatedir | --localstatedir | --localstatedi | --localstated \
1483 | --localstate | --localstat | --localsta | --localst | --locals)
1484 ac_prev=localstatedir ;;
1485 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1486 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1487 localstatedir=$ac_optarg ;;
1489 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1491 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1492 mandir=$ac_optarg ;;
1494 -nfp | --nfp | --nf)
1495 # Obsolete; use --without-fp.
1498 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1499 | --no-cr | --no-c | -n)
1502 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1503 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1506 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1507 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1508 | --oldin | --oldi | --old | --ol | --o)
1509 ac_prev=oldincludedir ;;
1510 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1511 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1512 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1513 oldincludedir=$ac_optarg ;;
1515 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1517 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1518 prefix=$ac_optarg ;;
1520 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1521 | --program-pre | --program-pr | --program-p)
1522 ac_prev=program_prefix ;;
1523 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1524 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1525 program_prefix=$ac_optarg ;;
1527 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1528 | --program-suf | --program-su | --program-s)
1529 ac_prev=program_suffix ;;
1530 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1531 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1532 program_suffix=$ac_optarg ;;
1534 -program-transform-name | --program-transform-name \
1535 | --program-transform-nam | --program-transform-na \
1536 | --program-transform-n | --program-transform- \
1537 | --program-transform | --program-transfor \
1538 | --program-transfo | --program-transf \
1539 | --program-trans | --program-tran \
1540 | --progr-tra | --program-tr | --program-t)
1541 ac_prev=program_transform_name ;;
1542 -program-transform-name=* | --program-transform-name=* \
1543 | --program-transform-nam=* | --program-transform-na=* \
1544 | --program-transform-n=* | --program-transform-=* \
1545 | --program-transform=* | --program-transfor=* \
1546 | --program-transfo=* | --program-transf=* \
1547 | --program-trans=* | --program-tran=* \
1548 | --progr-tra=* | --program-tr=* | --program-t=*)
1549 program_transform_name=$ac_optarg ;;
1551 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1553 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1554 pdfdir=$ac_optarg ;;
1556 -psdir | --psdir | --psdi | --psd | --ps)
1558 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1561 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1562 | -silent | --silent | --silen | --sile | --sil)
1565 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1567 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1569 sbindir=$ac_optarg ;;
1571 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1572 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1573 | --sharedst | --shareds | --shared | --share | --shar \
1575 ac_prev=sharedstatedir ;;
1576 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1577 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1578 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1580 sharedstatedir=$ac_optarg ;;
1582 -site | --site | --sit)
1584 -site=* | --site=* | --sit=*)
1587 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1589 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1590 srcdir=$ac_optarg ;;
1592 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1593 | --syscon | --sysco | --sysc | --sys | --sy)
1594 ac_prev=sysconfdir ;;
1595 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1596 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1597 sysconfdir=$ac_optarg ;;
1599 -target | --target | --targe | --targ | --tar | --ta | --t)
1600 ac_prev=target_alias ;;
1601 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1602 target_alias=$ac_optarg ;;
1604 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1607 -version | --version | --versio | --versi | --vers | -V)
1608 ac_init_version=: ;;
1611 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1612 # Reject names that are not valid shell variable names.
1613 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1614 as_fn_error $? "invalid package name: $ac_useropt"
1615 ac_useropt_orig=$ac_useropt
1616 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1617 case $ac_user_opts in
1621 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1622 ac_unrecognized_sep=', ';;
1624 eval with_$ac_useropt=\$ac_optarg ;;
1626 -without-* | --without-*)
1627 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1628 # Reject names that are not valid shell variable names.
1629 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1630 as_fn_error $? "invalid package name: $ac_useropt"
1631 ac_useropt_orig=$ac_useropt
1632 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1633 case $ac_user_opts in
1637 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1638 ac_unrecognized_sep=', ';;
1640 eval with_$ac_useropt=no ;;
1643 # Obsolete; use --with-x.
1646 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1647 | --x-incl | --x-inc | --x-in | --x-i)
1648 ac_prev=x_includes ;;
1649 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1650 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1651 x_includes=$ac_optarg ;;
1653 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1654 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1655 ac_prev=x_libraries ;;
1656 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1657 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1658 x_libraries=$ac_optarg ;;
1660 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1661 Try \`$0 --help' for more information"
1665 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1666 # Reject names that are not valid shell variable names.
1667 case $ac_envvar in #(
1668 '' | [0-9]* | *[!_$as_cr_alnum]* )
1669 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1671 eval $ac_envvar=\$ac_optarg
1672 export $ac_envvar ;;
1675 # FIXME: should be removed in autoconf 3.0.
1676 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1677 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1678 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1679 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1685 if test -n "$ac_prev"; then
1686 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1687 as_fn_error $? "missing argument to $ac_option"
1690 if test -n "$ac_unrecognized_opts"; then
1691 case $enable_option_checking in
1693 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1694 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1698 # Check all directory arguments for consistency.
1699 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1700 datadir sysconfdir sharedstatedir localstatedir includedir \
1701 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1702 libdir localedir mandir
1704 eval ac_val=\$$ac_var
1705 # Remove trailing slashes.
1708 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1709 eval $ac_var=\$ac_val;;
1711 # Be sure to have absolute directory names.
1713 [\\/$]* | ?:[\\/]* ) continue;;
1714 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1716 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1719 # There might be people who depend on the old broken behavior: `$host'
1720 # used to hold the argument of --host etc.
1721 # FIXME: To remove some day.
1724 target=$target_alias
1726 # FIXME: To remove some day.
1727 if test "x$host_alias" != x; then
1728 if test "x$build_alias" = x; then
1729 cross_compiling=maybe
1730 elif test "x$build_alias" != "x$host_alias"; then
1736 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1738 test "$silent" = yes && exec 6>/dev/null
1741 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1742 ac_ls_di=`ls -di .` &&
1743 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1744 as_fn_error $? "working directory cannot be determined"
1745 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1746 as_fn_error $? "pwd does not report name of working directory"
1749 # Find the source files, if location was not specified.
1750 if test -z "$srcdir"; then
1751 ac_srcdir_defaulted=yes
1752 # Try the directory containing this script, then the parent directory.
1753 ac_confdir=`$as_dirname -- "$as_myself" ||
1754 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1755 X"$as_myself" : 'X\(//\)[^/]' \| \
1756 X"$as_myself" : 'X\(//\)$' \| \
1757 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1758 $as_echo X"$as_myself" |
1759 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1777 if test ! -r "$srcdir/$ac_unique_file"; then
1781 ac_srcdir_defaulted=no
1783 if test ! -r "$srcdir/$ac_unique_file"; then
1784 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1785 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1787 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1789 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1791 # When building in place, set srcdir=.
1792 if test "$ac_abs_confdir" = "$ac_pwd"; then
1795 # Remove unnecessary trailing slashes from srcdir.
1796 # Double slashes in file names in object file debugging info
1797 # mess up M-x gdb in Emacs.
1799 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1801 for ac_var in $ac_precious_vars; do
1802 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1803 eval ac_env_${ac_var}_value=\$${ac_var}
1804 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1805 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1809 # Report the --help message.
1811 if test "$ac_init_help" = "long"; then
1812 # Omit some internal or obsolete options to make the list less imposing.
1813 # This message is too long to be a string in the A/UX 3.1 sh.
1815 \`configure' configures ecore 1.7.8 to adapt to many kinds of systems.
1817 Usage: $0 [OPTION]... [VAR=VALUE]...
1819 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1820 VAR=VALUE. See below for descriptions of some of the useful variables.
1822 Defaults for the options are specified in brackets.
1825 -h, --help display this help and exit
1826 --help=short display options specific to this package
1827 --help=recursive display the short help of all the included packages
1828 -V, --version display version information and exit
1829 -q, --quiet, --silent do not print \`checking ...' messages
1830 --cache-file=FILE cache test results in FILE [disabled]
1831 -C, --config-cache alias for \`--cache-file=config.cache'
1832 -n, --no-create do not create output files
1833 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1835 Installation directories:
1836 --prefix=PREFIX install architecture-independent files in PREFIX
1837 [$ac_default_prefix]
1838 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1841 By default, \`make install' will install all the files in
1842 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1843 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1844 for instance \`--prefix=\$HOME'.
1846 For better control, use the options below.
1848 Fine tuning of the installation directories:
1849 --bindir=DIR user executables [EPREFIX/bin]
1850 --sbindir=DIR system admin executables [EPREFIX/sbin]
1851 --libexecdir=DIR program executables [EPREFIX/libexec]
1852 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1853 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1854 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1855 --libdir=DIR object code libraries [EPREFIX/lib]
1856 --includedir=DIR C header files [PREFIX/include]
1857 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1858 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1859 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1860 --infodir=DIR info documentation [DATAROOTDIR/info]
1861 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1862 --mandir=DIR man documentation [DATAROOTDIR/man]
1863 --docdir=DIR documentation root [DATAROOTDIR/doc/ecore]
1864 --htmldir=DIR html documentation [DOCDIR]
1865 --dvidir=DIR dvi documentation [DOCDIR]
1866 --pdfdir=DIR pdf documentation [DOCDIR]
1867 --psdir=DIR ps documentation [DOCDIR]
1873 --program-prefix=PREFIX prepend PREFIX to installed program names
1874 --program-suffix=SUFFIX append SUFFIX to installed program names
1875 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1878 --x-includes=DIR X include files are in DIR
1879 --x-libraries=DIR X library files are in DIR
1882 --build=BUILD configure for building on BUILD [guessed]
1883 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1887 if test -n "$ac_init_help"; then
1888 case $ac_init_help in
1889 short | recursive ) echo "Configuration of ecore 1.7.8:";;
1894 --disable-option-checking ignore unrecognized --enable/--with options
1895 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1896 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1897 --enable-silent-rules less verbose build output (undo: "make V=1")
1898 --disable-silent-rules verbose build output (undo: "make V=0")
1899 --enable-dependency-tracking
1900 do not reject slow dependency extractors
1901 --disable-dependency-tracking
1902 speeds up one-time build
1903 --enable-shared[=PKGS] build shared libraries [default=yes]
1904 --enable-static[=PKGS] build static libraries [default=yes]
1905 --enable-fast-install[=PKGS]
1906 optimize for fast installation [default=yes]
1907 --disable-libtool-lock avoid locking (might break parallel builds)
1908 --disable-nls do not use Native Language Support
1909 --disable-rpath do not hardcode runtime library paths
1910 --enable-glib-integration-always
1911 enable glib integration when ecore_init() is called
1913 --enable-g-main-loop ecore_main_loop based on g_main_loop
1914 --disable-local-sockets disable local sockets.
1915 --disable-abstract-sockets
1916 disable abstract sockets.
1917 --enable-simple-x11 enable simple x11 linking
1918 --disable-xim disable X Input Method.
1919 --disable-doc Disable documentation build [default=enabled]
1920 --disable-ecore-timer-dump
1921 disable tracking of timer allocation.
1923 --disable-glib disable glib support. [default=detect]
1924 --disable-ecore-x-composite
1925 disable the ecore_x support for Xcomposite
1926 extension. [default=detect]
1927 --disable-ecore-x-damage
1928 disable the ecore_x support for Xdamage extension.
1930 --disable-ecore-x-dpms disable the ecore_x support for Xdpms extension.
1932 --disable-ecore-x-randr disable the ecore_x support for Xrandr extension.
1934 --disable-ecore-x-render
1935 disable the ecore_x support for Xrender extension.
1937 --disable-ecore-x-screensaver
1938 disable the ecore_x support for Xscreensaver
1939 extension. [default=detect]
1940 --disable-ecore-x-shape disable the ecore_x support for Xshape extension.
1942 --enable-ecore-x-gesture
1943 enable the ecore_x support for Xgesture extension.
1945 --disable-ecore-x-sync disable the ecore_x support for Xsync extension.
1947 --disable-ecore-x-xfixes
1948 disable the ecore_x support for Xfixes extension.
1950 --disable-ecore-x-xinerama
1951 disable the ecore_x support for Xinerama extension.
1953 --disable-ecore-x-xprint
1954 disable the ecore_x support for Xprint extension.
1956 --disable-ecore-x-xtest disable the ecore_x support for Xtest extension.
1958 --disable-ecore-x-cursor
1959 disable the ecore_x support for Xcursor extension.
1961 --disable-ecore-x-input disable the ecore_x support for Xinput/Xinput2
1962 extension. [default=detect]
1963 --disable-ecore-x-dri disable the ecore_x support for DRI extension.
1965 --enable-ecore-x-xcb enable the ecore_x module with XCB backend.
1967 --disable-largefile omit support for large files
1968 --enable-epoll enable or disable epoll support
1969 --disable-posix-threads enable POSIX threads code [default=auto]
1970 --disable-win32-threads enable Win32 threads code [default=no]
1971 --enable-debug-threads disable assert when you forgot to call
1973 --enable-thread-safety enable or disable thread safety
1974 --disable-atfile-source disable use of atfile source functions as openat and
1975 mkdirat [default=detect]
1976 --enable-ecore-con enable the ecore_con module
1977 --disable-ipv6 disable ipv6 functionality [default=detect]
1978 --disable-curl disable curl support
1979 --disable-gnutls disable gnutls support
1980 --disable-openssl disable openssl support
1981 --disable-cares disable cares support
1982 --enable-ecore-ipc enable the ecore_ipc module
1983 --enable-ecore-file enable the ecore_file module
1984 --disable-poll disable poll in the ecore_file module
1985 --disable-inotify disable inotify in the ecore_file module
1986 --disable-notify-win32 disable Windows notification in the ecore_file
1988 --enable-ecore-imf enable the ecore_imf module
1989 --enable-ecore-imf-evas enable the ecore_imf_evas module
1990 --enable-ecore-input enable the ecore_input module
1991 --enable-ecore-input-evas
1992 enable the ecore_input_evas module
1993 --enable-ecore-imf-xim enable the ecore_imf_xim module
1994 --enable-ecore-imf-scim enable the ecore_imf_scim module
1995 --enable-ecore-x enable the ecore_x module
1996 --enable-ecore-win32 enable the ecore_win32 module
1997 --enable-ecore-cocoa enable the ecore_cocoa module
1998 --enable-ecore-sdl enable the ecore_sdl module
1999 --enable-ecore-psl1ght enable the ecore_psl1ght module
2000 --enable-ecore-fb enable the ecore_fb module
2001 --disable-tslib disable the tslib support in ecore (currently
2002 ecore-fb). [default=detect]
2003 --enable-ecore-directfb enable the ecore_directfb module
2004 --enable-ecore-wince enable the ecore_wince module
2005 --enable-ecore-evas enable the ecore_evas module
2006 --enable-ecore-evas-software-buffer
2007 enable Software Buffer support in the ecore_evas
2009 --enable-ecore-evas-software-x11
2010 enable Software X11 support in the ecore_evas
2012 --enable-ecore-evas-opengl-x11
2013 enable OpenGL Xlib support in the ecore_evas module.
2014 --enable-ecore-evas-software-16-x11
2015 enable Software Xlib 16 bits support in the
2017 --enable-ecore-evas-software-8-x11
2018 enable Software 8bit X11 support in the ecore_evas
2020 --enable-ecore-evas-software-gdi
2021 enable Software GDI support in the ecore_evas
2023 --enable-ecore-evas-software-ddraw
2024 enable Software DirectDraw support in the ecore_evas
2026 --enable-ecore-evas-direct3d
2027 enable Direct3d support in the ecore_evas module.
2028 --enable-ecore-evas-opengl-glew
2029 enable Glew OpenGL support in the ecore_evas module.
2030 --enable-ecore-evas-software-16-ddraw
2031 enable 16 bpp Software DirectDraw support in the
2033 --enable-ecore-evas-opengl-sdl
2034 enable OpenGL SDL support in the ecore_evas module.
2035 --enable-ecore-evas-opengl-cocoa
2036 enable OpenGL Cocoa support in the ecore_evas
2038 --enable-ecore-evas-directfb
2039 enable DirectFB support in the ecore_evas module.
2040 --enable-ecore-evas-fb enable Linux Framebuffer support in the ecore_evas
2042 --enable-ecore-evas-software-16-wince
2043 enable 16 bpp Software Windows CE support in the
2045 --enable-ecore-evas-ews enable Ecore Evas Single Process Windowing System
2046 support in the ecore_evas module.
2047 --enable-ecore-evas-psl1ght
2048 enable PSL1GHT support in the ecore_evas module.
2049 --enable-ecore-imf-ibus enable the ecore_imf_ibus module
2050 --enable-ecore-wayland enable the ecore_wayland module
2051 --enable-ecore-evas-wayland-shm
2052 enable Wayland Shm support in the ecore_evas module.
2053 --enable-ecore-evas-wayland-egl
2054 enable Wayland Egl support in the ecore_evas module.
2055 --enable-tests enable tests [default=disabled]
2056 --enable-coverage enable coverage profiling instrumentation
2058 --enable-build-examples enable building examples [default=disabled]
2059 --enable-install-examples
2060 enable installing example source files
2064 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2065 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2066 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
2068 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2069 --with-sysroot=DIR Search for dependent libraries within DIR
2070 (or the compiler's sysroot if not specified).
2071 --with-gnu-ld assume the C compiler uses GNU ld default=no
2072 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
2073 --without-libiconv-prefix don't search for libiconv in includedir and libdir
2074 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
2075 --without-libintl-prefix don't search for libintl in includedir and libdir
2076 --with-internal-maximum-log-level=NUMBER
2077 limit ecore internal log level to the given number,
2078 any call to EINA_LOG() with values greater than this
2079 will be compiled out, ignoring runtime settings, but
2080 saving function calls.
2081 --with-doxygen=FILE doxygen program to use [default=doxygen]
2082 --with-sdl-config=PATH use sdl-config specified
2083 --with-iconv-link=ICONV_LINK
2084 explicitly specify an iconv link option
2085 --with-x use the X Window System
2086 --with-libgcrypt-prefix=PFX Prefix where libgcrypt is installed (optional)
2087 --with-libgcrypt-exec-prefix=PFX Exec prefix where libgcrypt is installed (optional)
2089 Some influential environment variables:
2090 CC C compiler command
2091 CFLAGS C compiler flags
2092 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2093 nonstandard directory <lib dir>
2094 LIBS libraries to pass to the linker, e.g. -l<library>
2095 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2096 you have headers in a nonstandard directory <include dir>
2098 OBJC Objective C compiler command
2099 OBJCFLAGS Objective C compiler flags
2100 CXX C++ compiler command
2101 CXXFLAGS C++ compiler flags
2102 CXXCPP C++ preprocessor
2103 PKG_CONFIG path to pkg-config utility
2105 directories to add to pkg-config's search path
2107 path overriding pkg-config's built-in search path
2108 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
2109 EVIL_LIBS linker flags for EVIL, overriding pkg-config
2111 C compiler flags for ESCAPE, overriding pkg-config
2112 ESCAPE_LIBS linker flags for ESCAPE, overriding pkg-config
2114 C compiler flags for EXOTIC, overriding pkg-config
2115 EXOTIC_LIBS linker flags for EXOTIC, overriding pkg-config
2116 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
2117 EINA_LIBS linker flags for EINA, overriding pkg-config
2118 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
2119 GLIB_LIBS linker flags for GLIB, overriding pkg-config
2120 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
2121 SDL_LIBS linker flags for SDL, overriding pkg-config
2123 C compiler flags for DIRECTFB, overriding pkg-config
2125 linker flags for DIRECTFB, overriding pkg-config
2127 C compiler flags for ECORE_XCB, overriding pkg-config
2129 linker flags for ECORE_XCB, overriding pkg-config
2131 C compiler flags for PIXMAN, overriding pkg-config
2132 PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config
2133 XCB_COMPOSITE_CFLAGS
2134 C compiler flags for XCB_COMPOSITE, overriding pkg-config
2136 linker flags for XCB_COMPOSITE, overriding pkg-config
2138 C compiler flags for XCB_DAMAGE, overriding pkg-config
2140 linker flags for XCB_DAMAGE, overriding pkg-config
2142 C compiler flags for XCB_DPMS, overriding pkg-config
2144 linker flags for XCB_DPMS, overriding pkg-config
2146 C compiler flags for XCB_RANDR, overriding pkg-config
2148 linker flags for XCB_RANDR, overriding pkg-config
2150 C compiler flags for XCB_RENDER, overriding pkg-config
2152 linker flags for XCB_RENDER, overriding pkg-config
2153 XCB_SCREENSAVER_CFLAGS
2154 C compiler flags for XCB_SCREENSAVER, overriding pkg-config
2155 XCB_SCREENSAVER_LIBS
2156 linker flags for XCB_SCREENSAVER, overriding pkg-config
2158 C compiler flags for XCB_SHAPE, overriding pkg-config
2160 linker flags for XCB_SHAPE, overriding pkg-config
2162 C compiler flags for XCB_XGESTURE, overriding pkg-config
2164 linker flags for XCB_XGESTURE, overriding pkg-config
2166 C compiler flags for XCB_SYNC, overriding pkg-config
2168 linker flags for XCB_SYNC, overriding pkg-config
2170 C compiler flags for XCB_XFIXES, overriding pkg-config
2172 linker flags for XCB_XFIXES, overriding pkg-config
2174 C compiler flags for XCB_XINERAMA, overriding pkg-config
2176 linker flags for XCB_XINERAMA, overriding pkg-config
2178 C compiler flags for XCB_XPRINT, overriding pkg-config
2180 linker flags for XCB_XPRINT, overriding pkg-config
2182 C compiler flags for XCB_XTEST, overriding pkg-config
2184 linker flags for XCB_XTEST, overriding pkg-config
2186 C compiler flags for XCB_XINPUT, overriding pkg-config
2188 linker flags for XCB_XINPUT, overriding pkg-config
2190 C compiler flags for XCB_CURSOR, overriding pkg-config
2192 linker flags for XCB_CURSOR, overriding pkg-config
2193 XMKMF Path to xmkmf, Makefile generator for X Window System
2194 EVAS_CFLAGS C compiler flags for EVAS, overriding pkg-config
2195 EVAS_LIBS linker flags for EVAS, overriding pkg-config
2196 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
2197 CURL_LIBS linker flags for CURL, overriding pkg-config
2198 TLS_CFLAGS C compiler flags for TLS, overriding pkg-config
2199 TLS_LIBS linker flags for TLS, overriding pkg-config
2200 TLS2_CFLAGS C compiler flags for TLS2, overriding pkg-config
2201 TLS2_LIBS linker flags for TLS2, overriding pkg-config
2202 SSL_CFLAGS C compiler flags for SSL, overriding pkg-config
2203 SSL_LIBS linker flags for SSL, overriding pkg-config
2205 C compiler flags for CARES, overriding pkg-config
2206 CARES_LIBS linker flags for CARES, overriding pkg-config
2208 preprocessor flags for -Wno-override-init
2209 SCIM_CFLAGS C compiler flags for SCIM, overriding pkg-config
2210 SCIM_LIBS linker flags for SCIM, overriding pkg-config
2212 C compiler flags for TSLIB, overriding pkg-config
2213 TSLIB_LIBS linker flags for TSLIB, overriding pkg-config
2215 C compiler flags for XCB_X11, overriding pkg-config
2217 linker flags for XCB_X11, overriding pkg-config
2218 IBUS_CFLAGS C compiler flags for IBUS, overriding pkg-config
2219 IBUS_LIBS linker flags for IBUS, overriding pkg-config
2221 C compiler flags for WAYLAND, overriding pkg-config
2223 linker flags for WAYLAND, overriding pkg-config
2225 C compiler flags for WAYLAND_EGL, overriding pkg-config
2227 linker flags for WAYLAND_EGL, overriding pkg-config
2229 C compiler flags for CHECK, overriding pkg-config
2230 CHECK_LIBS linker flags for CHECK, overriding pkg-config
2232 Use these variables to override the choices made by `configure' or to help
2233 it to find libraries and programs with nonstandard names/locations.
2235 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
2240 if test "$ac_init_help" = "recursive"; then
2241 # If there are subdirs, report their specific --help.
2242 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2243 test -d "$ac_dir" ||
2244 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2249 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2251 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2252 # A ".." for each directory in $ac_dir_suffix.
2253 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2254 case $ac_top_builddir_sub in
2255 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2256 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2259 ac_abs_top_builddir=$ac_pwd
2260 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2261 # for backward compatibility:
2262 ac_top_builddir=$ac_top_build_prefix
2265 .) # We are building in place.
2267 ac_top_srcdir=$ac_top_builddir_sub
2268 ac_abs_top_srcdir=$ac_pwd ;;
2269 [\\/]* | ?:[\\/]* ) # Absolute name.
2270 ac_srcdir=$srcdir$ac_dir_suffix;
2271 ac_top_srcdir=$srcdir
2272 ac_abs_top_srcdir=$srcdir ;;
2274 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2275 ac_top_srcdir=$ac_top_build_prefix$srcdir
2276 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2278 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2280 cd "$ac_dir" || { ac_status=$?; continue; }
2281 # Check for guested configure.
2282 if test -f "$ac_srcdir/configure.gnu"; then
2284 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2285 elif test -f "$ac_srcdir/configure"; then
2287 $SHELL "$ac_srcdir/configure" --help=recursive
2289 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2291 cd "$ac_pwd" || { ac_status=$?; break; }
2295 test -n "$ac_init_help" && exit $ac_status
2296 if $ac_init_version; then
2298 ecore configure 1.7.8
2299 generated by GNU Autoconf 2.69
2301 Copyright (C) 2012 Free Software Foundation, Inc.
2302 This configure script is free software; the Free Software Foundation
2303 gives unlimited permission to copy, distribute and modify it.
2308 ## ------------------------ ##
2309 ## Autoconf initialization. ##
2310 ## ------------------------ ##
2312 # ac_fn_c_try_compile LINENO
2313 # --------------------------
2314 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2315 ac_fn_c_try_compile ()
2317 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2318 rm -f conftest.$ac_objext
2319 if { { ac_try="$ac_compile"
2321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2322 *) ac_try_echo=$ac_try;;
2324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2325 $as_echo "$ac_try_echo"; } >&5
2326 (eval "$ac_compile") 2>conftest.err
2328 if test -s conftest.err; then
2329 grep -v '^ *+' conftest.err >conftest.er1
2330 cat conftest.er1 >&5
2331 mv -f conftest.er1 conftest.err
2333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2334 test $ac_status = 0; } && {
2335 test -z "$ac_c_werror_flag" ||
2336 test ! -s conftest.err
2337 } && test -s conftest.$ac_objext; then :
2340 $as_echo "$as_me: failed program was:" >&5
2341 sed 's/^/| /' conftest.$ac_ext >&5
2345 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2346 as_fn_set_status $ac_retval
2348 } # ac_fn_c_try_compile
2350 # ac_fn_c_try_cpp LINENO
2351 # ----------------------
2352 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2355 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2356 if { { ac_try="$ac_cpp conftest.$ac_ext"
2358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2359 *) ac_try_echo=$ac_try;;
2361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2362 $as_echo "$ac_try_echo"; } >&5
2363 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2365 if test -s conftest.err; then
2366 grep -v '^ *+' conftest.err >conftest.er1
2367 cat conftest.er1 >&5
2368 mv -f conftest.er1 conftest.err
2370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2371 test $ac_status = 0; } > conftest.i && {
2372 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2373 test ! -s conftest.err
2377 $as_echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.$ac_ext >&5
2382 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2383 as_fn_set_status $ac_retval
2387 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2388 # -------------------------------------------------------
2389 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2390 # the include files in INCLUDES and setting the cache variable VAR
2392 ac_fn_c_check_header_mongrel ()
2394 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2395 if eval \${$3+:} false; then :
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2397 $as_echo_n "checking for $2... " >&6; }
2398 if eval \${$3+:} false; then :
2399 $as_echo_n "(cached) " >&6
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2403 $as_echo "$ac_res" >&6; }
2405 # Is the header compilable?
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2407 $as_echo_n "checking $2 usability... " >&6; }
2408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2409 /* end confdefs.h. */
2413 if ac_fn_c_try_compile "$LINENO"; then :
2414 ac_header_compiler=yes
2416 ac_header_compiler=no
2418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2420 $as_echo "$ac_header_compiler" >&6; }
2422 # Is the header present?
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2424 $as_echo_n "checking $2 presence... " >&6; }
2425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2426 /* end confdefs.h. */
2429 if ac_fn_c_try_cpp "$LINENO"; then :
2430 ac_header_preproc=yes
2432 ac_header_preproc=no
2434 rm -f conftest.err conftest.i conftest.$ac_ext
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2436 $as_echo "$ac_header_preproc" >&6; }
2438 # So? What about this header?
2439 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2442 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2444 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2448 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2450 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2452 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2454 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2456 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2457 ( $as_echo "## -------------------------------------------------------- ##
2458 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2459 ## -------------------------------------------------------- ##"
2460 ) | sed "s/^/$as_me: WARNING: /" >&2
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2464 $as_echo_n "checking for $2... " >&6; }
2465 if eval \${$3+:} false; then :
2466 $as_echo_n "(cached) " >&6
2468 eval "$3=\$ac_header_compiler"
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2472 $as_echo "$ac_res" >&6; }
2474 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2476 } # ac_fn_c_check_header_mongrel
2478 # ac_fn_c_try_run LINENO
2479 # ----------------------
2480 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2481 # that executables *can* be run.
2484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2485 if { { ac_try="$ac_link"
2487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2488 *) ac_try_echo=$ac_try;;
2490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2491 $as_echo "$ac_try_echo"; } >&5
2492 (eval "$ac_link") 2>&5
2494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2495 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2496 { { case "(($ac_try" in
2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2501 $as_echo "$ac_try_echo"; } >&5
2502 (eval "$ac_try") 2>&5
2504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2505 test $ac_status = 0; }; }; then :
2508 $as_echo "$as_me: program exited with status $ac_status" >&5
2509 $as_echo "$as_me: failed program was:" >&5
2510 sed 's/^/| /' conftest.$ac_ext >&5
2512 ac_retval=$ac_status
2514 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2515 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2516 as_fn_set_status $ac_retval
2520 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2521 # -------------------------------------------------------
2522 # Tests whether HEADER exists and can be compiled using the include files in
2523 # INCLUDES, setting the cache variable VAR accordingly.
2524 ac_fn_c_check_header_compile ()
2526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2528 $as_echo_n "checking for $2... " >&6; }
2529 if eval \${$3+:} false; then :
2530 $as_echo_n "(cached) " >&6
2532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2533 /* end confdefs.h. */
2537 if ac_fn_c_try_compile "$LINENO"; then :
2542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2546 $as_echo "$ac_res" >&6; }
2547 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2549 } # ac_fn_c_check_header_compile
2551 # ac_fn_c_try_link LINENO
2552 # -----------------------
2553 # Try to link conftest.$ac_ext, and return whether this succeeded.
2556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2557 rm -f conftest.$ac_objext conftest$ac_exeext
2558 if { { ac_try="$ac_link"
2560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2561 *) ac_try_echo=$ac_try;;
2563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2564 $as_echo "$ac_try_echo"; } >&5
2565 (eval "$ac_link") 2>conftest.err
2567 if test -s conftest.err; then
2568 grep -v '^ *+' conftest.err >conftest.er1
2569 cat conftest.er1 >&5
2570 mv -f conftest.er1 conftest.err
2572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2573 test $ac_status = 0; } && {
2574 test -z "$ac_c_werror_flag" ||
2575 test ! -s conftest.err
2576 } && test -s conftest$ac_exeext && {
2577 test "$cross_compiling" = yes ||
2578 test -x conftest$ac_exeext
2582 $as_echo "$as_me: failed program was:" >&5
2583 sed 's/^/| /' conftest.$ac_ext >&5
2587 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2588 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2589 # interfere with the next link command; also delete a directory that is
2590 # left behind by Apple's compiler. We do this before executing the actions.
2591 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2593 as_fn_set_status $ac_retval
2595 } # ac_fn_c_try_link
2597 # ac_fn_c_check_func LINENO FUNC VAR
2598 # ----------------------------------
2599 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2600 ac_fn_c_check_func ()
2602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2604 $as_echo_n "checking for $2... " >&6; }
2605 if eval \${$3+:} false; then :
2606 $as_echo_n "(cached) " >&6
2608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h. */
2610 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2612 #define $2 innocuous_$2
2614 /* System header to define __stub macros and hopefully few prototypes,
2615 which can conflict with char $2 (); below.
2616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2617 <limits.h> exists even on freestanding compilers. */
2620 # include <limits.h>
2622 # include <assert.h>
2627 /* Override any GCC internal prototype to avoid an error.
2628 Use char because int might match the return type of a GCC
2629 builtin and then its argument prototype would still apply. */
2634 /* The GNU C library defines this for functions which it implements
2635 to always fail with ENOSYS. Some functions are actually named
2636 something starting with __ and the normal name is an alias. */
2637 #if defined __stub_$2 || defined __stub___$2
2649 if ac_fn_c_try_link "$LINENO"; then :
2654 rm -f core conftest.err conftest.$ac_objext \
2655 conftest$ac_exeext conftest.$ac_ext
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2659 $as_echo "$ac_res" >&6; }
2660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2662 } # ac_fn_c_check_func
2664 # ac_fn_objc_try_compile LINENO
2665 # -----------------------------
2666 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2667 ac_fn_objc_try_compile ()
2669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2670 rm -f conftest.$ac_objext
2671 if { { ac_try="$ac_compile"
2673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2674 *) ac_try_echo=$ac_try;;
2676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2677 $as_echo "$ac_try_echo"; } >&5
2678 (eval "$ac_compile") 2>conftest.err
2680 if test -s conftest.err; then
2681 grep -v '^ *+' conftest.err >conftest.er1
2682 cat conftest.er1 >&5
2683 mv -f conftest.er1 conftest.err
2685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2686 test $ac_status = 0; } && {
2687 test -z "$ac_objc_werror_flag" ||
2688 test ! -s conftest.err
2689 } && test -s conftest.$ac_objext; then :
2692 $as_echo "$as_me: failed program was:" >&5
2693 sed 's/^/| /' conftest.$ac_ext >&5
2697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2698 as_fn_set_status $ac_retval
2700 } # ac_fn_objc_try_compile
2702 # ac_fn_cxx_try_compile LINENO
2703 # ----------------------------
2704 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2705 ac_fn_cxx_try_compile ()
2707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2708 rm -f conftest.$ac_objext
2709 if { { ac_try="$ac_compile"
2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2715 $as_echo "$ac_try_echo"; } >&5
2716 (eval "$ac_compile") 2>conftest.err
2718 if test -s conftest.err; then
2719 grep -v '^ *+' conftest.err >conftest.er1
2720 cat conftest.er1 >&5
2721 mv -f conftest.er1 conftest.err
2723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2724 test $ac_status = 0; } && {
2725 test -z "$ac_cxx_werror_flag" ||
2726 test ! -s conftest.err
2727 } && test -s conftest.$ac_objext; then :
2730 $as_echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2736 as_fn_set_status $ac_retval
2738 } # ac_fn_cxx_try_compile
2740 # ac_fn_cxx_try_cpp LINENO
2741 # ------------------------
2742 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2743 ac_fn_cxx_try_cpp ()
2745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2746 if { { ac_try="$ac_cpp conftest.$ac_ext"
2748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749 *) ac_try_echo=$ac_try;;
2751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2752 $as_echo "$ac_try_echo"; } >&5
2753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2755 if test -s conftest.err; then
2756 grep -v '^ *+' conftest.err >conftest.er1
2757 cat conftest.er1 >&5
2758 mv -f conftest.er1 conftest.err
2760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2761 test $ac_status = 0; } > conftest.i && {
2762 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2763 test ! -s conftest.err
2767 $as_echo "$as_me: failed program was:" >&5
2768 sed 's/^/| /' conftest.$ac_ext >&5
2772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2773 as_fn_set_status $ac_retval
2775 } # ac_fn_cxx_try_cpp
2777 # ac_fn_cxx_try_link LINENO
2778 # -------------------------
2779 # Try to link conftest.$ac_ext, and return whether this succeeded.
2780 ac_fn_cxx_try_link ()
2782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2783 rm -f conftest.$ac_objext conftest$ac_exeext
2784 if { { ac_try="$ac_link"
2786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2787 *) ac_try_echo=$ac_try;;
2789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2790 $as_echo "$ac_try_echo"; } >&5
2791 (eval "$ac_link") 2>conftest.err
2793 if test -s conftest.err; then
2794 grep -v '^ *+' conftest.err >conftest.er1
2795 cat conftest.er1 >&5
2796 mv -f conftest.er1 conftest.err
2798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2799 test $ac_status = 0; } && {
2800 test -z "$ac_cxx_werror_flag" ||
2801 test ! -s conftest.err
2802 } && test -s conftest$ac_exeext && {
2803 test "$cross_compiling" = yes ||
2804 test -x conftest$ac_exeext
2808 $as_echo "$as_me: failed program was:" >&5
2809 sed 's/^/| /' conftest.$ac_ext >&5
2813 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2814 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2815 # interfere with the next link command; also delete a directory that is
2816 # left behind by Apple's compiler. We do this before executing the actions.
2817 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2819 as_fn_set_status $ac_retval
2821 } # ac_fn_cxx_try_link
2823 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2824 # ---------------------------------------------
2825 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2827 ac_fn_c_check_decl ()
2829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2830 as_decl_name=`echo $2|sed 's/ *(.*//'`
2831 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2833 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2834 if eval \${$3+:} false; then :
2835 $as_echo_n "(cached) " >&6
2837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2838 /* end confdefs.h. */
2843 #ifndef $as_decl_name
2845 (void) $as_decl_use;
2847 (void) $as_decl_name;
2855 if ac_fn_c_try_compile "$LINENO"; then :
2860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2864 $as_echo "$ac_res" >&6; }
2865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2867 } # ac_fn_c_check_decl
2869 # ac_fn_objc_try_link LINENO
2870 # --------------------------
2871 # Try to link conftest.$ac_ext, and return whether this succeeded.
2872 ac_fn_objc_try_link ()
2874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2875 rm -f conftest.$ac_objext conftest$ac_exeext
2876 if { { ac_try="$ac_link"
2878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2879 *) ac_try_echo=$ac_try;;
2881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2882 $as_echo "$ac_try_echo"; } >&5
2883 (eval "$ac_link") 2>conftest.err
2885 if test -s conftest.err; then
2886 grep -v '^ *+' conftest.err >conftest.er1
2887 cat conftest.er1 >&5
2888 mv -f conftest.er1 conftest.err
2890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2891 test $ac_status = 0; } && {
2892 test -z "$ac_objc_werror_flag" ||
2893 test ! -s conftest.err
2894 } && test -s conftest$ac_exeext && {
2895 test "$cross_compiling" = yes ||
2896 test -x conftest$ac_exeext
2900 $as_echo "$as_me: failed program was:" >&5
2901 sed 's/^/| /' conftest.$ac_ext >&5
2905 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2906 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2907 # interfere with the next link command; also delete a directory that is
2908 # left behind by Apple's compiler. We do this before executing the actions.
2909 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2910 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2911 as_fn_set_status $ac_retval
2913 } # ac_fn_objc_try_link
2915 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2916 # --------------------------------------------
2917 # Tries to find the compile-time value of EXPR in a program that includes
2918 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2920 ac_fn_c_compute_int ()
2922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2923 if test "$cross_compiling" = yes; then
2924 # Depending upon the size, compute the lo and hi bounds.
2925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2926 /* end confdefs.h. */
2931 static int test_array [1 - 2 * !(($2) >= 0)];
2933 return test_array [0];
2939 if ac_fn_c_try_compile "$LINENO"; then :
2942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2943 /* end confdefs.h. */
2948 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2950 return test_array [0];
2956 if ac_fn_c_try_compile "$LINENO"; then :
2957 ac_hi=$ac_mid; break
2959 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2960 if test $ac_lo -le $ac_mid; then
2964 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2970 /* end confdefs.h. */
2975 static int test_array [1 - 2 * !(($2) < 0)];
2977 return test_array [0];
2983 if ac_fn_c_try_compile "$LINENO"; then :
2986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2987 /* end confdefs.h. */
2992 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2994 return test_array [0];
3000 if ac_fn_c_try_compile "$LINENO"; then :
3001 ac_lo=$ac_mid; break
3003 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
3004 if test $ac_mid -le $ac_hi; then
3008 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
3010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3018 # Binary search between lo and hi bounds.
3019 while test "x$ac_lo" != "x$ac_hi"; do
3020 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
3021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3022 /* end confdefs.h. */
3027 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3029 return test_array [0];
3035 if ac_fn_c_try_compile "$LINENO"; then :
3038 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
3047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3048 /* end confdefs.h. */
3050 static long int longval () { return $2; }
3051 static unsigned long int ulongval () { return $2; }
3058 FILE *f = fopen ("conftest.val", "w");
3063 long int i = longval ();
3066 fprintf (f, "%ld", i);
3070 unsigned long int i = ulongval ();
3073 fprintf (f, "%lu", i);
3075 /* Do not output a trailing newline, as this causes \r\n confusion
3076 on some platforms. */
3077 return ferror (f) || fclose (f) != 0;
3083 if ac_fn_c_try_run "$LINENO"; then :
3084 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3088 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3089 conftest.$ac_objext conftest.beam conftest.$ac_ext
3093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3094 as_fn_set_status $ac_retval
3096 } # ac_fn_c_compute_int
3098 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3099 # -------------------------------------------
3100 # Tests whether TYPE exists after having included INCLUDES, setting cache
3101 # variable VAR accordingly.
3102 ac_fn_c_check_type ()
3104 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3106 $as_echo_n "checking for $2... " >&6; }
3107 if eval \${$3+:} false; then :
3108 $as_echo_n "(cached) " >&6
3111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3112 /* end confdefs.h. */
3123 if ac_fn_c_try_compile "$LINENO"; then :
3124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3125 /* end confdefs.h. */
3136 if ac_fn_c_try_compile "$LINENO"; then :
3141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3147 $as_echo "$ac_res" >&6; }
3148 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3150 } # ac_fn_c_check_type
3151 cat >config.log <<_ACEOF
3152 This file contains any messages produced by compilers while
3153 running configure, to aid debugging if configure makes a mistake.
3155 It was created by ecore $as_me 1.7.8, which was
3156 generated by GNU Autoconf 2.69. Invocation command line was
3168 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3169 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3170 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3171 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3172 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3174 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3175 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3177 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3178 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3179 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3180 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3181 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3182 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3183 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3191 test -z "$as_dir" && as_dir=.
3192 $as_echo "PATH: $as_dir"
3208 # Keep a trace of the command line.
3209 # Strip out --no-create and --no-recursion so they do not pile up.
3210 # Strip out --silent because we don't want to record it for future runs.
3211 # Also quote any args containing shell meta-characters.
3212 # Make two passes to allow for proper duplicate-argument suppression.
3216 ac_must_keep_next=false
3222 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3223 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3224 | -silent | --silent | --silen | --sile | --sil)
3227 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3230 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3232 as_fn_append ac_configure_args1 " '$ac_arg'"
3233 if test $ac_must_keep_next = true; then
3234 ac_must_keep_next=false # Got value, back to normal.
3237 *=* | --config-cache | -C | -disable-* | --disable-* \
3238 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3239 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3240 | -with-* | --with-* | -without-* | --without-* | --x)
3241 case "$ac_configure_args0 " in
3242 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3245 -* ) ac_must_keep_next=true ;;
3248 as_fn_append ac_configure_args " '$ac_arg'"
3253 { ac_configure_args0=; unset ac_configure_args0;}
3254 { ac_configure_args1=; unset ac_configure_args1;}
3256 # When interrupted or exit'd, cleanup temporary files, and complete
3257 # config.log. We remove comments because anyway the quotes in there
3258 # would cause problems or look ugly.
3259 # WARNING: Use '\'' to represent an apostrophe within the trap.
3260 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3261 trap 'exit_status=$?
3262 # Save into config.log some information that might help in debugging.
3266 $as_echo "## ---------------- ##
3267 ## Cache variables. ##
3268 ## ---------------- ##"
3270 # The following way of writing the cache mishandles newlines in values,
3272 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3273 eval ac_val=\$$ac_var
3277 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3278 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3281 _ | IFS | as_nl) ;; #(
3282 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3283 *) { eval $ac_var=; unset $ac_var;} ;;
3288 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3289 *${as_nl}ac_space=\ *)
3291 "s/'\''/'\''\\\\'\'''\''/g;
3292 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3295 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3302 $as_echo "## ----------------- ##
3303 ## Output variables. ##
3304 ## ----------------- ##"
3306 for ac_var in $ac_subst_vars
3308 eval ac_val=\$$ac_var
3310 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3312 $as_echo "$ac_var='\''$ac_val'\''"
3316 if test -n "$ac_subst_files"; then
3317 $as_echo "## ------------------- ##
3318 ## File substitutions. ##
3319 ## ------------------- ##"
3321 for ac_var in $ac_subst_files
3323 eval ac_val=\$$ac_var
3325 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3327 $as_echo "$ac_var='\''$ac_val'\''"
3332 if test -s confdefs.h; then
3333 $as_echo "## ----------- ##
3340 test "$ac_signal" != 0 &&
3341 $as_echo "$as_me: caught signal $ac_signal"
3342 $as_echo "$as_me: exit $exit_status"
3344 rm -f core *.core core.conftest.* &&
3345 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3348 for ac_signal in 1 2 13 15; do
3349 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3353 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3354 rm -f -r conftest* confdefs.h
3356 $as_echo "/* confdefs.h */" > confdefs.h
3358 # Predefined preprocessor variables.
3360 cat >>confdefs.h <<_ACEOF
3361 #define PACKAGE_NAME "$PACKAGE_NAME"
3364 cat >>confdefs.h <<_ACEOF
3365 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3368 cat >>confdefs.h <<_ACEOF
3369 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3372 cat >>confdefs.h <<_ACEOF
3373 #define PACKAGE_STRING "$PACKAGE_STRING"
3376 cat >>confdefs.h <<_ACEOF
3377 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3380 cat >>confdefs.h <<_ACEOF
3381 #define PACKAGE_URL "$PACKAGE_URL"
3385 # Let the site file select an alternate cache file if it wants to.
3386 # Prefer an explicitly selected file to automatically selected ones.
3389 if test -n "$CONFIG_SITE"; then
3390 # We do not want a PATH search for config.site.
3391 case $CONFIG_SITE in #((
3392 -*) ac_site_file1=./$CONFIG_SITE;;
3393 */*) ac_site_file1=$CONFIG_SITE;;
3394 *) ac_site_file1=./$CONFIG_SITE;;
3396 elif test "x$prefix" != xNONE; then
3397 ac_site_file1=$prefix/share/config.site
3398 ac_site_file2=$prefix/etc/config.site
3400 ac_site_file1=$ac_default_prefix/share/config.site
3401 ac_site_file2=$ac_default_prefix/etc/config.site
3403 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3405 test "x$ac_site_file" = xNONE && continue
3406 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3408 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3409 sed 's/^/| /' "$ac_site_file" >&5
3411 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3413 as_fn_error $? "failed to load site script $ac_site_file
3414 See \`config.log' for more details" "$LINENO" 5; }
3418 if test -r "$cache_file"; then
3419 # Some versions of bash will fail to source /dev/null (special files
3420 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3421 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3423 $as_echo "$as_me: loading cache $cache_file" >&6;}
3425 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3426 *) . "./$cache_file";;
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3431 $as_echo "$as_me: creating cache $cache_file" >&6;}
3435 gt_needs="$gt_needs "
3436 # Check that the precious variables saved in the cache have kept the same
3438 ac_cache_corrupted=false
3439 for ac_var in $ac_precious_vars; do
3440 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3441 eval ac_new_set=\$ac_env_${ac_var}_set
3442 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3443 eval ac_new_val=\$ac_env_${ac_var}_value
3444 case $ac_old_set,$ac_new_set in
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3447 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3448 ac_cache_corrupted=: ;;
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3451 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3452 ac_cache_corrupted=: ;;
3455 if test "x$ac_old_val" != "x$ac_new_val"; then
3456 # differences in whitespace do not lead to failure.
3457 ac_old_val_w=`echo x $ac_old_val`
3458 ac_new_val_w=`echo x $ac_new_val`
3459 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3461 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3462 ac_cache_corrupted=:
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3465 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3466 eval $ac_var=\$ac_old_val
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3469 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3471 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3474 # Pass precious variables to config.status.
3475 if test "$ac_new_set" = set; then
3477 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3478 *) ac_arg=$ac_var=$ac_new_val ;;
3480 case " $ac_configure_args " in
3481 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3482 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3486 if $ac_cache_corrupted; then
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3490 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3491 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3493 ## -------------------- ##
3494 ## Main body of script. ##
3495 ## -------------------- ##
3498 ac_cpp='$CPP $CPPFLAGS'
3499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3508 ac_config_headers="$ac_config_headers config.h"
3513 am__api_version='1.13'
3516 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3517 if test -f "$ac_dir/install-sh"; then
3519 ac_install_sh="$ac_aux_dir/install-sh -c"
3521 elif test -f "$ac_dir/install.sh"; then
3523 ac_install_sh="$ac_aux_dir/install.sh -c"
3525 elif test -f "$ac_dir/shtool"; then
3527 ac_install_sh="$ac_aux_dir/shtool install -c"
3531 if test -z "$ac_aux_dir"; then
3532 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3535 # These three variables are undocumented and unsupported,
3536 # and are intended to be withdrawn in a future Autoconf release.
3537 # They can cause serious problems if a builder's source tree is in a directory
3538 # whose full name contains unusual characters.
3539 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3540 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3541 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3544 # Find a good install program. We prefer a C program (faster),
3545 # so one script is as good as another. But avoid the broken or
3546 # incompatible versions:
3547 # SysV /etc/install, /usr/sbin/install
3548 # SunOS /usr/etc/install
3549 # IRIX /sbin/install
3551 # AmigaOS /C/install, which installs bootblocks on floppy discs
3552 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3553 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3554 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3555 # OS/2's system install, which has a completely different semantic
3556 # ./install, which can be erroneously created by make from ./install.sh.
3557 # Reject install programs that cannot install multiple files.
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3559 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3560 if test -z "$INSTALL"; then
3561 if ${ac_cv_path_install+:} false; then :
3562 $as_echo_n "(cached) " >&6
3564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 test -z "$as_dir" && as_dir=.
3569 # Account for people who put trailing slashes in PATH elements.
3570 case $as_dir/ in #((
3571 ./ | .// | /[cC]/* | \
3572 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3573 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3576 # OSF1 and SCO ODT 3.0 have their own names for install.
3577 # Don't use installbsd from OSF since it installs stuff as root
3579 for ac_prog in ginstall scoinst install; do
3580 for ac_exec_ext in '' $ac_executable_extensions; do
3581 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3582 if test $ac_prog = install &&
3583 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3584 # AIX install. It has an incompatible calling convention.
3586 elif test $ac_prog = install &&
3587 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3588 # program-specific install script used by HP pwplus--don't use.
3591 rm -rf conftest.one conftest.two conftest.dir
3592 echo one > conftest.one
3593 echo two > conftest.two
3595 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3596 test -s conftest.one && test -s conftest.two &&
3597 test -s conftest.dir/conftest.one &&
3598 test -s conftest.dir/conftest.two
3600 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3613 rm -rf conftest.one conftest.two conftest.dir
3616 if test "${ac_cv_path_install+set}" = set; then
3617 INSTALL=$ac_cv_path_install
3619 # As a last resort, use the slow shell script. Don't cache a
3620 # value for INSTALL within a source directory, because that will
3621 # break other packages using the cache if that directory is
3622 # removed, or if the value is a relative name.
3623 INSTALL=$ac_install_sh
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3627 $as_echo "$INSTALL" >&6; }
3629 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3630 # It thinks the first close brace ends the variable substitution.
3631 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3633 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3635 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3638 $as_echo_n "checking whether build environment is sane... " >&6; }
3639 # Reject unsafe characters in $srcdir or the absolute working directory
3640 # name. Accept space and tab only in the latter.
3644 *[\\\"\#\$\&\'\`$am_lf]*)
3645 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3648 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3649 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3652 # Do 'set' in a subshell so we don't clobber the current shell's
3653 # arguments. Must try -L first in case configure is actually a
3654 # symlink; some systems play weird games with the mod time of symlinks
3655 # (eg FreeBSD returns the mod time of the symlink's containing
3659 for am_try in 1 2; do
3660 echo "timestamp, slept: $am_has_slept" > conftest.file
3661 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3662 if test "$*" = "X"; then
3664 set X `ls -t "$srcdir/configure" conftest.file`
3666 if test "$*" != "X $srcdir/configure conftest.file" \
3667 && test "$*" != "X conftest.file $srcdir/configure"; then
3669 # If neither matched, then we have a broken ls. This can happen
3670 # if, for instance, CONFIG_SHELL is bash and it inherits a
3671 # broken ls alias from the environment. This has actually
3672 # happened. Such a system could not be considered "sane".
3673 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3674 alias in your environment" "$LINENO" 5
3676 if test "$2" = conftest.file || test $am_try -eq 2; then
3683 test "$2" = conftest.file
3689 as_fn_error $? "newly created file is older than distributed files!
3690 Check your system clock" "$LINENO" 5
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3693 $as_echo "yes" >&6; }
3694 # If we didn't sleep, we still need to ensure time stamps of config.status and
3695 # generated files are strictly newer.
3697 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3704 test "$program_prefix" != NONE &&
3705 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3706 # Use a double $ so make ignores it.
3707 test "$program_suffix" != NONE &&
3708 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3709 # Double any \ or $.
3710 # By default was `s,x,x', remove it if useless.
3711 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3712 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3714 # expand $ac_aux_dir to an absolute path
3715 am_aux_dir=`cd $ac_aux_dir && pwd`
3717 if test x"${MISSING+set}" != xset; then
3720 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3722 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3725 # Use eval to expand $SHELL
3726 if eval "$MISSING --is-lightweight"; then
3727 am_missing_run="$MISSING "
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3731 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3734 if test x"${install_sh}" != xset; then
3737 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3739 install_sh="\${SHELL} $am_aux_dir/install-sh"
3743 # Installed binaries are usually stripped using 'strip' when the user
3744 # run "make install-strip". However 'strip' might not be the right
3745 # tool to use in cross-compilation environments, therefore Automake
3746 # will honor the 'STRIP' environment variable to overrule this program.
3747 if test "$cross_compiling" != no; then
3748 if test -n "$ac_tool_prefix"; then
3749 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3750 set dummy ${ac_tool_prefix}strip; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if ${ac_cv_prog_STRIP+:} false; then :
3754 $as_echo_n "(cached) " >&6
3756 if test -n "$STRIP"; then
3757 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3763 test -z "$as_dir" && as_dir=.
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3766 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3776 STRIP=$ac_cv_prog_STRIP
3777 if test -n "$STRIP"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3779 $as_echo "$STRIP" >&6; }
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3787 if test -z "$ac_cv_prog_STRIP"; then
3789 # Extract the first word of "strip", so it can be a program name with args.
3790 set dummy strip; ac_word=$2
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3792 $as_echo_n "checking for $ac_word... " >&6; }
3793 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3794 $as_echo_n "(cached) " >&6
3796 if test -n "$ac_ct_STRIP"; then
3797 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3803 test -z "$as_dir" && as_dir=.
3804 for ac_exec_ext in '' $ac_executable_extensions; do
3805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3806 ac_cv_prog_ac_ct_STRIP="strip"
3807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3816 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3817 if test -n "$ac_ct_STRIP"; then
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3819 $as_echo "$ac_ct_STRIP" >&6; }
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3822 $as_echo "no" >&6; }
3825 if test "x$ac_ct_STRIP" = x; then
3828 case $cross_compiling:$ac_tool_warned in
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3832 ac_tool_warned=yes ;;
3837 STRIP="$ac_cv_prog_STRIP"
3841 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3844 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3845 if test -z "$MKDIR_P"; then
3846 if ${ac_cv_path_mkdir+:} false; then :
3847 $as_echo_n "(cached) " >&6
3849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3850 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3853 test -z "$as_dir" && as_dir=.
3854 for ac_prog in mkdir gmkdir; do
3855 for ac_exec_ext in '' $ac_executable_extensions; do
3856 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3857 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3858 'mkdir (GNU coreutils) '* | \
3859 'mkdir (coreutils) '* | \
3860 'mkdir (fileutils) '4.1*)
3861 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3871 test -d ./--version && rmdir ./--version
3872 if test "${ac_cv_path_mkdir+set}" = set; then
3873 MKDIR_P="$ac_cv_path_mkdir -p"
3875 # As a last resort, use the slow shell script. Don't cache a
3876 # value for MKDIR_P within a source directory, because that will
3877 # break other packages using the cache if that directory is
3878 # removed, or if the value is a relative name.
3879 MKDIR_P="$ac_install_sh -d"
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3883 $as_echo "$MKDIR_P" >&6; }
3885 for ac_prog in gawk mawk nawk awk
3887 # Extract the first word of "$ac_prog", so it can be a program name with args.
3888 set dummy $ac_prog; ac_word=$2
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3890 $as_echo_n "checking for $ac_word... " >&6; }
3891 if ${ac_cv_prog_AWK+:} false; then :
3892 $as_echo_n "(cached) " >&6
3894 if test -n "$AWK"; then
3895 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3901 test -z "$as_dir" && as_dir=.
3902 for ac_exec_ext in '' $ac_executable_extensions; do
3903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3904 ac_cv_prog_AWK="$ac_prog"
3905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3915 if test -n "$AWK"; then
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3917 $as_echo "$AWK" >&6; }
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920 $as_echo "no" >&6; }
3924 test -n "$AWK" && break
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3928 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3930 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3931 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3932 $as_echo_n "(cached) " >&6
3934 cat >conftest.make <<\_ACEOF
3937 @echo '@@@%%%=$(MAKE)=@@@%%%'
3939 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3940 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3942 eval ac_cv_prog_make_${ac_make}_set=yes;;
3944 eval ac_cv_prog_make_${ac_make}_set=no;;
3948 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3950 $as_echo "yes" >&6; }
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954 $as_echo "no" >&6; }
3955 SET_MAKE="MAKE=${MAKE-make}"
3958 rm -rf .tst 2>/dev/null
3959 mkdir .tst 2>/dev/null
3960 if test -d .tst; then
3965 rmdir .tst 2>/dev/null
3967 # Check whether --enable-silent-rules was given.
3968 if test "${enable_silent_rules+set}" = set; then :
3969 enableval=$enable_silent_rules;
3972 case $enable_silent_rules in # (((
3973 yes) AM_DEFAULT_VERBOSITY=0;;
3974 no) AM_DEFAULT_VERBOSITY=1;;
3975 *) AM_DEFAULT_VERBOSITY=1;;
3977 am_make=${MAKE-make}
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3979 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3980 if ${am_cv_make_support_nested_variables+:} false; then :
3981 $as_echo_n "(cached) " >&6
3983 if $as_echo 'TRUE=$(BAR$(V))
3989 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3990 am_cv_make_support_nested_variables=yes
3992 am_cv_make_support_nested_variables=no
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3996 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3997 if test $am_cv_make_support_nested_variables = yes; then
3999 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4001 AM_V=$AM_DEFAULT_VERBOSITY
4002 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4006 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4007 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4008 # is not polluted with repeated "-I."
4009 am__isrc=' -I$(srcdir)'
4010 # test to see if srcdir already configured
4011 if test -f $srcdir/config.status; then
4012 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4016 # test whether we have cygpath
4017 if test -z "$CYGPATH_W"; then
4018 if (cygpath --version) >/dev/null 2>/dev/null; then
4019 CYGPATH_W='cygpath -w'
4026 # Define the identity of the package.
4031 cat >>confdefs.h <<_ACEOF
4032 #define PACKAGE "$PACKAGE"
4036 cat >>confdefs.h <<_ACEOF
4037 #define VERSION "$VERSION"
4040 # Some tools Automake needs.
4042 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4045 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4048 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4051 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4054 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4056 # For better backward compatibility. To be removed once Automake 1.9.x
4057 # dies out for good. For more background, see:
4058 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4059 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4060 mkdir_p='$(MKDIR_P)'
4062 # We need awk for the "check" target. The system "awk" is bad on
4064 # Always define AMTAR for backward compatibility. Yes, it's still used
4065 # in the wild :-( We should find a proper way to deprecate it ...
4069 # We'll loop over all known methods to create a tar archive until one works.
4070 _am_tools='gnutar pax cpio none'
4072 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4079 # Check whether --enable-silent-rules was given.
4080 if test "${enable_silent_rules+set}" = set; then :
4081 enableval=$enable_silent_rules;
4084 case $enable_silent_rules in # (((
4085 yes) AM_DEFAULT_VERBOSITY=0;;
4086 no) AM_DEFAULT_VERBOSITY=1;;
4087 *) AM_DEFAULT_VERBOSITY=0;;
4089 am_make=${MAKE-make}
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4091 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4092 if ${am_cv_make_support_nested_variables+:} false; then :
4093 $as_echo_n "(cached) " >&6
4095 if $as_echo 'TRUE=$(BAR$(V))
4101 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4102 am_cv_make_support_nested_variables=yes
4104 am_cv_make_support_nested_variables=no
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4108 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4109 if test $am_cv_make_support_nested_variables = yes; then
4111 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4113 AM_V=$AM_DEFAULT_VERBOSITY
4114 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4119 DEPDIR="${am__leading_dot}deps"
4121 ac_config_commands="$ac_config_commands depfiles"
4124 am_make=${MAKE-make}
4125 cat > confinc << 'END'
4127 @echo this is the am__doit target
4130 # If we don't find an include directive, just comment out the code.
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4132 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4136 # First try GNU make style include.
4137 echo "include confinc" > confmf
4138 # Ignore all kinds of additional output from 'make'.
4139 case `$am_make -s -f confmf 2> /dev/null` in #(
4140 *the\ am__doit\ target*)
4146 # Now try BSD make style include.
4147 if test "$am__include" = "#"; then
4148 echo '.include "confinc"' > confmf
4149 case `$am_make -s -f confmf 2> /dev/null` in #(
4150 *the\ am__doit\ target*)
4151 am__include=.include
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4160 $as_echo "$_am_result" >&6; }
4161 rm -f confinc confmf
4163 # Check whether --enable-dependency-tracking was given.
4164 if test "${enable_dependency_tracking+set}" = set; then :
4165 enableval=$enable_dependency_tracking;
4168 if test "x$enable_dependency_tracking" != xno; then
4169 am_depcomp="$ac_aux_dir/depcomp"
4173 if test "x$enable_dependency_tracking" != xno; then
4183 ac_cpp='$CPP $CPPFLAGS'
4184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4187 if test -n "$ac_tool_prefix"; then
4188 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4189 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4191 $as_echo_n "checking for $ac_word... " >&6; }
4192 if ${ac_cv_prog_CC+:} false; then :
4193 $as_echo_n "(cached) " >&6
4195 if test -n "$CC"; then
4196 ac_cv_prog_CC="$CC" # Let the user override the test.
4198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4202 test -z "$as_dir" && as_dir=.
4203 for ac_exec_ext in '' $ac_executable_extensions; do
4204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4205 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4216 if test -n "$CC"; then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4218 $as_echo "$CC" >&6; }
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4221 $as_echo "no" >&6; }
4226 if test -z "$ac_cv_prog_CC"; then
4228 # Extract the first word of "gcc", so it can be a program name with args.
4229 set dummy gcc; ac_word=$2
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4231 $as_echo_n "checking for $ac_word... " >&6; }
4232 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4233 $as_echo_n "(cached) " >&6
4235 if test -n "$ac_ct_CC"; then
4236 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4242 test -z "$as_dir" && as_dir=.
4243 for ac_exec_ext in '' $ac_executable_extensions; do
4244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4245 ac_cv_prog_ac_ct_CC="gcc"
4246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4255 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4256 if test -n "$ac_ct_CC"; then
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4258 $as_echo "$ac_ct_CC" >&6; }
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4261 $as_echo "no" >&6; }
4264 if test "x$ac_ct_CC" = x; then
4267 case $cross_compiling:$ac_tool_warned in
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4271 ac_tool_warned=yes ;;
4279 if test -z "$CC"; then
4280 if test -n "$ac_tool_prefix"; then
4281 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4282 set dummy ${ac_tool_prefix}cc; ac_word=$2
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4284 $as_echo_n "checking for $ac_word... " >&6; }
4285 if ${ac_cv_prog_CC+:} false; then :
4286 $as_echo_n "(cached) " >&6
4288 if test -n "$CC"; then
4289 ac_cv_prog_CC="$CC" # Let the user override the test.
4291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4295 test -z "$as_dir" && as_dir=.
4296 for ac_exec_ext in '' $ac_executable_extensions; do
4297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4298 ac_cv_prog_CC="${ac_tool_prefix}cc"
4299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4309 if test -n "$CC"; then
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4311 $as_echo "$CC" >&6; }
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4320 if test -z "$CC"; then
4321 # Extract the first word of "cc", so it can be a program name with args.
4322 set dummy cc; ac_word=$2
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4324 $as_echo_n "checking for $ac_word... " >&6; }
4325 if ${ac_cv_prog_CC+:} false; then :
4326 $as_echo_n "(cached) " >&6
4328 if test -n "$CC"; then
4329 ac_cv_prog_CC="$CC" # Let the user override the test.
4332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4336 test -z "$as_dir" && as_dir=.
4337 for ac_exec_ext in '' $ac_executable_extensions; do
4338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4339 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4340 ac_prog_rejected=yes
4344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 if test $ac_prog_rejected = yes; then
4352 # We found a bogon in the path, so make sure we never use it.
4353 set dummy $ac_cv_prog_CC
4355 if test $# != 0; then
4356 # We chose a different compiler from the bogus one.
4357 # However, it has the same basename, so the bogon will be chosen
4358 # first if we set CC to just the basename; use the full file name.
4360 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4366 if test -n "$CC"; then
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4368 $as_echo "$CC" >&6; }
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4371 $as_echo "no" >&6; }
4376 if test -z "$CC"; then
4377 if test -n "$ac_tool_prefix"; then
4378 for ac_prog in cl.exe
4380 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4381 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4383 $as_echo_n "checking for $ac_word... " >&6; }
4384 if ${ac_cv_prog_CC+:} false; then :
4385 $as_echo_n "(cached) " >&6
4387 if test -n "$CC"; then
4388 ac_cv_prog_CC="$CC" # Let the user override the test.
4390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4394 test -z "$as_dir" && as_dir=.
4395 for ac_exec_ext in '' $ac_executable_extensions; do
4396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4397 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4408 if test -n "$CC"; then
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4410 $as_echo "$CC" >&6; }
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4413 $as_echo "no" >&6; }
4417 test -n "$CC" && break
4420 if test -z "$CC"; then
4422 for ac_prog in cl.exe
4424 # Extract the first word of "$ac_prog", so it can be a program name with args.
4425 set dummy $ac_prog; ac_word=$2
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4427 $as_echo_n "checking for $ac_word... " >&6; }
4428 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4429 $as_echo_n "(cached) " >&6
4431 if test -n "$ac_ct_CC"; then
4432 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4438 test -z "$as_dir" && as_dir=.
4439 for ac_exec_ext in '' $ac_executable_extensions; do
4440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4441 ac_cv_prog_ac_ct_CC="$ac_prog"
4442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4452 if test -n "$ac_ct_CC"; then
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4454 $as_echo "$ac_ct_CC" >&6; }
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4457 $as_echo "no" >&6; }
4461 test -n "$ac_ct_CC" && break
4464 if test "x$ac_ct_CC" = x; then
4467 case $cross_compiling:$ac_tool_warned in
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4471 ac_tool_warned=yes ;;
4480 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4482 as_fn_error $? "no acceptable C compiler found in \$PATH
4483 See \`config.log' for more details" "$LINENO" 5; }
4485 # Provide some information about the compiler.
4486 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4489 for ac_option in --version -v -V -qversion; do
4490 { { ac_try="$ac_compiler $ac_option >&5"
4492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4493 *) ac_try_echo=$ac_try;;
4495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4496 $as_echo "$ac_try_echo"; } >&5
4497 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4499 if test -s conftest.err; then
4501 ... rest of stderr output deleted ...
4502 10q' conftest.err >conftest.er1
4503 cat conftest.er1 >&5
4505 rm -f conftest.er1 conftest.err
4506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4507 test $ac_status = 0; }
4510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4511 /* end confdefs.h. */
4521 ac_clean_files_save=$ac_clean_files
4522 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4523 # Try to create an executable without -o first, disregard a.out.
4524 # It will help us diagnose broken compilers, and finding out an intuition
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4527 $as_echo_n "checking whether the C compiler works... " >&6; }
4528 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4530 # The possible output files:
4531 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4534 for ac_file in $ac_files
4537 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4538 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4543 if { { ac_try="$ac_link_default"
4545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4546 *) ac_try_echo=$ac_try;;
4548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4549 $as_echo "$ac_try_echo"; } >&5
4550 (eval "$ac_link_default") 2>&5
4552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4553 test $ac_status = 0; }; then :
4554 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4555 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4556 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4557 # so that the user can short-circuit this test for compilers unknown to
4559 for ac_file in $ac_files ''
4561 test -f "$ac_file" || continue
4563 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4566 # We found the default executable, but exeext='' is most
4570 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4572 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4574 # We set ac_cv_exeext here because the later test for it is not
4575 # safe: cross compilers may not add the suffix if given an `-o'
4576 # argument, so we may need to know it at that point already.
4577 # Even if this section looks crufty: it has the advantage of
4584 test "$ac_cv_exeext" = no && ac_cv_exeext=
4589 if test -z "$ac_file"; then :
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4591 $as_echo "no" >&6; }
4592 $as_echo "$as_me: failed program was:" >&5
4593 sed 's/^/| /' conftest.$ac_ext >&5
4595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4597 as_fn_error 77 "C compiler cannot create executables
4598 See \`config.log' for more details" "$LINENO" 5; }
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4601 $as_echo "yes" >&6; }
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4604 $as_echo_n "checking for C compiler default output file name... " >&6; }
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4606 $as_echo "$ac_file" >&6; }
4607 ac_exeext=$ac_cv_exeext
4609 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4610 ac_clean_files=$ac_clean_files_save
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4612 $as_echo_n "checking for suffix of executables... " >&6; }
4613 if { { ac_try="$ac_link"
4615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4616 *) ac_try_echo=$ac_try;;
4618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4619 $as_echo "$ac_try_echo"; } >&5
4620 (eval "$ac_link") 2>&5
4622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4623 test $ac_status = 0; }; then :
4624 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4625 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4626 # work properly (i.e., refer to `conftest.exe'), while it won't with
4628 for ac_file in conftest.exe conftest conftest.*; do
4629 test -f "$ac_file" || continue
4631 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4632 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4640 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4641 See \`config.log' for more details" "$LINENO" 5; }
4643 rm -f conftest conftest$ac_cv_exeext
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4645 $as_echo "$ac_cv_exeext" >&6; }
4647 rm -f conftest.$ac_ext
4648 EXEEXT=$ac_cv_exeext
4650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4651 /* end confdefs.h. */
4656 FILE *f = fopen ("conftest.out", "w");
4657 return ferror (f) || fclose (f) != 0;
4663 ac_clean_files="$ac_clean_files conftest.out"
4664 # Check that the compiler produces executables we can run. If not, either
4665 # the compiler is broken, or we cross compile.
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4667 $as_echo_n "checking whether we are cross compiling... " >&6; }
4668 if test "$cross_compiling" != yes; then
4669 { { ac_try="$ac_link"
4671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4672 *) ac_try_echo=$ac_try;;
4674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4675 $as_echo "$ac_try_echo"; } >&5
4676 (eval "$ac_link") 2>&5
4678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4679 test $ac_status = 0; }
4680 if { ac_try='./conftest$ac_cv_exeext'
4681 { { case "(($ac_try" in
4682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4683 *) ac_try_echo=$ac_try;;
4685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4686 $as_echo "$ac_try_echo"; } >&5
4687 (eval "$ac_try") 2>&5
4689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4690 test $ac_status = 0; }; }; then
4693 if test "$cross_compiling" = maybe; then
4696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4698 as_fn_error $? "cannot run C compiled programs.
4699 If you meant to cross compile, use \`--host'.
4700 See \`config.log' for more details" "$LINENO" 5; }
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4705 $as_echo "$cross_compiling" >&6; }
4707 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4708 ac_clean_files=$ac_clean_files_save
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4710 $as_echo_n "checking for suffix of object files... " >&6; }
4711 if ${ac_cv_objext+:} false; then :
4712 $as_echo_n "(cached) " >&6
4714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4715 /* end confdefs.h. */
4725 rm -f conftest.o conftest.obj
4726 if { { ac_try="$ac_compile"
4728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4729 *) ac_try_echo=$ac_try;;
4731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4732 $as_echo "$ac_try_echo"; } >&5
4733 (eval "$ac_compile") 2>&5
4735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4736 test $ac_status = 0; }; then :
4737 for ac_file in conftest.o conftest.obj conftest.*; do
4738 test -f "$ac_file" || continue;
4740 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4741 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4746 $as_echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.$ac_ext >&5
4749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4751 as_fn_error $? "cannot compute suffix of object files: cannot compile
4752 See \`config.log' for more details" "$LINENO" 5; }
4754 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4757 $as_echo "$ac_cv_objext" >&6; }
4758 OBJEXT=$ac_cv_objext
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4761 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4762 if ${ac_cv_c_compiler_gnu+:} false; then :
4763 $as_echo_n "(cached) " >&6
4765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h. */
4779 if ac_fn_c_try_compile "$LINENO"; then :
4784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4785 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4789 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4790 if test $ac_compiler_gnu = yes; then
4795 ac_test_CFLAGS=${CFLAGS+set}
4796 ac_save_CFLAGS=$CFLAGS
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4798 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4799 if ${ac_cv_prog_cc_g+:} false; then :
4800 $as_echo_n "(cached) " >&6
4802 ac_save_c_werror_flag=$ac_c_werror_flag
4803 ac_c_werror_flag=yes
4806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4807 /* end confdefs.h. */
4817 if ac_fn_c_try_compile "$LINENO"; then :
4821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4822 /* end confdefs.h. */
4832 if ac_fn_c_try_compile "$LINENO"; then :
4835 ac_c_werror_flag=$ac_save_c_werror_flag
4837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4838 /* end confdefs.h. */
4848 if ac_fn_c_try_compile "$LINENO"; then :
4851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4856 ac_c_werror_flag=$ac_save_c_werror_flag
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4859 $as_echo "$ac_cv_prog_cc_g" >&6; }
4860 if test "$ac_test_CFLAGS" = set; then
4861 CFLAGS=$ac_save_CFLAGS
4862 elif test $ac_cv_prog_cc_g = yes; then
4863 if test "$GCC" = yes; then
4869 if test "$GCC" = yes; then
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4876 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4877 if ${ac_cv_prog_cc_c89+:} false; then :
4878 $as_echo_n "(cached) " >&6
4880 ac_cv_prog_cc_c89=no
4882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4883 /* end confdefs.h. */
4887 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4888 struct buf { int x; };
4889 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4890 static char *e (p, i)
4896 static char *f (char * (*g) (char **, int), char **p, ...)
4901 s = g (p, va_arg (v,int));
4906 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4907 function prototypes and stuff, but not '\xHH' hex character constants.
4908 These don't provoke an error unfortunately, instead are silently treated
4909 as 'x'. The following induces an error, until -std is added to get
4910 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4911 array size at least. It's necessary to write '\x00'==0 to get something
4912 that's true only with -std. */
4913 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4915 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4916 inside strings and character constants. */
4918 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4920 int test (int i, double x);
4921 struct s1 {int (*f) (int a);};
4922 struct s2 {int (*f) (double a);};
4923 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4929 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4934 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4935 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4937 CC="$ac_save_CC $ac_arg"
4938 if ac_fn_c_try_compile "$LINENO"; then :
4939 ac_cv_prog_cc_c89=$ac_arg
4941 rm -f core conftest.err conftest.$ac_objext
4942 test "x$ac_cv_prog_cc_c89" != "xno" && break
4944 rm -f conftest.$ac_ext
4949 case "x$ac_cv_prog_cc_c89" in
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4952 $as_echo "none needed" >&6; } ;;
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4955 $as_echo "unsupported" >&6; } ;;
4957 CC="$CC $ac_cv_prog_cc_c89"
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4959 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4961 if test "x$ac_cv_prog_cc_c89" != xno; then :
4966 ac_cpp='$CPP $CPPFLAGS'
4967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4971 depcc="$CC" am_compiler_list=
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4974 $as_echo_n "checking dependency style of $depcc... " >&6; }
4975 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4976 $as_echo_n "(cached) " >&6
4978 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4979 # We make a subdir and do the tests there. Otherwise we can end up
4980 # making bogus files that we don't know about and never remove. For
4981 # instance it was reported that on HP-UX the gcc test will end up
4982 # making a dummy file named 'D' -- because '-MD' means "put the output
4986 # Copy depcomp to subdir because otherwise we won't find it if we're
4987 # using a relative directory.
4988 cp "$am_depcomp" conftest.dir
4990 # We will build objects and dependencies in a subdirectory because
4991 # it helps to detect inapplicable dependency modes. For instance
4992 # both Tru64's cc and ICC support -MD to output dependencies as a
4993 # side effect of compilation, but ICC will put the dependencies in
4994 # the current directory while Tru64 will put them in the object
4998 am_cv_CC_dependencies_compiler_type=none
4999 if test "$am_compiler_list" = ""; then
5000 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5003 case " $depcc " in #(
5004 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5007 for depmode in $am_compiler_list; do
5008 # Setup a source with many dependencies, because some compilers
5009 # like to wrap large dependency lists on column 80 (with \), and
5010 # we should not choose a depcomp mode which is confused by this.
5012 # We need to recreate these files for each test, as the compiler may
5013 # overwrite some of them when testing with obscure command lines.
5014 # This happens at least with the AIX C compiler.
5016 for i in 1 2 3 4 5 6; do
5017 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5018 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5019 # Solaris 10 /bin/sh.
5020 echo '/* dummy */' > sub/conftst$i.h
5022 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5024 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5025 # mode. It turns out that the SunPro C++ compiler does not properly
5026 # handle '-M -o', and we need to detect this. Also, some Intel
5027 # versions had trouble with output in subdirs.
5028 am__obj=sub/conftest.${OBJEXT-o}
5029 am__minus_obj="-o $am__obj"
5032 # This depmode causes a compiler race in universal mode.
5033 test "$am__universal" = false || continue
5036 # After this tag, mechanisms are not by side-effect, so they'll
5037 # only be used when explicitly requested.
5038 if test "x$enable_dependency_tracking" = xyes; then
5044 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5045 # This compiler won't grok '-c -o', but also, the minuso test has
5046 # not run yet. These depmodes are late enough in the game, and
5047 # so weak that their functioning should not be impacted.
5048 am__obj=conftest.${OBJEXT-o}
5053 if depmode=$depmode \
5054 source=sub/conftest.c object=$am__obj \
5055 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5056 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5057 >/dev/null 2>conftest.err &&
5058 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5059 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5060 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5061 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5062 # icc doesn't choke on unknown options, it will just issue warnings
5063 # or remarks (even with -Werror). So we grep stderr for any message
5064 # that says an option was ignored or not supported.
5065 # When given -MP, icc 7.0 and 7.1 complain thusly:
5066 # icc: Command line warning: ignoring option '-M'; no argument required
5067 # The diagnosis changed in icc 8.0:
5068 # icc: Command line remark: option '-MP' not supported
5069 if (grep 'ignoring option' conftest.err ||
5070 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5071 am_cv_CC_dependencies_compiler_type=$depmode
5080 am_cv_CC_dependencies_compiler_type=none
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5085 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5086 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5089 test "x$enable_dependency_tracking" != xno \
5090 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5092 am__fastdepCC_FALSE='#'
5094 am__fastdepCC_TRUE='#'
5095 am__fastdepCC_FALSE=
5101 ac_cpp='$CPP $CPPFLAGS'
5102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5106 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5107 # On Suns, sometimes $CPP names a directory.
5108 if test -n "$CPP" && test -d "$CPP"; then
5111 if test -z "$CPP"; then
5112 if ${ac_cv_prog_CPP+:} false; then :
5113 $as_echo_n "(cached) " >&6
5115 # Double quotes because CPP needs to be expanded
5116 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5119 for ac_c_preproc_warn_flag in '' yes
5121 # Use a header file that comes with gcc, so configuring glibc
5122 # with a fresh cross-compiler works.
5123 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5124 # <limits.h> exists even on freestanding compilers.
5125 # On the NeXT, cc -E runs the code through the compiler's parser,
5126 # not just through cpp. "Syntax error" is here to catch this case.
5127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5128 /* end confdefs.h. */
5130 # include <limits.h>
5132 # include <assert.h>
5136 if ac_fn_c_try_cpp "$LINENO"; then :
5139 # Broken: fails on valid input.
5142 rm -f conftest.err conftest.i conftest.$ac_ext
5144 # OK, works on sane cases. Now check whether nonexistent headers
5145 # can be detected and how.
5146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5147 /* end confdefs.h. */
5148 #include <ac_nonexistent.h>
5150 if ac_fn_c_try_cpp "$LINENO"; then :
5151 # Broken: success on invalid input.
5154 # Passes both tests.
5158 rm -f conftest.err conftest.i conftest.$ac_ext
5161 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5162 rm -f conftest.i conftest.err conftest.$ac_ext
5163 if $ac_preproc_ok; then :
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5176 $as_echo "$CPP" >&6; }
5178 for ac_c_preproc_warn_flag in '' yes
5180 # Use a header file that comes with gcc, so configuring glibc
5181 # with a fresh cross-compiler works.
5182 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5183 # <limits.h> exists even on freestanding compilers.
5184 # On the NeXT, cc -E runs the code through the compiler's parser,
5185 # not just through cpp. "Syntax error" is here to catch this case.
5186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5187 /* end confdefs.h. */
5189 # include <limits.h>
5191 # include <assert.h>
5195 if ac_fn_c_try_cpp "$LINENO"; then :
5198 # Broken: fails on valid input.
5201 rm -f conftest.err conftest.i conftest.$ac_ext
5203 # OK, works on sane cases. Now check whether nonexistent headers
5204 # can be detected and how.
5205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5206 /* end confdefs.h. */
5207 #include <ac_nonexistent.h>
5209 if ac_fn_c_try_cpp "$LINENO"; then :
5210 # Broken: success on invalid input.
5213 # Passes both tests.
5217 rm -f conftest.err conftest.i conftest.$ac_ext
5220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5221 rm -f conftest.i conftest.err conftest.$ac_ext
5222 if $ac_preproc_ok; then :
5225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5227 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5228 See \`config.log' for more details" "$LINENO" 5; }
5232 ac_cpp='$CPP $CPPFLAGS'
5233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5239 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5240 if ${ac_cv_path_GREP+:} false; then :
5241 $as_echo_n "(cached) " >&6
5243 if test -z "$GREP"; then
5244 ac_path_GREP_found=false
5245 # Loop through the user's path and test for each of PROGNAME-LIST
5246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5247 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5250 test -z "$as_dir" && as_dir=.
5251 for ac_prog in grep ggrep; do
5252 for ac_exec_ext in '' $ac_executable_extensions; do
5253 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5254 as_fn_executable_p "$ac_path_GREP" || continue
5255 # Check for GNU ac_path_GREP and select it if it is found.
5256 # Check for GNU $ac_path_GREP
5257 case `"$ac_path_GREP" --version 2>&1` in
5259 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5262 $as_echo_n 0123456789 >"conftest.in"
5265 cat "conftest.in" "conftest.in" >"conftest.tmp"
5266 mv "conftest.tmp" "conftest.in"
5267 cp "conftest.in" "conftest.nl"
5268 $as_echo 'GREP' >> "conftest.nl"
5269 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5270 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5271 as_fn_arith $ac_count + 1 && ac_count=$as_val
5272 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5273 # Best one so far, save it but keep looking for a better one
5274 ac_cv_path_GREP="$ac_path_GREP"
5275 ac_path_GREP_max=$ac_count
5277 # 10*(2^10) chars as input seems more than enough
5278 test $ac_count -gt 10 && break
5280 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5283 $ac_path_GREP_found && break 3
5288 if test -z "$ac_cv_path_GREP"; then
5289 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5292 ac_cv_path_GREP=$GREP
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5297 $as_echo "$ac_cv_path_GREP" >&6; }
5298 GREP="$ac_cv_path_GREP"
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5302 $as_echo_n "checking for egrep... " >&6; }
5303 if ${ac_cv_path_EGREP+:} false; then :
5304 $as_echo_n "(cached) " >&6
5306 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5307 then ac_cv_path_EGREP="$GREP -E"
5309 if test -z "$EGREP"; then
5310 ac_path_EGREP_found=false
5311 # Loop through the user's path and test for each of PROGNAME-LIST
5312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5313 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5316 test -z "$as_dir" && as_dir=.
5317 for ac_prog in egrep; do
5318 for ac_exec_ext in '' $ac_executable_extensions; do
5319 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5320 as_fn_executable_p "$ac_path_EGREP" || continue
5321 # Check for GNU ac_path_EGREP and select it if it is found.
5322 # Check for GNU $ac_path_EGREP
5323 case `"$ac_path_EGREP" --version 2>&1` in
5325 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5328 $as_echo_n 0123456789 >"conftest.in"
5331 cat "conftest.in" "conftest.in" >"conftest.tmp"
5332 mv "conftest.tmp" "conftest.in"
5333 cp "conftest.in" "conftest.nl"
5334 $as_echo 'EGREP' >> "conftest.nl"
5335 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5336 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5337 as_fn_arith $ac_count + 1 && ac_count=$as_val
5338 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5339 # Best one so far, save it but keep looking for a better one
5340 ac_cv_path_EGREP="$ac_path_EGREP"
5341 ac_path_EGREP_max=$ac_count
5343 # 10*(2^10) chars as input seems more than enough
5344 test $ac_count -gt 10 && break
5346 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5349 $ac_path_EGREP_found && break 3
5354 if test -z "$ac_cv_path_EGREP"; then
5355 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5358 ac_cv_path_EGREP=$EGREP
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5364 $as_echo "$ac_cv_path_EGREP" >&6; }
5365 EGREP="$ac_cv_path_EGREP"
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5369 $as_echo_n "checking for ANSI C header files... " >&6; }
5370 if ${ac_cv_header_stdc+:} false; then :
5371 $as_echo_n "(cached) " >&6
5373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5374 /* end confdefs.h. */
5388 if ac_fn_c_try_compile "$LINENO"; then :
5389 ac_cv_header_stdc=yes
5391 ac_cv_header_stdc=no
5393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5395 if test $ac_cv_header_stdc = yes; then
5396 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5398 /* end confdefs.h. */
5402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5403 $EGREP "memchr" >/dev/null 2>&1; then :
5406 ac_cv_header_stdc=no
5412 if test $ac_cv_header_stdc = yes; then
5413 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5415 /* end confdefs.h. */
5419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5420 $EGREP "free" >/dev/null 2>&1; then :
5423 ac_cv_header_stdc=no
5429 if test $ac_cv_header_stdc = yes; then
5430 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5431 if test "$cross_compiling" = yes; then :
5434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5435 /* end confdefs.h. */
5438 #if ((' ' & 0x0FF) == 0x020)
5439 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5440 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5442 # define ISLOWER(c) \
5443 (('a' <= (c) && (c) <= 'i') \
5444 || ('j' <= (c) && (c) <= 'r') \
5445 || ('s' <= (c) && (c) <= 'z'))
5446 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5449 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5454 for (i = 0; i < 256; i++)
5455 if (XOR (islower (i), ISLOWER (i))
5456 || toupper (i) != TOUPPER (i))
5461 if ac_fn_c_try_run "$LINENO"; then :
5464 ac_cv_header_stdc=no
5466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5467 conftest.$ac_objext conftest.beam conftest.$ac_ext
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5473 $as_echo "$ac_cv_header_stdc" >&6; }
5474 if test $ac_cv_header_stdc = yes; then
5476 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5480 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5481 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5482 inttypes.h stdint.h unistd.h
5484 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5485 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5487 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5488 cat >>confdefs.h <<_ACEOF
5489 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5498 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5499 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5506 if test "$MINIX" = yes; then
5508 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5511 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5514 $as_echo "#define _MINIX 1" >>confdefs.h
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5520 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5521 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5522 $as_echo_n "(cached) " >&6
5524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5525 /* end confdefs.h. */
5527 # define __EXTENSIONS__ 1
5528 $ac_includes_default
5537 if ac_fn_c_try_compile "$LINENO"; then :
5538 ac_cv_safe_to_define___extensions__=yes
5540 ac_cv_safe_to_define___extensions__=no
5542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5545 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5546 test $ac_cv_safe_to_define___extensions__ = yes &&
5547 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5549 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5551 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5553 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5555 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5560 # Make sure we can run config.sub.
5561 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5562 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5565 $as_echo_n "checking build system type... " >&6; }
5566 if ${ac_cv_build+:} false; then :
5567 $as_echo_n "(cached) " >&6
5569 ac_build_alias=$build_alias
5570 test "x$ac_build_alias" = x &&
5571 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5572 test "x$ac_build_alias" = x &&
5573 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5574 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5575 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5579 $as_echo "$ac_cv_build" >&6; }
5580 case $ac_cv_build in
5582 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5585 ac_save_IFS=$IFS; IFS='-'
5591 # Remember, the first character of IFS is used to create $*,
5592 # except with old shells:
5595 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5599 $as_echo_n "checking host system type... " >&6; }
5600 if ${ac_cv_host+:} false; then :
5601 $as_echo_n "(cached) " >&6
5603 if test "x$host_alias" = x; then
5604 ac_cv_host=$ac_cv_build
5606 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5607 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5612 $as_echo "$ac_cv_host" >&6; }
5615 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5618 ac_save_IFS=$IFS; IFS='-'
5624 # Remember, the first character of IFS is used to create $*,
5625 # except with old shells:
5628 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5631 enable_win32_dll=yes
5634 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
5635 if test -n "$ac_tool_prefix"; then
5636 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5637 set dummy ${ac_tool_prefix}as; ac_word=$2
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5639 $as_echo_n "checking for $ac_word... " >&6; }
5640 if ${ac_cv_prog_AS+:} false; then :
5641 $as_echo_n "(cached) " >&6
5643 if test -n "$AS"; then
5644 ac_cv_prog_AS="$AS" # Let the user override the test.
5646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5650 test -z "$as_dir" && as_dir=.
5651 for ac_exec_ext in '' $ac_executable_extensions; do
5652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5653 ac_cv_prog_AS="${ac_tool_prefix}as"
5654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5664 if test -n "$AS"; then
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5666 $as_echo "$AS" >&6; }
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669 $as_echo "no" >&6; }
5674 if test -z "$ac_cv_prog_AS"; then
5676 # Extract the first word of "as", so it can be a program name with args.
5677 set dummy as; ac_word=$2
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5679 $as_echo_n "checking for $ac_word... " >&6; }
5680 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5681 $as_echo_n "(cached) " >&6
5683 if test -n "$ac_ct_AS"; then
5684 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 test -z "$as_dir" && as_dir=.
5691 for ac_exec_ext in '' $ac_executable_extensions; do
5692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5693 ac_cv_prog_ac_ct_AS="as"
5694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5703 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5704 if test -n "$ac_ct_AS"; then
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5706 $as_echo "$ac_ct_AS" >&6; }
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5709 $as_echo "no" >&6; }
5712 if test "x$ac_ct_AS" = x; then
5715 case $cross_compiling:$ac_tool_warned in
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5719 ac_tool_warned=yes ;;
5727 if test -n "$ac_tool_prefix"; then
5728 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5729 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5731 $as_echo_n "checking for $ac_word... " >&6; }
5732 if ${ac_cv_prog_DLLTOOL+:} false; then :
5733 $as_echo_n "(cached) " >&6
5735 if test -n "$DLLTOOL"; then
5736 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742 test -z "$as_dir" && as_dir=.
5743 for ac_exec_ext in '' $ac_executable_extensions; do
5744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5745 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5755 DLLTOOL=$ac_cv_prog_DLLTOOL
5756 if test -n "$DLLTOOL"; then
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5758 $as_echo "$DLLTOOL" >&6; }
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5761 $as_echo "no" >&6; }
5766 if test -z "$ac_cv_prog_DLLTOOL"; then
5767 ac_ct_DLLTOOL=$DLLTOOL
5768 # Extract the first word of "dlltool", so it can be a program name with args.
5769 set dummy dlltool; ac_word=$2
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5771 $as_echo_n "checking for $ac_word... " >&6; }
5772 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5773 $as_echo_n "(cached) " >&6
5775 if test -n "$ac_ct_DLLTOOL"; then
5776 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5782 test -z "$as_dir" && as_dir=.
5783 for ac_exec_ext in '' $ac_executable_extensions; do
5784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5785 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5796 if test -n "$ac_ct_DLLTOOL"; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5798 $as_echo "$ac_ct_DLLTOOL" >&6; }
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }
5804 if test "x$ac_ct_DLLTOOL" = x; then
5807 case $cross_compiling:$ac_tool_warned in
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5811 ac_tool_warned=yes ;;
5813 DLLTOOL=$ac_ct_DLLTOOL
5816 DLLTOOL="$ac_cv_prog_DLLTOOL"
5819 if test -n "$ac_tool_prefix"; then
5820 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5821 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823 $as_echo_n "checking for $ac_word... " >&6; }
5824 if ${ac_cv_prog_OBJDUMP+:} false; then :
5825 $as_echo_n "(cached) " >&6
5827 if test -n "$OBJDUMP"; then
5828 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5834 test -z "$as_dir" && as_dir=.
5835 for ac_exec_ext in '' $ac_executable_extensions; do
5836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5837 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5847 OBJDUMP=$ac_cv_prog_OBJDUMP
5848 if test -n "$OBJDUMP"; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5850 $as_echo "$OBJDUMP" >&6; }
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853 $as_echo "no" >&6; }
5858 if test -z "$ac_cv_prog_OBJDUMP"; then
5859 ac_ct_OBJDUMP=$OBJDUMP
5860 # Extract the first word of "objdump", so it can be a program name with args.
5861 set dummy objdump; ac_word=$2
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5863 $as_echo_n "checking for $ac_word... " >&6; }
5864 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5865 $as_echo_n "(cached) " >&6
5867 if test -n "$ac_ct_OBJDUMP"; then
5868 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5874 test -z "$as_dir" && as_dir=.
5875 for ac_exec_ext in '' $ac_executable_extensions; do
5876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5877 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5887 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5888 if test -n "$ac_ct_OBJDUMP"; then
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5890 $as_echo "$ac_ct_OBJDUMP" >&6; }
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5893 $as_echo "no" >&6; }
5896 if test "x$ac_ct_OBJDUMP" = x; then
5899 case $cross_compiling:$ac_tool_warned in
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5903 ac_tool_warned=yes ;;
5905 OBJDUMP=$ac_ct_OBJDUMP
5908 OBJDUMP="$ac_cv_prog_OBJDUMP"
5914 test -z "$AS" && AS=as
5920 test -z "$DLLTOOL" && DLLTOOL=dlltool
5926 test -z "$OBJDUMP" && OBJDUMP=objdump
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5937 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5942 macro_version='2.4.2'
5943 macro_revision='1.3337'
5957 ltmain="$ac_aux_dir/ltmain.sh"
5959 # Backslashify metacharacters that are still active within
5960 # double-quoted strings.
5961 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5963 # Same as above, but do not quote variable references.
5964 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5966 # Sed substitution to delay expansion of an escaped shell variable in a
5967 # double_quote_subst'ed string.
5968 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5970 # Sed substitution to delay expansion of an escaped single quote.
5971 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5973 # Sed substitution to avoid accidental globbing in evaled expressions
5974 no_glob_subst='s/\*/\\\*/g'
5976 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5977 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5978 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5981 $as_echo_n "checking how to print strings... " >&6; }
5982 # Test print first, because it will be a builtin if present.
5983 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5984 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5986 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5989 # Use this function as a fallback that always works.
5990 func_fallback_echo ()
5992 eval 'cat <<_LTECHO_EOF
5996 ECHO='func_fallback_echo'
5999 # func_echo_all arg...
6000 # Invoke $ECHO with all args, space-separated.
6007 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6008 $as_echo "printf" >&6; } ;;
6009 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6010 $as_echo "print -r" >&6; } ;;
6011 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6012 $as_echo "cat" >&6; } ;;
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6029 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6030 if ${ac_cv_path_SED+:} false; then :
6031 $as_echo_n "(cached) " >&6
6033 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6034 for ac_i in 1 2 3 4 5 6 7; do
6035 ac_script="$ac_script$as_nl$ac_script"
6037 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6038 { ac_script=; unset ac_script;}
6039 if test -z "$SED"; then
6040 ac_path_SED_found=false
6041 # Loop through the user's path and test for each of PROGNAME-LIST
6042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6046 test -z "$as_dir" && as_dir=.
6047 for ac_prog in sed gsed; do
6048 for ac_exec_ext in '' $ac_executable_extensions; do
6049 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6050 as_fn_executable_p "$ac_path_SED" || continue
6051 # Check for GNU ac_path_SED and select it if it is found.
6052 # Check for GNU $ac_path_SED
6053 case `"$ac_path_SED" --version 2>&1` in
6055 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6058 $as_echo_n 0123456789 >"conftest.in"
6061 cat "conftest.in" "conftest.in" >"conftest.tmp"
6062 mv "conftest.tmp" "conftest.in"
6063 cp "conftest.in" "conftest.nl"
6064 $as_echo '' >> "conftest.nl"
6065 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6066 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6067 as_fn_arith $ac_count + 1 && ac_count=$as_val
6068 if test $ac_count -gt ${ac_path_SED_max-0}; then
6069 # Best one so far, save it but keep looking for a better one
6070 ac_cv_path_SED="$ac_path_SED"
6071 ac_path_SED_max=$ac_count
6073 # 10*(2^10) chars as input seems more than enough
6074 test $ac_count -gt 10 && break
6076 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6079 $ac_path_SED_found && break 3
6084 if test -z "$ac_cv_path_SED"; then
6085 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6093 $as_echo "$ac_cv_path_SED" >&6; }
6094 SED="$ac_cv_path_SED"
6097 test -z "$SED" && SED=sed
6098 Xsed="$SED -e 1s/^X//"
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6111 $as_echo_n "checking for fgrep... " >&6; }
6112 if ${ac_cv_path_FGREP+:} false; then :
6113 $as_echo_n "(cached) " >&6
6115 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6116 then ac_cv_path_FGREP="$GREP -F"
6118 if test -z "$FGREP"; then
6119 ac_path_FGREP_found=false
6120 # Loop through the user's path and test for each of PROGNAME-LIST
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6125 test -z "$as_dir" && as_dir=.
6126 for ac_prog in fgrep; do
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6129 as_fn_executable_p "$ac_path_FGREP" || continue
6130 # Check for GNU ac_path_FGREP and select it if it is found.
6131 # Check for GNU $ac_path_FGREP
6132 case `"$ac_path_FGREP" --version 2>&1` in
6134 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6137 $as_echo_n 0123456789 >"conftest.in"
6140 cat "conftest.in" "conftest.in" >"conftest.tmp"
6141 mv "conftest.tmp" "conftest.in"
6142 cp "conftest.in" "conftest.nl"
6143 $as_echo 'FGREP' >> "conftest.nl"
6144 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6145 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6146 as_fn_arith $ac_count + 1 && ac_count=$as_val
6147 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6148 # Best one so far, save it but keep looking for a better one
6149 ac_cv_path_FGREP="$ac_path_FGREP"
6150 ac_path_FGREP_max=$ac_count
6152 # 10*(2^10) chars as input seems more than enough
6153 test $ac_count -gt 10 && break
6155 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6158 $ac_path_FGREP_found && break 3
6163 if test -z "$ac_cv_path_FGREP"; then
6164 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6167 ac_cv_path_FGREP=$FGREP
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6173 $as_echo "$ac_cv_path_FGREP" >&6; }
6174 FGREP="$ac_cv_path_FGREP"
6177 test -z "$GREP" && GREP=grep
6197 # Check whether --with-gnu-ld was given.
6198 if test "${with_gnu_ld+set}" = set; then :
6199 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6205 if test "$GCC" = yes; then
6206 # Check if gcc -print-prog-name=ld gives a path.
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6208 $as_echo_n "checking for ld used by $CC... " >&6; }
6211 # gcc leaves a trailing carriage return which upsets mingw
6212 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6214 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6217 # Accept absolute paths.
6219 re_direlt='/[^/][^/]*/\.\./'
6220 # Canonicalize the pathname of ld
6221 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6222 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6223 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6225 test -z "$LD" && LD="$ac_prog"
6228 # If it fails, then pretend we aren't using GCC.
6232 # If it is relative, then search for the first ld in PATH.
6236 elif test "$with_gnu_ld" = yes; then
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6238 $as_echo_n "checking for GNU ld... " >&6; }
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6241 $as_echo_n "checking for non-GNU ld... " >&6; }
6243 if ${lt_cv_path_LD+:} false; then :
6244 $as_echo_n "(cached) " >&6
6246 if test -z "$LD"; then
6247 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6248 for ac_dir in $PATH; do
6250 test -z "$ac_dir" && ac_dir=.
6251 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6252 lt_cv_path_LD="$ac_dir/$ac_prog"
6253 # Check to see if the program is GNU ld. I'd rather use --version,
6254 # but apparently some variants of GNU ld only accept -v.
6255 # Break only if it was the GNU/non-GNU ld that we prefer.
6256 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6257 *GNU* | *'with BFD'*)
6258 test "$with_gnu_ld" != no && break
6261 test "$with_gnu_ld" != yes && break
6268 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6273 if test -n "$LD"; then
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6275 $as_echo "$LD" >&6; }
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6278 $as_echo "no" >&6; }
6280 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6282 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6283 if ${lt_cv_prog_gnu_ld+:} false; then :
6284 $as_echo_n "(cached) " >&6
6286 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6287 case `$LD -v 2>&1 </dev/null` in
6288 *GNU* | *'with BFD'*)
6289 lt_cv_prog_gnu_ld=yes
6292 lt_cv_prog_gnu_ld=no
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6297 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6298 with_gnu_ld=$lt_cv_prog_gnu_ld
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6309 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6310 if ${lt_cv_path_NM+:} false; then :
6311 $as_echo_n "(cached) " >&6
6313 if test -n "$NM"; then
6314 # Let the user override the test.
6317 lt_nm_to_check="${ac_tool_prefix}nm"
6318 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6319 lt_nm_to_check="$lt_nm_to_check nm"
6321 for lt_tmp_nm in $lt_nm_to_check; do
6322 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6323 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6325 test -z "$ac_dir" && ac_dir=.
6326 tmp_nm="$ac_dir/$lt_tmp_nm"
6327 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6328 # Check to see if the nm accepts a BSD-compat flag.
6329 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6330 # nm: unknown option "B" ignored
6331 # Tru64's nm complains that /dev/null is an invalid object file
6332 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6333 */dev/null* | *'Invalid file or object type'*)
6334 lt_cv_path_NM="$tmp_nm -B"
6338 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6340 lt_cv_path_NM="$tmp_nm -p"
6344 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6345 continue # so that we can try to find one that supports BSD flags
6354 : ${lt_cv_path_NM=no}
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6358 $as_echo "$lt_cv_path_NM" >&6; }
6359 if test "$lt_cv_path_NM" != "no"; then
6362 # Didn't find any BSD compatible name lister, look for dumpbin.
6363 if test -n "$DUMPBIN"; then :
6364 # Let the user override the test.
6366 if test -n "$ac_tool_prefix"; then
6367 for ac_prog in dumpbin "link -dump"
6369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6372 $as_echo_n "checking for $ac_word... " >&6; }
6373 if ${ac_cv_prog_DUMPBIN+:} false; then :
6374 $as_echo_n "(cached) " >&6
6376 if test -n "$DUMPBIN"; then
6377 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6383 test -z "$as_dir" && as_dir=.
6384 for ac_exec_ext in '' $ac_executable_extensions; do
6385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6386 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6396 DUMPBIN=$ac_cv_prog_DUMPBIN
6397 if test -n "$DUMPBIN"; then
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6399 $as_echo "$DUMPBIN" >&6; }
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6402 $as_echo "no" >&6; }
6406 test -n "$DUMPBIN" && break
6409 if test -z "$DUMPBIN"; then
6410 ac_ct_DUMPBIN=$DUMPBIN
6411 for ac_prog in dumpbin "link -dump"
6413 # Extract the first word of "$ac_prog", so it can be a program name with args.
6414 set dummy $ac_prog; ac_word=$2
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6416 $as_echo_n "checking for $ac_word... " >&6; }
6417 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6418 $as_echo_n "(cached) " >&6
6420 if test -n "$ac_ct_DUMPBIN"; then
6421 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6427 test -z "$as_dir" && as_dir=.
6428 for ac_exec_ext in '' $ac_executable_extensions; do
6429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6430 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6440 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6441 if test -n "$ac_ct_DUMPBIN"; then
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6443 $as_echo "$ac_ct_DUMPBIN" >&6; }
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6446 $as_echo "no" >&6; }
6450 test -n "$ac_ct_DUMPBIN" && break
6453 if test "x$ac_ct_DUMPBIN" = x; then
6456 case $cross_compiling:$ac_tool_warned in
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6460 ac_tool_warned=yes ;;
6462 DUMPBIN=$ac_ct_DUMPBIN
6466 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6468 DUMPBIN="$DUMPBIN -symbols"
6476 if test "$DUMPBIN" != ":"; then
6480 test -z "$NM" && NM=nm
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6488 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6489 if ${lt_cv_nm_interface+:} false; then :
6490 $as_echo_n "(cached) " >&6
6492 lt_cv_nm_interface="BSD nm"
6493 echo "int some_variable = 0;" > conftest.$ac_ext
6494 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6495 (eval "$ac_compile" 2>conftest.err)
6496 cat conftest.err >&5
6497 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6498 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6499 cat conftest.err >&5
6500 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6501 cat conftest.out >&5
6502 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6503 lt_cv_nm_interface="MS dumpbin"
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6508 $as_echo "$lt_cv_nm_interface" >&6; }
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6511 $as_echo_n "checking whether ln -s works... " >&6; }
6513 if test "$LN_S" = "ln -s"; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6515 $as_echo "yes" >&6; }
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6518 $as_echo "no, using $LN_S" >&6; }
6521 # find the maximum length of command line arguments
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6523 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6524 if ${lt_cv_sys_max_cmd_len+:} false; then :
6525 $as_echo_n "(cached) " >&6
6532 # On DJGPP, this test can blow up pretty badly due to problems in libc
6533 # (any single argument exceeding 2000 bytes causes a buffer overrun
6534 # during glob expansion). Even if it were fixed, the result of this
6535 # check would be larger than it should be.
6536 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6540 # Under GNU Hurd, this test is not required because there is
6541 # no limit to the length of command line arguments.
6542 # Libtool will interpret -1 as no limit whatsoever
6543 lt_cv_sys_max_cmd_len=-1;
6546 cygwin* | mingw* | cegcc*)
6547 # On Win9x/ME, this test blows up -- it succeeds, but takes
6548 # about 5 minutes as the teststring grows exponentially.
6549 # Worse, since 9x/ME are not pre-emptively multitasking,
6550 # you end up with a "frozen" computer, even though with patience
6551 # the test eventually succeeds (with a max line length of 256k).
6552 # Instead, let's just punt: use the minimum linelength reported by
6553 # all of the supported platforms: 8192 (on NT/2K/XP).
6554 lt_cv_sys_max_cmd_len=8192;
6558 # On MiNT this can take a long time and run out of memory.
6559 lt_cv_sys_max_cmd_len=8192;
6563 # On AmigaOS with pdksh, this test takes hours, literally.
6564 # So we just punt and use a minimum line length of 8192.
6565 lt_cv_sys_max_cmd_len=8192;
6568 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6569 # This has been around since 386BSD, at least. Likely further.
6570 if test -x /sbin/sysctl; then
6571 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6572 elif test -x /usr/sbin/sysctl; then
6573 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6575 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6577 # And add a safety zone
6578 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6579 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6583 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6584 lt_cv_sys_max_cmd_len=196608
6588 # The test takes a long time on OS/2.
6589 lt_cv_sys_max_cmd_len=8192
6593 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6594 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6595 # nice to cause kernel panics so lets avoid the loop below.
6596 # First set a reasonable default.
6597 lt_cv_sys_max_cmd_len=16384
6599 if test -x /sbin/sysconfig; then
6600 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6601 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6606 lt_cv_sys_max_cmd_len=102400
6608 sysv5* | sco5v6* | sysv4.2uw2*)
6609 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6610 if test -n "$kargmax"; then
6611 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6613 lt_cv_sys_max_cmd_len=32768
6617 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6618 if test -n "$lt_cv_sys_max_cmd_len"; then
6619 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6620 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6622 # Make teststring a little bigger before we do anything with it.
6623 # a 1K string should be a reasonable start.
6624 for i in 1 2 3 4 5 6 7 8 ; do
6625 teststring=$teststring$teststring
6627 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6628 # If test is not a shell built-in, we'll probably end up computing a
6629 # maximum length that is only half of the actual maximum length, but
6631 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6632 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6633 test $i != 17 # 1/2 MB should be enough
6636 teststring=$teststring$teststring
6638 # Only check the string length outside the loop.
6639 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6641 # Add a significant safety factor because C++ compilers can tack on
6642 # massive amounts of additional arguments before passing them to the
6643 # linker. It appears as though 1/2 is a usable value.
6644 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6651 if test -n $lt_cv_sys_max_cmd_len ; then
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6653 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6656 $as_echo "none" >&6; }
6658 max_cmd_len=$lt_cv_sys_max_cmd_len
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6670 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6671 # Try some XSI features
6674 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6676 && eval 'test $(( 1 + 1 )) -eq 2 \
6677 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6680 $as_echo "$xsi_shell" >&6; }
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6684 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6686 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6688 && lt_shell_append=yes
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6690 $as_echo "$lt_shell_append" >&6; }
6693 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6703 # test EBCDIC or ASCII
6704 case `echo X|tr X '\101'` in
6705 A) # ASCII based system
6706 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6707 lt_SP2NL='tr \040 \012'
6708 lt_NL2SP='tr \015\012 \040\040'
6710 *) # EBCDIC based system
6711 lt_SP2NL='tr \100 \n'
6712 lt_NL2SP='tr \r\n \100\100'
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6725 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6726 if ${lt_cv_to_host_file_cmd+:} false; then :
6727 $as_echo_n "(cached) " >&6
6732 *-*-mingw* ) # actually msys
6733 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6736 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6738 * ) # otherwise, assume *nix
6739 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6745 *-*-mingw* ) # actually msys
6746 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6749 lt_cv_to_host_file_cmd=func_convert_file_noop
6751 * ) # otherwise, assume *nix
6752 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6756 * ) # unhandled hosts (and "normal" native builds)
6757 lt_cv_to_host_file_cmd=func_convert_file_noop
6763 to_host_file_cmd=$lt_cv_to_host_file_cmd
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6765 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6772 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6773 if ${lt_cv_to_tool_file_cmd+:} false; then :
6774 $as_echo_n "(cached) " >&6
6776 #assume ordinary cross tools, or native build.
6777 lt_cv_to_tool_file_cmd=func_convert_file_noop
6781 *-*-mingw* ) # actually msys
6782 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6790 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6792 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6799 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6800 if ${lt_cv_ld_reload_flag+:} false; then :
6801 $as_echo_n "(cached) " >&6
6803 lt_cv_ld_reload_flag='-r'
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6806 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6807 reload_flag=$lt_cv_ld_reload_flag
6808 case $reload_flag in
6810 *) reload_flag=" $reload_flag" ;;
6812 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6814 cygwin* | mingw* | pw32* | cegcc*)
6815 if test "$GCC" != yes; then
6820 if test "$GCC" = yes; then
6821 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6823 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6836 if test -n "$ac_tool_prefix"; then
6837 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6838 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6840 $as_echo_n "checking for $ac_word... " >&6; }
6841 if ${ac_cv_prog_OBJDUMP+:} false; then :
6842 $as_echo_n "(cached) " >&6
6844 if test -n "$OBJDUMP"; then
6845 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6851 test -z "$as_dir" && as_dir=.
6852 for ac_exec_ext in '' $ac_executable_extensions; do
6853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6854 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6864 OBJDUMP=$ac_cv_prog_OBJDUMP
6865 if test -n "$OBJDUMP"; then
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6867 $as_echo "$OBJDUMP" >&6; }
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6870 $as_echo "no" >&6; }
6875 if test -z "$ac_cv_prog_OBJDUMP"; then
6876 ac_ct_OBJDUMP=$OBJDUMP
6877 # Extract the first word of "objdump", so it can be a program name with args.
6878 set dummy objdump; ac_word=$2
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6880 $as_echo_n "checking for $ac_word... " >&6; }
6881 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6882 $as_echo_n "(cached) " >&6
6884 if test -n "$ac_ct_OBJDUMP"; then
6885 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6891 test -z "$as_dir" && as_dir=.
6892 for ac_exec_ext in '' $ac_executable_extensions; do
6893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6894 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6904 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6905 if test -n "$ac_ct_OBJDUMP"; then
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6907 $as_echo "$ac_ct_OBJDUMP" >&6; }
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6910 $as_echo "no" >&6; }
6913 if test "x$ac_ct_OBJDUMP" = x; then
6916 case $cross_compiling:$ac_tool_warned in
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6920 ac_tool_warned=yes ;;
6922 OBJDUMP=$ac_ct_OBJDUMP
6925 OBJDUMP="$ac_cv_prog_OBJDUMP"
6928 test -z "$OBJDUMP" && OBJDUMP=objdump
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6936 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6937 if ${lt_cv_deplibs_check_method+:} false; then :
6938 $as_echo_n "(cached) " >&6
6940 lt_cv_file_magic_cmd='$MAGIC_CMD'
6941 lt_cv_file_magic_test_file=
6942 lt_cv_deplibs_check_method='unknown'
6943 # Need to set the preceding variable on all platforms that support
6944 # interlibrary dependencies.
6945 # 'none' -- dependencies not supported.
6946 # `unknown' -- same as none, but documents that we really don't know.
6947 # 'pass_all' -- all dependencies passed with no checks.
6948 # 'test_compile' -- check by making test program.
6949 # 'file_magic [[regex]]' -- check by looking for files in library path
6950 # which responds to the $file_magic_cmd with a given extended regex.
6951 # If you have `file' or equivalent on your system and you're not sure
6952 # whether `pass_all' will *always* work, you probably want this one.
6956 lt_cv_deplibs_check_method=pass_all
6960 lt_cv_deplibs_check_method=pass_all
6964 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6965 lt_cv_file_magic_cmd='/usr/bin/file -L'
6966 lt_cv_file_magic_test_file=/shlib/libc.so
6970 # func_win32_libid is a shell function defined in ltmain.sh
6971 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6972 lt_cv_file_magic_cmd='func_win32_libid'
6976 # Base MSYS/MinGW do not provide the 'file' command needed by
6977 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6978 # unless we find 'file', for example because we are cross-compiling.
6979 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6980 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6981 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6982 lt_cv_file_magic_cmd='func_win32_libid'
6984 # Keep this pattern in sync with the one in func_win32_libid.
6985 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6986 lt_cv_file_magic_cmd='$OBJDUMP -f'
6991 # use the weaker test based on 'objdump'. See mingw*.
6992 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6993 lt_cv_file_magic_cmd='$OBJDUMP -f'
6996 darwin* | rhapsody*)
6997 lt_cv_deplibs_check_method=pass_all
7000 freebsd* | dragonfly*)
7001 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7004 # Not sure whether the presence of OpenBSD here was a mistake.
7005 # Let's accept both of them until this is cleared up.
7006 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7007 lt_cv_file_magic_cmd=/usr/bin/file
7008 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7012 lt_cv_deplibs_check_method=pass_all
7017 lt_cv_deplibs_check_method=pass_all
7021 lt_cv_deplibs_check_method=pass_all
7024 hpux10.20* | hpux11*)
7025 lt_cv_file_magic_cmd=/usr/bin/file
7028 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7029 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7032 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]'
7033 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7036 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7037 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7043 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7044 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7047 irix5* | irix6* | nonstopux*)
7049 *-32|*"-32 ") libmagic=32-bit;;
7050 *-n32|*"-n32 ") libmagic=N32;;
7051 *-64|*"-64 ") libmagic=64-bit;;
7052 *) libmagic=never-match;;
7054 lt_cv_deplibs_check_method=pass_all
7057 # This must be glibc/ELF.
7058 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7059 lt_cv_deplibs_check_method=pass_all
7063 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7064 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7066 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7071 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7072 lt_cv_file_magic_cmd=/usr/bin/file
7073 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7077 lt_cv_deplibs_check_method=pass_all
7081 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7082 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7084 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7088 osf3* | osf4* | osf5*)
7089 lt_cv_deplibs_check_method=pass_all
7093 lt_cv_deplibs_check_method=pass_all
7097 lt_cv_deplibs_check_method=pass_all
7100 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7101 lt_cv_deplibs_check_method=pass_all
7105 case $host_vendor in
7107 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]'
7108 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7111 lt_cv_deplibs_check_method=pass_all
7114 lt_cv_file_magic_cmd='/bin/file'
7115 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7118 lt_cv_file_magic_cmd='/bin/file'
7119 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7120 lt_cv_file_magic_test_file=/lib/libc.so
7123 lt_cv_deplibs_check_method=pass_all
7126 lt_cv_deplibs_check_method=pass_all
7132 lt_cv_deplibs_check_method=pass_all
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7138 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7142 if test "$build" = "$host"; then
7145 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7148 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7154 file_magic_cmd=$lt_cv_file_magic_cmd
7155 deplibs_check_method=$lt_cv_deplibs_check_method
7156 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7179 if test -n "$ac_tool_prefix"; then
7180 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7181 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7183 $as_echo_n "checking for $ac_word... " >&6; }
7184 if ${ac_cv_prog_DLLTOOL+:} false; then :
7185 $as_echo_n "(cached) " >&6
7187 if test -n "$DLLTOOL"; then
7188 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7194 test -z "$as_dir" && as_dir=.
7195 for ac_exec_ext in '' $ac_executable_extensions; do
7196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7197 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7207 DLLTOOL=$ac_cv_prog_DLLTOOL
7208 if test -n "$DLLTOOL"; then
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7210 $as_echo "$DLLTOOL" >&6; }
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7213 $as_echo "no" >&6; }
7218 if test -z "$ac_cv_prog_DLLTOOL"; then
7219 ac_ct_DLLTOOL=$DLLTOOL
7220 # Extract the first word of "dlltool", so it can be a program name with args.
7221 set dummy dlltool; ac_word=$2
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7223 $as_echo_n "checking for $ac_word... " >&6; }
7224 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7225 $as_echo_n "(cached) " >&6
7227 if test -n "$ac_ct_DLLTOOL"; then
7228 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7234 test -z "$as_dir" && as_dir=.
7235 for ac_exec_ext in '' $ac_executable_extensions; do
7236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7237 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7247 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7248 if test -n "$ac_ct_DLLTOOL"; then
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7250 $as_echo "$ac_ct_DLLTOOL" >&6; }
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7253 $as_echo "no" >&6; }
7256 if test "x$ac_ct_DLLTOOL" = x; then
7259 case $cross_compiling:$ac_tool_warned in
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7263 ac_tool_warned=yes ;;
7265 DLLTOOL=$ac_ct_DLLTOOL
7268 DLLTOOL="$ac_cv_prog_DLLTOOL"
7271 test -z "$DLLTOOL" && DLLTOOL=dlltool
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7280 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7281 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7282 $as_echo_n "(cached) " >&6
7284 lt_cv_sharedlib_from_linklib_cmd='unknown'
7287 cygwin* | mingw* | pw32* | cegcc*)
7288 # two different shell functions defined in ltmain.sh
7289 # decide which to use based on capabilities of $DLLTOOL
7290 case `$DLLTOOL --help 2>&1` in
7291 *--identify-strict*)
7292 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7295 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7300 # fallback: assume linklib IS sharedlib
7301 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7307 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7308 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7309 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7317 if test -n "$ac_tool_prefix"; then
7320 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7321 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323 $as_echo_n "checking for $ac_word... " >&6; }
7324 if ${ac_cv_prog_AR+:} false; then :
7325 $as_echo_n "(cached) " >&6
7327 if test -n "$AR"; then
7328 ac_cv_prog_AR="$AR" # Let the user override the test.
7330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 test -z "$as_dir" && as_dir=.
7335 for ac_exec_ext in '' $ac_executable_extensions; do
7336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7337 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7348 if test -n "$AR"; then
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7350 $as_echo "$AR" >&6; }
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7353 $as_echo "no" >&6; }
7357 test -n "$AR" && break
7360 if test -z "$AR"; then
7364 # Extract the first word of "$ac_prog", so it can be a program name with args.
7365 set dummy $ac_prog; ac_word=$2
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7367 $as_echo_n "checking for $ac_word... " >&6; }
7368 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7369 $as_echo_n "(cached) " >&6
7371 if test -n "$ac_ct_AR"; then
7372 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7378 test -z "$as_dir" && as_dir=.
7379 for ac_exec_ext in '' $ac_executable_extensions; do
7380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7381 ac_cv_prog_ac_ct_AR="$ac_prog"
7382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7391 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7392 if test -n "$ac_ct_AR"; then
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7394 $as_echo "$ac_ct_AR" >&6; }
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7397 $as_echo "no" >&6; }
7401 test -n "$ac_ct_AR" && break
7404 if test "x$ac_ct_AR" = x; then
7407 case $cross_compiling:$ac_tool_warned in
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7411 ac_tool_warned=yes ;;
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7431 $as_echo_n "checking for archiver @FILE support... " >&6; }
7432 if ${lt_cv_ar_at_file+:} false; then :
7433 $as_echo_n "(cached) " >&6
7436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7437 /* end confdefs.h. */
7447 if ac_fn_c_try_compile "$LINENO"; then :
7448 echo conftest.$ac_objext > conftest.lst
7449 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7450 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7451 (eval $lt_ar_try) 2>&5
7453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7454 test $ac_status = 0; }
7455 if test "$ac_status" -eq 0; then
7456 # Ensure the archiver fails upon bogus file names.
7457 rm -f conftest.$ac_objext libconftest.a
7458 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7459 (eval $lt_ar_try) 2>&5
7461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7462 test $ac_status = 0; }
7463 if test "$ac_status" -ne 0; then
7467 rm -f conftest.* libconftest.a
7470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7474 $as_echo "$lt_cv_ar_at_file" >&6; }
7476 if test "x$lt_cv_ar_at_file" = xno; then
7479 archiver_list_spec=$lt_cv_ar_at_file
7488 if test -n "$ac_tool_prefix"; then
7489 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7490 set dummy ${ac_tool_prefix}strip; ac_word=$2
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7492 $as_echo_n "checking for $ac_word... " >&6; }
7493 if ${ac_cv_prog_STRIP+:} false; then :
7494 $as_echo_n "(cached) " >&6
7496 if test -n "$STRIP"; then
7497 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503 test -z "$as_dir" && as_dir=.
7504 for ac_exec_ext in '' $ac_executable_extensions; do
7505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7506 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7516 STRIP=$ac_cv_prog_STRIP
7517 if test -n "$STRIP"; then
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7519 $as_echo "$STRIP" >&6; }
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7522 $as_echo "no" >&6; }
7527 if test -z "$ac_cv_prog_STRIP"; then
7529 # Extract the first word of "strip", so it can be a program name with args.
7530 set dummy strip; ac_word=$2
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7532 $as_echo_n "checking for $ac_word... " >&6; }
7533 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7534 $as_echo_n "(cached) " >&6
7536 if test -n "$ac_ct_STRIP"; then
7537 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7543 test -z "$as_dir" && as_dir=.
7544 for ac_exec_ext in '' $ac_executable_extensions; do
7545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7546 ac_cv_prog_ac_ct_STRIP="strip"
7547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7556 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7557 if test -n "$ac_ct_STRIP"; then
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7559 $as_echo "$ac_ct_STRIP" >&6; }
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562 $as_echo "no" >&6; }
7565 if test "x$ac_ct_STRIP" = x; then
7568 case $cross_compiling:$ac_tool_warned in
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7572 ac_tool_warned=yes ;;
7577 STRIP="$ac_cv_prog_STRIP"
7580 test -z "$STRIP" && STRIP=:
7587 if test -n "$ac_tool_prefix"; then
7588 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7589 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7591 $as_echo_n "checking for $ac_word... " >&6; }
7592 if ${ac_cv_prog_RANLIB+:} false; then :
7593 $as_echo_n "(cached) " >&6
7595 if test -n "$RANLIB"; then
7596 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7602 test -z "$as_dir" && as_dir=.
7603 for ac_exec_ext in '' $ac_executable_extensions; do
7604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7605 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7615 RANLIB=$ac_cv_prog_RANLIB
7616 if test -n "$RANLIB"; then
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7618 $as_echo "$RANLIB" >&6; }
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7621 $as_echo "no" >&6; }
7626 if test -z "$ac_cv_prog_RANLIB"; then
7627 ac_ct_RANLIB=$RANLIB
7628 # Extract the first word of "ranlib", so it can be a program name with args.
7629 set dummy ranlib; ac_word=$2
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7631 $as_echo_n "checking for $ac_word... " >&6; }
7632 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7633 $as_echo_n "(cached) " >&6
7635 if test -n "$ac_ct_RANLIB"; then
7636 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7642 test -z "$as_dir" && as_dir=.
7643 for ac_exec_ext in '' $ac_executable_extensions; do
7644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7645 ac_cv_prog_ac_ct_RANLIB="ranlib"
7646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7655 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7656 if test -n "$ac_ct_RANLIB"; then
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7658 $as_echo "$ac_ct_RANLIB" >&6; }
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7661 $as_echo "no" >&6; }
7664 if test "x$ac_ct_RANLIB" = x; then
7667 case $cross_compiling:$ac_tool_warned in
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7671 ac_tool_warned=yes ;;
7673 RANLIB=$ac_ct_RANLIB
7676 RANLIB="$ac_cv_prog_RANLIB"
7679 test -z "$RANLIB" && RANLIB=:
7686 # Determine commands to create old-style static archives.
7687 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7688 old_postinstall_cmds='chmod 644 $oldlib'
7689 old_postuninstall_cmds=
7691 if test -n "$RANLIB"; then
7694 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7697 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7700 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7705 lock_old_archive_extraction=yes ;;
7707 lock_old_archive_extraction=no ;;
7748 # If no C compiler was specified, use CC.
7751 # If no C compiler flags were specified, use CFLAGS.
7752 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7754 # Allow CC to be a program name with arguments.
7758 # Check for command to grab the raw symbol name followed by C symbol from nm.
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7760 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7761 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7762 $as_echo_n "(cached) " >&6
7765 # These are sane defaults that work on at least a few old systems.
7766 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7768 # Character class describing NM global symbol codes.
7769 symcode='[BCDEGRST]'
7771 # Regexp to match symbols that can be accessed directly from C.
7772 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7774 # Define system-specific variables.
7779 cygwin* | mingw* | pw32* | cegcc*)
7780 symcode='[ABCDGISTW]'
7783 if test "$host_cpu" = ia64; then
7784 symcode='[ABCDEGRST]'
7788 symcode='[BCDEGRST]'
7791 symcode='[BCDEGQRST]'
7802 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7810 # If we're using GNU nm, then use its standard symbol codes.
7811 case `$NM -V 2>&1` in
7812 *GNU* | *'with BFD'*)
7813 symcode='[ABCDGIRSTW]' ;;
7816 # Transform an extracted symbol line into a proper C declaration.
7817 # Some systems (esp. on ia64) link data and code symbols differently,
7818 # so use this general approach.
7819 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7821 # Transform an extracted symbol line into symbol name and symbol address
7822 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7823 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'"
7825 # Handle CRLF in mingw tool chain
7829 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7833 # Try without a prefix underscore, then with it.
7834 for ac_symprfx in "" "_"; do
7836 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7837 symxfrm="\\1 $ac_symprfx\\2 \\2"
7839 # Write the raw and C identifiers.
7840 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7841 # Fake it for dumpbin and say T for any non-static function
7842 # and D for any global variable.
7843 # Also find C++ and __fastcall symbols from MSVC++,
7844 # which start with @ or ?.
7845 lt_cv_sys_global_symbol_pipe="$AWK '"\
7846 " {last_section=section; section=\$ 3};"\
7847 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7848 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7849 " \$ 0!~/External *\|/{next};"\
7850 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7851 " {if(hide[section]) next};"\
7852 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7853 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7854 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7855 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7856 " ' prfx=^$ac_symprfx"
7858 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7860 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7862 # Check to see that the pipe works correctly.
7866 cat > conftest.$ac_ext <<_LT_EOF
7871 void nm_test_func(void);
7872 void nm_test_func(void){}
7876 int main(){nm_test_var='a';nm_test_func();return(0);}
7879 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7880 (eval $ac_compile) 2>&5
7882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7883 test $ac_status = 0; }; then
7884 # Now try to grab the symbols.
7886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7887 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7890 test $ac_status = 0; } && test -s "$nlist"; then
7891 # Try sorting and uniquifying the output.
7892 if sort "$nlist" | uniq > "$nlist"T; then
7893 mv -f "$nlist"T "$nlist"
7898 # Make sure that we snagged all the symbols we need.
7899 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7900 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7901 cat <<_LT_EOF > conftest.$ac_ext
7902 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7903 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7904 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7905 relocations are performed -- see ld's documentation on pseudo-relocs. */
7906 # define LT_DLSYM_CONST
7907 #elif defined(__osf__)
7908 /* This system does not cope well with relocations in const data. */
7909 # define LT_DLSYM_CONST
7911 # define LT_DLSYM_CONST const
7919 # Now generate the symbol file.
7920 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7922 cat <<_LT_EOF >> conftest.$ac_ext
7924 /* The mapping between symbol names and symbols. */
7925 LT_DLSYM_CONST struct {
7929 lt__PROGRAM__LTX_preloaded_symbols[] =
7931 { "@PROGRAM@", (void *) 0 },
7933 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7934 cat <<\_LT_EOF >> conftest.$ac_ext
7938 /* This works around a problem in FreeBSD linker */
7939 #ifdef FREEBSD_WORKAROUND
7940 static const void *lt_preloaded_setup() {
7941 return lt__PROGRAM__LTX_preloaded_symbols;
7949 # Now try linking the two files.
7950 mv conftest.$ac_objext conftstm.$ac_objext
7951 lt_globsym_save_LIBS=$LIBS
7952 lt_globsym_save_CFLAGS=$CFLAGS
7953 LIBS="conftstm.$ac_objext"
7954 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7955 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7956 (eval $ac_link) 2>&5
7958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7959 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7962 LIBS=$lt_globsym_save_LIBS
7963 CFLAGS=$lt_globsym_save_CFLAGS
7965 echo "cannot find nm_test_func in $nlist" >&5
7968 echo "cannot find nm_test_var in $nlist" >&5
7971 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7974 echo "$progname: failed program was:" >&5
7975 cat conftest.$ac_ext >&5
7977 rm -rf conftest* conftst*
7979 # Do not use the global_symbol_pipe unless it works.
7980 if test "$pipe_works" = yes; then
7983 lt_cv_sys_global_symbol_pipe=
7989 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7990 lt_cv_sys_global_symbol_to_cdecl=
7992 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7994 $as_echo "failed" >&6; }
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7997 $as_echo "ok" >&6; }
8000 # Response file support.
8001 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8002 nm_file_list_spec='@'
8003 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8004 nm_file_list_spec='@'
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8034 $as_echo_n "checking for sysroot... " >&6; }
8036 # Check whether --with-sysroot was given.
8037 if test "${with_sysroot+set}" = set; then :
8038 withval=$with_sysroot;
8045 case ${with_sysroot} in #(
8047 if test "$GCC" = yes; then
8048 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8052 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8058 $as_echo "${with_sysroot}" >&6; }
8059 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8064 $as_echo "${lt_sysroot:-no}" >&6; }
8070 # Check whether --enable-libtool-lock was given.
8071 if test "${enable_libtool_lock+set}" = set; then :
8072 enableval=$enable_libtool_lock;
8075 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8077 # Some flags need to be propagated to the compiler or linker for good
8081 # Find out which ABI we are using.
8082 echo 'int i;' > conftest.$ac_ext
8083 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8084 (eval $ac_compile) 2>&5
8086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8087 test $ac_status = 0; }; then
8088 case `/usr/bin/file conftest.$ac_objext` in
8100 # Find out which ABI we are using.
8101 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8102 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8103 (eval $ac_compile) 2>&5
8105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8106 test $ac_status = 0; }; then
8107 if test "$lt_cv_prog_gnu_ld" = yes; then
8108 case `/usr/bin/file conftest.$ac_objext` in
8110 LD="${LD-ld} -melf32bsmip"
8113 LD="${LD-ld} -melf32bmipn32"
8116 LD="${LD-ld} -melf64bmip"
8120 case `/usr/bin/file conftest.$ac_objext` in
8136 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8137 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8138 # Find out which ABI we are using.
8139 echo 'int i;' > conftest.$ac_ext
8140 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8141 (eval $ac_compile) 2>&5
8143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8144 test $ac_status = 0; }; then
8145 case `/usr/bin/file conftest.o` in
8148 x86_64-*kfreebsd*-gnu)
8149 LD="${LD-ld} -m elf_i386_fbsd"
8152 LD="${LD-ld} -m elf_i386"
8154 ppc64-*linux*|powerpc64-*linux*)
8155 LD="${LD-ld} -m elf32ppclinux"
8158 LD="${LD-ld} -m elf_s390"
8161 LD="${LD-ld} -m elf32_sparc"
8167 x86_64-*kfreebsd*-gnu)
8168 LD="${LD-ld} -m elf_x86_64_fbsd"
8171 LD="${LD-ld} -m elf_x86_64"
8173 ppc*-*linux*|powerpc*-*linux*)
8174 LD="${LD-ld} -m elf64ppc"
8176 s390*-*linux*|s390*-*tpf*)
8177 LD="${LD-ld} -m elf64_s390"
8180 LD="${LD-ld} -m elf64_sparc"
8190 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8191 SAVE_CFLAGS="$CFLAGS"
8192 CFLAGS="$CFLAGS -belf"
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8194 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8195 if ${lt_cv_cc_needs_belf+:} false; then :
8196 $as_echo_n "(cached) " >&6
8199 ac_cpp='$CPP $CPPFLAGS'
8200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8205 /* end confdefs.h. */
8215 if ac_fn_c_try_link "$LINENO"; then :
8216 lt_cv_cc_needs_belf=yes
8218 lt_cv_cc_needs_belf=no
8220 rm -f core conftest.err conftest.$ac_objext \
8221 conftest$ac_exeext conftest.$ac_ext
8223 ac_cpp='$CPP $CPPFLAGS'
8224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8230 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8231 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8232 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8233 CFLAGS="$SAVE_CFLAGS"
8237 # Find out which ABI we are using.
8238 echo 'int i;' > conftest.$ac_ext
8239 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8240 (eval $ac_compile) 2>&5
8242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8243 test $ac_status = 0; }; then
8244 case `/usr/bin/file conftest.o` in
8246 case $lt_cv_prog_gnu_ld in
8250 LD="${LD-ld} -m elf_x86_64"
8253 LD="${LD-ld} -m elf64_sparc"
8256 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8257 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8262 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8274 need_locks="$enable_libtool_lock"
8276 if test -n "$ac_tool_prefix"; then
8277 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8278 set dummy ${ac_tool_prefix}mt; ac_word=$2
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8280 $as_echo_n "checking for $ac_word... " >&6; }
8281 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8282 $as_echo_n "(cached) " >&6
8284 if test -n "$MANIFEST_TOOL"; then
8285 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8291 test -z "$as_dir" && as_dir=.
8292 for ac_exec_ext in '' $ac_executable_extensions; do
8293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8294 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8304 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8305 if test -n "$MANIFEST_TOOL"; then
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8307 $as_echo "$MANIFEST_TOOL" >&6; }
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8310 $as_echo "no" >&6; }
8315 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8316 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8317 # Extract the first word of "mt", so it can be a program name with args.
8318 set dummy mt; ac_word=$2
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8320 $as_echo_n "checking for $ac_word... " >&6; }
8321 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8322 $as_echo_n "(cached) " >&6
8324 if test -n "$ac_ct_MANIFEST_TOOL"; then
8325 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8331 test -z "$as_dir" && as_dir=.
8332 for ac_exec_ext in '' $ac_executable_extensions; do
8333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8334 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8344 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8345 if test -n "$ac_ct_MANIFEST_TOOL"; then
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8347 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8350 $as_echo "no" >&6; }
8353 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8356 case $cross_compiling:$ac_tool_warned in
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8360 ac_tool_warned=yes ;;
8362 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8365 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8368 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8370 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8371 if ${lt_cv_path_mainfest_tool+:} false; then :
8372 $as_echo_n "(cached) " >&6
8374 lt_cv_path_mainfest_tool=no
8375 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8376 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8377 cat conftest.err >&5
8378 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8379 lt_cv_path_mainfest_tool=yes
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8384 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8385 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8395 rhapsody* | darwin*)
8396 if test -n "$ac_tool_prefix"; then
8397 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8398 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8400 $as_echo_n "checking for $ac_word... " >&6; }
8401 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8402 $as_echo_n "(cached) " >&6
8404 if test -n "$DSYMUTIL"; then
8405 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8411 test -z "$as_dir" && as_dir=.
8412 for ac_exec_ext in '' $ac_executable_extensions; do
8413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8414 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8424 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8425 if test -n "$DSYMUTIL"; then
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8427 $as_echo "$DSYMUTIL" >&6; }
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8430 $as_echo "no" >&6; }
8435 if test -z "$ac_cv_prog_DSYMUTIL"; then
8436 ac_ct_DSYMUTIL=$DSYMUTIL
8437 # Extract the first word of "dsymutil", so it can be a program name with args.
8438 set dummy dsymutil; ac_word=$2
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8440 $as_echo_n "checking for $ac_word... " >&6; }
8441 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8442 $as_echo_n "(cached) " >&6
8444 if test -n "$ac_ct_DSYMUTIL"; then
8445 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8451 test -z "$as_dir" && as_dir=.
8452 for ac_exec_ext in '' $ac_executable_extensions; do
8453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8454 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8464 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8465 if test -n "$ac_ct_DSYMUTIL"; then
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8467 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8470 $as_echo "no" >&6; }
8473 if test "x$ac_ct_DSYMUTIL" = x; then
8476 case $cross_compiling:$ac_tool_warned in
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8480 ac_tool_warned=yes ;;
8482 DSYMUTIL=$ac_ct_DSYMUTIL
8485 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8488 if test -n "$ac_tool_prefix"; then
8489 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8490 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8492 $as_echo_n "checking for $ac_word... " >&6; }
8493 if ${ac_cv_prog_NMEDIT+:} false; then :
8494 $as_echo_n "(cached) " >&6
8496 if test -n "$NMEDIT"; then
8497 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8503 test -z "$as_dir" && as_dir=.
8504 for ac_exec_ext in '' $ac_executable_extensions; do
8505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8506 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8516 NMEDIT=$ac_cv_prog_NMEDIT
8517 if test -n "$NMEDIT"; then
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8519 $as_echo "$NMEDIT" >&6; }
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8522 $as_echo "no" >&6; }
8527 if test -z "$ac_cv_prog_NMEDIT"; then
8528 ac_ct_NMEDIT=$NMEDIT
8529 # Extract the first word of "nmedit", so it can be a program name with args.
8530 set dummy nmedit; ac_word=$2
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8532 $as_echo_n "checking for $ac_word... " >&6; }
8533 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8534 $as_echo_n "(cached) " >&6
8536 if test -n "$ac_ct_NMEDIT"; then
8537 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8543 test -z "$as_dir" && as_dir=.
8544 for ac_exec_ext in '' $ac_executable_extensions; do
8545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8546 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8556 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8557 if test -n "$ac_ct_NMEDIT"; then
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8559 $as_echo "$ac_ct_NMEDIT" >&6; }
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8562 $as_echo "no" >&6; }
8565 if test "x$ac_ct_NMEDIT" = x; then
8568 case $cross_compiling:$ac_tool_warned in
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8572 ac_tool_warned=yes ;;
8574 NMEDIT=$ac_ct_NMEDIT
8577 NMEDIT="$ac_cv_prog_NMEDIT"
8580 if test -n "$ac_tool_prefix"; then
8581 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8582 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8584 $as_echo_n "checking for $ac_word... " >&6; }
8585 if ${ac_cv_prog_LIPO+:} false; then :
8586 $as_echo_n "(cached) " >&6
8588 if test -n "$LIPO"; then
8589 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8595 test -z "$as_dir" && as_dir=.
8596 for ac_exec_ext in '' $ac_executable_extensions; do
8597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8598 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8608 LIPO=$ac_cv_prog_LIPO
8609 if test -n "$LIPO"; then
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8611 $as_echo "$LIPO" >&6; }
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8614 $as_echo "no" >&6; }
8619 if test -z "$ac_cv_prog_LIPO"; then
8621 # Extract the first word of "lipo", so it can be a program name with args.
8622 set dummy lipo; ac_word=$2
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8624 $as_echo_n "checking for $ac_word... " >&6; }
8625 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8626 $as_echo_n "(cached) " >&6
8628 if test -n "$ac_ct_LIPO"; then
8629 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8635 test -z "$as_dir" && as_dir=.
8636 for ac_exec_ext in '' $ac_executable_extensions; do
8637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8638 ac_cv_prog_ac_ct_LIPO="lipo"
8639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8648 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8649 if test -n "$ac_ct_LIPO"; then
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8651 $as_echo "$ac_ct_LIPO" >&6; }
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8654 $as_echo "no" >&6; }
8657 if test "x$ac_ct_LIPO" = x; then
8660 case $cross_compiling:$ac_tool_warned in
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8664 ac_tool_warned=yes ;;
8669 LIPO="$ac_cv_prog_LIPO"
8672 if test -n "$ac_tool_prefix"; then
8673 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8674 set dummy ${ac_tool_prefix}otool; ac_word=$2
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8676 $as_echo_n "checking for $ac_word... " >&6; }
8677 if ${ac_cv_prog_OTOOL+:} false; then :
8678 $as_echo_n "(cached) " >&6
8680 if test -n "$OTOOL"; then
8681 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8687 test -z "$as_dir" && as_dir=.
8688 for ac_exec_ext in '' $ac_executable_extensions; do
8689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8690 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8700 OTOOL=$ac_cv_prog_OTOOL
8701 if test -n "$OTOOL"; then
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8703 $as_echo "$OTOOL" >&6; }
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8706 $as_echo "no" >&6; }
8711 if test -z "$ac_cv_prog_OTOOL"; then
8713 # Extract the first word of "otool", so it can be a program name with args.
8714 set dummy otool; ac_word=$2
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8716 $as_echo_n "checking for $ac_word... " >&6; }
8717 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8718 $as_echo_n "(cached) " >&6
8720 if test -n "$ac_ct_OTOOL"; then
8721 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8727 test -z "$as_dir" && as_dir=.
8728 for ac_exec_ext in '' $ac_executable_extensions; do
8729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8730 ac_cv_prog_ac_ct_OTOOL="otool"
8731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8740 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8741 if test -n "$ac_ct_OTOOL"; then
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8743 $as_echo "$ac_ct_OTOOL" >&6; }
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8746 $as_echo "no" >&6; }
8749 if test "x$ac_ct_OTOOL" = x; then
8752 case $cross_compiling:$ac_tool_warned in
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8756 ac_tool_warned=yes ;;
8761 OTOOL="$ac_cv_prog_OTOOL"
8764 if test -n "$ac_tool_prefix"; then
8765 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8766 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8768 $as_echo_n "checking for $ac_word... " >&6; }
8769 if ${ac_cv_prog_OTOOL64+:} false; then :
8770 $as_echo_n "(cached) " >&6
8772 if test -n "$OTOOL64"; then
8773 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8779 test -z "$as_dir" && as_dir=.
8780 for ac_exec_ext in '' $ac_executable_extensions; do
8781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8782 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8792 OTOOL64=$ac_cv_prog_OTOOL64
8793 if test -n "$OTOOL64"; then
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8795 $as_echo "$OTOOL64" >&6; }
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8798 $as_echo "no" >&6; }
8803 if test -z "$ac_cv_prog_OTOOL64"; then
8804 ac_ct_OTOOL64=$OTOOL64
8805 # Extract the first word of "otool64", so it can be a program name with args.
8806 set dummy otool64; ac_word=$2
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8808 $as_echo_n "checking for $ac_word... " >&6; }
8809 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8810 $as_echo_n "(cached) " >&6
8812 if test -n "$ac_ct_OTOOL64"; then
8813 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8819 test -z "$as_dir" && as_dir=.
8820 for ac_exec_ext in '' $ac_executable_extensions; do
8821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8822 ac_cv_prog_ac_ct_OTOOL64="otool64"
8823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8832 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8833 if test -n "$ac_ct_OTOOL64"; then
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8835 $as_echo "$ac_ct_OTOOL64" >&6; }
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8838 $as_echo "no" >&6; }
8841 if test "x$ac_ct_OTOOL64" = x; then
8844 case $cross_compiling:$ac_tool_warned in
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8848 ac_tool_warned=yes ;;
8850 OTOOL64=$ac_ct_OTOOL64
8853 OTOOL64="$ac_cv_prog_OTOOL64"
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8883 $as_echo_n "checking for -single_module linker flag... " >&6; }
8884 if ${lt_cv_apple_cc_single_mod+:} false; then :
8885 $as_echo_n "(cached) " >&6
8887 lt_cv_apple_cc_single_mod=no
8888 if test -z "${LT_MULTI_MODULE}"; then
8889 # By default we will add the -single_module flag. You can override
8890 # by either setting the environment variable LT_MULTI_MODULE
8891 # non-empty at configure time, or by adding -multi_module to the
8893 rm -rf libconftest.dylib*
8894 echo "int foo(void){return 1;}" > conftest.c
8895 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8896 -dynamiclib -Wl,-single_module conftest.c" >&5
8897 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8898 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8900 # If there is a non-empty error log, and "single_module"
8901 # appears in it, assume the flag caused a linker warning
8902 if test -s conftest.err && $GREP single_module conftest.err; then
8903 cat conftest.err >&5
8904 # Otherwise, if the output was created with a 0 exit code from
8905 # the compiler, it worked.
8906 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8907 lt_cv_apple_cc_single_mod=yes
8909 cat conftest.err >&5
8911 rm -rf libconftest.dylib*
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8916 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8919 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8920 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8921 $as_echo_n "(cached) " >&6
8923 lt_cv_ld_exported_symbols_list=no
8924 save_LDFLAGS=$LDFLAGS
8925 echo "_main" > conftest.sym
8926 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8928 /* end confdefs.h. */
8938 if ac_fn_c_try_link "$LINENO"; then :
8939 lt_cv_ld_exported_symbols_list=yes
8941 lt_cv_ld_exported_symbols_list=no
8943 rm -f core conftest.err conftest.$ac_objext \
8944 conftest$ac_exeext conftest.$ac_ext
8945 LDFLAGS="$save_LDFLAGS"
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8949 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8952 $as_echo_n "checking for -force_load linker flag... " >&6; }
8953 if ${lt_cv_ld_force_load+:} false; then :
8954 $as_echo_n "(cached) " >&6
8956 lt_cv_ld_force_load=no
8957 cat > conftest.c << _LT_EOF
8958 int forced_loaded() { return 2;}
8960 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8961 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8962 echo "$AR cru libconftest.a conftest.o" >&5
8963 $AR cru libconftest.a conftest.o 2>&5
8964 echo "$RANLIB libconftest.a" >&5
8965 $RANLIB libconftest.a 2>&5
8966 cat > conftest.c << _LT_EOF
8967 int main() { return 0;}
8969 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8970 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8972 if test -s conftest.err && $GREP force_load conftest.err; then
8973 cat conftest.err >&5
8974 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8975 lt_cv_ld_force_load=yes
8977 cat conftest.err >&5
8979 rm -f conftest.err libconftest.a conftest conftest.c
8980 rm -rf conftest.dSYM
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8984 $as_echo "$lt_cv_ld_force_load" >&6; }
8986 rhapsody* | darwin1.[012])
8987 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8989 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8990 darwin*) # darwin 5.x on
8991 # if running on 10.5 or later, the deployment target defaults
8992 # to the OS version, if on x86, and 10.4, the deployment
8993 # target defaults to 10.4. Don't you love it?
8994 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8995 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8996 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8998 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9000 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9004 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9005 _lt_dar_single_mod='$single_module'
9007 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9008 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9010 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9012 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9013 _lt_dsymutil='~$DSYMUTIL $lib || :'
9020 for ac_header in dlfcn.h
9022 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9024 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9025 cat >>confdefs.h <<_ACEOF
9026 #define HAVE_DLFCN_H 1
9045 # Check whether --enable-shared was given.
9046 if test "${enable_shared+set}" = set; then :
9047 enableval=$enable_shared; p=${PACKAGE-default}
9049 yes) enable_shared=yes ;;
9050 no) enable_shared=no ;;
9053 # Look at the argument we got. We use all the common list separators.
9054 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9055 for pkg in $enableval; do
9057 if test "X$pkg" = "X$p"; then
9076 # Check whether --enable-static was given.
9077 if test "${enable_static+set}" = set; then :
9078 enableval=$enable_static; p=${PACKAGE-default}
9080 yes) enable_static=yes ;;
9081 no) enable_static=no ;;
9084 # Look at the argument we got. We use all the common list separators.
9085 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9086 for pkg in $enableval; do
9088 if test "X$pkg" = "X$p"; then
9108 # Check whether --with-pic was given.
9109 if test "${with_pic+set}" = set; then :
9110 withval=$with_pic; lt_p=${PACKAGE-default}
9112 yes|no) pic_mode=$withval ;;
9115 # Look at the argument we got. We use all the common list separators.
9116 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9117 for lt_pkg in $withval; do
9119 if test "X$lt_pkg" = "X$lt_p"; then
9131 test -z "$pic_mode" && pic_mode=default
9139 # Check whether --enable-fast-install was given.
9140 if test "${enable_fast_install+set}" = set; then :
9141 enableval=$enable_fast_install; p=${PACKAGE-default}
9143 yes) enable_fast_install=yes ;;
9144 no) enable_fast_install=no ;;
9146 enable_fast_install=no
9147 # Look at the argument we got. We use all the common list separators.
9148 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9149 for pkg in $enableval; do
9151 if test "X$pkg" = "X$p"; then
9152 enable_fast_install=yes
9159 enable_fast_install=yes
9172 # This can be used to rebuild libtool when needed
9173 LIBTOOL_DEPS="$ltmain"
9175 # Always use our own libtool.
9176 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9207 test -z "$LN_S" && LN_S="ln -s"
9222 if test -n "${ZSH_VERSION+set}" ; then
9223 setopt NO_GLOB_SUBST
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9227 $as_echo_n "checking for objdir... " >&6; }
9228 if ${lt_cv_objdir+:} false; then :
9229 $as_echo_n "(cached) " >&6
9231 rm -f .libs 2>/dev/null
9232 mkdir .libs 2>/dev/null
9233 if test -d .libs; then
9236 # MS-DOS does not allow filenames that begin with a dot.
9239 rmdir .libs 2>/dev/null
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9242 $as_echo "$lt_cv_objdir" >&6; }
9243 objdir=$lt_cv_objdir
9249 cat >>confdefs.h <<_ACEOF
9250 #define LT_OBJDIR "$lt_cv_objdir/"
9258 # AIX sometimes has problems with the GCC collect2 program. For some
9259 # reason, if we set the COLLECT_NAMES environment variable, the problems
9260 # vanish in a puff of smoke.
9261 if test "X${COLLECT_NAMES+set}" != Xset; then
9263 export COLLECT_NAMES
9270 can_build_shared=yes
9272 # All known linkers require a `.a' archive for static linking (except MSVC,
9273 # which needs '.lib').
9276 with_gnu_ld="$lt_cv_prog_gnu_ld"
9279 old_CFLAGS="$CFLAGS"
9281 # Set sane defaults for various variables
9282 test -z "$CC" && CC=cc
9283 test -z "$LTCC" && LTCC=$CC
9284 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9285 test -z "$LD" && LD=ld
9286 test -z "$ac_objext" && ac_objext=o
9288 for cc_temp in $compiler""; do
9290 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9291 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9296 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9299 # Only perform the check for file, if the check method requires it
9300 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9301 case $deplibs_check_method in
9303 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9305 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9306 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9307 $as_echo_n "(cached) " >&6
9311 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9314 lt_save_MAGIC_CMD="$MAGIC_CMD"
9315 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9316 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9317 for ac_dir in $ac_dummy; do
9319 test -z "$ac_dir" && ac_dir=.
9320 if test -f $ac_dir/${ac_tool_prefix}file; then
9321 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9322 if test -n "$file_magic_test_file"; then
9323 case $deplibs_check_method in
9325 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9326 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9327 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9328 $EGREP "$file_magic_regex" > /dev/null; then
9333 *** Warning: the command libtool uses to detect shared libraries,
9334 *** $file_magic_cmd, produces output that libtool cannot recognize.
9335 *** The result is that libtool may fail to recognize shared libraries
9336 *** as such. This will affect the creation of libtool libraries that
9337 *** depend on shared libraries, but programs linked with such libtool
9338 *** libraries will work regardless of this problem. Nevertheless, you
9339 *** may want to report the problem to your system manager and/or to
9340 *** bug-libtool@gnu.org
9350 MAGIC_CMD="$lt_save_MAGIC_CMD"
9355 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9356 if test -n "$MAGIC_CMD"; then
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9358 $as_echo "$MAGIC_CMD" >&6; }
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9361 $as_echo "no" >&6; }
9368 if test -z "$lt_cv_path_MAGIC_CMD"; then
9369 if test -n "$ac_tool_prefix"; then
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9371 $as_echo_n "checking for file... " >&6; }
9372 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9373 $as_echo_n "(cached) " >&6
9377 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9380 lt_save_MAGIC_CMD="$MAGIC_CMD"
9381 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9382 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9383 for ac_dir in $ac_dummy; do
9385 test -z "$ac_dir" && ac_dir=.
9386 if test -f $ac_dir/file; then
9387 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9388 if test -n "$file_magic_test_file"; then
9389 case $deplibs_check_method in
9391 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9392 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9393 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9394 $EGREP "$file_magic_regex" > /dev/null; then
9399 *** Warning: the command libtool uses to detect shared libraries,
9400 *** $file_magic_cmd, produces output that libtool cannot recognize.
9401 *** The result is that libtool may fail to recognize shared libraries
9402 *** as such. This will affect the creation of libtool libraries that
9403 *** depend on shared libraries, but programs linked with such libtool
9404 *** libraries will work regardless of this problem. Nevertheless, you
9405 *** may want to report the problem to your system manager and/or to
9406 *** bug-libtool@gnu.org
9416 MAGIC_CMD="$lt_save_MAGIC_CMD"
9421 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9422 if test -n "$MAGIC_CMD"; then
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9424 $as_echo "$MAGIC_CMD" >&6; }
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9427 $as_echo "no" >&6; }
9440 # Use C for the default configuration in the libtool script
9444 ac_cpp='$CPP $CPPFLAGS'
9445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9450 # Source file extension for C test sources.
9453 # Object file extension for compiled C test sources.
9457 # Code to be used in simple compile tests
9458 lt_simple_compile_test_code="int some_variable = 0;"
9460 # Code to be used in simple link tests
9461 lt_simple_link_test_code='int main(){return(0);}'
9469 # If no C compiler was specified, use CC.
9472 # If no C compiler flags were specified, use CFLAGS.
9473 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9475 # Allow CC to be a program name with arguments.
9478 # Save the default compiler, since it gets overwritten when the other
9479 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9480 compiler_DEFAULT=$CC
9482 # save warnings/boilerplate of simple test code
9483 ac_outfile=conftest.$ac_objext
9484 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9485 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9486 _lt_compiler_boilerplate=`cat conftest.err`
9489 ac_outfile=conftest.$ac_objext
9490 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9491 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9492 _lt_linker_boilerplate=`cat conftest.err`
9496 if test -n "$compiler"; then
9498 lt_prog_compiler_no_builtin_flag=
9500 if test "$GCC" = yes; then
9501 case $cc_basename in
9503 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9505 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9509 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9510 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9511 $as_echo_n "(cached) " >&6
9513 lt_cv_prog_compiler_rtti_exceptions=no
9514 ac_outfile=conftest.$ac_objext
9515 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9516 lt_compiler_flag="-fno-rtti -fno-exceptions"
9517 # Insert the option either (1) after the last *FLAGS variable, or
9518 # (2) before a word containing "conftest.", or (3) at the end.
9519 # Note that $ac_compile itself does not contain backslashes and begins
9520 # with a dollar sign (not a hyphen), so the echo should work correctly.
9521 # The option is referenced via a variable to avoid confusing sed.
9522 lt_compile=`echo "$ac_compile" | $SED \
9523 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9524 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9525 -e 's:$: $lt_compiler_flag:'`
9526 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9527 (eval "$lt_compile" 2>conftest.err)
9529 cat conftest.err >&5
9530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9531 if (exit $ac_status) && test -s "$ac_outfile"; then
9532 # The compiler can only warn and ignore the option if not recognized
9533 # So say no if there are warnings other than the usual output.
9534 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9535 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9536 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9537 lt_cv_prog_compiler_rtti_exceptions=yes
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9544 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9546 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9547 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9559 lt_prog_compiler_wl=
9560 lt_prog_compiler_pic=
9561 lt_prog_compiler_static=
9564 if test "$GCC" = yes; then
9565 lt_prog_compiler_wl='-Wl,'
9566 lt_prog_compiler_static='-static'
9570 # All AIX code is PIC.
9571 if test "$host_cpu" = ia64; then
9572 # AIX 5 now supports IA64 processor
9573 lt_prog_compiler_static='-Bstatic'
9580 # see comment about AmigaOS4 .so support
9581 lt_prog_compiler_pic='-fPIC'
9584 # FIXME: we need at least 68020 code to build shared libraries, but
9585 # adding the `-m68020' flag to GCC prevents building anything better,
9587 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9592 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9593 # PIC is the default for these OSes.
9596 mingw* | cygwin* | pw32* | os2* | cegcc*)
9597 # This hack is so that the source file can tell whether it is being
9598 # built for inclusion in a dll (and should export symbols for example).
9599 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9600 # (--disable-auto-import) libraries
9601 lt_prog_compiler_pic='-DDLL_EXPORT'
9604 darwin* | rhapsody*)
9605 # PIC is the default on this platform
9606 # Common symbols not allowed in MH_DYLIB files
9607 lt_prog_compiler_pic='-fno-common'
9611 # PIC is the default for Haiku.
9612 # The "-static" flag exists, but is broken.
9613 lt_prog_compiler_static=
9617 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9618 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9619 # sets the default TLS model and affects inlining.
9625 lt_prog_compiler_pic='-fPIC'
9631 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9632 # Instead, we relocate shared libraries at runtime.
9636 # Just because we use GCC doesn't mean we suddenly get shared libraries
9637 # on systems that don't support them.
9638 lt_prog_compiler_can_build_shared=no
9643 # QNX uses GNU C++, but need to define -shared option too, otherwise
9645 lt_prog_compiler_pic='-fPIC -shared'
9649 if test -d /usr/nec; then
9650 lt_prog_compiler_pic=-Kconform_pic
9655 lt_prog_compiler_pic='-fPIC'
9659 case $cc_basename in
9660 nvcc*) # Cuda Compiler Driver 2.2
9661 lt_prog_compiler_wl='-Xlinker '
9662 if test -n "$lt_prog_compiler_pic"; then
9663 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9668 # PORTME Check for flag to pass linker flags through the system compiler.
9671 lt_prog_compiler_wl='-Wl,'
9672 if test "$host_cpu" = ia64; then
9673 # AIX 5 now supports IA64 processor
9674 lt_prog_compiler_static='-Bstatic'
9676 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9680 mingw* | cygwin* | pw32* | os2* | cegcc*)
9681 # This hack is so that the source file can tell whether it is being
9682 # built for inclusion in a dll (and should export symbols for example).
9683 lt_prog_compiler_pic='-DDLL_EXPORT'
9686 hpux9* | hpux10* | hpux11*)
9687 lt_prog_compiler_wl='-Wl,'
9688 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9695 lt_prog_compiler_pic='+Z'
9698 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9699 lt_prog_compiler_static='${wl}-a ${wl}archive'
9702 irix5* | irix6* | nonstopux*)
9703 lt_prog_compiler_wl='-Wl,'
9704 # PIC (with -KPIC) is the default.
9705 lt_prog_compiler_static='-non_shared'
9708 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9709 case $cc_basename in
9710 # old Intel for x86_64 which still supported -KPIC.
9712 lt_prog_compiler_wl='-Wl,'
9713 lt_prog_compiler_pic='-KPIC'
9714 lt_prog_compiler_static='-static'
9716 # icc used to be incompatible with GCC.
9717 # ICC 10 doesn't accept -KPIC any more.
9719 lt_prog_compiler_wl='-Wl,'
9720 lt_prog_compiler_pic='-fPIC'
9721 lt_prog_compiler_static='-static'
9723 # Lahey Fortran 8.1.
9725 lt_prog_compiler_wl='-Wl,'
9726 lt_prog_compiler_pic='--shared'
9727 lt_prog_compiler_static='--static'
9730 # NAG Fortran compiler
9731 lt_prog_compiler_wl='-Wl,-Wl,,'
9732 lt_prog_compiler_pic='-PIC'
9733 lt_prog_compiler_static='-Bstatic'
9735 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9736 # Portland Group compilers (*not* the Pentium gcc compiler,
9737 # which looks to be a dead project)
9738 lt_prog_compiler_wl='-Wl,'
9739 lt_prog_compiler_pic='-fpic'
9740 lt_prog_compiler_static='-Bstatic'
9743 lt_prog_compiler_wl='-Wl,'
9744 # All Alpha code is PIC.
9745 lt_prog_compiler_static='-non_shared'
9747 xl* | bgxl* | bgf* | mpixl*)
9748 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9749 lt_prog_compiler_wl='-Wl,'
9750 lt_prog_compiler_pic='-qpic'
9751 lt_prog_compiler_static='-qstaticlink'
9754 case `$CC -V 2>&1 | sed 5q` in
9755 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9756 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9757 lt_prog_compiler_pic='-KPIC'
9758 lt_prog_compiler_static='-Bstatic'
9759 lt_prog_compiler_wl=''
9761 *Sun\ F* | *Sun*Fortran*)
9762 lt_prog_compiler_pic='-KPIC'
9763 lt_prog_compiler_static='-Bstatic'
9764 lt_prog_compiler_wl='-Qoption ld '
9768 lt_prog_compiler_pic='-KPIC'
9769 lt_prog_compiler_static='-Bstatic'
9770 lt_prog_compiler_wl='-Wl,'
9772 *Intel*\ [CF]*Compiler*)
9773 lt_prog_compiler_wl='-Wl,'
9774 lt_prog_compiler_pic='-fPIC'
9775 lt_prog_compiler_static='-static'
9778 lt_prog_compiler_wl='-Wl,'
9779 lt_prog_compiler_pic='-fpic'
9780 lt_prog_compiler_static='-Bstatic'
9788 lt_prog_compiler_pic='-KPIC'
9789 lt_prog_compiler_static='-Bstatic'
9793 # QNX uses GNU C++, but need to define -shared option too, otherwise
9795 lt_prog_compiler_pic='-fPIC -shared'
9798 osf3* | osf4* | osf5*)
9799 lt_prog_compiler_wl='-Wl,'
9800 # All OSF/1 code is PIC.
9801 lt_prog_compiler_static='-non_shared'
9805 lt_prog_compiler_static='-non_shared'
9809 lt_prog_compiler_pic='-KPIC'
9810 lt_prog_compiler_static='-Bstatic'
9811 case $cc_basename in
9812 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9813 lt_prog_compiler_wl='-Qoption ld ';;
9815 lt_prog_compiler_wl='-Wl,';;
9820 lt_prog_compiler_wl='-Qoption ld '
9821 lt_prog_compiler_pic='-PIC'
9822 lt_prog_compiler_static='-Bstatic'
9825 sysv4 | sysv4.2uw2* | sysv4.3*)
9826 lt_prog_compiler_wl='-Wl,'
9827 lt_prog_compiler_pic='-KPIC'
9828 lt_prog_compiler_static='-Bstatic'
9832 if test -d /usr/nec ;then
9833 lt_prog_compiler_pic='-Kconform_pic'
9834 lt_prog_compiler_static='-Bstatic'
9838 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9839 lt_prog_compiler_wl='-Wl,'
9840 lt_prog_compiler_pic='-KPIC'
9841 lt_prog_compiler_static='-Bstatic'
9845 lt_prog_compiler_wl='-Wl,'
9846 lt_prog_compiler_can_build_shared=no
9850 lt_prog_compiler_pic='-pic'
9851 lt_prog_compiler_static='-Bstatic'
9855 lt_prog_compiler_can_build_shared=no
9861 # For platforms which do not support PIC, -DPIC is meaningless:
9863 lt_prog_compiler_pic=
9866 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9871 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9872 if ${lt_cv_prog_compiler_pic+:} false; then :
9873 $as_echo_n "(cached) " >&6
9875 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9878 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9879 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9882 # Check to make sure the PIC flag actually works.
9884 if test -n "$lt_prog_compiler_pic"; then
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9886 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9887 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9888 $as_echo_n "(cached) " >&6
9890 lt_cv_prog_compiler_pic_works=no
9891 ac_outfile=conftest.$ac_objext
9892 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9893 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9894 # Insert the option either (1) after the last *FLAGS variable, or
9895 # (2) before a word containing "conftest.", or (3) at the end.
9896 # Note that $ac_compile itself does not contain backslashes and begins
9897 # with a dollar sign (not a hyphen), so the echo should work correctly.
9898 # The option is referenced via a variable to avoid confusing sed.
9899 lt_compile=`echo "$ac_compile" | $SED \
9900 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9901 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9902 -e 's:$: $lt_compiler_flag:'`
9903 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9904 (eval "$lt_compile" 2>conftest.err)
9906 cat conftest.err >&5
9907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908 if (exit $ac_status) && test -s "$ac_outfile"; then
9909 # The compiler can only warn and ignore the option if not recognized
9910 # So say no if there are warnings other than the usual output.
9911 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9912 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9913 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9914 lt_cv_prog_compiler_pic_works=yes
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9921 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9923 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9924 case $lt_prog_compiler_pic in
9926 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9929 lt_prog_compiler_pic=
9930 lt_prog_compiler_can_build_shared=no
9946 # Check to make sure the static flag actually works.
9948 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9950 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9951 if ${lt_cv_prog_compiler_static_works+:} false; then :
9952 $as_echo_n "(cached) " >&6
9954 lt_cv_prog_compiler_static_works=no
9955 save_LDFLAGS="$LDFLAGS"
9956 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9957 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9958 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9959 # The linker can only warn and ignore the option if not recognized
9960 # So say no if there are warnings
9961 if test -s conftest.err; then
9962 # Append any errors to the config.log.
9963 cat conftest.err 1>&5
9964 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9965 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9966 if diff conftest.exp conftest.er2 >/dev/null; then
9967 lt_cv_prog_compiler_static_works=yes
9970 lt_cv_prog_compiler_static_works=yes
9974 LDFLAGS="$save_LDFLAGS"
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9978 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9980 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9983 lt_prog_compiler_static=
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9993 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9994 if ${lt_cv_prog_compiler_c_o+:} false; then :
9995 $as_echo_n "(cached) " >&6
9997 lt_cv_prog_compiler_c_o=no
9998 $RM -r conftest 2>/dev/null
10002 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10004 lt_compiler_flag="-o out/conftest2.$ac_objext"
10005 # Insert the option either (1) after the last *FLAGS variable, or
10006 # (2) before a word containing "conftest.", or (3) at the end.
10007 # Note that $ac_compile itself does not contain backslashes and begins
10008 # with a dollar sign (not a hyphen), so the echo should work correctly.
10009 lt_compile=`echo "$ac_compile" | $SED \
10010 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10011 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10012 -e 's:$: $lt_compiler_flag:'`
10013 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10014 (eval "$lt_compile" 2>out/conftest.err)
10016 cat out/conftest.err >&5
10017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10020 # The compiler can only warn and ignore the option if not recognized
10021 # So say no if there are warnings
10022 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10023 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10024 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10025 lt_cv_prog_compiler_c_o=yes
10030 # SGI C++ compiler will create directory out/ii_files/ for
10031 # template instantiation
10032 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10033 $RM out/* && rmdir out
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10040 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10048 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10049 if ${lt_cv_prog_compiler_c_o+:} false; then :
10050 $as_echo_n "(cached) " >&6
10052 lt_cv_prog_compiler_c_o=no
10053 $RM -r conftest 2>/dev/null
10057 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10059 lt_compiler_flag="-o out/conftest2.$ac_objext"
10060 # Insert the option either (1) after the last *FLAGS variable, or
10061 # (2) before a word containing "conftest.", or (3) at the end.
10062 # Note that $ac_compile itself does not contain backslashes and begins
10063 # with a dollar sign (not a hyphen), so the echo should work correctly.
10064 lt_compile=`echo "$ac_compile" | $SED \
10065 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10066 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10067 -e 's:$: $lt_compiler_flag:'`
10068 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10069 (eval "$lt_compile" 2>out/conftest.err)
10071 cat out/conftest.err >&5
10072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10075 # The compiler can only warn and ignore the option if not recognized
10076 # So say no if there are warnings
10077 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10078 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10079 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10080 lt_cv_prog_compiler_c_o=yes
10085 # SGI C++ compiler will create directory out/ii_files/ for
10086 # template instantiation
10087 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10088 $RM out/* && rmdir out
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10095 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10100 hard_links="nottested"
10101 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10102 # do not overwrite the value of need_locks provided by the user
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10104 $as_echo_n "checking if we can lock with hard links... " >&6; }
10107 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10109 ln conftest.a conftest.b 2>&5 || hard_links=no
10110 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10112 $as_echo "$hard_links" >&6; }
10113 if test "$hard_links" = no; then
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10115 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10128 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10131 allow_undefined_flag=
10132 always_export_symbols=no
10134 archive_expsym_cmds=
10135 compiler_needs_object=no
10136 enable_shared_with_static_runtimes=no
10137 export_dynamic_flag_spec=
10138 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10139 hardcode_automatic=no
10141 hardcode_direct_absolute=no
10142 hardcode_libdir_flag_spec=
10143 hardcode_libdir_separator=
10144 hardcode_minus_L=no
10145 hardcode_shlibpath_var=unsupported
10147 link_all_deplibs=unknown
10149 module_expsym_cmds=
10150 old_archive_from_new_cmds=
10151 old_archive_from_expsyms_cmds=
10152 thread_safe_flag_spec=
10153 whole_archive_flag_spec=
10154 # include_expsyms should be a list of space-separated symbols to be *always*
10155 # included in the symbol list
10157 # exclude_expsyms can be an extended regexp of symbols to exclude
10158 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10159 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10160 # as well as any symbol that contains `d'.
10161 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10162 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10163 # platforms (ab)use it in PIC code, but their linkers get confused if
10164 # the symbol is explicitly referenced. Since portable code cannot
10165 # rely on this symbol name, it's probably fine to never include it in
10166 # preloaded symbol tables.
10167 # Exclude shared library initialization/finalization symbols.
10168 extract_expsyms_cmds=
10171 cygwin* | mingw* | pw32* | cegcc*)
10172 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10173 # When not using gcc, we currently assume that we are using
10174 # Microsoft Visual C++.
10175 if test "$GCC" != yes; then
10180 # we just hope/assume this is gcc and not c89 (= MSVC++)
10190 # On some targets, GNU ld is compatible enough with the native linker
10191 # that we're better off using the native interface for both.
10192 lt_use_gnu_ld_interface=no
10193 if test "$with_gnu_ld" = yes; then
10196 # The AIX port of GNU ld has always aspired to compatibility
10197 # with the native linker. However, as the warning in the GNU ld
10198 # block says, versions before 2.19.5* couldn't really create working
10199 # shared libraries, regardless of the interface used.
10200 case `$LD -v 2>&1` in
10201 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10202 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10203 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10205 lt_use_gnu_ld_interface=yes
10210 lt_use_gnu_ld_interface=yes
10215 if test "$lt_use_gnu_ld_interface" = yes; then
10216 # If archive_cmds runs LD, not CC, wlarc should be empty
10219 # Set some defaults for GNU ld with shared library support. These
10220 # are reset later if shared libraries are not supported. Putting them
10221 # here allows them to be overridden if necessary.
10222 runpath_var=LD_RUN_PATH
10223 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10224 export_dynamic_flag_spec='${wl}--export-dynamic'
10225 # ancient GNU ld didn't support --whole-archive et. al.
10226 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10227 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10229 whole_archive_flag_spec=
10231 supports_anon_versioning=no
10232 case `$LD -v 2>&1` in
10233 *GNU\ gold*) supports_anon_versioning=yes ;;
10234 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10235 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10236 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10237 *\ 2.11.*) ;; # other 2.11 versions
10238 *) supports_anon_versioning=yes ;;
10241 # See if GNU ld supports shared libraries.
10244 # On AIX/PPC, the GNU linker is very broken
10245 if test "$host_cpu" != ia64; then
10249 *** Warning: the GNU linker, at least up to release 2.19, is reported
10250 *** to be unable to reliably create shared libraries on AIX.
10251 *** Therefore, libtool is disabling shared libraries support. If you
10252 *** really care for shared libraries, you may want to install binutils
10253 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10254 *** You will then need to restart the configuration process.
10263 # see comment about AmigaOS4 .so support
10264 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10265 archive_expsym_cmds=''
10268 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)'
10269 hardcode_libdir_flag_spec='-L$libdir'
10270 hardcode_minus_L=yes
10276 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10277 allow_undefined_flag=unsupported
10278 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10279 # support --undefined. This deserves some investigation. FIXME
10280 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10286 cygwin* | mingw* | pw32* | cegcc*)
10287 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10288 # as there is no search path for DLLs.
10289 hardcode_libdir_flag_spec='-L$libdir'
10290 export_dynamic_flag_spec='${wl}--export-all-symbols'
10291 allow_undefined_flag=unsupported
10292 always_export_symbols=no
10293 enable_shared_with_static_runtimes=yes
10294 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'
10295 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10297 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10298 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10299 # If the export-symbols file already is a .def file (1st line
10300 # is EXPORTS), use it as is; otherwise, prepend...
10301 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10302 cp $export_symbols $output_objdir/$soname.def;
10304 echo EXPORTS > $output_objdir/$soname.def;
10305 cat $export_symbols >> $output_objdir/$soname.def;
10307 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10314 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10315 link_all_deplibs=yes
10320 hardcode_shlibpath_var=no
10321 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10322 export_dynamic_flag_spec='${wl}-E'
10323 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10324 # Instead, shared libraries are loaded at an image base (0x10000000 by
10325 # default) and relocated if they conflict, which is a slow very memory
10326 # consuming and fragmenting process. To avoid this, we pick a random,
10327 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10328 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10329 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10330 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'
10333 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10335 if test "$host_os" = linux-dietlibc; then
10336 case $cc_basename in
10337 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10340 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10341 && test "$tmp_diet" = no
10343 tmp_addflag=' $pic_flag'
10344 tmp_sharedflag='-shared'
10345 case $cc_basename,$host_cpu in
10346 pgcc*) # Portland Group C compiler
10347 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'
10348 tmp_addflag=' $pic_flag'
10350 pgf77* | pgf90* | pgf95* | pgfortran*)
10351 # Portland Group f77 and f90 compilers
10352 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'
10353 tmp_addflag=' $pic_flag -Mnomain' ;;
10354 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10355 tmp_addflag=' -i_dynamic' ;;
10356 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10357 tmp_addflag=' -i_dynamic -nofor_main' ;;
10358 ifc* | ifort*) # Intel Fortran compiler
10359 tmp_addflag=' -nofor_main' ;;
10360 lf95*) # Lahey Fortran 8.1
10361 whole_archive_flag_spec=
10362 tmp_sharedflag='--shared' ;;
10363 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10364 tmp_sharedflag='-qmkshrobj'
10366 nvcc*) # Cuda Compiler Driver 2.2
10367 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'
10368 compiler_needs_object=yes
10371 case `$CC -V 2>&1 | sed 5q` in
10372 *Sun\ C*) # Sun C 5.9
10373 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'
10374 compiler_needs_object=yes
10375 tmp_sharedflag='-G' ;;
10376 *Sun\ F*) # Sun Fortran 8.3
10377 tmp_sharedflag='-G' ;;
10379 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10381 if test "x$supports_anon_versioning" = xyes; then
10382 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10383 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10384 echo "local: *; };" >> $output_objdir/$libname.ver~
10385 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10388 case $cc_basename in
10389 xlf* | bgf* | bgxlf* | mpixlf*)
10390 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10391 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10392 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10393 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10394 if test "x$supports_anon_versioning" = xyes; then
10395 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10396 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10397 echo "local: *; };" >> $output_objdir/$libname.ver~
10398 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10408 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10409 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10412 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10413 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10418 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10422 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10423 *** create shared libraries on Solaris systems. Therefore, libtool
10424 *** is disabling shared libraries support. We urge you to upgrade GNU
10425 *** binutils to release 2.9.1 or newer. Another option is to modify
10426 *** your PATH or compiler configuration so that the native linker is
10427 *** used, and then restart.
10430 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10431 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10432 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10438 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10439 case `$LD -v 2>&1` in
10440 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10444 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10445 *** reliably create shared libraries on SCO systems. Therefore, libtool
10446 *** is disabling shared libraries support. We urge you to upgrade GNU
10447 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10448 *** your PATH or compiler configuration so that the native linker is
10449 *** used, and then restart.
10454 # For security reasons, it is highly recommended that you always
10455 # use absolute paths for naming shared libraries, and exclude the
10456 # DT_RUNPATH tag from executables and libraries. But doing so
10457 # requires that you compile everything twice, which is a pain.
10458 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10459 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10460 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10461 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10470 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10472 hardcode_direct=yes
10473 hardcode_shlibpath_var=no
10477 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10478 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10479 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10486 if test "$ld_shlibs" = no; then
10488 hardcode_libdir_flag_spec=
10489 export_dynamic_flag_spec=
10490 whole_archive_flag_spec=
10493 # PORTME fill in a description of your system's linker (not GNU ld)
10496 allow_undefined_flag=unsupported
10497 always_export_symbols=yes
10498 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'
10499 # Note: this linker hardcodes the directories in LIBPATH if there
10500 # are no directories specified by -L.
10501 hardcode_minus_L=yes
10502 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10503 # Neither direct hardcoding nor static linking is supported with a
10505 hardcode_direct=unsupported
10510 if test "$host_cpu" = ia64; then
10511 # On IA64, the linker does run time linking by default, so we don't
10512 # have to do anything special.
10513 aix_use_runtimelinking=no
10514 exp_sym_flag='-Bexport'
10517 # If we're using GNU nm, then we don't want the "-C" option.
10518 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10519 # Also, AIX nm treats weak defined symbols like other global
10520 # defined symbols, whereas GNU nm marks them as "W".
10521 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10522 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'
10524 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'
10526 aix_use_runtimelinking=no
10528 # Test if we are trying to use run time linking or normal
10529 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10530 # need to do runtime linking.
10531 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10532 for ld_flag in $LDFLAGS; do
10533 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10534 aix_use_runtimelinking=yes
10541 exp_sym_flag='-bexport'
10542 no_entry_flag='-bnoentry'
10545 # When large executables or shared objects are built, AIX ld can
10546 # have problems creating the table of contents. If linking a library
10547 # or program results in "error TOC overflow" add -mminimal-toc to
10548 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10549 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10552 hardcode_direct=yes
10553 hardcode_direct_absolute=yes
10554 hardcode_libdir_separator=':'
10555 link_all_deplibs=yes
10556 file_list_spec='${wl}-f,'
10558 if test "$GCC" = yes; then
10559 case $host_os in aix4.[012]|aix4.[012].*)
10560 # We only want to do this on AIX 4.2 and lower, the check
10561 # below for broken collect2 doesn't work under 4.3+
10562 collect2name=`${CC} -print-prog-name=collect2`
10563 if test -f "$collect2name" &&
10564 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10566 # We have reworked collect2
10569 # We have old collect2
10570 hardcode_direct=unsupported
10571 # It fails to find uninstalled libraries when the uninstalled
10572 # path is not listed in the libpath. Setting hardcode_minus_L
10573 # to unsupported forces relinking
10574 hardcode_minus_L=yes
10575 hardcode_libdir_flag_spec='-L$libdir'
10576 hardcode_libdir_separator=
10580 shared_flag='-shared'
10581 if test "$aix_use_runtimelinking" = yes; then
10582 shared_flag="$shared_flag "'${wl}-G'
10586 if test "$host_cpu" = ia64; then
10587 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10588 # chokes on -Wl,-G. The following line is correct:
10591 if test "$aix_use_runtimelinking" = yes; then
10592 shared_flag='${wl}-G'
10594 shared_flag='${wl}-bM:SRE'
10599 export_dynamic_flag_spec='${wl}-bexpall'
10600 # It seems that -bexpall does not export symbols beginning with
10601 # underscore (_), so it is better to generate a list of symbols to export.
10602 always_export_symbols=yes
10603 if test "$aix_use_runtimelinking" = yes; then
10604 # Warning - without using the other runtime loading flags (-brtl),
10605 # -berok will link without error, but may produce a broken library.
10606 allow_undefined_flag='-berok'
10607 # Determine the default libpath from the value encoded in an
10608 # empty executable.
10609 if test "${lt_cv_aix_libpath+set}" = set; then
10610 aix_libpath=$lt_cv_aix_libpath
10612 if ${lt_cv_aix_libpath_+:} false; then :
10613 $as_echo_n "(cached) " >&6
10615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10616 /* end confdefs.h. */
10626 if ac_fn_c_try_link "$LINENO"; then :
10628 lt_aix_libpath_sed='
10629 /Import File Strings/,/^$/ {
10631 s/^0 *\([^ ]*\) *$/\1/
10635 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10636 # Check for a 64-bit object if we didn't find anything.
10637 if test -z "$lt_cv_aix_libpath_"; then
10638 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10641 rm -f core conftest.err conftest.$ac_objext \
10642 conftest$ac_exeext conftest.$ac_ext
10643 if test -z "$lt_cv_aix_libpath_"; then
10644 lt_cv_aix_libpath_="/usr/lib:/lib"
10649 aix_libpath=$lt_cv_aix_libpath_
10652 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10653 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"
10655 if test "$host_cpu" = ia64; then
10656 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10657 allow_undefined_flag="-z nodefs"
10658 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"
10660 # Determine the default libpath from the value encoded in an
10661 # empty executable.
10662 if test "${lt_cv_aix_libpath+set}" = set; then
10663 aix_libpath=$lt_cv_aix_libpath
10665 if ${lt_cv_aix_libpath_+:} false; then :
10666 $as_echo_n "(cached) " >&6
10668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10669 /* end confdefs.h. */
10679 if ac_fn_c_try_link "$LINENO"; then :
10681 lt_aix_libpath_sed='
10682 /Import File Strings/,/^$/ {
10684 s/^0 *\([^ ]*\) *$/\1/
10688 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10689 # Check for a 64-bit object if we didn't find anything.
10690 if test -z "$lt_cv_aix_libpath_"; then
10691 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10694 rm -f core conftest.err conftest.$ac_objext \
10695 conftest$ac_exeext conftest.$ac_ext
10696 if test -z "$lt_cv_aix_libpath_"; then
10697 lt_cv_aix_libpath_="/usr/lib:/lib"
10702 aix_libpath=$lt_cv_aix_libpath_
10705 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10706 # Warning - without using the other run time loading flags,
10707 # -berok will link without error, but may produce a broken library.
10708 no_undefined_flag=' ${wl}-bernotok'
10709 allow_undefined_flag=' ${wl}-berok'
10710 if test "$with_gnu_ld" = yes; then
10711 # We only use this code for GNU lds that support --whole-archive.
10712 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10714 # Exported symbols can be pulled into shared objects from archives
10715 whole_archive_flag_spec='$convenience'
10717 archive_cmds_need_lc=yes
10718 # This is similar to how AIX traditionally builds its shared libraries.
10719 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'
10727 # see comment about AmigaOS4 .so support
10728 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10729 archive_expsym_cmds=''
10732 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)'
10733 hardcode_libdir_flag_spec='-L$libdir'
10734 hardcode_minus_L=yes
10740 export_dynamic_flag_spec=-rdynamic
10743 cygwin* | mingw* | pw32* | cegcc*)
10744 # When not using gcc, we currently assume that we are using
10745 # Microsoft Visual C++.
10746 # hardcode_libdir_flag_spec is actually meaningless, as there is
10747 # no search path for DLLs.
10748 case $cc_basename in
10751 hardcode_libdir_flag_spec=' '
10752 allow_undefined_flag=unsupported
10753 always_export_symbols=yes
10755 # Tell ltmain to make .lib files, not .a files.
10757 # Tell ltmain to make .dll files, not .so files.
10759 # FIXME: Setting linknames here is a bad hack.
10760 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10761 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10762 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10764 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10766 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10768 # The linker will not automatically build a static lib if we build a DLL.
10769 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10770 enable_shared_with_static_runtimes=yes
10771 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10772 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10774 old_postinstall_cmds='chmod 644 $oldlib'
10775 postlink_cmds='lt_outputfile="@OUTPUT@"~
10776 lt_tool_outputfile="@TOOL_OUTPUT@"~
10777 case $lt_outputfile in
10780 lt_outputfile="$lt_outputfile.exe"
10781 lt_tool_outputfile="$lt_tool_outputfile.exe"
10784 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10785 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10786 $RM "$lt_outputfile.manifest";
10790 # Assume MSVC wrapper
10791 hardcode_libdir_flag_spec=' '
10792 allow_undefined_flag=unsupported
10793 # Tell ltmain to make .lib files, not .a files.
10795 # Tell ltmain to make .dll files, not .so files.
10797 # FIXME: Setting linknames here is a bad hack.
10798 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10799 # The linker will automatically build a .lib file if we build a DLL.
10800 old_archive_from_new_cmds='true'
10801 # FIXME: Should let the user specify the lib program.
10802 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10803 enable_shared_with_static_runtimes=yes
10808 darwin* | rhapsody*)
10811 archive_cmds_need_lc=no
10813 hardcode_automatic=yes
10814 hardcode_shlibpath_var=unsupported
10815 if test "$lt_cv_ld_force_load" = "yes"; then
10816 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\"`'
10819 whole_archive_flag_spec=''
10821 link_all_deplibs=yes
10822 allow_undefined_flag="$_lt_dar_allow_undefined"
10823 case $cc_basename in
10824 ifort*) _lt_dar_can_shared=yes ;;
10825 *) _lt_dar_can_shared=$GCC ;;
10827 if test "$_lt_dar_can_shared" = "yes"; then
10828 output_verbose_link_cmd=func_echo_all
10829 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10830 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10831 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}"
10832 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}"
10841 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10842 hardcode_libdir_flag_spec='-L$libdir'
10843 hardcode_shlibpath_var=no
10846 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10847 # support. Future versions do this automatically, but an explicit c++rt0.o
10848 # does not break anything, and helps significantly (at the cost of a little
10851 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10852 hardcode_libdir_flag_spec='-R$libdir'
10853 hardcode_direct=yes
10854 hardcode_shlibpath_var=no
10857 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10859 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10860 hardcode_direct=yes
10861 hardcode_minus_L=yes
10862 hardcode_shlibpath_var=no
10865 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10866 freebsd* | dragonfly*)
10867 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10868 hardcode_libdir_flag_spec='-R$libdir'
10869 hardcode_direct=yes
10870 hardcode_shlibpath_var=no
10874 if test "$GCC" = yes; then
10875 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'
10877 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'
10879 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10880 hardcode_libdir_separator=:
10881 hardcode_direct=yes
10883 # hardcode_minus_L: Not really in the search PATH,
10884 # but as the default location of the library.
10885 hardcode_minus_L=yes
10886 export_dynamic_flag_spec='${wl}-E'
10890 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10891 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10893 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10895 if test "$with_gnu_ld" = no; then
10896 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10897 hardcode_libdir_separator=:
10898 hardcode_direct=yes
10899 hardcode_direct_absolute=yes
10900 export_dynamic_flag_spec='${wl}-E'
10901 # hardcode_minus_L: Not really in the search PATH,
10902 # but as the default location of the library.
10903 hardcode_minus_L=yes
10908 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10911 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10914 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10917 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10923 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10926 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10930 # Older versions of the 11.00 compiler do not understand -b yet
10931 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10933 $as_echo_n "checking if $CC understands -b... " >&6; }
10934 if ${lt_cv_prog_compiler__b+:} false; then :
10935 $as_echo_n "(cached) " >&6
10937 lt_cv_prog_compiler__b=no
10938 save_LDFLAGS="$LDFLAGS"
10939 LDFLAGS="$LDFLAGS -b"
10940 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10941 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10942 # The linker can only warn and ignore the option if not recognized
10943 # So say no if there are warnings
10944 if test -s conftest.err; then
10945 # Append any errors to the config.log.
10946 cat conftest.err 1>&5
10947 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10948 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10949 if diff conftest.exp conftest.er2 >/dev/null; then
10950 lt_cv_prog_compiler__b=yes
10953 lt_cv_prog_compiler__b=yes
10957 LDFLAGS="$save_LDFLAGS"
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10961 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10963 if test x"$lt_cv_prog_compiler__b" = xyes; then
10964 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10966 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10972 if test "$with_gnu_ld" = no; then
10973 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10974 hardcode_libdir_separator=:
10979 hardcode_shlibpath_var=no
10982 hardcode_direct=yes
10983 hardcode_direct_absolute=yes
10984 export_dynamic_flag_spec='${wl}-E'
10986 # hardcode_minus_L: Not really in the search PATH,
10987 # but as the default location of the library.
10988 hardcode_minus_L=yes
10994 irix5* | irix6* | nonstopux*)
10995 if test "$GCC" = yes; then
10996 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'
10997 # Try to use the -exported_symbol ld option, if it does not
10998 # work, assume that -exports_file does not work either and
10999 # implicitly export all symbols.
11000 # This should be the same for all languages, so no per-tag cache variable.
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11002 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11003 if ${lt_cv_irix_exported_symbol+:} false; then :
11004 $as_echo_n "(cached) " >&6
11006 save_LDFLAGS="$LDFLAGS"
11007 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11009 /* end confdefs.h. */
11010 int foo (void) { return 0; }
11012 if ac_fn_c_try_link "$LINENO"; then :
11013 lt_cv_irix_exported_symbol=yes
11015 lt_cv_irix_exported_symbol=no
11017 rm -f core conftest.err conftest.$ac_objext \
11018 conftest$ac_exeext conftest.$ac_ext
11019 LDFLAGS="$save_LDFLAGS"
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11022 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11023 if test "$lt_cv_irix_exported_symbol" = yes; then
11024 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'
11027 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'
11028 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'
11030 archive_cmds_need_lc='no'
11031 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11032 hardcode_libdir_separator=:
11034 link_all_deplibs=yes
11038 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11039 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11041 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11043 hardcode_libdir_flag_spec='-R$libdir'
11044 hardcode_direct=yes
11045 hardcode_shlibpath_var=no
11049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11050 hardcode_direct=yes
11051 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11052 hardcode_libdir_separator=:
11053 hardcode_shlibpath_var=no
11060 if test -f /usr/libexec/ld.so; then
11061 hardcode_direct=yes
11062 hardcode_shlibpath_var=no
11063 hardcode_direct_absolute=yes
11064 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11065 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11066 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11067 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11068 export_dynamic_flag_spec='${wl}-E'
11071 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11072 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11073 hardcode_libdir_flag_spec='-R$libdir'
11076 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11077 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11087 hardcode_libdir_flag_spec='-L$libdir'
11088 hardcode_minus_L=yes
11089 allow_undefined_flag=unsupported
11090 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'
11091 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11095 if test "$GCC" = yes; then
11096 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11097 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'
11099 allow_undefined_flag=' -expect_unresolved \*'
11100 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'
11102 archive_cmds_need_lc='no'
11103 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11104 hardcode_libdir_separator=:
11107 osf4* | osf5*) # as osf3* with the addition of -msym flag
11108 if test "$GCC" = yes; then
11109 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11110 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'
11111 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11113 allow_undefined_flag=' -expect_unresolved \*'
11114 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'
11115 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~
11116 $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'
11118 # Both c and cxx compiler support -rpath directly
11119 hardcode_libdir_flag_spec='-rpath $libdir'
11121 archive_cmds_need_lc='no'
11122 hardcode_libdir_separator=:
11126 no_undefined_flag=' -z defs'
11127 if test "$GCC" = yes; then
11129 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11130 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11131 $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'
11133 case `$CC -V 2>&1` in
11136 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11137 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11138 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11142 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11143 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11144 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11148 hardcode_libdir_flag_spec='-R$libdir'
11149 hardcode_shlibpath_var=no
11151 solaris2.[0-5] | solaris2.[0-5].*) ;;
11153 # The compiler driver will combine and reorder linker options,
11154 # but understands `-z linker_flag'. GCC discards it without `$wl',
11155 # but is careful enough not to reorder.
11156 # Supported since Solaris 2.6 (maybe 2.5.1?)
11157 if test "$GCC" = yes; then
11158 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11160 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11164 link_all_deplibs=yes
11168 if test "x$host_vendor" = xsequent; then
11169 # Use $CC to link under sequent, because it throws in some extra .o
11170 # files that make .init and .fini sections work.
11171 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11173 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11175 hardcode_libdir_flag_spec='-L$libdir'
11176 hardcode_direct=yes
11177 hardcode_minus_L=yes
11178 hardcode_shlibpath_var=no
11182 case $host_vendor in
11184 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11185 hardcode_direct=yes # is this really true???
11188 ## LD is ld it makes a PLAMLIB
11189 ## CC just makes a GrossModule.
11190 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11191 reload_cmds='$CC -r -o $output$reload_objs'
11195 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11196 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11199 runpath_var='LD_RUN_PATH'
11200 hardcode_shlibpath_var=no
11204 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11205 hardcode_shlibpath_var=no
11206 export_dynamic_flag_spec='-Bexport'
11210 if test -d /usr/nec; then
11211 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11212 hardcode_shlibpath_var=no
11213 runpath_var=LD_RUN_PATH
11214 hardcode_runpath_var=yes
11219 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11220 no_undefined_flag='${wl}-z,text'
11221 archive_cmds_need_lc=no
11222 hardcode_shlibpath_var=no
11223 runpath_var='LD_RUN_PATH'
11225 if test "$GCC" = yes; then
11226 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11227 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11229 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11230 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11234 sysv5* | sco3.2v5* | sco5v6*)
11235 # Note: We can NOT use -z defs as we might desire, because we do not
11236 # link with -lc, and that would cause any symbols used from libc to
11237 # always be unresolved, which means just about no library would
11238 # ever link correctly. If we're not using GNU ld we use -z text
11239 # though, which does catch some bad symbols but isn't as heavy-handed
11241 no_undefined_flag='${wl}-z,text'
11242 allow_undefined_flag='${wl}-z,nodefs'
11243 archive_cmds_need_lc=no
11244 hardcode_shlibpath_var=no
11245 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11246 hardcode_libdir_separator=':'
11247 link_all_deplibs=yes
11248 export_dynamic_flag_spec='${wl}-Bexport'
11249 runpath_var='LD_RUN_PATH'
11251 if test "$GCC" = yes; then
11252 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11253 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11255 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11256 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11261 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11262 hardcode_libdir_flag_spec='-L$libdir'
11263 hardcode_shlibpath_var=no
11271 if test x$host_vendor = xsni; then
11273 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11274 export_dynamic_flag_spec='${wl}-Blargedynsym'
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11281 $as_echo "$ld_shlibs" >&6; }
11282 test "$ld_shlibs" = no && can_build_shared=no
11284 with_gnu_ld=$with_gnu_ld
11301 # Do we need to explicitly link libc?
11303 case "x$archive_cmds_need_lc" in
11305 # Assume -lc should be added
11306 archive_cmds_need_lc=yes
11308 if test "$enable_shared" = yes && test "$GCC" = yes; then
11309 case $archive_cmds in
11311 # FIXME: we may have to deal with multi-command sequences.
11314 # Test whether the compiler implicitly links with -lc since on some
11315 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11316 # to ld, don't add -lc before -lgcc.
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11318 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11319 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11320 $as_echo_n "(cached) " >&6
11323 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11325 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11326 (eval $ac_compile) 2>&5
11328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11329 test $ac_status = 0; } 2>conftest.err; then
11332 libobjs=conftest.$ac_objext
11334 wl=$lt_prog_compiler_wl
11335 pic_flag=$lt_prog_compiler_pic
11341 lt_save_allow_undefined_flag=$allow_undefined_flag
11342 allow_undefined_flag=
11343 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11344 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11347 test $ac_status = 0; }
11349 lt_cv_archive_cmds_need_lc=no
11351 lt_cv_archive_cmds_need_lc=yes
11353 allow_undefined_flag=$lt_save_allow_undefined_flag
11355 cat conftest.err 1>&5
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11361 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11362 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11521 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11523 if test "$GCC" = yes; then
11525 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11526 *) lt_awk_arg="/^libraries:/" ;;
11529 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11530 *) lt_sed_strip_eq="s,=/,/,g" ;;
11532 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11533 case $lt_search_path_spec in
11535 # if the path contains ";" then we assume it to be the separator
11536 # otherwise default to the standard path separator (i.e. ":") - it is
11537 # assumed that no part of a normal pathname contains ";" but that should
11538 # okay in the real world where ";" in dirpaths is itself problematic.
11539 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11542 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11545 # Ok, now we have the path, separated by spaces, we can step through it
11546 # and add multilib dir if necessary.
11547 lt_tmp_lt_search_path_spec=
11548 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11549 for lt_sys_path in $lt_search_path_spec; do
11550 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11551 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11553 test -d "$lt_sys_path" && \
11554 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11557 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11558 BEGIN {RS=" "; FS="/|\n";} {
11561 for (lt_i = NF; lt_i > 0; lt_i--) {
11562 if ($lt_i != "" && $lt_i != ".") {
11563 if ($lt_i == "..") {
11566 if (lt_count == 0) {
11567 lt_foo="/" $lt_i lt_foo;
11574 if (lt_foo != "") { lt_freq[lt_foo]++; }
11575 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11577 # AWK program above erroneously prepends '/' to C:/dos/paths
11580 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11581 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11583 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11585 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11587 library_names_spec=
11588 libname_spec='lib$name'
11592 postuninstall_cmds=
11596 shlibpath_overrides_runpath=unknown
11598 dynamic_linker="$host_os ld.so"
11599 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11600 need_lib_prefix=unknown
11601 hardcode_into_libs=no
11603 # when you set need_version to no, make sure it does not cause -set_version
11604 # flags to be left without arguments
11605 need_version=unknown
11609 version_type=linux # correct to gnu/linux during the next big refactor
11610 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11611 shlibpath_var=LIBPATH
11613 # AIX 3 has no versioning support, so we append a major version to the name.
11614 soname_spec='${libname}${release}${shared_ext}$major'
11618 version_type=linux # correct to gnu/linux during the next big refactor
11621 hardcode_into_libs=yes
11622 if test "$host_cpu" = ia64; then
11623 # AIX 5 supports IA64
11624 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11625 shlibpath_var=LD_LIBRARY_PATH
11627 # With GCC up to 2.95.x, collect2 would create an import file
11628 # for dependence libraries. The import file would start with
11629 # the line `#! .'. This would cause the generated library to
11630 # depend on `.', always an invalid library. This was fixed in
11631 # development snapshots of GCC prior to 3.0.
11633 aix4 | aix4.[01] | aix4.[01].*)
11634 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11636 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11639 can_build_shared=no
11643 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11644 # soname into executable. Probably we can add versioning support to
11645 # collect2, so additional links can be useful in future.
11646 if test "$aix_use_runtimelinking" = yes; then
11647 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11648 # instead of lib<name>.a to let people know that these are not
11649 # typical AIX shared libraries.
11650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11652 # We preserve .a as extension for shared libraries through AIX4.2
11653 # and later when we are not doing run time linking.
11654 library_names_spec='${libname}${release}.a $libname.a'
11655 soname_spec='${libname}${release}${shared_ext}$major'
11657 shlibpath_var=LIBPATH
11664 # Since July 2007 AmigaOS4 officially supports .so libraries.
11665 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11669 library_names_spec='$libname.ixlibrary $libname.a'
11670 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11671 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'
11677 library_names_spec='${libname}${shared_ext}'
11678 dynamic_linker="$host_os ld.so"
11679 shlibpath_var=LIBRARY_PATH
11683 version_type=linux # correct to gnu/linux during the next big refactor
11685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11686 soname_spec='${libname}${release}${shared_ext}$major'
11687 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11688 shlibpath_var=LD_LIBRARY_PATH
11689 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11690 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11691 # the default ld.so.conf also contains /usr/contrib/lib and
11692 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11693 # libtool to hard-code these into programs
11696 cygwin* | mingw* | pw32* | cegcc*)
11697 version_type=windows
11702 case $GCC,$cc_basename in
11705 library_names_spec='$libname.dll.a'
11706 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11707 postinstall_cmds='base_file=`basename \${file}`~
11708 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11709 dldir=$destdir/`dirname \$dlpath`~
11710 test -d \$dldir || mkdir -p \$dldir~
11711 $install_prog $dir/$dlname \$dldir/$dlname~
11712 chmod a+x \$dldir/$dlname~
11713 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11714 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11716 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11717 dlpath=$dir/\$dldll~
11719 shlibpath_overrides_runpath=yes
11723 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11724 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11726 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11729 # MinGW DLLs use traditional 'lib' prefix
11730 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11733 # pw32 DLLs use 'pw' prefix rather than 'lib'
11734 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11737 dynamic_linker='Win32 ld.exe'
11742 libname_spec='$name'
11743 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11744 library_names_spec='${libname}.dll.lib'
11748 sys_lib_search_path_spec=
11751 for lt_path in $LIB
11754 # Let DOS variable expansion print the short 8.3 style file name.
11755 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11756 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11759 # Convert to MSYS style.
11760 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11763 # Convert to unix form, then to dos form, then back to unix form
11764 # but this time dos style (no spaces!) so that the unix form looks
11765 # like /cygdrive/c/PROGRA~1:/cygdr...
11766 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11767 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11768 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11771 sys_lib_search_path_spec="$LIB"
11772 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11773 # It is most probably a Windows format PATH.
11774 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11776 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11778 # FIXME: find the short name or the path components, as spaces are
11779 # common. (e.g. "Program Files" -> "PROGRA~1")
11783 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11784 postinstall_cmds='base_file=`basename \${file}`~
11785 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11786 dldir=$destdir/`dirname \$dlpath`~
11787 test -d \$dldir || mkdir -p \$dldir~
11788 $install_prog $dir/$dlname \$dldir/$dlname'
11789 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11790 dlpath=$dir/\$dldll~
11792 shlibpath_overrides_runpath=yes
11793 dynamic_linker='Win32 link.exe'
11797 # Assume MSVC wrapper
11798 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11799 dynamic_linker='Win32 ld.exe'
11802 # FIXME: first we should search . and the directory the executable is in
11806 darwin* | rhapsody*)
11807 dynamic_linker="$host_os dyld"
11808 version_type=darwin
11811 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11812 soname_spec='${libname}${release}${major}$shared_ext'
11813 shlibpath_overrides_runpath=yes
11814 shlibpath_var=DYLD_LIBRARY_PATH
11815 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11817 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11818 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11822 version_type=linux # correct to gnu/linux during the next big refactor
11825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11826 soname_spec='${libname}${release}${shared_ext}$major'
11827 shlibpath_var=LD_LIBRARY_PATH
11830 freebsd* | dragonfly*)
11831 # DragonFly does not have aout. When/if they implement a new
11832 # versioning mechanism, adjust this.
11833 if test -x /usr/bin/objformat; then
11834 objformat=`/usr/bin/objformat`
11837 freebsd[23].*) objformat=aout ;;
11838 *) objformat=elf ;;
11841 version_type=freebsd-$objformat
11842 case $version_type in
11844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11849 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11853 shlibpath_var=LD_LIBRARY_PATH
11856 shlibpath_overrides_runpath=yes
11858 freebsd3.[01]* | freebsdelf3.[01]*)
11859 shlibpath_overrides_runpath=yes
11860 hardcode_into_libs=yes
11862 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11863 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11864 shlibpath_overrides_runpath=no
11865 hardcode_into_libs=yes
11867 *) # from 4.6 on, and DragonFly
11868 shlibpath_overrides_runpath=yes
11869 hardcode_into_libs=yes
11875 version_type=linux # correct to gnu/linux during the next big refactor
11878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11879 soname_spec='${libname}${release}${shared_ext}$major'
11880 shlibpath_var=LD_LIBRARY_PATH
11881 shlibpath_overrides_runpath=no
11882 hardcode_into_libs=yes
11886 version_type=linux # correct to gnu/linux during the next big refactor
11889 dynamic_linker="$host_os runtime_loader"
11890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11891 soname_spec='${libname}${release}${shared_ext}$major'
11892 shlibpath_var=LIBRARY_PATH
11893 shlibpath_overrides_runpath=yes
11894 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11895 hardcode_into_libs=yes
11898 hpux9* | hpux10* | hpux11*)
11899 # Give a soname corresponding to the major version so that dld.sl refuses to
11900 # link against other versions.
11907 hardcode_into_libs=yes
11908 dynamic_linker="$host_os dld.so"
11909 shlibpath_var=LD_LIBRARY_PATH
11910 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11912 soname_spec='${libname}${release}${shared_ext}$major'
11913 if test "X$HPUX_IA64_MODE" = X32; then
11914 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11916 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11918 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11922 hardcode_into_libs=yes
11923 dynamic_linker="$host_os dld.sl"
11924 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11925 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11927 soname_spec='${libname}${release}${shared_ext}$major'
11928 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11929 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11933 dynamic_linker="$host_os dld.sl"
11934 shlibpath_var=SHLIB_PATH
11935 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11937 soname_spec='${libname}${release}${shared_ext}$major'
11940 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11941 postinstall_cmds='chmod 555 $lib'
11942 # or fails outright, so override atomically:
11943 install_override_mode=555
11947 version_type=linux # correct to gnu/linux during the next big refactor
11950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11951 soname_spec='${libname}${release}${shared_ext}$major'
11952 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11953 shlibpath_var=LD_LIBRARY_PATH
11954 shlibpath_overrides_runpath=no
11955 hardcode_into_libs=yes
11958 irix5* | irix6* | nonstopux*)
11960 nonstopux*) version_type=nonstopux ;;
11962 if test "$lt_cv_prog_gnu_ld" = yes; then
11963 version_type=linux # correct to gnu/linux during the next big refactor
11970 soname_spec='${libname}${release}${shared_ext}$major'
11971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11973 irix5* | nonstopux*)
11974 libsuff= shlibsuff=
11977 case $LD in # libtool.m4 will add one of these switches to LD
11978 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11979 libsuff= shlibsuff= libmagic=32-bit;;
11980 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11981 libsuff=32 shlibsuff=N32 libmagic=N32;;
11982 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11983 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11984 *) libsuff= shlibsuff= libmagic=never-match;;
11988 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11989 shlibpath_overrides_runpath=no
11990 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11991 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11992 hardcode_into_libs=yes
11995 # No shared lib support for Linux oldld, aout, or coff.
11996 linux*oldld* | linux*aout* | linux*coff*)
12000 # This must be glibc/ELF.
12001 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12002 version_type=linux # correct to gnu/linux during the next big refactor
12005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12006 soname_spec='${libname}${release}${shared_ext}$major'
12007 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12008 shlibpath_var=LD_LIBRARY_PATH
12009 shlibpath_overrides_runpath=no
12011 # Some binutils ld are patched to set DT_RUNPATH
12012 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12013 $as_echo_n "(cached) " >&6
12015 lt_cv_shlibpath_overrides_runpath=no
12016 save_LDFLAGS=$LDFLAGS
12017 save_libdir=$libdir
12018 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12019 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12021 /* end confdefs.h. */
12031 if ac_fn_c_try_link "$LINENO"; then :
12032 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12033 lt_cv_shlibpath_overrides_runpath=yes
12036 rm -f core conftest.err conftest.$ac_objext \
12037 conftest$ac_exeext conftest.$ac_ext
12038 LDFLAGS=$save_LDFLAGS
12039 libdir=$save_libdir
12043 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12045 # This implies no fast_install, which is unacceptable.
12046 # Some rework will be needed to allow for fast_install
12047 # before this can be enabled.
12048 hardcode_into_libs=yes
12050 # Add ABI-specific directories to the system library path.
12051 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12053 # Append ld.so.conf contents to the search path
12054 if test -f /etc/ld.so.conf; then
12055 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' ' '`
12056 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12060 # We used to test for /lib/ld.so.1 and disable shared libraries on
12061 # powerpc, because MkLinux only supported shared libraries with the
12062 # GNU dynamic linker. Since this was broken with cross compilers,
12063 # most powerpc-linux boxes support dynamic linking these days and
12064 # people can always --disable-shared, the test was removed, and we
12065 # assume the GNU/Linux dynamic linker is in use.
12066 dynamic_linker='GNU/Linux ld.so'
12073 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12075 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12076 dynamic_linker='NetBSD (a.out) ld.so'
12078 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12079 soname_spec='${libname}${release}${shared_ext}$major'
12080 dynamic_linker='NetBSD ld.elf_so'
12082 shlibpath_var=LD_LIBRARY_PATH
12083 shlibpath_overrides_runpath=yes
12084 hardcode_into_libs=yes
12088 version_type=linux # correct to gnu/linux during the next big refactor
12089 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12090 shlibpath_var=LD_LIBRARY_PATH
12091 shlibpath_overrides_runpath=yes
12098 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12099 soname_spec='${libname}${release}${shared_ext}$major'
12100 shlibpath_var=LD_LIBRARY_PATH
12101 shlibpath_overrides_runpath=no
12102 hardcode_into_libs=yes
12103 dynamic_linker='ldqnx.so'
12108 sys_lib_dlsearch_path_spec="/usr/lib"
12110 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12112 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12113 *) need_version=no ;;
12115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12116 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12117 shlibpath_var=LD_LIBRARY_PATH
12118 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12120 openbsd2.[89] | openbsd2.[89].*)
12121 shlibpath_overrides_runpath=no
12124 shlibpath_overrides_runpath=yes
12128 shlibpath_overrides_runpath=yes
12133 libname_spec='$name'
12136 library_names_spec='$libname${shared_ext} $libname.a'
12137 dynamic_linker='OS/2 ld.exe'
12138 shlibpath_var=LIBPATH
12141 osf3* | osf4* | osf5*)
12145 soname_spec='${libname}${release}${shared_ext}$major'
12146 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12147 shlibpath_var=LD_LIBRARY_PATH
12148 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12149 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12157 version_type=linux # correct to gnu/linux during the next big refactor
12160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12161 soname_spec='${libname}${release}${shared_ext}$major'
12162 shlibpath_var=LD_LIBRARY_PATH
12163 shlibpath_overrides_runpath=yes
12164 hardcode_into_libs=yes
12165 # ldd complains unless libraries are executable
12166 postinstall_cmds='chmod +x $lib'
12171 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12172 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12173 shlibpath_var=LD_LIBRARY_PATH
12174 shlibpath_overrides_runpath=yes
12175 if test "$with_gnu_ld" = yes; then
12182 version_type=linux # correct to gnu/linux during the next big refactor
12183 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12184 soname_spec='${libname}${release}${shared_ext}$major'
12185 shlibpath_var=LD_LIBRARY_PATH
12186 case $host_vendor in
12188 shlibpath_overrides_runpath=no
12190 runpath_var=LD_RUN_PATH
12198 shlibpath_overrides_runpath=no
12199 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12205 if test -d /usr/nec ;then
12206 version_type=linux # correct to gnu/linux during the next big refactor
12207 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12208 soname_spec='$libname${shared_ext}.$major'
12209 shlibpath_var=LD_LIBRARY_PATH
12213 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12214 version_type=freebsd-elf
12217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12218 soname_spec='${libname}${release}${shared_ext}$major'
12219 shlibpath_var=LD_LIBRARY_PATH
12220 shlibpath_overrides_runpath=yes
12221 hardcode_into_libs=yes
12222 if test "$with_gnu_ld" = yes; then
12223 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12225 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12228 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12232 sys_lib_dlsearch_path_spec='/usr/lib'
12236 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12237 version_type=linux # correct to gnu/linux during the next big refactor
12240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12241 shlibpath_var=LD_LIBRARY_PATH
12242 shlibpath_overrides_runpath=no
12243 hardcode_into_libs=yes
12247 version_type=linux # correct to gnu/linux during the next big refactor
12248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12249 soname_spec='${libname}${release}${shared_ext}$major'
12250 shlibpath_var=LD_LIBRARY_PATH
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12258 $as_echo "$dynamic_linker" >&6; }
12259 test "$dynamic_linker" = no && can_build_shared=no
12261 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12262 if test "$GCC" = yes; then
12263 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12266 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12267 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12269 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12270 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12365 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12367 if test -n "$hardcode_libdir_flag_spec" ||
12368 test -n "$runpath_var" ||
12369 test "X$hardcode_automatic" = "Xyes" ; then
12371 # We can hardcode non-existent directories.
12372 if test "$hardcode_direct" != no &&
12373 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12374 # have to relink, otherwise we might link with an installed library
12375 # when we should be linking with a yet-to-be-installed one
12376 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12377 test "$hardcode_minus_L" != no; then
12378 # Linking always hardcodes the temporary library directory.
12379 hardcode_action=relink
12381 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12382 hardcode_action=immediate
12385 # We cannot hardcode anything, or else we can only hardcode existing
12387 hardcode_action=unsupported
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12390 $as_echo "$hardcode_action" >&6; }
12392 if test "$hardcode_action" = relink ||
12393 test "$inherit_rpath" = yes; then
12394 # Fast installation is not supported
12395 enable_fast_install=no
12396 elif test "$shlibpath_overrides_runpath" = yes ||
12397 test "$enable_shared" = no; then
12398 # Fast installation is not necessary
12399 enable_fast_install=needless
12407 if test "x$enable_dlopen" != xyes; then
12408 enable_dlopen=unknown
12409 enable_dlopen_self=unknown
12410 enable_dlopen_self_static=unknown
12417 lt_cv_dlopen="load_add_on"
12419 lt_cv_dlopen_self=yes
12422 mingw* | pw32* | cegcc*)
12423 lt_cv_dlopen="LoadLibrary"
12428 lt_cv_dlopen="dlopen"
12433 # if libdl is installed we need to link against it
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12435 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12436 if ${ac_cv_lib_dl_dlopen+:} false; then :
12437 $as_echo_n "(cached) " >&6
12439 ac_check_lib_save_LIBS=$LIBS
12441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12442 /* end confdefs.h. */
12444 /* Override any GCC internal prototype to avoid an error.
12445 Use char because int might match the return type of a GCC
12446 builtin and then its argument prototype would still apply. */
12459 if ac_fn_c_try_link "$LINENO"; then :
12460 ac_cv_lib_dl_dlopen=yes
12462 ac_cv_lib_dl_dlopen=no
12464 rm -f core conftest.err conftest.$ac_objext \
12465 conftest$ac_exeext conftest.$ac_ext
12466 LIBS=$ac_check_lib_save_LIBS
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12469 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12470 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12471 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12474 lt_cv_dlopen="dyld"
12476 lt_cv_dlopen_self=yes
12483 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12484 if test "x$ac_cv_func_shl_load" = xyes; then :
12485 lt_cv_dlopen="shl_load"
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12488 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12489 if ${ac_cv_lib_dld_shl_load+:} false; then :
12490 $as_echo_n "(cached) " >&6
12492 ac_check_lib_save_LIBS=$LIBS
12494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12495 /* end confdefs.h. */
12497 /* Override any GCC internal prototype to avoid an error.
12498 Use char because int might match the return type of a GCC
12499 builtin and then its argument prototype would still apply. */
12507 return shl_load ();
12512 if ac_fn_c_try_link "$LINENO"; then :
12513 ac_cv_lib_dld_shl_load=yes
12515 ac_cv_lib_dld_shl_load=no
12517 rm -f core conftest.err conftest.$ac_objext \
12518 conftest$ac_exeext conftest.$ac_ext
12519 LIBS=$ac_check_lib_save_LIBS
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12522 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12523 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12524 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12526 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12527 if test "x$ac_cv_func_dlopen" = xyes; then :
12528 lt_cv_dlopen="dlopen"
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12531 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12532 if ${ac_cv_lib_dl_dlopen+:} false; then :
12533 $as_echo_n "(cached) " >&6
12535 ac_check_lib_save_LIBS=$LIBS
12537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12538 /* end confdefs.h. */
12540 /* Override any GCC internal prototype to avoid an error.
12541 Use char because int might match the return type of a GCC
12542 builtin and then its argument prototype would still apply. */
12555 if ac_fn_c_try_link "$LINENO"; then :
12556 ac_cv_lib_dl_dlopen=yes
12558 ac_cv_lib_dl_dlopen=no
12560 rm -f core conftest.err conftest.$ac_objext \
12561 conftest$ac_exeext conftest.$ac_ext
12562 LIBS=$ac_check_lib_save_LIBS
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12565 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12566 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12567 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12570 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12571 if ${ac_cv_lib_svld_dlopen+:} false; then :
12572 $as_echo_n "(cached) " >&6
12574 ac_check_lib_save_LIBS=$LIBS
12575 LIBS="-lsvld $LIBS"
12576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12577 /* end confdefs.h. */
12579 /* Override any GCC internal prototype to avoid an error.
12580 Use char because int might match the return type of a GCC
12581 builtin and then its argument prototype would still apply. */
12594 if ac_fn_c_try_link "$LINENO"; then :
12595 ac_cv_lib_svld_dlopen=yes
12597 ac_cv_lib_svld_dlopen=no
12599 rm -f core conftest.err conftest.$ac_objext \
12600 conftest$ac_exeext conftest.$ac_ext
12601 LIBS=$ac_check_lib_save_LIBS
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12604 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12605 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12606 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12609 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12610 if ${ac_cv_lib_dld_dld_link+:} false; then :
12611 $as_echo_n "(cached) " >&6
12613 ac_check_lib_save_LIBS=$LIBS
12615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12616 /* end confdefs.h. */
12618 /* Override any GCC internal prototype to avoid an error.
12619 Use char because int might match the return type of a GCC
12620 builtin and then its argument prototype would still apply. */
12628 return dld_link ();
12633 if ac_fn_c_try_link "$LINENO"; then :
12634 ac_cv_lib_dld_dld_link=yes
12636 ac_cv_lib_dld_dld_link=no
12638 rm -f core conftest.err conftest.$ac_objext \
12639 conftest$ac_exeext conftest.$ac_ext
12640 LIBS=$ac_check_lib_save_LIBS
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12643 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12644 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12645 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12666 if test "x$lt_cv_dlopen" != xno; then
12672 case $lt_cv_dlopen in
12674 save_CPPFLAGS="$CPPFLAGS"
12675 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12677 save_LDFLAGS="$LDFLAGS"
12678 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12681 LIBS="$lt_cv_dlopen_libs $LIBS"
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12684 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12685 if ${lt_cv_dlopen_self+:} false; then :
12686 $as_echo_n "(cached) " >&6
12688 if test "$cross_compiling" = yes; then :
12689 lt_cv_dlopen_self=cross
12691 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12692 lt_status=$lt_dlunknown
12693 cat > conftest.$ac_ext <<_LT_EOF
12694 #line $LINENO "configure"
12695 #include "confdefs.h"
12704 # define LT_DLGLOBAL RTLD_GLOBAL
12707 # define LT_DLGLOBAL DL_GLOBAL
12709 # define LT_DLGLOBAL 0
12713 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12714 find out it does not work in some platform. */
12715 #ifndef LT_DLLAZY_OR_NOW
12717 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12720 # define LT_DLLAZY_OR_NOW DL_LAZY
12723 # define LT_DLLAZY_OR_NOW RTLD_NOW
12726 # define LT_DLLAZY_OR_NOW DL_NOW
12728 # define LT_DLLAZY_OR_NOW 0
12735 /* When -fvisbility=hidden is used, assume the code has been annotated
12736 correspondingly for the symbols needed. */
12737 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12738 int fnord () __attribute__((visibility("default")));
12741 int fnord () { return 42; }
12744 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12745 int status = $lt_dlunknown;
12749 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12752 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12753 else puts (dlerror ());
12755 /* dlclose (self); */
12763 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12764 (eval $ac_link) 2>&5
12766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12767 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12768 (./conftest; exit; ) >&5 2>/dev/null
12770 case x$lt_status in
12771 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12772 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12773 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12776 # compilation failed
12777 lt_cv_dlopen_self=no
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12785 $as_echo "$lt_cv_dlopen_self" >&6; }
12787 if test "x$lt_cv_dlopen_self" = xyes; then
12788 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12790 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12791 if ${lt_cv_dlopen_self_static+:} false; then :
12792 $as_echo_n "(cached) " >&6
12794 if test "$cross_compiling" = yes; then :
12795 lt_cv_dlopen_self_static=cross
12797 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12798 lt_status=$lt_dlunknown
12799 cat > conftest.$ac_ext <<_LT_EOF
12800 #line $LINENO "configure"
12801 #include "confdefs.h"
12810 # define LT_DLGLOBAL RTLD_GLOBAL
12813 # define LT_DLGLOBAL DL_GLOBAL
12815 # define LT_DLGLOBAL 0
12819 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12820 find out it does not work in some platform. */
12821 #ifndef LT_DLLAZY_OR_NOW
12823 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12826 # define LT_DLLAZY_OR_NOW DL_LAZY
12829 # define LT_DLLAZY_OR_NOW RTLD_NOW
12832 # define LT_DLLAZY_OR_NOW DL_NOW
12834 # define LT_DLLAZY_OR_NOW 0
12841 /* When -fvisbility=hidden is used, assume the code has been annotated
12842 correspondingly for the symbols needed. */
12843 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12844 int fnord () __attribute__((visibility("default")));
12847 int fnord () { return 42; }
12850 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12851 int status = $lt_dlunknown;
12855 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12858 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12859 else puts (dlerror ());
12861 /* dlclose (self); */
12869 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12870 (eval $ac_link) 2>&5
12872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12873 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12874 (./conftest; exit; ) >&5 2>/dev/null
12876 case x$lt_status in
12877 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12878 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12879 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12882 # compilation failed
12883 lt_cv_dlopen_self_static=no
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12891 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12894 CPPFLAGS="$save_CPPFLAGS"
12895 LDFLAGS="$save_LDFLAGS"
12900 case $lt_cv_dlopen_self in
12901 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12902 *) enable_dlopen_self=unknown ;;
12905 case $lt_cv_dlopen_self_static in
12906 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12907 *) enable_dlopen_self_static=unknown ;;
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12930 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12931 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12932 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12933 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12935 $as_echo "yes" >&6; }
12937 # FIXME - insert some real tests, host_os isn't really good enough
12940 if test -n "$STRIP" ; then
12941 striplib="$STRIP -x"
12942 old_striplib="$STRIP -S"
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12944 $as_echo "yes" >&6; }
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12947 $as_echo "no" >&6; }
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12952 $as_echo "no" >&6; }
12968 # Report which library types will actually be built
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12970 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12972 $as_echo "$can_build_shared" >&6; }
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12975 $as_echo_n "checking whether to build shared libraries... " >&6; }
12976 test "$can_build_shared" = "no" && enable_shared=no
12978 # On AIX, shared libraries and static libraries use the same namespace, and
12979 # are all built from PIC.
12982 test "$enable_shared" = yes && enable_static=no
12983 if test -n "$RANLIB"; then
12984 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12985 postinstall_cmds='$RANLIB $lib'
12990 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12991 test "$enable_shared" = yes && enable_static=no
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12996 $as_echo "$enable_shared" >&6; }
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12999 $as_echo_n "checking whether to build static libraries... " >&6; }
13000 # Make sure either enable_shared or enable_static is yes.
13001 test "$enable_shared" = yes || enable_static=yes
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13003 $as_echo "$enable_static" >&6; }
13010 ac_cpp='$CPP $CPPFLAGS'
13011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13031 ac_config_commands="$ac_config_commands libtool"
13036 # Only expand once:
13040 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13041 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13045 cat >>confdefs.h <<_ACEOF
13050 cat >>confdefs.h <<_ACEOF
13055 cat >>confdefs.h <<_ACEOF
13060 cat >>confdefs.h <<_ACEOF
13064 version_info="8:8:7"
13068 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13069 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13079 [\\/$]* | ?:[\\/]*) ;;
13080 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13085 $as_echo_n "checking whether NLS is requested... " >&6; }
13086 # Check whether --enable-nls was given.
13087 if test "${enable_nls+set}" = set; then :
13088 enableval=$enable_nls; USE_NLS=$enableval
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13094 $as_echo "$USE_NLS" >&6; }
13099 GETTEXT_MACRO_VERSION=0.17
13104 # Prepare PATH_SEPARATOR.
13105 # The user is always right.
13106 if test "${PATH_SEPARATOR+set}" != set; then
13107 echo "#! /bin/sh" >conf$$.sh
13108 echo "exit 0" >>conf$$.sh
13110 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13118 # Find out how to test for executable files. Don't use a zero-byte file,
13119 # as systems may use methods other than mode bits to determine executability.
13120 cat >conf$$.file <<_ASEOF
13124 chmod +x conf$$.file
13125 if test -x conf$$.file >/dev/null 2>&1; then
13126 ac_executable_p="test -x"
13128 ac_executable_p="test -f"
13132 # Extract the first word of "msgfmt", so it can be a program name with args.
13133 set dummy msgfmt; ac_word=$2
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13135 $as_echo_n "checking for $ac_word... " >&6; }
13136 if ${ac_cv_path_MSGFMT+:} false; then :
13137 $as_echo_n "(cached) " >&6
13141 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13144 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13145 for ac_dir in $PATH; do
13147 test -z "$ac_dir" && ac_dir=.
13148 for ac_exec_ext in '' $ac_executable_extensions; do
13149 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13150 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13151 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
13152 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13153 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13160 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13164 MSGFMT="$ac_cv_path_MSGFMT"
13165 if test "$MSGFMT" != ":"; then
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13167 $as_echo "$MSGFMT" >&6; }
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13170 $as_echo "no" >&6; }
13173 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13174 set dummy gmsgfmt; ac_word=$2
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13176 $as_echo_n "checking for $ac_word... " >&6; }
13177 if ${ac_cv_path_GMSGFMT+:} false; then :
13178 $as_echo_n "(cached) " >&6
13182 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13186 for as_dir in $PATH
13189 test -z "$as_dir" && as_dir=.
13190 for ac_exec_ext in '' $ac_executable_extensions; do
13191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13192 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13200 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13204 GMSGFMT=$ac_cv_path_GMSGFMT
13205 if test -n "$GMSGFMT"; then
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13207 $as_echo "$GMSGFMT" >&6; }
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13210 $as_echo "no" >&6; }
13215 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13216 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
13217 *) MSGFMT_015=$MSGFMT ;;
13220 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13221 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
13222 *) GMSGFMT_015=$GMSGFMT ;;
13227 # Prepare PATH_SEPARATOR.
13228 # The user is always right.
13229 if test "${PATH_SEPARATOR+set}" != set; then
13230 echo "#! /bin/sh" >conf$$.sh
13231 echo "exit 0" >>conf$$.sh
13233 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13241 # Find out how to test for executable files. Don't use a zero-byte file,
13242 # as systems may use methods other than mode bits to determine executability.
13243 cat >conf$$.file <<_ASEOF
13247 chmod +x conf$$.file
13248 if test -x conf$$.file >/dev/null 2>&1; then
13249 ac_executable_p="test -x"
13251 ac_executable_p="test -f"
13255 # Extract the first word of "xgettext", so it can be a program name with args.
13256 set dummy xgettext; ac_word=$2
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13258 $as_echo_n "checking for $ac_word... " >&6; }
13259 if ${ac_cv_path_XGETTEXT+:} false; then :
13260 $as_echo_n "(cached) " >&6
13262 case "$XGETTEXT" in
13264 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13267 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13268 for ac_dir in $PATH; do
13270 test -z "$ac_dir" && ac_dir=.
13271 for ac_exec_ext in '' $ac_executable_extensions; do
13272 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13273 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13274 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
13275 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13276 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13283 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13287 XGETTEXT="$ac_cv_path_XGETTEXT"
13288 if test "$XGETTEXT" != ":"; then
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13290 $as_echo "$XGETTEXT" >&6; }
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13293 $as_echo "no" >&6; }
13298 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13299 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
13300 *) XGETTEXT_015=$XGETTEXT ;;
13305 # Prepare PATH_SEPARATOR.
13306 # The user is always right.
13307 if test "${PATH_SEPARATOR+set}" != set; then
13308 echo "#! /bin/sh" >conf$$.sh
13309 echo "exit 0" >>conf$$.sh
13311 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13319 # Find out how to test for executable files. Don't use a zero-byte file,
13320 # as systems may use methods other than mode bits to determine executability.
13321 cat >conf$$.file <<_ASEOF
13325 chmod +x conf$$.file
13326 if test -x conf$$.file >/dev/null 2>&1; then
13327 ac_executable_p="test -x"
13329 ac_executable_p="test -f"
13333 # Extract the first word of "msgmerge", so it can be a program name with args.
13334 set dummy msgmerge; ac_word=$2
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13336 $as_echo_n "checking for $ac_word... " >&6; }
13337 if ${ac_cv_path_MSGMERGE+:} false; then :
13338 $as_echo_n "(cached) " >&6
13340 case "$MSGMERGE" in
13342 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13345 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13346 for ac_dir in $PATH; do
13348 test -z "$ac_dir" && ac_dir=.
13349 for ac_exec_ext in '' $ac_executable_extensions; do
13350 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13351 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13352 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
13353 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13360 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13364 MSGMERGE="$ac_cv_path_MSGMERGE"
13365 if test "$MSGMERGE" != ":"; then
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13367 $as_echo "$MSGMERGE" >&6; }
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13370 $as_echo "no" >&6; }
13374 test -n "$localedir" || localedir='${datadir}/locale'
13377 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
13380 ac_config_commands="$ac_config_commands po-directories"
13384 if test "X$prefix" = "XNONE"; then
13385 acl_final_prefix="$ac_default_prefix"
13387 acl_final_prefix="$prefix"
13389 if test "X$exec_prefix" = "XNONE"; then
13390 acl_final_exec_prefix='${prefix}'
13392 acl_final_exec_prefix="$exec_prefix"
13394 acl_save_prefix="$prefix"
13395 prefix="$acl_final_prefix"
13396 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
13397 prefix="$acl_save_prefix"
13400 # Check whether --with-gnu-ld was given.
13401 if test "${with_gnu_ld+set}" = set; then :
13402 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13407 # Prepare PATH_SEPARATOR.
13408 # The user is always right.
13409 if test "${PATH_SEPARATOR+set}" != set; then
13410 echo "#! /bin/sh" >conf$$.sh
13411 echo "exit 0" >>conf$$.sh
13413 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13421 if test "$GCC" = yes; then
13422 # Check if gcc -print-prog-name=ld gives a path.
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13424 $as_echo_n "checking for ld used by GCC... " >&6; }
13427 # gcc leaves a trailing carriage return which upsets mingw
13428 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13430 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13433 # Accept absolute paths.
13434 [\\/]* | [A-Za-z]:[\\/]*)
13435 re_direlt='/[^/][^/]*/\.\./'
13436 # Canonicalize the path of ld
13437 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
13438 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13439 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
13441 test -z "$LD" && LD="$ac_prog"
13444 # If it fails, then pretend we aren't using GCC.
13448 # If it is relative, then search for the first ld in PATH.
13449 with_gnu_ld=unknown
13452 elif test "$with_gnu_ld" = yes; then
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13454 $as_echo_n "checking for GNU ld... " >&6; }
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13457 $as_echo_n "checking for non-GNU ld... " >&6; }
13459 if ${acl_cv_path_LD+:} false; then :
13460 $as_echo_n "(cached) " >&6
13462 if test -z "$LD"; then
13463 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13464 for ac_dir in $PATH; do
13465 test -z "$ac_dir" && ac_dir=.
13466 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13467 acl_cv_path_LD="$ac_dir/$ac_prog"
13468 # Check to see if the program is GNU ld. I'd rather use --version,
13469 # but apparently some GNU ld's only accept -v.
13470 # Break only if it was the GNU/non-GNU ld that we prefer.
13471 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13472 *GNU* | *'with BFD'*)
13473 test "$with_gnu_ld" != no && break ;;
13475 test "$with_gnu_ld" != yes && break ;;
13481 acl_cv_path_LD="$LD" # Let the user override the test with a path.
13485 LD="$acl_cv_path_LD"
13486 if test -n "$LD"; then
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13488 $as_echo "$LD" >&6; }
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13491 $as_echo "no" >&6; }
13493 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13495 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13496 if ${acl_cv_prog_gnu_ld+:} false; then :
13497 $as_echo_n "(cached) " >&6
13499 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13500 case `$LD -v 2>&1 </dev/null` in
13501 *GNU* | *'with BFD'*)
13502 acl_cv_prog_gnu_ld=yes ;;
13504 acl_cv_prog_gnu_ld=no ;;
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13508 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13509 with_gnu_ld=$acl_cv_prog_gnu_ld
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13515 $as_echo_n "checking for shared library run path origin... " >&6; }
13516 if ${acl_cv_rpath+:} false; then :
13517 $as_echo_n "(cached) " >&6
13520 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
13521 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13523 rm -f ./conftest.sh
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13528 $as_echo "$acl_cv_rpath" >&6; }
13530 acl_libext="$acl_cv_libext"
13531 acl_shlibext="$acl_cv_shlibext"
13532 acl_libname_spec="$acl_cv_libname_spec"
13533 acl_library_names_spec="$acl_cv_library_names_spec"
13534 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
13535 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
13536 acl_hardcode_direct="$acl_cv_hardcode_direct"
13537 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
13538 # Check whether --enable-rpath was given.
13539 if test "${enable_rpath+set}" = set; then :
13540 enableval=$enable_rpath; :
13548 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13549 if test -n "$searchpath"; then
13550 acl_save_IFS="${IFS= }"; IFS=":"
13551 for searchdir in $searchpath; do
13552 if test -d "$searchdir"; then
13553 case "$searchdir" in
13554 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
13555 *) searchdir=`cd "$searchdir" && pwd`
13556 case "$searchdir" in
13557 */lib64 ) acl_libdirstem=lib64 ;;
13562 IFS="$acl_save_IFS"
13575 acl_save_prefix="$prefix"
13576 prefix="$acl_final_prefix"
13577 acl_save_exec_prefix="$exec_prefix"
13578 exec_prefix="$acl_final_exec_prefix"
13580 eval additional_includedir=\"$includedir\"
13581 eval additional_libdir=\"$libdir\"
13583 exec_prefix="$acl_save_exec_prefix"
13584 prefix="$acl_save_prefix"
13587 # Check whether --with-libiconv-prefix was given.
13588 if test "${with_libiconv_prefix+set}" = set; then :
13589 withval=$with_libiconv_prefix;
13590 if test "X$withval" = "Xno"; then
13593 if test "X$withval" = "X"; then
13595 acl_save_prefix="$prefix"
13596 prefix="$acl_final_prefix"
13597 acl_save_exec_prefix="$exec_prefix"
13598 exec_prefix="$acl_final_exec_prefix"
13600 eval additional_includedir=\"$includedir\"
13601 eval additional_libdir=\"$libdir\"
13603 exec_prefix="$acl_save_exec_prefix"
13604 prefix="$acl_save_prefix"
13607 additional_includedir="$withval/include"
13608 additional_libdir="$withval/$acl_libdirstem"
13620 names_already_handled=
13621 names_next_round='iconv '
13622 while test -n "$names_next_round"; do
13623 names_this_round="$names_next_round"
13625 for name in $names_this_round; do
13627 for n in $names_already_handled; do
13628 if test "$n" = "$name"; then
13629 already_handled=yes
13633 if test -z "$already_handled"; then
13634 names_already_handled="$names_already_handled $name"
13635 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13636 eval value=\"\$HAVE_LIB$uppername\"
13637 if test -n "$value"; then
13638 if test "$value" = yes; then
13639 eval value=\"\$LIB$uppername\"
13640 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13641 eval value=\"\$LTLIB$uppername\"
13642 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
13651 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13652 if test -n "$acl_shlibext"; then
13653 shrext=".$acl_shlibext" # typically: shrext=.so
13657 if test $use_additional = yes; then
13658 dir="$additional_libdir"
13659 if test -n "$acl_shlibext"; then
13660 if test -f "$dir/$libname$shrext"; then
13662 found_so="$dir/$libname$shrext"
13664 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13665 ver=`(cd "$dir" && \
13666 for f in "$libname$shrext".*; do echo "$f"; done \
13667 | sed -e "s,^$libname$shrext\\\\.,," \
13668 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13669 | sed 1q ) 2>/dev/null`
13670 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13672 found_so="$dir/$libname$shrext.$ver"
13675 eval library_names=\"$acl_library_names_spec\"
13676 for f in $library_names; do
13677 if test -f "$dir/$f"; then
13686 if test "X$found_dir" = "X"; then
13687 if test -f "$dir/$libname.$acl_libext"; then
13689 found_a="$dir/$libname.$acl_libext"
13692 if test "X$found_dir" != "X"; then
13693 if test -f "$dir/$libname.la"; then
13694 found_la="$dir/$libname.la"
13698 if test "X$found_dir" = "X"; then
13699 for x in $LDFLAGS $LTLIBICONV; do
13701 acl_save_prefix="$prefix"
13702 prefix="$acl_final_prefix"
13703 acl_save_exec_prefix="$exec_prefix"
13704 exec_prefix="$acl_final_exec_prefix"
13706 exec_prefix="$acl_save_exec_prefix"
13707 prefix="$acl_save_prefix"
13711 dir=`echo "X$x" | sed -e 's/^X-L//'`
13712 if test -n "$acl_shlibext"; then
13713 if test -f "$dir/$libname$shrext"; then
13715 found_so="$dir/$libname$shrext"
13717 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13718 ver=`(cd "$dir" && \
13719 for f in "$libname$shrext".*; do echo "$f"; done \
13720 | sed -e "s,^$libname$shrext\\\\.,," \
13721 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13722 | sed 1q ) 2>/dev/null`
13723 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13725 found_so="$dir/$libname$shrext.$ver"
13728 eval library_names=\"$acl_library_names_spec\"
13729 for f in $library_names; do
13730 if test -f "$dir/$f"; then
13739 if test "X$found_dir" = "X"; then
13740 if test -f "$dir/$libname.$acl_libext"; then
13742 found_a="$dir/$libname.$acl_libext"
13745 if test "X$found_dir" != "X"; then
13746 if test -f "$dir/$libname.la"; then
13747 found_la="$dir/$libname.la"
13752 if test "X$found_dir" != "X"; then
13757 if test "X$found_dir" != "X"; then
13758 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13759 if test "X$found_so" != "X"; then
13760 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13761 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13764 for x in $ltrpathdirs; do
13765 if test "X$x" = "X$found_dir"; then
13770 if test -z "$haveit"; then
13771 ltrpathdirs="$ltrpathdirs $found_dir"
13773 if test "$acl_hardcode_direct" = yes; then
13774 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13776 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13777 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13779 for x in $rpathdirs; do
13780 if test "X$x" = "X$found_dir"; then
13785 if test -z "$haveit"; then
13786 rpathdirs="$rpathdirs $found_dir"
13790 for x in $LDFLAGS $LIBICONV; do
13792 acl_save_prefix="$prefix"
13793 prefix="$acl_final_prefix"
13794 acl_save_exec_prefix="$exec_prefix"
13795 exec_prefix="$acl_final_exec_prefix"
13797 exec_prefix="$acl_save_exec_prefix"
13798 prefix="$acl_save_prefix"
13800 if test "X$x" = "X-L$found_dir"; then
13805 if test -z "$haveit"; then
13806 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13808 if test "$acl_hardcode_minus_L" != no; then
13809 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13811 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13817 if test "X$found_a" != "X"; then
13818 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
13820 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13823 additional_includedir=
13824 case "$found_dir" in
13825 */$acl_libdirstem | */$acl_libdirstem/)
13826 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13827 LIBICONV_PREFIX="$basedir"
13828 additional_includedir="$basedir/include"
13831 if test "X$additional_includedir" != "X"; then
13832 if test "X$additional_includedir" != "X/usr/include"; then
13834 if test "X$additional_includedir" = "X/usr/local/include"; then
13835 if test -n "$GCC"; then
13837 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13841 if test -z "$haveit"; then
13842 for x in $CPPFLAGS $INCICONV; do
13844 acl_save_prefix="$prefix"
13845 prefix="$acl_final_prefix"
13846 acl_save_exec_prefix="$exec_prefix"
13847 exec_prefix="$acl_final_exec_prefix"
13849 exec_prefix="$acl_save_exec_prefix"
13850 prefix="$acl_save_prefix"
13852 if test "X$x" = "X-I$additional_includedir"; then
13857 if test -z "$haveit"; then
13858 if test -d "$additional_includedir"; then
13859 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13865 if test -n "$found_la"; then
13866 save_libdir="$libdir"
13867 case "$found_la" in
13868 */* | *\\*) . "$found_la" ;;
13869 *) . "./$found_la" ;;
13871 libdir="$save_libdir"
13872 for dep in $dependency_libs; do
13875 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13876 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13878 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13879 if test -n "$GCC"; then
13881 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13885 if test -z "$haveit"; then
13887 for x in $LDFLAGS $LIBICONV; do
13889 acl_save_prefix="$prefix"
13890 prefix="$acl_final_prefix"
13891 acl_save_exec_prefix="$exec_prefix"
13892 exec_prefix="$acl_final_exec_prefix"
13894 exec_prefix="$acl_save_exec_prefix"
13895 prefix="$acl_save_prefix"
13897 if test "X$x" = "X-L$additional_libdir"; then
13902 if test -z "$haveit"; then
13903 if test -d "$additional_libdir"; then
13904 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13908 for x in $LDFLAGS $LTLIBICONV; do
13910 acl_save_prefix="$prefix"
13911 prefix="$acl_final_prefix"
13912 acl_save_exec_prefix="$exec_prefix"
13913 exec_prefix="$acl_final_exec_prefix"
13915 exec_prefix="$acl_save_exec_prefix"
13916 prefix="$acl_save_prefix"
13918 if test "X$x" = "X-L$additional_libdir"; then
13923 if test -z "$haveit"; then
13924 if test -d "$additional_libdir"; then
13925 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13932 dir=`echo "X$dep" | sed -e 's/^X-R//'`
13933 if test "$enable_rpath" != no; then
13935 for x in $rpathdirs; do
13936 if test "X$x" = "X$dir"; then
13941 if test -z "$haveit"; then
13942 rpathdirs="$rpathdirs $dir"
13945 for x in $ltrpathdirs; do
13946 if test "X$x" = "X$dir"; then
13951 if test -z "$haveit"; then
13952 ltrpathdirs="$ltrpathdirs $dir"
13957 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13960 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13963 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13964 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13970 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13971 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13977 if test "X$rpathdirs" != "X"; then
13978 if test -n "$acl_hardcode_libdir_separator"; then
13980 for found_dir in $rpathdirs; do
13981 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13983 acl_save_libdir="$libdir"
13985 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13986 libdir="$acl_save_libdir"
13987 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13989 for found_dir in $rpathdirs; do
13990 acl_save_libdir="$libdir"
13991 libdir="$found_dir"
13992 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13993 libdir="$acl_save_libdir"
13994 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13998 if test "X$ltrpathdirs" != "X"; then
13999 for found_dir in $ltrpathdirs; do
14000 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14029 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14030 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
14031 $as_echo_n "(cached) " >&6
14033 gt_save_LIBS="$LIBS"
14034 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h. */
14037 #include <CoreFoundation/CFPreferences.h>
14041 CFPreferencesCopyAppValue(NULL, NULL)
14046 if ac_fn_c_try_link "$LINENO"; then :
14047 gt_cv_func_CFPreferencesCopyAppValue=yes
14049 gt_cv_func_CFPreferencesCopyAppValue=no
14051 rm -f core conftest.err conftest.$ac_objext \
14052 conftest$ac_exeext conftest.$ac_ext
14053 LIBS="$gt_save_LIBS"
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14056 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14057 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14059 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14063 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14064 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
14065 $as_echo_n "(cached) " >&6
14067 gt_save_LIBS="$LIBS"
14068 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14070 /* end confdefs.h. */
14071 #include <CoreFoundation/CFLocale.h>
14075 CFLocaleCopyCurrent();
14080 if ac_fn_c_try_link "$LINENO"; then :
14081 gt_cv_func_CFLocaleCopyCurrent=yes
14083 gt_cv_func_CFLocaleCopyCurrent=no
14085 rm -f core conftest.err conftest.$ac_objext \
14086 conftest$ac_exeext conftest.$ac_ext
14087 LIBS="$gt_save_LIBS"
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14090 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14091 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14093 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14097 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14098 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
14110 case " $gt_needs " in
14111 *" need-formatstring-macros "*) gt_api_version=3 ;;
14112 *" need-ngettext "*) gt_api_version=2 ;;
14113 *) gt_api_version=1 ;;
14115 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
14116 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
14118 if test "$USE_NLS" = "yes"; then
14119 gt_use_preinstalled_gnugettext=no
14122 if test $gt_api_version -ge 3; then
14123 gt_revision_test_code='
14124 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14125 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14127 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14130 gt_revision_test_code=
14132 if test $gt_api_version -ge 2; then
14133 gt_expression_test_code=' + * ngettext ("", "", 0)'
14135 gt_expression_test_code=
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14139 $as_echo_n "checking for GNU gettext in libc... " >&6; }
14140 if eval \${$gt_func_gnugettext_libc+:} false; then :
14141 $as_echo_n "(cached) " >&6
14143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14144 /* end confdefs.h. */
14145 #include <libintl.h>
14146 $gt_revision_test_code
14147 extern int _nl_msg_cat_cntr;
14148 extern int *_nl_domain_bindings;
14152 bindtextdomain ("", "");
14153 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
14158 if ac_fn_c_try_link "$LINENO"; then :
14159 eval "$gt_func_gnugettext_libc=yes"
14161 eval "$gt_func_gnugettext_libc=no"
14163 rm -f core conftest.err conftest.$ac_objext \
14164 conftest$ac_exeext conftest.$ac_ext
14166 eval ac_res=\$$gt_func_gnugettext_libc
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14168 $as_echo "$ac_res" >&6; }
14170 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
14176 am_save_CPPFLAGS="$CPPFLAGS"
14178 for element in $INCICONV; do
14180 for x in $CPPFLAGS; do
14182 acl_save_prefix="$prefix"
14183 prefix="$acl_final_prefix"
14184 acl_save_exec_prefix="$exec_prefix"
14185 exec_prefix="$acl_final_exec_prefix"
14187 exec_prefix="$acl_save_exec_prefix"
14188 prefix="$acl_save_prefix"
14190 if test "X$x" = "X$element"; then
14195 if test -z "$haveit"; then
14196 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14202 $as_echo_n "checking for iconv... " >&6; }
14203 if ${am_cv_func_iconv+:} false; then :
14204 $as_echo_n "(cached) " >&6
14207 am_cv_func_iconv="no, consider installing GNU libiconv"
14209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14210 /* end confdefs.h. */
14211 #include <stdlib.h>
14216 iconv_t cd = iconv_open("","");
14217 iconv(cd,NULL,NULL,NULL,NULL);
14223 if ac_fn_c_try_link "$LINENO"; then :
14224 am_cv_func_iconv=yes
14226 rm -f core conftest.err conftest.$ac_objext \
14227 conftest$ac_exeext conftest.$ac_ext
14228 if test "$am_cv_func_iconv" != yes; then
14229 am_save_LIBS="$LIBS"
14230 LIBS="$LIBS $LIBICONV"
14231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14232 /* end confdefs.h. */
14233 #include <stdlib.h>
14238 iconv_t cd = iconv_open("","");
14239 iconv(cd,NULL,NULL,NULL,NULL);
14245 if ac_fn_c_try_link "$LINENO"; then :
14246 am_cv_lib_iconv=yes
14247 am_cv_func_iconv=yes
14249 rm -f core conftest.err conftest.$ac_objext \
14250 conftest$ac_exeext conftest.$ac_ext
14251 LIBS="$am_save_LIBS"
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14256 $as_echo "$am_cv_func_iconv" >&6; }
14257 if test "$am_cv_func_iconv" = yes; then
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
14259 $as_echo_n "checking for working iconv... " >&6; }
14260 if ${am_cv_func_iconv_works+:} false; then :
14261 $as_echo_n "(cached) " >&6
14264 am_save_LIBS="$LIBS"
14265 if test $am_cv_lib_iconv = yes; then
14266 LIBS="$LIBS $LIBICONV"
14268 if test "$cross_compiling" = yes; then :
14270 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
14271 *) am_cv_func_iconv_works="guessing yes" ;;
14274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h. */
14278 #include <string.h>
14281 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
14284 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
14285 if (cd_utf8_to_88591 != (iconv_t)(-1))
14287 static const char input[] = "\342\202\254"; /* EURO SIGN */
14289 const char *inptr = input;
14290 size_t inbytesleft = strlen (input);
14291 char *outptr = buf;
14292 size_t outbytesleft = sizeof (buf);
14293 size_t res = iconv (cd_utf8_to_88591,
14294 (char **) &inptr, &inbytesleft,
14295 &outptr, &outbytesleft);
14300 #if 0 /* This bug could be worked around by the caller. */
14301 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
14303 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
14304 if (cd_88591_to_utf8 != (iconv_t)(-1))
14306 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
14308 const char *inptr = input;
14309 size_t inbytesleft = strlen (input);
14310 char *outptr = buf;
14311 size_t outbytesleft = sizeof (buf);
14312 size_t res = iconv (cd_88591_to_utf8,
14313 (char **) &inptr, &inbytesleft,
14314 &outptr, &outbytesleft);
14320 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
14322 if (/* Try standardized names. */
14323 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
14324 /* Try IRIX, OSF/1 names. */
14325 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
14326 /* Try AIX names. */
14327 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
14328 /* Try HP-UX names. */
14329 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
14334 if ac_fn_c_try_run "$LINENO"; then :
14335 am_cv_func_iconv_works=yes
14337 am_cv_func_iconv_works=no
14339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14340 conftest.$ac_objext conftest.beam conftest.$ac_ext
14343 LIBS="$am_save_LIBS"
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
14347 $as_echo "$am_cv_func_iconv_works" >&6; }
14348 case "$am_cv_func_iconv_works" in
14349 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
14350 *) am_func_iconv=yes ;;
14353 am_func_iconv=no am_cv_lib_iconv=no
14355 if test "$am_func_iconv" = yes; then
14357 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14360 if test "$am_cv_lib_iconv" = yes; then
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14362 $as_echo_n "checking how to link with libiconv... " >&6; }
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14364 $as_echo "$LIBICONV" >&6; }
14366 CPPFLAGS="$am_save_CPPFLAGS"
14380 acl_save_prefix="$prefix"
14381 prefix="$acl_final_prefix"
14382 acl_save_exec_prefix="$exec_prefix"
14383 exec_prefix="$acl_final_exec_prefix"
14385 eval additional_includedir=\"$includedir\"
14386 eval additional_libdir=\"$libdir\"
14388 exec_prefix="$acl_save_exec_prefix"
14389 prefix="$acl_save_prefix"
14392 # Check whether --with-libintl-prefix was given.
14393 if test "${with_libintl_prefix+set}" = set; then :
14394 withval=$with_libintl_prefix;
14395 if test "X$withval" = "Xno"; then
14398 if test "X$withval" = "X"; then
14400 acl_save_prefix="$prefix"
14401 prefix="$acl_final_prefix"
14402 acl_save_exec_prefix="$exec_prefix"
14403 exec_prefix="$acl_final_exec_prefix"
14405 eval additional_includedir=\"$includedir\"
14406 eval additional_libdir=\"$libdir\"
14408 exec_prefix="$acl_save_exec_prefix"
14409 prefix="$acl_save_prefix"
14412 additional_includedir="$withval/include"
14413 additional_libdir="$withval/$acl_libdirstem"
14425 names_already_handled=
14426 names_next_round='intl '
14427 while test -n "$names_next_round"; do
14428 names_this_round="$names_next_round"
14430 for name in $names_this_round; do
14432 for n in $names_already_handled; do
14433 if test "$n" = "$name"; then
14434 already_handled=yes
14438 if test -z "$already_handled"; then
14439 names_already_handled="$names_already_handled $name"
14440 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14441 eval value=\"\$HAVE_LIB$uppername\"
14442 if test -n "$value"; then
14443 if test "$value" = yes; then
14444 eval value=\"\$LIB$uppername\"
14445 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
14446 eval value=\"\$LTLIB$uppername\"
14447 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
14456 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14457 if test -n "$acl_shlibext"; then
14458 shrext=".$acl_shlibext" # typically: shrext=.so
14462 if test $use_additional = yes; then
14463 dir="$additional_libdir"
14464 if test -n "$acl_shlibext"; then
14465 if test -f "$dir/$libname$shrext"; then
14467 found_so="$dir/$libname$shrext"
14469 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14470 ver=`(cd "$dir" && \
14471 for f in "$libname$shrext".*; do echo "$f"; done \
14472 | sed -e "s,^$libname$shrext\\\\.,," \
14473 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14474 | sed 1q ) 2>/dev/null`
14475 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14477 found_so="$dir/$libname$shrext.$ver"
14480 eval library_names=\"$acl_library_names_spec\"
14481 for f in $library_names; do
14482 if test -f "$dir/$f"; then
14491 if test "X$found_dir" = "X"; then
14492 if test -f "$dir/$libname.$acl_libext"; then
14494 found_a="$dir/$libname.$acl_libext"
14497 if test "X$found_dir" != "X"; then
14498 if test -f "$dir/$libname.la"; then
14499 found_la="$dir/$libname.la"
14503 if test "X$found_dir" = "X"; then
14504 for x in $LDFLAGS $LTLIBINTL; do
14506 acl_save_prefix="$prefix"
14507 prefix="$acl_final_prefix"
14508 acl_save_exec_prefix="$exec_prefix"
14509 exec_prefix="$acl_final_exec_prefix"
14511 exec_prefix="$acl_save_exec_prefix"
14512 prefix="$acl_save_prefix"
14516 dir=`echo "X$x" | sed -e 's/^X-L//'`
14517 if test -n "$acl_shlibext"; then
14518 if test -f "$dir/$libname$shrext"; then
14520 found_so="$dir/$libname$shrext"
14522 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14523 ver=`(cd "$dir" && \
14524 for f in "$libname$shrext".*; do echo "$f"; done \
14525 | sed -e "s,^$libname$shrext\\\\.,," \
14526 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14527 | sed 1q ) 2>/dev/null`
14528 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14530 found_so="$dir/$libname$shrext.$ver"
14533 eval library_names=\"$acl_library_names_spec\"
14534 for f in $library_names; do
14535 if test -f "$dir/$f"; then
14544 if test "X$found_dir" = "X"; then
14545 if test -f "$dir/$libname.$acl_libext"; then
14547 found_a="$dir/$libname.$acl_libext"
14550 if test "X$found_dir" != "X"; then
14551 if test -f "$dir/$libname.la"; then
14552 found_la="$dir/$libname.la"
14557 if test "X$found_dir" != "X"; then
14562 if test "X$found_dir" != "X"; then
14563 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14564 if test "X$found_so" != "X"; then
14565 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14566 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14569 for x in $ltrpathdirs; do
14570 if test "X$x" = "X$found_dir"; then
14575 if test -z "$haveit"; then
14576 ltrpathdirs="$ltrpathdirs $found_dir"
14578 if test "$acl_hardcode_direct" = yes; then
14579 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14581 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14582 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14584 for x in $rpathdirs; do
14585 if test "X$x" = "X$found_dir"; then
14590 if test -z "$haveit"; then
14591 rpathdirs="$rpathdirs $found_dir"
14595 for x in $LDFLAGS $LIBINTL; do
14597 acl_save_prefix="$prefix"
14598 prefix="$acl_final_prefix"
14599 acl_save_exec_prefix="$exec_prefix"
14600 exec_prefix="$acl_final_exec_prefix"
14602 exec_prefix="$acl_save_exec_prefix"
14603 prefix="$acl_save_prefix"
14605 if test "X$x" = "X-L$found_dir"; then
14610 if test -z "$haveit"; then
14611 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14613 if test "$acl_hardcode_minus_L" != no; then
14614 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14616 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14622 if test "X$found_a" != "X"; then
14623 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
14625 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14628 additional_includedir=
14629 case "$found_dir" in
14630 */$acl_libdirstem | */$acl_libdirstem/)
14631 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14632 LIBINTL_PREFIX="$basedir"
14633 additional_includedir="$basedir/include"
14636 if test "X$additional_includedir" != "X"; then
14637 if test "X$additional_includedir" != "X/usr/include"; then
14639 if test "X$additional_includedir" = "X/usr/local/include"; then
14640 if test -n "$GCC"; then
14642 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14646 if test -z "$haveit"; then
14647 for x in $CPPFLAGS $INCINTL; do
14649 acl_save_prefix="$prefix"
14650 prefix="$acl_final_prefix"
14651 acl_save_exec_prefix="$exec_prefix"
14652 exec_prefix="$acl_final_exec_prefix"
14654 exec_prefix="$acl_save_exec_prefix"
14655 prefix="$acl_save_prefix"
14657 if test "X$x" = "X-I$additional_includedir"; then
14662 if test -z "$haveit"; then
14663 if test -d "$additional_includedir"; then
14664 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14670 if test -n "$found_la"; then
14671 save_libdir="$libdir"
14672 case "$found_la" in
14673 */* | *\\*) . "$found_la" ;;
14674 *) . "./$found_la" ;;
14676 libdir="$save_libdir"
14677 for dep in $dependency_libs; do
14680 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14681 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14683 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14684 if test -n "$GCC"; then
14686 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14690 if test -z "$haveit"; then
14692 for x in $LDFLAGS $LIBINTL; do
14694 acl_save_prefix="$prefix"
14695 prefix="$acl_final_prefix"
14696 acl_save_exec_prefix="$exec_prefix"
14697 exec_prefix="$acl_final_exec_prefix"
14699 exec_prefix="$acl_save_exec_prefix"
14700 prefix="$acl_save_prefix"
14702 if test "X$x" = "X-L$additional_libdir"; then
14707 if test -z "$haveit"; then
14708 if test -d "$additional_libdir"; then
14709 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14713 for x in $LDFLAGS $LTLIBINTL; do
14715 acl_save_prefix="$prefix"
14716 prefix="$acl_final_prefix"
14717 acl_save_exec_prefix="$exec_prefix"
14718 exec_prefix="$acl_final_exec_prefix"
14720 exec_prefix="$acl_save_exec_prefix"
14721 prefix="$acl_save_prefix"
14723 if test "X$x" = "X-L$additional_libdir"; then
14728 if test -z "$haveit"; then
14729 if test -d "$additional_libdir"; then
14730 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14737 dir=`echo "X$dep" | sed -e 's/^X-R//'`
14738 if test "$enable_rpath" != no; then
14740 for x in $rpathdirs; do
14741 if test "X$x" = "X$dir"; then
14746 if test -z "$haveit"; then
14747 rpathdirs="$rpathdirs $dir"
14750 for x in $ltrpathdirs; do
14751 if test "X$x" = "X$dir"; then
14756 if test -z "$haveit"; then
14757 ltrpathdirs="$ltrpathdirs $dir"
14762 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14765 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14768 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
14769 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14775 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14776 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14782 if test "X$rpathdirs" != "X"; then
14783 if test -n "$acl_hardcode_libdir_separator"; then
14785 for found_dir in $rpathdirs; do
14786 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14788 acl_save_libdir="$libdir"
14790 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14791 libdir="$acl_save_libdir"
14792 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14794 for found_dir in $rpathdirs; do
14795 acl_save_libdir="$libdir"
14796 libdir="$found_dir"
14797 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14798 libdir="$acl_save_libdir"
14799 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14803 if test "X$ltrpathdirs" != "X"; then
14804 for found_dir in $ltrpathdirs; do
14805 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14810 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
14811 if eval \${$gt_func_gnugettext_libintl+:} false; then :
14812 $as_echo_n "(cached) " >&6
14814 gt_save_CPPFLAGS="$CPPFLAGS"
14815 CPPFLAGS="$CPPFLAGS $INCINTL"
14816 gt_save_LIBS="$LIBS"
14817 LIBS="$LIBS $LIBINTL"
14818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h. */
14820 #include <libintl.h>
14821 $gt_revision_test_code
14822 extern int _nl_msg_cat_cntr;
14827 const char *_nl_expand_alias (const char *);
14831 bindtextdomain ("", "");
14832 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14837 if ac_fn_c_try_link "$LINENO"; then :
14838 eval "$gt_func_gnugettext_libintl=yes"
14840 eval "$gt_func_gnugettext_libintl=no"
14842 rm -f core conftest.err conftest.$ac_objext \
14843 conftest$ac_exeext conftest.$ac_ext
14844 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14845 LIBS="$LIBS $LIBICONV"
14846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14848 #include <libintl.h>
14849 $gt_revision_test_code
14850 extern int _nl_msg_cat_cntr;
14855 const char *_nl_expand_alias (const char *);
14859 bindtextdomain ("", "");
14860 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14865 if ac_fn_c_try_link "$LINENO"; then :
14866 LIBINTL="$LIBINTL $LIBICONV"
14867 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
14868 eval "$gt_func_gnugettext_libintl=yes"
14871 rm -f core conftest.err conftest.$ac_objext \
14872 conftest$ac_exeext conftest.$ac_ext
14874 CPPFLAGS="$gt_save_CPPFLAGS"
14875 LIBS="$gt_save_LIBS"
14877 eval ac_res=\$$gt_func_gnugettext_libintl
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14879 $as_echo "$ac_res" >&6; }
14882 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14883 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14884 && test "$PACKAGE" != gettext-runtime \
14885 && test "$PACKAGE" != gettext-tools; }; then
14886 gt_use_preinstalled_gnugettext=yes
14895 if test -n "$INTL_MACOSX_LIBS"; then
14896 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14897 || test "$nls_cv_use_gnu_gettext" = "yes"; then
14898 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
14899 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
14903 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14904 || test "$nls_cv_use_gnu_gettext" = "yes"; then
14906 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14914 $as_echo_n "checking whether to use NLS... " >&6; }
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14916 $as_echo "$USE_NLS" >&6; }
14917 if test "$USE_NLS" = "yes"; then
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14919 $as_echo_n "checking where the gettext function comes from... " >&6; }
14920 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14921 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14922 gt_source="external libintl"
14927 gt_source="included intl directory"
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14930 $as_echo "$gt_source" >&6; }
14933 if test "$USE_NLS" = "yes"; then
14935 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14936 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14938 $as_echo_n "checking how to link with libintl... " >&6; }
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14940 $as_echo "$LIBINTL" >&6; }
14942 for element in $INCINTL; do
14944 for x in $CPPFLAGS; do
14946 acl_save_prefix="$prefix"
14947 prefix="$acl_final_prefix"
14948 acl_save_exec_prefix="$exec_prefix"
14949 exec_prefix="$acl_final_exec_prefix"
14951 exec_prefix="$acl_save_exec_prefix"
14952 prefix="$acl_save_prefix"
14954 if test "X$x" = "X$element"; then
14959 if test -z "$haveit"; then
14960 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14967 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14970 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14979 INTLLIBS="$LIBINTL"
14986 po_makefile_in=po/Makefile.in
14991 if test "x${POSUB}" = "x" ; then
14995 if test "x${have_po}" = "xyes"; then
15004 with_max_log_level="<unset>"
15006 # Check whether --with-internal-maximum-log-level was given.
15007 if test "${with_internal_maximum_log_level+set}" = set; then :
15008 withval=$with_internal_maximum_log_level;
15009 if test "x${withval}" != "xno"; then
15010 if echo "${withval}" | grep -E '^[0-9]+$' >/dev/null 2>/dev/null; then
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: ignoring any EINA_LOG() with level greater than ${withval}" >&5
15012 $as_echo "$as_me: ignoring any EINA_LOG() with level greater than ${withval}" >&6;}
15014 cat >>confdefs.h <<_ACEOF
15015 #define EINA_LOG_LEVEL_MAXIMUM ${withval}
15018 with_max_log_level="${withval}"
15020 as_fn_error $? "--with-internal-maximum-log-level takes a decimal number, got \"${withval}\" instead." "$LINENO" 5
15030 ### Default options with respect to host
15035 # dependencies and options
15037 want_local_sockets="yes"
15038 want_abstract_sockets="no"
15043 want_signature="no"
15046 want_notify_win32="no"
15051 want_ecore_con="yes"
15052 want_ecore_ipc="yes"
15053 want_ecore_file="yes"
15054 #want_ecore_config="no"
15055 want_ecore_imf="no"
15056 want_ecore_input="yes"
15058 # graphic system modules
15059 want_evas_simple_x11="no"
15060 want_ecore_x_xcb="no"
15062 want_ecore_win32="no"
15063 want_ecore_cocoa="no"
15064 want_ecore_sdl="no"
15065 want_ecore_psl1ght="no"
15067 want_ecore_directfb="no"
15068 want_ecore_wince="no"
15069 want_ecore_wayland="no"
15071 # ecore_x options (both xlib and xcb)
15072 want_ecore_x_composite="yes"
15073 want_ecore_x_damage="yes"
15074 want_ecore_x_dpms="yes"
15075 want_ecore_x_randr="yes"
15076 want_ecore_x_render="yes"
15077 want_ecore_x_screensaver="yes"
15078 want_ecore_x_shape="yes"
15079 want_ecore_x_gesture="no"
15080 want_ecore_x_sync="yes"
15081 want_ecore_x_xfixes="yes"
15082 want_ecore_x_xinerama="yes"
15083 want_ecore_x_xprint="yes"
15084 want_ecore_x_xtest="yes"
15085 want_ecore_x_cursor="yes"
15086 want_ecore_x_input="yes"
15087 want_ecore_x_dri="yes"
15089 # ecore_evas modules
15090 want_ecore_evas="yes"
15091 want_ecore_evas_software_buffer="yes"
15092 want_ecore_evas_software_x11="no"
15093 want_ecore_evas_opengl_x11="no"
15094 want_ecore_evas_software_16_x11="no"
15095 want_ecore_evas_software_8_x11="no"
15096 want_ecore_evas_software_xcb="no"
15097 want_ecore_evas_software_gdi="no"
15098 want_ecore_evas_software_ddraw="no"
15099 want_ecore_evas_direct3d="no"
15100 want_ecore_evas_opengl_glew="no"
15101 want_ecore_evas_software_16_ddraw="no"
15102 want_ecore_evas_software_sdl="no"
15103 want_ecore_evas_gl_sdl="no"
15104 want_ecore_evas_gl_cocoa="no"
15105 want_ecore_evas_psl1ght="no"
15106 want_ecore_evas_directfb="no"
15107 want_ecore_evas_fb="no"
15108 want_ecore_evas_software_16_wince="no"
15109 want_ecore_evas_ews="yes"
15110 want_ecore_evas_extn="yes"
15111 want_ecore_evas_wayland_shm="no"
15112 want_ecore_evas_wayland_egl="no"
15114 # ecore_imf modules
15115 want_ecore_imf_xim="no"
15116 want_ecore_imf_scim="no"
15117 want_ecore_imf_ibus="no"
15121 want_ecore_con="no"
15122 want_ecore_ipc="no"
15123 want_ecore_wince="yes"
15124 want_ecore_evas_software_16_wince="yes"
15125 want_ecore_evas_extn="no"
15128 want_notify_win32="yes"
15132 want_openssl="auto"
15133 want_ecore_imf="yes"
15134 want_ecore_win32="yes"
15135 want_ecore_evas_software_gdi="yes"
15136 want_ecore_evas_software_ddraw="yes"
15137 want_ecore_evas_direct3d="yes"
15138 want_ecore_evas_opengl_glew="yes"
15139 want_ecore_evas_software_16_ddraw="auto"
15140 want_ecore_evas_software_sdl="yes"
15141 want_ecore_evas_gl_sdl="yes"
15147 want_openssl="auto"
15148 want_ecore_imf="yes"
15149 want_ecore_cocoa="yes"
15150 want_ecore_evas_software_sdl="yes"
15151 want_ecore_evas_gl_sdl="yes"
15152 want_ecore_evas_gl_cocoa="yes"
15157 want_abstract_sockets="yes"
15159 want_openssl="auto"
15161 want_signature="yes"
15164 want_ecore_fb="yes"
15165 want_ecore_imf="yes"
15167 want_ecore_wayland="yes"
15168 want_ecore_evas_software_x11="yes"
15169 want_ecore_evas_opengl_x11="yes"
15170 want_ecore_evas_software_16_x11="yes"
15171 want_ecore_evas_software_8_x11="yes"
15172 want_ecore_evas_software_xcb="no"
15173 want_ecore_evas_software_sdl="yes"
15174 want_ecore_evas_gl_sdl="yes"
15175 want_ecore_evas_gl_cocoa="no"
15176 want_ecore_evas_directfb="yes"
15177 want_ecore_evas_fb="yes"
15178 want_ecore_evas_wayland_shm="yes"
15179 want_ecore_evas_wayland_egl="yes"
15180 want_ecore_imf_xim="yes"
15181 want_ecore_imf_scim="yes"
15182 want_ecore_imf_ibus="yes"
15186 case "$host_vendor" in
15188 want_local_sockets="no"
15191 requirements_ecore=""
15192 requirements_ecore_con=""
15193 #requirements_ecore_config=""
15194 requirements_ecore_directfb=""
15195 requirements_ecore_evas=""
15196 requirements_ecore_fb=""
15197 requirements_ecore_file=""
15198 requirements_ecore_imf=""
15199 requirements_ecore_imf_evas=""
15200 requirements_ecore_input=""
15201 requirements_ecore_input_evas=""
15202 requirements_ecore_ipc=""
15203 requirements_ecore_cocoa=""
15204 requirements_ecore_sdl=""
15205 requirements_ecore_psl1ght=""
15206 requirements_ecore_x=""
15207 requirements_ecore_win32=""
15208 requirements_ecore_wince=""
15209 requirements_ecore_imf_xim=""
15210 requirements_ecore_imf_scim=""
15211 requirements_ecore_imf_ibus=""
15212 requirements_ecore_wayland=""
15214 ### Additional options to configure
15216 want_glib_integration_always=no
15217 # Check whether --enable-glib-integration-always was given.
15218 if test "${enable_glib_integration_always+set}" = set; then :
15219 enableval=$enable_glib_integration_always; want_glib_integration_always=$enableval
15223 if test "x${want_glib_integration_always}" = "xyes" ; then
15225 $as_echo "#define GLIB_INTEGRATION_ALWAYS 1" >>confdefs.h
15230 want_g_main_loop=no
15231 # Check whether --enable-g-main-loop was given.
15232 if test "${enable_g_main_loop+set}" = set; then :
15233 enableval=$enable_g_main_loop; want_g_main_loop=$enableval
15237 if test "x${want_g_main_loop}" = "xyes" ; then
15239 $as_echo "#define USE_G_MAIN_LOOP 1" >>confdefs.h
15244 if test "x${want_glib_integration_always}" = "xyes" -a "x${want_g_main_loop}" = "xyes"; then
15245 as_fn_error $? "--enable-glib-integration-always and --enable-glib-main-loop are mutually exclusive" "$LINENO" 5
15248 # local sockets (ecore_con.c)
15249 # Check whether --enable-local-sockets was given.
15250 if test "${enable_local_sockets+set}" = set; then :
15251 enableval=$enable_local_sockets;
15252 if test "x${enableval}" = "xyes" ; then
15253 want_ecore_con_local_sockets="yes"
15255 want_ecore_con_local_sockets="no"
15259 want_ecore_con_local_sockets=${want_local_sockets}
15263 if test "x${want_ecore_con_local_sockets}" = "xyes" ; then
15265 $as_echo "#define HAVE_LOCAL_SOCKETS 1" >>confdefs.h
15269 # abstract sockets (ecore_con.c)
15270 # Check whether --enable-abstract-sockets was given.
15271 if test "${enable_abstract_sockets+set}" = set; then :
15272 enableval=$enable_abstract_sockets;
15273 if test "x${enableval}" = "xyes" ; then
15274 want_ecore_con_abstract_sockets="yes"
15276 want_ecore_con_abstract_sockets="no"
15280 want_ecore_con_abstract_sockets=${want_abstract_sockets}
15284 if test "x${want_ecore_con_abstract_sockets}" = "xyes" ; then
15286 $as_echo "#define HAVE_ABSTRACT_SOCKETS 1" >>confdefs.h
15290 # Simple X11 build/link
15292 # Check whether --enable-simple-x11 was given.
15293 if test "${enable_simple_x11+set}" = set; then :
15294 enableval=$enable_simple_x11; want_evas_simple_x11=$enableval
15299 # Check whether --enable-xim was given.
15300 if test "${enable_xim+set}" = set; then :
15301 enableval=$enable_xim;
15302 if test "x${enableval}" = "xyes" ; then
15313 if test "x${want_xim}" = "xyes" ; then
15315 $as_echo "#define ENABLE_XIM 1" >>confdefs.h
15319 ### Checks for programs
15323 ac_cpp='$OBJCPP $CPPFLAGS'
15324 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15325 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15326 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
15327 if test -n "$ac_tool_prefix"; then
15328 for ac_prog in gcc objcc objc cc CC
15330 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15331 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15333 $as_echo_n "checking for $ac_word... " >&6; }
15334 if ${ac_cv_prog_OBJC+:} false; then :
15335 $as_echo_n "(cached) " >&6
15337 if test -n "$OBJC"; then
15338 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
15340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15341 for as_dir in $PATH
15344 test -z "$as_dir" && as_dir=.
15345 for ac_exec_ext in '' $ac_executable_extensions; do
15346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15347 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
15348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15357 OBJC=$ac_cv_prog_OBJC
15358 if test -n "$OBJC"; then
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
15360 $as_echo "$OBJC" >&6; }
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15363 $as_echo "no" >&6; }
15367 test -n "$OBJC" && break
15370 if test -z "$OBJC"; then
15372 for ac_prog in gcc objcc objc cc CC
15374 # Extract the first word of "$ac_prog", so it can be a program name with args.
15375 set dummy $ac_prog; ac_word=$2
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15377 $as_echo_n "checking for $ac_word... " >&6; }
15378 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
15379 $as_echo_n "(cached) " >&6
15381 if test -n "$ac_ct_OBJC"; then
15382 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
15384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15385 for as_dir in $PATH
15388 test -z "$as_dir" && as_dir=.
15389 for ac_exec_ext in '' $ac_executable_extensions; do
15390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15391 ac_cv_prog_ac_ct_OBJC="$ac_prog"
15392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15401 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
15402 if test -n "$ac_ct_OBJC"; then
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
15404 $as_echo "$ac_ct_OBJC" >&6; }
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15407 $as_echo "no" >&6; }
15411 test -n "$ac_ct_OBJC" && break
15414 if test "x$ac_ct_OBJC" = x; then
15417 case $cross_compiling:$ac_tool_warned in
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15421 ac_tool_warned=yes ;;
15427 # Provide some information about the compiler.
15428 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
15431 for ac_option in --version -v -V -qversion; do
15432 { { ac_try="$ac_compiler $ac_option >&5"
15433 case "(($ac_try" in
15434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15435 *) ac_try_echo=$ac_try;;
15437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15438 $as_echo "$ac_try_echo"; } >&5
15439 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15441 if test -s conftest.err; then
15443 ... rest of stderr output deleted ...
15444 10q' conftest.err >conftest.er1
15445 cat conftest.er1 >&5
15447 rm -f conftest.er1 conftest.err
15448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15449 test $ac_status = 0; }
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
15453 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
15454 if ${ac_cv_objc_compiler_gnu+:} false; then :
15455 $as_echo_n "(cached) " >&6
15457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15458 /* end confdefs.h. */
15471 if ac_fn_objc_try_compile "$LINENO"; then :
15472 ac_compiler_gnu=yes
15476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15477 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
15481 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
15482 if test $ac_compiler_gnu = yes; then
15487 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
15488 ac_save_OBJCFLAGS=$OBJCFLAGS
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
15490 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
15491 if ${ac_cv_prog_objc_g+:} false; then :
15492 $as_echo_n "(cached) " >&6
15494 ac_save_objc_werror_flag=$ac_objc_werror_flag
15495 ac_objc_werror_flag=yes
15496 ac_cv_prog_objc_g=no
15498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15499 /* end confdefs.h. */
15509 if ac_fn_objc_try_compile "$LINENO"; then :
15510 ac_cv_prog_objc_g=yes
15513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15514 /* end confdefs.h. */
15524 if ac_fn_objc_try_compile "$LINENO"; then :
15527 ac_objc_werror_flag=$ac_save_objc_werror_flag
15529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15530 /* end confdefs.h. */
15540 if ac_fn_objc_try_compile "$LINENO"; then :
15541 ac_cv_prog_objc_g=yes
15543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15548 ac_objc_werror_flag=$ac_save_objc_werror_flag
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
15551 $as_echo "$ac_cv_prog_objc_g" >&6; }
15552 if test "$ac_test_OBJCFLAGS" = set; then
15553 OBJCFLAGS=$ac_save_OBJCFLAGS
15554 elif test $ac_cv_prog_objc_g = yes; then
15555 if test "$GOBJC" = yes; then
15561 if test "$GOBJC" = yes; then
15568 ac_cpp='$CPP $CPPFLAGS'
15569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15573 depcc="$OBJC" am_compiler_list='gcc3 gcc'
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15576 $as_echo_n "checking dependency style of $depcc... " >&6; }
15577 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
15578 $as_echo_n "(cached) " >&6
15580 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15581 # We make a subdir and do the tests there. Otherwise we can end up
15582 # making bogus files that we don't know about and never remove. For
15583 # instance it was reported that on HP-UX the gcc test will end up
15584 # making a dummy file named 'D' -- because '-MD' means "put the output
15586 rm -rf conftest.dir
15588 # Copy depcomp to subdir because otherwise we won't find it if we're
15589 # using a relative directory.
15590 cp "$am_depcomp" conftest.dir
15592 # We will build objects and dependencies in a subdirectory because
15593 # it helps to detect inapplicable dependency modes. For instance
15594 # both Tru64's cc and ICC support -MD to output dependencies as a
15595 # side effect of compilation, but ICC will put the dependencies in
15596 # the current directory while Tru64 will put them in the object
15600 am_cv_OBJC_dependencies_compiler_type=none
15601 if test "$am_compiler_list" = ""; then
15602 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15604 am__universal=false
15607 for depmode in $am_compiler_list; do
15608 # Setup a source with many dependencies, because some compilers
15609 # like to wrap large dependency lists on column 80 (with \), and
15610 # we should not choose a depcomp mode which is confused by this.
15612 # We need to recreate these files for each test, as the compiler may
15613 # overwrite some of them when testing with obscure command lines.
15614 # This happens at least with the AIX C compiler.
15616 for i in 1 2 3 4 5 6; do
15617 echo '#include "conftst'$i'.h"' >> sub/conftest.c
15618 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
15619 # Solaris 10 /bin/sh.
15620 echo '/* dummy */' > sub/conftst$i.h
15622 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15624 # We check with '-c' and '-o' for the sake of the "dashmstdout"
15625 # mode. It turns out that the SunPro C++ compiler does not properly
15626 # handle '-M -o', and we need to detect this. Also, some Intel
15627 # versions had trouble with output in subdirs.
15628 am__obj=sub/conftest.${OBJEXT-o}
15629 am__minus_obj="-o $am__obj"
15632 # This depmode causes a compiler race in universal mode.
15633 test "$am__universal" = false || continue
15636 # After this tag, mechanisms are not by side-effect, so they'll
15637 # only be used when explicitly requested.
15638 if test "x$enable_dependency_tracking" = xyes; then
15644 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
15645 # This compiler won't grok '-c -o', but also, the minuso test has
15646 # not run yet. These depmodes are late enough in the game, and
15647 # so weak that their functioning should not be impacted.
15648 am__obj=conftest.${OBJEXT-o}
15653 if depmode=$depmode \
15654 source=sub/conftest.c object=$am__obj \
15655 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15656 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15657 >/dev/null 2>conftest.err &&
15658 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15659 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15660 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15661 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15662 # icc doesn't choke on unknown options, it will just issue warnings
15663 # or remarks (even with -Werror). So we grep stderr for any message
15664 # that says an option was ignored or not supported.
15665 # When given -MP, icc 7.0 and 7.1 complain thusly:
15666 # icc: Command line warning: ignoring option '-M'; no argument required
15667 # The diagnosis changed in icc 8.0:
15668 # icc: Command line remark: option '-MP' not supported
15669 if (grep 'ignoring option' conftest.err ||
15670 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15671 am_cv_OBJC_dependencies_compiler_type=$depmode
15678 rm -rf conftest.dir
15680 am_cv_OBJC_dependencies_compiler_type=none
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
15685 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
15686 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
15689 test "x$enable_dependency_tracking" != xno \
15690 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
15691 am__fastdepOBJC_TRUE=
15692 am__fastdepOBJC_FALSE='#'
15694 am__fastdepOBJC_TRUE='#'
15695 am__fastdepOBJC_FALSE=
15700 depcc="$OBJC" am_compiler_list='gcc3 gcc'
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15703 $as_echo_n "checking dependency style of $depcc... " >&6; }
15704 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
15705 $as_echo_n "(cached) " >&6
15707 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15708 # We make a subdir and do the tests there. Otherwise we can end up
15709 # making bogus files that we don't know about and never remove. For
15710 # instance it was reported that on HP-UX the gcc test will end up
15711 # making a dummy file named 'D' -- because '-MD' means "put the output
15713 rm -rf conftest.dir
15715 # Copy depcomp to subdir because otherwise we won't find it if we're
15716 # using a relative directory.
15717 cp "$am_depcomp" conftest.dir
15719 # We will build objects and dependencies in a subdirectory because
15720 # it helps to detect inapplicable dependency modes. For instance
15721 # both Tru64's cc and ICC support -MD to output dependencies as a
15722 # side effect of compilation, but ICC will put the dependencies in
15723 # the current directory while Tru64 will put them in the object
15727 am_cv_OBJC_dependencies_compiler_type=none
15728 if test "$am_compiler_list" = ""; then
15729 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15731 am__universal=false
15734 for depmode in $am_compiler_list; do
15735 # Setup a source with many dependencies, because some compilers
15736 # like to wrap large dependency lists on column 80 (with \), and
15737 # we should not choose a depcomp mode which is confused by this.
15739 # We need to recreate these files for each test, as the compiler may
15740 # overwrite some of them when testing with obscure command lines.
15741 # This happens at least with the AIX C compiler.
15743 for i in 1 2 3 4 5 6; do
15744 echo '#include "conftst'$i'.h"' >> sub/conftest.c
15745 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
15746 # Solaris 10 /bin/sh.
15747 echo '/* dummy */' > sub/conftst$i.h
15749 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15751 # We check with '-c' and '-o' for the sake of the "dashmstdout"
15752 # mode. It turns out that the SunPro C++ compiler does not properly
15753 # handle '-M -o', and we need to detect this. Also, some Intel
15754 # versions had trouble with output in subdirs.
15755 am__obj=sub/conftest.${OBJEXT-o}
15756 am__minus_obj="-o $am__obj"
15759 # This depmode causes a compiler race in universal mode.
15760 test "$am__universal" = false || continue
15763 # After this tag, mechanisms are not by side-effect, so they'll
15764 # only be used when explicitly requested.
15765 if test "x$enable_dependency_tracking" = xyes; then
15771 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
15772 # This compiler won't grok '-c -o', but also, the minuso test has
15773 # not run yet. These depmodes are late enough in the game, and
15774 # so weak that their functioning should not be impacted.
15775 am__obj=conftest.${OBJEXT-o}
15780 if depmode=$depmode \
15781 source=sub/conftest.c object=$am__obj \
15782 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15783 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15784 >/dev/null 2>conftest.err &&
15785 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15786 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15787 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15788 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15789 # icc doesn't choke on unknown options, it will just issue warnings
15790 # or remarks (even with -Werror). So we grep stderr for any message
15791 # that says an option was ignored or not supported.
15792 # When given -MP, icc 7.0 and 7.1 complain thusly:
15793 # icc: Command line warning: ignoring option '-M'; no argument required
15794 # The diagnosis changed in icc 8.0:
15795 # icc: Command line remark: option '-MP' not supported
15796 if (grep 'ignoring option' conftest.err ||
15797 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15798 am_cv_OBJC_dependencies_compiler_type=$depmode
15805 rm -rf conftest.dir
15807 am_cv_OBJC_dependencies_compiler_type=none
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
15812 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
15813 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
15816 test "x$enable_dependency_tracking" != xno \
15817 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
15818 am__fastdepOBJC_TRUE=
15819 am__fastdepOBJC_FALSE='#'
15821 am__fastdepOBJC_TRUE='#'
15822 am__fastdepOBJC_FALSE=
15829 am__fastdepOBJC_TRUE=
15830 am__fastdepOBJC_FALSE='#'
15832 am__fastdepOBJC_TRUE='#'
15833 am__fastdepOBJC_FALSE=
15839 ac_cpp='$CXXCPP $CPPFLAGS'
15840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15843 if test -z "$CXX"; then
15844 if test -n "$CCC"; then
15847 if test -n "$ac_tool_prefix"; then
15848 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15850 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15851 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15853 $as_echo_n "checking for $ac_word... " >&6; }
15854 if ${ac_cv_prog_CXX+:} false; then :
15855 $as_echo_n "(cached) " >&6
15857 if test -n "$CXX"; then
15858 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15861 for as_dir in $PATH
15864 test -z "$as_dir" && as_dir=.
15865 for ac_exec_ext in '' $ac_executable_extensions; do
15866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15867 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15877 CXX=$ac_cv_prog_CXX
15878 if test -n "$CXX"; then
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
15880 $as_echo "$CXX" >&6; }
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15883 $as_echo "no" >&6; }
15887 test -n "$CXX" && break
15890 if test -z "$CXX"; then
15892 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15894 # Extract the first word of "$ac_prog", so it can be a program name with args.
15895 set dummy $ac_prog; ac_word=$2
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15897 $as_echo_n "checking for $ac_word... " >&6; }
15898 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
15899 $as_echo_n "(cached) " >&6
15901 if test -n "$ac_ct_CXX"; then
15902 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15905 for as_dir in $PATH
15908 test -z "$as_dir" && as_dir=.
15909 for ac_exec_ext in '' $ac_executable_extensions; do
15910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15911 ac_cv_prog_ac_ct_CXX="$ac_prog"
15912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15921 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15922 if test -n "$ac_ct_CXX"; then
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
15924 $as_echo "$ac_ct_CXX" >&6; }
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15927 $as_echo "no" >&6; }
15931 test -n "$ac_ct_CXX" && break
15934 if test "x$ac_ct_CXX" = x; then
15937 case $cross_compiling:$ac_tool_warned in
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15940 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15941 ac_tool_warned=yes ;;
15949 # Provide some information about the compiler.
15950 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
15953 for ac_option in --version -v -V -qversion; do
15954 { { ac_try="$ac_compiler $ac_option >&5"
15955 case "(($ac_try" in
15956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15957 *) ac_try_echo=$ac_try;;
15959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15960 $as_echo "$ac_try_echo"; } >&5
15961 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15963 if test -s conftest.err; then
15965 ... rest of stderr output deleted ...
15966 10q' conftest.err >conftest.er1
15967 cat conftest.er1 >&5
15969 rm -f conftest.er1 conftest.err
15970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15971 test $ac_status = 0; }
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
15975 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
15976 if ${ac_cv_cxx_compiler_gnu+:} false; then :
15977 $as_echo_n "(cached) " >&6
15979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15980 /* end confdefs.h. */
15993 if ac_fn_cxx_try_compile "$LINENO"; then :
15994 ac_compiler_gnu=yes
15998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15999 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
16003 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
16004 if test $ac_compiler_gnu = yes; then
16009 ac_test_CXXFLAGS=${CXXFLAGS+set}
16010 ac_save_CXXFLAGS=$CXXFLAGS
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
16012 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
16013 if ${ac_cv_prog_cxx_g+:} false; then :
16014 $as_echo_n "(cached) " >&6
16016 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16017 ac_cxx_werror_flag=yes
16018 ac_cv_prog_cxx_g=no
16020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16021 /* end confdefs.h. */
16031 if ac_fn_cxx_try_compile "$LINENO"; then :
16032 ac_cv_prog_cxx_g=yes
16035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16036 /* end confdefs.h. */
16046 if ac_fn_cxx_try_compile "$LINENO"; then :
16049 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16052 /* end confdefs.h. */
16062 if ac_fn_cxx_try_compile "$LINENO"; then :
16063 ac_cv_prog_cxx_g=yes
16065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16070 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
16073 $as_echo "$ac_cv_prog_cxx_g" >&6; }
16074 if test "$ac_test_CXXFLAGS" = set; then
16075 CXXFLAGS=$ac_save_CXXFLAGS
16076 elif test $ac_cv_prog_cxx_g = yes; then
16077 if test "$GXX" = yes; then
16083 if test "$GXX" = yes; then
16090 ac_cpp='$CPP $CPPFLAGS'
16091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16095 depcc="$CXX" am_compiler_list=
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16098 $as_echo_n "checking dependency style of $depcc... " >&6; }
16099 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
16100 $as_echo_n "(cached) " >&6
16102 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16103 # We make a subdir and do the tests there. Otherwise we can end up
16104 # making bogus files that we don't know about and never remove. For
16105 # instance it was reported that on HP-UX the gcc test will end up
16106 # making a dummy file named 'D' -- because '-MD' means "put the output
16108 rm -rf conftest.dir
16110 # Copy depcomp to subdir because otherwise we won't find it if we're
16111 # using a relative directory.
16112 cp "$am_depcomp" conftest.dir
16114 # We will build objects and dependencies in a subdirectory because
16115 # it helps to detect inapplicable dependency modes. For instance
16116 # both Tru64's cc and ICC support -MD to output dependencies as a
16117 # side effect of compilation, but ICC will put the dependencies in
16118 # the current directory while Tru64 will put them in the object
16122 am_cv_CXX_dependencies_compiler_type=none
16123 if test "$am_compiler_list" = ""; then
16124 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16126 am__universal=false
16127 case " $depcc " in #(
16128 *\ -arch\ *\ -arch\ *) am__universal=true ;;
16131 for depmode in $am_compiler_list; do
16132 # Setup a source with many dependencies, because some compilers
16133 # like to wrap large dependency lists on column 80 (with \), and
16134 # we should not choose a depcomp mode which is confused by this.
16136 # We need to recreate these files for each test, as the compiler may
16137 # overwrite some of them when testing with obscure command lines.
16138 # This happens at least with the AIX C compiler.
16140 for i in 1 2 3 4 5 6; do
16141 echo '#include "conftst'$i'.h"' >> sub/conftest.c
16142 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
16143 # Solaris 10 /bin/sh.
16144 echo '/* dummy */' > sub/conftst$i.h
16146 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16148 # We check with '-c' and '-o' for the sake of the "dashmstdout"
16149 # mode. It turns out that the SunPro C++ compiler does not properly
16150 # handle '-M -o', and we need to detect this. Also, some Intel
16151 # versions had trouble with output in subdirs.
16152 am__obj=sub/conftest.${OBJEXT-o}
16153 am__minus_obj="-o $am__obj"
16156 # This depmode causes a compiler race in universal mode.
16157 test "$am__universal" = false || continue
16160 # After this tag, mechanisms are not by side-effect, so they'll
16161 # only be used when explicitly requested.
16162 if test "x$enable_dependency_tracking" = xyes; then
16168 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
16169 # This compiler won't grok '-c -o', but also, the minuso test has
16170 # not run yet. These depmodes are late enough in the game, and
16171 # so weak that their functioning should not be impacted.
16172 am__obj=conftest.${OBJEXT-o}
16177 if depmode=$depmode \
16178 source=sub/conftest.c object=$am__obj \
16179 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16180 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16181 >/dev/null 2>conftest.err &&
16182 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16183 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16184 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16185 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16186 # icc doesn't choke on unknown options, it will just issue warnings
16187 # or remarks (even with -Werror). So we grep stderr for any message
16188 # that says an option was ignored or not supported.
16189 # When given -MP, icc 7.0 and 7.1 complain thusly:
16190 # icc: Command line warning: ignoring option '-M'; no argument required
16191 # The diagnosis changed in icc 8.0:
16192 # icc: Command line remark: option '-MP' not supported
16193 if (grep 'ignoring option' conftest.err ||
16194 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16195 am_cv_CXX_dependencies_compiler_type=$depmode
16202 rm -rf conftest.dir
16204 am_cv_CXX_dependencies_compiler_type=none
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
16209 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
16210 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
16213 test "x$enable_dependency_tracking" != xno \
16214 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
16215 am__fastdepCXX_TRUE=
16216 am__fastdepCXX_FALSE='#'
16218 am__fastdepCXX_TRUE='#'
16219 am__fastdepCXX_FALSE=
16225 func_stripname_cnf ()
16228 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16229 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16231 } # func_stripname_cnf
16233 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
16234 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
16235 (test "X$CXX" != "Xg++"))) ; then
16237 ac_cpp='$CXXCPP $CPPFLAGS'
16238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
16242 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
16243 if test -z "$CXXCPP"; then
16244 if ${ac_cv_prog_CXXCPP+:} false; then :
16245 $as_echo_n "(cached) " >&6
16247 # Double quotes because CXXCPP needs to be expanded
16248 for CXXCPP in "$CXX -E" "/lib/cpp"
16250 ac_preproc_ok=false
16251 for ac_cxx_preproc_warn_flag in '' yes
16253 # Use a header file that comes with gcc, so configuring glibc
16254 # with a fresh cross-compiler works.
16255 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16256 # <limits.h> exists even on freestanding compilers.
16257 # On the NeXT, cc -E runs the code through the compiler's parser,
16258 # not just through cpp. "Syntax error" is here to catch this case.
16259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16260 /* end confdefs.h. */
16262 # include <limits.h>
16264 # include <assert.h>
16268 if ac_fn_cxx_try_cpp "$LINENO"; then :
16271 # Broken: fails on valid input.
16274 rm -f conftest.err conftest.i conftest.$ac_ext
16276 # OK, works on sane cases. Now check whether nonexistent headers
16277 # can be detected and how.
16278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16279 /* end confdefs.h. */
16280 #include <ac_nonexistent.h>
16282 if ac_fn_cxx_try_cpp "$LINENO"; then :
16283 # Broken: success on invalid input.
16286 # Passes both tests.
16290 rm -f conftest.err conftest.i conftest.$ac_ext
16293 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16294 rm -f conftest.i conftest.err conftest.$ac_ext
16295 if $ac_preproc_ok; then :
16300 ac_cv_prog_CXXCPP=$CXXCPP
16303 CXXCPP=$ac_cv_prog_CXXCPP
16305 ac_cv_prog_CXXCPP=$CXXCPP
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
16308 $as_echo "$CXXCPP" >&6; }
16309 ac_preproc_ok=false
16310 for ac_cxx_preproc_warn_flag in '' yes
16312 # Use a header file that comes with gcc, so configuring glibc
16313 # with a fresh cross-compiler works.
16314 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16315 # <limits.h> exists even on freestanding compilers.
16316 # On the NeXT, cc -E runs the code through the compiler's parser,
16317 # not just through cpp. "Syntax error" is here to catch this case.
16318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16319 /* end confdefs.h. */
16321 # include <limits.h>
16323 # include <assert.h>
16327 if ac_fn_cxx_try_cpp "$LINENO"; then :
16330 # Broken: fails on valid input.
16333 rm -f conftest.err conftest.i conftest.$ac_ext
16335 # OK, works on sane cases. Now check whether nonexistent headers
16336 # can be detected and how.
16337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16338 /* end confdefs.h. */
16339 #include <ac_nonexistent.h>
16341 if ac_fn_cxx_try_cpp "$LINENO"; then :
16342 # Broken: success on invalid input.
16345 # Passes both tests.
16349 rm -f conftest.err conftest.i conftest.$ac_ext
16352 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16353 rm -f conftest.i conftest.err conftest.$ac_ext
16354 if $ac_preproc_ok; then :
16357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16359 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
16360 See \`config.log' for more details" "$LINENO" 5; }
16364 ac_cpp='$CPP $CPPFLAGS'
16365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16370 _lt_caught_CXX_error=yes
16374 ac_cpp='$CXXCPP $CPPFLAGS'
16375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16379 archive_cmds_need_lc_CXX=no
16380 allow_undefined_flag_CXX=
16381 always_export_symbols_CXX=no
16382 archive_expsym_cmds_CXX=
16383 compiler_needs_object_CXX=no
16384 export_dynamic_flag_spec_CXX=
16385 hardcode_direct_CXX=no
16386 hardcode_direct_absolute_CXX=no
16387 hardcode_libdir_flag_spec_CXX=
16388 hardcode_libdir_separator_CXX=
16389 hardcode_minus_L_CXX=no
16390 hardcode_shlibpath_var_CXX=unsupported
16391 hardcode_automatic_CXX=no
16392 inherit_rpath_CXX=no
16394 module_expsym_cmds_CXX=
16395 link_all_deplibs_CXX=unknown
16396 old_archive_cmds_CXX=$old_archive_cmds
16397 reload_flag_CXX=$reload_flag
16398 reload_cmds_CXX=$reload_cmds
16399 no_undefined_flag_CXX=
16400 whole_archive_flag_spec_CXX=
16401 enable_shared_with_static_runtimes_CXX=no
16403 # Source file extension for C++ test sources.
16406 # Object file extension for compiled C++ test sources.
16410 # No sense in running all these tests if we already determined that
16411 # the CXX compiler isn't working. Some variables (like enable_shared)
16412 # are currently assumed to apply to all compilers on this platform,
16413 # and will be corrupted by setting them based on a non-working compiler.
16414 if test "$_lt_caught_CXX_error" != yes; then
16415 # Code to be used in simple compile tests
16416 lt_simple_compile_test_code="int some_variable = 0;"
16418 # Code to be used in simple link tests
16419 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
16421 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16428 # If no C compiler was specified, use CC.
16431 # If no C compiler flags were specified, use CFLAGS.
16432 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16434 # Allow CC to be a program name with arguments.
16438 # save warnings/boilerplate of simple test code
16439 ac_outfile=conftest.$ac_objext
16440 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16441 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16442 _lt_compiler_boilerplate=`cat conftest.err`
16445 ac_outfile=conftest.$ac_objext
16446 echo "$lt_simple_link_test_code" >conftest.$ac_ext
16447 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16448 _lt_linker_boilerplate=`cat conftest.err`
16452 # Allow CC to be a program name with arguments.
16454 lt_save_CFLAGS=$CFLAGS
16458 lt_save_with_gnu_ld=$with_gnu_ld
16459 lt_save_path_LD=$lt_cv_path_LD
16460 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
16461 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
16463 $as_unset lt_cv_prog_gnu_ld
16465 if test -n "${lt_cv_path_LDCXX+set}"; then
16466 lt_cv_path_LD=$lt_cv_path_LDCXX
16468 $as_unset lt_cv_path_LD
16470 test -z "${LDCXX+set}" || LD=$LDCXX
16475 for cc_temp in $compiler""; do
16477 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16478 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16483 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16486 if test -n "$compiler"; then
16487 # We don't want -fno-exception when compiling C++ code, so set the
16488 # no_builtin_flag separately
16489 if test "$GXX" = yes; then
16490 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
16492 lt_prog_compiler_no_builtin_flag_CXX=
16495 if test "$GXX" = yes; then
16496 # Set up default GNU C++ configuration
16500 # Check whether --with-gnu-ld was given.
16501 if test "${with_gnu_ld+set}" = set; then :
16502 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
16508 if test "$GCC" = yes; then
16509 # Check if gcc -print-prog-name=ld gives a path.
16510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
16511 $as_echo_n "checking for ld used by $CC... " >&6; }
16514 # gcc leaves a trailing carriage return which upsets mingw
16515 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16517 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16520 # Accept absolute paths.
16522 re_direlt='/[^/][^/]*/\.\./'
16523 # Canonicalize the pathname of ld
16524 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
16525 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
16526 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
16528 test -z "$LD" && LD="$ac_prog"
16531 # If it fails, then pretend we aren't using GCC.
16535 # If it is relative, then search for the first ld in PATH.
16536 with_gnu_ld=unknown
16539 elif test "$with_gnu_ld" = yes; then
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16541 $as_echo_n "checking for GNU ld... " >&6; }
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16544 $as_echo_n "checking for non-GNU ld... " >&6; }
16546 if ${lt_cv_path_LD+:} false; then :
16547 $as_echo_n "(cached) " >&6
16549 if test -z "$LD"; then
16550 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16551 for ac_dir in $PATH; do
16553 test -z "$ac_dir" && ac_dir=.
16554 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16555 lt_cv_path_LD="$ac_dir/$ac_prog"
16556 # Check to see if the program is GNU ld. I'd rather use --version,
16557 # but apparently some variants of GNU ld only accept -v.
16558 # Break only if it was the GNU/non-GNU ld that we prefer.
16559 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16560 *GNU* | *'with BFD'*)
16561 test "$with_gnu_ld" != no && break
16564 test "$with_gnu_ld" != yes && break
16571 lt_cv_path_LD="$LD" # Let the user override the test with a path.
16575 LD="$lt_cv_path_LD"
16576 if test -n "$LD"; then
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16578 $as_echo "$LD" >&6; }
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16581 $as_echo "no" >&6; }
16583 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16585 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16586 if ${lt_cv_prog_gnu_ld+:} false; then :
16587 $as_echo_n "(cached) " >&6
16589 # I'd rather use --version here, but apparently some GNU lds only accept -v.
16590 case `$LD -v 2>&1 </dev/null` in
16591 *GNU* | *'with BFD'*)
16592 lt_cv_prog_gnu_ld=yes
16595 lt_cv_prog_gnu_ld=no
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
16600 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
16601 with_gnu_ld=$lt_cv_prog_gnu_ld
16609 # Check if GNU C++ uses GNU ld as the underlying linker, since the
16610 # archiving commands below assume that GNU ld is being used.
16611 if test "$with_gnu_ld" = yes; then
16612 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16613 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16615 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16616 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16618 # If archive_cmds runs LD, not CC, wlarc should be empty
16619 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
16620 # investigate it a little bit more. (MM)
16623 # ancient GNU ld didn't support --whole-archive et. al.
16624 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
16625 $GREP 'no-whole-archive' > /dev/null; then
16626 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16628 whole_archive_flag_spec_CXX=
16634 # A generic and very simple default shared library creation
16635 # command for GNU C++ for the case where it uses the native
16636 # linker, instead of GNU ld. If possible, this setting should
16637 # overridden to take advantage of the native linker features on
16638 # the platform it is being used on.
16639 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16642 # Commands to make compiler produce verbose output that lists
16643 # what "hidden" libraries, object files and flags are used when
16644 # linking a shared library.
16645 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16653 # PORTME: fill in a description of your system's C++ link characteristics
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16655 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16659 # FIXME: insert proper C++ library support
16663 if test "$host_cpu" = ia64; then
16664 # On IA64, the linker does run time linking by default, so we don't
16665 # have to do anything special.
16666 aix_use_runtimelinking=no
16667 exp_sym_flag='-Bexport'
16670 aix_use_runtimelinking=no
16672 # Test if we are trying to use run time linking or normal
16673 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16674 # need to do runtime linking.
16675 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16676 for ld_flag in $LDFLAGS; do
16679 aix_use_runtimelinking=yes
16687 exp_sym_flag='-bexport'
16688 no_entry_flag='-bnoentry'
16691 # When large executables or shared objects are built, AIX ld can
16692 # have problems creating the table of contents. If linking a library
16693 # or program results in "error TOC overflow" add -mminimal-toc to
16694 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16695 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16697 archive_cmds_CXX=''
16698 hardcode_direct_CXX=yes
16699 hardcode_direct_absolute_CXX=yes
16700 hardcode_libdir_separator_CXX=':'
16701 link_all_deplibs_CXX=yes
16702 file_list_spec_CXX='${wl}-f,'
16704 if test "$GXX" = yes; then
16705 case $host_os in aix4.[012]|aix4.[012].*)
16706 # We only want to do this on AIX 4.2 and lower, the check
16707 # below for broken collect2 doesn't work under 4.3+
16708 collect2name=`${CC} -print-prog-name=collect2`
16709 if test -f "$collect2name" &&
16710 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
16712 # We have reworked collect2
16715 # We have old collect2
16716 hardcode_direct_CXX=unsupported
16717 # It fails to find uninstalled libraries when the uninstalled
16718 # path is not listed in the libpath. Setting hardcode_minus_L
16719 # to unsupported forces relinking
16720 hardcode_minus_L_CXX=yes
16721 hardcode_libdir_flag_spec_CXX='-L$libdir'
16722 hardcode_libdir_separator_CXX=
16725 shared_flag='-shared'
16726 if test "$aix_use_runtimelinking" = yes; then
16727 shared_flag="$shared_flag "'${wl}-G'
16731 if test "$host_cpu" = ia64; then
16732 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16733 # chokes on -Wl,-G. The following line is correct:
16736 if test "$aix_use_runtimelinking" = yes; then
16737 shared_flag='${wl}-G'
16739 shared_flag='${wl}-bM:SRE'
16744 export_dynamic_flag_spec_CXX='${wl}-bexpall'
16745 # It seems that -bexpall does not export symbols beginning with
16746 # underscore (_), so it is better to generate a list of symbols to
16748 always_export_symbols_CXX=yes
16749 if test "$aix_use_runtimelinking" = yes; then
16750 # Warning - without using the other runtime loading flags (-brtl),
16751 # -berok will link without error, but may produce a broken library.
16752 allow_undefined_flag_CXX='-berok'
16753 # Determine the default libpath from the value encoded in an empty
16755 if test "${lt_cv_aix_libpath+set}" = set; then
16756 aix_libpath=$lt_cv_aix_libpath
16758 if ${lt_cv_aix_libpath__CXX+:} false; then :
16759 $as_echo_n "(cached) " >&6
16761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16762 /* end confdefs.h. */
16772 if ac_fn_cxx_try_link "$LINENO"; then :
16774 lt_aix_libpath_sed='
16775 /Import File Strings/,/^$/ {
16777 s/^0 *\([^ ]*\) *$/\1/
16781 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16782 # Check for a 64-bit object if we didn't find anything.
16783 if test -z "$lt_cv_aix_libpath__CXX"; then
16784 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16787 rm -f core conftest.err conftest.$ac_objext \
16788 conftest$ac_exeext conftest.$ac_ext
16789 if test -z "$lt_cv_aix_libpath__CXX"; then
16790 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
16795 aix_libpath=$lt_cv_aix_libpath__CXX
16798 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16800 archive_expsym_cmds_CXX='$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"
16802 if test "$host_cpu" = ia64; then
16803 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
16804 allow_undefined_flag_CXX="-z nodefs"
16805 archive_expsym_cmds_CXX="\$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"
16807 # Determine the default libpath from the value encoded in an
16808 # empty executable.
16809 if test "${lt_cv_aix_libpath+set}" = set; then
16810 aix_libpath=$lt_cv_aix_libpath
16812 if ${lt_cv_aix_libpath__CXX+:} false; then :
16813 $as_echo_n "(cached) " >&6
16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16826 if ac_fn_cxx_try_link "$LINENO"; then :
16828 lt_aix_libpath_sed='
16829 /Import File Strings/,/^$/ {
16831 s/^0 *\([^ ]*\) *$/\1/
16835 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16836 # Check for a 64-bit object if we didn't find anything.
16837 if test -z "$lt_cv_aix_libpath__CXX"; then
16838 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16841 rm -f core conftest.err conftest.$ac_objext \
16842 conftest$ac_exeext conftest.$ac_ext
16843 if test -z "$lt_cv_aix_libpath__CXX"; then
16844 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
16849 aix_libpath=$lt_cv_aix_libpath__CXX
16852 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16853 # Warning - without using the other run time loading flags,
16854 # -berok will link without error, but may produce a broken library.
16855 no_undefined_flag_CXX=' ${wl}-bernotok'
16856 allow_undefined_flag_CXX=' ${wl}-berok'
16857 if test "$with_gnu_ld" = yes; then
16858 # We only use this code for GNU lds that support --whole-archive.
16859 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
16861 # Exported symbols can be pulled into shared objects from archives
16862 whole_archive_flag_spec_CXX='$convenience'
16864 archive_cmds_need_lc_CXX=yes
16865 # This is similar to how AIX traditionally builds its shared
16867 archive_expsym_cmds_CXX="\$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'
16873 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
16874 allow_undefined_flag_CXX=unsupported
16875 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16876 # support --undefined. This deserves some investigation. FIXME
16877 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16884 case $cc_basename in
16886 # FIXME: insert proper C++ library support
16892 cygwin* | mingw* | pw32* | cegcc*)
16893 case $GXX,$cc_basename in
16896 # hardcode_libdir_flag_spec is actually meaningless, as there is
16897 # no search path for DLLs.
16898 hardcode_libdir_flag_spec_CXX=' '
16899 allow_undefined_flag_CXX=unsupported
16900 always_export_symbols_CXX=yes
16901 file_list_spec_CXX='@'
16902 # Tell ltmain to make .lib files, not .a files.
16904 # Tell ltmain to make .dll files, not .so files.
16906 # FIXME: Setting linknames here is a bad hack.
16907 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
16908 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16909 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
16911 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
16913 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
16915 # The linker will not automatically build a static lib if we build a DLL.
16916 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
16917 enable_shared_with_static_runtimes_CXX=yes
16919 old_postinstall_cmds_CXX='chmod 644 $oldlib'
16920 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
16921 lt_tool_outputfile="@TOOL_OUTPUT@"~
16922 case $lt_outputfile in
16925 lt_outputfile="$lt_outputfile.exe"
16926 lt_tool_outputfile="$lt_tool_outputfile.exe"
16929 func_to_tool_file "$lt_outputfile"~
16930 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
16931 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
16932 $RM "$lt_outputfile.manifest";
16937 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
16938 # as there is no search path for DLLs.
16939 hardcode_libdir_flag_spec_CXX='-L$libdir'
16940 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
16941 allow_undefined_flag_CXX=unsupported
16942 always_export_symbols_CXX=no
16943 enable_shared_with_static_runtimes_CXX=yes
16945 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
16946 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16947 # If the export-symbols file already is a .def file (1st line
16948 # is EXPORTS), use it as is; otherwise, prepend...
16949 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16950 cp $export_symbols $output_objdir/$soname.def;
16952 echo EXPORTS > $output_objdir/$soname.def;
16953 cat $export_symbols >> $output_objdir/$soname.def;
16955 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16962 darwin* | rhapsody*)
16965 archive_cmds_need_lc_CXX=no
16966 hardcode_direct_CXX=no
16967 hardcode_automatic_CXX=yes
16968 hardcode_shlibpath_var_CXX=unsupported
16969 if test "$lt_cv_ld_force_load" = "yes"; then
16970 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
16973 whole_archive_flag_spec_CXX=''
16975 link_all_deplibs_CXX=yes
16976 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
16977 case $cc_basename in
16978 ifort*) _lt_dar_can_shared=yes ;;
16979 *) _lt_dar_can_shared=$GCC ;;
16981 if test "$_lt_dar_can_shared" = "yes"; then
16982 output_verbose_link_cmd=func_echo_all
16983 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
16984 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
16985 archive_expsym_cmds_CXX="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}"
16986 module_expsym_cmds_CXX="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}"
16987 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
16988 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
16989 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
16999 case $cc_basename in
17001 # FIXME: insert proper C++ library support
17005 # Green Hills C++ Compiler
17006 # FIXME: insert proper C++ library support
17010 # FIXME: insert proper C++ library support
17017 # C++ shared libraries reported to be fairly broken before
17023 archive_cmds_need_lc_CXX=no
17026 freebsd* | dragonfly*)
17027 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
17036 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17037 link_all_deplibs_CXX=yes
17041 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
17042 hardcode_libdir_separator_CXX=:
17043 export_dynamic_flag_spec_CXX='${wl}-E'
17044 hardcode_direct_CXX=yes
17045 hardcode_minus_L_CXX=yes # Not in the search PATH,
17046 # but as the default
17047 # location of the library.
17049 case $cc_basename in
17051 # FIXME: insert proper C++ library support
17055 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17056 # Commands to make compiler produce verbose output that lists
17057 # what "hidden" libraries, object files and flags are used when
17058 # linking a shared library.
17060 # There doesn't appear to be a way to prevent this compiler from
17061 # explicitly linking system object files so we need to strip them
17062 # from the output so that they don't get included in the library
17064 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
17067 if test "$GXX" = yes; then
17068 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17070 # FIXME: insert proper C++ library support
17078 if test $with_gnu_ld = no; then
17079 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
17080 hardcode_libdir_separator_CXX=:
17086 export_dynamic_flag_spec_CXX='${wl}-E'
17092 hardcode_direct_CXX=no
17093 hardcode_shlibpath_var_CXX=no
17096 hardcode_direct_CXX=yes
17097 hardcode_direct_absolute_CXX=yes
17098 hardcode_minus_L_CXX=yes # Not in the search PATH,
17099 # but as the default
17100 # location of the library.
17104 case $cc_basename in
17106 # FIXME: insert proper C++ library support
17112 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17115 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17118 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17121 # Commands to make compiler produce verbose output that lists
17122 # what "hidden" libraries, object files and flags are used when
17123 # linking a shared library.
17125 # There doesn't appear to be a way to prevent this compiler from
17126 # explicitly linking system object files so we need to strip them
17127 # from the output so that they don't get included in the library
17129 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
17132 if test "$GXX" = yes; then
17133 if test $with_gnu_ld = no; then
17136 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17139 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17142 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17147 # FIXME: insert proper C++ library support
17155 hardcode_direct_CXX=no
17156 hardcode_shlibpath_var_CXX=no
17157 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17158 export_dynamic_flag_spec_CXX='${wl}-E'
17159 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17160 # Instead, shared libraries are loaded at an image base (0x10000000 by
17161 # default) and relocated if they conflict, which is a slow very memory
17162 # consuming and fragmenting process. To avoid this, we pick a random,
17163 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17164 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17165 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17166 archive_expsym_cmds_CXX='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'
17169 case $cc_basename in
17172 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
17174 # Archives containing C++ object files must be created using
17175 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
17176 # necessary to make sure instantiated templates are included
17178 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
17181 if test "$GXX" = yes; then
17182 if test "$with_gnu_ld" = no; then
17183 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
17185 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
17188 link_all_deplibs_CXX=yes
17191 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17192 hardcode_libdir_separator_CXX=:
17193 inherit_rpath_CXX=yes
17196 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17197 case $cc_basename in
17199 # Kuck and Associates, Inc. (KAI) C++ Compiler
17201 # KCC will only create a shared library if the output file
17202 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17203 # to its proper name (with version) after linking.
17204 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
17205 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
17206 # Commands to make compiler produce verbose output that lists
17207 # what "hidden" libraries, object files and flags are used when
17208 # linking a shared library.
17210 # There doesn't appear to be a way to prevent this compiler from
17211 # explicitly linking system object files so we need to strip them
17212 # from the output so that they don't get included in the library
17214 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
17216 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17217 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17219 # Archives containing C++ object files must be created using
17220 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
17221 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
17226 # version 8.0 and above of icpc choke on multiply defined symbols
17227 # if we add $predep_objects and $postdep_objects, however 7.1 and
17228 # earlier do not add the objects themselves.
17229 case `$CC -V 2>&1` in
17231 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17232 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17234 *) # Version 8.0 or newer
17237 ia64*) tmp_idyn=' -i_dynamic';;
17239 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17240 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17243 archive_cmds_need_lc_CXX=no
17244 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17245 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17246 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
17249 # Portland Group C++ compiler
17251 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
17252 prelink_cmds_CXX='tpldir=Template.dir~
17254 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
17255 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
17256 old_archive_cmds_CXX='tpldir=Template.dir~
17258 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
17259 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
17261 archive_cmds_CXX='tpldir=Template.dir~
17263 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17264 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
17265 archive_expsym_cmds_CXX='tpldir=Template.dir~
17267 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17268 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
17270 *) # Version 6 and above use weak symbols
17271 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
17272 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
17276 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
17277 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17278 whole_archive_flag_spec_CXX='${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'
17282 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17283 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
17285 runpath_var=LD_RUN_PATH
17286 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
17287 hardcode_libdir_separator_CXX=:
17289 # Commands to make compiler produce verbose output that lists
17290 # what "hidden" libraries, object files and flags are used when
17291 # linking a shared library.
17293 # There doesn't appear to be a way to prevent this compiler from
17294 # explicitly linking system object files so we need to strip them
17295 # from the output so that they don't get included in the library
17297 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
17299 xl* | mpixl* | bgxl*)
17300 # IBM XL 8.0 on PPC, with GNU ld
17301 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17302 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17303 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17304 if test "x$supports_anon_versioning" = xyes; then
17305 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
17306 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17307 echo "local: *; };" >> $output_objdir/$libname.ver~
17308 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17312 case `$CC -V 2>&1 | sed 5q` in
17315 no_undefined_flag_CXX=' -zdefs'
17316 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17317 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
17318 hardcode_libdir_flag_spec_CXX='-R$libdir'
17319 whole_archive_flag_spec_CXX='${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'
17320 compiler_needs_object_CXX=yes
17322 # Not sure whether something based on
17323 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
17325 output_verbose_link_cmd='func_echo_all'
17327 # Archives containing C++ object files must be created using
17328 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17329 # necessary to make sure instantiated templates are included
17331 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
17339 # FIXME: insert proper C++ library support
17344 # FIXME: insert proper C++ library support
17349 case $cc_basename in
17351 # FIXME: insert proper C++ library support
17355 # FIXME: insert proper C++ library support
17362 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17363 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
17365 hardcode_libdir_flag_spec_CXX='-R$libdir'
17366 hardcode_direct_CXX=yes
17367 hardcode_shlibpath_var_CXX=no
17369 # Workaround some broken pre-1.5 toolchains
17370 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
17378 # C++ shared libraries are fairly broken
17383 if test -f /usr/libexec/ld.so; then
17384 hardcode_direct_CXX=yes
17385 hardcode_shlibpath_var_CXX=no
17386 hardcode_direct_absolute_CXX=yes
17387 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17388 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17389 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17390 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
17391 export_dynamic_flag_spec_CXX='${wl}-E'
17392 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17394 output_verbose_link_cmd=func_echo_all
17400 osf3* | osf4* | osf5*)
17401 case $cc_basename in
17403 # Kuck and Associates, Inc. (KAI) C++ Compiler
17405 # KCC will only create a shared library if the output file
17406 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17407 # to its proper name (with version) after linking.
17408 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
17410 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17411 hardcode_libdir_separator_CXX=:
17413 # Archives containing C++ object files must be created using
17414 # the KAI C++ compiler.
17416 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
17417 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
17421 # Rational C++ 2.4.1
17422 # FIXME: insert proper C++ library support
17428 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
17429 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
17430 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17433 allow_undefined_flag_CXX=' -expect_unresolved \*'
17434 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
17435 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
17436 echo "-hidden">> $lib.exp~
17437 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
17439 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
17443 hardcode_libdir_separator_CXX=:
17445 # Commands to make compiler produce verbose output that lists
17446 # what "hidden" libraries, object files and flags are used when
17447 # linking a shared library.
17449 # There doesn't appear to be a way to prevent this compiler from
17450 # explicitly linking system object files so we need to strip them
17451 # from the output so that they don't get included in the library
17453 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
17456 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17457 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
17460 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
17463 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
17467 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17468 hardcode_libdir_separator_CXX=:
17470 # Commands to make compiler produce verbose output that lists
17471 # what "hidden" libraries, object files and flags are used when
17472 # linking a shared library.
17473 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17476 # FIXME: insert proper C++ library support
17484 # FIXME: insert proper C++ library support
17489 case $cc_basename in
17492 # FIXME: insert proper C++ library support
17497 # FIXME: insert proper C++ library support
17501 # FIXME: insert proper C++ library support
17508 case $cc_basename in
17510 # Sun C++ 4.2, 5.x and Centerline C++
17511 archive_cmds_need_lc_CXX=yes
17512 no_undefined_flag_CXX=' -zdefs'
17513 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17514 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17515 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
17517 hardcode_libdir_flag_spec_CXX='-R$libdir'
17518 hardcode_shlibpath_var_CXX=no
17520 solaris2.[0-5] | solaris2.[0-5].*) ;;
17522 # The compiler driver will combine and reorder linker options,
17523 # but understands `-z linker_flag'.
17524 # Supported since Solaris 2.6 (maybe 2.5.1?)
17525 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
17528 link_all_deplibs_CXX=yes
17530 output_verbose_link_cmd='func_echo_all'
17532 # Archives containing C++ object files must be created using
17533 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17534 # necessary to make sure instantiated templates are included
17536 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
17539 # Green Hills C++ Compiler
17540 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17542 # The C++ compiler must be used to create the archive.
17543 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
17546 # GNU C++ compiler with Solaris linker
17547 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17548 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
17549 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
17550 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17551 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17552 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
17554 # Commands to make compiler produce verbose output that lists
17555 # what "hidden" libraries, object files and flags are used when
17556 # linking a shared library.
17557 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17559 # g++ 2.7 appears to require `-G' NOT `-shared' on this
17561 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17562 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17563 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
17565 # Commands to make compiler produce verbose output that lists
17566 # what "hidden" libraries, object files and flags are used when
17567 # linking a shared library.
17568 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17571 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
17573 solaris2.[0-5] | solaris2.[0-5].*) ;;
17575 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17583 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17584 no_undefined_flag_CXX='${wl}-z,text'
17585 archive_cmds_need_lc_CXX=no
17586 hardcode_shlibpath_var_CXX=no
17587 runpath_var='LD_RUN_PATH'
17589 case $cc_basename in
17591 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17592 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17595 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17596 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17601 sysv5* | sco3.2v5* | sco5v6*)
17602 # Note: We can NOT use -z defs as we might desire, because we do not
17603 # link with -lc, and that would cause any symbols used from libc to
17604 # always be unresolved, which means just about no library would
17605 # ever link correctly. If we're not using GNU ld we use -z text
17606 # though, which does catch some bad symbols but isn't as heavy-handed
17608 no_undefined_flag_CXX='${wl}-z,text'
17609 allow_undefined_flag_CXX='${wl}-z,nodefs'
17610 archive_cmds_need_lc_CXX=no
17611 hardcode_shlibpath_var_CXX=no
17612 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
17613 hardcode_libdir_separator_CXX=':'
17614 link_all_deplibs_CXX=yes
17615 export_dynamic_flag_spec_CXX='${wl}-Bexport'
17616 runpath_var='LD_RUN_PATH'
17618 case $cc_basename in
17620 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17621 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17622 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
17623 '"$old_archive_cmds_CXX"
17624 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
17625 '"$reload_cmds_CXX"
17628 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17629 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17635 case $cc_basename in
17637 # NonStop-UX NCC 3.20
17638 # FIXME: insert proper C++ library support
17642 # FIXME: insert proper C++ library support
17649 # FIXME: insert proper C++ library support
17654 # FIXME: insert proper C++ library support
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17660 $as_echo "$ld_shlibs_CXX" >&6; }
17661 test "$ld_shlibs_CXX" = no && can_build_shared=no
17667 ## There is no encapsulation within the following macros, do not change
17668 ## the running order or otherwise move them around unless you know exactly
17669 ## what you are doing...
17670 # Dependencies to place before and after the object being linked:
17671 predep_objects_CXX=
17672 postdep_objects_CXX=
17675 compiler_lib_search_path_CXX=
17677 cat > conftest.$ac_ext <<_LT_EOF
17681 Foo (void) { a = 0; }
17688 _lt_libdeps_save_CFLAGS=$CFLAGS
17689 case "$CC $CFLAGS " in #(
17690 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
17691 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
17692 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
17695 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17696 (eval $ac_compile) 2>&5
17698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17699 test $ac_status = 0; }; then
17700 # Parse the compiler output and extract the necessary
17701 # objects, libraries and library flags.
17703 # Sentinel used to keep track of whether or not we are before
17704 # the conftest object file.
17705 pre_test_object_deps_done=no
17707 for p in `eval "$output_verbose_link_cmd"`; do
17708 case ${prev}${p} in
17711 # Some compilers place space between "-{L,R}" and the path.
17712 # Remove the space.
17713 if test $p = "-L" ||
17714 test $p = "-R"; then
17719 # Expand the sysroot to ease extracting the directories later.
17720 if test -z "$prev"; then
17722 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
17723 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
17724 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
17728 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
17730 if test "$pre_test_object_deps_done" = no; then
17733 # Internal compiler library paths should come after those
17734 # provided the user. The postdeps already come after the
17735 # user supplied libs so there is no need to process them.
17736 if test -z "$compiler_lib_search_path_CXX"; then
17737 compiler_lib_search_path_CXX="${prev}${p}"
17739 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
17742 # The "-l" case would never come before the object being
17743 # linked, so don't bother handling this case.
17746 if test -z "$postdeps_CXX"; then
17747 postdeps_CXX="${prev}${p}"
17749 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
17755 *.lto.$objext) ;; # Ignore GCC LTO objects
17757 # This assumes that the test object file only shows up
17758 # once in the compiler output.
17759 if test "$p" = "conftest.$objext"; then
17760 pre_test_object_deps_done=yes
17764 if test "$pre_test_object_deps_done" = no; then
17765 if test -z "$predep_objects_CXX"; then
17766 predep_objects_CXX="$p"
17768 predep_objects_CXX="$predep_objects_CXX $p"
17771 if test -z "$postdep_objects_CXX"; then
17772 postdep_objects_CXX="$p"
17774 postdep_objects_CXX="$postdep_objects_CXX $p"
17779 *) ;; # Ignore the rest.
17787 echo "libtool.m4: error: problem compiling CXX test program"
17790 $RM -f confest.$objext
17791 CFLAGS=$_lt_libdeps_save_CFLAGS
17793 # PORTME: override above test on systems where it is broken
17796 # Interix 3.5 installs completely hosed .la files for C++, so rather than
17797 # hack all around it, let's just trust "g++" to DTRT.
17798 predep_objects_CXX=
17799 postdep_objects_CXX=
17804 case `$CC -V 2>&1 | sed 5q` in
17808 # The more standards-conforming stlport4 library is
17809 # incompatible with the Cstd library. Avoid specifying
17810 # it if it's in CXXFLAGS. Ignore libCrun as
17811 # -library=stlport4 depends on it.
17812 case " $CXX $CXXFLAGS " in
17813 *" -library=stlport4 "*)
17814 solaris_use_stlport4=yes
17818 if test "$solaris_use_stlport4" != yes; then
17819 postdeps_CXX='-library=Cstd -library=Crun'
17826 case $cc_basename in
17828 # The more standards-conforming stlport4 library is
17829 # incompatible with the Cstd library. Avoid specifying
17830 # it if it's in CXXFLAGS. Ignore libCrun as
17831 # -library=stlport4 depends on it.
17832 case " $CXX $CXXFLAGS " in
17833 *" -library=stlport4 "*)
17834 solaris_use_stlport4=yes
17838 # Adding this requires a known-good setup of shared libraries for
17839 # Sun compiler versions before 5.6, else PIC objects from an old
17840 # archive will be linked into the output, leading to subtle bugs.
17841 if test "$solaris_use_stlport4" != yes; then
17842 postdeps_CXX='-library=Cstd -library=Crun'
17850 case " $postdeps_CXX " in
17851 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
17853 compiler_lib_search_dirs_CXX=
17854 if test -n "${compiler_lib_search_path_CXX}"; then
17855 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
17888 lt_prog_compiler_wl_CXX=
17889 lt_prog_compiler_pic_CXX=
17890 lt_prog_compiler_static_CXX=
17893 # C++ specific cases for pic, static, wl, etc.
17894 if test "$GXX" = yes; then
17895 lt_prog_compiler_wl_CXX='-Wl,'
17896 lt_prog_compiler_static_CXX='-static'
17900 # All AIX code is PIC.
17901 if test "$host_cpu" = ia64; then
17902 # AIX 5 now supports IA64 processor
17903 lt_prog_compiler_static_CXX='-Bstatic'
17910 # see comment about AmigaOS4 .so support
17911 lt_prog_compiler_pic_CXX='-fPIC'
17914 # FIXME: we need at least 68020 code to build shared libraries, but
17915 # adding the `-m68020' flag to GCC prevents building anything better,
17917 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
17922 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17923 # PIC is the default for these OSes.
17925 mingw* | cygwin* | os2* | pw32* | cegcc*)
17926 # This hack is so that the source file can tell whether it is being
17927 # built for inclusion in a dll (and should export symbols for example).
17928 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17929 # (--disable-auto-import) libraries
17930 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
17932 darwin* | rhapsody*)
17933 # PIC is the default on this platform
17934 # Common symbols not allowed in MH_DYLIB files
17935 lt_prog_compiler_pic_CXX='-fno-common'
17938 # DJGPP does not support shared libraries at all
17939 lt_prog_compiler_pic_CXX=
17942 # PIC is the default for Haiku.
17943 # The "-static" flag exists, but is broken.
17944 lt_prog_compiler_static_CXX=
17947 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17948 # Instead, we relocate shared libraries at runtime.
17951 if test -d /usr/nec; then
17952 lt_prog_compiler_pic_CXX=-Kconform_pic
17956 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17957 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
17958 # sets the default TLS model and affects inlining.
17963 lt_prog_compiler_pic_CXX='-fPIC'
17968 # QNX uses GNU C++, but need to define -shared option too, otherwise
17969 # it will coredump.
17970 lt_prog_compiler_pic_CXX='-fPIC -shared'
17973 lt_prog_compiler_pic_CXX='-fPIC'
17979 # All AIX code is PIC.
17980 if test "$host_cpu" = ia64; then
17981 # AIX 5 now supports IA64 processor
17982 lt_prog_compiler_static_CXX='-Bstatic'
17984 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
17988 case $cc_basename in
17990 # Green Hills C++ Compiler
17991 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
17995 mingw* | cygwin* | os2* | pw32* | cegcc*)
17996 # This hack is so that the source file can tell whether it is being
17997 # built for inclusion in a dll (and should export symbols for example).
17998 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
18001 case $cc_basename in
18003 lt_prog_compiler_pic_CXX='-KPIC'
18006 # Green Hills C++ Compiler
18007 lt_prog_compiler_pic_CXX='-pic'
18013 freebsd* | dragonfly*)
18014 # FreeBSD uses GNU C++
18016 hpux9* | hpux10* | hpux11*)
18017 case $cc_basename in
18019 lt_prog_compiler_wl_CXX='-Wl,'
18020 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
18021 if test "$host_cpu" != ia64; then
18022 lt_prog_compiler_pic_CXX='+Z'
18026 lt_prog_compiler_wl_CXX='-Wl,'
18027 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
18033 lt_prog_compiler_pic_CXX='+Z'
18042 # This is c89, which is MS Visual C++ (no shared libs)
18043 # Anyone wants to do a port?
18045 irix5* | irix6* | nonstopux*)
18046 case $cc_basename in
18048 lt_prog_compiler_wl_CXX='-Wl,'
18049 lt_prog_compiler_static_CXX='-non_shared'
18050 # CC pic flag -KPIC is the default.
18056 linux* | k*bsd*-gnu | kopensolaris*-gnu)
18057 case $cc_basename in
18060 lt_prog_compiler_wl_CXX='--backend -Wl,'
18061 lt_prog_compiler_pic_CXX='-fPIC'
18064 # old Intel C++ for x86_64 which still supported -KPIC.
18065 lt_prog_compiler_wl_CXX='-Wl,'
18066 lt_prog_compiler_pic_CXX='-KPIC'
18067 lt_prog_compiler_static_CXX='-static'
18070 # Intel C++, used to be incompatible with GCC.
18071 # ICC 10 doesn't accept -KPIC any more.
18072 lt_prog_compiler_wl_CXX='-Wl,'
18073 lt_prog_compiler_pic_CXX='-fPIC'
18074 lt_prog_compiler_static_CXX='-static'
18077 # Portland Group C++ compiler
18078 lt_prog_compiler_wl_CXX='-Wl,'
18079 lt_prog_compiler_pic_CXX='-fpic'
18080 lt_prog_compiler_static_CXX='-Bstatic'
18084 # Make sure the PIC flag is empty. It appears that all Alpha
18085 # Linux and Compaq Tru64 Unix objects are PIC.
18086 lt_prog_compiler_pic_CXX=
18087 lt_prog_compiler_static_CXX='-non_shared'
18089 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
18090 # IBM XL 8.0, 9.0 on PPC and BlueGene
18091 lt_prog_compiler_wl_CXX='-Wl,'
18092 lt_prog_compiler_pic_CXX='-qpic'
18093 lt_prog_compiler_static_CXX='-qstaticlink'
18096 case `$CC -V 2>&1 | sed 5q` in
18099 lt_prog_compiler_pic_CXX='-KPIC'
18100 lt_prog_compiler_static_CXX='-Bstatic'
18101 lt_prog_compiler_wl_CXX='-Qoption ld '
18112 case $cc_basename in
18114 lt_prog_compiler_pic_CXX='-W c,exportall'
18123 # QNX uses GNU C++, but need to define -shared option too, otherwise
18124 # it will coredump.
18125 lt_prog_compiler_pic_CXX='-fPIC -shared'
18127 osf3* | osf4* | osf5*)
18128 case $cc_basename in
18130 lt_prog_compiler_wl_CXX='--backend -Wl,'
18133 # Rational C++ 2.4.1
18134 lt_prog_compiler_pic_CXX='-pic'
18137 # Digital/Compaq C++
18138 lt_prog_compiler_wl_CXX='-Wl,'
18139 # Make sure the PIC flag is empty. It appears that all Alpha
18140 # Linux and Compaq Tru64 Unix objects are PIC.
18141 lt_prog_compiler_pic_CXX=
18142 lt_prog_compiler_static_CXX='-non_shared'
18151 case $cc_basename in
18153 # Sun C++ 4.2, 5.x and Centerline C++
18154 lt_prog_compiler_pic_CXX='-KPIC'
18155 lt_prog_compiler_static_CXX='-Bstatic'
18156 lt_prog_compiler_wl_CXX='-Qoption ld '
18159 # Green Hills C++ Compiler
18160 lt_prog_compiler_pic_CXX='-PIC'
18167 case $cc_basename in
18170 lt_prog_compiler_pic_CXX='-pic'
18171 lt_prog_compiler_static_CXX='-Bstatic'
18175 lt_prog_compiler_pic_CXX='-pic'
18181 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18182 case $cc_basename in
18184 lt_prog_compiler_wl_CXX='-Wl,'
18185 lt_prog_compiler_pic_CXX='-KPIC'
18186 lt_prog_compiler_static_CXX='-Bstatic'
18191 case $cc_basename in
18193 # NonStop-UX NCC 3.20
18194 lt_prog_compiler_pic_CXX='-KPIC'
18203 lt_prog_compiler_can_build_shared_CXX=no
18209 # For platforms which do not support PIC, -DPIC is meaningless:
18211 lt_prog_compiler_pic_CXX=
18214 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
18219 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18220 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
18221 $as_echo_n "(cached) " >&6
18223 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
18225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
18226 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
18227 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
18230 # Check to make sure the PIC flag actually works.
18232 if test -n "$lt_prog_compiler_pic_CXX"; then
18233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
18234 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
18235 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
18236 $as_echo_n "(cached) " >&6
18238 lt_cv_prog_compiler_pic_works_CXX=no
18239 ac_outfile=conftest.$ac_objext
18240 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18241 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
18242 # Insert the option either (1) after the last *FLAGS variable, or
18243 # (2) before a word containing "conftest.", or (3) at the end.
18244 # Note that $ac_compile itself does not contain backslashes and begins
18245 # with a dollar sign (not a hyphen), so the echo should work correctly.
18246 # The option is referenced via a variable to avoid confusing sed.
18247 lt_compile=`echo "$ac_compile" | $SED \
18248 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18249 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18250 -e 's:$: $lt_compiler_flag:'`
18251 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18252 (eval "$lt_compile" 2>conftest.err)
18254 cat conftest.err >&5
18255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18256 if (exit $ac_status) && test -s "$ac_outfile"; then
18257 # The compiler can only warn and ignore the option if not recognized
18258 # So say no if there are warnings other than the usual output.
18259 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
18260 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18261 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18262 lt_cv_prog_compiler_pic_works_CXX=yes
18268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
18269 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
18271 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
18272 case $lt_prog_compiler_pic_CXX in
18274 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
18277 lt_prog_compiler_pic_CXX=
18278 lt_prog_compiler_can_build_shared_CXX=no
18288 # Check to make sure the static flag actually works.
18290 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18292 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
18293 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
18294 $as_echo_n "(cached) " >&6
18296 lt_cv_prog_compiler_static_works_CXX=no
18297 save_LDFLAGS="$LDFLAGS"
18298 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18299 echo "$lt_simple_link_test_code" > conftest.$ac_ext
18300 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18301 # The linker can only warn and ignore the option if not recognized
18302 # So say no if there are warnings
18303 if test -s conftest.err; then
18304 # Append any errors to the config.log.
18305 cat conftest.err 1>&5
18306 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
18307 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18308 if diff conftest.exp conftest.er2 >/dev/null; then
18309 lt_cv_prog_compiler_static_works_CXX=yes
18312 lt_cv_prog_compiler_static_works_CXX=yes
18316 LDFLAGS="$save_LDFLAGS"
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
18320 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
18322 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
18325 lt_prog_compiler_static_CXX=
18331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18332 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18333 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
18334 $as_echo_n "(cached) " >&6
18336 lt_cv_prog_compiler_c_o_CXX=no
18337 $RM -r conftest 2>/dev/null
18341 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18343 lt_compiler_flag="-o out/conftest2.$ac_objext"
18344 # Insert the option either (1) after the last *FLAGS variable, or
18345 # (2) before a word containing "conftest.", or (3) at the end.
18346 # Note that $ac_compile itself does not contain backslashes and begins
18347 # with a dollar sign (not a hyphen), so the echo should work correctly.
18348 lt_compile=`echo "$ac_compile" | $SED \
18349 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18350 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18351 -e 's:$: $lt_compiler_flag:'`
18352 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18353 (eval "$lt_compile" 2>out/conftest.err)
18355 cat out/conftest.err >&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 if (exit $ac_status) && test -s out/conftest2.$ac_objext
18359 # The compiler can only warn and ignore the option if not recognized
18360 # So say no if there are warnings
18361 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
18362 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18363 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18364 lt_cv_prog_compiler_c_o_CXX=yes
18369 # SGI C++ compiler will create directory out/ii_files/ for
18370 # template instantiation
18371 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
18372 $RM out/* && rmdir out
18378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18379 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18384 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18385 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
18386 $as_echo_n "(cached) " >&6
18388 lt_cv_prog_compiler_c_o_CXX=no
18389 $RM -r conftest 2>/dev/null
18393 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18395 lt_compiler_flag="-o out/conftest2.$ac_objext"
18396 # Insert the option either (1) after the last *FLAGS variable, or
18397 # (2) before a word containing "conftest.", or (3) at the end.
18398 # Note that $ac_compile itself does not contain backslashes and begins
18399 # with a dollar sign (not a hyphen), so the echo should work correctly.
18400 lt_compile=`echo "$ac_compile" | $SED \
18401 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18402 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18403 -e 's:$: $lt_compiler_flag:'`
18404 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18405 (eval "$lt_compile" 2>out/conftest.err)
18407 cat out/conftest.err >&5
18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409 if (exit $ac_status) && test -s out/conftest2.$ac_objext
18411 # The compiler can only warn and ignore the option if not recognized
18412 # So say no if there are warnings
18413 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
18414 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18415 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18416 lt_cv_prog_compiler_c_o_CXX=yes
18421 # SGI C++ compiler will create directory out/ii_files/ for
18422 # template instantiation
18423 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
18424 $RM out/* && rmdir out
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18431 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
18436 hard_links="nottested"
18437 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
18438 # do not overwrite the value of need_locks provided by the user
18439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
18440 $as_echo_n "checking if we can lock with hard links... " >&6; }
18443 ln conftest.a conftest.b 2>/dev/null && hard_links=no
18445 ln conftest.a conftest.b 2>&5 || hard_links=no
18446 ln conftest.a conftest.b 2>/dev/null && hard_links=no
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
18448 $as_echo "$hard_links" >&6; }
18449 if test "$hard_links" = no; then
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18451 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18461 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18463 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18464 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18467 # If we're using GNU nm, then we don't want the "-C" option.
18468 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18469 # Also, AIX nm treats weak defined symbols like other global defined
18470 # symbols, whereas GNU nm marks them as "W".
18471 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
18472 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
18474 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
18478 export_symbols_cmds_CXX="$ltdll_cmds"
18480 cygwin* | mingw* | cegcc*)
18481 case $cc_basename in
18483 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
18486 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
18487 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
18492 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18497 $as_echo "$ld_shlibs_CXX" >&6; }
18498 test "$ld_shlibs_CXX" = no && can_build_shared=no
18500 with_gnu_ld_CXX=$with_gnu_ld
18508 # Do we need to explicitly link libc?
18510 case "x$archive_cmds_need_lc_CXX" in
18512 # Assume -lc should be added
18513 archive_cmds_need_lc_CXX=yes
18515 if test "$enable_shared" = yes && test "$GCC" = yes; then
18516 case $archive_cmds_CXX in
18518 # FIXME: we may have to deal with multi-command sequences.
18521 # Test whether the compiler implicitly links with -lc since on some
18522 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18523 # to ld, don't add -lc before -lgcc.
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18525 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18526 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
18527 $as_echo_n "(cached) " >&6
18530 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18532 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18533 (eval $ac_compile) 2>&5
18535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18536 test $ac_status = 0; } 2>conftest.err; then
18539 libobjs=conftest.$ac_objext
18541 wl=$lt_prog_compiler_wl_CXX
18542 pic_flag=$lt_prog_compiler_pic_CXX
18548 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
18549 allow_undefined_flag_CXX=
18550 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18551 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
18553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18554 test $ac_status = 0; }
18556 lt_cv_archive_cmds_need_lc_CXX=no
18558 lt_cv_archive_cmds_need_lc_CXX=yes
18560 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
18562 cat conftest.err 1>&5
18567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
18568 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
18569 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
18638 $as_echo_n "checking dynamic linker characteristics... " >&6; }
18640 library_names_spec=
18641 libname_spec='lib$name'
18645 postuninstall_cmds=
18649 shlibpath_overrides_runpath=unknown
18651 dynamic_linker="$host_os ld.so"
18652 sys_lib_dlsearch_path_spec="/lib /usr/lib"
18653 need_lib_prefix=unknown
18654 hardcode_into_libs=no
18656 # when you set need_version to no, make sure it does not cause -set_version
18657 # flags to be left without arguments
18658 need_version=unknown
18662 version_type=linux # correct to gnu/linux during the next big refactor
18663 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18664 shlibpath_var=LIBPATH
18666 # AIX 3 has no versioning support, so we append a major version to the name.
18667 soname_spec='${libname}${release}${shared_ext}$major'
18671 version_type=linux # correct to gnu/linux during the next big refactor
18674 hardcode_into_libs=yes
18675 if test "$host_cpu" = ia64; then
18676 # AIX 5 supports IA64
18677 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18678 shlibpath_var=LD_LIBRARY_PATH
18680 # With GCC up to 2.95.x, collect2 would create an import file
18681 # for dependence libraries. The import file would start with
18682 # the line `#! .'. This would cause the generated library to
18683 # depend on `.', always an invalid library. This was fixed in
18684 # development snapshots of GCC prior to 3.0.
18686 aix4 | aix4.[01] | aix4.[01].*)
18687 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18689 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
18692 can_build_shared=no
18696 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18697 # soname into executable. Probably we can add versioning support to
18698 # collect2, so additional links can be useful in future.
18699 if test "$aix_use_runtimelinking" = yes; then
18700 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18701 # instead of lib<name>.a to let people know that these are not
18702 # typical AIX shared libraries.
18703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18705 # We preserve .a as extension for shared libraries through AIX4.2
18706 # and later when we are not doing run time linking.
18707 library_names_spec='${libname}${release}.a $libname.a'
18708 soname_spec='${libname}${release}${shared_ext}$major'
18710 shlibpath_var=LIBPATH
18717 # Since July 2007 AmigaOS4 officially supports .so libraries.
18718 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
18719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18722 library_names_spec='$libname.ixlibrary $libname.a'
18723 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18724 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'
18730 library_names_spec='${libname}${shared_ext}'
18731 dynamic_linker="$host_os ld.so"
18732 shlibpath_var=LIBRARY_PATH
18736 version_type=linux # correct to gnu/linux during the next big refactor
18738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18739 soname_spec='${libname}${release}${shared_ext}$major'
18740 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18741 shlibpath_var=LD_LIBRARY_PATH
18742 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18743 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18744 # the default ld.so.conf also contains /usr/contrib/lib and
18745 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18746 # libtool to hard-code these into programs
18749 cygwin* | mingw* | pw32* | cegcc*)
18750 version_type=windows
18755 case $GCC,$cc_basename in
18758 library_names_spec='$libname.dll.a'
18759 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18760 postinstall_cmds='base_file=`basename \${file}`~
18761 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
18762 dldir=$destdir/`dirname \$dlpath`~
18763 test -d \$dldir || mkdir -p \$dldir~
18764 $install_prog $dir/$dlname \$dldir/$dlname~
18765 chmod a+x \$dldir/$dlname~
18766 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18767 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18769 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18770 dlpath=$dir/\$dldll~
18772 shlibpath_overrides_runpath=yes
18776 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18777 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18781 # MinGW DLLs use traditional 'lib' prefix
18782 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18785 # pw32 DLLs use 'pw' prefix rather than 'lib'
18786 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18789 dynamic_linker='Win32 ld.exe'
18794 libname_spec='$name'
18795 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18796 library_names_spec='${libname}.dll.lib'
18800 sys_lib_search_path_spec=
18803 for lt_path in $LIB
18806 # Let DOS variable expansion print the short 8.3 style file name.
18807 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
18808 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
18811 # Convert to MSYS style.
18812 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
18815 # Convert to unix form, then to dos form, then back to unix form
18816 # but this time dos style (no spaces!) so that the unix form looks
18817 # like /cygdrive/c/PROGRA~1:/cygdr...
18818 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
18819 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
18820 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18823 sys_lib_search_path_spec="$LIB"
18824 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
18825 # It is most probably a Windows format PATH.
18826 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18828 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18830 # FIXME: find the short name or the path components, as spaces are
18831 # common. (e.g. "Program Files" -> "PROGRA~1")
18835 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18836 postinstall_cmds='base_file=`basename \${file}`~
18837 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
18838 dldir=$destdir/`dirname \$dlpath`~
18839 test -d \$dldir || mkdir -p \$dldir~
18840 $install_prog $dir/$dlname \$dldir/$dlname'
18841 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18842 dlpath=$dir/\$dldll~
18844 shlibpath_overrides_runpath=yes
18845 dynamic_linker='Win32 link.exe'
18849 # Assume MSVC wrapper
18850 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18851 dynamic_linker='Win32 ld.exe'
18854 # FIXME: first we should search . and the directory the executable is in
18858 darwin* | rhapsody*)
18859 dynamic_linker="$host_os dyld"
18860 version_type=darwin
18863 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18864 soname_spec='${libname}${release}${major}$shared_ext'
18865 shlibpath_overrides_runpath=yes
18866 shlibpath_var=DYLD_LIBRARY_PATH
18867 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18869 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18873 version_type=linux # correct to gnu/linux during the next big refactor
18876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18877 soname_spec='${libname}${release}${shared_ext}$major'
18878 shlibpath_var=LD_LIBRARY_PATH
18881 freebsd* | dragonfly*)
18882 # DragonFly does not have aout. When/if they implement a new
18883 # versioning mechanism, adjust this.
18884 if test -x /usr/bin/objformat; then
18885 objformat=`/usr/bin/objformat`
18888 freebsd[23].*) objformat=aout ;;
18889 *) objformat=elf ;;
18892 version_type=freebsd-$objformat
18893 case $version_type in
18895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18900 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18904 shlibpath_var=LD_LIBRARY_PATH
18907 shlibpath_overrides_runpath=yes
18909 freebsd3.[01]* | freebsdelf3.[01]*)
18910 shlibpath_overrides_runpath=yes
18911 hardcode_into_libs=yes
18913 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18914 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18915 shlibpath_overrides_runpath=no
18916 hardcode_into_libs=yes
18918 *) # from 4.6 on, and DragonFly
18919 shlibpath_overrides_runpath=yes
18920 hardcode_into_libs=yes
18926 version_type=linux # correct to gnu/linux during the next big refactor
18929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18930 soname_spec='${libname}${release}${shared_ext}$major'
18931 shlibpath_var=LD_LIBRARY_PATH
18932 shlibpath_overrides_runpath=no
18933 hardcode_into_libs=yes
18937 version_type=linux # correct to gnu/linux during the next big refactor
18940 dynamic_linker="$host_os runtime_loader"
18941 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18942 soname_spec='${libname}${release}${shared_ext}$major'
18943 shlibpath_var=LIBRARY_PATH
18944 shlibpath_overrides_runpath=yes
18945 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
18946 hardcode_into_libs=yes
18949 hpux9* | hpux10* | hpux11*)
18950 # Give a soname corresponding to the major version so that dld.sl refuses to
18951 # link against other versions.
18958 hardcode_into_libs=yes
18959 dynamic_linker="$host_os dld.so"
18960 shlibpath_var=LD_LIBRARY_PATH
18961 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18963 soname_spec='${libname}${release}${shared_ext}$major'
18964 if test "X$HPUX_IA64_MODE" = X32; then
18965 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18967 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18969 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18973 hardcode_into_libs=yes
18974 dynamic_linker="$host_os dld.sl"
18975 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18976 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18978 soname_spec='${libname}${release}${shared_ext}$major'
18979 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18980 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18984 dynamic_linker="$host_os dld.sl"
18985 shlibpath_var=SHLIB_PATH
18986 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18988 soname_spec='${libname}${release}${shared_ext}$major'
18991 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
18992 postinstall_cmds='chmod 555 $lib'
18993 # or fails outright, so override atomically:
18994 install_override_mode=555
18998 version_type=linux # correct to gnu/linux during the next big refactor
19001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19002 soname_spec='${libname}${release}${shared_ext}$major'
19003 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19004 shlibpath_var=LD_LIBRARY_PATH
19005 shlibpath_overrides_runpath=no
19006 hardcode_into_libs=yes
19009 irix5* | irix6* | nonstopux*)
19011 nonstopux*) version_type=nonstopux ;;
19013 if test "$lt_cv_prog_gnu_ld" = yes; then
19014 version_type=linux # correct to gnu/linux during the next big refactor
19021 soname_spec='${libname}${release}${shared_ext}$major'
19022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19024 irix5* | nonstopux*)
19025 libsuff= shlibsuff=
19028 case $LD in # libtool.m4 will add one of these switches to LD
19029 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19030 libsuff= shlibsuff= libmagic=32-bit;;
19031 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19032 libsuff=32 shlibsuff=N32 libmagic=N32;;
19033 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19034 libsuff=64 shlibsuff=64 libmagic=64-bit;;
19035 *) libsuff= shlibsuff= libmagic=never-match;;
19039 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19040 shlibpath_overrides_runpath=no
19041 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19042 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19043 hardcode_into_libs=yes
19046 # No shared lib support for Linux oldld, aout, or coff.
19047 linux*oldld* | linux*aout* | linux*coff*)
19051 # This must be glibc/ELF.
19052 linux* | k*bsd*-gnu | kopensolaris*-gnu)
19053 version_type=linux # correct to gnu/linux during the next big refactor
19056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19057 soname_spec='${libname}${release}${shared_ext}$major'
19058 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19059 shlibpath_var=LD_LIBRARY_PATH
19060 shlibpath_overrides_runpath=no
19062 # Some binutils ld are patched to set DT_RUNPATH
19063 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
19064 $as_echo_n "(cached) " >&6
19066 lt_cv_shlibpath_overrides_runpath=no
19067 save_LDFLAGS=$LDFLAGS
19068 save_libdir=$libdir
19069 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
19070 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
19071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19072 /* end confdefs.h. */
19082 if ac_fn_cxx_try_link "$LINENO"; then :
19083 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
19084 lt_cv_shlibpath_overrides_runpath=yes
19087 rm -f core conftest.err conftest.$ac_objext \
19088 conftest$ac_exeext conftest.$ac_ext
19089 LDFLAGS=$save_LDFLAGS
19090 libdir=$save_libdir
19094 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
19096 # This implies no fast_install, which is unacceptable.
19097 # Some rework will be needed to allow for fast_install
19098 # before this can be enabled.
19099 hardcode_into_libs=yes
19101 # Add ABI-specific directories to the system library path.
19102 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
19104 # Append ld.so.conf contents to the search path
19105 if test -f /etc/ld.so.conf; then
19106 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' ' '`
19107 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
19111 # We used to test for /lib/ld.so.1 and disable shared libraries on
19112 # powerpc, because MkLinux only supported shared libraries with the
19113 # GNU dynamic linker. Since this was broken with cross compilers,
19114 # most powerpc-linux boxes support dynamic linking these days and
19115 # people can always --disable-shared, the test was removed, and we
19116 # assume the GNU/Linux dynamic linker is in use.
19117 dynamic_linker='GNU/Linux ld.so'
19124 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19126 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19127 dynamic_linker='NetBSD (a.out) ld.so'
19129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19130 soname_spec='${libname}${release}${shared_ext}$major'
19131 dynamic_linker='NetBSD ld.elf_so'
19133 shlibpath_var=LD_LIBRARY_PATH
19134 shlibpath_overrides_runpath=yes
19135 hardcode_into_libs=yes
19139 version_type=linux # correct to gnu/linux during the next big refactor
19140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19141 shlibpath_var=LD_LIBRARY_PATH
19142 shlibpath_overrides_runpath=yes
19149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19150 soname_spec='${libname}${release}${shared_ext}$major'
19151 shlibpath_var=LD_LIBRARY_PATH
19152 shlibpath_overrides_runpath=no
19153 hardcode_into_libs=yes
19154 dynamic_linker='ldqnx.so'
19159 sys_lib_dlsearch_path_spec="/usr/lib"
19161 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19163 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19164 *) need_version=no ;;
19166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19167 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19168 shlibpath_var=LD_LIBRARY_PATH
19169 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19171 openbsd2.[89] | openbsd2.[89].*)
19172 shlibpath_overrides_runpath=no
19175 shlibpath_overrides_runpath=yes
19179 shlibpath_overrides_runpath=yes
19184 libname_spec='$name'
19187 library_names_spec='$libname${shared_ext} $libname.a'
19188 dynamic_linker='OS/2 ld.exe'
19189 shlibpath_var=LIBPATH
19192 osf3* | osf4* | osf5*)
19196 soname_spec='${libname}${release}${shared_ext}$major'
19197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19198 shlibpath_var=LD_LIBRARY_PATH
19199 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19200 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19208 version_type=linux # correct to gnu/linux during the next big refactor
19211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19212 soname_spec='${libname}${release}${shared_ext}$major'
19213 shlibpath_var=LD_LIBRARY_PATH
19214 shlibpath_overrides_runpath=yes
19215 hardcode_into_libs=yes
19216 # ldd complains unless libraries are executable
19217 postinstall_cmds='chmod +x $lib'
19222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19223 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19224 shlibpath_var=LD_LIBRARY_PATH
19225 shlibpath_overrides_runpath=yes
19226 if test "$with_gnu_ld" = yes; then
19233 version_type=linux # correct to gnu/linux during the next big refactor
19234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19235 soname_spec='${libname}${release}${shared_ext}$major'
19236 shlibpath_var=LD_LIBRARY_PATH
19237 case $host_vendor in
19239 shlibpath_overrides_runpath=no
19241 runpath_var=LD_RUN_PATH
19249 shlibpath_overrides_runpath=no
19250 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19256 if test -d /usr/nec ;then
19257 version_type=linux # correct to gnu/linux during the next big refactor
19258 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19259 soname_spec='$libname${shared_ext}.$major'
19260 shlibpath_var=LD_LIBRARY_PATH
19264 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19265 version_type=freebsd-elf
19268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19269 soname_spec='${libname}${release}${shared_ext}$major'
19270 shlibpath_var=LD_LIBRARY_PATH
19271 shlibpath_overrides_runpath=yes
19272 hardcode_into_libs=yes
19273 if test "$with_gnu_ld" = yes; then
19274 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19276 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19279 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19283 sys_lib_dlsearch_path_spec='/usr/lib'
19287 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
19288 version_type=linux # correct to gnu/linux during the next big refactor
19291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19292 shlibpath_var=LD_LIBRARY_PATH
19293 shlibpath_overrides_runpath=no
19294 hardcode_into_libs=yes
19298 version_type=linux # correct to gnu/linux during the next big refactor
19299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19300 soname_spec='${libname}${release}${shared_ext}$major'
19301 shlibpath_var=LD_LIBRARY_PATH
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
19309 $as_echo "$dynamic_linker" >&6; }
19310 test "$dynamic_linker" = no && can_build_shared=no
19312 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19313 if test "$GCC" = yes; then
19314 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19317 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19318 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
19320 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19321 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
19361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
19362 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19363 hardcode_action_CXX=
19364 if test -n "$hardcode_libdir_flag_spec_CXX" ||
19365 test -n "$runpath_var_CXX" ||
19366 test "X$hardcode_automatic_CXX" = "Xyes" ; then
19368 # We can hardcode non-existent directories.
19369 if test "$hardcode_direct_CXX" != no &&
19370 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19371 # have to relink, otherwise we might link with an installed library
19372 # when we should be linking with a yet-to-be-installed one
19373 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
19374 test "$hardcode_minus_L_CXX" != no; then
19375 # Linking always hardcodes the temporary library directory.
19376 hardcode_action_CXX=relink
19378 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19379 hardcode_action_CXX=immediate
19382 # We cannot hardcode anything, or else we can only hardcode existing
19384 hardcode_action_CXX=unsupported
19386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
19387 $as_echo "$hardcode_action_CXX" >&6; }
19389 if test "$hardcode_action_CXX" = relink ||
19390 test "$inherit_rpath_CXX" = yes; then
19391 # Fast installation is not supported
19392 enable_fast_install=no
19393 elif test "$shlibpath_overrides_runpath" = yes ||
19394 test "$enable_shared" = no; then
19395 # Fast installation is not necessary
19396 enable_fast_install=needless
19405 fi # test -n "$compiler"
19408 CFLAGS=$lt_save_CFLAGS
19412 with_gnu_ld=$lt_save_with_gnu_ld
19413 lt_cv_path_LDCXX=$lt_cv_path_LD
19414 lt_cv_path_LD=$lt_save_path_LD
19415 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
19416 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
19417 fi # test "$_lt_caught_CXX_error" != yes
19420 ac_cpp='$CPP $CPPFLAGS'
19421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
19427 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
19428 if ${ac_cv_prog_cc_c99+:} false; then :
19429 $as_echo_n "(cached) " >&6
19431 ac_cv_prog_cc_c99=no
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19435 #include <stdarg.h>
19436 #include <stdbool.h>
19437 #include <stdlib.h>
19441 // Check varargs macros. These examples are taken from C99 6.10.3.5.
19442 #define debug(...) fprintf (stderr, __VA_ARGS__)
19443 #define showlist(...) puts (#__VA_ARGS__)
19444 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
19446 test_varargs_macros (void)
19451 debug ("X = %d\n", x);
19452 showlist (The first, second, and third items.);
19453 report (x>y, "x is %d but y is %d", x, y);
19456 // Check long long types.
19457 #define BIG64 18446744073709551615ull
19458 #define BIG32 4294967295ul
19459 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
19461 your preprocessor is broken;
19465 your preprocessor is broken;
19467 static long long int bignum = -9223372036854775807LL;
19468 static unsigned long long int ubignum = BIG64;
19470 struct incomplete_array
19476 struct named_init {
19478 const wchar_t *name;
19482 typedef const char *ccp;
19485 test_restrict (ccp restrict text)
19487 // See if C++-style comments work.
19488 // Iterate through items via the restricted pointer.
19489 // Also check for declarations in for loops.
19490 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
19495 // Check varargs and va_copy.
19497 test_varargs (const char *format, ...)
19500 va_start (args, format);
19502 va_copy (args_copy, args);
19512 case 's': // string
19513 str = va_arg (args_copy, const char *);
19516 number = va_arg (args_copy, int);
19519 fnumber = va_arg (args_copy, double);
19525 va_end (args_copy);
19534 _Bool success = false;
19537 if (test_restrict ("String literal") == 0)
19539 char *restrict newvar = "Another string";
19542 test_varargs ("s, d' f .", "string", 65, 34.234);
19543 test_varargs_macros ();
19545 // Check flexible array members.
19546 struct incomplete_array *ia =
19547 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
19549 for (int i = 0; i < ia->datasize; ++i)
19550 ia->data[i] = i * 1.234;
19552 // Check named initializers.
19553 struct named_init ni = {
19555 .name = L"Test wide string",
19556 .average = 543.34343,
19561 int dynamic_array[ni.number];
19562 dynamic_array[ni.number - 1] = 543;
19564 // work around unused variable warnings
19565 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
19566 || dynamic_array[ni.number - 1] != 543);
19572 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
19574 CC="$ac_save_CC $ac_arg"
19575 if ac_fn_c_try_compile "$LINENO"; then :
19576 ac_cv_prog_cc_c99=$ac_arg
19578 rm -f core conftest.err conftest.$ac_objext
19579 test "x$ac_cv_prog_cc_c99" != "xno" && break
19581 rm -f conftest.$ac_ext
19586 case "x$ac_cv_prog_cc_c99" in
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19589 $as_echo "none needed" >&6; } ;;
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19592 $as_echo "unsupported" >&6; } ;;
19594 CC="$CC $ac_cv_prog_cc_c99"
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
19596 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
19598 if test "x$ac_cv_prog_cc_c99" != xno; then :
19603 if test "x${ac_cv_prog_cc_c99}" = "xno" ; then
19604 as_fn_error $? "ecore requires a c99-capable compiler" "$LINENO" 5
19607 have_gnu_objc=${ac_cv_objc_compiler_gnu}
19609 # doxygen program for documentation building
19613 # Check whether --enable-doc was given.
19614 if test "${enable_doc+set}" = set; then :
19615 enableval=$enable_doc;
19616 if test "x${enableval}" = "xyes" ; then
19617 efl_enable_doc="yes"
19619 efl_enable_doc="no"
19623 efl_enable_doc="yes"
19627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
19628 $as_echo_n "checking whether to build documentation... " >&6; }
19629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
19630 $as_echo "${efl_enable_doc}" >&6; }
19632 if test "x${efl_enable_doc}" = "xyes" ; then
19635 efl_doxygen="doxygen"
19638 # Check whether --with-doxygen was given.
19639 if test "${with_doxygen+set}" = set; then :
19640 withval=$with_doxygen;
19641 efl_doxygen=${withval}
19642 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
19643 set dummy ${efl_doxygen}; ac_word=$2
19644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19645 $as_echo_n "checking for $ac_word... " >&6; }
19646 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
19647 $as_echo_n "(cached) " >&6
19649 if test -n "$efl_have_doxygen"; then
19650 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
19652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19653 for as_dir in $PATH
19656 test -z "$as_dir" && as_dir=.
19657 for ac_exec_ext in '' $ac_executable_extensions; do
19658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19659 ac_cv_prog_efl_have_doxygen="yes"
19660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19667 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
19670 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
19671 if test -n "$efl_have_doxygen"; then
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
19673 $as_echo "$efl_have_doxygen" >&6; }
19675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19676 $as_echo "no" >&6; }
19680 if test "x${efl_have_doxygen}" = "xno" ; then
19682 echo "The doxygen program you specified:"
19683 echo "${efl_doxygen}"
19684 echo "was not found. Please check the path and make sure "
19685 echo "the program exists and is executable."
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
19687 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
19691 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
19692 set dummy ${efl_doxygen}; ac_word=$2
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19694 $as_echo_n "checking for $ac_word... " >&6; }
19695 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
19696 $as_echo_n "(cached) " >&6
19698 if test -n "$efl_have_doxygen"; then
19699 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
19701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19702 for as_dir in $PATH
19705 test -z "$as_dir" && as_dir=.
19706 for ac_exec_ext in '' $ac_executable_extensions; do
19707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19708 ac_cv_prog_efl_have_doxygen="yes"
19709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19716 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
19719 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
19720 if test -n "$efl_have_doxygen"; then
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
19722 $as_echo "$efl_have_doxygen" >&6; }
19724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19725 $as_echo "no" >&6; }
19729 if test "x${efl_have_doxygen}" = "xno" ; then
19731 echo "The doxygen program was not found in your execute path."
19732 echo "You may have doxygen installed somewhere not covered by your path."
19734 echo "If this is the case make sure you have the packages installed, AND"
19735 echo "that the doxygen program is in your execute path (see your"
19736 echo "shell manual page on setting the \$PATH environment variable), OR"
19737 echo "alternatively, specify the program to use with --with-doxygen."
19738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
19739 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
19748 if ! test "x${efl_have_doxygen}" = "xyes" ; then
19749 efl_enable_doc="no"
19752 if test "x${efl_enable_doc}" = "xyes"; then
19753 EFL_BUILD_DOC_TRUE=
19754 EFL_BUILD_DOC_FALSE='#'
19756 EFL_BUILD_DOC_TRUE='#'
19757 EFL_BUILD_DOC_FALSE=
19761 if test "x${efl_enable_doc}" = "xyes" ; then
19772 CFLAGS_save="${CFLAGS}"
19773 CFLAGS="${CFLAGS} -Wall"
19776 ac_cpp='$CPP $CPPFLAGS'
19777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
19782 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
19784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19785 /* end confdefs.h. */
19795 if ac_fn_c_try_compile "$LINENO"; then :
19800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
19802 $as_echo "${have_flag}" >&6; }
19804 if test "x${have_flag}" = "xno" ; then
19805 CFLAGS="${CFLAGS_save}"
19808 ac_cpp='$CPP $CPPFLAGS'
19809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19817 CFLAGS_save="${CFLAGS}"
19818 CFLAGS="${CFLAGS} -W"
19821 ac_cpp='$CPP $CPPFLAGS'
19822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
19827 $as_echo_n "checking whether the compiler supports -W... " >&6; }
19829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19830 /* end confdefs.h. */
19840 if ac_fn_c_try_compile "$LINENO"; then :
19845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
19847 $as_echo "${have_flag}" >&6; }
19849 if test "x${have_flag}" = "xno" ; then
19850 CFLAGS="${CFLAGS_save}"
19853 ac_cpp='$CPP $CPPFLAGS'
19854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19862 # The first call to PKG_CHECK_MODULES is done conditionally,
19863 # so we should include this here:
19871 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19872 if test -n "$ac_tool_prefix"; then
19873 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19874 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19876 $as_echo_n "checking for $ac_word... " >&6; }
19877 if ${ac_cv_path_PKG_CONFIG+:} false; then :
19878 $as_echo_n "(cached) " >&6
19880 case $PKG_CONFIG in
19882 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19886 for as_dir in $PATH
19889 test -z "$as_dir" && as_dir=.
19890 for ac_exec_ext in '' $ac_executable_extensions; do
19891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19892 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19903 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19904 if test -n "$PKG_CONFIG"; then
19905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19906 $as_echo "$PKG_CONFIG" >&6; }
19908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19909 $as_echo "no" >&6; }
19914 if test -z "$ac_cv_path_PKG_CONFIG"; then
19915 ac_pt_PKG_CONFIG=$PKG_CONFIG
19916 # Extract the first word of "pkg-config", so it can be a program name with args.
19917 set dummy pkg-config; ac_word=$2
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19919 $as_echo_n "checking for $ac_word... " >&6; }
19920 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
19921 $as_echo_n "(cached) " >&6
19923 case $ac_pt_PKG_CONFIG in
19925 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19929 for as_dir in $PATH
19932 test -z "$as_dir" && as_dir=.
19933 for ac_exec_ext in '' $ac_executable_extensions; do
19934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19935 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19946 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19947 if test -n "$ac_pt_PKG_CONFIG"; then
19948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19949 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
19951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19952 $as_echo "no" >&6; }
19955 if test "x$ac_pt_PKG_CONFIG" = x; then
19958 case $cross_compiling:$ac_tool_warned in
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19962 ac_tool_warned=yes ;;
19964 PKG_CONFIG=$ac_pt_PKG_CONFIG
19967 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19971 if test -n "$PKG_CONFIG"; then
19972 _pkg_min_version=0.9.0
19973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
19974 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19975 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19977 $as_echo "yes" >&6; }
19979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19980 $as_echo "no" >&6; }
19985 # Check whether pkg-config supports Requires.private
19986 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
19987 pkgconfig_requires_private="Requires.private"
19989 pkgconfig_requires_private="Requires"
19993 ### Checks for some build time option
19994 have_backtrace="no"
19995 for ac_func in backtrace
19997 ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace"
19998 if test "x$ac_cv_func_backtrace" = xyes; then :
19999 cat >>confdefs.h <<_ACEOF
20000 #define HAVE_BACKTRACE 1
20002 have_backtrace="yes"
20007 want_ecore_timer_dump="no"
20009 # Check whether --enable-ecore-timer-dump was given.
20010 if test "${enable_ecore_timer_dump+set}" = set; then :
20011 enableval=$enable_ecore_timer_dump; want_ecore_timer_dump=$enableval
20015 if test "x$want_ecore_timer_dump" = "xyes" -a "x$have_backtrace" = "xyes"; then
20017 $as_echo "#define WANT_ECORE_TIMER_DUMP 1" >>confdefs.h
20021 ### Checks for libraries
20023 # Evil library for compilation on Windows
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
20030 $as_echo_n "checking for EVIL... " >&6; }
20032 if test -n "$EVIL_CFLAGS"; then
20033 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
20034 elif test -n "$PKG_CONFIG"; then
20035 if test -n "$PKG_CONFIG" && \
20036 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.8\""; } >&5
20037 ($PKG_CONFIG --exists --print-errors "evil >= 1.7.8") 2>&5
20039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20040 test $ac_status = 0; }; then
20041 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.7.8" 2>/dev/null`
20042 test "x$?" != "x0" && pkg_failed=yes
20049 if test -n "$EVIL_LIBS"; then
20050 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
20051 elif test -n "$PKG_CONFIG"; then
20052 if test -n "$PKG_CONFIG" && \
20053 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.8\""; } >&5
20054 ($PKG_CONFIG --exists --print-errors "evil >= 1.7.8") 2>&5
20056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20057 test $ac_status = 0; }; then
20058 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.7.8" 2>/dev/null`
20059 test "x$?" != "x0" && pkg_failed=yes
20069 if test $pkg_failed = yes; then
20070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20071 $as_echo "no" >&6; }
20073 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20074 _pkg_short_errors_supported=yes
20076 _pkg_short_errors_supported=no
20078 if test $_pkg_short_errors_supported = yes; then
20079 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evil >= 1.7.8" 2>&1`
20081 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evil >= 1.7.8" 2>&1`
20083 # Put the nasty error message in config.log where it belongs
20084 echo "$EVIL_PKG_ERRORS" >&5
20086 as_fn_error $? "Package requirements (evil >= 1.7.8) were not met:
20090 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20091 installed software in a non-standard prefix.
20093 Alternatively, you may set the environment variables EVIL_CFLAGS
20094 and EVIL_LIBS to avoid the need to call pkg-config.
20095 See the pkg-config man page for more details." "$LINENO" 5
20096 elif test $pkg_failed = untried; then
20097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20098 $as_echo "no" >&6; }
20099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20101 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20102 is in your PATH or set the PKG_CONFIG environment variable to the full
20103 path to pkg-config.
20105 Alternatively, you may set the environment variables EVIL_CFLAGS
20106 and EVIL_LIBS to avoid the need to call pkg-config.
20107 See the pkg-config man page for more details.
20109 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20110 See \`config.log' for more details" "$LINENO" 5; }
20112 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
20113 EVIL_LIBS=$pkg_cv_EVIL_LIBS
20114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20115 $as_echo "yes" >&6; }
20119 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
20121 requirements_ecore="evil ${requirements_ecore}"
20122 requirements_ecore_evas="evil ${requirements_ecore_evas}"
20123 requirements_ecore_file="evil ${requirements_ecore_file}"
20124 requirements_ecore_imf="evil ${requirements_ecore_imf}"
20125 requirements_ecore_imf_evas="evil ${requirements_ecore_imf_evas}"
20126 EFL_ECORE_BUILD="-DEFL_ECORE_BUILD"
20127 EFL_ECORE_CON_BUILD="-DEFL_ECORE_CON_BUILD"
20128 EFL_ECORE_EVAS_BUILD="-DEFL_ECORE_EVAS_BUILD"
20129 EFL_ECORE_FILE_BUILD="-DEFL_ECORE_FILE_BUILD"
20130 EFL_ECORE_IMF_BUILD="-DEFL_ECORE_IMF_BUILD"
20131 EFL_ECORE_IMF_EVAS_BUILD="-DEFL_ECORE_IMF_EVAS_BUILD"
20132 EFL_ECORE_INPUT_BUILD="-DEFL_ECORE_INPUT_BUILD"
20133 EFL_ECORE_INPUT_EVAS_BUILD="-DEFL_ECORE_INPUT_EVAS_BUILD"
20134 EFL_ECORE_IPC_BUILD="-DEFL_ECORE_IPC_BUILD"
20141 mingw32ce* | cegcc*)
20142 EFL_ECORE_WINCE_BUILD="-DEFL_ECORE_WINCE_BUILD"
20143 requirements_ecore_wince="evil ${requirements_ecore_wince}"
20147 EFL_ECORE_WIN32_BUILD="-DEFL_ECORE_WIN32_BUILD"
20148 EFL_ECORE_SDL_BUILD="-DEFL_ECORE_SDL_BUILD"
20149 requirements_ecore_win32="evil ${requirements_ecore_win32}"
20150 requirements_ecore_sdl="evil ${requirements_ecore_sdl}"
20156 case "$host_vendor" in
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ESCAPE" >&5
20162 $as_echo_n "checking for ESCAPE... " >&6; }
20164 if test -n "$ESCAPE_CFLAGS"; then
20165 pkg_cv_ESCAPE_CFLAGS="$ESCAPE_CFLAGS"
20166 elif test -n "$PKG_CONFIG"; then
20167 if test -n "$PKG_CONFIG" && \
20168 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"escape\""; } >&5
20169 ($PKG_CONFIG --exists --print-errors "escape") 2>&5
20171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20172 test $ac_status = 0; }; then
20173 pkg_cv_ESCAPE_CFLAGS=`$PKG_CONFIG --cflags "escape" 2>/dev/null`
20174 test "x$?" != "x0" && pkg_failed=yes
20181 if test -n "$ESCAPE_LIBS"; then
20182 pkg_cv_ESCAPE_LIBS="$ESCAPE_LIBS"
20183 elif test -n "$PKG_CONFIG"; then
20184 if test -n "$PKG_CONFIG" && \
20185 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"escape\""; } >&5
20186 ($PKG_CONFIG --exists --print-errors "escape") 2>&5
20188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20189 test $ac_status = 0; }; then
20190 pkg_cv_ESCAPE_LIBS=`$PKG_CONFIG --libs "escape" 2>/dev/null`
20191 test "x$?" != "x0" && pkg_failed=yes
20201 if test $pkg_failed = yes; then
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20203 $as_echo "no" >&6; }
20205 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20206 _pkg_short_errors_supported=yes
20208 _pkg_short_errors_supported=no
20210 if test $_pkg_short_errors_supported = yes; then
20211 ESCAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "escape" 2>&1`
20213 ESCAPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "escape" 2>&1`
20215 # Put the nasty error message in config.log where it belongs
20216 echo "$ESCAPE_PKG_ERRORS" >&5
20218 as_fn_error $? "Package requirements (escape) were not met:
20222 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20223 installed software in a non-standard prefix.
20225 Alternatively, you may set the environment variables ESCAPE_CFLAGS
20226 and ESCAPE_LIBS to avoid the need to call pkg-config.
20227 See the pkg-config man page for more details." "$LINENO" 5
20228 elif test $pkg_failed = untried; then
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20230 $as_echo "no" >&6; }
20231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20233 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20234 is in your PATH or set the PKG_CONFIG environment variable to the full
20235 path to pkg-config.
20237 Alternatively, you may set the environment variables ESCAPE_CFLAGS
20238 and ESCAPE_LIBS to avoid the need to call pkg-config.
20239 See the pkg-config man page for more details.
20241 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20242 See \`config.log' for more details" "$LINENO" 5; }
20244 ESCAPE_CFLAGS=$pkg_cv_ESCAPE_CFLAGS
20245 ESCAPE_LIBS=$pkg_cv_ESCAPE_LIBS
20246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20247 $as_echo "yes" >&6; }
20250 CFLAGS="$CFLAGS $ESCAPE_CFLAGS"
20252 $as_echo "#define HAVE_ESCAPE 1" >>confdefs.h
20254 EFL_ECORE_PSL1GHT_BUILD="-DEFL_ECORE_PSL1GHT_BUILD"
20255 requirements_ecore="escape ${requirements_ecore}"
20256 requirements_ecore_evas="escape ${requirements_ecore_evas}"
20257 requirements_ecore_file="escape ${requirements_ecore_file}"
20258 requirements_ecore_imf="escape ${requirements_ecore_imf}"
20259 requirements_ecore_imf_evas="escape ${requirements_ecore_imf_evas}"
20260 requirements_ecore_sdl="escape ${requirements_ecore_sdl}"
20261 want_ecore_psl1ght="yes"
20262 want_ecore_evas_psl1ght="yes"
20267 ### Checks for portability layer
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
20272 $as_echo_n "checking for EXOTIC... " >&6; }
20274 if test -n "$EXOTIC_CFLAGS"; then
20275 pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
20276 elif test -n "$PKG_CONFIG"; then
20277 if test -n "$PKG_CONFIG" && \
20278 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
20279 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
20281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20282 test $ac_status = 0; }; then
20283 pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
20284 test "x$?" != "x0" && pkg_failed=yes
20291 if test -n "$EXOTIC_LIBS"; then
20292 pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
20293 elif test -n "$PKG_CONFIG"; then
20294 if test -n "$PKG_CONFIG" && \
20295 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
20296 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
20298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20299 test $ac_status = 0; }; then
20300 pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
20301 test "x$?" != "x0" && pkg_failed=yes
20311 if test $pkg_failed = yes; then
20312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20313 $as_echo "no" >&6; }
20315 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20316 _pkg_short_errors_supported=yes
20318 _pkg_short_errors_supported=no
20320 if test $_pkg_short_errors_supported = yes; then
20321 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "exotic" 2>&1`
20323 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "exotic" 2>&1`
20325 # Put the nasty error message in config.log where it belongs
20326 echo "$EXOTIC_PKG_ERRORS" >&5
20329 elif test $pkg_failed = untried; then
20330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20331 $as_echo "no" >&6; }
20334 EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
20335 EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
20336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20337 $as_echo "yes" >&6; }
20338 enable_exotic="yes"
20341 if test "x${enable_exotic}" = "xyes"; then
20342 requirements_ecore="exotic ${requirements_ecore}"
20345 $as_echo "#define HAVE_EXOTIC 1" >>confdefs.h
20348 if test "x${enable_exotic}" = "xyes"; then
20349 ECORE_HAVE_EXOTIC_TRUE=
20350 ECORE_HAVE_EXOTIC_FALSE='#'
20352 ECORE_HAVE_EXOTIC_TRUE='#'
20353 ECORE_HAVE_EXOTIC_FALSE=
20371 if test "x${have_wince}" = "xyes"; then
20372 ECORE_HAVE_WINCE_TRUE=
20373 ECORE_HAVE_WINCE_FALSE='#'
20375 ECORE_HAVE_WINCE_TRUE='#'
20376 ECORE_HAVE_WINCE_FALSE=
20379 if test "x${have_win32}" = "xyes"; then
20380 ECORE_HAVE_WIN32_TRUE=
20381 ECORE_HAVE_WIN32_FALSE='#'
20383 ECORE_HAVE_WIN32_TRUE='#'
20384 ECORE_HAVE_WIN32_FALSE=
20387 if test "x${have_ps3}" = "xyes"; then
20388 ECORE_HAVE_PS3_TRUE=
20389 ECORE_HAVE_PS3_FALSE='#'
20391 ECORE_HAVE_PS3_TRUE='#'
20392 ECORE_HAVE_PS3_FALSE=
20398 mingw32ce* | cegcc*)
20403 WIN32_LIBS="-lws2_32"
20407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lc" >&5
20408 $as_echo_n "checking for dlopen in -lc... " >&6; }
20409 if ${ac_cv_lib_c_dlopen+:} false; then :
20410 $as_echo_n "(cached) " >&6
20412 ac_check_lib_save_LIBS=$LIBS
20414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20415 /* end confdefs.h. */
20417 /* Override any GCC internal prototype to avoid an error.
20418 Use char because int might match the return type of a GCC
20419 builtin and then its argument prototype would still apply. */
20432 if ac_fn_c_try_link "$LINENO"; then :
20433 ac_cv_lib_c_dlopen=yes
20435 ac_cv_lib_c_dlopen=no
20437 rm -f core conftest.err conftest.$ac_objext \
20438 conftest$ac_exeext conftest.$ac_ext
20439 LIBS=$ac_check_lib_save_LIBS
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dlopen" >&5
20442 $as_echo "$ac_cv_lib_c_dlopen" >&6; }
20443 if test "x$ac_cv_lib_c_dlopen" = xyes; then :
20444 cat >>confdefs.h <<_ACEOF
20445 #define HAVE_LIBC 1
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
20452 $as_echo_n "checking for dlopen in -ldl... " >&6; }
20453 if ${ac_cv_lib_dl_dlopen+:} false; then :
20454 $as_echo_n "(cached) " >&6
20456 ac_check_lib_save_LIBS=$LIBS
20458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20459 /* end confdefs.h. */
20461 /* Override any GCC internal prototype to avoid an error.
20462 Use char because int might match the return type of a GCC
20463 builtin and then its argument prototype would still apply. */
20476 if ac_fn_c_try_link "$LINENO"; then :
20477 ac_cv_lib_dl_dlopen=yes
20479 ac_cv_lib_dl_dlopen=no
20481 rm -f core conftest.err conftest.$ac_objext \
20482 conftest$ac_exeext conftest.$ac_ext
20483 LIBS=$ac_check_lib_save_LIBS
20485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
20486 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
20487 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
20494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lc" >&5
20495 $as_echo_n "checking for clock_gettime in -lc... " >&6; }
20496 if ${ac_cv_lib_c_clock_gettime+:} false; then :
20497 $as_echo_n "(cached) " >&6
20499 ac_check_lib_save_LIBS=$LIBS
20501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20502 /* end confdefs.h. */
20504 /* Override any GCC internal prototype to avoid an error.
20505 Use char because int might match the return type of a GCC
20506 builtin and then its argument prototype would still apply. */
20510 char clock_gettime ();
20514 return clock_gettime ();
20519 if ac_fn_c_try_link "$LINENO"; then :
20520 ac_cv_lib_c_clock_gettime=yes
20522 ac_cv_lib_c_clock_gettime=no
20524 rm -f core conftest.err conftest.$ac_objext \
20525 conftest$ac_exeext conftest.$ac_ext
20526 LIBS=$ac_check_lib_save_LIBS
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_clock_gettime" >&5
20529 $as_echo "$ac_cv_lib_c_clock_gettime" >&6; }
20530 if test "x$ac_cv_lib_c_clock_gettime" = xyes; then :
20532 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
20536 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
20537 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
20538 $as_echo_n "(cached) " >&6
20540 ac_check_lib_save_LIBS=$LIBS
20542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20543 /* end confdefs.h. */
20545 /* Override any GCC internal prototype to avoid an error.
20546 Use char because int might match the return type of a GCC
20547 builtin and then its argument prototype would still apply. */
20551 char clock_gettime ();
20555 return clock_gettime ();
20560 if ac_fn_c_try_link "$LINENO"; then :
20561 ac_cv_lib_rt_clock_gettime=yes
20563 ac_cv_lib_rt_clock_gettime=no
20565 rm -f core conftest.err conftest.$ac_objext \
20566 conftest$ac_exeext conftest.$ac_ext
20567 LIBS=$ac_check_lib_save_LIBS
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
20570 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
20571 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
20575 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
20594 $as_echo_n "checking for EINA... " >&6; }
20596 if test -n "$EINA_CFLAGS"; then
20597 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
20598 elif test -n "$PKG_CONFIG"; then
20599 if test -n "$PKG_CONFIG" && \
20600 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.7.8\""; } >&5
20601 ($PKG_CONFIG --exists --print-errors "eina >= 1.7.8") 2>&5
20603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20604 test $ac_status = 0; }; then
20605 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.7.8" 2>/dev/null`
20606 test "x$?" != "x0" && pkg_failed=yes
20613 if test -n "$EINA_LIBS"; then
20614 pkg_cv_EINA_LIBS="$EINA_LIBS"
20615 elif test -n "$PKG_CONFIG"; then
20616 if test -n "$PKG_CONFIG" && \
20617 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.7.8\""; } >&5
20618 ($PKG_CONFIG --exists --print-errors "eina >= 1.7.8") 2>&5
20620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20621 test $ac_status = 0; }; then
20622 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.7.8" 2>/dev/null`
20623 test "x$?" != "x0" && pkg_failed=yes
20633 if test $pkg_failed = yes; then
20634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20635 $as_echo "no" >&6; }
20637 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20638 _pkg_short_errors_supported=yes
20640 _pkg_short_errors_supported=no
20642 if test $_pkg_short_errors_supported = yes; then
20643 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eina >= 1.7.8" 2>&1`
20645 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eina >= 1.7.8" 2>&1`
20647 # Put the nasty error message in config.log where it belongs
20648 echo "$EINA_PKG_ERRORS" >&5
20650 as_fn_error $? "Package requirements (eina >= 1.7.8) were not met:
20654 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20655 installed software in a non-standard prefix.
20657 Alternatively, you may set the environment variables EINA_CFLAGS
20658 and EINA_LIBS to avoid the need to call pkg-config.
20659 See the pkg-config man page for more details." "$LINENO" 5
20660 elif test $pkg_failed = untried; then
20661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20662 $as_echo "no" >&6; }
20663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20665 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20666 is in your PATH or set the PKG_CONFIG environment variable to the full
20667 path to pkg-config.
20669 Alternatively, you may set the environment variables EINA_CFLAGS
20670 and EINA_LIBS to avoid the need to call pkg-config.
20671 See the pkg-config man page for more details.
20673 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20674 See \`config.log' for more details" "$LINENO" 5; }
20676 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
20677 EINA_LIBS=$pkg_cv_EINA_LIBS
20678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20679 $as_echo "yes" >&6; }
20682 #FIXME check all the requirements when the eina move will be finished
20683 requirements_ecore="eina >= 1.7.8 ${requirements_ecore}"
20684 requirements_ecore_con="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_con}"
20685 #requirements_ecore_config="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_config}"
20686 requirements_ecore_directfb="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_directfb}"
20687 requirements_ecore_evas="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_evas}"
20688 requirements_ecore_fb="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_fb}"
20689 requirements_ecore_file="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_file}"
20690 requirements_ecore_imf="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_imf}"
20691 requirements_ecore_imf_evas="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_imf_evas}"
20692 requirements_ecore_input="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_input}"
20693 requirements_ecore_input_evas="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_input_evas}"
20694 requirements_ecore_ipc="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_ipc}"
20695 requirements_ecore_cocoa="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_cocoa}"
20696 requirements_ecore_sdl="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_sdl}"
20697 requirements_ecore_psl1ght="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_psl1ght}"
20698 requirements_ecore_win32="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_win32}"
20699 requirements_ecore_wince="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_wince}"
20700 requirements_ecore_x="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_x}"
20703 # glib support (main loop integration)
20704 # Check whether --enable-glib was given.
20705 if test "${enable_glib+set}" = set; then :
20706 enableval=$enable_glib; want_glib=$enableval
20710 if test "x$want_glib" != "xno"; then
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
20714 $as_echo_n "checking for GLIB... " >&6; }
20716 if test -n "$GLIB_CFLAGS"; then
20717 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
20718 elif test -n "$PKG_CONFIG"; then
20719 if test -n "$PKG_CONFIG" && \
20720 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
20721 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
20723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20724 test $ac_status = 0; }; then
20725 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
20726 test "x$?" != "x0" && pkg_failed=yes
20733 if test -n "$GLIB_LIBS"; then
20734 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
20735 elif test -n "$PKG_CONFIG"; then
20736 if test -n "$PKG_CONFIG" && \
20737 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
20738 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
20740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20741 test $ac_status = 0; }; then
20742 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
20743 test "x$?" != "x0" && pkg_failed=yes
20753 if test $pkg_failed = yes; then
20754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20755 $as_echo "no" >&6; }
20757 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20758 _pkg_short_errors_supported=yes
20760 _pkg_short_errors_supported=no
20762 if test $_pkg_short_errors_supported = yes; then
20763 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0" 2>&1`
20765 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0" 2>&1`
20767 # Put the nasty error message in config.log where it belongs
20768 echo "$GLIB_PKG_ERRORS" >&5
20771 elif test $pkg_failed = untried; then
20772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20773 $as_echo "no" >&6; }
20776 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
20777 GLIB_LIBS=$pkg_cv_GLIB_LIBS
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20779 $as_echo "yes" >&6; }
20785 if test "x$want_glib" = "xyes" -a "x$have_glib" = "xno"; then
20786 as_fn_error $? "GLib support requested, but no GLib found by pkg-config." "$LINENO" 5
20787 elif test "x$have_glib" = "xyes"; then
20789 $as_echo "#define HAVE_GLIB 1" >>confdefs.h
20791 requirements_ecore="glib-2.0 ${requirements_ecore}"
20795 # SDL library (ecore_sdl)
20800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
20801 $as_echo_n "checking for SDL... " >&6; }
20803 if test -n "$SDL_CFLAGS"; then
20804 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
20805 elif test -n "$PKG_CONFIG"; then
20806 if test -n "$PKG_CONFIG" && \
20807 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20808 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20811 test $ac_status = 0; }; then
20812 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
20813 test "x$?" != "x0" && pkg_failed=yes
20820 if test -n "$SDL_LIBS"; then
20821 pkg_cv_SDL_LIBS="$SDL_LIBS"
20822 elif test -n "$PKG_CONFIG"; then
20823 if test -n "$PKG_CONFIG" && \
20824 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20825 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20828 test $ac_status = 0; }; then
20829 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
20830 test "x$?" != "x0" && pkg_failed=yes
20840 if test $pkg_failed = yes; then
20841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20842 $as_echo "no" >&6; }
20844 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20845 _pkg_short_errors_supported=yes
20847 _pkg_short_errors_supported=no
20849 if test $_pkg_short_errors_supported = yes; then
20850 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
20852 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
20854 # Put the nasty error message in config.log where it belongs
20855 echo "$SDL_PKG_ERRORS" >&5
20858 elif test $pkg_failed = untried; then
20859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20860 $as_echo "no" >&6; }
20863 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
20864 SDL_LIBS=$pkg_cv_SDL_LIBS
20865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20866 $as_echo "yes" >&6; }
20869 if test "x${have_sdl}" != "xyes" ; then
20870 SDL_CONFIG="sdl-config"
20872 # Check whether --with-sdl-config was given.
20873 if test "${with_sdl_config+set}" = set; then :
20874 withval=$with_sdl_config;
20875 SDL_CONFIG=$withval
20876 { $as_echo "$as_me:${as_lineno-$LINENO}: using ${SDL_CONFIG} for sdl-config" >&5
20877 $as_echo "$as_me: using ${SDL_CONFIG} for sdl-config" >&6;}
20882 # Extract the first word of ""sdl-config"", so it can be a program name with args.
20883 set dummy "sdl-config"; ac_word=$2
20884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20885 $as_echo_n "checking for $ac_word... " >&6; }
20886 if ${ac_cv_path_SDL_CONFIG+:} false; then :
20887 $as_echo_n "(cached) " >&6
20889 case $SDL_CONFIG in
20891 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
20894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20895 for as_dir in $PATH
20898 test -z "$as_dir" && as_dir=.
20899 for ac_exec_ext in '' $ac_executable_extensions; do
20900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20901 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20909 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG=""""
20913 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
20914 if test -n "$SDL_CONFIG"; then
20915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
20916 $as_echo "$SDL_CONFIG" >&6; }
20918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20919 $as_echo "no" >&6; }
20924 if test -n "$SDL_CONFIG" ; then
20925 SDL_CFLAGS=`$SDL_CONFIG --cflags`
20926 SDL_LIBS=`$SDL_CONFIG --libs`
20933 if test "x${have_sdl}" = "xyes" ; then
20934 if test -n "$PKG_CONFIG" && \
20935 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.3.0\""; } >&5
20936 ($PKG_CONFIG --exists --print-errors "sdl >= 1.3.0") 2>&5
20938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20939 test $ac_status = 0; }; then
20941 $as_echo "#define BUILD_ECORE_EVAS_SDL_130 1" >>confdefs.h
20947 # DirectFB library (ecore_directfb)
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
20952 $as_echo_n "checking for DIRECTFB... " >&6; }
20954 if test -n "$DIRECTFB_CFLAGS"; then
20955 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
20956 elif test -n "$PKG_CONFIG"; then
20957 if test -n "$PKG_CONFIG" && \
20958 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
20959 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
20961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20962 test $ac_status = 0; }; then
20963 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.16" 2>/dev/null`
20964 test "x$?" != "x0" && pkg_failed=yes
20971 if test -n "$DIRECTFB_LIBS"; then
20972 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
20973 elif test -n "$PKG_CONFIG"; then
20974 if test -n "$PKG_CONFIG" && \
20975 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
20976 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
20978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20979 test $ac_status = 0; }; then
20980 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.16" 2>/dev/null`
20981 test "x$?" != "x0" && pkg_failed=yes
20991 if test $pkg_failed = yes; then
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20993 $as_echo "no" >&6; }
20995 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20996 _pkg_short_errors_supported=yes
20998 _pkg_short_errors_supported=no
21000 if test $_pkg_short_errors_supported = yes; then
21001 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "directfb >= 0.9.16" 2>&1`
21003 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "directfb >= 0.9.16" 2>&1`
21005 # Put the nasty error message in config.log where it belongs
21006 echo "$DIRECTFB_PKG_ERRORS" >&5
21009 elif test $pkg_failed = untried; then
21010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21011 $as_echo "no" >&6; }
21014 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
21015 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
21016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21017 $as_echo "yes" >&6; }
21018 have_directfb="yes"
21022 # Eet library (ecore_config)
21024 #PKG_CHECK_MODULES([EET],
21026 # [have_eet="yes"],
21030 # Xlib and XCB (ecore_x)
21032 ac_fn_c_check_decl "$LINENO" "MAXHOSTNAMELEN" "ac_cv_have_decl_MAXHOSTNAMELEN" "$ac_includes_default"
21033 if test "x$ac_cv_have_decl_MAXHOSTNAMELEN" = xyes; then :
21034 FOUND_MAXHOSTNAMELEN=yes
21038 if test "x${FOUND_MAXHOSTNAMELEN}" != "xyes" ; then
21039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for header that defines MAXHOSTNAMELEN" >&5
21040 $as_echo_n "checking for header that defines MAXHOSTNAMELEN... " >&6; }
21041 FOUND_MAXHOSTNAMELEN="not found"
21043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21044 /* end confdefs.h. */
21047 #include <sys/param.h>
21053 int h = MAXHOSTNAMELEN;
21060 if ac_fn_c_try_compile "$LINENO"; then :
21062 FOUND_MAXHOSTNAMELEN="sys/param.h"
21064 $as_echo "#define NEED_SYS_PARAM_H 1" >>confdefs.h
21068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21071 /* end confdefs.h. */
21080 int h = MAXHOSTNAMELEN;
21087 if ac_fn_c_try_compile "$LINENO"; then :
21089 FOUND_MAXHOSTNAMELEN="netdb.h"
21091 $as_echo "#define NEED_NETDB_H 1" >>confdefs.h
21095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_MAXHOSTNAMELEN" >&5
21098 $as_echo "$FOUND_MAXHOSTNAMELEN" >&6; }
21103 have_ecore_x_xlib="no"
21104 have_ecore_x_xcb="no"
21111 ecore_x_libs_private=""
21113 # Check whether --enable-ecore-x-composite was given.
21114 if test "${enable_ecore_x_composite+set}" = set; then :
21115 enableval=$enable_ecore_x_composite; want_ecore_x_composite=$enableval
21119 # Check whether --enable-ecore-x-damage was given.
21120 if test "${enable_ecore_x_damage+set}" = set; then :
21121 enableval=$enable_ecore_x_damage; want_ecore_x_damage=$enableval
21125 # Check whether --enable-ecore-x-dpms was given.
21126 if test "${enable_ecore_x_dpms+set}" = set; then :
21127 enableval=$enable_ecore_x_dpms; want_ecore_x_dpms=$enableval
21131 # Check whether --enable-ecore-x-randr was given.
21132 if test "${enable_ecore_x_randr+set}" = set; then :
21133 enableval=$enable_ecore_x_randr; want_ecore_x_randr=$enableval
21137 # Check whether --enable-ecore-x-render was given.
21138 if test "${enable_ecore_x_render+set}" = set; then :
21139 enableval=$enable_ecore_x_render; want_ecore_x_render=$enableval
21143 # Check whether --enable-ecore-x-screensaver was given.
21144 if test "${enable_ecore_x_screensaver+set}" = set; then :
21145 enableval=$enable_ecore_x_screensaver; want_ecore_x_screensaver=$enableval
21149 # Check whether --enable-ecore-x-shape was given.
21150 if test "${enable_ecore_x_shape+set}" = set; then :
21151 enableval=$enable_ecore_x_shape; want_ecore_x_shape=$enableval
21155 # Check whether --enable-ecore-x-gesture was given.
21156 if test "${enable_ecore_x_gesture+set}" = set; then :
21157 enableval=$enable_ecore_x_gesture; want_ecore_x_gesture=$enableval
21161 # Check whether --enable-ecore-x-sync was given.
21162 if test "${enable_ecore_x_sync+set}" = set; then :
21163 enableval=$enable_ecore_x_sync; want_ecore_x_sync=$enableval
21167 # Check whether --enable-ecore-x-xfixes was given.
21168 if test "${enable_ecore_x_xfixes+set}" = set; then :
21169 enableval=$enable_ecore_x_xfixes; want_ecore_x_xfixes=$enableval
21173 # Check whether --enable-ecore-x-xinerama was given.
21174 if test "${enable_ecore_x_xinerama+set}" = set; then :
21175 enableval=$enable_ecore_x_xinerama; want_ecore_x_xinerama=$enableval
21179 # Check whether --enable-ecore-x-xprint was given.
21180 if test "${enable_ecore_x_xprint+set}" = set; then :
21181 enableval=$enable_ecore_x_xprint; want_ecore_x_xprint=$enableval
21185 # Check whether --enable-ecore-x-xtest was given.
21186 if test "${enable_ecore_x_xtest+set}" = set; then :
21187 enableval=$enable_ecore_x_xtest; want_ecore_x_xtest=$enableval
21191 # Check whether --enable-ecore-x-cursor was given.
21192 if test "${enable_ecore_x_cursor+set}" = set; then :
21193 enableval=$enable_ecore_x_cursor; want_ecore_x_cursor=$enableval
21197 # Check whether --enable-ecore-x-input was given.
21198 if test "${enable_ecore_x_input+set}" = set; then :
21199 enableval=$enable_ecore_x_input; want_ecore_x_input=$enableval
21203 # Check whether --enable-ecore-x-dri was given.
21204 if test "${enable_ecore_x_dri+set}" = set; then :
21205 enableval=$enable_ecore_x_dri; want_ecore_x_dri=$enableval
21209 # Check whether --enable-ecore-x-xcb was given.
21210 if test "${enable_ecore_x_xcb+set}" = set; then :
21211 enableval=$enable_ecore_x_xcb; want_ecore_x_xcb=$enableval
21215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_x with XCB backend is to be built" >&5
21216 $as_echo_n "checking whether ecore_x with XCB backend is to be built... " >&6; }
21217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_ecore_x_xcb" >&5
21218 $as_echo "$want_ecore_x_xcb" >&6; }
21220 if test "x$want_ecore_x_xcb" = "xyes" ; then
21222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking keysym definitions" >&5
21223 $as_echo_n "checking keysym definitions... " >&6; }
21224 KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11
21225 FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
21226 for i in $FILES; do
21227 if test -f "$KEYSYMDEFDIR/$i"; then
21228 KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
21229 elif test "x$i" = "xkeysymdef.h"; then
21230 as_fn_error $? "Cannot find keysymdef.h" "$LINENO" 5
21233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KEYSYMDEFS" >&5
21234 $as_echo "$KEYSYMDEFS" >&6; }
21239 # Check whether --with-iconv-link was given.
21240 if test "${with_iconv_link+set}" = set; then :
21241 withval=$with_iconv_link;
21242 LIBS="$withval $LIBS"
21248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for explicit iconv link options" >&5
21249 $as_echo_n "checking for explicit iconv link options... " >&6; }
21250 if test "x${iconv_libs}" = "x" ; then
21251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no explicit iconv link option" >&5
21252 $as_echo "no explicit iconv link option" >&6; }
21254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $iconv_libs" >&5
21255 $as_echo "$iconv_libs" >&6; }
21258 if test "x${have_iconv}" = "xno" ; then
21259 for ac_header in iconv.h
21261 ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
21262 if test "x$ac_cv_header_iconv_h" = xyes; then :
21263 cat >>confdefs.h <<_ACEOF
21264 #define HAVE_ICONV_H 1
21272 if test "x${have_iconv}" = "xyes" ; then
21273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv() is in libc" >&5
21274 $as_echo_n "checking whether iconv() is in libc... " >&6; }
21276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21277 /* end confdefs.h. */
21279 #include <stdlib.h>
21287 size_t count = iconv(ic, NULL, NULL, NULL, NULL);
21293 if ac_fn_c_try_link "$LINENO"; then :
21298 rm -f core conftest.err conftest.$ac_objext \
21299 conftest$ac_exeext conftest.$ac_ext
21301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_iconv}" >&5
21302 $as_echo "${have_iconv}" >&6; }
21305 if test "x${have_iconv}" = "xno" ; then
21306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv() is in libiconv.a" >&5
21307 $as_echo_n "checking whether iconv() is in libiconv.a... " >&6; }
21309 LIBS_save="${LIBS}"
21310 LIBS="-liconv $LIBS"
21311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21312 /* end confdefs.h. */
21314 #include <stdlib.h>
21323 count = iconv(ic, NULL, NULL, NULL, NULL);
21329 if ac_fn_c_try_link "$LINENO"; then :
21337 rm -f core conftest.err conftest.$ac_objext \
21338 conftest$ac_exeext conftest.$ac_ext
21340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_iconv}" >&5
21341 $as_echo "${have_iconv}" >&6; }
21344 if test "x${have_iconv}" = "xno" ; then
21345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv() is in libiconv_plug.a" >&5
21346 $as_echo_n "checking whether iconv() is in libiconv_plug.a... " >&6; }
21348 LIBS_save="${LIBS}"
21349 LIBS="-liconv_plug $LIBS"
21350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21351 /* end confdefs.h. */
21353 #include <stdlib.h>
21361 size_t count = iconv(ic, NULL, NULL, NULL, NULL);
21367 if ac_fn_c_try_link "$LINENO"; then :
21375 rm -f core conftest.err conftest.$ac_objext \
21376 conftest$ac_exeext conftest.$ac_ext
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_iconv}" >&5
21379 $as_echo "${have_iconv}" >&6; }
21382 if test "x${have_iconv}" = "xyes" ; then
21384 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
21391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_XCB" >&5
21392 $as_echo_n "checking for ECORE_XCB... " >&6; }
21394 if test -n "$ECORE_XCB_CFLAGS"; then
21395 pkg_cv_ECORE_XCB_CFLAGS="$ECORE_XCB_CFLAGS"
21396 elif test -n "$PKG_CONFIG"; then
21397 if test -n "$PKG_CONFIG" && \
21398 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8\""; } >&5
21399 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8") 2>&5
21401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21402 test $ac_status = 0; }; then
21403 pkg_cv_ECORE_XCB_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8" 2>/dev/null`
21404 test "x$?" != "x0" && pkg_failed=yes
21411 if test -n "$ECORE_XCB_LIBS"; then
21412 pkg_cv_ECORE_XCB_LIBS="$ECORE_XCB_LIBS"
21413 elif test -n "$PKG_CONFIG"; then
21414 if test -n "$PKG_CONFIG" && \
21415 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8\""; } >&5
21416 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8") 2>&5
21418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21419 test $ac_status = 0; }; then
21420 pkg_cv_ECORE_XCB_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8" 2>/dev/null`
21421 test "x$?" != "x0" && pkg_failed=yes
21431 if test $pkg_failed = yes; then
21432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21433 $as_echo "no" >&6; }
21435 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21436 _pkg_short_errors_supported=yes
21438 _pkg_short_errors_supported=no
21440 if test $_pkg_short_errors_supported = yes; then
21441 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8" 2>&1`
21443 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8" 2>&1`
21445 # Put the nasty error message in config.log where it belongs
21446 echo "$ECORE_XCB_PKG_ERRORS" >&5
21451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_XCB" >&5
21452 $as_echo_n "checking for ECORE_XCB... " >&6; }
21454 if test -n "$ECORE_XCB_CFLAGS"; then
21455 pkg_cv_ECORE_XCB_CFLAGS="$ECORE_XCB_CFLAGS"
21456 elif test -n "$PKG_CONFIG"; then
21457 if test -n "$PKG_CONFIG" && \
21458 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21459 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21462 test $ac_status = 0; }; then
21463 pkg_cv_ECORE_XCB_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>/dev/null`
21464 test "x$?" != "x0" && pkg_failed=yes
21471 if test -n "$ECORE_XCB_LIBS"; then
21472 pkg_cv_ECORE_XCB_LIBS="$ECORE_XCB_LIBS"
21473 elif test -n "$PKG_CONFIG"; then
21474 if test -n "$PKG_CONFIG" && \
21475 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21476 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21479 test $ac_status = 0; }; then
21480 pkg_cv_ECORE_XCB_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>/dev/null`
21481 test "x$?" != "x0" && pkg_failed=yes
21491 if test $pkg_failed = yes; then
21492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21493 $as_echo "no" >&6; }
21495 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21496 _pkg_short_errors_supported=yes
21498 _pkg_short_errors_supported=no
21500 if test $_pkg_short_errors_supported = yes; then
21501 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21503 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21505 # Put the nasty error message in config.log where it belongs
21506 echo "$ECORE_XCB_PKG_ERRORS" >&5
21508 have_ecore_x_xcb="no"
21509 elif test $pkg_failed = untried; then
21510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21511 $as_echo "no" >&6; }
21512 have_ecore_x_xcb="no"
21514 ECORE_XCB_CFLAGS=$pkg_cv_ECORE_XCB_CFLAGS
21515 ECORE_XCB_LIBS=$pkg_cv_ECORE_XCB_LIBS
21516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21517 $as_echo "yes" >&6; }
21518 have_ecore_x_xcb="yes"
21520 $as_echo "#define OLD_XCB_VERSION 1" >>confdefs.h
21522 requirements_ecore_x="x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms ${requirements_ecore_x}"
21525 elif test $pkg_failed = untried; then
21526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21527 $as_echo "no" >&6; }
21531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_XCB" >&5
21532 $as_echo_n "checking for ECORE_XCB... " >&6; }
21534 if test -n "$ECORE_XCB_CFLAGS"; then
21535 pkg_cv_ECORE_XCB_CFLAGS="$ECORE_XCB_CFLAGS"
21536 elif test -n "$PKG_CONFIG"; then
21537 if test -n "$PKG_CONFIG" && \
21538 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21539 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21542 test $ac_status = 0; }; then
21543 pkg_cv_ECORE_XCB_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>/dev/null`
21544 test "x$?" != "x0" && pkg_failed=yes
21551 if test -n "$ECORE_XCB_LIBS"; then
21552 pkg_cv_ECORE_XCB_LIBS="$ECORE_XCB_LIBS"
21553 elif test -n "$PKG_CONFIG"; then
21554 if test -n "$PKG_CONFIG" && \
21555 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21556 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21559 test $ac_status = 0; }; then
21560 pkg_cv_ECORE_XCB_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>/dev/null`
21561 test "x$?" != "x0" && pkg_failed=yes
21571 if test $pkg_failed = yes; then
21572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21573 $as_echo "no" >&6; }
21575 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21576 _pkg_short_errors_supported=yes
21578 _pkg_short_errors_supported=no
21580 if test $_pkg_short_errors_supported = yes; then
21581 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21583 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21585 # Put the nasty error message in config.log where it belongs
21586 echo "$ECORE_XCB_PKG_ERRORS" >&5
21588 have_ecore_x_xcb="no"
21589 elif test $pkg_failed = untried; then
21590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21591 $as_echo "no" >&6; }
21592 have_ecore_x_xcb="no"
21594 ECORE_XCB_CFLAGS=$pkg_cv_ECORE_XCB_CFLAGS
21595 ECORE_XCB_LIBS=$pkg_cv_ECORE_XCB_LIBS
21596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21597 $as_echo "yes" >&6; }
21598 have_ecore_x_xcb="yes"
21600 $as_echo "#define OLD_XCB_VERSION 1" >>confdefs.h
21602 requirements_ecore_x="x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms ${requirements_ecore_x}"
21606 ECORE_XCB_CFLAGS=$pkg_cv_ECORE_XCB_CFLAGS
21607 ECORE_XCB_LIBS=$pkg_cv_ECORE_XCB_LIBS
21608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21609 $as_echo "yes" >&6; }
21610 have_ecore_x_xcb="yes"
21611 requirements_ecore_x="x11-xcb xcb xcb-shm xcb-event xcb-icccm xcb-util xcb-image xcb-keysyms ${requirements_ecore_x}"
21615 if test "x$have_ecore_x_xcb" = "xyes" ; then
21619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5
21620 $as_echo_n "checking for PIXMAN... " >&6; }
21622 if test -n "$PIXMAN_CFLAGS"; then
21623 pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS"
21624 elif test -n "$PKG_CONFIG"; then
21625 if test -n "$PKG_CONFIG" && \
21626 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
21627 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
21629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21630 test $ac_status = 0; }; then
21631 pkg_cv_PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "pixman-1" 2>/dev/null`
21632 test "x$?" != "x0" && pkg_failed=yes
21639 if test -n "$PIXMAN_LIBS"; then
21640 pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS"
21641 elif test -n "$PKG_CONFIG"; then
21642 if test -n "$PKG_CONFIG" && \
21643 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
21644 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
21646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21647 test $ac_status = 0; }; then
21648 pkg_cv_PIXMAN_LIBS=`$PKG_CONFIG --libs "pixman-1" 2>/dev/null`
21649 test "x$?" != "x0" && pkg_failed=yes
21659 if test $pkg_failed = yes; then
21660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21661 $as_echo "no" >&6; }
21663 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21664 _pkg_short_errors_supported=yes
21666 _pkg_short_errors_supported=no
21668 if test $_pkg_short_errors_supported = yes; then
21669 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pixman-1" 2>&1`
21671 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pixman-1" 2>&1`
21673 # Put the nasty error message in config.log where it belongs
21674 echo "$PIXMAN_PKG_ERRORS" >&5
21677 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21678 as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
21681 elif test $pkg_failed = untried; then
21682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21683 $as_echo "no" >&6; }
21685 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21686 as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
21690 PIXMAN_CFLAGS=$pkg_cv_PIXMAN_CFLAGS
21691 PIXMAN_LIBS=$pkg_cv_PIXMAN_LIBS
21692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21693 $as_echo "yes" >&6; }
21697 $as_echo "#define HAVE_PIXMAN 1" >>confdefs.h
21699 requirements_ecore_x="pixman-1 ${requirements_ecore_x}"
21703 if test "x$want_ecore_x_composite" != "xno"; then
21706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_COMPOSITE" >&5
21707 $as_echo_n "checking for XCB_COMPOSITE... " >&6; }
21709 if test -n "$XCB_COMPOSITE_CFLAGS"; then
21710 pkg_cv_XCB_COMPOSITE_CFLAGS="$XCB_COMPOSITE_CFLAGS"
21711 elif test -n "$PKG_CONFIG"; then
21712 if test -n "$PKG_CONFIG" && \
21713 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-composite\""; } >&5
21714 ($PKG_CONFIG --exists --print-errors "xcb-composite") 2>&5
21716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21717 test $ac_status = 0; }; then
21718 pkg_cv_XCB_COMPOSITE_CFLAGS=`$PKG_CONFIG --cflags "xcb-composite" 2>/dev/null`
21719 test "x$?" != "x0" && pkg_failed=yes
21726 if test -n "$XCB_COMPOSITE_LIBS"; then
21727 pkg_cv_XCB_COMPOSITE_LIBS="$XCB_COMPOSITE_LIBS"
21728 elif test -n "$PKG_CONFIG"; then
21729 if test -n "$PKG_CONFIG" && \
21730 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-composite\""; } >&5
21731 ($PKG_CONFIG --exists --print-errors "xcb-composite") 2>&5
21733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21734 test $ac_status = 0; }; then
21735 pkg_cv_XCB_COMPOSITE_LIBS=`$PKG_CONFIG --libs "xcb-composite" 2>/dev/null`
21736 test "x$?" != "x0" && pkg_failed=yes
21746 if test $pkg_failed = yes; then
21747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21748 $as_echo "no" >&6; }
21750 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21751 _pkg_short_errors_supported=yes
21753 _pkg_short_errors_supported=no
21755 if test $_pkg_short_errors_supported = yes; then
21756 XCB_COMPOSITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-composite" 2>&1`
21758 XCB_COMPOSITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-composite" 2>&1`
21760 # Put the nasty error message in config.log where it belongs
21761 echo "$XCB_COMPOSITE_PKG_ERRORS" >&5
21763 have_ecore_x_xcb_composite="no"
21764 elif test $pkg_failed = untried; then
21765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21766 $as_echo "no" >&6; }
21767 have_ecore_x_xcb_composite="no"
21769 XCB_COMPOSITE_CFLAGS=$pkg_cv_XCB_COMPOSITE_CFLAGS
21770 XCB_COMPOSITE_LIBS=$pkg_cv_XCB_COMPOSITE_LIBS
21771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21772 $as_echo "yes" >&6; }
21773 have_ecore_x_xcb_composite="yes"
21774 requirements_ecore_x="xcb-composite ${requirements_ecore_x}"
21776 $as_echo "#define ECORE_XCB_COMPOSITE 1" >>confdefs.h
21780 have_ecore_x_xcb_composite="no"
21781 { $as_echo "$as_me:${as_lineno-$LINENO}: \"composite extension explicitly disabled\"" >&5
21782 $as_echo "$as_me: \"composite extension explicitly disabled\"" >&6;}
21785 if test "x$want_ecore_x_damage" != "xno"; then
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_DAMAGE" >&5
21789 $as_echo_n "checking for XCB_DAMAGE... " >&6; }
21791 if test -n "$XCB_DAMAGE_CFLAGS"; then
21792 pkg_cv_XCB_DAMAGE_CFLAGS="$XCB_DAMAGE_CFLAGS"
21793 elif test -n "$PKG_CONFIG"; then
21794 if test -n "$PKG_CONFIG" && \
21795 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-damage\""; } >&5
21796 ($PKG_CONFIG --exists --print-errors "xcb-damage") 2>&5
21798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21799 test $ac_status = 0; }; then
21800 pkg_cv_XCB_DAMAGE_CFLAGS=`$PKG_CONFIG --cflags "xcb-damage" 2>/dev/null`
21801 test "x$?" != "x0" && pkg_failed=yes
21808 if test -n "$XCB_DAMAGE_LIBS"; then
21809 pkg_cv_XCB_DAMAGE_LIBS="$XCB_DAMAGE_LIBS"
21810 elif test -n "$PKG_CONFIG"; then
21811 if test -n "$PKG_CONFIG" && \
21812 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-damage\""; } >&5
21813 ($PKG_CONFIG --exists --print-errors "xcb-damage") 2>&5
21815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21816 test $ac_status = 0; }; then
21817 pkg_cv_XCB_DAMAGE_LIBS=`$PKG_CONFIG --libs "xcb-damage" 2>/dev/null`
21818 test "x$?" != "x0" && pkg_failed=yes
21828 if test $pkg_failed = yes; then
21829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21830 $as_echo "no" >&6; }
21832 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21833 _pkg_short_errors_supported=yes
21835 _pkg_short_errors_supported=no
21837 if test $_pkg_short_errors_supported = yes; then
21838 XCB_DAMAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-damage" 2>&1`
21840 XCB_DAMAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-damage" 2>&1`
21842 # Put the nasty error message in config.log where it belongs
21843 echo "$XCB_DAMAGE_PKG_ERRORS" >&5
21845 have_ecore_x_xcb_damage="no"
21846 elif test $pkg_failed = untried; then
21847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21848 $as_echo "no" >&6; }
21849 have_ecore_x_xcb_damage="no"
21851 XCB_DAMAGE_CFLAGS=$pkg_cv_XCB_DAMAGE_CFLAGS
21852 XCB_DAMAGE_LIBS=$pkg_cv_XCB_DAMAGE_LIBS
21853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21854 $as_echo "yes" >&6; }
21855 have_ecore_x_xcb_damage="yes"
21856 requirements_ecore_x="xcb-damage ${requirements_ecore_x}"
21858 $as_echo "#define ECORE_XCB_DAMAGE 1" >>confdefs.h
21862 have_ecore_x_xcb_damage="no"
21863 { $as_echo "$as_me:${as_lineno-$LINENO}: \"damage extension explicitly disabled\"" >&5
21864 $as_echo "$as_me: \"damage extension explicitly disabled\"" >&6;}
21867 if test "x$want_ecore_x_dpms" != "xno"; then
21870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_DPMS" >&5
21871 $as_echo_n "checking for XCB_DPMS... " >&6; }
21873 if test -n "$XCB_DPMS_CFLAGS"; then
21874 pkg_cv_XCB_DPMS_CFLAGS="$XCB_DPMS_CFLAGS"
21875 elif test -n "$PKG_CONFIG"; then
21876 if test -n "$PKG_CONFIG" && \
21877 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-dpms\""; } >&5
21878 ($PKG_CONFIG --exists --print-errors "xcb-dpms") 2>&5
21880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21881 test $ac_status = 0; }; then
21882 pkg_cv_XCB_DPMS_CFLAGS=`$PKG_CONFIG --cflags "xcb-dpms" 2>/dev/null`
21883 test "x$?" != "x0" && pkg_failed=yes
21890 if test -n "$XCB_DPMS_LIBS"; then
21891 pkg_cv_XCB_DPMS_LIBS="$XCB_DPMS_LIBS"
21892 elif test -n "$PKG_CONFIG"; then
21893 if test -n "$PKG_CONFIG" && \
21894 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-dpms\""; } >&5
21895 ($PKG_CONFIG --exists --print-errors "xcb-dpms") 2>&5
21897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21898 test $ac_status = 0; }; then
21899 pkg_cv_XCB_DPMS_LIBS=`$PKG_CONFIG --libs "xcb-dpms" 2>/dev/null`
21900 test "x$?" != "x0" && pkg_failed=yes
21910 if test $pkg_failed = yes; then
21911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21912 $as_echo "no" >&6; }
21914 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21915 _pkg_short_errors_supported=yes
21917 _pkg_short_errors_supported=no
21919 if test $_pkg_short_errors_supported = yes; then
21920 XCB_DPMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-dpms" 2>&1`
21922 XCB_DPMS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-dpms" 2>&1`
21924 # Put the nasty error message in config.log where it belongs
21925 echo "$XCB_DPMS_PKG_ERRORS" >&5
21927 have_ecore_x_xcb_dpms="no"
21928 elif test $pkg_failed = untried; then
21929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21930 $as_echo "no" >&6; }
21931 have_ecore_x_xcb_dpms="no"
21933 XCB_DPMS_CFLAGS=$pkg_cv_XCB_DPMS_CFLAGS
21934 XCB_DPMS_LIBS=$pkg_cv_XCB_DPMS_LIBS
21935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21936 $as_echo "yes" >&6; }
21937 have_ecore_x_xcb_dpms="yes"
21938 requirements_ecore_x="xcb-dpms ${requirements_ecore_x}"
21940 $as_echo "#define ECORE_XCB_DPMS 1" >>confdefs.h
21944 have_ecore_x_xcb_dpms="no"
21945 { $as_echo "$as_me:${as_lineno-$LINENO}: \"dpms extension explicitly disabled\"" >&5
21946 $as_echo "$as_me: \"dpms extension explicitly disabled\"" >&6;}
21949 if test "x$want_ecore_x_randr" != "xno"; then
21952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_RANDR" >&5
21953 $as_echo_n "checking for XCB_RANDR... " >&6; }
21955 if test -n "$XCB_RANDR_CFLAGS"; then
21956 pkg_cv_XCB_RANDR_CFLAGS="$XCB_RANDR_CFLAGS"
21957 elif test -n "$PKG_CONFIG"; then
21958 if test -n "$PKG_CONFIG" && \
21959 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-randr\""; } >&5
21960 ($PKG_CONFIG --exists --print-errors "xcb-randr") 2>&5
21962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21963 test $ac_status = 0; }; then
21964 pkg_cv_XCB_RANDR_CFLAGS=`$PKG_CONFIG --cflags "xcb-randr" 2>/dev/null`
21965 test "x$?" != "x0" && pkg_failed=yes
21972 if test -n "$XCB_RANDR_LIBS"; then
21973 pkg_cv_XCB_RANDR_LIBS="$XCB_RANDR_LIBS"
21974 elif test -n "$PKG_CONFIG"; then
21975 if test -n "$PKG_CONFIG" && \
21976 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-randr\""; } >&5
21977 ($PKG_CONFIG --exists --print-errors "xcb-randr") 2>&5
21979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21980 test $ac_status = 0; }; then
21981 pkg_cv_XCB_RANDR_LIBS=`$PKG_CONFIG --libs "xcb-randr" 2>/dev/null`
21982 test "x$?" != "x0" && pkg_failed=yes
21992 if test $pkg_failed = yes; then
21993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21994 $as_echo "no" >&6; }
21996 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21997 _pkg_short_errors_supported=yes
21999 _pkg_short_errors_supported=no
22001 if test $_pkg_short_errors_supported = yes; then
22002 XCB_RANDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-randr" 2>&1`
22004 XCB_RANDR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-randr" 2>&1`
22006 # Put the nasty error message in config.log where it belongs
22007 echo "$XCB_RANDR_PKG_ERRORS" >&5
22009 have_ecore_x_xcb_randr="no"
22010 elif test $pkg_failed = untried; then
22011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22012 $as_echo "no" >&6; }
22013 have_ecore_x_xcb_randr="no"
22015 XCB_RANDR_CFLAGS=$pkg_cv_XCB_RANDR_CFLAGS
22016 XCB_RANDR_LIBS=$pkg_cv_XCB_RANDR_LIBS
22017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22018 $as_echo "yes" >&6; }
22019 have_ecore_x_xcb_randr="yes"
22020 requirements_ecore_x="xcb-randr ${requirements_ecore_x}"
22022 $as_echo "#define ECORE_XCB_RANDR 1" >>confdefs.h
22026 have_ecore_x_xcb_randr="no"
22027 { $as_echo "$as_me:${as_lineno-$LINENO}: \"randr extension explicitly disabled\"" >&5
22028 $as_echo "$as_me: \"randr extension explicitly disabled\"" >&6;}
22031 if test "x$want_ecore_x_render" != "xno"; then
22034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_RENDER" >&5
22035 $as_echo_n "checking for XCB_RENDER... " >&6; }
22037 if test -n "$XCB_RENDER_CFLAGS"; then
22038 pkg_cv_XCB_RENDER_CFLAGS="$XCB_RENDER_CFLAGS"
22039 elif test -n "$PKG_CONFIG"; then
22040 if test -n "$PKG_CONFIG" && \
22041 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
22042 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
22044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22045 test $ac_status = 0; }; then
22046 pkg_cv_XCB_RENDER_CFLAGS=`$PKG_CONFIG --cflags "xcb-render xcb-renderutil" 2>/dev/null`
22047 test "x$?" != "x0" && pkg_failed=yes
22054 if test -n "$XCB_RENDER_LIBS"; then
22055 pkg_cv_XCB_RENDER_LIBS="$XCB_RENDER_LIBS"
22056 elif test -n "$PKG_CONFIG"; then
22057 if test -n "$PKG_CONFIG" && \
22058 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
22059 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
22061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22062 test $ac_status = 0; }; then
22063 pkg_cv_XCB_RENDER_LIBS=`$PKG_CONFIG --libs "xcb-render xcb-renderutil" 2>/dev/null`
22064 test "x$?" != "x0" && pkg_failed=yes
22074 if test $pkg_failed = yes; then
22075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22076 $as_echo "no" >&6; }
22078 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22079 _pkg_short_errors_supported=yes
22081 _pkg_short_errors_supported=no
22083 if test $_pkg_short_errors_supported = yes; then
22084 XCB_RENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-render xcb-renderutil" 2>&1`
22086 XCB_RENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-render xcb-renderutil" 2>&1`
22088 # Put the nasty error message in config.log where it belongs
22089 echo "$XCB_RENDER_PKG_ERRORS" >&5
22091 have_ecore_x_xcb_render="no"
22092 elif test $pkg_failed = untried; then
22093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22094 $as_echo "no" >&6; }
22095 have_ecore_x_xcb_render="no"
22097 XCB_RENDER_CFLAGS=$pkg_cv_XCB_RENDER_CFLAGS
22098 XCB_RENDER_LIBS=$pkg_cv_XCB_RENDER_LIBS
22099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22100 $as_echo "yes" >&6; }
22101 have_ecore_x_xcb_render="yes"
22102 requirements_ecore_x="xcb-render xcb-renderutil ${requirements_ecore_x}"
22104 $as_echo "#define ECORE_XCB_RENDER 1" >>confdefs.h
22108 have_ecore_x_xcb_render="no"
22109 { $as_echo "$as_me:${as_lineno-$LINENO}: \"render extension explicitly disabled\"" >&5
22110 $as_echo "$as_me: \"render extension explicitly disabled\"" >&6;}
22113 if test "x$want_ecore_x_screensaver" != "xno"; then
22116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SCREENSAVER" >&5
22117 $as_echo_n "checking for XCB_SCREENSAVER... " >&6; }
22119 if test -n "$XCB_SCREENSAVER_CFLAGS"; then
22120 pkg_cv_XCB_SCREENSAVER_CFLAGS="$XCB_SCREENSAVER_CFLAGS"
22121 elif test -n "$PKG_CONFIG"; then
22122 if test -n "$PKG_CONFIG" && \
22123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-screensaver\""; } >&5
22124 ($PKG_CONFIG --exists --print-errors "xcb-screensaver") 2>&5
22126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22127 test $ac_status = 0; }; then
22128 pkg_cv_XCB_SCREENSAVER_CFLAGS=`$PKG_CONFIG --cflags "xcb-screensaver" 2>/dev/null`
22129 test "x$?" != "x0" && pkg_failed=yes
22136 if test -n "$XCB_SCREENSAVER_LIBS"; then
22137 pkg_cv_XCB_SCREENSAVER_LIBS="$XCB_SCREENSAVER_LIBS"
22138 elif test -n "$PKG_CONFIG"; then
22139 if test -n "$PKG_CONFIG" && \
22140 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-screensaver\""; } >&5
22141 ($PKG_CONFIG --exists --print-errors "xcb-screensaver") 2>&5
22143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22144 test $ac_status = 0; }; then
22145 pkg_cv_XCB_SCREENSAVER_LIBS=`$PKG_CONFIG --libs "xcb-screensaver" 2>/dev/null`
22146 test "x$?" != "x0" && pkg_failed=yes
22156 if test $pkg_failed = yes; then
22157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22158 $as_echo "no" >&6; }
22160 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22161 _pkg_short_errors_supported=yes
22163 _pkg_short_errors_supported=no
22165 if test $_pkg_short_errors_supported = yes; then
22166 XCB_SCREENSAVER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-screensaver" 2>&1`
22168 XCB_SCREENSAVER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-screensaver" 2>&1`
22170 # Put the nasty error message in config.log where it belongs
22171 echo "$XCB_SCREENSAVER_PKG_ERRORS" >&5
22173 have_ecore_x_xcb_screensaver="no"
22174 elif test $pkg_failed = untried; then
22175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22176 $as_echo "no" >&6; }
22177 have_ecore_x_xcb_screensaver="no"
22179 XCB_SCREENSAVER_CFLAGS=$pkg_cv_XCB_SCREENSAVER_CFLAGS
22180 XCB_SCREENSAVER_LIBS=$pkg_cv_XCB_SCREENSAVER_LIBS
22181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22182 $as_echo "yes" >&6; }
22183 have_ecore_x_xcb_screensaver="yes"
22184 requirements_ecore_x="xcb-screensaver ${requirements_ecore_x}"
22186 $as_echo "#define ECORE_XCB_SCREENSAVER 1" >>confdefs.h
22190 have_ecore_x_xcb_screensaver="no"
22191 { $as_echo "$as_me:${as_lineno-$LINENO}: \"screensaver extension explicitly disabled\"" >&5
22192 $as_echo "$as_me: \"screensaver extension explicitly disabled\"" >&6;}
22195 if test "x$want_ecore_x_shape" != "xno"; then
22198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SHAPE" >&5
22199 $as_echo_n "checking for XCB_SHAPE... " >&6; }
22201 if test -n "$XCB_SHAPE_CFLAGS"; then
22202 pkg_cv_XCB_SHAPE_CFLAGS="$XCB_SHAPE_CFLAGS"
22203 elif test -n "$PKG_CONFIG"; then
22204 if test -n "$PKG_CONFIG" && \
22205 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-shape\""; } >&5
22206 ($PKG_CONFIG --exists --print-errors "xcb-shape") 2>&5
22208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22209 test $ac_status = 0; }; then
22210 pkg_cv_XCB_SHAPE_CFLAGS=`$PKG_CONFIG --cflags "xcb-shape" 2>/dev/null`
22211 test "x$?" != "x0" && pkg_failed=yes
22218 if test -n "$XCB_SHAPE_LIBS"; then
22219 pkg_cv_XCB_SHAPE_LIBS="$XCB_SHAPE_LIBS"
22220 elif test -n "$PKG_CONFIG"; then
22221 if test -n "$PKG_CONFIG" && \
22222 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-shape\""; } >&5
22223 ($PKG_CONFIG --exists --print-errors "xcb-shape") 2>&5
22225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22226 test $ac_status = 0; }; then
22227 pkg_cv_XCB_SHAPE_LIBS=`$PKG_CONFIG --libs "xcb-shape" 2>/dev/null`
22228 test "x$?" != "x0" && pkg_failed=yes
22238 if test $pkg_failed = yes; then
22239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22240 $as_echo "no" >&6; }
22242 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22243 _pkg_short_errors_supported=yes
22245 _pkg_short_errors_supported=no
22247 if test $_pkg_short_errors_supported = yes; then
22248 XCB_SHAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-shape" 2>&1`
22250 XCB_SHAPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-shape" 2>&1`
22252 # Put the nasty error message in config.log where it belongs
22253 echo "$XCB_SHAPE_PKG_ERRORS" >&5
22255 have_ecore_x_xcb_shape="no"
22256 elif test $pkg_failed = untried; then
22257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22258 $as_echo "no" >&6; }
22259 have_ecore_x_xcb_shape="no"
22261 XCB_SHAPE_CFLAGS=$pkg_cv_XCB_SHAPE_CFLAGS
22262 XCB_SHAPE_LIBS=$pkg_cv_XCB_SHAPE_LIBS
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22264 $as_echo "yes" >&6; }
22265 have_ecore_x_xcb_shape="yes"
22266 requirements_ecore_x="xcb-shape ${requirements_ecore_x}"
22268 $as_echo "#define ECORE_XCB_SHAPE 1" >>confdefs.h
22272 have_ecore_x_xcb_shape="no"
22273 { $as_echo "$as_me:${as_lineno-$LINENO}: \"shape extension explicitly disabled\"" >&5
22274 $as_echo "$as_me: \"shape extension explicitly disabled\"" >&6;}
22277 if test "x$want_ecore_x_gesture" != "xno"; then
22280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XGESTURE" >&5
22281 $as_echo_n "checking for XCB_XGESTURE... " >&6; }
22283 if test -n "$XCB_XGESTURE_CFLAGS"; then
22284 pkg_cv_XCB_XGESTURE_CFLAGS="$XCB_XGESTURE_CFLAGS"
22285 elif test -n "$PKG_CONFIG"; then
22286 if test -n "$PKG_CONFIG" && \
22287 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-gesture\""; } >&5
22288 ($PKG_CONFIG --exists --print-errors "xcb-gesture") 2>&5
22290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22291 test $ac_status = 0; }; then
22292 pkg_cv_XCB_XGESTURE_CFLAGS=`$PKG_CONFIG --cflags "xcb-gesture" 2>/dev/null`
22293 test "x$?" != "x0" && pkg_failed=yes
22300 if test -n "$XCB_XGESTURE_LIBS"; then
22301 pkg_cv_XCB_XGESTURE_LIBS="$XCB_XGESTURE_LIBS"
22302 elif test -n "$PKG_CONFIG"; then
22303 if test -n "$PKG_CONFIG" && \
22304 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-gesture\""; } >&5
22305 ($PKG_CONFIG --exists --print-errors "xcb-gesture") 2>&5
22307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22308 test $ac_status = 0; }; then
22309 pkg_cv_XCB_XGESTURE_LIBS=`$PKG_CONFIG --libs "xcb-gesture" 2>/dev/null`
22310 test "x$?" != "x0" && pkg_failed=yes
22320 if test $pkg_failed = yes; then
22321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22322 $as_echo "no" >&6; }
22324 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22325 _pkg_short_errors_supported=yes
22327 _pkg_short_errors_supported=no
22329 if test $_pkg_short_errors_supported = yes; then
22330 XCB_XGESTURE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-gesture" 2>&1`
22332 XCB_XGESTURE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-gesture" 2>&1`
22334 # Put the nasty error message in config.log where it belongs
22335 echo "$XCB_XGESTURE_PKG_ERRORS" >&5
22337 have_ecore_x_xcb_gesture="no"
22338 elif test $pkg_failed = untried; then
22339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22340 $as_echo "no" >&6; }
22341 have_ecore_x_xcb_gesture="no"
22343 XCB_XGESTURE_CFLAGS=$pkg_cv_XCB_XGESTURE_CFLAGS
22344 XCB_XGESTURE_LIBS=$pkg_cv_XCB_XGESTURE_LIBS
22345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22346 $as_echo "yes" >&6; }
22347 have_ecore_x_xcb_gesture="yes"
22348 requirements_ecore_x="xcb-gesture ${requirements_ecore_x}"
22350 $as_echo "#define ECORE_XCB_XGESTURE 1" >>confdefs.h
22354 have_ecore_x_xcb_gesture="no"
22355 { $as_echo "$as_me:${as_lineno-$LINENO}: \"gesture extension explicitly disabled\"" >&5
22356 $as_echo "$as_me: \"gesture extension explicitly disabled\"" >&6;}
22359 if test "x$want_ecore_x_sync" != "xno"; then
22362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SYNC" >&5
22363 $as_echo_n "checking for XCB_SYNC... " >&6; }
22365 if test -n "$XCB_SYNC_CFLAGS"; then
22366 pkg_cv_XCB_SYNC_CFLAGS="$XCB_SYNC_CFLAGS"
22367 elif test -n "$PKG_CONFIG"; then
22368 if test -n "$PKG_CONFIG" && \
22369 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-sync\""; } >&5
22370 ($PKG_CONFIG --exists --print-errors "xcb-sync") 2>&5
22372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22373 test $ac_status = 0; }; then
22374 pkg_cv_XCB_SYNC_CFLAGS=`$PKG_CONFIG --cflags "xcb-sync" 2>/dev/null`
22375 test "x$?" != "x0" && pkg_failed=yes
22382 if test -n "$XCB_SYNC_LIBS"; then
22383 pkg_cv_XCB_SYNC_LIBS="$XCB_SYNC_LIBS"
22384 elif test -n "$PKG_CONFIG"; then
22385 if test -n "$PKG_CONFIG" && \
22386 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-sync\""; } >&5
22387 ($PKG_CONFIG --exists --print-errors "xcb-sync") 2>&5
22389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22390 test $ac_status = 0; }; then
22391 pkg_cv_XCB_SYNC_LIBS=`$PKG_CONFIG --libs "xcb-sync" 2>/dev/null`
22392 test "x$?" != "x0" && pkg_failed=yes
22402 if test $pkg_failed = yes; then
22403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22404 $as_echo "no" >&6; }
22406 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22407 _pkg_short_errors_supported=yes
22409 _pkg_short_errors_supported=no
22411 if test $_pkg_short_errors_supported = yes; then
22412 XCB_SYNC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-sync" 2>&1`
22414 XCB_SYNC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-sync" 2>&1`
22416 # Put the nasty error message in config.log where it belongs
22417 echo "$XCB_SYNC_PKG_ERRORS" >&5
22419 have_ecore_x_xcb_sync="no"
22420 elif test $pkg_failed = untried; then
22421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22422 $as_echo "no" >&6; }
22423 have_ecore_x_xcb_sync="no"
22425 XCB_SYNC_CFLAGS=$pkg_cv_XCB_SYNC_CFLAGS
22426 XCB_SYNC_LIBS=$pkg_cv_XCB_SYNC_LIBS
22427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22428 $as_echo "yes" >&6; }
22429 have_ecore_x_xcb_sync="yes"
22430 requirements_ecore_x="xcb-sync ${requirements_ecore_x}"
22432 $as_echo "#define ECORE_XCB_SYNC 1" >>confdefs.h
22436 have_ecore_x_xcb_sync="no"
22437 { $as_echo "$as_me:${as_lineno-$LINENO}: \"sync extension explicitly disabled\"" >&5
22438 $as_echo "$as_me: \"sync extension explicitly disabled\"" >&6;}
22441 if test "x$want_ecore_x_xfixes" != "xno"; then
22444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XFIXES" >&5
22445 $as_echo_n "checking for XCB_XFIXES... " >&6; }
22447 if test -n "$XCB_XFIXES_CFLAGS"; then
22448 pkg_cv_XCB_XFIXES_CFLAGS="$XCB_XFIXES_CFLAGS"
22449 elif test -n "$PKG_CONFIG"; then
22450 if test -n "$PKG_CONFIG" && \
22451 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xfixes\""; } >&5
22452 ($PKG_CONFIG --exists --print-errors "xcb-xfixes") 2>&5
22454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22455 test $ac_status = 0; }; then
22456 pkg_cv_XCB_XFIXES_CFLAGS=`$PKG_CONFIG --cflags "xcb-xfixes" 2>/dev/null`
22457 test "x$?" != "x0" && pkg_failed=yes
22464 if test -n "$XCB_XFIXES_LIBS"; then
22465 pkg_cv_XCB_XFIXES_LIBS="$XCB_XFIXES_LIBS"
22466 elif test -n "$PKG_CONFIG"; then
22467 if test -n "$PKG_CONFIG" && \
22468 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xfixes\""; } >&5
22469 ($PKG_CONFIG --exists --print-errors "xcb-xfixes") 2>&5
22471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22472 test $ac_status = 0; }; then
22473 pkg_cv_XCB_XFIXES_LIBS=`$PKG_CONFIG --libs "xcb-xfixes" 2>/dev/null`
22474 test "x$?" != "x0" && pkg_failed=yes
22484 if test $pkg_failed = yes; then
22485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22486 $as_echo "no" >&6; }
22488 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22489 _pkg_short_errors_supported=yes
22491 _pkg_short_errors_supported=no
22493 if test $_pkg_short_errors_supported = yes; then
22494 XCB_XFIXES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-xfixes" 2>&1`
22496 XCB_XFIXES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-xfixes" 2>&1`
22498 # Put the nasty error message in config.log where it belongs
22499 echo "$XCB_XFIXES_PKG_ERRORS" >&5
22501 have_ecore_x_xcb_xfixes="no"
22502 elif test $pkg_failed = untried; then
22503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22504 $as_echo "no" >&6; }
22505 have_ecore_x_xcb_xfixes="no"
22507 XCB_XFIXES_CFLAGS=$pkg_cv_XCB_XFIXES_CFLAGS
22508 XCB_XFIXES_LIBS=$pkg_cv_XCB_XFIXES_LIBS
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22510 $as_echo "yes" >&6; }
22511 have_ecore_x_xcb_xfixes="yes"
22512 requirements_ecore_x="xcb-xfixes ${requirements_ecore_x}"
22514 $as_echo "#define ECORE_XCB_XFIXES 1" >>confdefs.h
22518 have_ecore_x_xcb_xfixes="no"
22519 { $as_echo "$as_me:${as_lineno-$LINENO}: \"xfixes extension explicitly disabled\"" >&5
22520 $as_echo "$as_me: \"xfixes extension explicitly disabled\"" >&6;}
22523 if test "x$want_ecore_x_xinerama" != "xno"; then
22526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XINERAMA" >&5
22527 $as_echo_n "checking for XCB_XINERAMA... " >&6; }
22529 if test -n "$XCB_XINERAMA_CFLAGS"; then
22530 pkg_cv_XCB_XINERAMA_CFLAGS="$XCB_XINERAMA_CFLAGS"
22531 elif test -n "$PKG_CONFIG"; then
22532 if test -n "$PKG_CONFIG" && \
22533 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinerama\""; } >&5
22534 ($PKG_CONFIG --exists --print-errors "xcb-xinerama") 2>&5
22536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22537 test $ac_status = 0; }; then
22538 pkg_cv_XCB_XINERAMA_CFLAGS=`$PKG_CONFIG --cflags "xcb-xinerama" 2>/dev/null`
22539 test "x$?" != "x0" && pkg_failed=yes
22546 if test -n "$XCB_XINERAMA_LIBS"; then
22547 pkg_cv_XCB_XINERAMA_LIBS="$XCB_XINERAMA_LIBS"
22548 elif test -n "$PKG_CONFIG"; then
22549 if test -n "$PKG_CONFIG" && \
22550 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinerama\""; } >&5
22551 ($PKG_CONFIG --exists --print-errors "xcb-xinerama") 2>&5
22553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22554 test $ac_status = 0; }; then
22555 pkg_cv_XCB_XINERAMA_LIBS=`$PKG_CONFIG --libs "xcb-xinerama" 2>/dev/null`
22556 test "x$?" != "x0" && pkg_failed=yes
22566 if test $pkg_failed = yes; then
22567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22568 $as_echo "no" >&6; }
22570 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22571 _pkg_short_errors_supported=yes
22573 _pkg_short_errors_supported=no
22575 if test $_pkg_short_errors_supported = yes; then
22576 XCB_XINERAMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-xinerama" 2>&1`
22578 XCB_XINERAMA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-xinerama" 2>&1`
22580 # Put the nasty error message in config.log where it belongs
22581 echo "$XCB_XINERAMA_PKG_ERRORS" >&5
22583 have_ecore_x_xcb_xinerama="no"
22584 elif test $pkg_failed = untried; then
22585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22586 $as_echo "no" >&6; }
22587 have_ecore_x_xcb_xinerama="no"
22589 XCB_XINERAMA_CFLAGS=$pkg_cv_XCB_XINERAMA_CFLAGS
22590 XCB_XINERAMA_LIBS=$pkg_cv_XCB_XINERAMA_LIBS
22591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22592 $as_echo "yes" >&6; }
22593 have_ecore_x_xcb_xinerama="yes"
22594 requirements_ecore_x="xcb-xinerama ${requirements_ecore_x}"
22596 $as_echo "#define ECORE_XCB_XINERAMA 1" >>confdefs.h
22600 have_ecore_x_xcb_xinerama="no"
22601 { $as_echo "$as_me:${as_lineno-$LINENO}: \"xinerama extension explicitly disabled\"" >&5
22602 $as_echo "$as_me: \"xinerama extension explicitly disabled\"" >&6;}
22605 if test "x$want_ecore_x_xprint" != "xno"; then
22608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XPRINT" >&5
22609 $as_echo_n "checking for XCB_XPRINT... " >&6; }
22611 if test -n "$XCB_XPRINT_CFLAGS"; then
22612 pkg_cv_XCB_XPRINT_CFLAGS="$XCB_XPRINT_CFLAGS"
22613 elif test -n "$PKG_CONFIG"; then
22614 if test -n "$PKG_CONFIG" && \
22615 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xprint\""; } >&5
22616 ($PKG_CONFIG --exists --print-errors "xcb-xprint") 2>&5
22618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22619 test $ac_status = 0; }; then
22620 pkg_cv_XCB_XPRINT_CFLAGS=`$PKG_CONFIG --cflags "xcb-xprint" 2>/dev/null`
22621 test "x$?" != "x0" && pkg_failed=yes
22628 if test -n "$XCB_XPRINT_LIBS"; then
22629 pkg_cv_XCB_XPRINT_LIBS="$XCB_XPRINT_LIBS"
22630 elif test -n "$PKG_CONFIG"; then
22631 if test -n "$PKG_CONFIG" && \
22632 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xprint\""; } >&5
22633 ($PKG_CONFIG --exists --print-errors "xcb-xprint") 2>&5
22635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22636 test $ac_status = 0; }; then
22637 pkg_cv_XCB_XPRINT_LIBS=`$PKG_CONFIG --libs "xcb-xprint" 2>/dev/null`
22638 test "x$?" != "x0" && pkg_failed=yes
22648 if test $pkg_failed = yes; then
22649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22650 $as_echo "no" >&6; }
22652 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22653 _pkg_short_errors_supported=yes
22655 _pkg_short_errors_supported=no
22657 if test $_pkg_short_errors_supported = yes; then
22658 XCB_XPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-xprint" 2>&1`
22660 XCB_XPRINT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-xprint" 2>&1`
22662 # Put the nasty error message in config.log where it belongs
22663 echo "$XCB_XPRINT_PKG_ERRORS" >&5
22665 have_ecore_x_xcb_xprint="no"
22666 elif test $pkg_failed = untried; then
22667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22668 $as_echo "no" >&6; }
22669 have_ecore_x_xcb_xprint="no"
22671 XCB_XPRINT_CFLAGS=$pkg_cv_XCB_XPRINT_CFLAGS
22672 XCB_XPRINT_LIBS=$pkg_cv_XCB_XPRINT_LIBS
22673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22674 $as_echo "yes" >&6; }
22675 have_ecore_x_xcb_xprint="yes"
22676 requirements_ecore_x="xcb-xprint ${requirements_ecore_x}"
22678 $as_echo "#define ECORE_XCB_XPRINT 1" >>confdefs.h
22682 have_ecore_x_xcb_xprint="no"
22683 { $as_echo "$as_me:${as_lineno-$LINENO}: \"xprint extension explicitly disabled\"" >&5
22684 $as_echo "$as_me: \"xprint extension explicitly disabled\"" >&6;}
22687 if test "x$want_ecore_x_xtest" != "xno"; then
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XTEST" >&5
22691 $as_echo_n "checking for XCB_XTEST... " >&6; }
22693 if test -n "$XCB_XTEST_CFLAGS"; then
22694 pkg_cv_XCB_XTEST_CFLAGS="$XCB_XTEST_CFLAGS"
22695 elif test -n "$PKG_CONFIG"; then
22696 if test -n "$PKG_CONFIG" && \
22697 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xtest\""; } >&5
22698 ($PKG_CONFIG --exists --print-errors "xcb-xtest") 2>&5
22700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22701 test $ac_status = 0; }; then
22702 pkg_cv_XCB_XTEST_CFLAGS=`$PKG_CONFIG --cflags "xcb-xtest" 2>/dev/null`
22703 test "x$?" != "x0" && pkg_failed=yes
22710 if test -n "$XCB_XTEST_LIBS"; then
22711 pkg_cv_XCB_XTEST_LIBS="$XCB_XTEST_LIBS"
22712 elif test -n "$PKG_CONFIG"; then
22713 if test -n "$PKG_CONFIG" && \
22714 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xtest\""; } >&5
22715 ($PKG_CONFIG --exists --print-errors "xcb-xtest") 2>&5
22717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22718 test $ac_status = 0; }; then
22719 pkg_cv_XCB_XTEST_LIBS=`$PKG_CONFIG --libs "xcb-xtest" 2>/dev/null`
22720 test "x$?" != "x0" && pkg_failed=yes
22730 if test $pkg_failed = yes; then
22731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22732 $as_echo "no" >&6; }
22734 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22735 _pkg_short_errors_supported=yes
22737 _pkg_short_errors_supported=no
22739 if test $_pkg_short_errors_supported = yes; then
22740 XCB_XTEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-xtest" 2>&1`
22742 XCB_XTEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-xtest" 2>&1`
22744 # Put the nasty error message in config.log where it belongs
22745 echo "$XCB_XTEST_PKG_ERRORS" >&5
22747 have_ecore_x_xcb_xtest="no"
22748 elif test $pkg_failed = untried; then
22749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22750 $as_echo "no" >&6; }
22751 have_ecore_x_xcb_xtest="no"
22753 XCB_XTEST_CFLAGS=$pkg_cv_XCB_XTEST_CFLAGS
22754 XCB_XTEST_LIBS=$pkg_cv_XCB_XTEST_LIBS
22755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22756 $as_echo "yes" >&6; }
22757 have_ecore_x_xcb_xtest="yes"
22758 requirements_ecore_x="xcb-xtest ${requirements_ecore_x}"
22760 $as_echo "#define ECORE_XCB_XTEST 1" >>confdefs.h
22764 have_ecore_x_xcb_xtest="no"
22765 { $as_echo "$as_me:${as_lineno-$LINENO}: \"xtest extension explicitly disabled\"" >&5
22766 $as_echo "$as_me: \"xtest extension explicitly disabled\"" >&6;}
22769 # input extension disabled currently in xcb as xcb-input has some issues
22770 want_ecore_x_input="no"
22771 if test "x$want_ecore_x_input" != "xno"; then
22774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XINPUT" >&5
22775 $as_echo_n "checking for XCB_XINPUT... " >&6; }
22777 if test -n "$XCB_XINPUT_CFLAGS"; then
22778 pkg_cv_XCB_XINPUT_CFLAGS="$XCB_XINPUT_CFLAGS"
22779 elif test -n "$PKG_CONFIG"; then
22780 if test -n "$PKG_CONFIG" && \
22781 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinput\""; } >&5
22782 ($PKG_CONFIG --exists --print-errors "xcb-xinput") 2>&5
22784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22785 test $ac_status = 0; }; then
22786 pkg_cv_XCB_XINPUT_CFLAGS=`$PKG_CONFIG --cflags "xcb-xinput" 2>/dev/null`
22787 test "x$?" != "x0" && pkg_failed=yes
22794 if test -n "$XCB_XINPUT_LIBS"; then
22795 pkg_cv_XCB_XINPUT_LIBS="$XCB_XINPUT_LIBS"
22796 elif test -n "$PKG_CONFIG"; then
22797 if test -n "$PKG_CONFIG" && \
22798 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinput\""; } >&5
22799 ($PKG_CONFIG --exists --print-errors "xcb-xinput") 2>&5
22801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22802 test $ac_status = 0; }; then
22803 pkg_cv_XCB_XINPUT_LIBS=`$PKG_CONFIG --libs "xcb-xinput" 2>/dev/null`
22804 test "x$?" != "x0" && pkg_failed=yes
22814 if test $pkg_failed = yes; then
22815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22816 $as_echo "no" >&6; }
22818 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22819 _pkg_short_errors_supported=yes
22821 _pkg_short_errors_supported=no
22823 if test $_pkg_short_errors_supported = yes; then
22824 XCB_XINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-xinput" 2>&1`
22826 XCB_XINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-xinput" 2>&1`
22828 # Put the nasty error message in config.log where it belongs
22829 echo "$XCB_XINPUT_PKG_ERRORS" >&5
22831 have_ecore_x_xcb_xinput="no"
22832 elif test $pkg_failed = untried; then
22833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22834 $as_echo "no" >&6; }
22835 have_ecore_x_xcb_xinput="no"
22837 XCB_XINPUT_CFLAGS=$pkg_cv_XCB_XINPUT_CFLAGS
22838 XCB_XINPUT_LIBS=$pkg_cv_XCB_XINPUT_LIBS
22839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22840 $as_echo "yes" >&6; }
22841 have_ecore_x_xcb_xinput="yes"
22842 requirements_ecore_x="xcb-xinput ${requirements_ecore_x}"
22844 $as_echo "#define ECORE_XCB_XINPUT 1" >>confdefs.h
22848 have_ecore_x_xcb_xinput="no"
22849 { $as_echo "$as_me:${as_lineno-$LINENO}: \"xinput extension explicitly disabled\"" >&5
22850 $as_echo "$as_me: \"xinput extension explicitly disabled\"" >&6;}
22853 if test "x$want_ecore_x_cursor" != "xno"; then
22856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_CURSOR" >&5
22857 $as_echo_n "checking for XCB_CURSOR... " >&6; }
22859 if test -n "$XCB_CURSOR_CFLAGS"; then
22860 pkg_cv_XCB_CURSOR_CFLAGS="$XCB_CURSOR_CFLAGS"
22861 elif test -n "$PKG_CONFIG"; then
22862 if test -n "$PKG_CONFIG" && \
22863 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
22864 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
22866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22867 test $ac_status = 0; }; then
22868 pkg_cv_XCB_CURSOR_CFLAGS=`$PKG_CONFIG --cflags "xcb-render xcb-renderutil" 2>/dev/null`
22869 test "x$?" != "x0" && pkg_failed=yes
22876 if test -n "$XCB_CURSOR_LIBS"; then
22877 pkg_cv_XCB_CURSOR_LIBS="$XCB_CURSOR_LIBS"
22878 elif test -n "$PKG_CONFIG"; then
22879 if test -n "$PKG_CONFIG" && \
22880 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
22881 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
22883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22884 test $ac_status = 0; }; then
22885 pkg_cv_XCB_CURSOR_LIBS=`$PKG_CONFIG --libs "xcb-render xcb-renderutil" 2>/dev/null`
22886 test "x$?" != "x0" && pkg_failed=yes
22896 if test $pkg_failed = yes; then
22897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22898 $as_echo "no" >&6; }
22900 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22901 _pkg_short_errors_supported=yes
22903 _pkg_short_errors_supported=no
22905 if test $_pkg_short_errors_supported = yes; then
22906 XCB_CURSOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-render xcb-renderutil" 2>&1`
22908 XCB_CURSOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-render xcb-renderutil" 2>&1`
22910 # Put the nasty error message in config.log where it belongs
22911 echo "$XCB_CURSOR_PKG_ERRORS" >&5
22913 have_ecore_x_xcb_cursor="no"
22914 elif test $pkg_failed = untried; then
22915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22916 $as_echo "no" >&6; }
22917 have_ecore_x_xcb_cursor="no"
22919 XCB_CURSOR_CFLAGS=$pkg_cv_XCB_CURSOR_CFLAGS
22920 XCB_CURSOR_LIBS=$pkg_cv_XCB_CURSOR_LIBS
22921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22922 $as_echo "yes" >&6; }
22923 have_ecore_x_xcb_cursor="yes"
22924 requirements_ecore_x="xcb-render xcb-renderutil ${requirements_ecore_x}"
22926 $as_echo "#define ECORE_XCB_CURSOR 1" >>confdefs.h
22930 have_ecore_x_xcb_cursor="no"
22931 { $as_echo "$as_me:${as_lineno-$LINENO}: \"cursor extension explicitly disabled\"" >&5
22932 $as_echo "$as_me: \"cursor extension explicitly disabled\"" >&6;}
22935 # if test "x$want_ecore_x_dri" != "xno"; then
22936 # PKG_CHECK_MODULES(XCB_DRI, xcb-dri2,
22937 # [ have_ecore_x_xcb_dri="yes"
22938 # requirements_ecore_x="xcb-dri2 ${requirements_ecore_x}"
22939 # AC_DEFINE(ECORE_XCB_DRI, 1, [Build support for XCB dri/dri2]) ],
22940 # [ have_ecore_x_xcb_dri="no" ])
22942 # have_ecore_x_xcb_dri="no"
22943 # AC_MSG_NOTICE("dri extension explicitly disabled")
22947 $as_echo "#define HAVE_ECORE_X_XCB 1" >>confdefs.h
22950 x_cflags=$ECORE_XCB_CFLAGS
22951 x_libs=$ECORE_XCB_LIBS
22954 have_ecore_x_xcb_define="-DHAVE_ECORE_X_XCB"
22959 if ! test "x$have_ecore_x_xcb" = "xyes" ; then
22960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
22961 $as_echo_n "checking for X... " >&6; }
22964 # Check whether --with-x was given.
22965 if test "${with_x+set}" = set; then :
22969 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22970 if test "x$with_x" = xno; then
22971 # The user explicitly disabled X.
22974 case $x_includes,$x_libraries in #(
22975 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
22976 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
22977 $as_echo_n "(cached) " >&6
22979 # One or both of the vars are not set, and there is no cached value.
22980 ac_x_includes=no ac_x_libraries=no
22981 rm -f -r conftest.dir
22982 if mkdir conftest.dir; then
22984 cat >Imakefile <<'_ACEOF'
22986 @echo incroot='${INCROOT}'
22988 @echo usrlibdir='${USRLIBDIR}'
22990 @echo libdir='${LIBDIR}'
22992 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
22993 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22994 for ac_var in incroot usrlibdir libdir; do
22995 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
22997 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22998 for ac_extension in a so sl dylib la dll; do
22999 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
23000 test -f "$ac_im_libdir/libX11.$ac_extension"; then
23001 ac_im_usrlibdir=$ac_im_libdir; break
23004 # Screen out bogus values from the imake configuration. They are
23005 # bogus both because they are the default anyway, and because
23006 # using them would break gcc on systems where it needs fixed includes.
23007 case $ac_im_incroot in
23008 /usr/include) ac_x_includes= ;;
23009 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
23011 case $ac_im_usrlibdir in
23012 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
23013 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
23017 rm -f -r conftest.dir
23020 # Standard set of common directories for X headers.
23021 # Check X11 before X11Rn because it is often a symlink to the current release.
23035 /usr/local/X11/include
23036 /usr/local/X11R7/include
23037 /usr/local/X11R6/include
23038 /usr/local/X11R5/include
23039 /usr/local/X11R4/include
23041 /usr/local/include/X11
23042 /usr/local/include/X11R7
23043 /usr/local/include/X11R6
23044 /usr/local/include/X11R5
23045 /usr/local/include/X11R4
23049 /usr/XFree86/include/X11
23053 /usr/unsupported/include
23054 /usr/athena/include
23055 /usr/local/x11r5/include
23056 /usr/lpp/Xamples/include
23058 /usr/openwin/include
23059 /usr/openwin/share/include'
23061 if test "$ac_x_includes" = no; then
23062 # Guess where to find include files, by looking for Xlib.h.
23063 # First, try using that file with no special directory specified.
23064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23065 /* end confdefs.h. */
23066 #include <X11/Xlib.h>
23068 if ac_fn_c_try_cpp "$LINENO"; then :
23069 # We can compile using X headers with no special include directory.
23072 for ac_dir in $ac_x_header_dirs; do
23073 if test -r "$ac_dir/X11/Xlib.h"; then
23074 ac_x_includes=$ac_dir
23079 rm -f conftest.err conftest.i conftest.$ac_ext
23080 fi # $ac_x_includes = no
23082 if test "$ac_x_libraries" = no; then
23083 # Check for the libraries.
23084 # See if we find them without any special options.
23085 # Don't add to $LIBS permanently.
23088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23089 /* end confdefs.h. */
23090 #include <X11/Xlib.h>
23099 if ac_fn_c_try_link "$LINENO"; then :
23101 # We can link X programs with no special library path.
23105 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23107 # Don't even attempt the hair of trying to link an X program!
23108 for ac_extension in a so sl dylib la dll; do
23109 if test -r "$ac_dir/libX11.$ac_extension"; then
23110 ac_x_libraries=$ac_dir
23116 rm -f core conftest.err conftest.$ac_objext \
23117 conftest$ac_exeext conftest.$ac_ext
23118 fi # $ac_x_libraries = no
23120 case $ac_x_includes,$ac_x_libraries in #(
23121 no,* | *,no | *\'*)
23122 # Didn't find X, or a directory has "'" in its name.
23123 ac_cv_have_x="have_x=no";; #(
23125 # Record where we found X for the cache.
23126 ac_cv_have_x="have_x=yes\
23127 ac_x_includes='$ac_x_includes'\
23128 ac_x_libraries='$ac_x_libraries'"
23134 eval "$ac_cv_have_x"
23137 if test "$have_x" != yes; then
23138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
23139 $as_echo "$have_x" >&6; }
23142 # If each of the values was on the command line, it overrides each guess.
23143 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
23144 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
23145 # Update the cache value to reflect the command line values.
23146 ac_cv_have_x="have_x=yes\
23147 ac_x_includes='$x_includes'\
23148 ac_x_libraries='$x_libraries'"
23149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
23150 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
23153 if test "$no_x" = yes; then
23154 # Not all programs may use this symbol, but it does not hurt to define it.
23156 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
23158 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23160 if test -n "$x_includes"; then
23161 X_CFLAGS="$X_CFLAGS -I$x_includes"
23164 # It would also be nice to do this for all -L options, not just this one.
23165 if test -n "$x_libraries"; then
23166 X_LIBS="$X_LIBS -L$x_libraries"
23167 # For Solaris; some versions of Sun CC require a space after -R and
23168 # others require no space. Words are not sufficient . . . .
23169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
23170 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
23171 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23172 ac_xsave_c_werror_flag=$ac_c_werror_flag
23173 ac_c_werror_flag=yes
23174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23175 /* end confdefs.h. */
23185 if ac_fn_c_try_link "$LINENO"; then :
23186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23187 $as_echo "no" >&6; }
23188 X_LIBS="$X_LIBS -R$x_libraries"
23190 LIBS="$ac_xsave_LIBS -R $x_libraries"
23191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23192 /* end confdefs.h. */
23202 if ac_fn_c_try_link "$LINENO"; then :
23203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23204 $as_echo "yes" >&6; }
23205 X_LIBS="$X_LIBS -R $x_libraries"
23207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
23208 $as_echo "neither works" >&6; }
23210 rm -f core conftest.err conftest.$ac_objext \
23211 conftest$ac_exeext conftest.$ac_ext
23213 rm -f core conftest.err conftest.$ac_objext \
23214 conftest$ac_exeext conftest.$ac_ext
23215 ac_c_werror_flag=$ac_xsave_c_werror_flag
23216 LIBS=$ac_xsave_LIBS
23219 # Check for system-dependent libraries X programs must link with.
23220 # Do this before checking for the system-independent R6 libraries
23221 # (-lICE), since we may need -lsocket or whatever for X linking.
23223 if test "$ISC" = yes; then
23224 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23226 # Martyn Johnson says this is needed for Ultrix, if the X
23227 # libraries were built with DECnet support. And Karl Berry says
23228 # the Alpha needs dnet_stub (dnet does not exist).
23229 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23231 /* end confdefs.h. */
23233 /* Override any GCC internal prototype to avoid an error.
23234 Use char because int might match the return type of a GCC
23235 builtin and then its argument prototype would still apply. */
23239 char XOpenDisplay ();
23243 return XOpenDisplay ();
23248 if ac_fn_c_try_link "$LINENO"; then :
23251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
23252 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
23253 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
23254 $as_echo_n "(cached) " >&6
23256 ac_check_lib_save_LIBS=$LIBS
23257 LIBS="-ldnet $LIBS"
23258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23259 /* end confdefs.h. */
23261 /* Override any GCC internal prototype to avoid an error.
23262 Use char because int might match the return type of a GCC
23263 builtin and then its argument prototype would still apply. */
23271 return dnet_ntoa ();
23276 if ac_fn_c_try_link "$LINENO"; then :
23277 ac_cv_lib_dnet_dnet_ntoa=yes
23279 ac_cv_lib_dnet_dnet_ntoa=no
23281 rm -f core conftest.err conftest.$ac_objext \
23282 conftest$ac_exeext conftest.$ac_ext
23283 LIBS=$ac_check_lib_save_LIBS
23285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23286 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
23287 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
23288 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23291 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
23293 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
23294 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
23295 $as_echo_n "(cached) " >&6
23297 ac_check_lib_save_LIBS=$LIBS
23298 LIBS="-ldnet_stub $LIBS"
23299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23300 /* end confdefs.h. */
23302 /* Override any GCC internal prototype to avoid an error.
23303 Use char because int might match the return type of a GCC
23304 builtin and then its argument prototype would still apply. */
23312 return dnet_ntoa ();
23317 if ac_fn_c_try_link "$LINENO"; then :
23318 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23320 ac_cv_lib_dnet_stub_dnet_ntoa=no
23322 rm -f core conftest.err conftest.$ac_objext \
23323 conftest$ac_exeext conftest.$ac_ext
23324 LIBS=$ac_check_lib_save_LIBS
23326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23327 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
23328 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
23329 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23334 rm -f core conftest.err conftest.$ac_objext \
23335 conftest$ac_exeext conftest.$ac_ext
23336 LIBS="$ac_xsave_LIBS"
23338 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23339 # to get the SysV transport functions.
23340 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23342 # The nsl library prevents programs from opening the X display
23343 # on Irix 5.2, according to T.E. Dickey.
23344 # The functions gethostbyname, getservbyname, and inet_addr are
23345 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23346 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
23347 if test "x$ac_cv_func_gethostbyname" = xyes; then :
23351 if test $ac_cv_func_gethostbyname = no; then
23352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
23353 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
23354 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
23355 $as_echo_n "(cached) " >&6
23357 ac_check_lib_save_LIBS=$LIBS
23359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23360 /* end confdefs.h. */
23362 /* Override any GCC internal prototype to avoid an error.
23363 Use char because int might match the return type of a GCC
23364 builtin and then its argument prototype would still apply. */
23368 char gethostbyname ();
23372 return gethostbyname ();
23377 if ac_fn_c_try_link "$LINENO"; then :
23378 ac_cv_lib_nsl_gethostbyname=yes
23380 ac_cv_lib_nsl_gethostbyname=no
23382 rm -f core conftest.err conftest.$ac_objext \
23383 conftest$ac_exeext conftest.$ac_ext
23384 LIBS=$ac_check_lib_save_LIBS
23386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
23387 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
23388 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
23389 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23392 if test $ac_cv_lib_nsl_gethostbyname = no; then
23393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
23394 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
23395 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
23396 $as_echo_n "(cached) " >&6
23398 ac_check_lib_save_LIBS=$LIBS
23400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23401 /* end confdefs.h. */
23403 /* Override any GCC internal prototype to avoid an error.
23404 Use char because int might match the return type of a GCC
23405 builtin and then its argument prototype would still apply. */
23409 char gethostbyname ();
23413 return gethostbyname ();
23418 if ac_fn_c_try_link "$LINENO"; then :
23419 ac_cv_lib_bsd_gethostbyname=yes
23421 ac_cv_lib_bsd_gethostbyname=no
23423 rm -f core conftest.err conftest.$ac_objext \
23424 conftest$ac_exeext conftest.$ac_ext
23425 LIBS=$ac_check_lib_save_LIBS
23427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
23428 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
23429 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
23430 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23436 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23437 # socket/setsockopt and other routines are undefined under SCO ODT
23438 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23439 # on later versions), says Simon Leinen: it contains gethostby*
23440 # variants that don't use the name server (or something). -lsocket
23441 # must be given before -lnsl if both are needed. We assume that
23442 # if connect needs -lnsl, so does gethostbyname.
23443 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
23444 if test "x$ac_cv_func_connect" = xyes; then :
23448 if test $ac_cv_func_connect = no; then
23449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
23450 $as_echo_n "checking for connect in -lsocket... " >&6; }
23451 if ${ac_cv_lib_socket_connect+:} false; then :
23452 $as_echo_n "(cached) " >&6
23454 ac_check_lib_save_LIBS=$LIBS
23455 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23457 /* end confdefs.h. */
23459 /* Override any GCC internal prototype to avoid an error.
23460 Use char because int might match the return type of a GCC
23461 builtin and then its argument prototype would still apply. */
23474 if ac_fn_c_try_link "$LINENO"; then :
23475 ac_cv_lib_socket_connect=yes
23477 ac_cv_lib_socket_connect=no
23479 rm -f core conftest.err conftest.$ac_objext \
23480 conftest$ac_exeext conftest.$ac_ext
23481 LIBS=$ac_check_lib_save_LIBS
23483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
23484 $as_echo "$ac_cv_lib_socket_connect" >&6; }
23485 if test "x$ac_cv_lib_socket_connect" = xyes; then :
23486 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23491 # Guillermo Gomez says -lposix is necessary on A/UX.
23492 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
23493 if test "x$ac_cv_func_remove" = xyes; then :
23497 if test $ac_cv_func_remove = no; then
23498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
23499 $as_echo_n "checking for remove in -lposix... " >&6; }
23500 if ${ac_cv_lib_posix_remove+:} false; then :
23501 $as_echo_n "(cached) " >&6
23503 ac_check_lib_save_LIBS=$LIBS
23504 LIBS="-lposix $LIBS"
23505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23506 /* end confdefs.h. */
23508 /* Override any GCC internal prototype to avoid an error.
23509 Use char because int might match the return type of a GCC
23510 builtin and then its argument prototype would still apply. */
23523 if ac_fn_c_try_link "$LINENO"; then :
23524 ac_cv_lib_posix_remove=yes
23526 ac_cv_lib_posix_remove=no
23528 rm -f core conftest.err conftest.$ac_objext \
23529 conftest$ac_exeext conftest.$ac_ext
23530 LIBS=$ac_check_lib_save_LIBS
23532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
23533 $as_echo "$ac_cv_lib_posix_remove" >&6; }
23534 if test "x$ac_cv_lib_posix_remove" = xyes; then :
23535 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23540 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23541 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
23542 if test "x$ac_cv_func_shmat" = xyes; then :
23546 if test $ac_cv_func_shmat = no; then
23547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
23548 $as_echo_n "checking for shmat in -lipc... " >&6; }
23549 if ${ac_cv_lib_ipc_shmat+:} false; then :
23550 $as_echo_n "(cached) " >&6
23552 ac_check_lib_save_LIBS=$LIBS
23554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23555 /* end confdefs.h. */
23557 /* Override any GCC internal prototype to avoid an error.
23558 Use char because int might match the return type of a GCC
23559 builtin and then its argument prototype would still apply. */
23572 if ac_fn_c_try_link "$LINENO"; then :
23573 ac_cv_lib_ipc_shmat=yes
23575 ac_cv_lib_ipc_shmat=no
23577 rm -f core conftest.err conftest.$ac_objext \
23578 conftest$ac_exeext conftest.$ac_ext
23579 LIBS=$ac_check_lib_save_LIBS
23581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
23582 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
23583 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
23584 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23590 # Check for libraries that X11R6 Xt/Xaw programs need.
23591 ac_save_LDFLAGS=$LDFLAGS
23592 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23593 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23594 # check for ICE first), but we must link in the order -lSM -lICE or
23595 # we get undefined symbols. So assume we have SM if we have ICE.
23596 # These have to be linked with before -lX11, unlike the other
23597 # libraries we check for below, so use a different variable.
23598 # John Interrante, Karl Berry
23599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
23600 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
23601 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
23602 $as_echo_n "(cached) " >&6
23604 ac_check_lib_save_LIBS=$LIBS
23605 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23607 /* end confdefs.h. */
23609 /* Override any GCC internal prototype to avoid an error.
23610 Use char because int might match the return type of a GCC
23611 builtin and then its argument prototype would still apply. */
23615 char IceConnectionNumber ();
23619 return IceConnectionNumber ();
23624 if ac_fn_c_try_link "$LINENO"; then :
23625 ac_cv_lib_ICE_IceConnectionNumber=yes
23627 ac_cv_lib_ICE_IceConnectionNumber=no
23629 rm -f core conftest.err conftest.$ac_objext \
23630 conftest$ac_exeext conftest.$ac_ext
23631 LIBS=$ac_check_lib_save_LIBS
23633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23634 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
23635 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
23636 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23639 LDFLAGS=$ac_save_LDFLAGS
23643 ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
23644 if test "x$ac_cv_header_X11_X_h" = xyes; then :
23646 if test "x$want_evas_simple_x11" = "xyes"; then
23647 x_libs="${x_libs} -lX11 -lXext"
23649 x_dir=${x_dir:-/usr/X11R6}
23650 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
23651 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
23653 have_ecore_x_xlib="yes"
23660 if test "x$have_ecore_x_xlib" = "xyes"; then
23665 CFLAGS="$x_cflags $x_includes"
23667 if test "x$want_ecore_x_cursor" = "xyes"; then
23668 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "
23669 #include <X11/Xlib.h>
23673 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes; then :
23675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XcursorImageLoadCursor in -lXcursor" >&5
23676 $as_echo_n "checking for XcursorImageLoadCursor in -lXcursor... " >&6; }
23677 if ${ac_cv_lib_Xcursor_XcursorImageLoadCursor+:} false; then :
23678 $as_echo_n "(cached) " >&6
23680 ac_check_lib_save_LIBS=$LIBS
23685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23686 /* end confdefs.h. */
23688 /* Override any GCC internal prototype to avoid an error.
23689 Use char because int might match the return type of a GCC
23690 builtin and then its argument prototype would still apply. */
23694 char XcursorImageLoadCursor ();
23698 return XcursorImageLoadCursor ();
23703 if ac_fn_c_try_link "$LINENO"; then :
23704 ac_cv_lib_Xcursor_XcursorImageLoadCursor=yes
23706 ac_cv_lib_Xcursor_XcursorImageLoadCursor=no
23708 rm -f core conftest.err conftest.$ac_objext \
23709 conftest$ac_exeext conftest.$ac_ext
23710 LIBS=$ac_check_lib_save_LIBS
23712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xcursor_XcursorImageLoadCursor" >&5
23713 $as_echo "$ac_cv_lib_Xcursor_XcursorImageLoadCursor" >&6; }
23714 if test "x$ac_cv_lib_Xcursor_XcursorImageLoadCursor" = xyes; then :
23717 $as_echo "#define ECORE_XCURSOR 1" >>confdefs.h
23720 Xcursor_libs="-lXcursor"
23746 { $as_echo "$as_me:${as_lineno-$LINENO}: \"Xcursor explicitly disabled\"" >&5
23747 $as_echo "$as_me: \"Xcursor explicitly disabled\"" >&6;}
23759 if test "x$want_ecore_x_xkb" != "xno"; then
23760 SAVE_CFLAGS=$CFLAGS
23761 CFLAGS="$x_cflags $x_includes"
23762 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XKB.h" "ac_cv_header_X11_extensions_XKB_h" " #include <X11/Xlib.h>
23765 if test "x$ac_cv_header_X11_extensions_XKB_h" = xyes; then :
23767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbSetDetectableAutoRepeat in -lX11" >&5
23768 $as_echo_n "checking for XkbSetDetectableAutoRepeat in -lX11... " >&6; }
23769 if ${ac_cv_lib_X11_XkbSetDetectableAutoRepeat+:} false; then :
23770 $as_echo_n "(cached) " >&6
23772 ac_check_lib_save_LIBS=$LIBS
23773 LIBS="-lX11 $x_libs
23775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23776 /* end confdefs.h. */
23778 /* Override any GCC internal prototype to avoid an error.
23779 Use char because int might match the return type of a GCC
23780 builtin and then its argument prototype would still apply. */
23784 char XkbSetDetectableAutoRepeat ();
23788 return XkbSetDetectableAutoRepeat ();
23793 if ac_fn_c_try_link "$LINENO"; then :
23794 ac_cv_lib_X11_XkbSetDetectableAutoRepeat=yes
23796 ac_cv_lib_X11_XkbSetDetectableAutoRepeat=no
23798 rm -f core conftest.err conftest.$ac_objext \
23799 conftest$ac_exeext conftest.$ac_ext
23800 LIBS=$ac_check_lib_save_LIBS
23802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbSetDetectableAutoRepeat" >&5
23803 $as_echo "$ac_cv_lib_X11_XkbSetDetectableAutoRepeat" >&6; }
23804 if test "x$ac_cv_lib_X11_XkbSetDetectableAutoRepeat" = xyes; then :
23807 $as_echo "#define ECORE_XKB 1" >>confdefs.h
23822 CFLAGS=$SAVE_CFLAGS
23825 { $as_echo "$as_me:${as_lineno-$LINENO}: Xkb support disabled" >&5
23826 $as_echo "$as_me: Xkb support disabled" >&6;}
23837 XCOMPOSITE_CFLAGS=""
23839 use_xcomposite="no"
23841 if test "x$want_ecore_x_composite" != "xno"; then
23842 SAVE_CFLAGS=$CFLAGS
23843 CFLAGS="$x_cflags $x_includes"
23844 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" " #include <X11/Xlib.h>
23847 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes; then :
23849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCompositeQueryExtension in -lXcomposite" >&5
23850 $as_echo_n "checking for XCompositeQueryExtension in -lXcomposite... " >&6; }
23851 if ${ac_cv_lib_Xcomposite_XCompositeQueryExtension+:} false; then :
23852 $as_echo_n "(cached) " >&6
23854 ac_check_lib_save_LIBS=$LIBS
23855 LIBS="-lXcomposite $x_libs
23857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23858 /* end confdefs.h. */
23860 /* Override any GCC internal prototype to avoid an error.
23861 Use char because int might match the return type of a GCC
23862 builtin and then its argument prototype would still apply. */
23866 char XCompositeQueryExtension ();
23870 return XCompositeQueryExtension ();
23875 if ac_fn_c_try_link "$LINENO"; then :
23876 ac_cv_lib_Xcomposite_XCompositeQueryExtension=yes
23878 ac_cv_lib_Xcomposite_XCompositeQueryExtension=no
23880 rm -f core conftest.err conftest.$ac_objext \
23881 conftest$ac_exeext conftest.$ac_ext
23882 LIBS=$ac_check_lib_save_LIBS
23884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xcomposite_XCompositeQueryExtension" >&5
23885 $as_echo "$ac_cv_lib_Xcomposite_XCompositeQueryExtension" >&6; }
23886 if test "x$ac_cv_lib_Xcomposite_XCompositeQueryExtension" = xyes; then :
23889 $as_echo "#define ECORE_XCOMPOSITE 1" >>confdefs.h
23891 XCOMPOSITE_LIBS="-lXcomposite"
23892 use_xcomposite="yes"
23895 use_xcomposite="no"
23900 use_xcomposite="no"
23904 CFLAGS=$SAVE_CFLAGS
23906 use_xcomposite="no"
23907 { $as_echo "$as_me:${as_lineno-$LINENO}: Xcomposite support disabled" >&5
23908 $as_echo "$as_me: Xcomposite support disabled" >&6;}
23923 if test "x$want_ecore_x_damage" != "xno"; then
23924 SAVE_CFLAGS=$CFLAGS
23925 CFLAGS="$x_cflags $x_includes"
23926 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xdamage.h" "ac_cv_header_X11_extensions_Xdamage_h" " #include <X11/Xlib.h>
23929 if test "x$ac_cv_header_X11_extensions_Xdamage_h" = xyes; then :
23931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDamageSubtract in -lXdamage" >&5
23932 $as_echo_n "checking for XDamageSubtract in -lXdamage... " >&6; }
23933 if ${ac_cv_lib_Xdamage_XDamageSubtract+:} false; then :
23934 $as_echo_n "(cached) " >&6
23936 ac_check_lib_save_LIBS=$LIBS
23937 LIBS="-lXdamage $x_libs
23939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23940 /* end confdefs.h. */
23942 /* Override any GCC internal prototype to avoid an error.
23943 Use char because int might match the return type of a GCC
23944 builtin and then its argument prototype would still apply. */
23948 char XDamageSubtract ();
23952 return XDamageSubtract ();
23957 if ac_fn_c_try_link "$LINENO"; then :
23958 ac_cv_lib_Xdamage_XDamageSubtract=yes
23960 ac_cv_lib_Xdamage_XDamageSubtract=no
23962 rm -f core conftest.err conftest.$ac_objext \
23963 conftest$ac_exeext conftest.$ac_ext
23964 LIBS=$ac_check_lib_save_LIBS
23966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdamage_XDamageSubtract" >&5
23967 $as_echo "$ac_cv_lib_Xdamage_XDamageSubtract" >&6; }
23968 if test "x$ac_cv_lib_Xdamage_XDamageSubtract" = xyes; then :
23971 $as_echo "#define ECORE_XDAMAGE 1" >>confdefs.h
23973 XDAMAGE_LIBS="-lXdamage"
23986 CFLAGS=$SAVE_CFLAGS
23989 { $as_echo "$as_me:${as_lineno-$LINENO}: Xdamage support disabled" >&5
23990 $as_echo "$as_me: Xdamage support disabled" >&6;}
24005 if test "x$want_ecore_x_dpms" != "xno"; then
24006 SAVE_CFLAGS=$CFLAGS
24007 CFLAGS="$x_cflags $x_includes"
24008 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/dpms.h" "ac_cv_header_X11_extensions_dpms_h" " #include <X11/Xlib.h>
24011 if test "x$ac_cv_header_X11_extensions_dpms_h" = xyes; then :
24013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DPMSQueryExtension in -lXdpms" >&5
24014 $as_echo_n "checking for DPMSQueryExtension in -lXdpms... " >&6; }
24015 if ${ac_cv_lib_Xdpms_DPMSQueryExtension+:} false; then :
24016 $as_echo_n "(cached) " >&6
24018 ac_check_lib_save_LIBS=$LIBS
24019 LIBS="-lXdpms $x_libs
24021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24022 /* end confdefs.h. */
24024 /* Override any GCC internal prototype to avoid an error.
24025 Use char because int might match the return type of a GCC
24026 builtin and then its argument prototype would still apply. */
24030 char DPMSQueryExtension ();
24034 return DPMSQueryExtension ();
24039 if ac_fn_c_try_link "$LINENO"; then :
24040 ac_cv_lib_Xdpms_DPMSQueryExtension=yes
24042 ac_cv_lib_Xdpms_DPMSQueryExtension=no
24044 rm -f core conftest.err conftest.$ac_objext \
24045 conftest$ac_exeext conftest.$ac_ext
24046 LIBS=$ac_check_lib_save_LIBS
24048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdpms_DPMSQueryExtension" >&5
24049 $as_echo "$ac_cv_lib_Xdpms_DPMSQueryExtension" >&6; }
24050 if test "x$ac_cv_lib_Xdpms_DPMSQueryExtension" = xyes; then :
24053 $as_echo "#define ECORE_XDPMS 1" >>confdefs.h
24055 XDPMS_LIBS="-lXdpms"
24068 CFLAGS=$SAVE_CFLAGS
24071 { $as_echo "$as_me:${as_lineno-$LINENO}: Xdpms support disabled" >&5
24072 $as_echo "$as_me: Xdpms support disabled" >&6;}
24081 if test "x$use_xdpms" = "xno" ; then
24088 if test "x$want_ecore_x_dpms" != "xno"; then
24089 SAVE_CFLAGS=$CFLAGS
24090 CFLAGS="$x_cflags $x_includes"
24091 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/dpms.h" "ac_cv_header_X11_extensions_dpms_h" " #include <X11/Xlib.h>
24094 if test "x$ac_cv_header_X11_extensions_dpms_h" = xyes; then :
24096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DPMSQueryExtension in -lXext" >&5
24097 $as_echo_n "checking for DPMSQueryExtension in -lXext... " >&6; }
24098 if ${ac_cv_lib_Xext_DPMSQueryExtension+:} false; then :
24099 $as_echo_n "(cached) " >&6
24101 ac_check_lib_save_LIBS=$LIBS
24102 LIBS="-lXext $x_libs
24104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24105 /* end confdefs.h. */
24107 /* Override any GCC internal prototype to avoid an error.
24108 Use char because int might match the return type of a GCC
24109 builtin and then its argument prototype would still apply. */
24113 char DPMSQueryExtension ();
24117 return DPMSQueryExtension ();
24122 if ac_fn_c_try_link "$LINENO"; then :
24123 ac_cv_lib_Xext_DPMSQueryExtension=yes
24125 ac_cv_lib_Xext_DPMSQueryExtension=no
24127 rm -f core conftest.err conftest.$ac_objext \
24128 conftest$ac_exeext conftest.$ac_ext
24129 LIBS=$ac_check_lib_save_LIBS
24131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_DPMSQueryExtension" >&5
24132 $as_echo "$ac_cv_lib_Xext_DPMSQueryExtension" >&6; }
24133 if test "x$ac_cv_lib_Xext_DPMSQueryExtension" = xyes; then :
24136 $as_echo "#define ECORE_XDPMS 1" >>confdefs.h
24138 XDPMS_LIBS="-lXext"
24151 CFLAGS=$SAVE_CFLAGS
24154 { $as_echo "$as_me:${as_lineno-$LINENO}: Xdpms support disabled" >&5
24155 $as_echo "$as_me: Xdpms support disabled" >&6;}
24171 if test "x$want_ecore_x_xfixes" != "xno"; then
24172 SAVE_CFLAGS=$CFLAGS
24173 CFLAGS="$x_cflags $x_includes"
24174 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" " #include <X11/Xlib.h>
24177 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes; then :
24179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFixesExpandRegion in -lXfixes" >&5
24180 $as_echo_n "checking for XFixesExpandRegion in -lXfixes... " >&6; }
24181 if ${ac_cv_lib_Xfixes_XFixesExpandRegion+:} false; then :
24182 $as_echo_n "(cached) " >&6
24184 ac_check_lib_save_LIBS=$LIBS
24185 LIBS="-lXfixes $x_libs
24187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24188 /* end confdefs.h. */
24190 /* Override any GCC internal prototype to avoid an error.
24191 Use char because int might match the return type of a GCC
24192 builtin and then its argument prototype would still apply. */
24196 char XFixesExpandRegion ();
24200 return XFixesExpandRegion ();
24205 if ac_fn_c_try_link "$LINENO"; then :
24206 ac_cv_lib_Xfixes_XFixesExpandRegion=yes
24208 ac_cv_lib_Xfixes_XFixesExpandRegion=no
24210 rm -f core conftest.err conftest.$ac_objext \
24211 conftest$ac_exeext conftest.$ac_ext
24212 LIBS=$ac_check_lib_save_LIBS
24214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xfixes_XFixesExpandRegion" >&5
24215 $as_echo "$ac_cv_lib_Xfixes_XFixesExpandRegion" >&6; }
24216 if test "x$ac_cv_lib_Xfixes_XFixesExpandRegion" = xyes; then :
24219 $as_echo "#define ECORE_XFIXES 1" >>confdefs.h
24221 XFIXES_LIBS="-lXfixes"
24234 CFLAGS=$SAVE_CFLAGS
24237 { $as_echo "$as_me:${as_lineno-$LINENO}: Xfixes support disabled" >&5
24238 $as_echo "$as_me: Xfixes support disabled" >&6;}
24253 if test "x$want_ecore_x_xinerama" != "xno"; then
24254 SAVE_CFLAGS=$CFLAGS
24255 CFLAGS="$x_cflags $x_includes"
24256 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" " #include <X11/Xlib.h>
24259 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes; then :
24261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
24262 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
24263 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
24264 $as_echo_n "(cached) " >&6
24266 ac_check_lib_save_LIBS=$LIBS
24267 LIBS="-lXinerama $x_libs
24269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24270 /* end confdefs.h. */
24272 /* Override any GCC internal prototype to avoid an error.
24273 Use char because int might match the return type of a GCC
24274 builtin and then its argument prototype would still apply. */
24278 char XineramaQueryScreens ();
24282 return XineramaQueryScreens ();
24287 if ac_fn_c_try_link "$LINENO"; then :
24288 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
24290 ac_cv_lib_Xinerama_XineramaQueryScreens=no
24292 rm -f core conftest.err conftest.$ac_objext \
24293 conftest$ac_exeext conftest.$ac_ext
24294 LIBS=$ac_check_lib_save_LIBS
24296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
24297 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
24298 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
24301 $as_echo "#define ECORE_XINERAMA 1" >>confdefs.h
24303 XINERAMA_LIBS="-lXinerama"
24316 CFLAGS=$SAVE_CFLAGS
24319 { $as_echo "$as_me:${as_lineno-$LINENO}: Xinerama support disabled" >&5
24320 $as_echo "$as_me: Xinerama support disabled" >&6;}
24335 if test "x$want_ecore_x_xprint" != "xno"; then
24336 SAVE_CFLAGS=$CFLAGS
24337 CFLAGS="$x_cflags $x_includes"
24338 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Print.h" "ac_cv_header_X11_extensions_Print_h" " #include <X11/Xlib.h>
24341 if test "x$ac_cv_header_X11_extensions_Print_h" = xyes; then :
24343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpQueryScreens in -lXp" >&5
24344 $as_echo_n "checking for XpQueryScreens in -lXp... " >&6; }
24345 if ${ac_cv_lib_Xp_XpQueryScreens+:} false; then :
24346 $as_echo_n "(cached) " >&6
24348 ac_check_lib_save_LIBS=$LIBS
24351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24352 /* end confdefs.h. */
24354 /* Override any GCC internal prototype to avoid an error.
24355 Use char because int might match the return type of a GCC
24356 builtin and then its argument prototype would still apply. */
24360 char XpQueryScreens ();
24364 return XpQueryScreens ();
24369 if ac_fn_c_try_link "$LINENO"; then :
24370 ac_cv_lib_Xp_XpQueryScreens=yes
24372 ac_cv_lib_Xp_XpQueryScreens=no
24374 rm -f core conftest.err conftest.$ac_objext \
24375 conftest$ac_exeext conftest.$ac_ext
24376 LIBS=$ac_check_lib_save_LIBS
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpQueryScreens" >&5
24379 $as_echo "$ac_cv_lib_Xp_XpQueryScreens" >&6; }
24380 if test "x$ac_cv_lib_Xp_XpQueryScreens" = xyes; then :
24383 $as_echo "#define ECORE_XPRINT 1" >>confdefs.h
24398 CFLAGS=$SAVE_CFLAGS
24401 { $as_echo "$as_me:${as_lineno-$LINENO}: Xprint support disabled" >&5
24402 $as_echo "$as_me: Xprint support disabled" >&6;}
24417 if test "x$want_ecore_x_randr" != "xno"; then
24418 SAVE_CFLAGS=$CFLAGS
24419 CFLAGS="$x_cflags $x_includes"
24420 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" " #include <X11/Xlib.h>
24423 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes; then :
24425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRRGetScreenResourcesCurrent in -lXrandr" >&5
24426 $as_echo_n "checking for XRRGetScreenResourcesCurrent in -lXrandr... " >&6; }
24427 if ${ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent+:} false; then :
24428 $as_echo_n "(cached) " >&6
24430 ac_check_lib_save_LIBS=$LIBS
24431 LIBS="-lXrandr $x_libs
24433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24434 /* end confdefs.h. */
24436 /* Override any GCC internal prototype to avoid an error.
24437 Use char because int might match the return type of a GCC
24438 builtin and then its argument prototype would still apply. */
24442 char XRRGetScreenResourcesCurrent ();
24446 return XRRGetScreenResourcesCurrent ();
24451 if ac_fn_c_try_link "$LINENO"; then :
24452 ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent=yes
24454 ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent=no
24456 rm -f core conftest.err conftest.$ac_objext \
24457 conftest$ac_exeext conftest.$ac_ext
24458 LIBS=$ac_check_lib_save_LIBS
24460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent" >&5
24461 $as_echo "$ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent" >&6; }
24462 if test "x$ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent" = xyes; then :
24465 $as_echo "#define ECORE_XRANDR 1" >>confdefs.h
24467 XRANDR_LIBS="-lXrandr"
24480 CFLAGS=$SAVE_CFLAGS
24483 { $as_echo "$as_me:${as_lineno-$LINENO}: Xrandr support disabled" >&5
24484 $as_echo "$as_me: Xrandr support disabled" >&6;}
24499 if test "x$want_ecore_x_gesture" != "xno"; then
24500 SAVE_CFLAGS=$CFLAGS
24501 CFLAGS="$x_cflags $x_includes"
24502 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/gesture.h" "ac_cv_header_X11_extensions_gesture_h" " #include <X11/Xlib.h>
24505 if test "x$ac_cv_header_X11_extensions_gesture_h" = xyes; then :
24507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XGestureQueryExtension in -lXgesture" >&5
24508 $as_echo_n "checking for XGestureQueryExtension in -lXgesture... " >&6; }
24509 if ${ac_cv_lib_Xgesture_XGestureQueryExtension+:} false; then :
24510 $as_echo_n "(cached) " >&6
24512 ac_check_lib_save_LIBS=$LIBS
24513 LIBS="-lXgesture $x_libs
24515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24516 /* end confdefs.h. */
24518 /* Override any GCC internal prototype to avoid an error.
24519 Use char because int might match the return type of a GCC
24520 builtin and then its argument prototype would still apply. */
24524 char XGestureQueryExtension ();
24528 return XGestureQueryExtension ();
24533 if ac_fn_c_try_link "$LINENO"; then :
24534 ac_cv_lib_Xgesture_XGestureQueryExtension=yes
24536 ac_cv_lib_Xgesture_XGestureQueryExtension=no
24538 rm -f core conftest.err conftest.$ac_objext \
24539 conftest$ac_exeext conftest.$ac_ext
24540 LIBS=$ac_check_lib_save_LIBS
24542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xgesture_XGestureQueryExtension" >&5
24543 $as_echo "$ac_cv_lib_Xgesture_XGestureQueryExtension" >&6; }
24544 if test "x$ac_cv_lib_Xgesture_XGestureQueryExtension" = xyes; then :
24547 $as_echo "#define ECORE_XGESTURE 1" >>confdefs.h
24549 XGESTURE_LIBS="-lXgesture"
24562 CFLAGS=$SAVE_CFLAGS
24565 { $as_echo "$as_me:${as_lineno-$LINENO}: Xgesture support disabled" >&5
24566 $as_echo "$as_me: Xgesture support disabled" >&6;}
24581 if test "x$want_ecore_x_render" != "xno"; then
24582 SAVE_CFLAGS=$CFLAGS
24583 CFLAGS="$x_cflags $x_includes"
24584 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" " #include <X11/Xlib.h>
24587 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes; then :
24589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderFindVisualFormat in -lXrender" >&5
24590 $as_echo_n "checking for XRenderFindVisualFormat in -lXrender... " >&6; }
24591 if ${ac_cv_lib_Xrender_XRenderFindVisualFormat+:} false; then :
24592 $as_echo_n "(cached) " >&6
24594 ac_check_lib_save_LIBS=$LIBS
24595 LIBS="-lXrender $x_libs
24597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24598 /* end confdefs.h. */
24600 /* Override any GCC internal prototype to avoid an error.
24601 Use char because int might match the return type of a GCC
24602 builtin and then its argument prototype would still apply. */
24606 char XRenderFindVisualFormat ();
24610 return XRenderFindVisualFormat ();
24615 if ac_fn_c_try_link "$LINENO"; then :
24616 ac_cv_lib_Xrender_XRenderFindVisualFormat=yes
24618 ac_cv_lib_Xrender_XRenderFindVisualFormat=no
24620 rm -f core conftest.err conftest.$ac_objext \
24621 conftest$ac_exeext conftest.$ac_ext
24622 LIBS=$ac_check_lib_save_LIBS
24624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderFindVisualFormat" >&5
24625 $as_echo "$ac_cv_lib_Xrender_XRenderFindVisualFormat" >&6; }
24626 if test "x$ac_cv_lib_Xrender_XRenderFindVisualFormat" = xyes; then :
24629 $as_echo "#define ECORE_XRENDER 1" >>confdefs.h
24631 XRENDER_LIBS="-lXrender"
24644 CFLAGS=$SAVE_CFLAGS
24647 { $as_echo "$as_me:${as_lineno-$LINENO}: Xrender support disabled" >&5
24648 $as_echo "$as_me: Xrender support disabled" >&6;}
24663 if test "x$want_ecore_x_xtest" != "xno"; then
24664 SAVE_CFLAGS=$CFLAGS
24665 CFLAGS="$x_cflags $x_includes"
24666 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XTest.h" "ac_cv_header_X11_extensions_XTest_h" " #include <X11/Xlib.h>
24669 if test "x$ac_cv_header_X11_extensions_XTest_h" = xyes; then :
24671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5
24672 $as_echo_n "checking for XTestFakeKeyEvent in -lXtst... " >&6; }
24673 if ${ac_cv_lib_Xtst_XTestFakeKeyEvent+:} false; then :
24674 $as_echo_n "(cached) " >&6
24676 ac_check_lib_save_LIBS=$LIBS
24677 LIBS="-lXtst $x_libs
24679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24680 /* end confdefs.h. */
24682 /* Override any GCC internal prototype to avoid an error.
24683 Use char because int might match the return type of a GCC
24684 builtin and then its argument prototype would still apply. */
24688 char XTestFakeKeyEvent ();
24692 return XTestFakeKeyEvent ();
24697 if ac_fn_c_try_link "$LINENO"; then :
24698 ac_cv_lib_Xtst_XTestFakeKeyEvent=yes
24700 ac_cv_lib_Xtst_XTestFakeKeyEvent=no
24702 rm -f core conftest.err conftest.$ac_objext \
24703 conftest$ac_exeext conftest.$ac_ext
24704 LIBS=$ac_check_lib_save_LIBS
24706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestFakeKeyEvent" >&5
24707 $as_echo "$ac_cv_lib_Xtst_XTestFakeKeyEvent" >&6; }
24708 if test "x$ac_cv_lib_Xtst_XTestFakeKeyEvent" = xyes; then :
24711 $as_echo "#define ECORE_XTEST 1" >>confdefs.h
24713 XTEST_LIBS="-lXtst"
24726 CFLAGS=$SAVE_CFLAGS
24729 { $as_echo "$as_me:${as_lineno-$LINENO}: Xtest support disabled" >&5
24730 $as_echo "$as_me: Xtest support disabled" >&6;}
24745 if test "x$want_ecore_x_screensaver" != "xno"; then
24746 SAVE_CFLAGS=$CFLAGS
24747 CFLAGS="$x_cflags $x_includes"
24748 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/scrnsaver.h" "ac_cv_header_X11_extensions_scrnsaver_h" " #include <X11/Xlib.h>
24751 if test "x$ac_cv_header_X11_extensions_scrnsaver_h" = xyes; then :
24753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XScreenSaverSelectInput in -lXss" >&5
24754 $as_echo_n "checking for XScreenSaverSelectInput in -lXss... " >&6; }
24755 if ${ac_cv_lib_Xss_XScreenSaverSelectInput+:} false; then :
24756 $as_echo_n "(cached) " >&6
24758 ac_check_lib_save_LIBS=$LIBS
24759 LIBS="-lXss $x_libs
24761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24762 /* end confdefs.h. */
24764 /* Override any GCC internal prototype to avoid an error.
24765 Use char because int might match the return type of a GCC
24766 builtin and then its argument prototype would still apply. */
24770 char XScreenSaverSelectInput ();
24774 return XScreenSaverSelectInput ();
24779 if ac_fn_c_try_link "$LINENO"; then :
24780 ac_cv_lib_Xss_XScreenSaverSelectInput=yes
24782 ac_cv_lib_Xss_XScreenSaverSelectInput=no
24784 rm -f core conftest.err conftest.$ac_objext \
24785 conftest$ac_exeext conftest.$ac_ext
24786 LIBS=$ac_check_lib_save_LIBS
24788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xss_XScreenSaverSelectInput" >&5
24789 $as_echo "$ac_cv_lib_Xss_XScreenSaverSelectInput" >&6; }
24790 if test "x$ac_cv_lib_Xss_XScreenSaverSelectInput" = xyes; then :
24793 $as_echo "#define ECORE_XSS 1" >>confdefs.h
24808 CFLAGS=$SAVE_CFLAGS
24811 { $as_echo "$as_me:${as_lineno-$LINENO}: Xss support disabled" >&5
24812 $as_echo "$as_me: Xss support disabled" >&6;}
24827 if test "x$want_ecore_x_input" != "xno"; then
24828 SAVE_CFLAGS=$CFLAGS
24829 CFLAGS="$x_cflags $x_includes"
24830 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" " #include <X11/Xlib.h>
24833 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes; then :
24835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XIQueryDevice in -lXi" >&5
24836 $as_echo_n "checking for XIQueryDevice in -lXi... " >&6; }
24837 if ${ac_cv_lib_Xi_XIQueryDevice+:} false; then :
24838 $as_echo_n "(cached) " >&6
24840 ac_check_lib_save_LIBS=$LIBS
24843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24844 /* end confdefs.h. */
24846 /* Override any GCC internal prototype to avoid an error.
24847 Use char because int might match the return type of a GCC
24848 builtin and then its argument prototype would still apply. */
24852 char XIQueryDevice ();
24856 return XIQueryDevice ();
24861 if ac_fn_c_try_link "$LINENO"; then :
24862 ac_cv_lib_Xi_XIQueryDevice=yes
24864 ac_cv_lib_Xi_XIQueryDevice=no
24866 rm -f core conftest.err conftest.$ac_objext \
24867 conftest$ac_exeext conftest.$ac_ext
24868 LIBS=$ac_check_lib_save_LIBS
24870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xi_XIQueryDevice" >&5
24871 $as_echo "$ac_cv_lib_Xi_XIQueryDevice" >&6; }
24872 if test "x$ac_cv_lib_Xi_XIQueryDevice" = xyes; then :
24875 $as_echo "#define ECORE_XI2 1" >>confdefs.h
24890 CFLAGS=$SAVE_CFLAGS
24893 { $as_echo "$as_me:${as_lineno-$LINENO}: Xi2 support disabled" >&5
24894 $as_echo "$as_me: Xi2 support disabled" >&6;}
24904 ecore_x_libs_private="${Xcursor_libs} ${XKB_LIBS} ${XCOMPOSITE_LIBS} ${XGESTURE_LIBS} ${XDAMAGE_LIBS} ${XDPMS_LIBS} ${XFIXES_LIBS} ${XINERAMA_LIBS} ${XPRINT_LIBS} ${XRANDR_LIBS} ${XRENDER_LIBS} ${XTEST_LIBS} ${XSS_LIBS} ${XI2_LIBS}"
24907 $as_echo "#define HAVE_ECORE_X_XLIB 1" >>confdefs.h
24911 have_ecore_x_xlib="yes"
24920 if test $have_ecore_x_xlib = yes; then
24921 BUILD_ECORE_X_XLIB_TRUE=
24922 BUILD_ECORE_X_XLIB_FALSE='#'
24924 BUILD_ECORE_X_XLIB_TRUE='#'
24925 BUILD_ECORE_X_XLIB_FALSE=
24928 if test $have_ecore_x_xcb = yes; then
24929 BUILD_ECORE_X_XCB_TRUE=
24930 BUILD_ECORE_X_XCB_FALSE='#'
24932 BUILD_ECORE_X_XCB_TRUE='#'
24933 BUILD_ECORE_X_XCB_FALSE=
24938 # Evas library (ecore_config, ecore_input_evas, ecore_imf_evas and ecore_evas)
24942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5
24943 $as_echo_n "checking for EVAS... " >&6; }
24945 if test -n "$EVAS_CFLAGS"; then
24946 pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
24947 elif test -n "$PKG_CONFIG"; then
24948 if test -n "$PKG_CONFIG" && \
24949 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.8\""; } >&5
24950 ($PKG_CONFIG --exists --print-errors "evas >= 1.7.8") 2>&5
24952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24953 test $ac_status = 0; }; then
24954 pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.7.8" 2>/dev/null`
24955 test "x$?" != "x0" && pkg_failed=yes
24962 if test -n "$EVAS_LIBS"; then
24963 pkg_cv_EVAS_LIBS="$EVAS_LIBS"
24964 elif test -n "$PKG_CONFIG"; then
24965 if test -n "$PKG_CONFIG" && \
24966 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.8\""; } >&5
24967 ($PKG_CONFIG --exists --print-errors "evas >= 1.7.8") 2>&5
24969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24970 test $ac_status = 0; }; then
24971 pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.7.8" 2>/dev/null`
24972 test "x$?" != "x0" && pkg_failed=yes
24982 if test $pkg_failed = yes; then
24983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24984 $as_echo "no" >&6; }
24986 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24987 _pkg_short_errors_supported=yes
24989 _pkg_short_errors_supported=no
24991 if test $_pkg_short_errors_supported = yes; then
24992 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evas >= 1.7.8" 2>&1`
24994 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evas >= 1.7.8" 2>&1`
24996 # Put the nasty error message in config.log where it belongs
24997 echo "$EVAS_PKG_ERRORS" >&5
25000 elif test $pkg_failed = untried; then
25001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25002 $as_echo "no" >&6; }
25005 EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
25006 EVAS_LIBS=$pkg_cv_EVAS_LIBS
25007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25008 $as_echo "yes" >&6; }
25013 ### Checks for header files
25015 for ac_header in sys/select.h sys/prctl.h
25017 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25018 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25019 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
25020 cat >>confdefs.h <<_ACEOF
25021 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25033 ac_cpp='$CPP $CPPFLAGS'
25034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
25040 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
25041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25042 /* end confdefs.h. */
25044 #include <limits.h>
25056 if ac_fn_c_try_compile "$LINENO"; then :
25057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25058 $as_echo "yes" >&6; }
25062 cat >>confdefs.h <<_ACEOF
25063 #define PATH_MAX ${default_max}
25066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
25067 $as_echo "no: using ${default_max}" >&6; }
25070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25073 ac_cpp='$CPP $CPPFLAGS'
25074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
25082 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
25083 if ${ac_cv_header_sys_wait_h+:} false; then :
25084 $as_echo_n "(cached) " >&6
25086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25087 /* end confdefs.h. */
25088 #include <sys/types.h>
25089 #include <sys/wait.h>
25090 #ifndef WEXITSTATUS
25091 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
25094 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
25102 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
25107 if ac_fn_c_try_compile "$LINENO"; then :
25108 ac_cv_header_sys_wait_h=yes
25110 ac_cv_header_sys_wait_h=no
25112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
25115 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
25116 if test $ac_cv_header_sys_wait_h = yes; then
25118 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
25122 # Check whether --enable-largefile was given.
25123 if test "${enable_largefile+set}" = set; then :
25124 enableval=$enable_largefile;
25127 if test "$enable_largefile" != no; then
25129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
25130 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
25131 if ${ac_cv_sys_largefile_CC+:} false; then :
25132 $as_echo_n "(cached) " >&6
25134 ac_cv_sys_largefile_CC=no
25135 if test "$GCC" != yes; then
25138 # IRIX 6.2 and later do not support large files by default,
25139 # so use the C compiler's -n32 option if that helps.
25140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25141 /* end confdefs.h. */
25142 #include <sys/types.h>
25143 /* Check that off_t can represent 2**63 - 1 correctly.
25144 We can't simply define LARGE_OFF_T to be 9223372036854775807,
25145 since some C++ compilers masquerading as C compilers
25146 incorrectly reject 9223372036854775807. */
25147 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
25148 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
25149 && LARGE_OFF_T % 2147483647 == 1)
25159 if ac_fn_c_try_compile "$LINENO"; then :
25162 rm -f core conftest.err conftest.$ac_objext
25164 if ac_fn_c_try_compile "$LINENO"; then :
25165 ac_cv_sys_largefile_CC=' -n32'; break
25167 rm -f core conftest.err conftest.$ac_objext
25171 rm -f conftest.$ac_ext
25174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
25175 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
25176 if test "$ac_cv_sys_largefile_CC" != no; then
25177 CC=$CC$ac_cv_sys_largefile_CC
25180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25181 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
25182 if ${ac_cv_sys_file_offset_bits+:} false; then :
25183 $as_echo_n "(cached) " >&6
25186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25187 /* end confdefs.h. */
25188 #include <sys/types.h>
25189 /* Check that off_t can represent 2**63 - 1 correctly.
25190 We can't simply define LARGE_OFF_T to be 9223372036854775807,
25191 since some C++ compilers masquerading as C compilers
25192 incorrectly reject 9223372036854775807. */
25193 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
25194 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
25195 && LARGE_OFF_T % 2147483647 == 1)
25205 if ac_fn_c_try_compile "$LINENO"; then :
25206 ac_cv_sys_file_offset_bits=no; break
25208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25210 /* end confdefs.h. */
25211 #define _FILE_OFFSET_BITS 64
25212 #include <sys/types.h>
25213 /* Check that off_t can represent 2**63 - 1 correctly.
25214 We can't simply define LARGE_OFF_T to be 9223372036854775807,
25215 since some C++ compilers masquerading as C compilers
25216 incorrectly reject 9223372036854775807. */
25217 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
25218 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
25219 && LARGE_OFF_T % 2147483647 == 1)
25229 if ac_fn_c_try_compile "$LINENO"; then :
25230 ac_cv_sys_file_offset_bits=64; break
25232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25233 ac_cv_sys_file_offset_bits=unknown
25237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
25238 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
25239 case $ac_cv_sys_file_offset_bits in #(
25242 cat >>confdefs.h <<_ACEOF
25243 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25248 if test $ac_cv_sys_file_offset_bits = unknown; then
25249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
25250 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
25251 if ${ac_cv_sys_large_files+:} false; then :
25252 $as_echo_n "(cached) " >&6
25255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25256 /* end confdefs.h. */
25257 #include <sys/types.h>
25258 /* Check that off_t can represent 2**63 - 1 correctly.
25259 We can't simply define LARGE_OFF_T to be 9223372036854775807,
25260 since some C++ compilers masquerading as C compilers
25261 incorrectly reject 9223372036854775807. */
25262 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
25263 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
25264 && LARGE_OFF_T % 2147483647 == 1)
25274 if ac_fn_c_try_compile "$LINENO"; then :
25275 ac_cv_sys_large_files=no; break
25277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25279 /* end confdefs.h. */
25280 #define _LARGE_FILES 1
25281 #include <sys/types.h>
25282 /* Check that off_t can represent 2**63 - 1 correctly.
25283 We can't simply define LARGE_OFF_T to be 9223372036854775807,
25284 since some C++ compilers masquerading as C compilers
25285 incorrectly reject 9223372036854775807. */
25286 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
25287 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
25288 && LARGE_OFF_T % 2147483647 == 1)
25298 if ac_fn_c_try_compile "$LINENO"; then :
25299 ac_cv_sys_large_files=1; break
25301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25302 ac_cv_sys_large_files=unknown
25306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
25307 $as_echo "$ac_cv_sys_large_files" >&6; }
25308 case $ac_cv_sys_large_files in #(
25311 cat >>confdefs.h <<_ACEOF
25312 #define _LARGE_FILES $ac_cv_sys_large_files
25327 $as_echo "#define HAVE_DLFCN_H 1" >>confdefs.h
25330 $as_echo "#define HAVE_SYS_MMAN_H 1" >>confdefs.h
25333 $as_echo "#define HAVE_SYS_TIME_H 1" >>confdefs.h
25335 have_addrinfo="yes"
25338 for ac_header in dlfcn.h features.h langinfo.h locale.h sys/time.h sys/mman.h signal.h sys/resource.h
25340 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25341 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25342 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
25343 cat >>confdefs.h <<_ACEOF
25344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25356 for ac_header in sys/socket.h
25358 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
25359 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
25360 cat >>confdefs.h <<_ACEOF
25361 #define HAVE_SYS_SOCKET_H 1
25368 for ac_header in net/if.h
25370 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
25372 #ifdef STDC_HEADERS
25373 # include <stdlib.h>
25374 # include <stddef.h>
25376 # ifdef HAVE_STDLIB_H
25377 # include <stdlib.h>
25380 #ifdef HAVE_SYS_SOCKET_H
25381 # include <sys/socket.h>
25385 if test "x$ac_cv_header_net_if_h" = xyes; then :
25386 cat >>confdefs.h <<_ACEOF
25387 #define HAVE_NET_IF_H 1
25394 for ac_header in sys/un.h
25396 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "
25398 #ifdef STDC_HEADERS
25399 # include <stdlib.h>
25400 # include <stddef.h>
25402 # ifdef HAVE_STDLIB_H
25403 # include <stdlib.h>
25406 #ifdef HAVE_SYS_SOCKET_H
25407 # include <sys/socket.h>
25411 if test "x$ac_cv_header_sys_un_h" = xyes; then :
25412 cat >>confdefs.h <<_ACEOF
25413 #define HAVE_SYS_UN_H 1
25420 for ac_header in arpa/inet.h arpa/nameser.h netinet/tcp.h netinet/in.h ws2tcpip.h netdb.h errno.h
25422 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25423 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25424 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
25425 cat >>confdefs.h <<_ACEOF
25426 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25434 if test "x${ac_cv_header_netdb_h}" = "xyes" ; then
25435 have_addrinfo="yes"
25438 # Framebuffer (ecore_fb)
25440 ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default"
25441 if test "x$ac_cv_header_linux_fb_h" = xyes; then :
25442 ac_fn_c_check_header_mongrel "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
25443 if test "x$ac_cv_header_linux_input_h" = xyes; then :
25452 # Cocoa header files (ecore_cocoa)
25454 if test "x${want_ecore_cocoa}" = "xyes" ; then
25458 if test "x${have_gnu_objc}" = "xyes" ; then
25460 ac_cpp='$OBJCPP $CPPFLAGS'
25461 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25462 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25463 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
25466 LIBS="$LIBS -framework Cocoa"
25468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25469 /* end confdefs.h. */
25471 #include <Cocoa/Cocoa.h>
25478 window = [[NSWindow alloc]
25479 initWithContentRect:NSMakeRect(0, 0, 1, 1)
25480 styleMask:(NSTitledWindowMask)
25481 backing:NSBackingStoreBuffered
25490 if ac_fn_objc_try_link "$LINENO"; then :
25493 cocoa_ldflags="-framework Cocoa"
25498 rm -f core conftest.err conftest.$ac_objext \
25499 conftest$ac_exeext conftest.$ac_ext
25501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Cocoa framework is supported" >&5
25502 $as_echo_n "checking whether Cocoa framework is supported... " >&6; }
25503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_cocoa}" >&5
25504 $as_echo "${have_cocoa}" >&6; }
25506 ac_cpp='$CPP $CPPFLAGS'
25507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25517 # Check whether --enable-epoll was given.
25518 if test "${enable_epoll+set}" = set; then :
25519 enableval=$enable_epoll; want_epoll=$enableval
25523 if test "x${want_epoll}" = "xyes" ; then
25524 # check for epoll support
25525 for ac_header in sys/epoll.h
25527 ac_fn_c_check_header_mongrel "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
25528 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
25529 cat >>confdefs.h <<_ACEOF
25530 #define HAVE_SYS_EPOLL_H 1
25540 for ac_header in sys/timerfd.h
25542 ac_fn_c_check_header_mongrel "$LINENO" "sys/timerfd.h" "ac_cv_header_sys_timerfd_h" "$ac_includes_default"
25543 if test "x$ac_cv_header_sys_timerfd_h" = xyes; then :
25544 cat >>confdefs.h <<_ACEOF
25545 #define HAVE_SYS_TIMERFD_H 1
25552 for ac_func in timerfd_create
25554 ac_fn_c_check_func "$LINENO" "timerfd_create" "ac_cv_func_timerfd_create"
25555 if test "x$ac_cv_func_timerfd_create" = xyes; then :
25556 cat >>confdefs.h <<_ACEOF
25557 #define HAVE_TIMERFD_CREATE 1
25569 # Check whether --enable-posix-threads was given.
25570 if test "${enable_posix_threads+set}" = set; then :
25571 enableval=$enable_posix_threads;
25572 if test "x${enableval}" = "xyes" ; then
25573 _efl_enable_posix_threads="yes"
25575 _efl_enable_posix_threads="no"
25579 _efl_enable_posix_threads="auto"
25583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build POSIX threads code" >&5
25584 $as_echo_n "checking whether to build POSIX threads code... " >&6; }
25585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_posix_threads}" >&5
25586 $as_echo "${_efl_enable_posix_threads}" >&6; }
25588 # Check whether --enable-win32-threads was given.
25589 if test "${enable_win32_threads+set}" = set; then :
25590 enableval=$enable_win32_threads;
25591 if test "x${enableval}" = "xyes" ; then
25592 _efl_enable_win32_threads="yes"
25594 _efl_enable_win32_threads="no"
25598 _efl_enable_win32_threads="no"
25602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Windows threads code" >&5
25603 $as_echo_n "checking whether to build Windows threads code... " >&6; }
25604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_win32_threads}" >&5
25605 $as_echo "${_efl_enable_win32_threads}" >&6; }
25608 if test "x${_efl_enable_posix_threads}" = "xyes" && test "x${_efl_enable_win32_threads}" = "xyes" ; then
25611 _efl_enable_posix_threads=no
25614 _efl_enable_win32_threads=no
25619 if test "x${_efl_enable_win32_threads}" = "xyes" ; then
25624 as_fn_error $? "Win32 threads support requested but non Windows system found." "$LINENO" 5
25629 if test "x${_efl_enable_posix_threads}" = "xyes" ; then
25632 as_fn_error $? "POSIX threads support requested but Windows system found." "$LINENO" 5
25644 _efl_threads_cflags="-mt"
25645 _efl_threads_libs="-mt"
25648 _efl_threads_cflags="-pthread"
25649 _efl_threads_libs="-pthread"
25653 _efl_have_posix_threads="no"
25654 _efl_have_win32_threads="no"
25656 if test "x${_efl_enable_posix_threads}" = "xyes" || test "x${_efl_enable_posix_threads}" = "xauto" ; then
25658 SAVE_CFLAGS=${CFLAGS}
25659 CFLAGS="${CFLAGS} ${_efl_threads_cflags}"
25661 LIBS="${LIBS} ${_efl_threads_libs}"
25662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25663 /* end confdefs.h. */
25665 #include <pthread.h>
25672 id = pthread_self();
25678 if ac_fn_c_try_link "$LINENO"; then :
25679 _efl_have_posix_threads="yes"
25681 _efl_have_posix_threads="no"
25683 rm -f core conftest.err conftest.$ac_objext \
25684 conftest$ac_exeext conftest.$ac_ext
25685 CFLAGS=${SAVE_CFLAGS}
25690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system support POSIX threads" >&5
25691 $as_echo_n "checking whether system support POSIX threads... " >&6; }
25692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_posix_threads}" >&5
25693 $as_echo "${_efl_have_posix_threads}" >&6; }
25694 if test "$x{_efl_enable_posix_threads}" = "xyes" && test "x${_efl_have_posix_threads}" = "xno"; then
25695 as_fn_error $? "POSIX threads support requested but not found." "$LINENO" 5
25698 EFL_PTHREAD_CFLAGS=""
25699 EFL_PTHREAD_LIBS=""
25700 if test "x${_efl_have_posix_threads}" = "xyes" ; then
25701 EFL_PTHREAD_CFLAGS=${_efl_threads_cflags}
25702 EFL_PTHREAD_LIBS=${_efl_threads_libs}
25708 _efl_enable_debug_threads="no"
25709 # Check whether --enable-debug-threads was given.
25710 if test "${enable_debug_threads+set}" = set; then :
25711 enableval=$enable_debug_threads; _efl_enable_debug_threads="${enableval}"
25715 have_debug_threads="no"
25716 if test "x${_efl_have_posix_threads}" = "xyes" -a "x${_efl_enable_debug_threads}" = "xyes"; then
25717 have_debug_threads="yes"
25719 $as_echo "#define EFL_DEBUG_THREADS 1" >>confdefs.h
25723 if test "x${_efl_have_posix_threads}" = "xyes" ; then
25725 $as_echo "#define EFL_HAVE_POSIX_THREADS 1" >>confdefs.h
25729 if test "x${_efl_enable_win32_threads}" = "xyes" ; then
25730 _efl_have_win32_threads="yes"
25732 $as_echo "#define EFL_HAVE_WIN32_THREADS 1" >>confdefs.h
25736 if test "x${_efl_have_posix_threads}" = "xyes" || test "x${_efl_have_win32_threads}" = "xyes" ; then
25738 $as_echo "#define EFL_HAVE_THREADS 1" >>confdefs.h
25742 if test "x$_efl_have_posix_threads" = "xyes" || test "x$_efl_have_win32_threads" = "xyes"; then :
25744 if test "x${_efl_have_posix_threads}" = "xyes" ; then
25745 have_threads="POSIX"
25747 if test "x${_efl_have_win32_threads}" = "xyes" ; then
25748 have_threads="Win32"
25759 ### enable thread safety if we have threads, unless specifically asked not to
25760 if test "x${have_threads}" = "xno"
25762 want_thread_safety="no"
25764 want_thread_safety="no" # to be changed to yes when ready
25765 # Check whether --enable-thread-safety was given.
25766 if test "${enable_thread_safety+set}" = set; then :
25767 enableval=$enable_thread_safety; want_thread_safety=$enableval
25772 if test "x${want_thread_safety}" = "xyes"
25775 $as_echo "#define HAVE_THREAD_SAFETY 1" >>confdefs.h
25779 ### Checks for types
25780 # The cast to long int works around a bug in the HP C Compiler
25781 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25782 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25783 # This bug is HP SR number 8606223364.
25784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
25785 $as_echo_n "checking size of int... " >&6; }
25786 if ${ac_cv_sizeof_int+:} false; then :
25787 $as_echo_n "(cached) " >&6
25789 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
25792 if test "$ac_cv_type_int" = yes; then
25793 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25795 as_fn_error 77 "cannot compute sizeof (int)
25796 See \`config.log' for more details" "$LINENO" 5; }
25803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
25804 $as_echo "$ac_cv_sizeof_int" >&6; }
25808 cat >>confdefs.h <<_ACEOF
25809 #define SIZEOF_INT $ac_cv_sizeof_int
25813 # The cast to long int works around a bug in the HP C Compiler
25814 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25815 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25816 # This bug is HP SR number 8606223364.
25817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
25818 $as_echo_n "checking size of long... " >&6; }
25819 if ${ac_cv_sizeof_long+:} false; then :
25820 $as_echo_n "(cached) " >&6
25822 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
25825 if test "$ac_cv_type_long" = yes; then
25826 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25828 as_fn_error 77 "cannot compute sizeof (long)
25829 See \`config.log' for more details" "$LINENO" 5; }
25831 ac_cv_sizeof_long=0
25836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
25837 $as_echo "$ac_cv_sizeof_long" >&6; }
25841 cat >>confdefs.h <<_ACEOF
25842 #define SIZEOF_LONG $ac_cv_sizeof_long
25848 ### Checks for structures
25851 ### Checks for compiler characteristics
25852 case $ac_cv_prog_cc_stdc in #(
25854 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
25856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
25857 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
25858 if ${ac_cv_prog_cc_c99+:} false; then :
25859 $as_echo_n "(cached) " >&6
25861 ac_cv_prog_cc_c99=no
25863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25864 /* end confdefs.h. */
25865 #include <stdarg.h>
25866 #include <stdbool.h>
25867 #include <stdlib.h>
25871 // Check varargs macros. These examples are taken from C99 6.10.3.5.
25872 #define debug(...) fprintf (stderr, __VA_ARGS__)
25873 #define showlist(...) puts (#__VA_ARGS__)
25874 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
25876 test_varargs_macros (void)
25881 debug ("X = %d\n", x);
25882 showlist (The first, second, and third items.);
25883 report (x>y, "x is %d but y is %d", x, y);
25886 // Check long long types.
25887 #define BIG64 18446744073709551615ull
25888 #define BIG32 4294967295ul
25889 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
25891 your preprocessor is broken;
25895 your preprocessor is broken;
25897 static long long int bignum = -9223372036854775807LL;
25898 static unsigned long long int ubignum = BIG64;
25900 struct incomplete_array
25906 struct named_init {
25908 const wchar_t *name;
25912 typedef const char *ccp;
25915 test_restrict (ccp restrict text)
25917 // See if C++-style comments work.
25918 // Iterate through items via the restricted pointer.
25919 // Also check for declarations in for loops.
25920 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
25925 // Check varargs and va_copy.
25927 test_varargs (const char *format, ...)
25930 va_start (args, format);
25932 va_copy (args_copy, args);
25942 case 's': // string
25943 str = va_arg (args_copy, const char *);
25946 number = va_arg (args_copy, int);
25949 fnumber = va_arg (args_copy, double);
25955 va_end (args_copy);
25964 _Bool success = false;
25967 if (test_restrict ("String literal") == 0)
25969 char *restrict newvar = "Another string";
25972 test_varargs ("s, d' f .", "string", 65, 34.234);
25973 test_varargs_macros ();
25975 // Check flexible array members.
25976 struct incomplete_array *ia =
25977 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
25979 for (int i = 0; i < ia->datasize; ++i)
25980 ia->data[i] = i * 1.234;
25982 // Check named initializers.
25983 struct named_init ni = {
25985 .name = L"Test wide string",
25986 .average = 543.34343,
25991 int dynamic_array[ni.number];
25992 dynamic_array[ni.number - 1] = 543;
25994 // work around unused variable warnings
25995 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
25996 || dynamic_array[ni.number - 1] != 543);
26002 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
26004 CC="$ac_save_CC $ac_arg"
26005 if ac_fn_c_try_compile "$LINENO"; then :
26006 ac_cv_prog_cc_c99=$ac_arg
26008 rm -f core conftest.err conftest.$ac_objext
26009 test "x$ac_cv_prog_cc_c99" != "xno" && break
26011 rm -f conftest.$ac_ext
26016 case "x$ac_cv_prog_cc_c99" in
26018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
26019 $as_echo "none needed" >&6; } ;;
26021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
26022 $as_echo "unsupported" >&6; } ;;
26024 CC="$CC $ac_cv_prog_cc_c99"
26025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
26026 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
26028 if test "x$ac_cv_prog_cc_c99" != xno; then :
26029 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
26031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
26032 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
26033 if ${ac_cv_prog_cc_c89+:} false; then :
26034 $as_echo_n "(cached) " >&6
26036 ac_cv_prog_cc_c89=no
26038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26039 /* end confdefs.h. */
26040 #include <stdarg.h>
26043 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
26044 struct buf { int x; };
26045 FILE * (*rcsopen) (struct buf *, struct stat *, int);
26046 static char *e (p, i)
26052 static char *f (char * (*g) (char **, int), char **p, ...)
26057 s = g (p, va_arg (v,int));
26062 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
26063 function prototypes and stuff, but not '\xHH' hex character constants.
26064 These don't provoke an error unfortunately, instead are silently treated
26065 as 'x'. The following induces an error, until -std is added to get
26066 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
26067 array size at least. It's necessary to write '\x00'==0 to get something
26068 that's true only with -std. */
26069 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
26071 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
26072 inside strings and character constants. */
26074 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
26076 int test (int i, double x);
26077 struct s1 {int (*f) (int a);};
26078 struct s2 {int (*f) (double a);};
26079 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
26085 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
26090 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
26091 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
26093 CC="$ac_save_CC $ac_arg"
26094 if ac_fn_c_try_compile "$LINENO"; then :
26095 ac_cv_prog_cc_c89=$ac_arg
26097 rm -f core conftest.err conftest.$ac_objext
26098 test "x$ac_cv_prog_cc_c89" != "xno" && break
26100 rm -f conftest.$ac_ext
26105 case "x$ac_cv_prog_cc_c89" in
26107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
26108 $as_echo "none needed" >&6; } ;;
26110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
26111 $as_echo "unsupported" >&6; } ;;
26113 CC="$CC $ac_cv_prog_cc_c89"
26114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
26115 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
26117 if test "x$ac_cv_prog_cc_c89" != xno; then :
26118 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
26120 ac_cv_prog_cc_stdc=no
26126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
26127 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
26128 if ${ac_cv_prog_cc_stdc+:} false; then :
26129 $as_echo_n "(cached) " >&6
26132 case $ac_cv_prog_cc_stdc in #(
26134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
26135 $as_echo "unsupported" >&6; } ;; #(
26137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
26138 $as_echo "none needed" >&6; } ;; #(
26140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
26141 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
26144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
26145 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
26146 if ${ac_cv_c_const+:} false; then :
26147 $as_echo_n "(cached) " >&6
26149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26150 /* end confdefs.h. */
26156 #ifndef __cplusplus
26157 /* Ultrix mips cc rejects this sort of thing. */
26158 typedef int charset[2];
26159 const charset cs = { 0, 0 };
26160 /* SunOS 4.1.1 cc rejects this. */
26161 char const *const *pcpcc;
26163 /* NEC SVR4.0.2 mips cc rejects this. */
26164 struct point {int x, y;};
26165 static struct point const zero = {0,0};
26166 /* AIX XL C 1.02.0.0 rejects this.
26167 It does not let you subtract one const X* pointer from another in
26168 an arm of an if-expression whose if-part is not a constant
26170 const char *g = "string";
26171 pcpcc = &g + (g ? g-g : 0);
26172 /* HPUX 7.0 cc rejects these. */
26174 ppc = (char**) pcpcc;
26175 pcpcc = (char const *const *) ppc;
26176 { /* SCO 3.2v4 cc rejects this sort of thing. */
26179 char const *s = 0 ? (char *) 0 : (char const *) 0;
26184 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
26185 int x[] = {25, 17};
26186 const int *foo = &x[0];
26189 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
26190 typedef const int *iptr;
26194 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
26195 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
26196 struct s { int j; const int *ap[3]; } bx;
26197 struct s *b = &bx; b->j = 5;
26199 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
26200 const int foo = 10;
26201 if (!foo) return 0;
26203 return !cs[0] && !zero.x;
26210 if ac_fn_c_try_compile "$LINENO"; then :
26215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
26218 $as_echo "$ac_cv_c_const" >&6; }
26219 if test $ac_cv_c_const = no; then
26221 $as_echo "#define const /**/" >>confdefs.h
26225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
26226 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
26227 if ${ac_cv_c_bigendian+:} false; then :
26228 $as_echo_n "(cached) " >&6
26230 ac_cv_c_bigendian=unknown
26231 # See if we're dealing with a universal compiler.
26232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26233 /* end confdefs.h. */
26234 #ifndef __APPLE_CC__
26235 not a universal capable compiler
26240 if ac_fn_c_try_compile "$LINENO"; then :
26242 # Check for potential -arch flags. It is not universal unless
26243 # there are at least two -arch flags with different values.
26246 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
26247 if test -n "$ac_prev"; then
26249 i?86 | x86_64 | ppc | ppc64)
26250 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
26253 ac_cv_c_bigendian=universal
26259 elif test "x$ac_word" = "x-arch"; then
26264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26265 if test $ac_cv_c_bigendian = unknown; then
26266 # See if sys/param.h defines the BYTE_ORDER macro.
26267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26268 /* end confdefs.h. */
26269 #include <sys/types.h>
26270 #include <sys/param.h>
26275 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
26276 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
26278 bogus endian macros
26285 if ac_fn_c_try_compile "$LINENO"; then :
26286 # It does; now see whether it defined to BIG_ENDIAN or not.
26287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26288 /* end confdefs.h. */
26289 #include <sys/types.h>
26290 #include <sys/param.h>
26295 #if BYTE_ORDER != BIG_ENDIAN
26303 if ac_fn_c_try_compile "$LINENO"; then :
26304 ac_cv_c_bigendian=yes
26306 ac_cv_c_bigendian=no
26308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26312 if test $ac_cv_c_bigendian = unknown; then
26313 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
26314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26315 /* end confdefs.h. */
26316 #include <limits.h>
26321 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
26322 bogus endian macros
26329 if ac_fn_c_try_compile "$LINENO"; then :
26330 # It does; now see whether it defined to _BIG_ENDIAN or not.
26331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26332 /* end confdefs.h. */
26333 #include <limits.h>
26338 #ifndef _BIG_ENDIAN
26346 if ac_fn_c_try_compile "$LINENO"; then :
26347 ac_cv_c_bigendian=yes
26349 ac_cv_c_bigendian=no
26351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26355 if test $ac_cv_c_bigendian = unknown; then
26356 # Compile a test program.
26357 if test "$cross_compiling" = yes; then :
26358 # Try to guess by grepping values from an object file.
26359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26360 /* end confdefs.h. */
26361 short int ascii_mm[] =
26362 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
26363 short int ascii_ii[] =
26364 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
26365 int use_ascii (int i) {
26366 return ascii_mm[i] + ascii_ii[i];
26368 short int ebcdic_ii[] =
26369 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
26370 short int ebcdic_mm[] =
26371 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
26372 int use_ebcdic (int i) {
26373 return ebcdic_mm[i] + ebcdic_ii[i];
26380 return use_ascii (foo) == use_ebcdic (foo);
26385 if ac_fn_c_try_compile "$LINENO"; then :
26386 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
26387 ac_cv_c_bigendian=yes
26389 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
26390 if test "$ac_cv_c_bigendian" = unknown; then
26391 ac_cv_c_bigendian=no
26393 # finding both strings is unlikely to happen, but who knows?
26394 ac_cv_c_bigendian=unknown
26398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26401 /* end confdefs.h. */
26402 $ac_includes_default
26407 /* Are we little or big endian? From Harbison&Steele. */
26411 char c[sizeof (long int)];
26414 return u.c[sizeof (long int) - 1] == 1;
26420 if ac_fn_c_try_run "$LINENO"; then :
26421 ac_cv_c_bigendian=no
26423 ac_cv_c_bigendian=yes
26425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26426 conftest.$ac_objext conftest.beam conftest.$ac_ext
26431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
26432 $as_echo "$ac_cv_c_bigendian" >&6; }
26433 case $ac_cv_c_bigendian in #(
26435 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
26441 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
26445 as_fn_error $? "unknown endianness
26446 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
26449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
26450 $as_echo_n "checking for ANSI C header files... " >&6; }
26451 if ${ac_cv_header_stdc+:} false; then :
26452 $as_echo_n "(cached) " >&6
26454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26455 /* end confdefs.h. */
26456 #include <stdlib.h>
26457 #include <stdarg.h>
26458 #include <string.h>
26469 if ac_fn_c_try_compile "$LINENO"; then :
26470 ac_cv_header_stdc=yes
26472 ac_cv_header_stdc=no
26474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26476 if test $ac_cv_header_stdc = yes; then
26477 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
26478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26479 /* end confdefs.h. */
26480 #include <string.h>
26483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26484 $EGREP "memchr" >/dev/null 2>&1; then :
26487 ac_cv_header_stdc=no
26493 if test $ac_cv_header_stdc = yes; then
26494 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
26495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26496 /* end confdefs.h. */
26497 #include <stdlib.h>
26500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26501 $EGREP "free" >/dev/null 2>&1; then :
26504 ac_cv_header_stdc=no
26510 if test $ac_cv_header_stdc = yes; then
26511 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
26512 if test "$cross_compiling" = yes; then :
26515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26516 /* end confdefs.h. */
26518 #include <stdlib.h>
26519 #if ((' ' & 0x0FF) == 0x020)
26520 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
26521 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
26523 # define ISLOWER(c) \
26524 (('a' <= (c) && (c) <= 'i') \
26525 || ('j' <= (c) && (c) <= 'r') \
26526 || ('s' <= (c) && (c) <= 'z'))
26527 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
26530 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
26535 for (i = 0; i < 256; i++)
26536 if (XOR (islower (i), ISLOWER (i))
26537 || toupper (i) != TOUPPER (i))
26542 if ac_fn_c_try_run "$LINENO"; then :
26545 ac_cv_header_stdc=no
26547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26548 conftest.$ac_objext conftest.beam conftest.$ac_ext
26553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
26554 $as_echo "$ac_cv_header_stdc" >&6; }
26555 if test $ac_cv_header_stdc = yes; then
26557 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
26563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
26564 $as_echo_n "checking for __attribute__... " >&6; }
26566 if ${ac_cv___attribute__+:} false; then :
26567 $as_echo_n "(cached) " >&6
26569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26570 /* end confdefs.h. */
26572 #include <stdlib.h>
26575 int foo(int x __attribute__ ((unused)))
26588 if ac_fn_c_try_compile "$LINENO"; then :
26589 ac_cv___attribute__="yes"
26591 ac_cv___attribute__="no"
26594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
26599 $as_echo "$ac_cv___attribute__" >&6; }
26601 if test "x${ac_cv___attribute__}" = "xyes" ; then
26603 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
26606 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
26610 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
26620 WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
26623 WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
26624 WIN32_CFLAGS="-mwin32"
26627 WIN32_CPPFLAGS="-D_WIN32_WINNT=0x0501"
26634 ### Checks for linker characteristics
26636 # use --enable-auto-import on Windows
26638 lt_enable_auto_import=""
26641 lt_enable_auto_import="-Wl,--enable-auto-import"
26646 ### Checks for library functions
26647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
26648 $as_echo_n "checking for library containing strerror... " >&6; }
26649 if ${ac_cv_search_strerror+:} false; then :
26650 $as_echo_n "(cached) " >&6
26652 ac_func_search_save_LIBS=$LIBS
26653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26654 /* end confdefs.h. */
26656 /* Override any GCC internal prototype to avoid an error.
26657 Use char because int might match the return type of a GCC
26658 builtin and then its argument prototype would still apply. */
26666 return strerror ();
26671 for ac_lib in '' cposix; do
26672 if test -z "$ac_lib"; then
26673 ac_res="none required"
26676 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
26678 if ac_fn_c_try_link "$LINENO"; then :
26679 ac_cv_search_strerror=$ac_res
26681 rm -f core conftest.err conftest.$ac_objext \
26683 if ${ac_cv_search_strerror+:} false; then :
26687 if ${ac_cv_search_strerror+:} false; then :
26690 ac_cv_search_strerror=no
26692 rm conftest.$ac_ext
26693 LIBS=$ac_func_search_save_LIBS
26695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
26696 $as_echo "$ac_cv_search_strerror" >&6; }
26697 ac_res=$ac_cv_search_strerror
26698 if test "$ac_res" != no; then :
26699 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
26703 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
26704 if test "x$ac_cv_type_size_t" = xyes; then :
26708 cat >>confdefs.h <<_ACEOF
26709 #define size_t unsigned int
26714 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
26715 # for constant arguments. Useless!
26716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
26717 $as_echo_n "checking for working alloca.h... " >&6; }
26718 if ${ac_cv_working_alloca_h+:} false; then :
26719 $as_echo_n "(cached) " >&6
26721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26722 /* end confdefs.h. */
26723 #include <alloca.h>
26727 char *p = (char *) alloca (2 * sizeof (int));
26733 if ac_fn_c_try_link "$LINENO"; then :
26734 ac_cv_working_alloca_h=yes
26736 ac_cv_working_alloca_h=no
26738 rm -f core conftest.err conftest.$ac_objext \
26739 conftest$ac_exeext conftest.$ac_ext
26741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
26742 $as_echo "$ac_cv_working_alloca_h" >&6; }
26743 if test $ac_cv_working_alloca_h = yes; then
26745 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
26749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
26750 $as_echo_n "checking for alloca... " >&6; }
26751 if ${ac_cv_func_alloca_works+:} false; then :
26752 $as_echo_n "(cached) " >&6
26754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26755 /* end confdefs.h. */
26757 # define alloca __builtin_alloca
26760 # include <malloc.h>
26761 # define alloca _alloca
26763 # ifdef HAVE_ALLOCA_H
26764 # include <alloca.h>
26769 # ifndef alloca /* predefined by HP cc +Olibcalls */
26770 void *alloca (size_t);
26780 char *p = (char *) alloca (1);
26786 if ac_fn_c_try_link "$LINENO"; then :
26787 ac_cv_func_alloca_works=yes
26789 ac_cv_func_alloca_works=no
26791 rm -f core conftest.err conftest.$ac_objext \
26792 conftest$ac_exeext conftest.$ac_ext
26794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
26795 $as_echo "$ac_cv_func_alloca_works" >&6; }
26797 if test $ac_cv_func_alloca_works = yes; then
26799 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
26802 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
26803 # that cause trouble. Some versions do not even contain alloca or
26804 # contain a buggy version. If you still want to use their alloca,
26805 # use ar to extract alloca.o from them instead of compiling alloca.c.
26807 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
26809 $as_echo "#define C_ALLOCA 1" >>confdefs.h
26812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
26813 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
26814 if ${ac_cv_os_cray+:} false; then :
26815 $as_echo_n "(cached) " >&6
26817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26818 /* end confdefs.h. */
26819 #if defined CRAY && ! defined CRAY2
26826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26827 $EGREP "webecray" >/dev/null 2>&1; then :
26835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
26836 $as_echo "$ac_cv_os_cray" >&6; }
26837 if test $ac_cv_os_cray = yes; then
26838 for ac_func in _getb67 GETB67 getb67; do
26839 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26841 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26843 cat >>confdefs.h <<_ACEOF
26844 #define CRAY_STACKSEG_END $ac_func
26853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
26854 $as_echo_n "checking stack direction for C alloca... " >&6; }
26855 if ${ac_cv_c_stack_direction+:} false; then :
26856 $as_echo_n "(cached) " >&6
26858 if test "$cross_compiling" = yes; then :
26859 ac_cv_c_stack_direction=0
26861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26862 /* end confdefs.h. */
26863 $ac_includes_default
26865 find_stack_direction (int *addr, int depth)
26867 int dir, dummy = 0;
26870 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
26871 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
26872 return dir + dummy;
26876 main (int argc, char **argv)
26878 return find_stack_direction (0, argc + !argv + 20) < 0;
26881 if ac_fn_c_try_run "$LINENO"; then :
26882 ac_cv_c_stack_direction=1
26884 ac_cv_c_stack_direction=-1
26886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26887 conftest.$ac_objext conftest.beam conftest.$ac_ext
26891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
26892 $as_echo "$ac_cv_c_stack_direction" >&6; }
26893 cat >>confdefs.h <<_ACEOF
26894 #define STACK_DIRECTION $ac_cv_c_stack_direction
26900 for ac_func in gettimeofday strlcpy execvp
26902 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26903 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26904 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26905 cat >>confdefs.h <<_ACEOF
26906 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26914 /* end confdefs.h. */
26922 int i = isfinite(0);
26928 if ac_fn_c_try_compile "$LINENO"; then :
26931 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
26933 have_isfinite="yes"
26938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
26941 $as_echo_n "checking for isfinite... " >&6; }
26942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_isfinite}" >&5
26943 $as_echo "${have_isfinite}" >&6; }
26945 have_atfile_source=auto
26946 # Check whether --enable-atfile-source was given.
26947 if test "${enable_atfile_source+set}" = set; then :
26948 enableval=$enable_atfile_source;
26949 if test "x${enableval}" = "xyes" ; then
26950 have_atfile_source="yes"
26952 have_atfile_source="no"
26955 have_atfile_source=auto
26959 if ! test "x${have_atfile_source}" = "xno" ; then
26960 for ac_func in mkdirat
26962 ac_fn_c_check_func "$LINENO" "mkdirat" "ac_cv_func_mkdirat"
26963 if test "x$ac_cv_func_mkdirat" = xyes; then :
26964 cat >>confdefs.h <<_ACEOF
26965 #define HAVE_MKDIRAT 1
26968 have_atfile_source="yes"
26970 $as_echo "#define HAVE_ATFILE_SOURCE 1" >>confdefs.h
26975 if test "x${have_atfile_source}" = "xyes" ; then
26976 as_fn_error $? "required atfile-source but no mkdirat()" "$LINENO" 5
26978 have_atfile_source="no"
26987 _efl_have_shm_open="no"
26990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
26991 $as_echo_n "checking for shm_open in libc... " >&6; }
26992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26993 /* end confdefs.h. */
26995 #include <sys/mman.h>
26996 #include <sys/stat.h> /* For mode constants */
26997 #include <fcntl.h> /* For O_* constants */
27005 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
27011 if ac_fn_c_try_link "$LINENO"; then :
27012 _efl_have_shm_open="yes"
27014 _efl_have_shm_open="no"
27016 rm -f core conftest.err conftest.$ac_objext \
27017 conftest$ac_exeext conftest.$ac_ext
27019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
27020 $as_echo "${_efl_have_shm_open}" >&6; }
27022 if test "x$_efl_have_shm_open" = "xno" ; then
27023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
27024 $as_echo_n "checking for shm_open in librt... " >&6; }
27026 LIBS_save="${LIBS}"
27027 LIBS="${LIBS} -lrt"
27028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27029 /* end confdefs.h. */
27031 #include <sys/mman.h>
27032 #include <sys/stat.h> /* For mode constants */
27033 #include <fcntl.h> /* For O_* constants */
27041 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
27047 if ac_fn_c_try_link "$LINENO"; then :
27049 EFL_SHM_OPEN_LIBS="-lrt"
27050 _efl_have_shm_open="yes"
27052 _efl_have_shm_open="no"
27054 rm -f core conftest.err conftest.$ac_objext \
27055 conftest$ac_exeext conftest.$ac_ext
27057 LIBS="${LIBS_save}"
27059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
27060 $as_echo "${_efl_have_shm_open}" >&6; }
27065 if test "x$_efl_have_shm_open" = "xyes" ; then
27067 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
27071 if test "x$_efl_have_shm_open" = "xyes"; then :
27072 have_shm_open="yes"
27079 ### Checks for optionnal feature
27080 ac_fn_c_check_func "$LINENO" "mallinfo" "ac_cv_func_mallinfo"
27081 if test "x$ac_cv_func_mallinfo" = xyes; then :
27083 have_mallinfo="yes"
27085 $as_echo "#define HAVE_MALLINFO 1" >>confdefs.h
27103 want_module=${want_ecore_con}
27105 # Check whether --enable-ecore-con was given.
27106 if test "${enable_ecore_con+set}" = set; then :
27107 enableval=$enable_ecore_con;
27108 if test "x${enableval}" = "xyes" ; then
27117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Con module is to be built" >&5
27118 $as_echo_n "checking whether Ecore_Con module is to be built... " >&6; }
27120 if test "x${want_module}" = "xyes" ; then
27121 if test "x${have_addrinfo}" = "x" || test "x${have_addrinfo}" = "xyes" ; then
27123 $as_echo "#define BUILD_ECORE_CON 1" >>confdefs.h
27125 have_ecore_con="yes"
27126 ecore_con_libs="-lecore_con"
27127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27128 $as_echo "yes" >&6; }
27130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
27131 $as_echo "no (dependency failed)" >&6; }
27134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27135 $as_echo "no" >&6; }
27138 if test "x$have_ecore_con" = "xyes"; then
27139 BUILD_ECORE_CON_TRUE=
27140 BUILD_ECORE_CON_FALSE='#'
27142 BUILD_ECORE_CON_TRUE='#'
27143 BUILD_ECORE_CON_FALSE=
27147 if test "x$have_ecore_con" = "xyes"; then :
27165 # Check whether --enable-ipv6 was given.
27166 if test "${enable_ipv6+set}" = set; then :
27167 enableval=$enable_ipv6;
27168 if test "x${enableval}" = "xyes" ; then
27178 if test "x${have_ecore_con}" = "xyes" ; then
27180 # Verify IPV6 availability in headers
27181 if test "x${want_ipv6}" != "xno" ; then
27182 ac_fn_c_check_type "$LINENO" "struct ipv6_mreq" "ac_cv_type_struct_ipv6_mreq" "
27183 #ifdef HAVE_NETINET_IN_H
27184 # include <netinet/in.h>
27186 #ifdef HAVE_WS2TCPIP_H
27187 # include <ws2tcpip.h>
27191 if test "x$ac_cv_type_struct_ipv6_mreq" = xyes; then :
27193 cat >>confdefs.h <<_ACEOF
27194 #define HAVE_STRUCT_IPV6_MREQ 1
27204 if test "x${have_ipv6}" = "xyes" ; then
27206 $as_echo "#define HAVE_IPV6 1" >>confdefs.h
27211 _ecore_want_curl=${want_curl}
27212 _ecore_have_curl="no"
27214 # Check whether --enable-curl was given.
27215 if test "${enable_curl+set}" = set; then :
27216 enableval=$enable_curl;
27217 if test "x${enableval}" = "xyes" ; then
27218 _ecore_want_curl="yes"
27220 _ecore_want_curl="no"
27226 if test "x${_ecore_want_curl}" = "xyes" ; then
27229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
27230 $as_echo_n "checking for CURL... " >&6; }
27232 if test -n "$CURL_CFLAGS"; then
27233 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
27234 elif test -n "$PKG_CONFIG"; then
27235 if test -n "$PKG_CONFIG" && \
27236 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
27237 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
27239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27240 test $ac_status = 0; }; then
27241 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
27242 test "x$?" != "x0" && pkg_failed=yes
27249 if test -n "$CURL_LIBS"; then
27250 pkg_cv_CURL_LIBS="$CURL_LIBS"
27251 elif test -n "$PKG_CONFIG"; then
27252 if test -n "$PKG_CONFIG" && \
27253 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
27254 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
27256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27257 test $ac_status = 0; }; then
27258 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
27259 test "x$?" != "x0" && pkg_failed=yes
27269 if test $pkg_failed = yes; then
27270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27271 $as_echo "no" >&6; }
27273 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27274 _pkg_short_errors_supported=yes
27276 _pkg_short_errors_supported=no
27278 if test $_pkg_short_errors_supported = yes; then
27279 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1`
27281 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1`
27283 # Put the nasty error message in config.log where it belongs
27284 echo "$CURL_PKG_ERRORS" >&5
27286 _ecore_have_curl="no"
27287 elif test $pkg_failed = untried; then
27288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27289 $as_echo "no" >&6; }
27290 _ecore_have_curl="no"
27292 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
27293 CURL_LIBS=$pkg_cv_CURL_LIBS
27294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27295 $as_echo "yes" >&6; }
27298 $as_echo "#define HAVE_CURL 1" >>confdefs.h
27300 _ecore_have_curl="yes"
27305 if test "x$_ecore_have_curl" = "xyes" ; then
27308 requirements_ecore_con="libcurl ${requirements_ecore_con}"
27316 _ecore_want_gnutls=${want_gnutls}
27317 _ecore_have_gnutls="no"
27319 # Check whether --enable-gnutls was given.
27320 if test "${enable_gnutls+set}" = set; then :
27321 enableval=$enable_gnutls;
27322 if test "x${enableval}" = "xyes" ; then
27323 _ecore_want_gnutls="yes"
27325 _ecore_want_gnutls="no"
27331 if test "x${_ecore_want_gnutls}" = "xyes" -o "x${_ecore_want_gnutls}" = "xauto" ; then
27334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLS" >&5
27335 $as_echo_n "checking for TLS... " >&6; }
27337 if test -n "$TLS_CFLAGS"; then
27338 pkg_cv_TLS_CFLAGS="$TLS_CFLAGS"
27339 elif test -n "$PKG_CONFIG"; then
27340 if test -n "$PKG_CONFIG" && \
27341 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.12.16\""; } >&5
27342 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.12.16") 2>&5
27344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27345 test $ac_status = 0; }; then
27346 pkg_cv_TLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 2.12.16" 2>/dev/null`
27347 test "x$?" != "x0" && pkg_failed=yes
27354 if test -n "$TLS_LIBS"; then
27355 pkg_cv_TLS_LIBS="$TLS_LIBS"
27356 elif test -n "$PKG_CONFIG"; then
27357 if test -n "$PKG_CONFIG" && \
27358 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.12.16\""; } >&5
27359 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.12.16") 2>&5
27361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27362 test $ac_status = 0; }; then
27363 pkg_cv_TLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 2.12.16" 2>/dev/null`
27364 test "x$?" != "x0" && pkg_failed=yes
27374 if test $pkg_failed = yes; then
27375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27376 $as_echo "no" >&6; }
27378 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27379 _pkg_short_errors_supported=yes
27381 _pkg_short_errors_supported=no
27383 if test $_pkg_short_errors_supported = yes; then
27384 TLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnutls >= 2.12.16" 2>&1`
27386 TLS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnutls >= 2.12.16" 2>&1`
27388 # Put the nasty error message in config.log where it belongs
27389 echo "$TLS_PKG_ERRORS" >&5
27391 _ecore_have_gnutls="no"
27392 elif test $pkg_failed = untried; then
27393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27394 $as_echo "no" >&6; }
27395 _ecore_have_gnutls="no"
27397 TLS_CFLAGS=$pkg_cv_TLS_CFLAGS
27398 TLS_LIBS=$pkg_cv_TLS_LIBS
27399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27400 $as_echo "yes" >&6; }
27403 $as_echo "#define USE_GNUTLS 1" >>confdefs.h
27405 _ecore_have_gnutls="yes"
27408 # for ecore_con_ssl.c
27411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLS2" >&5
27412 $as_echo_n "checking for TLS2... " >&6; }
27414 if test -n "$TLS2_CFLAGS"; then
27415 pkg_cv_TLS2_CFLAGS="$TLS2_CFLAGS"
27416 elif test -n "$PKG_CONFIG"; then
27417 if test -n "$PKG_CONFIG" && \
27418 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.12.16\""; } >&5
27419 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.12.16") 2>&5
27421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27422 test $ac_status = 0; }; then
27423 pkg_cv_TLS2_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 2.12.16" 2>/dev/null`
27424 test "x$?" != "x0" && pkg_failed=yes
27431 if test -n "$TLS2_LIBS"; then
27432 pkg_cv_TLS2_LIBS="$TLS2_LIBS"
27433 elif test -n "$PKG_CONFIG"; then
27434 if test -n "$PKG_CONFIG" && \
27435 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.12.16\""; } >&5
27436 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.12.16") 2>&5
27438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27439 test $ac_status = 0; }; then
27440 pkg_cv_TLS2_LIBS=`$PKG_CONFIG --libs "gnutls >= 2.12.16" 2>/dev/null`
27441 test "x$?" != "x0" && pkg_failed=yes
27451 if test $pkg_failed = yes; then
27452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27453 $as_echo "no" >&6; }
27455 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27456 _pkg_short_errors_supported=yes
27458 _pkg_short_errors_supported=no
27460 if test $_pkg_short_errors_supported = yes; then
27461 TLS2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnutls >= 2.12.16" 2>&1`
27463 TLS2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnutls >= 2.12.16" 2>&1`
27465 # Put the nasty error message in config.log where it belongs
27466 echo "$TLS2_PKG_ERRORS" >&5
27469 elif test $pkg_failed = untried; then
27470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27471 $as_echo "no" >&6; }
27474 TLS2_CFLAGS=$pkg_cv_TLS2_CFLAGS
27475 TLS2_LIBS=$pkg_cv_TLS2_LIBS
27476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27477 $as_echo "yes" >&6; }
27479 $as_echo "#define USE_GNUTLS2 1" >>confdefs.h
27482 if test "x$_ecore_have_gnutls" = "xyes";then
27485 # Check whether --with-libgcrypt-prefix was given.
27486 if test "${with_libgcrypt_prefix+set}" = set; then :
27487 withval=$with_libgcrypt_prefix; libgcrypt_config_prefix="$withval"
27489 libgcrypt_config_prefix=""
27493 # Check whether --with-libgcrypt-exec-prefix was given.
27494 if test "${with_libgcrypt_exec_prefix+set}" = set; then :
27495 withval=$with_libgcrypt_exec_prefix; libgcrypt_config_exec_prefix="$withval"
27497 libgcrypt_config_exec_prefix=""
27501 if test x$libgcrypt_config_exec_prefix != x ; then
27502 libgcrypt_config_args="$libgcrypt_config_args --exec-prefix=$libgcrypt_config_exec_prefix"
27503 if test x${LIBGCRYPT_CONFIG+set} != xset ; then
27504 LIBGCRYPT_CONFIG=$libgcrypt_config_exec_prefix/bin/libgcrypt-config
27507 if test x$libgcrypt_config_prefix != x ; then
27508 libgcrypt_config_args="$libgcrypt_config_args --prefix=$libgcrypt_config_prefix"
27509 if test x${LIBGCRYPT_CONFIG+set} != xset ; then
27510 LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config
27514 # Extract the first word of "libgcrypt-config", so it can be a program name with args.
27515 set dummy libgcrypt-config; ac_word=$2
27516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27517 $as_echo_n "checking for $ac_word... " >&6; }
27518 if ${ac_cv_path_LIBGCRYPT_CONFIG+:} false; then :
27519 $as_echo_n "(cached) " >&6
27521 case $LIBGCRYPT_CONFIG in
27523 ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path.
27526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27527 for as_dir in $PATH
27530 test -z "$as_dir" && as_dir=.
27531 for ac_exec_ext in '' $ac_executable_extensions; do
27532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27533 ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27541 test -z "$ac_cv_path_LIBGCRYPT_CONFIG" && ac_cv_path_LIBGCRYPT_CONFIG="no"
27545 LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG
27546 if test -n "$LIBGCRYPT_CONFIG"; then
27547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT_CONFIG" >&5
27548 $as_echo "$LIBGCRYPT_CONFIG" >&6; }
27550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27551 $as_echo "no" >&6; }
27555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgcrypt" >&5
27556 $as_echo_n "checking for libgcrypt... " >&6; }
27558 if test "$LIBGCRYPT_CONFIG" = "no" ; then
27561 LIBGCRYPT_CFLAGS="`$LIBGCRYPT_CONFIG $libgcrypt_config_args --cflags`"
27562 LIBGCRYPT_LIBS="`$LIBGCRYPT_CONFIG $libgcrypt_config_args --libs`"
27565 if test "x$no_libgcrypt" = x ; then
27566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27567 $as_echo "yes" >&6; }
27568 _ecore_have_gnutls="yes"
27570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27571 $as_echo "no" >&6; }
27572 if test "$LIBGCRYPT_CONFIG" = "no" ; then
27573 echo "*** The libgcrypt-config script installed by libgcrypt could not be found"
27574 echo "*** If libgcrypt was installed in PREFIX, make sure PREFIX/bin is in"
27575 echo "*** your path, or set the LIBGCRYPT_CONFIG environment variable to the"
27576 echo "*** full path to libgcrypt-config."
27578 LIBGCRYPT_CFLAGS=""
27580 _ecore_have_gnutls="no"
27588 if test "x${_ecore_have_gnutls}" = "xyes" ; then
27589 TLS_CFLAGS="${TLS_CFLAGS} ${LIBGCRYPT_CFLAGS}"
27590 TLS_LIBS="${TLS_LIBS} ${LIBGCRYPT_LIBS}"
27596 if test "x$_ecore_have_gnutls" = "xyes" ; then
27604 _ecore_want_openssl=${want_openssl}
27605 _ecore_have_openssl="no"
27607 # Check whether --enable-openssl was given.
27608 if test "${enable_openssl+set}" = set; then :
27609 enableval=$enable_openssl;
27610 if test "x${enableval}" = "xyes" ; then
27611 _ecore_want_openssl="yes"
27613 _ecore_want_openssl="no"
27619 if test "x${_ecore_have_gnutls}" = "xyes";then
27620 _ecore_want_openssl=no
27623 if test "x${_ecore_want_openssl}" = "xyes" -o "x${_ecore_want_openssl}" = "xauto"; then
27626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL" >&5
27627 $as_echo_n "checking for SSL... " >&6; }
27629 if test -n "$SSL_CFLAGS"; then
27630 pkg_cv_SSL_CFLAGS="$SSL_CFLAGS"
27631 elif test -n "$PKG_CONFIG"; then
27632 if test -n "$PKG_CONFIG" && \
27633 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
27634 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
27636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27637 test $ac_status = 0; }; then
27638 pkg_cv_SSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
27639 test "x$?" != "x0" && pkg_failed=yes
27646 if test -n "$SSL_LIBS"; then
27647 pkg_cv_SSL_LIBS="$SSL_LIBS"
27648 elif test -n "$PKG_CONFIG"; then
27649 if test -n "$PKG_CONFIG" && \
27650 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
27651 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
27653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27654 test $ac_status = 0; }; then
27655 pkg_cv_SSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
27656 test "x$?" != "x0" && pkg_failed=yes
27666 if test $pkg_failed = yes; then
27667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27668 $as_echo "no" >&6; }
27670 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27671 _pkg_short_errors_supported=yes
27673 _pkg_short_errors_supported=no
27675 if test $_pkg_short_errors_supported = yes; then
27676 SSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl" 2>&1`
27678 SSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl" 2>&1`
27680 # Put the nasty error message in config.log where it belongs
27681 echo "$SSL_PKG_ERRORS" >&5
27683 _ecore_have_openssl="no"
27684 elif test $pkg_failed = untried; then
27685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27686 $as_echo "no" >&6; }
27687 _ecore_have_openssl="no"
27689 SSL_CFLAGS=$pkg_cv_SSL_CFLAGS
27690 SSL_LIBS=$pkg_cv_SSL_LIBS
27691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27692 $as_echo "yes" >&6; }
27695 $as_echo "#define USE_OPENSSL 1" >>confdefs.h
27697 _ecore_have_openssl="yes"
27702 if test "x$_ecore_have_openssl" = "xyes" ; then
27709 if test "x${have_gnutls}" = "xyes" ; then
27710 requirements_ecore_con="gnutls ${requirements_ecore_con}"
27711 # no need to add it to req_ecore_ipc, since they
27712 # depends on ecore_con anyway.
27714 if test "x${have_openssl}" = "xyes" ; then
27715 requirements_ecore_con="openssl ${requirements_ecore_con}"
27716 # no need to add it to req_ecore_ipc, since they
27717 # depends on ecore_con anyway.
27722 _ecore_want_cares=${want_cares}
27723 _ecore_have_cares="no"
27725 # Check whether --enable-cares was given.
27726 if test "${enable_cares+set}" = set; then :
27727 enableval=$enable_cares;
27728 if test "x${enableval}" = "xyes" ; then
27729 _ecore_want_cares="yes"
27731 _ecore_want_cares="no"
27737 if test "x${_ecore_want_cares}" = "xyes" -o "x${_ecore_want_cares}" = "xauto" ; then
27740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CARES" >&5
27741 $as_echo_n "checking for CARES... " >&6; }
27743 if test -n "$CARES_CFLAGS"; then
27744 pkg_cv_CARES_CFLAGS="$CARES_CFLAGS"
27745 elif test -n "$PKG_CONFIG"; then
27746 if test -n "$PKG_CONFIG" && \
27747 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcares >= 1.6.1\""; } >&5
27748 ($PKG_CONFIG --exists --print-errors "libcares >= 1.6.1") 2>&5
27750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27751 test $ac_status = 0; }; then
27752 pkg_cv_CARES_CFLAGS=`$PKG_CONFIG --cflags "libcares >= 1.6.1" 2>/dev/null`
27753 test "x$?" != "x0" && pkg_failed=yes
27760 if test -n "$CARES_LIBS"; then
27761 pkg_cv_CARES_LIBS="$CARES_LIBS"
27762 elif test -n "$PKG_CONFIG"; then
27763 if test -n "$PKG_CONFIG" && \
27764 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcares >= 1.6.1\""; } >&5
27765 ($PKG_CONFIG --exists --print-errors "libcares >= 1.6.1") 2>&5
27767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27768 test $ac_status = 0; }; then
27769 pkg_cv_CARES_LIBS=`$PKG_CONFIG --libs "libcares >= 1.6.1" 2>/dev/null`
27770 test "x$?" != "x0" && pkg_failed=yes
27780 if test $pkg_failed = yes; then
27781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27782 $as_echo "no" >&6; }
27784 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27785 _pkg_short_errors_supported=yes
27787 _pkg_short_errors_supported=no
27789 if test $_pkg_short_errors_supported = yes; then
27790 CARES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcares >= 1.6.1" 2>&1`
27792 CARES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcares >= 1.6.1" 2>&1`
27794 # Put the nasty error message in config.log where it belongs
27795 echo "$CARES_PKG_ERRORS" >&5
27797 _ecore_have_cares="no"
27798 elif test $pkg_failed = untried; then
27799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27800 $as_echo "no" >&6; }
27801 _ecore_have_cares="no"
27803 CARES_CFLAGS=$pkg_cv_CARES_CFLAGS
27804 CARES_LIBS=$pkg_cv_CARES_LIBS
27805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27806 $as_echo "yes" >&6; }
27807 _ecore_have_cares="yes"
27811 if test "x${_ecore_have_cares}" = "xyes" ; then
27813 $as_echo "#define HAVE_CARES 1" >>confdefs.h
27817 if test "x$_ecore_have_cares" = "xyes" ; then
27820 requirements_ecore_con="libcares ${requirements_ecore_con}"
27835 option=-Woverride-init
27837 CFLAGS_save="${CFLAGS}"
27838 CFLAGS="${CFLAGS} ${option}"
27841 ac_cpp='$CPP $CPPFLAGS'
27842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-override-init" >&5
27847 $as_echo_n "checking whether the compiler supports -Wno-override-init... " >&6; }
27849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27850 /* end confdefs.h. */
27860 if ac_fn_c_try_compile "$LINENO"; then :
27865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
27867 $as_echo "${have_flag}" >&6; }
27869 CFLAGS="${CFLAGS_save}"
27871 ac_cpp='$CPP $CPPFLAGS'
27872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27877 if test "x${have_flag}" = "xyes" ; then
27878 ECORE_CON_CFLAGS="${ECORE_CON_CFLAGS} -Wno-override-init"
27883 if test "x${have_flag}" = "xyes"; then
27884 EFL_HAVE_WNO_OVERRIDE_INIT_TRUE=
27885 EFL_HAVE_WNO_OVERRIDE_INIT_FALSE='#'
27887 EFL_HAVE_WNO_OVERRIDE_INIT_TRUE='#'
27888 EFL_HAVE_WNO_OVERRIDE_INIT_FALSE=
27898 option=-Winitializer-overrides
27900 CFLAGS_save="${CFLAGS}"
27901 CFLAGS="${CFLAGS} ${option}"
27904 ac_cpp='$CPP $CPPFLAGS'
27905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-initializer-overrides" >&5
27910 $as_echo_n "checking whether the compiler supports -Wno-initializer-overrides... " >&6; }
27912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27913 /* end confdefs.h. */
27923 if ac_fn_c_try_compile "$LINENO"; then :
27928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
27930 $as_echo "${have_flag}" >&6; }
27932 CFLAGS="${CFLAGS_save}"
27934 ac_cpp='$CPP $CPPFLAGS'
27935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27940 if test "x${have_flag}" = "xyes" ; then
27941 ECORE_CON_CFLAGS="${ECORE_CON_CFLAGS} -Wno-initializer-overrides"
27946 if test "x${have_flag}" = "xyes"; then
27947 EFL_HAVE_WNO_INITIALIZER_OVERRIDES_TRUE=
27948 EFL_HAVE_WNO_INITIALIZER_OVERRIDES_FALSE='#'
27950 EFL_HAVE_WNO_INITIALIZER_OVERRIDES_TRUE='#'
27951 EFL_HAVE_WNO_INITIALIZER_OVERRIDES_FALSE=
27960 if test "x${have_ipv6}" = "xyes"; then
27962 HAVE_IPV6_FALSE='#'
27968 if test "x${have_cares}" = "xyes"; then
27970 HAVE_CARES_FALSE='#'
27972 HAVE_CARES_TRUE='#'
27983 want_module=${want_ecore_ipc}
27985 # Check whether --enable-ecore-ipc was given.
27986 if test "${enable_ecore_ipc+set}" = set; then :
27987 enableval=$enable_ecore_ipc;
27988 if test "x${enableval}" = "xyes" ; then
27997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Ipc module is to be built" >&5
27998 $as_echo_n "checking whether Ecore_Ipc module is to be built... " >&6; }
28000 if test "x${want_module}" = "xyes" ; then
28001 if test "x${have_ecore_con}" = "x" || test "x${have_ecore_con}" = "xyes" ; then
28003 $as_echo "#define BUILD_ECORE_IPC 1" >>confdefs.h
28005 have_ecore_ipc="yes"
28006 ecore_ipc_libs="-lecore_ipc"
28007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28008 $as_echo "yes" >&6; }
28010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28011 $as_echo "no (dependency failed)" >&6; }
28014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28015 $as_echo "no" >&6; }
28018 if test "x$have_ecore_ipc" = "xyes"; then
28019 BUILD_ECORE_IPC_TRUE=
28020 BUILD_ECORE_IPC_FALSE='#'
28022 BUILD_ECORE_IPC_TRUE='#'
28023 BUILD_ECORE_IPC_FALSE=
28027 if test "x$have_ecore_ipc" = "xyes"; then :
28029 requirements_ecore_ipc="ecore-con >= 1.7.8 ${requirements_ecore_ipc}"
28030 requirements_ecore_evas="ecore-ipc >= 1.7.8 ${requirements_ecore_evas}"
28047 want_module=${want_ecore_file}
28049 # Check whether --enable-ecore-file was given.
28050 if test "${enable_ecore_file+set}" = set; then :
28051 enableval=$enable_ecore_file;
28052 if test "x${enableval}" = "xyes" ; then
28061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_File module is to be built" >&5
28062 $as_echo_n "checking whether Ecore_File module is to be built... " >&6; }
28064 if test "x${want_module}" = "xyes" ; then
28065 if test "x" = "x" || test "x" = "xyes" ; then
28067 $as_echo "#define BUILD_ECORE_FILE 1" >>confdefs.h
28069 have_ecore_file="yes"
28070 ecore_file_libs="-lecore_file"
28071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28072 $as_echo "yes" >&6; }
28074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28075 $as_echo "no (dependency failed)" >&6; }
28078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28079 $as_echo "no" >&6; }
28082 if test "x$have_ecore_file" = "xyes"; then
28083 BUILD_ECORE_FILE_TRUE=
28084 BUILD_ECORE_FILE_FALSE='#'
28086 BUILD_ECORE_FILE_TRUE='#'
28087 BUILD_ECORE_FILE_FALSE=
28091 if test "x$have_ecore_file" = "xyes"; then :
28104 have_notify_win32="no"
28105 if test "x${have_ecore_file}" = "xyes" ; then
28107 _ecore_want_poll=${want_poll}
28108 _ecore_have_poll="no"
28110 # Check whether --enable-poll was given.
28111 if test "${enable_poll+set}" = set; then :
28112 enableval=$enable_poll;
28113 if test "x${enableval}" = "xyes" ; then
28114 _ecore_want_poll="yes"
28116 _ecore_want_poll="no"
28122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether polling is to be used for filemonitoring" >&5
28123 $as_echo_n "checking whether polling is to be used for filemonitoring... " >&6; }
28124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_ecore_want_poll}" >&5
28125 $as_echo "${_ecore_want_poll}" >&6; }
28127 if test "x${_ecore_want_poll}" = "xyes" ; then
28129 $as_echo "#define HAVE_POLL 1" >>confdefs.h
28131 _ecore_have_poll="yes"
28134 if test "x${_ecore_have_poll}" = "xyes" ; then
28141 _ecore_want_inotify=${want_inotify}
28142 _ecore_have_inotify="no"
28144 _ecore_want_inotify="yes"
28145 # Check whether --enable-inotify was given.
28146 if test "${enable_inotify+set}" = set; then :
28147 enableval=$enable_inotify;
28148 if test "x${enableval}" = "xyes" ; then
28149 _ecore_want_inotify="yes"
28151 _ecore_want_inotify="no"
28157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether inotify is to be used for filemonitoring" >&5
28158 $as_echo_n "checking whether inotify is to be used for filemonitoring... " >&6; }
28159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_ecore_want_inotify" >&5
28160 $as_echo "$_ecore_want_inotify" >&6; }
28163 if test "x${_ecore_want_inotify}" = "xyes" ; then
28164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_init in -lc" >&5
28165 $as_echo_n "checking for inotify_init in -lc... " >&6; }
28166 if ${ac_cv_lib_c_inotify_init+:} false; then :
28167 $as_echo_n "(cached) " >&6
28169 ac_check_lib_save_LIBS=$LIBS
28171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28172 /* end confdefs.h. */
28174 /* Override any GCC internal prototype to avoid an error.
28175 Use char because int might match the return type of a GCC
28176 builtin and then its argument prototype would still apply. */
28180 char inotify_init ();
28184 return inotify_init ();
28189 if ac_fn_c_try_link "$LINENO"; then :
28190 ac_cv_lib_c_inotify_init=yes
28192 ac_cv_lib_c_inotify_init=no
28194 rm -f core conftest.err conftest.$ac_objext \
28195 conftest$ac_exeext conftest.$ac_ext
28196 LIBS=$ac_check_lib_save_LIBS
28198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inotify_init" >&5
28199 $as_echo "$ac_cv_lib_c_inotify_init" >&6; }
28200 if test "x$ac_cv_lib_c_inotify_init" = xyes; then :
28203 $as_echo "#define HAVE_INOTIFY 1" >>confdefs.h
28206 $as_echo "#define HAVE_SYS_INOTIFY 1" >>confdefs.h
28208 _ecore_have_inotify="yes"
28212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28213 /* end confdefs.h. */
28215 #include <asm/unistd.h>
28216 #include <linux/inotify.h>
28221 int a = __NR_inotify_init; int b = IN_MOVE_SELF;
28226 if ac_fn_c_try_compile "$LINENO"; then :
28229 $as_echo "#define HAVE_INOTIFY 1" >>confdefs.h
28231 _ecore_have_inotify="yes"
28234 _ecore_have_inotify="no"
28236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28242 if test "x$_ecore_have_inotify" = "xyes" ; then
28249 _ecore_want_notify_win32=${want_notify_win32}
28250 _ecore_have_notify_win32="no"
28252 # Check whether --enable-notify-win32 was given.
28253 if test "${enable_notify_win32+set}" = set; then :
28254 enableval=$enable_notify_win32;
28255 if test "x${enableval}" = "xyes" ; then
28256 _ecore_want_notify_win32="yes"
28258 _ecore_want_notify_win32="no"
28264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Windows notification is to be used for filemonitoring" >&5
28265 $as_echo_n "checking whether Windows notification is to be used for filemonitoring... " >&6; }
28266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_ecore_want_notify_win32}" >&5
28267 $as_echo "${_ecore_want_notify_win32}" >&6; }
28269 if test "x${_ecore_want_notify_win32}" = "xyes" ; then
28271 $as_echo "#define HAVE_NOTIFY_WIN32 1" >>confdefs.h
28273 _ecore_have_notify_win32="yes"
28276 if test "x${_ecore_have_notify_win32}" = "xyes" ; then
28277 have_notify_win32="yes"
28279 have_notify_win32="no"
28283 if test "x${have_ecore_con}" = "xyes" ; then
28284 requirements_ecore_file="ecore-con >= 1.7.8 ${requirements_ecore_file}"
28287 _ecore_want_curl=${want_curl}
28288 _ecore_have_curl="no"
28290 # Check whether --enable-curl was given.
28291 if test "${enable_curl+set}" = set; then :
28292 enableval=$enable_curl;
28293 if test "x${enableval}" = "xyes" ; then
28294 _ecore_want_curl="yes"
28296 _ecore_want_curl="no"
28302 if test "x${_ecore_want_curl}" = "xyes" ; then
28305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
28306 $as_echo_n "checking for CURL... " >&6; }
28308 if test -n "$CURL_CFLAGS"; then
28309 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
28310 elif test -n "$PKG_CONFIG"; then
28311 if test -n "$PKG_CONFIG" && \
28312 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
28313 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
28315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28316 test $ac_status = 0; }; then
28317 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
28318 test "x$?" != "x0" && pkg_failed=yes
28325 if test -n "$CURL_LIBS"; then
28326 pkg_cv_CURL_LIBS="$CURL_LIBS"
28327 elif test -n "$PKG_CONFIG"; then
28328 if test -n "$PKG_CONFIG" && \
28329 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
28330 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
28332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28333 test $ac_status = 0; }; then
28334 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
28335 test "x$?" != "x0" && pkg_failed=yes
28345 if test $pkg_failed = yes; then
28346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28347 $as_echo "no" >&6; }
28349 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28350 _pkg_short_errors_supported=yes
28352 _pkg_short_errors_supported=no
28354 if test $_pkg_short_errors_supported = yes; then
28355 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1`
28357 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1`
28359 # Put the nasty error message in config.log where it belongs
28360 echo "$CURL_PKG_ERRORS" >&5
28362 _ecore_have_curl="no"
28363 elif test $pkg_failed = untried; then
28364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28365 $as_echo "no" >&6; }
28366 _ecore_have_curl="no"
28368 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
28369 CURL_LIBS=$pkg_cv_CURL_LIBS
28370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28371 $as_echo "yes" >&6; }
28374 $as_echo "#define HAVE_CURL 1" >>confdefs.h
28376 _ecore_have_curl="yes"
28381 if test "x$_ecore_have_curl" = "xyes" ; then
28384 requirements_ecore_file="libcurl ${requirements_ecore_file}"
28395 #ecore_config_deps="no"
28396 #if test "x${have_eet}" = "xyes" -a "x${have_evas}" -a "x${have_ecore_ipc}" ; then
28397 # ecore_config_deps="yes"
28400 #ECORE_CHECK_MODULE([config], [${want_ecore_config}], [Config], [${ecore_config_deps}],
28401 # [requirements_ecore_config="ecore-ipc >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 ${requirements_ecore_config}"])
28404 BUILD_ECORE_CONFIG_TRUE=
28405 BUILD_ECORE_CONFIG_FALSE='#'
28407 BUILD_ECORE_CONFIG_TRUE='#'
28408 BUILD_ECORE_CONFIG_FALSE=
28419 want_module=${want_ecore_imf}
28421 # Check whether --enable-ecore-imf was given.
28422 if test "${enable_ecore_imf+set}" = set; then :
28423 enableval=$enable_ecore_imf;
28424 if test "x${enableval}" = "xyes" ; then
28433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Imf module is to be built" >&5
28434 $as_echo_n "checking whether Ecore_Imf module is to be built... " >&6; }
28436 if test "x${want_module}" = "xyes" ; then
28437 if test "x" = "x" || test "x" = "xyes" ; then
28439 $as_echo "#define BUILD_ECORE_IMF 1" >>confdefs.h
28441 have_ecore_imf="yes"
28442 ecore_imf_libs="-lecore_imf"
28443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28444 $as_echo "yes" >&6; }
28446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28447 $as_echo "no (dependency failed)" >&6; }
28450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28451 $as_echo "no" >&6; }
28454 if test "x$have_ecore_imf" = "xyes"; then
28455 BUILD_ECORE_IMF_TRUE=
28456 BUILD_ECORE_IMF_FALSE='#'
28458 BUILD_ECORE_IMF_TRUE='#'
28459 BUILD_ECORE_IMF_FALSE=
28463 if test "x$have_ecore_imf" = "xyes"; then :
28476 ecore_imf_evas_deps="no"
28477 if test "x${have_ecore_imf}" = "xyes" -a "x${have_evas}" = "xyes" ; then
28478 ecore_imf_evas_deps="yes"
28483 have_ecore_imf_evas=no
28484 ecore_imf_evas_cflags=
28485 ecore_imf_evas_libs=
28486 want_module=${want_ecore_imf}
28488 # Check whether --enable-ecore-imf-evas was given.
28489 if test "${enable_ecore_imf_evas+set}" = set; then :
28490 enableval=$enable_ecore_imf_evas;
28491 if test "x${enableval}" = "xyes" ; then
28500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Imf_Evas module is to be built" >&5
28501 $as_echo_n "checking whether Ecore_Imf_Evas module is to be built... " >&6; }
28503 if test "x${want_module}" = "xyes" ; then
28504 if test "x${ecore_imf_evas_deps}" = "x" || test "x${ecore_imf_evas_deps}" = "xyes" ; then
28506 $as_echo "#define BUILD_ECORE_IMF_EVAS 1" >>confdefs.h
28508 have_ecore_imf_evas="yes"
28509 ecore_imf_evas_libs="-lecore_imf_evas"
28510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28511 $as_echo "yes" >&6; }
28513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28514 $as_echo "no (dependency failed)" >&6; }
28517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28518 $as_echo "no" >&6; }
28521 if test "x$have_ecore_imf_evas" = "xyes"; then
28522 BUILD_ECORE_IMF_EVAS_TRUE=
28523 BUILD_ECORE_IMF_EVAS_FALSE='#'
28525 BUILD_ECORE_IMF_EVAS_TRUE='#'
28526 BUILD_ECORE_IMF_EVAS_FALSE=
28530 if test "x$have_ecore_imf_evas" = "xyes"; then :
28531 requirements_ecore_imf_evas="ecore-imf >= 1.7.8 evas >= 1.7.8 ${requirements_ecore_imf_evas}"
28541 # ecore_input{_evas}
28544 have_ecore_input=no
28545 ecore_input_cflags=
28547 want_module=${want_ecore_input}
28549 # Check whether --enable-ecore-input was given.
28550 if test "${enable_ecore_input+set}" = set; then :
28551 enableval=$enable_ecore_input;
28552 if test "x${enableval}" = "xyes" ; then
28561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Input module is to be built" >&5
28562 $as_echo_n "checking whether Ecore_Input module is to be built... " >&6; }
28564 if test "x${want_module}" = "xyes" ; then
28565 if test "x" = "x" || test "x" = "xyes" ; then
28567 $as_echo "#define BUILD_ECORE_INPUT 1" >>confdefs.h
28569 have_ecore_input="yes"
28570 ecore_input_libs="-lecore_input"
28571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28572 $as_echo "yes" >&6; }
28574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28575 $as_echo "no (dependency failed)" >&6; }
28578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28579 $as_echo "no" >&6; }
28582 if test "x$have_ecore_input" = "xyes"; then
28583 BUILD_ECORE_INPUT_TRUE=
28584 BUILD_ECORE_INPUT_FALSE='#'
28586 BUILD_ECORE_INPUT_TRUE='#'
28587 BUILD_ECORE_INPUT_FALSE=
28591 if test "x$have_ecore_input" = "xyes"; then :
28603 have_ecore_input_evas=no
28604 ecore_input_evas_cflags=
28605 ecore_input_evas_libs=
28606 want_module=${want_ecore_input}
28608 # Check whether --enable-ecore-input-evas was given.
28609 if test "${enable_ecore_input_evas+set}" = set; then :
28610 enableval=$enable_ecore_input_evas;
28611 if test "x${enableval}" = "xyes" ; then
28620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Input_Evas module is to be built" >&5
28621 $as_echo_n "checking whether Ecore_Input_Evas module is to be built... " >&6; }
28623 if test "x${want_module}" = "xyes" ; then
28624 if test "x${have_evas}" = "x" || test "x${have_evas}" = "xyes" ; then
28626 $as_echo "#define BUILD_ECORE_INPUT_EVAS 1" >>confdefs.h
28628 have_ecore_input_evas="yes"
28629 ecore_input_evas_libs="-lecore_input_evas"
28630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28631 $as_echo "yes" >&6; }
28633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28634 $as_echo "no (dependency failed)" >&6; }
28637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28638 $as_echo "no" >&6; }
28641 if test "x$have_ecore_input_evas" = "xyes"; then
28642 BUILD_ECORE_INPUT_EVAS_TRUE=
28643 BUILD_ECORE_INPUT_EVAS_FALSE='#'
28645 BUILD_ECORE_INPUT_EVAS_TRUE='#'
28646 BUILD_ECORE_INPUT_EVAS_FALSE=
28650 if test "x$have_ecore_input_evas" = "xyes"; then :
28651 requirements_ecore_input_evas="ecore-input >= 1.7.8 evas >= 1.7.8 ${requirements_ecore_input}"
28663 BUILD_ECORE_IMF_XIM_TRUE=
28664 BUILD_ECORE_IMF_XIM_FALSE='#'
28666 BUILD_ECORE_IMF_XIM_TRUE='#'
28667 BUILD_ECORE_IMF_XIM_FALSE=
28670 ecore_imf_xim_deps="no"
28671 echo "have_ecore_x_xlib: ${have_ecore_x_xlib}"
28672 if test "x${have_ecore_imf}" = "xyes" \
28673 -a "x${have_ecore_x_xlib}" = "xyes" \
28674 -a "x${have_ecore_input}" = "xyes" ; then
28675 ecore_imf_xim_deps="yes"
28677 $as_echo "#define BUILD_ECORE_IMF_XIM 1" >>confdefs.h
28683 have_ecore_imf_xim=no
28684 ecore_imf_xim_cflags=
28685 ecore_imf_xim_libs=
28686 want_module=${want_ecore_imf}
28688 # Check whether --enable-ecore-imf-xim was given.
28689 if test "${enable_ecore_imf_xim+set}" = set; then :
28690 enableval=$enable_ecore_imf_xim;
28691 if test "x${enableval}" = "xyes" ; then
28700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Imf_XIM module is to be built" >&5
28701 $as_echo_n "checking whether Ecore_Imf_XIM module is to be built... " >&6; }
28703 if test "x${want_module}" = "xyes" ; then
28704 if test "x${ecore_imf_xim_deps}" = "x" || test "x${ecore_imf_xim_deps}" = "xyes" ; then
28706 $as_echo "#define BUILD_ECORE_IMF_XIM 1" >>confdefs.h
28708 have_ecore_imf_xim="yes"
28709 ecore_imf_xim_libs="-lecore_imf_xim"
28710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28711 $as_echo "yes" >&6; }
28713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28714 $as_echo "no (dependency failed)" >&6; }
28717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28718 $as_echo "no" >&6; }
28721 if test "x$have_ecore_imf_xim" = "xyes"; then
28722 BUILD_ECORE_IMF_XIM_TRUE=
28723 BUILD_ECORE_IMF_XIM_FALSE='#'
28725 BUILD_ECORE_IMF_XIM_TRUE='#'
28726 BUILD_ECORE_IMF_XIM_FALSE=
28730 if test "x$have_ecore_imf_xim" = "xyes"; then :
28731 requirements_ecore_imf_xim="ecore-imf >= 1.7.8 ecore-x >= 1.7.8 ecore-input >= 1.7.8 ${requirements_ecore_imf_xim}"
28744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCIM" >&5
28745 $as_echo_n "checking for SCIM... " >&6; }
28747 if test -n "$SCIM_CFLAGS"; then
28748 pkg_cv_SCIM_CFLAGS="$SCIM_CFLAGS"
28749 elif test -n "$PKG_CONFIG"; then
28750 if test -n "$PKG_CONFIG" && \
28751 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"scim\""; } >&5
28752 ($PKG_CONFIG --exists --print-errors "scim") 2>&5
28754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28755 test $ac_status = 0; }; then
28756 pkg_cv_SCIM_CFLAGS=`$PKG_CONFIG --cflags "scim" 2>/dev/null`
28757 test "x$?" != "x0" && pkg_failed=yes
28764 if test -n "$SCIM_LIBS"; then
28765 pkg_cv_SCIM_LIBS="$SCIM_LIBS"
28766 elif test -n "$PKG_CONFIG"; then
28767 if test -n "$PKG_CONFIG" && \
28768 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"scim\""; } >&5
28769 ($PKG_CONFIG --exists --print-errors "scim") 2>&5
28771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28772 test $ac_status = 0; }; then
28773 pkg_cv_SCIM_LIBS=`$PKG_CONFIG --libs "scim" 2>/dev/null`
28774 test "x$?" != "x0" && pkg_failed=yes
28784 if test $pkg_failed = yes; then
28785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28786 $as_echo "no" >&6; }
28788 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28789 _pkg_short_errors_supported=yes
28791 _pkg_short_errors_supported=no
28793 if test $_pkg_short_errors_supported = yes; then
28794 SCIM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "scim" 2>&1`
28796 SCIM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "scim" 2>&1`
28798 # Put the nasty error message in config.log where it belongs
28799 echo "$SCIM_PKG_ERRORS" >&5
28802 elif test $pkg_failed = untried; then
28803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28804 $as_echo "no" >&6; }
28807 SCIM_CFLAGS=$pkg_cv_SCIM_CFLAGS
28808 SCIM_LIBS=$pkg_cv_SCIM_LIBS
28809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28810 $as_echo "yes" >&6; }
28815 BUILD_ECORE_IMF_SCIM_TRUE=
28816 BUILD_ECORE_IMF_SCIM_FALSE='#'
28818 BUILD_ECORE_IMF_SCIM_TRUE='#'
28819 BUILD_ECORE_IMF_SCIM_FALSE=
28822 ecore_imf_scim_deps="no"
28823 echo "have_ecore_x_xlib: ${have_ecore_x_xlib}"
28824 if test "x${have_ecore_imf}" = "xyes" \
28825 -a "x${have_scim}" = "xyes" \
28826 -a "x${have_ecore_input}" = "xyes" ; then
28827 ecore_imf_scim_deps="yes"
28829 $as_echo "#define BUILD_ECORE_IMF_SCIM 1" >>confdefs.h
28835 have_ecore_imf_scim=no
28836 ecore_imf_scim_cflags=
28837 ecore_imf_scim_libs=
28838 want_module=${want_ecore_imf}
28840 # Check whether --enable-ecore-imf-scim was given.
28841 if test "${enable_ecore_imf_scim+set}" = set; then :
28842 enableval=$enable_ecore_imf_scim;
28843 if test "x${enableval}" = "xyes" ; then
28852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Imf_SCIM module is to be built" >&5
28853 $as_echo_n "checking whether Ecore_Imf_SCIM module is to be built... " >&6; }
28855 if test "x${want_module}" = "xyes" ; then
28856 if test "x${ecore_imf_scim_deps}" = "x" || test "x${ecore_imf_scim_deps}" = "xyes" ; then
28858 $as_echo "#define BUILD_ECORE_IMF_SCIM 1" >>confdefs.h
28860 have_ecore_imf_scim="yes"
28861 ecore_imf_scim_libs="-lecore_imf_scim"
28862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28863 $as_echo "yes" >&6; }
28865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28866 $as_echo "no (dependency failed)" >&6; }
28869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28870 $as_echo "no" >&6; }
28873 if test "x$have_ecore_imf_scim" = "xyes"; then
28874 BUILD_ECORE_IMF_SCIM_TRUE=
28875 BUILD_ECORE_IMF_SCIM_FALSE='#'
28877 BUILD_ECORE_IMF_SCIM_TRUE='#'
28878 BUILD_ECORE_IMF_SCIM_FALSE=
28882 if test "x$have_ecore_imf_scim" = "xyes"; then :
28883 requirements_ecore_imf_scim="ecore-imf >= 1.7.8 ecore-x >= 1.7.8 ecore-input >= 1.7.8 ${requirements_ecore_imf_scim}"
28898 if test "x${have_x}" = "xyes" -a \
28899 "x${have_ecore_input}" = "xyes" ; then
28908 want_module=${want_ecore_x}
28910 # Check whether --enable-ecore-x was given.
28911 if test "${enable_ecore_x+set}" = set; then :
28912 enableval=$enable_ecore_x;
28913 if test "x${enableval}" = "xyes" ; then
28922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_X module is to be built" >&5
28923 $as_echo_n "checking whether Ecore_X module is to be built... " >&6; }
28925 if test "x${want_module}" = "xyes" ; then
28926 if test "x${ecore_x_deps}" = "x" || test "x${ecore_x_deps}" = "xyes" ; then
28928 $as_echo "#define BUILD_ECORE_X 1" >>confdefs.h
28931 ecore_x_libs="-lecore_x"
28932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28933 $as_echo "yes" >&6; }
28935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28936 $as_echo "no (dependency failed)" >&6; }
28939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28940 $as_echo "no" >&6; }
28943 if test "x$have_ecore_x" = "xyes"; then
28944 BUILD_ECORE_X_TRUE=
28945 BUILD_ECORE_X_FALSE='#'
28947 BUILD_ECORE_X_TRUE='#'
28948 BUILD_ECORE_X_FALSE=
28952 if test "x$have_ecore_x" = "xyes"; then :
28954 ecore_x_libs="$ecore_x_libs $x_libs"
28955 requirements_ecore_x="ecore-input >= 1.7.8 ${requirements_ecore_x}"
28970 have_ecore_win32=no
28971 ecore_win32_cflags=
28973 want_module=${want_ecore_win32}
28975 # Check whether --enable-ecore-win32 was given.
28976 if test "${enable_ecore_win32+set}" = set; then :
28977 enableval=$enable_ecore_win32;
28978 if test "x${enableval}" = "xyes" ; then
28987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Win32 module is to be built" >&5
28988 $as_echo_n "checking whether Ecore_Win32 module is to be built... " >&6; }
28990 if test "x${want_module}" = "xyes" ; then
28991 if test "x${have_ecore_input}" = "x" || test "x${have_ecore_input}" = "xyes" ; then
28993 $as_echo "#define BUILD_ECORE_WIN32 1" >>confdefs.h
28995 have_ecore_win32="yes"
28996 ecore_win32_libs="-lecore_win32"
28997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28998 $as_echo "yes" >&6; }
29000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
29001 $as_echo "no (dependency failed)" >&6; }
29004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29005 $as_echo "no" >&6; }
29008 if test "x$have_ecore_win32" = "xyes"; then
29009 BUILD_ECORE_WIN32_TRUE=
29010 BUILD_ECORE_WIN32_FALSE='#'
29012 BUILD_ECORE_WIN32_TRUE='#'
29013 BUILD_ECORE_WIN32_FALSE=
29017 if test "x$have_ecore_win32" = "xyes"; then :
29019 ecore_win32_libs="-lole32 -lgdi32"
29020 requirements_ecore_win32="ecore-input >= 1.7.8 ${requirements_ecore_win32}"
29034 ecore_cocoa_deps="no"
29035 if test "x${have_ecore_input}" = "xyes" -a "x${have_cocoa}" = "xyes" ; then
29036 ecore_cocoa_deps="yes"
29041 have_ecore_cocoa=no
29042 ecore_cocoa_cflags=
29044 want_module=${want_ecore_cocoa}
29046 # Check whether --enable-ecore-cocoa was given.
29047 if test "${enable_ecore_cocoa+set}" = set; then :
29048 enableval=$enable_ecore_cocoa;
29049 if test "x${enableval}" = "xyes" ; then
29058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Cocoa module is to be built" >&5
29059 $as_echo_n "checking whether Ecore_Cocoa module is to be built... " >&6; }
29061 if test "x${want_module}" = "xyes" ; then
29062 if test "x${ecore_cocoa_deps}" = "x" || test "x${ecore_cocoa_deps}" = "xyes" ; then
29064 $as_echo "#define BUILD_ECORE_COCOA 1" >>confdefs.h
29066 have_ecore_cocoa="yes"
29067 ecore_cocoa_libs="-lecore_cocoa"
29068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29069 $as_echo "yes" >&6; }
29071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
29072 $as_echo "no (dependency failed)" >&6; }
29075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29076 $as_echo "no" >&6; }
29079 if test "x$have_ecore_cocoa" = "xyes"; then
29080 BUILD_ECORE_COCOA_TRUE=
29081 BUILD_ECORE_COCOA_FALSE='#'
29083 BUILD_ECORE_COCOA_TRUE='#'
29084 BUILD_ECORE_COCOA_FALSE=
29088 if test "x$have_ecore_cocoa" = "xyes"; then :
29089 requirements_ecore_cocoa="ecore-input >= 1.7.8 ${requirements_ecore_cocoa}"
29101 ecore_sdl_deps="no"
29102 if test "x${have_sdl}" = "xyes" -a "x${have_ecore_input}" = "xyes" ; then
29103 ecore_sdl_deps="yes"
29111 want_module=${want_ecore_sdl}
29113 # Check whether --enable-ecore-sdl was given.
29114 if test "${enable_ecore_sdl+set}" = set; then :
29115 enableval=$enable_ecore_sdl;
29116 if test "x${enableval}" = "xyes" ; then
29125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Sdl module is to be built" >&5
29126 $as_echo_n "checking whether Ecore_Sdl module is to be built... " >&6; }
29128 if test "x${want_module}" = "xyes" ; then
29129 if test "x${ecore_sdl_deps}" = "x" || test "x${ecore_sdl_deps}" = "xyes" ; then
29131 $as_echo "#define BUILD_ECORE_SDL 1" >>confdefs.h
29133 have_ecore_sdl="yes"
29134 ecore_sdl_libs="-lecore_sdl"
29135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29136 $as_echo "yes" >&6; }
29138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
29139 $as_echo "no (dependency failed)" >&6; }
29142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29143 $as_echo "no" >&6; }
29146 if test "x$have_ecore_sdl" = "xyes"; then
29147 BUILD_ECORE_SDL_TRUE=
29148 BUILD_ECORE_SDL_FALSE='#'
29150 BUILD_ECORE_SDL_TRUE='#'
29151 BUILD_ECORE_SDL_FALSE=
29155 if test "x$have_ecore_sdl" = "xyes"; then :
29156 requirements_ecore_sdl="ecore-input >= 1.7.8 ${requirements_ecore_sdl}"
29168 have_ecore_psl1ght=no
29169 ecore_psl1ght_cflags=
29170 ecore_psl1ght_libs=
29171 want_module=${want_ecore_psl1ght}
29173 # Check whether --enable-ecore-psl1ght was given.
29174 if test "${enable_ecore_psl1ght+set}" = set; then :
29175 enableval=$enable_ecore_psl1ght;
29176 if test "x${enableval}" = "xyes" ; then
29185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_psl1ght module is to be built" >&5
29186 $as_echo_n "checking whether Ecore_psl1ght module is to be built... " >&6; }
29188 if test "x${want_module}" = "xyes" ; then
29189 if test "x${ecore_psl1ght_deps}" = "x" || test "x${ecore_psl1ght_deps}" = "xyes" ; then
29191 $as_echo "#define BUILD_ECORE_PSL1GHT 1" >>confdefs.h
29193 have_ecore_psl1ght="yes"
29194 ecore_psl1ght_libs="-lecore_psl1ght"
29195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29196 $as_echo "yes" >&6; }
29198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
29199 $as_echo "no (dependency failed)" >&6; }
29202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29203 $as_echo "no" >&6; }
29206 if test "x$have_ecore_psl1ght" = "xyes"; then
29207 BUILD_ECORE_PSL1GHT_TRUE=
29208 BUILD_ECORE_PSL1GHT_FALSE='#'
29210 BUILD_ECORE_PSL1GHT_TRUE='#'
29211 BUILD_ECORE_PSL1GHT_FALSE=
29215 if test "x$have_ecore_psl1ght" = "xyes"; then :
29216 requirements_ecore_psl1ght="ecore-input >= 1.7.8 ${requirements_ecore_psl1ght}"
29232 want_module=${want_ecore_fb}
29234 # Check whether --enable-ecore-fb was given.
29235 if test "${enable_ecore_fb+set}" = set; then :
29236 enableval=$enable_ecore_fb;
29237 if test "x${enableval}" = "xyes" ; then
29246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_FB module is to be built" >&5
29247 $as_echo_n "checking whether Ecore_FB module is to be built... " >&6; }
29249 if test "x${want_module}" = "xyes" ; then
29250 if test "x$have_fb" = "x" || test "x$have_fb" = "xyes" ; then
29252 $as_echo "#define BUILD_ECORE_FB 1" >>confdefs.h
29254 have_ecore_fb="yes"
29255 ecore_fb_libs="-lecore_fb"
29256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29257 $as_echo "yes" >&6; }
29259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
29260 $as_echo "no (dependency failed)" >&6; }
29263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29264 $as_echo "no" >&6; }
29267 if test "x$have_ecore_fb" = "xyes"; then
29268 BUILD_ECORE_FB_TRUE=
29269 BUILD_ECORE_FB_FALSE='#'
29271 BUILD_ECORE_FB_TRUE='#'
29272 BUILD_ECORE_FB_FALSE=
29276 if test "x$have_ecore_fb" = "xyes"; then :
29287 if test "x${have_ecore_fb}" = "xyes" ; then
29289 _tslib_requirement=""
29290 _ecore_want_tslib=${want_tslib}
29291 _ecore_have_tslib="no"
29295 # Check whether --enable-tslib was given.
29296 if test "${enable_tslib+set}" = set; then :
29297 enableval=$enable_tslib;
29298 if test "x${enableval}" = "xyes" ; then
29299 _ecore_want_tslib="yes"
29301 _ecore_want_tslib="no"
29307 if test "x${_ecore_want_tslib}" = "xyes" -o "x${_ecore_want_tslib}" = "xauto" ; then
29310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
29311 $as_echo_n "checking for TSLIB... " >&6; }
29313 if test -n "$TSLIB_CFLAGS"; then
29314 pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
29315 elif test -n "$PKG_CONFIG"; then
29316 if test -n "$PKG_CONFIG" && \
29317 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5
29318 ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
29320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29321 test $ac_status = 0; }; then
29322 pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib-1.0" 2>/dev/null`
29323 test "x$?" != "x0" && pkg_failed=yes
29330 if test -n "$TSLIB_LIBS"; then
29331 pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
29332 elif test -n "$PKG_CONFIG"; then
29333 if test -n "$PKG_CONFIG" && \
29334 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5
29335 ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
29337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29338 test $ac_status = 0; }; then
29339 pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib-1.0" 2>/dev/null`
29340 test "x$?" != "x0" && pkg_failed=yes
29350 if test $pkg_failed = yes; then
29351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29352 $as_echo "no" >&6; }
29354 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29355 _pkg_short_errors_supported=yes
29357 _pkg_short_errors_supported=no
29359 if test $_pkg_short_errors_supported = yes; then
29360 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tslib-1.0" 2>&1`
29362 TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tslib-1.0" 2>&1`
29364 # Put the nasty error message in config.log where it belongs
29365 echo "$TSLIB_PKG_ERRORS" >&5
29370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
29371 $as_echo_n "checking for TSLIB... " >&6; }
29373 if test -n "$TSLIB_CFLAGS"; then
29374 pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
29375 elif test -n "$PKG_CONFIG"; then
29376 if test -n "$PKG_CONFIG" && \
29377 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
29378 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
29380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29381 test $ac_status = 0; }; then
29382 pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib" 2>/dev/null`
29383 test "x$?" != "x0" && pkg_failed=yes
29390 if test -n "$TSLIB_LIBS"; then
29391 pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
29392 elif test -n "$PKG_CONFIG"; then
29393 if test -n "$PKG_CONFIG" && \
29394 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
29395 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
29397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29398 test $ac_status = 0; }; then
29399 pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib" 2>/dev/null`
29400 test "x$?" != "x0" && pkg_failed=yes
29410 if test $pkg_failed = yes; then
29411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29412 $as_echo "no" >&6; }
29414 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29415 _pkg_short_errors_supported=yes
29417 _pkg_short_errors_supported=no
29419 if test $_pkg_short_errors_supported = yes; then
29420 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tslib" 2>&1`
29422 TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tslib" 2>&1`
29424 # Put the nasty error message in config.log where it belongs
29425 echo "$TSLIB_PKG_ERRORS" >&5
29428 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
29429 if test "x$ac_cv_header_tslib_h" = xyes; then :
29431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -lts" >&5
29432 $as_echo_n "checking for ts_open in -lts... " >&6; }
29433 if ${ac_cv_lib_ts_ts_open+:} false; then :
29434 $as_echo_n "(cached) " >&6
29436 ac_check_lib_save_LIBS=$LIBS
29438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29439 /* end confdefs.h. */
29441 /* Override any GCC internal prototype to avoid an error.
29442 Use char because int might match the return type of a GCC
29443 builtin and then its argument prototype would still apply. */
29456 if ac_fn_c_try_link "$LINENO"; then :
29457 ac_cv_lib_ts_ts_open=yes
29459 ac_cv_lib_ts_ts_open=no
29461 rm -f core conftest.err conftest.$ac_objext \
29462 conftest$ac_exeext conftest.$ac_ext
29463 LIBS=$ac_check_lib_save_LIBS
29465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ts_ts_open" >&5
29466 $as_echo "$ac_cv_lib_ts_ts_open" >&6; }
29467 if test "x$ac_cv_lib_ts_ts_open" = xyes; then :
29472 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29474 _ecore_have_tslib="yes"
29478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -ltslib" >&5
29479 $as_echo_n "checking for ts_open in -ltslib... " >&6; }
29480 if ${ac_cv_lib_tslib_ts_open+:} false; then :
29481 $as_echo_n "(cached) " >&6
29483 ac_check_lib_save_LIBS=$LIBS
29484 LIBS="-ltslib $LIBS"
29485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29486 /* end confdefs.h. */
29488 /* Override any GCC internal prototype to avoid an error.
29489 Use char because int might match the return type of a GCC
29490 builtin and then its argument prototype would still apply. */
29503 if ac_fn_c_try_link "$LINENO"; then :
29504 ac_cv_lib_tslib_ts_open=yes
29506 ac_cv_lib_tslib_ts_open=no
29508 rm -f core conftest.err conftest.$ac_objext \
29509 conftest$ac_exeext conftest.$ac_ext
29510 LIBS=$ac_check_lib_save_LIBS
29512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tslib_ts_open" >&5
29513 $as_echo "$ac_cv_lib_tslib_ts_open" >&6; }
29514 if test "x$ac_cv_lib_tslib_ts_open" = xyes; then :
29516 TSLIB_LIBS="-ltslib"
29519 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29521 _ecore_have_tslib="yes"
29525 _ecore_have_tslib="no"
29537 elif test $pkg_failed = untried; then
29538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29539 $as_echo "no" >&6; }
29541 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
29542 if test "x$ac_cv_header_tslib_h" = xyes; then :
29544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -lts" >&5
29545 $as_echo_n "checking for ts_open in -lts... " >&6; }
29546 if ${ac_cv_lib_ts_ts_open+:} false; then :
29547 $as_echo_n "(cached) " >&6
29549 ac_check_lib_save_LIBS=$LIBS
29551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29552 /* end confdefs.h. */
29554 /* Override any GCC internal prototype to avoid an error.
29555 Use char because int might match the return type of a GCC
29556 builtin and then its argument prototype would still apply. */
29569 if ac_fn_c_try_link "$LINENO"; then :
29570 ac_cv_lib_ts_ts_open=yes
29572 ac_cv_lib_ts_ts_open=no
29574 rm -f core conftest.err conftest.$ac_objext \
29575 conftest$ac_exeext conftest.$ac_ext
29576 LIBS=$ac_check_lib_save_LIBS
29578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ts_ts_open" >&5
29579 $as_echo "$ac_cv_lib_ts_ts_open" >&6; }
29580 if test "x$ac_cv_lib_ts_ts_open" = xyes; then :
29585 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29587 _ecore_have_tslib="yes"
29591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -ltslib" >&5
29592 $as_echo_n "checking for ts_open in -ltslib... " >&6; }
29593 if ${ac_cv_lib_tslib_ts_open+:} false; then :
29594 $as_echo_n "(cached) " >&6
29596 ac_check_lib_save_LIBS=$LIBS
29597 LIBS="-ltslib $LIBS"
29598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29599 /* end confdefs.h. */
29601 /* Override any GCC internal prototype to avoid an error.
29602 Use char because int might match the return type of a GCC
29603 builtin and then its argument prototype would still apply. */
29616 if ac_fn_c_try_link "$LINENO"; then :
29617 ac_cv_lib_tslib_ts_open=yes
29619 ac_cv_lib_tslib_ts_open=no
29621 rm -f core conftest.err conftest.$ac_objext \
29622 conftest$ac_exeext conftest.$ac_ext
29623 LIBS=$ac_check_lib_save_LIBS
29625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tslib_ts_open" >&5
29626 $as_echo "$ac_cv_lib_tslib_ts_open" >&6; }
29627 if test "x$ac_cv_lib_tslib_ts_open" = xyes; then :
29629 TSLIB_LIBS="-ltslib"
29632 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29634 _ecore_have_tslib="yes"
29638 _ecore_have_tslib="no"
29651 TSLIB_CFLAGS=$pkg_cv_TSLIB_CFLAGS
29652 TSLIB_LIBS=$pkg_cv_TSLIB_LIBS
29653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29654 $as_echo "yes" >&6; }
29657 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29659 _ecore_have_tslib="yes"
29660 _tslib_requirement="tslib"
29664 elif test $pkg_failed = untried; then
29665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29666 $as_echo "no" >&6; }
29670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
29671 $as_echo_n "checking for TSLIB... " >&6; }
29673 if test -n "$TSLIB_CFLAGS"; then
29674 pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
29675 elif test -n "$PKG_CONFIG"; then
29676 if test -n "$PKG_CONFIG" && \
29677 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
29678 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
29680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29681 test $ac_status = 0; }; then
29682 pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib" 2>/dev/null`
29683 test "x$?" != "x0" && pkg_failed=yes
29690 if test -n "$TSLIB_LIBS"; then
29691 pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
29692 elif test -n "$PKG_CONFIG"; then
29693 if test -n "$PKG_CONFIG" && \
29694 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
29695 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
29697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29698 test $ac_status = 0; }; then
29699 pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib" 2>/dev/null`
29700 test "x$?" != "x0" && pkg_failed=yes
29710 if test $pkg_failed = yes; then
29711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29712 $as_echo "no" >&6; }
29714 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29715 _pkg_short_errors_supported=yes
29717 _pkg_short_errors_supported=no
29719 if test $_pkg_short_errors_supported = yes; then
29720 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tslib" 2>&1`
29722 TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tslib" 2>&1`
29724 # Put the nasty error message in config.log where it belongs
29725 echo "$TSLIB_PKG_ERRORS" >&5
29728 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
29729 if test "x$ac_cv_header_tslib_h" = xyes; then :
29731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -lts" >&5
29732 $as_echo_n "checking for ts_open in -lts... " >&6; }
29733 if ${ac_cv_lib_ts_ts_open+:} false; then :
29734 $as_echo_n "(cached) " >&6
29736 ac_check_lib_save_LIBS=$LIBS
29738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29739 /* end confdefs.h. */
29741 /* Override any GCC internal prototype to avoid an error.
29742 Use char because int might match the return type of a GCC
29743 builtin and then its argument prototype would still apply. */
29756 if ac_fn_c_try_link "$LINENO"; then :
29757 ac_cv_lib_ts_ts_open=yes
29759 ac_cv_lib_ts_ts_open=no
29761 rm -f core conftest.err conftest.$ac_objext \
29762 conftest$ac_exeext conftest.$ac_ext
29763 LIBS=$ac_check_lib_save_LIBS
29765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ts_ts_open" >&5
29766 $as_echo "$ac_cv_lib_ts_ts_open" >&6; }
29767 if test "x$ac_cv_lib_ts_ts_open" = xyes; then :
29772 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29774 _ecore_have_tslib="yes"
29778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -ltslib" >&5
29779 $as_echo_n "checking for ts_open in -ltslib... " >&6; }
29780 if ${ac_cv_lib_tslib_ts_open+:} false; then :
29781 $as_echo_n "(cached) " >&6
29783 ac_check_lib_save_LIBS=$LIBS
29784 LIBS="-ltslib $LIBS"
29785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29786 /* end confdefs.h. */
29788 /* Override any GCC internal prototype to avoid an error.
29789 Use char because int might match the return type of a GCC
29790 builtin and then its argument prototype would still apply. */
29803 if ac_fn_c_try_link "$LINENO"; then :
29804 ac_cv_lib_tslib_ts_open=yes
29806 ac_cv_lib_tslib_ts_open=no
29808 rm -f core conftest.err conftest.$ac_objext \
29809 conftest$ac_exeext conftest.$ac_ext
29810 LIBS=$ac_check_lib_save_LIBS
29812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tslib_ts_open" >&5
29813 $as_echo "$ac_cv_lib_tslib_ts_open" >&6; }
29814 if test "x$ac_cv_lib_tslib_ts_open" = xyes; then :
29816 TSLIB_LIBS="-ltslib"
29819 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29821 _ecore_have_tslib="yes"
29825 _ecore_have_tslib="no"
29837 elif test $pkg_failed = untried; then
29838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29839 $as_echo "no" >&6; }
29841 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
29842 if test "x$ac_cv_header_tslib_h" = xyes; then :
29844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -lts" >&5
29845 $as_echo_n "checking for ts_open in -lts... " >&6; }
29846 if ${ac_cv_lib_ts_ts_open+:} false; then :
29847 $as_echo_n "(cached) " >&6
29849 ac_check_lib_save_LIBS=$LIBS
29851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29852 /* end confdefs.h. */
29854 /* Override any GCC internal prototype to avoid an error.
29855 Use char because int might match the return type of a GCC
29856 builtin and then its argument prototype would still apply. */
29869 if ac_fn_c_try_link "$LINENO"; then :
29870 ac_cv_lib_ts_ts_open=yes
29872 ac_cv_lib_ts_ts_open=no
29874 rm -f core conftest.err conftest.$ac_objext \
29875 conftest$ac_exeext conftest.$ac_ext
29876 LIBS=$ac_check_lib_save_LIBS
29878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ts_ts_open" >&5
29879 $as_echo "$ac_cv_lib_ts_ts_open" >&6; }
29880 if test "x$ac_cv_lib_ts_ts_open" = xyes; then :
29885 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29887 _ecore_have_tslib="yes"
29891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -ltslib" >&5
29892 $as_echo_n "checking for ts_open in -ltslib... " >&6; }
29893 if ${ac_cv_lib_tslib_ts_open+:} false; then :
29894 $as_echo_n "(cached) " >&6
29896 ac_check_lib_save_LIBS=$LIBS
29897 LIBS="-ltslib $LIBS"
29898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29899 /* end confdefs.h. */
29901 /* Override any GCC internal prototype to avoid an error.
29902 Use char because int might match the return type of a GCC
29903 builtin and then its argument prototype would still apply. */
29916 if ac_fn_c_try_link "$LINENO"; then :
29917 ac_cv_lib_tslib_ts_open=yes
29919 ac_cv_lib_tslib_ts_open=no
29921 rm -f core conftest.err conftest.$ac_objext \
29922 conftest$ac_exeext conftest.$ac_ext
29923 LIBS=$ac_check_lib_save_LIBS
29925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tslib_ts_open" >&5
29926 $as_echo "$ac_cv_lib_tslib_ts_open" >&6; }
29927 if test "x$ac_cv_lib_tslib_ts_open" = xyes; then :
29929 TSLIB_LIBS="-ltslib"
29932 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29934 _ecore_have_tslib="yes"
29938 _ecore_have_tslib="no"
29951 TSLIB_CFLAGS=$pkg_cv_TSLIB_CFLAGS
29952 TSLIB_LIBS=$pkg_cv_TSLIB_LIBS
29953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29954 $as_echo "yes" >&6; }
29957 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29959 _ecore_have_tslib="yes"
29960 _tslib_requirement="tslib"
29965 TSLIB_CFLAGS=$pkg_cv_TSLIB_CFLAGS
29966 TSLIB_LIBS=$pkg_cv_TSLIB_LIBS
29967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29968 $as_echo "yes" >&6; }
29971 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29973 _ecore_have_tslib="yes"
29974 _tslib_requirement="tslib-1.0"
29982 if test "x$_ecore_have_tslib" = "xyes" ; then
29985 requirements_ecore_fb="${_tslib_requirement} ${requirements_ecore_fb}"
29997 have_ecore_directfb=no
29998 ecore_directfb_cflags=
29999 ecore_directfb_libs=
30000 want_module=${want_ecore_directfb}
30002 # Check whether --enable-ecore-directfb was given.
30003 if test "${enable_ecore_directfb+set}" = set; then :
30004 enableval=$enable_ecore_directfb;
30005 if test "x${enableval}" = "xyes" ; then
30014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_DirectFB module is to be built" >&5
30015 $as_echo_n "checking whether Ecore_DirectFB module is to be built... " >&6; }
30017 if test "x${want_module}" = "xyes" ; then
30018 if test "x${have_directfb}" = "x" || test "x${have_directfb}" = "xyes" ; then
30020 $as_echo "#define BUILD_ECORE_DIRECTFB 1" >>confdefs.h
30022 have_ecore_directfb="yes"
30023 ecore_directfb_libs="-lecore_directfb"
30024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30025 $as_echo "yes" >&6; }
30027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
30028 $as_echo "no (dependency failed)" >&6; }
30031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30032 $as_echo "no" >&6; }
30035 if test "x$have_ecore_directfb" = "xyes"; then
30036 BUILD_ECORE_DIRECTFB_TRUE=
30037 BUILD_ECORE_DIRECTFB_FALSE='#'
30039 BUILD_ECORE_DIRECTFB_TRUE='#'
30040 BUILD_ECORE_DIRECTFB_FALSE=
30044 if test "x$have_ecore_directfb" = "xyes"; then :
30045 requirements_ecore_directfb="directfb ${requirements_ecore_directfb}"
30059 have_ecore_wince=no
30060 ecore_wince_cflags=
30062 want_module=${want_ecore_wince}
30064 # Check whether --enable-ecore-wince was given.
30065 if test "${enable_ecore_wince+set}" = set; then :
30066 enableval=$enable_ecore_wince;
30067 if test "x${enableval}" = "xyes" ; then
30076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_WinCE module is to be built" >&5
30077 $as_echo_n "checking whether Ecore_WinCE module is to be built... " >&6; }
30079 if test "x${want_module}" = "xyes" ; then
30080 if test "x${have_ecore_input}" = "x" || test "x${have_ecore_input}" = "xyes" ; then
30082 $as_echo "#define BUILD_ECORE_WINCE 1" >>confdefs.h
30084 have_ecore_wince="yes"
30085 ecore_wince_libs="-lecore_wince"
30086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30087 $as_echo "yes" >&6; }
30089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
30090 $as_echo "no (dependency failed)" >&6; }
30093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30094 $as_echo "no" >&6; }
30097 if test "x$have_ecore_wince" = "xyes"; then
30098 BUILD_ECORE_WINCE_TRUE=
30099 BUILD_ECORE_WINCE_FALSE='#'
30101 BUILD_ECORE_WINCE_TRUE='#'
30102 BUILD_ECORE_WINCE_FALSE=
30106 if test "x$have_ecore_wince" = "xyes"; then :
30107 requirements_ecore_wince="ecore-input >= 1.7.8 ${requirements_ecore_wince}"
30121 ecore_evas_deps="no"
30122 if test "x${have_evas}" = "xyes" && test "x${have_ecore_input}" = "xyes" && test "x${have_ecore_input_evas}" = "xyes" ; then
30123 ecore_evas_deps="yes"
30131 want_module=${want_ecore_evas}
30133 # Check whether --enable-ecore-evas was given.
30134 if test "${enable_ecore_evas+set}" = set; then :
30135 enableval=$enable_ecore_evas;
30136 if test "x${enableval}" = "xyes" ; then
30145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Evas module is to be built" >&5
30146 $as_echo_n "checking whether Ecore_Evas module is to be built... " >&6; }
30148 if test "x${want_module}" = "xyes" ; then
30149 if test "x${ecore_evas_deps}" = "x" || test "x${ecore_evas_deps}" = "xyes" ; then
30151 $as_echo "#define BUILD_ECORE_EVAS 1" >>confdefs.h
30153 have_ecore_evas="yes"
30154 ecore_evas_libs="-lecore_evas"
30155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30156 $as_echo "yes" >&6; }
30158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
30159 $as_echo "no (dependency failed)" >&6; }
30162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30163 $as_echo "no" >&6; }
30166 if test "x$have_ecore_evas" = "xyes"; then
30167 BUILD_ECORE_EVAS_TRUE=
30168 BUILD_ECORE_EVAS_FALSE='#'
30170 BUILD_ECORE_EVAS_TRUE='#'
30171 BUILD_ECORE_EVAS_FALSE=
30175 if test "x$have_ecore_evas" = "xyes"; then :
30176 requirements_ecore_evas="ecore-input >= 1.7.8 ecore-input-evas >= 1.7.8 evas >= 1.7.8 ${requirements_ecore_evas}"
30186 # ecore_evas_buffer
30190 have_ecore_evas_software_buffer="no"
30191 want_module="${want_ecore_evas_software_buffer}"
30193 # Check whether --enable-ecore-evas-software-buffer was given.
30194 if test "${enable_ecore_evas_software_buffer+set}" = set; then :
30195 enableval=$enable_ecore_evas_software_buffer;
30196 if test "x${enableval}" = "xyes" ; then
30205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software Buffer support is to be built" >&5
30206 $as_echo_n "checking whether ecore_evas Software Buffer support is to be built... " >&6; }
30207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30208 $as_echo "${want_module}" >&6; }
30210 if test "xyes" = "xyes" && \
30211 test "x$have_ecore_evas" = "xyes" && \
30212 test "x$want_module" = "xyes" ; then
30213 if test -n "$PKG_CONFIG" && \
30214 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-buffer\""; } >&5
30215 ($PKG_CONFIG --exists --print-errors "evas-software-buffer") 2>&5
30217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30218 test $ac_status = 0; }; then
30221 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_BUFFER 1" >>confdefs.h
30223 have_ecore_evas_software_buffer="yes"
30228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software Buffer support is built" >&5
30229 $as_echo_n "checking whether ecore_evas Software Buffer support is built... " >&6; }
30230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_buffer" >&5
30231 $as_echo "$have_ecore_evas_software_buffer" >&6; }
30233 if test "x$have_ecore_evas_software_buffer" = "xyes"; then :
30243 # ecore_evas_software_x11
30247 have_ecore_evas_software_x11="no"
30248 want_module="${want_ecore_evas_software_x11}"
30250 # Check whether --enable-ecore-evas-software-x11 was given.
30251 if test "${enable_ecore_evas_software_x11+set}" = set; then :
30252 enableval=$enable_ecore_evas_software_x11;
30253 if test "x${enableval}" = "xyes" ; then
30262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software X11 support is to be built" >&5
30263 $as_echo_n "checking whether ecore_evas Software X11 support is to be built... " >&6; }
30264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30265 $as_echo "${want_module}" >&6; }
30267 if test "x${have_ecore_x}" = "xyes" && \
30268 test "x$have_ecore_evas" = "xyes" && \
30269 test "x$want_module" = "xyes" ; then
30270 if test -n "$PKG_CONFIG" && \
30271 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-x11\""; } >&5
30272 ($PKG_CONFIG --exists --print-errors "evas-software-x11") 2>&5
30274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30275 test $ac_status = 0; }; then
30278 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_X11 1" >>confdefs.h
30280 have_ecore_evas_software_x11="yes"
30285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software X11 support is built" >&5
30286 $as_echo_n "checking whether ecore_evas Software X11 support is built... " >&6; }
30287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_x11" >&5
30288 $as_echo "$have_ecore_evas_software_x11" >&6; }
30290 if test "x$have_ecore_evas_software_x11" = "xyes"; then :
30298 have_ecore_evas_software_xlib="no"
30299 have_ecore_evas_software_xcb="no"
30300 if test "x$have_ecore_evas_software_x11" = "xyes" ; then
30301 have_ecore_evas_software_xlib=`${PKG_CONFIG} --variable=Xlib evas-software-x11`
30302 if test "x${have_ecore_evas_software_xlib}" = "xstatic"; then
30303 have_ecore_evas_software_xlib="yes"
30305 if test "x${have_ecore_evas_software_xlib}" = "xyes" -a "x${have_ecore_x_xlib}" = "xyes" ; then
30307 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_XLIB 1" >>confdefs.h
30310 have_ecore_evas_software_xcb=`${PKG_CONFIG} --variable=XCB evas-software-x11`
30311 if test "x$have_ecore_evas_software_xcb" = "xstatic"; then
30312 have_ecore_evas_software_xcb="yes"
30314 if test "x$have_ecore_evas_software_xcb" = "xyes" -a "x${have_ecore_x_xcb}" = "xyes" ; then
30316 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_XCB 1" >>confdefs.h
30321 # ecore_evas_opengl_x11
30325 have_ecore_evas_opengl_x11="no"
30326 want_module="${want_ecore_evas_opengl_x11}"
30328 # Check whether --enable-ecore-evas-opengl-x11 was given.
30329 if test "${enable_ecore_evas_opengl_x11+set}" = set; then :
30330 enableval=$enable_ecore_evas_opengl_x11;
30331 if test "x${enableval}" = "xyes" ; then
30340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL Xlib support is to be built" >&5
30341 $as_echo_n "checking whether ecore_evas OpenGL Xlib support is to be built... " >&6; }
30342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30343 $as_echo "${want_module}" >&6; }
30345 if test "x${have_ecore_x}" = "xyes" && \
30346 test "x$have_ecore_evas" = "xyes" && \
30347 test "x$want_module" = "xyes" ; then
30348 if test -n "$PKG_CONFIG" && \
30349 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-x11\""; } >&5
30350 ($PKG_CONFIG --exists --print-errors "evas-opengl-x11") 2>&5
30352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30353 test $ac_status = 0; }; then
30356 $as_echo "#define BUILD_ECORE_EVAS_OPENGL_X11 1" >>confdefs.h
30358 have_ecore_evas_opengl_x11="yes"
30363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL Xlib support is built" >&5
30364 $as_echo_n "checking whether ecore_evas OpenGL Xlib support is built... " >&6; }
30365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_opengl_x11" >&5
30366 $as_echo "$have_ecore_evas_opengl_x11" >&6; }
30368 if test "x$have_ecore_evas_opengl_x11" = "xyes"; then :
30376 have_ecore_evas_opengl_xlib="no"
30377 have_ecore_evas_opengl_xcb="no"
30378 if test "x${have_ecore_evas_opengl_x11}" = "xyes" -o "x${have_ecore_evas_opengl_x11}" = "xstatic" ; then
30379 have_ecore_evas_opengl_xlib=`${PKG_CONFIG} --variable=Xlib evas-opengl-x11`
30380 if test "x${have_ecore_evas_opengl_xlib}" = "xyes" ; then
30382 $as_echo "#define BUILD_ECORE_EVAS_OPENGL_XLIB 1" >>confdefs.h
30386 # opengl does not work with xcb (yet)
30387 have_ecore_evas_opengl_xcb=`${PKG_CONFIG} --variable=XCB evas-opengl-x11`
30388 if test "x${have_ecore_evas_opengl_xcb}" = "xstatic"; then
30389 have_ecore_evas_opengl_xcb="yes"
30391 if test "x${have_ecore_evas_opengl_xcb}" = "xyes" -a "x${have_ecore_x_xcb}" = "xyes" ; then
30394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_X11" >&5
30395 $as_echo_n "checking for XCB_X11... " >&6; }
30397 if test -n "$XCB_X11_CFLAGS"; then
30398 pkg_cv_XCB_X11_CFLAGS="$XCB_X11_CFLAGS"
30399 elif test -n "$PKG_CONFIG"; then
30400 if test -n "$PKG_CONFIG" && \
30401 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb\""; } >&5
30402 ($PKG_CONFIG --exists --print-errors "x11-xcb") 2>&5
30404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30405 test $ac_status = 0; }; then
30406 pkg_cv_XCB_X11_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb" 2>/dev/null`
30407 test "x$?" != "x0" && pkg_failed=yes
30414 if test -n "$XCB_X11_LIBS"; then
30415 pkg_cv_XCB_X11_LIBS="$XCB_X11_LIBS"
30416 elif test -n "$PKG_CONFIG"; then
30417 if test -n "$PKG_CONFIG" && \
30418 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb\""; } >&5
30419 ($PKG_CONFIG --exists --print-errors "x11-xcb") 2>&5
30421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30422 test $ac_status = 0; }; then
30423 pkg_cv_XCB_X11_LIBS=`$PKG_CONFIG --libs "x11-xcb" 2>/dev/null`
30424 test "x$?" != "x0" && pkg_failed=yes
30434 if test $pkg_failed = yes; then
30435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30436 $as_echo "no" >&6; }
30438 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30439 _pkg_short_errors_supported=yes
30441 _pkg_short_errors_supported=no
30443 if test $_pkg_short_errors_supported = yes; then
30444 XCB_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11-xcb" 2>&1`
30446 XCB_X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11-xcb" 2>&1`
30448 # Put the nasty error message in config.log where it belongs
30449 echo "$XCB_X11_PKG_ERRORS" >&5
30451 have_ecore_x_opengl_xcb="no"
30452 elif test $pkg_failed = untried; then
30453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30454 $as_echo "no" >&6; }
30455 have_ecore_x_opengl_xcb="no"
30457 XCB_X11_CFLAGS=$pkg_cv_XCB_X11_CFLAGS
30458 XCB_X11_LIBS=$pkg_cv_XCB_X11_LIBS
30459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30460 $as_echo "yes" >&6; }
30461 have_ecore_x_opengl_xcb="yes"
30462 requirements_ecore_x="x11-xcb ${requirements_ecore_x}"
30464 $as_echo "#define BUILD_ECORE_X_OPENGL_XCB 1" >>confdefs.h
30467 $as_echo "#define BUILD_ECORE_EVAS_OPENGL_XCB 1" >>confdefs.h
30472 have_ecore_x_opengl_xcb="no"
30473 { $as_echo "$as_me:${as_lineno-$LINENO}: \"XCB-based OpenGL explicitly disabled\"" >&5
30474 $as_echo "$as_me: \"XCB-based OpenGL explicitly disabled\"" >&6;}
30478 # ecore_evas_software_x11 16 bits
30482 have_ecore_evas_software_16_x11="no"
30483 want_module="${want_ecore_evas_software_16_x11}"
30485 # Check whether --enable-ecore-evas-software-16-x11 was given.
30486 if test "${enable_ecore_evas_software_16_x11+set}" = set; then :
30487 enableval=$enable_ecore_evas_software_16_x11;
30488 if test "x${enableval}" = "xyes" ; then
30497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software Xlib 16 bits support is to be built" >&5
30498 $as_echo_n "checking whether ecore_evas Software Xlib 16 bits support is to be built... " >&6; }
30499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30500 $as_echo "${want_module}" >&6; }
30502 if test "x${have_ecore_x_xlib}" = "xyes" && \
30503 test "x$have_ecore_evas" = "xyes" && \
30504 test "x$want_module" = "xyes" ; then
30505 if test -n "$PKG_CONFIG" && \
30506 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-16-x11\""; } >&5
30507 ($PKG_CONFIG --exists --print-errors "evas-software-16-x11") 2>&5
30509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30510 test $ac_status = 0; }; then
30513 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_16_X11 1" >>confdefs.h
30515 have_ecore_evas_software_16_x11="yes"
30520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software Xlib 16 bits support is built" >&5
30521 $as_echo_n "checking whether ecore_evas Software Xlib 16 bits support is built... " >&6; }
30522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_16_x11" >&5
30523 $as_echo "$have_ecore_evas_software_16_x11" >&6; }
30525 if test "x$have_ecore_evas_software_16_x11" = "xyes"; then :
30535 have_ecore_evas_software_8_x11="no"
30536 want_module="$want_ecore_evas_software_8_x11"
30538 # Check whether --enable-ecore-evas-software-8-x11 was given.
30539 if test "${enable_ecore_evas_software_8_x11+set}" = set; then :
30540 enableval=$enable_ecore_evas_software_8_x11;
30541 if test "x${enableval}" = "xyes" ; then
30550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software 8bit X11 support is to be built" >&5
30551 $as_echo_n "checking whether ecore_evas Software 8bit X11 support is to be built... " >&6; }
30552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30553 $as_echo "${want_module}" >&6; }
30555 if test "x$have_ecore_x_xcb" = "xyes" && \
30556 test "x$have_ecore_evas" = "xyes" && \
30557 test "x$want_module" = "xyes" ; then
30558 if test -n "$PKG_CONFIG" && \
30559 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-8-x11\""; } >&5
30560 ($PKG_CONFIG --exists --print-errors "evas-software-8-x11") 2>&5
30562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30563 test $ac_status = 0; }; then
30566 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_8_X11 1" >>confdefs.h
30568 have_ecore_evas_software_8_x11="yes"
30573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software 8bit X11 support is built" >&5
30574 $as_echo_n "checking whether ecore_evas Software 8bit X11 support is built... " >&6; }
30575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_8_x11" >&5
30576 $as_echo "$have_ecore_evas_software_8_x11" >&6; }
30578 if test "x$have_ecore_evas_software_8_x11" = "xyes"; then :
30587 if test "x$have_ecore_evas_software_x11" = "xyes" -o \
30588 "x$have_ecore_evas_opengl_x11" = "xyes" -o \
30589 "x$have_ecore_evas_software_8_x11" = "xyes" -o \
30590 "x$have_ecore_evas_software_16_x11" = "xyes" -o \
30591 "x$have_ecore_evas_software_xcb" = "xyes"; then
30593 $as_echo "#define BUILD_ECORE_EVAS_X11 1" >>confdefs.h
30595 requirements_ecore_evas="ecore-x >= 1.7.8 ${requirements_ecore_evas}"
30602 have_ecore_evas_software_gdi="no"
30603 want_module="${want_ecore_evas_software_gdi}"
30605 # Check whether --enable-ecore-evas-software-gdi was given.
30606 if test "${enable_ecore_evas_software_gdi+set}" = set; then :
30607 enableval=$enable_ecore_evas_software_gdi;
30608 if test "x${enableval}" = "xyes" ; then
30617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software GDI support is to be built" >&5
30618 $as_echo_n "checking whether ecore_evas Software GDI support is to be built... " >&6; }
30619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30620 $as_echo "${want_module}" >&6; }
30622 if test "x${have_ecore_win32}" = "xyes" && \
30623 test "x$have_ecore_evas" = "xyes" && \
30624 test "x$want_module" = "xyes" ; then
30625 if test -n "$PKG_CONFIG" && \
30626 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-gdi\""; } >&5
30627 ($PKG_CONFIG --exists --print-errors "evas-software-gdi") 2>&5
30629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30630 test $ac_status = 0; }; then
30633 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_GDI 1" >>confdefs.h
30635 have_ecore_evas_software_gdi="yes"
30640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software GDI support is built" >&5
30641 $as_echo_n "checking whether ecore_evas Software GDI support is built... " >&6; }
30642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_gdi" >&5
30643 $as_echo "$have_ecore_evas_software_gdi" >&6; }
30645 if test "x$have_ecore_evas_software_gdi" = "xyes"; then :
30655 have_ecore_evas_software_ddraw="no"
30656 want_module="${want_ecore_evas_software_ddraw}"
30658 # Check whether --enable-ecore-evas-software-ddraw was given.
30659 if test "${enable_ecore_evas_software_ddraw+set}" = set; then :
30660 enableval=$enable_ecore_evas_software_ddraw;
30661 if test "x${enableval}" = "xyes" ; then
30670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software DirectDraw support is to be built" >&5
30671 $as_echo_n "checking whether ecore_evas Software DirectDraw support is to be built... " >&6; }
30672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30673 $as_echo "${want_module}" >&6; }
30675 if test "x${have_ecore_win32}" = "xyes" && \
30676 test "x$have_ecore_evas" = "xyes" && \
30677 test "x$want_module" = "xyes" ; then
30678 if test -n "$PKG_CONFIG" && \
30679 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-ddraw\""; } >&5
30680 ($PKG_CONFIG --exists --print-errors "evas-software-ddraw") 2>&5
30682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30683 test $ac_status = 0; }; then
30686 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_DDRAW 1" >>confdefs.h
30688 have_ecore_evas_software_ddraw="yes"
30693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software DirectDraw support is built" >&5
30694 $as_echo_n "checking whether ecore_evas Software DirectDraw support is built... " >&6; }
30695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_ddraw" >&5
30696 $as_echo "$have_ecore_evas_software_ddraw" >&6; }
30698 if test "x$have_ecore_evas_software_ddraw" = "xyes"; then :
30708 have_ecore_evas_direct3d="no"
30709 want_module="${want_ecore_evas_direct3d}"
30711 # Check whether --enable-ecore-evas-direct3d was given.
30712 if test "${enable_ecore_evas_direct3d+set}" = set; then :
30713 enableval=$enable_ecore_evas_direct3d;
30714 if test "x${enableval}" = "xyes" ; then
30723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Direct3d support is to be built" >&5
30724 $as_echo_n "checking whether ecore_evas Direct3d support is to be built... " >&6; }
30725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30726 $as_echo "${want_module}" >&6; }
30728 if test "x${have_ecore_win32}" = "xyes" && \
30729 test "x$have_ecore_evas" = "xyes" && \
30730 test "x$want_module" = "xyes" ; then
30731 if test -n "$PKG_CONFIG" && \
30732 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-direct3d\""; } >&5
30733 ($PKG_CONFIG --exists --print-errors "evas-direct3d") 2>&5
30735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30736 test $ac_status = 0; }; then
30739 $as_echo "#define BUILD_ECORE_EVAS_DIRECT3D 1" >>confdefs.h
30741 have_ecore_evas_direct3d="yes"
30746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Direct3d support is built" >&5
30747 $as_echo_n "checking whether ecore_evas Direct3d support is built... " >&6; }
30748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_direct3d" >&5
30749 $as_echo "$have_ecore_evas_direct3d" >&6; }
30751 if test "x$have_ecore_evas_direct3d" = "xyes"; then :
30761 have_ecore_evas_opengl_glew="no"
30762 want_module="${want_ecore_evas_opengl_glew}"
30764 # Check whether --enable-ecore-evas-opengl-glew was given.
30765 if test "${enable_ecore_evas_opengl_glew+set}" = set; then :
30766 enableval=$enable_ecore_evas_opengl_glew;
30767 if test "x${enableval}" = "xyes" ; then
30776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Glew OpenGL support is to be built" >&5
30777 $as_echo_n "checking whether ecore_evas Glew OpenGL support is to be built... " >&6; }
30778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30779 $as_echo "${want_module}" >&6; }
30781 if test "x${have_ecore_win32}" = "xyes" && \
30782 test "x$have_ecore_evas" = "xyes" && \
30783 test "x$want_module" = "xyes" ; then
30784 if test -n "$PKG_CONFIG" && \
30785 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-glew\""; } >&5
30786 ($PKG_CONFIG --exists --print-errors "evas-opengl-glew") 2>&5
30788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30789 test $ac_status = 0; }; then
30792 $as_echo "#define BUILD_ECORE_EVAS_OPENGL_GLEW 1" >>confdefs.h
30794 have_ecore_evas_opengl_glew="yes"
30799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Glew OpenGL support is built" >&5
30800 $as_echo_n "checking whether ecore_evas Glew OpenGL support is built... " >&6; }
30801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_opengl_glew" >&5
30802 $as_echo "$have_ecore_evas_opengl_glew" >&6; }
30804 if test "x$have_ecore_evas_opengl_glew" = "xyes"; then :
30814 have_ecore_evas_software_16_ddraw="no"
30815 want_module="${want_ecore_evas_software_16_ddraw}"
30817 # Check whether --enable-ecore-evas-software-16-ddraw was given.
30818 if test "${enable_ecore_evas_software_16_ddraw+set}" = set; then :
30819 enableval=$enable_ecore_evas_software_16_ddraw;
30820 if test "x${enableval}" = "xyes" ; then
30829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas 16 bpp Software DirectDraw support is to be built" >&5
30830 $as_echo_n "checking whether ecore_evas 16 bpp Software DirectDraw support is to be built... " >&6; }
30831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30832 $as_echo "${want_module}" >&6; }
30834 if test "x${have_ecore_win32}" = "xyes" && \
30835 test "x$have_ecore_evas" = "xyes" && \
30836 test "x$want_module" = "xyes" ; then
30837 if test -n "$PKG_CONFIG" && \
30838 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-16-ddraw\""; } >&5
30839 ($PKG_CONFIG --exists --print-errors "evas-software-16-ddraw") 2>&5
30841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30842 test $ac_status = 0; }; then
30845 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_16_DDRAW 1" >>confdefs.h
30847 have_ecore_evas_software_16_ddraw="yes"
30852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas 16 bpp Software DirectDraw support is built" >&5
30853 $as_echo_n "checking whether ecore_evas 16 bpp Software DirectDraw support is built... " >&6; }
30854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_16_ddraw" >&5
30855 $as_echo "$have_ecore_evas_software_16_ddraw" >&6; }
30857 if test "x$have_ecore_evas_software_16_ddraw" = "xyes"; then :
30865 if test "x${have_ecore_evas_software_gdi}" = "xyes" -o \
30866 "x${have_ecore_evas_software_ddraw}" = "xyes" -o \
30867 "x${have_ecore_evas_direct3d}" = "xyes" -o \
30868 "x${have_ecore_evas_opengl_glew}" = "xyes" -o \
30869 "x${have_ecore_evas_software_16_ddraw}" = "xyes" ; then
30871 $as_echo "#define BUILD_ECORE_EVAS_WIN32 1" >>confdefs.h
30873 requirements_ecore_evas="ecore-win32 >= 1.7.8 ${requirements_ecore_evas}"
30876 # ecore_evas_software_sdl
30878 have_ecore_evas_software_sdl="no"
30879 if test "x${have_ecore_sdl}" = "xyes"; then
30880 requirements_ecore_evas="ecore-sdl >= 1.7.8 ${requirements_ecore_evas}"
30881 have_ecore_evas_software_sdl="yes"
30883 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_SDL 1" >>confdefs.h
30885 requirements_ecore_evas="ecore-sdl >= 1.7.8 ${requirements_ecore_evas}"
30888 # ecore_evas_gl_sdl
30892 have_ecore_evas_opengl_sdl="no"
30893 want_module="${want_ecore_evas_gl_sdl}"
30895 # Check whether --enable-ecore-evas-opengl-sdl was given.
30896 if test "${enable_ecore_evas_opengl_sdl+set}" = set; then :
30897 enableval=$enable_ecore_evas_opengl_sdl;
30898 if test "x${enableval}" = "xyes" ; then
30907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL SDL support is to be built" >&5
30908 $as_echo_n "checking whether ecore_evas OpenGL SDL support is to be built... " >&6; }
30909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30910 $as_echo "${want_module}" >&6; }
30912 if test "x${have_ecore_sdl}" = "xyes" && \
30913 test "x$have_ecore_evas" = "xyes" && \
30914 test "x$want_module" = "xyes" ; then
30915 if test -n "$PKG_CONFIG" && \
30916 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-sdl\""; } >&5
30917 ($PKG_CONFIG --exists --print-errors "evas-opengl-sdl") 2>&5
30919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30920 test $ac_status = 0; }; then
30923 $as_echo "#define BUILD_ECORE_EVAS_OPENGL_SDL 1" >>confdefs.h
30925 have_ecore_evas_opengl_sdl="yes"
30930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL SDL support is built" >&5
30931 $as_echo_n "checking whether ecore_evas OpenGL SDL support is built... " >&6; }
30932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_opengl_sdl" >&5
30933 $as_echo "$have_ecore_evas_opengl_sdl" >&6; }
30935 if test "x$have_ecore_evas_opengl_sdl" = "xyes"; then :
30936 requirements_ecore_evas="ecore-sdl >= 1.7.8 ${requirements_ecore_evas}"
30947 have_ecore_evas_opengl_cocoa="no"
30948 want_module="${want_ecore_evas_gl_cocoa}"
30950 # Check whether --enable-ecore-evas-opengl-cocoa was given.
30951 if test "${enable_ecore_evas_opengl_cocoa+set}" = set; then :
30952 enableval=$enable_ecore_evas_opengl_cocoa;
30953 if test "x${enableval}" = "xyes" ; then
30962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL Cocoa support is to be built" >&5
30963 $as_echo_n "checking whether ecore_evas OpenGL Cocoa support is to be built... " >&6; }
30964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30965 $as_echo "${want_module}" >&6; }
30967 if test "x${have_ecore_cocoa}" = "xyes" && \
30968 test "x$have_ecore_evas" = "xyes" && \
30969 test "x$want_module" = "xyes" ; then
30970 if test -n "$PKG_CONFIG" && \
30971 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-cocoa\""; } >&5
30972 ($PKG_CONFIG --exists --print-errors "evas-opengl-cocoa") 2>&5
30974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30975 test $ac_status = 0; }; then
30978 $as_echo "#define BUILD_ECORE_EVAS_OPENGL_COCOA 1" >>confdefs.h
30980 have_ecore_evas_opengl_cocoa="yes"
30985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL Cocoa support is built" >&5
30986 $as_echo_n "checking whether ecore_evas OpenGL Cocoa support is built... " >&6; }
30987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_opengl_cocoa" >&5
30988 $as_echo "$have_ecore_evas_opengl_cocoa" >&6; }
30990 if test "x$have_ecore_evas_opengl_cocoa" = "xyes"; then :
30991 requirements_ecore_evas="ecore-cocoa >= 1.7.8 ${requirements_ecore_evas}"
30998 # ecore_evas_directfb
31002 have_ecore_evas_directfb="no"
31003 want_module="${want_ecore_evas_directfb}"
31005 # Check whether --enable-ecore-evas-directfb was given.
31006 if test "${enable_ecore_evas_directfb+set}" = set; then :
31007 enableval=$enable_ecore_evas_directfb;
31008 if test "x${enableval}" = "xyes" ; then
31017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas DirectFB support is to be built" >&5
31018 $as_echo_n "checking whether ecore_evas DirectFB support is to be built... " >&6; }
31019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
31020 $as_echo "${want_module}" >&6; }
31022 if test "x${have_ecore_directfb}" = "xyes" && \
31023 test "x$have_ecore_evas" = "xyes" && \
31024 test "x$want_module" = "xyes" ; then
31025 if test -n "$PKG_CONFIG" && \
31026 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-directfb\""; } >&5
31027 ($PKG_CONFIG --exists --print-errors "evas-directfb") 2>&5
31029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31030 test $ac_status = 0; }; then
31033 $as_echo "#define BUILD_ECORE_EVAS_DIRECTFB 1" >>confdefs.h
31035 have_ecore_evas_directfb="yes"
31040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas DirectFB support is built" >&5
31041 $as_echo_n "checking whether ecore_evas DirectFB support is built... " >&6; }
31042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_directfb" >&5
31043 $as_echo "$have_ecore_evas_directfb" >&6; }
31045 if test "x$have_ecore_evas_directfb" = "xyes"; then :
31046 requirements_ecore_evas="ecore-directfb >= 1.7.8 ${requirements_ecore_evas}"
31057 have_ecore_evas_fb="no"
31058 want_module="${want_ecore_evas_fb}"
31060 # Check whether --enable-ecore-evas-fb was given.
31061 if test "${enable_ecore_evas_fb+set}" = set; then :
31062 enableval=$enable_ecore_evas_fb;
31063 if test "x${enableval}" = "xyes" ; then
31072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Linux Framebuffer support is to be built" >&5
31073 $as_echo_n "checking whether ecore_evas Linux Framebuffer support is to be built... " >&6; }
31074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
31075 $as_echo "${want_module}" >&6; }
31077 if test "x${have_ecore_fb}" = "xyes" && \
31078 test "x$have_ecore_evas" = "xyes" && \
31079 test "x$want_module" = "xyes" ; then
31080 if test -n "$PKG_CONFIG" && \
31081 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-fb\""; } >&5
31082 ($PKG_CONFIG --exists --print-errors "evas-fb") 2>&5
31084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31085 test $ac_status = 0; }; then
31088 $as_echo "#define BUILD_ECORE_EVAS_FB 1" >>confdefs.h
31090 have_ecore_evas_fb="yes"
31095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Linux Framebuffer support is built" >&5
31096 $as_echo_n "checking whether ecore_evas Linux Framebuffer support is built... " >&6; }
31097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_fb" >&5
31098 $as_echo "$have_ecore_evas_fb" >&6; }
31100 if test "x$have_ecore_evas_fb" = "xyes"; then :
31101 requirements_ecore_evas="ecore-fb >= 1.7.8 ${requirements_ecore_evas}"
31112 have_ecore_evas_software_16_wince="no"
31113 want_module="${want_ecore_evas_software_16_wince}"
31115 # Check whether --enable-ecore-evas-software-16-wince was given.
31116 if test "${enable_ecore_evas_software_16_wince+set}" = set; then :
31117 enableval=$enable_ecore_evas_software_16_wince;
31118 if test "x${enableval}" = "xyes" ; then
31127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas 16 bpp Software Windows CE support is to be built" >&5
31128 $as_echo_n "checking whether ecore_evas 16 bpp Software Windows CE support is to be built... " >&6; }
31129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
31130 $as_echo "${want_module}" >&6; }
31132 if test "x${have_ecore_wince}" = "xyes" && \
31133 test "x$have_ecore_evas" = "xyes" && \
31134 test "x$want_module" = "xyes" ; then
31135 if test -n "$PKG_CONFIG" && \
31136 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-16-wince\""; } >&5
31137 ($PKG_CONFIG --exists --print-errors "evas-software-16-wince") 2>&5
31139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31140 test $ac_status = 0; }; then
31143 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_16_WINCE 1" >>confdefs.h
31145 have_ecore_evas_software_16_wince="yes"
31150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas 16 bpp Software Windows CE support is built" >&5
31151 $as_echo_n "checking whether ecore_evas 16 bpp Software Windows CE support is built... " >&6; }
31152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_16_wince" >&5
31153 $as_echo "$have_ecore_evas_software_16_wince" >&6; }
31155 if test "x$have_ecore_evas_software_16_wince" = "xyes"; then :
31156 requirements_ecore_evas="ecore-wince >= 1.7.8 ${requirements_ecore_evas}"
31167 have_ecore_evas_ews="no"
31168 want_module="${want_ecore_evas_ews}"
31170 # Check whether --enable-ecore-evas-ews was given.
31171 if test "${enable_ecore_evas_ews+set}" = set; then :
31172 enableval=$enable_ecore_evas_ews;
31173 if test "x${enableval}" = "xyes" ; then
31182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Ecore Evas Single Process Windowing System support is to be built" >&5
31183 $as_echo_n "checking whether ecore_evas Ecore Evas Single Process Windowing System support is to be built... " >&6; }
31184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
31185 $as_echo "${want_module}" >&6; }
31187 if test "xyes" = "xyes" && \
31188 test "x$have_ecore_evas" = "xyes" && \
31189 test "x$want_module" = "xyes" ; then
31190 if test -n "$PKG_CONFIG" && \
31191 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-buffer\""; } >&5
31192 ($PKG_CONFIG --exists --print-errors "evas-software-buffer") 2>&5
31194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31195 test $ac_status = 0; }; then
31198 $as_echo "#define BUILD_ECORE_EVAS_EWS 1" >>confdefs.h
31200 have_ecore_evas_ews="yes"
31205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Ecore Evas Single Process Windowing System support is built" >&5
31206 $as_echo_n "checking whether ecore_evas Ecore Evas Single Process Windowing System support is built... " >&6; }
31207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_ews" >&5
31208 $as_echo "$have_ecore_evas_ews" >&6; }
31210 if test "x$have_ecore_evas_ews" = "xyes"; then :
31221 if test "x${have_ecore_ipc}" = "xno" || \
31222 test "x${have_ecore_evas_software_buffer}" = "xno" || \
31223 test "x${have_shm_open}" = "xno" ; then
31227 have_ecore_evas_extn="no"
31228 if test "x${want_ecore_evas_extn}" = "xyes" && \
31229 test "x${have_extn}" = "xyes" && \
31230 test "x${have_ecore_evas}" = "xyes"; then
31232 $as_echo "#define BUILD_ECORE_EVAS_EXTN 1" >>confdefs.h
31234 have_ecore_evas_extn="yes"
31237 # ecore_evas_psl1ght
31241 have_ecore_evas_psl1ght="no"
31242 want_module="${want_ecore_evas_psl1ght}"
31244 # Check whether --enable-ecore-evas-psl1ght was given.
31245 if test "${enable_ecore_evas_psl1ght+set}" = set; then :
31246 enableval=$enable_ecore_evas_psl1ght;
31247 if test "x${enableval}" = "xyes" ; then
31256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas PSL1GHT support is to be built" >&5
31257 $as_echo_n "checking whether ecore_evas PSL1GHT support is to be built... " >&6; }
31258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
31259 $as_echo "${want_module}" >&6; }
31261 if test "x${have_ecore_psl1ght}" = "xyes" && \
31262 test "x$have_ecore_evas" = "xyes" && \
31263 test "x$want_module" = "xyes" ; then
31264 if test -n "$PKG_CONFIG" && \
31265 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-psl1ght\""; } >&5
31266 ($PKG_CONFIG --exists --print-errors "evas-psl1ght") 2>&5
31268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31269 test $ac_status = 0; }; then
31272 $as_echo "#define BUILD_ECORE_EVAS_PSL1GHT 1" >>confdefs.h
31274 have_ecore_evas_psl1ght="yes"
31279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas PSL1GHT support is built" >&5
31280 $as_echo_n "checking whether ecore_evas PSL1GHT support is built... " >&6; }
31281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_psl1ght" >&5
31282 $as_echo "$have_ecore_evas_psl1ght" >&6; }
31284 if test "x$have_ecore_evas_psl1ght" = "xyes"; then :
31285 requirements_ecore_evas="ecore-psl1ght >= 1.7.8 ${requirements_ecore_evas}"
31295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IBUS" >&5
31296 $as_echo_n "checking for IBUS... " >&6; }
31298 if test -n "$IBUS_CFLAGS"; then
31299 pkg_cv_IBUS_CFLAGS="$IBUS_CFLAGS"
31300 elif test -n "$PKG_CONFIG"; then
31301 if test -n "$PKG_CONFIG" && \
31302 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ibus-1.0 >= 1.4\""; } >&5
31303 ($PKG_CONFIG --exists --print-errors "ibus-1.0 >= 1.4") 2>&5
31305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31306 test $ac_status = 0; }; then
31307 pkg_cv_IBUS_CFLAGS=`$PKG_CONFIG --cflags "ibus-1.0 >= 1.4" 2>/dev/null`
31308 test "x$?" != "x0" && pkg_failed=yes
31315 if test -n "$IBUS_LIBS"; then
31316 pkg_cv_IBUS_LIBS="$IBUS_LIBS"
31317 elif test -n "$PKG_CONFIG"; then
31318 if test -n "$PKG_CONFIG" && \
31319 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ibus-1.0 >= 1.4\""; } >&5
31320 ($PKG_CONFIG --exists --print-errors "ibus-1.0 >= 1.4") 2>&5
31322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31323 test $ac_status = 0; }; then
31324 pkg_cv_IBUS_LIBS=`$PKG_CONFIG --libs "ibus-1.0 >= 1.4" 2>/dev/null`
31325 test "x$?" != "x0" && pkg_failed=yes
31335 if test $pkg_failed = yes; then
31336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31337 $as_echo "no" >&6; }
31339 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31340 _pkg_short_errors_supported=yes
31342 _pkg_short_errors_supported=no
31344 if test $_pkg_short_errors_supported = yes; then
31345 IBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ibus-1.0 >= 1.4" 2>&1`
31347 IBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ibus-1.0 >= 1.4" 2>&1`
31349 # Put the nasty error message in config.log where it belongs
31350 echo "$IBUS_PKG_ERRORS" >&5
31353 elif test $pkg_failed = untried; then
31354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31355 $as_echo "no" >&6; }
31358 IBUS_CFLAGS=$pkg_cv_IBUS_CFLAGS
31359 IBUS_LIBS=$pkg_cv_IBUS_LIBS
31360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31361 $as_echo "yes" >&6; }
31366 BUILD_ECORE_IMF_IBUS_TRUE=
31367 BUILD_ECORE_IMF_IBUS_FALSE='#'
31369 BUILD_ECORE_IMF_IBUS_TRUE='#'
31370 BUILD_ECORE_IMF_IBUS_FALSE=
31373 ecore_imf_ibus_deps="no"
31374 echo "have_ecore_x_xlib: ${have_ecore_x_xlib}"
31375 if test "x${have_ecore_imf}" = "xyes" \
31376 -a "x${have_ecore_evas}" = "xyes" \
31377 -a "x${have_glib}" = "xyes" \
31378 -a "x${have_ibus}" = "xyes" \
31379 -a "x${have_ecore_input}" = "xyes" ; then
31380 ecore_imf_ibus_deps="yes"
31382 $as_echo "#define BUILD_ECORE_IMF_IBUS 1" >>confdefs.h
31388 have_ecore_imf_ibus=no
31389 ecore_imf_ibus_cflags=
31390 ecore_imf_ibus_libs=
31391 want_module=${want_ecore_imf}
31393 # Check whether --enable-ecore-imf-ibus was given.
31394 if test "${enable_ecore_imf_ibus+set}" = set; then :
31395 enableval=$enable_ecore_imf_ibus;
31396 if test "x${enableval}" = "xyes" ; then
31405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Imf_IBUS module is to be built" >&5
31406 $as_echo_n "checking whether Ecore_Imf_IBUS module is to be built... " >&6; }
31408 if test "x${want_module}" = "xyes" ; then
31409 if test "x${ecore_imf_ibus_deps}" = "x" || test "x${ecore_imf_ibus_deps}" = "xyes" ; then
31411 $as_echo "#define BUILD_ECORE_IMF_IBUS 1" >>confdefs.h
31413 have_ecore_imf_ibus="yes"
31414 ecore_imf_ibus_libs="-lecore_imf_ibus"
31415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31416 $as_echo "yes" >&6; }
31418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
31419 $as_echo "no (dependency failed)" >&6; }
31422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31423 $as_echo "no" >&6; }
31426 if test "x$have_ecore_imf_ibus" = "xyes"; then
31427 BUILD_ECORE_IMF_IBUS_TRUE=
31428 BUILD_ECORE_IMF_IBUS_FALSE='#'
31430 BUILD_ECORE_IMF_IBUS_TRUE='#'
31431 BUILD_ECORE_IMF_IBUS_FALSE=
31435 if test "x$have_ecore_imf_ibus" = "xyes"; then :
31436 requirements_ecore_imf_ibus="ecore-imf >= 1.7.8 ecore-x >= 1.7.8 ecore-input >= 1.7.8 ${requirements_ecore_imf_ibus}"
31448 ecore_wayland_deps="no"
31450 if test "x${want_ecore_wayland}" = "xyes" ; then
31453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND" >&5
31454 $as_echo_n "checking for WAYLAND... " >&6; }
31456 if test -n "$WAYLAND_CFLAGS"; then
31457 pkg_cv_WAYLAND_CFLAGS="$WAYLAND_CFLAGS"
31458 elif test -n "$PKG_CONFIG"; then
31459 if test -n "$PKG_CONFIG" && \
31460 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client wayland-cursor xkbcommon\""; } >&5
31461 ($PKG_CONFIG --exists --print-errors "wayland-client wayland-cursor xkbcommon") 2>&5
31463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31464 test $ac_status = 0; }; then
31465 pkg_cv_WAYLAND_CFLAGS=`$PKG_CONFIG --cflags "wayland-client wayland-cursor xkbcommon" 2>/dev/null`
31466 test "x$?" != "x0" && pkg_failed=yes
31473 if test -n "$WAYLAND_LIBS"; then
31474 pkg_cv_WAYLAND_LIBS="$WAYLAND_LIBS"
31475 elif test -n "$PKG_CONFIG"; then
31476 if test -n "$PKG_CONFIG" && \
31477 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client wayland-cursor xkbcommon\""; } >&5
31478 ($PKG_CONFIG --exists --print-errors "wayland-client wayland-cursor xkbcommon") 2>&5
31480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31481 test $ac_status = 0; }; then
31482 pkg_cv_WAYLAND_LIBS=`$PKG_CONFIG --libs "wayland-client wayland-cursor xkbcommon" 2>/dev/null`
31483 test "x$?" != "x0" && pkg_failed=yes
31493 if test $pkg_failed = yes; then
31494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31495 $as_echo "no" >&6; }
31497 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31498 _pkg_short_errors_supported=yes
31500 _pkg_short_errors_supported=no
31502 if test $_pkg_short_errors_supported = yes; then
31503 WAYLAND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-client wayland-cursor xkbcommon" 2>&1`
31505 WAYLAND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-client wayland-cursor xkbcommon" 2>&1`
31507 # Put the nasty error message in config.log where it belongs
31508 echo "$WAYLAND_PKG_ERRORS" >&5
31511 elif test $pkg_failed = untried; then
31512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31513 $as_echo "no" >&6; }
31516 WAYLAND_CFLAGS=$pkg_cv_WAYLAND_CFLAGS
31517 WAYLAND_LIBS=$pkg_cv_WAYLAND_LIBS
31518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31519 $as_echo "yes" >&6; }
31523 if test "x${have_ecore_input}" = "xyes" -a "x${have_wayland}" = "xyes" ; then
31524 ecore_wayland_deps="yes"
31529 have_ecore_wayland=no
31530 ecore_wayland_cflags=
31531 ecore_wayland_libs=
31532 want_module=${want_ecore_wayland}
31534 # Check whether --enable-ecore-wayland was given.
31535 if test "${enable_ecore_wayland+set}" = set; then :
31536 enableval=$enable_ecore_wayland;
31537 if test "x${enableval}" = "xyes" ; then
31546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Wayland module is to be built" >&5
31547 $as_echo_n "checking whether Ecore_Wayland module is to be built... " >&6; }
31549 if test "x${want_module}" = "xyes" ; then
31550 if test "x${ecore_wayland_deps}" = "x" || test "x${ecore_wayland_deps}" = "xyes" ; then
31552 $as_echo "#define BUILD_ECORE_WAYLAND 1" >>confdefs.h
31554 have_ecore_wayland="yes"
31555 ecore_wayland_libs="-lecore_wayland"
31556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31557 $as_echo "yes" >&6; }
31559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
31560 $as_echo "no (dependency failed)" >&6; }
31563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31564 $as_echo "no" >&6; }
31567 if test "x$have_ecore_wayland" = "xyes"; then
31568 BUILD_ECORE_WAYLAND_TRUE=
31569 BUILD_ECORE_WAYLAND_FALSE='#'
31571 BUILD_ECORE_WAYLAND_TRUE='#'
31572 BUILD_ECORE_WAYLAND_FALSE=
31576 if test "x$have_ecore_wayland" = "xyes"; then :
31586 if test "x${have_ecore_wayland}" = "xyes" ; then
31587 requirements_ecore_wayland="ecore-input >= 1.7.8 wayland-client wayland-cursor xkbcommon ${requirements_ecore_wayland}"
31592 have_ecore_evas_wayland_shm="no"
31593 want_module="${want_ecore_evas_wayland_shm}"
31595 # Check whether --enable-ecore-evas-wayland-shm was given.
31596 if test "${enable_ecore_evas_wayland_shm+set}" = set; then :
31597 enableval=$enable_ecore_evas_wayland_shm;
31598 if test "x${enableval}" = "xyes" ; then
31607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Wayland Shm support is to be built" >&5
31608 $as_echo_n "checking whether ecore_evas Wayland Shm support is to be built... " >&6; }
31609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
31610 $as_echo "${want_module}" >&6; }
31612 if test "x${have_ecore_wayland}" = "xyes" && \
31613 test "x$have_ecore_evas" = "xyes" && \
31614 test "x$want_module" = "xyes" ; then
31615 if test -n "$PKG_CONFIG" && \
31616 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-wayland-shm\""; } >&5
31617 ($PKG_CONFIG --exists --print-errors "evas-wayland-shm") 2>&5
31619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31620 test $ac_status = 0; }; then
31623 $as_echo "#define BUILD_ECORE_EVAS_WAYLAND_SHM 1" >>confdefs.h
31625 have_ecore_evas_wayland_shm="yes"
31630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Wayland Shm support is built" >&5
31631 $as_echo_n "checking whether ecore_evas Wayland Shm support is built... " >&6; }
31632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_wayland_shm" >&5
31633 $as_echo "$have_ecore_evas_wayland_shm" >&6; }
31635 if test "x$have_ecore_evas_wayland_shm" = "xyes"; then :
31636 requirements_ecore_evas="${requirements_ecore_wayland} ${requirements_ecore_evas}"
31645 have_ecore_evas_wayland_egl="no"
31646 want_module="${want_ecore_evas_wayland_egl}"
31648 # Check whether --enable-ecore-evas-wayland-egl was given.
31649 if test "${enable_ecore_evas_wayland_egl+set}" = set; then :
31650 enableval=$enable_ecore_evas_wayland_egl;
31651 if test "x${enableval}" = "xyes" ; then
31660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Wayland Egl support is to be built" >&5
31661 $as_echo_n "checking whether ecore_evas Wayland Egl support is to be built... " >&6; }
31662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
31663 $as_echo "${want_module}" >&6; }
31665 if test "x${have_ecore_wayland}" = "xyes" && \
31666 test "x$have_ecore_evas" = "xyes" && \
31667 test "x$want_module" = "xyes" ; then
31668 if test -n "$PKG_CONFIG" && \
31669 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-wayland-egl egl >= 7.10\""; } >&5
31670 ($PKG_CONFIG --exists --print-errors "evas-wayland-egl egl >= 7.10") 2>&5
31672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31673 test $ac_status = 0; }; then
31676 $as_echo "#define BUILD_ECORE_EVAS_WAYLAND_EGL 1" >>confdefs.h
31678 have_ecore_evas_wayland_egl="yes"
31683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Wayland Egl support is built" >&5
31684 $as_echo_n "checking whether ecore_evas Wayland Egl support is built... " >&6; }
31685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_wayland_egl" >&5
31686 $as_echo "$have_ecore_evas_wayland_egl" >&6; }
31688 if test "x$have_ecore_evas_wayland_egl" = "xyes"; then :
31692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5
31693 $as_echo_n "checking for WAYLAND_EGL... " >&6; }
31695 if test -n "$WAYLAND_EGL_CFLAGS"; then
31696 pkg_cv_WAYLAND_EGL_CFLAGS="$WAYLAND_EGL_CFLAGS"
31697 elif test -n "$PKG_CONFIG"; then
31698 if test -n "$PKG_CONFIG" && \
31699 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5
31700 ($PKG_CONFIG --exists --print-errors "wayland-egl") 2>&5
31702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31703 test $ac_status = 0; }; then
31704 pkg_cv_WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags "wayland-egl" 2>/dev/null`
31705 test "x$?" != "x0" && pkg_failed=yes
31712 if test -n "$WAYLAND_EGL_LIBS"; then
31713 pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS"
31714 elif test -n "$PKG_CONFIG"; then
31715 if test -n "$PKG_CONFIG" && \
31716 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5
31717 ($PKG_CONFIG --exists --print-errors "wayland-egl") 2>&5
31719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31720 test $ac_status = 0; }; then
31721 pkg_cv_WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs "wayland-egl" 2>/dev/null`
31722 test "x$?" != "x0" && pkg_failed=yes
31732 if test $pkg_failed = yes; then
31733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31734 $as_echo "no" >&6; }
31736 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31737 _pkg_short_errors_supported=yes
31739 _pkg_short_errors_supported=no
31741 if test $_pkg_short_errors_supported = yes; then
31742 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-egl" 2>&1`
31744 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-egl" 2>&1`
31746 # Put the nasty error message in config.log where it belongs
31747 echo "$WAYLAND_EGL_PKG_ERRORS" >&5
31749 have_wayland_egl="no"
31750 elif test $pkg_failed = untried; then
31751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31752 $as_echo "no" >&6; }
31753 have_wayland_egl="no"
31755 WAYLAND_EGL_CFLAGS=$pkg_cv_WAYLAND_EGL_CFLAGS
31756 WAYLAND_EGL_LIBS=$pkg_cv_WAYLAND_EGL_LIBS
31757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31758 $as_echo "yes" >&6; }
31759 have_wayland_egl="yes"
31761 if test "x${have_wayland_egl}" = "xyes" ; then
31762 requirements_ecore_evas="wayland-egl egl >= 7.10 ${requirements_ecore_wayland} ${requirements_ecore_evas}"
31771 ### Unit tests and coverage
31776 # Check whether --enable-tests was given.
31777 if test "${enable_tests+set}" = set; then :
31778 enableval=$enable_tests;
31779 if test "x${enableval}" = "xyes" ; then
31780 _efl_enable_tests="yes"
31782 _efl_enable_tests="no"
31786 _efl_enable_tests="no"
31790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
31791 $as_echo_n "checking whether tests are built... " >&6; }
31792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
31793 $as_echo "${_efl_enable_tests}" >&6; }
31797 if test "x${_efl_enable_tests}" = "xyes" ; then
31800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
31801 $as_echo_n "checking for CHECK... " >&6; }
31803 if test -n "$CHECK_CFLAGS"; then
31804 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
31805 elif test -n "$PKG_CONFIG"; then
31806 if test -n "$PKG_CONFIG" && \
31807 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
31808 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
31810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31811 test $ac_status = 0; }; then
31812 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
31813 test "x$?" != "x0" && pkg_failed=yes
31820 if test -n "$CHECK_LIBS"; then
31821 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
31822 elif test -n "$PKG_CONFIG"; then
31823 if test -n "$PKG_CONFIG" && \
31824 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
31825 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
31827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31828 test $ac_status = 0; }; then
31829 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
31830 test "x$?" != "x0" && pkg_failed=yes
31840 if test $pkg_failed = yes; then
31841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31842 $as_echo "no" >&6; }
31844 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31845 _pkg_short_errors_supported=yes
31847 _pkg_short_errors_supported=no
31849 if test $_pkg_short_errors_supported = yes; then
31850 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
31852 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
31854 # Put the nasty error message in config.log where it belongs
31855 echo "$CHECK_PKG_ERRORS" >&5
31857 _efl_enable_tests="no"
31858 elif test $pkg_failed = untried; then
31859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31860 $as_echo "no" >&6; }
31861 _efl_enable_tests="no"
31863 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
31864 CHECK_LIBS=$pkg_cv_CHECK_LIBS
31865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31866 $as_echo "yes" >&6; }
31871 if test "x${_efl_enable_tests}" = "xyes"; then
31872 EFL_ENABLE_TESTS_TRUE=
31873 EFL_ENABLE_TESTS_FALSE='#'
31875 EFL_ENABLE_TESTS_TRUE='#'
31876 EFL_ENABLE_TESTS_FALSE=
31880 if test "x$_efl_enable_tests" = "xyes"; then :
31890 # Check whether --enable-coverage was given.
31891 if test "${enable_coverage+set}" = set; then :
31892 enableval=$enable_coverage;
31893 if test "x${enableval}" = "xyes" ; then
31894 _efl_enable_coverage="yes"
31896 _efl_enable_coverage="no"
31900 _efl_enable_coverage="no"
31904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
31905 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
31906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
31907 $as_echo "$_efl_enable_coverage" >&6; }
31910 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
31911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
31912 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
31913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
31914 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
31915 _efl_enable_coverage="no"
31918 if test "x$_efl_enable_coverage" = "xyes" ; then
31919 # Extract the first word of "lcov", so it can be a program name with args.
31920 set dummy lcov; ac_word=$2
31921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31922 $as_echo_n "checking for $ac_word... " >&6; }
31923 if ${ac_cv_prog_have_lcov+:} false; then :
31924 $as_echo_n "(cached) " >&6
31926 if test -n "$have_lcov"; then
31927 ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
31929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31930 for as_dir in $PATH
31933 test -z "$as_dir" && as_dir=.
31934 for ac_exec_ext in '' $ac_executable_extensions; do
31935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31936 ac_cv_prog_have_lcov="yes"
31937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
31944 test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
31947 have_lcov=$ac_cv_prog_have_lcov
31948 if test -n "$have_lcov"; then
31949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
31950 $as_echo "$have_lcov" >&6; }
31952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31953 $as_echo "no" >&6; }
31957 if test "x$have_lcov" = "xyes" ; then
31958 EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
31959 EFL_COVERAGE_LIBS="-lgcov"
31960 # remove any optimisation flag and force debug symbols
31961 EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
31963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
31964 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
31965 _efl_enable_coverage="no"
31972 if test "x${_efl_enable_coverage}" = "xyes"; then
31973 EFL_ENABLE_COVERAGE_TRUE=
31974 EFL_ENABLE_COVERAGE_FALSE='#'
31976 EFL_ENABLE_COVERAGE_TRUE='#'
31977 EFL_ENABLE_COVERAGE_FALSE=
31981 if test "x$_efl_enable_coverage" = "xyes"; then :
31982 enable_coverage="yes"
31984 enable_coverage="no"
31987 CFLAGS="${CFLAGS} ${EFL_COVERAGE_CFLAGS}"
31988 ECORE_LIBS="${ECORE_LIBS} ${EFL_COVERAGE_LIBS}"
31989 if test "x$enable_coverage" = "xyes" ; then
31990 CFLAGS="${CFLAGS} ${EFL_DEBUG_CFLAGS}"
31993 ### install and build examples
31998 # Check whether --enable-build-examples was given.
31999 if test "${enable_build_examples+set}" = set; then :
32000 enableval=$enable_build_examples;
32001 if test "x${enableval}" = "xyes" ; then
32002 _efl_enable_build_examples="yes"
32004 _efl_enable_build_examples="no"
32008 _efl_enable_build_examples="no"
32012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are built" >&5
32013 $as_echo_n "checking whether examples are built... " >&6; }
32014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_build_examples}" >&5
32015 $as_echo "${_efl_enable_build_examples}" >&6; }
32017 if test "x${_efl_enable_build_examples}" = "xyes"; then
32018 EFL_BUILD_EXAMPLES_TRUE=
32019 EFL_BUILD_EXAMPLES_FALSE='#'
32021 EFL_BUILD_EXAMPLES_TRUE='#'
32022 EFL_BUILD_EXAMPLES_FALSE=
32026 if test "x$_efl_enable_build_examples" = "xyes"; then :
32027 enable_build_examples="yes"
32029 enable_build_examples="no"
32035 # Check whether --enable-install-examples was given.
32036 if test "${enable_install_examples+set}" = set; then :
32037 enableval=$enable_install_examples;
32038 if test "x${enableval}" = "xyes" ; then
32039 _efl_enable_install_examples="yes"
32041 _efl_enable_install_examples="no"
32045 _efl_enable_install_examples="no"
32049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are installed" >&5
32050 $as_echo_n "checking whether examples are installed... " >&6; }
32051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_install_examples}" >&5
32052 $as_echo "${_efl_enable_install_examples}" >&6; }
32054 if test "x${_efl_enable_install_examples}" = "xyes"; then
32055 EFL_INSTALL_EXAMPLES_TRUE=
32056 EFL_INSTALL_EXAMPLES_FALSE='#'
32058 EFL_INSTALL_EXAMPLES_TRUE='#'
32059 EFL_INSTALL_EXAMPLES_FALSE=
32063 if test "x$_efl_enable_install_examples" = "xyes"; then :
32064 enable_install_examples="yes"
32066 enable_install_examples="no"
32074 #AC_SUBST(requirements_ecore_config)
32095 ac_config_files="$ac_config_files Makefile ecore-con.pc ecore-config.pc ecore-directfb.pc ecore-evas.pc ecore-fb.pc ecore-file.pc ecore-imf.pc ecore-imf-evas.pc ecore-ipc.pc ecore-x.pc ecore-input.pc ecore-input-evas.pc ecore-win32.pc ecore-sdl.pc ecore-cocoa.pc ecore-psl1ght.pc ecore-wince.pc ecore-wayland.pc ecore.pc doc/ecore.dox doc/Makefile doc/Doxyfile src/Makefile src/util/Makefile src/bin/Makefile src/lib/Makefile src/lib/ecore/Makefile src/lib/ecore_con/Makefile src/lib/ecore_config/Makefile src/lib/ecore_directfb/Makefile src/lib/ecore_evas/Makefile src/lib/ecore_fb/Makefile src/lib/ecore_file/Makefile src/lib/ecore_cocoa/Makefile src/lib/ecore_sdl/Makefile src/lib/ecore_psl1ght/Makefile src/lib/ecore_imf/Makefile src/lib/ecore_imf_evas/Makefile src/lib/ecore_input/Makefile src/lib/ecore_input_evas/Makefile src/lib/ecore_ipc/Makefile src/lib/ecore_win32/Makefile src/lib/ecore_wince/Makefile src/lib/ecore_x/Makefile src/lib/ecore_x/xlib/Makefile src/lib/ecore_x/xcb/Makefile src/lib/ecore_wayland/Makefile src/examples/Makefile src/tests/Makefile src/modules/Makefile src/modules/immodules/Makefile src/modules/immodules/xim/Makefile src/modules/immodules/scim/Makefile src/modules/immodules/ibus/Makefile ecore.spec $po_makefile_in"
32098 cat >confcache <<\_ACEOF
32099 # This file is a shell script that caches the results of configure
32100 # tests run on this system so they can be shared between configure
32101 # scripts and configure runs, see configure's option --config-cache.
32102 # It is not useful on other systems. If it contains results you don't
32103 # want to keep, you may remove or edit it.
32105 # config.status only pays attention to the cache file if you give it
32106 # the --recheck option to rerun configure.
32108 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32109 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32110 # following values.
32114 # The following way of writing the cache mishandles newlines in values,
32115 # but we know of no workaround that is simple, portable, and efficient.
32116 # So, we kill variables containing newlines.
32117 # Ultrix sh set writes to stderr and can't be redirected directly,
32118 # and sets the high bit in the cache file unless we assign to the vars.
32120 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
32121 eval ac_val=\$$ac_var
32125 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
32126 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
32129 _ | IFS | as_nl) ;; #(
32130 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
32131 *) { eval $ac_var=; unset $ac_var;} ;;
32137 case $as_nl`(ac_space=' '; set) 2>&1` in #(
32138 *${as_nl}ac_space=\ *)
32139 # `set' does not quote correctly, so add quotes: double-quote
32140 # substitution turns \\\\ into \\, and sed turns \\ into \.
32143 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32146 # `set' quotes correctly as required by POSIX, so do not add quotes.
32147 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
32156 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32158 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32160 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
32161 if test -w "$cache_file"; then
32162 if test "x$cache_file" != "x/dev/null"; then
32163 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
32164 $as_echo "$as_me: updating cache $cache_file" >&6;}
32165 if test ! -f "$cache_file" || test -h "$cache_file"; then
32166 cat confcache >"$cache_file"
32168 case $cache_file in #(
32170 mv -f confcache "$cache_file"$$ &&
32171 mv -f "$cache_file"$$ "$cache_file" ;; #(
32173 mv -f confcache "$cache_file" ;;
32178 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
32179 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
32184 test "x$prefix" = xNONE && prefix=$ac_default_prefix
32185 # Let make expand exec_prefix.
32186 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
32188 DEFS=-DHAVE_CONFIG_H
32193 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
32194 # 1. Remove the extension, and $U if already installed.
32195 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
32196 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
32197 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
32198 # will be set to the directory where LIBOBJS objects are built.
32199 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
32200 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
32202 LIBOBJS=$ac_libobjs
32204 LTLIBOBJS=$ac_ltlibobjs
32207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
32208 $as_echo_n "checking that generated files are newer than configure... " >&6; }
32209 if test -n "$am_sleep_pid"; then
32210 # Hide warnings about reused PIDs.
32211 wait $am_sleep_pid 2>/dev/null
32213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
32214 $as_echo "done" >&6; }
32215 if test -n "$EXEEXT"; then
32217 am__EXEEXT_FALSE='#'
32219 am__EXEEXT_TRUE='#'
32223 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
32224 as_fn_error $? "conditional \"AMDEP\" was never defined.
32225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32227 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
32228 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
32229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32231 if test -z "${HAVE_PO_TRUE}" && test -z "${HAVE_PO_FALSE}"; then
32232 as_fn_error $? "conditional \"HAVE_PO\" was never defined.
32233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32235 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
32236 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
32237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32239 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
32240 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
32241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32243 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
32244 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
32245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32247 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
32248 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
32249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32251 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
32252 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
32253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32255 if test -z "${ECORE_HAVE_EXOTIC_TRUE}" && test -z "${ECORE_HAVE_EXOTIC_FALSE}"; then
32256 as_fn_error $? "conditional \"ECORE_HAVE_EXOTIC\" was never defined.
32257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32259 if test -z "${ECORE_HAVE_WINCE_TRUE}" && test -z "${ECORE_HAVE_WINCE_FALSE}"; then
32260 as_fn_error $? "conditional \"ECORE_HAVE_WINCE\" was never defined.
32261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32263 if test -z "${ECORE_HAVE_WIN32_TRUE}" && test -z "${ECORE_HAVE_WIN32_FALSE}"; then
32264 as_fn_error $? "conditional \"ECORE_HAVE_WIN32\" was never defined.
32265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32267 if test -z "${ECORE_HAVE_PS3_TRUE}" && test -z "${ECORE_HAVE_PS3_FALSE}"; then
32268 as_fn_error $? "conditional \"ECORE_HAVE_PS3\" was never defined.
32269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32271 if test -z "${BUILD_ECORE_X_XLIB_TRUE}" && test -z "${BUILD_ECORE_X_XLIB_FALSE}"; then
32272 as_fn_error $? "conditional \"BUILD_ECORE_X_XLIB\" was never defined.
32273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32275 if test -z "${BUILD_ECORE_X_XCB_TRUE}" && test -z "${BUILD_ECORE_X_XCB_FALSE}"; then
32276 as_fn_error $? "conditional \"BUILD_ECORE_X_XCB\" was never defined.
32277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32280 if test -z "${BUILD_ECORE_CON_TRUE}" && test -z "${BUILD_ECORE_CON_FALSE}"; then
32281 as_fn_error $? "conditional \"BUILD_ECORE_CON\" was never defined.
32282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32284 if test -z "${EFL_HAVE_WNO_OVERRIDE_INIT_TRUE}" && test -z "${EFL_HAVE_WNO_OVERRIDE_INIT_FALSE}"; then
32285 as_fn_error $? "conditional \"EFL_HAVE_WNO_OVERRIDE_INIT\" was never defined.
32286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32288 if test -z "${EFL_HAVE_WNO_INITIALIZER_OVERRIDES_TRUE}" && test -z "${EFL_HAVE_WNO_INITIALIZER_OVERRIDES_FALSE}"; then
32289 as_fn_error $? "conditional \"EFL_HAVE_WNO_INITIALIZER_OVERRIDES\" was never defined.
32290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32292 if test -z "${HAVE_IPV6_TRUE}" && test -z "${HAVE_IPV6_FALSE}"; then
32293 as_fn_error $? "conditional \"HAVE_IPV6\" was never defined.
32294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32296 if test -z "${HAVE_CARES_TRUE}" && test -z "${HAVE_CARES_FALSE}"; then
32297 as_fn_error $? "conditional \"HAVE_CARES\" was never defined.
32298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32300 if test -z "${BUILD_ECORE_IPC_TRUE}" && test -z "${BUILD_ECORE_IPC_FALSE}"; then
32301 as_fn_error $? "conditional \"BUILD_ECORE_IPC\" was never defined.
32302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32304 if test -z "${BUILD_ECORE_FILE_TRUE}" && test -z "${BUILD_ECORE_FILE_FALSE}"; then
32305 as_fn_error $? "conditional \"BUILD_ECORE_FILE\" was never defined.
32306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32308 if test -z "${BUILD_ECORE_CONFIG_TRUE}" && test -z "${BUILD_ECORE_CONFIG_FALSE}"; then
32309 as_fn_error $? "conditional \"BUILD_ECORE_CONFIG\" was never defined.
32310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32312 if test -z "${BUILD_ECORE_IMF_TRUE}" && test -z "${BUILD_ECORE_IMF_FALSE}"; then
32313 as_fn_error $? "conditional \"BUILD_ECORE_IMF\" was never defined.
32314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32316 if test -z "${BUILD_ECORE_IMF_EVAS_TRUE}" && test -z "${BUILD_ECORE_IMF_EVAS_FALSE}"; then
32317 as_fn_error $? "conditional \"BUILD_ECORE_IMF_EVAS\" was never defined.
32318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32320 if test -z "${BUILD_ECORE_INPUT_TRUE}" && test -z "${BUILD_ECORE_INPUT_FALSE}"; then
32321 as_fn_error $? "conditional \"BUILD_ECORE_INPUT\" was never defined.
32322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32324 if test -z "${BUILD_ECORE_INPUT_EVAS_TRUE}" && test -z "${BUILD_ECORE_INPUT_EVAS_FALSE}"; then
32325 as_fn_error $? "conditional \"BUILD_ECORE_INPUT_EVAS\" was never defined.
32326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32328 if test -z "${BUILD_ECORE_IMF_XIM_TRUE}" && test -z "${BUILD_ECORE_IMF_XIM_FALSE}"; then
32329 as_fn_error $? "conditional \"BUILD_ECORE_IMF_XIM\" was never defined.
32330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32332 if test -z "${BUILD_ECORE_IMF_XIM_TRUE}" && test -z "${BUILD_ECORE_IMF_XIM_FALSE}"; then
32333 as_fn_error $? "conditional \"BUILD_ECORE_IMF_XIM\" was never defined.
32334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32336 if test -z "${BUILD_ECORE_IMF_SCIM_TRUE}" && test -z "${BUILD_ECORE_IMF_SCIM_FALSE}"; then
32337 as_fn_error $? "conditional \"BUILD_ECORE_IMF_SCIM\" was never defined.
32338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32340 if test -z "${BUILD_ECORE_IMF_SCIM_TRUE}" && test -z "${BUILD_ECORE_IMF_SCIM_FALSE}"; then
32341 as_fn_error $? "conditional \"BUILD_ECORE_IMF_SCIM\" was never defined.
32342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32344 if test -z "${BUILD_ECORE_X_TRUE}" && test -z "${BUILD_ECORE_X_FALSE}"; then
32345 as_fn_error $? "conditional \"BUILD_ECORE_X\" was never defined.
32346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32348 if test -z "${BUILD_ECORE_WIN32_TRUE}" && test -z "${BUILD_ECORE_WIN32_FALSE}"; then
32349 as_fn_error $? "conditional \"BUILD_ECORE_WIN32\" was never defined.
32350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32352 if test -z "${BUILD_ECORE_COCOA_TRUE}" && test -z "${BUILD_ECORE_COCOA_FALSE}"; then
32353 as_fn_error $? "conditional \"BUILD_ECORE_COCOA\" was never defined.
32354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32356 if test -z "${BUILD_ECORE_SDL_TRUE}" && test -z "${BUILD_ECORE_SDL_FALSE}"; then
32357 as_fn_error $? "conditional \"BUILD_ECORE_SDL\" was never defined.
32358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32360 if test -z "${BUILD_ECORE_PSL1GHT_TRUE}" && test -z "${BUILD_ECORE_PSL1GHT_FALSE}"; then
32361 as_fn_error $? "conditional \"BUILD_ECORE_PSL1GHT\" was never defined.
32362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32364 if test -z "${BUILD_ECORE_FB_TRUE}" && test -z "${BUILD_ECORE_FB_FALSE}"; then
32365 as_fn_error $? "conditional \"BUILD_ECORE_FB\" was never defined.
32366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32368 if test -z "${BUILD_ECORE_DIRECTFB_TRUE}" && test -z "${BUILD_ECORE_DIRECTFB_FALSE}"; then
32369 as_fn_error $? "conditional \"BUILD_ECORE_DIRECTFB\" was never defined.
32370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32372 if test -z "${BUILD_ECORE_WINCE_TRUE}" && test -z "${BUILD_ECORE_WINCE_FALSE}"; then
32373 as_fn_error $? "conditional \"BUILD_ECORE_WINCE\" was never defined.
32374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32376 if test -z "${BUILD_ECORE_EVAS_TRUE}" && test -z "${BUILD_ECORE_EVAS_FALSE}"; then
32377 as_fn_error $? "conditional \"BUILD_ECORE_EVAS\" was never defined.
32378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32380 if test -z "${BUILD_ECORE_IMF_IBUS_TRUE}" && test -z "${BUILD_ECORE_IMF_IBUS_FALSE}"; then
32381 as_fn_error $? "conditional \"BUILD_ECORE_IMF_IBUS\" was never defined.
32382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32384 if test -z "${BUILD_ECORE_IMF_IBUS_TRUE}" && test -z "${BUILD_ECORE_IMF_IBUS_FALSE}"; then
32385 as_fn_error $? "conditional \"BUILD_ECORE_IMF_IBUS\" was never defined.
32386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32388 if test -z "${BUILD_ECORE_WAYLAND_TRUE}" && test -z "${BUILD_ECORE_WAYLAND_FALSE}"; then
32389 as_fn_error $? "conditional \"BUILD_ECORE_WAYLAND\" was never defined.
32390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32392 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
32393 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
32394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32396 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
32397 as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
32398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32400 if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
32401 as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
32402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32404 if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
32405 as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
32406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32409 : "${CONFIG_STATUS=./config.status}"
32411 ac_clean_files_save=$ac_clean_files
32412 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
32413 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
32414 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
32416 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
32418 # Generated by $as_me.
32419 # Run this file to recreate the current configuration.
32420 # Compiler output produced by configure, useful for debugging
32421 # configure, is in config.log if it exists.
32424 ac_cs_recheck=false
32427 SHELL=\${CONFIG_SHELL-$SHELL}
32430 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
32431 ## -------------------- ##
32432 ## M4sh Initialization. ##
32433 ## -------------------- ##
32435 # Be more Bourne compatible
32436 DUALCASE=1; export DUALCASE # for MKS sh
32437 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
32440 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
32441 # is contrary to our usage. Disable this feature.
32442 alias -g '${1+"$@"}'='"$@"'
32443 setopt NO_GLOB_SUBST
32445 case `(set -o) 2>/dev/null` in #(
32457 # Printing a long string crashes Solaris 7 /usr/bin/printf.
32458 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
32459 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
32460 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
32461 # Prefer a ksh shell builtin over an external printf program on Solaris,
32462 # but without wasting forks for bash or zsh.
32463 if test -z "$BASH_VERSION$ZSH_VERSION" \
32464 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
32465 as_echo='print -r --'
32466 as_echo_n='print -rn --'
32467 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
32468 as_echo='printf %s\n'
32469 as_echo_n='printf %s'
32471 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
32472 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
32473 as_echo_n='/usr/ucb/echo -n'
32475 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
32476 as_echo_n_body='eval
32480 expr "X$arg" : "X\\(.*\\)$as_nl";
32481 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
32483 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
32485 export as_echo_n_body
32486 as_echo_n='sh -c $as_echo_n_body as_echo'
32488 export as_echo_body
32489 as_echo='sh -c $as_echo_body as_echo'
32492 # The user is always right.
32493 if test "${PATH_SEPARATOR+set}" != set; then
32495 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
32496 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
32503 # We need space, tab and new line, in precisely that order. Quoting is
32504 # there to prevent editors from complaining about space-tab.
32505 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
32506 # splitting by setting IFS to empty value.)
32509 # Find who we are. Look in the path if we contain no directory separator.
32512 *[\\/]* ) as_myself=$0 ;;
32513 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32514 for as_dir in $PATH
32517 test -z "$as_dir" && as_dir=.
32518 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
32524 # We did not find ourselves, most probably we were run as `sh COMMAND'
32525 # in which case we are not to be found in the path.
32526 if test "x$as_myself" = x; then
32529 if test ! -f "$as_myself"; then
32530 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
32534 # Unset variables that we do not need and which cause bugs (e.g. in
32535 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
32536 # suppresses any "Segmentation fault" message there. '((' could
32537 # trigger a bug in pdksh 5.2.14.
32538 for as_var in BASH_ENV ENV MAIL MAILPATH
32539 do eval test x\${$as_var+set} = xset \
32540 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
32553 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32556 # as_fn_error STATUS ERROR [LINENO LOG_FD]
32557 # ----------------------------------------
32558 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
32559 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
32560 # script with STATUS, using 1 if that was 0.
32563 as_status=$1; test $as_status -eq 0 && as_status=1
32565 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
32566 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
32568 $as_echo "$as_me: error: $2" >&2
32569 as_fn_exit $as_status
32573 # as_fn_set_status STATUS
32574 # -----------------------
32575 # Set $? to STATUS, without forking.
32576 as_fn_set_status ()
32579 } # as_fn_set_status
32581 # as_fn_exit STATUS
32582 # -----------------
32583 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
32587 as_fn_set_status $1
32593 # Portably unset VAR.
32596 { eval $1=; unset $1;}
32598 as_unset=as_fn_unset
32599 # as_fn_append VAR VALUE
32600 # ----------------------
32601 # Append the text in VALUE to the end of the definition contained in VAR. Take
32602 # advantage of any shell optimizations that allow amortized linear growth over
32603 # repeated appends, instead of the typical quadratic growth present in naive
32605 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
32606 eval 'as_fn_append ()
32617 # as_fn_arith ARG...
32618 # ------------------
32619 # Perform arithmetic evaluation on the ARGs, and store the result in the
32620 # global $as_val. Take advantage of shells that can avoid forks. The arguments
32621 # must be portable across $(()) and expr.
32622 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
32623 eval 'as_fn_arith ()
32630 as_val=`expr "$@" || test $? -eq 1`
32635 if expr a : '\(a\)' >/dev/null 2>&1 &&
32636 test "X`expr 00001 : '.*\(...\)'`" = X001; then
32642 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
32643 as_basename=basename
32648 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
32654 as_me=`$as_basename -- "$0" ||
32655 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
32656 X"$0" : 'X\(//\)$' \| \
32657 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
32659 sed '/^.*\/\([^/][^/]*\)\/*$/{
32673 # Avoid depending upon Character Ranges.
32674 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
32675 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32676 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
32677 as_cr_digits='0123456789'
32678 as_cr_alnum=$as_cr_Letters$as_cr_digits
32680 ECHO_C= ECHO_N= ECHO_T=
32681 case `echo -n x` in #(((((
32683 case `echo 'xy\c'` in
32684 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
32686 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
32693 rm -f conf$$ conf$$.exe conf$$.file
32694 if test -d conf$$.dir; then
32695 rm -f conf$$.dir/conf$$.file
32698 mkdir conf$$.dir 2>/dev/null
32700 if (echo >conf$$.file) 2>/dev/null; then
32701 if ln -s conf$$.file conf$$ 2>/dev/null; then
32703 # ... but there are two gotchas:
32704 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
32705 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
32706 # In both cases, we have to default to `cp -pR'.
32707 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
32709 elif ln conf$$.file conf$$ 2>/dev/null; then
32717 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
32718 rmdir conf$$.dir 2>/dev/null
32723 # Create "$as_dir" as a directory, including parents if necessary.
32728 -*) as_dir=./$as_dir;;
32730 test -d "$as_dir" || eval $as_mkdir_p || {
32734 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32735 *) as_qdir=$as_dir;;
32737 as_dirs="'$as_qdir' $as_dirs"
32738 as_dir=`$as_dirname -- "$as_dir" ||
32739 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32740 X"$as_dir" : 'X\(//\)[^/]' \| \
32741 X"$as_dir" : 'X\(//\)$' \| \
32742 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32743 $as_echo X"$as_dir" |
32744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32748 /^X\(\/\/\)[^/].*/{
32761 test -d "$as_dir" && break
32763 test -z "$as_dirs" || eval "mkdir $as_dirs"
32764 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
32768 if mkdir -p . 2>/dev/null; then
32769 as_mkdir_p='mkdir -p "$as_dir"'
32771 test -d ./-p && rmdir ./-p
32776 # as_fn_executable_p FILE
32777 # -----------------------
32778 # Test if FILE is an executable regular file.
32779 as_fn_executable_p ()
32781 test -f "$1" && test -x "$1"
32782 } # as_fn_executable_p
32783 as_test_x='test -x'
32784 as_executable_p=as_fn_executable_p
32786 # Sed expression to map a string onto a valid CPP name.
32787 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
32789 # Sed expression to map a string onto a valid variable name.
32790 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32794 ## ----------------------------------- ##
32795 ## Main body of $CONFIG_STATUS script. ##
32796 ## ----------------------------------- ##
32798 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
32800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32801 # Save the log message, to keep $0 and so on meaningful, and to
32802 # report actual input values of CONFIG_FILES etc. instead of their
32803 # values after options handling.
32805 This file was extended by ecore $as_me 1.7.8, which was
32806 generated by GNU Autoconf 2.69. Invocation command line was
32808 CONFIG_FILES = $CONFIG_FILES
32809 CONFIG_HEADERS = $CONFIG_HEADERS
32810 CONFIG_LINKS = $CONFIG_LINKS
32811 CONFIG_COMMANDS = $CONFIG_COMMANDS
32814 on `(hostname || uname -n) 2>/dev/null | sed 1q`
32819 case $ac_config_files in *"
32820 "*) set x $ac_config_files; shift; ac_config_files=$*;;
32823 case $ac_config_headers in *"
32824 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
32828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32829 # Files that config.status was made for.
32830 config_files="$ac_config_files"
32831 config_headers="$ac_config_headers"
32832 config_commands="$ac_config_commands"
32836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32838 \`$as_me' instantiates files and other configuration actions
32839 from templates according to the current configuration. Unless the files
32840 and actions are specified as TAGs, all are instantiated by default.
32842 Usage: $0 [OPTION]... [TAG]...
32844 -h, --help print this help, then exit
32845 -V, --version print version number and configuration settings, then exit
32846 --config print configuration, then exit
32847 -q, --quiet, --silent
32848 do not print progress messages
32849 -d, --debug don't remove temporary files
32850 --recheck update $as_me by reconfiguring in the same conditions
32851 --file=FILE[:TEMPLATE]
32852 instantiate the configuration file FILE
32853 --header=FILE[:TEMPLATE]
32854 instantiate the configuration header FILE
32856 Configuration files:
32859 Configuration headers:
32862 Configuration commands:
32865 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
32868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32869 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32871 ecore config.status 1.7.8
32872 configured by $0, generated by GNU Autoconf 2.69,
32873 with options \\"\$ac_cs_config\\"
32875 Copyright (C) 2012 Free Software Foundation, Inc.
32876 This config.status script is free software; the Free Software Foundation
32877 gives unlimited permission to copy, distribute and modify it."
32884 test -n "\$AWK" || AWK=awk
32887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32888 # The default lists apply if the user does not specify any file.
32894 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32895 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
32899 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32911 # Handling of the options.
32912 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32914 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
32915 $as_echo "$ac_cs_version"; exit ;;
32916 --config | --confi | --conf | --con | --co | --c )
32917 $as_echo "$ac_cs_config"; exit ;;
32918 --debug | --debu | --deb | --de | --d | -d )
32920 --file | --fil | --fi | --f )
32923 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32924 '') as_fn_error $? "missing file argument" ;;
32926 as_fn_append CONFIG_FILES " '$ac_optarg'"
32927 ac_need_defaults=false;;
32928 --header | --heade | --head | --hea )
32931 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32933 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
32934 ac_need_defaults=false;;
32936 # Conflict between --help and --header
32937 as_fn_error $? "ambiguous option: \`$1'
32938 Try \`$0 --help' for more information.";;
32939 --help | --hel | -h )
32940 $as_echo "$ac_cs_usage"; exit ;;
32941 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
32942 | -silent | --silent | --silen | --sile | --sil | --si | --s)
32945 # This is an error.
32946 -*) as_fn_error $? "unrecognized option: \`$1'
32947 Try \`$0 --help' for more information." ;;
32949 *) as_fn_append ac_config_targets " $1"
32950 ac_need_defaults=false ;;
32956 ac_configure_extra_args=
32958 if $ac_cs_silent; then
32960 ac_configure_extra_args="$ac_configure_extra_args --silent"
32964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32965 if \$ac_cs_recheck; then
32966 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32968 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32969 CONFIG_SHELL='$SHELL'
32970 export CONFIG_SHELL
32975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32979 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32980 ## Running $as_me. ##
32986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32990 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32993 # The HP-UX ksh and POSIX shell print the target directory to stdout
32994 # if CDPATH is set.
32995 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32997 sed_quote_subst='$sed_quote_subst'
32998 double_quote_subst='$double_quote_subst'
32999 delay_variable_subst='$delay_variable_subst'
33000 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
33001 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
33002 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
33003 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
33004 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
33005 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
33006 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
33007 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
33008 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
33009 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
33010 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
33011 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
33012 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
33013 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
33014 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
33015 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
33016 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
33017 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
33018 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
33019 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
33020 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
33021 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
33022 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
33023 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
33024 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
33025 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
33026 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
33027 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
33028 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
33029 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
33030 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
33031 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
33032 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
33033 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
33034 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
33035 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
33036 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
33037 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
33038 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
33039 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
33040 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
33041 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
33042 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
33043 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
33044 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
33045 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
33046 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
33047 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
33048 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
33049 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
33050 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
33051 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
33052 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
33053 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
33054 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
33055 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
33056 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
33057 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"`'
33058 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
33059 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
33060 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
33061 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
33062 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
33063 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
33064 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
33065 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
33066 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
33067 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
33068 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
33069 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
33070 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
33071 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
33072 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
33073 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
33074 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
33075 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
33076 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
33077 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
33078 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
33079 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
33080 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
33081 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
33082 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
33083 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
33084 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
33085 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
33086 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
33087 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
33088 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
33089 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
33090 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
33091 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
33092 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
33093 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
33094 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
33095 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
33096 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
33097 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
33098 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
33099 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
33100 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
33101 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
33102 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
33103 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
33104 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
33105 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
33106 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
33107 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
33108 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
33109 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
33110 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
33111 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
33112 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
33113 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
33114 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
33115 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
33116 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
33117 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
33118 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
33119 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
33120 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
33121 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
33122 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
33123 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
33124 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
33125 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
33126 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
33127 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
33128 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
33129 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
33130 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
33131 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
33132 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
33133 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
33134 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
33135 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
33136 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
33137 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
33138 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
33139 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33140 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33141 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
33142 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
33143 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
33144 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
33145 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
33146 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
33147 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
33148 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
33149 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
33150 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
33151 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
33152 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
33153 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33154 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33155 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33156 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33157 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33158 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33159 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
33160 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
33161 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
33162 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
33163 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
33164 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
33165 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
33166 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
33167 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
33168 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
33169 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
33170 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
33171 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
33172 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33173 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
33174 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
33175 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33176 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33177 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
33178 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
33179 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
33180 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
33181 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
33182 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
33183 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
33184 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
33187 LTCFLAGS='$LTCFLAGS'
33188 compiler='$compiler_DEFAULT'
33190 # A function that is used when there is no print builtin or printf.
33191 func_fallback_echo ()
33193 eval 'cat <<_LTECHO_EOF
33198 # Quote evaled strings.
33215 deplibs_check_method \
33219 sharedlib_from_linklib_cmd \
33222 archiver_list_spec \
33228 lt_cv_sys_global_symbol_pipe \
33229 lt_cv_sys_global_symbol_to_cdecl \
33230 lt_cv_sys_global_symbol_to_c_name_address \
33231 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
33232 nm_file_list_spec \
33233 lt_prog_compiler_no_builtin_flag \
33234 lt_prog_compiler_pic \
33235 lt_prog_compiler_wl \
33236 lt_prog_compiler_static \
33237 lt_cv_prog_compiler_c_o \
33246 export_dynamic_flag_spec \
33247 whole_archive_flag_spec \
33248 compiler_needs_object \
33250 allow_undefined_flag \
33251 no_undefined_flag \
33252 hardcode_libdir_flag_spec \
33253 hardcode_libdir_separator \
33257 variables_saved_for_relink \
33259 library_names_spec \
33261 install_override_mode \
33265 compiler_lib_search_dirs \
33270 compiler_lib_search_path \
33274 lt_prog_compiler_no_builtin_flag_CXX \
33275 lt_prog_compiler_pic_CXX \
33276 lt_prog_compiler_wl_CXX \
33277 lt_prog_compiler_static_CXX \
33278 lt_cv_prog_compiler_c_o_CXX \
33279 export_dynamic_flag_spec_CXX \
33280 whole_archive_flag_spec_CXX \
33281 compiler_needs_object_CXX \
33283 allow_undefined_flag_CXX \
33284 no_undefined_flag_CXX \
33285 hardcode_libdir_flag_spec_CXX \
33286 hardcode_libdir_separator_CXX \
33287 exclude_expsyms_CXX \
33288 include_expsyms_CXX \
33289 file_list_spec_CXX \
33290 compiler_lib_search_dirs_CXX \
33291 predep_objects_CXX \
33292 postdep_objects_CXX \
33295 compiler_lib_search_path_CXX; do
33296 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
33297 *[\\\\\\\`\\"\\\$]*)
33298 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
33301 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33306 # Double-quote double-evaled strings.
33307 for var in reload_cmds \
33308 old_postinstall_cmds \
33309 old_postuninstall_cmds \
33311 extract_expsyms_cmds \
33312 old_archive_from_new_cmds \
33313 old_archive_from_expsyms_cmds \
33315 archive_expsym_cmds \
33317 module_expsym_cmds \
33318 export_symbols_cmds \
33322 postuninstall_cmds \
33324 sys_lib_search_path_spec \
33325 sys_lib_dlsearch_path_spec \
33327 old_archive_cmds_CXX \
33328 old_archive_from_new_cmds_CXX \
33329 old_archive_from_expsyms_cmds_CXX \
33331 archive_expsym_cmds_CXX \
33333 module_expsym_cmds_CXX \
33334 export_symbols_cmds_CXX \
33336 postlink_cmds_CXX; do
33337 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
33338 *[\\\\\\\`\\"\\\$]*)
33339 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
33342 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33347 ac_aux_dir='$ac_aux_dir'
33348 xsi_shell='$xsi_shell'
33349 lt_shell_append='$lt_shell_append'
33351 # See if we are running on zsh, and set the options which allow our
33352 # commands through without removal of \ escapes INIT.
33353 if test -n "\${ZSH_VERSION+set}" ; then
33354 setopt NO_GLOB_SUBST
33360 TIMESTAMP='$TIMESTAMP'
33368 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
33369 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
33370 # from automake < 1.5.
33371 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
33372 # Capture the value of LINGUAS because we need it to compute CATALOGS.
33373 LINGUAS="${LINGUAS-%UNSET%}"
33378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33380 # Handling of arguments.
33381 for ac_config_target in $ac_config_targets
33383 case $ac_config_target in
33384 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
33385 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33386 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
33387 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
33388 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33389 "ecore-con.pc") CONFIG_FILES="$CONFIG_FILES ecore-con.pc" ;;
33390 "ecore-config.pc") CONFIG_FILES="$CONFIG_FILES ecore-config.pc" ;;
33391 "ecore-directfb.pc") CONFIG_FILES="$CONFIG_FILES ecore-directfb.pc" ;;
33392 "ecore-evas.pc") CONFIG_FILES="$CONFIG_FILES ecore-evas.pc" ;;
33393 "ecore-fb.pc") CONFIG_FILES="$CONFIG_FILES ecore-fb.pc" ;;
33394 "ecore-file.pc") CONFIG_FILES="$CONFIG_FILES ecore-file.pc" ;;
33395 "ecore-imf.pc") CONFIG_FILES="$CONFIG_FILES ecore-imf.pc" ;;
33396 "ecore-imf-evas.pc") CONFIG_FILES="$CONFIG_FILES ecore-imf-evas.pc" ;;
33397 "ecore-ipc.pc") CONFIG_FILES="$CONFIG_FILES ecore-ipc.pc" ;;
33398 "ecore-x.pc") CONFIG_FILES="$CONFIG_FILES ecore-x.pc" ;;
33399 "ecore-input.pc") CONFIG_FILES="$CONFIG_FILES ecore-input.pc" ;;
33400 "ecore-input-evas.pc") CONFIG_FILES="$CONFIG_FILES ecore-input-evas.pc" ;;
33401 "ecore-win32.pc") CONFIG_FILES="$CONFIG_FILES ecore-win32.pc" ;;
33402 "ecore-sdl.pc") CONFIG_FILES="$CONFIG_FILES ecore-sdl.pc" ;;
33403 "ecore-cocoa.pc") CONFIG_FILES="$CONFIG_FILES ecore-cocoa.pc" ;;
33404 "ecore-psl1ght.pc") CONFIG_FILES="$CONFIG_FILES ecore-psl1ght.pc" ;;
33405 "ecore-wince.pc") CONFIG_FILES="$CONFIG_FILES ecore-wince.pc" ;;
33406 "ecore-wayland.pc") CONFIG_FILES="$CONFIG_FILES ecore-wayland.pc" ;;
33407 "ecore.pc") CONFIG_FILES="$CONFIG_FILES ecore.pc" ;;
33408 "doc/ecore.dox") CONFIG_FILES="$CONFIG_FILES doc/ecore.dox" ;;
33409 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
33410 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
33411 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
33412 "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;;
33413 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
33414 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
33415 "src/lib/ecore/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore/Makefile" ;;
33416 "src/lib/ecore_con/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_con/Makefile" ;;
33417 "src/lib/ecore_config/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_config/Makefile" ;;
33418 "src/lib/ecore_directfb/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_directfb/Makefile" ;;
33419 "src/lib/ecore_evas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_evas/Makefile" ;;
33420 "src/lib/ecore_fb/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_fb/Makefile" ;;
33421 "src/lib/ecore_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_file/Makefile" ;;
33422 "src/lib/ecore_cocoa/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_cocoa/Makefile" ;;
33423 "src/lib/ecore_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_sdl/Makefile" ;;
33424 "src/lib/ecore_psl1ght/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_psl1ght/Makefile" ;;
33425 "src/lib/ecore_imf/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_imf/Makefile" ;;
33426 "src/lib/ecore_imf_evas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_imf_evas/Makefile" ;;
33427 "src/lib/ecore_input/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_input/Makefile" ;;
33428 "src/lib/ecore_input_evas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_input_evas/Makefile" ;;
33429 "src/lib/ecore_ipc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_ipc/Makefile" ;;
33430 "src/lib/ecore_win32/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_win32/Makefile" ;;
33431 "src/lib/ecore_wince/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_wince/Makefile" ;;
33432 "src/lib/ecore_x/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_x/Makefile" ;;
33433 "src/lib/ecore_x/xlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_x/xlib/Makefile" ;;
33434 "src/lib/ecore_x/xcb/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_x/xcb/Makefile" ;;
33435 "src/lib/ecore_wayland/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_wayland/Makefile" ;;
33436 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
33437 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
33438 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
33439 "src/modules/immodules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/immodules/Makefile" ;;
33440 "src/modules/immodules/xim/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/immodules/xim/Makefile" ;;
33441 "src/modules/immodules/scim/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/immodules/scim/Makefile" ;;
33442 "src/modules/immodules/ibus/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/immodules/ibus/Makefile" ;;
33443 "ecore.spec") CONFIG_FILES="$CONFIG_FILES ecore.spec" ;;
33444 "$po_makefile_in") CONFIG_FILES="$CONFIG_FILES $po_makefile_in" ;;
33446 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
33451 # If the user did not use the arguments to specify the items to instantiate,
33452 # then the envvar interface is used. Set only those that are not.
33453 # We use the long form for the default assignment because of an extremely
33454 # bizarre bug on SunOS 4.1.3.
33455 if $ac_need_defaults; then
33456 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
33457 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
33458 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
33461 # Have a temporary directory for convenience. Make it in the build tree
33462 # simply because there is no reason against having it here, and in addition,
33463 # creating and moving files from /tmp can sometimes cause problems.
33464 # Hook for its removal unless debugging.
33465 # Note that there is a small window in which the directory will not be cleaned:
33466 # after its creation but before its name has been assigned to `$tmp'.
33470 trap 'exit_status=$?
33471 : "${ac_tmp:=$tmp}"
33472 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
33474 trap 'as_fn_exit 1' 1 2 13 15
33476 # Create a (secure) tmp directory for tmp files.
33479 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
33483 tmp=./conf$$-$RANDOM
33484 (umask 077 && mkdir "$tmp")
33485 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
33488 # Set up the scripts for CONFIG_FILES section.
33489 # No need to generate them if there are no CONFIG_FILES.
33490 # This happens for instance with `./config.status config.h'.
33491 if test -n "$CONFIG_FILES"; then
33494 ac_cr=`echo X | tr X '\015'`
33495 # On cygwin, bash can eat \r inside `` if the user requested igncr.
33496 # But we know of no other shell where ac_cr would be empty at this
33497 # point, so we can use a bashism as a fallback.
33498 if test "x$ac_cr" = x; then
33499 eval ac_cr=\$\'\\r\'
33501 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
33502 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
33505 ac_cs_awk_cr=$ac_cr
33508 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
33513 echo "cat >conf$$subs.awk <<_ACEOF" &&
33514 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
33516 } >conf$$subs.sh ||
33517 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
33518 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
33520 for ac_last_try in false false false false false :; do
33521 . ./conf$$subs.sh ||
33522 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
33524 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
33525 if test $ac_delim_n = $ac_delim_num; then
33527 elif $ac_last_try; then
33528 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
33530 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33533 rm -f conf$$subs.sh
33535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33536 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
33540 s/^/S["/; s/!.*/"]=/
33550 s/\(.\{148\}\)..*/\1/
33552 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
33557 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
33564 s/\(.\{148\}\)..*/\1/
33566 s/["\\]/\\&/g; s/^/"/; s/$/"/
33570 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
33575 ' <conf$$subs.awk | sed '
33580 ' >>$CONFIG_STATUS || ac_write_fail=1
33581 rm -f conf$$subs.awk
33582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33584 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
33585 for (key in S) S_is_set[key] = 1
33591 nfields = split(line, field, "@")
33593 len = length(field[1])
33594 for (i = 2; i < nfields; i++) {
33596 keylen = length(key)
33597 if (S_is_set[key]) {
33599 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
33600 len += length(value) + length(field[++i])
33611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33612 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
33613 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
33616 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
33617 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
33620 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
33621 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
33622 # trailing colons and then remove the whole line if VPATH becomes empty
33623 # (actually we leave an empty line to preserve line numbers).
33624 if test "x$srcdir" = x.; then
33625 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
33643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33644 fi # test -n "$CONFIG_FILES"
33646 # Set up the scripts for CONFIG_HEADERS section.
33647 # No need to generate them if there are no CONFIG_HEADERS.
33648 # This happens for instance with `./config.status Makefile'.
33649 if test -n "$CONFIG_HEADERS"; then
33650 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
33654 # Transform confdefs.h into an awk script `defines.awk', embedded as
33655 # here-document in config.status, that substitutes the proper values into
33656 # config.h.in to produce config.h.
33658 # Create a delimiter string that does not exist in confdefs.h, to ease
33659 # handling of long lines.
33661 for ac_last_try in false false :; do
33662 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
33663 if test -z "$ac_tt"; then
33665 elif $ac_last_try; then
33666 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
33668 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33672 # For the awk script, D is an array of macro values keyed by name,
33673 # likewise P contains macro parameters if any. Preserve backslash
33674 # newline sequences.
33676 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
33678 s/.\{148\}/&'"$ac_delim"'/g
33681 s/^[ ]*#[ ]*define[ ][ ]*/ /
33688 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
33690 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
33694 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
33695 D["\1"]=" \3\\\\\\n"\\/p
33697 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
33702 s/.\{148\}/&'"$ac_delim"'/g
33707 s/["\\]/\\&/g; s/^/"/; s/$/"/p
33710 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
33712 ' <confdefs.h | sed '
33713 s/'"$ac_delim"'/"\\\
33714 "/g' >>$CONFIG_STATUS || ac_write_fail=1
33716 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33717 for (key in D) D_is_set[key] = 1
33720 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
33722 split(line, arg, " ")
33723 if (arg[1] == "#") {
33727 defundef = substr(arg[1], 2)
33730 split(mac1, mac2, "(") #)
33732 prefix = substr(line, 1, index(line, defundef) - 1)
33733 if (D_is_set[macro]) {
33734 # Preserve the white space surrounding the "#".
33735 print prefix "define", macro P[macro] D[macro]
33738 # Replace #undef with comments. This is necessary, for example,
33739 # in the case of _POSIX_SOURCE, which is predefined and required
33740 # on some systems where configure will not decide to define it.
33741 if (defundef == "undef") {
33742 print "/*", prefix defundef, macro, "*/"
33750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33751 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
33752 fi # test -n "$CONFIG_HEADERS"
33755 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
33760 :[FHLC]) ac_mode=$ac_tag; continue;;
33762 case $ac_mode$ac_tag in
33764 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
33765 :[FH]-) ac_tag=-:-;;
33766 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
33783 -) ac_f="$ac_tmp/stdin";;
33784 *) # Look for the file first in the build tree, then in the source tree
33785 # (if the path is not absolute). The absolute path cannot be DOS-style,
33786 # because $ac_f cannot contain `:'.
33790 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
33792 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
33794 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
33795 as_fn_append ac_file_inputs " '$ac_f'"
33798 # Let's still pretend it is `configure' which instantiates (i.e., don't
33799 # use $as_me), people would be surprised to read:
33800 # /* config.h. Generated by config.status. */
33801 configure_input='Generated from '`
33802 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
33804 if test x"$ac_file" != x-; then
33805 configure_input="$ac_file. $configure_input"
33806 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
33807 $as_echo "$as_me: creating $ac_file" >&6;}
33809 # Neutralize special characters interpreted by sed in replacement strings.
33810 case $configure_input in #(
33811 *\&* | *\|* | *\\* )
33812 ac_sed_conf_input=`$as_echo "$configure_input" |
33813 sed 's/[\\\\&|]/\\\\&/g'`;; #(
33814 *) ac_sed_conf_input=$configure_input;;
33818 *:-:* | *:-) cat >"$ac_tmp/stdin" \
33819 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
33824 ac_dir=`$as_dirname -- "$ac_file" ||
33825 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33826 X"$ac_file" : 'X\(//\)[^/]' \| \
33827 X"$ac_file" : 'X\(//\)$' \| \
33828 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
33829 $as_echo X"$ac_file" |
33830 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33834 /^X\(\/\/\)[^/].*/{
33847 as_dir="$ac_dir"; as_fn_mkdir_p
33851 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
33853 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
33854 # A ".." for each directory in $ac_dir_suffix.
33855 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
33856 case $ac_top_builddir_sub in
33857 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
33858 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
33861 ac_abs_top_builddir=$ac_pwd
33862 ac_abs_builddir=$ac_pwd$ac_dir_suffix
33863 # for backward compatibility:
33864 ac_top_builddir=$ac_top_build_prefix
33867 .) # We are building in place.
33869 ac_top_srcdir=$ac_top_builddir_sub
33870 ac_abs_top_srcdir=$ac_pwd ;;
33871 [\\/]* | ?:[\\/]* ) # Absolute name.
33872 ac_srcdir=$srcdir$ac_dir_suffix;
33873 ac_top_srcdir=$srcdir
33874 ac_abs_top_srcdir=$srcdir ;;
33875 *) # Relative name.
33876 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
33877 ac_top_srcdir=$ac_top_build_prefix$srcdir
33878 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
33880 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
33890 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
33891 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
33893 ac_MKDIR_P=$MKDIR_P
33895 [\\/$]* | ?:[\\/]* ) ;;
33896 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
33900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33901 # If the template does not know about datarootdir, expand it.
33902 # FIXME: This hack should be removed a few years after 2.60.
33903 ac_datarootdir_hack=; ac_datarootdir_seen=
33914 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33915 *datarootdir*) ac_datarootdir_seen=yes;;
33916 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
33917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33918 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33921 ac_datarootdir_hack='
33922 s&@datadir@&$datadir&g
33923 s&@docdir@&$docdir&g
33924 s&@infodir@&$infodir&g
33925 s&@localedir@&$localedir&g
33926 s&@mandir@&$mandir&g
33927 s&\\\${datarootdir}&$datarootdir&g' ;;
33931 # Neutralize VPATH when `$srcdir' = `.'.
33932 # Shell code in configure.ac might set extrasub.
33933 # FIXME: do we really want to maintain this feature?
33934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33935 ac_sed_extra="$ac_vpsub
33938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33940 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33941 s|@configure_input@|$ac_sed_conf_input|;t t
33942 s&@top_builddir@&$ac_top_builddir_sub&;t t
33943 s&@top_build_prefix@&$ac_top_build_prefix&;t t
33944 s&@srcdir@&$ac_srcdir&;t t
33945 s&@abs_srcdir@&$ac_abs_srcdir&;t t
33946 s&@top_srcdir@&$ac_top_srcdir&;t t
33947 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
33948 s&@builddir@&$ac_builddir&;t t
33949 s&@abs_builddir@&$ac_abs_builddir&;t t
33950 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
33951 s&@INSTALL@&$ac_INSTALL&;t t
33952 s&@MKDIR_P@&$ac_MKDIR_P&;t t
33953 $ac_datarootdir_hack
33955 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
33956 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33958 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33959 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
33960 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
33961 "$ac_tmp/out"`; test -z "$ac_out"; } &&
33962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33963 which seems to be undefined. Please make sure it is defined" >&5
33964 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33965 which seems to be undefined. Please make sure it is defined" >&2;}
33967 rm -f "$ac_tmp/stdin"
33969 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33970 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33972 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33978 if test x"$ac_file" != x-; then
33980 $as_echo "/* $configure_input */" \
33981 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33982 } >"$ac_tmp/config.h" \
33983 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33984 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33985 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33986 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33989 mv "$ac_tmp/config.h" "$ac_file" \
33990 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33993 $as_echo "/* $configure_input */" \
33994 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33995 || as_fn_error $? "could not create -" "$LINENO" 5
33997 # Compute "$ac_file"'s index in $config_headers.
34000 for _am_header in $config_headers :; do
34001 case $_am_header in
34002 $_am_arg | $_am_arg:* )
34005 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
34008 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
34009 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34010 X"$_am_arg" : 'X\(//\)[^/]' \| \
34011 X"$_am_arg" : 'X\(//\)$' \| \
34012 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
34013 $as_echo X"$_am_arg" |
34014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34018 /^X\(\/\/\)[^/].*/{
34030 s/.*/./; q'`/stamp-h$_am_stamp_count
34033 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
34034 $as_echo "$as_me: executing $ac_file commands" >&6;}
34039 case $ac_file$ac_mode in
34040 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
34041 # Older Autoconf quotes --file arguments for eval, but not when files
34042 # are listed without --file. Let's play safe and only enable the eval
34043 # if we detect the quoting.
34044 case $CONFIG_FILES in
34045 *\'*) eval set x "$CONFIG_FILES" ;;
34046 *) set x $CONFIG_FILES ;;
34051 # Strip MF so we end up with the name of the file.
34052 mf=`echo "$mf" | sed -e 's/:.*$//'`
34053 # Check whether this is an Automake generated Makefile or not.
34054 # We used to match only the files named 'Makefile.in', but
34055 # some people rename them; so instead we look at the file content.
34056 # Grep'ing the first line is not enough: some people post-process
34057 # each Makefile.in and add a new line on top of each file to say so.
34058 # Grep'ing the whole file is not good either: AIX grep has a line
34059 # limit of 2048, but all sed's we know have understand at least 4000.
34060 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
34061 dirpart=`$as_dirname -- "$mf" ||
34062 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34063 X"$mf" : 'X\(//\)[^/]' \| \
34064 X"$mf" : 'X\(//\)$' \| \
34065 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
34067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34071 /^X\(\/\/\)[^/].*/{
34087 # Extract the definition of DEPDIR, am__include, and am__quote
34088 # from the Makefile without running 'make'.
34089 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34090 test -z "$DEPDIR" && continue
34091 am__include=`sed -n 's/^am__include = //p' < "$mf"`
34092 test -z "$am__include" && continue
34093 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34094 # Find all dependency output files, they are included files with
34095 # $(DEPDIR) in their names. We invoke sed twice because it is the
34096 # simplest approach to changing $(DEPDIR) to its actual value in the
34098 for file in `sed -n "
34099 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34100 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
34101 # Make sure the directory exists.
34102 test -f "$dirpart/$file" && continue
34103 fdir=`$as_dirname -- "$file" ||
34104 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34105 X"$file" : 'X\(//\)[^/]' \| \
34106 X"$file" : 'X\(//\)$' \| \
34107 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
34108 $as_echo X"$file" |
34109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34113 /^X\(\/\/\)[^/].*/{
34126 as_dir=$dirpart/$fdir; as_fn_mkdir_p
34127 # echo "creating $dirpart/$file"
34128 echo '# dummy' > "$dirpart/$file"
34135 # See if we are running on zsh, and set the options which allow our
34136 # commands through without removal of \ escapes.
34137 if test -n "${ZSH_VERSION+set}" ; then
34138 setopt NO_GLOB_SUBST
34141 cfgfile="${ofile}T"
34142 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
34145 cat <<_LT_EOF >> "$cfgfile"
34148 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
34149 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
34150 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
34151 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
34153 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
34154 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
34156 # Written by Gordon Matzigkeit, 1996
34158 # This file is part of GNU Libtool.
34160 # GNU Libtool is free software; you can redistribute it and/or
34161 # modify it under the terms of the GNU General Public License as
34162 # published by the Free Software Foundation; either version 2 of
34163 # the License, or (at your option) any later version.
34165 # As a special exception to the GNU General Public License,
34166 # if you distribute this file as part of a program or library that
34167 # is built using GNU Libtool, you may include this file under the
34168 # same distribution terms that you use for the rest of that program.
34170 # GNU Libtool is distributed in the hope that it will be useful,
34171 # but WITHOUT ANY WARRANTY; without even the implied warranty of
34172 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34173 # GNU General Public License for more details.
34175 # You should have received a copy of the GNU General Public License
34176 # along with GNU Libtool; see the file COPYING. If not, a copy
34177 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
34178 # obtained by writing to the Free Software Foundation, Inc.,
34179 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
34182 # The names of the tagged configurations supported by this script.
34183 available_tags="CXX "
34185 # ### BEGIN LIBTOOL CONFIG
34187 # Assembler program.
34190 # DLL creation program.
34191 DLLTOOL=$lt_DLLTOOL
34193 # Object dumper program.
34194 OBJDUMP=$lt_OBJDUMP
34196 # Which release of libtool.m4 was used?
34197 macro_version=$macro_version
34198 macro_revision=$macro_revision
34200 # Whether or not to build shared libraries.
34201 build_libtool_libs=$enable_shared
34203 # Whether or not to build static libraries.
34204 build_old_libs=$enable_static
34206 # What type of objects to build.
34209 # Whether or not to optimize for fast installation.
34210 fast_install=$enable_fast_install
34212 # Shell to use when invoking shell scripts.
34215 # An echo program that protects backslashes.
34218 # The PATH separator for the build system.
34219 PATH_SEPARATOR=$lt_PATH_SEPARATOR
34222 host_alias=$host_alias
34226 # The build system.
34227 build_alias=$build_alias
34231 # A sed program that does not truncate output.
34234 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
34235 Xsed="\$SED -e 1s/^X//"
34237 # A grep program that handles long lines.
34243 # A literal string matcher.
34246 # A BSD- or MS-compatible name lister.
34249 # Whether we need soft or hard links.
34252 # What is the maximum length of a command?
34253 max_cmd_len=$max_cmd_len
34255 # Object file suffix (normally "o").
34258 # Executable file suffix (normally "").
34261 # whether the shell understands "unset".
34264 # turn spaces into newlines.
34267 # turn newlines into spaces.
34270 # convert \$build file names to \$host format.
34271 to_host_file_cmd=$lt_cv_to_host_file_cmd
34273 # convert \$build files to toolchain format.
34274 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
34276 # Method to check whether dependent libraries are shared objects.
34277 deplibs_check_method=$lt_deplibs_check_method
34279 # Command to use when deplibs_check_method = "file_magic".
34280 file_magic_cmd=$lt_file_magic_cmd
34282 # How to find potential files when deplibs_check_method = "file_magic".
34283 file_magic_glob=$lt_file_magic_glob
34285 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
34286 want_nocaseglob=$lt_want_nocaseglob
34288 # Command to associate shared and link libraries.
34289 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
34294 # Flags to create an archive.
34295 AR_FLAGS=$lt_AR_FLAGS
34297 # How to feed a file listing to the archiver.
34298 archiver_list_spec=$lt_archiver_list_spec
34300 # A symbol stripping program.
34303 # Commands used to install an old-style archive.
34305 old_postinstall_cmds=$lt_old_postinstall_cmds
34306 old_postuninstall_cmds=$lt_old_postuninstall_cmds
34308 # Whether to use a lock for old archive extraction.
34309 lock_old_archive_extraction=$lock_old_archive_extraction
34314 # LTCC compiler flags.
34315 LTCFLAGS=$lt_CFLAGS
34317 # Take the output of nm and produce a listing of raw symbols and C names.
34318 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
34320 # Transform the output of nm in a proper C declaration.
34321 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
34323 # Transform the output of nm in a C name address pair.
34324 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
34326 # Transform the output of nm in a C name address pair when lib prefix is needed.
34327 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
34329 # Specify filename containing input files for \$NM.
34330 nm_file_list_spec=$lt_nm_file_list_spec
34332 # The root where to search for dependent libraries,and in which our libraries should be installed.
34333 lt_sysroot=$lt_sysroot
34335 # The name of the directory that contains temporary libtool files.
34338 # Used to examine libraries when file_magic_cmd begins with "file".
34339 MAGIC_CMD=$MAGIC_CMD
34341 # Must we lock files when doing compilation?
34342 need_locks=$lt_need_locks
34345 MANIFEST_TOOL=$lt_MANIFEST_TOOL
34347 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
34348 DSYMUTIL=$lt_DSYMUTIL
34350 # Tool to change global to local symbols on Mac OS X.
34353 # Tool to manipulate fat objects and archives on Mac OS X.
34356 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
34359 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
34360 OTOOL64=$lt_OTOOL64
34362 # Old archive suffix (normally "a").
34365 # Shared library suffix (normally ".so").
34366 shrext_cmds=$lt_shrext_cmds
34368 # The commands to extract the exported symbol list from a shared archive.
34369 extract_expsyms_cmds=$lt_extract_expsyms_cmds
34371 # Variables whose values should be saved in libtool wrapper scripts and
34372 # restored at link time.
34373 variables_saved_for_relink=$lt_variables_saved_for_relink
34375 # Do we need the "lib" prefix for modules?
34376 need_lib_prefix=$need_lib_prefix
34378 # Do we need a version for libraries?
34379 need_version=$need_version
34381 # Library versioning type.
34382 version_type=$version_type
34384 # Shared library runtime path variable.
34385 runpath_var=$runpath_var
34387 # Shared library path variable.
34388 shlibpath_var=$shlibpath_var
34390 # Is shlibpath searched before the hard-coded library search path?
34391 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
34393 # Format of library name prefix.
34394 libname_spec=$lt_libname_spec
34396 # List of archive names. First name is the real one, the rest are links.
34397 # The last name is the one that the linker finds with -lNAME
34398 library_names_spec=$lt_library_names_spec
34400 # The coded name of the library, if different from the real name.
34401 soname_spec=$lt_soname_spec
34403 # Permission mode override for installation of shared libraries.
34404 install_override_mode=$lt_install_override_mode
34406 # Command to use after installation of a shared archive.
34407 postinstall_cmds=$lt_postinstall_cmds
34409 # Command to use after uninstallation of a shared archive.
34410 postuninstall_cmds=$lt_postuninstall_cmds
34412 # Commands used to finish a libtool library installation in a directory.
34413 finish_cmds=$lt_finish_cmds
34415 # As "finish_cmds", except a single script fragment to be evaled but
34417 finish_eval=$lt_finish_eval
34419 # Whether we should hardcode library paths into libraries.
34420 hardcode_into_libs=$hardcode_into_libs
34422 # Compile-time system search path for libraries.
34423 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
34425 # Run-time system search path for libraries.
34426 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
34428 # Whether dlopen is supported.
34429 dlopen_support=$enable_dlopen
34431 # Whether dlopen of programs is supported.
34432 dlopen_self=$enable_dlopen_self
34434 # Whether dlopen of statically linked programs is supported.
34435 dlopen_self_static=$enable_dlopen_self_static
34437 # Commands to strip libraries.
34438 old_striplib=$lt_old_striplib
34439 striplib=$lt_striplib
34442 # The linker used to build libraries.
34445 # How to create reloadable object files.
34446 reload_flag=$lt_reload_flag
34447 reload_cmds=$lt_reload_cmds
34449 # Commands used to build an old-style archive.
34450 old_archive_cmds=$lt_old_archive_cmds
34452 # A language specific compiler.
34455 # Is the compiler the GNU compiler?
34458 # Compiler flag to turn off builtin functions.
34459 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
34461 # Additional compiler flags for building library objects.
34462 pic_flag=$lt_lt_prog_compiler_pic
34464 # How to pass a linker flag through the compiler.
34465 wl=$lt_lt_prog_compiler_wl
34467 # Compiler flag to prevent dynamic linking.
34468 link_static_flag=$lt_lt_prog_compiler_static
34470 # Does compiler simultaneously support -c and -o options?
34471 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
34473 # Whether or not to add -lc for building shared libraries.
34474 build_libtool_need_lc=$archive_cmds_need_lc
34476 # Whether or not to disallow shared libs when runtime libs are static.
34477 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
34479 # Compiler flag to allow reflexive dlopens.
34480 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
34482 # Compiler flag to generate shared objects directly from archives.
34483 whole_archive_flag_spec=$lt_whole_archive_flag_spec
34485 # Whether the compiler copes with passing no objects directly.
34486 compiler_needs_object=$lt_compiler_needs_object
34488 # Create an old-style archive from a shared archive.
34489 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
34491 # Create a temporary old-style archive to link instead of a shared archive.
34492 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
34494 # Commands used to build a shared archive.
34495 archive_cmds=$lt_archive_cmds
34496 archive_expsym_cmds=$lt_archive_expsym_cmds
34498 # Commands used to build a loadable module if different from building
34499 # a shared archive.
34500 module_cmds=$lt_module_cmds
34501 module_expsym_cmds=$lt_module_expsym_cmds
34503 # Whether we are building with GNU ld or not.
34504 with_gnu_ld=$lt_with_gnu_ld
34506 # Flag that allows shared libraries with undefined symbols to be built.
34507 allow_undefined_flag=$lt_allow_undefined_flag
34509 # Flag that enforces no undefined symbols.
34510 no_undefined_flag=$lt_no_undefined_flag
34512 # Flag to hardcode \$libdir into a binary during linking.
34513 # This must work even if \$libdir does not exist
34514 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
34516 # Whether we need a single "-rpath" flag with a separated argument.
34517 hardcode_libdir_separator=$lt_hardcode_libdir_separator
34519 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34520 # DIR into the resulting binary.
34521 hardcode_direct=$hardcode_direct
34523 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34524 # DIR into the resulting binary and the resulting library dependency is
34525 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34526 # library is relocated.
34527 hardcode_direct_absolute=$hardcode_direct_absolute
34529 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34530 # into the resulting binary.
34531 hardcode_minus_L=$hardcode_minus_L
34533 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34534 # into the resulting binary.
34535 hardcode_shlibpath_var=$hardcode_shlibpath_var
34537 # Set to "yes" if building a shared library automatically hardcodes DIR
34538 # into the library and all subsequent libraries and executables linked
34540 hardcode_automatic=$hardcode_automatic
34542 # Set to yes if linker adds runtime paths of dependent libraries
34543 # to runtime path list.
34544 inherit_rpath=$inherit_rpath
34546 # Whether libtool must link a program against all its dependency libraries.
34547 link_all_deplibs=$link_all_deplibs
34549 # Set to "yes" if exported symbols are required.
34550 always_export_symbols=$always_export_symbols
34552 # The commands to list exported symbols.
34553 export_symbols_cmds=$lt_export_symbols_cmds
34555 # Symbols that should not be listed in the preloaded symbols.
34556 exclude_expsyms=$lt_exclude_expsyms
34558 # Symbols that must always be exported.
34559 include_expsyms=$lt_include_expsyms
34561 # Commands necessary for linking programs (against libraries) with templates.
34562 prelink_cmds=$lt_prelink_cmds
34564 # Commands necessary for finishing linking programs.
34565 postlink_cmds=$lt_postlink_cmds
34567 # Specify filename containing input files.
34568 file_list_spec=$lt_file_list_spec
34570 # How to hardcode a shared library path into an executable.
34571 hardcode_action=$hardcode_action
34573 # The directories searched by this compiler when creating a shared library.
34574 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
34576 # Dependencies to place before and after the objects being linked to
34577 # create a shared library.
34578 predep_objects=$lt_predep_objects
34579 postdep_objects=$lt_postdep_objects
34580 predeps=$lt_predeps
34581 postdeps=$lt_postdeps
34583 # The library search path used internally by the compiler when linking
34584 # a shared library.
34585 compiler_lib_search_path=$lt_compiler_lib_search_path
34587 # ### END LIBTOOL CONFIG
34593 cat <<\_LT_EOF >> "$cfgfile"
34594 # AIX sometimes has problems with the GCC collect2 program. For some
34595 # reason, if we set the COLLECT_NAMES environment variable, the problems
34596 # vanish in a puff of smoke.
34597 if test "X${COLLECT_NAMES+set}" != Xset; then
34599 export COLLECT_NAMES
34606 ltmain="$ac_aux_dir/ltmain.sh"
34609 # We use sed instead of cat because bash on DJGPP gets confused if
34610 # if finds mixed CR/LF and LF-only lines. Since sed operates in
34611 # text mode, it properly converts lines to CR/LF. This bash problem
34612 # is reportedly fixed, but why not run on old versions too?
34613 sed '$q' "$ltmain" >> "$cfgfile" \
34614 || (rm -f "$cfgfile"; exit 1)
34616 if test x"$xsi_shell" = xyes; then
34617 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
34621 \ */*) func_dirname_result="${1%/*}${2}" ;;\
34622 \ * ) func_dirname_result="${3}" ;;\
34624 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
34625 && mv -f "$cfgfile.tmp" "$cfgfile" \
34626 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34627 test 0 -eq $? || _lt_function_replace_fail=:
34630 sed -e '/^func_basename ()$/,/^} # func_basename /c\
34633 \ func_basename_result="${1##*/}"\
34634 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
34635 && mv -f "$cfgfile.tmp" "$cfgfile" \
34636 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34637 test 0 -eq $? || _lt_function_replace_fail=:
34640 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
34641 func_dirname_and_basename ()\
34644 \ */*) func_dirname_result="${1%/*}${2}" ;;\
34645 \ * ) func_dirname_result="${3}" ;;\
34647 \ func_basename_result="${1##*/}"\
34648 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
34649 && mv -f "$cfgfile.tmp" "$cfgfile" \
34650 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34651 test 0 -eq $? || _lt_function_replace_fail=:
34654 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
34657 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
34658 \ # positional parameters, so assign one to ordinary parameter first.\
34659 \ func_stripname_result=${3}\
34660 \ func_stripname_result=${func_stripname_result#"${1}"}\
34661 \ func_stripname_result=${func_stripname_result%"${2}"}\
34662 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
34663 && mv -f "$cfgfile.tmp" "$cfgfile" \
34664 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34665 test 0 -eq $? || _lt_function_replace_fail=:
34668 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
34669 func_split_long_opt ()\
34671 \ func_split_long_opt_name=${1%%=*}\
34672 \ func_split_long_opt_arg=${1#*=}\
34673 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
34674 && mv -f "$cfgfile.tmp" "$cfgfile" \
34675 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34676 test 0 -eq $? || _lt_function_replace_fail=:
34679 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
34680 func_split_short_opt ()\
34682 \ func_split_short_opt_arg=${1#??}\
34683 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
34684 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
34685 && mv -f "$cfgfile.tmp" "$cfgfile" \
34686 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34687 test 0 -eq $? || _lt_function_replace_fail=:
34690 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
34694 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
34695 \ *) func_lo2o_result=${1} ;;\
34697 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
34698 && mv -f "$cfgfile.tmp" "$cfgfile" \
34699 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34700 test 0 -eq $? || _lt_function_replace_fail=:
34703 sed -e '/^func_xform ()$/,/^} # func_xform /c\
34706 func_xform_result=${1%.*}.lo\
34707 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
34708 && mv -f "$cfgfile.tmp" "$cfgfile" \
34709 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34710 test 0 -eq $? || _lt_function_replace_fail=:
34713 sed -e '/^func_arith ()$/,/^} # func_arith /c\
34716 func_arith_result=$(( $* ))\
34717 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
34718 && mv -f "$cfgfile.tmp" "$cfgfile" \
34719 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34720 test 0 -eq $? || _lt_function_replace_fail=:
34723 sed -e '/^func_len ()$/,/^} # func_len /c\
34726 func_len_result=${#1}\
34727 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
34728 && mv -f "$cfgfile.tmp" "$cfgfile" \
34729 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34730 test 0 -eq $? || _lt_function_replace_fail=:
34734 if test x"$lt_shell_append" = xyes; then
34735 sed -e '/^func_append ()$/,/^} # func_append /c\
34738 eval "${1}+=\\${2}"\
34739 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
34740 && mv -f "$cfgfile.tmp" "$cfgfile" \
34741 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34742 test 0 -eq $? || _lt_function_replace_fail=:
34745 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
34746 func_append_quoted ()\
34748 \ func_quote_for_eval "${2}"\
34749 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
34750 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
34751 && mv -f "$cfgfile.tmp" "$cfgfile" \
34752 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34753 test 0 -eq $? || _lt_function_replace_fail=:
34756 # Save a `func_append' function call where possible by direct use of '+='
34757 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
34758 && mv -f "$cfgfile.tmp" "$cfgfile" \
34759 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34760 test 0 -eq $? || _lt_function_replace_fail=:
34762 # Save a `func_append' function call even when '+=' is not available
34763 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
34764 && mv -f "$cfgfile.tmp" "$cfgfile" \
34765 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34766 test 0 -eq $? || _lt_function_replace_fail=:
34769 if test x"$_lt_function_replace_fail" = x":"; then
34770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
34771 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
34775 mv -f "$cfgfile" "$ofile" ||
34776 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
34780 cat <<_LT_EOF >> "$ofile"
34782 # ### BEGIN LIBTOOL TAG CONFIG: CXX
34784 # The linker used to build libraries.
34787 # How to create reloadable object files.
34788 reload_flag=$lt_reload_flag_CXX
34789 reload_cmds=$lt_reload_cmds_CXX
34791 # Commands used to build an old-style archive.
34792 old_archive_cmds=$lt_old_archive_cmds_CXX
34794 # A language specific compiler.
34795 CC=$lt_compiler_CXX
34797 # Is the compiler the GNU compiler?
34800 # Compiler flag to turn off builtin functions.
34801 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
34803 # Additional compiler flags for building library objects.
34804 pic_flag=$lt_lt_prog_compiler_pic_CXX
34806 # How to pass a linker flag through the compiler.
34807 wl=$lt_lt_prog_compiler_wl_CXX
34809 # Compiler flag to prevent dynamic linking.
34810 link_static_flag=$lt_lt_prog_compiler_static_CXX
34812 # Does compiler simultaneously support -c and -o options?
34813 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
34815 # Whether or not to add -lc for building shared libraries.
34816 build_libtool_need_lc=$archive_cmds_need_lc_CXX
34818 # Whether or not to disallow shared libs when runtime libs are static.
34819 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
34821 # Compiler flag to allow reflexive dlopens.
34822 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
34824 # Compiler flag to generate shared objects directly from archives.
34825 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
34827 # Whether the compiler copes with passing no objects directly.
34828 compiler_needs_object=$lt_compiler_needs_object_CXX
34830 # Create an old-style archive from a shared archive.
34831 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
34833 # Create a temporary old-style archive to link instead of a shared archive.
34834 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
34836 # Commands used to build a shared archive.
34837 archive_cmds=$lt_archive_cmds_CXX
34838 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
34840 # Commands used to build a loadable module if different from building
34841 # a shared archive.
34842 module_cmds=$lt_module_cmds_CXX
34843 module_expsym_cmds=$lt_module_expsym_cmds_CXX
34845 # Whether we are building with GNU ld or not.
34846 with_gnu_ld=$lt_with_gnu_ld_CXX
34848 # Flag that allows shared libraries with undefined symbols to be built.
34849 allow_undefined_flag=$lt_allow_undefined_flag_CXX
34851 # Flag that enforces no undefined symbols.
34852 no_undefined_flag=$lt_no_undefined_flag_CXX
34854 # Flag to hardcode \$libdir into a binary during linking.
34855 # This must work even if \$libdir does not exist
34856 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
34858 # Whether we need a single "-rpath" flag with a separated argument.
34859 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
34861 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34862 # DIR into the resulting binary.
34863 hardcode_direct=$hardcode_direct_CXX
34865 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34866 # DIR into the resulting binary and the resulting library dependency is
34867 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34868 # library is relocated.
34869 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
34871 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34872 # into the resulting binary.
34873 hardcode_minus_L=$hardcode_minus_L_CXX
34875 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34876 # into the resulting binary.
34877 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
34879 # Set to "yes" if building a shared library automatically hardcodes DIR
34880 # into the library and all subsequent libraries and executables linked
34882 hardcode_automatic=$hardcode_automatic_CXX
34884 # Set to yes if linker adds runtime paths of dependent libraries
34885 # to runtime path list.
34886 inherit_rpath=$inherit_rpath_CXX
34888 # Whether libtool must link a program against all its dependency libraries.
34889 link_all_deplibs=$link_all_deplibs_CXX
34891 # Set to "yes" if exported symbols are required.
34892 always_export_symbols=$always_export_symbols_CXX
34894 # The commands to list exported symbols.
34895 export_symbols_cmds=$lt_export_symbols_cmds_CXX
34897 # Symbols that should not be listed in the preloaded symbols.
34898 exclude_expsyms=$lt_exclude_expsyms_CXX
34900 # Symbols that must always be exported.
34901 include_expsyms=$lt_include_expsyms_CXX
34903 # Commands necessary for linking programs (against libraries) with templates.
34904 prelink_cmds=$lt_prelink_cmds_CXX
34906 # Commands necessary for finishing linking programs.
34907 postlink_cmds=$lt_postlink_cmds_CXX
34909 # Specify filename containing input files.
34910 file_list_spec=$lt_file_list_spec_CXX
34912 # How to hardcode a shared library path into an executable.
34913 hardcode_action=$hardcode_action_CXX
34915 # The directories searched by this compiler when creating a shared library.
34916 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
34918 # Dependencies to place before and after the objects being linked to
34919 # create a shared library.
34920 predep_objects=$lt_predep_objects_CXX
34921 postdep_objects=$lt_postdep_objects_CXX
34922 predeps=$lt_predeps_CXX
34923 postdeps=$lt_postdeps_CXX
34925 # The library search path used internally by the compiler when linking
34926 # a shared library.
34927 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
34929 # ### END LIBTOOL TAG CONFIG: CXX
34933 "po-directories":C)
34934 for ac_file in $CONFIG_FILES; do
34935 # Support "outfile[:infile[:infile...]]"
34937 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
34939 # PO directories have a Makefile.in generated from Makefile.in.in.
34940 case "$ac_file" in */Makefile.in)
34941 # Adjust a relative srcdir.
34942 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
34943 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
34944 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
34945 # In autoconf-2.13 it is called $ac_given_srcdir.
34946 # In autoconf-2.50 it is called $srcdir.
34947 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
34948 case "$ac_given_srcdir" in
34949 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
34950 /*) top_srcdir="$ac_given_srcdir" ;;
34951 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
34953 # Treat a directory as a PO directory if and only if it has a
34954 # POTFILES.in file. This allows packages to have multiple PO
34955 # directories under different names or in different locations.
34956 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
34957 rm -f "$ac_dir/POTFILES"
34958 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
34959 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
34960 POMAKEFILEDEPS="POTFILES.in"
34961 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
34962 # on $ac_dir but don't depend on user-specified configuration
34964 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
34965 # The LINGUAS file contains the set of available languages.
34966 if test -n "$OBSOLETE_ALL_LINGUAS"; then
34967 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
34969 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
34970 # Hide the ALL_LINGUAS assigment from automake < 1.5.
34971 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
34972 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
34974 # The set of available languages was given in configure.in.
34975 # Hide the ALL_LINGUAS assigment from automake < 1.5.
34976 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
34979 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
34980 # Compute UPDATEPOFILES
34981 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
34982 # Compute DUMMYPOFILES
34983 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
34985 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
34986 case "$ac_given_srcdir" in
34988 *) srcdirpre='$(srcdir)/' ;;
34994 for lang in $ALL_LINGUAS; do
34995 POFILES="$POFILES $srcdirpre$lang.po"
34996 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
34997 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
34998 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
35000 # CATALOGS depends on both $ac_dir and the user's LINGUAS
35001 # environment variable.
35003 if test -n "$ALL_LINGUAS"; then
35004 for presentlang in $ALL_LINGUAS; do
35006 if test "%UNSET%" != "$LINGUAS"; then
35007 desiredlanguages="$LINGUAS"
35009 desiredlanguages="$ALL_LINGUAS"
35011 for desiredlang in $desiredlanguages; do
35012 # Use the presentlang catalog if desiredlang is
35013 # a. equal to presentlang, or
35014 # b. a variant of presentlang (because in this case,
35015 # presentlang can be used as a fallback for messages
35016 # which are not translated in the desiredlang catalog).
35017 case "$desiredlang" in
35018 "$presentlang"*) useit=yes;;
35021 if test $useit = yes; then
35022 INST_LINGUAS="$INST_LINGUAS $presentlang"
35027 if test -n "$INST_LINGUAS"; then
35028 for lang in $INST_LINGUAS; do
35029 CATALOGS="$CATALOGS $lang.gmo"
35032 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
35033 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
35034 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
35035 if test -f "$f"; then
35037 *.orig | *.bak | *~) ;;
35038 *) cat "$f" >> "$ac_dir/Makefile" ;;
35053 ac_clean_files=$ac_clean_files_save
35055 test $ac_write_fail = 0 ||
35056 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
35059 # configure is writing to config.log, and then calls config.status.
35060 # config.status does its own redirection, appending to config.log.
35061 # Unfortunately, on DOS this fails, as config.log is still kept open
35062 # by configure, so config.status won't be able to write to it; its
35063 # output is simply discarded. So we exec the FD to /dev/null,
35064 # effectively closing config.log, so it can be properly (re)opened and
35065 # appended to by config.status. When coming back to configure, we
35066 # need to make the FD available again.
35067 if test "$no_create" != yes; then
35069 ac_config_status_args=
35070 test "$silent" = yes &&
35071 ac_config_status_args="$ac_config_status_args --quiet"
35073 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
35075 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35076 # would make configure fail if this is the last instruction.
35077 $ac_cs_success || as_fn_exit 1
35079 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
35080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
35081 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
35086 echo "$PACKAGE $VERSION"
35088 echo "Optional Modules:"
35092 echo " Ecore........................: always"
35093 echo " Thread support.............: $have_threads"
35094 echo " Thread safety..............: $want_thread_safety"
35095 echo " GLib support...............: $have_glib"
35096 echo " Always integrate GLib......: $want_glib_integration_always"
35097 echo " Use g_main_loop............: $want_g_main_loop"
35098 echo " Gathering memory statistic.: $have_mallinfo"
35099 echo " Gathering timer allocation.: $want_ecore_timer_dump"
35100 echo " Ecore_Con....................: $have_ecore_con"
35101 if test "x$have_ecore_con" = "xyes" ; then
35102 echo $ECHO_N " OpenSSL....................: $have_openssl $ECHO_C"
35103 if test "x$have_gnutls" = "xyes" ; then
35108 echo " IPv6.......................: $have_ipv6"
35109 echo " GnuTLS.....................: $have_gnutls"
35110 echo " CURL.......................: $have_curl"
35111 echo " Local Sockets..............: $want_ecore_con_local_sockets"
35112 if test "x$want_ecore_con_local_sockets" = "xyes" ; then
35113 echo " Abstract Sockets.........: $want_ecore_con_abstract_sockets"
35115 if test "x$have_cares" = "xyes" ; then
35116 echo " Resolver...................: c-ares"
35117 elif test "x$have_ipv6" = "xyes" ; then
35118 echo " Resolver...................: dns.c"
35120 echo " Resolver...................: fork"
35123 echo " Ecore_Ipc....................: $have_ecore_ipc"
35124 if test "x$have_ecore_ipc" = "xyes" ; then
35125 echo $ECHO_N " OpenSSL....................: $have_openssl $ECHO_C"
35126 if test "x$have_gnutls" = "xyes" ; then
35131 echo " GnuTLS.....................: $have_gnutls"
35133 echo " Ecore_File...................: $have_ecore_file"
35134 if test "x$have_ecore_file" = "xyes" ; then
35135 echo " Inotify....................: $have_inotify"
35136 echo " Windows notification.......: $have_notify_win32"
35137 echo " Poll.......................: $have_poll"
35138 echo " CURL.......................: $have_curl"
35140 #echo " Ecore_Config.................: $have_ecore_config (deprecated)"
35141 echo " Ecore_IMF....................: $have_ecore_imf"
35142 echo " XIM........................: $have_ecore_imf_xim"
35143 echo " SCIM.......................: $have_ecore_imf_scim"
35144 echo " IBUS.......................: $have_ecore_imf_ibus"
35145 echo " Ecore_IMF_Evas...............: $have_ecore_imf_evas"
35146 echo " Ecore_Input..................: $have_ecore_input"
35147 echo " Ecore_Input_Evas.............: $have_ecore_input_evas"
35150 echo " Graphic systems:"
35153 if test "x$have_ecore_x" = "xyes" ; then
35154 if test "x$have_ecore_x_xcb" = "xyes" ; then
35155 echo " Ecore_X (XCB backend)........: $have_ecore_x_xcb"
35156 echo " Xprint.....................: $have_ecore_x_xcb_xprint"
35157 echo " Xinerama...................: $have_ecore_x_xcb_xinerama"
35158 echo " Xrandr.....................: $have_ecore_x_xcb_randr"
35159 echo " Xscreensaver...............: $have_ecore_x_xcb_screensaver"
35160 echo " Xshape.....................: $have_ecore_x_xcb_shape"
35161 echo " Xgesture...................: $have_ecore_x_xcb_gesture"
35162 echo " Xsync......................: $have_ecore_x_xcb_sync"
35163 echo " Xrender....................: $have_ecore_x_xcb_render"
35164 echo " Xcomposite.................: $have_ecore_x_xcb_composite"
35165 echo " Xfixes.....................: $have_ecore_x_xcb_xfixes"
35166 echo " Xdamage....................: $have_ecore_x_xcb_damage"
35167 echo " Xdpms......................: $have_ecore_x_xcb_dpms"
35168 echo " Xtest......................: $have_ecore_x_xcb_xtest"
35170 echo " Ecore_X (Xlib backend).......: $have_ecore_x"
35171 echo " Xcursor....................: $use_Xcursor"
35172 echo " Xkb........................: $use_xkb"
35173 echo " Xprint.....................: $use_xprint"
35174 echo " Xinerama...................: $use_xinerama"
35175 echo " Xrandr.....................: $use_xrandr"
35176 echo " Xgesture...................: $use_xgesture"
35177 echo " Xscreensaver...............: $use_xss"
35178 echo " Xrender....................: $use_xrender"
35179 echo " Xcomposite.................: $use_xcomposite"
35180 echo " Xfixes.....................: $use_xfixes"
35181 echo " Xdamage....................: $use_xdamage"
35182 echo " Xdpms......................: $use_xdpms"
35183 echo " Xtest......................: $use_xtest"
35184 echo " XIM........................: $want_xim"
35185 echo " Xi2........................: $use_xi2"
35188 echo " Ecore_X......................: $have_ecore_x"
35190 echo " Ecore_Win32..................: $have_ecore_win32"
35191 echo " Ecore_Cocoa..................: $have_ecore_cocoa"
35192 echo " Ecore_SDL....................: $have_ecore_sdl"
35193 echo " Ecore_FB.....................: $have_ecore_fb"
35194 if test "x${have_ecore_fb}" = "xyes" ; then
35195 echo " Touchscreen................: $have_tslib"
35197 echo " Ecore_DirectFB...............: $have_ecore_directfb"
35198 echo " Ecore_WinCE..................: $have_ecore_wince"
35199 echo " Ecore_PSL1GHT................: $have_ecore_psl1ght"
35200 echo " Ecore_Wayland................: $have_ecore_wayland"
35203 echo " Ecore Evas:"
35206 echo " Ecore_Evas...................: $have_ecore_evas"
35207 if test "x${have_ecore_evas}" = "xyes" ; then
35208 echo " Software Memory Buffer.....: $have_ecore_evas_software_buffer"
35209 if test "x${have_ecore_evas_software_x11}" = "xyes" ; then
35210 echo " Software X11...............: $have_ecore_evas_software_x11 (Xlib=${have_ecore_evas_software_xlib}) (XCB=${have_ecore_evas_software_xcb})"
35212 echo " Software X11...............: $have_ecore_evas_software_x11"
35214 if test "x${have_ecore_evas_opengl_x11}" = "xyes" ; then
35215 echo " OpenGL X11.................: $have_ecore_evas_opengl_x11 (Xlib=${have_ecore_evas_opengl_xlib}) (XCB=${have_ecore_evas_opengl_xcb})"
35217 echo " OpenGL X11.................: $have_ecore_evas_opengl_x11"
35219 echo " Software GDI...............: $have_ecore_evas_software_gdi"
35220 echo " Software DirectDraw........: $have_ecore_evas_software_ddraw"
35221 echo " Direct3D...................: $have_ecore_evas_direct3d"
35222 echo " OpenGL Glew................: $have_ecore_evas_opengl_glew"
35223 echo " Software SDL...............: $have_ecore_evas_software_sdl"
35224 echo " OpenGL SDL.................: $have_ecore_evas_opengl_sdl"
35225 echo " OpenGL Cocoa...............: $have_ecore_evas_opengl_cocoa"
35226 echo " DirectFB...................: $have_ecore_evas_directfb"
35227 echo " PSL1GHT....................: $have_ecore_evas_psl1ght"
35228 echo " Software Framebuffer.......: $have_ecore_evas_fb"
35229 echo " Software 8bit grayscale XCB: $have_ecore_evas_software_8_x11"
35230 echo " Software 16bit X11.........: $have_ecore_evas_software_16_x11"
35231 echo " Software 16bit DirectDraw..: $have_ecore_evas_software_16_ddraw"
35232 echo " Software 16bit WinCE.......: $have_ecore_evas_software_16_wince"
35233 echo " Sing.Proc. Windowing System: $have_ecore_evas_ews"
35234 echo " Wayland Shm................: $have_ecore_evas_wayland_shm"
35235 echo " Wayland Egl................: $have_ecore_evas_wayland_egl"
35236 echo " Extn (Plug/socket Extn)....: $have_ecore_evas_extn"
35239 echo " Tests................: ${enable_tests}"
35240 echo " Coverage.............: ${enable_coverage}"
35241 echo " Maximum log level....: ${with_max_log_level}"
35242 echo "Documentation..........: ${build_doc}"
35243 echo "Examples...............: ${enable_build_examples}"
35244 echo "Examples installed.....: ${enable_install_examples}"
35246 echo "Compilation............: make (or gmake)"
35247 echo " CPPFLAGS.............: $CPPFLAGS"
35248 echo " CFLAGS...............: $CFLAGS"
35249 echo " CXXFLAGS.............: $CXXFLAGS"
35250 echo " LDFLAGS..............: $LDFLAGS"
35252 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
35253 echo " prefix...............: $prefix"