2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for elementary 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.
591 PACKAGE_NAME='elementary'
592 PACKAGE_TARNAME='elementary'
593 PACKAGE_VERSION='1.7.8'
594 PACKAGE_STRING='elementary 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 EFL_INSTALL_EXAMPLES_FALSE
641 EFL_INSTALL_EXAMPLES_TRUE
642 EFL_BUILD_EXAMPLES_FALSE
643 EFL_BUILD_EXAMPLES_TRUE
653 XGETTEXT_EXTRA_OPTIONS
661 GETTEXT_MACRO_VERSION
663 BUILD_ELEMENTARY_CONFIG_FALSE
664 BUILD_ELEMENTARY_CONFIG_TRUE
665 ELEMENTARY_CONFIG_PRG
666 BUILD_ELEMENTARY_TEST_FALSE
667 BUILD_ELEMENTARY_TEST_TRUE
683 ELEMENTARY_WEB_CFLAGS
685 ELEMENTARY_ETHUMB_LIBS
686 ELEMENTARY_ETHUMB_CFLAGS
689 ELEMENTARY_EMAP_CFLAGS
691 ELEMENTARY_EWEATHER_LIBS
692 ELEMENTARY_EWEATHER_CFLAGS
694 ELEMENTARY_EFREET_LIBS
695 ELEMENTARY_EFREET_CFLAGS
697 ELEMENTARY_EDBUS_LIBS
698 ELEMENTARY_EDBUS_CFLAGS
699 ELEMENTARY_WAYLAND_LIBS
700 ELEMENTARY_WAYLAND_CFLAGS
701 ELEMENTARY_WINCE_LIBS
702 ELEMENTARY_WINCE_CFLAGS
703 ELEMENTARY_WIN32_LIBS
704 ELEMENTARY_WIN32_CFLAGS
705 ELEMENTARY_COCOA_LIBS
706 ELEMENTARY_COCOA_CFLAGS
708 ELEMENTARY_SDL_CFLAGS
709 ELEMENTARY_PSL1GHT_LIBS
710 ELEMENTARY_PSL1GHT_CFLAGS
725 ELEMENTARY_ECORE_CON_INC
726 ELEMENTARY_ECORE_CON_LIBS
727 ELEMENTARY_ECORE_CON_CFLAGS
730 ELEMENTARY_ECORE_IMF_INC
731 ELEMENTARY_ECORE_IMF_LIBS
732 ELEMENTARY_ECORE_IMF_CFLAGS
735 ELEMENTARY_WINDOWS_BUILD_FALSE
736 ELEMENTARY_WINDOWS_BUILD_TRUE
740 lt_enable_auto_import
742 BUILD_QUICKLAUNCH_FALSE
743 BUILD_QUICKLAUNCH_TRUE
751 pkgconfig_requires_private
814 INSTALL_STRIP_PROGRAM
864 program_transform_name
877 enable_option_checking
879 enable_dependency_tracking
908 enable_elementary_test
909 enable_elementary_config
914 with_elementary_base_dir
915 enable_build_examples
916 enable_install_examples
918 ac_precious_vars='build_alias
934 ELEMENTARY_ECORE_IMF_CFLAGS
935 ELEMENTARY_ECORE_IMF_LIBS
936 ELEMENTARY_ECORE_CON_CFLAGS
937 ELEMENTARY_ECORE_CON_LIBS
946 ELEMENTARY_PSL1GHT_CFLAGS
947 ELEMENTARY_PSL1GHT_LIBS
948 ELEMENTARY_SDL_CFLAGS
950 ELEMENTARY_COCOA_CFLAGS
951 ELEMENTARY_COCOA_LIBS
952 ELEMENTARY_WIN32_CFLAGS
953 ELEMENTARY_WIN32_LIBS
954 ELEMENTARY_WINCE_CFLAGS
955 ELEMENTARY_WINCE_LIBS
956 ELEMENTARY_WAYLAND_CFLAGS
957 ELEMENTARY_WAYLAND_LIBS
958 ELEMENTARY_EDBUS_CFLAGS
959 ELEMENTARY_EDBUS_LIBS
960 ELEMENTARY_EFREET_CFLAGS
961 ELEMENTARY_EFREET_LIBS
962 ELEMENTARY_EWEATHER_CFLAGS
963 ELEMENTARY_EWEATHER_LIBS
964 ELEMENTARY_EMAP_CFLAGS
966 ELEMENTARY_ETHUMB_CFLAGS
967 ELEMENTARY_ETHUMB_LIBS
968 ELEMENTARY_WEB_CFLAGS
972 # Initialize some variables set by options.
974 ac_init_version=false
975 ac_unrecognized_opts=
977 # The variables have the same names as the options, with
978 # dashes changed to underlines.
986 program_transform_name=s,x,x,
994 # Installation directory options.
995 # These are left unexpanded so users can "make install exec_prefix=/foo"
996 # and all the variables that are supposed to be based on exec_prefix
997 # by default will actually change.
998 # Use braces instead of parens because sh, perl, etc. also accept them.
999 # (The list follows the same order as the GNU Coding Standards.)
1000 bindir='${exec_prefix}/bin'
1001 sbindir='${exec_prefix}/sbin'
1002 libexecdir='${exec_prefix}/libexec'
1003 datarootdir='${prefix}/share'
1004 datadir='${datarootdir}'
1005 sysconfdir='${prefix}/etc'
1006 sharedstatedir='${prefix}/com'
1007 localstatedir='${prefix}/var'
1008 includedir='${prefix}/include'
1009 oldincludedir='/usr/include'
1010 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1011 infodir='${datarootdir}/info'
1016 libdir='${exec_prefix}/lib'
1017 localedir='${datarootdir}/locale'
1018 mandir='${datarootdir}/man'
1024 # If the previous option needs an argument, assign it.
1025 if test -n "$ac_prev"; then
1026 eval $ac_prev=\$ac_option
1032 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1037 # Accept the important Cygnus configure options, so we can diagnose typos.
1039 case $ac_dashdash$ac_option in
1043 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1045 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1046 bindir=$ac_optarg ;;
1048 -build | --build | --buil | --bui | --bu)
1049 ac_prev=build_alias ;;
1050 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1051 build_alias=$ac_optarg ;;
1053 -cache-file | --cache-file | --cache-fil | --cache-fi \
1054 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1055 ac_prev=cache_file ;;
1056 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1057 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1058 cache_file=$ac_optarg ;;
1060 --config-cache | -C)
1061 cache_file=config.cache ;;
1063 -datadir | --datadir | --datadi | --datad)
1065 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1066 datadir=$ac_optarg ;;
1068 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1069 | --dataroo | --dataro | --datar)
1070 ac_prev=datarootdir ;;
1071 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1072 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1073 datarootdir=$ac_optarg ;;
1075 -disable-* | --disable-*)
1076 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1077 # Reject names that are not valid shell variable names.
1078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1079 as_fn_error $? "invalid feature name: $ac_useropt"
1080 ac_useropt_orig=$ac_useropt
1081 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1082 case $ac_user_opts in
1084 "enable_$ac_useropt"
1086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1087 ac_unrecognized_sep=', ';;
1089 eval enable_$ac_useropt=no ;;
1091 -docdir | --docdir | --docdi | --doc | --do)
1093 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1094 docdir=$ac_optarg ;;
1096 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1098 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1099 dvidir=$ac_optarg ;;
1101 -enable-* | --enable-*)
1102 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1105 as_fn_error $? "invalid feature name: $ac_useropt"
1106 ac_useropt_orig=$ac_useropt
1107 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1108 case $ac_user_opts in
1110 "enable_$ac_useropt"
1112 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1113 ac_unrecognized_sep=', ';;
1115 eval enable_$ac_useropt=\$ac_optarg ;;
1117 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1118 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1119 | --exec | --exe | --ex)
1120 ac_prev=exec_prefix ;;
1121 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1122 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1123 | --exec=* | --exe=* | --ex=*)
1124 exec_prefix=$ac_optarg ;;
1126 -gas | --gas | --ga | --g)
1127 # Obsolete; use --with-gas.
1130 -help | --help | --hel | --he | -h)
1131 ac_init_help=long ;;
1132 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1133 ac_init_help=recursive ;;
1134 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1135 ac_init_help=short ;;
1137 -host | --host | --hos | --ho)
1138 ac_prev=host_alias ;;
1139 -host=* | --host=* | --hos=* | --ho=*)
1140 host_alias=$ac_optarg ;;
1142 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1144 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1146 htmldir=$ac_optarg ;;
1148 -includedir | --includedir | --includedi | --included | --include \
1149 | --includ | --inclu | --incl | --inc)
1150 ac_prev=includedir ;;
1151 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1152 | --includ=* | --inclu=* | --incl=* | --inc=*)
1153 includedir=$ac_optarg ;;
1155 -infodir | --infodir | --infodi | --infod | --info | --inf)
1157 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1158 infodir=$ac_optarg ;;
1160 -libdir | --libdir | --libdi | --libd)
1162 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1163 libdir=$ac_optarg ;;
1165 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1166 | --libexe | --libex | --libe)
1167 ac_prev=libexecdir ;;
1168 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1169 | --libexe=* | --libex=* | --libe=*)
1170 libexecdir=$ac_optarg ;;
1172 -localedir | --localedir | --localedi | --localed | --locale)
1173 ac_prev=localedir ;;
1174 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1175 localedir=$ac_optarg ;;
1177 -localstatedir | --localstatedir | --localstatedi | --localstated \
1178 | --localstate | --localstat | --localsta | --localst | --locals)
1179 ac_prev=localstatedir ;;
1180 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1181 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1182 localstatedir=$ac_optarg ;;
1184 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1186 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1187 mandir=$ac_optarg ;;
1189 -nfp | --nfp | --nf)
1190 # Obsolete; use --without-fp.
1193 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1194 | --no-cr | --no-c | -n)
1197 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1198 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1201 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1202 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1203 | --oldin | --oldi | --old | --ol | --o)
1204 ac_prev=oldincludedir ;;
1205 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1206 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1207 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1208 oldincludedir=$ac_optarg ;;
1210 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1212 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1213 prefix=$ac_optarg ;;
1215 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1216 | --program-pre | --program-pr | --program-p)
1217 ac_prev=program_prefix ;;
1218 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1219 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1220 program_prefix=$ac_optarg ;;
1222 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1223 | --program-suf | --program-su | --program-s)
1224 ac_prev=program_suffix ;;
1225 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1226 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1227 program_suffix=$ac_optarg ;;
1229 -program-transform-name | --program-transform-name \
1230 | --program-transform-nam | --program-transform-na \
1231 | --program-transform-n | --program-transform- \
1232 | --program-transform | --program-transfor \
1233 | --program-transfo | --program-transf \
1234 | --program-trans | --program-tran \
1235 | --progr-tra | --program-tr | --program-t)
1236 ac_prev=program_transform_name ;;
1237 -program-transform-name=* | --program-transform-name=* \
1238 | --program-transform-nam=* | --program-transform-na=* \
1239 | --program-transform-n=* | --program-transform-=* \
1240 | --program-transform=* | --program-transfor=* \
1241 | --program-transfo=* | --program-transf=* \
1242 | --program-trans=* | --program-tran=* \
1243 | --progr-tra=* | --program-tr=* | --program-t=*)
1244 program_transform_name=$ac_optarg ;;
1246 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1248 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1249 pdfdir=$ac_optarg ;;
1251 -psdir | --psdir | --psdi | --psd | --ps)
1253 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1256 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1257 | -silent | --silent | --silen | --sile | --sil)
1260 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1262 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1264 sbindir=$ac_optarg ;;
1266 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1267 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1268 | --sharedst | --shareds | --shared | --share | --shar \
1270 ac_prev=sharedstatedir ;;
1271 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1272 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1273 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1275 sharedstatedir=$ac_optarg ;;
1277 -site | --site | --sit)
1279 -site=* | --site=* | --sit=*)
1282 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1284 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1285 srcdir=$ac_optarg ;;
1287 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1288 | --syscon | --sysco | --sysc | --sys | --sy)
1289 ac_prev=sysconfdir ;;
1290 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1291 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1292 sysconfdir=$ac_optarg ;;
1294 -target | --target | --targe | --targ | --tar | --ta | --t)
1295 ac_prev=target_alias ;;
1296 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1297 target_alias=$ac_optarg ;;
1299 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1302 -version | --version | --versio | --versi | --vers | -V)
1303 ac_init_version=: ;;
1306 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1307 # Reject names that are not valid shell variable names.
1308 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1309 as_fn_error $? "invalid package name: $ac_useropt"
1310 ac_useropt_orig=$ac_useropt
1311 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1312 case $ac_user_opts in
1316 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1317 ac_unrecognized_sep=', ';;
1319 eval with_$ac_useropt=\$ac_optarg ;;
1321 -without-* | --without-*)
1322 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1323 # Reject names that are not valid shell variable names.
1324 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1325 as_fn_error $? "invalid package name: $ac_useropt"
1326 ac_useropt_orig=$ac_useropt
1327 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1328 case $ac_user_opts in
1332 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1333 ac_unrecognized_sep=', ';;
1335 eval with_$ac_useropt=no ;;
1338 # Obsolete; use --with-x.
1341 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1342 | --x-incl | --x-inc | --x-in | --x-i)
1343 ac_prev=x_includes ;;
1344 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1345 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1346 x_includes=$ac_optarg ;;
1348 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1349 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1350 ac_prev=x_libraries ;;
1351 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1352 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1353 x_libraries=$ac_optarg ;;
1355 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1356 Try \`$0 --help' for more information"
1360 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1361 # Reject names that are not valid shell variable names.
1362 case $ac_envvar in #(
1363 '' | [0-9]* | *[!_$as_cr_alnum]* )
1364 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1366 eval $ac_envvar=\$ac_optarg
1367 export $ac_envvar ;;
1370 # FIXME: should be removed in autoconf 3.0.
1371 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1372 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1373 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1374 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1380 if test -n "$ac_prev"; then
1381 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1382 as_fn_error $? "missing argument to $ac_option"
1385 if test -n "$ac_unrecognized_opts"; then
1386 case $enable_option_checking in
1388 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1389 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1393 # Check all directory arguments for consistency.
1394 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1395 datadir sysconfdir sharedstatedir localstatedir includedir \
1396 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1397 libdir localedir mandir
1399 eval ac_val=\$$ac_var
1400 # Remove trailing slashes.
1403 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1404 eval $ac_var=\$ac_val;;
1406 # Be sure to have absolute directory names.
1408 [\\/$]* | ?:[\\/]* ) continue;;
1409 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1411 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1414 # There might be people who depend on the old broken behavior: `$host'
1415 # used to hold the argument of --host etc.
1416 # FIXME: To remove some day.
1419 target=$target_alias
1421 # FIXME: To remove some day.
1422 if test "x$host_alias" != x; then
1423 if test "x$build_alias" = x; then
1424 cross_compiling=maybe
1425 elif test "x$build_alias" != "x$host_alias"; then
1431 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1433 test "$silent" = yes && exec 6>/dev/null
1436 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1437 ac_ls_di=`ls -di .` &&
1438 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1439 as_fn_error $? "working directory cannot be determined"
1440 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1441 as_fn_error $? "pwd does not report name of working directory"
1444 # Find the source files, if location was not specified.
1445 if test -z "$srcdir"; then
1446 ac_srcdir_defaulted=yes
1447 # Try the directory containing this script, then the parent directory.
1448 ac_confdir=`$as_dirname -- "$as_myself" ||
1449 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1450 X"$as_myself" : 'X\(//\)[^/]' \| \
1451 X"$as_myself" : 'X\(//\)$' \| \
1452 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1453 $as_echo X"$as_myself" |
1454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1472 if test ! -r "$srcdir/$ac_unique_file"; then
1476 ac_srcdir_defaulted=no
1478 if test ! -r "$srcdir/$ac_unique_file"; then
1479 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1480 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1482 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1484 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1486 # When building in place, set srcdir=.
1487 if test "$ac_abs_confdir" = "$ac_pwd"; then
1490 # Remove unnecessary trailing slashes from srcdir.
1491 # Double slashes in file names in object file debugging info
1492 # mess up M-x gdb in Emacs.
1494 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1496 for ac_var in $ac_precious_vars; do
1497 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1498 eval ac_env_${ac_var}_value=\$${ac_var}
1499 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1500 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1504 # Report the --help message.
1506 if test "$ac_init_help" = "long"; then
1507 # Omit some internal or obsolete options to make the list less imposing.
1508 # This message is too long to be a string in the A/UX 3.1 sh.
1510 \`configure' configures elementary 1.7.8 to adapt to many kinds of systems.
1512 Usage: $0 [OPTION]... [VAR=VALUE]...
1514 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1515 VAR=VALUE. See below for descriptions of some of the useful variables.
1517 Defaults for the options are specified in brackets.
1520 -h, --help display this help and exit
1521 --help=short display options specific to this package
1522 --help=recursive display the short help of all the included packages
1523 -V, --version display version information and exit
1524 -q, --quiet, --silent do not print \`checking ...' messages
1525 --cache-file=FILE cache test results in FILE [disabled]
1526 -C, --config-cache alias for \`--cache-file=config.cache'
1527 -n, --no-create do not create output files
1528 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1530 Installation directories:
1531 --prefix=PREFIX install architecture-independent files in PREFIX
1532 [$ac_default_prefix]
1533 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1536 By default, \`make install' will install all the files in
1537 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1538 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1539 for instance \`--prefix=\$HOME'.
1541 For better control, use the options below.
1543 Fine tuning of the installation directories:
1544 --bindir=DIR user executables [EPREFIX/bin]
1545 --sbindir=DIR system admin executables [EPREFIX/sbin]
1546 --libexecdir=DIR program executables [EPREFIX/libexec]
1547 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1548 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1549 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1550 --libdir=DIR object code libraries [EPREFIX/lib]
1551 --includedir=DIR C header files [PREFIX/include]
1552 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1553 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1554 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1555 --infodir=DIR info documentation [DATAROOTDIR/info]
1556 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1557 --mandir=DIR man documentation [DATAROOTDIR/man]
1558 --docdir=DIR documentation root [DATAROOTDIR/doc/elementary]
1559 --htmldir=DIR html documentation [DOCDIR]
1560 --dvidir=DIR dvi documentation [DOCDIR]
1561 --pdfdir=DIR pdf documentation [DOCDIR]
1562 --psdir=DIR ps documentation [DOCDIR]
1568 --program-prefix=PREFIX prepend PREFIX to installed program names
1569 --program-suffix=SUFFIX append SUFFIX to installed program names
1570 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1573 --build=BUILD configure for building on BUILD [guessed]
1574 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1578 if test -n "$ac_init_help"; then
1579 case $ac_init_help in
1580 short | recursive ) echo "Configuration of elementary 1.7.8:";;
1585 --disable-option-checking ignore unrecognized --enable/--with options
1586 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1587 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1588 --enable-silent-rules less verbose build output (undo: "make V=1")
1589 --disable-silent-rules verbose build output (undo: "make V=0")
1590 --enable-dependency-tracking
1591 do not reject slow dependency extractors
1592 --disable-dependency-tracking
1593 speeds up one-time build
1594 --enable-shared[=PKGS] build shared libraries [default=yes]
1595 --enable-static[=PKGS] build static libraries [default=yes]
1596 --enable-fast-install[=PKGS]
1597 optimize for fast installation [default=yes]
1598 --disable-libtool-lock avoid locking (might break parallel builds)
1599 --disable-quick-launch disable quick-launch support, [default=detect]
1600 --disable-emotion disable emotion support. [default=enabled]
1601 --disable-ecore-x disable ecore-x support. [default=detect]
1602 --disable-ecore-fb disable ecore-fb support. [default=detect]
1603 --disable-ecore-psl1ght disable ecore-psl1ght support. [default=detect]
1604 --disable-ecore-sdl disable ecore-sdl support. [default=detect]
1605 --disable-ecore-cocoa disable ecore-cocoa support. [default=detect]
1606 --disable-ecore-win32 disable ecore-win32 support. [default=detect]
1607 --disable-ecore-wince disable ecore-wince support. [default=detect]
1608 --disable-ecore-wayland disable ecore-wayland support. [default=detect]
1609 --disable-edbus disable edbus support. [default=detect]
1610 --disable-efreet disable efreet support. [default=detect]
1611 --disable-eweather disable eweather support. [default=detect]
1612 --disable-emap disable emap support. [default=detect]
1613 --disable-ethumb disable ethumb support. [default=detect]
1614 --disable-web disable web (WebKit) support. [default=detect]
1615 --enable-debug enable elementary debug support. [default=disabled]
1616 --disable-doc Disable documentation build [default=enabled]
1617 --disable-elementary-test
1618 disable building of elementary_test
1619 --disable-elementary-config
1620 disable building of elementary_config
1621 --disable-nls do not use Native Language Support
1622 --disable-rpath do not hardcode runtime library paths
1623 --enable-build-examples enable building examples [default=disabled]
1624 --enable-install-examples
1625 enable installing example source files
1629 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1630 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1631 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1633 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1634 --with-sysroot=DIR Search for dependent libraries within DIR
1635 (or the compiler's sysroot if not specified).
1636 --with-eet-eet=PATH specify a specific path to eet_eet [default=eet]
1637 --with-edje-cc=PATH specify a specific path to edje_cc [default=edje_cc]
1638 --with-doxygen=FILE doxygen program to use [default=doxygen]
1639 --with-gnu-ld assume the C compiler uses GNU ld default=no
1640 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1641 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1642 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1643 --without-libintl-prefix don't search for libintl in includedir and libdir
1644 --with-elementary-base-dir=PATH
1645 specify the subdirectory for all elementary data
1646 [default=${elementary_base_dir}]
1648 Some influential environment variables:
1649 CC C compiler command
1650 CFLAGS C compiler flags
1651 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1652 nonstandard directory <lib dir>
1653 LIBS libraries to pass to the linker, e.g. -l<library>
1654 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1655 you have headers in a nonstandard directory <include dir>
1657 PKG_CONFIG path to pkg-config utility
1659 directories to add to pkg-config's search path
1661 path overriding pkg-config's built-in search path
1662 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1663 EVIL_LIBS linker flags for EVIL, overriding pkg-config
1665 C compiler flags for ELEMENTARY, overriding pkg-config
1667 linker flags for ELEMENTARY, overriding pkg-config
1668 ELEMENTARY_ECORE_IMF_CFLAGS
1669 C compiler flags for ELEMENTARY_ECORE_IMF, overriding pkg-config
1670 ELEMENTARY_ECORE_IMF_LIBS
1671 linker flags for ELEMENTARY_ECORE_IMF, overriding pkg-config
1672 ELEMENTARY_ECORE_CON_CFLAGS
1673 C compiler flags for ELEMENTARY_ECORE_CON, overriding pkg-config
1674 ELEMENTARY_ECORE_CON_LIBS
1675 linker flags for ELEMENTARY_ECORE_CON, overriding pkg-config
1676 EIO_CFLAGS C compiler flags for EIO, overriding pkg-config
1677 EIO_LIBS linker flags for EIO, overriding pkg-config
1679 C compiler flags for EMOTION, overriding pkg-config
1681 linker flags for EMOTION, overriding pkg-config
1683 C compiler flags for ELEMENTARY_X, overriding pkg-config
1685 linker flags for ELEMENTARY_X, overriding pkg-config
1686 ELEMENTARY_FB_CFLAGS
1687 C compiler flags for ELEMENTARY_FB, overriding pkg-config
1689 linker flags for ELEMENTARY_FB, overriding pkg-config
1690 ELEMENTARY_PSL1GHT_CFLAGS
1691 C compiler flags for ELEMENTARY_PSL1GHT, overriding pkg-config
1692 ELEMENTARY_PSL1GHT_LIBS
1693 linker flags for ELEMENTARY_PSL1GHT, overriding pkg-config
1694 ELEMENTARY_SDL_CFLAGS
1695 C compiler flags for ELEMENTARY_SDL, overriding pkg-config
1697 linker flags for ELEMENTARY_SDL, overriding pkg-config
1698 ELEMENTARY_COCOA_CFLAGS
1699 C compiler flags for ELEMENTARY_COCOA, overriding pkg-config
1700 ELEMENTARY_COCOA_LIBS
1701 linker flags for ELEMENTARY_COCOA, overriding pkg-config
1702 ELEMENTARY_WIN32_CFLAGS
1703 C compiler flags for ELEMENTARY_WIN32, overriding pkg-config
1704 ELEMENTARY_WIN32_LIBS
1705 linker flags for ELEMENTARY_WIN32, overriding pkg-config
1706 ELEMENTARY_WINCE_CFLAGS
1707 C compiler flags for ELEMENTARY_WINCE, overriding pkg-config
1708 ELEMENTARY_WINCE_LIBS
1709 linker flags for ELEMENTARY_WINCE, overriding pkg-config
1710 ELEMENTARY_WAYLAND_CFLAGS
1711 C compiler flags for ELEMENTARY_WAYLAND, overriding pkg-config
1712 ELEMENTARY_WAYLAND_LIBS
1713 linker flags for ELEMENTARY_WAYLAND, overriding pkg-config
1714 ELEMENTARY_EDBUS_CFLAGS
1715 C compiler flags for ELEMENTARY_EDBUS, overriding pkg-config
1716 ELEMENTARY_EDBUS_LIBS
1717 linker flags for ELEMENTARY_EDBUS, overriding pkg-config
1718 ELEMENTARY_EFREET_CFLAGS
1719 C compiler flags for ELEMENTARY_EFREET, overriding pkg-config
1720 ELEMENTARY_EFREET_LIBS
1721 linker flags for ELEMENTARY_EFREET, overriding pkg-config
1722 ELEMENTARY_EWEATHER_CFLAGS
1723 C compiler flags for ELEMENTARY_EWEATHER, overriding pkg-config
1724 ELEMENTARY_EWEATHER_LIBS
1725 linker flags for ELEMENTARY_EWEATHER, overriding pkg-config
1726 ELEMENTARY_EMAP_CFLAGS
1727 C compiler flags for ELEMENTARY_EMAP, overriding pkg-config
1728 ELEMENTARY_EMAP_LIBS
1729 linker flags for ELEMENTARY_EMAP, overriding pkg-config
1730 ELEMENTARY_ETHUMB_CFLAGS
1731 C compiler flags for ELEMENTARY_ETHUMB, overriding pkg-config
1732 ELEMENTARY_ETHUMB_LIBS
1733 linker flags for ELEMENTARY_ETHUMB, overriding pkg-config
1734 ELEMENTARY_WEB_CFLAGS
1735 C compiler flags for ELEMENTARY_WEB, overriding pkg-config
1737 linker flags for ELEMENTARY_WEB, overriding pkg-config
1739 Use these variables to override the choices made by `configure' or to help
1740 it to find libraries and programs with nonstandard names/locations.
1742 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1747 if test "$ac_init_help" = "recursive"; then
1748 # If there are subdirs, report their specific --help.
1749 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1750 test -d "$ac_dir" ||
1751 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1756 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1758 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1759 # A ".." for each directory in $ac_dir_suffix.
1760 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1761 case $ac_top_builddir_sub in
1762 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1763 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1766 ac_abs_top_builddir=$ac_pwd
1767 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1768 # for backward compatibility:
1769 ac_top_builddir=$ac_top_build_prefix
1772 .) # We are building in place.
1774 ac_top_srcdir=$ac_top_builddir_sub
1775 ac_abs_top_srcdir=$ac_pwd ;;
1776 [\\/]* | ?:[\\/]* ) # Absolute name.
1777 ac_srcdir=$srcdir$ac_dir_suffix;
1778 ac_top_srcdir=$srcdir
1779 ac_abs_top_srcdir=$srcdir ;;
1781 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1782 ac_top_srcdir=$ac_top_build_prefix$srcdir
1783 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1785 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1787 cd "$ac_dir" || { ac_status=$?; continue; }
1788 # Check for guested configure.
1789 if test -f "$ac_srcdir/configure.gnu"; then
1791 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1792 elif test -f "$ac_srcdir/configure"; then
1794 $SHELL "$ac_srcdir/configure" --help=recursive
1796 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1798 cd "$ac_pwd" || { ac_status=$?; break; }
1802 test -n "$ac_init_help" && exit $ac_status
1803 if $ac_init_version; then
1805 elementary configure 1.7.8
1806 generated by GNU Autoconf 2.69
1808 Copyright (C) 2012 Free Software Foundation, Inc.
1809 This configure script is free software; the Free Software Foundation
1810 gives unlimited permission to copy, distribute and modify it.
1815 ## ------------------------ ##
1816 ## Autoconf initialization. ##
1817 ## ------------------------ ##
1819 # ac_fn_c_try_compile LINENO
1820 # --------------------------
1821 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1822 ac_fn_c_try_compile ()
1824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1825 rm -f conftest.$ac_objext
1826 if { { ac_try="$ac_compile"
1828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1829 *) ac_try_echo=$ac_try;;
1831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833 (eval "$ac_compile") 2>conftest.err
1835 if test -s conftest.err; then
1836 grep -v '^ *+' conftest.err >conftest.er1
1837 cat conftest.er1 >&5
1838 mv -f conftest.er1 conftest.err
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; } && {
1842 test -z "$ac_c_werror_flag" ||
1843 test ! -s conftest.err
1844 } && test -s conftest.$ac_objext; then :
1847 $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.$ac_ext >&5
1852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853 as_fn_set_status $ac_retval
1855 } # ac_fn_c_try_compile
1857 # ac_fn_c_try_cpp LINENO
1858 # ----------------------
1859 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1863 if { { ac_try="$ac_cpp conftest.$ac_ext"
1865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1866 *) ac_try_echo=$ac_try;;
1868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1869 $as_echo "$ac_try_echo"; } >&5
1870 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1872 if test -s conftest.err; then
1873 grep -v '^ *+' conftest.err >conftest.er1
1874 cat conftest.er1 >&5
1875 mv -f conftest.er1 conftest.err
1877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1878 test $ac_status = 0; } > conftest.i && {
1879 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1880 test ! -s conftest.err
1884 $as_echo "$as_me: failed program was:" >&5
1885 sed 's/^/| /' conftest.$ac_ext >&5
1889 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1890 as_fn_set_status $ac_retval
1894 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1895 # -------------------------------------------------------
1896 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1897 # the include files in INCLUDES and setting the cache variable VAR
1899 ac_fn_c_check_header_mongrel ()
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902 if eval \${$3+:} false; then :
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1904 $as_echo_n "checking for $2... " >&6; }
1905 if eval \${$3+:} false; then :
1906 $as_echo_n "(cached) " >&6
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1910 $as_echo "$ac_res" >&6; }
1912 # Is the header compilable?
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1914 $as_echo_n "checking $2 usability... " >&6; }
1915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1916 /* end confdefs.h. */
1920 if ac_fn_c_try_compile "$LINENO"; then :
1921 ac_header_compiler=yes
1923 ac_header_compiler=no
1925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1927 $as_echo "$ac_header_compiler" >&6; }
1929 # Is the header present?
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1931 $as_echo_n "checking $2 presence... " >&6; }
1932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933 /* end confdefs.h. */
1936 if ac_fn_c_try_cpp "$LINENO"; then :
1937 ac_header_preproc=yes
1939 ac_header_preproc=no
1941 rm -f conftest.err conftest.i conftest.$ac_ext
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1943 $as_echo "$ac_header_preproc" >&6; }
1945 # So? What about this header?
1946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1949 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1951 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1955 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1957 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1959 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1961 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1963 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1964 ( $as_echo "## -------------------------------------------------------- ##
1965 ## Report this to enlightenment-devel@lists.sourceforge.net ##
1966 ## -------------------------------------------------------- ##"
1967 ) | sed "s/^/$as_me: WARNING: /" >&2
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1971 $as_echo_n "checking for $2... " >&6; }
1972 if eval \${$3+:} false; then :
1973 $as_echo_n "(cached) " >&6
1975 eval "$3=\$ac_header_compiler"
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1979 $as_echo "$ac_res" >&6; }
1981 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1983 } # ac_fn_c_check_header_mongrel
1985 # ac_fn_c_try_run LINENO
1986 # ----------------------
1987 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1988 # that executables *can* be run.
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 if { { ac_try="$ac_link"
1994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1995 *) ac_try_echo=$ac_try;;
1997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998 $as_echo "$ac_try_echo"; } >&5
1999 (eval "$ac_link") 2>&5
2001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2003 { { case "(($ac_try" in
2004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2005 *) ac_try_echo=$ac_try;;
2007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2008 $as_echo "$ac_try_echo"; } >&5
2009 (eval "$ac_try") 2>&5
2011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2012 test $ac_status = 0; }; }; then :
2015 $as_echo "$as_me: program exited with status $ac_status" >&5
2016 $as_echo "$as_me: failed program was:" >&5
2017 sed 's/^/| /' conftest.$ac_ext >&5
2019 ac_retval=$ac_status
2021 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2023 as_fn_set_status $ac_retval
2027 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2028 # -------------------------------------------------------
2029 # Tests whether HEADER exists and can be compiled using the include files in
2030 # INCLUDES, setting the cache variable VAR accordingly.
2031 ac_fn_c_check_header_compile ()
2033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2035 $as_echo_n "checking for $2... " >&6; }
2036 if eval \${$3+:} false; then :
2037 $as_echo_n "(cached) " >&6
2039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2040 /* end confdefs.h. */
2044 if ac_fn_c_try_compile "$LINENO"; then :
2049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053 $as_echo "$ac_res" >&6; }
2054 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2056 } # ac_fn_c_check_header_compile
2058 # ac_fn_c_try_link LINENO
2059 # -----------------------
2060 # Try to link conftest.$ac_ext, and return whether this succeeded.
2063 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2064 rm -f conftest.$ac_objext conftest$ac_exeext
2065 if { { ac_try="$ac_link"
2067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2068 *) ac_try_echo=$ac_try;;
2070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2071 $as_echo "$ac_try_echo"; } >&5
2072 (eval "$ac_link") 2>conftest.err
2074 if test -s conftest.err; then
2075 grep -v '^ *+' conftest.err >conftest.er1
2076 cat conftest.er1 >&5
2077 mv -f conftest.er1 conftest.err
2079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2080 test $ac_status = 0; } && {
2081 test -z "$ac_c_werror_flag" ||
2082 test ! -s conftest.err
2083 } && test -s conftest$ac_exeext && {
2084 test "$cross_compiling" = yes ||
2085 test -x conftest$ac_exeext
2089 $as_echo "$as_me: failed program was:" >&5
2090 sed 's/^/| /' conftest.$ac_ext >&5
2094 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2095 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2096 # interfere with the next link command; also delete a directory that is
2097 # left behind by Apple's compiler. We do this before executing the actions.
2098 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2099 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2100 as_fn_set_status $ac_retval
2102 } # ac_fn_c_try_link
2104 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2105 # -------------------------------------------
2106 # Tests whether TYPE exists after having included INCLUDES, setting cache
2107 # variable VAR accordingly.
2108 ac_fn_c_check_type ()
2110 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2112 $as_echo_n "checking for $2... " >&6; }
2113 if eval \${$3+:} false; then :
2114 $as_echo_n "(cached) " >&6
2117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2129 if ac_fn_c_try_compile "$LINENO"; then :
2130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2131 /* end confdefs.h. */
2142 if ac_fn_c_try_compile "$LINENO"; then :
2147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2153 $as_echo "$ac_res" >&6; }
2154 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2156 } # ac_fn_c_check_type
2158 # ac_fn_c_check_func LINENO FUNC VAR
2159 # ----------------------------------
2160 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2161 ac_fn_c_check_func ()
2163 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2165 $as_echo_n "checking for $2... " >&6; }
2166 if eval \${$3+:} false; then :
2167 $as_echo_n "(cached) " >&6
2169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2170 /* end confdefs.h. */
2171 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2173 #define $2 innocuous_$2
2175 /* System header to define __stub macros and hopefully few prototypes,
2176 which can conflict with char $2 (); below.
2177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2178 <limits.h> exists even on freestanding compilers. */
2181 # include <limits.h>
2183 # include <assert.h>
2188 /* Override any GCC internal prototype to avoid an error.
2189 Use char because int might match the return type of a GCC
2190 builtin and then its argument prototype would still apply. */
2195 /* The GNU C library defines this for functions which it implements
2196 to always fail with ENOSYS. Some functions are actually named
2197 something starting with __ and the normal name is an alias. */
2198 #if defined __stub_$2 || defined __stub___$2
2210 if ac_fn_c_try_link "$LINENO"; then :
2215 rm -f core conftest.err conftest.$ac_objext \
2216 conftest$ac_exeext conftest.$ac_ext
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2220 $as_echo "$ac_res" >&6; }
2221 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2223 } # ac_fn_c_check_func
2224 cat >config.log <<_ACEOF
2225 This file contains any messages produced by compilers while
2226 running configure, to aid debugging if configure makes a mistake.
2228 It was created by elementary $as_me 1.7.8, which was
2229 generated by GNU Autoconf 2.69. Invocation command line was
2241 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2242 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2243 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2244 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2245 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2247 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2248 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2250 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2251 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2252 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2253 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2254 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2255 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2256 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2264 test -z "$as_dir" && as_dir=.
2265 $as_echo "PATH: $as_dir"
2281 # Keep a trace of the command line.
2282 # Strip out --no-create and --no-recursion so they do not pile up.
2283 # Strip out --silent because we don't want to record it for future runs.
2284 # Also quote any args containing shell meta-characters.
2285 # Make two passes to allow for proper duplicate-argument suppression.
2289 ac_must_keep_next=false
2295 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2296 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2297 | -silent | --silent | --silen | --sile | --sil)
2300 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2303 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2305 as_fn_append ac_configure_args1 " '$ac_arg'"
2306 if test $ac_must_keep_next = true; then
2307 ac_must_keep_next=false # Got value, back to normal.
2310 *=* | --config-cache | -C | -disable-* | --disable-* \
2311 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2312 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2313 | -with-* | --with-* | -without-* | --without-* | --x)
2314 case "$ac_configure_args0 " in
2315 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2318 -* ) ac_must_keep_next=true ;;
2321 as_fn_append ac_configure_args " '$ac_arg'"
2326 { ac_configure_args0=; unset ac_configure_args0;}
2327 { ac_configure_args1=; unset ac_configure_args1;}
2329 # When interrupted or exit'd, cleanup temporary files, and complete
2330 # config.log. We remove comments because anyway the quotes in there
2331 # would cause problems or look ugly.
2332 # WARNING: Use '\'' to represent an apostrophe within the trap.
2333 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2334 trap 'exit_status=$?
2335 # Save into config.log some information that might help in debugging.
2339 $as_echo "## ---------------- ##
2340 ## Cache variables. ##
2341 ## ---------------- ##"
2343 # The following way of writing the cache mishandles newlines in values,
2345 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2346 eval ac_val=\$$ac_var
2350 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2351 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2354 _ | IFS | as_nl) ;; #(
2355 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2356 *) { eval $ac_var=; unset $ac_var;} ;;
2361 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2362 *${as_nl}ac_space=\ *)
2364 "s/'\''/'\''\\\\'\'''\''/g;
2365 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2368 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2375 $as_echo "## ----------------- ##
2376 ## Output variables. ##
2377 ## ----------------- ##"
2379 for ac_var in $ac_subst_vars
2381 eval ac_val=\$$ac_var
2383 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2385 $as_echo "$ac_var='\''$ac_val'\''"
2389 if test -n "$ac_subst_files"; then
2390 $as_echo "## ------------------- ##
2391 ## File substitutions. ##
2392 ## ------------------- ##"
2394 for ac_var in $ac_subst_files
2396 eval ac_val=\$$ac_var
2398 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2400 $as_echo "$ac_var='\''$ac_val'\''"
2405 if test -s confdefs.h; then
2406 $as_echo "## ----------- ##
2413 test "$ac_signal" != 0 &&
2414 $as_echo "$as_me: caught signal $ac_signal"
2415 $as_echo "$as_me: exit $exit_status"
2417 rm -f core *.core core.conftest.* &&
2418 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2421 for ac_signal in 1 2 13 15; do
2422 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2426 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2427 rm -f -r conftest* confdefs.h
2429 $as_echo "/* confdefs.h */" > confdefs.h
2431 # Predefined preprocessor variables.
2433 cat >>confdefs.h <<_ACEOF
2434 #define PACKAGE_NAME "$PACKAGE_NAME"
2437 cat >>confdefs.h <<_ACEOF
2438 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2441 cat >>confdefs.h <<_ACEOF
2442 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2445 cat >>confdefs.h <<_ACEOF
2446 #define PACKAGE_STRING "$PACKAGE_STRING"
2449 cat >>confdefs.h <<_ACEOF
2450 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2453 cat >>confdefs.h <<_ACEOF
2454 #define PACKAGE_URL "$PACKAGE_URL"
2458 # Let the site file select an alternate cache file if it wants to.
2459 # Prefer an explicitly selected file to automatically selected ones.
2462 if test -n "$CONFIG_SITE"; then
2463 # We do not want a PATH search for config.site.
2464 case $CONFIG_SITE in #((
2465 -*) ac_site_file1=./$CONFIG_SITE;;
2466 */*) ac_site_file1=$CONFIG_SITE;;
2467 *) ac_site_file1=./$CONFIG_SITE;;
2469 elif test "x$prefix" != xNONE; then
2470 ac_site_file1=$prefix/share/config.site
2471 ac_site_file2=$prefix/etc/config.site
2473 ac_site_file1=$ac_default_prefix/share/config.site
2474 ac_site_file2=$ac_default_prefix/etc/config.site
2476 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2478 test "x$ac_site_file" = xNONE && continue
2479 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2481 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2482 sed 's/^/| /' "$ac_site_file" >&5
2484 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2486 as_fn_error $? "failed to load site script $ac_site_file
2487 See \`config.log' for more details" "$LINENO" 5; }
2491 if test -r "$cache_file"; then
2492 # Some versions of bash will fail to source /dev/null (special files
2493 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2494 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2496 $as_echo "$as_me: loading cache $cache_file" >&6;}
2498 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2499 *) . "./$cache_file";;
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2504 $as_echo "$as_me: creating cache $cache_file" >&6;}
2508 gt_needs="$gt_needs "
2509 # Check that the precious variables saved in the cache have kept the same
2511 ac_cache_corrupted=false
2512 for ac_var in $ac_precious_vars; do
2513 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2514 eval ac_new_set=\$ac_env_${ac_var}_set
2515 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2516 eval ac_new_val=\$ac_env_${ac_var}_value
2517 case $ac_old_set,$ac_new_set in
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2520 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2521 ac_cache_corrupted=: ;;
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2524 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2525 ac_cache_corrupted=: ;;
2528 if test "x$ac_old_val" != "x$ac_new_val"; then
2529 # differences in whitespace do not lead to failure.
2530 ac_old_val_w=`echo x $ac_old_val`
2531 ac_new_val_w=`echo x $ac_new_val`
2532 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2534 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2535 ac_cache_corrupted=:
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2538 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2539 eval $ac_var=\$ac_old_val
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2542 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2544 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2547 # Pass precious variables to config.status.
2548 if test "$ac_new_set" = set; then
2550 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2551 *) ac_arg=$ac_var=$ac_new_val ;;
2553 case " $ac_configure_args " in
2554 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2555 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2559 if $ac_cache_corrupted; then
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2563 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2564 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2566 ## -------------------- ##
2567 ## Main body of script. ##
2568 ## -------------------- ##
2571 ac_cpp='$CPP $CPPFLAGS'
2572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2581 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2582 if test -f "$ac_dir/install-sh"; then
2584 ac_install_sh="$ac_aux_dir/install-sh -c"
2586 elif test -f "$ac_dir/install.sh"; then
2588 ac_install_sh="$ac_aux_dir/install.sh -c"
2590 elif test -f "$ac_dir/shtool"; then
2592 ac_install_sh="$ac_aux_dir/shtool install -c"
2596 if test -z "$ac_aux_dir"; then
2597 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2600 # These three variables are undocumented and unsupported,
2601 # and are intended to be withdrawn in a future Autoconf release.
2602 # They can cause serious problems if a builder's source tree is in a directory
2603 # whose full name contains unusual characters.
2604 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2605 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2606 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2609 # Make sure we can run config.sub.
2610 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2611 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2614 $as_echo_n "checking build system type... " >&6; }
2615 if ${ac_cv_build+:} false; then :
2616 $as_echo_n "(cached) " >&6
2618 ac_build_alias=$build_alias
2619 test "x$ac_build_alias" = x &&
2620 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2621 test "x$ac_build_alias" = x &&
2622 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2623 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2624 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2628 $as_echo "$ac_cv_build" >&6; }
2629 case $ac_cv_build in
2631 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2634 ac_save_IFS=$IFS; IFS='-'
2640 # Remember, the first character of IFS is used to create $*,
2641 # except with old shells:
2644 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2648 $as_echo_n "checking host system type... " >&6; }
2649 if ${ac_cv_host+:} false; then :
2650 $as_echo_n "(cached) " >&6
2652 if test "x$host_alias" = x; then
2653 ac_cv_host=$ac_cv_build
2655 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2656 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2661 $as_echo "$ac_cv_host" >&6; }
2664 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2667 ac_save_IFS=$IFS; IFS='-'
2673 # Remember, the first character of IFS is used to create $*,
2674 # except with old shells:
2677 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2681 ac_config_headers="$ac_config_headers elementary_config.h"
2686 am__api_version='1.13'
2688 # Find a good install program. We prefer a C program (faster),
2689 # so one script is as good as another. But avoid the broken or
2690 # incompatible versions:
2691 # SysV /etc/install, /usr/sbin/install
2692 # SunOS /usr/etc/install
2693 # IRIX /sbin/install
2695 # AmigaOS /C/install, which installs bootblocks on floppy discs
2696 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2697 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2698 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2699 # OS/2's system install, which has a completely different semantic
2700 # ./install, which can be erroneously created by make from ./install.sh.
2701 # Reject install programs that cannot install multiple files.
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2703 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2704 if test -z "$INSTALL"; then
2705 if ${ac_cv_path_install+:} false; then :
2706 $as_echo_n "(cached) " >&6
2708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2712 test -z "$as_dir" && as_dir=.
2713 # Account for people who put trailing slashes in PATH elements.
2714 case $as_dir/ in #((
2715 ./ | .// | /[cC]/* | \
2716 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2717 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2720 # OSF1 and SCO ODT 3.0 have their own names for install.
2721 # Don't use installbsd from OSF since it installs stuff as root
2723 for ac_prog in ginstall scoinst install; do
2724 for ac_exec_ext in '' $ac_executable_extensions; do
2725 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2726 if test $ac_prog = install &&
2727 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2728 # AIX install. It has an incompatible calling convention.
2730 elif test $ac_prog = install &&
2731 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2732 # program-specific install script used by HP pwplus--don't use.
2735 rm -rf conftest.one conftest.two conftest.dir
2736 echo one > conftest.one
2737 echo two > conftest.two
2739 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2740 test -s conftest.one && test -s conftest.two &&
2741 test -s conftest.dir/conftest.one &&
2742 test -s conftest.dir/conftest.two
2744 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2757 rm -rf conftest.one conftest.two conftest.dir
2760 if test "${ac_cv_path_install+set}" = set; then
2761 INSTALL=$ac_cv_path_install
2763 # As a last resort, use the slow shell script. Don't cache a
2764 # value for INSTALL within a source directory, because that will
2765 # break other packages using the cache if that directory is
2766 # removed, or if the value is a relative name.
2767 INSTALL=$ac_install_sh
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2771 $as_echo "$INSTALL" >&6; }
2773 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2774 # It thinks the first close brace ends the variable substitution.
2775 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2777 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2779 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2782 $as_echo_n "checking whether build environment is sane... " >&6; }
2783 # Reject unsafe characters in $srcdir or the absolute working directory
2784 # name. Accept space and tab only in the latter.
2788 *[\\\"\#\$\&\'\`$am_lf]*)
2789 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2792 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2793 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2796 # Do 'set' in a subshell so we don't clobber the current shell's
2797 # arguments. Must try -L first in case configure is actually a
2798 # symlink; some systems play weird games with the mod time of symlinks
2799 # (eg FreeBSD returns the mod time of the symlink's containing
2803 for am_try in 1 2; do
2804 echo "timestamp, slept: $am_has_slept" > conftest.file
2805 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2806 if test "$*" = "X"; then
2808 set X `ls -t "$srcdir/configure" conftest.file`
2810 if test "$*" != "X $srcdir/configure conftest.file" \
2811 && test "$*" != "X conftest.file $srcdir/configure"; then
2813 # If neither matched, then we have a broken ls. This can happen
2814 # if, for instance, CONFIG_SHELL is bash and it inherits a
2815 # broken ls alias from the environment. This has actually
2816 # happened. Such a system could not be considered "sane".
2817 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2818 alias in your environment" "$LINENO" 5
2820 if test "$2" = conftest.file || test $am_try -eq 2; then
2827 test "$2" = conftest.file
2833 as_fn_error $? "newly created file is older than distributed files!
2834 Check your system clock" "$LINENO" 5
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2837 $as_echo "yes" >&6; }
2838 # If we didn't sleep, we still need to ensure time stamps of config.status and
2839 # generated files are strictly newer.
2841 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2848 test "$program_prefix" != NONE &&
2849 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2850 # Use a double $ so make ignores it.
2851 test "$program_suffix" != NONE &&
2852 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2853 # Double any \ or $.
2854 # By default was `s,x,x', remove it if useless.
2855 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2856 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2858 # expand $ac_aux_dir to an absolute path
2859 am_aux_dir=`cd $ac_aux_dir && pwd`
2861 if test x"${MISSING+set}" != xset; then
2864 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2866 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2869 # Use eval to expand $SHELL
2870 if eval "$MISSING --is-lightweight"; then
2871 am_missing_run="$MISSING "
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2875 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2878 if test x"${install_sh}" != xset; then
2881 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2883 install_sh="\${SHELL} $am_aux_dir/install-sh"
2887 # Installed binaries are usually stripped using 'strip' when the user
2888 # run "make install-strip". However 'strip' might not be the right
2889 # tool to use in cross-compilation environments, therefore Automake
2890 # will honor the 'STRIP' environment variable to overrule this program.
2891 if test "$cross_compiling" != no; then
2892 if test -n "$ac_tool_prefix"; then
2893 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2894 set dummy ${ac_tool_prefix}strip; ac_word=$2
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2896 $as_echo_n "checking for $ac_word... " >&6; }
2897 if ${ac_cv_prog_STRIP+:} false; then :
2898 $as_echo_n "(cached) " >&6
2900 if test -n "$STRIP"; then
2901 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2907 test -z "$as_dir" && as_dir=.
2908 for ac_exec_ext in '' $ac_executable_extensions; do
2909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2910 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920 STRIP=$ac_cv_prog_STRIP
2921 if test -n "$STRIP"; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2923 $as_echo "$STRIP" >&6; }
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2931 if test -z "$ac_cv_prog_STRIP"; then
2933 # Extract the first word of "strip", so it can be a program name with args.
2934 set dummy strip; ac_word=$2
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936 $as_echo_n "checking for $ac_word... " >&6; }
2937 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2938 $as_echo_n "(cached) " >&6
2940 if test -n "$ac_ct_STRIP"; then
2941 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2947 test -z "$as_dir" && as_dir=.
2948 for ac_exec_ext in '' $ac_executable_extensions; do
2949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2950 ac_cv_prog_ac_ct_STRIP="strip"
2951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2961 if test -n "$ac_ct_STRIP"; then
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2963 $as_echo "$ac_ct_STRIP" >&6; }
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 $as_echo "no" >&6; }
2969 if test "x$ac_ct_STRIP" = x; then
2972 case $cross_compiling:$ac_tool_warned in
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2976 ac_tool_warned=yes ;;
2981 STRIP="$ac_cv_prog_STRIP"
2985 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2988 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2989 if test -z "$MKDIR_P"; then
2990 if ${ac_cv_path_mkdir+:} false; then :
2991 $as_echo_n "(cached) " >&6
2993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2994 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2997 test -z "$as_dir" && as_dir=.
2998 for ac_prog in mkdir gmkdir; do
2999 for ac_exec_ext in '' $ac_executable_extensions; do
3000 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3001 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3002 'mkdir (GNU coreutils) '* | \
3003 'mkdir (coreutils) '* | \
3004 'mkdir (fileutils) '4.1*)
3005 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3015 test -d ./--version && rmdir ./--version
3016 if test "${ac_cv_path_mkdir+set}" = set; then
3017 MKDIR_P="$ac_cv_path_mkdir -p"
3019 # As a last resort, use the slow shell script. Don't cache a
3020 # value for MKDIR_P within a source directory, because that will
3021 # break other packages using the cache if that directory is
3022 # removed, or if the value is a relative name.
3023 MKDIR_P="$ac_install_sh -d"
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3027 $as_echo "$MKDIR_P" >&6; }
3029 for ac_prog in gawk mawk nawk awk
3031 # Extract the first word of "$ac_prog", so it can be a program name with args.
3032 set dummy $ac_prog; ac_word=$2
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034 $as_echo_n "checking for $ac_word... " >&6; }
3035 if ${ac_cv_prog_AWK+:} false; then :
3036 $as_echo_n "(cached) " >&6
3038 if test -n "$AWK"; then
3039 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045 test -z "$as_dir" && as_dir=.
3046 for ac_exec_ext in '' $ac_executable_extensions; do
3047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3048 ac_cv_prog_AWK="$ac_prog"
3049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059 if test -n "$AWK"; then
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3061 $as_echo "$AWK" >&6; }
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064 $as_echo "no" >&6; }
3068 test -n "$AWK" && break
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3072 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3074 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3075 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3076 $as_echo_n "(cached) " >&6
3078 cat >conftest.make <<\_ACEOF
3081 @echo '@@@%%%=$(MAKE)=@@@%%%'
3083 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3084 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3086 eval ac_cv_prog_make_${ac_make}_set=yes;;
3088 eval ac_cv_prog_make_${ac_make}_set=no;;
3092 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3094 $as_echo "yes" >&6; }
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3098 $as_echo "no" >&6; }
3099 SET_MAKE="MAKE=${MAKE-make}"
3102 rm -rf .tst 2>/dev/null
3103 mkdir .tst 2>/dev/null
3104 if test -d .tst; then
3109 rmdir .tst 2>/dev/null
3111 # Check whether --enable-silent-rules was given.
3112 if test "${enable_silent_rules+set}" = set; then :
3113 enableval=$enable_silent_rules;
3116 case $enable_silent_rules in # (((
3117 yes) AM_DEFAULT_VERBOSITY=0;;
3118 no) AM_DEFAULT_VERBOSITY=1;;
3119 *) AM_DEFAULT_VERBOSITY=1;;
3121 am_make=${MAKE-make}
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3123 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3124 if ${am_cv_make_support_nested_variables+:} false; then :
3125 $as_echo_n "(cached) " >&6
3127 if $as_echo 'TRUE=$(BAR$(V))
3133 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3134 am_cv_make_support_nested_variables=yes
3136 am_cv_make_support_nested_variables=no
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3140 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3141 if test $am_cv_make_support_nested_variables = yes; then
3143 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3145 AM_V=$AM_DEFAULT_VERBOSITY
3146 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3150 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3151 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3152 # is not polluted with repeated "-I."
3153 am__isrc=' -I$(srcdir)'
3154 # test to see if srcdir already configured
3155 if test -f $srcdir/config.status; then
3156 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3160 # test whether we have cygpath
3161 if test -z "$CYGPATH_W"; then
3162 if (cygpath --version) >/dev/null 2>/dev/null; then
3163 CYGPATH_W='cygpath -w'
3170 # Define the identity of the package.
3171 PACKAGE='elementary'
3175 cat >>confdefs.h <<_ACEOF
3176 #define PACKAGE "$PACKAGE"
3180 cat >>confdefs.h <<_ACEOF
3181 #define VERSION "$VERSION"
3184 # Some tools Automake needs.
3186 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3189 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3192 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3195 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3198 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3200 # For better backward compatibility. To be removed once Automake 1.9.x
3201 # dies out for good. For more background, see:
3202 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3203 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3204 mkdir_p='$(MKDIR_P)'
3206 # We need awk for the "check" target. The system "awk" is bad on
3208 # Always define AMTAR for backward compatibility. Yes, it's still used
3209 # in the wild :-( We should find a proper way to deprecate it ...
3213 # We'll loop over all known methods to create a tar archive until one works.
3214 _am_tools='gnutar pax cpio none'
3216 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3223 # Check whether --enable-silent-rules was given.
3224 if test "${enable_silent_rules+set}" = set; then :
3225 enableval=$enable_silent_rules;
3228 case $enable_silent_rules in # (((
3229 yes) AM_DEFAULT_VERBOSITY=0;;
3230 no) AM_DEFAULT_VERBOSITY=1;;
3231 *) AM_DEFAULT_VERBOSITY=0;;
3233 am_make=${MAKE-make}
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3235 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3236 if ${am_cv_make_support_nested_variables+:} false; then :
3237 $as_echo_n "(cached) " >&6
3239 if $as_echo 'TRUE=$(BAR$(V))
3245 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3246 am_cv_make_support_nested_variables=yes
3248 am_cv_make_support_nested_variables=no
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3252 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3253 if test $am_cv_make_support_nested_variables = yes; then
3255 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3257 AM_V=$AM_DEFAULT_VERBOSITY
3258 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3263 DEPDIR="${am__leading_dot}deps"
3265 ac_config_commands="$ac_config_commands depfiles"
3268 am_make=${MAKE-make}
3269 cat > confinc << 'END'
3271 @echo this is the am__doit target
3274 # If we don't find an include directive, just comment out the code.
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3276 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3280 # First try GNU make style include.
3281 echo "include confinc" > confmf
3282 # Ignore all kinds of additional output from 'make'.
3283 case `$am_make -s -f confmf 2> /dev/null` in #(
3284 *the\ am__doit\ target*)
3290 # Now try BSD make style include.
3291 if test "$am__include" = "#"; then
3292 echo '.include "confinc"' > confmf
3293 case `$am_make -s -f confmf 2> /dev/null` in #(
3294 *the\ am__doit\ target*)
3295 am__include=.include
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3304 $as_echo "$_am_result" >&6; }
3305 rm -f confinc confmf
3307 # Check whether --enable-dependency-tracking was given.
3308 if test "${enable_dependency_tracking+set}" = set; then :
3309 enableval=$enable_dependency_tracking;
3312 if test "x$enable_dependency_tracking" != xno; then
3313 am_depcomp="$ac_aux_dir/depcomp"
3317 if test "x$enable_dependency_tracking" != xno; then
3327 ac_cpp='$CPP $CPPFLAGS'
3328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3331 if test -n "$ac_tool_prefix"; then
3332 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3333 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3335 $as_echo_n "checking for $ac_word... " >&6; }
3336 if ${ac_cv_prog_CC+:} false; then :
3337 $as_echo_n "(cached) " >&6
3339 if test -n "$CC"; then
3340 ac_cv_prog_CC="$CC" # Let the user override the test.
3342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3346 test -z "$as_dir" && as_dir=.
3347 for ac_exec_ext in '' $ac_executable_extensions; do
3348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3349 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3360 if test -n "$CC"; then
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3362 $as_echo "$CC" >&6; }
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3365 $as_echo "no" >&6; }
3370 if test -z "$ac_cv_prog_CC"; then
3372 # Extract the first word of "gcc", so it can be a program name with args.
3373 set dummy gcc; ac_word=$2
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3375 $as_echo_n "checking for $ac_word... " >&6; }
3376 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3377 $as_echo_n "(cached) " >&6
3379 if test -n "$ac_ct_CC"; then
3380 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3386 test -z "$as_dir" && as_dir=.
3387 for ac_exec_ext in '' $ac_executable_extensions; do
3388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3389 ac_cv_prog_ac_ct_CC="gcc"
3390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3399 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3400 if test -n "$ac_ct_CC"; then
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3402 $as_echo "$ac_ct_CC" >&6; }
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3405 $as_echo "no" >&6; }
3408 if test "x$ac_ct_CC" = x; then
3411 case $cross_compiling:$ac_tool_warned in
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3415 ac_tool_warned=yes ;;
3423 if test -z "$CC"; then
3424 if test -n "$ac_tool_prefix"; then
3425 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3426 set dummy ${ac_tool_prefix}cc; ac_word=$2
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3428 $as_echo_n "checking for $ac_word... " >&6; }
3429 if ${ac_cv_prog_CC+:} false; then :
3430 $as_echo_n "(cached) " >&6
3432 if test -n "$CC"; then
3433 ac_cv_prog_CC="$CC" # Let the user override the test.
3435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3439 test -z "$as_dir" && as_dir=.
3440 for ac_exec_ext in '' $ac_executable_extensions; do
3441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3442 ac_cv_prog_CC="${ac_tool_prefix}cc"
3443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3453 if test -n "$CC"; then
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3455 $as_echo "$CC" >&6; }
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3458 $as_echo "no" >&6; }
3464 if test -z "$CC"; then
3465 # Extract the first word of "cc", so it can be a program name with args.
3466 set dummy cc; ac_word=$2
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3468 $as_echo_n "checking for $ac_word... " >&6; }
3469 if ${ac_cv_prog_CC+:} false; then :
3470 $as_echo_n "(cached) " >&6
3472 if test -n "$CC"; then
3473 ac_cv_prog_CC="$CC" # Let the user override the test.
3476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3480 test -z "$as_dir" && as_dir=.
3481 for ac_exec_ext in '' $ac_executable_extensions; do
3482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3483 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3484 ac_prog_rejected=yes
3488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3495 if test $ac_prog_rejected = yes; then
3496 # We found a bogon in the path, so make sure we never use it.
3497 set dummy $ac_cv_prog_CC
3499 if test $# != 0; then
3500 # We chose a different compiler from the bogus one.
3501 # However, it has the same basename, so the bogon will be chosen
3502 # first if we set CC to just the basename; use the full file name.
3504 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3510 if test -n "$CC"; then
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3512 $as_echo "$CC" >&6; }
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3515 $as_echo "no" >&6; }
3520 if test -z "$CC"; then
3521 if test -n "$ac_tool_prefix"; then
3522 for ac_prog in cl.exe
3524 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3525 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3527 $as_echo_n "checking for $ac_word... " >&6; }
3528 if ${ac_cv_prog_CC+:} false; then :
3529 $as_echo_n "(cached) " >&6
3531 if test -n "$CC"; then
3532 ac_cv_prog_CC="$CC" # Let the user override the test.
3534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3538 test -z "$as_dir" && as_dir=.
3539 for ac_exec_ext in '' $ac_executable_extensions; do
3540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3541 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3552 if test -n "$CC"; then
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3554 $as_echo "$CC" >&6; }
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3557 $as_echo "no" >&6; }
3561 test -n "$CC" && break
3564 if test -z "$CC"; then
3566 for ac_prog in cl.exe
3568 # Extract the first word of "$ac_prog", so it can be a program name with args.
3569 set dummy $ac_prog; ac_word=$2
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3571 $as_echo_n "checking for $ac_word... " >&6; }
3572 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3573 $as_echo_n "(cached) " >&6
3575 if test -n "$ac_ct_CC"; then
3576 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3582 test -z "$as_dir" && as_dir=.
3583 for ac_exec_ext in '' $ac_executable_extensions; do
3584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3585 ac_cv_prog_ac_ct_CC="$ac_prog"
3586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3595 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3596 if test -n "$ac_ct_CC"; then
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3598 $as_echo "$ac_ct_CC" >&6; }
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3601 $as_echo "no" >&6; }
3605 test -n "$ac_ct_CC" && break
3608 if test "x$ac_ct_CC" = x; then
3611 case $cross_compiling:$ac_tool_warned in
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3615 ac_tool_warned=yes ;;
3624 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3626 as_fn_error $? "no acceptable C compiler found in \$PATH
3627 See \`config.log' for more details" "$LINENO" 5; }
3629 # Provide some information about the compiler.
3630 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3633 for ac_option in --version -v -V -qversion; do
3634 { { ac_try="$ac_compiler $ac_option >&5"
3636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637 *) ac_try_echo=$ac_try;;
3639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3640 $as_echo "$ac_try_echo"; } >&5
3641 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3643 if test -s conftest.err; then
3645 ... rest of stderr output deleted ...
3646 10q' conftest.err >conftest.er1
3647 cat conftest.er1 >&5
3649 rm -f conftest.er1 conftest.err
3650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3651 test $ac_status = 0; }
3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h. */
3665 ac_clean_files_save=$ac_clean_files
3666 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3667 # Try to create an executable without -o first, disregard a.out.
3668 # It will help us diagnose broken compilers, and finding out an intuition
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3671 $as_echo_n "checking whether the C compiler works... " >&6; }
3672 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3674 # The possible output files:
3675 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3678 for ac_file in $ac_files
3681 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3682 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3687 if { { ac_try="$ac_link_default"
3689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3690 *) ac_try_echo=$ac_try;;
3692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3693 $as_echo "$ac_try_echo"; } >&5
3694 (eval "$ac_link_default") 2>&5
3696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3697 test $ac_status = 0; }; then :
3698 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3699 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3700 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3701 # so that the user can short-circuit this test for compilers unknown to
3703 for ac_file in $ac_files ''
3705 test -f "$ac_file" || continue
3707 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3710 # We found the default executable, but exeext='' is most
3714 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3716 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3718 # We set ac_cv_exeext here because the later test for it is not
3719 # safe: cross compilers may not add the suffix if given an `-o'
3720 # argument, so we may need to know it at that point already.
3721 # Even if this section looks crufty: it has the advantage of
3728 test "$ac_cv_exeext" = no && ac_cv_exeext=
3733 if test -z "$ac_file"; then :
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735 $as_echo "no" >&6; }
3736 $as_echo "$as_me: failed program was:" >&5
3737 sed 's/^/| /' conftest.$ac_ext >&5
3739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3741 as_fn_error 77 "C compiler cannot create executables
3742 See \`config.log' for more details" "$LINENO" 5; }
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3745 $as_echo "yes" >&6; }
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3748 $as_echo_n "checking for C compiler default output file name... " >&6; }
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3750 $as_echo "$ac_file" >&6; }
3751 ac_exeext=$ac_cv_exeext
3753 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3754 ac_clean_files=$ac_clean_files_save
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3756 $as_echo_n "checking for suffix of executables... " >&6; }
3757 if { { ac_try="$ac_link"
3759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3760 *) ac_try_echo=$ac_try;;
3762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3763 $as_echo "$ac_try_echo"; } >&5
3764 (eval "$ac_link") 2>&5
3766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3767 test $ac_status = 0; }; then :
3768 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3769 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3770 # work properly (i.e., refer to `conftest.exe'), while it won't with
3772 for ac_file in conftest.exe conftest conftest.*; do
3773 test -f "$ac_file" || continue
3775 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3776 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3784 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3785 See \`config.log' for more details" "$LINENO" 5; }
3787 rm -f conftest conftest$ac_cv_exeext
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3789 $as_echo "$ac_cv_exeext" >&6; }
3791 rm -f conftest.$ac_ext
3792 EXEEXT=$ac_cv_exeext
3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h. */
3800 FILE *f = fopen ("conftest.out", "w");
3801 return ferror (f) || fclose (f) != 0;
3807 ac_clean_files="$ac_clean_files conftest.out"
3808 # Check that the compiler produces executables we can run. If not, either
3809 # the compiler is broken, or we cross compile.
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3811 $as_echo_n "checking whether we are cross compiling... " >&6; }
3812 if test "$cross_compiling" != yes; then
3813 { { ac_try="$ac_link"
3815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3816 *) ac_try_echo=$ac_try;;
3818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3819 $as_echo "$ac_try_echo"; } >&5
3820 (eval "$ac_link") 2>&5
3822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3823 test $ac_status = 0; }
3824 if { ac_try='./conftest$ac_cv_exeext'
3825 { { case "(($ac_try" in
3826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3827 *) ac_try_echo=$ac_try;;
3829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3830 $as_echo "$ac_try_echo"; } >&5
3831 (eval "$ac_try") 2>&5
3833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3834 test $ac_status = 0; }; }; then
3837 if test "$cross_compiling" = maybe; then
3840 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3842 as_fn_error $? "cannot run C compiled programs.
3843 If you meant to cross compile, use \`--host'.
3844 See \`config.log' for more details" "$LINENO" 5; }
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3849 $as_echo "$cross_compiling" >&6; }
3851 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3852 ac_clean_files=$ac_clean_files_save
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3854 $as_echo_n "checking for suffix of object files... " >&6; }
3855 if ${ac_cv_objext+:} false; then :
3856 $as_echo_n "(cached) " >&6
3858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h. */
3869 rm -f conftest.o conftest.obj
3870 if { { ac_try="$ac_compile"
3872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3873 *) ac_try_echo=$ac_try;;
3875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3876 $as_echo "$ac_try_echo"; } >&5
3877 (eval "$ac_compile") 2>&5
3879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3880 test $ac_status = 0; }; then :
3881 for ac_file in conftest.o conftest.obj conftest.*; do
3882 test -f "$ac_file" || continue;
3884 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3885 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3890 $as_echo "$as_me: failed program was:" >&5
3891 sed 's/^/| /' conftest.$ac_ext >&5
3893 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3895 as_fn_error $? "cannot compute suffix of object files: cannot compile
3896 See \`config.log' for more details" "$LINENO" 5; }
3898 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3901 $as_echo "$ac_cv_objext" >&6; }
3902 OBJEXT=$ac_cv_objext
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3905 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3906 if ${ac_cv_c_compiler_gnu+:} false; then :
3907 $as_echo_n "(cached) " >&6
3909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910 /* end confdefs.h. */
3923 if ac_fn_c_try_compile "$LINENO"; then :
3928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3929 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3933 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3934 if test $ac_compiler_gnu = yes; then
3939 ac_test_CFLAGS=${CFLAGS+set}
3940 ac_save_CFLAGS=$CFLAGS
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3942 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3943 if ${ac_cv_prog_cc_g+:} false; then :
3944 $as_echo_n "(cached) " >&6
3946 ac_save_c_werror_flag=$ac_c_werror_flag
3947 ac_c_werror_flag=yes
3950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h. */
3961 if ac_fn_c_try_compile "$LINENO"; then :
3965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h. */
3976 if ac_fn_c_try_compile "$LINENO"; then :
3979 ac_c_werror_flag=$ac_save_c_werror_flag
3981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3982 /* end confdefs.h. */
3992 if ac_fn_c_try_compile "$LINENO"; then :
3995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4000 ac_c_werror_flag=$ac_save_c_werror_flag
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4003 $as_echo "$ac_cv_prog_cc_g" >&6; }
4004 if test "$ac_test_CFLAGS" = set; then
4005 CFLAGS=$ac_save_CFLAGS
4006 elif test $ac_cv_prog_cc_g = yes; then
4007 if test "$GCC" = yes; then
4013 if test "$GCC" = yes; then
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4020 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4021 if ${ac_cv_prog_cc_c89+:} false; then :
4022 $as_echo_n "(cached) " >&6
4024 ac_cv_prog_cc_c89=no
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4031 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4032 struct buf { int x; };
4033 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4034 static char *e (p, i)
4040 static char *f (char * (*g) (char **, int), char **p, ...)
4045 s = g (p, va_arg (v,int));
4050 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4051 function prototypes and stuff, but not '\xHH' hex character constants.
4052 These don't provoke an error unfortunately, instead are silently treated
4053 as 'x'. The following induces an error, until -std is added to get
4054 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4055 array size at least. It's necessary to write '\x00'==0 to get something
4056 that's true only with -std. */
4057 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4059 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4060 inside strings and character constants. */
4062 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4064 int test (int i, double x);
4065 struct s1 {int (*f) (int a);};
4066 struct s2 {int (*f) (double a);};
4067 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4073 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4078 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4079 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4081 CC="$ac_save_CC $ac_arg"
4082 if ac_fn_c_try_compile "$LINENO"; then :
4083 ac_cv_prog_cc_c89=$ac_arg
4085 rm -f core conftest.err conftest.$ac_objext
4086 test "x$ac_cv_prog_cc_c89" != "xno" && break
4088 rm -f conftest.$ac_ext
4093 case "x$ac_cv_prog_cc_c89" in
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4096 $as_echo "none needed" >&6; } ;;
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4099 $as_echo "unsupported" >&6; } ;;
4101 CC="$CC $ac_cv_prog_cc_c89"
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4103 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4105 if test "x$ac_cv_prog_cc_c89" != xno; then :
4110 ac_cpp='$CPP $CPPFLAGS'
4111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4115 depcc="$CC" am_compiler_list=
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4118 $as_echo_n "checking dependency style of $depcc... " >&6; }
4119 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4120 $as_echo_n "(cached) " >&6
4122 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4123 # We make a subdir and do the tests there. Otherwise we can end up
4124 # making bogus files that we don't know about and never remove. For
4125 # instance it was reported that on HP-UX the gcc test will end up
4126 # making a dummy file named 'D' -- because '-MD' means "put the output
4130 # Copy depcomp to subdir because otherwise we won't find it if we're
4131 # using a relative directory.
4132 cp "$am_depcomp" conftest.dir
4134 # We will build objects and dependencies in a subdirectory because
4135 # it helps to detect inapplicable dependency modes. For instance
4136 # both Tru64's cc and ICC support -MD to output dependencies as a
4137 # side effect of compilation, but ICC will put the dependencies in
4138 # the current directory while Tru64 will put them in the object
4142 am_cv_CC_dependencies_compiler_type=none
4143 if test "$am_compiler_list" = ""; then
4144 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4147 case " $depcc " in #(
4148 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4151 for depmode in $am_compiler_list; do
4152 # Setup a source with many dependencies, because some compilers
4153 # like to wrap large dependency lists on column 80 (with \), and
4154 # we should not choose a depcomp mode which is confused by this.
4156 # We need to recreate these files for each test, as the compiler may
4157 # overwrite some of them when testing with obscure command lines.
4158 # This happens at least with the AIX C compiler.
4160 for i in 1 2 3 4 5 6; do
4161 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4162 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4163 # Solaris 10 /bin/sh.
4164 echo '/* dummy */' > sub/conftst$i.h
4166 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4168 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4169 # mode. It turns out that the SunPro C++ compiler does not properly
4170 # handle '-M -o', and we need to detect this. Also, some Intel
4171 # versions had trouble with output in subdirs.
4172 am__obj=sub/conftest.${OBJEXT-o}
4173 am__minus_obj="-o $am__obj"
4176 # This depmode causes a compiler race in universal mode.
4177 test "$am__universal" = false || continue
4180 # After this tag, mechanisms are not by side-effect, so they'll
4181 # only be used when explicitly requested.
4182 if test "x$enable_dependency_tracking" = xyes; then
4188 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4189 # This compiler won't grok '-c -o', but also, the minuso test has
4190 # not run yet. These depmodes are late enough in the game, and
4191 # so weak that their functioning should not be impacted.
4192 am__obj=conftest.${OBJEXT-o}
4197 if depmode=$depmode \
4198 source=sub/conftest.c object=$am__obj \
4199 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4200 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4201 >/dev/null 2>conftest.err &&
4202 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4203 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4204 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4205 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4206 # icc doesn't choke on unknown options, it will just issue warnings
4207 # or remarks (even with -Werror). So we grep stderr for any message
4208 # that says an option was ignored or not supported.
4209 # When given -MP, icc 7.0 and 7.1 complain thusly:
4210 # icc: Command line warning: ignoring option '-M'; no argument required
4211 # The diagnosis changed in icc 8.0:
4212 # icc: Command line remark: option '-MP' not supported
4213 if (grep 'ignoring option' conftest.err ||
4214 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4215 am_cv_CC_dependencies_compiler_type=$depmode
4224 am_cv_CC_dependencies_compiler_type=none
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4229 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4230 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4233 test "x$enable_dependency_tracking" != xno \
4234 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4236 am__fastdepCC_FALSE='#'
4238 am__fastdepCC_TRUE='#'
4239 am__fastdepCC_FALSE=
4245 ac_cpp='$CPP $CPPFLAGS'
4246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4250 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4251 # On Suns, sometimes $CPP names a directory.
4252 if test -n "$CPP" && test -d "$CPP"; then
4255 if test -z "$CPP"; then
4256 if ${ac_cv_prog_CPP+:} false; then :
4257 $as_echo_n "(cached) " >&6
4259 # Double quotes because CPP needs to be expanded
4260 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4263 for ac_c_preproc_warn_flag in '' yes
4265 # Use a header file that comes with gcc, so configuring glibc
4266 # with a fresh cross-compiler works.
4267 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4268 # <limits.h> exists even on freestanding compilers.
4269 # On the NeXT, cc -E runs the code through the compiler's parser,
4270 # not just through cpp. "Syntax error" is here to catch this case.
4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4274 # include <limits.h>
4276 # include <assert.h>
4280 if ac_fn_c_try_cpp "$LINENO"; then :
4283 # Broken: fails on valid input.
4286 rm -f conftest.err conftest.i conftest.$ac_ext
4288 # OK, works on sane cases. Now check whether nonexistent headers
4289 # can be detected and how.
4290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4291 /* end confdefs.h. */
4292 #include <ac_nonexistent.h>
4294 if ac_fn_c_try_cpp "$LINENO"; then :
4295 # Broken: success on invalid input.
4298 # Passes both tests.
4302 rm -f conftest.err conftest.i conftest.$ac_ext
4305 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4306 rm -f conftest.i conftest.err conftest.$ac_ext
4307 if $ac_preproc_ok; then :
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4320 $as_echo "$CPP" >&6; }
4322 for ac_c_preproc_warn_flag in '' yes
4324 # Use a header file that comes with gcc, so configuring glibc
4325 # with a fresh cross-compiler works.
4326 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4327 # <limits.h> exists even on freestanding compilers.
4328 # On the NeXT, cc -E runs the code through the compiler's parser,
4329 # not just through cpp. "Syntax error" is here to catch this case.
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4333 # include <limits.h>
4335 # include <assert.h>
4339 if ac_fn_c_try_cpp "$LINENO"; then :
4342 # Broken: fails on valid input.
4345 rm -f conftest.err conftest.i conftest.$ac_ext
4347 # OK, works on sane cases. Now check whether nonexistent headers
4348 # can be detected and how.
4349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4350 /* end confdefs.h. */
4351 #include <ac_nonexistent.h>
4353 if ac_fn_c_try_cpp "$LINENO"; then :
4354 # Broken: success on invalid input.
4357 # Passes both tests.
4361 rm -f conftest.err conftest.i conftest.$ac_ext
4364 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4365 rm -f conftest.i conftest.err conftest.$ac_ext
4366 if $ac_preproc_ok; then :
4369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4371 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4372 See \`config.log' for more details" "$LINENO" 5; }
4376 ac_cpp='$CPP $CPPFLAGS'
4377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4383 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4384 if ${ac_cv_path_GREP+:} false; then :
4385 $as_echo_n "(cached) " >&6
4387 if test -z "$GREP"; then
4388 ac_path_GREP_found=false
4389 # Loop through the user's path and test for each of PROGNAME-LIST
4390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4391 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4394 test -z "$as_dir" && as_dir=.
4395 for ac_prog in grep ggrep; do
4396 for ac_exec_ext in '' $ac_executable_extensions; do
4397 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4398 as_fn_executable_p "$ac_path_GREP" || continue
4399 # Check for GNU ac_path_GREP and select it if it is found.
4400 # Check for GNU $ac_path_GREP
4401 case `"$ac_path_GREP" --version 2>&1` in
4403 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4406 $as_echo_n 0123456789 >"conftest.in"
4409 cat "conftest.in" "conftest.in" >"conftest.tmp"
4410 mv "conftest.tmp" "conftest.in"
4411 cp "conftest.in" "conftest.nl"
4412 $as_echo 'GREP' >> "conftest.nl"
4413 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4414 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4415 as_fn_arith $ac_count + 1 && ac_count=$as_val
4416 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4417 # Best one so far, save it but keep looking for a better one
4418 ac_cv_path_GREP="$ac_path_GREP"
4419 ac_path_GREP_max=$ac_count
4421 # 10*(2^10) chars as input seems more than enough
4422 test $ac_count -gt 10 && break
4424 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4427 $ac_path_GREP_found && break 3
4432 if test -z "$ac_cv_path_GREP"; then
4433 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4436 ac_cv_path_GREP=$GREP
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4441 $as_echo "$ac_cv_path_GREP" >&6; }
4442 GREP="$ac_cv_path_GREP"
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4446 $as_echo_n "checking for egrep... " >&6; }
4447 if ${ac_cv_path_EGREP+:} false; then :
4448 $as_echo_n "(cached) " >&6
4450 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4451 then ac_cv_path_EGREP="$GREP -E"
4453 if test -z "$EGREP"; then
4454 ac_path_EGREP_found=false
4455 # Loop through the user's path and test for each of PROGNAME-LIST
4456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4460 test -z "$as_dir" && as_dir=.
4461 for ac_prog in egrep; do
4462 for ac_exec_ext in '' $ac_executable_extensions; do
4463 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4464 as_fn_executable_p "$ac_path_EGREP" || continue
4465 # Check for GNU ac_path_EGREP and select it if it is found.
4466 # Check for GNU $ac_path_EGREP
4467 case `"$ac_path_EGREP" --version 2>&1` in
4469 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4472 $as_echo_n 0123456789 >"conftest.in"
4475 cat "conftest.in" "conftest.in" >"conftest.tmp"
4476 mv "conftest.tmp" "conftest.in"
4477 cp "conftest.in" "conftest.nl"
4478 $as_echo 'EGREP' >> "conftest.nl"
4479 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4480 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4481 as_fn_arith $ac_count + 1 && ac_count=$as_val
4482 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4483 # Best one so far, save it but keep looking for a better one
4484 ac_cv_path_EGREP="$ac_path_EGREP"
4485 ac_path_EGREP_max=$ac_count
4487 # 10*(2^10) chars as input seems more than enough
4488 test $ac_count -gt 10 && break
4490 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4493 $ac_path_EGREP_found && break 3
4498 if test -z "$ac_cv_path_EGREP"; then
4499 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4502 ac_cv_path_EGREP=$EGREP
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4508 $as_echo "$ac_cv_path_EGREP" >&6; }
4509 EGREP="$ac_cv_path_EGREP"
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4513 $as_echo_n "checking for ANSI C header files... " >&6; }
4514 if ${ac_cv_header_stdc+:} false; then :
4515 $as_echo_n "(cached) " >&6
4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4532 if ac_fn_c_try_compile "$LINENO"; then :
4533 ac_cv_header_stdc=yes
4535 ac_cv_header_stdc=no
4537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4539 if test $ac_cv_header_stdc = yes; then
4540 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4547 $EGREP "memchr" >/dev/null 2>&1; then :
4550 ac_cv_header_stdc=no
4556 if test $ac_cv_header_stdc = yes; then
4557 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4564 $EGREP "free" >/dev/null 2>&1; then :
4567 ac_cv_header_stdc=no
4573 if test $ac_cv_header_stdc = yes; then
4574 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4575 if test "$cross_compiling" = yes; then :
4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4582 #if ((' ' & 0x0FF) == 0x020)
4583 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4584 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4586 # define ISLOWER(c) \
4587 (('a' <= (c) && (c) <= 'i') \
4588 || ('j' <= (c) && (c) <= 'r') \
4589 || ('s' <= (c) && (c) <= 'z'))
4590 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4593 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4598 for (i = 0; i < 256; i++)
4599 if (XOR (islower (i), ISLOWER (i))
4600 || toupper (i) != TOUPPER (i))
4605 if ac_fn_c_try_run "$LINENO"; then :
4608 ac_cv_header_stdc=no
4610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4611 conftest.$ac_objext conftest.beam conftest.$ac_ext
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4617 $as_echo "$ac_cv_header_stdc" >&6; }
4618 if test $ac_cv_header_stdc = yes; then
4620 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4624 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4625 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4626 inttypes.h stdint.h unistd.h
4628 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4629 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4631 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4632 cat >>confdefs.h <<_ACEOF
4633 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4642 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4643 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4650 if test "$MINIX" = yes; then
4652 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4655 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4658 $as_echo "#define _MINIX 1" >>confdefs.h
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4664 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4665 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4666 $as_echo_n "(cached) " >&6
4668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4669 /* end confdefs.h. */
4671 # define __EXTENSIONS__ 1
4672 $ac_includes_default
4681 if ac_fn_c_try_compile "$LINENO"; then :
4682 ac_cv_safe_to_define___extensions__=yes
4684 ac_cv_safe_to_define___extensions__=no
4686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4689 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4690 test $ac_cv_safe_to_define___extensions__ = yes &&
4691 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4693 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4695 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4697 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4699 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4705 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4706 if ${ac_cv_c_bigendian+:} false; then :
4707 $as_echo_n "(cached) " >&6
4709 ac_cv_c_bigendian=unknown
4710 # See if we're dealing with a universal compiler.
4711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4713 #ifndef __APPLE_CC__
4714 not a universal capable compiler
4719 if ac_fn_c_try_compile "$LINENO"; then :
4721 # Check for potential -arch flags. It is not universal unless
4722 # there are at least two -arch flags with different values.
4725 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4726 if test -n "$ac_prev"; then
4728 i?86 | x86_64 | ppc | ppc64)
4729 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4732 ac_cv_c_bigendian=universal
4738 elif test "x$ac_word" = "x-arch"; then
4743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4744 if test $ac_cv_c_bigendian = unknown; then
4745 # See if sys/param.h defines the BYTE_ORDER macro.
4746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h. */
4748 #include <sys/types.h>
4749 #include <sys/param.h>
4754 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4755 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4764 if ac_fn_c_try_compile "$LINENO"; then :
4765 # It does; now see whether it defined to BIG_ENDIAN or not.
4766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h. */
4768 #include <sys/types.h>
4769 #include <sys/param.h>
4774 #if BYTE_ORDER != BIG_ENDIAN
4782 if ac_fn_c_try_compile "$LINENO"; then :
4783 ac_cv_c_bigendian=yes
4785 ac_cv_c_bigendian=no
4787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4791 if test $ac_cv_c_bigendian = unknown; then
4792 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4794 /* end confdefs.h. */
4800 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4808 if ac_fn_c_try_compile "$LINENO"; then :
4809 # It does; now see whether it defined to _BIG_ENDIAN or not.
4810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4811 /* end confdefs.h. */
4825 if ac_fn_c_try_compile "$LINENO"; then :
4826 ac_cv_c_bigendian=yes
4828 ac_cv_c_bigendian=no
4830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4834 if test $ac_cv_c_bigendian = unknown; then
4835 # Compile a test program.
4836 if test "$cross_compiling" = yes; then :
4837 # Try to guess by grepping values from an object file.
4838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4839 /* end confdefs.h. */
4840 short int ascii_mm[] =
4841 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4842 short int ascii_ii[] =
4843 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4844 int use_ascii (int i) {
4845 return ascii_mm[i] + ascii_ii[i];
4847 short int ebcdic_ii[] =
4848 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4849 short int ebcdic_mm[] =
4850 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4851 int use_ebcdic (int i) {
4852 return ebcdic_mm[i] + ebcdic_ii[i];
4859 return use_ascii (foo) == use_ebcdic (foo);
4864 if ac_fn_c_try_compile "$LINENO"; then :
4865 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4866 ac_cv_c_bigendian=yes
4868 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4869 if test "$ac_cv_c_bigendian" = unknown; then
4870 ac_cv_c_bigendian=no
4872 # finding both strings is unlikely to happen, but who knows?
4873 ac_cv_c_bigendian=unknown
4877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4880 /* end confdefs.h. */
4881 $ac_includes_default
4886 /* Are we little or big endian? From Harbison&Steele. */
4890 char c[sizeof (long int)];
4893 return u.c[sizeof (long int) - 1] == 1;
4899 if ac_fn_c_try_run "$LINENO"; then :
4900 ac_cv_c_bigendian=no
4902 ac_cv_c_bigendian=yes
4904 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4905 conftest.$ac_objext conftest.beam conftest.$ac_ext
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4911 $as_echo "$ac_cv_c_bigendian" >&6; }
4912 case $ac_cv_c_bigendian in #(
4914 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4920 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4924 as_fn_error $? "unknown endianness
4925 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4929 $as_echo_n "checking for library containing strerror... " >&6; }
4930 if ${ac_cv_search_strerror+:} false; then :
4931 $as_echo_n "(cached) " >&6
4933 ac_func_search_save_LIBS=$LIBS
4934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4935 /* end confdefs.h. */
4937 /* Override any GCC internal prototype to avoid an error.
4938 Use char because int might match the return type of a GCC
4939 builtin and then its argument prototype would still apply. */
4952 for ac_lib in '' cposix; do
4953 if test -z "$ac_lib"; then
4954 ac_res="none required"
4957 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4959 if ac_fn_c_try_link "$LINENO"; then :
4960 ac_cv_search_strerror=$ac_res
4962 rm -f core conftest.err conftest.$ac_objext \
4964 if ${ac_cv_search_strerror+:} false; then :
4968 if ${ac_cv_search_strerror+:} false; then :
4971 ac_cv_search_strerror=no
4974 LIBS=$ac_func_search_save_LIBS
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4977 $as_echo "$ac_cv_search_strerror" >&6; }
4978 ac_res=$ac_cv_search_strerror
4979 if test "$ac_res" != no; then :
4980 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4985 ac_cpp='$CPP $CPPFLAGS'
4986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4989 if test -n "$ac_tool_prefix"; then
4990 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4991 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4993 $as_echo_n "checking for $ac_word... " >&6; }
4994 if ${ac_cv_prog_CC+:} false; then :
4995 $as_echo_n "(cached) " >&6
4997 if test -n "$CC"; then
4998 ac_cv_prog_CC="$CC" # Let the user override the test.
5000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5004 test -z "$as_dir" && as_dir=.
5005 for ac_exec_ext in '' $ac_executable_extensions; do
5006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5007 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5018 if test -n "$CC"; then
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5020 $as_echo "$CC" >&6; }
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5023 $as_echo "no" >&6; }
5028 if test -z "$ac_cv_prog_CC"; then
5030 # Extract the first word of "gcc", so it can be a program name with args.
5031 set dummy gcc; ac_word=$2
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5033 $as_echo_n "checking for $ac_word... " >&6; }
5034 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5035 $as_echo_n "(cached) " >&6
5037 if test -n "$ac_ct_CC"; then
5038 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044 test -z "$as_dir" && as_dir=.
5045 for ac_exec_ext in '' $ac_executable_extensions; do
5046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5047 ac_cv_prog_ac_ct_CC="gcc"
5048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5057 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5058 if test -n "$ac_ct_CC"; then
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5060 $as_echo "$ac_ct_CC" >&6; }
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5063 $as_echo "no" >&6; }
5066 if test "x$ac_ct_CC" = x; then
5069 case $cross_compiling:$ac_tool_warned in
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5073 ac_tool_warned=yes ;;
5081 if test -z "$CC"; then
5082 if test -n "$ac_tool_prefix"; then
5083 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5084 set dummy ${ac_tool_prefix}cc; ac_word=$2
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5086 $as_echo_n "checking for $ac_word... " >&6; }
5087 if ${ac_cv_prog_CC+:} false; then :
5088 $as_echo_n "(cached) " >&6
5090 if test -n "$CC"; then
5091 ac_cv_prog_CC="$CC" # Let the user override the test.
5093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5097 test -z "$as_dir" && as_dir=.
5098 for ac_exec_ext in '' $ac_executable_extensions; do
5099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5100 ac_cv_prog_CC="${ac_tool_prefix}cc"
5101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5111 if test -n "$CC"; then
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5113 $as_echo "$CC" >&6; }
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5122 if test -z "$CC"; then
5123 # Extract the first word of "cc", so it can be a program name with args.
5124 set dummy cc; ac_word=$2
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5126 $as_echo_n "checking for $ac_word... " >&6; }
5127 if ${ac_cv_prog_CC+:} false; then :
5128 $as_echo_n "(cached) " >&6
5130 if test -n "$CC"; then
5131 ac_cv_prog_CC="$CC" # Let the user override the test.
5134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 test -z "$as_dir" && as_dir=.
5139 for ac_exec_ext in '' $ac_executable_extensions; do
5140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5141 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5142 ac_prog_rejected=yes
5146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 if test $ac_prog_rejected = yes; then
5154 # We found a bogon in the path, so make sure we never use it.
5155 set dummy $ac_cv_prog_CC
5157 if test $# != 0; then
5158 # We chose a different compiler from the bogus one.
5159 # However, it has the same basename, so the bogon will be chosen
5160 # first if we set CC to just the basename; use the full file name.
5162 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5168 if test -n "$CC"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5170 $as_echo "$CC" >&6; }
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5178 if test -z "$CC"; then
5179 if test -n "$ac_tool_prefix"; then
5180 for ac_prog in cl.exe
5182 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5183 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5185 $as_echo_n "checking for $ac_word... " >&6; }
5186 if ${ac_cv_prog_CC+:} false; then :
5187 $as_echo_n "(cached) " >&6
5189 if test -n "$CC"; then
5190 ac_cv_prog_CC="$CC" # Let the user override the test.
5192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5196 test -z "$as_dir" && as_dir=.
5197 for ac_exec_ext in '' $ac_executable_extensions; do
5198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5199 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5210 if test -n "$CC"; then
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5212 $as_echo "$CC" >&6; }
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5215 $as_echo "no" >&6; }
5219 test -n "$CC" && break
5222 if test -z "$CC"; then
5224 for ac_prog in cl.exe
5226 # Extract the first word of "$ac_prog", so it can be a program name with args.
5227 set dummy $ac_prog; ac_word=$2
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5229 $as_echo_n "checking for $ac_word... " >&6; }
5230 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5231 $as_echo_n "(cached) " >&6
5233 if test -n "$ac_ct_CC"; then
5234 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5240 test -z "$as_dir" && as_dir=.
5241 for ac_exec_ext in '' $ac_executable_extensions; do
5242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5243 ac_cv_prog_ac_ct_CC="$ac_prog"
5244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5253 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5254 if test -n "$ac_ct_CC"; then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5256 $as_echo "$ac_ct_CC" >&6; }
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5263 test -n "$ac_ct_CC" && break
5266 if test "x$ac_ct_CC" = x; then
5269 case $cross_compiling:$ac_tool_warned in
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5273 ac_tool_warned=yes ;;
5282 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5284 as_fn_error $? "no acceptable C compiler found in \$PATH
5285 See \`config.log' for more details" "$LINENO" 5; }
5287 # Provide some information about the compiler.
5288 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5291 for ac_option in --version -v -V -qversion; do
5292 { { ac_try="$ac_compiler $ac_option >&5"
5294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5295 *) ac_try_echo=$ac_try;;
5297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5298 $as_echo "$ac_try_echo"; } >&5
5299 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5301 if test -s conftest.err; then
5303 ... rest of stderr output deleted ...
5304 10q' conftest.err >conftest.er1
5305 cat conftest.er1 >&5
5307 rm -f conftest.er1 conftest.err
5308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5309 test $ac_status = 0; }
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5313 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5314 if ${ac_cv_c_compiler_gnu+:} false; then :
5315 $as_echo_n "(cached) " >&6
5317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5318 /* end confdefs.h. */
5331 if ac_fn_c_try_compile "$LINENO"; then :
5336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5337 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5341 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5342 if test $ac_compiler_gnu = yes; then
5347 ac_test_CFLAGS=${CFLAGS+set}
5348 ac_save_CFLAGS=$CFLAGS
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5350 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5351 if ${ac_cv_prog_cc_g+:} false; then :
5352 $as_echo_n "(cached) " >&6
5354 ac_save_c_werror_flag=$ac_c_werror_flag
5355 ac_c_werror_flag=yes
5358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h. */
5369 if ac_fn_c_try_compile "$LINENO"; then :
5373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5374 /* end confdefs.h. */
5384 if ac_fn_c_try_compile "$LINENO"; then :
5387 ac_c_werror_flag=$ac_save_c_werror_flag
5389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5390 /* end confdefs.h. */
5400 if ac_fn_c_try_compile "$LINENO"; then :
5403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5408 ac_c_werror_flag=$ac_save_c_werror_flag
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5411 $as_echo "$ac_cv_prog_cc_g" >&6; }
5412 if test "$ac_test_CFLAGS" = set; then
5413 CFLAGS=$ac_save_CFLAGS
5414 elif test $ac_cv_prog_cc_g = yes; then
5415 if test "$GCC" = yes; then
5421 if test "$GCC" = yes; then
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5428 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5429 if ${ac_cv_prog_cc_c89+:} false; then :
5430 $as_echo_n "(cached) " >&6
5432 ac_cv_prog_cc_c89=no
5434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5435 /* end confdefs.h. */
5439 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5440 struct buf { int x; };
5441 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5442 static char *e (p, i)
5448 static char *f (char * (*g) (char **, int), char **p, ...)
5453 s = g (p, va_arg (v,int));
5458 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5459 function prototypes and stuff, but not '\xHH' hex character constants.
5460 These don't provoke an error unfortunately, instead are silently treated
5461 as 'x'. The following induces an error, until -std is added to get
5462 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5463 array size at least. It's necessary to write '\x00'==0 to get something
5464 that's true only with -std. */
5465 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5467 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5468 inside strings and character constants. */
5470 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5472 int test (int i, double x);
5473 struct s1 {int (*f) (int a);};
5474 struct s2 {int (*f) (double a);};
5475 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5481 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5486 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5487 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5489 CC="$ac_save_CC $ac_arg"
5490 if ac_fn_c_try_compile "$LINENO"; then :
5491 ac_cv_prog_cc_c89=$ac_arg
5493 rm -f core conftest.err conftest.$ac_objext
5494 test "x$ac_cv_prog_cc_c89" != "xno" && break
5496 rm -f conftest.$ac_ext
5501 case "x$ac_cv_prog_cc_c89" in
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5504 $as_echo "none needed" >&6; } ;;
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5507 $as_echo "unsupported" >&6; } ;;
5509 CC="$CC $ac_cv_prog_cc_c89"
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5511 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5513 if test "x$ac_cv_prog_cc_c89" != xno; then :
5518 ac_cpp='$CPP $CPPFLAGS'
5519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5523 depcc="$CC" am_compiler_list=
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5526 $as_echo_n "checking dependency style of $depcc... " >&6; }
5527 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5528 $as_echo_n "(cached) " >&6
5530 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5531 # We make a subdir and do the tests there. Otherwise we can end up
5532 # making bogus files that we don't know about and never remove. For
5533 # instance it was reported that on HP-UX the gcc test will end up
5534 # making a dummy file named 'D' -- because '-MD' means "put the output
5538 # Copy depcomp to subdir because otherwise we won't find it if we're
5539 # using a relative directory.
5540 cp "$am_depcomp" conftest.dir
5542 # We will build objects and dependencies in a subdirectory because
5543 # it helps to detect inapplicable dependency modes. For instance
5544 # both Tru64's cc and ICC support -MD to output dependencies as a
5545 # side effect of compilation, but ICC will put the dependencies in
5546 # the current directory while Tru64 will put them in the object
5550 am_cv_CC_dependencies_compiler_type=none
5551 if test "$am_compiler_list" = ""; then
5552 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5555 case " $depcc " in #(
5556 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5559 for depmode in $am_compiler_list; do
5560 # Setup a source with many dependencies, because some compilers
5561 # like to wrap large dependency lists on column 80 (with \), and
5562 # we should not choose a depcomp mode which is confused by this.
5564 # We need to recreate these files for each test, as the compiler may
5565 # overwrite some of them when testing with obscure command lines.
5566 # This happens at least with the AIX C compiler.
5568 for i in 1 2 3 4 5 6; do
5569 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5570 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5571 # Solaris 10 /bin/sh.
5572 echo '/* dummy */' > sub/conftst$i.h
5574 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5576 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5577 # mode. It turns out that the SunPro C++ compiler does not properly
5578 # handle '-M -o', and we need to detect this. Also, some Intel
5579 # versions had trouble with output in subdirs.
5580 am__obj=sub/conftest.${OBJEXT-o}
5581 am__minus_obj="-o $am__obj"
5584 # This depmode causes a compiler race in universal mode.
5585 test "$am__universal" = false || continue
5588 # After this tag, mechanisms are not by side-effect, so they'll
5589 # only be used when explicitly requested.
5590 if test "x$enable_dependency_tracking" = xyes; then
5596 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5597 # This compiler won't grok '-c -o', but also, the minuso test has
5598 # not run yet. These depmodes are late enough in the game, and
5599 # so weak that their functioning should not be impacted.
5600 am__obj=conftest.${OBJEXT-o}
5605 if depmode=$depmode \
5606 source=sub/conftest.c object=$am__obj \
5607 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5608 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5609 >/dev/null 2>conftest.err &&
5610 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5611 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5612 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5613 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5614 # icc doesn't choke on unknown options, it will just issue warnings
5615 # or remarks (even with -Werror). So we grep stderr for any message
5616 # that says an option was ignored or not supported.
5617 # When given -MP, icc 7.0 and 7.1 complain thusly:
5618 # icc: Command line warning: ignoring option '-M'; no argument required
5619 # The diagnosis changed in icc 8.0:
5620 # icc: Command line remark: option '-MP' not supported
5621 if (grep 'ignoring option' conftest.err ||
5622 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5623 am_cv_CC_dependencies_compiler_type=$depmode
5632 am_cv_CC_dependencies_compiler_type=none
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5637 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5638 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5641 test "x$enable_dependency_tracking" != xno \
5642 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5644 am__fastdepCC_FALSE='#'
5646 am__fastdepCC_TRUE='#'
5647 am__fastdepCC_FALSE=
5651 case $ac_cv_prog_cc_stdc in #(
5653 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5656 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5657 if ${ac_cv_prog_cc_c99+:} false; then :
5658 $as_echo_n "(cached) " >&6
5660 ac_cv_prog_cc_c99=no
5662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5663 /* end confdefs.h. */
5665 #include <stdbool.h>
5670 // Check varargs macros. These examples are taken from C99 6.10.3.5.
5671 #define debug(...) fprintf (stderr, __VA_ARGS__)
5672 #define showlist(...) puts (#__VA_ARGS__)
5673 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5675 test_varargs_macros (void)
5680 debug ("X = %d\n", x);
5681 showlist (The first, second, and third items.);
5682 report (x>y, "x is %d but y is %d", x, y);
5685 // Check long long types.
5686 #define BIG64 18446744073709551615ull
5687 #define BIG32 4294967295ul
5688 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5690 your preprocessor is broken;
5694 your preprocessor is broken;
5696 static long long int bignum = -9223372036854775807LL;
5697 static unsigned long long int ubignum = BIG64;
5699 struct incomplete_array
5707 const wchar_t *name;
5711 typedef const char *ccp;
5714 test_restrict (ccp restrict text)
5716 // See if C++-style comments work.
5717 // Iterate through items via the restricted pointer.
5718 // Also check for declarations in for loops.
5719 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5724 // Check varargs and va_copy.
5726 test_varargs (const char *format, ...)
5729 va_start (args, format);
5731 va_copy (args_copy, args);
5742 str = va_arg (args_copy, const char *);
5745 number = va_arg (args_copy, int);
5748 fnumber = va_arg (args_copy, double);
5763 _Bool success = false;
5766 if (test_restrict ("String literal") == 0)
5768 char *restrict newvar = "Another string";
5771 test_varargs ("s, d' f .", "string", 65, 34.234);
5772 test_varargs_macros ();
5774 // Check flexible array members.
5775 struct incomplete_array *ia =
5776 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5778 for (int i = 0; i < ia->datasize; ++i)
5779 ia->data[i] = i * 1.234;
5781 // Check named initializers.
5782 struct named_init ni = {
5784 .name = L"Test wide string",
5785 .average = 543.34343,
5790 int dynamic_array[ni.number];
5791 dynamic_array[ni.number - 1] = 543;
5793 // work around unused variable warnings
5794 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5795 || dynamic_array[ni.number - 1] != 543);
5801 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5803 CC="$ac_save_CC $ac_arg"
5804 if ac_fn_c_try_compile "$LINENO"; then :
5805 ac_cv_prog_cc_c99=$ac_arg
5807 rm -f core conftest.err conftest.$ac_objext
5808 test "x$ac_cv_prog_cc_c99" != "xno" && break
5810 rm -f conftest.$ac_ext
5815 case "x$ac_cv_prog_cc_c99" in
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5818 $as_echo "none needed" >&6; } ;;
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5821 $as_echo "unsupported" >&6; } ;;
5823 CC="$CC $ac_cv_prog_cc_c99"
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5825 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5827 if test "x$ac_cv_prog_cc_c99" != xno; then :
5828 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5831 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5832 if ${ac_cv_prog_cc_c89+:} false; then :
5833 $as_echo_n "(cached) " >&6
5835 ac_cv_prog_cc_c89=no
5837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5838 /* end confdefs.h. */
5842 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5843 struct buf { int x; };
5844 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5845 static char *e (p, i)
5851 static char *f (char * (*g) (char **, int), char **p, ...)
5856 s = g (p, va_arg (v,int));
5861 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5862 function prototypes and stuff, but not '\xHH' hex character constants.
5863 These don't provoke an error unfortunately, instead are silently treated
5864 as 'x'. The following induces an error, until -std is added to get
5865 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5866 array size at least. It's necessary to write '\x00'==0 to get something
5867 that's true only with -std. */
5868 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5870 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5871 inside strings and character constants. */
5873 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5875 int test (int i, double x);
5876 struct s1 {int (*f) (int a);};
5877 struct s2 {int (*f) (double a);};
5878 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5884 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5889 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5890 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5892 CC="$ac_save_CC $ac_arg"
5893 if ac_fn_c_try_compile "$LINENO"; then :
5894 ac_cv_prog_cc_c89=$ac_arg
5896 rm -f core conftest.err conftest.$ac_objext
5897 test "x$ac_cv_prog_cc_c89" != "xno" && break
5899 rm -f conftest.$ac_ext
5904 case "x$ac_cv_prog_cc_c89" in
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5907 $as_echo "none needed" >&6; } ;;
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5910 $as_echo "unsupported" >&6; } ;;
5912 CC="$CC $ac_cv_prog_cc_c89"
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5914 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5916 if test "x$ac_cv_prog_cc_c89" != xno; then :
5917 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5919 ac_cv_prog_cc_stdc=no
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
5926 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
5927 if ${ac_cv_prog_cc_stdc+:} false; then :
5928 $as_echo_n "(cached) " >&6
5931 case $ac_cv_prog_cc_stdc in #(
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5934 $as_echo "unsupported" >&6; } ;; #(
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5937 $as_echo "none needed" >&6; } ;; #(
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
5940 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5944 $as_echo_n "checking for ANSI C header files... " >&6; }
5945 if ${ac_cv_header_stdc+:} false; then :
5946 $as_echo_n "(cached) " >&6
5948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5949 /* end confdefs.h. */
5963 if ac_fn_c_try_compile "$LINENO"; then :
5964 ac_cv_header_stdc=yes
5966 ac_cv_header_stdc=no
5968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5970 if test $ac_cv_header_stdc = yes; then
5971 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5973 /* end confdefs.h. */
5977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5978 $EGREP "memchr" >/dev/null 2>&1; then :
5981 ac_cv_header_stdc=no
5987 if test $ac_cv_header_stdc = yes; then
5988 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5990 /* end confdefs.h. */
5994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5995 $EGREP "free" >/dev/null 2>&1; then :
5998 ac_cv_header_stdc=no
6004 if test $ac_cv_header_stdc = yes; then
6005 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6006 if test "$cross_compiling" = yes; then :
6009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6010 /* end confdefs.h. */
6013 #if ((' ' & 0x0FF) == 0x020)
6014 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6015 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6017 # define ISLOWER(c) \
6018 (('a' <= (c) && (c) <= 'i') \
6019 || ('j' <= (c) && (c) <= 'r') \
6020 || ('s' <= (c) && (c) <= 'z'))
6021 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6024 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6029 for (i = 0; i < 256; i++)
6030 if (XOR (islower (i), ISLOWER (i))
6031 || toupper (i) != TOUPPER (i))
6036 if ac_fn_c_try_run "$LINENO"; then :
6039 ac_cv_header_stdc=no
6041 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6042 conftest.$ac_objext conftest.beam conftest.$ac_ext
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6048 $as_echo "$ac_cv_header_stdc" >&6; }
6049 if test $ac_cv_header_stdc = yes; then
6051 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6056 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6057 if ${ac_cv_c_const+:} false; then :
6058 $as_echo_n "(cached) " >&6
6060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6061 /* end confdefs.h. */
6068 /* Ultrix mips cc rejects this sort of thing. */
6069 typedef int charset[2];
6070 const charset cs = { 0, 0 };
6071 /* SunOS 4.1.1 cc rejects this. */
6072 char const *const *pcpcc;
6074 /* NEC SVR4.0.2 mips cc rejects this. */
6075 struct point {int x, y;};
6076 static struct point const zero = {0,0};
6077 /* AIX XL C 1.02.0.0 rejects this.
6078 It does not let you subtract one const X* pointer from another in
6079 an arm of an if-expression whose if-part is not a constant
6081 const char *g = "string";
6082 pcpcc = &g + (g ? g-g : 0);
6083 /* HPUX 7.0 cc rejects these. */
6085 ppc = (char**) pcpcc;
6086 pcpcc = (char const *const *) ppc;
6087 { /* SCO 3.2v4 cc rejects this sort of thing. */
6090 char const *s = 0 ? (char *) 0 : (char const *) 0;
6095 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6097 const int *foo = &x[0];
6100 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6101 typedef const int *iptr;
6105 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
6106 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6107 struct s { int j; const int *ap[3]; } bx;
6108 struct s *b = &bx; b->j = 5;
6110 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6114 return !cs[0] && !zero.x;
6121 if ac_fn_c_try_compile "$LINENO"; then :
6126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
6129 $as_echo "$ac_cv_c_const" >&6; }
6130 if test $ac_cv_c_const = no; then
6132 $as_echo "#define const /**/" >>confdefs.h
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
6139 $as_echo_n "checking for __attribute__... " >&6; }
6141 if ${ac_cv___attribute__+:} false; then :
6142 $as_echo_n "(cached) " >&6
6144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6145 /* end confdefs.h. */
6150 int foo(int x __attribute__ ((unused)))
6163 if ac_fn_c_try_compile "$LINENO"; then :
6164 ac_cv___attribute__="yes"
6166 ac_cv___attribute__="no"
6169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
6174 $as_echo "$ac_cv___attribute__" >&6; }
6176 if test "x${ac_cv___attribute__}" = "xyes" ; then
6178 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
6181 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
6185 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
6190 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6191 if test "x$ac_cv_type_size_t" = xyes; then :
6195 cat >>confdefs.h <<_ACEOF
6196 #define size_t unsigned int
6201 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6202 # for constant arguments. Useless!
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
6204 $as_echo_n "checking for working alloca.h... " >&6; }
6205 if ${ac_cv_working_alloca_h+:} false; then :
6206 $as_echo_n "(cached) " >&6
6208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6209 /* end confdefs.h. */
6214 char *p = (char *) alloca (2 * sizeof (int));
6220 if ac_fn_c_try_link "$LINENO"; then :
6221 ac_cv_working_alloca_h=yes
6223 ac_cv_working_alloca_h=no
6225 rm -f core conftest.err conftest.$ac_objext \
6226 conftest$ac_exeext conftest.$ac_ext
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
6229 $as_echo "$ac_cv_working_alloca_h" >&6; }
6230 if test $ac_cv_working_alloca_h = yes; then
6232 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
6237 $as_echo_n "checking for alloca... " >&6; }
6238 if ${ac_cv_func_alloca_works+:} false; then :
6239 $as_echo_n "(cached) " >&6
6241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6244 # define alloca __builtin_alloca
6247 # include <malloc.h>
6248 # define alloca _alloca
6250 # ifdef HAVE_ALLOCA_H
6251 # include <alloca.h>
6256 # ifndef alloca /* predefined by HP cc +Olibcalls */
6257 void *alloca (size_t);
6267 char *p = (char *) alloca (1);
6273 if ac_fn_c_try_link "$LINENO"; then :
6274 ac_cv_func_alloca_works=yes
6276 ac_cv_func_alloca_works=no
6278 rm -f core conftest.err conftest.$ac_objext \
6279 conftest$ac_exeext conftest.$ac_ext
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
6282 $as_echo "$ac_cv_func_alloca_works" >&6; }
6284 if test $ac_cv_func_alloca_works = yes; then
6286 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
6289 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6290 # that cause trouble. Some versions do not even contain alloca or
6291 # contain a buggy version. If you still want to use their alloca,
6292 # use ar to extract alloca.o from them instead of compiling alloca.c.
6294 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
6296 $as_echo "#define C_ALLOCA 1" >>confdefs.h
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
6300 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
6301 if ${ac_cv_os_cray+:} false; then :
6302 $as_echo_n "(cached) " >&6
6304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6305 /* end confdefs.h. */
6306 #if defined CRAY && ! defined CRAY2
6313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6314 $EGREP "webecray" >/dev/null 2>&1; then :
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
6323 $as_echo "$ac_cv_os_cray" >&6; }
6324 if test $ac_cv_os_cray = yes; then
6325 for ac_func in _getb67 GETB67 getb67; do
6326 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6327 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6328 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6330 cat >>confdefs.h <<_ACEOF
6331 #define CRAY_STACKSEG_END $ac_func
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
6341 $as_echo_n "checking stack direction for C alloca... " >&6; }
6342 if ${ac_cv_c_stack_direction+:} false; then :
6343 $as_echo_n "(cached) " >&6
6345 if test "$cross_compiling" = yes; then :
6346 ac_cv_c_stack_direction=0
6348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6349 /* end confdefs.h. */
6350 $ac_includes_default
6352 find_stack_direction (int *addr, int depth)
6357 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
6358 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
6363 main (int argc, char **argv)
6365 return find_stack_direction (0, argc + !argv + 20) < 0;
6368 if ac_fn_c_try_run "$LINENO"; then :
6369 ac_cv_c_stack_direction=1
6371 ac_cv_c_stack_direction=-1
6373 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6374 conftest.$ac_objext conftest.beam conftest.$ac_ext
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
6379 $as_echo "$ac_cv_c_stack_direction" >&6; }
6380 cat >>confdefs.h <<_ACEOF
6381 #define STACK_DIRECTION $ac_cv_c_stack_direction
6388 enable_win32_dll=yes
6391 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
6392 if test -n "$ac_tool_prefix"; then
6393 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6394 set dummy ${ac_tool_prefix}as; ac_word=$2
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6396 $as_echo_n "checking for $ac_word... " >&6; }
6397 if ${ac_cv_prog_AS+:} false; then :
6398 $as_echo_n "(cached) " >&6
6400 if test -n "$AS"; then
6401 ac_cv_prog_AS="$AS" # Let the user override the test.
6403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6407 test -z "$as_dir" && as_dir=.
6408 for ac_exec_ext in '' $ac_executable_extensions; do
6409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6410 ac_cv_prog_AS="${ac_tool_prefix}as"
6411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6421 if test -n "$AS"; then
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6423 $as_echo "$AS" >&6; }
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6426 $as_echo "no" >&6; }
6431 if test -z "$ac_cv_prog_AS"; then
6433 # Extract the first word of "as", so it can be a program name with args.
6434 set dummy as; ac_word=$2
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6436 $as_echo_n "checking for $ac_word... " >&6; }
6437 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6438 $as_echo_n "(cached) " >&6
6440 if test -n "$ac_ct_AS"; then
6441 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6447 test -z "$as_dir" && as_dir=.
6448 for ac_exec_ext in '' $ac_executable_extensions; do
6449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6450 ac_cv_prog_ac_ct_AS="as"
6451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6460 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6461 if test -n "$ac_ct_AS"; then
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6463 $as_echo "$ac_ct_AS" >&6; }
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6466 $as_echo "no" >&6; }
6469 if test "x$ac_ct_AS" = x; then
6472 case $cross_compiling:$ac_tool_warned in
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6476 ac_tool_warned=yes ;;
6484 if test -n "$ac_tool_prefix"; then
6485 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6486 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6488 $as_echo_n "checking for $ac_word... " >&6; }
6489 if ${ac_cv_prog_DLLTOOL+:} false; then :
6490 $as_echo_n "(cached) " >&6
6492 if test -n "$DLLTOOL"; then
6493 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6499 test -z "$as_dir" && as_dir=.
6500 for ac_exec_ext in '' $ac_executable_extensions; do
6501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6502 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6512 DLLTOOL=$ac_cv_prog_DLLTOOL
6513 if test -n "$DLLTOOL"; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6515 $as_echo "$DLLTOOL" >&6; }
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6518 $as_echo "no" >&6; }
6523 if test -z "$ac_cv_prog_DLLTOOL"; then
6524 ac_ct_DLLTOOL=$DLLTOOL
6525 # Extract the first word of "dlltool", so it can be a program name with args.
6526 set dummy dlltool; ac_word=$2
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6528 $as_echo_n "checking for $ac_word... " >&6; }
6529 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6530 $as_echo_n "(cached) " >&6
6532 if test -n "$ac_ct_DLLTOOL"; then
6533 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6539 test -z "$as_dir" && as_dir=.
6540 for ac_exec_ext in '' $ac_executable_extensions; do
6541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6542 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6552 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6553 if test -n "$ac_ct_DLLTOOL"; then
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6555 $as_echo "$ac_ct_DLLTOOL" >&6; }
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6558 $as_echo "no" >&6; }
6561 if test "x$ac_ct_DLLTOOL" = x; then
6564 case $cross_compiling:$ac_tool_warned in
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6568 ac_tool_warned=yes ;;
6570 DLLTOOL=$ac_ct_DLLTOOL
6573 DLLTOOL="$ac_cv_prog_DLLTOOL"
6576 if test -n "$ac_tool_prefix"; then
6577 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6578 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6580 $as_echo_n "checking for $ac_word... " >&6; }
6581 if ${ac_cv_prog_OBJDUMP+:} false; then :
6582 $as_echo_n "(cached) " >&6
6584 if test -n "$OBJDUMP"; then
6585 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6591 test -z "$as_dir" && as_dir=.
6592 for ac_exec_ext in '' $ac_executable_extensions; do
6593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6594 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6604 OBJDUMP=$ac_cv_prog_OBJDUMP
6605 if test -n "$OBJDUMP"; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6607 $as_echo "$OBJDUMP" >&6; }
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610 $as_echo "no" >&6; }
6615 if test -z "$ac_cv_prog_OBJDUMP"; then
6616 ac_ct_OBJDUMP=$OBJDUMP
6617 # Extract the first word of "objdump", so it can be a program name with args.
6618 set dummy objdump; ac_word=$2
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6620 $as_echo_n "checking for $ac_word... " >&6; }
6621 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6622 $as_echo_n "(cached) " >&6
6624 if test -n "$ac_ct_OBJDUMP"; then
6625 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6631 test -z "$as_dir" && as_dir=.
6632 for ac_exec_ext in '' $ac_executable_extensions; do
6633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6634 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6644 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6645 if test -n "$ac_ct_OBJDUMP"; then
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6647 $as_echo "$ac_ct_OBJDUMP" >&6; }
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6650 $as_echo "no" >&6; }
6653 if test "x$ac_ct_OBJDUMP" = x; then
6656 case $cross_compiling:$ac_tool_warned in
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6660 ac_tool_warned=yes ;;
6662 OBJDUMP=$ac_ct_OBJDUMP
6665 OBJDUMP="$ac_cv_prog_OBJDUMP"
6671 test -z "$AS" && AS=as
6677 test -z "$DLLTOOL" && DLLTOOL=dlltool
6683 test -z "$OBJDUMP" && OBJDUMP=objdump
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6694 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6699 macro_version='2.4.2'
6700 macro_revision='1.3337'
6714 ltmain="$ac_aux_dir/ltmain.sh"
6716 # Backslashify metacharacters that are still active within
6717 # double-quoted strings.
6718 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6720 # Same as above, but do not quote variable references.
6721 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6723 # Sed substitution to delay expansion of an escaped shell variable in a
6724 # double_quote_subst'ed string.
6725 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6727 # Sed substitution to delay expansion of an escaped single quote.
6728 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6730 # Sed substitution to avoid accidental globbing in evaled expressions
6731 no_glob_subst='s/\*/\\\*/g'
6733 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6734 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6735 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6738 $as_echo_n "checking how to print strings... " >&6; }
6739 # Test print first, because it will be a builtin if present.
6740 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6741 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6743 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6746 # Use this function as a fallback that always works.
6747 func_fallback_echo ()
6749 eval 'cat <<_LTECHO_EOF
6753 ECHO='func_fallback_echo'
6756 # func_echo_all arg...
6757 # Invoke $ECHO with all args, space-separated.
6764 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6765 $as_echo "printf" >&6; } ;;
6766 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6767 $as_echo "print -r" >&6; } ;;
6768 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6769 $as_echo "cat" >&6; } ;;
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6786 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6787 if ${ac_cv_path_SED+:} false; then :
6788 $as_echo_n "(cached) " >&6
6790 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6791 for ac_i in 1 2 3 4 5 6 7; do
6792 ac_script="$ac_script$as_nl$ac_script"
6794 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6795 { ac_script=; unset ac_script;}
6796 if test -z "$SED"; then
6797 ac_path_SED_found=false
6798 # Loop through the user's path and test for each of PROGNAME-LIST
6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6803 test -z "$as_dir" && as_dir=.
6804 for ac_prog in sed gsed; do
6805 for ac_exec_ext in '' $ac_executable_extensions; do
6806 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6807 as_fn_executable_p "$ac_path_SED" || continue
6808 # Check for GNU ac_path_SED and select it if it is found.
6809 # Check for GNU $ac_path_SED
6810 case `"$ac_path_SED" --version 2>&1` in
6812 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6815 $as_echo_n 0123456789 >"conftest.in"
6818 cat "conftest.in" "conftest.in" >"conftest.tmp"
6819 mv "conftest.tmp" "conftest.in"
6820 cp "conftest.in" "conftest.nl"
6821 $as_echo '' >> "conftest.nl"
6822 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6823 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6824 as_fn_arith $ac_count + 1 && ac_count=$as_val
6825 if test $ac_count -gt ${ac_path_SED_max-0}; then
6826 # Best one so far, save it but keep looking for a better one
6827 ac_cv_path_SED="$ac_path_SED"
6828 ac_path_SED_max=$ac_count
6830 # 10*(2^10) chars as input seems more than enough
6831 test $ac_count -gt 10 && break
6833 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6836 $ac_path_SED_found && break 3
6841 if test -z "$ac_cv_path_SED"; then
6842 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6850 $as_echo "$ac_cv_path_SED" >&6; }
6851 SED="$ac_cv_path_SED"
6854 test -z "$SED" && SED=sed
6855 Xsed="$SED -e 1s/^X//"
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6868 $as_echo_n "checking for fgrep... " >&6; }
6869 if ${ac_cv_path_FGREP+:} false; then :
6870 $as_echo_n "(cached) " >&6
6872 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6873 then ac_cv_path_FGREP="$GREP -F"
6875 if test -z "$FGREP"; then
6876 ac_path_FGREP_found=false
6877 # Loop through the user's path and test for each of PROGNAME-LIST
6878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6879 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6882 test -z "$as_dir" && as_dir=.
6883 for ac_prog in fgrep; do
6884 for ac_exec_ext in '' $ac_executable_extensions; do
6885 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6886 as_fn_executable_p "$ac_path_FGREP" || continue
6887 # Check for GNU ac_path_FGREP and select it if it is found.
6888 # Check for GNU $ac_path_FGREP
6889 case `"$ac_path_FGREP" --version 2>&1` in
6891 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6894 $as_echo_n 0123456789 >"conftest.in"
6897 cat "conftest.in" "conftest.in" >"conftest.tmp"
6898 mv "conftest.tmp" "conftest.in"
6899 cp "conftest.in" "conftest.nl"
6900 $as_echo 'FGREP' >> "conftest.nl"
6901 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6902 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6903 as_fn_arith $ac_count + 1 && ac_count=$as_val
6904 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6905 # Best one so far, save it but keep looking for a better one
6906 ac_cv_path_FGREP="$ac_path_FGREP"
6907 ac_path_FGREP_max=$ac_count
6909 # 10*(2^10) chars as input seems more than enough
6910 test $ac_count -gt 10 && break
6912 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6915 $ac_path_FGREP_found && break 3
6920 if test -z "$ac_cv_path_FGREP"; then
6921 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6924 ac_cv_path_FGREP=$FGREP
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6930 $as_echo "$ac_cv_path_FGREP" >&6; }
6931 FGREP="$ac_cv_path_FGREP"
6934 test -z "$GREP" && GREP=grep
6954 # Check whether --with-gnu-ld was given.
6955 if test "${with_gnu_ld+set}" = set; then :
6956 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6962 if test "$GCC" = yes; then
6963 # Check if gcc -print-prog-name=ld gives a path.
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6965 $as_echo_n "checking for ld used by $CC... " >&6; }
6968 # gcc leaves a trailing carriage return which upsets mingw
6969 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6971 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6974 # Accept absolute paths.
6976 re_direlt='/[^/][^/]*/\.\./'
6977 # Canonicalize the pathname of ld
6978 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6979 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6980 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6982 test -z "$LD" && LD="$ac_prog"
6985 # If it fails, then pretend we aren't using GCC.
6989 # If it is relative, then search for the first ld in PATH.
6993 elif test "$with_gnu_ld" = yes; then
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6995 $as_echo_n "checking for GNU ld... " >&6; }
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6998 $as_echo_n "checking for non-GNU ld... " >&6; }
7000 if ${lt_cv_path_LD+:} false; then :
7001 $as_echo_n "(cached) " >&6
7003 if test -z "$LD"; then
7004 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7005 for ac_dir in $PATH; do
7007 test -z "$ac_dir" && ac_dir=.
7008 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7009 lt_cv_path_LD="$ac_dir/$ac_prog"
7010 # Check to see if the program is GNU ld. I'd rather use --version,
7011 # but apparently some variants of GNU ld only accept -v.
7012 # Break only if it was the GNU/non-GNU ld that we prefer.
7013 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7014 *GNU* | *'with BFD'*)
7015 test "$with_gnu_ld" != no && break
7018 test "$with_gnu_ld" != yes && break
7025 lt_cv_path_LD="$LD" # Let the user override the test with a path.
7030 if test -n "$LD"; then
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7032 $as_echo "$LD" >&6; }
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035 $as_echo "no" >&6; }
7037 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7039 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7040 if ${lt_cv_prog_gnu_ld+:} false; then :
7041 $as_echo_n "(cached) " >&6
7043 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7044 case `$LD -v 2>&1 </dev/null` in
7045 *GNU* | *'with BFD'*)
7046 lt_cv_prog_gnu_ld=yes
7049 lt_cv_prog_gnu_ld=no
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7054 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7055 with_gnu_ld=$lt_cv_prog_gnu_ld
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7066 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7067 if ${lt_cv_path_NM+:} false; then :
7068 $as_echo_n "(cached) " >&6
7070 if test -n "$NM"; then
7071 # Let the user override the test.
7074 lt_nm_to_check="${ac_tool_prefix}nm"
7075 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7076 lt_nm_to_check="$lt_nm_to_check nm"
7078 for lt_tmp_nm in $lt_nm_to_check; do
7079 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7080 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7082 test -z "$ac_dir" && ac_dir=.
7083 tmp_nm="$ac_dir/$lt_tmp_nm"
7084 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7085 # Check to see if the nm accepts a BSD-compat flag.
7086 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7087 # nm: unknown option "B" ignored
7088 # Tru64's nm complains that /dev/null is an invalid object file
7089 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7090 */dev/null* | *'Invalid file or object type'*)
7091 lt_cv_path_NM="$tmp_nm -B"
7095 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7097 lt_cv_path_NM="$tmp_nm -p"
7101 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7102 continue # so that we can try to find one that supports BSD flags
7111 : ${lt_cv_path_NM=no}
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7115 $as_echo "$lt_cv_path_NM" >&6; }
7116 if test "$lt_cv_path_NM" != "no"; then
7119 # Didn't find any BSD compatible name lister, look for dumpbin.
7120 if test -n "$DUMPBIN"; then :
7121 # Let the user override the test.
7123 if test -n "$ac_tool_prefix"; then
7124 for ac_prog in dumpbin "link -dump"
7126 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7127 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7129 $as_echo_n "checking for $ac_word... " >&6; }
7130 if ${ac_cv_prog_DUMPBIN+:} false; then :
7131 $as_echo_n "(cached) " >&6
7133 if test -n "$DUMPBIN"; then
7134 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7140 test -z "$as_dir" && as_dir=.
7141 for ac_exec_ext in '' $ac_executable_extensions; do
7142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7143 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7153 DUMPBIN=$ac_cv_prog_DUMPBIN
7154 if test -n "$DUMPBIN"; then
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7156 $as_echo "$DUMPBIN" >&6; }
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7159 $as_echo "no" >&6; }
7163 test -n "$DUMPBIN" && break
7166 if test -z "$DUMPBIN"; then
7167 ac_ct_DUMPBIN=$DUMPBIN
7168 for ac_prog in dumpbin "link -dump"
7170 # Extract the first word of "$ac_prog", so it can be a program name with args.
7171 set dummy $ac_prog; ac_word=$2
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7173 $as_echo_n "checking for $ac_word... " >&6; }
7174 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7175 $as_echo_n "(cached) " >&6
7177 if test -n "$ac_ct_DUMPBIN"; then
7178 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7184 test -z "$as_dir" && as_dir=.
7185 for ac_exec_ext in '' $ac_executable_extensions; do
7186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7187 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7197 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7198 if test -n "$ac_ct_DUMPBIN"; then
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7200 $as_echo "$ac_ct_DUMPBIN" >&6; }
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7203 $as_echo "no" >&6; }
7207 test -n "$ac_ct_DUMPBIN" && break
7210 if test "x$ac_ct_DUMPBIN" = x; then
7213 case $cross_compiling:$ac_tool_warned in
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7217 ac_tool_warned=yes ;;
7219 DUMPBIN=$ac_ct_DUMPBIN
7223 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7225 DUMPBIN="$DUMPBIN -symbols"
7233 if test "$DUMPBIN" != ":"; then
7237 test -z "$NM" && NM=nm
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7245 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7246 if ${lt_cv_nm_interface+:} false; then :
7247 $as_echo_n "(cached) " >&6
7249 lt_cv_nm_interface="BSD nm"
7250 echo "int some_variable = 0;" > conftest.$ac_ext
7251 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7252 (eval "$ac_compile" 2>conftest.err)
7253 cat conftest.err >&5
7254 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7255 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7256 cat conftest.err >&5
7257 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7258 cat conftest.out >&5
7259 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7260 lt_cv_nm_interface="MS dumpbin"
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7265 $as_echo "$lt_cv_nm_interface" >&6; }
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7268 $as_echo_n "checking whether ln -s works... " >&6; }
7270 if test "$LN_S" = "ln -s"; then
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7272 $as_echo "yes" >&6; }
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7275 $as_echo "no, using $LN_S" >&6; }
7278 # find the maximum length of command line arguments
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7280 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7281 if ${lt_cv_sys_max_cmd_len+:} false; then :
7282 $as_echo_n "(cached) " >&6
7289 # On DJGPP, this test can blow up pretty badly due to problems in libc
7290 # (any single argument exceeding 2000 bytes causes a buffer overrun
7291 # during glob expansion). Even if it were fixed, the result of this
7292 # check would be larger than it should be.
7293 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7297 # Under GNU Hurd, this test is not required because there is
7298 # no limit to the length of command line arguments.
7299 # Libtool will interpret -1 as no limit whatsoever
7300 lt_cv_sys_max_cmd_len=-1;
7303 cygwin* | mingw* | cegcc*)
7304 # On Win9x/ME, this test blows up -- it succeeds, but takes
7305 # about 5 minutes as the teststring grows exponentially.
7306 # Worse, since 9x/ME are not pre-emptively multitasking,
7307 # you end up with a "frozen" computer, even though with patience
7308 # the test eventually succeeds (with a max line length of 256k).
7309 # Instead, let's just punt: use the minimum linelength reported by
7310 # all of the supported platforms: 8192 (on NT/2K/XP).
7311 lt_cv_sys_max_cmd_len=8192;
7315 # On MiNT this can take a long time and run out of memory.
7316 lt_cv_sys_max_cmd_len=8192;
7320 # On AmigaOS with pdksh, this test takes hours, literally.
7321 # So we just punt and use a minimum line length of 8192.
7322 lt_cv_sys_max_cmd_len=8192;
7325 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7326 # This has been around since 386BSD, at least. Likely further.
7327 if test -x /sbin/sysctl; then
7328 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7329 elif test -x /usr/sbin/sysctl; then
7330 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7332 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7334 # And add a safety zone
7335 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7336 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7340 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7341 lt_cv_sys_max_cmd_len=196608
7345 # The test takes a long time on OS/2.
7346 lt_cv_sys_max_cmd_len=8192
7350 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7351 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7352 # nice to cause kernel panics so lets avoid the loop below.
7353 # First set a reasonable default.
7354 lt_cv_sys_max_cmd_len=16384
7356 if test -x /sbin/sysconfig; then
7357 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7358 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7363 lt_cv_sys_max_cmd_len=102400
7365 sysv5* | sco5v6* | sysv4.2uw2*)
7366 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7367 if test -n "$kargmax"; then
7368 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7370 lt_cv_sys_max_cmd_len=32768
7374 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7375 if test -n "$lt_cv_sys_max_cmd_len"; then
7376 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7377 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7379 # Make teststring a little bigger before we do anything with it.
7380 # a 1K string should be a reasonable start.
7381 for i in 1 2 3 4 5 6 7 8 ; do
7382 teststring=$teststring$teststring
7384 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7385 # If test is not a shell built-in, we'll probably end up computing a
7386 # maximum length that is only half of the actual maximum length, but
7388 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
7389 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7390 test $i != 17 # 1/2 MB should be enough
7393 teststring=$teststring$teststring
7395 # Only check the string length outside the loop.
7396 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7398 # Add a significant safety factor because C++ compilers can tack on
7399 # massive amounts of additional arguments before passing them to the
7400 # linker. It appears as though 1/2 is a usable value.
7401 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7408 if test -n $lt_cv_sys_max_cmd_len ; then
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7410 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7413 $as_echo "none" >&6; }
7415 max_cmd_len=$lt_cv_sys_max_cmd_len
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7427 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7428 # Try some XSI features
7431 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
7433 && eval 'test $(( 1 + 1 )) -eq 2 \
7434 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7437 $as_echo "$xsi_shell" >&6; }
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7441 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7443 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7445 && lt_shell_append=yes
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7447 $as_echo "$lt_shell_append" >&6; }
7450 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7460 # test EBCDIC or ASCII
7461 case `echo X|tr X '\101'` in
7462 A) # ASCII based system
7463 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7464 lt_SP2NL='tr \040 \012'
7465 lt_NL2SP='tr \015\012 \040\040'
7467 *) # EBCDIC based system
7468 lt_SP2NL='tr \100 \n'
7469 lt_NL2SP='tr \r\n \100\100'
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7482 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7483 if ${lt_cv_to_host_file_cmd+:} false; then :
7484 $as_echo_n "(cached) " >&6
7489 *-*-mingw* ) # actually msys
7490 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7493 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7495 * ) # otherwise, assume *nix
7496 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7502 *-*-mingw* ) # actually msys
7503 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7506 lt_cv_to_host_file_cmd=func_convert_file_noop
7508 * ) # otherwise, assume *nix
7509 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7513 * ) # unhandled hosts (and "normal" native builds)
7514 lt_cv_to_host_file_cmd=func_convert_file_noop
7520 to_host_file_cmd=$lt_cv_to_host_file_cmd
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7522 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7529 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7530 if ${lt_cv_to_tool_file_cmd+:} false; then :
7531 $as_echo_n "(cached) " >&6
7533 #assume ordinary cross tools, or native build.
7534 lt_cv_to_tool_file_cmd=func_convert_file_noop
7538 *-*-mingw* ) # actually msys
7539 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7547 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7549 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7556 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7557 if ${lt_cv_ld_reload_flag+:} false; then :
7558 $as_echo_n "(cached) " >&6
7560 lt_cv_ld_reload_flag='-r'
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7563 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7564 reload_flag=$lt_cv_ld_reload_flag
7565 case $reload_flag in
7567 *) reload_flag=" $reload_flag" ;;
7569 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7571 cygwin* | mingw* | pw32* | cegcc*)
7572 if test "$GCC" != yes; then
7577 if test "$GCC" = yes; then
7578 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7580 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7593 if test -n "$ac_tool_prefix"; then
7594 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7595 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7597 $as_echo_n "checking for $ac_word... " >&6; }
7598 if ${ac_cv_prog_OBJDUMP+:} false; then :
7599 $as_echo_n "(cached) " >&6
7601 if test -n "$OBJDUMP"; then
7602 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7608 test -z "$as_dir" && as_dir=.
7609 for ac_exec_ext in '' $ac_executable_extensions; do
7610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7611 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7621 OBJDUMP=$ac_cv_prog_OBJDUMP
7622 if test -n "$OBJDUMP"; then
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7624 $as_echo "$OBJDUMP" >&6; }
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7627 $as_echo "no" >&6; }
7632 if test -z "$ac_cv_prog_OBJDUMP"; then
7633 ac_ct_OBJDUMP=$OBJDUMP
7634 # Extract the first word of "objdump", so it can be a program name with args.
7635 set dummy objdump; ac_word=$2
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7637 $as_echo_n "checking for $ac_word... " >&6; }
7638 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7639 $as_echo_n "(cached) " >&6
7641 if test -n "$ac_ct_OBJDUMP"; then
7642 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7648 test -z "$as_dir" && as_dir=.
7649 for ac_exec_ext in '' $ac_executable_extensions; do
7650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7651 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7661 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7662 if test -n "$ac_ct_OBJDUMP"; then
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7664 $as_echo "$ac_ct_OBJDUMP" >&6; }
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7667 $as_echo "no" >&6; }
7670 if test "x$ac_ct_OBJDUMP" = x; then
7673 case $cross_compiling:$ac_tool_warned in
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7676 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7677 ac_tool_warned=yes ;;
7679 OBJDUMP=$ac_ct_OBJDUMP
7682 OBJDUMP="$ac_cv_prog_OBJDUMP"
7685 test -z "$OBJDUMP" && OBJDUMP=objdump
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7693 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7694 if ${lt_cv_deplibs_check_method+:} false; then :
7695 $as_echo_n "(cached) " >&6
7697 lt_cv_file_magic_cmd='$MAGIC_CMD'
7698 lt_cv_file_magic_test_file=
7699 lt_cv_deplibs_check_method='unknown'
7700 # Need to set the preceding variable on all platforms that support
7701 # interlibrary dependencies.
7702 # 'none' -- dependencies not supported.
7703 # `unknown' -- same as none, but documents that we really don't know.
7704 # 'pass_all' -- all dependencies passed with no checks.
7705 # 'test_compile' -- check by making test program.
7706 # 'file_magic [[regex]]' -- check by looking for files in library path
7707 # which responds to the $file_magic_cmd with a given extended regex.
7708 # If you have `file' or equivalent on your system and you're not sure
7709 # whether `pass_all' will *always* work, you probably want this one.
7713 lt_cv_deplibs_check_method=pass_all
7717 lt_cv_deplibs_check_method=pass_all
7721 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7722 lt_cv_file_magic_cmd='/usr/bin/file -L'
7723 lt_cv_file_magic_test_file=/shlib/libc.so
7727 # func_win32_libid is a shell function defined in ltmain.sh
7728 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7729 lt_cv_file_magic_cmd='func_win32_libid'
7733 # Base MSYS/MinGW do not provide the 'file' command needed by
7734 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7735 # unless we find 'file', for example because we are cross-compiling.
7736 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7737 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7738 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7739 lt_cv_file_magic_cmd='func_win32_libid'
7741 # Keep this pattern in sync with the one in func_win32_libid.
7742 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7743 lt_cv_file_magic_cmd='$OBJDUMP -f'
7748 # use the weaker test based on 'objdump'. See mingw*.
7749 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7750 lt_cv_file_magic_cmd='$OBJDUMP -f'
7753 darwin* | rhapsody*)
7754 lt_cv_deplibs_check_method=pass_all
7757 freebsd* | dragonfly*)
7758 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7761 # Not sure whether the presence of OpenBSD here was a mistake.
7762 # Let's accept both of them until this is cleared up.
7763 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7764 lt_cv_file_magic_cmd=/usr/bin/file
7765 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7769 lt_cv_deplibs_check_method=pass_all
7774 lt_cv_deplibs_check_method=pass_all
7778 lt_cv_deplibs_check_method=pass_all
7781 hpux10.20* | hpux11*)
7782 lt_cv_file_magic_cmd=/usr/bin/file
7785 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7786 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7789 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]'
7790 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7793 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7794 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7800 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7801 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7804 irix5* | irix6* | nonstopux*)
7806 *-32|*"-32 ") libmagic=32-bit;;
7807 *-n32|*"-n32 ") libmagic=N32;;
7808 *-64|*"-64 ") libmagic=64-bit;;
7809 *) libmagic=never-match;;
7811 lt_cv_deplibs_check_method=pass_all
7814 # This must be glibc/ELF.
7815 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7816 lt_cv_deplibs_check_method=pass_all
7820 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7821 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7823 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7828 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7829 lt_cv_file_magic_cmd=/usr/bin/file
7830 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7834 lt_cv_deplibs_check_method=pass_all
7838 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7839 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7841 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7845 osf3* | osf4* | osf5*)
7846 lt_cv_deplibs_check_method=pass_all
7850 lt_cv_deplibs_check_method=pass_all
7854 lt_cv_deplibs_check_method=pass_all
7857 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7858 lt_cv_deplibs_check_method=pass_all
7862 case $host_vendor in
7864 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]'
7865 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7868 lt_cv_deplibs_check_method=pass_all
7871 lt_cv_file_magic_cmd='/bin/file'
7872 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7875 lt_cv_file_magic_cmd='/bin/file'
7876 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7877 lt_cv_file_magic_test_file=/lib/libc.so
7880 lt_cv_deplibs_check_method=pass_all
7883 lt_cv_deplibs_check_method=pass_all
7889 lt_cv_deplibs_check_method=pass_all
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7895 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7899 if test "$build" = "$host"; then
7902 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7905 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7911 file_magic_cmd=$lt_cv_file_magic_cmd
7912 deplibs_check_method=$lt_cv_deplibs_check_method
7913 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7936 if test -n "$ac_tool_prefix"; then
7937 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7938 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7940 $as_echo_n "checking for $ac_word... " >&6; }
7941 if ${ac_cv_prog_DLLTOOL+:} false; then :
7942 $as_echo_n "(cached) " >&6
7944 if test -n "$DLLTOOL"; then
7945 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7951 test -z "$as_dir" && as_dir=.
7952 for ac_exec_ext in '' $ac_executable_extensions; do
7953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7954 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7964 DLLTOOL=$ac_cv_prog_DLLTOOL
7965 if test -n "$DLLTOOL"; then
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7967 $as_echo "$DLLTOOL" >&6; }
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7970 $as_echo "no" >&6; }
7975 if test -z "$ac_cv_prog_DLLTOOL"; then
7976 ac_ct_DLLTOOL=$DLLTOOL
7977 # Extract the first word of "dlltool", so it can be a program name with args.
7978 set dummy dlltool; ac_word=$2
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7980 $as_echo_n "checking for $ac_word... " >&6; }
7981 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7982 $as_echo_n "(cached) " >&6
7984 if test -n "$ac_ct_DLLTOOL"; then
7985 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7991 test -z "$as_dir" && as_dir=.
7992 for ac_exec_ext in '' $ac_executable_extensions; do
7993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7994 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8004 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8005 if test -n "$ac_ct_DLLTOOL"; then
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8007 $as_echo "$ac_ct_DLLTOOL" >&6; }
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8010 $as_echo "no" >&6; }
8013 if test "x$ac_ct_DLLTOOL" = x; then
8016 case $cross_compiling:$ac_tool_warned in
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8020 ac_tool_warned=yes ;;
8022 DLLTOOL=$ac_ct_DLLTOOL
8025 DLLTOOL="$ac_cv_prog_DLLTOOL"
8028 test -z "$DLLTOOL" && DLLTOOL=dlltool
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8037 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8038 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8039 $as_echo_n "(cached) " >&6
8041 lt_cv_sharedlib_from_linklib_cmd='unknown'
8044 cygwin* | mingw* | pw32* | cegcc*)
8045 # two different shell functions defined in ltmain.sh
8046 # decide which to use based on capabilities of $DLLTOOL
8047 case `$DLLTOOL --help 2>&1` in
8048 *--identify-strict*)
8049 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8052 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8057 # fallback: assume linklib IS sharedlib
8058 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8064 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8065 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8066 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8074 if test -n "$ac_tool_prefix"; then
8077 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8078 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8080 $as_echo_n "checking for $ac_word... " >&6; }
8081 if ${ac_cv_prog_AR+:} false; then :
8082 $as_echo_n "(cached) " >&6
8084 if test -n "$AR"; then
8085 ac_cv_prog_AR="$AR" # Let the user override the test.
8087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8091 test -z "$as_dir" && as_dir=.
8092 for ac_exec_ext in '' $ac_executable_extensions; do
8093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8094 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8105 if test -n "$AR"; then
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8107 $as_echo "$AR" >&6; }
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8110 $as_echo "no" >&6; }
8114 test -n "$AR" && break
8117 if test -z "$AR"; then
8121 # Extract the first word of "$ac_prog", so it can be a program name with args.
8122 set dummy $ac_prog; ac_word=$2
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8124 $as_echo_n "checking for $ac_word... " >&6; }
8125 if ${ac_cv_prog_ac_ct_AR+:} false; then :
8126 $as_echo_n "(cached) " >&6
8128 if test -n "$ac_ct_AR"; then
8129 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8135 test -z "$as_dir" && as_dir=.
8136 for ac_exec_ext in '' $ac_executable_extensions; do
8137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8138 ac_cv_prog_ac_ct_AR="$ac_prog"
8139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8148 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8149 if test -n "$ac_ct_AR"; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8151 $as_echo "$ac_ct_AR" >&6; }
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8154 $as_echo "no" >&6; }
8158 test -n "$ac_ct_AR" && break
8161 if test "x$ac_ct_AR" = x; then
8164 case $cross_compiling:$ac_tool_warned in
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8168 ac_tool_warned=yes ;;
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8188 $as_echo_n "checking for archiver @FILE support... " >&6; }
8189 if ${lt_cv_ar_at_file+:} false; then :
8190 $as_echo_n "(cached) " >&6
8193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8194 /* end confdefs.h. */
8204 if ac_fn_c_try_compile "$LINENO"; then :
8205 echo conftest.$ac_objext > conftest.lst
8206 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8207 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8208 (eval $lt_ar_try) 2>&5
8210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8211 test $ac_status = 0; }
8212 if test "$ac_status" -eq 0; then
8213 # Ensure the archiver fails upon bogus file names.
8214 rm -f conftest.$ac_objext libconftest.a
8215 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8216 (eval $lt_ar_try) 2>&5
8218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8219 test $ac_status = 0; }
8220 if test "$ac_status" -ne 0; then
8224 rm -f conftest.* libconftest.a
8227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8231 $as_echo "$lt_cv_ar_at_file" >&6; }
8233 if test "x$lt_cv_ar_at_file" = xno; then
8236 archiver_list_spec=$lt_cv_ar_at_file
8245 if test -n "$ac_tool_prefix"; then
8246 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8247 set dummy ${ac_tool_prefix}strip; ac_word=$2
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8249 $as_echo_n "checking for $ac_word... " >&6; }
8250 if ${ac_cv_prog_STRIP+:} false; then :
8251 $as_echo_n "(cached) " >&6
8253 if test -n "$STRIP"; then
8254 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8260 test -z "$as_dir" && as_dir=.
8261 for ac_exec_ext in '' $ac_executable_extensions; do
8262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8263 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8273 STRIP=$ac_cv_prog_STRIP
8274 if test -n "$STRIP"; then
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8276 $as_echo "$STRIP" >&6; }
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8279 $as_echo "no" >&6; }
8284 if test -z "$ac_cv_prog_STRIP"; then
8286 # Extract the first word of "strip", so it can be a program name with args.
8287 set dummy strip; ac_word=$2
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8289 $as_echo_n "checking for $ac_word... " >&6; }
8290 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8291 $as_echo_n "(cached) " >&6
8293 if test -n "$ac_ct_STRIP"; then
8294 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8300 test -z "$as_dir" && as_dir=.
8301 for ac_exec_ext in '' $ac_executable_extensions; do
8302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8303 ac_cv_prog_ac_ct_STRIP="strip"
8304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8313 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8314 if test -n "$ac_ct_STRIP"; then
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8316 $as_echo "$ac_ct_STRIP" >&6; }
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8319 $as_echo "no" >&6; }
8322 if test "x$ac_ct_STRIP" = x; then
8325 case $cross_compiling:$ac_tool_warned in
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8329 ac_tool_warned=yes ;;
8334 STRIP="$ac_cv_prog_STRIP"
8337 test -z "$STRIP" && STRIP=:
8344 if test -n "$ac_tool_prefix"; then
8345 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8346 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 $as_echo_n "checking for $ac_word... " >&6; }
8349 if ${ac_cv_prog_RANLIB+:} false; then :
8350 $as_echo_n "(cached) " >&6
8352 if test -n "$RANLIB"; then
8353 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8359 test -z "$as_dir" && as_dir=.
8360 for ac_exec_ext in '' $ac_executable_extensions; do
8361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8362 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8372 RANLIB=$ac_cv_prog_RANLIB
8373 if test -n "$RANLIB"; then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8375 $as_echo "$RANLIB" >&6; }
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8383 if test -z "$ac_cv_prog_RANLIB"; then
8384 ac_ct_RANLIB=$RANLIB
8385 # Extract the first word of "ranlib", so it can be a program name with args.
8386 set dummy ranlib; ac_word=$2
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8388 $as_echo_n "checking for $ac_word... " >&6; }
8389 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8390 $as_echo_n "(cached) " >&6
8392 if test -n "$ac_ct_RANLIB"; then
8393 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8399 test -z "$as_dir" && as_dir=.
8400 for ac_exec_ext in '' $ac_executable_extensions; do
8401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8402 ac_cv_prog_ac_ct_RANLIB="ranlib"
8403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8412 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8413 if test -n "$ac_ct_RANLIB"; then
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8415 $as_echo "$ac_ct_RANLIB" >&6; }
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8418 $as_echo "no" >&6; }
8421 if test "x$ac_ct_RANLIB" = x; then
8424 case $cross_compiling:$ac_tool_warned in
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8428 ac_tool_warned=yes ;;
8430 RANLIB=$ac_ct_RANLIB
8433 RANLIB="$ac_cv_prog_RANLIB"
8436 test -z "$RANLIB" && RANLIB=:
8443 # Determine commands to create old-style static archives.
8444 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8445 old_postinstall_cmds='chmod 644 $oldlib'
8446 old_postuninstall_cmds=
8448 if test -n "$RANLIB"; then
8451 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8454 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8457 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8462 lock_old_archive_extraction=yes ;;
8464 lock_old_archive_extraction=no ;;
8505 # If no C compiler was specified, use CC.
8508 # If no C compiler flags were specified, use CFLAGS.
8509 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8511 # Allow CC to be a program name with arguments.
8515 # Check for command to grab the raw symbol name followed by C symbol from nm.
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8517 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8518 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8519 $as_echo_n "(cached) " >&6
8522 # These are sane defaults that work on at least a few old systems.
8523 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8525 # Character class describing NM global symbol codes.
8526 symcode='[BCDEGRST]'
8528 # Regexp to match symbols that can be accessed directly from C.
8529 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8531 # Define system-specific variables.
8536 cygwin* | mingw* | pw32* | cegcc*)
8537 symcode='[ABCDGISTW]'
8540 if test "$host_cpu" = ia64; then
8541 symcode='[ABCDEGRST]'
8545 symcode='[BCDEGRST]'
8548 symcode='[BCDEGQRST]'
8559 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8567 # If we're using GNU nm, then use its standard symbol codes.
8568 case `$NM -V 2>&1` in
8569 *GNU* | *'with BFD'*)
8570 symcode='[ABCDGIRSTW]' ;;
8573 # Transform an extracted symbol line into a proper C declaration.
8574 # Some systems (esp. on ia64) link data and code symbols differently,
8575 # so use this general approach.
8576 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8578 # Transform an extracted symbol line into symbol name and symbol address
8579 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8580 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'"
8582 # Handle CRLF in mingw tool chain
8586 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8590 # Try without a prefix underscore, then with it.
8591 for ac_symprfx in "" "_"; do
8593 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8594 symxfrm="\\1 $ac_symprfx\\2 \\2"
8596 # Write the raw and C identifiers.
8597 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8598 # Fake it for dumpbin and say T for any non-static function
8599 # and D for any global variable.
8600 # Also find C++ and __fastcall symbols from MSVC++,
8601 # which start with @ or ?.
8602 lt_cv_sys_global_symbol_pipe="$AWK '"\
8603 " {last_section=section; section=\$ 3};"\
8604 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8605 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8606 " \$ 0!~/External *\|/{next};"\
8607 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8608 " {if(hide[section]) next};"\
8609 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8610 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8611 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8612 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8613 " ' prfx=^$ac_symprfx"
8615 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8617 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8619 # Check to see that the pipe works correctly.
8623 cat > conftest.$ac_ext <<_LT_EOF
8628 void nm_test_func(void);
8629 void nm_test_func(void){}
8633 int main(){nm_test_var='a';nm_test_func();return(0);}
8636 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8637 (eval $ac_compile) 2>&5
8639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8640 test $ac_status = 0; }; then
8641 # Now try to grab the symbols.
8643 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8644 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8647 test $ac_status = 0; } && test -s "$nlist"; then
8648 # Try sorting and uniquifying the output.
8649 if sort "$nlist" | uniq > "$nlist"T; then
8650 mv -f "$nlist"T "$nlist"
8655 # Make sure that we snagged all the symbols we need.
8656 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8657 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8658 cat <<_LT_EOF > conftest.$ac_ext
8659 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8660 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8661 /* DATA imports from DLLs on WIN32 con't be const, because runtime
8662 relocations are performed -- see ld's documentation on pseudo-relocs. */
8663 # define LT_DLSYM_CONST
8664 #elif defined(__osf__)
8665 /* This system does not cope well with relocations in const data. */
8666 # define LT_DLSYM_CONST
8668 # define LT_DLSYM_CONST const
8676 # Now generate the symbol file.
8677 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8679 cat <<_LT_EOF >> conftest.$ac_ext
8681 /* The mapping between symbol names and symbols. */
8682 LT_DLSYM_CONST struct {
8686 lt__PROGRAM__LTX_preloaded_symbols[] =
8688 { "@PROGRAM@", (void *) 0 },
8690 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8691 cat <<\_LT_EOF >> conftest.$ac_ext
8695 /* This works around a problem in FreeBSD linker */
8696 #ifdef FREEBSD_WORKAROUND
8697 static const void *lt_preloaded_setup() {
8698 return lt__PROGRAM__LTX_preloaded_symbols;
8706 # Now try linking the two files.
8707 mv conftest.$ac_objext conftstm.$ac_objext
8708 lt_globsym_save_LIBS=$LIBS
8709 lt_globsym_save_CFLAGS=$CFLAGS
8710 LIBS="conftstm.$ac_objext"
8711 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8712 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8713 (eval $ac_link) 2>&5
8715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8716 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8719 LIBS=$lt_globsym_save_LIBS
8720 CFLAGS=$lt_globsym_save_CFLAGS
8722 echo "cannot find nm_test_func in $nlist" >&5
8725 echo "cannot find nm_test_var in $nlist" >&5
8728 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8731 echo "$progname: failed program was:" >&5
8732 cat conftest.$ac_ext >&5
8734 rm -rf conftest* conftst*
8736 # Do not use the global_symbol_pipe unless it works.
8737 if test "$pipe_works" = yes; then
8740 lt_cv_sys_global_symbol_pipe=
8746 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8747 lt_cv_sys_global_symbol_to_cdecl=
8749 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8751 $as_echo "failed" >&6; }
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8754 $as_echo "ok" >&6; }
8757 # Response file support.
8758 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8759 nm_file_list_spec='@'
8760 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8761 nm_file_list_spec='@'
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8791 $as_echo_n "checking for sysroot... " >&6; }
8793 # Check whether --with-sysroot was given.
8794 if test "${with_sysroot+set}" = set; then :
8795 withval=$with_sysroot;
8802 case ${with_sysroot} in #(
8804 if test "$GCC" = yes; then
8805 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8809 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8815 $as_echo "${with_sysroot}" >&6; }
8816 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8821 $as_echo "${lt_sysroot:-no}" >&6; }
8827 # Check whether --enable-libtool-lock was given.
8828 if test "${enable_libtool_lock+set}" = set; then :
8829 enableval=$enable_libtool_lock;
8832 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8834 # Some flags need to be propagated to the compiler or linker for good
8838 # Find out which ABI we are using.
8839 echo 'int i;' > conftest.$ac_ext
8840 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8841 (eval $ac_compile) 2>&5
8843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8844 test $ac_status = 0; }; then
8845 case `/usr/bin/file conftest.$ac_objext` in
8857 # Find out which ABI we are using.
8858 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8859 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8860 (eval $ac_compile) 2>&5
8862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8863 test $ac_status = 0; }; then
8864 if test "$lt_cv_prog_gnu_ld" = yes; then
8865 case `/usr/bin/file conftest.$ac_objext` in
8867 LD="${LD-ld} -melf32bsmip"
8870 LD="${LD-ld} -melf32bmipn32"
8873 LD="${LD-ld} -melf64bmip"
8877 case `/usr/bin/file conftest.$ac_objext` in
8893 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8894 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8895 # Find out which ABI we are using.
8896 echo 'int i;' > conftest.$ac_ext
8897 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8898 (eval $ac_compile) 2>&5
8900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8901 test $ac_status = 0; }; then
8902 case `/usr/bin/file conftest.o` in
8905 x86_64-*kfreebsd*-gnu)
8906 LD="${LD-ld} -m elf_i386_fbsd"
8909 LD="${LD-ld} -m elf_i386"
8911 ppc64-*linux*|powerpc64-*linux*)
8912 LD="${LD-ld} -m elf32ppclinux"
8915 LD="${LD-ld} -m elf_s390"
8918 LD="${LD-ld} -m elf32_sparc"
8924 x86_64-*kfreebsd*-gnu)
8925 LD="${LD-ld} -m elf_x86_64_fbsd"
8928 LD="${LD-ld} -m elf_x86_64"
8930 ppc*-*linux*|powerpc*-*linux*)
8931 LD="${LD-ld} -m elf64ppc"
8933 s390*-*linux*|s390*-*tpf*)
8934 LD="${LD-ld} -m elf64_s390"
8937 LD="${LD-ld} -m elf64_sparc"
8947 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8948 SAVE_CFLAGS="$CFLAGS"
8949 CFLAGS="$CFLAGS -belf"
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8951 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8952 if ${lt_cv_cc_needs_belf+:} false; then :
8953 $as_echo_n "(cached) " >&6
8956 ac_cpp='$CPP $CPPFLAGS'
8957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8962 /* end confdefs.h. */
8972 if ac_fn_c_try_link "$LINENO"; then :
8973 lt_cv_cc_needs_belf=yes
8975 lt_cv_cc_needs_belf=no
8977 rm -f core conftest.err conftest.$ac_objext \
8978 conftest$ac_exeext conftest.$ac_ext
8980 ac_cpp='$CPP $CPPFLAGS'
8981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8987 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8988 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8989 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8990 CFLAGS="$SAVE_CFLAGS"
8994 # Find out which ABI we are using.
8995 echo 'int i;' > conftest.$ac_ext
8996 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8997 (eval $ac_compile) 2>&5
8999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9000 test $ac_status = 0; }; then
9001 case `/usr/bin/file conftest.o` in
9003 case $lt_cv_prog_gnu_ld in
9007 LD="${LD-ld} -m elf_x86_64"
9010 LD="${LD-ld} -m elf64_sparc"
9013 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9014 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9019 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9031 need_locks="$enable_libtool_lock"
9033 if test -n "$ac_tool_prefix"; then
9034 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9035 set dummy ${ac_tool_prefix}mt; ac_word=$2
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9037 $as_echo_n "checking for $ac_word... " >&6; }
9038 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9039 $as_echo_n "(cached) " >&6
9041 if test -n "$MANIFEST_TOOL"; then
9042 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9048 test -z "$as_dir" && as_dir=.
9049 for ac_exec_ext in '' $ac_executable_extensions; do
9050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9051 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9061 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9062 if test -n "$MANIFEST_TOOL"; then
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9064 $as_echo "$MANIFEST_TOOL" >&6; }
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9067 $as_echo "no" >&6; }
9072 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9073 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9074 # Extract the first word of "mt", so it can be a program name with args.
9075 set dummy mt; ac_word=$2
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9077 $as_echo_n "checking for $ac_word... " >&6; }
9078 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9079 $as_echo_n "(cached) " >&6
9081 if test -n "$ac_ct_MANIFEST_TOOL"; then
9082 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9088 test -z "$as_dir" && as_dir=.
9089 for ac_exec_ext in '' $ac_executable_extensions; do
9090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9091 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9101 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9102 if test -n "$ac_ct_MANIFEST_TOOL"; then
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9104 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9107 $as_echo "no" >&6; }
9110 if test "x$ac_ct_MANIFEST_TOOL" = x; then
9113 case $cross_compiling:$ac_tool_warned in
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9117 ac_tool_warned=yes ;;
9119 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9122 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9125 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9127 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9128 if ${lt_cv_path_mainfest_tool+:} false; then :
9129 $as_echo_n "(cached) " >&6
9131 lt_cv_path_mainfest_tool=no
9132 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9133 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9134 cat conftest.err >&5
9135 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9136 lt_cv_path_mainfest_tool=yes
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9141 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9142 if test "x$lt_cv_path_mainfest_tool" != xyes; then
9152 rhapsody* | darwin*)
9153 if test -n "$ac_tool_prefix"; then
9154 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9155 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9157 $as_echo_n "checking for $ac_word... " >&6; }
9158 if ${ac_cv_prog_DSYMUTIL+:} false; then :
9159 $as_echo_n "(cached) " >&6
9161 if test -n "$DSYMUTIL"; then
9162 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9168 test -z "$as_dir" && as_dir=.
9169 for ac_exec_ext in '' $ac_executable_extensions; do
9170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9171 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9181 DSYMUTIL=$ac_cv_prog_DSYMUTIL
9182 if test -n "$DSYMUTIL"; then
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9184 $as_echo "$DSYMUTIL" >&6; }
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9187 $as_echo "no" >&6; }
9192 if test -z "$ac_cv_prog_DSYMUTIL"; then
9193 ac_ct_DSYMUTIL=$DSYMUTIL
9194 # Extract the first word of "dsymutil", so it can be a program name with args.
9195 set dummy dsymutil; ac_word=$2
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9197 $as_echo_n "checking for $ac_word... " >&6; }
9198 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9199 $as_echo_n "(cached) " >&6
9201 if test -n "$ac_ct_DSYMUTIL"; then
9202 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9208 test -z "$as_dir" && as_dir=.
9209 for ac_exec_ext in '' $ac_executable_extensions; do
9210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9211 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9221 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9222 if test -n "$ac_ct_DSYMUTIL"; then
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9224 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9227 $as_echo "no" >&6; }
9230 if test "x$ac_ct_DSYMUTIL" = x; then
9233 case $cross_compiling:$ac_tool_warned in
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9237 ac_tool_warned=yes ;;
9239 DSYMUTIL=$ac_ct_DSYMUTIL
9242 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9245 if test -n "$ac_tool_prefix"; then
9246 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9247 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9249 $as_echo_n "checking for $ac_word... " >&6; }
9250 if ${ac_cv_prog_NMEDIT+:} false; then :
9251 $as_echo_n "(cached) " >&6
9253 if test -n "$NMEDIT"; then
9254 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9260 test -z "$as_dir" && as_dir=.
9261 for ac_exec_ext in '' $ac_executable_extensions; do
9262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9263 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9273 NMEDIT=$ac_cv_prog_NMEDIT
9274 if test -n "$NMEDIT"; then
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9276 $as_echo "$NMEDIT" >&6; }
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9279 $as_echo "no" >&6; }
9284 if test -z "$ac_cv_prog_NMEDIT"; then
9285 ac_ct_NMEDIT=$NMEDIT
9286 # Extract the first word of "nmedit", so it can be a program name with args.
9287 set dummy nmedit; ac_word=$2
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9289 $as_echo_n "checking for $ac_word... " >&6; }
9290 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9291 $as_echo_n "(cached) " >&6
9293 if test -n "$ac_ct_NMEDIT"; then
9294 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9300 test -z "$as_dir" && as_dir=.
9301 for ac_exec_ext in '' $ac_executable_extensions; do
9302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9303 ac_cv_prog_ac_ct_NMEDIT="nmedit"
9304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9313 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9314 if test -n "$ac_ct_NMEDIT"; then
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9316 $as_echo "$ac_ct_NMEDIT" >&6; }
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9319 $as_echo "no" >&6; }
9322 if test "x$ac_ct_NMEDIT" = x; then
9325 case $cross_compiling:$ac_tool_warned in
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9329 ac_tool_warned=yes ;;
9331 NMEDIT=$ac_ct_NMEDIT
9334 NMEDIT="$ac_cv_prog_NMEDIT"
9337 if test -n "$ac_tool_prefix"; then
9338 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9339 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9341 $as_echo_n "checking for $ac_word... " >&6; }
9342 if ${ac_cv_prog_LIPO+:} false; then :
9343 $as_echo_n "(cached) " >&6
9345 if test -n "$LIPO"; then
9346 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9352 test -z "$as_dir" && as_dir=.
9353 for ac_exec_ext in '' $ac_executable_extensions; do
9354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9355 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9365 LIPO=$ac_cv_prog_LIPO
9366 if test -n "$LIPO"; then
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9368 $as_echo "$LIPO" >&6; }
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9371 $as_echo "no" >&6; }
9376 if test -z "$ac_cv_prog_LIPO"; then
9378 # Extract the first word of "lipo", so it can be a program name with args.
9379 set dummy lipo; ac_word=$2
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9381 $as_echo_n "checking for $ac_word... " >&6; }
9382 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9383 $as_echo_n "(cached) " >&6
9385 if test -n "$ac_ct_LIPO"; then
9386 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9392 test -z "$as_dir" && as_dir=.
9393 for ac_exec_ext in '' $ac_executable_extensions; do
9394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9395 ac_cv_prog_ac_ct_LIPO="lipo"
9396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9405 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9406 if test -n "$ac_ct_LIPO"; then
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9408 $as_echo "$ac_ct_LIPO" >&6; }
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9411 $as_echo "no" >&6; }
9414 if test "x$ac_ct_LIPO" = x; then
9417 case $cross_compiling:$ac_tool_warned in
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9421 ac_tool_warned=yes ;;
9426 LIPO="$ac_cv_prog_LIPO"
9429 if test -n "$ac_tool_prefix"; then
9430 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9431 set dummy ${ac_tool_prefix}otool; ac_word=$2
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9433 $as_echo_n "checking for $ac_word... " >&6; }
9434 if ${ac_cv_prog_OTOOL+:} false; then :
9435 $as_echo_n "(cached) " >&6
9437 if test -n "$OTOOL"; then
9438 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9444 test -z "$as_dir" && as_dir=.
9445 for ac_exec_ext in '' $ac_executable_extensions; do
9446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9447 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9457 OTOOL=$ac_cv_prog_OTOOL
9458 if test -n "$OTOOL"; then
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9460 $as_echo "$OTOOL" >&6; }
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9463 $as_echo "no" >&6; }
9468 if test -z "$ac_cv_prog_OTOOL"; then
9470 # Extract the first word of "otool", so it can be a program name with args.
9471 set dummy otool; ac_word=$2
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9473 $as_echo_n "checking for $ac_word... " >&6; }
9474 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9475 $as_echo_n "(cached) " >&6
9477 if test -n "$ac_ct_OTOOL"; then
9478 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9484 test -z "$as_dir" && as_dir=.
9485 for ac_exec_ext in '' $ac_executable_extensions; do
9486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9487 ac_cv_prog_ac_ct_OTOOL="otool"
9488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9497 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9498 if test -n "$ac_ct_OTOOL"; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9500 $as_echo "$ac_ct_OTOOL" >&6; }
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9503 $as_echo "no" >&6; }
9506 if test "x$ac_ct_OTOOL" = x; then
9509 case $cross_compiling:$ac_tool_warned in
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9513 ac_tool_warned=yes ;;
9518 OTOOL="$ac_cv_prog_OTOOL"
9521 if test -n "$ac_tool_prefix"; then
9522 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9523 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9525 $as_echo_n "checking for $ac_word... " >&6; }
9526 if ${ac_cv_prog_OTOOL64+:} false; then :
9527 $as_echo_n "(cached) " >&6
9529 if test -n "$OTOOL64"; then
9530 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9536 test -z "$as_dir" && as_dir=.
9537 for ac_exec_ext in '' $ac_executable_extensions; do
9538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9539 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9549 OTOOL64=$ac_cv_prog_OTOOL64
9550 if test -n "$OTOOL64"; then
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9552 $as_echo "$OTOOL64" >&6; }
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9555 $as_echo "no" >&6; }
9560 if test -z "$ac_cv_prog_OTOOL64"; then
9561 ac_ct_OTOOL64=$OTOOL64
9562 # Extract the first word of "otool64", so it can be a program name with args.
9563 set dummy otool64; ac_word=$2
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9565 $as_echo_n "checking for $ac_word... " >&6; }
9566 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9567 $as_echo_n "(cached) " >&6
9569 if test -n "$ac_ct_OTOOL64"; then
9570 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9576 test -z "$as_dir" && as_dir=.
9577 for ac_exec_ext in '' $ac_executable_extensions; do
9578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9579 ac_cv_prog_ac_ct_OTOOL64="otool64"
9580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9589 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9590 if test -n "$ac_ct_OTOOL64"; then
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9592 $as_echo "$ac_ct_OTOOL64" >&6; }
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9595 $as_echo "no" >&6; }
9598 if test "x$ac_ct_OTOOL64" = x; then
9601 case $cross_compiling:$ac_tool_warned in
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9605 ac_tool_warned=yes ;;
9607 OTOOL64=$ac_ct_OTOOL64
9610 OTOOL64="$ac_cv_prog_OTOOL64"
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9640 $as_echo_n "checking for -single_module linker flag... " >&6; }
9641 if ${lt_cv_apple_cc_single_mod+:} false; then :
9642 $as_echo_n "(cached) " >&6
9644 lt_cv_apple_cc_single_mod=no
9645 if test -z "${LT_MULTI_MODULE}"; then
9646 # By default we will add the -single_module flag. You can override
9647 # by either setting the environment variable LT_MULTI_MODULE
9648 # non-empty at configure time, or by adding -multi_module to the
9650 rm -rf libconftest.dylib*
9651 echo "int foo(void){return 1;}" > conftest.c
9652 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9653 -dynamiclib -Wl,-single_module conftest.c" >&5
9654 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9655 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9657 # If there is a non-empty error log, and "single_module"
9658 # appears in it, assume the flag caused a linker warning
9659 if test -s conftest.err && $GREP single_module conftest.err; then
9660 cat conftest.err >&5
9661 # Otherwise, if the output was created with a 0 exit code from
9662 # the compiler, it worked.
9663 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
9664 lt_cv_apple_cc_single_mod=yes
9666 cat conftest.err >&5
9668 rm -rf libconftest.dylib*
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9673 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9676 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9677 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9678 $as_echo_n "(cached) " >&6
9680 lt_cv_ld_exported_symbols_list=no
9681 save_LDFLAGS=$LDFLAGS
9682 echo "_main" > conftest.sym
9683 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9685 /* end confdefs.h. */
9695 if ac_fn_c_try_link "$LINENO"; then :
9696 lt_cv_ld_exported_symbols_list=yes
9698 lt_cv_ld_exported_symbols_list=no
9700 rm -f core conftest.err conftest.$ac_objext \
9701 conftest$ac_exeext conftest.$ac_ext
9702 LDFLAGS="$save_LDFLAGS"
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9706 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9709 $as_echo_n "checking for -force_load linker flag... " >&6; }
9710 if ${lt_cv_ld_force_load+:} false; then :
9711 $as_echo_n "(cached) " >&6
9713 lt_cv_ld_force_load=no
9714 cat > conftest.c << _LT_EOF
9715 int forced_loaded() { return 2;}
9717 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9718 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9719 echo "$AR cru libconftest.a conftest.o" >&5
9720 $AR cru libconftest.a conftest.o 2>&5
9721 echo "$RANLIB libconftest.a" >&5
9722 $RANLIB libconftest.a 2>&5
9723 cat > conftest.c << _LT_EOF
9724 int main() { return 0;}
9726 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9727 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9729 if test -s conftest.err && $GREP force_load conftest.err; then
9730 cat conftest.err >&5
9731 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9732 lt_cv_ld_force_load=yes
9734 cat conftest.err >&5
9736 rm -f conftest.err libconftest.a conftest conftest.c
9737 rm -rf conftest.dSYM
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9741 $as_echo "$lt_cv_ld_force_load" >&6; }
9743 rhapsody* | darwin1.[012])
9744 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9746 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9747 darwin*) # darwin 5.x on
9748 # if running on 10.5 or later, the deployment target defaults
9749 # to the OS version, if on x86, and 10.4, the deployment
9750 # target defaults to 10.4. Don't you love it?
9751 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9752 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9753 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9755 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9757 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9761 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9762 _lt_dar_single_mod='$single_module'
9764 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9765 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9767 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9769 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9770 _lt_dsymutil='~$DSYMUTIL $lib || :'
9777 for ac_header in dlfcn.h
9779 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9781 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9782 cat >>confdefs.h <<_ACEOF
9783 #define HAVE_DLFCN_H 1
9802 # Check whether --enable-shared was given.
9803 if test "${enable_shared+set}" = set; then :
9804 enableval=$enable_shared; p=${PACKAGE-default}
9806 yes) enable_shared=yes ;;
9807 no) enable_shared=no ;;
9810 # Look at the argument we got. We use all the common list separators.
9811 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9812 for pkg in $enableval; do
9814 if test "X$pkg" = "X$p"; then
9833 # Check whether --enable-static was given.
9834 if test "${enable_static+set}" = set; then :
9835 enableval=$enable_static; p=${PACKAGE-default}
9837 yes) enable_static=yes ;;
9838 no) enable_static=no ;;
9841 # Look at the argument we got. We use all the common list separators.
9842 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9843 for pkg in $enableval; do
9845 if test "X$pkg" = "X$p"; then
9865 # Check whether --with-pic was given.
9866 if test "${with_pic+set}" = set; then :
9867 withval=$with_pic; lt_p=${PACKAGE-default}
9869 yes|no) pic_mode=$withval ;;
9872 # Look at the argument we got. We use all the common list separators.
9873 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9874 for lt_pkg in $withval; do
9876 if test "X$lt_pkg" = "X$lt_p"; then
9888 test -z "$pic_mode" && pic_mode=default
9896 # Check whether --enable-fast-install was given.
9897 if test "${enable_fast_install+set}" = set; then :
9898 enableval=$enable_fast_install; p=${PACKAGE-default}
9900 yes) enable_fast_install=yes ;;
9901 no) enable_fast_install=no ;;
9903 enable_fast_install=no
9904 # Look at the argument we got. We use all the common list separators.
9905 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9906 for pkg in $enableval; do
9908 if test "X$pkg" = "X$p"; then
9909 enable_fast_install=yes
9916 enable_fast_install=yes
9929 # This can be used to rebuild libtool when needed
9930 LIBTOOL_DEPS="$ltmain"
9932 # Always use our own libtool.
9933 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9964 test -z "$LN_S" && LN_S="ln -s"
9979 if test -n "${ZSH_VERSION+set}" ; then
9980 setopt NO_GLOB_SUBST
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9984 $as_echo_n "checking for objdir... " >&6; }
9985 if ${lt_cv_objdir+:} false; then :
9986 $as_echo_n "(cached) " >&6
9988 rm -f .libs 2>/dev/null
9989 mkdir .libs 2>/dev/null
9990 if test -d .libs; then
9993 # MS-DOS does not allow filenames that begin with a dot.
9996 rmdir .libs 2>/dev/null
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9999 $as_echo "$lt_cv_objdir" >&6; }
10000 objdir=$lt_cv_objdir
10006 cat >>confdefs.h <<_ACEOF
10007 #define LT_OBJDIR "$lt_cv_objdir/"
10015 # AIX sometimes has problems with the GCC collect2 program. For some
10016 # reason, if we set the COLLECT_NAMES environment variable, the problems
10017 # vanish in a puff of smoke.
10018 if test "X${COLLECT_NAMES+set}" != Xset; then
10020 export COLLECT_NAMES
10025 # Global variables:
10027 can_build_shared=yes
10029 # All known linkers require a `.a' archive for static linking (except MSVC,
10030 # which needs '.lib').
10033 with_gnu_ld="$lt_cv_prog_gnu_ld"
10036 old_CFLAGS="$CFLAGS"
10038 # Set sane defaults for various variables
10039 test -z "$CC" && CC=cc
10040 test -z "$LTCC" && LTCC=$CC
10041 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10042 test -z "$LD" && LD=ld
10043 test -z "$ac_objext" && ac_objext=o
10045 for cc_temp in $compiler""; do
10047 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10048 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10053 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10056 # Only perform the check for file, if the check method requires it
10057 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10058 case $deplibs_check_method in
10060 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10062 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10063 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10064 $as_echo_n "(cached) " >&6
10068 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10071 lt_save_MAGIC_CMD="$MAGIC_CMD"
10072 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10073 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10074 for ac_dir in $ac_dummy; do
10076 test -z "$ac_dir" && ac_dir=.
10077 if test -f $ac_dir/${ac_tool_prefix}file; then
10078 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10079 if test -n "$file_magic_test_file"; then
10080 case $deplibs_check_method in
10082 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10083 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10084 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10085 $EGREP "$file_magic_regex" > /dev/null; then
10090 *** Warning: the command libtool uses to detect shared libraries,
10091 *** $file_magic_cmd, produces output that libtool cannot recognize.
10092 *** The result is that libtool may fail to recognize shared libraries
10093 *** as such. This will affect the creation of libtool libraries that
10094 *** depend on shared libraries, but programs linked with such libtool
10095 *** libraries will work regardless of this problem. Nevertheless, you
10096 *** may want to report the problem to your system manager and/or to
10097 *** bug-libtool@gnu.org
10107 MAGIC_CMD="$lt_save_MAGIC_CMD"
10112 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10113 if test -n "$MAGIC_CMD"; then
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10115 $as_echo "$MAGIC_CMD" >&6; }
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10118 $as_echo "no" >&6; }
10125 if test -z "$lt_cv_path_MAGIC_CMD"; then
10126 if test -n "$ac_tool_prefix"; then
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10128 $as_echo_n "checking for file... " >&6; }
10129 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10130 $as_echo_n "(cached) " >&6
10134 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10137 lt_save_MAGIC_CMD="$MAGIC_CMD"
10138 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10139 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10140 for ac_dir in $ac_dummy; do
10142 test -z "$ac_dir" && ac_dir=.
10143 if test -f $ac_dir/file; then
10144 lt_cv_path_MAGIC_CMD="$ac_dir/file"
10145 if test -n "$file_magic_test_file"; then
10146 case $deplibs_check_method in
10148 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10149 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10150 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10151 $EGREP "$file_magic_regex" > /dev/null; then
10156 *** Warning: the command libtool uses to detect shared libraries,
10157 *** $file_magic_cmd, produces output that libtool cannot recognize.
10158 *** The result is that libtool may fail to recognize shared libraries
10159 *** as such. This will affect the creation of libtool libraries that
10160 *** depend on shared libraries, but programs linked with such libtool
10161 *** libraries will work regardless of this problem. Nevertheless, you
10162 *** may want to report the problem to your system manager and/or to
10163 *** bug-libtool@gnu.org
10173 MAGIC_CMD="$lt_save_MAGIC_CMD"
10178 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10179 if test -n "$MAGIC_CMD"; then
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10181 $as_echo "$MAGIC_CMD" >&6; }
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10184 $as_echo "no" >&6; }
10197 # Use C for the default configuration in the libtool script
10201 ac_cpp='$CPP $CPPFLAGS'
10202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10207 # Source file extension for C test sources.
10210 # Object file extension for compiled C test sources.
10214 # Code to be used in simple compile tests
10215 lt_simple_compile_test_code="int some_variable = 0;"
10217 # Code to be used in simple link tests
10218 lt_simple_link_test_code='int main(){return(0);}'
10226 # If no C compiler was specified, use CC.
10229 # If no C compiler flags were specified, use CFLAGS.
10230 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10232 # Allow CC to be a program name with arguments.
10235 # Save the default compiler, since it gets overwritten when the other
10236 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10237 compiler_DEFAULT=$CC
10239 # save warnings/boilerplate of simple test code
10240 ac_outfile=conftest.$ac_objext
10241 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10242 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10243 _lt_compiler_boilerplate=`cat conftest.err`
10246 ac_outfile=conftest.$ac_objext
10247 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10248 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10249 _lt_linker_boilerplate=`cat conftest.err`
10253 if test -n "$compiler"; then
10255 lt_prog_compiler_no_builtin_flag=
10257 if test "$GCC" = yes; then
10258 case $cc_basename in
10260 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10262 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10266 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10267 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10268 $as_echo_n "(cached) " >&6
10270 lt_cv_prog_compiler_rtti_exceptions=no
10271 ac_outfile=conftest.$ac_objext
10272 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10273 lt_compiler_flag="-fno-rtti -fno-exceptions"
10274 # Insert the option either (1) after the last *FLAGS variable, or
10275 # (2) before a word containing "conftest.", or (3) at the end.
10276 # Note that $ac_compile itself does not contain backslashes and begins
10277 # with a dollar sign (not a hyphen), so the echo should work correctly.
10278 # The option is referenced via a variable to avoid confusing sed.
10279 lt_compile=`echo "$ac_compile" | $SED \
10280 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10281 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10282 -e 's:$: $lt_compiler_flag:'`
10283 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10284 (eval "$lt_compile" 2>conftest.err)
10286 cat conftest.err >&5
10287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288 if (exit $ac_status) && test -s "$ac_outfile"; then
10289 # The compiler can only warn and ignore the option if not recognized
10290 # So say no if there are warnings other than the usual output.
10291 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10292 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10293 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10294 lt_cv_prog_compiler_rtti_exceptions=yes
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10301 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10303 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10304 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10316 lt_prog_compiler_wl=
10317 lt_prog_compiler_pic=
10318 lt_prog_compiler_static=
10321 if test "$GCC" = yes; then
10322 lt_prog_compiler_wl='-Wl,'
10323 lt_prog_compiler_static='-static'
10327 # All AIX code is PIC.
10328 if test "$host_cpu" = ia64; then
10329 # AIX 5 now supports IA64 processor
10330 lt_prog_compiler_static='-Bstatic'
10337 # see comment about AmigaOS4 .so support
10338 lt_prog_compiler_pic='-fPIC'
10341 # FIXME: we need at least 68020 code to build shared libraries, but
10342 # adding the `-m68020' flag to GCC prevents building anything better,
10344 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10349 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10350 # PIC is the default for these OSes.
10353 mingw* | cygwin* | pw32* | os2* | cegcc*)
10354 # This hack is so that the source file can tell whether it is being
10355 # built for inclusion in a dll (and should export symbols for example).
10356 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10357 # (--disable-auto-import) libraries
10358 lt_prog_compiler_pic='-DDLL_EXPORT'
10361 darwin* | rhapsody*)
10362 # PIC is the default on this platform
10363 # Common symbols not allowed in MH_DYLIB files
10364 lt_prog_compiler_pic='-fno-common'
10368 # PIC is the default for Haiku.
10369 # The "-static" flag exists, but is broken.
10370 lt_prog_compiler_static=
10374 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10375 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10376 # sets the default TLS model and affects inlining.
10382 lt_prog_compiler_pic='-fPIC'
10388 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10389 # Instead, we relocate shared libraries at runtime.
10393 # Just because we use GCC doesn't mean we suddenly get shared libraries
10394 # on systems that don't support them.
10395 lt_prog_compiler_can_build_shared=no
10400 # QNX uses GNU C++, but need to define -shared option too, otherwise
10401 # it will coredump.
10402 lt_prog_compiler_pic='-fPIC -shared'
10406 if test -d /usr/nec; then
10407 lt_prog_compiler_pic=-Kconform_pic
10412 lt_prog_compiler_pic='-fPIC'
10416 case $cc_basename in
10417 nvcc*) # Cuda Compiler Driver 2.2
10418 lt_prog_compiler_wl='-Xlinker '
10419 if test -n "$lt_prog_compiler_pic"; then
10420 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10425 # PORTME Check for flag to pass linker flags through the system compiler.
10428 lt_prog_compiler_wl='-Wl,'
10429 if test "$host_cpu" = ia64; then
10430 # AIX 5 now supports IA64 processor
10431 lt_prog_compiler_static='-Bstatic'
10433 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10437 mingw* | cygwin* | pw32* | os2* | cegcc*)
10438 # This hack is so that the source file can tell whether it is being
10439 # built for inclusion in a dll (and should export symbols for example).
10440 lt_prog_compiler_pic='-DDLL_EXPORT'
10443 hpux9* | hpux10* | hpux11*)
10444 lt_prog_compiler_wl='-Wl,'
10445 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10446 # not for PA HP-UX.
10452 lt_prog_compiler_pic='+Z'
10455 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10456 lt_prog_compiler_static='${wl}-a ${wl}archive'
10459 irix5* | irix6* | nonstopux*)
10460 lt_prog_compiler_wl='-Wl,'
10461 # PIC (with -KPIC) is the default.
10462 lt_prog_compiler_static='-non_shared'
10465 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10466 case $cc_basename in
10467 # old Intel for x86_64 which still supported -KPIC.
10469 lt_prog_compiler_wl='-Wl,'
10470 lt_prog_compiler_pic='-KPIC'
10471 lt_prog_compiler_static='-static'
10473 # icc used to be incompatible with GCC.
10474 # ICC 10 doesn't accept -KPIC any more.
10476 lt_prog_compiler_wl='-Wl,'
10477 lt_prog_compiler_pic='-fPIC'
10478 lt_prog_compiler_static='-static'
10480 # Lahey Fortran 8.1.
10482 lt_prog_compiler_wl='-Wl,'
10483 lt_prog_compiler_pic='--shared'
10484 lt_prog_compiler_static='--static'
10487 # NAG Fortran compiler
10488 lt_prog_compiler_wl='-Wl,-Wl,,'
10489 lt_prog_compiler_pic='-PIC'
10490 lt_prog_compiler_static='-Bstatic'
10492 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10493 # Portland Group compilers (*not* the Pentium gcc compiler,
10494 # which looks to be a dead project)
10495 lt_prog_compiler_wl='-Wl,'
10496 lt_prog_compiler_pic='-fpic'
10497 lt_prog_compiler_static='-Bstatic'
10500 lt_prog_compiler_wl='-Wl,'
10501 # All Alpha code is PIC.
10502 lt_prog_compiler_static='-non_shared'
10504 xl* | bgxl* | bgf* | mpixl*)
10505 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10506 lt_prog_compiler_wl='-Wl,'
10507 lt_prog_compiler_pic='-qpic'
10508 lt_prog_compiler_static='-qstaticlink'
10511 case `$CC -V 2>&1 | sed 5q` in
10512 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10513 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10514 lt_prog_compiler_pic='-KPIC'
10515 lt_prog_compiler_static='-Bstatic'
10516 lt_prog_compiler_wl=''
10518 *Sun\ F* | *Sun*Fortran*)
10519 lt_prog_compiler_pic='-KPIC'
10520 lt_prog_compiler_static='-Bstatic'
10521 lt_prog_compiler_wl='-Qoption ld '
10525 lt_prog_compiler_pic='-KPIC'
10526 lt_prog_compiler_static='-Bstatic'
10527 lt_prog_compiler_wl='-Wl,'
10529 *Intel*\ [CF]*Compiler*)
10530 lt_prog_compiler_wl='-Wl,'
10531 lt_prog_compiler_pic='-fPIC'
10532 lt_prog_compiler_static='-static'
10535 lt_prog_compiler_wl='-Wl,'
10536 lt_prog_compiler_pic='-fpic'
10537 lt_prog_compiler_static='-Bstatic'
10545 lt_prog_compiler_pic='-KPIC'
10546 lt_prog_compiler_static='-Bstatic'
10550 # QNX uses GNU C++, but need to define -shared option too, otherwise
10551 # it will coredump.
10552 lt_prog_compiler_pic='-fPIC -shared'
10555 osf3* | osf4* | osf5*)
10556 lt_prog_compiler_wl='-Wl,'
10557 # All OSF/1 code is PIC.
10558 lt_prog_compiler_static='-non_shared'
10562 lt_prog_compiler_static='-non_shared'
10566 lt_prog_compiler_pic='-KPIC'
10567 lt_prog_compiler_static='-Bstatic'
10568 case $cc_basename in
10569 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10570 lt_prog_compiler_wl='-Qoption ld ';;
10572 lt_prog_compiler_wl='-Wl,';;
10577 lt_prog_compiler_wl='-Qoption ld '
10578 lt_prog_compiler_pic='-PIC'
10579 lt_prog_compiler_static='-Bstatic'
10582 sysv4 | sysv4.2uw2* | sysv4.3*)
10583 lt_prog_compiler_wl='-Wl,'
10584 lt_prog_compiler_pic='-KPIC'
10585 lt_prog_compiler_static='-Bstatic'
10589 if test -d /usr/nec ;then
10590 lt_prog_compiler_pic='-Kconform_pic'
10591 lt_prog_compiler_static='-Bstatic'
10595 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10596 lt_prog_compiler_wl='-Wl,'
10597 lt_prog_compiler_pic='-KPIC'
10598 lt_prog_compiler_static='-Bstatic'
10602 lt_prog_compiler_wl='-Wl,'
10603 lt_prog_compiler_can_build_shared=no
10607 lt_prog_compiler_pic='-pic'
10608 lt_prog_compiler_static='-Bstatic'
10612 lt_prog_compiler_can_build_shared=no
10618 # For platforms which do not support PIC, -DPIC is meaningless:
10620 lt_prog_compiler_pic=
10623 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10628 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10629 if ${lt_cv_prog_compiler_pic+:} false; then :
10630 $as_echo_n "(cached) " >&6
10632 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10635 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10636 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10639 # Check to make sure the PIC flag actually works.
10641 if test -n "$lt_prog_compiler_pic"; then
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10643 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10644 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10645 $as_echo_n "(cached) " >&6
10647 lt_cv_prog_compiler_pic_works=no
10648 ac_outfile=conftest.$ac_objext
10649 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10650 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10651 # Insert the option either (1) after the last *FLAGS variable, or
10652 # (2) before a word containing "conftest.", or (3) at the end.
10653 # Note that $ac_compile itself does not contain backslashes and begins
10654 # with a dollar sign (not a hyphen), so the echo should work correctly.
10655 # The option is referenced via a variable to avoid confusing sed.
10656 lt_compile=`echo "$ac_compile" | $SED \
10657 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10658 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10659 -e 's:$: $lt_compiler_flag:'`
10660 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10661 (eval "$lt_compile" 2>conftest.err)
10663 cat conftest.err >&5
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 if (exit $ac_status) && test -s "$ac_outfile"; then
10666 # The compiler can only warn and ignore the option if not recognized
10667 # So say no if there are warnings other than the usual output.
10668 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10669 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10670 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10671 lt_cv_prog_compiler_pic_works=yes
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10678 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10680 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10681 case $lt_prog_compiler_pic in
10683 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10686 lt_prog_compiler_pic=
10687 lt_prog_compiler_can_build_shared=no
10703 # Check to make sure the static flag actually works.
10705 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10707 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10708 if ${lt_cv_prog_compiler_static_works+:} false; then :
10709 $as_echo_n "(cached) " >&6
10711 lt_cv_prog_compiler_static_works=no
10712 save_LDFLAGS="$LDFLAGS"
10713 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10714 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10715 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10716 # The linker can only warn and ignore the option if not recognized
10717 # So say no if there are warnings
10718 if test -s conftest.err; then
10719 # Append any errors to the config.log.
10720 cat conftest.err 1>&5
10721 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10722 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10723 if diff conftest.exp conftest.er2 >/dev/null; then
10724 lt_cv_prog_compiler_static_works=yes
10727 lt_cv_prog_compiler_static_works=yes
10731 LDFLAGS="$save_LDFLAGS"
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10735 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10737 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10740 lt_prog_compiler_static=
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10750 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10751 if ${lt_cv_prog_compiler_c_o+:} false; then :
10752 $as_echo_n "(cached) " >&6
10754 lt_cv_prog_compiler_c_o=no
10755 $RM -r conftest 2>/dev/null
10759 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10761 lt_compiler_flag="-o out/conftest2.$ac_objext"
10762 # Insert the option either (1) after the last *FLAGS variable, or
10763 # (2) before a word containing "conftest.", or (3) at the end.
10764 # Note that $ac_compile itself does not contain backslashes and begins
10765 # with a dollar sign (not a hyphen), so the echo should work correctly.
10766 lt_compile=`echo "$ac_compile" | $SED \
10767 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10768 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10769 -e 's:$: $lt_compiler_flag:'`
10770 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10771 (eval "$lt_compile" 2>out/conftest.err)
10773 cat out/conftest.err >&5
10774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10775 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10777 # The compiler can only warn and ignore the option if not recognized
10778 # So say no if there are warnings
10779 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10780 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10781 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10782 lt_cv_prog_compiler_c_o=yes
10787 # SGI C++ compiler will create directory out/ii_files/ for
10788 # template instantiation
10789 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10790 $RM out/* && rmdir out
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10797 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10805 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10806 if ${lt_cv_prog_compiler_c_o+:} false; then :
10807 $as_echo_n "(cached) " >&6
10809 lt_cv_prog_compiler_c_o=no
10810 $RM -r conftest 2>/dev/null
10814 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10816 lt_compiler_flag="-o out/conftest2.$ac_objext"
10817 # Insert the option either (1) after the last *FLAGS variable, or
10818 # (2) before a word containing "conftest.", or (3) at the end.
10819 # Note that $ac_compile itself does not contain backslashes and begins
10820 # with a dollar sign (not a hyphen), so the echo should work correctly.
10821 lt_compile=`echo "$ac_compile" | $SED \
10822 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10823 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10824 -e 's:$: $lt_compiler_flag:'`
10825 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10826 (eval "$lt_compile" 2>out/conftest.err)
10828 cat out/conftest.err >&5
10829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10830 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10832 # The compiler can only warn and ignore the option if not recognized
10833 # So say no if there are warnings
10834 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10835 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10836 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10837 lt_cv_prog_compiler_c_o=yes
10842 # SGI C++ compiler will create directory out/ii_files/ for
10843 # template instantiation
10844 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10845 $RM out/* && rmdir out
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10852 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10857 hard_links="nottested"
10858 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10859 # do not overwrite the value of need_locks provided by the user
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10861 $as_echo_n "checking if we can lock with hard links... " >&6; }
10864 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10866 ln conftest.a conftest.b 2>&5 || hard_links=no
10867 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10869 $as_echo "$hard_links" >&6; }
10870 if test "$hard_links" = no; then
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10872 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10885 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10888 allow_undefined_flag=
10889 always_export_symbols=no
10891 archive_expsym_cmds=
10892 compiler_needs_object=no
10893 enable_shared_with_static_runtimes=no
10894 export_dynamic_flag_spec=
10895 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10896 hardcode_automatic=no
10898 hardcode_direct_absolute=no
10899 hardcode_libdir_flag_spec=
10900 hardcode_libdir_separator=
10901 hardcode_minus_L=no
10902 hardcode_shlibpath_var=unsupported
10904 link_all_deplibs=unknown
10906 module_expsym_cmds=
10907 old_archive_from_new_cmds=
10908 old_archive_from_expsyms_cmds=
10909 thread_safe_flag_spec=
10910 whole_archive_flag_spec=
10911 # include_expsyms should be a list of space-separated symbols to be *always*
10912 # included in the symbol list
10914 # exclude_expsyms can be an extended regexp of symbols to exclude
10915 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10916 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10917 # as well as any symbol that contains `d'.
10918 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10919 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10920 # platforms (ab)use it in PIC code, but their linkers get confused if
10921 # the symbol is explicitly referenced. Since portable code cannot
10922 # rely on this symbol name, it's probably fine to never include it in
10923 # preloaded symbol tables.
10924 # Exclude shared library initialization/finalization symbols.
10925 extract_expsyms_cmds=
10928 cygwin* | mingw* | pw32* | cegcc*)
10929 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10930 # When not using gcc, we currently assume that we are using
10931 # Microsoft Visual C++.
10932 if test "$GCC" != yes; then
10937 # we just hope/assume this is gcc and not c89 (= MSVC++)
10947 # On some targets, GNU ld is compatible enough with the native linker
10948 # that we're better off using the native interface for both.
10949 lt_use_gnu_ld_interface=no
10950 if test "$with_gnu_ld" = yes; then
10953 # The AIX port of GNU ld has always aspired to compatibility
10954 # with the native linker. However, as the warning in the GNU ld
10955 # block says, versions before 2.19.5* couldn't really create working
10956 # shared libraries, regardless of the interface used.
10957 case `$LD -v 2>&1` in
10958 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10959 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10960 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10962 lt_use_gnu_ld_interface=yes
10967 lt_use_gnu_ld_interface=yes
10972 if test "$lt_use_gnu_ld_interface" = yes; then
10973 # If archive_cmds runs LD, not CC, wlarc should be empty
10976 # Set some defaults for GNU ld with shared library support. These
10977 # are reset later if shared libraries are not supported. Putting them
10978 # here allows them to be overridden if necessary.
10979 runpath_var=LD_RUN_PATH
10980 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10981 export_dynamic_flag_spec='${wl}--export-dynamic'
10982 # ancient GNU ld didn't support --whole-archive et. al.
10983 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10984 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10986 whole_archive_flag_spec=
10988 supports_anon_versioning=no
10989 case `$LD -v 2>&1` in
10990 *GNU\ gold*) supports_anon_versioning=yes ;;
10991 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10992 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10993 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10994 *\ 2.11.*) ;; # other 2.11 versions
10995 *) supports_anon_versioning=yes ;;
10998 # See if GNU ld supports shared libraries.
11001 # On AIX/PPC, the GNU linker is very broken
11002 if test "$host_cpu" != ia64; then
11006 *** Warning: the GNU linker, at least up to release 2.19, is reported
11007 *** to be unable to reliably create shared libraries on AIX.
11008 *** Therefore, libtool is disabling shared libraries support. If you
11009 *** really care for shared libraries, you may want to install binutils
11010 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11011 *** You will then need to restart the configuration process.
11020 # see comment about AmigaOS4 .so support
11021 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11022 archive_expsym_cmds=''
11025 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)'
11026 hardcode_libdir_flag_spec='-L$libdir'
11027 hardcode_minus_L=yes
11033 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11034 allow_undefined_flag=unsupported
11035 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11036 # support --undefined. This deserves some investigation. FIXME
11037 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11043 cygwin* | mingw* | pw32* | cegcc*)
11044 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11045 # as there is no search path for DLLs.
11046 hardcode_libdir_flag_spec='-L$libdir'
11047 export_dynamic_flag_spec='${wl}--export-all-symbols'
11048 allow_undefined_flag=unsupported
11049 always_export_symbols=no
11050 enable_shared_with_static_runtimes=yes
11051 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'
11052 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11054 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11055 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11056 # If the export-symbols file already is a .def file (1st line
11057 # is EXPORTS), use it as is; otherwise, prepend...
11058 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11059 cp $export_symbols $output_objdir/$soname.def;
11061 echo EXPORTS > $output_objdir/$soname.def;
11062 cat $export_symbols >> $output_objdir/$soname.def;
11064 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11071 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11072 link_all_deplibs=yes
11077 hardcode_shlibpath_var=no
11078 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11079 export_dynamic_flag_spec='${wl}-E'
11080 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11081 # Instead, shared libraries are loaded at an image base (0x10000000 by
11082 # default) and relocated if they conflict, which is a slow very memory
11083 # consuming and fragmenting process. To avoid this, we pick a random,
11084 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11085 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11086 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11087 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'
11090 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11092 if test "$host_os" = linux-dietlibc; then
11093 case $cc_basename in
11094 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11097 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11098 && test "$tmp_diet" = no
11100 tmp_addflag=' $pic_flag'
11101 tmp_sharedflag='-shared'
11102 case $cc_basename,$host_cpu in
11103 pgcc*) # Portland Group C compiler
11104 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'
11105 tmp_addflag=' $pic_flag'
11107 pgf77* | pgf90* | pgf95* | pgfortran*)
11108 # Portland Group f77 and f90 compilers
11109 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'
11110 tmp_addflag=' $pic_flag -Mnomain' ;;
11111 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11112 tmp_addflag=' -i_dynamic' ;;
11113 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11114 tmp_addflag=' -i_dynamic -nofor_main' ;;
11115 ifc* | ifort*) # Intel Fortran compiler
11116 tmp_addflag=' -nofor_main' ;;
11117 lf95*) # Lahey Fortran 8.1
11118 whole_archive_flag_spec=
11119 tmp_sharedflag='--shared' ;;
11120 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11121 tmp_sharedflag='-qmkshrobj'
11123 nvcc*) # Cuda Compiler Driver 2.2
11124 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'
11125 compiler_needs_object=yes
11128 case `$CC -V 2>&1 | sed 5q` in
11129 *Sun\ C*) # Sun C 5.9
11130 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'
11131 compiler_needs_object=yes
11132 tmp_sharedflag='-G' ;;
11133 *Sun\ F*) # Sun Fortran 8.3
11134 tmp_sharedflag='-G' ;;
11136 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11138 if test "x$supports_anon_versioning" = xyes; then
11139 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11140 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11141 echo "local: *; };" >> $output_objdir/$libname.ver~
11142 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11145 case $cc_basename in
11146 xlf* | bgf* | bgxlf* | mpixlf*)
11147 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11148 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11149 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11150 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11151 if test "x$supports_anon_versioning" = xyes; then
11152 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11153 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11154 echo "local: *; };" >> $output_objdir/$libname.ver~
11155 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11165 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11166 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11169 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11170 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11175 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11179 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11180 *** create shared libraries on Solaris systems. Therefore, libtool
11181 *** is disabling shared libraries support. We urge you to upgrade GNU
11182 *** binutils to release 2.9.1 or newer. Another option is to modify
11183 *** your PATH or compiler configuration so that the native linker is
11184 *** used, and then restart.
11187 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11188 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11189 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11195 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11196 case `$LD -v 2>&1` in
11197 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11201 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11202 *** reliably create shared libraries on SCO systems. Therefore, libtool
11203 *** is disabling shared libraries support. We urge you to upgrade GNU
11204 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11205 *** your PATH or compiler configuration so that the native linker is
11206 *** used, and then restart.
11211 # For security reasons, it is highly recommended that you always
11212 # use absolute paths for naming shared libraries, and exclude the
11213 # DT_RUNPATH tag from executables and libraries. But doing so
11214 # requires that you compile everything twice, which is a pain.
11215 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11216 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11217 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11218 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11227 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11229 hardcode_direct=yes
11230 hardcode_shlibpath_var=no
11234 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11235 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11236 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11243 if test "$ld_shlibs" = no; then
11245 hardcode_libdir_flag_spec=
11246 export_dynamic_flag_spec=
11247 whole_archive_flag_spec=
11250 # PORTME fill in a description of your system's linker (not GNU ld)
11253 allow_undefined_flag=unsupported
11254 always_export_symbols=yes
11255 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'
11256 # Note: this linker hardcodes the directories in LIBPATH if there
11257 # are no directories specified by -L.
11258 hardcode_minus_L=yes
11259 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11260 # Neither direct hardcoding nor static linking is supported with a
11262 hardcode_direct=unsupported
11267 if test "$host_cpu" = ia64; then
11268 # On IA64, the linker does run time linking by default, so we don't
11269 # have to do anything special.
11270 aix_use_runtimelinking=no
11271 exp_sym_flag='-Bexport'
11274 # If we're using GNU nm, then we don't want the "-C" option.
11275 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11276 # Also, AIX nm treats weak defined symbols like other global
11277 # defined symbols, whereas GNU nm marks them as "W".
11278 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11279 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'
11281 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'
11283 aix_use_runtimelinking=no
11285 # Test if we are trying to use run time linking or normal
11286 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11287 # need to do runtime linking.
11288 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11289 for ld_flag in $LDFLAGS; do
11290 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11291 aix_use_runtimelinking=yes
11298 exp_sym_flag='-bexport'
11299 no_entry_flag='-bnoentry'
11302 # When large executables or shared objects are built, AIX ld can
11303 # have problems creating the table of contents. If linking a library
11304 # or program results in "error TOC overflow" add -mminimal-toc to
11305 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11306 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11309 hardcode_direct=yes
11310 hardcode_direct_absolute=yes
11311 hardcode_libdir_separator=':'
11312 link_all_deplibs=yes
11313 file_list_spec='${wl}-f,'
11315 if test "$GCC" = yes; then
11316 case $host_os in aix4.[012]|aix4.[012].*)
11317 # We only want to do this on AIX 4.2 and lower, the check
11318 # below for broken collect2 doesn't work under 4.3+
11319 collect2name=`${CC} -print-prog-name=collect2`
11320 if test -f "$collect2name" &&
11321 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11323 # We have reworked collect2
11326 # We have old collect2
11327 hardcode_direct=unsupported
11328 # It fails to find uninstalled libraries when the uninstalled
11329 # path is not listed in the libpath. Setting hardcode_minus_L
11330 # to unsupported forces relinking
11331 hardcode_minus_L=yes
11332 hardcode_libdir_flag_spec='-L$libdir'
11333 hardcode_libdir_separator=
11337 shared_flag='-shared'
11338 if test "$aix_use_runtimelinking" = yes; then
11339 shared_flag="$shared_flag "'${wl}-G'
11343 if test "$host_cpu" = ia64; then
11344 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11345 # chokes on -Wl,-G. The following line is correct:
11348 if test "$aix_use_runtimelinking" = yes; then
11349 shared_flag='${wl}-G'
11351 shared_flag='${wl}-bM:SRE'
11356 export_dynamic_flag_spec='${wl}-bexpall'
11357 # It seems that -bexpall does not export symbols beginning with
11358 # underscore (_), so it is better to generate a list of symbols to export.
11359 always_export_symbols=yes
11360 if test "$aix_use_runtimelinking" = yes; then
11361 # Warning - without using the other runtime loading flags (-brtl),
11362 # -berok will link without error, but may produce a broken library.
11363 allow_undefined_flag='-berok'
11364 # Determine the default libpath from the value encoded in an
11365 # empty executable.
11366 if test "${lt_cv_aix_libpath+set}" = set; then
11367 aix_libpath=$lt_cv_aix_libpath
11369 if ${lt_cv_aix_libpath_+:} false; then :
11370 $as_echo_n "(cached) " >&6
11372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11373 /* end confdefs.h. */
11383 if ac_fn_c_try_link "$LINENO"; then :
11385 lt_aix_libpath_sed='
11386 /Import File Strings/,/^$/ {
11388 s/^0 *\([^ ]*\) *$/\1/
11392 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11393 # Check for a 64-bit object if we didn't find anything.
11394 if test -z "$lt_cv_aix_libpath_"; then
11395 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11398 rm -f core conftest.err conftest.$ac_objext \
11399 conftest$ac_exeext conftest.$ac_ext
11400 if test -z "$lt_cv_aix_libpath_"; then
11401 lt_cv_aix_libpath_="/usr/lib:/lib"
11406 aix_libpath=$lt_cv_aix_libpath_
11409 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11410 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"
11412 if test "$host_cpu" = ia64; then
11413 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11414 allow_undefined_flag="-z nodefs"
11415 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"
11417 # Determine the default libpath from the value encoded in an
11418 # empty executable.
11419 if test "${lt_cv_aix_libpath+set}" = set; then
11420 aix_libpath=$lt_cv_aix_libpath
11422 if ${lt_cv_aix_libpath_+:} false; then :
11423 $as_echo_n "(cached) " >&6
11425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11426 /* end confdefs.h. */
11436 if ac_fn_c_try_link "$LINENO"; then :
11438 lt_aix_libpath_sed='
11439 /Import File Strings/,/^$/ {
11441 s/^0 *\([^ ]*\) *$/\1/
11445 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11446 # Check for a 64-bit object if we didn't find anything.
11447 if test -z "$lt_cv_aix_libpath_"; then
11448 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11451 rm -f core conftest.err conftest.$ac_objext \
11452 conftest$ac_exeext conftest.$ac_ext
11453 if test -z "$lt_cv_aix_libpath_"; then
11454 lt_cv_aix_libpath_="/usr/lib:/lib"
11459 aix_libpath=$lt_cv_aix_libpath_
11462 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11463 # Warning - without using the other run time loading flags,
11464 # -berok will link without error, but may produce a broken library.
11465 no_undefined_flag=' ${wl}-bernotok'
11466 allow_undefined_flag=' ${wl}-berok'
11467 if test "$with_gnu_ld" = yes; then
11468 # We only use this code for GNU lds that support --whole-archive.
11469 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11471 # Exported symbols can be pulled into shared objects from archives
11472 whole_archive_flag_spec='$convenience'
11474 archive_cmds_need_lc=yes
11475 # This is similar to how AIX traditionally builds its shared libraries.
11476 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'
11484 # see comment about AmigaOS4 .so support
11485 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11486 archive_expsym_cmds=''
11489 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)'
11490 hardcode_libdir_flag_spec='-L$libdir'
11491 hardcode_minus_L=yes
11497 export_dynamic_flag_spec=-rdynamic
11500 cygwin* | mingw* | pw32* | cegcc*)
11501 # When not using gcc, we currently assume that we are using
11502 # Microsoft Visual C++.
11503 # hardcode_libdir_flag_spec is actually meaningless, as there is
11504 # no search path for DLLs.
11505 case $cc_basename in
11508 hardcode_libdir_flag_spec=' '
11509 allow_undefined_flag=unsupported
11510 always_export_symbols=yes
11512 # Tell ltmain to make .lib files, not .a files.
11514 # Tell ltmain to make .dll files, not .so files.
11516 # FIXME: Setting linknames here is a bad hack.
11517 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11518 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11519 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11521 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11523 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11525 # The linker will not automatically build a static lib if we build a DLL.
11526 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11527 enable_shared_with_static_runtimes=yes
11528 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11529 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11531 old_postinstall_cmds='chmod 644 $oldlib'
11532 postlink_cmds='lt_outputfile="@OUTPUT@"~
11533 lt_tool_outputfile="@TOOL_OUTPUT@"~
11534 case $lt_outputfile in
11537 lt_outputfile="$lt_outputfile.exe"
11538 lt_tool_outputfile="$lt_tool_outputfile.exe"
11541 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11542 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11543 $RM "$lt_outputfile.manifest";
11547 # Assume MSVC wrapper
11548 hardcode_libdir_flag_spec=' '
11549 allow_undefined_flag=unsupported
11550 # Tell ltmain to make .lib files, not .a files.
11552 # Tell ltmain to make .dll files, not .so files.
11554 # FIXME: Setting linknames here is a bad hack.
11555 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11556 # The linker will automatically build a .lib file if we build a DLL.
11557 old_archive_from_new_cmds='true'
11558 # FIXME: Should let the user specify the lib program.
11559 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11560 enable_shared_with_static_runtimes=yes
11565 darwin* | rhapsody*)
11568 archive_cmds_need_lc=no
11570 hardcode_automatic=yes
11571 hardcode_shlibpath_var=unsupported
11572 if test "$lt_cv_ld_force_load" = "yes"; then
11573 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\"`'
11576 whole_archive_flag_spec=''
11578 link_all_deplibs=yes
11579 allow_undefined_flag="$_lt_dar_allow_undefined"
11580 case $cc_basename in
11581 ifort*) _lt_dar_can_shared=yes ;;
11582 *) _lt_dar_can_shared=$GCC ;;
11584 if test "$_lt_dar_can_shared" = "yes"; then
11585 output_verbose_link_cmd=func_echo_all
11586 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11587 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11588 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}"
11589 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}"
11598 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11599 hardcode_libdir_flag_spec='-L$libdir'
11600 hardcode_shlibpath_var=no
11603 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11604 # support. Future versions do this automatically, but an explicit c++rt0.o
11605 # does not break anything, and helps significantly (at the cost of a little
11608 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11609 hardcode_libdir_flag_spec='-R$libdir'
11610 hardcode_direct=yes
11611 hardcode_shlibpath_var=no
11614 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11616 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11617 hardcode_direct=yes
11618 hardcode_minus_L=yes
11619 hardcode_shlibpath_var=no
11622 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11623 freebsd* | dragonfly*)
11624 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11625 hardcode_libdir_flag_spec='-R$libdir'
11626 hardcode_direct=yes
11627 hardcode_shlibpath_var=no
11631 if test "$GCC" = yes; then
11632 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'
11634 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'
11636 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11637 hardcode_libdir_separator=:
11638 hardcode_direct=yes
11640 # hardcode_minus_L: Not really in the search PATH,
11641 # but as the default location of the library.
11642 hardcode_minus_L=yes
11643 export_dynamic_flag_spec='${wl}-E'
11647 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11648 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11650 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11652 if test "$with_gnu_ld" = no; then
11653 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11654 hardcode_libdir_separator=:
11655 hardcode_direct=yes
11656 hardcode_direct_absolute=yes
11657 export_dynamic_flag_spec='${wl}-E'
11658 # hardcode_minus_L: Not really in the search PATH,
11659 # but as the default location of the library.
11660 hardcode_minus_L=yes
11665 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11668 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11671 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11674 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11680 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11683 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11687 # Older versions of the 11.00 compiler do not understand -b yet
11688 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11690 $as_echo_n "checking if $CC understands -b... " >&6; }
11691 if ${lt_cv_prog_compiler__b+:} false; then :
11692 $as_echo_n "(cached) " >&6
11694 lt_cv_prog_compiler__b=no
11695 save_LDFLAGS="$LDFLAGS"
11696 LDFLAGS="$LDFLAGS -b"
11697 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11698 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11699 # The linker can only warn and ignore the option if not recognized
11700 # So say no if there are warnings
11701 if test -s conftest.err; then
11702 # Append any errors to the config.log.
11703 cat conftest.err 1>&5
11704 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11705 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11706 if diff conftest.exp conftest.er2 >/dev/null; then
11707 lt_cv_prog_compiler__b=yes
11710 lt_cv_prog_compiler__b=yes
11714 LDFLAGS="$save_LDFLAGS"
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11718 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11720 if test x"$lt_cv_prog_compiler__b" = xyes; then
11721 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11723 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11729 if test "$with_gnu_ld" = no; then
11730 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11731 hardcode_libdir_separator=:
11736 hardcode_shlibpath_var=no
11739 hardcode_direct=yes
11740 hardcode_direct_absolute=yes
11741 export_dynamic_flag_spec='${wl}-E'
11743 # hardcode_minus_L: Not really in the search PATH,
11744 # but as the default location of the library.
11745 hardcode_minus_L=yes
11751 irix5* | irix6* | nonstopux*)
11752 if test "$GCC" = yes; then
11753 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'
11754 # Try to use the -exported_symbol ld option, if it does not
11755 # work, assume that -exports_file does not work either and
11756 # implicitly export all symbols.
11757 # This should be the same for all languages, so no per-tag cache variable.
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11759 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11760 if ${lt_cv_irix_exported_symbol+:} false; then :
11761 $as_echo_n "(cached) " >&6
11763 save_LDFLAGS="$LDFLAGS"
11764 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11766 /* end confdefs.h. */
11767 int foo (void) { return 0; }
11769 if ac_fn_c_try_link "$LINENO"; then :
11770 lt_cv_irix_exported_symbol=yes
11772 lt_cv_irix_exported_symbol=no
11774 rm -f core conftest.err conftest.$ac_objext \
11775 conftest$ac_exeext conftest.$ac_ext
11776 LDFLAGS="$save_LDFLAGS"
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11779 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11780 if test "$lt_cv_irix_exported_symbol" = yes; then
11781 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'
11784 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'
11785 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'
11787 archive_cmds_need_lc='no'
11788 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11789 hardcode_libdir_separator=:
11791 link_all_deplibs=yes
11795 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11796 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11798 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11800 hardcode_libdir_flag_spec='-R$libdir'
11801 hardcode_direct=yes
11802 hardcode_shlibpath_var=no
11806 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11807 hardcode_direct=yes
11808 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11809 hardcode_libdir_separator=:
11810 hardcode_shlibpath_var=no
11817 if test -f /usr/libexec/ld.so; then
11818 hardcode_direct=yes
11819 hardcode_shlibpath_var=no
11820 hardcode_direct_absolute=yes
11821 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11822 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11823 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11824 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11825 export_dynamic_flag_spec='${wl}-E'
11828 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11829 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11830 hardcode_libdir_flag_spec='-R$libdir'
11833 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11834 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11844 hardcode_libdir_flag_spec='-L$libdir'
11845 hardcode_minus_L=yes
11846 allow_undefined_flag=unsupported
11847 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'
11848 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11852 if test "$GCC" = yes; then
11853 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11854 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'
11856 allow_undefined_flag=' -expect_unresolved \*'
11857 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'
11859 archive_cmds_need_lc='no'
11860 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11861 hardcode_libdir_separator=:
11864 osf4* | osf5*) # as osf3* with the addition of -msym flag
11865 if test "$GCC" = yes; then
11866 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11867 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'
11868 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11870 allow_undefined_flag=' -expect_unresolved \*'
11871 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'
11872 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~
11873 $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'
11875 # Both c and cxx compiler support -rpath directly
11876 hardcode_libdir_flag_spec='-rpath $libdir'
11878 archive_cmds_need_lc='no'
11879 hardcode_libdir_separator=:
11883 no_undefined_flag=' -z defs'
11884 if test "$GCC" = yes; then
11886 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11887 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11888 $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'
11890 case `$CC -V 2>&1` in
11893 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11894 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11895 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11899 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11900 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11901 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11905 hardcode_libdir_flag_spec='-R$libdir'
11906 hardcode_shlibpath_var=no
11908 solaris2.[0-5] | solaris2.[0-5].*) ;;
11910 # The compiler driver will combine and reorder linker options,
11911 # but understands `-z linker_flag'. GCC discards it without `$wl',
11912 # but is careful enough not to reorder.
11913 # Supported since Solaris 2.6 (maybe 2.5.1?)
11914 if test "$GCC" = yes; then
11915 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11917 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11921 link_all_deplibs=yes
11925 if test "x$host_vendor" = xsequent; then
11926 # Use $CC to link under sequent, because it throws in some extra .o
11927 # files that make .init and .fini sections work.
11928 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11930 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11932 hardcode_libdir_flag_spec='-L$libdir'
11933 hardcode_direct=yes
11934 hardcode_minus_L=yes
11935 hardcode_shlibpath_var=no
11939 case $host_vendor in
11941 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11942 hardcode_direct=yes # is this really true???
11945 ## LD is ld it makes a PLAMLIB
11946 ## CC just makes a GrossModule.
11947 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11948 reload_cmds='$CC -r -o $output$reload_objs'
11952 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11953 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11956 runpath_var='LD_RUN_PATH'
11957 hardcode_shlibpath_var=no
11961 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11962 hardcode_shlibpath_var=no
11963 export_dynamic_flag_spec='-Bexport'
11967 if test -d /usr/nec; then
11968 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11969 hardcode_shlibpath_var=no
11970 runpath_var=LD_RUN_PATH
11971 hardcode_runpath_var=yes
11976 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11977 no_undefined_flag='${wl}-z,text'
11978 archive_cmds_need_lc=no
11979 hardcode_shlibpath_var=no
11980 runpath_var='LD_RUN_PATH'
11982 if test "$GCC" = yes; then
11983 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11984 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11986 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11987 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11991 sysv5* | sco3.2v5* | sco5v6*)
11992 # Note: We can NOT use -z defs as we might desire, because we do not
11993 # link with -lc, and that would cause any symbols used from libc to
11994 # always be unresolved, which means just about no library would
11995 # ever link correctly. If we're not using GNU ld we use -z text
11996 # though, which does catch some bad symbols but isn't as heavy-handed
11998 no_undefined_flag='${wl}-z,text'
11999 allow_undefined_flag='${wl}-z,nodefs'
12000 archive_cmds_need_lc=no
12001 hardcode_shlibpath_var=no
12002 hardcode_libdir_flag_spec='${wl}-R,$libdir'
12003 hardcode_libdir_separator=':'
12004 link_all_deplibs=yes
12005 export_dynamic_flag_spec='${wl}-Bexport'
12006 runpath_var='LD_RUN_PATH'
12008 if test "$GCC" = yes; then
12009 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12010 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12012 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12013 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12018 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12019 hardcode_libdir_flag_spec='-L$libdir'
12020 hardcode_shlibpath_var=no
12028 if test x$host_vendor = xsni; then
12030 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12031 export_dynamic_flag_spec='${wl}-Blargedynsym'
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12038 $as_echo "$ld_shlibs" >&6; }
12039 test "$ld_shlibs" = no && can_build_shared=no
12041 with_gnu_ld=$with_gnu_ld
12058 # Do we need to explicitly link libc?
12060 case "x$archive_cmds_need_lc" in
12062 # Assume -lc should be added
12063 archive_cmds_need_lc=yes
12065 if test "$enable_shared" = yes && test "$GCC" = yes; then
12066 case $archive_cmds in
12068 # FIXME: we may have to deal with multi-command sequences.
12071 # Test whether the compiler implicitly links with -lc since on some
12072 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12073 # to ld, don't add -lc before -lgcc.
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12075 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12076 if ${lt_cv_archive_cmds_need_lc+:} false; then :
12077 $as_echo_n "(cached) " >&6
12080 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12082 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12083 (eval $ac_compile) 2>&5
12085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12086 test $ac_status = 0; } 2>conftest.err; then
12089 libobjs=conftest.$ac_objext
12091 wl=$lt_prog_compiler_wl
12092 pic_flag=$lt_prog_compiler_pic
12098 lt_save_allow_undefined_flag=$allow_undefined_flag
12099 allow_undefined_flag=
12100 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12101 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12104 test $ac_status = 0; }
12106 lt_cv_archive_cmds_need_lc=no
12108 lt_cv_archive_cmds_need_lc=yes
12110 allow_undefined_flag=$lt_save_allow_undefined_flag
12112 cat conftest.err 1>&5
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12118 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12119 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12278 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12280 if test "$GCC" = yes; then
12282 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12283 *) lt_awk_arg="/^libraries:/" ;;
12286 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
12287 *) lt_sed_strip_eq="s,=/,/,g" ;;
12289 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12290 case $lt_search_path_spec in
12292 # if the path contains ";" then we assume it to be the separator
12293 # otherwise default to the standard path separator (i.e. ":") - it is
12294 # assumed that no part of a normal pathname contains ";" but that should
12295 # okay in the real world where ";" in dirpaths is itself problematic.
12296 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12299 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12302 # Ok, now we have the path, separated by spaces, we can step through it
12303 # and add multilib dir if necessary.
12304 lt_tmp_lt_search_path_spec=
12305 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12306 for lt_sys_path in $lt_search_path_spec; do
12307 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12308 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12310 test -d "$lt_sys_path" && \
12311 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12314 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12315 BEGIN {RS=" "; FS="/|\n";} {
12318 for (lt_i = NF; lt_i > 0; lt_i--) {
12319 if ($lt_i != "" && $lt_i != ".") {
12320 if ($lt_i == "..") {
12323 if (lt_count == 0) {
12324 lt_foo="/" $lt_i lt_foo;
12331 if (lt_foo != "") { lt_freq[lt_foo]++; }
12332 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12334 # AWK program above erroneously prepends '/' to C:/dos/paths
12337 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12338 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12340 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12342 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12344 library_names_spec=
12345 libname_spec='lib$name'
12349 postuninstall_cmds=
12353 shlibpath_overrides_runpath=unknown
12355 dynamic_linker="$host_os ld.so"
12356 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12357 need_lib_prefix=unknown
12358 hardcode_into_libs=no
12360 # when you set need_version to no, make sure it does not cause -set_version
12361 # flags to be left without arguments
12362 need_version=unknown
12366 version_type=linux # correct to gnu/linux during the next big refactor
12367 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12368 shlibpath_var=LIBPATH
12370 # AIX 3 has no versioning support, so we append a major version to the name.
12371 soname_spec='${libname}${release}${shared_ext}$major'
12375 version_type=linux # correct to gnu/linux during the next big refactor
12378 hardcode_into_libs=yes
12379 if test "$host_cpu" = ia64; then
12380 # AIX 5 supports IA64
12381 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12382 shlibpath_var=LD_LIBRARY_PATH
12384 # With GCC up to 2.95.x, collect2 would create an import file
12385 # for dependence libraries. The import file would start with
12386 # the line `#! .'. This would cause the generated library to
12387 # depend on `.', always an invalid library. This was fixed in
12388 # development snapshots of GCC prior to 3.0.
12390 aix4 | aix4.[01] | aix4.[01].*)
12391 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12393 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12396 can_build_shared=no
12400 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12401 # soname into executable. Probably we can add versioning support to
12402 # collect2, so additional links can be useful in future.
12403 if test "$aix_use_runtimelinking" = yes; then
12404 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12405 # instead of lib<name>.a to let people know that these are not
12406 # typical AIX shared libraries.
12407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12409 # We preserve .a as extension for shared libraries through AIX4.2
12410 # and later when we are not doing run time linking.
12411 library_names_spec='${libname}${release}.a $libname.a'
12412 soname_spec='${libname}${release}${shared_ext}$major'
12414 shlibpath_var=LIBPATH
12421 # Since July 2007 AmigaOS4 officially supports .so libraries.
12422 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12426 library_names_spec='$libname.ixlibrary $libname.a'
12427 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12428 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'
12434 library_names_spec='${libname}${shared_ext}'
12435 dynamic_linker="$host_os ld.so"
12436 shlibpath_var=LIBRARY_PATH
12440 version_type=linux # correct to gnu/linux during the next big refactor
12442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12443 soname_spec='${libname}${release}${shared_ext}$major'
12444 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12445 shlibpath_var=LD_LIBRARY_PATH
12446 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12447 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12448 # the default ld.so.conf also contains /usr/contrib/lib and
12449 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12450 # libtool to hard-code these into programs
12453 cygwin* | mingw* | pw32* | cegcc*)
12454 version_type=windows
12459 case $GCC,$cc_basename in
12462 library_names_spec='$libname.dll.a'
12463 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12464 postinstall_cmds='base_file=`basename \${file}`~
12465 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12466 dldir=$destdir/`dirname \$dlpath`~
12467 test -d \$dldir || mkdir -p \$dldir~
12468 $install_prog $dir/$dlname \$dldir/$dlname~
12469 chmod a+x \$dldir/$dlname~
12470 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12471 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12473 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12474 dlpath=$dir/\$dldll~
12476 shlibpath_overrides_runpath=yes
12480 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12481 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12483 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12486 # MinGW DLLs use traditional 'lib' prefix
12487 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12490 # pw32 DLLs use 'pw' prefix rather than 'lib'
12491 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12494 dynamic_linker='Win32 ld.exe'
12499 libname_spec='$name'
12500 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12501 library_names_spec='${libname}.dll.lib'
12505 sys_lib_search_path_spec=
12508 for lt_path in $LIB
12511 # Let DOS variable expansion print the short 8.3 style file name.
12512 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12513 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12516 # Convert to MSYS style.
12517 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12520 # Convert to unix form, then to dos form, then back to unix form
12521 # but this time dos style (no spaces!) so that the unix form looks
12522 # like /cygdrive/c/PROGRA~1:/cygdr...
12523 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12524 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12525 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12528 sys_lib_search_path_spec="$LIB"
12529 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12530 # It is most probably a Windows format PATH.
12531 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12533 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12535 # FIXME: find the short name or the path components, as spaces are
12536 # common. (e.g. "Program Files" -> "PROGRA~1")
12540 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12541 postinstall_cmds='base_file=`basename \${file}`~
12542 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12543 dldir=$destdir/`dirname \$dlpath`~
12544 test -d \$dldir || mkdir -p \$dldir~
12545 $install_prog $dir/$dlname \$dldir/$dlname'
12546 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12547 dlpath=$dir/\$dldll~
12549 shlibpath_overrides_runpath=yes
12550 dynamic_linker='Win32 link.exe'
12554 # Assume MSVC wrapper
12555 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12556 dynamic_linker='Win32 ld.exe'
12559 # FIXME: first we should search . and the directory the executable is in
12563 darwin* | rhapsody*)
12564 dynamic_linker="$host_os dyld"
12565 version_type=darwin
12568 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12569 soname_spec='${libname}${release}${major}$shared_ext'
12570 shlibpath_overrides_runpath=yes
12571 shlibpath_var=DYLD_LIBRARY_PATH
12572 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12574 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12575 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12579 version_type=linux # correct to gnu/linux during the next big refactor
12582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12583 soname_spec='${libname}${release}${shared_ext}$major'
12584 shlibpath_var=LD_LIBRARY_PATH
12587 freebsd* | dragonfly*)
12588 # DragonFly does not have aout. When/if they implement a new
12589 # versioning mechanism, adjust this.
12590 if test -x /usr/bin/objformat; then
12591 objformat=`/usr/bin/objformat`
12594 freebsd[23].*) objformat=aout ;;
12595 *) objformat=elf ;;
12598 version_type=freebsd-$objformat
12599 case $version_type in
12601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12606 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12610 shlibpath_var=LD_LIBRARY_PATH
12613 shlibpath_overrides_runpath=yes
12615 freebsd3.[01]* | freebsdelf3.[01]*)
12616 shlibpath_overrides_runpath=yes
12617 hardcode_into_libs=yes
12619 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12620 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12621 shlibpath_overrides_runpath=no
12622 hardcode_into_libs=yes
12624 *) # from 4.6 on, and DragonFly
12625 shlibpath_overrides_runpath=yes
12626 hardcode_into_libs=yes
12632 version_type=linux # correct to gnu/linux during the next big refactor
12635 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12636 soname_spec='${libname}${release}${shared_ext}$major'
12637 shlibpath_var=LD_LIBRARY_PATH
12638 shlibpath_overrides_runpath=no
12639 hardcode_into_libs=yes
12643 version_type=linux # correct to gnu/linux during the next big refactor
12646 dynamic_linker="$host_os runtime_loader"
12647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12648 soname_spec='${libname}${release}${shared_ext}$major'
12649 shlibpath_var=LIBRARY_PATH
12650 shlibpath_overrides_runpath=yes
12651 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12652 hardcode_into_libs=yes
12655 hpux9* | hpux10* | hpux11*)
12656 # Give a soname corresponding to the major version so that dld.sl refuses to
12657 # link against other versions.
12664 hardcode_into_libs=yes
12665 dynamic_linker="$host_os dld.so"
12666 shlibpath_var=LD_LIBRARY_PATH
12667 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12669 soname_spec='${libname}${release}${shared_ext}$major'
12670 if test "X$HPUX_IA64_MODE" = X32; then
12671 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12673 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12675 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12679 hardcode_into_libs=yes
12680 dynamic_linker="$host_os dld.sl"
12681 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12682 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12684 soname_spec='${libname}${release}${shared_ext}$major'
12685 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12686 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12690 dynamic_linker="$host_os dld.sl"
12691 shlibpath_var=SHLIB_PATH
12692 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12694 soname_spec='${libname}${release}${shared_ext}$major'
12697 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12698 postinstall_cmds='chmod 555 $lib'
12699 # or fails outright, so override atomically:
12700 install_override_mode=555
12704 version_type=linux # correct to gnu/linux during the next big refactor
12707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12708 soname_spec='${libname}${release}${shared_ext}$major'
12709 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12710 shlibpath_var=LD_LIBRARY_PATH
12711 shlibpath_overrides_runpath=no
12712 hardcode_into_libs=yes
12715 irix5* | irix6* | nonstopux*)
12717 nonstopux*) version_type=nonstopux ;;
12719 if test "$lt_cv_prog_gnu_ld" = yes; then
12720 version_type=linux # correct to gnu/linux during the next big refactor
12727 soname_spec='${libname}${release}${shared_ext}$major'
12728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12730 irix5* | nonstopux*)
12731 libsuff= shlibsuff=
12734 case $LD in # libtool.m4 will add one of these switches to LD
12735 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12736 libsuff= shlibsuff= libmagic=32-bit;;
12737 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12738 libsuff=32 shlibsuff=N32 libmagic=N32;;
12739 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12740 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12741 *) libsuff= shlibsuff= libmagic=never-match;;
12745 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12746 shlibpath_overrides_runpath=no
12747 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12748 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12749 hardcode_into_libs=yes
12752 # No shared lib support for Linux oldld, aout, or coff.
12753 linux*oldld* | linux*aout* | linux*coff*)
12757 # This must be glibc/ELF.
12758 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12759 version_type=linux # correct to gnu/linux during the next big refactor
12762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12763 soname_spec='${libname}${release}${shared_ext}$major'
12764 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12765 shlibpath_var=LD_LIBRARY_PATH
12766 shlibpath_overrides_runpath=no
12768 # Some binutils ld are patched to set DT_RUNPATH
12769 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12770 $as_echo_n "(cached) " >&6
12772 lt_cv_shlibpath_overrides_runpath=no
12773 save_LDFLAGS=$LDFLAGS
12774 save_libdir=$libdir
12775 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12776 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12778 /* end confdefs.h. */
12788 if ac_fn_c_try_link "$LINENO"; then :
12789 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12790 lt_cv_shlibpath_overrides_runpath=yes
12793 rm -f core conftest.err conftest.$ac_objext \
12794 conftest$ac_exeext conftest.$ac_ext
12795 LDFLAGS=$save_LDFLAGS
12796 libdir=$save_libdir
12800 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12802 # This implies no fast_install, which is unacceptable.
12803 # Some rework will be needed to allow for fast_install
12804 # before this can be enabled.
12805 hardcode_into_libs=yes
12807 # Add ABI-specific directories to the system library path.
12808 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12810 # Append ld.so.conf contents to the search path
12811 if test -f /etc/ld.so.conf; then
12812 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' ' '`
12813 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12817 # We used to test for /lib/ld.so.1 and disable shared libraries on
12818 # powerpc, because MkLinux only supported shared libraries with the
12819 # GNU dynamic linker. Since this was broken with cross compilers,
12820 # most powerpc-linux boxes support dynamic linking these days and
12821 # people can always --disable-shared, the test was removed, and we
12822 # assume the GNU/Linux dynamic linker is in use.
12823 dynamic_linker='GNU/Linux ld.so'
12830 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12832 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12833 dynamic_linker='NetBSD (a.out) ld.so'
12835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12836 soname_spec='${libname}${release}${shared_ext}$major'
12837 dynamic_linker='NetBSD ld.elf_so'
12839 shlibpath_var=LD_LIBRARY_PATH
12840 shlibpath_overrides_runpath=yes
12841 hardcode_into_libs=yes
12845 version_type=linux # correct to gnu/linux during the next big refactor
12846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12847 shlibpath_var=LD_LIBRARY_PATH
12848 shlibpath_overrides_runpath=yes
12855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12856 soname_spec='${libname}${release}${shared_ext}$major'
12857 shlibpath_var=LD_LIBRARY_PATH
12858 shlibpath_overrides_runpath=no
12859 hardcode_into_libs=yes
12860 dynamic_linker='ldqnx.so'
12865 sys_lib_dlsearch_path_spec="/usr/lib"
12867 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12869 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12870 *) need_version=no ;;
12872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12873 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12874 shlibpath_var=LD_LIBRARY_PATH
12875 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12877 openbsd2.[89] | openbsd2.[89].*)
12878 shlibpath_overrides_runpath=no
12881 shlibpath_overrides_runpath=yes
12885 shlibpath_overrides_runpath=yes
12890 libname_spec='$name'
12893 library_names_spec='$libname${shared_ext} $libname.a'
12894 dynamic_linker='OS/2 ld.exe'
12895 shlibpath_var=LIBPATH
12898 osf3* | osf4* | osf5*)
12902 soname_spec='${libname}${release}${shared_ext}$major'
12903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12904 shlibpath_var=LD_LIBRARY_PATH
12905 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12906 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12914 version_type=linux # correct to gnu/linux during the next big refactor
12917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12918 soname_spec='${libname}${release}${shared_ext}$major'
12919 shlibpath_var=LD_LIBRARY_PATH
12920 shlibpath_overrides_runpath=yes
12921 hardcode_into_libs=yes
12922 # ldd complains unless libraries are executable
12923 postinstall_cmds='chmod +x $lib'
12928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12929 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12930 shlibpath_var=LD_LIBRARY_PATH
12931 shlibpath_overrides_runpath=yes
12932 if test "$with_gnu_ld" = yes; then
12939 version_type=linux # correct to gnu/linux during the next big refactor
12940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12941 soname_spec='${libname}${release}${shared_ext}$major'
12942 shlibpath_var=LD_LIBRARY_PATH
12943 case $host_vendor in
12945 shlibpath_overrides_runpath=no
12947 runpath_var=LD_RUN_PATH
12955 shlibpath_overrides_runpath=no
12956 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12962 if test -d /usr/nec ;then
12963 version_type=linux # correct to gnu/linux during the next big refactor
12964 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12965 soname_spec='$libname${shared_ext}.$major'
12966 shlibpath_var=LD_LIBRARY_PATH
12970 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12971 version_type=freebsd-elf
12974 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12975 soname_spec='${libname}${release}${shared_ext}$major'
12976 shlibpath_var=LD_LIBRARY_PATH
12977 shlibpath_overrides_runpath=yes
12978 hardcode_into_libs=yes
12979 if test "$with_gnu_ld" = yes; then
12980 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12982 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12985 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12989 sys_lib_dlsearch_path_spec='/usr/lib'
12993 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12994 version_type=linux # correct to gnu/linux during the next big refactor
12997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12998 shlibpath_var=LD_LIBRARY_PATH
12999 shlibpath_overrides_runpath=no
13000 hardcode_into_libs=yes
13004 version_type=linux # correct to gnu/linux during the next big refactor
13005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13006 soname_spec='${libname}${release}${shared_ext}$major'
13007 shlibpath_var=LD_LIBRARY_PATH
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13015 $as_echo "$dynamic_linker" >&6; }
13016 test "$dynamic_linker" = no && can_build_shared=no
13018 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13019 if test "$GCC" = yes; then
13020 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13023 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13024 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13026 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13027 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13122 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13124 if test -n "$hardcode_libdir_flag_spec" ||
13125 test -n "$runpath_var" ||
13126 test "X$hardcode_automatic" = "Xyes" ; then
13128 # We can hardcode non-existent directories.
13129 if test "$hardcode_direct" != no &&
13130 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13131 # have to relink, otherwise we might link with an installed library
13132 # when we should be linking with a yet-to-be-installed one
13133 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13134 test "$hardcode_minus_L" != no; then
13135 # Linking always hardcodes the temporary library directory.
13136 hardcode_action=relink
13138 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13139 hardcode_action=immediate
13142 # We cannot hardcode anything, or else we can only hardcode existing
13144 hardcode_action=unsupported
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13147 $as_echo "$hardcode_action" >&6; }
13149 if test "$hardcode_action" = relink ||
13150 test "$inherit_rpath" = yes; then
13151 # Fast installation is not supported
13152 enable_fast_install=no
13153 elif test "$shlibpath_overrides_runpath" = yes ||
13154 test "$enable_shared" = no; then
13155 # Fast installation is not necessary
13156 enable_fast_install=needless
13164 if test "x$enable_dlopen" != xyes; then
13165 enable_dlopen=unknown
13166 enable_dlopen_self=unknown
13167 enable_dlopen_self_static=unknown
13174 lt_cv_dlopen="load_add_on"
13176 lt_cv_dlopen_self=yes
13179 mingw* | pw32* | cegcc*)
13180 lt_cv_dlopen="LoadLibrary"
13185 lt_cv_dlopen="dlopen"
13190 # if libdl is installed we need to link against it
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13192 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13193 if ${ac_cv_lib_dl_dlopen+:} false; then :
13194 $as_echo_n "(cached) " >&6
13196 ac_check_lib_save_LIBS=$LIBS
13198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13199 /* end confdefs.h. */
13201 /* Override any GCC internal prototype to avoid an error.
13202 Use char because int might match the return type of a GCC
13203 builtin and then its argument prototype would still apply. */
13216 if ac_fn_c_try_link "$LINENO"; then :
13217 ac_cv_lib_dl_dlopen=yes
13219 ac_cv_lib_dl_dlopen=no
13221 rm -f core conftest.err conftest.$ac_objext \
13222 conftest$ac_exeext conftest.$ac_ext
13223 LIBS=$ac_check_lib_save_LIBS
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13226 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13227 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13228 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13231 lt_cv_dlopen="dyld"
13233 lt_cv_dlopen_self=yes
13240 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13241 if test "x$ac_cv_func_shl_load" = xyes; then :
13242 lt_cv_dlopen="shl_load"
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13245 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13246 if ${ac_cv_lib_dld_shl_load+:} false; then :
13247 $as_echo_n "(cached) " >&6
13249 ac_check_lib_save_LIBS=$LIBS
13251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h. */
13254 /* Override any GCC internal prototype to avoid an error.
13255 Use char because int might match the return type of a GCC
13256 builtin and then its argument prototype would still apply. */
13264 return shl_load ();
13269 if ac_fn_c_try_link "$LINENO"; then :
13270 ac_cv_lib_dld_shl_load=yes
13272 ac_cv_lib_dld_shl_load=no
13274 rm -f core conftest.err conftest.$ac_objext \
13275 conftest$ac_exeext conftest.$ac_ext
13276 LIBS=$ac_check_lib_save_LIBS
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13279 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13280 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13281 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13283 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13284 if test "x$ac_cv_func_dlopen" = xyes; then :
13285 lt_cv_dlopen="dlopen"
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13288 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13289 if ${ac_cv_lib_dl_dlopen+:} false; then :
13290 $as_echo_n "(cached) " >&6
13292 ac_check_lib_save_LIBS=$LIBS
13294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13295 /* end confdefs.h. */
13297 /* Override any GCC internal prototype to avoid an error.
13298 Use char because int might match the return type of a GCC
13299 builtin and then its argument prototype would still apply. */
13312 if ac_fn_c_try_link "$LINENO"; then :
13313 ac_cv_lib_dl_dlopen=yes
13315 ac_cv_lib_dl_dlopen=no
13317 rm -f core conftest.err conftest.$ac_objext \
13318 conftest$ac_exeext conftest.$ac_ext
13319 LIBS=$ac_check_lib_save_LIBS
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13322 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13323 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13324 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13327 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13328 if ${ac_cv_lib_svld_dlopen+:} false; then :
13329 $as_echo_n "(cached) " >&6
13331 ac_check_lib_save_LIBS=$LIBS
13332 LIBS="-lsvld $LIBS"
13333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13334 /* end confdefs.h. */
13336 /* Override any GCC internal prototype to avoid an error.
13337 Use char because int might match the return type of a GCC
13338 builtin and then its argument prototype would still apply. */
13351 if ac_fn_c_try_link "$LINENO"; then :
13352 ac_cv_lib_svld_dlopen=yes
13354 ac_cv_lib_svld_dlopen=no
13356 rm -f core conftest.err conftest.$ac_objext \
13357 conftest$ac_exeext conftest.$ac_ext
13358 LIBS=$ac_check_lib_save_LIBS
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13361 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13362 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13363 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13366 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13367 if ${ac_cv_lib_dld_dld_link+:} false; then :
13368 $as_echo_n "(cached) " >&6
13370 ac_check_lib_save_LIBS=$LIBS
13372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13373 /* end confdefs.h. */
13375 /* Override any GCC internal prototype to avoid an error.
13376 Use char because int might match the return type of a GCC
13377 builtin and then its argument prototype would still apply. */
13385 return dld_link ();
13390 if ac_fn_c_try_link "$LINENO"; then :
13391 ac_cv_lib_dld_dld_link=yes
13393 ac_cv_lib_dld_dld_link=no
13395 rm -f core conftest.err conftest.$ac_objext \
13396 conftest$ac_exeext conftest.$ac_ext
13397 LIBS=$ac_check_lib_save_LIBS
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13400 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13401 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13402 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13423 if test "x$lt_cv_dlopen" != xno; then
13429 case $lt_cv_dlopen in
13431 save_CPPFLAGS="$CPPFLAGS"
13432 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13434 save_LDFLAGS="$LDFLAGS"
13435 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13438 LIBS="$lt_cv_dlopen_libs $LIBS"
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13441 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13442 if ${lt_cv_dlopen_self+:} false; then :
13443 $as_echo_n "(cached) " >&6
13445 if test "$cross_compiling" = yes; then :
13446 lt_cv_dlopen_self=cross
13448 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13449 lt_status=$lt_dlunknown
13450 cat > conftest.$ac_ext <<_LT_EOF
13451 #line $LINENO "configure"
13452 #include "confdefs.h"
13461 # define LT_DLGLOBAL RTLD_GLOBAL
13464 # define LT_DLGLOBAL DL_GLOBAL
13466 # define LT_DLGLOBAL 0
13470 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13471 find out it does not work in some platform. */
13472 #ifndef LT_DLLAZY_OR_NOW
13474 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13477 # define LT_DLLAZY_OR_NOW DL_LAZY
13480 # define LT_DLLAZY_OR_NOW RTLD_NOW
13483 # define LT_DLLAZY_OR_NOW DL_NOW
13485 # define LT_DLLAZY_OR_NOW 0
13492 /* When -fvisbility=hidden is used, assume the code has been annotated
13493 correspondingly for the symbols needed. */
13494 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13495 int fnord () __attribute__((visibility("default")));
13498 int fnord () { return 42; }
13501 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13502 int status = $lt_dlunknown;
13506 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13509 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13510 else puts (dlerror ());
13512 /* dlclose (self); */
13520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13521 (eval $ac_link) 2>&5
13523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13524 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13525 (./conftest; exit; ) >&5 2>/dev/null
13527 case x$lt_status in
13528 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13529 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13530 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13533 # compilation failed
13534 lt_cv_dlopen_self=no
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13542 $as_echo "$lt_cv_dlopen_self" >&6; }
13544 if test "x$lt_cv_dlopen_self" = xyes; then
13545 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13547 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13548 if ${lt_cv_dlopen_self_static+:} false; then :
13549 $as_echo_n "(cached) " >&6
13551 if test "$cross_compiling" = yes; then :
13552 lt_cv_dlopen_self_static=cross
13554 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13555 lt_status=$lt_dlunknown
13556 cat > conftest.$ac_ext <<_LT_EOF
13557 #line $LINENO "configure"
13558 #include "confdefs.h"
13567 # define LT_DLGLOBAL RTLD_GLOBAL
13570 # define LT_DLGLOBAL DL_GLOBAL
13572 # define LT_DLGLOBAL 0
13576 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13577 find out it does not work in some platform. */
13578 #ifndef LT_DLLAZY_OR_NOW
13580 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13583 # define LT_DLLAZY_OR_NOW DL_LAZY
13586 # define LT_DLLAZY_OR_NOW RTLD_NOW
13589 # define LT_DLLAZY_OR_NOW DL_NOW
13591 # define LT_DLLAZY_OR_NOW 0
13598 /* When -fvisbility=hidden is used, assume the code has been annotated
13599 correspondingly for the symbols needed. */
13600 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13601 int fnord () __attribute__((visibility("default")));
13604 int fnord () { return 42; }
13607 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13608 int status = $lt_dlunknown;
13612 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13615 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13616 else puts (dlerror ());
13618 /* dlclose (self); */
13626 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13627 (eval $ac_link) 2>&5
13629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13630 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13631 (./conftest; exit; ) >&5 2>/dev/null
13633 case x$lt_status in
13634 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13635 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13636 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13639 # compilation failed
13640 lt_cv_dlopen_self_static=no
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13648 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13651 CPPFLAGS="$save_CPPFLAGS"
13652 LDFLAGS="$save_LDFLAGS"
13657 case $lt_cv_dlopen_self in
13658 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13659 *) enable_dlopen_self=unknown ;;
13662 case $lt_cv_dlopen_self_static in
13663 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13664 *) enable_dlopen_self_static=unknown ;;
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13687 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13688 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13689 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13690 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13692 $as_echo "yes" >&6; }
13694 # FIXME - insert some real tests, host_os isn't really good enough
13697 if test -n "$STRIP" ; then
13698 striplib="$STRIP -x"
13699 old_striplib="$STRIP -S"
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13701 $as_echo "yes" >&6; }
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13704 $as_echo "no" >&6; }
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13709 $as_echo "no" >&6; }
13725 # Report which library types will actually be built
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13727 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13729 $as_echo "$can_build_shared" >&6; }
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13732 $as_echo_n "checking whether to build shared libraries... " >&6; }
13733 test "$can_build_shared" = "no" && enable_shared=no
13735 # On AIX, shared libraries and static libraries use the same namespace, and
13736 # are all built from PIC.
13739 test "$enable_shared" = yes && enable_static=no
13740 if test -n "$RANLIB"; then
13741 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13742 postinstall_cmds='$RANLIB $lib'
13747 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13748 test "$enable_shared" = yes && enable_static=no
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13753 $as_echo "$enable_shared" >&6; }
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13756 $as_echo_n "checking whether to build static libraries... " >&6; }
13757 # Make sure either enable_shared or enable_static is yes.
13758 test "$enable_shared" = yes || enable_static=yes
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13760 $as_echo "$enable_static" >&6; }
13767 ac_cpp='$CPP $CPPFLAGS'
13768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13788 ac_config_commands="$ac_config_commands libtool"
13793 # Only expand once:
13797 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13798 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13802 cat >>confdefs.h <<_ACEOF
13807 cat >>confdefs.h <<_ACEOF
13812 cat >>confdefs.h <<_ACEOF
13817 cat >>confdefs.h <<_ACEOF
13821 version_info="8:8:7"
13825 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13826 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13840 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13841 if test -n "$ac_tool_prefix"; then
13842 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13843 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13845 $as_echo_n "checking for $ac_word... " >&6; }
13846 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13847 $as_echo_n "(cached) " >&6
13849 case $PKG_CONFIG in
13851 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13855 for as_dir in $PATH
13858 test -z "$as_dir" && as_dir=.
13859 for ac_exec_ext in '' $ac_executable_extensions; do
13860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13861 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13872 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13873 if test -n "$PKG_CONFIG"; then
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13875 $as_echo "$PKG_CONFIG" >&6; }
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13878 $as_echo "no" >&6; }
13883 if test -z "$ac_cv_path_PKG_CONFIG"; then
13884 ac_pt_PKG_CONFIG=$PKG_CONFIG
13885 # Extract the first word of "pkg-config", so it can be a program name with args.
13886 set dummy pkg-config; ac_word=$2
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13888 $as_echo_n "checking for $ac_word... " >&6; }
13889 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13890 $as_echo_n "(cached) " >&6
13892 case $ac_pt_PKG_CONFIG in
13894 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13898 for as_dir in $PATH
13901 test -z "$as_dir" && as_dir=.
13902 for ac_exec_ext in '' $ac_executable_extensions; do
13903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13904 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13915 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13916 if test -n "$ac_pt_PKG_CONFIG"; then
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13918 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13921 $as_echo "no" >&6; }
13924 if test "x$ac_pt_PKG_CONFIG" = x; then
13927 case $cross_compiling:$ac_tool_warned in
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13931 ac_tool_warned=yes ;;
13933 PKG_CONFIG=$ac_pt_PKG_CONFIG
13936 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13940 if test -n "$PKG_CONFIG"; then
13941 _pkg_min_version=0.9.0
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13943 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13944 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13946 $as_echo "yes" >&6; }
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13949 $as_echo "no" >&6; }
13953 EDJE_VERSION=`$PKG_CONFIG edje --modversion | awk -F . '{printf("%s.0.0", $1);}'`
13956 mingw32ce* | cegcc*)
13957 MODULE_ARCH="$host_os-$host_cpu"
13958 MODULE_EDJE="$host_os-$host_cpu"
13961 MODULE_ARCH="$host_os-$host_cpu-1.7.8"
13962 MODULE_EDJE="$host_os-$host_cpu-${EDJE_VERSION}"
13968 cat >>confdefs.h <<_ACEOF
13969 #define MODULE_ARCH "$MODULE_ARCH"
13974 cat >>confdefs.h <<_ACEOF
13975 #define MODULE_EDJE "$MODULE_EDJE"
13979 EFL_SHARED_EXTENSION="${shrext_cmds}"
13981 cat >>confdefs.h <<_ACEOF
13982 #define EFL_SHARED_EXTENSION "${EFL_SHARED_EXTENSION}"
13995 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13996 if test -n "$ac_tool_prefix"; then
13997 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13998 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14000 $as_echo_n "checking for $ac_word... " >&6; }
14001 if ${ac_cv_path_PKG_CONFIG+:} false; then :
14002 $as_echo_n "(cached) " >&6
14004 case $PKG_CONFIG in
14006 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14010 for as_dir in $PATH
14013 test -z "$as_dir" && as_dir=.
14014 for ac_exec_ext in '' $ac_executable_extensions; do
14015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14016 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14027 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14028 if test -n "$PKG_CONFIG"; then
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14030 $as_echo "$PKG_CONFIG" >&6; }
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14033 $as_echo "no" >&6; }
14038 if test -z "$ac_cv_path_PKG_CONFIG"; then
14039 ac_pt_PKG_CONFIG=$PKG_CONFIG
14040 # Extract the first word of "pkg-config", so it can be a program name with args.
14041 set dummy pkg-config; ac_word=$2
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14043 $as_echo_n "checking for $ac_word... " >&6; }
14044 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14045 $as_echo_n "(cached) " >&6
14047 case $ac_pt_PKG_CONFIG in
14049 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14053 for as_dir in $PATH
14056 test -z "$as_dir" && as_dir=.
14057 for ac_exec_ext in '' $ac_executable_extensions; do
14058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14059 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14070 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14071 if test -n "$ac_pt_PKG_CONFIG"; then
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14073 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14076 $as_echo "no" >&6; }
14079 if test "x$ac_pt_PKG_CONFIG" = x; then
14082 case $cross_compiling:$ac_tool_warned in
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14086 ac_tool_warned=yes ;;
14088 PKG_CONFIG=$ac_pt_PKG_CONFIG
14091 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14095 if test -n "$PKG_CONFIG"; then
14096 _pkg_min_version=0.9.0
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14098 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14099 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14101 $as_echo "yes" >&6; }
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14104 $as_echo "no" >&6; }
14109 # Check whether pkg-config supports Requires.private
14110 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
14111 pkgconfig_requires_private="Requires.private"
14113 pkgconfig_requires_private="Requires"
14117 #================================================
14118 if test "x${prefix}" = "xNONE"; then
14119 LOCALE_DIR="${ac_default_prefix}/share/locale"
14121 LOCALE_DIR="${prefix}/share/locale"
14124 #================================================
14126 lt_enable_auto_import=""
14127 ELM_UNIX_DEF="#undef"
14128 ELM_WIN32_DEF="#undef"
14129 ELM_WINCE_DEF="#undef"
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
14137 $as_echo_n "checking for EVIL... " >&6; }
14139 if test -n "$EVIL_CFLAGS"; then
14140 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
14141 elif test -n "$PKG_CONFIG"; then
14142 if test -n "$PKG_CONFIG" && \
14143 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
14144 ($PKG_CONFIG --exists --print-errors "evil") 2>&5
14146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14147 test $ac_status = 0; }; then
14148 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil" 2>/dev/null`
14149 test "x$?" != "x0" && pkg_failed=yes
14156 if test -n "$EVIL_LIBS"; then
14157 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
14158 elif test -n "$PKG_CONFIG"; then
14159 if test -n "$PKG_CONFIG" && \
14160 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
14161 ($PKG_CONFIG --exists --print-errors "evil") 2>&5
14163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14164 test $ac_status = 0; }; then
14165 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil" 2>/dev/null`
14166 test "x$?" != "x0" && pkg_failed=yes
14176 if test $pkg_failed = yes; then
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14178 $as_echo "no" >&6; }
14180 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14181 _pkg_short_errors_supported=yes
14183 _pkg_short_errors_supported=no
14185 if test $_pkg_short_errors_supported = yes; then
14186 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evil" 2>&1`
14188 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evil" 2>&1`
14190 # Put the nasty error message in config.log where it belongs
14191 echo "$EVIL_PKG_ERRORS" >&5
14193 as_fn_error $? "Package requirements (evil) were not met:
14197 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14198 installed software in a non-standard prefix.
14200 Alternatively, you may set the environment variables EVIL_CFLAGS
14201 and EVIL_LIBS to avoid the need to call pkg-config.
14202 See the pkg-config man page for more details." "$LINENO" 5
14203 elif test $pkg_failed = untried; then
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14205 $as_echo "no" >&6; }
14206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14208 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14209 is in your PATH or set the PKG_CONFIG environment variable to the full
14210 path to pkg-config.
14212 Alternatively, you may set the environment variables EVIL_CFLAGS
14213 and EVIL_LIBS to avoid the need to call pkg-config.
14214 See the pkg-config man page for more details.
14216 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14217 See \`config.log' for more details" "$LINENO" 5; }
14219 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
14220 EVIL_LIBS=$pkg_cv_EVIL_LIBS
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14222 $as_echo "yes" >&6; }
14226 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
14228 lt_enable_auto_import="-Wl,--enable-auto-import"
14229 ELM_WINCE_DEF="#define"
14231 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
14235 requirement_elm="evil"
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
14242 $as_echo_n "checking for EVIL... " >&6; }
14244 if test -n "$EVIL_CFLAGS"; then
14245 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
14246 elif test -n "$PKG_CONFIG"; then
14247 if test -n "$PKG_CONFIG" && \
14248 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
14249 ($PKG_CONFIG --exists --print-errors "evil") 2>&5
14251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14252 test $ac_status = 0; }; then
14253 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil" 2>/dev/null`
14254 test "x$?" != "x0" && pkg_failed=yes
14261 if test -n "$EVIL_LIBS"; then
14262 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
14263 elif test -n "$PKG_CONFIG"; then
14264 if test -n "$PKG_CONFIG" && \
14265 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
14266 ($PKG_CONFIG --exists --print-errors "evil") 2>&5
14268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14269 test $ac_status = 0; }; then
14270 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil" 2>/dev/null`
14271 test "x$?" != "x0" && pkg_failed=yes
14281 if test $pkg_failed = yes; then
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14283 $as_echo "no" >&6; }
14285 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14286 _pkg_short_errors_supported=yes
14288 _pkg_short_errors_supported=no
14290 if test $_pkg_short_errors_supported = yes; then
14291 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evil" 2>&1`
14293 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evil" 2>&1`
14295 # Put the nasty error message in config.log where it belongs
14296 echo "$EVIL_PKG_ERRORS" >&5
14298 as_fn_error $? "Package requirements (evil) were not met:
14302 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14303 installed software in a non-standard prefix.
14305 Alternatively, you may set the environment variables EVIL_CFLAGS
14306 and EVIL_LIBS to avoid the need to call pkg-config.
14307 See the pkg-config man page for more details." "$LINENO" 5
14308 elif test $pkg_failed = untried; then
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14310 $as_echo "no" >&6; }
14311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14313 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14314 is in your PATH or set the PKG_CONFIG environment variable to the full
14315 path to pkg-config.
14317 Alternatively, you may set the environment variables EVIL_CFLAGS
14318 and EVIL_LIBS to avoid the need to call pkg-config.
14319 See the pkg-config man page for more details.
14321 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14322 See \`config.log' for more details" "$LINENO" 5; }
14324 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
14325 EVIL_LIBS=$pkg_cv_EVIL_LIBS
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14327 $as_echo "yes" >&6; }
14331 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
14333 lt_enable_auto_import="-Wl,--enable-auto-import"
14334 ELM_WIN32_DEF="#define"
14336 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
14340 requirement_elm="evil"
14344 ELM_UNIX_DEF="#define"
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14348 $as_echo_n "checking for connect in -lsocket... " >&6; }
14349 if ${ac_cv_lib_socket_connect+:} false; then :
14350 $as_echo_n "(cached) " >&6
14352 ac_check_lib_save_LIBS=$LIBS
14353 LIBS="-lsocket $LIBS"
14354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14357 /* Override any GCC internal prototype to avoid an error.
14358 Use char because int might match the return type of a GCC
14359 builtin and then its argument prototype would still apply. */
14372 if ac_fn_c_try_link "$LINENO"; then :
14373 ac_cv_lib_socket_connect=yes
14375 ac_cv_lib_socket_connect=no
14377 rm -f core conftest.err conftest.$ac_objext \
14378 conftest$ac_exeext conftest.$ac_ext
14379 LIBS=$ac_check_lib_save_LIBS
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14382 $as_echo "$ac_cv_lib_socket_connect" >&6; }
14383 if test "x$ac_cv_lib_socket_connect" = xyes; then :
14384 cat >>confdefs.h <<_ACEOF
14385 #define HAVE_LIBSOCKET 1
14388 LIBS="-lsocket $LIBS"
14396 ELM_UNIX_DEF="#define"
14399 for ac_header in crt_externs.h
14401 ac_fn_c_check_header_mongrel "$LINENO" "crt_externs.h" "ac_cv_header_crt_externs_h" "$ac_includes_default"
14402 if test "x$ac_cv_header_crt_externs_h" = xyes; then :
14403 cat >>confdefs.h <<_ACEOF
14404 #define HAVE_CRT_EXTERNS_H 1
14412 $as_echo "#define environ (*_NSGetEnviron())" >>confdefs.h
14416 ELM_UNIX_DEF="#define"
14417 for ac_func in dlopen
14419 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14420 if test "x$ac_cv_func_dlopen" = xyes; then :
14421 cat >>confdefs.h <<_ACEOF
14422 #define HAVE_DLOPEN 1
14430 if test "x$res" = "xyes"; then
14431 for ac_func in dladdr
14433 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14434 if test "x$ac_cv_func_dladdr" = xyes; then :
14435 cat >>confdefs.h <<_ACEOF
14436 #define HAVE_DLADDR 1
14438 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14446 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14447 if ${ac_cv_lib_dl_dlopen+:} false; then :
14448 $as_echo_n "(cached) " >&6
14450 ac_check_lib_save_LIBS=$LIBS
14452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14453 /* end confdefs.h. */
14455 /* Override any GCC internal prototype to avoid an error.
14456 Use char because int might match the return type of a GCC
14457 builtin and then its argument prototype would still apply. */
14470 if ac_fn_c_try_link "$LINENO"; then :
14471 ac_cv_lib_dl_dlopen=yes
14473 ac_cv_lib_dl_dlopen=no
14475 rm -f core conftest.err conftest.$ac_objext \
14476 conftest$ac_exeext conftest.$ac_ext
14477 LIBS=$ac_check_lib_save_LIBS
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14480 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14481 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14487 if test "x$res" = "xyes"; then
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5
14489 $as_echo_n "checking for dladdr in -ldl... " >&6; }
14490 if ${ac_cv_lib_dl_dladdr+:} false; then :
14491 $as_echo_n "(cached) " >&6
14493 ac_check_lib_save_LIBS=$LIBS
14495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14496 /* end confdefs.h. */
14498 /* Override any GCC internal prototype to avoid an error.
14499 Use char because int might match the return type of a GCC
14500 builtin and then its argument prototype would still apply. */
14513 if ac_fn_c_try_link "$LINENO"; then :
14514 ac_cv_lib_dl_dladdr=yes
14516 ac_cv_lib_dl_dladdr=no
14518 rm -f core conftest.err conftest.$ac_objext \
14519 conftest$ac_exeext conftest.$ac_ext
14520 LIBS=$ac_check_lib_save_LIBS
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5
14523 $as_echo "$ac_cv_lib_dl_dladdr" >&6; }
14524 if test "x$ac_cv_lib_dl_dladdr" = xyes; then :
14525 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
14536 if test "x$have_socket" = "xyes"; then
14538 BUILD_RUN_FALSE='#'
14544 if test "x$have_dlopen" = "xyes"; then
14545 BUILD_MODULES_TRUE=
14546 BUILD_MODULES_FALSE='#'
14548 BUILD_MODULES_TRUE='#'
14549 BUILD_MODULES_FALSE=
14556 CFLAGS_save="${CFLAGS}"
14557 CFLAGS="${CFLAGS} -Wshadow"
14560 ac_cpp='$CPP $CPPFLAGS'
14561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
14566 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
14568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14569 /* end confdefs.h. */
14579 if ac_fn_c_try_compile "$LINENO"; then :
14584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14586 $as_echo "${have_flag}" >&6; }
14588 if test "x${have_flag}" = "xno" ; then
14589 CFLAGS="${CFLAGS_save}"
14592 ac_cpp='$CPP $CPPFLAGS'
14593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14601 CFLAGS_save="${CFLAGS}"
14602 CFLAGS="${CFLAGS} -Wall"
14605 ac_cpp='$CPP $CPPFLAGS'
14606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
14611 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
14613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14614 /* end confdefs.h. */
14624 if ac_fn_c_try_compile "$LINENO"; then :
14629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14631 $as_echo "${have_flag}" >&6; }
14633 if test "x${have_flag}" = "xno" ; then
14634 CFLAGS="${CFLAGS_save}"
14637 ac_cpp='$CPP $CPPFLAGS'
14638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14646 CFLAGS_save="${CFLAGS}"
14647 CFLAGS="${CFLAGS} -W"
14650 ac_cpp='$CPP $CPPFLAGS'
14651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
14656 $as_echo_n "checking whether the compiler supports -W... " >&6; }
14658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14659 /* end confdefs.h. */
14669 if ac_fn_c_try_compile "$LINENO"; then :
14674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14676 $as_echo "${have_flag}" >&6; }
14678 if test "x${have_flag}" = "xno" ; then
14679 CFLAGS="${CFLAGS_save}"
14682 ac_cpp='$CPP $CPPFLAGS'
14683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14692 want_quicklaunch="auto"
14693 # Check whether --enable-quick-launch was given.
14694 if test "${enable_quick_launch+set}" = set; then :
14695 enableval=$enable_quick_launch; want_quicklaunch=$enableval
14699 if test "x$want_quicklaunch" != "xno"; then
14700 for ac_func in fork
14702 ac_fn_c_check_func "$LINENO" "fork" "ac_cv_func_fork"
14703 if test "x$ac_cv_func_fork" = xyes; then :
14704 cat >>confdefs.h <<_ACEOF
14705 #define HAVE_FORK 1
14709 $as_echo "#define HAVE_FORK 1" >>confdefs.h
14716 if test "x$have_fork" = "xyes" && test "x$have_dlopen" = "xyes"; then
14717 BUILD_QUICKLAUNCH_TRUE=
14718 BUILD_QUICKLAUNCH_FALSE='#'
14720 BUILD_QUICKLAUNCH_TRUE='#'
14721 BUILD_QUICKLAUNCH_FALSE=
14731 if test "x${have_windows}" = "xyes"; then
14732 ELEMENTARY_WINDOWS_BUILD_TRUE=
14733 ELEMENTARY_WINDOWS_BUILD_FALSE='#'
14735 ELEMENTARY_WINDOWS_BUILD_TRUE='#'
14736 ELEMENTARY_WINDOWS_BUILD_FALSE=
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY" >&5
14743 $as_echo_n "checking for ELEMENTARY... " >&6; }
14745 if test -n "$ELEMENTARY_CFLAGS"; then
14746 pkg_cv_ELEMENTARY_CFLAGS="$ELEMENTARY_CFLAGS"
14747 elif test -n "$PKG_CONFIG"; then
14748 if test -n "$PKG_CONFIG" && \
14749 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14754 ecore-evas >= 1.7.8
14755 ecore-file >= 1.7.8
14759 ($PKG_CONFIG --exists --print-errors "
14764 ecore-evas >= 1.7.8
14765 ecore-file >= 1.7.8
14770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14771 test $ac_status = 0; }; then
14772 pkg_cv_ELEMENTARY_CFLAGS=`$PKG_CONFIG --cflags "
14777 ecore-evas >= 1.7.8
14778 ecore-file >= 1.7.8
14782 test "x$?" != "x0" && pkg_failed=yes
14789 if test -n "$ELEMENTARY_LIBS"; then
14790 pkg_cv_ELEMENTARY_LIBS="$ELEMENTARY_LIBS"
14791 elif test -n "$PKG_CONFIG"; then
14792 if test -n "$PKG_CONFIG" && \
14793 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14798 ecore-evas >= 1.7.8
14799 ecore-file >= 1.7.8
14803 ($PKG_CONFIG --exists --print-errors "
14808 ecore-evas >= 1.7.8
14809 ecore-file >= 1.7.8
14814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14815 test $ac_status = 0; }; then
14816 pkg_cv_ELEMENTARY_LIBS=`$PKG_CONFIG --libs "
14821 ecore-evas >= 1.7.8
14822 ecore-file >= 1.7.8
14826 test "x$?" != "x0" && pkg_failed=yes
14836 if test $pkg_failed = yes; then
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14838 $as_echo "no" >&6; }
14840 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14841 _pkg_short_errors_supported=yes
14843 _pkg_short_errors_supported=no
14845 if test $_pkg_short_errors_supported = yes; then
14846 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
14851 ecore-evas >= 1.7.8
14852 ecore-file >= 1.7.8
14857 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14862 ecore-evas >= 1.7.8
14863 ecore-file >= 1.7.8
14868 # Put the nasty error message in config.log where it belongs
14869 echo "$ELEMENTARY_PKG_ERRORS" >&5
14871 as_fn_error $? "Package requirements (
14876 ecore-evas >= 1.7.8
14877 ecore-file >= 1.7.8
14882 $ELEMENTARY_PKG_ERRORS
14884 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14885 installed software in a non-standard prefix.
14887 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
14888 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
14889 See the pkg-config man page for more details." "$LINENO" 5
14890 elif test $pkg_failed = untried; then
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14892 $as_echo "no" >&6; }
14893 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14895 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14896 is in your PATH or set the PKG_CONFIG environment variable to the full
14897 path to pkg-config.
14899 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
14900 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
14901 See the pkg-config man page for more details.
14903 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14904 See \`config.log' for more details" "$LINENO" 5; }
14906 ELEMENTARY_CFLAGS=$pkg_cv_ELEMENTARY_CFLAGS
14907 ELEMENTARY_LIBS=$pkg_cv_ELEMENTARY_LIBS
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14909 $as_echo "yes" >&6; }
14913 requirement_elm="edje >= 1.7.8 ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8 ${requirement_elm}"
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_ECORE_IMF" >&5
14918 $as_echo_n "checking for ELEMENTARY_ECORE_IMF... " >&6; }
14920 if test -n "$ELEMENTARY_ECORE_IMF_CFLAGS"; then
14921 pkg_cv_ELEMENTARY_ECORE_IMF_CFLAGS="$ELEMENTARY_ECORE_IMF_CFLAGS"
14922 elif test -n "$PKG_CONFIG"; then
14923 if test -n "$PKG_CONFIG" && \
14924 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-imf >= 1.7.8\""; } >&5
14925 ($PKG_CONFIG --exists --print-errors "ecore-imf >= 1.7.8") 2>&5
14927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14928 test $ac_status = 0; }; then
14929 pkg_cv_ELEMENTARY_ECORE_IMF_CFLAGS=`$PKG_CONFIG --cflags "ecore-imf >= 1.7.8" 2>/dev/null`
14930 test "x$?" != "x0" && pkg_failed=yes
14937 if test -n "$ELEMENTARY_ECORE_IMF_LIBS"; then
14938 pkg_cv_ELEMENTARY_ECORE_IMF_LIBS="$ELEMENTARY_ECORE_IMF_LIBS"
14939 elif test -n "$PKG_CONFIG"; then
14940 if test -n "$PKG_CONFIG" && \
14941 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-imf >= 1.7.8\""; } >&5
14942 ($PKG_CONFIG --exists --print-errors "ecore-imf >= 1.7.8") 2>&5
14944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14945 test $ac_status = 0; }; then
14946 pkg_cv_ELEMENTARY_ECORE_IMF_LIBS=`$PKG_CONFIG --libs "ecore-imf >= 1.7.8" 2>/dev/null`
14947 test "x$?" != "x0" && pkg_failed=yes
14957 if test $pkg_failed = yes; then
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14959 $as_echo "no" >&6; }
14961 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14962 _pkg_short_errors_supported=yes
14964 _pkg_short_errors_supported=no
14966 if test $_pkg_short_errors_supported = yes; then
14967 ELEMENTARY_ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-imf >= 1.7.8" 2>&1`
14969 ELEMENTARY_ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-imf >= 1.7.8" 2>&1`
14971 # Put the nasty error message in config.log where it belongs
14972 echo "$ELEMENTARY_ECORE_IMF_PKG_ERRORS" >&5
14974 have_ecore_imf="no"
14975 elif test $pkg_failed = untried; then
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14977 $as_echo "no" >&6; }
14978 have_ecore_imf="no"
14980 ELEMENTARY_ECORE_IMF_CFLAGS=$pkg_cv_ELEMENTARY_ECORE_IMF_CFLAGS
14981 ELEMENTARY_ECORE_IMF_LIBS=$pkg_cv_ELEMENTARY_ECORE_IMF_LIBS
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14983 $as_echo "yes" >&6; }
14985 ELEMENTARY_ECORE_IMF_INC="#include <Ecore_IMF.h>"
14987 $as_echo "#define HAVE_ELEMENTARY_ECORE_IMF 1" >>confdefs.h
14989 have_ecore_imf="yes"
14990 requirement_elm="ecore-imf >= 1.7.8 ${requirement_elm}"
14995 if test "x${have_ecore_imf}" = "xyes"; then
14996 HAVE_ECORE_IMF_TRUE=
14997 HAVE_ECORE_IMF_FALSE='#'
14999 HAVE_ECORE_IMF_TRUE='#'
15000 HAVE_ECORE_IMF_FALSE=
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_ECORE_CON" >&5
15007 $as_echo_n "checking for ELEMENTARY_ECORE_CON... " >&6; }
15009 if test -n "$ELEMENTARY_ECORE_CON_CFLAGS"; then
15010 pkg_cv_ELEMENTARY_ECORE_CON_CFLAGS="$ELEMENTARY_ECORE_CON_CFLAGS"
15011 elif test -n "$PKG_CONFIG"; then
15012 if test -n "$PKG_CONFIG" && \
15013 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.7.8\""; } >&5
15014 ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.7.8") 2>&5
15016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15017 test $ac_status = 0; }; then
15018 pkg_cv_ELEMENTARY_ECORE_CON_CFLAGS=`$PKG_CONFIG --cflags "ecore-con >= 1.7.8" 2>/dev/null`
15019 test "x$?" != "x0" && pkg_failed=yes
15026 if test -n "$ELEMENTARY_ECORE_CON_LIBS"; then
15027 pkg_cv_ELEMENTARY_ECORE_CON_LIBS="$ELEMENTARY_ECORE_CON_LIBS"
15028 elif test -n "$PKG_CONFIG"; then
15029 if test -n "$PKG_CONFIG" && \
15030 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.7.8\""; } >&5
15031 ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.7.8") 2>&5
15033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15034 test $ac_status = 0; }; then
15035 pkg_cv_ELEMENTARY_ECORE_CON_LIBS=`$PKG_CONFIG --libs "ecore-con >= 1.7.8" 2>/dev/null`
15036 test "x$?" != "x0" && pkg_failed=yes
15046 if test $pkg_failed = yes; then
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15048 $as_echo "no" >&6; }
15050 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15051 _pkg_short_errors_supported=yes
15053 _pkg_short_errors_supported=no
15055 if test $_pkg_short_errors_supported = yes; then
15056 ELEMENTARY_ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-con >= 1.7.8" 2>&1`
15058 ELEMENTARY_ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-con >= 1.7.8" 2>&1`
15060 # Put the nasty error message in config.log where it belongs
15061 echo "$ELEMENTARY_ECORE_CON_PKG_ERRORS" >&5
15063 have_ecore_con="no"
15064 elif test $pkg_failed = untried; then
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15066 $as_echo "no" >&6; }
15067 have_ecore_con="no"
15069 ELEMENTARY_ECORE_CON_CFLAGS=$pkg_cv_ELEMENTARY_ECORE_CON_CFLAGS
15070 ELEMENTARY_ECORE_CON_LIBS=$pkg_cv_ELEMENTARY_ECORE_CON_LIBS
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15072 $as_echo "yes" >&6; }
15074 ELEMENTARY_ECORE_CON_INC="#include <Ecore_Con.h>"
15076 $as_echo "#define HAVE_ELEMENTARY_ECORE_CON 1" >>confdefs.h
15078 have_ecore_con="yes"
15079 requirement_elm="ecore-con >= 1.7.8 ${requirement_elm}"
15084 if test "x${have_ecore_con}" = "xyes"; then
15085 HAVE_ECORE_CON_TRUE=
15086 HAVE_ECORE_CON_FALSE='#'
15088 HAVE_ECORE_CON_TRUE='#'
15089 HAVE_ECORE_CON_FALSE=
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
15096 $as_echo_n "checking for EIO... " >&6; }
15098 if test -n "$EIO_CFLAGS"; then
15099 pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
15100 elif test -n "$PKG_CONFIG"; then
15101 if test -n "$PKG_CONFIG" && \
15102 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio\""; } >&5
15103 ($PKG_CONFIG --exists --print-errors "eio") 2>&5
15105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15106 test $ac_status = 0; }; then
15107 pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "eio" 2>/dev/null`
15108 test "x$?" != "x0" && pkg_failed=yes
15115 if test -n "$EIO_LIBS"; then
15116 pkg_cv_EIO_LIBS="$EIO_LIBS"
15117 elif test -n "$PKG_CONFIG"; then
15118 if test -n "$PKG_CONFIG" && \
15119 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio\""; } >&5
15120 ($PKG_CONFIG --exists --print-errors "eio") 2>&5
15122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15123 test $ac_status = 0; }; then
15124 pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "eio" 2>/dev/null`
15125 test "x$?" != "x0" && pkg_failed=yes
15135 if test $pkg_failed = yes; then
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15137 $as_echo "no" >&6; }
15139 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15140 _pkg_short_errors_supported=yes
15142 _pkg_short_errors_supported=no
15144 if test $_pkg_short_errors_supported = yes; then
15145 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eio" 2>&1`
15147 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eio" 2>&1`
15149 # Put the nasty error message in config.log where it belongs
15150 echo "$EIO_PKG_ERRORS" >&5
15153 elif test $pkg_failed = untried; then
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15155 $as_echo "no" >&6; }
15158 EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
15159 EIO_LIBS=$pkg_cv_EIO_LIBS
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15161 $as_echo "yes" >&6; }
15165 $as_echo "#define HAVE_EIO 1" >>confdefs.h
15167 requirement_elm="eio ${requirement_elm}"
15171 if test "x${have_eio}" = "xyes"; then
15181 want_elementary_emotion="yes"
15182 # Check whether --enable-emotion was given.
15183 if test "${enable_emotion+set}" = set; then :
15184 enableval=$enable_emotion; want_elementary_emotion=$enableval
15188 if test "x$want_elementary_emotion" != "xno"; then
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMOTION" >&5
15192 $as_echo_n "checking for EMOTION... " >&6; }
15194 if test -n "$EMOTION_CFLAGS"; then
15195 pkg_cv_EMOTION_CFLAGS="$EMOTION_CFLAGS"
15196 elif test -n "$PKG_CONFIG"; then
15197 if test -n "$PKG_CONFIG" && \
15198 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"emotion\""; } >&5
15199 ($PKG_CONFIG --exists --print-errors "emotion") 2>&5
15201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15202 test $ac_status = 0; }; then
15203 pkg_cv_EMOTION_CFLAGS=`$PKG_CONFIG --cflags "emotion" 2>/dev/null`
15204 test "x$?" != "x0" && pkg_failed=yes
15211 if test -n "$EMOTION_LIBS"; then
15212 pkg_cv_EMOTION_LIBS="$EMOTION_LIBS"
15213 elif test -n "$PKG_CONFIG"; then
15214 if test -n "$PKG_CONFIG" && \
15215 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"emotion\""; } >&5
15216 ($PKG_CONFIG --exists --print-errors "emotion") 2>&5
15218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15219 test $ac_status = 0; }; then
15220 pkg_cv_EMOTION_LIBS=`$PKG_CONFIG --libs "emotion" 2>/dev/null`
15221 test "x$?" != "x0" && pkg_failed=yes
15231 if test $pkg_failed = yes; then
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15233 $as_echo "no" >&6; }
15235 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15236 _pkg_short_errors_supported=yes
15238 _pkg_short_errors_supported=no
15240 if test $_pkg_short_errors_supported = yes; then
15241 EMOTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "emotion" 2>&1`
15243 EMOTION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "emotion" 2>&1`
15245 # Put the nasty error message in config.log where it belongs
15246 echo "$EMOTION_PKG_ERRORS" >&5
15249 elif test $pkg_failed = untried; then
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15251 $as_echo "no" >&6; }
15254 EMOTION_CFLAGS=$pkg_cv_EMOTION_CFLAGS
15255 EMOTION_LIBS=$pkg_cv_EMOTION_LIBS
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15257 $as_echo "yes" >&6; }
15261 $as_echo "#define HAVE_EMOTION 1" >>confdefs.h
15263 requirement_elm="emotion ${requirement_elm}"
15268 if test "x${have_emotion}" = "xyes"; then
15270 HAVE_EMOTION_FALSE='#'
15272 HAVE_EMOTION_TRUE='#'
15273 HAVE_EMOTION_FALSE=
15277 have_elementary_x="no"
15278 want_elementary_x="auto"
15279 # Check whether --enable-ecore-x was given.
15280 if test "${enable_ecore_x+set}" = set; then :
15281 enableval=$enable_ecore_x; want_elementary_x=$enableval
15285 if test "x$want_elementary_x" != "xno"; then
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_X" >&5
15289 $as_echo_n "checking for ELEMENTARY_X... " >&6; }
15291 if test -n "$ELEMENTARY_X_CFLAGS"; then
15292 pkg_cv_ELEMENTARY_X_CFLAGS="$ELEMENTARY_X_CFLAGS"
15293 elif test -n "$PKG_CONFIG"; then
15294 if test -n "$PKG_CONFIG" && \
15295 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.7.8\""; } >&5
15296 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.7.8") 2>&5
15298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15299 test $ac_status = 0; }; then
15300 pkg_cv_ELEMENTARY_X_CFLAGS=`$PKG_CONFIG --cflags "ecore-x >= 1.7.8" 2>/dev/null`
15301 test "x$?" != "x0" && pkg_failed=yes
15308 if test -n "$ELEMENTARY_X_LIBS"; then
15309 pkg_cv_ELEMENTARY_X_LIBS="$ELEMENTARY_X_LIBS"
15310 elif test -n "$PKG_CONFIG"; then
15311 if test -n "$PKG_CONFIG" && \
15312 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.7.8\""; } >&5
15313 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.7.8") 2>&5
15315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15316 test $ac_status = 0; }; then
15317 pkg_cv_ELEMENTARY_X_LIBS=`$PKG_CONFIG --libs "ecore-x >= 1.7.8" 2>/dev/null`
15318 test "x$?" != "x0" && pkg_failed=yes
15328 if test $pkg_failed = yes; then
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15330 $as_echo "no" >&6; }
15332 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15333 _pkg_short_errors_supported=yes
15335 _pkg_short_errors_supported=no
15337 if test $_pkg_short_errors_supported = yes; then
15338 ELEMENTARY_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-x >= 1.7.8" 2>&1`
15340 ELEMENTARY_X_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-x >= 1.7.8" 2>&1`
15342 # Put the nasty error message in config.log where it belongs
15343 echo "$ELEMENTARY_X_PKG_ERRORS" >&5
15345 have_elementary_x="no"
15347 elif test $pkg_failed = untried; then
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15349 $as_echo "no" >&6; }
15350 have_elementary_x="no"
15353 ELEMENTARY_X_CFLAGS=$pkg_cv_ELEMENTARY_X_CFLAGS
15354 ELEMENTARY_X_LIBS=$pkg_cv_ELEMENTARY_X_LIBS
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15356 $as_echo "yes" >&6; }
15359 $as_echo "#define HAVE_ELEMENTARY_X 1" >>confdefs.h
15361 have_elementary_x="yes"
15362 requirement_elm="ecore-x >= 1.7.8 ${requirement_elm}"
15366 have_elementary_x="no"
15368 if test "x$want_elementary_x" = "xyes" -a "x$have_elementary_x" = "xno"; then
15369 as_fn_error $? "ecore-x support requested, but not found by pkg-config." "$LINENO" 5
15373 have_elementary_fb="no"
15374 want_elementary_fb="auto"
15375 # Check whether --enable-ecore-fb was given.
15376 if test "${enable_ecore_fb+set}" = set; then :
15377 enableval=$enable_ecore_fb; want_elementary_fb=$enableval
15381 if test "x$want_elementary_fb" != "xno"; then
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_FB" >&5
15385 $as_echo_n "checking for ELEMENTARY_FB... " >&6; }
15387 if test -n "$ELEMENTARY_FB_CFLAGS"; then
15388 pkg_cv_ELEMENTARY_FB_CFLAGS="$ELEMENTARY_FB_CFLAGS"
15389 elif test -n "$PKG_CONFIG"; then
15390 if test -n "$PKG_CONFIG" && \
15391 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.7.8\""; } >&5
15392 ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.7.8") 2>&5
15394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15395 test $ac_status = 0; }; then
15396 pkg_cv_ELEMENTARY_FB_CFLAGS=`$PKG_CONFIG --cflags "ecore-fb >= 1.7.8" 2>/dev/null`
15397 test "x$?" != "x0" && pkg_failed=yes
15404 if test -n "$ELEMENTARY_FB_LIBS"; then
15405 pkg_cv_ELEMENTARY_FB_LIBS="$ELEMENTARY_FB_LIBS"
15406 elif test -n "$PKG_CONFIG"; then
15407 if test -n "$PKG_CONFIG" && \
15408 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.7.8\""; } >&5
15409 ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.7.8") 2>&5
15411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15412 test $ac_status = 0; }; then
15413 pkg_cv_ELEMENTARY_FB_LIBS=`$PKG_CONFIG --libs "ecore-fb >= 1.7.8" 2>/dev/null`
15414 test "x$?" != "x0" && pkg_failed=yes
15424 if test $pkg_failed = yes; then
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15426 $as_echo "no" >&6; }
15428 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15429 _pkg_short_errors_supported=yes
15431 _pkg_short_errors_supported=no
15433 if test $_pkg_short_errors_supported = yes; then
15434 ELEMENTARY_FB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-fb >= 1.7.8" 2>&1`
15436 ELEMENTARY_FB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-fb >= 1.7.8" 2>&1`
15438 # Put the nasty error message in config.log where it belongs
15439 echo "$ELEMENTARY_FB_PKG_ERRORS" >&5
15441 have_elementary_fb="no"
15443 elif test $pkg_failed = untried; then
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15445 $as_echo "no" >&6; }
15446 have_elementary_fb="no"
15449 ELEMENTARY_FB_CFLAGS=$pkg_cv_ELEMENTARY_FB_CFLAGS
15450 ELEMENTARY_FB_LIBS=$pkg_cv_ELEMENTARY_FB_LIBS
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15452 $as_echo "yes" >&6; }
15455 $as_echo "#define HAVE_ELEMENTARY_FB 1" >>confdefs.h
15457 have_elementary_fb="yes"
15458 requirement_elm="ecore-fb >= 1.7.8 ${requirement_elm}"
15462 have_elementary_fb="no"
15464 if test "x$want_elementary_fb" = "xyes" -a "x$have_elementary_fb" = "xno"; then
15465 as_fn_error $? "ecore-fb support requested, but not found by pkg-config." "$LINENO" 5
15468 have_elementary_psl1ght="no"
15469 want_elementary_psl1ght="auto"
15470 # Check whether --enable-ecore-psl1ght was given.
15471 if test "${enable_ecore_psl1ght+set}" = set; then :
15472 enableval=$enable_ecore_psl1ght; want_elementary_psl1ght=$enableval
15476 if test "x$want_elementary_psl1ght" != "xno"; then
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_PSL1GHT" >&5
15480 $as_echo_n "checking for ELEMENTARY_PSL1GHT... " >&6; }
15482 if test -n "$ELEMENTARY_PSL1GHT_CFLAGS"; then
15483 pkg_cv_ELEMENTARY_PSL1GHT_CFLAGS="$ELEMENTARY_PSL1GHT_CFLAGS"
15484 elif test -n "$PKG_CONFIG"; then
15485 if test -n "$PKG_CONFIG" && \
15486 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-psl1ght >= 1.7.8\""; } >&5
15487 ($PKG_CONFIG --exists --print-errors "ecore-psl1ght >= 1.7.8") 2>&5
15489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15490 test $ac_status = 0; }; then
15491 pkg_cv_ELEMENTARY_PSL1GHT_CFLAGS=`$PKG_CONFIG --cflags "ecore-psl1ght >= 1.7.8" 2>/dev/null`
15492 test "x$?" != "x0" && pkg_failed=yes
15499 if test -n "$ELEMENTARY_PSL1GHT_LIBS"; then
15500 pkg_cv_ELEMENTARY_PSL1GHT_LIBS="$ELEMENTARY_PSL1GHT_LIBS"
15501 elif test -n "$PKG_CONFIG"; then
15502 if test -n "$PKG_CONFIG" && \
15503 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-psl1ght >= 1.7.8\""; } >&5
15504 ($PKG_CONFIG --exists --print-errors "ecore-psl1ght >= 1.7.8") 2>&5
15506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15507 test $ac_status = 0; }; then
15508 pkg_cv_ELEMENTARY_PSL1GHT_LIBS=`$PKG_CONFIG --libs "ecore-psl1ght >= 1.7.8" 2>/dev/null`
15509 test "x$?" != "x0" && pkg_failed=yes
15519 if test $pkg_failed = yes; then
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15521 $as_echo "no" >&6; }
15523 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15524 _pkg_short_errors_supported=yes
15526 _pkg_short_errors_supported=no
15528 if test $_pkg_short_errors_supported = yes; then
15529 ELEMENTARY_PSL1GHT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-psl1ght >= 1.7.8" 2>&1`
15531 ELEMENTARY_PSL1GHT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-psl1ght >= 1.7.8" 2>&1`
15533 # Put the nasty error message in config.log where it belongs
15534 echo "$ELEMENTARY_PSL1GHT_PKG_ERRORS" >&5
15536 have_elementary_psl1ght="no"
15538 elif test $pkg_failed = untried; then
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15540 $as_echo "no" >&6; }
15541 have_elementary_psl1ght="no"
15544 ELEMENTARY_PSL1GHT_CFLAGS=$pkg_cv_ELEMENTARY_PSL1GHT_CFLAGS
15545 ELEMENTARY_PSL1GHT_LIBS=$pkg_cv_ELEMENTARY_PSL1GHT_LIBS
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15547 $as_echo "yes" >&6; }
15550 $as_echo "#define HAVE_ELEMENTARY_PSL1GHT 1" >>confdefs.h
15552 have_elementary_psl1ght="yes"
15553 requirement_elm="ecore-psl1ght >= 1.7.8 ${requirement_elm}"
15557 have_elementary_psl1ght="no"
15559 if test "x$want_elementary_psl1ght" = "xyes" -a "x$have_elementary_psl1ght" = "xno"; then
15560 as_fn_error $? "ecore-psl1ght support requested, but not found by pkg-config." "$LINENO" 5
15563 have_elementary_sdl="no"
15564 want_elementary_sdl="auto"
15565 # Check whether --enable-ecore-sdl was given.
15566 if test "${enable_ecore_sdl+set}" = set; then :
15567 enableval=$enable_ecore_sdl; want_elementary_sdl=$enableval
15571 if test "x$want_elementary_sdl" != "xno"; then
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_SDL" >&5
15575 $as_echo_n "checking for ELEMENTARY_SDL... " >&6; }
15577 if test -n "$ELEMENTARY_SDL_CFLAGS"; then
15578 pkg_cv_ELEMENTARY_SDL_CFLAGS="$ELEMENTARY_SDL_CFLAGS"
15579 elif test -n "$PKG_CONFIG"; then
15580 if test -n "$PKG_CONFIG" && \
15581 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-sdl >= 1.7.8\""; } >&5
15582 ($PKG_CONFIG --exists --print-errors "ecore-sdl >= 1.7.8") 2>&5
15584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15585 test $ac_status = 0; }; then
15586 pkg_cv_ELEMENTARY_SDL_CFLAGS=`$PKG_CONFIG --cflags "ecore-sdl >= 1.7.8" 2>/dev/null`
15587 test "x$?" != "x0" && pkg_failed=yes
15594 if test -n "$ELEMENTARY_SDL_LIBS"; then
15595 pkg_cv_ELEMENTARY_SDL_LIBS="$ELEMENTARY_SDL_LIBS"
15596 elif test -n "$PKG_CONFIG"; then
15597 if test -n "$PKG_CONFIG" && \
15598 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-sdl >= 1.7.8\""; } >&5
15599 ($PKG_CONFIG --exists --print-errors "ecore-sdl >= 1.7.8") 2>&5
15601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15602 test $ac_status = 0; }; then
15603 pkg_cv_ELEMENTARY_SDL_LIBS=`$PKG_CONFIG --libs "ecore-sdl >= 1.7.8" 2>/dev/null`
15604 test "x$?" != "x0" && pkg_failed=yes
15614 if test $pkg_failed = yes; then
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15616 $as_echo "no" >&6; }
15618 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15619 _pkg_short_errors_supported=yes
15621 _pkg_short_errors_supported=no
15623 if test $_pkg_short_errors_supported = yes; then
15624 ELEMENTARY_SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-sdl >= 1.7.8" 2>&1`
15626 ELEMENTARY_SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-sdl >= 1.7.8" 2>&1`
15628 # Put the nasty error message in config.log where it belongs
15629 echo "$ELEMENTARY_SDL_PKG_ERRORS" >&5
15631 have_elementary_sdl="no"
15633 elif test $pkg_failed = untried; then
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15635 $as_echo "no" >&6; }
15636 have_elementary_sdl="no"
15639 ELEMENTARY_SDL_CFLAGS=$pkg_cv_ELEMENTARY_SDL_CFLAGS
15640 ELEMENTARY_SDL_LIBS=$pkg_cv_ELEMENTARY_SDL_LIBS
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15642 $as_echo "yes" >&6; }
15645 $as_echo "#define HAVE_ELEMENTARY_SDL 1" >>confdefs.h
15647 have_elementary_sdl="yes"
15648 requirement_elm="ecore-sdl >= 1.7.8 ${requirement_elm}"
15652 have_elementary_sdl="no"
15654 if test "x$want_elementary_sdl" = "xyes" -a "x$have_elementary_sdl" = "xno"; then
15655 as_fn_error $? "ecore-sdl support requested, but not found by pkg-config." "$LINENO" 5
15658 have_elementary_cocoa="no"
15659 want_elementary_cocoa="auto"
15660 # Check whether --enable-ecore-cocoa was given.
15661 if test "${enable_ecore_cocoa+set}" = set; then :
15662 enableval=$enable_ecore_cocoa; want_elementary_cocoa=$enableval
15666 if test "x$want_elementary_cocoa" != "xno"; then
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_COCOA" >&5
15670 $as_echo_n "checking for ELEMENTARY_COCOA... " >&6; }
15672 if test -n "$ELEMENTARY_COCOA_CFLAGS"; then
15673 pkg_cv_ELEMENTARY_COCOA_CFLAGS="$ELEMENTARY_COCOA_CFLAGS"
15674 elif test -n "$PKG_CONFIG"; then
15675 if test -n "$PKG_CONFIG" && \
15676 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-cocoa >= 1.7.8\""; } >&5
15677 ($PKG_CONFIG --exists --print-errors "ecore-cocoa >= 1.7.8") 2>&5
15679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15680 test $ac_status = 0; }; then
15681 pkg_cv_ELEMENTARY_COCOA_CFLAGS=`$PKG_CONFIG --cflags "ecore-cocoa >= 1.7.8" 2>/dev/null`
15682 test "x$?" != "x0" && pkg_failed=yes
15689 if test -n "$ELEMENTARY_COCOA_LIBS"; then
15690 pkg_cv_ELEMENTARY_COCOA_LIBS="$ELEMENTARY_COCOA_LIBS"
15691 elif test -n "$PKG_CONFIG"; then
15692 if test -n "$PKG_CONFIG" && \
15693 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-cocoa >= 1.7.8\""; } >&5
15694 ($PKG_CONFIG --exists --print-errors "ecore-cocoa >= 1.7.8") 2>&5
15696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15697 test $ac_status = 0; }; then
15698 pkg_cv_ELEMENTARY_COCOA_LIBS=`$PKG_CONFIG --libs "ecore-cocoa >= 1.7.8" 2>/dev/null`
15699 test "x$?" != "x0" && pkg_failed=yes
15709 if test $pkg_failed = yes; then
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15711 $as_echo "no" >&6; }
15713 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15714 _pkg_short_errors_supported=yes
15716 _pkg_short_errors_supported=no
15718 if test $_pkg_short_errors_supported = yes; then
15719 ELEMENTARY_COCOA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-cocoa >= 1.7.8" 2>&1`
15721 ELEMENTARY_COCOA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-cocoa >= 1.7.8" 2>&1`
15723 # Put the nasty error message in config.log where it belongs
15724 echo "$ELEMENTARY_COCOA_PKG_ERRORS" >&5
15726 have_elementary_cocoa="no"
15728 elif test $pkg_failed = untried; then
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15730 $as_echo "no" >&6; }
15731 have_elementary_cocoa="no"
15734 ELEMENTARY_COCOA_CFLAGS=$pkg_cv_ELEMENTARY_COCOA_CFLAGS
15735 ELEMENTARY_COCOA_LIBS=$pkg_cv_ELEMENTARY_COCOA_LIBS
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15737 $as_echo "yes" >&6; }
15740 $as_echo "#define HAVE_ELEMENTARY_COCOA 1" >>confdefs.h
15742 have_elementary_cocoa="yes"
15743 requirement_elm="ecore-cocoa >= 1.7.8 ${requirement_elm}"
15747 have_elementary_cocoa="no"
15749 if test "x$want_elementary_cocoa" = "xyes" -a "x$have_elementary_cocoa" = "xno"; then
15750 as_fn_error $? "ecore-cocoa support requested, but not found by pkg-config." "$LINENO" 5
15753 have_elementary_win32="no"
15754 want_elementary_win32="auto"
15755 # Check whether --enable-ecore-win32 was given.
15756 if test "${enable_ecore_win32+set}" = set; then :
15757 enableval=$enable_ecore_win32; want_elementary_win32=$enableval
15761 if test "x$want_elementary_win32" != "xno"; then
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_WIN32" >&5
15765 $as_echo_n "checking for ELEMENTARY_WIN32... " >&6; }
15767 if test -n "$ELEMENTARY_WIN32_CFLAGS"; then
15768 pkg_cv_ELEMENTARY_WIN32_CFLAGS="$ELEMENTARY_WIN32_CFLAGS"
15769 elif test -n "$PKG_CONFIG"; then
15770 if test -n "$PKG_CONFIG" && \
15771 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-win32 >= 1.7.8\""; } >&5
15772 ($PKG_CONFIG --exists --print-errors "ecore-win32 >= 1.7.8") 2>&5
15774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15775 test $ac_status = 0; }; then
15776 pkg_cv_ELEMENTARY_WIN32_CFLAGS=`$PKG_CONFIG --cflags "ecore-win32 >= 1.7.8" 2>/dev/null`
15777 test "x$?" != "x0" && pkg_failed=yes
15784 if test -n "$ELEMENTARY_WIN32_LIBS"; then
15785 pkg_cv_ELEMENTARY_WIN32_LIBS="$ELEMENTARY_WIN32_LIBS"
15786 elif test -n "$PKG_CONFIG"; then
15787 if test -n "$PKG_CONFIG" && \
15788 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-win32 >= 1.7.8\""; } >&5
15789 ($PKG_CONFIG --exists --print-errors "ecore-win32 >= 1.7.8") 2>&5
15791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15792 test $ac_status = 0; }; then
15793 pkg_cv_ELEMENTARY_WIN32_LIBS=`$PKG_CONFIG --libs "ecore-win32 >= 1.7.8" 2>/dev/null`
15794 test "x$?" != "x0" && pkg_failed=yes
15804 if test $pkg_failed = yes; then
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15806 $as_echo "no" >&6; }
15808 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15809 _pkg_short_errors_supported=yes
15811 _pkg_short_errors_supported=no
15813 if test $_pkg_short_errors_supported = yes; then
15814 ELEMENTARY_WIN32_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-win32 >= 1.7.8" 2>&1`
15816 ELEMENTARY_WIN32_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-win32 >= 1.7.8" 2>&1`
15818 # Put the nasty error message in config.log where it belongs
15819 echo "$ELEMENTARY_WIN32_PKG_ERRORS" >&5
15821 have_elementary_win32="no"
15823 elif test $pkg_failed = untried; then
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15825 $as_echo "no" >&6; }
15826 have_elementary_win32="no"
15829 ELEMENTARY_WIN32_CFLAGS=$pkg_cv_ELEMENTARY_WIN32_CFLAGS
15830 ELEMENTARY_WIN32_LIBS=$pkg_cv_ELEMENTARY_WIN32_LIBS
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15832 $as_echo "yes" >&6; }
15835 $as_echo "#define HAVE_ELEMENTARY_WIN32 1" >>confdefs.h
15837 have_elementary_win32="yes"
15838 requirement_elm="ecore-win32 >= 1.7.8 ${requirement_elm}"
15842 have_elementary_win32="no"
15844 if test "x$want_elementary_win32" = "xyes" -a "x$have_elementary_win32" = "xno"; then
15845 as_fn_error $? "ecore-win32 support requested, but not found by pkg-config." "$LINENO" 5
15848 have_elementary_wince="no"
15849 want_elementary_wince="auto"
15850 # Check whether --enable-ecore-wince was given.
15851 if test "${enable_ecore_wince+set}" = set; then :
15852 enableval=$enable_ecore_wince; want_elementary_wince=$enableval
15856 if test "x$want_elementary_wince" != "xno"; then
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_WINCE" >&5
15860 $as_echo_n "checking for ELEMENTARY_WINCE... " >&6; }
15862 if test -n "$ELEMENTARY_WINCE_CFLAGS"; then
15863 pkg_cv_ELEMENTARY_WINCE_CFLAGS="$ELEMENTARY_WINCE_CFLAGS"
15864 elif test -n "$PKG_CONFIG"; then
15865 if test -n "$PKG_CONFIG" && \
15866 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-wince >= 1.7.8\""; } >&5
15867 ($PKG_CONFIG --exists --print-errors "ecore-wince >= 1.7.8") 2>&5
15869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15870 test $ac_status = 0; }; then
15871 pkg_cv_ELEMENTARY_WINCE_CFLAGS=`$PKG_CONFIG --cflags "ecore-wince >= 1.7.8" 2>/dev/null`
15872 test "x$?" != "x0" && pkg_failed=yes
15879 if test -n "$ELEMENTARY_WINCE_LIBS"; then
15880 pkg_cv_ELEMENTARY_WINCE_LIBS="$ELEMENTARY_WINCE_LIBS"
15881 elif test -n "$PKG_CONFIG"; then
15882 if test -n "$PKG_CONFIG" && \
15883 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-wince >= 1.7.8\""; } >&5
15884 ($PKG_CONFIG --exists --print-errors "ecore-wince >= 1.7.8") 2>&5
15886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15887 test $ac_status = 0; }; then
15888 pkg_cv_ELEMENTARY_WINCE_LIBS=`$PKG_CONFIG --libs "ecore-wince >= 1.7.8" 2>/dev/null`
15889 test "x$?" != "x0" && pkg_failed=yes
15899 if test $pkg_failed = yes; then
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15901 $as_echo "no" >&6; }
15903 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15904 _pkg_short_errors_supported=yes
15906 _pkg_short_errors_supported=no
15908 if test $_pkg_short_errors_supported = yes; then
15909 ELEMENTARY_WINCE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-wince >= 1.7.8" 2>&1`
15911 ELEMENTARY_WINCE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-wince >= 1.7.8" 2>&1`
15913 # Put the nasty error message in config.log where it belongs
15914 echo "$ELEMENTARY_WINCE_PKG_ERRORS" >&5
15916 have_elementary_wince="no"
15918 elif test $pkg_failed = untried; then
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15920 $as_echo "no" >&6; }
15921 have_elementary_wince="no"
15924 ELEMENTARY_WINCE_CFLAGS=$pkg_cv_ELEMENTARY_WINCE_CFLAGS
15925 ELEMENTARY_WINCE_LIBS=$pkg_cv_ELEMENTARY_WINCE_LIBS
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15927 $as_echo "yes" >&6; }
15930 $as_echo "#define HAVE_ELEMENTARY_WINCE 1" >>confdefs.h
15932 have_elementary_wince="yes"
15933 requirement_elm="ecore-wince >= 1.7.8 ${requirement_elm}"
15937 have_elementary_wince="no"
15939 if test "x$want_elementary_wince" = "xyes" -a "x$have_elementary_wince" = "xno"; then
15940 as_fn_error $? "ecore-wince support requested, but not found by pkg-config." "$LINENO" 5
15943 have_elementary_wayland="no"
15944 want_elementary_wayland="auto"
15945 # Check whether --enable-ecore-wayland was given.
15946 if test "${enable_ecore_wayland+set}" = set; then :
15947 enableval=$enable_ecore_wayland; want_elementary_wayland=$enableval
15951 if test "x$want_elementary_wayland" != "xno"; then
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_WAYLAND" >&5
15955 $as_echo_n "checking for ELEMENTARY_WAYLAND... " >&6; }
15957 if test -n "$ELEMENTARY_WAYLAND_CFLAGS"; then
15958 pkg_cv_ELEMENTARY_WAYLAND_CFLAGS="$ELEMENTARY_WAYLAND_CFLAGS"
15959 elif test -n "$PKG_CONFIG"; then
15960 if test -n "$PKG_CONFIG" && \
15961 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-wayland\""; } >&5
15962 ($PKG_CONFIG --exists --print-errors "ecore-wayland") 2>&5
15964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15965 test $ac_status = 0; }; then
15966 pkg_cv_ELEMENTARY_WAYLAND_CFLAGS=`$PKG_CONFIG --cflags "ecore-wayland" 2>/dev/null`
15967 test "x$?" != "x0" && pkg_failed=yes
15974 if test -n "$ELEMENTARY_WAYLAND_LIBS"; then
15975 pkg_cv_ELEMENTARY_WAYLAND_LIBS="$ELEMENTARY_WAYLAND_LIBS"
15976 elif test -n "$PKG_CONFIG"; then
15977 if test -n "$PKG_CONFIG" && \
15978 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-wayland\""; } >&5
15979 ($PKG_CONFIG --exists --print-errors "ecore-wayland") 2>&5
15981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15982 test $ac_status = 0; }; then
15983 pkg_cv_ELEMENTARY_WAYLAND_LIBS=`$PKG_CONFIG --libs "ecore-wayland" 2>/dev/null`
15984 test "x$?" != "x0" && pkg_failed=yes
15994 if test $pkg_failed = yes; then
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15996 $as_echo "no" >&6; }
15998 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15999 _pkg_short_errors_supported=yes
16001 _pkg_short_errors_supported=no
16003 if test $_pkg_short_errors_supported = yes; then
16004 ELEMENTARY_WAYLAND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-wayland" 2>&1`
16006 ELEMENTARY_WAYLAND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-wayland" 2>&1`
16008 # Put the nasty error message in config.log where it belongs
16009 echo "$ELEMENTARY_WAYLAND_PKG_ERRORS" >&5
16011 have_elementary_wayland="no"
16013 elif test $pkg_failed = untried; then
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16015 $as_echo "no" >&6; }
16016 have_elementary_wayland="no"
16019 ELEMENTARY_WAYLAND_CFLAGS=$pkg_cv_ELEMENTARY_WAYLAND_CFLAGS
16020 ELEMENTARY_WAYLAND_LIBS=$pkg_cv_ELEMENTARY_WAYLAND_LIBS
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16022 $as_echo "yes" >&6; }
16025 $as_echo "#define HAVE_ELEMENTARY_WAYLAND 1" >>confdefs.h
16027 have_elementary_wayland="yes"
16028 requirement_elm="ecore-wayland ${requirement_elm}"
16032 have_elementary_wayland="no"
16034 if test "x$want_elementary_wayland" = "xyes" -a "x$have_elementary_wayland" = "xno"; then
16035 as_fn_error $? "ecore-wayland support requested, but not found by pkg-config." "$LINENO" 5
16038 ELM_EDBUS_DEF="#undef"
16039 have_elementary_edbus="no"
16040 want_elementary_edbus="auto"
16041 # Check whether --enable-edbus was given.
16042 if test "${enable_edbus+set}" = set; then :
16043 enableval=$enable_edbus; want_elementary_edbus=$enableval
16047 if test "x$want_elementary_edbus" != "xno"; then
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EDBUS" >&5
16051 $as_echo_n "checking for ELEMENTARY_EDBUS... " >&6; }
16053 if test -n "$ELEMENTARY_EDBUS_CFLAGS"; then
16054 pkg_cv_ELEMENTARY_EDBUS_CFLAGS="$ELEMENTARY_EDBUS_CFLAGS"
16055 elif test -n "$PKG_CONFIG"; then
16056 if test -n "$PKG_CONFIG" && \
16057 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16060 ($PKG_CONFIG --exists --print-errors "
16064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16065 test $ac_status = 0; }; then
16066 pkg_cv_ELEMENTARY_EDBUS_CFLAGS=`$PKG_CONFIG --cflags "
16069 test "x$?" != "x0" && pkg_failed=yes
16076 if test -n "$ELEMENTARY_EDBUS_LIBS"; then
16077 pkg_cv_ELEMENTARY_EDBUS_LIBS="$ELEMENTARY_EDBUS_LIBS"
16078 elif test -n "$PKG_CONFIG"; then
16079 if test -n "$PKG_CONFIG" && \
16080 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16083 ($PKG_CONFIG --exists --print-errors "
16087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16088 test $ac_status = 0; }; then
16089 pkg_cv_ELEMENTARY_EDBUS_LIBS=`$PKG_CONFIG --libs "
16092 test "x$?" != "x0" && pkg_failed=yes
16102 if test $pkg_failed = yes; then
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16104 $as_echo "no" >&6; }
16106 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16107 _pkg_short_errors_supported=yes
16109 _pkg_short_errors_supported=no
16111 if test $_pkg_short_errors_supported = yes; then
16112 ELEMENTARY_EDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16116 ELEMENTARY_EDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16120 # Put the nasty error message in config.log where it belongs
16121 echo "$ELEMENTARY_EDBUS_PKG_ERRORS" >&5
16123 have_elementary_edbus="no"
16125 elif test $pkg_failed = untried; then
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16127 $as_echo "no" >&6; }
16128 have_elementary_edbus="no"
16131 ELEMENTARY_EDBUS_CFLAGS=$pkg_cv_ELEMENTARY_EDBUS_CFLAGS
16132 ELEMENTARY_EDBUS_LIBS=$pkg_cv_ELEMENTARY_EDBUS_LIBS
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16134 $as_echo "yes" >&6; }
16137 $as_echo "#define HAVE_ELEMENTARY_EDBUS 1" >>confdefs.h
16139 have_elementary_edbus="yes"
16140 ELM_EDBUS_DEF="#define"
16141 requirement_elm="edbus >= 1.7.8 ${requirement_elm}"
16145 have_elementary_edbus="no"
16147 if test "x$want_elementary_edbus" = "xyes" -a "x$have_elementary_edbus" = "xno"; then
16148 as_fn_error $? "E_DBus support requested, but no e_dbus found by pkg-config." "$LINENO" 5
16152 ELM_EFREET_DEF="#undef"
16153 have_elementary_efreet="no"
16154 want_elementary_efreet="auto"
16155 # Check whether --enable-efreet was given.
16156 if test "${enable_efreet+set}" = set; then :
16157 enableval=$enable_efreet; want_elementary_efreet=$enableval
16161 if test "x$want_elementary_efreet" != "xno"; then
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EFREET" >&5
16165 $as_echo_n "checking for ELEMENTARY_EFREET... " >&6; }
16167 if test -n "$ELEMENTARY_EFREET_CFLAGS"; then
16168 pkg_cv_ELEMENTARY_EFREET_CFLAGS="$ELEMENTARY_EFREET_CFLAGS"
16169 elif test -n "$PKG_CONFIG"; then
16170 if test -n "$PKG_CONFIG" && \
16171 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16173 efreet-mime >= 1.7.8
16174 efreet-trash >= 1.7.8
16176 ($PKG_CONFIG --exists --print-errors "
16178 efreet-mime >= 1.7.8
16179 efreet-trash >= 1.7.8
16182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16183 test $ac_status = 0; }; then
16184 pkg_cv_ELEMENTARY_EFREET_CFLAGS=`$PKG_CONFIG --cflags "
16186 efreet-mime >= 1.7.8
16187 efreet-trash >= 1.7.8
16189 test "x$?" != "x0" && pkg_failed=yes
16196 if test -n "$ELEMENTARY_EFREET_LIBS"; then
16197 pkg_cv_ELEMENTARY_EFREET_LIBS="$ELEMENTARY_EFREET_LIBS"
16198 elif test -n "$PKG_CONFIG"; then
16199 if test -n "$PKG_CONFIG" && \
16200 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16202 efreet-mime >= 1.7.8
16203 efreet-trash >= 1.7.8
16205 ($PKG_CONFIG --exists --print-errors "
16207 efreet-mime >= 1.7.8
16208 efreet-trash >= 1.7.8
16211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16212 test $ac_status = 0; }; then
16213 pkg_cv_ELEMENTARY_EFREET_LIBS=`$PKG_CONFIG --libs "
16215 efreet-mime >= 1.7.8
16216 efreet-trash >= 1.7.8
16218 test "x$?" != "x0" && pkg_failed=yes
16228 if test $pkg_failed = yes; then
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16230 $as_echo "no" >&6; }
16232 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16233 _pkg_short_errors_supported=yes
16235 _pkg_short_errors_supported=no
16237 if test $_pkg_short_errors_supported = yes; then
16238 ELEMENTARY_EFREET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16240 efreet-mime >= 1.7.8
16241 efreet-trash >= 1.7.8
16244 ELEMENTARY_EFREET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16246 efreet-mime >= 1.7.8
16247 efreet-trash >= 1.7.8
16250 # Put the nasty error message in config.log where it belongs
16251 echo "$ELEMENTARY_EFREET_PKG_ERRORS" >&5
16253 have_elementary_efreet="no"
16255 elif test $pkg_failed = untried; then
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16257 $as_echo "no" >&6; }
16258 have_elementary_efreet="no"
16261 ELEMENTARY_EFREET_CFLAGS=$pkg_cv_ELEMENTARY_EFREET_CFLAGS
16262 ELEMENTARY_EFREET_LIBS=$pkg_cv_ELEMENTARY_EFREET_LIBS
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16264 $as_echo "yes" >&6; }
16267 $as_echo "#define HAVE_ELEMENTARY_EFREET 1" >>confdefs.h
16269 have_elementary_efreet="yes"
16270 ELM_EFREET_DEF="#define"
16271 requirement_elm="efreet >= 1.7.8 efreet-mime >= 1.7.8 efreet-trash >= 1.7.8 ${requirement_elm}"
16275 have_elementary_efreet="no"
16277 if test "x$want_elementary_efreet" = "xyes" -a "x$have_elementary_efreet" = "xno"; then
16278 as_fn_error $? "Efreet support requested, but no efreet/efreet-mime/efreet-trash found by pkg-config." "$LINENO" 5
16282 ELM_EWEATHER_DEF="#undef"
16283 have_elementary_eweather="no"
16284 want_elementary_eweather="auto"
16285 # Check whether --enable-eweather was given.
16286 if test "${enable_eweather+set}" = set; then :
16287 enableval=$enable_eweather; want_elementary_eweather=$enableval
16291 if test "x$want_elementary_eweather" != "xno"; then
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EWEATHER" >&5
16295 $as_echo_n "checking for ELEMENTARY_EWEATHER... " >&6; }
16297 if test -n "$ELEMENTARY_EWEATHER_CFLAGS"; then
16298 pkg_cv_ELEMENTARY_EWEATHER_CFLAGS="$ELEMENTARY_EWEATHER_CFLAGS"
16299 elif test -n "$PKG_CONFIG"; then
16300 if test -n "$PKG_CONFIG" && \
16301 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16304 ($PKG_CONFIG --exists --print-errors "
16308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16309 test $ac_status = 0; }; then
16310 pkg_cv_ELEMENTARY_EWEATHER_CFLAGS=`$PKG_CONFIG --cflags "
16313 test "x$?" != "x0" && pkg_failed=yes
16320 if test -n "$ELEMENTARY_EWEATHER_LIBS"; then
16321 pkg_cv_ELEMENTARY_EWEATHER_LIBS="$ELEMENTARY_EWEATHER_LIBS"
16322 elif test -n "$PKG_CONFIG"; then
16323 if test -n "$PKG_CONFIG" && \
16324 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16327 ($PKG_CONFIG --exists --print-errors "
16331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16332 test $ac_status = 0; }; then
16333 pkg_cv_ELEMENTARY_EWEATHER_LIBS=`$PKG_CONFIG --libs "
16336 test "x$?" != "x0" && pkg_failed=yes
16346 if test $pkg_failed = yes; then
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16348 $as_echo "no" >&6; }
16350 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16351 _pkg_short_errors_supported=yes
16353 _pkg_short_errors_supported=no
16355 if test $_pkg_short_errors_supported = yes; then
16356 ELEMENTARY_EWEATHER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16360 ELEMENTARY_EWEATHER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16364 # Put the nasty error message in config.log where it belongs
16365 echo "$ELEMENTARY_EWEATHER_PKG_ERRORS" >&5
16367 have_elementary_eweather="no"
16369 elif test $pkg_failed = untried; then
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16371 $as_echo "no" >&6; }
16372 have_elementary_eweather="no"
16375 ELEMENTARY_EWEATHER_CFLAGS=$pkg_cv_ELEMENTARY_EWEATHER_CFLAGS
16376 ELEMENTARY_EWEATHER_LIBS=$pkg_cv_ELEMENTARY_EWEATHER_LIBS
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16378 $as_echo "yes" >&6; }
16381 $as_echo "#define HAVE_ELEMENTARY_EWEATHER 1" >>confdefs.h
16383 have_elementary_eweather="yes"
16384 ELM_EWEATHER_DEF="#define"
16385 requirement_elm="eweather ${requirement_elm}"
16389 have_elementary_eweather="no"
16391 if test "x$want_elementary_eweather" = "xyes" -a "x$have_elementary_eweather" = "xno"; then
16392 as_fn_error $? "Eweather support requested, but no eweather found by pkg-config." "$LINENO" 5
16396 ELM_EMAP_DEF="#undef"
16397 have_elementary_emap="no"
16398 want_elementary_emap="auto"
16399 # Check whether --enable-emap was given.
16400 if test "${enable_emap+set}" = set; then :
16401 enableval=$enable_emap; want_elementary_emap=$enableval
16405 if test "x$want_elementary_emap" != "xno"; then
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EMAP" >&5
16409 $as_echo_n "checking for ELEMENTARY_EMAP... " >&6; }
16411 if test -n "$ELEMENTARY_EMAP_CFLAGS"; then
16412 pkg_cv_ELEMENTARY_EMAP_CFLAGS="$ELEMENTARY_EMAP_CFLAGS"
16413 elif test -n "$PKG_CONFIG"; then
16414 if test -n "$PKG_CONFIG" && \
16415 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16418 ($PKG_CONFIG --exists --print-errors "
16422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16423 test $ac_status = 0; }; then
16424 pkg_cv_ELEMENTARY_EMAP_CFLAGS=`$PKG_CONFIG --cflags "
16427 test "x$?" != "x0" && pkg_failed=yes
16434 if test -n "$ELEMENTARY_EMAP_LIBS"; then
16435 pkg_cv_ELEMENTARY_EMAP_LIBS="$ELEMENTARY_EMAP_LIBS"
16436 elif test -n "$PKG_CONFIG"; then
16437 if test -n "$PKG_CONFIG" && \
16438 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16441 ($PKG_CONFIG --exists --print-errors "
16445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16446 test $ac_status = 0; }; then
16447 pkg_cv_ELEMENTARY_EMAP_LIBS=`$PKG_CONFIG --libs "
16450 test "x$?" != "x0" && pkg_failed=yes
16460 if test $pkg_failed = yes; then
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16462 $as_echo "no" >&6; }
16464 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16465 _pkg_short_errors_supported=yes
16467 _pkg_short_errors_supported=no
16469 if test $_pkg_short_errors_supported = yes; then
16470 ELEMENTARY_EMAP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16474 ELEMENTARY_EMAP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16478 # Put the nasty error message in config.log where it belongs
16479 echo "$ELEMENTARY_EMAP_PKG_ERRORS" >&5
16481 have_elementary_emap="no"
16483 elif test $pkg_failed = untried; then
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16485 $as_echo "no" >&6; }
16486 have_elementary_emap="no"
16489 ELEMENTARY_EMAP_CFLAGS=$pkg_cv_ELEMENTARY_EMAP_CFLAGS
16490 ELEMENTARY_EMAP_LIBS=$pkg_cv_ELEMENTARY_EMAP_LIBS
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16492 $as_echo "yes" >&6; }
16495 $as_echo "#define HAVE_ELEMENTARY_EMAP 1" >>confdefs.h
16497 have_elementary_emap="yes"
16498 ELM_EMAP_DEF="#define"
16499 requirement_elm="emap ${requirement_elm}"
16503 have_elementary_emap="no"
16505 if test "x$want_elementary_emap" = "xyes" -a "x$have_elementary_emap" = "xno"; then
16506 as_fn_error $? "Emap support requested, but no emap found by pkg-config." "$LINENO" 5
16512 ELM_ETHUMB_DEF="#undef"
16513 have_elementary_ethumb="no"
16514 want_elementary_ethumb="auto"
16515 # Check whether --enable-ethumb was given.
16516 if test "${enable_ethumb+set}" = set; then :
16517 enableval=$enable_ethumb; want_elementary_ethumb=$enableval
16521 if test "x$want_elementary_ethumb" != "xno"; then
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_ETHUMB" >&5
16525 $as_echo_n "checking for ELEMENTARY_ETHUMB... " >&6; }
16527 if test -n "$ELEMENTARY_ETHUMB_CFLAGS"; then
16528 pkg_cv_ELEMENTARY_ETHUMB_CFLAGS="$ELEMENTARY_ETHUMB_CFLAGS"
16529 elif test -n "$PKG_CONFIG"; then
16530 if test -n "$PKG_CONFIG" && \
16531 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16534 ($PKG_CONFIG --exists --print-errors "
16538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16539 test $ac_status = 0; }; then
16540 pkg_cv_ELEMENTARY_ETHUMB_CFLAGS=`$PKG_CONFIG --cflags "
16543 test "x$?" != "x0" && pkg_failed=yes
16550 if test -n "$ELEMENTARY_ETHUMB_LIBS"; then
16551 pkg_cv_ELEMENTARY_ETHUMB_LIBS="$ELEMENTARY_ETHUMB_LIBS"
16552 elif test -n "$PKG_CONFIG"; then
16553 if test -n "$PKG_CONFIG" && \
16554 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16557 ($PKG_CONFIG --exists --print-errors "
16561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16562 test $ac_status = 0; }; then
16563 pkg_cv_ELEMENTARY_ETHUMB_LIBS=`$PKG_CONFIG --libs "
16566 test "x$?" != "x0" && pkg_failed=yes
16576 if test $pkg_failed = yes; then
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16578 $as_echo "no" >&6; }
16580 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16581 _pkg_short_errors_supported=yes
16583 _pkg_short_errors_supported=no
16585 if test $_pkg_short_errors_supported = yes; then
16586 ELEMENTARY_ETHUMB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16590 ELEMENTARY_ETHUMB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16594 # Put the nasty error message in config.log where it belongs
16595 echo "$ELEMENTARY_ETHUMB_PKG_ERRORS" >&5
16597 have_elementary_ethumb="no"
16599 elif test $pkg_failed = untried; then
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16601 $as_echo "no" >&6; }
16602 have_elementary_ethumb="no"
16605 ELEMENTARY_ETHUMB_CFLAGS=$pkg_cv_ELEMENTARY_ETHUMB_CFLAGS
16606 ELEMENTARY_ETHUMB_LIBS=$pkg_cv_ELEMENTARY_ETHUMB_LIBS
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16608 $as_echo "yes" >&6; }
16611 $as_echo "#define HAVE_ELEMENTARY_ETHUMB 1" >>confdefs.h
16613 have_elementary_ethumb="yes"
16614 ELM_ETHUMB_DEF="#define"
16615 requirement_elm="ethumb_client ${requirement_elm}"
16619 have_elementary_ethumb="no"
16621 if test "x$want_elementary_ethumb" = "xyes" -a "x$have_elementary_ethumb" = "xno"; then
16622 as_fn_error $? "Ethumb support requested, but no ethumb found by pkg-config." "$LINENO" 5
16626 ELM_WEB_DEF="#undef"
16627 have_elementary_web="no"
16628 want_elementary_web="auto"
16629 # Check whether --enable-web was given.
16630 if test "${enable_web+set}" = set; then :
16631 enableval=$enable_web; want_elementary_web=$enableval
16635 if test "x$want_elementary_web" != "xno"; then
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_WEB" >&5
16639 $as_echo_n "checking for ELEMENTARY_WEB... " >&6; }
16641 if test -n "$ELEMENTARY_WEB_CFLAGS"; then
16642 pkg_cv_ELEMENTARY_WEB_CFLAGS="$ELEMENTARY_WEB_CFLAGS"
16643 elif test -n "$PKG_CONFIG"; then
16644 if test -n "$PKG_CONFIG" && \
16645 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16648 ($PKG_CONFIG --exists --print-errors "
16652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16653 test $ac_status = 0; }; then
16654 pkg_cv_ELEMENTARY_WEB_CFLAGS=`$PKG_CONFIG --cflags "
16657 test "x$?" != "x0" && pkg_failed=yes
16664 if test -n "$ELEMENTARY_WEB_LIBS"; then
16665 pkg_cv_ELEMENTARY_WEB_LIBS="$ELEMENTARY_WEB_LIBS"
16666 elif test -n "$PKG_CONFIG"; then
16667 if test -n "$PKG_CONFIG" && \
16668 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16671 ($PKG_CONFIG --exists --print-errors "
16675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16676 test $ac_status = 0; }; then
16677 pkg_cv_ELEMENTARY_WEB_LIBS=`$PKG_CONFIG --libs "
16680 test "x$?" != "x0" && pkg_failed=yes
16690 if test $pkg_failed = yes; then
16691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16692 $as_echo "no" >&6; }
16694 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16695 _pkg_short_errors_supported=yes
16697 _pkg_short_errors_supported=no
16699 if test $_pkg_short_errors_supported = yes; then
16700 ELEMENTARY_WEB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16704 ELEMENTARY_WEB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16708 # Put the nasty error message in config.log where it belongs
16709 echo "$ELEMENTARY_WEB_PKG_ERRORS" >&5
16711 have_elementary_web="no"
16713 elif test $pkg_failed = untried; then
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16715 $as_echo "no" >&6; }
16716 have_elementary_web="no"
16719 ELEMENTARY_WEB_CFLAGS=$pkg_cv_ELEMENTARY_WEB_CFLAGS
16720 ELEMENTARY_WEB_LIBS=$pkg_cv_ELEMENTARY_WEB_LIBS
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16722 $as_echo "yes" >&6; }
16725 $as_echo "#define HAVE_ELEMENTARY_WEB 1" >>confdefs.h
16727 webkit_datadir=$($PKG_CONFIG ewebkit --variable=datadir)
16729 cat >>confdefs.h <<_ACEOF
16730 #define WEBKIT_DATADIR "$webkit_datadir"
16733 have_elementary_web="yes"
16734 ELM_WEB_DEF="#define"
16735 ## web_client? how about ewebkit? at least in current upstreak webkit
16736 ## there is no web_client.pc
16737 # requirement_elm="web_client ${requirement_elm}"
16738 requirement_elm="ewebkit ${requirement_elm}"
16742 have_elementary_web="no"
16744 if test "x$want_elementary_web" = "xyes" -a "x$have_elementary_web" = "xno"; then
16745 as_fn_error $? "Web support requested, but no ewebkit found by pkg-config." "$LINENO" 5
16749 ELM_DEBUG_DEF="#undef"
16750 want_elementary_debug="no"
16751 # Check whether --enable-debug was given.
16752 if test "${enable_debug+set}" = set; then :
16753 enableval=$enable_debug; want_elementary_debug=$enableval
16757 if test "x$want_elementary_debug" = "xyes"; then
16759 $as_echo "#define HAVE_ELEMENTARY_DEBUG 1" >>confdefs.h
16761 ELM_DEBUG_DEF="#define"
16765 ELM_ALLOCA_H_DEF="#undef"
16766 ac_fn_c_check_header_mongrel "$LINENO" "alloca.h" "ac_cv_header_alloca_h" "$ac_includes_default"
16767 if test "x$ac_cv_header_alloca_h" = xyes; then :
16768 ELM_ALLOCA_H_DEF="#define"
16774 ELM_LIBINTL_H_DEF="#undef"
16775 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16776 if test "x$ac_cv_header_libintl_h" = xyes; then :
16777 ELM_LIBINTL_H_DEF="#define"
16783 ELM_DIRENT_H_DEF="#undef"
16784 ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
16785 if test "x$ac_cv_header_dirent_h" = xyes; then :
16786 ELM_DIRENT_H_DEF="#define"
16792 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
16793 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
16800 if test "x${have_mman}" = "xyes"; then
16802 $as_echo "#define HAVE_MMAN_H 1" >>confdefs.h
16806 for ac_header in locale.h langinfo.h sys/times.h
16808 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16809 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16810 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16811 cat >>confdefs.h <<_ACEOF
16812 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16829 # Check whether --with-eet-eet was given.
16830 if test "${with_eet_eet+set}" = set; then :
16831 withval=$with_eet_eet; _efl_with_binary=${withval}
16833 _efl_with_binary=$(pkg-config --variable=prefix eet)/bin/eet
16837 eet_eet=${_efl_with_binary}
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: eet_eet set to ${_efl_with_binary}" >&5
16839 $as_echo "$as_me: eet_eet set to ${_efl_with_binary}" >&6;}
16841 with_binary_eet_eet=${_efl_with_binary}
16851 # Check whether --with-edje-cc was given.
16852 if test "${with_edje_cc+set}" = set; then :
16853 withval=$with_edje_cc; _efl_with_binary=${withval}
16855 _efl_with_binary=$(pkg-config --variable=prefix edje)/bin/edje_cc
16859 edje_cc=${_efl_with_binary}
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: edje_cc set to ${_efl_with_binary}" >&5
16861 $as_echo "$as_me: edje_cc set to ${_efl_with_binary}" >&6;}
16863 with_binary_edje_cc=${_efl_with_binary}
16871 # Check whether --enable-doc was given.
16872 if test "${enable_doc+set}" = set; then :
16873 enableval=$enable_doc;
16874 if test "x${enableval}" = "xyes" ; then
16875 efl_enable_doc="yes"
16877 efl_enable_doc="no"
16881 efl_enable_doc="yes"
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
16886 $as_echo_n "checking whether to build documentation... " >&6; }
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
16888 $as_echo "${efl_enable_doc}" >&6; }
16890 if test "x${efl_enable_doc}" = "xyes" ; then
16893 efl_doxygen="doxygen"
16896 # Check whether --with-doxygen was given.
16897 if test "${with_doxygen+set}" = set; then :
16898 withval=$with_doxygen; efl_doxygen=${withval}
16899 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
16900 set dummy ${efl_doxygen}; ac_word=$2
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16902 $as_echo_n "checking for $ac_word... " >&6; }
16903 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
16904 $as_echo_n "(cached) " >&6
16906 if test -n "$efl_have_doxygen"; then
16907 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
16909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16910 for as_dir in $PATH
16913 test -z "$as_dir" && as_dir=.
16914 for ac_exec_ext in '' $ac_executable_extensions; do
16915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16916 ac_cv_prog_efl_have_doxygen="yes"
16917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16924 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
16927 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
16928 if test -n "$efl_have_doxygen"; then
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
16930 $as_echo "$efl_have_doxygen" >&6; }
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16933 $as_echo "no" >&6; }
16937 if test "x${efl_have_doxygen}" = "xno" ; then
16939 echo "The doxygen program you specified:"
16940 echo "${efl_doxygen}"
16941 echo "was not found. Please check the path and make sure "
16942 echo "the program exists and is executable."
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
16944 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
16948 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
16949 set dummy ${efl_doxygen}; ac_word=$2
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16951 $as_echo_n "checking for $ac_word... " >&6; }
16952 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
16953 $as_echo_n "(cached) " >&6
16955 if test -n "$efl_have_doxygen"; then
16956 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
16958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16959 for as_dir in $PATH
16962 test -z "$as_dir" && as_dir=.
16963 for ac_exec_ext in '' $ac_executable_extensions; do
16964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16965 ac_cv_prog_efl_have_doxygen="yes"
16966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16973 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
16976 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
16977 if test -n "$efl_have_doxygen"; then
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
16979 $as_echo "$efl_have_doxygen" >&6; }
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16982 $as_echo "no" >&6; }
16986 if test "x${efl_have_doxygen}" = "xno" ; then
16988 echo "The doxygen program was not found in your execute path."
16989 echo "You may have doxygen installed somewhere not covered by your path."
16991 echo "If this is the case make sure you have the packages installed, AND"
16992 echo "that the doxygen program is in your execute path (see your"
16993 echo "shell manual page on setting the \$PATH environment variable), OR"
16994 echo "alternatively, specify the program to use with --with-doxygen."
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
16996 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
17005 if ! test "x${efl_have_doxygen}" = "xyes" ; then
17006 efl_enable_doc="no"
17009 if test "x${efl_enable_doc}" = "xyes"; then
17010 EFL_BUILD_DOC_TRUE=
17011 EFL_BUILD_DOC_FALSE='#'
17013 EFL_BUILD_DOC_TRUE='#'
17014 EFL_BUILD_DOC_FALSE=
17018 if test "x${efl_enable_doc}" = "xyes" ; then
17029 have_elementary_test="yes"
17032 # Check whether --enable-elementary-test was given.
17033 if test "${enable_elementary_test+set}" = set; then :
17034 enableval=$enable_elementary_test;
17035 if test "x${enableval}" = "xyes" ; then
17036 have_elementary_test="yes"
17038 have_elementary_test="no"
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build elementary_test binary" >&5
17045 $as_echo_n "checking whether to build elementary_test binary... " >&6; }
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_elementary_test" >&5
17047 $as_echo "$have_elementary_test" >&6; }
17049 if test "x$have_elementary_test" = "xyes"; then
17050 ELEMENTARY_TEST_PRG=elementary_test${EXEEXT}
17055 if test "x$have_elementary_test" = "xyes"; then
17056 BUILD_ELEMENTARY_TEST_TRUE=
17057 BUILD_ELEMENTARY_TEST_FALSE='#'
17059 BUILD_ELEMENTARY_TEST_TRUE='#'
17060 BUILD_ELEMENTARY_TEST_FALSE=
17064 if test "x$have_elementary_test" = "xyes"; then :
17072 have_elementary_config="yes"
17075 # Check whether --enable-elementary-config was given.
17076 if test "${enable_elementary_config+set}" = set; then :
17077 enableval=$enable_elementary_config;
17078 if test "x${enableval}" = "xyes" ; then
17079 have_elementary_config="yes"
17081 have_elementary_config="no"
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build elementary_config binary" >&5
17088 $as_echo_n "checking whether to build elementary_config binary... " >&6; }
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_elementary_config" >&5
17090 $as_echo "$have_elementary_config" >&6; }
17092 if test "x$have_elementary_config" = "xyes"; then
17093 ELEMENTARY_CONFIG_PRG=elementary_config${EXEEXT}
17098 if test "x$have_elementary_config" = "xyes"; then
17099 BUILD_ELEMENTARY_CONFIG_TRUE=
17100 BUILD_ELEMENTARY_CONFIG_FALSE='#'
17102 BUILD_ELEMENTARY_CONFIG_TRUE='#'
17103 BUILD_ELEMENTARY_CONFIG_FALSE=
17107 if test "x$have_elementary_config" = "xyes"; then :
17121 [\\/$]* | ?:[\\/]*) ;;
17122 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
17127 $as_echo_n "checking whether NLS is requested... " >&6; }
17128 # Check whether --enable-nls was given.
17129 if test "${enable_nls+set}" = set; then :
17130 enableval=$enable_nls; USE_NLS=$enableval
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17136 $as_echo "$USE_NLS" >&6; }
17141 GETTEXT_MACRO_VERSION=0.17
17146 # Prepare PATH_SEPARATOR.
17147 # The user is always right.
17148 if test "${PATH_SEPARATOR+set}" != set; then
17149 echo "#! /bin/sh" >conf$$.sh
17150 echo "exit 0" >>conf$$.sh
17152 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17160 # Find out how to test for executable files. Don't use a zero-byte file,
17161 # as systems may use methods other than mode bits to determine executability.
17162 cat >conf$$.file <<_ASEOF
17166 chmod +x conf$$.file
17167 if test -x conf$$.file >/dev/null 2>&1; then
17168 ac_executable_p="test -x"
17170 ac_executable_p="test -f"
17174 # Extract the first word of "msgfmt", so it can be a program name with args.
17175 set dummy msgfmt; ac_word=$2
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17177 $as_echo_n "checking for $ac_word... " >&6; }
17178 if ${ac_cv_path_MSGFMT+:} false; then :
17179 $as_echo_n "(cached) " >&6
17183 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
17186 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
17187 for ac_dir in $PATH; do
17189 test -z "$ac_dir" && ac_dir=.
17190 for ac_exec_ext in '' $ac_executable_extensions; do
17191 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
17192 echo "$as_me: trying $ac_dir/$ac_word..." >&5
17193 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
17194 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
17195 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
17202 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
17206 MSGFMT="$ac_cv_path_MSGFMT"
17207 if test "$MSGFMT" != ":"; then
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
17209 $as_echo "$MSGFMT" >&6; }
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17212 $as_echo "no" >&6; }
17215 # Extract the first word of "gmsgfmt", so it can be a program name with args.
17216 set dummy gmsgfmt; ac_word=$2
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17218 $as_echo_n "checking for $ac_word... " >&6; }
17219 if ${ac_cv_path_GMSGFMT+:} false; then :
17220 $as_echo_n "(cached) " >&6
17224 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
17227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17228 for as_dir in $PATH
17231 test -z "$as_dir" && as_dir=.
17232 for ac_exec_ext in '' $ac_executable_extensions; do
17233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17234 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
17235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17242 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
17246 GMSGFMT=$ac_cv_path_GMSGFMT
17247 if test -n "$GMSGFMT"; then
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
17249 $as_echo "$GMSGFMT" >&6; }
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17252 $as_echo "no" >&6; }
17257 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
17258 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
17259 *) MSGFMT_015=$MSGFMT ;;
17262 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
17263 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
17264 *) GMSGFMT_015=$GMSGFMT ;;
17269 # Prepare PATH_SEPARATOR.
17270 # The user is always right.
17271 if test "${PATH_SEPARATOR+set}" != set; then
17272 echo "#! /bin/sh" >conf$$.sh
17273 echo "exit 0" >>conf$$.sh
17275 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17283 # Find out how to test for executable files. Don't use a zero-byte file,
17284 # as systems may use methods other than mode bits to determine executability.
17285 cat >conf$$.file <<_ASEOF
17289 chmod +x conf$$.file
17290 if test -x conf$$.file >/dev/null 2>&1; then
17291 ac_executable_p="test -x"
17293 ac_executable_p="test -f"
17297 # Extract the first word of "xgettext", so it can be a program name with args.
17298 set dummy xgettext; ac_word=$2
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17300 $as_echo_n "checking for $ac_word... " >&6; }
17301 if ${ac_cv_path_XGETTEXT+:} false; then :
17302 $as_echo_n "(cached) " >&6
17304 case "$XGETTEXT" in
17306 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
17309 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
17310 for ac_dir in $PATH; do
17312 test -z "$ac_dir" && ac_dir=.
17313 for ac_exec_ext in '' $ac_executable_extensions; do
17314 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
17315 echo "$as_me: trying $ac_dir/$ac_word..." >&5
17316 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
17317 (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
17318 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
17325 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
17329 XGETTEXT="$ac_cv_path_XGETTEXT"
17330 if test "$XGETTEXT" != ":"; then
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
17332 $as_echo "$XGETTEXT" >&6; }
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17335 $as_echo "no" >&6; }
17340 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
17341 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
17342 *) XGETTEXT_015=$XGETTEXT ;;
17347 # Prepare PATH_SEPARATOR.
17348 # The user is always right.
17349 if test "${PATH_SEPARATOR+set}" != set; then
17350 echo "#! /bin/sh" >conf$$.sh
17351 echo "exit 0" >>conf$$.sh
17353 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17361 # Find out how to test for executable files. Don't use a zero-byte file,
17362 # as systems may use methods other than mode bits to determine executability.
17363 cat >conf$$.file <<_ASEOF
17367 chmod +x conf$$.file
17368 if test -x conf$$.file >/dev/null 2>&1; then
17369 ac_executable_p="test -x"
17371 ac_executable_p="test -f"
17375 # Extract the first word of "msgmerge", so it can be a program name with args.
17376 set dummy msgmerge; ac_word=$2
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17378 $as_echo_n "checking for $ac_word... " >&6; }
17379 if ${ac_cv_path_MSGMERGE+:} false; then :
17380 $as_echo_n "(cached) " >&6
17382 case "$MSGMERGE" in
17384 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
17387 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
17388 for ac_dir in $PATH; do
17390 test -z "$ac_dir" && ac_dir=.
17391 for ac_exec_ext in '' $ac_executable_extensions; do
17392 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
17393 echo "$as_me: trying $ac_dir/$ac_word..." >&5
17394 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
17395 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
17402 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
17406 MSGMERGE="$ac_cv_path_MSGMERGE"
17407 if test "$MSGMERGE" != ":"; then
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
17409 $as_echo "$MSGMERGE" >&6; }
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17412 $as_echo "no" >&6; }
17416 test -n "$localedir" || localedir='${datadir}/locale'
17419 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
17422 ac_config_commands="$ac_config_commands po-directories"
17426 if test "X$prefix" = "XNONE"; then
17427 acl_final_prefix="$ac_default_prefix"
17429 acl_final_prefix="$prefix"
17431 if test "X$exec_prefix" = "XNONE"; then
17432 acl_final_exec_prefix='${prefix}'
17434 acl_final_exec_prefix="$exec_prefix"
17436 acl_save_prefix="$prefix"
17437 prefix="$acl_final_prefix"
17438 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
17439 prefix="$acl_save_prefix"
17442 # Check whether --with-gnu-ld was given.
17443 if test "${with_gnu_ld+set}" = set; then :
17444 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17449 # Prepare PATH_SEPARATOR.
17450 # The user is always right.
17451 if test "${PATH_SEPARATOR+set}" != set; then
17452 echo "#! /bin/sh" >conf$$.sh
17453 echo "exit 0" >>conf$$.sh
17455 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17463 if test "$GCC" = yes; then
17464 # Check if gcc -print-prog-name=ld gives a path.
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
17466 $as_echo_n "checking for ld used by GCC... " >&6; }
17469 # gcc leaves a trailing carriage return which upsets mingw
17470 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17472 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17475 # Accept absolute paths.
17476 [\\/]* | [A-Za-z]:[\\/]*)
17477 re_direlt='/[^/][^/]*/\.\./'
17478 # Canonicalize the path of ld
17479 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
17480 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
17481 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
17483 test -z "$LD" && LD="$ac_prog"
17486 # If it fails, then pretend we aren't using GCC.
17490 # If it is relative, then search for the first ld in PATH.
17491 with_gnu_ld=unknown
17494 elif test "$with_gnu_ld" = yes; then
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17496 $as_echo_n "checking for GNU ld... " >&6; }
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17499 $as_echo_n "checking for non-GNU ld... " >&6; }
17501 if ${acl_cv_path_LD+:} false; then :
17502 $as_echo_n "(cached) " >&6
17504 if test -z "$LD"; then
17505 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
17506 for ac_dir in $PATH; do
17507 test -z "$ac_dir" && ac_dir=.
17508 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17509 acl_cv_path_LD="$ac_dir/$ac_prog"
17510 # Check to see if the program is GNU ld. I'd rather use --version,
17511 # but apparently some GNU ld's only accept -v.
17512 # Break only if it was the GNU/non-GNU ld that we prefer.
17513 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
17514 *GNU* | *'with BFD'*)
17515 test "$with_gnu_ld" != no && break ;;
17517 test "$with_gnu_ld" != yes && break ;;
17523 acl_cv_path_LD="$LD" # Let the user override the test with a path.
17527 LD="$acl_cv_path_LD"
17528 if test -n "$LD"; then
17529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17530 $as_echo "$LD" >&6; }
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17533 $as_echo "no" >&6; }
17535 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17537 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17538 if ${acl_cv_prog_gnu_ld+:} false; then :
17539 $as_echo_n "(cached) " >&6
17541 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
17542 case `$LD -v 2>&1 </dev/null` in
17543 *GNU* | *'with BFD'*)
17544 acl_cv_prog_gnu_ld=yes ;;
17546 acl_cv_prog_gnu_ld=no ;;
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
17550 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
17551 with_gnu_ld=$acl_cv_prog_gnu_ld
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
17557 $as_echo_n "checking for shared library run path origin... " >&6; }
17558 if ${acl_cv_rpath+:} false; then :
17559 $as_echo_n "(cached) " >&6
17562 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
17563 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
17565 rm -f ./conftest.sh
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
17570 $as_echo "$acl_cv_rpath" >&6; }
17572 acl_libext="$acl_cv_libext"
17573 acl_shlibext="$acl_cv_shlibext"
17574 acl_libname_spec="$acl_cv_libname_spec"
17575 acl_library_names_spec="$acl_cv_library_names_spec"
17576 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
17577 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
17578 acl_hardcode_direct="$acl_cv_hardcode_direct"
17579 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
17580 # Check whether --enable-rpath was given.
17581 if test "${enable_rpath+set}" = set; then :
17582 enableval=$enable_rpath; :
17590 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
17591 if test -n "$searchpath"; then
17592 acl_save_IFS="${IFS= }"; IFS=":"
17593 for searchdir in $searchpath; do
17594 if test -d "$searchdir"; then
17595 case "$searchdir" in
17596 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
17597 *) searchdir=`cd "$searchdir" && pwd`
17598 case "$searchdir" in
17599 */lib64 ) acl_libdirstem=lib64 ;;
17604 IFS="$acl_save_IFS"
17617 acl_save_prefix="$prefix"
17618 prefix="$acl_final_prefix"
17619 acl_save_exec_prefix="$exec_prefix"
17620 exec_prefix="$acl_final_exec_prefix"
17622 eval additional_includedir=\"$includedir\"
17623 eval additional_libdir=\"$libdir\"
17625 exec_prefix="$acl_save_exec_prefix"
17626 prefix="$acl_save_prefix"
17629 # Check whether --with-libiconv-prefix was given.
17630 if test "${with_libiconv_prefix+set}" = set; then :
17631 withval=$with_libiconv_prefix;
17632 if test "X$withval" = "Xno"; then
17635 if test "X$withval" = "X"; then
17637 acl_save_prefix="$prefix"
17638 prefix="$acl_final_prefix"
17639 acl_save_exec_prefix="$exec_prefix"
17640 exec_prefix="$acl_final_exec_prefix"
17642 eval additional_includedir=\"$includedir\"
17643 eval additional_libdir=\"$libdir\"
17645 exec_prefix="$acl_save_exec_prefix"
17646 prefix="$acl_save_prefix"
17649 additional_includedir="$withval/include"
17650 additional_libdir="$withval/$acl_libdirstem"
17662 names_already_handled=
17663 names_next_round='iconv '
17664 while test -n "$names_next_round"; do
17665 names_this_round="$names_next_round"
17667 for name in $names_this_round; do
17669 for n in $names_already_handled; do
17670 if test "$n" = "$name"; then
17671 already_handled=yes
17675 if test -z "$already_handled"; then
17676 names_already_handled="$names_already_handled $name"
17677 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17678 eval value=\"\$HAVE_LIB$uppername\"
17679 if test -n "$value"; then
17680 if test "$value" = yes; then
17681 eval value=\"\$LIB$uppername\"
17682 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
17683 eval value=\"\$LTLIB$uppername\"
17684 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
17693 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
17694 if test -n "$acl_shlibext"; then
17695 shrext=".$acl_shlibext" # typically: shrext=.so
17699 if test $use_additional = yes; then
17700 dir="$additional_libdir"
17701 if test -n "$acl_shlibext"; then
17702 if test -f "$dir/$libname$shrext"; then
17704 found_so="$dir/$libname$shrext"
17706 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17707 ver=`(cd "$dir" && \
17708 for f in "$libname$shrext".*; do echo "$f"; done \
17709 | sed -e "s,^$libname$shrext\\\\.,," \
17710 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17711 | sed 1q ) 2>/dev/null`
17712 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17714 found_so="$dir/$libname$shrext.$ver"
17717 eval library_names=\"$acl_library_names_spec\"
17718 for f in $library_names; do
17719 if test -f "$dir/$f"; then
17728 if test "X$found_dir" = "X"; then
17729 if test -f "$dir/$libname.$acl_libext"; then
17731 found_a="$dir/$libname.$acl_libext"
17734 if test "X$found_dir" != "X"; then
17735 if test -f "$dir/$libname.la"; then
17736 found_la="$dir/$libname.la"
17740 if test "X$found_dir" = "X"; then
17741 for x in $LDFLAGS $LTLIBICONV; do
17743 acl_save_prefix="$prefix"
17744 prefix="$acl_final_prefix"
17745 acl_save_exec_prefix="$exec_prefix"
17746 exec_prefix="$acl_final_exec_prefix"
17748 exec_prefix="$acl_save_exec_prefix"
17749 prefix="$acl_save_prefix"
17753 dir=`echo "X$x" | sed -e 's/^X-L//'`
17754 if test -n "$acl_shlibext"; then
17755 if test -f "$dir/$libname$shrext"; then
17757 found_so="$dir/$libname$shrext"
17759 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17760 ver=`(cd "$dir" && \
17761 for f in "$libname$shrext".*; do echo "$f"; done \
17762 | sed -e "s,^$libname$shrext\\\\.,," \
17763 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17764 | sed 1q ) 2>/dev/null`
17765 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17767 found_so="$dir/$libname$shrext.$ver"
17770 eval library_names=\"$acl_library_names_spec\"
17771 for f in $library_names; do
17772 if test -f "$dir/$f"; then
17781 if test "X$found_dir" = "X"; then
17782 if test -f "$dir/$libname.$acl_libext"; then
17784 found_a="$dir/$libname.$acl_libext"
17787 if test "X$found_dir" != "X"; then
17788 if test -f "$dir/$libname.la"; then
17789 found_la="$dir/$libname.la"
17794 if test "X$found_dir" != "X"; then
17799 if test "X$found_dir" != "X"; then
17800 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
17801 if test "X$found_so" != "X"; then
17802 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
17803 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17806 for x in $ltrpathdirs; do
17807 if test "X$x" = "X$found_dir"; then
17812 if test -z "$haveit"; then
17813 ltrpathdirs="$ltrpathdirs $found_dir"
17815 if test "$acl_hardcode_direct" = yes; then
17816 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17818 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
17819 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17821 for x in $rpathdirs; do
17822 if test "X$x" = "X$found_dir"; then
17827 if test -z "$haveit"; then
17828 rpathdirs="$rpathdirs $found_dir"
17832 for x in $LDFLAGS $LIBICONV; do
17834 acl_save_prefix="$prefix"
17835 prefix="$acl_final_prefix"
17836 acl_save_exec_prefix="$exec_prefix"
17837 exec_prefix="$acl_final_exec_prefix"
17839 exec_prefix="$acl_save_exec_prefix"
17840 prefix="$acl_save_prefix"
17842 if test "X$x" = "X-L$found_dir"; then
17847 if test -z "$haveit"; then
17848 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
17850 if test "$acl_hardcode_minus_L" != no; then
17851 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17853 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
17859 if test "X$found_a" != "X"; then
17860 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
17862 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
17865 additional_includedir=
17866 case "$found_dir" in
17867 */$acl_libdirstem | */$acl_libdirstem/)
17868 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
17869 LIBICONV_PREFIX="$basedir"
17870 additional_includedir="$basedir/include"
17873 if test "X$additional_includedir" != "X"; then
17874 if test "X$additional_includedir" != "X/usr/include"; then
17876 if test "X$additional_includedir" = "X/usr/local/include"; then
17877 if test -n "$GCC"; then
17879 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17883 if test -z "$haveit"; then
17884 for x in $CPPFLAGS $INCICONV; do
17886 acl_save_prefix="$prefix"
17887 prefix="$acl_final_prefix"
17888 acl_save_exec_prefix="$exec_prefix"
17889 exec_prefix="$acl_final_exec_prefix"
17891 exec_prefix="$acl_save_exec_prefix"
17892 prefix="$acl_save_prefix"
17894 if test "X$x" = "X-I$additional_includedir"; then
17899 if test -z "$haveit"; then
17900 if test -d "$additional_includedir"; then
17901 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
17907 if test -n "$found_la"; then
17908 save_libdir="$libdir"
17909 case "$found_la" in
17910 */* | *\\*) . "$found_la" ;;
17911 *) . "./$found_la" ;;
17913 libdir="$save_libdir"
17914 for dep in $dependency_libs; do
17917 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
17918 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
17920 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
17921 if test -n "$GCC"; then
17923 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17927 if test -z "$haveit"; then
17929 for x in $LDFLAGS $LIBICONV; do
17931 acl_save_prefix="$prefix"
17932 prefix="$acl_final_prefix"
17933 acl_save_exec_prefix="$exec_prefix"
17934 exec_prefix="$acl_final_exec_prefix"
17936 exec_prefix="$acl_save_exec_prefix"
17937 prefix="$acl_save_prefix"
17939 if test "X$x" = "X-L$additional_libdir"; then
17944 if test -z "$haveit"; then
17945 if test -d "$additional_libdir"; then
17946 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
17950 for x in $LDFLAGS $LTLIBICONV; do
17952 acl_save_prefix="$prefix"
17953 prefix="$acl_final_prefix"
17954 acl_save_exec_prefix="$exec_prefix"
17955 exec_prefix="$acl_final_exec_prefix"
17957 exec_prefix="$acl_save_exec_prefix"
17958 prefix="$acl_save_prefix"
17960 if test "X$x" = "X-L$additional_libdir"; then
17965 if test -z "$haveit"; then
17966 if test -d "$additional_libdir"; then
17967 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
17974 dir=`echo "X$dep" | sed -e 's/^X-R//'`
17975 if test "$enable_rpath" != no; then
17977 for x in $rpathdirs; do
17978 if test "X$x" = "X$dir"; then
17983 if test -z "$haveit"; then
17984 rpathdirs="$rpathdirs $dir"
17987 for x in $ltrpathdirs; do
17988 if test "X$x" = "X$dir"; then
17993 if test -z "$haveit"; then
17994 ltrpathdirs="$ltrpathdirs $dir"
17999 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18002 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18005 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
18006 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
18012 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18013 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
18019 if test "X$rpathdirs" != "X"; then
18020 if test -n "$acl_hardcode_libdir_separator"; then
18022 for found_dir in $rpathdirs; do
18023 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18025 acl_save_libdir="$libdir"
18027 eval flag=\"$acl_hardcode_libdir_flag_spec\"
18028 libdir="$acl_save_libdir"
18029 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18031 for found_dir in $rpathdirs; do
18032 acl_save_libdir="$libdir"
18033 libdir="$found_dir"
18034 eval flag=\"$acl_hardcode_libdir_flag_spec\"
18035 libdir="$acl_save_libdir"
18036 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18040 if test "X$ltrpathdirs" != "X"; then
18041 for found_dir in $ltrpathdirs; do
18042 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
18071 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
18072 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
18073 $as_echo_n "(cached) " >&6
18075 gt_save_LIBS="$LIBS"
18076 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
18077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18078 /* end confdefs.h. */
18079 #include <CoreFoundation/CFPreferences.h>
18083 CFPreferencesCopyAppValue(NULL, NULL)
18088 if ac_fn_c_try_link "$LINENO"; then :
18089 gt_cv_func_CFPreferencesCopyAppValue=yes
18091 gt_cv_func_CFPreferencesCopyAppValue=no
18093 rm -f core conftest.err conftest.$ac_objext \
18094 conftest$ac_exeext conftest.$ac_ext
18095 LIBS="$gt_save_LIBS"
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
18098 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
18099 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
18101 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
18105 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
18106 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
18107 $as_echo_n "(cached) " >&6
18109 gt_save_LIBS="$LIBS"
18110 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
18111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18112 /* end confdefs.h. */
18113 #include <CoreFoundation/CFLocale.h>
18117 CFLocaleCopyCurrent();
18122 if ac_fn_c_try_link "$LINENO"; then :
18123 gt_cv_func_CFLocaleCopyCurrent=yes
18125 gt_cv_func_CFLocaleCopyCurrent=no
18127 rm -f core conftest.err conftest.$ac_objext \
18128 conftest$ac_exeext conftest.$ac_ext
18129 LIBS="$gt_save_LIBS"
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
18132 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
18133 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
18135 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
18139 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
18140 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
18152 case " $gt_needs " in
18153 *" need-formatstring-macros "*) gt_api_version=3 ;;
18154 *" need-ngettext "*) gt_api_version=2 ;;
18155 *) gt_api_version=1 ;;
18157 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
18158 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
18160 if test "$USE_NLS" = "yes"; then
18161 gt_use_preinstalled_gnugettext=no
18164 if test $gt_api_version -ge 3; then
18165 gt_revision_test_code='
18166 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
18167 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
18169 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
18172 gt_revision_test_code=
18174 if test $gt_api_version -ge 2; then
18175 gt_expression_test_code=' + * ngettext ("", "", 0)'
18177 gt_expression_test_code=
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
18181 $as_echo_n "checking for GNU gettext in libc... " >&6; }
18182 if eval \${$gt_func_gnugettext_libc+:} false; then :
18183 $as_echo_n "(cached) " >&6
18185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18186 /* end confdefs.h. */
18187 #include <libintl.h>
18188 $gt_revision_test_code
18189 extern int _nl_msg_cat_cntr;
18190 extern int *_nl_domain_bindings;
18194 bindtextdomain ("", "");
18195 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
18200 if ac_fn_c_try_link "$LINENO"; then :
18201 eval "$gt_func_gnugettext_libc=yes"
18203 eval "$gt_func_gnugettext_libc=no"
18205 rm -f core conftest.err conftest.$ac_objext \
18206 conftest$ac_exeext conftest.$ac_ext
18208 eval ac_res=\$$gt_func_gnugettext_libc
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18210 $as_echo "$ac_res" >&6; }
18212 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
18218 am_save_CPPFLAGS="$CPPFLAGS"
18220 for element in $INCICONV; do
18222 for x in $CPPFLAGS; do
18224 acl_save_prefix="$prefix"
18225 prefix="$acl_final_prefix"
18226 acl_save_exec_prefix="$exec_prefix"
18227 exec_prefix="$acl_final_exec_prefix"
18229 exec_prefix="$acl_save_exec_prefix"
18230 prefix="$acl_save_prefix"
18232 if test "X$x" = "X$element"; then
18237 if test -z "$haveit"; then
18238 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
18243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
18244 $as_echo_n "checking for iconv... " >&6; }
18245 if ${am_cv_func_iconv+:} false; then :
18246 $as_echo_n "(cached) " >&6
18249 am_cv_func_iconv="no, consider installing GNU libiconv"
18251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18252 /* end confdefs.h. */
18253 #include <stdlib.h>
18258 iconv_t cd = iconv_open("","");
18259 iconv(cd,NULL,NULL,NULL,NULL);
18265 if ac_fn_c_try_link "$LINENO"; then :
18266 am_cv_func_iconv=yes
18268 rm -f core conftest.err conftest.$ac_objext \
18269 conftest$ac_exeext conftest.$ac_ext
18270 if test "$am_cv_func_iconv" != yes; then
18271 am_save_LIBS="$LIBS"
18272 LIBS="$LIBS $LIBICONV"
18273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18274 /* end confdefs.h. */
18275 #include <stdlib.h>
18280 iconv_t cd = iconv_open("","");
18281 iconv(cd,NULL,NULL,NULL,NULL);
18287 if ac_fn_c_try_link "$LINENO"; then :
18288 am_cv_lib_iconv=yes
18289 am_cv_func_iconv=yes
18291 rm -f core conftest.err conftest.$ac_objext \
18292 conftest$ac_exeext conftest.$ac_ext
18293 LIBS="$am_save_LIBS"
18297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
18298 $as_echo "$am_cv_func_iconv" >&6; }
18299 if test "$am_cv_func_iconv" = yes; then
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
18301 $as_echo_n "checking for working iconv... " >&6; }
18302 if ${am_cv_func_iconv_works+:} false; then :
18303 $as_echo_n "(cached) " >&6
18306 am_save_LIBS="$LIBS"
18307 if test $am_cv_lib_iconv = yes; then
18308 LIBS="$LIBS $LIBICONV"
18310 if test "$cross_compiling" = yes; then :
18312 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
18313 *) am_cv_func_iconv_works="guessing yes" ;;
18316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18317 /* end confdefs.h. */
18320 #include <string.h>
18323 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
18326 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
18327 if (cd_utf8_to_88591 != (iconv_t)(-1))
18329 static const char input[] = "\342\202\254"; /* EURO SIGN */
18331 const char *inptr = input;
18332 size_t inbytesleft = strlen (input);
18333 char *outptr = buf;
18334 size_t outbytesleft = sizeof (buf);
18335 size_t res = iconv (cd_utf8_to_88591,
18336 (char **) &inptr, &inbytesleft,
18337 &outptr, &outbytesleft);
18342 #if 0 /* This bug could be worked around by the caller. */
18343 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
18345 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
18346 if (cd_88591_to_utf8 != (iconv_t)(-1))
18348 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
18350 const char *inptr = input;
18351 size_t inbytesleft = strlen (input);
18352 char *outptr = buf;
18353 size_t outbytesleft = sizeof (buf);
18354 size_t res = iconv (cd_88591_to_utf8,
18355 (char **) &inptr, &inbytesleft,
18356 &outptr, &outbytesleft);
18362 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
18364 if (/* Try standardized names. */
18365 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
18366 /* Try IRIX, OSF/1 names. */
18367 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
18368 /* Try AIX names. */
18369 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
18370 /* Try HP-UX names. */
18371 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
18376 if ac_fn_c_try_run "$LINENO"; then :
18377 am_cv_func_iconv_works=yes
18379 am_cv_func_iconv_works=no
18381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18382 conftest.$ac_objext conftest.beam conftest.$ac_ext
18385 LIBS="$am_save_LIBS"
18388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
18389 $as_echo "$am_cv_func_iconv_works" >&6; }
18390 case "$am_cv_func_iconv_works" in
18391 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
18392 *) am_func_iconv=yes ;;
18395 am_func_iconv=no am_cv_lib_iconv=no
18397 if test "$am_func_iconv" = yes; then
18399 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
18402 if test "$am_cv_lib_iconv" = yes; then
18403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
18404 $as_echo_n "checking how to link with libiconv... " >&6; }
18405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18406 $as_echo "$LIBICONV" >&6; }
18408 CPPFLAGS="$am_save_CPPFLAGS"
18422 acl_save_prefix="$prefix"
18423 prefix="$acl_final_prefix"
18424 acl_save_exec_prefix="$exec_prefix"
18425 exec_prefix="$acl_final_exec_prefix"
18427 eval additional_includedir=\"$includedir\"
18428 eval additional_libdir=\"$libdir\"
18430 exec_prefix="$acl_save_exec_prefix"
18431 prefix="$acl_save_prefix"
18434 # Check whether --with-libintl-prefix was given.
18435 if test "${with_libintl_prefix+set}" = set; then :
18436 withval=$with_libintl_prefix;
18437 if test "X$withval" = "Xno"; then
18440 if test "X$withval" = "X"; then
18442 acl_save_prefix="$prefix"
18443 prefix="$acl_final_prefix"
18444 acl_save_exec_prefix="$exec_prefix"
18445 exec_prefix="$acl_final_exec_prefix"
18447 eval additional_includedir=\"$includedir\"
18448 eval additional_libdir=\"$libdir\"
18450 exec_prefix="$acl_save_exec_prefix"
18451 prefix="$acl_save_prefix"
18454 additional_includedir="$withval/include"
18455 additional_libdir="$withval/$acl_libdirstem"
18467 names_already_handled=
18468 names_next_round='intl '
18469 while test -n "$names_next_round"; do
18470 names_this_round="$names_next_round"
18472 for name in $names_this_round; do
18474 for n in $names_already_handled; do
18475 if test "$n" = "$name"; then
18476 already_handled=yes
18480 if test -z "$already_handled"; then
18481 names_already_handled="$names_already_handled $name"
18482 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18483 eval value=\"\$HAVE_LIB$uppername\"
18484 if test -n "$value"; then
18485 if test "$value" = yes; then
18486 eval value=\"\$LIB$uppername\"
18487 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
18488 eval value=\"\$LTLIB$uppername\"
18489 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
18498 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
18499 if test -n "$acl_shlibext"; then
18500 shrext=".$acl_shlibext" # typically: shrext=.so
18504 if test $use_additional = yes; then
18505 dir="$additional_libdir"
18506 if test -n "$acl_shlibext"; then
18507 if test -f "$dir/$libname$shrext"; then
18509 found_so="$dir/$libname$shrext"
18511 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18512 ver=`(cd "$dir" && \
18513 for f in "$libname$shrext".*; do echo "$f"; done \
18514 | sed -e "s,^$libname$shrext\\\\.,," \
18515 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18516 | sed 1q ) 2>/dev/null`
18517 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18519 found_so="$dir/$libname$shrext.$ver"
18522 eval library_names=\"$acl_library_names_spec\"
18523 for f in $library_names; do
18524 if test -f "$dir/$f"; then
18533 if test "X$found_dir" = "X"; then
18534 if test -f "$dir/$libname.$acl_libext"; then
18536 found_a="$dir/$libname.$acl_libext"
18539 if test "X$found_dir" != "X"; then
18540 if test -f "$dir/$libname.la"; then
18541 found_la="$dir/$libname.la"
18545 if test "X$found_dir" = "X"; then
18546 for x in $LDFLAGS $LTLIBINTL; do
18548 acl_save_prefix="$prefix"
18549 prefix="$acl_final_prefix"
18550 acl_save_exec_prefix="$exec_prefix"
18551 exec_prefix="$acl_final_exec_prefix"
18553 exec_prefix="$acl_save_exec_prefix"
18554 prefix="$acl_save_prefix"
18558 dir=`echo "X$x" | sed -e 's/^X-L//'`
18559 if test -n "$acl_shlibext"; then
18560 if test -f "$dir/$libname$shrext"; then
18562 found_so="$dir/$libname$shrext"
18564 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18565 ver=`(cd "$dir" && \
18566 for f in "$libname$shrext".*; do echo "$f"; done \
18567 | sed -e "s,^$libname$shrext\\\\.,," \
18568 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18569 | sed 1q ) 2>/dev/null`
18570 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18572 found_so="$dir/$libname$shrext.$ver"
18575 eval library_names=\"$acl_library_names_spec\"
18576 for f in $library_names; do
18577 if test -f "$dir/$f"; then
18586 if test "X$found_dir" = "X"; then
18587 if test -f "$dir/$libname.$acl_libext"; then
18589 found_a="$dir/$libname.$acl_libext"
18592 if test "X$found_dir" != "X"; then
18593 if test -f "$dir/$libname.la"; then
18594 found_la="$dir/$libname.la"
18599 if test "X$found_dir" != "X"; then
18604 if test "X$found_dir" != "X"; then
18605 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
18606 if test "X$found_so" != "X"; then
18607 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
18608 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18611 for x in $ltrpathdirs; do
18612 if test "X$x" = "X$found_dir"; then
18617 if test -z "$haveit"; then
18618 ltrpathdirs="$ltrpathdirs $found_dir"
18620 if test "$acl_hardcode_direct" = yes; then
18621 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18623 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18624 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18626 for x in $rpathdirs; do
18627 if test "X$x" = "X$found_dir"; then
18632 if test -z "$haveit"; then
18633 rpathdirs="$rpathdirs $found_dir"
18637 for x in $LDFLAGS $LIBINTL; do
18639 acl_save_prefix="$prefix"
18640 prefix="$acl_final_prefix"
18641 acl_save_exec_prefix="$exec_prefix"
18642 exec_prefix="$acl_final_exec_prefix"
18644 exec_prefix="$acl_save_exec_prefix"
18645 prefix="$acl_save_prefix"
18647 if test "X$x" = "X-L$found_dir"; then
18652 if test -z "$haveit"; then
18653 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
18655 if test "$acl_hardcode_minus_L" != no; then
18656 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18658 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
18664 if test "X$found_a" != "X"; then
18665 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
18667 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
18670 additional_includedir=
18671 case "$found_dir" in
18672 */$acl_libdirstem | */$acl_libdirstem/)
18673 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18674 LIBINTL_PREFIX="$basedir"
18675 additional_includedir="$basedir/include"
18678 if test "X$additional_includedir" != "X"; then
18679 if test "X$additional_includedir" != "X/usr/include"; then
18681 if test "X$additional_includedir" = "X/usr/local/include"; then
18682 if test -n "$GCC"; then
18684 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18688 if test -z "$haveit"; then
18689 for x in $CPPFLAGS $INCINTL; do
18691 acl_save_prefix="$prefix"
18692 prefix="$acl_final_prefix"
18693 acl_save_exec_prefix="$exec_prefix"
18694 exec_prefix="$acl_final_exec_prefix"
18696 exec_prefix="$acl_save_exec_prefix"
18697 prefix="$acl_save_prefix"
18699 if test "X$x" = "X-I$additional_includedir"; then
18704 if test -z "$haveit"; then
18705 if test -d "$additional_includedir"; then
18706 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
18712 if test -n "$found_la"; then
18713 save_libdir="$libdir"
18714 case "$found_la" in
18715 */* | *\\*) . "$found_la" ;;
18716 *) . "./$found_la" ;;
18718 libdir="$save_libdir"
18719 for dep in $dependency_libs; do
18722 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18723 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
18725 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
18726 if test -n "$GCC"; then
18728 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18732 if test -z "$haveit"; then
18734 for x in $LDFLAGS $LIBINTL; do
18736 acl_save_prefix="$prefix"
18737 prefix="$acl_final_prefix"
18738 acl_save_exec_prefix="$exec_prefix"
18739 exec_prefix="$acl_final_exec_prefix"
18741 exec_prefix="$acl_save_exec_prefix"
18742 prefix="$acl_save_prefix"
18744 if test "X$x" = "X-L$additional_libdir"; then
18749 if test -z "$haveit"; then
18750 if test -d "$additional_libdir"; then
18751 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
18755 for x in $LDFLAGS $LTLIBINTL; do
18757 acl_save_prefix="$prefix"
18758 prefix="$acl_final_prefix"
18759 acl_save_exec_prefix="$exec_prefix"
18760 exec_prefix="$acl_final_exec_prefix"
18762 exec_prefix="$acl_save_exec_prefix"
18763 prefix="$acl_save_prefix"
18765 if test "X$x" = "X-L$additional_libdir"; then
18770 if test -z "$haveit"; then
18771 if test -d "$additional_libdir"; then
18772 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
18779 dir=`echo "X$dep" | sed -e 's/^X-R//'`
18780 if test "$enable_rpath" != no; then
18782 for x in $rpathdirs; do
18783 if test "X$x" = "X$dir"; then
18788 if test -z "$haveit"; then
18789 rpathdirs="$rpathdirs $dir"
18792 for x in $ltrpathdirs; do
18793 if test "X$x" = "X$dir"; then
18798 if test -z "$haveit"; then
18799 ltrpathdirs="$ltrpathdirs $dir"
18804 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18807 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18810 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
18811 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
18817 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
18818 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
18824 if test "X$rpathdirs" != "X"; then
18825 if test -n "$acl_hardcode_libdir_separator"; then
18827 for found_dir in $rpathdirs; do
18828 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18830 acl_save_libdir="$libdir"
18832 eval flag=\"$acl_hardcode_libdir_flag_spec\"
18833 libdir="$acl_save_libdir"
18834 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
18836 for found_dir in $rpathdirs; do
18837 acl_save_libdir="$libdir"
18838 libdir="$found_dir"
18839 eval flag=\"$acl_hardcode_libdir_flag_spec\"
18840 libdir="$acl_save_libdir"
18841 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
18845 if test "X$ltrpathdirs" != "X"; then
18846 for found_dir in $ltrpathdirs; do
18847 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
18852 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
18853 if eval \${$gt_func_gnugettext_libintl+:} false; then :
18854 $as_echo_n "(cached) " >&6
18856 gt_save_CPPFLAGS="$CPPFLAGS"
18857 CPPFLAGS="$CPPFLAGS $INCINTL"
18858 gt_save_LIBS="$LIBS"
18859 LIBS="$LIBS $LIBINTL"
18860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18861 /* end confdefs.h. */
18862 #include <libintl.h>
18863 $gt_revision_test_code
18864 extern int _nl_msg_cat_cntr;
18869 const char *_nl_expand_alias (const char *);
18873 bindtextdomain ("", "");
18874 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
18879 if ac_fn_c_try_link "$LINENO"; then :
18880 eval "$gt_func_gnugettext_libintl=yes"
18882 eval "$gt_func_gnugettext_libintl=no"
18884 rm -f core conftest.err conftest.$ac_objext \
18885 conftest$ac_exeext conftest.$ac_ext
18886 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
18887 LIBS="$LIBS $LIBICONV"
18888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18889 /* end confdefs.h. */
18890 #include <libintl.h>
18891 $gt_revision_test_code
18892 extern int _nl_msg_cat_cntr;
18897 const char *_nl_expand_alias (const char *);
18901 bindtextdomain ("", "");
18902 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
18907 if ac_fn_c_try_link "$LINENO"; then :
18908 LIBINTL="$LIBINTL $LIBICONV"
18909 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
18910 eval "$gt_func_gnugettext_libintl=yes"
18913 rm -f core conftest.err conftest.$ac_objext \
18914 conftest$ac_exeext conftest.$ac_ext
18916 CPPFLAGS="$gt_save_CPPFLAGS"
18917 LIBS="$gt_save_LIBS"
18919 eval ac_res=\$$gt_func_gnugettext_libintl
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18921 $as_echo "$ac_res" >&6; }
18924 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
18925 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
18926 && test "$PACKAGE" != gettext-runtime \
18927 && test "$PACKAGE" != gettext-tools; }; then
18928 gt_use_preinstalled_gnugettext=yes
18937 if test -n "$INTL_MACOSX_LIBS"; then
18938 if test "$gt_use_preinstalled_gnugettext" = "yes" \
18939 || test "$nls_cv_use_gnu_gettext" = "yes"; then
18940 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
18941 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
18945 if test "$gt_use_preinstalled_gnugettext" = "yes" \
18946 || test "$nls_cv_use_gnu_gettext" = "yes"; then
18948 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
18955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
18956 $as_echo_n "checking whether to use NLS... " >&6; }
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
18958 $as_echo "$USE_NLS" >&6; }
18959 if test "$USE_NLS" = "yes"; then
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
18961 $as_echo_n "checking where the gettext function comes from... " >&6; }
18962 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
18963 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
18964 gt_source="external libintl"
18969 gt_source="included intl directory"
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
18972 $as_echo "$gt_source" >&6; }
18975 if test "$USE_NLS" = "yes"; then
18977 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
18978 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
18979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
18980 $as_echo_n "checking how to link with libintl... " >&6; }
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
18982 $as_echo "$LIBINTL" >&6; }
18984 for element in $INCINTL; do
18986 for x in $CPPFLAGS; do
18988 acl_save_prefix="$prefix"
18989 prefix="$acl_final_prefix"
18990 acl_save_exec_prefix="$exec_prefix"
18991 exec_prefix="$acl_final_exec_prefix"
18993 exec_prefix="$acl_save_exec_prefix"
18994 prefix="$acl_save_prefix"
18996 if test "X$x" = "X$element"; then
19001 if test -z "$haveit"; then
19002 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
19009 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
19012 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
19021 INTLLIBS="$LIBINTL"
19028 po_makefile_in=po/Makefile.in
19033 if test "x${POSUB}" = "x" ; then
19037 if test "x${have_po}" = "xyes"; then
19050 ac_cpp='$CPP $CPPFLAGS'
19051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
19057 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
19058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19059 /* end confdefs.h. */
19061 #include <limits.h>
19073 if ac_fn_c_try_compile "$LINENO"; then :
19074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19075 $as_echo "yes" >&6; }
19079 cat >>confdefs.h <<_ACEOF
19080 #define PATH_MAX ${default_max}
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
19084 $as_echo "no: using ${default_max}" >&6; }
19087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19090 ac_cpp='$CPP $CPPFLAGS'
19091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19098 elementary_base_dir=".elementary"
19100 # Check whether --with-elementary-base-dir was given.
19101 if test "${with_elementary_base_dir+set}" = set; then :
19102 withval=$with_elementary_base_dir; elementary_base_dir=${withval}
19104 elementary_base_dir=".elementary"
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: ELEMENTARY_BASE_DIR set to ${elementary_base_dir}" >&5
19109 $as_echo "$as_me: ELEMENTARY_BASE_DIR set to ${elementary_base_dir}" >&6;}
19111 cat >>confdefs.h <<_ACEOF
19112 #define ELEMENTARY_BASE_DIR "${elementary_base_dir}"
19116 ### Build and install examples
19120 # Check whether --enable-build-examples was given.
19121 if test "${enable_build_examples+set}" = set; then :
19122 enableval=$enable_build_examples;
19123 if test "x${enableval}" = "xyes" ; then
19124 _efl_enable_build_examples="yes"
19126 _efl_enable_build_examples="no"
19130 _efl_enable_build_examples="no"
19134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are built" >&5
19135 $as_echo_n "checking whether examples are built... " >&6; }
19136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_build_examples}" >&5
19137 $as_echo "${_efl_enable_build_examples}" >&6; }
19139 if test "x${_efl_enable_build_examples}" = "xyes"; then
19140 EFL_BUILD_EXAMPLES_TRUE=
19141 EFL_BUILD_EXAMPLES_FALSE='#'
19143 EFL_BUILD_EXAMPLES_TRUE='#'
19144 EFL_BUILD_EXAMPLES_FALSE=
19148 if test "x$_efl_enable_build_examples" = "xyes"; then :
19149 enable_build_examples="yes"
19151 enable_build_examples="no"
19157 # Check whether --enable-install-examples was given.
19158 if test "${enable_install_examples+set}" = set; then :
19159 enableval=$enable_install_examples;
19160 if test "x${enableval}" = "xyes" ; then
19161 _efl_enable_install_examples="yes"
19163 _efl_enable_install_examples="no"
19167 _efl_enable_install_examples="no"
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are installed" >&5
19172 $as_echo_n "checking whether examples are installed... " >&6; }
19173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_install_examples}" >&5
19174 $as_echo "${_efl_enable_install_examples}" >&6; }
19176 if test "x${_efl_enable_install_examples}" = "xyes"; then
19177 EFL_INSTALL_EXAMPLES_TRUE=
19178 EFL_INSTALL_EXAMPLES_FALSE='#'
19180 EFL_INSTALL_EXAMPLES_TRUE='#'
19181 EFL_INSTALL_EXAMPLES_FALSE=
19185 if test "x$_efl_enable_install_examples" = "xyes"; then :
19186 enable_install_examples="yes"
19188 enable_install_examples="no"
19192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19193 /* end confdefs.h. */
19195 # define _GNU_SOURCE 1
19196 #include <unistd.h>
19202 extern char **environ;
19208 if ac_fn_c_try_compile "$LINENO"; then :
19211 $as_echo "#define HAVE_ENVIRON 1" >>confdefs.h
19215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19218 /* end confdefs.h. */
19220 #include <stdlib.h>
19232 if ac_fn_c_try_compile "$LINENO"; then :
19235 $as_echo "#define HAVE_CLEARENV 1" >>confdefs.h
19239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19241 ac_config_files="$ac_config_files Makefile elementary.spec elementary.pc doc/Makefile doc/Doxyfile doc/widgets/Makefile src/Makefile src/lib/Makefile src/lib/Elementary.h src/bin/Makefile src/modules/Makefile src/modules/access_output/Makefile src/modules/datetime_input_ctxpopup/Makefile src/modules/test_entry/Makefile src/modules/test_map/Makefile src/edje_externals/Makefile src/examples/Makefile data/Makefile data/themes/Makefile data/images/Makefile data/objects/Makefile data/desktop/Makefile data/edje_externals/Makefile config/Makefile config/default/Makefile config/standard/Makefile config/mobile/Makefile $po_makefile_in"
19243 cat >confcache <<\_ACEOF
19244 # This file is a shell script that caches the results of configure
19245 # tests run on this system so they can be shared between configure
19246 # scripts and configure runs, see configure's option --config-cache.
19247 # It is not useful on other systems. If it contains results you don't
19248 # want to keep, you may remove or edit it.
19250 # config.status only pays attention to the cache file if you give it
19251 # the --recheck option to rerun configure.
19253 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19254 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19255 # following values.
19259 # The following way of writing the cache mishandles newlines in values,
19260 # but we know of no workaround that is simple, portable, and efficient.
19261 # So, we kill variables containing newlines.
19262 # Ultrix sh set writes to stderr and can't be redirected directly,
19263 # and sets the high bit in the cache file unless we assign to the vars.
19265 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19266 eval ac_val=\$$ac_var
19270 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19271 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19274 _ | IFS | as_nl) ;; #(
19275 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19276 *) { eval $ac_var=; unset $ac_var;} ;;
19282 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19283 *${as_nl}ac_space=\ *)
19284 # `set' does not quote correctly, so add quotes: double-quote
19285 # substitution turns \\\\ into \\, and sed turns \\ into \.
19288 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19291 # `set' quotes correctly as required by POSIX, so do not add quotes.
19292 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19301 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19303 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19305 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19306 if test -w "$cache_file"; then
19307 if test "x$cache_file" != "x/dev/null"; then
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19309 $as_echo "$as_me: updating cache $cache_file" >&6;}
19310 if test ! -f "$cache_file" || test -h "$cache_file"; then
19311 cat confcache >"$cache_file"
19313 case $cache_file in #(
19315 mv -f confcache "$cache_file"$$ &&
19316 mv -f "$cache_file"$$ "$cache_file" ;; #(
19318 mv -f confcache "$cache_file" ;;
19323 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19324 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19329 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19330 # Let make expand exec_prefix.
19331 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19333 DEFS=-DHAVE_CONFIG_H
19338 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19339 # 1. Remove the extension, and $U if already installed.
19340 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19341 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19342 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19343 # will be set to the directory where LIBOBJS objects are built.
19344 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19345 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19347 LIBOBJS=$ac_libobjs
19349 LTLIBOBJS=$ac_ltlibobjs
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19353 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19354 if test -n "$am_sleep_pid"; then
19355 # Hide warnings about reused PIDs.
19356 wait $am_sleep_pid 2>/dev/null
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19359 $as_echo "done" >&6; }
19360 if test -n "$EXEEXT"; then
19362 am__EXEEXT_FALSE='#'
19364 am__EXEEXT_TRUE='#'
19368 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19369 as_fn_error $? "conditional \"AMDEP\" was never defined.
19370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19372 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19373 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19377 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19378 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19381 if test -z "${BUILD_RUN_TRUE}" && test -z "${BUILD_RUN_FALSE}"; then
19382 as_fn_error $? "conditional \"BUILD_RUN\" was never defined.
19383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19385 if test -z "${BUILD_MODULES_TRUE}" && test -z "${BUILD_MODULES_FALSE}"; then
19386 as_fn_error $? "conditional \"BUILD_MODULES\" was never defined.
19387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19389 if test -z "${BUILD_QUICKLAUNCH_TRUE}" && test -z "${BUILD_QUICKLAUNCH_FALSE}"; then
19390 as_fn_error $? "conditional \"BUILD_QUICKLAUNCH\" was never defined.
19391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19393 if test -z "${ELEMENTARY_WINDOWS_BUILD_TRUE}" && test -z "${ELEMENTARY_WINDOWS_BUILD_FALSE}"; then
19394 as_fn_error $? "conditional \"ELEMENTARY_WINDOWS_BUILD\" was never defined.
19395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19397 if test -z "${HAVE_ECORE_IMF_TRUE}" && test -z "${HAVE_ECORE_IMF_FALSE}"; then
19398 as_fn_error $? "conditional \"HAVE_ECORE_IMF\" was never defined.
19399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19401 if test -z "${HAVE_ECORE_CON_TRUE}" && test -z "${HAVE_ECORE_CON_FALSE}"; then
19402 as_fn_error $? "conditional \"HAVE_ECORE_CON\" was never defined.
19403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19405 if test -z "${HAVE_EIO_TRUE}" && test -z "${HAVE_EIO_FALSE}"; then
19406 as_fn_error $? "conditional \"HAVE_EIO\" was never defined.
19407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19409 if test -z "${HAVE_EMOTION_TRUE}" && test -z "${HAVE_EMOTION_FALSE}"; then
19410 as_fn_error $? "conditional \"HAVE_EMOTION\" was never defined.
19411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19413 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
19414 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
19415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19417 if test -z "${BUILD_ELEMENTARY_TEST_TRUE}" && test -z "${BUILD_ELEMENTARY_TEST_FALSE}"; then
19418 as_fn_error $? "conditional \"BUILD_ELEMENTARY_TEST\" was never defined.
19419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19421 if test -z "${BUILD_ELEMENTARY_CONFIG_TRUE}" && test -z "${BUILD_ELEMENTARY_CONFIG_FALSE}"; then
19422 as_fn_error $? "conditional \"BUILD_ELEMENTARY_CONFIG\" was never defined.
19423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19425 if test -z "${HAVE_PO_TRUE}" && test -z "${HAVE_PO_FALSE}"; then
19426 as_fn_error $? "conditional \"HAVE_PO\" was never defined.
19427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19429 if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
19430 as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
19431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19433 if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
19434 as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
19435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19438 : "${CONFIG_STATUS=./config.status}"
19440 ac_clean_files_save=$ac_clean_files
19441 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19443 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19445 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19447 # Generated by $as_me.
19448 # Run this file to recreate the current configuration.
19449 # Compiler output produced by configure, useful for debugging
19450 # configure, is in config.log if it exists.
19453 ac_cs_recheck=false
19456 SHELL=\${CONFIG_SHELL-$SHELL}
19459 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19460 ## -------------------- ##
19461 ## M4sh Initialization. ##
19462 ## -------------------- ##
19464 # Be more Bourne compatible
19465 DUALCASE=1; export DUALCASE # for MKS sh
19466 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19469 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19470 # is contrary to our usage. Disable this feature.
19471 alias -g '${1+"$@"}'='"$@"'
19472 setopt NO_GLOB_SUBST
19474 case `(set -o) 2>/dev/null` in #(
19486 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19487 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19488 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19489 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19490 # Prefer a ksh shell builtin over an external printf program on Solaris,
19491 # but without wasting forks for bash or zsh.
19492 if test -z "$BASH_VERSION$ZSH_VERSION" \
19493 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19494 as_echo='print -r --'
19495 as_echo_n='print -rn --'
19496 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19497 as_echo='printf %s\n'
19498 as_echo_n='printf %s'
19500 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19501 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19502 as_echo_n='/usr/ucb/echo -n'
19504 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19505 as_echo_n_body='eval
19509 expr "X$arg" : "X\\(.*\\)$as_nl";
19510 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19512 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19514 export as_echo_n_body
19515 as_echo_n='sh -c $as_echo_n_body as_echo'
19517 export as_echo_body
19518 as_echo='sh -c $as_echo_body as_echo'
19521 # The user is always right.
19522 if test "${PATH_SEPARATOR+set}" != set; then
19524 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19525 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19532 # We need space, tab and new line, in precisely that order. Quoting is
19533 # there to prevent editors from complaining about space-tab.
19534 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19535 # splitting by setting IFS to empty value.)
19538 # Find who we are. Look in the path if we contain no directory separator.
19541 *[\\/]* ) as_myself=$0 ;;
19542 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19543 for as_dir in $PATH
19546 test -z "$as_dir" && as_dir=.
19547 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19553 # We did not find ourselves, most probably we were run as `sh COMMAND'
19554 # in which case we are not to be found in the path.
19555 if test "x$as_myself" = x; then
19558 if test ! -f "$as_myself"; then
19559 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19563 # Unset variables that we do not need and which cause bugs (e.g. in
19564 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19565 # suppresses any "Segmentation fault" message there. '((' could
19566 # trigger a bug in pdksh 5.2.14.
19567 for as_var in BASH_ENV ENV MAIL MAILPATH
19568 do eval test x\${$as_var+set} = xset \
19569 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19582 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19585 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19586 # ----------------------------------------
19587 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19588 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19589 # script with STATUS, using 1 if that was 0.
19592 as_status=$1; test $as_status -eq 0 && as_status=1
19594 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19595 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19597 $as_echo "$as_me: error: $2" >&2
19598 as_fn_exit $as_status
19602 # as_fn_set_status STATUS
19603 # -----------------------
19604 # Set $? to STATUS, without forking.
19605 as_fn_set_status ()
19608 } # as_fn_set_status
19610 # as_fn_exit STATUS
19611 # -----------------
19612 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19616 as_fn_set_status $1
19622 # Portably unset VAR.
19625 { eval $1=; unset $1;}
19627 as_unset=as_fn_unset
19628 # as_fn_append VAR VALUE
19629 # ----------------------
19630 # Append the text in VALUE to the end of the definition contained in VAR. Take
19631 # advantage of any shell optimizations that allow amortized linear growth over
19632 # repeated appends, instead of the typical quadratic growth present in naive
19634 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19635 eval 'as_fn_append ()
19646 # as_fn_arith ARG...
19647 # ------------------
19648 # Perform arithmetic evaluation on the ARGs, and store the result in the
19649 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19650 # must be portable across $(()) and expr.
19651 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19652 eval 'as_fn_arith ()
19659 as_val=`expr "$@" || test $? -eq 1`
19664 if expr a : '\(a\)' >/dev/null 2>&1 &&
19665 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19671 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19672 as_basename=basename
19677 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19683 as_me=`$as_basename -- "$0" ||
19684 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19685 X"$0" : 'X\(//\)$' \| \
19686 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19688 sed '/^.*\/\([^/][^/]*\)\/*$/{
19702 # Avoid depending upon Character Ranges.
19703 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19704 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19705 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19706 as_cr_digits='0123456789'
19707 as_cr_alnum=$as_cr_Letters$as_cr_digits
19709 ECHO_C= ECHO_N= ECHO_T=
19710 case `echo -n x` in #(((((
19712 case `echo 'xy\c'` in
19713 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19715 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19722 rm -f conf$$ conf$$.exe conf$$.file
19723 if test -d conf$$.dir; then
19724 rm -f conf$$.dir/conf$$.file
19727 mkdir conf$$.dir 2>/dev/null
19729 if (echo >conf$$.file) 2>/dev/null; then
19730 if ln -s conf$$.file conf$$ 2>/dev/null; then
19732 # ... but there are two gotchas:
19733 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19734 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19735 # In both cases, we have to default to `cp -pR'.
19736 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19738 elif ln conf$$.file conf$$ 2>/dev/null; then
19746 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19747 rmdir conf$$.dir 2>/dev/null
19752 # Create "$as_dir" as a directory, including parents if necessary.
19757 -*) as_dir=./$as_dir;;
19759 test -d "$as_dir" || eval $as_mkdir_p || {
19763 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19764 *) as_qdir=$as_dir;;
19766 as_dirs="'$as_qdir' $as_dirs"
19767 as_dir=`$as_dirname -- "$as_dir" ||
19768 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19769 X"$as_dir" : 'X\(//\)[^/]' \| \
19770 X"$as_dir" : 'X\(//\)$' \| \
19771 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19772 $as_echo X"$as_dir" |
19773 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19777 /^X\(\/\/\)[^/].*/{
19790 test -d "$as_dir" && break
19792 test -z "$as_dirs" || eval "mkdir $as_dirs"
19793 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19797 if mkdir -p . 2>/dev/null; then
19798 as_mkdir_p='mkdir -p "$as_dir"'
19800 test -d ./-p && rmdir ./-p
19805 # as_fn_executable_p FILE
19806 # -----------------------
19807 # Test if FILE is an executable regular file.
19808 as_fn_executable_p ()
19810 test -f "$1" && test -x "$1"
19811 } # as_fn_executable_p
19812 as_test_x='test -x'
19813 as_executable_p=as_fn_executable_p
19815 # Sed expression to map a string onto a valid CPP name.
19816 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19818 # Sed expression to map a string onto a valid variable name.
19819 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19823 ## ----------------------------------- ##
19824 ## Main body of $CONFIG_STATUS script. ##
19825 ## ----------------------------------- ##
19827 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19830 # Save the log message, to keep $0 and so on meaningful, and to
19831 # report actual input values of CONFIG_FILES etc. instead of their
19832 # values after options handling.
19834 This file was extended by elementary $as_me 1.7.8, which was
19835 generated by GNU Autoconf 2.69. Invocation command line was
19837 CONFIG_FILES = $CONFIG_FILES
19838 CONFIG_HEADERS = $CONFIG_HEADERS
19839 CONFIG_LINKS = $CONFIG_LINKS
19840 CONFIG_COMMANDS = $CONFIG_COMMANDS
19843 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19848 case $ac_config_files in *"
19849 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19852 case $ac_config_headers in *"
19853 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19858 # Files that config.status was made for.
19859 config_files="$ac_config_files"
19860 config_headers="$ac_config_headers"
19861 config_commands="$ac_config_commands"
19865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19867 \`$as_me' instantiates files and other configuration actions
19868 from templates according to the current configuration. Unless the files
19869 and actions are specified as TAGs, all are instantiated by default.
19871 Usage: $0 [OPTION]... [TAG]...
19873 -h, --help print this help, then exit
19874 -V, --version print version number and configuration settings, then exit
19875 --config print configuration, then exit
19876 -q, --quiet, --silent
19877 do not print progress messages
19878 -d, --debug don't remove temporary files
19879 --recheck update $as_me by reconfiguring in the same conditions
19880 --file=FILE[:TEMPLATE]
19881 instantiate the configuration file FILE
19882 --header=FILE[:TEMPLATE]
19883 instantiate the configuration header FILE
19885 Configuration files:
19888 Configuration headers:
19891 Configuration commands:
19894 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
19897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19898 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19900 elementary config.status 1.7.8
19901 configured by $0, generated by GNU Autoconf 2.69,
19902 with options \\"\$ac_cs_config\\"
19904 Copyright (C) 2012 Free Software Foundation, Inc.
19905 This config.status script is free software; the Free Software Foundation
19906 gives unlimited permission to copy, distribute and modify it."
19913 test -n "\$AWK" || AWK=awk
19916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19917 # The default lists apply if the user does not specify any file.
19923 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19924 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19928 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19940 # Handling of the options.
19941 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19943 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19944 $as_echo "$ac_cs_version"; exit ;;
19945 --config | --confi | --conf | --con | --co | --c )
19946 $as_echo "$ac_cs_config"; exit ;;
19947 --debug | --debu | --deb | --de | --d | -d )
19949 --file | --fil | --fi | --f )
19952 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19953 '') as_fn_error $? "missing file argument" ;;
19955 as_fn_append CONFIG_FILES " '$ac_optarg'"
19956 ac_need_defaults=false;;
19957 --header | --heade | --head | --hea )
19960 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19962 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19963 ac_need_defaults=false;;
19965 # Conflict between --help and --header
19966 as_fn_error $? "ambiguous option: \`$1'
19967 Try \`$0 --help' for more information.";;
19968 --help | --hel | -h )
19969 $as_echo "$ac_cs_usage"; exit ;;
19970 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19971 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19974 # This is an error.
19975 -*) as_fn_error $? "unrecognized option: \`$1'
19976 Try \`$0 --help' for more information." ;;
19978 *) as_fn_append ac_config_targets " $1"
19979 ac_need_defaults=false ;;
19985 ac_configure_extra_args=
19987 if $ac_cs_silent; then
19989 ac_configure_extra_args="$ac_configure_extra_args --silent"
19993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19994 if \$ac_cs_recheck; then
19995 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19997 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19998 CONFIG_SHELL='$SHELL'
19999 export CONFIG_SHELL
20004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20008 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20009 ## Running $as_me. ##
20015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20019 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20022 # The HP-UX ksh and POSIX shell print the target directory to stdout
20023 # if CDPATH is set.
20024 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20026 sed_quote_subst='$sed_quote_subst'
20027 double_quote_subst='$double_quote_subst'
20028 delay_variable_subst='$delay_variable_subst'
20029 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
20030 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20031 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20032 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20033 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20034 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20035 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20036 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20037 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20038 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20039 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20040 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20041 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20042 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20043 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20044 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20045 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20046 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20047 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20048 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20049 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20050 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20051 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20052 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20053 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20054 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20055 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20056 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20057 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20058 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20059 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20060 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20061 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20062 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20063 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20064 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20065 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20066 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20067 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20068 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20069 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20070 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20071 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20072 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20073 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20074 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20075 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20076 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20077 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20078 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20079 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20080 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20081 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20082 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20083 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20084 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20085 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20086 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"`'
20087 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20088 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20089 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20090 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20091 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20092 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20093 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20094 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20095 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20096 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20097 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20098 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20099 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20100 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20101 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20102 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20103 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20104 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20105 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20106 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20107 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20108 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20109 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20110 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20111 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20112 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20113 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20114 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20115 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20116 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20117 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20118 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20119 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20120 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20121 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20122 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20123 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20124 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20125 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20126 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20127 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20128 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20129 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20130 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20131 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20132 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20133 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20134 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20135 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20136 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20137 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20138 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20139 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20140 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20141 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20142 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20143 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20144 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20145 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20146 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20147 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20148 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20149 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20150 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20151 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20152 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20153 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20154 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20155 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20156 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20157 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20158 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20159 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20162 LTCFLAGS='$LTCFLAGS'
20163 compiler='$compiler_DEFAULT'
20165 # A function that is used when there is no print builtin or printf.
20166 func_fallback_echo ()
20168 eval 'cat <<_LTECHO_EOF
20173 # Quote evaled strings.
20190 deplibs_check_method \
20194 sharedlib_from_linklib_cmd \
20197 archiver_list_spec \
20203 lt_cv_sys_global_symbol_pipe \
20204 lt_cv_sys_global_symbol_to_cdecl \
20205 lt_cv_sys_global_symbol_to_c_name_address \
20206 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20207 nm_file_list_spec \
20208 lt_prog_compiler_no_builtin_flag \
20209 lt_prog_compiler_pic \
20210 lt_prog_compiler_wl \
20211 lt_prog_compiler_static \
20212 lt_cv_prog_compiler_c_o \
20221 export_dynamic_flag_spec \
20222 whole_archive_flag_spec \
20223 compiler_needs_object \
20225 allow_undefined_flag \
20226 no_undefined_flag \
20227 hardcode_libdir_flag_spec \
20228 hardcode_libdir_separator \
20232 variables_saved_for_relink \
20234 library_names_spec \
20236 install_override_mode \
20240 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20241 *[\\\\\\\`\\"\\\$]*)
20242 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20245 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20250 # Double-quote double-evaled strings.
20251 for var in reload_cmds \
20252 old_postinstall_cmds \
20253 old_postuninstall_cmds \
20255 extract_expsyms_cmds \
20256 old_archive_from_new_cmds \
20257 old_archive_from_expsyms_cmds \
20259 archive_expsym_cmds \
20261 module_expsym_cmds \
20262 export_symbols_cmds \
20266 postuninstall_cmds \
20268 sys_lib_search_path_spec \
20269 sys_lib_dlsearch_path_spec; do
20270 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20271 *[\\\\\\\`\\"\\\$]*)
20272 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20275 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20280 ac_aux_dir='$ac_aux_dir'
20281 xsi_shell='$xsi_shell'
20282 lt_shell_append='$lt_shell_append'
20284 # See if we are running on zsh, and set the options which allow our
20285 # commands through without removal of \ escapes INIT.
20286 if test -n "\${ZSH_VERSION+set}" ; then
20287 setopt NO_GLOB_SUBST
20293 TIMESTAMP='$TIMESTAMP'
20299 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
20300 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
20301 # from automake < 1.5.
20302 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
20303 # Capture the value of LINGUAS because we need it to compute CATALOGS.
20304 LINGUAS="${LINGUAS-%UNSET%}"
20309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20311 # Handling of arguments.
20312 for ac_config_target in $ac_config_targets
20314 case $ac_config_target in
20315 "elementary_config.h") CONFIG_HEADERS="$CONFIG_HEADERS elementary_config.h" ;;
20316 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20317 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20318 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
20319 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20320 "elementary.spec") CONFIG_FILES="$CONFIG_FILES elementary.spec" ;;
20321 "elementary.pc") CONFIG_FILES="$CONFIG_FILES elementary.pc" ;;
20322 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20323 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
20324 "doc/widgets/Makefile") CONFIG_FILES="$CONFIG_FILES doc/widgets/Makefile" ;;
20325 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20326 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
20327 "src/lib/Elementary.h") CONFIG_FILES="$CONFIG_FILES src/lib/Elementary.h" ;;
20328 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
20329 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
20330 "src/modules/access_output/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/access_output/Makefile" ;;
20331 "src/modules/datetime_input_ctxpopup/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/datetime_input_ctxpopup/Makefile" ;;
20332 "src/modules/test_entry/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/test_entry/Makefile" ;;
20333 "src/modules/test_map/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/test_map/Makefile" ;;
20334 "src/edje_externals/Makefile") CONFIG_FILES="$CONFIG_FILES src/edje_externals/Makefile" ;;
20335 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
20336 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
20337 "data/themes/Makefile") CONFIG_FILES="$CONFIG_FILES data/themes/Makefile" ;;
20338 "data/images/Makefile") CONFIG_FILES="$CONFIG_FILES data/images/Makefile" ;;
20339 "data/objects/Makefile") CONFIG_FILES="$CONFIG_FILES data/objects/Makefile" ;;
20340 "data/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/desktop/Makefile" ;;
20341 "data/edje_externals/Makefile") CONFIG_FILES="$CONFIG_FILES data/edje_externals/Makefile" ;;
20342 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
20343 "config/default/Makefile") CONFIG_FILES="$CONFIG_FILES config/default/Makefile" ;;
20344 "config/standard/Makefile") CONFIG_FILES="$CONFIG_FILES config/standard/Makefile" ;;
20345 "config/mobile/Makefile") CONFIG_FILES="$CONFIG_FILES config/mobile/Makefile" ;;
20346 "$po_makefile_in") CONFIG_FILES="$CONFIG_FILES $po_makefile_in" ;;
20348 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20353 # If the user did not use the arguments to specify the items to instantiate,
20354 # then the envvar interface is used. Set only those that are not.
20355 # We use the long form for the default assignment because of an extremely
20356 # bizarre bug on SunOS 4.1.3.
20357 if $ac_need_defaults; then
20358 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20359 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20360 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20363 # Have a temporary directory for convenience. Make it in the build tree
20364 # simply because there is no reason against having it here, and in addition,
20365 # creating and moving files from /tmp can sometimes cause problems.
20366 # Hook for its removal unless debugging.
20367 # Note that there is a small window in which the directory will not be cleaned:
20368 # after its creation but before its name has been assigned to `$tmp'.
20372 trap 'exit_status=$?
20373 : "${ac_tmp:=$tmp}"
20374 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20376 trap 'as_fn_exit 1' 1 2 13 15
20378 # Create a (secure) tmp directory for tmp files.
20381 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20385 tmp=./conf$$-$RANDOM
20386 (umask 077 && mkdir "$tmp")
20387 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20390 # Set up the scripts for CONFIG_FILES section.
20391 # No need to generate them if there are no CONFIG_FILES.
20392 # This happens for instance with `./config.status config.h'.
20393 if test -n "$CONFIG_FILES"; then
20396 ac_cr=`echo X | tr X '\015'`
20397 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20398 # But we know of no other shell where ac_cr would be empty at this
20399 # point, so we can use a bashism as a fallback.
20400 if test "x$ac_cr" = x; then
20401 eval ac_cr=\$\'\\r\'
20403 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20404 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20407 ac_cs_awk_cr=$ac_cr
20410 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20415 echo "cat >conf$$subs.awk <<_ACEOF" &&
20416 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20418 } >conf$$subs.sh ||
20419 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20420 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20422 for ac_last_try in false false false false false :; do
20423 . ./conf$$subs.sh ||
20424 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20426 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20427 if test $ac_delim_n = $ac_delim_num; then
20429 elif $ac_last_try; then
20430 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20432 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20435 rm -f conf$$subs.sh
20437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20438 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20442 s/^/S["/; s/!.*/"]=/
20452 s/\(.\{148\}\)..*/\1/
20454 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20459 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20466 s/\(.\{148\}\)..*/\1/
20468 s/["\\]/\\&/g; s/^/"/; s/$/"/
20472 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20477 ' <conf$$subs.awk | sed '
20482 ' >>$CONFIG_STATUS || ac_write_fail=1
20483 rm -f conf$$subs.awk
20484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20486 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20487 for (key in S) S_is_set[key] = 1
20493 nfields = split(line, field, "@")
20495 len = length(field[1])
20496 for (i = 2; i < nfields; i++) {
20498 keylen = length(key)
20499 if (S_is_set[key]) {
20501 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20502 len += length(value) + length(field[++i])
20513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20514 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20515 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20518 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20519 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20522 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20523 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20524 # trailing colons and then remove the whole line if VPATH becomes empty
20525 # (actually we leave an empty line to preserve line numbers).
20526 if test "x$srcdir" = x.; then
20527 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20546 fi # test -n "$CONFIG_FILES"
20548 # Set up the scripts for CONFIG_HEADERS section.
20549 # No need to generate them if there are no CONFIG_HEADERS.
20550 # This happens for instance with `./config.status Makefile'.
20551 if test -n "$CONFIG_HEADERS"; then
20552 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20556 # Transform confdefs.h into an awk script `defines.awk', embedded as
20557 # here-document in config.status, that substitutes the proper values into
20558 # config.h.in to produce config.h.
20560 # Create a delimiter string that does not exist in confdefs.h, to ease
20561 # handling of long lines.
20563 for ac_last_try in false false :; do
20564 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20565 if test -z "$ac_tt"; then
20567 elif $ac_last_try; then
20568 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20570 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20574 # For the awk script, D is an array of macro values keyed by name,
20575 # likewise P contains macro parameters if any. Preserve backslash
20576 # newline sequences.
20578 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20580 s/.\{148\}/&'"$ac_delim"'/g
20583 s/^[ ]*#[ ]*define[ ][ ]*/ /
20590 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20592 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20596 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20597 D["\1"]=" \3\\\\\\n"\\/p
20599 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20604 s/.\{148\}/&'"$ac_delim"'/g
20609 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20612 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20614 ' <confdefs.h | sed '
20615 s/'"$ac_delim"'/"\\\
20616 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20619 for (key in D) D_is_set[key] = 1
20622 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20624 split(line, arg, " ")
20625 if (arg[1] == "#") {
20629 defundef = substr(arg[1], 2)
20632 split(mac1, mac2, "(") #)
20634 prefix = substr(line, 1, index(line, defundef) - 1)
20635 if (D_is_set[macro]) {
20636 # Preserve the white space surrounding the "#".
20637 print prefix "define", macro P[macro] D[macro]
20640 # Replace #undef with comments. This is necessary, for example,
20641 # in the case of _POSIX_SOURCE, which is predefined and required
20642 # on some systems where configure will not decide to define it.
20643 if (defundef == "undef") {
20644 print "/*", prefix defundef, macro, "*/"
20652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20653 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20654 fi # test -n "$CONFIG_HEADERS"
20657 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20662 :[FHLC]) ac_mode=$ac_tag; continue;;
20664 case $ac_mode$ac_tag in
20666 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20667 :[FH]-) ac_tag=-:-;;
20668 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20685 -) ac_f="$ac_tmp/stdin";;
20686 *) # Look for the file first in the build tree, then in the source tree
20687 # (if the path is not absolute). The absolute path cannot be DOS-style,
20688 # because $ac_f cannot contain `:'.
20692 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20694 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20696 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20697 as_fn_append ac_file_inputs " '$ac_f'"
20700 # Let's still pretend it is `configure' which instantiates (i.e., don't
20701 # use $as_me), people would be surprised to read:
20702 # /* config.h. Generated by config.status. */
20703 configure_input='Generated from '`
20704 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20706 if test x"$ac_file" != x-; then
20707 configure_input="$ac_file. $configure_input"
20708 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20709 $as_echo "$as_me: creating $ac_file" >&6;}
20711 # Neutralize special characters interpreted by sed in replacement strings.
20712 case $configure_input in #(
20713 *\&* | *\|* | *\\* )
20714 ac_sed_conf_input=`$as_echo "$configure_input" |
20715 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20716 *) ac_sed_conf_input=$configure_input;;
20720 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20721 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20726 ac_dir=`$as_dirname -- "$ac_file" ||
20727 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20728 X"$ac_file" : 'X\(//\)[^/]' \| \
20729 X"$ac_file" : 'X\(//\)$' \| \
20730 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20731 $as_echo X"$ac_file" |
20732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20736 /^X\(\/\/\)[^/].*/{
20749 as_dir="$ac_dir"; as_fn_mkdir_p
20753 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20755 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20756 # A ".." for each directory in $ac_dir_suffix.
20757 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20758 case $ac_top_builddir_sub in
20759 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20760 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20763 ac_abs_top_builddir=$ac_pwd
20764 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20765 # for backward compatibility:
20766 ac_top_builddir=$ac_top_build_prefix
20769 .) # We are building in place.
20771 ac_top_srcdir=$ac_top_builddir_sub
20772 ac_abs_top_srcdir=$ac_pwd ;;
20773 [\\/]* | ?:[\\/]* ) # Absolute name.
20774 ac_srcdir=$srcdir$ac_dir_suffix;
20775 ac_top_srcdir=$srcdir
20776 ac_abs_top_srcdir=$srcdir ;;
20777 *) # Relative name.
20778 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20779 ac_top_srcdir=$ac_top_build_prefix$srcdir
20780 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20782 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20792 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20793 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20795 ac_MKDIR_P=$MKDIR_P
20797 [\\/$]* | ?:[\\/]* ) ;;
20798 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20803 # If the template does not know about datarootdir, expand it.
20804 # FIXME: This hack should be removed a few years after 2.60.
20805 ac_datarootdir_hack=; ac_datarootdir_seen=
20816 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20817 *datarootdir*) ac_datarootdir_seen=yes;;
20818 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20820 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20823 ac_datarootdir_hack='
20824 s&@datadir@&$datadir&g
20825 s&@docdir@&$docdir&g
20826 s&@infodir@&$infodir&g
20827 s&@localedir@&$localedir&g
20828 s&@mandir@&$mandir&g
20829 s&\\\${datarootdir}&$datarootdir&g' ;;
20833 # Neutralize VPATH when `$srcdir' = `.'.
20834 # Shell code in configure.ac might set extrasub.
20835 # FIXME: do we really want to maintain this feature?
20836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20837 ac_sed_extra="$ac_vpsub
20840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20842 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20843 s|@configure_input@|$ac_sed_conf_input|;t t
20844 s&@top_builddir@&$ac_top_builddir_sub&;t t
20845 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20846 s&@srcdir@&$ac_srcdir&;t t
20847 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20848 s&@top_srcdir@&$ac_top_srcdir&;t t
20849 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20850 s&@builddir@&$ac_builddir&;t t
20851 s&@abs_builddir@&$ac_abs_builddir&;t t
20852 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20853 s&@INSTALL@&$ac_INSTALL&;t t
20854 s&@MKDIR_P@&$ac_MKDIR_P&;t t
20855 $ac_datarootdir_hack
20857 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20858 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20860 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20861 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20862 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20863 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20865 which seems to be undefined. Please make sure it is defined" >&5
20866 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20867 which seems to be undefined. Please make sure it is defined" >&2;}
20869 rm -f "$ac_tmp/stdin"
20871 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20872 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20874 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20880 if test x"$ac_file" != x-; then
20882 $as_echo "/* $configure_input */" \
20883 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20884 } >"$ac_tmp/config.h" \
20885 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20886 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20887 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20888 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20891 mv "$ac_tmp/config.h" "$ac_file" \
20892 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20895 $as_echo "/* $configure_input */" \
20896 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20897 || as_fn_error $? "could not create -" "$LINENO" 5
20899 # Compute "$ac_file"'s index in $config_headers.
20902 for _am_header in $config_headers :; do
20903 case $_am_header in
20904 $_am_arg | $_am_arg:* )
20907 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20910 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20911 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20912 X"$_am_arg" : 'X\(//\)[^/]' \| \
20913 X"$_am_arg" : 'X\(//\)$' \| \
20914 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20915 $as_echo X"$_am_arg" |
20916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20920 /^X\(\/\/\)[^/].*/{
20932 s/.*/./; q'`/stamp-h$_am_stamp_count
20935 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20936 $as_echo "$as_me: executing $ac_file commands" >&6;}
20941 case $ac_file$ac_mode in
20942 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20943 # Older Autoconf quotes --file arguments for eval, but not when files
20944 # are listed without --file. Let's play safe and only enable the eval
20945 # if we detect the quoting.
20946 case $CONFIG_FILES in
20947 *\'*) eval set x "$CONFIG_FILES" ;;
20948 *) set x $CONFIG_FILES ;;
20953 # Strip MF so we end up with the name of the file.
20954 mf=`echo "$mf" | sed -e 's/:.*$//'`
20955 # Check whether this is an Automake generated Makefile or not.
20956 # We used to match only the files named 'Makefile.in', but
20957 # some people rename them; so instead we look at the file content.
20958 # Grep'ing the first line is not enough: some people post-process
20959 # each Makefile.in and add a new line on top of each file to say so.
20960 # Grep'ing the whole file is not good either: AIX grep has a line
20961 # limit of 2048, but all sed's we know have understand at least 4000.
20962 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20963 dirpart=`$as_dirname -- "$mf" ||
20964 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20965 X"$mf" : 'X\(//\)[^/]' \| \
20966 X"$mf" : 'X\(//\)$' \| \
20967 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20973 /^X\(\/\/\)[^/].*/{
20989 # Extract the definition of DEPDIR, am__include, and am__quote
20990 # from the Makefile without running 'make'.
20991 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20992 test -z "$DEPDIR" && continue
20993 am__include=`sed -n 's/^am__include = //p' < "$mf"`
20994 test -z "$am__include" && continue
20995 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20996 # Find all dependency output files, they are included files with
20997 # $(DEPDIR) in their names. We invoke sed twice because it is the
20998 # simplest approach to changing $(DEPDIR) to its actual value in the
21000 for file in `sed -n "
21001 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21002 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21003 # Make sure the directory exists.
21004 test -f "$dirpart/$file" && continue
21005 fdir=`$as_dirname -- "$file" ||
21006 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21007 X"$file" : 'X\(//\)[^/]' \| \
21008 X"$file" : 'X\(//\)$' \| \
21009 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21010 $as_echo X"$file" |
21011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21015 /^X\(\/\/\)[^/].*/{
21028 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21029 # echo "creating $dirpart/$file"
21030 echo '# dummy' > "$dirpart/$file"
21037 # See if we are running on zsh, and set the options which allow our
21038 # commands through without removal of \ escapes.
21039 if test -n "${ZSH_VERSION+set}" ; then
21040 setopt NO_GLOB_SUBST
21043 cfgfile="${ofile}T"
21044 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21047 cat <<_LT_EOF >> "$cfgfile"
21050 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21051 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21052 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21053 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21055 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21056 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21058 # Written by Gordon Matzigkeit, 1996
21060 # This file is part of GNU Libtool.
21062 # GNU Libtool is free software; you can redistribute it and/or
21063 # modify it under the terms of the GNU General Public License as
21064 # published by the Free Software Foundation; either version 2 of
21065 # the License, or (at your option) any later version.
21067 # As a special exception to the GNU General Public License,
21068 # if you distribute this file as part of a program or library that
21069 # is built using GNU Libtool, you may include this file under the
21070 # same distribution terms that you use for the rest of that program.
21072 # GNU Libtool is distributed in the hope that it will be useful,
21073 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21074 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21075 # GNU General Public License for more details.
21077 # You should have received a copy of the GNU General Public License
21078 # along with GNU Libtool; see the file COPYING. If not, a copy
21079 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21080 # obtained by writing to the Free Software Foundation, Inc.,
21081 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21084 # The names of the tagged configurations supported by this script.
21087 # ### BEGIN LIBTOOL CONFIG
21089 # Assembler program.
21092 # DLL creation program.
21093 DLLTOOL=$lt_DLLTOOL
21095 # Object dumper program.
21096 OBJDUMP=$lt_OBJDUMP
21098 # Which release of libtool.m4 was used?
21099 macro_version=$macro_version
21100 macro_revision=$macro_revision
21102 # Whether or not to build shared libraries.
21103 build_libtool_libs=$enable_shared
21105 # Whether or not to build static libraries.
21106 build_old_libs=$enable_static
21108 # What type of objects to build.
21111 # Whether or not to optimize for fast installation.
21112 fast_install=$enable_fast_install
21114 # Shell to use when invoking shell scripts.
21117 # An echo program that protects backslashes.
21120 # The PATH separator for the build system.
21121 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21124 host_alias=$host_alias
21128 # The build system.
21129 build_alias=$build_alias
21133 # A sed program that does not truncate output.
21136 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21137 Xsed="\$SED -e 1s/^X//"
21139 # A grep program that handles long lines.
21145 # A literal string matcher.
21148 # A BSD- or MS-compatible name lister.
21151 # Whether we need soft or hard links.
21154 # What is the maximum length of a command?
21155 max_cmd_len=$max_cmd_len
21157 # Object file suffix (normally "o").
21160 # Executable file suffix (normally "").
21163 # whether the shell understands "unset".
21166 # turn spaces into newlines.
21169 # turn newlines into spaces.
21172 # convert \$build file names to \$host format.
21173 to_host_file_cmd=$lt_cv_to_host_file_cmd
21175 # convert \$build files to toolchain format.
21176 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21178 # Method to check whether dependent libraries are shared objects.
21179 deplibs_check_method=$lt_deplibs_check_method
21181 # Command to use when deplibs_check_method = "file_magic".
21182 file_magic_cmd=$lt_file_magic_cmd
21184 # How to find potential files when deplibs_check_method = "file_magic".
21185 file_magic_glob=$lt_file_magic_glob
21187 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21188 want_nocaseglob=$lt_want_nocaseglob
21190 # Command to associate shared and link libraries.
21191 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21196 # Flags to create an archive.
21197 AR_FLAGS=$lt_AR_FLAGS
21199 # How to feed a file listing to the archiver.
21200 archiver_list_spec=$lt_archiver_list_spec
21202 # A symbol stripping program.
21205 # Commands used to install an old-style archive.
21207 old_postinstall_cmds=$lt_old_postinstall_cmds
21208 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21210 # Whether to use a lock for old archive extraction.
21211 lock_old_archive_extraction=$lock_old_archive_extraction
21216 # LTCC compiler flags.
21217 LTCFLAGS=$lt_CFLAGS
21219 # Take the output of nm and produce a listing of raw symbols and C names.
21220 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21222 # Transform the output of nm in a proper C declaration.
21223 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21225 # Transform the output of nm in a C name address pair.
21226 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21228 # Transform the output of nm in a C name address pair when lib prefix is needed.
21229 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21231 # Specify filename containing input files for \$NM.
21232 nm_file_list_spec=$lt_nm_file_list_spec
21234 # The root where to search for dependent libraries,and in which our libraries should be installed.
21235 lt_sysroot=$lt_sysroot
21237 # The name of the directory that contains temporary libtool files.
21240 # Used to examine libraries when file_magic_cmd begins with "file".
21241 MAGIC_CMD=$MAGIC_CMD
21243 # Must we lock files when doing compilation?
21244 need_locks=$lt_need_locks
21247 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21249 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21250 DSYMUTIL=$lt_DSYMUTIL
21252 # Tool to change global to local symbols on Mac OS X.
21255 # Tool to manipulate fat objects and archives on Mac OS X.
21258 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21261 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21262 OTOOL64=$lt_OTOOL64
21264 # Old archive suffix (normally "a").
21267 # Shared library suffix (normally ".so").
21268 shrext_cmds=$lt_shrext_cmds
21270 # The commands to extract the exported symbol list from a shared archive.
21271 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21273 # Variables whose values should be saved in libtool wrapper scripts and
21274 # restored at link time.
21275 variables_saved_for_relink=$lt_variables_saved_for_relink
21277 # Do we need the "lib" prefix for modules?
21278 need_lib_prefix=$need_lib_prefix
21280 # Do we need a version for libraries?
21281 need_version=$need_version
21283 # Library versioning type.
21284 version_type=$version_type
21286 # Shared library runtime path variable.
21287 runpath_var=$runpath_var
21289 # Shared library path variable.
21290 shlibpath_var=$shlibpath_var
21292 # Is shlibpath searched before the hard-coded library search path?
21293 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21295 # Format of library name prefix.
21296 libname_spec=$lt_libname_spec
21298 # List of archive names. First name is the real one, the rest are links.
21299 # The last name is the one that the linker finds with -lNAME
21300 library_names_spec=$lt_library_names_spec
21302 # The coded name of the library, if different from the real name.
21303 soname_spec=$lt_soname_spec
21305 # Permission mode override for installation of shared libraries.
21306 install_override_mode=$lt_install_override_mode
21308 # Command to use after installation of a shared archive.
21309 postinstall_cmds=$lt_postinstall_cmds
21311 # Command to use after uninstallation of a shared archive.
21312 postuninstall_cmds=$lt_postuninstall_cmds
21314 # Commands used to finish a libtool library installation in a directory.
21315 finish_cmds=$lt_finish_cmds
21317 # As "finish_cmds", except a single script fragment to be evaled but
21319 finish_eval=$lt_finish_eval
21321 # Whether we should hardcode library paths into libraries.
21322 hardcode_into_libs=$hardcode_into_libs
21324 # Compile-time system search path for libraries.
21325 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21327 # Run-time system search path for libraries.
21328 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21330 # Whether dlopen is supported.
21331 dlopen_support=$enable_dlopen
21333 # Whether dlopen of programs is supported.
21334 dlopen_self=$enable_dlopen_self
21336 # Whether dlopen of statically linked programs is supported.
21337 dlopen_self_static=$enable_dlopen_self_static
21339 # Commands to strip libraries.
21340 old_striplib=$lt_old_striplib
21341 striplib=$lt_striplib
21344 # The linker used to build libraries.
21347 # How to create reloadable object files.
21348 reload_flag=$lt_reload_flag
21349 reload_cmds=$lt_reload_cmds
21351 # Commands used to build an old-style archive.
21352 old_archive_cmds=$lt_old_archive_cmds
21354 # A language specific compiler.
21357 # Is the compiler the GNU compiler?
21360 # Compiler flag to turn off builtin functions.
21361 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21363 # Additional compiler flags for building library objects.
21364 pic_flag=$lt_lt_prog_compiler_pic
21366 # How to pass a linker flag through the compiler.
21367 wl=$lt_lt_prog_compiler_wl
21369 # Compiler flag to prevent dynamic linking.
21370 link_static_flag=$lt_lt_prog_compiler_static
21372 # Does compiler simultaneously support -c and -o options?
21373 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21375 # Whether or not to add -lc for building shared libraries.
21376 build_libtool_need_lc=$archive_cmds_need_lc
21378 # Whether or not to disallow shared libs when runtime libs are static.
21379 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21381 # Compiler flag to allow reflexive dlopens.
21382 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21384 # Compiler flag to generate shared objects directly from archives.
21385 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21387 # Whether the compiler copes with passing no objects directly.
21388 compiler_needs_object=$lt_compiler_needs_object
21390 # Create an old-style archive from a shared archive.
21391 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21393 # Create a temporary old-style archive to link instead of a shared archive.
21394 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21396 # Commands used to build a shared archive.
21397 archive_cmds=$lt_archive_cmds
21398 archive_expsym_cmds=$lt_archive_expsym_cmds
21400 # Commands used to build a loadable module if different from building
21401 # a shared archive.
21402 module_cmds=$lt_module_cmds
21403 module_expsym_cmds=$lt_module_expsym_cmds
21405 # Whether we are building with GNU ld or not.
21406 with_gnu_ld=$lt_with_gnu_ld
21408 # Flag that allows shared libraries with undefined symbols to be built.
21409 allow_undefined_flag=$lt_allow_undefined_flag
21411 # Flag that enforces no undefined symbols.
21412 no_undefined_flag=$lt_no_undefined_flag
21414 # Flag to hardcode \$libdir into a binary during linking.
21415 # This must work even if \$libdir does not exist
21416 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21418 # Whether we need a single "-rpath" flag with a separated argument.
21419 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21421 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21422 # DIR into the resulting binary.
21423 hardcode_direct=$hardcode_direct
21425 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21426 # DIR into the resulting binary and the resulting library dependency is
21427 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21428 # library is relocated.
21429 hardcode_direct_absolute=$hardcode_direct_absolute
21431 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21432 # into the resulting binary.
21433 hardcode_minus_L=$hardcode_minus_L
21435 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21436 # into the resulting binary.
21437 hardcode_shlibpath_var=$hardcode_shlibpath_var
21439 # Set to "yes" if building a shared library automatically hardcodes DIR
21440 # into the library and all subsequent libraries and executables linked
21442 hardcode_automatic=$hardcode_automatic
21444 # Set to yes if linker adds runtime paths of dependent libraries
21445 # to runtime path list.
21446 inherit_rpath=$inherit_rpath
21448 # Whether libtool must link a program against all its dependency libraries.
21449 link_all_deplibs=$link_all_deplibs
21451 # Set to "yes" if exported symbols are required.
21452 always_export_symbols=$always_export_symbols
21454 # The commands to list exported symbols.
21455 export_symbols_cmds=$lt_export_symbols_cmds
21457 # Symbols that should not be listed in the preloaded symbols.
21458 exclude_expsyms=$lt_exclude_expsyms
21460 # Symbols that must always be exported.
21461 include_expsyms=$lt_include_expsyms
21463 # Commands necessary for linking programs (against libraries) with templates.
21464 prelink_cmds=$lt_prelink_cmds
21466 # Commands necessary for finishing linking programs.
21467 postlink_cmds=$lt_postlink_cmds
21469 # Specify filename containing input files.
21470 file_list_spec=$lt_file_list_spec
21472 # How to hardcode a shared library path into an executable.
21473 hardcode_action=$hardcode_action
21475 # ### END LIBTOOL CONFIG
21481 cat <<\_LT_EOF >> "$cfgfile"
21482 # AIX sometimes has problems with the GCC collect2 program. For some
21483 # reason, if we set the COLLECT_NAMES environment variable, the problems
21484 # vanish in a puff of smoke.
21485 if test "X${COLLECT_NAMES+set}" != Xset; then
21487 export COLLECT_NAMES
21494 ltmain="$ac_aux_dir/ltmain.sh"
21497 # We use sed instead of cat because bash on DJGPP gets confused if
21498 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21499 # text mode, it properly converts lines to CR/LF. This bash problem
21500 # is reportedly fixed, but why not run on old versions too?
21501 sed '$q' "$ltmain" >> "$cfgfile" \
21502 || (rm -f "$cfgfile"; exit 1)
21504 if test x"$xsi_shell" = xyes; then
21505 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21509 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21510 \ * ) func_dirname_result="${3}" ;;\
21512 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21513 && mv -f "$cfgfile.tmp" "$cfgfile" \
21514 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21515 test 0 -eq $? || _lt_function_replace_fail=:
21518 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21521 \ func_basename_result="${1##*/}"\
21522 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21523 && mv -f "$cfgfile.tmp" "$cfgfile" \
21524 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21525 test 0 -eq $? || _lt_function_replace_fail=:
21528 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21529 func_dirname_and_basename ()\
21532 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21533 \ * ) func_dirname_result="${3}" ;;\
21535 \ func_basename_result="${1##*/}"\
21536 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21537 && mv -f "$cfgfile.tmp" "$cfgfile" \
21538 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21539 test 0 -eq $? || _lt_function_replace_fail=:
21542 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21545 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21546 \ # positional parameters, so assign one to ordinary parameter first.\
21547 \ func_stripname_result=${3}\
21548 \ func_stripname_result=${func_stripname_result#"${1}"}\
21549 \ func_stripname_result=${func_stripname_result%"${2}"}\
21550 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21551 && mv -f "$cfgfile.tmp" "$cfgfile" \
21552 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21553 test 0 -eq $? || _lt_function_replace_fail=:
21556 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21557 func_split_long_opt ()\
21559 \ func_split_long_opt_name=${1%%=*}\
21560 \ func_split_long_opt_arg=${1#*=}\
21561 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21562 && mv -f "$cfgfile.tmp" "$cfgfile" \
21563 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21564 test 0 -eq $? || _lt_function_replace_fail=:
21567 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21568 func_split_short_opt ()\
21570 \ func_split_short_opt_arg=${1#??}\
21571 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21572 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21573 && mv -f "$cfgfile.tmp" "$cfgfile" \
21574 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21575 test 0 -eq $? || _lt_function_replace_fail=:
21578 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21582 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21583 \ *) func_lo2o_result=${1} ;;\
21585 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21586 && mv -f "$cfgfile.tmp" "$cfgfile" \
21587 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21588 test 0 -eq $? || _lt_function_replace_fail=:
21591 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21594 func_xform_result=${1%.*}.lo\
21595 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21596 && mv -f "$cfgfile.tmp" "$cfgfile" \
21597 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21598 test 0 -eq $? || _lt_function_replace_fail=:
21601 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21604 func_arith_result=$(( $* ))\
21605 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21606 && mv -f "$cfgfile.tmp" "$cfgfile" \
21607 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21608 test 0 -eq $? || _lt_function_replace_fail=:
21611 sed -e '/^func_len ()$/,/^} # func_len /c\
21614 func_len_result=${#1}\
21615 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21616 && mv -f "$cfgfile.tmp" "$cfgfile" \
21617 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21618 test 0 -eq $? || _lt_function_replace_fail=:
21622 if test x"$lt_shell_append" = xyes; then
21623 sed -e '/^func_append ()$/,/^} # func_append /c\
21626 eval "${1}+=\\${2}"\
21627 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21628 && mv -f "$cfgfile.tmp" "$cfgfile" \
21629 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21630 test 0 -eq $? || _lt_function_replace_fail=:
21633 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21634 func_append_quoted ()\
21636 \ func_quote_for_eval "${2}"\
21637 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21638 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21639 && mv -f "$cfgfile.tmp" "$cfgfile" \
21640 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21641 test 0 -eq $? || _lt_function_replace_fail=:
21644 # Save a `func_append' function call where possible by direct use of '+='
21645 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21646 && mv -f "$cfgfile.tmp" "$cfgfile" \
21647 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21648 test 0 -eq $? || _lt_function_replace_fail=:
21650 # Save a `func_append' function call even when '+=' is not available
21651 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21652 && mv -f "$cfgfile.tmp" "$cfgfile" \
21653 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21654 test 0 -eq $? || _lt_function_replace_fail=:
21657 if test x"$_lt_function_replace_fail" = x":"; then
21658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21659 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21663 mv -f "$cfgfile" "$ofile" ||
21664 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21668 "po-directories":C)
21669 for ac_file in $CONFIG_FILES; do
21670 # Support "outfile[:infile[:infile...]]"
21672 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
21674 # PO directories have a Makefile.in generated from Makefile.in.in.
21675 case "$ac_file" in */Makefile.in)
21676 # Adjust a relative srcdir.
21677 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
21678 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
21679 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
21680 # In autoconf-2.13 it is called $ac_given_srcdir.
21681 # In autoconf-2.50 it is called $srcdir.
21682 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
21683 case "$ac_given_srcdir" in
21684 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
21685 /*) top_srcdir="$ac_given_srcdir" ;;
21686 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
21688 # Treat a directory as a PO directory if and only if it has a
21689 # POTFILES.in file. This allows packages to have multiple PO
21690 # directories under different names or in different locations.
21691 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
21692 rm -f "$ac_dir/POTFILES"
21693 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
21694 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
21695 POMAKEFILEDEPS="POTFILES.in"
21696 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
21697 # on $ac_dir but don't depend on user-specified configuration
21699 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
21700 # The LINGUAS file contains the set of available languages.
21701 if test -n "$OBSOLETE_ALL_LINGUAS"; then
21702 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
21704 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
21705 # Hide the ALL_LINGUAS assigment from automake < 1.5.
21706 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
21707 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
21709 # The set of available languages was given in configure.in.
21710 # Hide the ALL_LINGUAS assigment from automake < 1.5.
21711 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
21714 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
21715 # Compute UPDATEPOFILES
21716 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
21717 # Compute DUMMYPOFILES
21718 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
21720 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
21721 case "$ac_given_srcdir" in
21723 *) srcdirpre='$(srcdir)/' ;;
21729 for lang in $ALL_LINGUAS; do
21730 POFILES="$POFILES $srcdirpre$lang.po"
21731 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
21732 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
21733 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
21735 # CATALOGS depends on both $ac_dir and the user's LINGUAS
21736 # environment variable.
21738 if test -n "$ALL_LINGUAS"; then
21739 for presentlang in $ALL_LINGUAS; do
21741 if test "%UNSET%" != "$LINGUAS"; then
21742 desiredlanguages="$LINGUAS"
21744 desiredlanguages="$ALL_LINGUAS"
21746 for desiredlang in $desiredlanguages; do
21747 # Use the presentlang catalog if desiredlang is
21748 # a. equal to presentlang, or
21749 # b. a variant of presentlang (because in this case,
21750 # presentlang can be used as a fallback for messages
21751 # which are not translated in the desiredlang catalog).
21752 case "$desiredlang" in
21753 "$presentlang"*) useit=yes;;
21756 if test $useit = yes; then
21757 INST_LINGUAS="$INST_LINGUAS $presentlang"
21762 if test -n "$INST_LINGUAS"; then
21763 for lang in $INST_LINGUAS; do
21764 CATALOGS="$CATALOGS $lang.gmo"
21767 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
21768 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"
21769 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
21770 if test -f "$f"; then
21772 *.orig | *.bak | *~) ;;
21773 *) cat "$f" >> "$ac_dir/Makefile" ;;
21788 ac_clean_files=$ac_clean_files_save
21790 test $ac_write_fail = 0 ||
21791 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21794 # configure is writing to config.log, and then calls config.status.
21795 # config.status does its own redirection, appending to config.log.
21796 # Unfortunately, on DOS this fails, as config.log is still kept open
21797 # by configure, so config.status won't be able to write to it; its
21798 # output is simply discarded. So we exec the FD to /dev/null,
21799 # effectively closing config.log, so it can be properly (re)opened and
21800 # appended to by config.status. When coming back to configure, we
21801 # need to make the FD available again.
21802 if test "$no_create" != yes; then
21804 ac_config_status_args=
21805 test "$silent" = yes &&
21806 ac_config_status_args="$ac_config_status_args --quiet"
21808 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21810 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21811 # would make configure fail if this is the last instruction.
21812 $ac_cs_success || as_fn_exit 1
21814 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21816 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21820 #####################################################################
21826 echo "------------------------------------------------------------------------"
21827 echo "$PACKAGE $VERSION"
21828 echo "------------------------------------------------------------------------"
21830 echo "Configuration Options Summary:"
21833 echo " X11....................: ${have_elementary_x}"
21834 echo " Framebuffer............: ${have_elementary_fb}"
21835 echo " PSL1GHT................: ${have_elementary_psl1ght}"
21836 echo " SDL....................: ${have_elementary_sdl}"
21837 echo " Cocoa..................: ${have_elementary_cocoa}"
21838 echo " Windows XP.............: ${have_elementary_win32}"
21839 echo " Windows CE.............: ${have_elementary_wince}"
21840 echo " Wayland...............:. ${have_elementary_wayland}"
21843 echo " Ecore_IMF..............: ${have_ecore_imf}"
21844 echo " Ecore_Con..............: ${have_ecore_con}"
21845 echo " EDBus..................: ${have_elementary_edbus}"
21846 echo " EFreet.................: ${have_elementary_efreet}"
21847 echo " EWeather...............: ${have_elementary_eweather}"
21848 echo " EMap...................: ${have_elementary_emap}"
21849 echo " Ethumb.................: ${have_elementary_ethumb}"
21850 echo " Web (WebKit)...........: ${have_elementary_web}"
21851 echo " Quick Launch...........: ${have_fork}"
21852 echo " EIO....................: ${have_eio}"
21853 echo " Emotion................: ${have_emotion}"
21855 echo " eet......................: ${eet_eet}"
21856 echo " edje_cc..................: ${edje_cc}"
21858 echo " Build elementary_test....: ${have_elementary_test}"
21859 echo " Examples.................: ${enable_build_examples}"
21860 echo " Examples installed.......: ${enable_install_examples}"
21861 echo " Build elementary_config..: ${have_elementary_config}"
21862 echo " Documentation............: ${build_doc}"
21863 if test "x${build_doc}" = "xyes" ; then
21864 echo " Installation...........: make install-doc"
21867 echo "Compilation................: make (or gmake)"
21868 echo " CPPFLAGS.................: $CPPFLAGS"
21869 echo " CFLAGS...................: $CFLAGS"
21870 echo " LDFLAGS..................: $LDFLAGS"
21872 echo "Installation...............: make install (as root if needed, with 'su' or 'sudo')"
21873 echo " prefix...................: $prefix"