2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for elementary 0.8.0.67547.
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: enlightenment-devel@lists.sourceforge.net about your
235 $0: system, including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
369 as_status=$1; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 # Check that we are running under the correct shell.
534 SHELL=${CONFIG_SHELL-/bin/sh}
538 # Remove one level of quotation (which was required for Make).
539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544 if test "X$1" = X--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
547 elif test "X$1" = X--fallback-echo; then
548 # Avoid inline document here, it may be left over
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
558 if test "X$1" = X--fallback-echo; then
559 # used as fallback echo
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
593 # So, first we look for a working echo in the user's PATH.
595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596 for dir in $PATH /usr/ucb; do
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
608 if test "X$ECHO" = Xecho; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X/bin/ksh; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL=/bin/ksh
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637 SHELL="$CONFIG_SHELL"
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO="$CONFIG_SHELL $0 --fallback-echo"
646 # maybe with a smaller string...
649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 # Oops. We lost completely, so just stick with echo.
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681 test -n "$DJDIR" || exec 7<&0 </dev/null
685 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
692 ac_default_prefix=/usr/local
694 ac_config_libobj_dir=.
701 # Identity of this package.
702 PACKAGE_NAME='elementary'
703 PACKAGE_TARNAME='elementary'
704 PACKAGE_VERSION='0.8.0.67547'
705 PACKAGE_STRING='elementary 0.8.0.67547'
706 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
709 ac_unique_file="configure.ac"
710 # Factoring default headers for most tests.
711 ac_includes_default="\
713 #ifdef HAVE_SYS_TYPES_H
714 # include <sys/types.h>
716 #ifdef HAVE_SYS_STAT_H
717 # include <sys/stat.h>
723 # ifdef HAVE_STDLIB_H
728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
733 #ifdef HAVE_STRINGS_H
734 # include <strings.h>
736 #ifdef HAVE_INTTYPES_H
737 # include <inttypes.h>
747 ac_subst_vars='am__EXEEXT_FALSE
751 EFL_INSTALL_EXAMPLES_FALSE
752 EFL_INSTALL_EXAMPLES_TRUE
753 EFL_BUILD_EXAMPLES_FALSE
754 EFL_BUILD_EXAMPLES_TRUE
764 XGETTEXT_EXTRA_OPTIONS
772 GETTEXT_MACRO_VERSION
774 BUILD_ELEMENTARY_CONFIG_FALSE
775 BUILD_ELEMENTARY_CONFIG_TRUE
776 ELEMENTARY_CONFIG_PRG
777 BUILD_ELEMENTARY_TEST_FALSE
778 BUILD_ELEMENTARY_TEST_TRUE
794 ELEMENTARY_WEB_CFLAGS
796 ELEMENTARY_ETHUMB_LIBS
797 ELEMENTARY_ETHUMB_CFLAGS
800 ELEMENTARY_EMAP_CFLAGS
802 ELEMENTARY_EWEATHER_LIBS
803 ELEMENTARY_EWEATHER_CFLAGS
805 ELEMENTARY_EFREET_LIBS
806 ELEMENTARY_EFREET_CFLAGS
808 ELEMENTARY_EDBUS_LIBS
809 ELEMENTARY_EDBUS_CFLAGS
810 ELEMENTARY_WINCE_LIBS
811 ELEMENTARY_WINCE_CFLAGS
812 ELEMENTARY_WIN32_LIBS
813 ELEMENTARY_WIN32_CFLAGS
814 ELEMENTARY_COCOA_LIBS
815 ELEMENTARY_COCOA_CFLAGS
817 ELEMENTARY_SDL_CFLAGS
818 ELEMENTARY_PSL1GHT_LIBS
819 ELEMENTARY_PSL1GHT_CFLAGS
834 ELEMENTARY_ECORE_CON_INC
835 ELEMENTARY_ECORE_CON_LIBS
836 ELEMENTARY_ECORE_CON_CFLAGS
839 ELEMENTARY_ECORE_IMF_INC
840 ELEMENTARY_ECORE_IMF_LIBS
841 ELEMENTARY_ECORE_IMF_CFLAGS
844 ELEMENTARY_WINDOWS_BUILD_FALSE
845 ELEMENTARY_WINDOWS_BUILD_TRUE
849 lt_enable_auto_import
851 BUILD_QUICKLAUNCH_FALSE
852 BUILD_QUICKLAUNCH_TRUE
860 pkgconfig_requires_private
919 INSTALL_STRIP_PROGRAM
969 program_transform_name
982 enable_option_checking
984 enable_dependency_tracking
1011 enable_elementary_test
1012 enable_elementary_config
1015 with_libiconv_prefix
1017 with_elementary_base_dir
1018 enable_build_examples
1019 enable_install_examples
1021 ac_precious_vars='build_alias
1037 ELEMENTARY_ECORE_IMF_CFLAGS
1038 ELEMENTARY_ECORE_IMF_LIBS
1039 ELEMENTARY_ECORE_CON_CFLAGS
1040 ELEMENTARY_ECORE_CON_LIBS
1047 ELEMENTARY_FB_CFLAGS
1049 ELEMENTARY_PSL1GHT_CFLAGS
1050 ELEMENTARY_PSL1GHT_LIBS
1051 ELEMENTARY_SDL_CFLAGS
1053 ELEMENTARY_COCOA_CFLAGS
1054 ELEMENTARY_COCOA_LIBS
1055 ELEMENTARY_WIN32_CFLAGS
1056 ELEMENTARY_WIN32_LIBS
1057 ELEMENTARY_WINCE_CFLAGS
1058 ELEMENTARY_WINCE_LIBS
1059 ELEMENTARY_EDBUS_CFLAGS
1060 ELEMENTARY_EDBUS_LIBS
1061 ELEMENTARY_EFREET_CFLAGS
1062 ELEMENTARY_EFREET_LIBS
1063 ELEMENTARY_EWEATHER_CFLAGS
1064 ELEMENTARY_EWEATHER_LIBS
1065 ELEMENTARY_EMAP_CFLAGS
1066 ELEMENTARY_EMAP_LIBS
1067 ELEMENTARY_ETHUMB_CFLAGS
1068 ELEMENTARY_ETHUMB_LIBS
1069 ELEMENTARY_WEB_CFLAGS
1070 ELEMENTARY_WEB_LIBS'
1073 # Initialize some variables set by options.
1075 ac_init_version=false
1076 ac_unrecognized_opts=
1077 ac_unrecognized_sep=
1078 # The variables have the same names as the options, with
1079 # dashes changed to underlines.
1080 cache_file=/dev/null
1087 program_transform_name=s,x,x,
1095 # Installation directory options.
1096 # These are left unexpanded so users can "make install exec_prefix=/foo"
1097 # and all the variables that are supposed to be based on exec_prefix
1098 # by default will actually change.
1099 # Use braces instead of parens because sh, perl, etc. also accept them.
1100 # (The list follows the same order as the GNU Coding Standards.)
1101 bindir='${exec_prefix}/bin'
1102 sbindir='${exec_prefix}/sbin'
1103 libexecdir='${exec_prefix}/libexec'
1104 datarootdir='${prefix}/share'
1105 datadir='${datarootdir}'
1106 sysconfdir='${prefix}/etc'
1107 sharedstatedir='${prefix}/com'
1108 localstatedir='${prefix}/var'
1109 includedir='${prefix}/include'
1110 oldincludedir='/usr/include'
1111 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1112 infodir='${datarootdir}/info'
1117 libdir='${exec_prefix}/lib'
1118 localedir='${datarootdir}/locale'
1119 mandir='${datarootdir}/man'
1125 # If the previous option needs an argument, assign it.
1126 if test -n "$ac_prev"; then
1127 eval $ac_prev=\$ac_option
1133 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1138 # Accept the important Cygnus configure options, so we can diagnose typos.
1140 case $ac_dashdash$ac_option in
1144 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1146 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1147 bindir=$ac_optarg ;;
1149 -build | --build | --buil | --bui | --bu)
1150 ac_prev=build_alias ;;
1151 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1152 build_alias=$ac_optarg ;;
1154 -cache-file | --cache-file | --cache-fil | --cache-fi \
1155 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1156 ac_prev=cache_file ;;
1157 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1158 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1159 cache_file=$ac_optarg ;;
1161 --config-cache | -C)
1162 cache_file=config.cache ;;
1164 -datadir | --datadir | --datadi | --datad)
1166 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1167 datadir=$ac_optarg ;;
1169 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1170 | --dataroo | --dataro | --datar)
1171 ac_prev=datarootdir ;;
1172 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1173 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1174 datarootdir=$ac_optarg ;;
1176 -disable-* | --disable-*)
1177 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1180 as_fn_error $? "invalid feature name: $ac_useropt"
1181 ac_useropt_orig=$ac_useropt
1182 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1185 "enable_$ac_useropt"
1187 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1188 ac_unrecognized_sep=', ';;
1190 eval enable_$ac_useropt=no ;;
1192 -docdir | --docdir | --docdi | --doc | --do)
1194 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1195 docdir=$ac_optarg ;;
1197 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1199 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1200 dvidir=$ac_optarg ;;
1202 -enable-* | --enable-*)
1203 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1206 as_fn_error $? "invalid feature name: $ac_useropt"
1207 ac_useropt_orig=$ac_useropt
1208 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1209 case $ac_user_opts in
1211 "enable_$ac_useropt"
1213 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1214 ac_unrecognized_sep=', ';;
1216 eval enable_$ac_useropt=\$ac_optarg ;;
1218 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1219 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1220 | --exec | --exe | --ex)
1221 ac_prev=exec_prefix ;;
1222 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1223 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1224 | --exec=* | --exe=* | --ex=*)
1225 exec_prefix=$ac_optarg ;;
1227 -gas | --gas | --ga | --g)
1228 # Obsolete; use --with-gas.
1231 -help | --help | --hel | --he | -h)
1232 ac_init_help=long ;;
1233 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1234 ac_init_help=recursive ;;
1235 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1236 ac_init_help=short ;;
1238 -host | --host | --hos | --ho)
1239 ac_prev=host_alias ;;
1240 -host=* | --host=* | --hos=* | --ho=*)
1241 host_alias=$ac_optarg ;;
1243 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1245 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1247 htmldir=$ac_optarg ;;
1249 -includedir | --includedir | --includedi | --included | --include \
1250 | --includ | --inclu | --incl | --inc)
1251 ac_prev=includedir ;;
1252 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1253 | --includ=* | --inclu=* | --incl=* | --inc=*)
1254 includedir=$ac_optarg ;;
1256 -infodir | --infodir | --infodi | --infod | --info | --inf)
1258 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1259 infodir=$ac_optarg ;;
1261 -libdir | --libdir | --libdi | --libd)
1263 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1264 libdir=$ac_optarg ;;
1266 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1267 | --libexe | --libex | --libe)
1268 ac_prev=libexecdir ;;
1269 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1270 | --libexe=* | --libex=* | --libe=*)
1271 libexecdir=$ac_optarg ;;
1273 -localedir | --localedir | --localedi | --localed | --locale)
1274 ac_prev=localedir ;;
1275 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1276 localedir=$ac_optarg ;;
1278 -localstatedir | --localstatedir | --localstatedi | --localstated \
1279 | --localstate | --localstat | --localsta | --localst | --locals)
1280 ac_prev=localstatedir ;;
1281 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1282 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1283 localstatedir=$ac_optarg ;;
1285 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1287 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1288 mandir=$ac_optarg ;;
1290 -nfp | --nfp | --nf)
1291 # Obsolete; use --without-fp.
1294 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1295 | --no-cr | --no-c | -n)
1298 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1299 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1302 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1303 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1304 | --oldin | --oldi | --old | --ol | --o)
1305 ac_prev=oldincludedir ;;
1306 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1307 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1308 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1309 oldincludedir=$ac_optarg ;;
1311 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1313 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1314 prefix=$ac_optarg ;;
1316 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1317 | --program-pre | --program-pr | --program-p)
1318 ac_prev=program_prefix ;;
1319 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1320 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1321 program_prefix=$ac_optarg ;;
1323 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1324 | --program-suf | --program-su | --program-s)
1325 ac_prev=program_suffix ;;
1326 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1327 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1328 program_suffix=$ac_optarg ;;
1330 -program-transform-name | --program-transform-name \
1331 | --program-transform-nam | --program-transform-na \
1332 | --program-transform-n | --program-transform- \
1333 | --program-transform | --program-transfor \
1334 | --program-transfo | --program-transf \
1335 | --program-trans | --program-tran \
1336 | --progr-tra | --program-tr | --program-t)
1337 ac_prev=program_transform_name ;;
1338 -program-transform-name=* | --program-transform-name=* \
1339 | --program-transform-nam=* | --program-transform-na=* \
1340 | --program-transform-n=* | --program-transform-=* \
1341 | --program-transform=* | --program-transfor=* \
1342 | --program-transfo=* | --program-transf=* \
1343 | --program-trans=* | --program-tran=* \
1344 | --progr-tra=* | --program-tr=* | --program-t=*)
1345 program_transform_name=$ac_optarg ;;
1347 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1349 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1350 pdfdir=$ac_optarg ;;
1352 -psdir | --psdir | --psdi | --psd | --ps)
1354 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1357 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1358 | -silent | --silent | --silen | --sile | --sil)
1361 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1363 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1365 sbindir=$ac_optarg ;;
1367 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1368 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1369 | --sharedst | --shareds | --shared | --share | --shar \
1371 ac_prev=sharedstatedir ;;
1372 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1373 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1374 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1376 sharedstatedir=$ac_optarg ;;
1378 -site | --site | --sit)
1380 -site=* | --site=* | --sit=*)
1383 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1385 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1386 srcdir=$ac_optarg ;;
1388 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1389 | --syscon | --sysco | --sysc | --sys | --sy)
1390 ac_prev=sysconfdir ;;
1391 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1392 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1393 sysconfdir=$ac_optarg ;;
1395 -target | --target | --targe | --targ | --tar | --ta | --t)
1396 ac_prev=target_alias ;;
1397 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1398 target_alias=$ac_optarg ;;
1400 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1403 -version | --version | --versio | --versi | --vers | -V)
1404 ac_init_version=: ;;
1407 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1408 # Reject names that are not valid shell variable names.
1409 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1410 as_fn_error $? "invalid package name: $ac_useropt"
1411 ac_useropt_orig=$ac_useropt
1412 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1413 case $ac_user_opts in
1417 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1418 ac_unrecognized_sep=', ';;
1420 eval with_$ac_useropt=\$ac_optarg ;;
1422 -without-* | --without-*)
1423 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1424 # Reject names that are not valid shell variable names.
1425 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1426 as_fn_error $? "invalid package name: $ac_useropt"
1427 ac_useropt_orig=$ac_useropt
1428 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1429 case $ac_user_opts in
1433 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1434 ac_unrecognized_sep=', ';;
1436 eval with_$ac_useropt=no ;;
1439 # Obsolete; use --with-x.
1442 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1443 | --x-incl | --x-inc | --x-in | --x-i)
1444 ac_prev=x_includes ;;
1445 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1446 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1447 x_includes=$ac_optarg ;;
1449 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1450 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1451 ac_prev=x_libraries ;;
1452 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1453 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1454 x_libraries=$ac_optarg ;;
1456 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1457 Try \`$0 --help' for more information"
1461 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1462 # Reject names that are not valid shell variable names.
1463 case $ac_envvar in #(
1464 '' | [0-9]* | *[!_$as_cr_alnum]* )
1465 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1467 eval $ac_envvar=\$ac_optarg
1468 export $ac_envvar ;;
1471 # FIXME: should be removed in autoconf 3.0.
1472 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1473 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1474 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1475 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1481 if test -n "$ac_prev"; then
1482 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1483 as_fn_error $? "missing argument to $ac_option"
1486 if test -n "$ac_unrecognized_opts"; then
1487 case $enable_option_checking in
1489 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1490 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1494 # Check all directory arguments for consistency.
1495 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1496 datadir sysconfdir sharedstatedir localstatedir includedir \
1497 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1498 libdir localedir mandir
1500 eval ac_val=\$$ac_var
1501 # Remove trailing slashes.
1504 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1505 eval $ac_var=\$ac_val;;
1507 # Be sure to have absolute directory names.
1509 [\\/$]* | ?:[\\/]* ) continue;;
1510 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1512 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1515 # There might be people who depend on the old broken behavior: `$host'
1516 # used to hold the argument of --host etc.
1517 # FIXME: To remove some day.
1520 target=$target_alias
1522 # FIXME: To remove some day.
1523 if test "x$host_alias" != x; then
1524 if test "x$build_alias" = x; then
1525 cross_compiling=maybe
1526 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1527 If a cross compiler is detected then cross compile mode will be used" >&2
1528 elif test "x$build_alias" != "x$host_alias"; then
1534 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1536 test "$silent" = yes && exec 6>/dev/null
1539 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1540 ac_ls_di=`ls -di .` &&
1541 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1542 as_fn_error $? "working directory cannot be determined"
1543 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1544 as_fn_error $? "pwd does not report name of working directory"
1547 # Find the source files, if location was not specified.
1548 if test -z "$srcdir"; then
1549 ac_srcdir_defaulted=yes
1550 # Try the directory containing this script, then the parent directory.
1551 ac_confdir=`$as_dirname -- "$as_myself" ||
1552 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1553 X"$as_myself" : 'X\(//\)[^/]' \| \
1554 X"$as_myself" : 'X\(//\)$' \| \
1555 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1556 $as_echo X"$as_myself" |
1557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1575 if test ! -r "$srcdir/$ac_unique_file"; then
1579 ac_srcdir_defaulted=no
1581 if test ! -r "$srcdir/$ac_unique_file"; then
1582 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1583 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1585 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1587 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1589 # When building in place, set srcdir=.
1590 if test "$ac_abs_confdir" = "$ac_pwd"; then
1593 # Remove unnecessary trailing slashes from srcdir.
1594 # Double slashes in file names in object file debugging info
1595 # mess up M-x gdb in Emacs.
1597 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1599 for ac_var in $ac_precious_vars; do
1600 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1601 eval ac_env_${ac_var}_value=\$${ac_var}
1602 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1603 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1607 # Report the --help message.
1609 if test "$ac_init_help" = "long"; then
1610 # Omit some internal or obsolete options to make the list less imposing.
1611 # This message is too long to be a string in the A/UX 3.1 sh.
1613 \`configure' configures elementary 0.8.0.67547 to adapt to many kinds of systems.
1615 Usage: $0 [OPTION]... [VAR=VALUE]...
1617 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1618 VAR=VALUE. See below for descriptions of some of the useful variables.
1620 Defaults for the options are specified in brackets.
1623 -h, --help display this help and exit
1624 --help=short display options specific to this package
1625 --help=recursive display the short help of all the included packages
1626 -V, --version display version information and exit
1627 -q, --quiet, --silent do not print \`checking ...' messages
1628 --cache-file=FILE cache test results in FILE [disabled]
1629 -C, --config-cache alias for \`--cache-file=config.cache'
1630 -n, --no-create do not create output files
1631 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1633 Installation directories:
1634 --prefix=PREFIX install architecture-independent files in PREFIX
1635 [$ac_default_prefix]
1636 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1639 By default, \`make install' will install all the files in
1640 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1641 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1642 for instance \`--prefix=\$HOME'.
1644 For better control, use the options below.
1646 Fine tuning of the installation directories:
1647 --bindir=DIR user executables [EPREFIX/bin]
1648 --sbindir=DIR system admin executables [EPREFIX/sbin]
1649 --libexecdir=DIR program executables [EPREFIX/libexec]
1650 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1651 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1652 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1653 --libdir=DIR object code libraries [EPREFIX/lib]
1654 --includedir=DIR C header files [PREFIX/include]
1655 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1656 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1657 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1658 --infodir=DIR info documentation [DATAROOTDIR/info]
1659 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1660 --mandir=DIR man documentation [DATAROOTDIR/man]
1661 --docdir=DIR documentation root [DATAROOTDIR/doc/elementary]
1662 --htmldir=DIR html documentation [DOCDIR]
1663 --dvidir=DIR dvi documentation [DOCDIR]
1664 --pdfdir=DIR pdf documentation [DOCDIR]
1665 --psdir=DIR ps documentation [DOCDIR]
1671 --program-prefix=PREFIX prepend PREFIX to installed program names
1672 --program-suffix=SUFFIX append SUFFIX to installed program names
1673 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1676 --build=BUILD configure for building on BUILD [guessed]
1677 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1681 if test -n "$ac_init_help"; then
1682 case $ac_init_help in
1683 short | recursive ) echo "Configuration of elementary 0.8.0.67547:";;
1688 --disable-option-checking ignore unrecognized --enable/--with options
1689 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1690 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1691 --enable-silent-rules less verbose build output (undo: `make V=1')
1692 --disable-silent-rules verbose build output (undo: `make V=0')
1693 --disable-dependency-tracking speeds up one-time build
1694 --enable-dependency-tracking do not reject slow dependency extractors
1695 --enable-shared[=PKGS] build shared libraries [default=yes]
1696 --enable-static[=PKGS] build static libraries [default=yes]
1697 --enable-fast-install[=PKGS]
1698 optimize for fast installation [default=yes]
1699 --disable-libtool-lock avoid locking (might break parallel builds)
1700 --disable-quick-launch disable quick-launch support, [default=detect]
1701 --disable-emotion disable emotion support. [default=enabled]
1702 --disable-ecore-x disable ecore-x support. [default=detect]
1703 --disable-ecore-fb disable ecore-fb support. [default=detect]
1704 --disable-ecore-psl1ght disable ecore-psl1ght support. [default=detect]
1705 --disable-ecore-sdl disable ecore-sdl support. [default=detect]
1706 --disable-ecore-cocoa disable ecore-cocoa support. [default=detect]
1707 --disable-ecore-win32 disable ecore-win32 support. [default=detect]
1708 --disable-ecore-wince disable ecore-wince support. [default=detect]
1709 --disable-edbus disable edbus support. [default=detect]
1710 --disable-efreet disable efreet support. [default=detect]
1711 --disable-eweather disable eweather support. [default=detect]
1712 --disable-emap disable emap support. [default=detect]
1713 --disable-ethumb disable ethumb support. [default=detect]
1714 --disable-web disable web (WebKit) support. [default=detect]
1715 --enable-debug enable elementary debug support. [default=disabled]
1716 --disable-doc Disable documentation build [default=enabled]
1717 --disable-elementary-test
1718 disable building of elementary_test
1719 --disable-elementary-config
1720 disable building of elementary_config
1721 --disable-nls do not use Native Language Support
1722 --disable-rpath do not hardcode runtime library paths
1723 --enable-build-examples enable building examples [default=disabled]
1724 --enable-install-examples
1725 enable installing example source files
1729 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1730 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1731 --with-pic try to use only PIC/non-PIC objects [default=use
1733 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1734 --with-eet-eet=PATH specify a specific path to eet_eet [default=eet]
1735 --with-edje-cc=PATH specify a specific path to edje_cc [default=edje_cc]
1736 --with-doxygen=FILE doxygen program to use [default=doxygen]
1737 --with-gnu-ld assume the C compiler uses GNU ld default=no
1738 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1739 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1740 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1741 --without-libintl-prefix don't search for libintl in includedir and libdir
1742 --with-elementary-base-dir=PATH
1743 specify the subdirectory for all elementary data
1744 [default=${elementary_base_dir}]
1746 Some influential environment variables:
1747 CC C compiler command
1748 CFLAGS C compiler flags
1749 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1750 nonstandard directory <lib dir>
1751 LIBS libraries to pass to the linker, e.g. -l<library>
1752 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1753 you have headers in a nonstandard directory <include dir>
1755 PKG_CONFIG path to pkg-config utility
1757 directories to add to pkg-config's search path
1759 path overriding pkg-config's built-in search path
1760 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1761 EVIL_LIBS linker flags for EVIL, overriding pkg-config
1763 C compiler flags for ELEMENTARY, overriding pkg-config
1765 linker flags for ELEMENTARY, overriding pkg-config
1766 ELEMENTARY_ECORE_IMF_CFLAGS
1767 C compiler flags for ELEMENTARY_ECORE_IMF, overriding pkg-config
1768 ELEMENTARY_ECORE_IMF_LIBS
1769 linker flags for ELEMENTARY_ECORE_IMF, overriding pkg-config
1770 ELEMENTARY_ECORE_CON_CFLAGS
1771 C compiler flags for ELEMENTARY_ECORE_CON, overriding pkg-config
1772 ELEMENTARY_ECORE_CON_LIBS
1773 linker flags for ELEMENTARY_ECORE_CON, overriding pkg-config
1774 EIO_CFLAGS C compiler flags for EIO, overriding pkg-config
1775 EIO_LIBS linker flags for EIO, overriding pkg-config
1777 C compiler flags for EMOTION, overriding pkg-config
1779 linker flags for EMOTION, overriding pkg-config
1781 C compiler flags for ELEMENTARY_X, overriding pkg-config
1783 linker flags for ELEMENTARY_X, overriding pkg-config
1784 ELEMENTARY_FB_CFLAGS
1785 C compiler flags for ELEMENTARY_FB, overriding pkg-config
1787 linker flags for ELEMENTARY_FB, overriding pkg-config
1788 ELEMENTARY_PSL1GHT_CFLAGS
1789 C compiler flags for ELEMENTARY_PSL1GHT, overriding pkg-config
1790 ELEMENTARY_PSL1GHT_LIBS
1791 linker flags for ELEMENTARY_PSL1GHT, overriding pkg-config
1792 ELEMENTARY_SDL_CFLAGS
1793 C compiler flags for ELEMENTARY_SDL, overriding pkg-config
1795 linker flags for ELEMENTARY_SDL, overriding pkg-config
1796 ELEMENTARY_COCOA_CFLAGS
1797 C compiler flags for ELEMENTARY_COCOA, overriding pkg-config
1798 ELEMENTARY_COCOA_LIBS
1799 linker flags for ELEMENTARY_COCOA, overriding pkg-config
1800 ELEMENTARY_WIN32_CFLAGS
1801 C compiler flags for ELEMENTARY_WIN32, overriding pkg-config
1802 ELEMENTARY_WIN32_LIBS
1803 linker flags for ELEMENTARY_WIN32, overriding pkg-config
1804 ELEMENTARY_WINCE_CFLAGS
1805 C compiler flags for ELEMENTARY_WINCE, overriding pkg-config
1806 ELEMENTARY_WINCE_LIBS
1807 linker flags for ELEMENTARY_WINCE, overriding pkg-config
1808 ELEMENTARY_EDBUS_CFLAGS
1809 C compiler flags for ELEMENTARY_EDBUS, overriding pkg-config
1810 ELEMENTARY_EDBUS_LIBS
1811 linker flags for ELEMENTARY_EDBUS, overriding pkg-config
1812 ELEMENTARY_EFREET_CFLAGS
1813 C compiler flags for ELEMENTARY_EFREET, overriding pkg-config
1814 ELEMENTARY_EFREET_LIBS
1815 linker flags for ELEMENTARY_EFREET, overriding pkg-config
1816 ELEMENTARY_EWEATHER_CFLAGS
1817 C compiler flags for ELEMENTARY_EWEATHER, overriding pkg-config
1818 ELEMENTARY_EWEATHER_LIBS
1819 linker flags for ELEMENTARY_EWEATHER, overriding pkg-config
1820 ELEMENTARY_EMAP_CFLAGS
1821 C compiler flags for ELEMENTARY_EMAP, overriding pkg-config
1822 ELEMENTARY_EMAP_LIBS
1823 linker flags for ELEMENTARY_EMAP, overriding pkg-config
1824 ELEMENTARY_ETHUMB_CFLAGS
1825 C compiler flags for ELEMENTARY_ETHUMB, overriding pkg-config
1826 ELEMENTARY_ETHUMB_LIBS
1827 linker flags for ELEMENTARY_ETHUMB, overriding pkg-config
1828 ELEMENTARY_WEB_CFLAGS
1829 C compiler flags for ELEMENTARY_WEB, overriding pkg-config
1831 linker flags for ELEMENTARY_WEB, overriding pkg-config
1833 Use these variables to override the choices made by `configure' or to help
1834 it to find libraries and programs with nonstandard names/locations.
1836 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1841 if test "$ac_init_help" = "recursive"; then
1842 # If there are subdirs, report their specific --help.
1843 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1844 test -d "$ac_dir" ||
1845 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1850 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1852 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1853 # A ".." for each directory in $ac_dir_suffix.
1854 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1855 case $ac_top_builddir_sub in
1856 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1857 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1860 ac_abs_top_builddir=$ac_pwd
1861 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1862 # for backward compatibility:
1863 ac_top_builddir=$ac_top_build_prefix
1866 .) # We are building in place.
1868 ac_top_srcdir=$ac_top_builddir_sub
1869 ac_abs_top_srcdir=$ac_pwd ;;
1870 [\\/]* | ?:[\\/]* ) # Absolute name.
1871 ac_srcdir=$srcdir$ac_dir_suffix;
1872 ac_top_srcdir=$srcdir
1873 ac_abs_top_srcdir=$srcdir ;;
1875 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1876 ac_top_srcdir=$ac_top_build_prefix$srcdir
1877 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1879 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1881 cd "$ac_dir" || { ac_status=$?; continue; }
1882 # Check for guested configure.
1883 if test -f "$ac_srcdir/configure.gnu"; then
1885 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1886 elif test -f "$ac_srcdir/configure"; then
1888 $SHELL "$ac_srcdir/configure" --help=recursive
1890 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1892 cd "$ac_pwd" || { ac_status=$?; break; }
1896 test -n "$ac_init_help" && exit $ac_status
1897 if $ac_init_version; then
1899 elementary configure 0.8.0.67547
1900 generated by GNU Autoconf 2.67
1902 Copyright (C) 2010 Free Software Foundation, Inc.
1903 This configure script is free software; the Free Software Foundation
1904 gives unlimited permission to copy, distribute and modify it.
1909 ## ------------------------ ##
1910 ## Autoconf initialization. ##
1911 ## ------------------------ ##
1913 # ac_fn_c_try_compile LINENO
1914 # --------------------------
1915 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1916 ac_fn_c_try_compile ()
1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919 rm -f conftest.$ac_objext
1920 if { { ac_try="$ac_compile"
1922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1923 *) ac_try_echo=$ac_try;;
1925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926 $as_echo "$ac_try_echo"; } >&5
1927 (eval "$ac_compile") 2>conftest.err
1929 if test -s conftest.err; then
1930 grep -v '^ *+' conftest.err >conftest.er1
1931 cat conftest.er1 >&5
1932 mv -f conftest.er1 conftest.err
1934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1935 test $ac_status = 0; } && {
1936 test -z "$ac_c_werror_flag" ||
1937 test ! -s conftest.err
1938 } && test -s conftest.$ac_objext; then :
1941 $as_echo "$as_me: failed program was:" >&5
1942 sed 's/^/| /' conftest.$ac_ext >&5
1946 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1947 as_fn_set_status $ac_retval
1949 } # ac_fn_c_try_compile
1951 # ac_fn_c_try_cpp LINENO
1952 # ----------------------
1953 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957 if { { ac_try="$ac_cpp conftest.$ac_ext"
1959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1960 *) ac_try_echo=$ac_try;;
1962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1963 $as_echo "$ac_try_echo"; } >&5
1964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1966 if test -s conftest.err; then
1967 grep -v '^ *+' conftest.err >conftest.er1
1968 cat conftest.er1 >&5
1969 mv -f conftest.er1 conftest.err
1971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1972 test $ac_status = 0; } > conftest.i && {
1973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1974 test ! -s conftest.err
1978 $as_echo "$as_me: failed program was:" >&5
1979 sed 's/^/| /' conftest.$ac_ext >&5
1983 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1984 as_fn_set_status $ac_retval
1988 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1989 # -------------------------------------------------------
1990 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1991 # the include files in INCLUDES and setting the cache variable VAR
1993 ac_fn_c_check_header_mongrel ()
1995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1996 if eval "test \"\${$3+set}\"" = set; then :
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1998 $as_echo_n "checking for $2... " >&6; }
1999 if eval "test \"\${$3+set}\"" = set; then :
2000 $as_echo_n "(cached) " >&6
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2004 $as_echo "$ac_res" >&6; }
2006 # Is the header compilable?
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2008 $as_echo_n "checking $2 usability... " >&6; }
2009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h. */
2014 if ac_fn_c_try_compile "$LINENO"; then :
2015 ac_header_compiler=yes
2017 ac_header_compiler=no
2019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2021 $as_echo "$ac_header_compiler" >&6; }
2023 # Is the header present?
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2025 $as_echo_n "checking $2 presence... " >&6; }
2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2030 if ac_fn_c_try_cpp "$LINENO"; then :
2031 ac_header_preproc=yes
2033 ac_header_preproc=no
2035 rm -f conftest.err conftest.i conftest.$ac_ext
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2037 $as_echo "$ac_header_preproc" >&6; }
2039 # So? What about this header?
2040 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2043 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2045 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2049 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2051 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2053 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2055 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2057 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2058 ( $as_echo "## -------------------------------------------------------- ##
2059 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2060 ## -------------------------------------------------------- ##"
2061 ) | sed "s/^/$as_me: WARNING: /" >&2
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2065 $as_echo_n "checking for $2... " >&6; }
2066 if eval "test \"\${$3+set}\"" = set; then :
2067 $as_echo_n "(cached) " >&6
2069 eval "$3=\$ac_header_compiler"
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073 $as_echo "$ac_res" >&6; }
2075 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2077 } # ac_fn_c_check_header_mongrel
2079 # ac_fn_c_try_run LINENO
2080 # ----------------------
2081 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2082 # that executables *can* be run.
2085 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2086 if { { ac_try="$ac_link"
2088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2089 *) ac_try_echo=$ac_try;;
2091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2092 $as_echo "$ac_try_echo"; } >&5
2093 (eval "$ac_link") 2>&5
2095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2096 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2097 { { case "(($ac_try" in
2098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2099 *) ac_try_echo=$ac_try;;
2101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2102 $as_echo "$ac_try_echo"; } >&5
2103 (eval "$ac_try") 2>&5
2105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2106 test $ac_status = 0; }; }; then :
2109 $as_echo "$as_me: program exited with status $ac_status" >&5
2110 $as_echo "$as_me: failed program was:" >&5
2111 sed 's/^/| /' conftest.$ac_ext >&5
2113 ac_retval=$ac_status
2115 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2116 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2117 as_fn_set_status $ac_retval
2121 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2122 # -------------------------------------------------------
2123 # Tests whether HEADER exists and can be compiled using the include files in
2124 # INCLUDES, setting the cache variable VAR accordingly.
2125 ac_fn_c_check_header_compile ()
2127 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2129 $as_echo_n "checking for $2... " >&6; }
2130 if eval "test \"\${$3+set}\"" = set; then :
2131 $as_echo_n "(cached) " >&6
2133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2134 /* end confdefs.h. */
2138 if ac_fn_c_try_compile "$LINENO"; then :
2143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2147 $as_echo "$ac_res" >&6; }
2148 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2150 } # ac_fn_c_check_header_compile
2152 # ac_fn_c_try_link LINENO
2153 # -----------------------
2154 # Try to link conftest.$ac_ext, and return whether this succeeded.
2157 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2158 rm -f conftest.$ac_objext conftest$ac_exeext
2159 if { { ac_try="$ac_link"
2161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2162 *) ac_try_echo=$ac_try;;
2164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2165 $as_echo "$ac_try_echo"; } >&5
2166 (eval "$ac_link") 2>conftest.err
2168 if test -s conftest.err; then
2169 grep -v '^ *+' conftest.err >conftest.er1
2170 cat conftest.er1 >&5
2171 mv -f conftest.er1 conftest.err
2173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2174 test $ac_status = 0; } && {
2175 test -z "$ac_c_werror_flag" ||
2176 test ! -s conftest.err
2177 } && test -s conftest$ac_exeext && {
2178 test "$cross_compiling" = yes ||
2179 $as_test_x conftest$ac_exeext
2183 $as_echo "$as_me: failed program was:" >&5
2184 sed 's/^/| /' conftest.$ac_ext >&5
2188 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2189 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2190 # interfere with the next link command; also delete a directory that is
2191 # left behind by Apple's compiler. We do this before executing the actions.
2192 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2193 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2194 as_fn_set_status $ac_retval
2196 } # ac_fn_c_try_link
2198 # ac_fn_c_check_func LINENO FUNC VAR
2199 # ----------------------------------
2200 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2201 ac_fn_c_check_func ()
2203 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2205 $as_echo_n "checking for $2... " >&6; }
2206 if eval "test \"\${$3+set}\"" = set; then :
2207 $as_echo_n "(cached) " >&6
2209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2210 /* end confdefs.h. */
2211 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2213 #define $2 innocuous_$2
2215 /* System header to define __stub macros and hopefully few prototypes,
2216 which can conflict with char $2 (); below.
2217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2218 <limits.h> exists even on freestanding compilers. */
2221 # include <limits.h>
2223 # include <assert.h>
2228 /* Override any GCC internal prototype to avoid an error.
2229 Use char because int might match the return type of a GCC
2230 builtin and then its argument prototype would still apply. */
2235 /* The GNU C library defines this for functions which it implements
2236 to always fail with ENOSYS. Some functions are actually named
2237 something starting with __ and the normal name is an alias. */
2238 #if defined __stub_$2 || defined __stub___$2
2250 if ac_fn_c_try_link "$LINENO"; then :
2255 rm -f core conftest.err conftest.$ac_objext \
2256 conftest$ac_exeext conftest.$ac_ext
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2260 $as_echo "$ac_res" >&6; }
2261 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2263 } # ac_fn_c_check_func
2264 cat >config.log <<_ACEOF
2265 This file contains any messages produced by compilers while
2266 running configure, to aid debugging if configure makes a mistake.
2268 It was created by elementary $as_me 0.8.0.67547, which was
2269 generated by GNU Autoconf 2.67. Invocation command line was
2281 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2282 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2283 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2284 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2285 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2287 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2288 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2290 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2291 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2292 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2293 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2294 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2295 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2296 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir=.
2305 $as_echo "PATH: $as_dir"
2321 # Keep a trace of the command line.
2322 # Strip out --no-create and --no-recursion so they do not pile up.
2323 # Strip out --silent because we don't want to record it for future runs.
2324 # Also quote any args containing shell meta-characters.
2325 # Make two passes to allow for proper duplicate-argument suppression.
2329 ac_must_keep_next=false
2335 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2336 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2337 | -silent | --silent | --silen | --sile | --sil)
2340 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2343 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2345 as_fn_append ac_configure_args1 " '$ac_arg'"
2346 if test $ac_must_keep_next = true; then
2347 ac_must_keep_next=false # Got value, back to normal.
2350 *=* | --config-cache | -C | -disable-* | --disable-* \
2351 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2352 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2353 | -with-* | --with-* | -without-* | --without-* | --x)
2354 case "$ac_configure_args0 " in
2355 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2358 -* ) ac_must_keep_next=true ;;
2361 as_fn_append ac_configure_args " '$ac_arg'"
2366 { ac_configure_args0=; unset ac_configure_args0;}
2367 { ac_configure_args1=; unset ac_configure_args1;}
2369 # When interrupted or exit'd, cleanup temporary files, and complete
2370 # config.log. We remove comments because anyway the quotes in there
2371 # would cause problems or look ugly.
2372 # WARNING: Use '\'' to represent an apostrophe within the trap.
2373 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2374 trap 'exit_status=$?
2375 # Save into config.log some information that might help in debugging.
2379 $as_echo "## ---------------- ##
2380 ## Cache variables. ##
2381 ## ---------------- ##"
2383 # The following way of writing the cache mishandles newlines in values,
2385 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2386 eval ac_val=\$$ac_var
2390 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2391 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2394 _ | IFS | as_nl) ;; #(
2395 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2396 *) { eval $ac_var=; unset $ac_var;} ;;
2401 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2402 *${as_nl}ac_space=\ *)
2404 "s/'\''/'\''\\\\'\'''\''/g;
2405 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2408 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2415 $as_echo "## ----------------- ##
2416 ## Output variables. ##
2417 ## ----------------- ##"
2419 for ac_var in $ac_subst_vars
2421 eval ac_val=\$$ac_var
2423 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2425 $as_echo "$ac_var='\''$ac_val'\''"
2429 if test -n "$ac_subst_files"; then
2430 $as_echo "## ------------------- ##
2431 ## File substitutions. ##
2432 ## ------------------- ##"
2434 for ac_var in $ac_subst_files
2436 eval ac_val=\$$ac_var
2438 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2440 $as_echo "$ac_var='\''$ac_val'\''"
2445 if test -s confdefs.h; then
2446 $as_echo "## ----------- ##
2453 test "$ac_signal" != 0 &&
2454 $as_echo "$as_me: caught signal $ac_signal"
2455 $as_echo "$as_me: exit $exit_status"
2457 rm -f core *.core core.conftest.* &&
2458 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2461 for ac_signal in 1 2 13 15; do
2462 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2466 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2467 rm -f -r conftest* confdefs.h
2469 $as_echo "/* confdefs.h */" > confdefs.h
2471 # Predefined preprocessor variables.
2473 cat >>confdefs.h <<_ACEOF
2474 #define PACKAGE_NAME "$PACKAGE_NAME"
2477 cat >>confdefs.h <<_ACEOF
2478 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2481 cat >>confdefs.h <<_ACEOF
2482 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2485 cat >>confdefs.h <<_ACEOF
2486 #define PACKAGE_STRING "$PACKAGE_STRING"
2489 cat >>confdefs.h <<_ACEOF
2490 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2493 cat >>confdefs.h <<_ACEOF
2494 #define PACKAGE_URL "$PACKAGE_URL"
2498 # Let the site file select an alternate cache file if it wants to.
2499 # Prefer an explicitly selected file to automatically selected ones.
2502 if test -n "$CONFIG_SITE"; then
2503 # We do not want a PATH search for config.site.
2504 case $CONFIG_SITE in #((
2505 -*) ac_site_file1=./$CONFIG_SITE;;
2506 */*) ac_site_file1=$CONFIG_SITE;;
2507 *) ac_site_file1=./$CONFIG_SITE;;
2509 elif test "x$prefix" != xNONE; then
2510 ac_site_file1=$prefix/share/config.site
2511 ac_site_file2=$prefix/etc/config.site
2513 ac_site_file1=$ac_default_prefix/share/config.site
2514 ac_site_file2=$ac_default_prefix/etc/config.site
2516 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2518 test "x$ac_site_file" = xNONE && continue
2519 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2521 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2522 sed 's/^/| /' "$ac_site_file" >&5
2524 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2526 as_fn_error $? "failed to load site script $ac_site_file
2527 See \`config.log' for more details" "$LINENO" 5 ; }
2531 if test -r "$cache_file"; then
2532 # Some versions of bash will fail to source /dev/null (special files
2533 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2534 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2536 $as_echo "$as_me: loading cache $cache_file" >&6;}
2538 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2539 *) . "./$cache_file";;
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2544 $as_echo "$as_me: creating cache $cache_file" >&6;}
2548 gt_needs="$gt_needs "
2549 # Check that the precious variables saved in the cache have kept the same
2551 ac_cache_corrupted=false
2552 for ac_var in $ac_precious_vars; do
2553 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2554 eval ac_new_set=\$ac_env_${ac_var}_set
2555 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2556 eval ac_new_val=\$ac_env_${ac_var}_value
2557 case $ac_old_set,$ac_new_set in
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2560 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2561 ac_cache_corrupted=: ;;
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2564 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2565 ac_cache_corrupted=: ;;
2568 if test "x$ac_old_val" != "x$ac_new_val"; then
2569 # differences in whitespace do not lead to failure.
2570 ac_old_val_w=`echo x $ac_old_val`
2571 ac_new_val_w=`echo x $ac_new_val`
2572 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2574 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2575 ac_cache_corrupted=:
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2578 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2579 eval $ac_var=\$ac_old_val
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2582 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2584 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2587 # Pass precious variables to config.status.
2588 if test "$ac_new_set" = set; then
2590 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2591 *) ac_arg=$ac_var=$ac_new_val ;;
2593 case " $ac_configure_args " in
2594 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2595 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2599 if $ac_cache_corrupted; then
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2603 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2604 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2606 ## -------------------- ##
2607 ## Main body of script. ##
2608 ## -------------------- ##
2611 ac_cpp='$CPP $CPPFLAGS'
2612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2621 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2622 if test -f "$ac_dir/install-sh"; then
2624 ac_install_sh="$ac_aux_dir/install-sh -c"
2626 elif test -f "$ac_dir/install.sh"; then
2628 ac_install_sh="$ac_aux_dir/install.sh -c"
2630 elif test -f "$ac_dir/shtool"; then
2632 ac_install_sh="$ac_aux_dir/shtool install -c"
2636 if test -z "$ac_aux_dir"; then
2637 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2640 # These three variables are undocumented and unsupported,
2641 # and are intended to be withdrawn in a future Autoconf release.
2642 # They can cause serious problems if a builder's source tree is in a directory
2643 # whose full name contains unusual characters.
2644 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2645 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2646 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2649 # Make sure we can run config.sub.
2650 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2651 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2654 $as_echo_n "checking build system type... " >&6; }
2655 if test "${ac_cv_build+set}" = set; then :
2656 $as_echo_n "(cached) " >&6
2658 ac_build_alias=$build_alias
2659 test "x$ac_build_alias" = x &&
2660 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2661 test "x$ac_build_alias" = x &&
2662 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2663 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2664 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2668 $as_echo "$ac_cv_build" >&6; }
2669 case $ac_cv_build in
2671 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2674 ac_save_IFS=$IFS; IFS='-'
2680 # Remember, the first character of IFS is used to create $*,
2681 # except with old shells:
2684 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2688 $as_echo_n "checking host system type... " >&6; }
2689 if test "${ac_cv_host+set}" = set; then :
2690 $as_echo_n "(cached) " >&6
2692 if test "x$host_alias" = x; then
2693 ac_cv_host=$ac_cv_build
2695 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2696 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2701 $as_echo "$ac_cv_host" >&6; }
2704 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2707 ac_save_IFS=$IFS; IFS='-'
2713 # Remember, the first character of IFS is used to create $*,
2714 # except with old shells:
2717 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2721 ac_config_headers="$ac_config_headers elementary_config.h"
2726 am__api_version='1.11'
2728 # Find a good install program. We prefer a C program (faster),
2729 # so one script is as good as another. But avoid the broken or
2730 # incompatible versions:
2731 # SysV /etc/install, /usr/sbin/install
2732 # SunOS /usr/etc/install
2733 # IRIX /sbin/install
2735 # AmigaOS /C/install, which installs bootblocks on floppy discs
2736 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2737 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2738 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2739 # OS/2's system install, which has a completely different semantic
2740 # ./install, which can be erroneously created by make from ./install.sh.
2741 # Reject install programs that cannot install multiple files.
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2743 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2744 if test -z "$INSTALL"; then
2745 if test "${ac_cv_path_install+set}" = set; then :
2746 $as_echo_n "(cached) " >&6
2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2752 test -z "$as_dir" && as_dir=.
2753 # Account for people who put trailing slashes in PATH elements.
2754 case $as_dir/ in #((
2755 ./ | .// | /[cC]/* | \
2756 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2757 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2760 # OSF1 and SCO ODT 3.0 have their own names for install.
2761 # Don't use installbsd from OSF since it installs stuff as root
2763 for ac_prog in ginstall scoinst install; do
2764 for ac_exec_ext in '' $ac_executable_extensions; do
2765 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2766 if test $ac_prog = install &&
2767 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2768 # AIX install. It has an incompatible calling convention.
2770 elif test $ac_prog = install &&
2771 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2772 # program-specific install script used by HP pwplus--don't use.
2775 rm -rf conftest.one conftest.two conftest.dir
2776 echo one > conftest.one
2777 echo two > conftest.two
2779 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2780 test -s conftest.one && test -s conftest.two &&
2781 test -s conftest.dir/conftest.one &&
2782 test -s conftest.dir/conftest.two
2784 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2797 rm -rf conftest.one conftest.two conftest.dir
2800 if test "${ac_cv_path_install+set}" = set; then
2801 INSTALL=$ac_cv_path_install
2803 # As a last resort, use the slow shell script. Don't cache a
2804 # value for INSTALL within a source directory, because that will
2805 # break other packages using the cache if that directory is
2806 # removed, or if the value is a relative name.
2807 INSTALL=$ac_install_sh
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2811 $as_echo "$INSTALL" >&6; }
2813 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2814 # It thinks the first close brace ends the variable substitution.
2815 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2817 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2819 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2822 $as_echo_n "checking whether build environment is sane... " >&6; }
2825 echo timestamp > conftest.file
2826 # Reject unsafe characters in $srcdir or the absolute working directory
2827 # name. Accept space and tab only in the latter.
2831 *[\\\"\#\$\&\'\`$am_lf]*)
2832 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2835 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2836 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2839 # Do `set' in a subshell so we don't clobber the current shell's
2840 # arguments. Must try -L first in case configure is actually a
2841 # symlink; some systems play weird games with the mod time of symlinks
2842 # (eg FreeBSD returns the mod time of the symlink's containing
2845 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2846 if test "$*" = "X"; then
2848 set X `ls -t "$srcdir/configure" conftest.file`
2851 if test "$*" != "X $srcdir/configure conftest.file" \
2852 && test "$*" != "X conftest.file $srcdir/configure"; then
2854 # If neither matched, then we have a broken ls. This can happen
2855 # if, for instance, CONFIG_SHELL is bash and it inherits a
2856 # broken ls alias from the environment. This has actually
2857 # happened. Such a system could not be considered "sane".
2858 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2859 alias in your environment" "$LINENO" 5
2862 test "$2" = conftest.file
2868 as_fn_error $? "newly created file is older than distributed files!
2869 Check your system clock" "$LINENO" 5
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2872 $as_echo "yes" >&6; }
2873 test "$program_prefix" != NONE &&
2874 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2875 # Use a double $ so make ignores it.
2876 test "$program_suffix" != NONE &&
2877 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2878 # Double any \ or $.
2879 # By default was `s,x,x', remove it if useless.
2880 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2881 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2883 # expand $ac_aux_dir to an absolute path
2884 am_aux_dir=`cd $ac_aux_dir && pwd`
2886 if test x"${MISSING+set}" != xset; then
2889 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2891 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2894 # Use eval to expand $SHELL
2895 if eval "$MISSING --run true"; then
2896 am_missing_run="$MISSING --run "
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2900 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2903 if test x"${install_sh}" != xset; then
2906 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2908 install_sh="\${SHELL} $am_aux_dir/install-sh"
2912 # Installed binaries are usually stripped using `strip' when the user
2913 # run `make install-strip'. However `strip' might not be the right
2914 # tool to use in cross-compilation environments, therefore Automake
2915 # will honor the `STRIP' environment variable to overrule this program.
2916 if test "$cross_compiling" != no; then
2917 if test -n "$ac_tool_prefix"; then
2918 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2919 set dummy ${ac_tool_prefix}strip; ac_word=$2
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2921 $as_echo_n "checking for $ac_word... " >&6; }
2922 if test "${ac_cv_prog_STRIP+set}" = set; then :
2923 $as_echo_n "(cached) " >&6
2925 if test -n "$STRIP"; then
2926 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2932 test -z "$as_dir" && as_dir=.
2933 for ac_exec_ext in '' $ac_executable_extensions; do
2934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2945 STRIP=$ac_cv_prog_STRIP
2946 if test -n "$STRIP"; then
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2948 $as_echo "$STRIP" >&6; }
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951 $as_echo "no" >&6; }
2956 if test -z "$ac_cv_prog_STRIP"; then
2958 # Extract the first word of "strip", so it can be a program name with args.
2959 set dummy strip; ac_word=$2
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2961 $as_echo_n "checking for $ac_word... " >&6; }
2962 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2963 $as_echo_n "(cached) " >&6
2965 if test -n "$ac_ct_STRIP"; then
2966 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2972 test -z "$as_dir" && as_dir=.
2973 for ac_exec_ext in '' $ac_executable_extensions; do
2974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2975 ac_cv_prog_ac_ct_STRIP="strip"
2976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2985 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2986 if test -n "$ac_ct_STRIP"; then
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2988 $as_echo "$ac_ct_STRIP" >&6; }
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991 $as_echo "no" >&6; }
2994 if test "x$ac_ct_STRIP" = x; then
2997 case $cross_compiling:$ac_tool_warned in
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3001 ac_tool_warned=yes ;;
3006 STRIP="$ac_cv_prog_STRIP"
3010 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3013 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3014 if test -z "$MKDIR_P"; then
3015 if test "${ac_cv_path_mkdir+set}" = set; then :
3016 $as_echo_n "(cached) " >&6
3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3019 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3022 test -z "$as_dir" && as_dir=.
3023 for ac_prog in mkdir gmkdir; do
3024 for ac_exec_ext in '' $ac_executable_extensions; do
3025 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3026 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3027 'mkdir (GNU coreutils) '* | \
3028 'mkdir (coreutils) '* | \
3029 'mkdir (fileutils) '4.1*)
3030 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3040 test -d ./--version && rmdir ./--version
3041 if test "${ac_cv_path_mkdir+set}" = set; then
3042 MKDIR_P="$ac_cv_path_mkdir -p"
3044 # As a last resort, use the slow shell script. Don't cache a
3045 # value for MKDIR_P within a source directory, because that will
3046 # break other packages using the cache if that directory is
3047 # removed, or if the value is a relative name.
3048 MKDIR_P="$ac_install_sh -d"
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3052 $as_echo "$MKDIR_P" >&6; }
3056 [\\/$]* | ?:[\\/]*) ;;
3057 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3060 for ac_prog in gawk mawk nawk awk
3062 # Extract the first word of "$ac_prog", so it can be a program name with args.
3063 set dummy $ac_prog; ac_word=$2
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3065 $as_echo_n "checking for $ac_word... " >&6; }
3066 if test "${ac_cv_prog_AWK+set}" = set; then :
3067 $as_echo_n "(cached) " >&6
3069 if test -n "$AWK"; then
3070 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3076 test -z "$as_dir" && as_dir=.
3077 for ac_exec_ext in '' $ac_executable_extensions; do
3078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3079 ac_cv_prog_AWK="$ac_prog"
3080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3090 if test -n "$AWK"; then
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3092 $as_echo "$AWK" >&6; }
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095 $as_echo "no" >&6; }
3099 test -n "$AWK" && break
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3103 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3105 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3106 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3107 $as_echo_n "(cached) " >&6
3109 cat >conftest.make <<\_ACEOF
3112 @echo '@@@%%%=$(MAKE)=@@@%%%'
3114 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3115 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3117 eval ac_cv_prog_make_${ac_make}_set=yes;;
3119 eval ac_cv_prog_make_${ac_make}_set=no;;
3123 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3125 $as_echo "yes" >&6; }
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129 $as_echo "no" >&6; }
3130 SET_MAKE="MAKE=${MAKE-make}"
3133 rm -rf .tst 2>/dev/null
3134 mkdir .tst 2>/dev/null
3135 if test -d .tst; then
3140 rmdir .tst 2>/dev/null
3142 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3143 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3144 # is not polluted with repeated "-I."
3145 am__isrc=' -I$(srcdir)'
3146 # test to see if srcdir already configured
3147 if test -f $srcdir/config.status; then
3148 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3152 # test whether we have cygpath
3153 if test -z "$CYGPATH_W"; then
3154 if (cygpath --version) >/dev/null 2>/dev/null; then
3155 CYGPATH_W='cygpath -w'
3162 # Define the identity of the package.
3163 PACKAGE='elementary'
3164 VERSION='0.8.0.67547'
3167 cat >>confdefs.h <<_ACEOF
3168 #define PACKAGE "$PACKAGE"
3172 cat >>confdefs.h <<_ACEOF
3173 #define VERSION "$VERSION"
3176 # Some tools Automake needs.
3178 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3181 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3184 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3187 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3190 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3192 # We need awk for the "check" target. The system "awk" is bad on
3194 # Always define AMTAR for backward compatibility.
3196 AMTAR=${AMTAR-"${am_missing_run}tar"}
3198 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3204 # Check whether --enable-silent-rules was given.
3205 if test "${enable_silent_rules+set}" = set; then :
3206 enableval=$enable_silent_rules;
3209 case $enable_silent_rules in
3210 yes) AM_DEFAULT_VERBOSITY=0;;
3211 no) AM_DEFAULT_VERBOSITY=1;;
3212 *) AM_DEFAULT_VERBOSITY=0;;
3217 DEPDIR="${am__leading_dot}deps"
3219 ac_config_commands="$ac_config_commands depfiles"
3222 am_make=${MAKE-make}
3223 cat > confinc << 'END'
3225 @echo this is the am__doit target
3228 # If we don't find an include directive, just comment out the code.
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3230 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3234 # First try GNU make style include.
3235 echo "include confinc" > confmf
3236 # Ignore all kinds of additional output from `make'.
3237 case `$am_make -s -f confmf 2> /dev/null` in #(
3238 *the\ am__doit\ target*)
3244 # Now try BSD make style include.
3245 if test "$am__include" = "#"; then
3246 echo '.include "confinc"' > confmf
3247 case `$am_make -s -f confmf 2> /dev/null` in #(
3248 *the\ am__doit\ target*)
3249 am__include=.include
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3258 $as_echo "$_am_result" >&6; }
3259 rm -f confinc confmf
3261 # Check whether --enable-dependency-tracking was given.
3262 if test "${enable_dependency_tracking+set}" = set; then :
3263 enableval=$enable_dependency_tracking;
3266 if test "x$enable_dependency_tracking" != xno; then
3267 am_depcomp="$ac_aux_dir/depcomp"
3270 if test "x$enable_dependency_tracking" != xno; then
3280 ac_cpp='$CPP $CPPFLAGS'
3281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3284 if test -n "$ac_tool_prefix"; then
3285 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3286 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288 $as_echo_n "checking for $ac_word... " >&6; }
3289 if test "${ac_cv_prog_CC+set}" = set; then :
3290 $as_echo_n "(cached) " >&6
3292 if test -n "$CC"; then
3293 ac_cv_prog_CC="$CC" # Let the user override the test.
3295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3299 test -z "$as_dir" && as_dir=.
3300 for ac_exec_ext in '' $ac_executable_extensions; do
3301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3302 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3313 if test -n "$CC"; then
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3315 $as_echo "$CC" >&6; }
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318 $as_echo "no" >&6; }
3323 if test -z "$ac_cv_prog_CC"; then
3325 # Extract the first word of "gcc", so it can be a program name with args.
3326 set dummy gcc; ac_word=$2
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3328 $as_echo_n "checking for $ac_word... " >&6; }
3329 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3330 $as_echo_n "(cached) " >&6
3332 if test -n "$ac_ct_CC"; then
3333 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3339 test -z "$as_dir" && as_dir=.
3340 for ac_exec_ext in '' $ac_executable_extensions; do
3341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3342 ac_cv_prog_ac_ct_CC="gcc"
3343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3352 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3353 if test -n "$ac_ct_CC"; then
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3355 $as_echo "$ac_ct_CC" >&6; }
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3358 $as_echo "no" >&6; }
3361 if test "x$ac_ct_CC" = x; then
3364 case $cross_compiling:$ac_tool_warned in
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3368 ac_tool_warned=yes ;;
3376 if test -z "$CC"; then
3377 if test -n "$ac_tool_prefix"; then
3378 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3379 set dummy ${ac_tool_prefix}cc; ac_word=$2
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3381 $as_echo_n "checking for $ac_word... " >&6; }
3382 if test "${ac_cv_prog_CC+set}" = set; then :
3383 $as_echo_n "(cached) " >&6
3385 if test -n "$CC"; then
3386 ac_cv_prog_CC="$CC" # Let the user override the test.
3388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3392 test -z "$as_dir" && as_dir=.
3393 for ac_exec_ext in '' $ac_executable_extensions; do
3394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3395 ac_cv_prog_CC="${ac_tool_prefix}cc"
3396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3406 if test -n "$CC"; then
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3408 $as_echo "$CC" >&6; }
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3411 $as_echo "no" >&6; }
3417 if test -z "$CC"; then
3418 # Extract the first word of "cc", so it can be a program name with args.
3419 set dummy cc; ac_word=$2
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3421 $as_echo_n "checking for $ac_word... " >&6; }
3422 if test "${ac_cv_prog_CC+set}" = set; then :
3423 $as_echo_n "(cached) " >&6
3425 if test -n "$CC"; then
3426 ac_cv_prog_CC="$CC" # Let the user override the test.
3429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3433 test -z "$as_dir" && as_dir=.
3434 for ac_exec_ext in '' $ac_executable_extensions; do
3435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3436 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3437 ac_prog_rejected=yes
3441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3448 if test $ac_prog_rejected = yes; then
3449 # We found a bogon in the path, so make sure we never use it.
3450 set dummy $ac_cv_prog_CC
3452 if test $# != 0; then
3453 # We chose a different compiler from the bogus one.
3454 # However, it has the same basename, so the bogon will be chosen
3455 # first if we set CC to just the basename; use the full file name.
3457 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3463 if test -n "$CC"; then
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3465 $as_echo "$CC" >&6; }
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3468 $as_echo "no" >&6; }
3473 if test -z "$CC"; then
3474 if test -n "$ac_tool_prefix"; then
3475 for ac_prog in cl.exe
3477 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3478 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3480 $as_echo_n "checking for $ac_word... " >&6; }
3481 if test "${ac_cv_prog_CC+set}" = set; then :
3482 $as_echo_n "(cached) " >&6
3484 if test -n "$CC"; then
3485 ac_cv_prog_CC="$CC" # Let the user override the test.
3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3491 test -z "$as_dir" && as_dir=.
3492 for ac_exec_ext in '' $ac_executable_extensions; do
3493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3494 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3505 if test -n "$CC"; then
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3507 $as_echo "$CC" >&6; }
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3510 $as_echo "no" >&6; }
3514 test -n "$CC" && break
3517 if test -z "$CC"; then
3519 for ac_prog in cl.exe
3521 # Extract the first word of "$ac_prog", so it can be a program name with args.
3522 set dummy $ac_prog; ac_word=$2
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3524 $as_echo_n "checking for $ac_word... " >&6; }
3525 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3526 $as_echo_n "(cached) " >&6
3528 if test -n "$ac_ct_CC"; then
3529 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3535 test -z "$as_dir" && as_dir=.
3536 for ac_exec_ext in '' $ac_executable_extensions; do
3537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3538 ac_cv_prog_ac_ct_CC="$ac_prog"
3539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3548 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3549 if test -n "$ac_ct_CC"; then
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3551 $as_echo "$ac_ct_CC" >&6; }
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554 $as_echo "no" >&6; }
3558 test -n "$ac_ct_CC" && break
3561 if test "x$ac_ct_CC" = x; then
3564 case $cross_compiling:$ac_tool_warned in
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3568 ac_tool_warned=yes ;;
3577 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3579 as_fn_error $? "no acceptable C compiler found in \$PATH
3580 See \`config.log' for more details" "$LINENO" 5 ; }
3582 # Provide some information about the compiler.
3583 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3586 for ac_option in --version -v -V -qversion; do
3587 { { ac_try="$ac_compiler $ac_option >&5"
3589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3590 *) ac_try_echo=$ac_try;;
3592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3593 $as_echo "$ac_try_echo"; } >&5
3594 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3596 if test -s conftest.err; then
3598 ... rest of stderr output deleted ...
3599 10q' conftest.err >conftest.er1
3600 cat conftest.er1 >&5
3602 rm -f conftest.er1 conftest.err
3603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3604 test $ac_status = 0; }
3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3608 /* end confdefs.h. */
3618 ac_clean_files_save=$ac_clean_files
3619 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3620 # Try to create an executable without -o first, disregard a.out.
3621 # It will help us diagnose broken compilers, and finding out an intuition
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3624 $as_echo_n "checking whether the C compiler works... " >&6; }
3625 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3627 # The possible output files:
3628 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3631 for ac_file in $ac_files
3634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3635 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3640 if { { ac_try="$ac_link_default"
3642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3643 *) ac_try_echo=$ac_try;;
3645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3646 $as_echo "$ac_try_echo"; } >&5
3647 (eval "$ac_link_default") 2>&5
3649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3650 test $ac_status = 0; }; then :
3651 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3652 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3653 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3654 # so that the user can short-circuit this test for compilers unknown to
3656 for ac_file in $ac_files ''
3658 test -f "$ac_file" || continue
3660 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3663 # We found the default executable, but exeext='' is most
3667 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3669 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3671 # We set ac_cv_exeext here because the later test for it is not
3672 # safe: cross compilers may not add the suffix if given an `-o'
3673 # argument, so we may need to know it at that point already.
3674 # Even if this section looks crufty: it has the advantage of
3681 test "$ac_cv_exeext" = no && ac_cv_exeext=
3686 if test -z "$ac_file"; then :
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3688 $as_echo "no" >&6; }
3689 $as_echo "$as_me: failed program was:" >&5
3690 sed 's/^/| /' conftest.$ac_ext >&5
3692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3694 as_fn_error 77 "C compiler cannot create executables
3695 See \`config.log' for more details" "$LINENO" 5 ; }
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3698 $as_echo "yes" >&6; }
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3701 $as_echo_n "checking for C compiler default output file name... " >&6; }
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3703 $as_echo "$ac_file" >&6; }
3704 ac_exeext=$ac_cv_exeext
3706 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3707 ac_clean_files=$ac_clean_files_save
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3709 $as_echo_n "checking for suffix of executables... " >&6; }
3710 if { { ac_try="$ac_link"
3712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3713 *) ac_try_echo=$ac_try;;
3715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3716 $as_echo "$ac_try_echo"; } >&5
3717 (eval "$ac_link") 2>&5
3719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3720 test $ac_status = 0; }; then :
3721 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3722 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3723 # work properly (i.e., refer to `conftest.exe'), while it won't with
3725 for ac_file in conftest.exe conftest conftest.*; do
3726 test -f "$ac_file" || continue
3728 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3729 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3735 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3737 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3738 See \`config.log' for more details" "$LINENO" 5 ; }
3740 rm -f conftest conftest$ac_cv_exeext
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3742 $as_echo "$ac_cv_exeext" >&6; }
3744 rm -f conftest.$ac_ext
3745 EXEEXT=$ac_cv_exeext
3747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748 /* end confdefs.h. */
3753 FILE *f = fopen ("conftest.out", "w");
3754 return ferror (f) || fclose (f) != 0;
3760 ac_clean_files="$ac_clean_files conftest.out"
3761 # Check that the compiler produces executables we can run. If not, either
3762 # the compiler is broken, or we cross compile.
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3764 $as_echo_n "checking whether we are cross compiling... " >&6; }
3765 if test "$cross_compiling" != yes; then
3766 { { ac_try="$ac_link"
3768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769 *) ac_try_echo=$ac_try;;
3771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3772 $as_echo "$ac_try_echo"; } >&5
3773 (eval "$ac_link") 2>&5
3775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3776 test $ac_status = 0; }
3777 if { ac_try='./conftest$ac_cv_exeext'
3778 { { case "(($ac_try" in
3779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3780 *) ac_try_echo=$ac_try;;
3782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3783 $as_echo "$ac_try_echo"; } >&5
3784 (eval "$ac_try") 2>&5
3786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3787 test $ac_status = 0; }; }; then
3790 if test "$cross_compiling" = maybe; then
3793 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3795 as_fn_error $? "cannot run C compiled programs.
3796 If you meant to cross compile, use \`--host'.
3797 See \`config.log' for more details" "$LINENO" 5 ; }
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3802 $as_echo "$cross_compiling" >&6; }
3804 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3805 ac_clean_files=$ac_clean_files_save
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3807 $as_echo_n "checking for suffix of object files... " >&6; }
3808 if test "${ac_cv_objext+set}" = set; then :
3809 $as_echo_n "(cached) " >&6
3811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3812 /* end confdefs.h. */
3822 rm -f conftest.o conftest.obj
3823 if { { ac_try="$ac_compile"
3825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3826 *) ac_try_echo=$ac_try;;
3828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3829 $as_echo "$ac_try_echo"; } >&5
3830 (eval "$ac_compile") 2>&5
3832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3833 test $ac_status = 0; }; then :
3834 for ac_file in conftest.o conftest.obj conftest.*; do
3835 test -f "$ac_file" || continue;
3837 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3838 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3843 $as_echo "$as_me: failed program was:" >&5
3844 sed 's/^/| /' conftest.$ac_ext >&5
3846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3848 as_fn_error $? "cannot compute suffix of object files: cannot compile
3849 See \`config.log' for more details" "$LINENO" 5 ; }
3851 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3854 $as_echo "$ac_cv_objext" >&6; }
3855 OBJEXT=$ac_cv_objext
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3858 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3859 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3860 $as_echo_n "(cached) " >&6
3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863 /* end confdefs.h. */
3876 if ac_fn_c_try_compile "$LINENO"; then :
3881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3882 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3886 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3887 if test $ac_compiler_gnu = yes; then
3892 ac_test_CFLAGS=${CFLAGS+set}
3893 ac_save_CFLAGS=$CFLAGS
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3895 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3896 if test "${ac_cv_prog_cc_g+set}" = set; then :
3897 $as_echo_n "(cached) " >&6
3899 ac_save_c_werror_flag=$ac_c_werror_flag
3900 ac_c_werror_flag=yes
3903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3904 /* end confdefs.h. */
3914 if ac_fn_c_try_compile "$LINENO"; then :
3918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3919 /* end confdefs.h. */
3929 if ac_fn_c_try_compile "$LINENO"; then :
3932 ac_c_werror_flag=$ac_save_c_werror_flag
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h. */
3945 if ac_fn_c_try_compile "$LINENO"; then :
3948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3953 ac_c_werror_flag=$ac_save_c_werror_flag
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3956 $as_echo "$ac_cv_prog_cc_g" >&6; }
3957 if test "$ac_test_CFLAGS" = set; then
3958 CFLAGS=$ac_save_CFLAGS
3959 elif test $ac_cv_prog_cc_g = yes; then
3960 if test "$GCC" = yes; then
3966 if test "$GCC" = yes; then
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3973 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3974 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3975 $as_echo_n "(cached) " >&6
3977 ac_cv_prog_cc_c89=no
3979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3980 /* end confdefs.h. */
3983 #include <sys/types.h>
3984 #include <sys/stat.h>
3985 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3986 struct buf { int x; };
3987 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3988 static char *e (p, i)
3994 static char *f (char * (*g) (char **, int), char **p, ...)
3999 s = g (p, va_arg (v,int));
4004 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4005 function prototypes and stuff, but not '\xHH' hex character constants.
4006 These don't provoke an error unfortunately, instead are silently treated
4007 as 'x'. The following induces an error, until -std is added to get
4008 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4009 array size at least. It's necessary to write '\x00'==0 to get something
4010 that's true only with -std. */
4011 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4013 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4014 inside strings and character constants. */
4016 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4018 int test (int i, double x);
4019 struct s1 {int (*f) (int a);};
4020 struct s2 {int (*f) (double a);};
4021 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4027 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4032 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4033 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4035 CC="$ac_save_CC $ac_arg"
4036 if ac_fn_c_try_compile "$LINENO"; then :
4037 ac_cv_prog_cc_c89=$ac_arg
4039 rm -f core conftest.err conftest.$ac_objext
4040 test "x$ac_cv_prog_cc_c89" != "xno" && break
4042 rm -f conftest.$ac_ext
4047 case "x$ac_cv_prog_cc_c89" in
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4050 $as_echo "none needed" >&6; } ;;
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4053 $as_echo "unsupported" >&6; } ;;
4055 CC="$CC $ac_cv_prog_cc_c89"
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4057 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4059 if test "x$ac_cv_prog_cc_c89" != xno; then :
4064 ac_cpp='$CPP $CPPFLAGS'
4065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4069 depcc="$CC" am_compiler_list=
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4072 $as_echo_n "checking dependency style of $depcc... " >&6; }
4073 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4074 $as_echo_n "(cached) " >&6
4076 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4077 # We make a subdir and do the tests there. Otherwise we can end up
4078 # making bogus files that we don't know about and never remove. For
4079 # instance it was reported that on HP-UX the gcc test will end up
4080 # making a dummy file named `D' -- because `-MD' means `put the output
4083 # Copy depcomp to subdir because otherwise we won't find it if we're
4084 # using a relative directory.
4085 cp "$am_depcomp" conftest.dir
4087 # We will build objects and dependencies in a subdirectory because
4088 # it helps to detect inapplicable dependency modes. For instance
4089 # both Tru64's cc and ICC support -MD to output dependencies as a
4090 # side effect of compilation, but ICC will put the dependencies in
4091 # the current directory while Tru64 will put them in the object
4095 am_cv_CC_dependencies_compiler_type=none
4096 if test "$am_compiler_list" = ""; then
4097 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4100 case " $depcc " in #(
4101 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4104 for depmode in $am_compiler_list; do
4105 # Setup a source with many dependencies, because some compilers
4106 # like to wrap large dependency lists on column 80 (with \), and
4107 # we should not choose a depcomp mode which is confused by this.
4109 # We need to recreate these files for each test, as the compiler may
4110 # overwrite some of them when testing with obscure command lines.
4111 # This happens at least with the AIX C compiler.
4113 for i in 1 2 3 4 5 6; do
4114 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4115 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4116 # Solaris 8's {/usr,}/bin/sh.
4117 touch sub/conftst$i.h
4119 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4121 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4122 # mode. It turns out that the SunPro C++ compiler does not properly
4123 # handle `-M -o', and we need to detect this. Also, some Intel
4124 # versions had trouble with output in subdirs
4125 am__obj=sub/conftest.${OBJEXT-o}
4126 am__minus_obj="-o $am__obj"
4129 # This depmode causes a compiler race in universal mode.
4130 test "$am__universal" = false || continue
4133 # after this tag, mechanisms are not by side-effect, so they'll
4134 # only be used when explicitly requested
4135 if test "x$enable_dependency_tracking" = xyes; then
4141 msvisualcpp | msvcmsys)
4142 # This compiler won't grok `-c -o', but also, the minuso test has
4143 # not run yet. These depmodes are late enough in the game, and
4144 # so weak that their functioning should not be impacted.
4145 am__obj=conftest.${OBJEXT-o}
4150 if depmode=$depmode \
4151 source=sub/conftest.c object=$am__obj \
4152 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4153 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4154 >/dev/null 2>conftest.err &&
4155 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4156 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4157 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4158 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4159 # icc doesn't choke on unknown options, it will just issue warnings
4160 # or remarks (even with -Werror). So we grep stderr for any message
4161 # that says an option was ignored or not supported.
4162 # When given -MP, icc 7.0 and 7.1 complain thusly:
4163 # icc: Command line warning: ignoring option '-M'; no argument required
4164 # The diagnosis changed in icc 8.0:
4165 # icc: Command line remark: option '-MP' not supported
4166 if (grep 'ignoring option' conftest.err ||
4167 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4168 am_cv_CC_dependencies_compiler_type=$depmode
4177 am_cv_CC_dependencies_compiler_type=none
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4182 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4183 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4186 test "x$enable_dependency_tracking" != xno \
4187 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4189 am__fastdepCC_FALSE='#'
4191 am__fastdepCC_TRUE='#'
4192 am__fastdepCC_FALSE=
4198 ac_cpp='$CPP $CPPFLAGS'
4199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4203 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4204 # On Suns, sometimes $CPP names a directory.
4205 if test -n "$CPP" && test -d "$CPP"; then
4208 if test -z "$CPP"; then
4209 if test "${ac_cv_prog_CPP+set}" = set; then :
4210 $as_echo_n "(cached) " >&6
4212 # Double quotes because CPP needs to be expanded
4213 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4216 for ac_c_preproc_warn_flag in '' yes
4218 # Use a header file that comes with gcc, so configuring glibc
4219 # with a fresh cross-compiler works.
4220 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4221 # <limits.h> exists even on freestanding compilers.
4222 # On the NeXT, cc -E runs the code through the compiler's parser,
4223 # not just through cpp. "Syntax error" is here to catch this case.
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4227 # include <limits.h>
4229 # include <assert.h>
4233 if ac_fn_c_try_cpp "$LINENO"; then :
4236 # Broken: fails on valid input.
4239 rm -f conftest.err conftest.i conftest.$ac_ext
4241 # OK, works on sane cases. Now check whether nonexistent headers
4242 # can be detected and how.
4243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4244 /* end confdefs.h. */
4245 #include <ac_nonexistent.h>
4247 if ac_fn_c_try_cpp "$LINENO"; then :
4248 # Broken: success on invalid input.
4251 # Passes both tests.
4255 rm -f conftest.err conftest.i conftest.$ac_ext
4258 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4259 rm -f conftest.i conftest.err conftest.$ac_ext
4260 if $ac_preproc_ok; then :
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4273 $as_echo "$CPP" >&6; }
4275 for ac_c_preproc_warn_flag in '' yes
4277 # Use a header file that comes with gcc, so configuring glibc
4278 # with a fresh cross-compiler works.
4279 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4280 # <limits.h> exists even on freestanding compilers.
4281 # On the NeXT, cc -E runs the code through the compiler's parser,
4282 # not just through cpp. "Syntax error" is here to catch this case.
4283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284 /* end confdefs.h. */
4286 # include <limits.h>
4288 # include <assert.h>
4292 if ac_fn_c_try_cpp "$LINENO"; then :
4295 # Broken: fails on valid input.
4298 rm -f conftest.err conftest.i conftest.$ac_ext
4300 # OK, works on sane cases. Now check whether nonexistent headers
4301 # can be detected and how.
4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303 /* end confdefs.h. */
4304 #include <ac_nonexistent.h>
4306 if ac_fn_c_try_cpp "$LINENO"; then :
4307 # Broken: success on invalid input.
4310 # Passes both tests.
4314 rm -f conftest.err conftest.i conftest.$ac_ext
4317 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4318 rm -f conftest.i conftest.err conftest.$ac_ext
4319 if $ac_preproc_ok; then :
4322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4324 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4325 See \`config.log' for more details" "$LINENO" 5 ; }
4329 ac_cpp='$CPP $CPPFLAGS'
4330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4336 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4337 if test "${ac_cv_path_GREP+set}" = set; then :
4338 $as_echo_n "(cached) " >&6
4340 if test -z "$GREP"; then
4341 ac_path_GREP_found=false
4342 # Loop through the user's path and test for each of PROGNAME-LIST
4343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4344 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4347 test -z "$as_dir" && as_dir=.
4348 for ac_prog in grep ggrep; do
4349 for ac_exec_ext in '' $ac_executable_extensions; do
4350 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4351 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4352 # Check for GNU ac_path_GREP and select it if it is found.
4353 # Check for GNU $ac_path_GREP
4354 case `"$ac_path_GREP" --version 2>&1` in
4356 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4359 $as_echo_n 0123456789 >"conftest.in"
4362 cat "conftest.in" "conftest.in" >"conftest.tmp"
4363 mv "conftest.tmp" "conftest.in"
4364 cp "conftest.in" "conftest.nl"
4365 $as_echo 'GREP' >> "conftest.nl"
4366 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4367 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4368 as_fn_arith $ac_count + 1 && ac_count=$as_val
4369 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4370 # Best one so far, save it but keep looking for a better one
4371 ac_cv_path_GREP="$ac_path_GREP"
4372 ac_path_GREP_max=$ac_count
4374 # 10*(2^10) chars as input seems more than enough
4375 test $ac_count -gt 10 && break
4377 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4380 $ac_path_GREP_found && break 3
4385 if test -z "$ac_cv_path_GREP"; then
4386 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4389 ac_cv_path_GREP=$GREP
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4394 $as_echo "$ac_cv_path_GREP" >&6; }
4395 GREP="$ac_cv_path_GREP"
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4399 $as_echo_n "checking for egrep... " >&6; }
4400 if test "${ac_cv_path_EGREP+set}" = set; then :
4401 $as_echo_n "(cached) " >&6
4403 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4404 then ac_cv_path_EGREP="$GREP -E"
4406 if test -z "$EGREP"; then
4407 ac_path_EGREP_found=false
4408 # Loop through the user's path and test for each of PROGNAME-LIST
4409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4413 test -z "$as_dir" && as_dir=.
4414 for ac_prog in egrep; do
4415 for ac_exec_ext in '' $ac_executable_extensions; do
4416 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4417 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4418 # Check for GNU ac_path_EGREP and select it if it is found.
4419 # Check for GNU $ac_path_EGREP
4420 case `"$ac_path_EGREP" --version 2>&1` in
4422 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4425 $as_echo_n 0123456789 >"conftest.in"
4428 cat "conftest.in" "conftest.in" >"conftest.tmp"
4429 mv "conftest.tmp" "conftest.in"
4430 cp "conftest.in" "conftest.nl"
4431 $as_echo 'EGREP' >> "conftest.nl"
4432 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4433 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4434 as_fn_arith $ac_count + 1 && ac_count=$as_val
4435 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4436 # Best one so far, save it but keep looking for a better one
4437 ac_cv_path_EGREP="$ac_path_EGREP"
4438 ac_path_EGREP_max=$ac_count
4440 # 10*(2^10) chars as input seems more than enough
4441 test $ac_count -gt 10 && break
4443 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4446 $ac_path_EGREP_found && break 3
4451 if test -z "$ac_cv_path_EGREP"; then
4452 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4455 ac_cv_path_EGREP=$EGREP
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4461 $as_echo "$ac_cv_path_EGREP" >&6; }
4462 EGREP="$ac_cv_path_EGREP"
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4466 $as_echo_n "checking for ANSI C header files... " >&6; }
4467 if test "${ac_cv_header_stdc+set}" = set; then :
4468 $as_echo_n "(cached) " >&6
4470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4471 /* end confdefs.h. */
4485 if ac_fn_c_try_compile "$LINENO"; then :
4486 ac_cv_header_stdc=yes
4488 ac_cv_header_stdc=no
4490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4492 if test $ac_cv_header_stdc = yes; then
4493 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4495 /* end confdefs.h. */
4499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4500 $EGREP "memchr" >/dev/null 2>&1; then :
4503 ac_cv_header_stdc=no
4509 if test $ac_cv_header_stdc = yes; then
4510 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4517 $EGREP "free" >/dev/null 2>&1; then :
4520 ac_cv_header_stdc=no
4526 if test $ac_cv_header_stdc = yes; then
4527 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4528 if test "$cross_compiling" = yes; then :
4531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4532 /* end confdefs.h. */
4535 #if ((' ' & 0x0FF) == 0x020)
4536 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4537 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4539 # define ISLOWER(c) \
4540 (('a' <= (c) && (c) <= 'i') \
4541 || ('j' <= (c) && (c) <= 'r') \
4542 || ('s' <= (c) && (c) <= 'z'))
4543 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4546 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4551 for (i = 0; i < 256; i++)
4552 if (XOR (islower (i), ISLOWER (i))
4553 || toupper (i) != TOUPPER (i))
4558 if ac_fn_c_try_run "$LINENO"; then :
4561 ac_cv_header_stdc=no
4563 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4564 conftest.$ac_objext conftest.beam conftest.$ac_ext
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4570 $as_echo "$ac_cv_header_stdc" >&6; }
4571 if test $ac_cv_header_stdc = yes; then
4573 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4577 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4578 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4579 inttypes.h stdint.h unistd.h
4581 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4582 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4584 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4585 cat >>confdefs.h <<_ACEOF
4586 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4595 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4596 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4603 if test "$MINIX" = yes; then
4605 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4608 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4611 $as_echo "#define _MINIX 1" >>confdefs.h
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4617 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4618 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4619 $as_echo_n "(cached) " >&6
4621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4622 /* end confdefs.h. */
4624 # define __EXTENSIONS__ 1
4625 $ac_includes_default
4634 if ac_fn_c_try_compile "$LINENO"; then :
4635 ac_cv_safe_to_define___extensions__=yes
4637 ac_cv_safe_to_define___extensions__=no
4639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4642 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4643 test $ac_cv_safe_to_define___extensions__ = yes &&
4644 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4646 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4648 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4650 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4652 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4658 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4659 if test "${ac_cv_c_bigendian+set}" = set; then :
4660 $as_echo_n "(cached) " >&6
4662 ac_cv_c_bigendian=unknown
4663 # See if we're dealing with a universal compiler.
4664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h. */
4666 #ifndef __APPLE_CC__
4667 not a universal capable compiler
4672 if ac_fn_c_try_compile "$LINENO"; then :
4674 # Check for potential -arch flags. It is not universal unless
4675 # there are at least two -arch flags with different values.
4678 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4679 if test -n "$ac_prev"; then
4681 i?86 | x86_64 | ppc | ppc64)
4682 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4685 ac_cv_c_bigendian=universal
4691 elif test "x$ac_word" = "x-arch"; then
4696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4697 if test $ac_cv_c_bigendian = unknown; then
4698 # See if sys/param.h defines the BYTE_ORDER macro.
4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4701 #include <sys/types.h>
4702 #include <sys/param.h>
4707 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4708 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4717 if ac_fn_c_try_compile "$LINENO"; then :
4718 # It does; now see whether it defined to BIG_ENDIAN or not.
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4721 #include <sys/types.h>
4722 #include <sys/param.h>
4727 #if BYTE_ORDER != BIG_ENDIAN
4735 if ac_fn_c_try_compile "$LINENO"; then :
4736 ac_cv_c_bigendian=yes
4738 ac_cv_c_bigendian=no
4740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4744 if test $ac_cv_c_bigendian = unknown; then
4745 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h. */
4753 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4761 if ac_fn_c_try_compile "$LINENO"; then :
4762 # It does; now see whether it defined to _BIG_ENDIAN or not.
4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h. */
4778 if ac_fn_c_try_compile "$LINENO"; then :
4779 ac_cv_c_bigendian=yes
4781 ac_cv_c_bigendian=no
4783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4787 if test $ac_cv_c_bigendian = unknown; then
4788 # Compile a test program.
4789 if test "$cross_compiling" = yes; then :
4790 # Try to guess by grepping values from an object file.
4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h. */
4793 short int ascii_mm[] =
4794 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4795 short int ascii_ii[] =
4796 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4797 int use_ascii (int i) {
4798 return ascii_mm[i] + ascii_ii[i];
4800 short int ebcdic_ii[] =
4801 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4802 short int ebcdic_mm[] =
4803 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4804 int use_ebcdic (int i) {
4805 return ebcdic_mm[i] + ebcdic_ii[i];
4812 return use_ascii (foo) == use_ebcdic (foo);
4817 if ac_fn_c_try_compile "$LINENO"; then :
4818 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4819 ac_cv_c_bigendian=yes
4821 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4822 if test "$ac_cv_c_bigendian" = unknown; then
4823 ac_cv_c_bigendian=no
4825 # finding both strings is unlikely to happen, but who knows?
4826 ac_cv_c_bigendian=unknown
4830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4833 /* end confdefs.h. */
4834 $ac_includes_default
4839 /* Are we little or big endian? From Harbison&Steele. */
4843 char c[sizeof (long int)];
4846 return u.c[sizeof (long int) - 1] == 1;
4852 if ac_fn_c_try_run "$LINENO"; then :
4853 ac_cv_c_bigendian=no
4855 ac_cv_c_bigendian=yes
4857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4858 conftest.$ac_objext conftest.beam conftest.$ac_ext
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4864 $as_echo "$ac_cv_c_bigendian" >&6; }
4865 case $ac_cv_c_bigendian in #(
4867 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4873 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4877 as_fn_error $? "unknown endianness
4878 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4882 $as_echo_n "checking for library containing strerror... " >&6; }
4883 if test "${ac_cv_search_strerror+set}" = set; then :
4884 $as_echo_n "(cached) " >&6
4886 ac_func_search_save_LIBS=$LIBS
4887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4888 /* end confdefs.h. */
4890 /* Override any GCC internal prototype to avoid an error.
4891 Use char because int might match the return type of a GCC
4892 builtin and then its argument prototype would still apply. */
4905 for ac_lib in '' cposix; do
4906 if test -z "$ac_lib"; then
4907 ac_res="none required"
4910 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4912 if ac_fn_c_try_link "$LINENO"; then :
4913 ac_cv_search_strerror=$ac_res
4915 rm -f core conftest.err conftest.$ac_objext \
4917 if test "${ac_cv_search_strerror+set}" = set; then :
4921 if test "${ac_cv_search_strerror+set}" = set; then :
4924 ac_cv_search_strerror=no
4927 LIBS=$ac_func_search_save_LIBS
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4930 $as_echo "$ac_cv_search_strerror" >&6; }
4931 ac_res=$ac_cv_search_strerror
4932 if test "$ac_res" != no; then :
4933 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4938 ac_cpp='$CPP $CPPFLAGS'
4939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4942 if test -n "$ac_tool_prefix"; then
4943 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4944 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if test "${ac_cv_prog_CC+set}" = set; then :
4948 $as_echo_n "(cached) " >&6
4950 if test -n "$CC"; then
4951 ac_cv_prog_CC="$CC" # Let the user override the test.
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4971 if test -n "$CC"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4973 $as_echo "$CC" >&6; }
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4981 if test -z "$ac_cv_prog_CC"; then
4983 # Extract the first word of "gcc", so it can be a program name with args.
4984 set dummy gcc; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4988 $as_echo_n "(cached) " >&6
4990 if test -n "$ac_ct_CC"; then
4991 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000 ac_cv_prog_ac_ct_CC="gcc"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5010 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5011 if test -n "$ac_ct_CC"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5013 $as_echo "$ac_ct_CC" >&6; }
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5019 if test "x$ac_ct_CC" = x; then
5022 case $cross_compiling:$ac_tool_warned in
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5026 ac_tool_warned=yes ;;
5034 if test -z "$CC"; then
5035 if test -n "$ac_tool_prefix"; then
5036 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5037 set dummy ${ac_tool_prefix}cc; ac_word=$2
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039 $as_echo_n "checking for $ac_word... " >&6; }
5040 if test "${ac_cv_prog_CC+set}" = set; then :
5041 $as_echo_n "(cached) " >&6
5043 if test -n "$CC"; then
5044 ac_cv_prog_CC="$CC" # Let the user override the test.
5046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5050 test -z "$as_dir" && as_dir=.
5051 for ac_exec_ext in '' $ac_executable_extensions; do
5052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5053 ac_cv_prog_CC="${ac_tool_prefix}cc"
5054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5064 if test -n "$CC"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5066 $as_echo "$CC" >&6; }
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5075 if test -z "$CC"; then
5076 # Extract the first word of "cc", so it can be a program name with args.
5077 set dummy cc; ac_word=$2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 $as_echo_n "checking for $ac_word... " >&6; }
5080 if test "${ac_cv_prog_CC+set}" = set; then :
5081 $as_echo_n "(cached) " >&6
5083 if test -n "$CC"; then
5084 ac_cv_prog_CC="$CC" # Let the user override the test.
5087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 test -z "$as_dir" && as_dir=.
5092 for ac_exec_ext in '' $ac_executable_extensions; do
5093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5094 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5095 ac_prog_rejected=yes
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5106 if test $ac_prog_rejected = yes; then
5107 # We found a bogon in the path, so make sure we never use it.
5108 set dummy $ac_cv_prog_CC
5110 if test $# != 0; then
5111 # We chose a different compiler from the bogus one.
5112 # However, it has the same basename, so the bogon will be chosen
5113 # first if we set CC to just the basename; use the full file name.
5115 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5121 if test -n "$CC"; then
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5123 $as_echo "$CC" >&6; }
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5126 $as_echo "no" >&6; }
5131 if test -z "$CC"; then
5132 if test -n "$ac_tool_prefix"; then
5133 for ac_prog in cl.exe
5135 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5136 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5138 $as_echo_n "checking for $ac_word... " >&6; }
5139 if test "${ac_cv_prog_CC+set}" = set; then :
5140 $as_echo_n "(cached) " >&6
5142 if test -n "$CC"; then
5143 ac_cv_prog_CC="$CC" # Let the user override the test.
5145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5149 test -z "$as_dir" && as_dir=.
5150 for ac_exec_ext in '' $ac_executable_extensions; do
5151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5152 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5163 if test -n "$CC"; then
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5165 $as_echo "$CC" >&6; }
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5172 test -n "$CC" && break
5175 if test -z "$CC"; then
5177 for ac_prog in cl.exe
5179 # Extract the first word of "$ac_prog", so it can be a program name with args.
5180 set dummy $ac_prog; ac_word=$2
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5182 $as_echo_n "checking for $ac_word... " >&6; }
5183 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5184 $as_echo_n "(cached) " >&6
5186 if test -n "$ac_ct_CC"; then
5187 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5193 test -z "$as_dir" && as_dir=.
5194 for ac_exec_ext in '' $ac_executable_extensions; do
5195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5196 ac_cv_prog_ac_ct_CC="$ac_prog"
5197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5206 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5207 if test -n "$ac_ct_CC"; then
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5209 $as_echo "$ac_ct_CC" >&6; }
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5212 $as_echo "no" >&6; }
5216 test -n "$ac_ct_CC" && break
5219 if test "x$ac_ct_CC" = x; then
5222 case $cross_compiling:$ac_tool_warned in
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5226 ac_tool_warned=yes ;;
5235 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5237 as_fn_error $? "no acceptable C compiler found in \$PATH
5238 See \`config.log' for more details" "$LINENO" 5 ; }
5240 # Provide some information about the compiler.
5241 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5244 for ac_option in --version -v -V -qversion; do
5245 { { ac_try="$ac_compiler $ac_option >&5"
5247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5248 *) ac_try_echo=$ac_try;;
5250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5251 $as_echo "$ac_try_echo"; } >&5
5252 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5254 if test -s conftest.err; then
5256 ... rest of stderr output deleted ...
5257 10q' conftest.err >conftest.er1
5258 cat conftest.er1 >&5
5260 rm -f conftest.er1 conftest.err
5261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5262 test $ac_status = 0; }
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5266 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5267 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5268 $as_echo_n "(cached) " >&6
5270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5271 /* end confdefs.h. */
5284 if ac_fn_c_try_compile "$LINENO"; then :
5289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5290 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5294 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5295 if test $ac_compiler_gnu = yes; then
5300 ac_test_CFLAGS=${CFLAGS+set}
5301 ac_save_CFLAGS=$CFLAGS
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5303 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5304 if test "${ac_cv_prog_cc_g+set}" = set; then :
5305 $as_echo_n "(cached) " >&6
5307 ac_save_c_werror_flag=$ac_c_werror_flag
5308 ac_c_werror_flag=yes
5311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5312 /* end confdefs.h. */
5322 if ac_fn_c_try_compile "$LINENO"; then :
5326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5327 /* end confdefs.h. */
5337 if ac_fn_c_try_compile "$LINENO"; then :
5340 ac_c_werror_flag=$ac_save_c_werror_flag
5342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5343 /* end confdefs.h. */
5353 if ac_fn_c_try_compile "$LINENO"; then :
5356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5361 ac_c_werror_flag=$ac_save_c_werror_flag
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5364 $as_echo "$ac_cv_prog_cc_g" >&6; }
5365 if test "$ac_test_CFLAGS" = set; then
5366 CFLAGS=$ac_save_CFLAGS
5367 elif test $ac_cv_prog_cc_g = yes; then
5368 if test "$GCC" = yes; then
5374 if test "$GCC" = yes; then
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5381 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5382 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5383 $as_echo_n "(cached) " >&6
5385 ac_cv_prog_cc_c89=no
5387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5388 /* end confdefs.h. */
5391 #include <sys/types.h>
5392 #include <sys/stat.h>
5393 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5394 struct buf { int x; };
5395 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5396 static char *e (p, i)
5402 static char *f (char * (*g) (char **, int), char **p, ...)
5407 s = g (p, va_arg (v,int));
5412 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5413 function prototypes and stuff, but not '\xHH' hex character constants.
5414 These don't provoke an error unfortunately, instead are silently treated
5415 as 'x'. The following induces an error, until -std is added to get
5416 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5417 array size at least. It's necessary to write '\x00'==0 to get something
5418 that's true only with -std. */
5419 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5421 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5422 inside strings and character constants. */
5424 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5426 int test (int i, double x);
5427 struct s1 {int (*f) (int a);};
5428 struct s2 {int (*f) (double a);};
5429 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5435 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5440 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5441 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5443 CC="$ac_save_CC $ac_arg"
5444 if ac_fn_c_try_compile "$LINENO"; then :
5445 ac_cv_prog_cc_c89=$ac_arg
5447 rm -f core conftest.err conftest.$ac_objext
5448 test "x$ac_cv_prog_cc_c89" != "xno" && break
5450 rm -f conftest.$ac_ext
5455 case "x$ac_cv_prog_cc_c89" in
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5458 $as_echo "none needed" >&6; } ;;
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5461 $as_echo "unsupported" >&6; } ;;
5463 CC="$CC $ac_cv_prog_cc_c89"
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5465 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5467 if test "x$ac_cv_prog_cc_c89" != xno; then :
5472 ac_cpp='$CPP $CPPFLAGS'
5473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5477 depcc="$CC" am_compiler_list=
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5480 $as_echo_n "checking dependency style of $depcc... " >&6; }
5481 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5482 $as_echo_n "(cached) " >&6
5484 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5485 # We make a subdir and do the tests there. Otherwise we can end up
5486 # making bogus files that we don't know about and never remove. For
5487 # instance it was reported that on HP-UX the gcc test will end up
5488 # making a dummy file named `D' -- because `-MD' means `put the output
5491 # Copy depcomp to subdir because otherwise we won't find it if we're
5492 # using a relative directory.
5493 cp "$am_depcomp" conftest.dir
5495 # We will build objects and dependencies in a subdirectory because
5496 # it helps to detect inapplicable dependency modes. For instance
5497 # both Tru64's cc and ICC support -MD to output dependencies as a
5498 # side effect of compilation, but ICC will put the dependencies in
5499 # the current directory while Tru64 will put them in the object
5503 am_cv_CC_dependencies_compiler_type=none
5504 if test "$am_compiler_list" = ""; then
5505 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5508 case " $depcc " in #(
5509 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5512 for depmode in $am_compiler_list; do
5513 # Setup a source with many dependencies, because some compilers
5514 # like to wrap large dependency lists on column 80 (with \), and
5515 # we should not choose a depcomp mode which is confused by this.
5517 # We need to recreate these files for each test, as the compiler may
5518 # overwrite some of them when testing with obscure command lines.
5519 # This happens at least with the AIX C compiler.
5521 for i in 1 2 3 4 5 6; do
5522 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5523 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5524 # Solaris 8's {/usr,}/bin/sh.
5525 touch sub/conftst$i.h
5527 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5529 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5530 # mode. It turns out that the SunPro C++ compiler does not properly
5531 # handle `-M -o', and we need to detect this. Also, some Intel
5532 # versions had trouble with output in subdirs
5533 am__obj=sub/conftest.${OBJEXT-o}
5534 am__minus_obj="-o $am__obj"
5537 # This depmode causes a compiler race in universal mode.
5538 test "$am__universal" = false || continue
5541 # after this tag, mechanisms are not by side-effect, so they'll
5542 # only be used when explicitly requested
5543 if test "x$enable_dependency_tracking" = xyes; then
5549 msvisualcpp | msvcmsys)
5550 # This compiler won't grok `-c -o', but also, the minuso test has
5551 # not run yet. These depmodes are late enough in the game, and
5552 # so weak that their functioning should not be impacted.
5553 am__obj=conftest.${OBJEXT-o}
5558 if depmode=$depmode \
5559 source=sub/conftest.c object=$am__obj \
5560 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5561 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5562 >/dev/null 2>conftest.err &&
5563 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5564 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5565 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5566 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5567 # icc doesn't choke on unknown options, it will just issue warnings
5568 # or remarks (even with -Werror). So we grep stderr for any message
5569 # that says an option was ignored or not supported.
5570 # When given -MP, icc 7.0 and 7.1 complain thusly:
5571 # icc: Command line warning: ignoring option '-M'; no argument required
5572 # The diagnosis changed in icc 8.0:
5573 # icc: Command line remark: option '-MP' not supported
5574 if (grep 'ignoring option' conftest.err ||
5575 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5576 am_cv_CC_dependencies_compiler_type=$depmode
5585 am_cv_CC_dependencies_compiler_type=none
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5590 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5591 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5594 test "x$enable_dependency_tracking" != xno \
5595 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5597 am__fastdepCC_FALSE='#'
5599 am__fastdepCC_TRUE='#'
5600 am__fastdepCC_FALSE=
5604 case $ac_cv_prog_cc_stdc in #(
5606 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5609 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5610 if test "${ac_cv_prog_cc_c99+set}" = set; then :
5611 $as_echo_n "(cached) " >&6
5613 ac_cv_prog_cc_c99=no
5615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5616 /* end confdefs.h. */
5618 #include <stdbool.h>
5623 // Check varargs macros. These examples are taken from C99 6.10.3.5.
5624 #define debug(...) fprintf (stderr, __VA_ARGS__)
5625 #define showlist(...) puts (#__VA_ARGS__)
5626 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5628 test_varargs_macros (void)
5633 debug ("X = %d\n", x);
5634 showlist (The first, second, and third items.);
5635 report (x>y, "x is %d but y is %d", x, y);
5638 // Check long long types.
5639 #define BIG64 18446744073709551615ull
5640 #define BIG32 4294967295ul
5641 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5643 your preprocessor is broken;
5647 your preprocessor is broken;
5649 static long long int bignum = -9223372036854775807LL;
5650 static unsigned long long int ubignum = BIG64;
5652 struct incomplete_array
5660 const wchar_t *name;
5664 typedef const char *ccp;
5667 test_restrict (ccp restrict text)
5669 // See if C++-style comments work.
5670 // Iterate through items via the restricted pointer.
5671 // Also check for declarations in for loops.
5672 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5677 // Check varargs and va_copy.
5679 test_varargs (const char *format, ...)
5682 va_start (args, format);
5684 va_copy (args_copy, args);
5695 str = va_arg (args_copy, const char *);
5698 number = va_arg (args_copy, int);
5701 fnumber = va_arg (args_copy, double);
5716 _Bool success = false;
5719 if (test_restrict ("String literal") == 0)
5721 char *restrict newvar = "Another string";
5724 test_varargs ("s, d' f .", "string", 65, 34.234);
5725 test_varargs_macros ();
5727 // Check flexible array members.
5728 struct incomplete_array *ia =
5729 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5731 for (int i = 0; i < ia->datasize; ++i)
5732 ia->data[i] = i * 1.234;
5734 // Check named initializers.
5735 struct named_init ni = {
5737 .name = L"Test wide string",
5738 .average = 543.34343,
5743 int dynamic_array[ni.number];
5744 dynamic_array[ni.number - 1] = 543;
5746 // work around unused variable warnings
5747 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5748 || dynamic_array[ni.number - 1] != 543);
5754 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
5756 CC="$ac_save_CC $ac_arg"
5757 if ac_fn_c_try_compile "$LINENO"; then :
5758 ac_cv_prog_cc_c99=$ac_arg
5760 rm -f core conftest.err conftest.$ac_objext
5761 test "x$ac_cv_prog_cc_c99" != "xno" && break
5763 rm -f conftest.$ac_ext
5768 case "x$ac_cv_prog_cc_c99" in
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5771 $as_echo "none needed" >&6; } ;;
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5774 $as_echo "unsupported" >&6; } ;;
5776 CC="$CC $ac_cv_prog_cc_c99"
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5778 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5780 if test "x$ac_cv_prog_cc_c99" != xno; then :
5781 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5784 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5785 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5786 $as_echo_n "(cached) " >&6
5788 ac_cv_prog_cc_c89=no
5790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5791 /* end confdefs.h. */
5794 #include <sys/types.h>
5795 #include <sys/stat.h>
5796 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5797 struct buf { int x; };
5798 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5799 static char *e (p, i)
5805 static char *f (char * (*g) (char **, int), char **p, ...)
5810 s = g (p, va_arg (v,int));
5815 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5816 function prototypes and stuff, but not '\xHH' hex character constants.
5817 These don't provoke an error unfortunately, instead are silently treated
5818 as 'x'. The following induces an error, until -std is added to get
5819 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5820 array size at least. It's necessary to write '\x00'==0 to get something
5821 that's true only with -std. */
5822 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5824 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5825 inside strings and character constants. */
5827 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5829 int test (int i, double x);
5830 struct s1 {int (*f) (int a);};
5831 struct s2 {int (*f) (double a);};
5832 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5838 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5843 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5844 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5846 CC="$ac_save_CC $ac_arg"
5847 if ac_fn_c_try_compile "$LINENO"; then :
5848 ac_cv_prog_cc_c89=$ac_arg
5850 rm -f core conftest.err conftest.$ac_objext
5851 test "x$ac_cv_prog_cc_c89" != "xno" && break
5853 rm -f conftest.$ac_ext
5858 case "x$ac_cv_prog_cc_c89" in
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5861 $as_echo "none needed" >&6; } ;;
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5864 $as_echo "unsupported" >&6; } ;;
5866 CC="$CC $ac_cv_prog_cc_c89"
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5868 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5870 if test "x$ac_cv_prog_cc_c89" != xno; then :
5871 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5873 ac_cv_prog_cc_stdc=no
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
5880 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
5881 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
5882 $as_echo_n "(cached) " >&6
5885 case $ac_cv_prog_cc_stdc in #(
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5888 $as_echo "unsupported" >&6; } ;; #(
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5891 $as_echo "none needed" >&6; } ;; #(
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
5894 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5898 $as_echo_n "checking for ANSI C header files... " >&6; }
5899 if test "${ac_cv_header_stdc+set}" = set; then :
5900 $as_echo_n "(cached) " >&6
5902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5903 /* end confdefs.h. */
5917 if ac_fn_c_try_compile "$LINENO"; then :
5918 ac_cv_header_stdc=yes
5920 ac_cv_header_stdc=no
5922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5924 if test $ac_cv_header_stdc = yes; then
5925 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5927 /* end confdefs.h. */
5931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5932 $EGREP "memchr" >/dev/null 2>&1; then :
5935 ac_cv_header_stdc=no
5941 if test $ac_cv_header_stdc = yes; then
5942 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5944 /* end confdefs.h. */
5948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5949 $EGREP "free" >/dev/null 2>&1; then :
5952 ac_cv_header_stdc=no
5958 if test $ac_cv_header_stdc = yes; then
5959 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5960 if test "$cross_compiling" = yes; then :
5963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5964 /* end confdefs.h. */
5967 #if ((' ' & 0x0FF) == 0x020)
5968 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5969 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5971 # define ISLOWER(c) \
5972 (('a' <= (c) && (c) <= 'i') \
5973 || ('j' <= (c) && (c) <= 'r') \
5974 || ('s' <= (c) && (c) <= 'z'))
5975 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5978 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5983 for (i = 0; i < 256; i++)
5984 if (XOR (islower (i), ISLOWER (i))
5985 || toupper (i) != TOUPPER (i))
5990 if ac_fn_c_try_run "$LINENO"; then :
5993 ac_cv_header_stdc=no
5995 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5996 conftest.$ac_objext conftest.beam conftest.$ac_ext
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6002 $as_echo "$ac_cv_header_stdc" >&6; }
6003 if test $ac_cv_header_stdc = yes; then
6005 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6010 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6011 if test "${ac_cv_c_const+set}" = set; then :
6012 $as_echo_n "(cached) " >&6
6014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6015 /* end confdefs.h. */
6020 /* FIXME: Include the comments suggested by Paul. */
6022 /* Ultrix mips cc rejects this. */
6023 typedef int charset[2];
6025 /* SunOS 4.1.1 cc rejects this. */
6026 char const *const *pcpcc;
6028 /* NEC SVR4.0.2 mips cc rejects this. */
6029 struct point {int x, y;};
6030 static struct point const zero = {0,0};
6031 /* AIX XL C 1.02.0.0 rejects this.
6032 It does not let you subtract one const X* pointer from another in
6033 an arm of an if-expression whose if-part is not a constant
6035 const char *g = "string";
6036 pcpcc = &g + (g ? g-g : 0);
6037 /* HPUX 7.0 cc rejects these. */
6039 ppc = (char**) pcpcc;
6040 pcpcc = (char const *const *) ppc;
6041 { /* SCO 3.2v4 cc rejects this. */
6043 char const *s = 0 ? (char *) 0 : (char const *) 0;
6048 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6050 const int *foo = &x[0];
6053 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6054 typedef const int *iptr;
6058 { /* AIX XL C 1.02.0.0 rejects this saying
6059 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6060 struct s { int j; const int *ap[3]; };
6061 struct s *b; b->j = 5;
6063 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6067 return !cs[0] && !zero.x;
6074 if ac_fn_c_try_compile "$LINENO"; then :
6079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
6082 $as_echo "$ac_cv_c_const" >&6; }
6083 if test $ac_cv_c_const = no; then
6085 $as_echo "#define const /**/" >>confdefs.h
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
6092 $as_echo_n "checking for __attribute__... " >&6; }
6094 if test "${ac_cv___attribute__+set}" = set; then :
6095 $as_echo_n "(cached) " >&6
6097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6098 /* end confdefs.h. */
6103 int foo(int x __attribute__ ((unused)))
6116 if ac_fn_c_try_compile "$LINENO"; then :
6117 ac_cv___attribute__="yes"
6119 ac_cv___attribute__="no"
6122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
6127 $as_echo "$ac_cv___attribute__" >&6; }
6129 if test "x${ac_cv___attribute__}" = "xyes" ; then
6131 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
6134 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
6138 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
6143 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6144 # for constant arguments. Useless!
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
6146 $as_echo_n "checking for working alloca.h... " >&6; }
6147 if test "${ac_cv_working_alloca_h+set}" = set; then :
6148 $as_echo_n "(cached) " >&6
6150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6151 /* end confdefs.h. */
6156 char *p = (char *) alloca (2 * sizeof (int));
6162 if ac_fn_c_try_link "$LINENO"; then :
6163 ac_cv_working_alloca_h=yes
6165 ac_cv_working_alloca_h=no
6167 rm -f core conftest.err conftest.$ac_objext \
6168 conftest$ac_exeext conftest.$ac_ext
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
6171 $as_echo "$ac_cv_working_alloca_h" >&6; }
6172 if test $ac_cv_working_alloca_h = yes; then
6174 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
6179 $as_echo_n "checking for alloca... " >&6; }
6180 if test "${ac_cv_func_alloca_works+set}" = set; then :
6181 $as_echo_n "(cached) " >&6
6183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6184 /* end confdefs.h. */
6186 # define alloca __builtin_alloca
6189 # include <malloc.h>
6190 # define alloca _alloca
6192 # ifdef HAVE_ALLOCA_H
6193 # include <alloca.h>
6198 # ifndef alloca /* predefined by HP cc +Olibcalls */
6209 char *p = (char *) alloca (1);
6215 if ac_fn_c_try_link "$LINENO"; then :
6216 ac_cv_func_alloca_works=yes
6218 ac_cv_func_alloca_works=no
6220 rm -f core conftest.err conftest.$ac_objext \
6221 conftest$ac_exeext conftest.$ac_ext
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
6224 $as_echo "$ac_cv_func_alloca_works" >&6; }
6226 if test $ac_cv_func_alloca_works = yes; then
6228 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
6231 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6232 # that cause trouble. Some versions do not even contain alloca or
6233 # contain a buggy version. If you still want to use their alloca,
6234 # use ar to extract alloca.o from them instead of compiling alloca.c.
6236 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
6238 $as_echo "#define C_ALLOCA 1" >>confdefs.h
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
6242 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
6243 if test "${ac_cv_os_cray+set}" = set; then :
6244 $as_echo_n "(cached) " >&6
6246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6247 /* end confdefs.h. */
6248 #if defined CRAY && ! defined CRAY2
6255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6256 $EGREP "webecray" >/dev/null 2>&1; then :
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
6265 $as_echo "$ac_cv_os_cray" >&6; }
6266 if test $ac_cv_os_cray = yes; then
6267 for ac_func in _getb67 GETB67 getb67; do
6268 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6269 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6270 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6272 cat >>confdefs.h <<_ACEOF
6273 #define CRAY_STACKSEG_END $ac_func
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
6283 $as_echo_n "checking stack direction for C alloca... " >&6; }
6284 if test "${ac_cv_c_stack_direction+set}" = set; then :
6285 $as_echo_n "(cached) " >&6
6287 if test "$cross_compiling" = yes; then :
6288 ac_cv_c_stack_direction=0
6290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6291 /* end confdefs.h. */
6292 $ac_includes_default
6294 find_stack_direction ()
6296 static char *addr = 0;
6301 return find_stack_direction ();
6304 return (&dummy > addr) ? 1 : -1;
6310 return find_stack_direction () < 0;
6313 if ac_fn_c_try_run "$LINENO"; then :
6314 ac_cv_c_stack_direction=1
6316 ac_cv_c_stack_direction=-1
6318 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6319 conftest.$ac_objext conftest.beam conftest.$ac_ext
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
6324 $as_echo "$ac_cv_c_stack_direction" >&6; }
6325 cat >>confdefs.h <<_ACEOF
6326 #define STACK_DIRECTION $ac_cv_c_stack_direction
6333 enable_win32_dll=yes
6336 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
6337 if test -n "$ac_tool_prefix"; then
6338 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6339 set dummy ${ac_tool_prefix}as; ac_word=$2
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6341 $as_echo_n "checking for $ac_word... " >&6; }
6342 if test "${ac_cv_prog_AS+set}" = set; then :
6343 $as_echo_n "(cached) " >&6
6345 if test -n "$AS"; then
6346 ac_cv_prog_AS="$AS" # Let the user override the test.
6348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6352 test -z "$as_dir" && as_dir=.
6353 for ac_exec_ext in '' $ac_executable_extensions; do
6354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6355 ac_cv_prog_AS="${ac_tool_prefix}as"
6356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6366 if test -n "$AS"; then
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6368 $as_echo "$AS" >&6; }
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6371 $as_echo "no" >&6; }
6376 if test -z "$ac_cv_prog_AS"; then
6378 # Extract the first word of "as", so it can be a program name with args.
6379 set dummy as; ac_word=$2
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6381 $as_echo_n "checking for $ac_word... " >&6; }
6382 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
6383 $as_echo_n "(cached) " >&6
6385 if test -n "$ac_ct_AS"; then
6386 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6392 test -z "$as_dir" && as_dir=.
6393 for ac_exec_ext in '' $ac_executable_extensions; do
6394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6395 ac_cv_prog_ac_ct_AS="as"
6396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6405 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6406 if test -n "$ac_ct_AS"; then
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6408 $as_echo "$ac_ct_AS" >&6; }
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6411 $as_echo "no" >&6; }
6414 if test "x$ac_ct_AS" = x; then
6417 case $cross_compiling:$ac_tool_warned in
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6421 ac_tool_warned=yes ;;
6429 if test -n "$ac_tool_prefix"; then
6430 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6431 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6433 $as_echo_n "checking for $ac_word... " >&6; }
6434 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6435 $as_echo_n "(cached) " >&6
6437 if test -n "$DLLTOOL"; then
6438 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6444 test -z "$as_dir" && as_dir=.
6445 for ac_exec_ext in '' $ac_executable_extensions; do
6446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6447 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6457 DLLTOOL=$ac_cv_prog_DLLTOOL
6458 if test -n "$DLLTOOL"; then
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6460 $as_echo "$DLLTOOL" >&6; }
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6463 $as_echo "no" >&6; }
6468 if test -z "$ac_cv_prog_DLLTOOL"; then
6469 ac_ct_DLLTOOL=$DLLTOOL
6470 # Extract the first word of "dlltool", so it can be a program name with args.
6471 set dummy dlltool; ac_word=$2
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6473 $as_echo_n "checking for $ac_word... " >&6; }
6474 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
6475 $as_echo_n "(cached) " >&6
6477 if test -n "$ac_ct_DLLTOOL"; then
6478 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6484 test -z "$as_dir" && as_dir=.
6485 for ac_exec_ext in '' $ac_executable_extensions; do
6486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6487 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6497 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6498 if test -n "$ac_ct_DLLTOOL"; then
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6500 $as_echo "$ac_ct_DLLTOOL" >&6; }
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503 $as_echo "no" >&6; }
6506 if test "x$ac_ct_DLLTOOL" = x; then
6509 case $cross_compiling:$ac_tool_warned in
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6513 ac_tool_warned=yes ;;
6515 DLLTOOL=$ac_ct_DLLTOOL
6518 DLLTOOL="$ac_cv_prog_DLLTOOL"
6521 if test -n "$ac_tool_prefix"; then
6522 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6523 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6525 $as_echo_n "checking for $ac_word... " >&6; }
6526 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6527 $as_echo_n "(cached) " >&6
6529 if test -n "$OBJDUMP"; then
6530 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6536 test -z "$as_dir" && as_dir=.
6537 for ac_exec_ext in '' $ac_executable_extensions; do
6538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6539 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549 OBJDUMP=$ac_cv_prog_OBJDUMP
6550 if test -n "$OBJDUMP"; then
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6552 $as_echo "$OBJDUMP" >&6; }
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555 $as_echo "no" >&6; }
6560 if test -z "$ac_cv_prog_OBJDUMP"; then
6561 ac_ct_OBJDUMP=$OBJDUMP
6562 # Extract the first word of "objdump", so it can be a program name with args.
6563 set dummy objdump; ac_word=$2
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565 $as_echo_n "checking for $ac_word... " >&6; }
6566 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6567 $as_echo_n "(cached) " >&6
6569 if test -n "$ac_ct_OBJDUMP"; then
6570 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6576 test -z "$as_dir" && as_dir=.
6577 for ac_exec_ext in '' $ac_executable_extensions; do
6578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6579 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6590 if test -n "$ac_ct_OBJDUMP"; then
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6592 $as_echo "$ac_ct_OBJDUMP" >&6; }
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 $as_echo "no" >&6; }
6598 if test "x$ac_ct_OBJDUMP" = x; then
6601 case $cross_compiling:$ac_tool_warned in
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6605 ac_tool_warned=yes ;;
6607 OBJDUMP=$ac_ct_OBJDUMP
6610 OBJDUMP="$ac_cv_prog_OBJDUMP"
6616 test -z "$AS" && AS=as
6622 test -z "$DLLTOOL" && DLLTOOL=dlltool
6628 test -z "$OBJDUMP" && OBJDUMP=objdump
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6639 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6644 macro_version='2.2.6b'
6645 macro_revision='1.3017'
6659 ltmain="$ac_aux_dir/ltmain.sh"
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6662 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6663 if test "${ac_cv_path_SED+set}" = set; then :
6664 $as_echo_n "(cached) " >&6
6666 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6667 for ac_i in 1 2 3 4 5 6 7; do
6668 ac_script="$ac_script$as_nl$ac_script"
6670 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6671 { ac_script=; unset ac_script;}
6672 if test -z "$SED"; then
6673 ac_path_SED_found=false
6674 # Loop through the user's path and test for each of PROGNAME-LIST
6675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6679 test -z "$as_dir" && as_dir=.
6680 for ac_prog in sed gsed; do
6681 for ac_exec_ext in '' $ac_executable_extensions; do
6682 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6683 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6684 # Check for GNU ac_path_SED and select it if it is found.
6685 # Check for GNU $ac_path_SED
6686 case `"$ac_path_SED" --version 2>&1` in
6688 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6691 $as_echo_n 0123456789 >"conftest.in"
6694 cat "conftest.in" "conftest.in" >"conftest.tmp"
6695 mv "conftest.tmp" "conftest.in"
6696 cp "conftest.in" "conftest.nl"
6697 $as_echo '' >> "conftest.nl"
6698 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6699 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6700 as_fn_arith $ac_count + 1 && ac_count=$as_val
6701 if test $ac_count -gt ${ac_path_SED_max-0}; then
6702 # Best one so far, save it but keep looking for a better one
6703 ac_cv_path_SED="$ac_path_SED"
6704 ac_path_SED_max=$ac_count
6706 # 10*(2^10) chars as input seems more than enough
6707 test $ac_count -gt 10 && break
6709 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6712 $ac_path_SED_found && break 3
6717 if test -z "$ac_cv_path_SED"; then
6718 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6726 $as_echo "$ac_cv_path_SED" >&6; }
6727 SED="$ac_cv_path_SED"
6730 test -z "$SED" && SED=sed
6731 Xsed="$SED -e 1s/^X//"
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6744 $as_echo_n "checking for fgrep... " >&6; }
6745 if test "${ac_cv_path_FGREP+set}" = set; then :
6746 $as_echo_n "(cached) " >&6
6748 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6749 then ac_cv_path_FGREP="$GREP -F"
6751 if test -z "$FGREP"; then
6752 ac_path_FGREP_found=false
6753 # Loop through the user's path and test for each of PROGNAME-LIST
6754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6758 test -z "$as_dir" && as_dir=.
6759 for ac_prog in fgrep; do
6760 for ac_exec_ext in '' $ac_executable_extensions; do
6761 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6762 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6763 # Check for GNU ac_path_FGREP and select it if it is found.
6764 # Check for GNU $ac_path_FGREP
6765 case `"$ac_path_FGREP" --version 2>&1` in
6767 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6770 $as_echo_n 0123456789 >"conftest.in"
6773 cat "conftest.in" "conftest.in" >"conftest.tmp"
6774 mv "conftest.tmp" "conftest.in"
6775 cp "conftest.in" "conftest.nl"
6776 $as_echo 'FGREP' >> "conftest.nl"
6777 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6778 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6779 as_fn_arith $ac_count + 1 && ac_count=$as_val
6780 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6781 # Best one so far, save it but keep looking for a better one
6782 ac_cv_path_FGREP="$ac_path_FGREP"
6783 ac_path_FGREP_max=$ac_count
6785 # 10*(2^10) chars as input seems more than enough
6786 test $ac_count -gt 10 && break
6788 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6791 $ac_path_FGREP_found && break 3
6796 if test -z "$ac_cv_path_FGREP"; then
6797 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6800 ac_cv_path_FGREP=$FGREP
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6806 $as_echo "$ac_cv_path_FGREP" >&6; }
6807 FGREP="$ac_cv_path_FGREP"
6810 test -z "$GREP" && GREP=grep
6830 # Check whether --with-gnu-ld was given.
6831 if test "${with_gnu_ld+set}" = set; then :
6832 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6838 if test "$GCC" = yes; then
6839 # Check if gcc -print-prog-name=ld gives a path.
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6841 $as_echo_n "checking for ld used by $CC... " >&6; }
6844 # gcc leaves a trailing carriage return which upsets mingw
6845 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6847 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6850 # Accept absolute paths.
6852 re_direlt='/[^/][^/]*/\.\./'
6853 # Canonicalize the pathname of ld
6854 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6855 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6856 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6858 test -z "$LD" && LD="$ac_prog"
6861 # If it fails, then pretend we aren't using GCC.
6865 # If it is relative, then search for the first ld in PATH.
6869 elif test "$with_gnu_ld" = yes; then
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6871 $as_echo_n "checking for GNU ld... " >&6; }
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6874 $as_echo_n "checking for non-GNU ld... " >&6; }
6876 if test "${lt_cv_path_LD+set}" = set; then :
6877 $as_echo_n "(cached) " >&6
6879 if test -z "$LD"; then
6880 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6881 for ac_dir in $PATH; do
6883 test -z "$ac_dir" && ac_dir=.
6884 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6885 lt_cv_path_LD="$ac_dir/$ac_prog"
6886 # Check to see if the program is GNU ld. I'd rather use --version,
6887 # but apparently some variants of GNU ld only accept -v.
6888 # Break only if it was the GNU/non-GNU ld that we prefer.
6889 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6890 *GNU* | *'with BFD'*)
6891 test "$with_gnu_ld" != no && break
6894 test "$with_gnu_ld" != yes && break
6901 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6906 if test -n "$LD"; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6908 $as_echo "$LD" >&6; }
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911 $as_echo "no" >&6; }
6913 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6915 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6916 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6917 $as_echo_n "(cached) " >&6
6919 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6920 case `$LD -v 2>&1 </dev/null` in
6921 *GNU* | *'with BFD'*)
6922 lt_cv_prog_gnu_ld=yes
6925 lt_cv_prog_gnu_ld=no
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6930 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6931 with_gnu_ld=$lt_cv_prog_gnu_ld
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6942 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6943 if test "${lt_cv_path_NM+set}" = set; then :
6944 $as_echo_n "(cached) " >&6
6946 if test -n "$NM"; then
6947 # Let the user override the test.
6950 lt_nm_to_check="${ac_tool_prefix}nm"
6951 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6952 lt_nm_to_check="$lt_nm_to_check nm"
6954 for lt_tmp_nm in $lt_nm_to_check; do
6955 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6956 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6958 test -z "$ac_dir" && ac_dir=.
6959 tmp_nm="$ac_dir/$lt_tmp_nm"
6960 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6961 # Check to see if the nm accepts a BSD-compat flag.
6962 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6963 # nm: unknown option "B" ignored
6964 # Tru64's nm complains that /dev/null is an invalid object file
6965 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6966 */dev/null* | *'Invalid file or object type'*)
6967 lt_cv_path_NM="$tmp_nm -B"
6971 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6973 lt_cv_path_NM="$tmp_nm -p"
6977 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6978 continue # so that we can try to find one that supports BSD flags
6987 : ${lt_cv_path_NM=no}
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6991 $as_echo "$lt_cv_path_NM" >&6; }
6992 if test "$lt_cv_path_NM" != "no"; then
6995 # Didn't find any BSD compatible name lister, look for dumpbin.
6996 if test -n "$ac_tool_prefix"; then
6997 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7000 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002 $as_echo_n "checking for $ac_word... " >&6; }
7003 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
7004 $as_echo_n "(cached) " >&6
7006 if test -n "$DUMPBIN"; then
7007 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7013 test -z "$as_dir" && as_dir=.
7014 for ac_exec_ext in '' $ac_executable_extensions; do
7015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7016 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7026 DUMPBIN=$ac_cv_prog_DUMPBIN
7027 if test -n "$DUMPBIN"; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7029 $as_echo "$DUMPBIN" >&6; }
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7036 test -n "$DUMPBIN" && break
7039 if test -z "$DUMPBIN"; then
7040 ac_ct_DUMPBIN=$DUMPBIN
7041 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
7043 # Extract the first word of "$ac_prog", so it can be a program name with args.
7044 set dummy $ac_prog; ac_word=$2
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7046 $as_echo_n "checking for $ac_word... " >&6; }
7047 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
7048 $as_echo_n "(cached) " >&6
7050 if test -n "$ac_ct_DUMPBIN"; then
7051 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7057 test -z "$as_dir" && as_dir=.
7058 for ac_exec_ext in '' $ac_executable_extensions; do
7059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7060 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7070 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7071 if test -n "$ac_ct_DUMPBIN"; then
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7073 $as_echo "$ac_ct_DUMPBIN" >&6; }
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7076 $as_echo "no" >&6; }
7080 test -n "$ac_ct_DUMPBIN" && break
7083 if test "x$ac_ct_DUMPBIN" = x; then
7086 case $cross_compiling:$ac_tool_warned in
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7090 ac_tool_warned=yes ;;
7092 DUMPBIN=$ac_ct_DUMPBIN
7097 if test "$DUMPBIN" != ":"; then
7101 test -z "$NM" && NM=nm
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7109 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7110 if test "${lt_cv_nm_interface+set}" = set; then :
7111 $as_echo_n "(cached) " >&6
7113 lt_cv_nm_interface="BSD nm"
7114 echo "int some_variable = 0;" > conftest.$ac_ext
7115 (eval echo "\"\$as_me:7115: $ac_compile\"" >&5)
7116 (eval "$ac_compile" 2>conftest.err)
7117 cat conftest.err >&5
7118 (eval echo "\"\$as_me:7118: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7119 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7120 cat conftest.err >&5
7121 (eval echo "\"\$as_me:7121: output\"" >&5)
7122 cat conftest.out >&5
7123 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7124 lt_cv_nm_interface="MS dumpbin"
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7129 $as_echo "$lt_cv_nm_interface" >&6; }
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7132 $as_echo_n "checking whether ln -s works... " >&6; }
7134 if test "$LN_S" = "ln -s"; then
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7136 $as_echo "yes" >&6; }
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7139 $as_echo "no, using $LN_S" >&6; }
7142 # find the maximum length of command line arguments
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7144 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7145 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
7146 $as_echo_n "(cached) " >&6
7153 # On DJGPP, this test can blow up pretty badly due to problems in libc
7154 # (any single argument exceeding 2000 bytes causes a buffer overrun
7155 # during glob expansion). Even if it were fixed, the result of this
7156 # check would be larger than it should be.
7157 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7161 # Under GNU Hurd, this test is not required because there is
7162 # no limit to the length of command line arguments.
7163 # Libtool will interpret -1 as no limit whatsoever
7164 lt_cv_sys_max_cmd_len=-1;
7167 cygwin* | mingw* | cegcc*)
7168 # On Win9x/ME, this test blows up -- it succeeds, but takes
7169 # about 5 minutes as the teststring grows exponentially.
7170 # Worse, since 9x/ME are not pre-emptively multitasking,
7171 # you end up with a "frozen" computer, even though with patience
7172 # the test eventually succeeds (with a max line length of 256k).
7173 # Instead, let's just punt: use the minimum linelength reported by
7174 # all of the supported platforms: 8192 (on NT/2K/XP).
7175 lt_cv_sys_max_cmd_len=8192;
7179 # On AmigaOS with pdksh, this test takes hours, literally.
7180 # So we just punt and use a minimum line length of 8192.
7181 lt_cv_sys_max_cmd_len=8192;
7184 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7185 # This has been around since 386BSD, at least. Likely further.
7186 if test -x /sbin/sysctl; then
7187 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7188 elif test -x /usr/sbin/sysctl; then
7189 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7191 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7193 # And add a safety zone
7194 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7195 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7199 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7200 lt_cv_sys_max_cmd_len=196608
7204 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7205 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7206 # nice to cause kernel panics so lets avoid the loop below.
7207 # First set a reasonable default.
7208 lt_cv_sys_max_cmd_len=16384
7210 if test -x /sbin/sysconfig; then
7211 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7212 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7217 lt_cv_sys_max_cmd_len=102400
7219 sysv5* | sco5v6* | sysv4.2uw2*)
7220 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7221 if test -n "$kargmax"; then
7222 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7224 lt_cv_sys_max_cmd_len=32768
7228 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7229 if test -n "$lt_cv_sys_max_cmd_len"; then
7230 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7231 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7233 # Make teststring a little bigger before we do anything with it.
7234 # a 1K string should be a reasonable start.
7235 for i in 1 2 3 4 5 6 7 8 ; do
7236 teststring=$teststring$teststring
7238 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7239 # If test is not a shell built-in, we'll probably end up computing a
7240 # maximum length that is only half of the actual maximum length, but
7242 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
7243 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
7244 test $i != 17 # 1/2 MB should be enough
7247 teststring=$teststring$teststring
7249 # Only check the string length outside the loop.
7250 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7252 # Add a significant safety factor because C++ compilers can tack on
7253 # massive amounts of additional arguments before passing them to the
7254 # linker. It appears as though 1/2 is a usable value.
7255 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7262 if test -n $lt_cv_sys_max_cmd_len ; then
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7264 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7267 $as_echo "none" >&6; }
7269 max_cmd_len=$lt_cv_sys_max_cmd_len
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7281 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7282 # Try some XSI features
7285 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7287 && eval 'test $(( 1 + 1 )) -eq 2 \
7288 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7291 $as_echo "$xsi_shell" >&6; }
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7295 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7297 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7299 && lt_shell_append=yes
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7301 $as_echo "$lt_shell_append" >&6; }
7304 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7314 # test EBCDIC or ASCII
7315 case `echo X|tr X '\101'` in
7316 A) # ASCII based system
7317 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7318 lt_SP2NL='tr \040 \012'
7319 lt_NL2SP='tr \015\012 \040\040'
7321 *) # EBCDIC based system
7322 lt_SP2NL='tr \100 \n'
7323 lt_NL2SP='tr \r\n \100\100'
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7336 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7337 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7338 $as_echo_n "(cached) " >&6
7340 lt_cv_ld_reload_flag='-r'
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7343 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7344 reload_flag=$lt_cv_ld_reload_flag
7345 case $reload_flag in
7347 *) reload_flag=" $reload_flag" ;;
7349 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7352 if test "$GCC" = yes; then
7353 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7355 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7368 if test -n "$ac_tool_prefix"; then
7369 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7370 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7372 $as_echo_n "checking for $ac_word... " >&6; }
7373 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7374 $as_echo_n "(cached) " >&6
7376 if test -n "$OBJDUMP"; then
7377 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7383 test -z "$as_dir" && as_dir=.
7384 for ac_exec_ext in '' $ac_executable_extensions; do
7385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7386 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7396 OBJDUMP=$ac_cv_prog_OBJDUMP
7397 if test -n "$OBJDUMP"; then
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7399 $as_echo "$OBJDUMP" >&6; }
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402 $as_echo "no" >&6; }
7407 if test -z "$ac_cv_prog_OBJDUMP"; then
7408 ac_ct_OBJDUMP=$OBJDUMP
7409 # Extract the first word of "objdump", so it can be a program name with args.
7410 set dummy objdump; ac_word=$2
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412 $as_echo_n "checking for $ac_word... " >&6; }
7413 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7414 $as_echo_n "(cached) " >&6
7416 if test -n "$ac_ct_OBJDUMP"; then
7417 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7423 test -z "$as_dir" && as_dir=.
7424 for ac_exec_ext in '' $ac_executable_extensions; do
7425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7426 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7436 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7437 if test -n "$ac_ct_OBJDUMP"; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7439 $as_echo "$ac_ct_OBJDUMP" >&6; }
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442 $as_echo "no" >&6; }
7445 if test "x$ac_ct_OBJDUMP" = x; then
7448 case $cross_compiling:$ac_tool_warned in
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7452 ac_tool_warned=yes ;;
7454 OBJDUMP=$ac_ct_OBJDUMP
7457 OBJDUMP="$ac_cv_prog_OBJDUMP"
7460 test -z "$OBJDUMP" && OBJDUMP=objdump
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7468 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7469 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7470 $as_echo_n "(cached) " >&6
7472 lt_cv_file_magic_cmd='$MAGIC_CMD'
7473 lt_cv_file_magic_test_file=
7474 lt_cv_deplibs_check_method='unknown'
7475 # Need to set the preceding variable on all platforms that support
7476 # interlibrary dependencies.
7477 # 'none' -- dependencies not supported.
7478 # `unknown' -- same as none, but documents that we really don't know.
7479 # 'pass_all' -- all dependencies passed with no checks.
7480 # 'test_compile' -- check by making test program.
7481 # 'file_magic [[regex]]' -- check by looking for files in library path
7482 # which responds to the $file_magic_cmd with a given extended regex.
7483 # If you have `file' or equivalent on your system and you're not sure
7484 # whether `pass_all' will *always* work, you probably want this one.
7488 lt_cv_deplibs_check_method=pass_all
7492 lt_cv_deplibs_check_method=pass_all
7496 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7497 lt_cv_file_magic_cmd='/usr/bin/file -L'
7498 lt_cv_file_magic_test_file=/shlib/libc.so
7502 # func_win32_libid is a shell function defined in ltmain.sh
7503 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7504 lt_cv_file_magic_cmd='func_win32_libid'
7508 # Base MSYS/MinGW do not provide the 'file' command needed by
7509 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7510 # unless we find 'file', for example because we are cross-compiling.
7511 if ( file / ) >/dev/null 2>&1; then
7512 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7513 lt_cv_file_magic_cmd='func_win32_libid'
7515 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7516 lt_cv_file_magic_cmd='$OBJDUMP -f'
7521 # use the weaker test based on 'objdump'. See mingw*.
7522 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7523 lt_cv_file_magic_cmd='$OBJDUMP -f'
7526 darwin* | rhapsody*)
7527 lt_cv_deplibs_check_method=pass_all
7530 freebsd* | dragonfly*)
7531 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7534 # Not sure whether the presence of OpenBSD here was a mistake.
7535 # Let's accept both of them until this is cleared up.
7536 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7537 lt_cv_file_magic_cmd=/usr/bin/file
7538 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7542 lt_cv_deplibs_check_method=pass_all
7547 lt_cv_deplibs_check_method=pass_all
7550 hpux10.20* | hpux11*)
7551 lt_cv_file_magic_cmd=/usr/bin/file
7554 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7555 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7558 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
7559 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7562 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7563 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7569 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7570 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7573 irix5* | irix6* | nonstopux*)
7575 *-32|*"-32 ") libmagic=32-bit;;
7576 *-n32|*"-n32 ") libmagic=N32;;
7577 *-64|*"-64 ") libmagic=64-bit;;
7578 *) libmagic=never-match;;
7580 lt_cv_deplibs_check_method=pass_all
7583 # This must be Linux ELF.
7584 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7585 lt_cv_deplibs_check_method=pass_all
7588 netbsd* | netbsdelf*-gnu)
7589 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7590 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7592 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7597 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7598 lt_cv_file_magic_cmd=/usr/bin/file
7599 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7603 lt_cv_deplibs_check_method=pass_all
7607 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7608 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7610 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7614 osf3* | osf4* | osf5*)
7615 lt_cv_deplibs_check_method=pass_all
7619 lt_cv_deplibs_check_method=pass_all
7623 lt_cv_deplibs_check_method=pass_all
7626 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7627 lt_cv_deplibs_check_method=pass_all
7631 case $host_vendor in
7633 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]'
7634 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7637 lt_cv_deplibs_check_method=pass_all
7640 lt_cv_file_magic_cmd='/bin/file'
7641 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7644 lt_cv_file_magic_cmd='/bin/file'
7645 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7646 lt_cv_file_magic_test_file=/lib/libc.so
7649 lt_cv_deplibs_check_method=pass_all
7652 lt_cv_deplibs_check_method=pass_all
7658 lt_cv_deplibs_check_method=pass_all
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7664 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7665 file_magic_cmd=$lt_cv_file_magic_cmd
7666 deplibs_check_method=$lt_cv_deplibs_check_method
7667 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7680 if test -n "$ac_tool_prefix"; then
7681 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7682 set dummy ${ac_tool_prefix}ar; ac_word=$2
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7684 $as_echo_n "checking for $ac_word... " >&6; }
7685 if test "${ac_cv_prog_AR+set}" = set; then :
7686 $as_echo_n "(cached) " >&6
7688 if test -n "$AR"; then
7689 ac_cv_prog_AR="$AR" # Let the user override the test.
7691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7695 test -z "$as_dir" && as_dir=.
7696 for ac_exec_ext in '' $ac_executable_extensions; do
7697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7698 ac_cv_prog_AR="${ac_tool_prefix}ar"
7699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7709 if test -n "$AR"; then
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7711 $as_echo "$AR" >&6; }
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7714 $as_echo "no" >&6; }
7719 if test -z "$ac_cv_prog_AR"; then
7721 # Extract the first word of "ar", so it can be a program name with args.
7722 set dummy ar; ac_word=$2
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7724 $as_echo_n "checking for $ac_word... " >&6; }
7725 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7726 $as_echo_n "(cached) " >&6
7728 if test -n "$ac_ct_AR"; then
7729 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7735 test -z "$as_dir" && as_dir=.
7736 for ac_exec_ext in '' $ac_executable_extensions; do
7737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7738 ac_cv_prog_ac_ct_AR="ar"
7739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7748 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7749 if test -n "$ac_ct_AR"; then
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7751 $as_echo "$ac_ct_AR" >&6; }
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7754 $as_echo "no" >&6; }
7757 if test "x$ac_ct_AR" = x; then
7760 case $cross_compiling:$ac_tool_warned in
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7764 ac_tool_warned=yes ;;
7772 test -z "$AR" && AR=ar
7773 test -z "$AR_FLAGS" && AR_FLAGS=cru
7785 if test -n "$ac_tool_prefix"; then
7786 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7787 set dummy ${ac_tool_prefix}strip; ac_word=$2
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7789 $as_echo_n "checking for $ac_word... " >&6; }
7790 if test "${ac_cv_prog_STRIP+set}" = set; then :
7791 $as_echo_n "(cached) " >&6
7793 if test -n "$STRIP"; then
7794 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7800 test -z "$as_dir" && as_dir=.
7801 for ac_exec_ext in '' $ac_executable_extensions; do
7802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7803 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7813 STRIP=$ac_cv_prog_STRIP
7814 if test -n "$STRIP"; then
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7816 $as_echo "$STRIP" >&6; }
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7819 $as_echo "no" >&6; }
7824 if test -z "$ac_cv_prog_STRIP"; then
7826 # Extract the first word of "strip", so it can be a program name with args.
7827 set dummy strip; ac_word=$2
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7829 $as_echo_n "checking for $ac_word... " >&6; }
7830 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7831 $as_echo_n "(cached) " >&6
7833 if test -n "$ac_ct_STRIP"; then
7834 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7840 test -z "$as_dir" && as_dir=.
7841 for ac_exec_ext in '' $ac_executable_extensions; do
7842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7843 ac_cv_prog_ac_ct_STRIP="strip"
7844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7853 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7854 if test -n "$ac_ct_STRIP"; then
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7856 $as_echo "$ac_ct_STRIP" >&6; }
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7859 $as_echo "no" >&6; }
7862 if test "x$ac_ct_STRIP" = x; then
7865 case $cross_compiling:$ac_tool_warned in
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7869 ac_tool_warned=yes ;;
7874 STRIP="$ac_cv_prog_STRIP"
7877 test -z "$STRIP" && STRIP=:
7884 if test -n "$ac_tool_prefix"; then
7885 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7886 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7888 $as_echo_n "checking for $ac_word... " >&6; }
7889 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7890 $as_echo_n "(cached) " >&6
7892 if test -n "$RANLIB"; then
7893 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7899 test -z "$as_dir" && as_dir=.
7900 for ac_exec_ext in '' $ac_executable_extensions; do
7901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7902 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7912 RANLIB=$ac_cv_prog_RANLIB
7913 if test -n "$RANLIB"; then
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7915 $as_echo "$RANLIB" >&6; }
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7918 $as_echo "no" >&6; }
7923 if test -z "$ac_cv_prog_RANLIB"; then
7924 ac_ct_RANLIB=$RANLIB
7925 # Extract the first word of "ranlib", so it can be a program name with args.
7926 set dummy ranlib; ac_word=$2
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7928 $as_echo_n "checking for $ac_word... " >&6; }
7929 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7930 $as_echo_n "(cached) " >&6
7932 if test -n "$ac_ct_RANLIB"; then
7933 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7939 test -z "$as_dir" && as_dir=.
7940 for ac_exec_ext in '' $ac_executable_extensions; do
7941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7942 ac_cv_prog_ac_ct_RANLIB="ranlib"
7943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7952 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7953 if test -n "$ac_ct_RANLIB"; then
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7955 $as_echo "$ac_ct_RANLIB" >&6; }
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7958 $as_echo "no" >&6; }
7961 if test "x$ac_ct_RANLIB" = x; then
7964 case $cross_compiling:$ac_tool_warned in
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7968 ac_tool_warned=yes ;;
7970 RANLIB=$ac_ct_RANLIB
7973 RANLIB="$ac_cv_prog_RANLIB"
7976 test -z "$RANLIB" && RANLIB=:
7983 # Determine commands to create old-style static archives.
7984 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7985 old_postinstall_cmds='chmod 644 $oldlib'
7986 old_postuninstall_cmds=
7988 if test -n "$RANLIB"; then
7991 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7994 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7997 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8033 # If no C compiler was specified, use CC.
8036 # If no C compiler flags were specified, use CFLAGS.
8037 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8039 # Allow CC to be a program name with arguments.
8043 # Check for command to grab the raw symbol name followed by C symbol from nm.
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8045 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8046 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
8047 $as_echo_n "(cached) " >&6
8050 # These are sane defaults that work on at least a few old systems.
8051 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8053 # Character class describing NM global symbol codes.
8054 symcode='[BCDEGRST]'
8056 # Regexp to match symbols that can be accessed directly from C.
8057 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8059 # Define system-specific variables.
8064 cygwin* | mingw* | pw32* | cegcc*)
8065 symcode='[ABCDGISTW]'
8068 if test "$host_cpu" = ia64; then
8069 symcode='[ABCDEGRST]'
8073 symcode='[BCDEGRST]'
8076 symcode='[BCDEGQRST]'
8087 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8095 # If we're using GNU nm, then use its standard symbol codes.
8096 case `$NM -V 2>&1` in
8097 *GNU* | *'with BFD'*)
8098 symcode='[ABCDGIRSTW]' ;;
8101 # Transform an extracted symbol line into a proper C declaration.
8102 # Some systems (esp. on ia64) link data and code symbols differently,
8103 # so use this general approach.
8104 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8106 # Transform an extracted symbol line into symbol name and symbol address
8107 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8108 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'"
8110 # Handle CRLF in mingw tool chain
8114 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8118 # Try without a prefix underscore, then with it.
8119 for ac_symprfx in "" "_"; do
8121 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8122 symxfrm="\\1 $ac_symprfx\\2 \\2"
8124 # Write the raw and C identifiers.
8125 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8126 # Fake it for dumpbin and say T for any non-static function
8127 # and D for any global variable.
8128 # Also find C++ and __fastcall symbols from MSVC++,
8129 # which start with @ or ?.
8130 lt_cv_sys_global_symbol_pipe="$AWK '"\
8131 " {last_section=section; section=\$ 3};"\
8132 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8133 " \$ 0!~/External *\|/{next};"\
8134 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8135 " {if(hide[section]) next};"\
8136 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8137 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8138 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8139 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8140 " ' prfx=^$ac_symprfx"
8142 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8145 # Check to see that the pipe works correctly.
8149 cat > conftest.$ac_ext <<_LT_EOF
8154 void nm_test_func(void);
8155 void nm_test_func(void){}
8159 int main(){nm_test_var='a';nm_test_func();return(0);}
8162 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8163 (eval $ac_compile) 2>&5
8165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8166 test $ac_status = 0; }; then
8167 # Now try to grab the symbols.
8169 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
8170 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8173 test $ac_status = 0; } && test -s "$nlist"; then
8174 # Try sorting and uniquifying the output.
8175 if sort "$nlist" | uniq > "$nlist"T; then
8176 mv -f "$nlist"T "$nlist"
8181 # Make sure that we snagged all the symbols we need.
8182 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8183 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8184 cat <<_LT_EOF > conftest.$ac_ext
8190 # Now generate the symbol file.
8191 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8193 cat <<_LT_EOF >> conftest.$ac_ext
8195 /* The mapping between symbol names and symbols. */
8200 lt__PROGRAM__LTX_preloaded_symbols[] =
8202 { "@PROGRAM@", (void *) 0 },
8204 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8205 cat <<\_LT_EOF >> conftest.$ac_ext
8209 /* This works around a problem in FreeBSD linker */
8210 #ifdef FREEBSD_WORKAROUND
8211 static const void *lt_preloaded_setup() {
8212 return lt__PROGRAM__LTX_preloaded_symbols;
8220 # Now try linking the two files.
8221 mv conftest.$ac_objext conftstm.$ac_objext
8222 lt_save_LIBS="$LIBS"
8223 lt_save_CFLAGS="$CFLAGS"
8224 LIBS="conftstm.$ac_objext"
8225 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8226 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8227 (eval $ac_link) 2>&5
8229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8230 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8233 LIBS="$lt_save_LIBS"
8234 CFLAGS="$lt_save_CFLAGS"
8236 echo "cannot find nm_test_func in $nlist" >&5
8239 echo "cannot find nm_test_var in $nlist" >&5
8242 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8245 echo "$progname: failed program was:" >&5
8246 cat conftest.$ac_ext >&5
8248 rm -rf conftest* conftst*
8250 # Do not use the global_symbol_pipe unless it works.
8251 if test "$pipe_works" = yes; then
8254 lt_cv_sys_global_symbol_pipe=
8260 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8261 lt_cv_sys_global_symbol_to_cdecl=
8263 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8265 $as_echo "failed" >&6; }
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8268 $as_echo "ok" >&6; }
8292 # Check whether --enable-libtool-lock was given.
8293 if test "${enable_libtool_lock+set}" = set; then :
8294 enableval=$enable_libtool_lock;
8297 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8299 # Some flags need to be propagated to the compiler or linker for good
8303 # Find out which ABI we are using.
8304 echo 'int i;' > conftest.$ac_ext
8305 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8306 (eval $ac_compile) 2>&5
8308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8309 test $ac_status = 0; }; then
8310 case `/usr/bin/file conftest.$ac_objext` in
8322 # Find out which ABI we are using.
8323 echo '#line 8323 "configure"' > conftest.$ac_ext
8324 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8325 (eval $ac_compile) 2>&5
8327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8328 test $ac_status = 0; }; then
8329 if test "$lt_cv_prog_gnu_ld" = yes; then
8330 case `/usr/bin/file conftest.$ac_objext` in
8332 LD="${LD-ld} -melf32bsmip"
8335 LD="${LD-ld} -melf32bmipn32"
8338 LD="${LD-ld} -melf64bmip"
8342 case `/usr/bin/file conftest.$ac_objext` in
8358 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8359 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8360 # Find out which ABI we are using.
8361 echo 'int i;' > conftest.$ac_ext
8362 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8363 (eval $ac_compile) 2>&5
8365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8366 test $ac_status = 0; }; then
8367 case `/usr/bin/file conftest.o` in
8370 x86_64-*kfreebsd*-gnu)
8371 LD="${LD-ld} -m elf_i386_fbsd"
8374 LD="${LD-ld} -m elf_i386"
8376 ppc64-*linux*|powerpc64-*linux*)
8377 LD="${LD-ld} -m elf32ppclinux"
8380 LD="${LD-ld} -m elf_s390"
8383 LD="${LD-ld} -m elf32_sparc"
8389 x86_64-*kfreebsd*-gnu)
8390 LD="${LD-ld} -m elf_x86_64_fbsd"
8393 LD="${LD-ld} -m elf_x86_64"
8395 ppc*-*linux*|powerpc*-*linux*)
8396 LD="${LD-ld} -m elf64ppc"
8398 s390*-*linux*|s390*-*tpf*)
8399 LD="${LD-ld} -m elf64_s390"
8402 LD="${LD-ld} -m elf64_sparc"
8412 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8413 SAVE_CFLAGS="$CFLAGS"
8414 CFLAGS="$CFLAGS -belf"
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8416 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8417 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8418 $as_echo_n "(cached) " >&6
8421 ac_cpp='$CPP $CPPFLAGS'
8422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8437 if ac_fn_c_try_link "$LINENO"; then :
8438 lt_cv_cc_needs_belf=yes
8440 lt_cv_cc_needs_belf=no
8442 rm -f core conftest.err conftest.$ac_objext \
8443 conftest$ac_exeext conftest.$ac_ext
8445 ac_cpp='$CPP $CPPFLAGS'
8446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8452 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8453 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8454 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8455 CFLAGS="$SAVE_CFLAGS"
8459 # Find out which ABI we are using.
8460 echo 'int i;' > conftest.$ac_ext
8461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8462 (eval $ac_compile) 2>&5
8464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8465 test $ac_status = 0; }; then
8466 case `/usr/bin/file conftest.o` in
8468 case $lt_cv_prog_gnu_ld in
8469 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8471 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8483 need_locks="$enable_libtool_lock"
8487 rhapsody* | darwin*)
8488 if test -n "$ac_tool_prefix"; then
8489 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8490 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8492 $as_echo_n "checking for $ac_word... " >&6; }
8493 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8494 $as_echo_n "(cached) " >&6
8496 if test -n "$DSYMUTIL"; then
8497 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8503 test -z "$as_dir" && as_dir=.
8504 for ac_exec_ext in '' $ac_executable_extensions; do
8505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8506 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8516 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8517 if test -n "$DSYMUTIL"; then
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8519 $as_echo "$DSYMUTIL" >&6; }
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8522 $as_echo "no" >&6; }
8527 if test -z "$ac_cv_prog_DSYMUTIL"; then
8528 ac_ct_DSYMUTIL=$DSYMUTIL
8529 # Extract the first word of "dsymutil", so it can be a program name with args.
8530 set dummy dsymutil; ac_word=$2
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8532 $as_echo_n "checking for $ac_word... " >&6; }
8533 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8534 $as_echo_n "(cached) " >&6
8536 if test -n "$ac_ct_DSYMUTIL"; then
8537 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8543 test -z "$as_dir" && as_dir=.
8544 for ac_exec_ext in '' $ac_executable_extensions; do
8545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8546 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8556 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8557 if test -n "$ac_ct_DSYMUTIL"; then
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8559 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8562 $as_echo "no" >&6; }
8565 if test "x$ac_ct_DSYMUTIL" = x; then
8568 case $cross_compiling:$ac_tool_warned in
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8572 ac_tool_warned=yes ;;
8574 DSYMUTIL=$ac_ct_DSYMUTIL
8577 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8580 if test -n "$ac_tool_prefix"; then
8581 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8582 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8584 $as_echo_n "checking for $ac_word... " >&6; }
8585 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8586 $as_echo_n "(cached) " >&6
8588 if test -n "$NMEDIT"; then
8589 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8595 test -z "$as_dir" && as_dir=.
8596 for ac_exec_ext in '' $ac_executable_extensions; do
8597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8598 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8608 NMEDIT=$ac_cv_prog_NMEDIT
8609 if test -n "$NMEDIT"; then
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8611 $as_echo "$NMEDIT" >&6; }
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8614 $as_echo "no" >&6; }
8619 if test -z "$ac_cv_prog_NMEDIT"; then
8620 ac_ct_NMEDIT=$NMEDIT
8621 # Extract the first word of "nmedit", so it can be a program name with args.
8622 set dummy nmedit; ac_word=$2
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8624 $as_echo_n "checking for $ac_word... " >&6; }
8625 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8626 $as_echo_n "(cached) " >&6
8628 if test -n "$ac_ct_NMEDIT"; then
8629 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8635 test -z "$as_dir" && as_dir=.
8636 for ac_exec_ext in '' $ac_executable_extensions; do
8637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8638 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8648 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8649 if test -n "$ac_ct_NMEDIT"; then
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8651 $as_echo "$ac_ct_NMEDIT" >&6; }
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8654 $as_echo "no" >&6; }
8657 if test "x$ac_ct_NMEDIT" = x; then
8660 case $cross_compiling:$ac_tool_warned in
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8664 ac_tool_warned=yes ;;
8666 NMEDIT=$ac_ct_NMEDIT
8669 NMEDIT="$ac_cv_prog_NMEDIT"
8672 if test -n "$ac_tool_prefix"; then
8673 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8674 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8676 $as_echo_n "checking for $ac_word... " >&6; }
8677 if test "${ac_cv_prog_LIPO+set}" = set; then :
8678 $as_echo_n "(cached) " >&6
8680 if test -n "$LIPO"; then
8681 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8687 test -z "$as_dir" && as_dir=.
8688 for ac_exec_ext in '' $ac_executable_extensions; do
8689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8690 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8700 LIPO=$ac_cv_prog_LIPO
8701 if test -n "$LIPO"; then
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8703 $as_echo "$LIPO" >&6; }
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8706 $as_echo "no" >&6; }
8711 if test -z "$ac_cv_prog_LIPO"; then
8713 # Extract the first word of "lipo", so it can be a program name with args.
8714 set dummy lipo; ac_word=$2
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8716 $as_echo_n "checking for $ac_word... " >&6; }
8717 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8718 $as_echo_n "(cached) " >&6
8720 if test -n "$ac_ct_LIPO"; then
8721 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8727 test -z "$as_dir" && as_dir=.
8728 for ac_exec_ext in '' $ac_executable_extensions; do
8729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8730 ac_cv_prog_ac_ct_LIPO="lipo"
8731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8740 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8741 if test -n "$ac_ct_LIPO"; then
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8743 $as_echo "$ac_ct_LIPO" >&6; }
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8746 $as_echo "no" >&6; }
8749 if test "x$ac_ct_LIPO" = x; then
8752 case $cross_compiling:$ac_tool_warned in
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8756 ac_tool_warned=yes ;;
8761 LIPO="$ac_cv_prog_LIPO"
8764 if test -n "$ac_tool_prefix"; then
8765 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8766 set dummy ${ac_tool_prefix}otool; ac_word=$2
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8768 $as_echo_n "checking for $ac_word... " >&6; }
8769 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8770 $as_echo_n "(cached) " >&6
8772 if test -n "$OTOOL"; then
8773 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8779 test -z "$as_dir" && as_dir=.
8780 for ac_exec_ext in '' $ac_executable_extensions; do
8781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8782 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8792 OTOOL=$ac_cv_prog_OTOOL
8793 if test -n "$OTOOL"; then
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8795 $as_echo "$OTOOL" >&6; }
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8798 $as_echo "no" >&6; }
8803 if test -z "$ac_cv_prog_OTOOL"; then
8805 # Extract the first word of "otool", so it can be a program name with args.
8806 set dummy otool; ac_word=$2
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8808 $as_echo_n "checking for $ac_word... " >&6; }
8809 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8810 $as_echo_n "(cached) " >&6
8812 if test -n "$ac_ct_OTOOL"; then
8813 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8819 test -z "$as_dir" && as_dir=.
8820 for ac_exec_ext in '' $ac_executable_extensions; do
8821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8822 ac_cv_prog_ac_ct_OTOOL="otool"
8823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8832 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8833 if test -n "$ac_ct_OTOOL"; then
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8835 $as_echo "$ac_ct_OTOOL" >&6; }
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8838 $as_echo "no" >&6; }
8841 if test "x$ac_ct_OTOOL" = x; then
8844 case $cross_compiling:$ac_tool_warned in
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8848 ac_tool_warned=yes ;;
8853 OTOOL="$ac_cv_prog_OTOOL"
8856 if test -n "$ac_tool_prefix"; then
8857 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8858 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8860 $as_echo_n "checking for $ac_word... " >&6; }
8861 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8862 $as_echo_n "(cached) " >&6
8864 if test -n "$OTOOL64"; then
8865 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8871 test -z "$as_dir" && as_dir=.
8872 for ac_exec_ext in '' $ac_executable_extensions; do
8873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8874 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8884 OTOOL64=$ac_cv_prog_OTOOL64
8885 if test -n "$OTOOL64"; then
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8887 $as_echo "$OTOOL64" >&6; }
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8890 $as_echo "no" >&6; }
8895 if test -z "$ac_cv_prog_OTOOL64"; then
8896 ac_ct_OTOOL64=$OTOOL64
8897 # Extract the first word of "otool64", so it can be a program name with args.
8898 set dummy otool64; ac_word=$2
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8900 $as_echo_n "checking for $ac_word... " >&6; }
8901 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8902 $as_echo_n "(cached) " >&6
8904 if test -n "$ac_ct_OTOOL64"; then
8905 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8911 test -z "$as_dir" && as_dir=.
8912 for ac_exec_ext in '' $ac_executable_extensions; do
8913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8914 ac_cv_prog_ac_ct_OTOOL64="otool64"
8915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8924 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8925 if test -n "$ac_ct_OTOOL64"; then
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8927 $as_echo "$ac_ct_OTOOL64" >&6; }
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8930 $as_echo "no" >&6; }
8933 if test "x$ac_ct_OTOOL64" = x; then
8936 case $cross_compiling:$ac_tool_warned in
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8940 ac_tool_warned=yes ;;
8942 OTOOL64=$ac_ct_OTOOL64
8945 OTOOL64="$ac_cv_prog_OTOOL64"
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8975 $as_echo_n "checking for -single_module linker flag... " >&6; }
8976 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8977 $as_echo_n "(cached) " >&6
8979 lt_cv_apple_cc_single_mod=no
8980 if test -z "${LT_MULTI_MODULE}"; then
8981 # By default we will add the -single_module flag. You can override
8982 # by either setting the environment variable LT_MULTI_MODULE
8983 # non-empty at configure time, or by adding -multi_module to the
8985 rm -rf libconftest.dylib*
8986 echo "int foo(void){return 1;}" > conftest.c
8987 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8988 -dynamiclib -Wl,-single_module conftest.c" >&5
8989 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8990 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8992 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8993 lt_cv_apple_cc_single_mod=yes
8995 cat conftest.err >&5
8997 rm -rf libconftest.dylib*
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9002 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9004 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9005 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
9006 $as_echo_n "(cached) " >&6
9008 lt_cv_ld_exported_symbols_list=no
9009 save_LDFLAGS=$LDFLAGS
9010 echo "_main" > conftest.sym
9011 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9013 /* end confdefs.h. */
9023 if ac_fn_c_try_link "$LINENO"; then :
9024 lt_cv_ld_exported_symbols_list=yes
9026 lt_cv_ld_exported_symbols_list=no
9028 rm -f core conftest.err conftest.$ac_objext \
9029 conftest$ac_exeext conftest.$ac_ext
9030 LDFLAGS="$save_LDFLAGS"
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9034 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9036 rhapsody* | darwin1.[012])
9037 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9039 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9040 darwin*) # darwin 5.x on
9041 # if running on 10.5 or later, the deployment target defaults
9042 # to the OS version, if on x86, and 10.4, the deployment
9043 # target defaults to 10.4. Don't you love it?
9044 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9045 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9046 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9048 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9050 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9054 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9055 _lt_dar_single_mod='$single_module'
9057 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9058 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9060 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9062 if test "$DSYMUTIL" != ":"; then
9063 _lt_dsymutil='~$DSYMUTIL $lib || :'
9070 for ac_header in dlfcn.h
9072 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9074 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
9075 cat >>confdefs.h <<_ACEOF
9076 #define HAVE_DLFCN_H 1
9093 # Check whether --enable-shared was given.
9094 if test "${enable_shared+set}" = set; then :
9095 enableval=$enable_shared; p=${PACKAGE-default}
9097 yes) enable_shared=yes ;;
9098 no) enable_shared=no ;;
9101 # Look at the argument we got. We use all the common list separators.
9102 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9103 for pkg in $enableval; do
9105 if test "X$pkg" = "X$p"; then
9124 # Check whether --enable-static was given.
9125 if test "${enable_static+set}" = set; then :
9126 enableval=$enable_static; p=${PACKAGE-default}
9128 yes) enable_static=yes ;;
9129 no) enable_static=no ;;
9132 # Look at the argument we got. We use all the common list separators.
9133 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9134 for pkg in $enableval; do
9136 if test "X$pkg" = "X$p"; then
9156 # Check whether --with-pic was given.
9157 if test "${with_pic+set}" = set; then :
9158 withval=$with_pic; pic_mode="$withval"
9164 test -z "$pic_mode" && pic_mode=default
9172 # Check whether --enable-fast-install was given.
9173 if test "${enable_fast_install+set}" = set; then :
9174 enableval=$enable_fast_install; p=${PACKAGE-default}
9176 yes) enable_fast_install=yes ;;
9177 no) enable_fast_install=no ;;
9179 enable_fast_install=no
9180 # Look at the argument we got. We use all the common list separators.
9181 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9182 for pkg in $enableval; do
9184 if test "X$pkg" = "X$p"; then
9185 enable_fast_install=yes
9192 enable_fast_install=yes
9205 # This can be used to rebuild libtool when needed
9206 LIBTOOL_DEPS="$ltmain"
9208 # Always use our own libtool.
9209 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9235 test -z "$LN_S" && LN_S="ln -s"
9250 if test -n "${ZSH_VERSION+set}" ; then
9251 setopt NO_GLOB_SUBST
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9255 $as_echo_n "checking for objdir... " >&6; }
9256 if test "${lt_cv_objdir+set}" = set; then :
9257 $as_echo_n "(cached) " >&6
9259 rm -f .libs 2>/dev/null
9260 mkdir .libs 2>/dev/null
9261 if test -d .libs; then
9264 # MS-DOS does not allow filenames that begin with a dot.
9267 rmdir .libs 2>/dev/null
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9270 $as_echo "$lt_cv_objdir" >&6; }
9271 objdir=$lt_cv_objdir
9277 cat >>confdefs.h <<_ACEOF
9278 #define LT_OBJDIR "$lt_cv_objdir/"
9299 # AIX sometimes has problems with the GCC collect2 program. For some
9300 # reason, if we set the COLLECT_NAMES environment variable, the problems
9301 # vanish in a puff of smoke.
9302 if test "X${COLLECT_NAMES+set}" != Xset; then
9304 export COLLECT_NAMES
9309 # Sed substitution that helps us do robust quoting. It backslashifies
9310 # metacharacters that are still active within double-quoted strings.
9311 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
9313 # Same as above, but do not quote variable references.
9314 double_quote_subst='s/\(["`\\]\)/\\\1/g'
9316 # Sed substitution to delay expansion of an escaped shell variable in a
9317 # double_quote_subst'ed string.
9318 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9320 # Sed substitution to delay expansion of an escaped single quote.
9321 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
9323 # Sed substitution to avoid accidental globbing in evaled expressions
9324 no_glob_subst='s/\*/\\\*/g'
9328 can_build_shared=yes
9330 # All known linkers require a `.a' archive for static linking (except MSVC,
9331 # which needs '.lib').
9334 with_gnu_ld="$lt_cv_prog_gnu_ld"
9337 old_CFLAGS="$CFLAGS"
9339 # Set sane defaults for various variables
9340 test -z "$CC" && CC=cc
9341 test -z "$LTCC" && LTCC=$CC
9342 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9343 test -z "$LD" && LD=ld
9344 test -z "$ac_objext" && ac_objext=o
9346 for cc_temp in $compiler""; do
9348 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9349 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9354 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9357 # Only perform the check for file, if the check method requires it
9358 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9359 case $deplibs_check_method in
9361 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9363 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9364 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9365 $as_echo_n "(cached) " >&6
9369 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9372 lt_save_MAGIC_CMD="$MAGIC_CMD"
9373 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9374 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9375 for ac_dir in $ac_dummy; do
9377 test -z "$ac_dir" && ac_dir=.
9378 if test -f $ac_dir/${ac_tool_prefix}file; then
9379 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9380 if test -n "$file_magic_test_file"; then
9381 case $deplibs_check_method in
9383 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9384 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9385 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9386 $EGREP "$file_magic_regex" > /dev/null; then
9391 *** Warning: the command libtool uses to detect shared libraries,
9392 *** $file_magic_cmd, produces output that libtool cannot recognize.
9393 *** The result is that libtool may fail to recognize shared libraries
9394 *** as such. This will affect the creation of libtool libraries that
9395 *** depend on shared libraries, but programs linked with such libtool
9396 *** libraries will work regardless of this problem. Nevertheless, you
9397 *** may want to report the problem to your system manager and/or to
9398 *** bug-libtool@gnu.org
9408 MAGIC_CMD="$lt_save_MAGIC_CMD"
9413 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9414 if test -n "$MAGIC_CMD"; then
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9416 $as_echo "$MAGIC_CMD" >&6; }
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9419 $as_echo "no" >&6; }
9426 if test -z "$lt_cv_path_MAGIC_CMD"; then
9427 if test -n "$ac_tool_prefix"; then
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9429 $as_echo_n "checking for file... " >&6; }
9430 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9431 $as_echo_n "(cached) " >&6
9435 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9438 lt_save_MAGIC_CMD="$MAGIC_CMD"
9439 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9440 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9441 for ac_dir in $ac_dummy; do
9443 test -z "$ac_dir" && ac_dir=.
9444 if test -f $ac_dir/file; then
9445 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9446 if test -n "$file_magic_test_file"; then
9447 case $deplibs_check_method in
9449 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9450 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9451 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9452 $EGREP "$file_magic_regex" > /dev/null; then
9457 *** Warning: the command libtool uses to detect shared libraries,
9458 *** $file_magic_cmd, produces output that libtool cannot recognize.
9459 *** The result is that libtool may fail to recognize shared libraries
9460 *** as such. This will affect the creation of libtool libraries that
9461 *** depend on shared libraries, but programs linked with such libtool
9462 *** libraries will work regardless of this problem. Nevertheless, you
9463 *** may want to report the problem to your system manager and/or to
9464 *** bug-libtool@gnu.org
9474 MAGIC_CMD="$lt_save_MAGIC_CMD"
9479 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9480 if test -n "$MAGIC_CMD"; then
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9482 $as_echo "$MAGIC_CMD" >&6; }
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9485 $as_echo "no" >&6; }
9498 # Use C for the default configuration in the libtool script
9502 ac_cpp='$CPP $CPPFLAGS'
9503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9508 # Source file extension for C test sources.
9511 # Object file extension for compiled C test sources.
9515 # Code to be used in simple compile tests
9516 lt_simple_compile_test_code="int some_variable = 0;"
9518 # Code to be used in simple link tests
9519 lt_simple_link_test_code='int main(){return(0);}'
9527 # If no C compiler was specified, use CC.
9530 # If no C compiler flags were specified, use CFLAGS.
9531 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9533 # Allow CC to be a program name with arguments.
9536 # Save the default compiler, since it gets overwritten when the other
9537 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9538 compiler_DEFAULT=$CC
9540 # save warnings/boilerplate of simple test code
9541 ac_outfile=conftest.$ac_objext
9542 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9543 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9544 _lt_compiler_boilerplate=`cat conftest.err`
9547 ac_outfile=conftest.$ac_objext
9548 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9549 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9550 _lt_linker_boilerplate=`cat conftest.err`
9555 ## There is no encapsulation within the following macros, do not change
9556 ## the running order or otherwise move them around unless you know exactly
9557 ## what you are doing...
9558 if test -n "$compiler"; then
9560 lt_prog_compiler_no_builtin_flag=
9562 if test "$GCC" = yes; then
9563 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9566 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9567 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9568 $as_echo_n "(cached) " >&6
9570 lt_cv_prog_compiler_rtti_exceptions=no
9571 ac_outfile=conftest.$ac_objext
9572 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9573 lt_compiler_flag="-fno-rtti -fno-exceptions"
9574 # Insert the option either (1) after the last *FLAGS variable, or
9575 # (2) before a word containing "conftest.", or (3) at the end.
9576 # Note that $ac_compile itself does not contain backslashes and begins
9577 # with a dollar sign (not a hyphen), so the echo should work correctly.
9578 # The option is referenced via a variable to avoid confusing sed.
9579 lt_compile=`echo "$ac_compile" | $SED \
9580 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9581 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9582 -e 's:$: $lt_compiler_flag:'`
9583 (eval echo "\"\$as_me:9583: $lt_compile\"" >&5)
9584 (eval "$lt_compile" 2>conftest.err)
9586 cat conftest.err >&5
9587 echo "$as_me:9587: \$? = $ac_status" >&5
9588 if (exit $ac_status) && test -s "$ac_outfile"; then
9589 # The compiler can only warn and ignore the option if not recognized
9590 # So say no if there are warnings other than the usual output.
9591 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9592 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9593 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9594 lt_cv_prog_compiler_rtti_exceptions=yes
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9601 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9603 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9604 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9616 lt_prog_compiler_wl=
9617 lt_prog_compiler_pic=
9618 lt_prog_compiler_static=
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9621 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9623 if test "$GCC" = yes; then
9624 lt_prog_compiler_wl='-Wl,'
9625 lt_prog_compiler_static='-static'
9629 # All AIX code is PIC.
9630 if test "$host_cpu" = ia64; then
9631 # AIX 5 now supports IA64 processor
9632 lt_prog_compiler_static='-Bstatic'
9639 # see comment about AmigaOS4 .so support
9640 lt_prog_compiler_pic='-fPIC'
9643 # FIXME: we need at least 68020 code to build shared libraries, but
9644 # adding the `-m68020' flag to GCC prevents building anything better,
9646 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9651 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9652 # PIC is the default for these OSes.
9655 mingw* | cygwin* | pw32* | os2* | cegcc*)
9656 # This hack is so that the source file can tell whether it is being
9657 # built for inclusion in a dll (and should export symbols for example).
9658 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9659 # (--disable-auto-import) libraries
9660 lt_prog_compiler_pic='-DDLL_EXPORT'
9663 darwin* | rhapsody*)
9664 # PIC is the default on this platform
9665 # Common symbols not allowed in MH_DYLIB files
9666 lt_prog_compiler_pic='-fno-common'
9670 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9671 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9672 # sets the default TLS model and affects inlining.
9678 lt_prog_compiler_pic='-fPIC'
9684 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9685 # Instead, we relocate shared libraries at runtime.
9689 # Just because we use GCC doesn't mean we suddenly get shared libraries
9690 # on systems that don't support them.
9691 lt_prog_compiler_can_build_shared=no
9696 # QNX uses GNU C++, but need to define -shared option too, otherwise
9698 lt_prog_compiler_pic='-fPIC -shared'
9702 if test -d /usr/nec; then
9703 lt_prog_compiler_pic=-Kconform_pic
9708 lt_prog_compiler_pic='-fPIC'
9712 # PORTME Check for flag to pass linker flags through the system compiler.
9715 lt_prog_compiler_wl='-Wl,'
9716 if test "$host_cpu" = ia64; then
9717 # AIX 5 now supports IA64 processor
9718 lt_prog_compiler_static='-Bstatic'
9720 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9724 mingw* | cygwin* | pw32* | os2* | cegcc*)
9725 # This hack is so that the source file can tell whether it is being
9726 # built for inclusion in a dll (and should export symbols for example).
9727 lt_prog_compiler_pic='-DDLL_EXPORT'
9730 hpux9* | hpux10* | hpux11*)
9731 lt_prog_compiler_wl='-Wl,'
9732 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9739 lt_prog_compiler_pic='+Z'
9742 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9743 lt_prog_compiler_static='${wl}-a ${wl}archive'
9746 irix5* | irix6* | nonstopux*)
9747 lt_prog_compiler_wl='-Wl,'
9748 # PIC (with -KPIC) is the default.
9749 lt_prog_compiler_static='-non_shared'
9752 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9753 case $cc_basename in
9754 # old Intel for x86_64 which still supported -KPIC.
9756 lt_prog_compiler_wl='-Wl,'
9757 lt_prog_compiler_pic='-KPIC'
9758 lt_prog_compiler_static='-static'
9760 # icc used to be incompatible with GCC.
9761 # ICC 10 doesn't accept -KPIC any more.
9763 lt_prog_compiler_wl='-Wl,'
9764 lt_prog_compiler_pic='-fPIC'
9765 lt_prog_compiler_static='-static'
9767 # Lahey Fortran 8.1.
9769 lt_prog_compiler_wl='-Wl,'
9770 lt_prog_compiler_pic='--shared'
9771 lt_prog_compiler_static='--static'
9773 pgcc* | pgf77* | pgf90* | pgf95*)
9774 # Portland Group compilers (*not* the Pentium gcc compiler,
9775 # which looks to be a dead project)
9776 lt_prog_compiler_wl='-Wl,'
9777 lt_prog_compiler_pic='-fpic'
9778 lt_prog_compiler_static='-Bstatic'
9781 lt_prog_compiler_wl='-Wl,'
9782 # All Alpha code is PIC.
9783 lt_prog_compiler_static='-non_shared'
9786 # IBM XL C 8.0/Fortran 10.1 on PPC
9787 lt_prog_compiler_wl='-Wl,'
9788 lt_prog_compiler_pic='-qpic'
9789 lt_prog_compiler_static='-qstaticlink'
9792 case `$CC -V 2>&1 | sed 5q` in
9795 lt_prog_compiler_pic='-KPIC'
9796 lt_prog_compiler_static='-Bstatic'
9797 lt_prog_compiler_wl='-Wl,'
9800 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9801 lt_prog_compiler_pic='-KPIC'
9802 lt_prog_compiler_static='-Bstatic'
9803 lt_prog_compiler_wl=''
9811 lt_prog_compiler_pic='-KPIC'
9812 lt_prog_compiler_static='-Bstatic'
9816 # QNX uses GNU C++, but need to define -shared option too, otherwise
9818 lt_prog_compiler_pic='-fPIC -shared'
9821 osf3* | osf4* | osf5*)
9822 lt_prog_compiler_wl='-Wl,'
9823 # All OSF/1 code is PIC.
9824 lt_prog_compiler_static='-non_shared'
9828 lt_prog_compiler_static='-non_shared'
9832 lt_prog_compiler_pic='-KPIC'
9833 lt_prog_compiler_static='-Bstatic'
9834 case $cc_basename in
9836 lt_prog_compiler_wl='-Qoption ld ';;
9838 lt_prog_compiler_wl='-Wl,';;
9843 lt_prog_compiler_wl='-Qoption ld '
9844 lt_prog_compiler_pic='-PIC'
9845 lt_prog_compiler_static='-Bstatic'
9848 sysv4 | sysv4.2uw2* | sysv4.3*)
9849 lt_prog_compiler_wl='-Wl,'
9850 lt_prog_compiler_pic='-KPIC'
9851 lt_prog_compiler_static='-Bstatic'
9855 if test -d /usr/nec ;then
9856 lt_prog_compiler_pic='-Kconform_pic'
9857 lt_prog_compiler_static='-Bstatic'
9861 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9862 lt_prog_compiler_wl='-Wl,'
9863 lt_prog_compiler_pic='-KPIC'
9864 lt_prog_compiler_static='-Bstatic'
9868 lt_prog_compiler_wl='-Wl,'
9869 lt_prog_compiler_can_build_shared=no
9873 lt_prog_compiler_pic='-pic'
9874 lt_prog_compiler_static='-Bstatic'
9878 lt_prog_compiler_can_build_shared=no
9884 # For platforms which do not support PIC, -DPIC is meaningless:
9886 lt_prog_compiler_pic=
9889 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9893 $as_echo "$lt_prog_compiler_pic" >&6; }
9901 # Check to make sure the PIC flag actually works.
9903 if test -n "$lt_prog_compiler_pic"; then
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9905 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9906 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9907 $as_echo_n "(cached) " >&6
9909 lt_cv_prog_compiler_pic_works=no
9910 ac_outfile=conftest.$ac_objext
9911 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9912 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9913 # Insert the option either (1) after the last *FLAGS variable, or
9914 # (2) before a word containing "conftest.", or (3) at the end.
9915 # Note that $ac_compile itself does not contain backslashes and begins
9916 # with a dollar sign (not a hyphen), so the echo should work correctly.
9917 # The option is referenced via a variable to avoid confusing sed.
9918 lt_compile=`echo "$ac_compile" | $SED \
9919 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9920 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9921 -e 's:$: $lt_compiler_flag:'`
9922 (eval echo "\"\$as_me:9922: $lt_compile\"" >&5)
9923 (eval "$lt_compile" 2>conftest.err)
9925 cat conftest.err >&5
9926 echo "$as_me:9926: \$? = $ac_status" >&5
9927 if (exit $ac_status) && test -s "$ac_outfile"; then
9928 # The compiler can only warn and ignore the option if not recognized
9929 # So say no if there are warnings other than the usual output.
9930 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9931 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9932 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9933 lt_cv_prog_compiler_pic_works=yes
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9940 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9942 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9943 case $lt_prog_compiler_pic in
9945 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9948 lt_prog_compiler_pic=
9949 lt_prog_compiler_can_build_shared=no
9960 # Check to make sure the static flag actually works.
9962 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9964 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9965 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9966 $as_echo_n "(cached) " >&6
9968 lt_cv_prog_compiler_static_works=no
9969 save_LDFLAGS="$LDFLAGS"
9970 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9971 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9972 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9973 # The linker can only warn and ignore the option if not recognized
9974 # So say no if there are warnings
9975 if test -s conftest.err; then
9976 # Append any errors to the config.log.
9977 cat conftest.err 1>&5
9978 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9979 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9980 if diff conftest.exp conftest.er2 >/dev/null; then
9981 lt_cv_prog_compiler_static_works=yes
9984 lt_cv_prog_compiler_static_works=yes
9988 LDFLAGS="$save_LDFLAGS"
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9992 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9994 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9997 lt_prog_compiler_static=
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10007 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10008 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10009 $as_echo_n "(cached) " >&6
10011 lt_cv_prog_compiler_c_o=no
10012 $RM -r conftest 2>/dev/null
10016 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10018 lt_compiler_flag="-o out/conftest2.$ac_objext"
10019 # Insert the option either (1) after the last *FLAGS variable, or
10020 # (2) before a word containing "conftest.", or (3) at the end.
10021 # Note that $ac_compile itself does not contain backslashes and begins
10022 # with a dollar sign (not a hyphen), so the echo should work correctly.
10023 lt_compile=`echo "$ac_compile" | $SED \
10024 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10025 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10026 -e 's:$: $lt_compiler_flag:'`
10027 (eval echo "\"\$as_me:10027: $lt_compile\"" >&5)
10028 (eval "$lt_compile" 2>out/conftest.err)
10030 cat out/conftest.err >&5
10031 echo "$as_me:10031: \$? = $ac_status" >&5
10032 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10034 # The compiler can only warn and ignore the option if not recognized
10035 # So say no if there are warnings
10036 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10037 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10038 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10039 lt_cv_prog_compiler_c_o=yes
10044 # SGI C++ compiler will create directory out/ii_files/ for
10045 # template instantiation
10046 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10047 $RM out/* && rmdir out
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10054 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10062 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10063 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10064 $as_echo_n "(cached) " >&6
10066 lt_cv_prog_compiler_c_o=no
10067 $RM -r conftest 2>/dev/null
10071 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10073 lt_compiler_flag="-o out/conftest2.$ac_objext"
10074 # Insert the option either (1) after the last *FLAGS variable, or
10075 # (2) before a word containing "conftest.", or (3) at the end.
10076 # Note that $ac_compile itself does not contain backslashes and begins
10077 # with a dollar sign (not a hyphen), so the echo should work correctly.
10078 lt_compile=`echo "$ac_compile" | $SED \
10079 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10080 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10081 -e 's:$: $lt_compiler_flag:'`
10082 (eval echo "\"\$as_me:10082: $lt_compile\"" >&5)
10083 (eval "$lt_compile" 2>out/conftest.err)
10085 cat out/conftest.err >&5
10086 echo "$as_me:10086: \$? = $ac_status" >&5
10087 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10089 # The compiler can only warn and ignore the option if not recognized
10090 # So say no if there are warnings
10091 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10092 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10093 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10094 lt_cv_prog_compiler_c_o=yes
10099 # SGI C++ compiler will create directory out/ii_files/ for
10100 # template instantiation
10101 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10102 $RM out/* && rmdir out
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10109 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10114 hard_links="nottested"
10115 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10116 # do not overwrite the value of need_locks provided by the user
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10118 $as_echo_n "checking if we can lock with hard links... " >&6; }
10121 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10123 ln conftest.a conftest.b 2>&5 || hard_links=no
10124 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10126 $as_echo "$hard_links" >&6; }
10127 if test "$hard_links" = no; then
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10129 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10142 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10145 allow_undefined_flag=
10146 always_export_symbols=no
10148 archive_expsym_cmds=
10149 compiler_needs_object=no
10150 enable_shared_with_static_runtimes=no
10151 export_dynamic_flag_spec=
10152 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10153 hardcode_automatic=no
10155 hardcode_direct_absolute=no
10156 hardcode_libdir_flag_spec=
10157 hardcode_libdir_flag_spec_ld=
10158 hardcode_libdir_separator=
10159 hardcode_minus_L=no
10160 hardcode_shlibpath_var=unsupported
10162 link_all_deplibs=unknown
10164 module_expsym_cmds=
10165 old_archive_from_new_cmds=
10166 old_archive_from_expsyms_cmds=
10167 thread_safe_flag_spec=
10168 whole_archive_flag_spec=
10169 # include_expsyms should be a list of space-separated symbols to be *always*
10170 # included in the symbol list
10172 # exclude_expsyms can be an extended regexp of symbols to exclude
10173 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10174 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10175 # as well as any symbol that contains `d'.
10176 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10177 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10178 # platforms (ab)use it in PIC code, but their linkers get confused if
10179 # the symbol is explicitly referenced. Since portable code cannot
10180 # rely on this symbol name, it's probably fine to never include it in
10181 # preloaded symbol tables.
10182 # Exclude shared library initialization/finalization symbols.
10183 extract_expsyms_cmds=
10186 cygwin* | mingw* | pw32* | cegcc*)
10187 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10188 # When not using gcc, we currently assume that we are using
10189 # Microsoft Visual C++.
10190 if test "$GCC" != yes; then
10195 # we just hope/assume this is gcc and not c89 (= MSVC++)
10201 linux* | k*bsd*-gnu)
10202 link_all_deplibs=no
10207 if test "$with_gnu_ld" = yes; then
10208 # If archive_cmds runs LD, not CC, wlarc should be empty
10211 # Set some defaults for GNU ld with shared library support. These
10212 # are reset later if shared libraries are not supported. Putting them
10213 # here allows them to be overridden if necessary.
10214 runpath_var=LD_RUN_PATH
10215 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10216 export_dynamic_flag_spec='${wl}--export-dynamic'
10217 # ancient GNU ld didn't support --whole-archive et. al.
10218 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10219 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10221 whole_archive_flag_spec=
10223 supports_anon_versioning=no
10224 case `$LD -v 2>&1` in
10225 *GNU\ gold*) supports_anon_versioning=yes ;;
10226 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10227 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10228 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10229 *\ 2.11.*) ;; # other 2.11 versions
10230 *) supports_anon_versioning=yes ;;
10233 # See if GNU ld supports shared libraries.
10236 # On AIX/PPC, the GNU linker is very broken
10237 if test "$host_cpu" != ia64; then
10241 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
10242 *** to be unable to reliably create shared libraries on AIX.
10243 *** Therefore, libtool is disabling shared libraries support. If you
10244 *** really care for shared libraries, you may want to modify your PATH
10245 *** so that a non-GNU linker is found, and then restart.
10254 # see comment about AmigaOS4 .so support
10255 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10256 archive_expsym_cmds=''
10259 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)'
10260 hardcode_libdir_flag_spec='-L$libdir'
10261 hardcode_minus_L=yes
10267 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10268 allow_undefined_flag=unsupported
10269 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10270 # support --undefined. This deserves some investigation. FIXME
10271 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10277 cygwin* | mingw* | pw32* | cegcc*)
10278 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10279 # as there is no search path for DLLs.
10280 hardcode_libdir_flag_spec='-L$libdir'
10281 allow_undefined_flag=unsupported
10282 always_export_symbols=no
10283 enable_shared_with_static_runtimes=yes
10284 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10286 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10287 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10288 # If the export-symbols file already is a .def file (1st line
10289 # is EXPORTS), use it as is; otherwise, prepend...
10290 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10291 cp $export_symbols $output_objdir/$soname.def;
10293 echo EXPORTS > $output_objdir/$soname.def;
10294 cat $export_symbols >> $output_objdir/$soname.def;
10296 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10304 hardcode_shlibpath_var=no
10305 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10306 export_dynamic_flag_spec='${wl}-E'
10307 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10308 # Instead, shared libraries are loaded at an image base (0x10000000 by
10309 # default) and relocated if they conflict, which is a slow very memory
10310 # consuming and fragmenting process. To avoid this, we pick a random,
10311 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10312 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10313 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10314 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'
10317 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10319 if test "$host_os" = linux-dietlibc; then
10320 case $cc_basename in
10321 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10324 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10325 && test "$tmp_diet" = no
10328 tmp_sharedflag='-shared'
10329 case $cc_basename,$host_cpu in
10330 pgcc*) # Portland Group C compiler
10331 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10332 tmp_addflag=' $pic_flag'
10334 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
10335 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10336 tmp_addflag=' $pic_flag -Mnomain' ;;
10337 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10338 tmp_addflag=' -i_dynamic' ;;
10339 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10340 tmp_addflag=' -i_dynamic -nofor_main' ;;
10341 ifc* | ifort*) # Intel Fortran compiler
10342 tmp_addflag=' -nofor_main' ;;
10343 lf95*) # Lahey Fortran 8.1
10344 whole_archive_flag_spec=
10345 tmp_sharedflag='--shared' ;;
10346 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10347 tmp_sharedflag='-qmkshrobj'
10350 case `$CC -V 2>&1 | sed 5q` in
10351 *Sun\ C*) # Sun C 5.9
10352 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10353 compiler_needs_object=yes
10354 tmp_sharedflag='-G' ;;
10355 *Sun\ F*) # Sun Fortran 8.3
10356 tmp_sharedflag='-G' ;;
10358 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10360 if test "x$supports_anon_versioning" = xyes; then
10361 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10362 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10363 echo "local: *; };" >> $output_objdir/$libname.ver~
10364 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10367 case $cc_basename in
10369 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10370 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10371 hardcode_libdir_flag_spec=
10372 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10373 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10374 if test "x$supports_anon_versioning" = xyes; then
10375 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10376 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10377 echo "local: *; };" >> $output_objdir/$libname.ver~
10378 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10387 netbsd* | netbsdelf*-gnu)
10388 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10389 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10392 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10393 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10398 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10402 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10403 *** create shared libraries on Solaris systems. Therefore, libtool
10404 *** is disabling shared libraries support. We urge you to upgrade GNU
10405 *** binutils to release 2.9.1 or newer. Another option is to modify
10406 *** your PATH or compiler configuration so that the native linker is
10407 *** used, and then restart.
10410 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10411 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10412 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10418 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10419 case `$LD -v 2>&1` in
10420 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10424 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10425 *** reliably create shared libraries on SCO systems. Therefore, libtool
10426 *** is disabling shared libraries support. We urge you to upgrade GNU
10427 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10428 *** your PATH or compiler configuration so that the native linker is
10429 *** used, and then restart.
10434 # For security reasons, it is highly recommended that you always
10435 # use absolute paths for naming shared libraries, and exclude the
10436 # DT_RUNPATH tag from executables and libraries. But doing so
10437 # requires that you compile everything twice, which is a pain.
10438 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10439 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10440 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10441 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10450 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10452 hardcode_direct=yes
10453 hardcode_shlibpath_var=no
10457 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10458 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10459 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10466 if test "$ld_shlibs" = no; then
10468 hardcode_libdir_flag_spec=
10469 export_dynamic_flag_spec=
10470 whole_archive_flag_spec=
10473 # PORTME fill in a description of your system's linker (not GNU ld)
10476 allow_undefined_flag=unsupported
10477 always_export_symbols=yes
10478 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'
10479 # Note: this linker hardcodes the directories in LIBPATH if there
10480 # are no directories specified by -L.
10481 hardcode_minus_L=yes
10482 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10483 # Neither direct hardcoding nor static linking is supported with a
10485 hardcode_direct=unsupported
10490 if test "$host_cpu" = ia64; then
10491 # On IA64, the linker does run time linking by default, so we don't
10492 # have to do anything special.
10493 aix_use_runtimelinking=no
10494 exp_sym_flag='-Bexport'
10497 # If we're using GNU nm, then we don't want the "-C" option.
10498 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10499 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10500 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10502 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'
10504 aix_use_runtimelinking=no
10506 # Test if we are trying to use run time linking or normal
10507 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10508 # need to do runtime linking.
10509 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10510 for ld_flag in $LDFLAGS; do
10511 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10512 aix_use_runtimelinking=yes
10519 exp_sym_flag='-bexport'
10520 no_entry_flag='-bnoentry'
10523 # When large executables or shared objects are built, AIX ld can
10524 # have problems creating the table of contents. If linking a library
10525 # or program results in "error TOC overflow" add -mminimal-toc to
10526 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10527 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10530 hardcode_direct=yes
10531 hardcode_direct_absolute=yes
10532 hardcode_libdir_separator=':'
10533 link_all_deplibs=yes
10534 file_list_spec='${wl}-f,'
10536 if test "$GCC" = yes; then
10537 case $host_os in aix4.[012]|aix4.[012].*)
10538 # We only want to do this on AIX 4.2 and lower, the check
10539 # below for broken collect2 doesn't work under 4.3+
10540 collect2name=`${CC} -print-prog-name=collect2`
10541 if test -f "$collect2name" &&
10542 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10544 # We have reworked collect2
10547 # We have old collect2
10548 hardcode_direct=unsupported
10549 # It fails to find uninstalled libraries when the uninstalled
10550 # path is not listed in the libpath. Setting hardcode_minus_L
10551 # to unsupported forces relinking
10552 hardcode_minus_L=yes
10553 hardcode_libdir_flag_spec='-L$libdir'
10554 hardcode_libdir_separator=
10558 shared_flag='-shared'
10559 if test "$aix_use_runtimelinking" = yes; then
10560 shared_flag="$shared_flag "'${wl}-G'
10562 link_all_deplibs=no
10565 if test "$host_cpu" = ia64; then
10566 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10567 # chokes on -Wl,-G. The following line is correct:
10570 if test "$aix_use_runtimelinking" = yes; then
10571 shared_flag='${wl}-G'
10573 shared_flag='${wl}-bM:SRE'
10578 export_dynamic_flag_spec='${wl}-bexpall'
10579 # It seems that -bexpall does not export symbols beginning with
10580 # underscore (_), so it is better to generate a list of symbols to export.
10581 always_export_symbols=yes
10582 if test "$aix_use_runtimelinking" = yes; then
10583 # Warning - without using the other runtime loading flags (-brtl),
10584 # -berok will link without error, but may produce a broken library.
10585 allow_undefined_flag='-berok'
10586 # Determine the default libpath from the value encoded in an
10587 # empty executable.
10588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10589 /* end confdefs.h. */
10599 if ac_fn_c_try_link "$LINENO"; then :
10601 lt_aix_libpath_sed='
10602 /Import File Strings/,/^$/ {
10608 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10609 # Check for a 64-bit object if we didn't find anything.
10610 if test -z "$aix_libpath"; then
10611 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10614 rm -f core conftest.err conftest.$ac_objext \
10615 conftest$ac_exeext conftest.$ac_ext
10616 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10618 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10619 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10621 if test "$host_cpu" = ia64; then
10622 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10623 allow_undefined_flag="-z nodefs"
10624 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"
10626 # Determine the default libpath from the value encoded in an
10627 # empty executable.
10628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10629 /* end confdefs.h. */
10639 if ac_fn_c_try_link "$LINENO"; then :
10641 lt_aix_libpath_sed='
10642 /Import File Strings/,/^$/ {
10648 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10649 # Check for a 64-bit object if we didn't find anything.
10650 if test -z "$aix_libpath"; then
10651 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10654 rm -f core conftest.err conftest.$ac_objext \
10655 conftest$ac_exeext conftest.$ac_ext
10656 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10658 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10659 # Warning - without using the other run time loading flags,
10660 # -berok will link without error, but may produce a broken library.
10661 no_undefined_flag=' ${wl}-bernotok'
10662 allow_undefined_flag=' ${wl}-berok'
10663 # Exported symbols can be pulled into shared objects from archives
10664 whole_archive_flag_spec='$convenience'
10665 archive_cmds_need_lc=yes
10666 # This is similar to how AIX traditionally builds its shared libraries.
10667 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'
10675 # see comment about AmigaOS4 .so support
10676 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10677 archive_expsym_cmds=''
10680 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)'
10681 hardcode_libdir_flag_spec='-L$libdir'
10682 hardcode_minus_L=yes
10688 export_dynamic_flag_spec=-rdynamic
10691 cygwin* | mingw* | pw32* | cegcc*)
10692 # When not using gcc, we currently assume that we are using
10693 # Microsoft Visual C++.
10694 # hardcode_libdir_flag_spec is actually meaningless, as there is
10695 # no search path for DLLs.
10696 hardcode_libdir_flag_spec=' '
10697 allow_undefined_flag=unsupported
10698 # Tell ltmain to make .lib files, not .a files.
10700 # Tell ltmain to make .dll files, not .so files.
10702 # FIXME: Setting linknames here is a bad hack.
10703 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10704 # The linker will automatically build a .lib file if we build a DLL.
10705 old_archive_from_new_cmds='true'
10706 # FIXME: Should let the user specify the lib program.
10707 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10708 fix_srcfile_path='`cygpath -w "$srcfile"`'
10709 enable_shared_with_static_runtimes=yes
10712 darwin* | rhapsody*)
10715 archive_cmds_need_lc=no
10717 hardcode_automatic=yes
10718 hardcode_shlibpath_var=unsupported
10719 whole_archive_flag_spec=''
10720 link_all_deplibs=yes
10721 allow_undefined_flag="$_lt_dar_allow_undefined"
10722 case $cc_basename in
10723 ifort*) _lt_dar_can_shared=yes ;;
10724 *) _lt_dar_can_shared=$GCC ;;
10726 if test "$_lt_dar_can_shared" = "yes"; then
10727 output_verbose_link_cmd=echo
10728 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10729 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10730 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}"
10731 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}"
10740 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10741 hardcode_libdir_flag_spec='-L$libdir'
10742 hardcode_shlibpath_var=no
10749 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10750 # support. Future versions do this automatically, but an explicit c++rt0.o
10751 # does not break anything, and helps significantly (at the cost of a little
10754 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10755 hardcode_libdir_flag_spec='-R$libdir'
10756 hardcode_direct=yes
10757 hardcode_shlibpath_var=no
10760 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10762 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10763 hardcode_direct=yes
10764 hardcode_minus_L=yes
10765 hardcode_shlibpath_var=no
10768 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10769 freebsd* | dragonfly*)
10770 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10771 hardcode_libdir_flag_spec='-R$libdir'
10772 hardcode_direct=yes
10773 hardcode_shlibpath_var=no
10777 if test "$GCC" = yes; then
10778 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10780 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'
10782 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10783 hardcode_libdir_separator=:
10784 hardcode_direct=yes
10786 # hardcode_minus_L: Not really in the search PATH,
10787 # but as the default location of the library.
10788 hardcode_minus_L=yes
10789 export_dynamic_flag_spec='${wl}-E'
10793 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10794 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10796 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10798 if test "$with_gnu_ld" = no; then
10799 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10800 hardcode_libdir_flag_spec_ld='+b $libdir'
10801 hardcode_libdir_separator=:
10802 hardcode_direct=yes
10803 hardcode_direct_absolute=yes
10804 export_dynamic_flag_spec='${wl}-E'
10805 # hardcode_minus_L: Not really in the search PATH,
10806 # but as the default location of the library.
10807 hardcode_minus_L=yes
10812 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10815 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10818 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10821 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10827 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10830 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10833 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10837 if test "$with_gnu_ld" = no; then
10838 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10839 hardcode_libdir_separator=:
10844 hardcode_shlibpath_var=no
10847 hardcode_direct=yes
10848 hardcode_direct_absolute=yes
10849 export_dynamic_flag_spec='${wl}-E'
10851 # hardcode_minus_L: Not really in the search PATH,
10852 # but as the default location of the library.
10853 hardcode_minus_L=yes
10859 irix5* | irix6* | nonstopux*)
10860 if test "$GCC" = yes; then
10861 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10862 # Try to use the -exported_symbol ld option, if it does not
10863 # work, assume that -exports_file does not work either and
10864 # implicitly export all symbols.
10865 save_LDFLAGS="$LDFLAGS"
10866 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h. */
10871 if ac_fn_c_try_link "$LINENO"; then :
10872 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10875 rm -f core conftest.err conftest.$ac_objext \
10876 conftest$ac_exeext conftest.$ac_ext
10877 LDFLAGS="$save_LDFLAGS"
10879 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10880 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10882 archive_cmds_need_lc='no'
10883 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10884 hardcode_libdir_separator=:
10886 link_all_deplibs=yes
10889 netbsd* | netbsdelf*-gnu)
10890 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10891 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10893 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10895 hardcode_libdir_flag_spec='-R$libdir'
10896 hardcode_direct=yes
10897 hardcode_shlibpath_var=no
10901 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10902 hardcode_direct=yes
10903 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10904 hardcode_libdir_separator=:
10905 hardcode_shlibpath_var=no
10912 if test -f /usr/libexec/ld.so; then
10913 hardcode_direct=yes
10914 hardcode_shlibpath_var=no
10915 hardcode_direct_absolute=yes
10916 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10917 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10918 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10919 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10920 export_dynamic_flag_spec='${wl}-E'
10923 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10924 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10925 hardcode_libdir_flag_spec='-R$libdir'
10928 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10929 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10939 hardcode_libdir_flag_spec='-L$libdir'
10940 hardcode_minus_L=yes
10941 allow_undefined_flag=unsupported
10942 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'
10943 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10947 if test "$GCC" = yes; then
10948 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10949 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10951 allow_undefined_flag=' -expect_unresolved \*'
10952 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10954 archive_cmds_need_lc='no'
10955 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10956 hardcode_libdir_separator=:
10959 osf4* | osf5*) # as osf3* with the addition of -msym flag
10960 if test "$GCC" = yes; then
10961 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10962 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10963 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10965 allow_undefined_flag=' -expect_unresolved \*'
10966 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10967 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~
10968 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10970 # Both c and cxx compiler support -rpath directly
10971 hardcode_libdir_flag_spec='-rpath $libdir'
10973 archive_cmds_need_lc='no'
10974 hardcode_libdir_separator=:
10978 no_undefined_flag=' -z defs'
10979 if test "$GCC" = yes; then
10981 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10982 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10983 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10985 case `$CC -V 2>&1` in
10988 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10989 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10990 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10994 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10995 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10996 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11000 hardcode_libdir_flag_spec='-R$libdir'
11001 hardcode_shlibpath_var=no
11003 solaris2.[0-5] | solaris2.[0-5].*) ;;
11005 # The compiler driver will combine and reorder linker options,
11006 # but understands `-z linker_flag'. GCC discards it without `$wl',
11007 # but is careful enough not to reorder.
11008 # Supported since Solaris 2.6 (maybe 2.5.1?)
11009 if test "$GCC" = yes; then
11010 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11012 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11016 link_all_deplibs=yes
11020 if test "x$host_vendor" = xsequent; then
11021 # Use $CC to link under sequent, because it throws in some extra .o
11022 # files that make .init and .fini sections work.
11023 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11025 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11027 hardcode_libdir_flag_spec='-L$libdir'
11028 hardcode_direct=yes
11029 hardcode_minus_L=yes
11030 hardcode_shlibpath_var=no
11034 case $host_vendor in
11036 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11037 hardcode_direct=yes # is this really true???
11040 ## LD is ld it makes a PLAMLIB
11041 ## CC just makes a GrossModule.
11042 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11043 reload_cmds='$CC -r -o $output$reload_objs'
11047 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11048 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11051 runpath_var='LD_RUN_PATH'
11052 hardcode_shlibpath_var=no
11056 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11057 hardcode_shlibpath_var=no
11058 export_dynamic_flag_spec='-Bexport'
11062 if test -d /usr/nec; then
11063 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11064 hardcode_shlibpath_var=no
11065 runpath_var=LD_RUN_PATH
11066 hardcode_runpath_var=yes
11071 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11072 no_undefined_flag='${wl}-z,text'
11073 archive_cmds_need_lc=no
11074 hardcode_shlibpath_var=no
11075 runpath_var='LD_RUN_PATH'
11077 if test "$GCC" = yes; then
11078 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11079 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11081 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11082 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11086 sysv5* | sco3.2v5* | sco5v6*)
11087 # Note: We can NOT use -z defs as we might desire, because we do not
11088 # link with -lc, and that would cause any symbols used from libc to
11089 # always be unresolved, which means just about no library would
11090 # ever link correctly. If we're not using GNU ld we use -z text
11091 # though, which does catch some bad symbols but isn't as heavy-handed
11093 no_undefined_flag='${wl}-z,text'
11094 allow_undefined_flag='${wl}-z,nodefs'
11095 archive_cmds_need_lc=no
11096 hardcode_shlibpath_var=no
11097 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11098 hardcode_libdir_separator=':'
11099 link_all_deplibs=yes
11100 export_dynamic_flag_spec='${wl}-Bexport'
11101 runpath_var='LD_RUN_PATH'
11103 if test "$GCC" = yes; then
11104 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11105 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11107 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11108 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11113 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11114 hardcode_libdir_flag_spec='-L$libdir'
11115 hardcode_shlibpath_var=no
11123 if test x$host_vendor = xsni; then
11125 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11126 export_dynamic_flag_spec='${wl}-Blargedynsym'
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11133 $as_echo "$ld_shlibs" >&6; }
11134 test "$ld_shlibs" = no && can_build_shared=no
11136 with_gnu_ld=$with_gnu_ld
11153 # Do we need to explicitly link libc?
11155 case "x$archive_cmds_need_lc" in
11157 # Assume -lc should be added
11158 archive_cmds_need_lc=yes
11160 if test "$enable_shared" = yes && test "$GCC" = yes; then
11161 case $archive_cmds in
11163 # FIXME: we may have to deal with multi-command sequences.
11166 # Test whether the compiler implicitly links with -lc since on some
11167 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11168 # to ld, don't add -lc before -lgcc.
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11170 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11172 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11174 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11175 (eval $ac_compile) 2>&5
11177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11178 test $ac_status = 0; } 2>conftest.err; then
11181 libobjs=conftest.$ac_objext
11183 wl=$lt_prog_compiler_wl
11184 pic_flag=$lt_prog_compiler_pic
11190 lt_save_allow_undefined_flag=$allow_undefined_flag
11191 allow_undefined_flag=
11192 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11193 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11196 test $ac_status = 0; }
11198 archive_cmds_need_lc=no
11200 archive_cmds_need_lc=yes
11202 allow_undefined_flag=$lt_save_allow_undefined_flag
11204 cat conftest.err 1>&5
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
11208 $as_echo "$archive_cmds_need_lc" >&6; }
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11372 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11374 if test "$GCC" = yes; then
11376 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11377 *) lt_awk_arg="/^libraries:/" ;;
11379 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11380 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
11381 # if the path contains ";" then we assume it to be the separator
11382 # otherwise default to the standard path separator (i.e. ":") - it is
11383 # assumed that no part of a normal pathname contains ";" but that should
11384 # okay in the real world where ";" in dirpaths is itself problematic.
11385 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11387 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11389 # Ok, now we have the path, separated by spaces, we can step through it
11390 # and add multilib dir if necessary.
11391 lt_tmp_lt_search_path_spec=
11392 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11393 for lt_sys_path in $lt_search_path_spec; do
11394 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11395 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11397 test -d "$lt_sys_path" && \
11398 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11401 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11402 BEGIN {RS=" "; FS="/|\n";} {
11405 for (lt_i = NF; lt_i > 0; lt_i--) {
11406 if ($lt_i != "" && $lt_i != ".") {
11407 if ($lt_i == "..") {
11410 if (lt_count == 0) {
11411 lt_foo="/" $lt_i lt_foo;
11418 if (lt_foo != "") { lt_freq[lt_foo]++; }
11419 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11421 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
11423 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11425 library_names_spec=
11426 libname_spec='lib$name'
11430 postuninstall_cmds=
11434 shlibpath_overrides_runpath=unknown
11436 dynamic_linker="$host_os ld.so"
11437 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11438 need_lib_prefix=unknown
11439 hardcode_into_libs=no
11441 # when you set need_version to no, make sure it does not cause -set_version
11442 # flags to be left without arguments
11443 need_version=unknown
11448 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11449 shlibpath_var=LIBPATH
11451 # AIX 3 has no versioning support, so we append a major version to the name.
11452 soname_spec='${libname}${release}${shared_ext}$major'
11459 hardcode_into_libs=yes
11460 if test "$host_cpu" = ia64; then
11461 # AIX 5 supports IA64
11462 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11463 shlibpath_var=LD_LIBRARY_PATH
11465 # With GCC up to 2.95.x, collect2 would create an import file
11466 # for dependence libraries. The import file would start with
11467 # the line `#! .'. This would cause the generated library to
11468 # depend on `.', always an invalid library. This was fixed in
11469 # development snapshots of GCC prior to 3.0.
11471 aix4 | aix4.[01] | aix4.[01].*)
11472 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11474 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11477 can_build_shared=no
11481 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11482 # soname into executable. Probably we can add versioning support to
11483 # collect2, so additional links can be useful in future.
11484 if test "$aix_use_runtimelinking" = yes; then
11485 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11486 # instead of lib<name>.a to let people know that these are not
11487 # typical AIX shared libraries.
11488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11490 # We preserve .a as extension for shared libraries through AIX4.2
11491 # and later when we are not doing run time linking.
11492 library_names_spec='${libname}${release}.a $libname.a'
11493 soname_spec='${libname}${release}${shared_ext}$major'
11495 shlibpath_var=LIBPATH
11502 # Since July 2007 AmigaOS4 officially supports .so libraries.
11503 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11507 library_names_spec='$libname.ixlibrary $libname.a'
11508 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11509 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11515 library_names_spec='${libname}${shared_ext}'
11516 dynamic_linker="$host_os ld.so"
11517 shlibpath_var=LIBRARY_PATH
11523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11524 soname_spec='${libname}${release}${shared_ext}$major'
11525 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11526 shlibpath_var=LD_LIBRARY_PATH
11527 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11528 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11529 # the default ld.so.conf also contains /usr/contrib/lib and
11530 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11531 # libtool to hard-code these into programs
11534 cygwin* | mingw* | pw32* | cegcc*)
11535 version_type=windows
11540 case $GCC,$host_os in
11541 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11542 library_names_spec='$libname.dll.a'
11543 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11544 postinstall_cmds='base_file=`basename \${file}`~
11545 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11546 dldir=$destdir/`dirname \$dlpath`~
11547 test -d \$dldir || mkdir -p \$dldir~
11548 $install_prog $dir/$dlname \$dldir/$dlname~
11549 chmod a+x \$dldir/$dlname~
11550 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11551 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11553 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11554 dlpath=$dir/\$dldll~
11556 shlibpath_overrides_runpath=yes
11560 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11561 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11562 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11565 # MinGW DLLs use traditional 'lib' prefix
11566 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11567 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11568 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11569 # It is most probably a Windows format PATH printed by
11570 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11571 # path with ; separators, and with drive letters. We can handle the
11572 # drive letters (cygwin fileutils understands them), so leave them,
11573 # especially as we might pass files found there to a mingw objdump,
11574 # which wouldn't understand a cygwinified path. Ahh.
11575 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11577 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11581 # pw32 DLLs use 'pw' prefix rather than 'lib'
11582 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11588 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11591 dynamic_linker='Win32 ld.exe'
11592 # FIXME: first we should search . and the directory the executable is in
11596 darwin* | rhapsody*)
11597 dynamic_linker="$host_os dyld"
11598 version_type=darwin
11601 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11602 soname_spec='${libname}${release}${major}$shared_ext'
11603 shlibpath_overrides_runpath=yes
11604 shlibpath_var=DYLD_LIBRARY_PATH
11605 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11607 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11608 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11616 soname_spec='${libname}${release}${shared_ext}$major'
11617 shlibpath_var=LD_LIBRARY_PATH
11624 freebsd* | dragonfly*)
11625 # DragonFly does not have aout. When/if they implement a new
11626 # versioning mechanism, adjust this.
11627 if test -x /usr/bin/objformat; then
11628 objformat=`/usr/bin/objformat`
11631 freebsd[123]*) objformat=aout ;;
11632 *) objformat=elf ;;
11635 version_type=freebsd-$objformat
11636 case $version_type in
11638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11643 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11647 shlibpath_var=LD_LIBRARY_PATH
11650 shlibpath_overrides_runpath=yes
11652 freebsd3.[01]* | freebsdelf3.[01]*)
11653 shlibpath_overrides_runpath=yes
11654 hardcode_into_libs=yes
11656 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11657 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11658 shlibpath_overrides_runpath=no
11659 hardcode_into_libs=yes
11661 *) # from 4.6 on, and DragonFly
11662 shlibpath_overrides_runpath=yes
11663 hardcode_into_libs=yes
11672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11673 soname_spec='${libname}${release}${shared_ext}$major'
11674 shlibpath_var=LD_LIBRARY_PATH
11675 hardcode_into_libs=yes
11678 hpux9* | hpux10* | hpux11*)
11679 # Give a soname corresponding to the major version so that dld.sl refuses to
11680 # link against other versions.
11687 hardcode_into_libs=yes
11688 dynamic_linker="$host_os dld.so"
11689 shlibpath_var=LD_LIBRARY_PATH
11690 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11692 soname_spec='${libname}${release}${shared_ext}$major'
11693 if test "X$HPUX_IA64_MODE" = X32; then
11694 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11696 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11698 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11702 hardcode_into_libs=yes
11703 dynamic_linker="$host_os dld.sl"
11704 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11705 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11707 soname_spec='${libname}${release}${shared_ext}$major'
11708 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11709 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11713 dynamic_linker="$host_os dld.sl"
11714 shlibpath_var=SHLIB_PATH
11715 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11717 soname_spec='${libname}${release}${shared_ext}$major'
11720 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11721 postinstall_cmds='chmod 555 $lib'
11728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11729 soname_spec='${libname}${release}${shared_ext}$major'
11730 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11731 shlibpath_var=LD_LIBRARY_PATH
11732 shlibpath_overrides_runpath=no
11733 hardcode_into_libs=yes
11736 irix5* | irix6* | nonstopux*)
11738 nonstopux*) version_type=nonstopux ;;
11740 if test "$lt_cv_prog_gnu_ld" = yes; then
11748 soname_spec='${libname}${release}${shared_ext}$major'
11749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11751 irix5* | nonstopux*)
11752 libsuff= shlibsuff=
11755 case $LD in # libtool.m4 will add one of these switches to LD
11756 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11757 libsuff= shlibsuff= libmagic=32-bit;;
11758 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11759 libsuff=32 shlibsuff=N32 libmagic=N32;;
11760 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11761 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11762 *) libsuff= shlibsuff= libmagic=never-match;;
11766 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11767 shlibpath_overrides_runpath=no
11768 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11769 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11770 hardcode_into_libs=yes
11773 # No shared lib support for Linux oldld, aout, or coff.
11774 linux*oldld* | linux*aout* | linux*coff*)
11778 # This must be Linux ELF.
11779 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11784 soname_spec='${libname}${release}${shared_ext}$major'
11785 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11786 shlibpath_var=LD_LIBRARY_PATH
11787 shlibpath_overrides_runpath=no
11788 # Some binutils ld are patched to set DT_RUNPATH
11789 save_LDFLAGS=$LDFLAGS
11790 save_libdir=$libdir
11791 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11792 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11804 if ac_fn_c_try_link "$LINENO"; then :
11805 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11806 shlibpath_overrides_runpath=yes
11809 rm -f core conftest.err conftest.$ac_objext \
11810 conftest$ac_exeext conftest.$ac_ext
11811 LDFLAGS=$save_LDFLAGS
11812 libdir=$save_libdir
11814 # This implies no fast_install, which is unacceptable.
11815 # Some rework will be needed to allow for fast_install
11816 # before this can be enabled.
11817 hardcode_into_libs=yes
11819 # Append ld.so.conf contents to the search path
11820 if test -f /etc/ld.so.conf; then
11821 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11822 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11825 # We used to test for /lib/ld.so.1 and disable shared libraries on
11826 # powerpc, because MkLinux only supported shared libraries with the
11827 # GNU dynamic linker. Since this was broken with cross compilers,
11828 # most powerpc-linux boxes support dynamic linking these days and
11829 # people can always --disable-shared, the test was removed, and we
11830 # assume the GNU/Linux dynamic linker is in use.
11831 dynamic_linker='GNU/Linux ld.so'
11838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11839 soname_spec='${libname}${release}${shared_ext}$major'
11840 shlibpath_var=LD_LIBRARY_PATH
11841 shlibpath_overrides_runpath=no
11842 hardcode_into_libs=yes
11843 dynamic_linker='NetBSD ld.elf_so'
11850 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11852 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11853 dynamic_linker='NetBSD (a.out) ld.so'
11855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11856 soname_spec='${libname}${release}${shared_ext}$major'
11857 dynamic_linker='NetBSD ld.elf_so'
11859 shlibpath_var=LD_LIBRARY_PATH
11860 shlibpath_overrides_runpath=yes
11861 hardcode_into_libs=yes
11866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11867 shlibpath_var=LD_LIBRARY_PATH
11868 shlibpath_overrides_runpath=yes
11875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11876 soname_spec='${libname}${release}${shared_ext}$major'
11877 shlibpath_var=LD_LIBRARY_PATH
11878 shlibpath_overrides_runpath=no
11879 hardcode_into_libs=yes
11880 dynamic_linker='ldqnx.so'
11885 sys_lib_dlsearch_path_spec="/usr/lib"
11887 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11889 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11890 *) need_version=no ;;
11892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11893 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11894 shlibpath_var=LD_LIBRARY_PATH
11895 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11897 openbsd2.[89] | openbsd2.[89].*)
11898 shlibpath_overrides_runpath=no
11901 shlibpath_overrides_runpath=yes
11905 shlibpath_overrides_runpath=yes
11910 libname_spec='$name'
11913 library_names_spec='$libname${shared_ext} $libname.a'
11914 dynamic_linker='OS/2 ld.exe'
11915 shlibpath_var=LIBPATH
11918 osf3* | osf4* | osf5*)
11922 soname_spec='${libname}${release}${shared_ext}$major'
11923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11924 shlibpath_var=LD_LIBRARY_PATH
11925 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11926 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11938 soname_spec='${libname}${release}${shared_ext}$major'
11939 shlibpath_var=LD_LIBRARY_PATH
11940 shlibpath_overrides_runpath=yes
11941 hardcode_into_libs=yes
11942 # ldd complains unless libraries are executable
11943 postinstall_cmds='chmod +x $lib'
11948 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11949 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11950 shlibpath_var=LD_LIBRARY_PATH
11951 shlibpath_overrides_runpath=yes
11952 if test "$with_gnu_ld" = yes; then
11960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11961 soname_spec='${libname}${release}${shared_ext}$major'
11962 shlibpath_var=LD_LIBRARY_PATH
11963 case $host_vendor in
11965 shlibpath_overrides_runpath=no
11967 runpath_var=LD_RUN_PATH
11975 shlibpath_overrides_runpath=no
11976 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11982 if test -d /usr/nec ;then
11984 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11985 soname_spec='$libname${shared_ext}.$major'
11986 shlibpath_var=LD_LIBRARY_PATH
11990 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11991 version_type=freebsd-elf
11994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11995 soname_spec='${libname}${release}${shared_ext}$major'
11996 shlibpath_var=LD_LIBRARY_PATH
11997 shlibpath_overrides_runpath=yes
11998 hardcode_into_libs=yes
11999 if test "$with_gnu_ld" = yes; then
12000 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12002 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12005 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12009 sys_lib_dlsearch_path_spec='/usr/lib'
12013 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12018 shlibpath_var=LD_LIBRARY_PATH
12019 shlibpath_overrides_runpath=no
12020 hardcode_into_libs=yes
12025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12026 soname_spec='${libname}${release}${shared_ext}$major'
12027 shlibpath_var=LD_LIBRARY_PATH
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12035 $as_echo "$dynamic_linker" >&6; }
12036 test "$dynamic_linker" = no && can_build_shared=no
12038 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12039 if test "$GCC" = yes; then
12040 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12043 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12044 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12046 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12047 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12137 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12139 if test -n "$hardcode_libdir_flag_spec" ||
12140 test -n "$runpath_var" ||
12141 test "X$hardcode_automatic" = "Xyes" ; then
12143 # We can hardcode non-existent directories.
12144 if test "$hardcode_direct" != no &&
12145 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12146 # have to relink, otherwise we might link with an installed library
12147 # when we should be linking with a yet-to-be-installed one
12148 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12149 test "$hardcode_minus_L" != no; then
12150 # Linking always hardcodes the temporary library directory.
12151 hardcode_action=relink
12153 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12154 hardcode_action=immediate
12157 # We cannot hardcode anything, or else we can only hardcode existing
12159 hardcode_action=unsupported
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12162 $as_echo "$hardcode_action" >&6; }
12164 if test "$hardcode_action" = relink ||
12165 test "$inherit_rpath" = yes; then
12166 # Fast installation is not supported
12167 enable_fast_install=no
12168 elif test "$shlibpath_overrides_runpath" = yes ||
12169 test "$enable_shared" = no; then
12170 # Fast installation is not necessary
12171 enable_fast_install=needless
12179 if test "x$enable_dlopen" != xyes; then
12180 enable_dlopen=unknown
12181 enable_dlopen_self=unknown
12182 enable_dlopen_self_static=unknown
12189 lt_cv_dlopen="load_add_on"
12191 lt_cv_dlopen_self=yes
12194 mingw* | pw32* | cegcc*)
12195 lt_cv_dlopen="LoadLibrary"
12200 lt_cv_dlopen="dlopen"
12205 # if libdl is installed we need to link against it
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12207 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12208 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12209 $as_echo_n "(cached) " >&6
12211 ac_check_lib_save_LIBS=$LIBS
12213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12214 /* end confdefs.h. */
12216 /* Override any GCC internal prototype to avoid an error.
12217 Use char because int might match the return type of a GCC
12218 builtin and then its argument prototype would still apply. */
12231 if ac_fn_c_try_link "$LINENO"; then :
12232 ac_cv_lib_dl_dlopen=yes
12234 ac_cv_lib_dl_dlopen=no
12236 rm -f core conftest.err conftest.$ac_objext \
12237 conftest$ac_exeext conftest.$ac_ext
12238 LIBS=$ac_check_lib_save_LIBS
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12241 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12242 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12243 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12246 lt_cv_dlopen="dyld"
12248 lt_cv_dlopen_self=yes
12255 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12256 if test "x$ac_cv_func_shl_load" = x""yes; then :
12257 lt_cv_dlopen="shl_load"
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12260 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12261 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12262 $as_echo_n "(cached) " >&6
12264 ac_check_lib_save_LIBS=$LIBS
12266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12269 /* Override any GCC internal prototype to avoid an error.
12270 Use char because int might match the return type of a GCC
12271 builtin and then its argument prototype would still apply. */
12279 return shl_load ();
12284 if ac_fn_c_try_link "$LINENO"; then :
12285 ac_cv_lib_dld_shl_load=yes
12287 ac_cv_lib_dld_shl_load=no
12289 rm -f core conftest.err conftest.$ac_objext \
12290 conftest$ac_exeext conftest.$ac_ext
12291 LIBS=$ac_check_lib_save_LIBS
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12294 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12295 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12296 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12298 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12299 if test "x$ac_cv_func_dlopen" = x""yes; then :
12300 lt_cv_dlopen="dlopen"
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12303 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12304 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12305 $as_echo_n "(cached) " >&6
12307 ac_check_lib_save_LIBS=$LIBS
12309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12310 /* end confdefs.h. */
12312 /* Override any GCC internal prototype to avoid an error.
12313 Use char because int might match the return type of a GCC
12314 builtin and then its argument prototype would still apply. */
12327 if ac_fn_c_try_link "$LINENO"; then :
12328 ac_cv_lib_dl_dlopen=yes
12330 ac_cv_lib_dl_dlopen=no
12332 rm -f core conftest.err conftest.$ac_objext \
12333 conftest$ac_exeext conftest.$ac_ext
12334 LIBS=$ac_check_lib_save_LIBS
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12337 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12338 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12339 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12342 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12343 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12344 $as_echo_n "(cached) " >&6
12346 ac_check_lib_save_LIBS=$LIBS
12347 LIBS="-lsvld $LIBS"
12348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12349 /* end confdefs.h. */
12351 /* Override any GCC internal prototype to avoid an error.
12352 Use char because int might match the return type of a GCC
12353 builtin and then its argument prototype would still apply. */
12366 if ac_fn_c_try_link "$LINENO"; then :
12367 ac_cv_lib_svld_dlopen=yes
12369 ac_cv_lib_svld_dlopen=no
12371 rm -f core conftest.err conftest.$ac_objext \
12372 conftest$ac_exeext conftest.$ac_ext
12373 LIBS=$ac_check_lib_save_LIBS
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12376 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12377 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12378 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12381 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12382 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12383 $as_echo_n "(cached) " >&6
12385 ac_check_lib_save_LIBS=$LIBS
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12390 /* Override any GCC internal prototype to avoid an error.
12391 Use char because int might match the return type of a GCC
12392 builtin and then its argument prototype would still apply. */
12400 return dld_link ();
12405 if ac_fn_c_try_link "$LINENO"; then :
12406 ac_cv_lib_dld_dld_link=yes
12408 ac_cv_lib_dld_dld_link=no
12410 rm -f core conftest.err conftest.$ac_objext \
12411 conftest$ac_exeext conftest.$ac_ext
12412 LIBS=$ac_check_lib_save_LIBS
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12415 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12416 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12417 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12438 if test "x$lt_cv_dlopen" != xno; then
12444 case $lt_cv_dlopen in
12446 save_CPPFLAGS="$CPPFLAGS"
12447 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12449 save_LDFLAGS="$LDFLAGS"
12450 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12453 LIBS="$lt_cv_dlopen_libs $LIBS"
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12456 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12457 if test "${lt_cv_dlopen_self+set}" = set; then :
12458 $as_echo_n "(cached) " >&6
12460 if test "$cross_compiling" = yes; then :
12461 lt_cv_dlopen_self=cross
12463 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12464 lt_status=$lt_dlunknown
12465 cat > conftest.$ac_ext <<_LT_EOF
12466 #line 12466 "configure"
12467 #include "confdefs.h"
12476 # define LT_DLGLOBAL RTLD_GLOBAL
12479 # define LT_DLGLOBAL DL_GLOBAL
12481 # define LT_DLGLOBAL 0
12485 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12486 find out it does not work in some platform. */
12487 #ifndef LT_DLLAZY_OR_NOW
12489 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12492 # define LT_DLLAZY_OR_NOW DL_LAZY
12495 # define LT_DLLAZY_OR_NOW RTLD_NOW
12498 # define LT_DLLAZY_OR_NOW DL_NOW
12500 # define LT_DLLAZY_OR_NOW 0
12507 void fnord() { int i=42;}
12510 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12511 int status = $lt_dlunknown;
12515 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12516 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12517 /* dlclose (self); */
12525 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12526 (eval $ac_link) 2>&5
12528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12529 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12530 (./conftest; exit; ) >&5 2>/dev/null
12532 case x$lt_status in
12533 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12534 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12535 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12538 # compilation failed
12539 lt_cv_dlopen_self=no
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12547 $as_echo "$lt_cv_dlopen_self" >&6; }
12549 if test "x$lt_cv_dlopen_self" = xyes; then
12550 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12552 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12553 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12554 $as_echo_n "(cached) " >&6
12556 if test "$cross_compiling" = yes; then :
12557 lt_cv_dlopen_self_static=cross
12559 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12560 lt_status=$lt_dlunknown
12561 cat > conftest.$ac_ext <<_LT_EOF
12562 #line 12562 "configure"
12563 #include "confdefs.h"
12572 # define LT_DLGLOBAL RTLD_GLOBAL
12575 # define LT_DLGLOBAL DL_GLOBAL
12577 # define LT_DLGLOBAL 0
12581 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12582 find out it does not work in some platform. */
12583 #ifndef LT_DLLAZY_OR_NOW
12585 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12588 # define LT_DLLAZY_OR_NOW DL_LAZY
12591 # define LT_DLLAZY_OR_NOW RTLD_NOW
12594 # define LT_DLLAZY_OR_NOW DL_NOW
12596 # define LT_DLLAZY_OR_NOW 0
12603 void fnord() { int i=42;}
12606 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12607 int status = $lt_dlunknown;
12611 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12612 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12613 /* dlclose (self); */
12621 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12622 (eval $ac_link) 2>&5
12624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12625 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12626 (./conftest; exit; ) >&5 2>/dev/null
12628 case x$lt_status in
12629 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12630 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12631 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12634 # compilation failed
12635 lt_cv_dlopen_self_static=no
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12643 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12646 CPPFLAGS="$save_CPPFLAGS"
12647 LDFLAGS="$save_LDFLAGS"
12652 case $lt_cv_dlopen_self in
12653 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12654 *) enable_dlopen_self=unknown ;;
12657 case $lt_cv_dlopen_self_static in
12658 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12659 *) enable_dlopen_self_static=unknown ;;
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12682 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12683 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12684 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12685 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12687 $as_echo "yes" >&6; }
12689 # FIXME - insert some real tests, host_os isn't really good enough
12692 if test -n "$STRIP" ; then
12693 striplib="$STRIP -x"
12694 old_striplib="$STRIP -S"
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12696 $as_echo "yes" >&6; }
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12699 $as_echo "no" >&6; }
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12704 $as_echo "no" >&6; }
12720 # Report which library types will actually be built
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12722 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12724 $as_echo "$can_build_shared" >&6; }
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12727 $as_echo_n "checking whether to build shared libraries... " >&6; }
12728 test "$can_build_shared" = "no" && enable_shared=no
12730 # On AIX, shared libraries and static libraries use the same namespace, and
12731 # are all built from PIC.
12734 test "$enable_shared" = yes && enable_static=no
12735 if test -n "$RANLIB"; then
12736 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12737 postinstall_cmds='$RANLIB $lib'
12742 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12743 test "$enable_shared" = yes && enable_static=no
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12748 $as_echo "$enable_shared" >&6; }
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12751 $as_echo_n "checking whether to build static libraries... " >&6; }
12752 # Make sure either enable_shared or enable_static is yes.
12753 test "$enable_shared" = yes || enable_static=yes
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12755 $as_echo "$enable_static" >&6; }
12762 ac_cpp='$CPP $CPPFLAGS'
12763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12781 ac_config_commands="$ac_config_commands libtool"
12786 # Only expand once:
12790 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12791 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12795 cat >>confdefs.h <<_ACEOF
12800 cat >>confdefs.h <<_ACEOF
12805 cat >>confdefs.h <<_ACEOF
12810 cat >>confdefs.h <<_ACEOF
12814 version_info="8:0:8"
12815 release_info="-release ver-pre-svn-09"
12818 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12819 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12832 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12833 if test -n "$ac_tool_prefix"; then
12834 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12835 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12837 $as_echo_n "checking for $ac_word... " >&6; }
12838 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12839 $as_echo_n "(cached) " >&6
12841 case $PKG_CONFIG in
12843 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12847 for as_dir in $PATH
12850 test -z "$as_dir" && as_dir=.
12851 for ac_exec_ext in '' $ac_executable_extensions; do
12852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12853 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12864 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12865 if test -n "$PKG_CONFIG"; then
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12867 $as_echo "$PKG_CONFIG" >&6; }
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12870 $as_echo "no" >&6; }
12875 if test -z "$ac_cv_path_PKG_CONFIG"; then
12876 ac_pt_PKG_CONFIG=$PKG_CONFIG
12877 # Extract the first word of "pkg-config", so it can be a program name with args.
12878 set dummy pkg-config; ac_word=$2
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12880 $as_echo_n "checking for $ac_word... " >&6; }
12881 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12882 $as_echo_n "(cached) " >&6
12884 case $ac_pt_PKG_CONFIG in
12886 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12890 for as_dir in $PATH
12893 test -z "$as_dir" && as_dir=.
12894 for ac_exec_ext in '' $ac_executable_extensions; do
12895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12896 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12907 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12908 if test -n "$ac_pt_PKG_CONFIG"; then
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12910 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12913 $as_echo "no" >&6; }
12916 if test "x$ac_pt_PKG_CONFIG" = x; then
12919 case $cross_compiling:$ac_tool_warned in
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12923 ac_tool_warned=yes ;;
12925 PKG_CONFIG=$ac_pt_PKG_CONFIG
12928 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12932 if test -n "$PKG_CONFIG"; then
12933 _pkg_min_version=0.9.0
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12935 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12936 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12938 $as_echo "yes" >&6; }
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12941 $as_echo "no" >&6; }
12945 EDJE_VERSION=`$PKG_CONFIG edje --modversion | awk -F . '{printf("%s.0.0", $1);}'`
12948 mingw32ce* | cegcc*)
12949 MODULE_ARCH="$host_os-$host_cpu"
12950 MODULE_EDJE="$host_os-$host_cpu"
12953 MODULE_ARCH="$host_os-$host_cpu-0.8.0"
12954 MODULE_EDJE="$host_os-$host_cpu-${EDJE_VERSION}"
12960 cat >>confdefs.h <<_ACEOF
12961 #define MODULE_ARCH "$MODULE_ARCH"
12966 cat >>confdefs.h <<_ACEOF
12967 #define MODULE_EDJE "$MODULE_EDJE"
12971 EFL_SHARED_EXTENSION="${shrext_cmds}"
12973 cat >>confdefs.h <<_ACEOF
12974 #define EFL_SHARED_EXTENSION "${EFL_SHARED_EXTENSION}"
12986 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12987 if test -n "$ac_tool_prefix"; then
12988 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12989 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12991 $as_echo_n "checking for $ac_word... " >&6; }
12992 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12993 $as_echo_n "(cached) " >&6
12995 case $PKG_CONFIG in
12997 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13001 for as_dir in $PATH
13004 test -z "$as_dir" && as_dir=.
13005 for ac_exec_ext in '' $ac_executable_extensions; do
13006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13007 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13018 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13019 if test -n "$PKG_CONFIG"; then
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13021 $as_echo "$PKG_CONFIG" >&6; }
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13024 $as_echo "no" >&6; }
13029 if test -z "$ac_cv_path_PKG_CONFIG"; then
13030 ac_pt_PKG_CONFIG=$PKG_CONFIG
13031 # Extract the first word of "pkg-config", so it can be a program name with args.
13032 set dummy pkg-config; ac_word=$2
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13034 $as_echo_n "checking for $ac_word... " >&6; }
13035 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
13036 $as_echo_n "(cached) " >&6
13038 case $ac_pt_PKG_CONFIG in
13040 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13044 for as_dir in $PATH
13047 test -z "$as_dir" && as_dir=.
13048 for ac_exec_ext in '' $ac_executable_extensions; do
13049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13050 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13061 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13062 if test -n "$ac_pt_PKG_CONFIG"; then
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13064 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13067 $as_echo "no" >&6; }
13070 if test "x$ac_pt_PKG_CONFIG" = x; then
13073 case $cross_compiling:$ac_tool_warned in
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13077 ac_tool_warned=yes ;;
13079 PKG_CONFIG=$ac_pt_PKG_CONFIG
13082 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13086 if test -n "$PKG_CONFIG"; then
13087 _pkg_min_version=0.9.0
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13089 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13090 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13092 $as_echo "yes" >&6; }
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13095 $as_echo "no" >&6; }
13100 # Check whether pkg-config supports Requires.private
13101 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
13102 pkgconfig_requires_private="Requires.private"
13104 pkgconfig_requires_private="Requires"
13108 #================================================
13109 if test "x${prefix}" = "xNONE"; then
13110 LOCALE_DIR="${ac_default_prefix}/share/locale"
13112 LOCALE_DIR="${prefix}/share/locale"
13115 #================================================
13117 lt_enable_auto_import=""
13118 ELM_UNIX_DEF="#undef"
13119 ELM_WIN32_DEF="#undef"
13120 ELM_WINCE_DEF="#undef"
13124 mingw32ce* | cegcc*)
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
13128 $as_echo_n "checking for EVIL... " >&6; }
13130 if test -n "$EVIL_CFLAGS"; then
13131 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
13132 elif test -n "$PKG_CONFIG"; then
13133 if test -n "$PKG_CONFIG" && \
13134 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
13135 ($PKG_CONFIG --exists --print-errors "evil") 2>&5
13137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13138 test $ac_status = 0; }; then
13139 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil" 2>/dev/null`
13146 if test -n "$EVIL_LIBS"; then
13147 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
13148 elif test -n "$PKG_CONFIG"; then
13149 if test -n "$PKG_CONFIG" && \
13150 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
13151 ($PKG_CONFIG --exists --print-errors "evil") 2>&5
13153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13154 test $ac_status = 0; }; then
13155 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil" 2>/dev/null`
13165 if test $pkg_failed = yes; then
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13167 $as_echo "no" >&6; }
13169 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13170 _pkg_short_errors_supported=yes
13172 _pkg_short_errors_supported=no
13174 if test $_pkg_short_errors_supported = yes; then
13175 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil" 2>&1`
13177 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil" 2>&1`
13179 # Put the nasty error message in config.log where it belongs
13180 echo "$EVIL_PKG_ERRORS" >&5
13182 as_fn_error $? "Package requirements (evil) were not met:
13186 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13187 installed software in a non-standard prefix.
13189 Alternatively, you may set the environment variables EVIL_CFLAGS
13190 and EVIL_LIBS to avoid the need to call pkg-config.
13191 See the pkg-config man page for more details." "$LINENO" 5
13192 elif test $pkg_failed = untried; then
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13194 $as_echo "no" >&6; }
13195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13197 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13198 is in your PATH or set the PKG_CONFIG environment variable to the full
13199 path to pkg-config.
13201 Alternatively, you may set the environment variables EVIL_CFLAGS
13202 and EVIL_LIBS to avoid the need to call pkg-config.
13203 See the pkg-config man page for more details.
13205 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13206 See \`config.log' for more details" "$LINENO" 5 ; }
13208 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
13209 EVIL_LIBS=$pkg_cv_EVIL_LIBS
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13211 $as_echo "yes" >&6; }
13215 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13217 lt_enable_auto_import="-Wl,--enable-auto-import"
13218 ELM_WINCE_DEF="#define"
13220 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
13224 requirement_elm="evil"
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
13231 $as_echo_n "checking for EVIL... " >&6; }
13233 if test -n "$EVIL_CFLAGS"; then
13234 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
13235 elif test -n "$PKG_CONFIG"; then
13236 if test -n "$PKG_CONFIG" && \
13237 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
13238 ($PKG_CONFIG --exists --print-errors "evil") 2>&5
13240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13241 test $ac_status = 0; }; then
13242 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil" 2>/dev/null`
13249 if test -n "$EVIL_LIBS"; then
13250 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
13251 elif test -n "$PKG_CONFIG"; then
13252 if test -n "$PKG_CONFIG" && \
13253 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
13254 ($PKG_CONFIG --exists --print-errors "evil") 2>&5
13256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13257 test $ac_status = 0; }; then
13258 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil" 2>/dev/null`
13268 if test $pkg_failed = yes; then
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13270 $as_echo "no" >&6; }
13272 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13273 _pkg_short_errors_supported=yes
13275 _pkg_short_errors_supported=no
13277 if test $_pkg_short_errors_supported = yes; then
13278 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil" 2>&1`
13280 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil" 2>&1`
13282 # Put the nasty error message in config.log where it belongs
13283 echo "$EVIL_PKG_ERRORS" >&5
13285 as_fn_error $? "Package requirements (evil) were not met:
13289 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13290 installed software in a non-standard prefix.
13292 Alternatively, you may set the environment variables EVIL_CFLAGS
13293 and EVIL_LIBS to avoid the need to call pkg-config.
13294 See the pkg-config man page for more details." "$LINENO" 5
13295 elif test $pkg_failed = untried; then
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13297 $as_echo "no" >&6; }
13298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13300 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13301 is in your PATH or set the PKG_CONFIG environment variable to the full
13302 path to pkg-config.
13304 Alternatively, you may set the environment variables EVIL_CFLAGS
13305 and EVIL_LIBS to avoid the need to call pkg-config.
13306 See the pkg-config man page for more details.
13308 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13309 See \`config.log' for more details" "$LINENO" 5 ; }
13311 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
13312 EVIL_LIBS=$pkg_cv_EVIL_LIBS
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13314 $as_echo "yes" >&6; }
13318 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13320 lt_enable_auto_import="-Wl,--enable-auto-import"
13321 ELM_WIN32_DEF="#define"
13323 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
13327 requirement_elm="evil"
13331 ELM_UNIX_DEF="#define"
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13335 $as_echo_n "checking for connect in -lsocket... " >&6; }
13336 if test "${ac_cv_lib_socket_connect+set}" = set; then :
13337 $as_echo_n "(cached) " >&6
13339 ac_check_lib_save_LIBS=$LIBS
13340 LIBS="-lsocket $LIBS"
13341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13342 /* end confdefs.h. */
13344 /* Override any GCC internal prototype to avoid an error.
13345 Use char because int might match the return type of a GCC
13346 builtin and then its argument prototype would still apply. */
13359 if ac_fn_c_try_link "$LINENO"; then :
13360 ac_cv_lib_socket_connect=yes
13362 ac_cv_lib_socket_connect=no
13364 rm -f core conftest.err conftest.$ac_objext \
13365 conftest$ac_exeext conftest.$ac_ext
13366 LIBS=$ac_check_lib_save_LIBS
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13369 $as_echo "$ac_cv_lib_socket_connect" >&6; }
13370 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
13371 cat >>confdefs.h <<_ACEOF
13372 #define HAVE_LIBSOCKET 1
13375 LIBS="-lsocket $LIBS"
13383 ELM_UNIX_DEF="#define"
13386 for ac_header in crt_externs.h
13388 ac_fn_c_check_header_mongrel "$LINENO" "crt_externs.h" "ac_cv_header_crt_externs_h" "$ac_includes_default"
13389 if test "x$ac_cv_header_crt_externs_h" = x""yes; then :
13390 cat >>confdefs.h <<_ACEOF
13391 #define HAVE_CRT_EXTERNS_H 1
13399 $as_echo "#define environ (*_NSGetEnviron())" >>confdefs.h
13403 ELM_UNIX_DEF="#define"
13404 for ac_func in dlopen
13406 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13407 if test "x$ac_cv_func_dlopen" = x""yes; then :
13408 cat >>confdefs.h <<_ACEOF
13409 #define HAVE_DLOPEN 1
13417 if test "x$res" = "xyes"; then
13418 for ac_func in dladdr
13420 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
13421 if test "x$ac_cv_func_dladdr" = x""yes; then :
13422 cat >>confdefs.h <<_ACEOF
13423 #define HAVE_DLADDR 1
13425 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13433 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13434 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13435 $as_echo_n "(cached) " >&6
13437 ac_check_lib_save_LIBS=$LIBS
13439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13440 /* end confdefs.h. */
13442 /* Override any GCC internal prototype to avoid an error.
13443 Use char because int might match the return type of a GCC
13444 builtin and then its argument prototype would still apply. */
13457 if ac_fn_c_try_link "$LINENO"; then :
13458 ac_cv_lib_dl_dlopen=yes
13460 ac_cv_lib_dl_dlopen=no
13462 rm -f core conftest.err conftest.$ac_objext \
13463 conftest$ac_exeext conftest.$ac_ext
13464 LIBS=$ac_check_lib_save_LIBS
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13467 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13468 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
13474 if test "x$res" = "xyes"; then
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5
13476 $as_echo_n "checking for dladdr in -ldl... " >&6; }
13477 if test "${ac_cv_lib_dl_dladdr+set}" = set; then :
13478 $as_echo_n "(cached) " >&6
13480 ac_check_lib_save_LIBS=$LIBS
13482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13483 /* end confdefs.h. */
13485 /* Override any GCC internal prototype to avoid an error.
13486 Use char because int might match the return type of a GCC
13487 builtin and then its argument prototype would still apply. */
13500 if ac_fn_c_try_link "$LINENO"; then :
13501 ac_cv_lib_dl_dladdr=yes
13503 ac_cv_lib_dl_dladdr=no
13505 rm -f core conftest.err conftest.$ac_objext \
13506 conftest$ac_exeext conftest.$ac_ext
13507 LIBS=$ac_check_lib_save_LIBS
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5
13510 $as_echo "$ac_cv_lib_dl_dladdr" >&6; }
13511 if test "x$ac_cv_lib_dl_dladdr" = x""yes; then :
13512 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
13523 for ac_func in strcasestr
13525 ac_fn_c_check_func "$LINENO" "strcasestr" "ac_cv_func_strcasestr"
13526 if test "x$ac_cv_func_strcasestr" = x""yes; then :
13527 cat >>confdefs.h <<_ACEOF
13528 #define HAVE_STRCASESTR 1
13530 $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
13535 if test "x$have_socket" = "xyes"; then
13537 BUILD_RUN_FALSE='#'
13543 if test "x$have_dlopen" = "xyes"; then
13544 BUILD_MODULES_TRUE=
13545 BUILD_MODULES_FALSE='#'
13547 BUILD_MODULES_TRUE='#'
13548 BUILD_MODULES_FALSE=
13555 CFLAGS_save="${CFLAGS}"
13556 CFLAGS="${CFLAGS} -Wall"
13559 ac_cpp='$CPP $CPPFLAGS'
13560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
13565 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
13567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13568 /* end confdefs.h. */
13578 if ac_fn_c_try_compile "$LINENO"; then :
13583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13585 $as_echo "${have_flag}" >&6; }
13587 if test "x${have_flag}" = "xno" ; then
13588 CFLAGS="${CFLAGS_save}"
13591 ac_cpp='$CPP $CPPFLAGS'
13592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13600 CFLAGS_save="${CFLAGS}"
13601 CFLAGS="${CFLAGS} -W"
13604 ac_cpp='$CPP $CPPFLAGS'
13605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
13610 $as_echo_n "checking whether the compiler supports -W... " >&6; }
13612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13613 /* end confdefs.h. */
13623 if ac_fn_c_try_compile "$LINENO"; then :
13628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13630 $as_echo "${have_flag}" >&6; }
13632 if test "x${have_flag}" = "xno" ; then
13633 CFLAGS="${CFLAGS_save}"
13636 ac_cpp='$CPP $CPPFLAGS'
13637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13646 want_quicklaunch="auto"
13647 # Check whether --enable-quick-launch was given.
13648 if test "${enable_quick_launch+set}" = set; then :
13649 enableval=$enable_quick_launch; want_quicklaunch=$enableval
13653 if test "x$want_quicklaunch" != "xno"; then
13654 for ac_func in fork
13656 ac_fn_c_check_func "$LINENO" "fork" "ac_cv_func_fork"
13657 if test "x$ac_cv_func_fork" = x""yes; then :
13658 cat >>confdefs.h <<_ACEOF
13659 #define HAVE_FORK 1
13663 $as_echo "#define HAVE_FORK 1" >>confdefs.h
13670 if test "x$have_fork" = "xyes" && test "x$have_dlopen" = "xyes"; then
13671 BUILD_QUICKLAUNCH_TRUE=
13672 BUILD_QUICKLAUNCH_FALSE='#'
13674 BUILD_QUICKLAUNCH_TRUE='#'
13675 BUILD_QUICKLAUNCH_FALSE=
13685 if test "x${have_windows}" = "xyes"; then
13686 ELEMENTARY_WINDOWS_BUILD_TRUE=
13687 ELEMENTARY_WINDOWS_BUILD_FALSE='#'
13689 ELEMENTARY_WINDOWS_BUILD_TRUE='#'
13690 ELEMENTARY_WINDOWS_BUILD_FALSE=
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY" >&5
13697 $as_echo_n "checking for ELEMENTARY... " >&6; }
13699 if test -n "$ELEMENTARY_CFLAGS"; then
13700 pkg_cv_ELEMENTARY_CFLAGS="$ELEMENTARY_CFLAGS"
13701 elif test -n "$PKG_CONFIG"; then
13702 if test -n "$PKG_CONFIG" && \
13703 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13708 ecore-evas >= 1.0.999
13709 ecore-file >= 1.0.999
13713 ($PKG_CONFIG --exists --print-errors "
13718 ecore-evas >= 1.0.999
13719 ecore-file >= 1.0.999
13724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13725 test $ac_status = 0; }; then
13726 pkg_cv_ELEMENTARY_CFLAGS=`$PKG_CONFIG --cflags "
13731 ecore-evas >= 1.0.999
13732 ecore-file >= 1.0.999
13742 if test -n "$ELEMENTARY_LIBS"; then
13743 pkg_cv_ELEMENTARY_LIBS="$ELEMENTARY_LIBS"
13744 elif test -n "$PKG_CONFIG"; then
13745 if test -n "$PKG_CONFIG" && \
13746 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13751 ecore-evas >= 1.0.999
13752 ecore-file >= 1.0.999
13756 ($PKG_CONFIG --exists --print-errors "
13761 ecore-evas >= 1.0.999
13762 ecore-file >= 1.0.999
13767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13768 test $ac_status = 0; }; then
13769 pkg_cv_ELEMENTARY_LIBS=`$PKG_CONFIG --libs "
13774 ecore-evas >= 1.0.999
13775 ecore-file >= 1.0.999
13788 if test $pkg_failed = yes; then
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13790 $as_echo "no" >&6; }
13792 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13793 _pkg_short_errors_supported=yes
13795 _pkg_short_errors_supported=no
13797 if test $_pkg_short_errors_supported = yes; then
13798 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
13803 ecore-evas >= 1.0.999
13804 ecore-file >= 1.0.999
13809 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --print-errors "
13814 ecore-evas >= 1.0.999
13815 ecore-file >= 1.0.999
13820 # Put the nasty error message in config.log where it belongs
13821 echo "$ELEMENTARY_PKG_ERRORS" >&5
13823 as_fn_error $? "Package requirements (
13828 ecore-evas >= 1.0.999
13829 ecore-file >= 1.0.999
13834 $ELEMENTARY_PKG_ERRORS
13836 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13837 installed software in a non-standard prefix.
13839 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
13840 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
13841 See the pkg-config man page for more details." "$LINENO" 5
13842 elif test $pkg_failed = untried; then
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13844 $as_echo "no" >&6; }
13845 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13847 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13848 is in your PATH or set the PKG_CONFIG environment variable to the full
13849 path to pkg-config.
13851 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
13852 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
13853 See the pkg-config man page for more details.
13855 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13856 See \`config.log' for more details" "$LINENO" 5 ; }
13858 ELEMENTARY_CFLAGS=$pkg_cv_ELEMENTARY_CFLAGS
13859 ELEMENTARY_LIBS=$pkg_cv_ELEMENTARY_LIBS
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13861 $as_echo "yes" >&6; }
13865 requirement_elm="edje >= 1.0.0 ecore-file >= 1.0.0 ecore-evas >= 1.0.0 ecore >= 1.0.0 evas >= 1.0.0 eet >= 1.4.0 eina >= 1.0.0 ${requirement_elm}"
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_ECORE_IMF" >&5
13870 $as_echo_n "checking for ELEMENTARY_ECORE_IMF... " >&6; }
13872 if test -n "$ELEMENTARY_ECORE_IMF_CFLAGS"; then
13873 pkg_cv_ELEMENTARY_ECORE_IMF_CFLAGS="$ELEMENTARY_ECORE_IMF_CFLAGS"
13874 elif test -n "$PKG_CONFIG"; then
13875 if test -n "$PKG_CONFIG" && \
13876 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-imf >= 1.0.999\""; } >&5
13877 ($PKG_CONFIG --exists --print-errors "ecore-imf >= 1.0.999") 2>&5
13879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13880 test $ac_status = 0; }; then
13881 pkg_cv_ELEMENTARY_ECORE_IMF_CFLAGS=`$PKG_CONFIG --cflags "ecore-imf >= 1.0.999" 2>/dev/null`
13888 if test -n "$ELEMENTARY_ECORE_IMF_LIBS"; then
13889 pkg_cv_ELEMENTARY_ECORE_IMF_LIBS="$ELEMENTARY_ECORE_IMF_LIBS"
13890 elif test -n "$PKG_CONFIG"; then
13891 if test -n "$PKG_CONFIG" && \
13892 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-imf >= 1.0.999\""; } >&5
13893 ($PKG_CONFIG --exists --print-errors "ecore-imf >= 1.0.999") 2>&5
13895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13896 test $ac_status = 0; }; then
13897 pkg_cv_ELEMENTARY_ECORE_IMF_LIBS=`$PKG_CONFIG --libs "ecore-imf >= 1.0.999" 2>/dev/null`
13907 if test $pkg_failed = yes; then
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13909 $as_echo "no" >&6; }
13911 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13912 _pkg_short_errors_supported=yes
13914 _pkg_short_errors_supported=no
13916 if test $_pkg_short_errors_supported = yes; then
13917 ELEMENTARY_ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-imf >= 1.0.999" 2>&1`
13919 ELEMENTARY_ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-imf >= 1.0.999" 2>&1`
13921 # Put the nasty error message in config.log where it belongs
13922 echo "$ELEMENTARY_ECORE_IMF_PKG_ERRORS" >&5
13924 have_ecore_imf="no"
13925 elif test $pkg_failed = untried; then
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13927 $as_echo "no" >&6; }
13928 have_ecore_imf="no"
13930 ELEMENTARY_ECORE_IMF_CFLAGS=$pkg_cv_ELEMENTARY_ECORE_IMF_CFLAGS
13931 ELEMENTARY_ECORE_IMF_LIBS=$pkg_cv_ELEMENTARY_ECORE_IMF_LIBS
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13933 $as_echo "yes" >&6; }
13935 ELEMENTARY_ECORE_IMF_INC="#include <Ecore_IMF.h>"
13937 $as_echo "#define HAVE_ELEMENTARY_ECORE_IMF 1" >>confdefs.h
13939 have_ecore_imf="yes"
13940 requirement_elm="ecore-imf >= 1.0.999 ${requirement_elm}"
13945 if test "x${have_ecore_imf}" = "xyes"; then
13946 HAVE_ECORE_IMF_TRUE=
13947 HAVE_ECORE_IMF_FALSE='#'
13949 HAVE_ECORE_IMF_TRUE='#'
13950 HAVE_ECORE_IMF_FALSE=
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_ECORE_CON" >&5
13957 $as_echo_n "checking for ELEMENTARY_ECORE_CON... " >&6; }
13959 if test -n "$ELEMENTARY_ECORE_CON_CFLAGS"; then
13960 pkg_cv_ELEMENTARY_ECORE_CON_CFLAGS="$ELEMENTARY_ECORE_CON_CFLAGS"
13961 elif test -n "$PKG_CONFIG"; then
13962 if test -n "$PKG_CONFIG" && \
13963 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.0.999\""; } >&5
13964 ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.0.999") 2>&5
13966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13967 test $ac_status = 0; }; then
13968 pkg_cv_ELEMENTARY_ECORE_CON_CFLAGS=`$PKG_CONFIG --cflags "ecore-con >= 1.0.999" 2>/dev/null`
13975 if test -n "$ELEMENTARY_ECORE_CON_LIBS"; then
13976 pkg_cv_ELEMENTARY_ECORE_CON_LIBS="$ELEMENTARY_ECORE_CON_LIBS"
13977 elif test -n "$PKG_CONFIG"; then
13978 if test -n "$PKG_CONFIG" && \
13979 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.0.999\""; } >&5
13980 ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.0.999") 2>&5
13982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13983 test $ac_status = 0; }; then
13984 pkg_cv_ELEMENTARY_ECORE_CON_LIBS=`$PKG_CONFIG --libs "ecore-con >= 1.0.999" 2>/dev/null`
13994 if test $pkg_failed = yes; then
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13996 $as_echo "no" >&6; }
13998 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13999 _pkg_short_errors_supported=yes
14001 _pkg_short_errors_supported=no
14003 if test $_pkg_short_errors_supported = yes; then
14004 ELEMENTARY_ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-con >= 1.0.999" 2>&1`
14006 ELEMENTARY_ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-con >= 1.0.999" 2>&1`
14008 # Put the nasty error message in config.log where it belongs
14009 echo "$ELEMENTARY_ECORE_CON_PKG_ERRORS" >&5
14011 have_ecore_con="no"
14012 elif test $pkg_failed = untried; then
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14014 $as_echo "no" >&6; }
14015 have_ecore_con="no"
14017 ELEMENTARY_ECORE_CON_CFLAGS=$pkg_cv_ELEMENTARY_ECORE_CON_CFLAGS
14018 ELEMENTARY_ECORE_CON_LIBS=$pkg_cv_ELEMENTARY_ECORE_CON_LIBS
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14020 $as_echo "yes" >&6; }
14022 ELEMENTARY_ECORE_CON_INC="#include <Ecore_Con.h>"
14024 $as_echo "#define HAVE_ELEMENTARY_ECORE_CON 1" >>confdefs.h
14026 have_ecore_con="yes"
14027 requirement_elm="ecore-con >= 1.0.999 ${requirement_elm}"
14032 if test "x${have_ecore_con}" = "xyes"; then
14033 HAVE_ECORE_CON_TRUE=
14034 HAVE_ECORE_CON_FALSE='#'
14036 HAVE_ECORE_CON_TRUE='#'
14037 HAVE_ECORE_CON_FALSE=
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
14044 $as_echo_n "checking for EIO... " >&6; }
14046 if test -n "$EIO_CFLAGS"; then
14047 pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
14048 elif test -n "$PKG_CONFIG"; then
14049 if test -n "$PKG_CONFIG" && \
14050 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio\""; } >&5
14051 ($PKG_CONFIG --exists --print-errors "eio") 2>&5
14053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14054 test $ac_status = 0; }; then
14055 pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "eio" 2>/dev/null`
14062 if test -n "$EIO_LIBS"; then
14063 pkg_cv_EIO_LIBS="$EIO_LIBS"
14064 elif test -n "$PKG_CONFIG"; then
14065 if test -n "$PKG_CONFIG" && \
14066 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio\""; } >&5
14067 ($PKG_CONFIG --exists --print-errors "eio") 2>&5
14069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14070 test $ac_status = 0; }; then
14071 pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "eio" 2>/dev/null`
14081 if test $pkg_failed = yes; then
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14083 $as_echo "no" >&6; }
14085 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14086 _pkg_short_errors_supported=yes
14088 _pkg_short_errors_supported=no
14090 if test $_pkg_short_errors_supported = yes; then
14091 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eio" 2>&1`
14093 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "eio" 2>&1`
14095 # Put the nasty error message in config.log where it belongs
14096 echo "$EIO_PKG_ERRORS" >&5
14099 elif test $pkg_failed = untried; then
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14101 $as_echo "no" >&6; }
14104 EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
14105 EIO_LIBS=$pkg_cv_EIO_LIBS
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14107 $as_echo "yes" >&6; }
14111 $as_echo "#define HAVE_EIO 1" >>confdefs.h
14113 requirement_elm="eio ${requirement_elm}"
14117 if test "x${have_eio}" = "xyes"; then
14127 want_elementary_emotion="yes"
14128 # Check whether --enable-emotion was given.
14129 if test "${enable_emotion+set}" = set; then :
14130 enableval=$enable_emotion; want_elementary_emotion=$enableval
14134 if test "x$want_elementary_emotion" != "xno"; then
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMOTION" >&5
14138 $as_echo_n "checking for EMOTION... " >&6; }
14140 if test -n "$EMOTION_CFLAGS"; then
14141 pkg_cv_EMOTION_CFLAGS="$EMOTION_CFLAGS"
14142 elif test -n "$PKG_CONFIG"; then
14143 if test -n "$PKG_CONFIG" && \
14144 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"emotion\""; } >&5
14145 ($PKG_CONFIG --exists --print-errors "emotion") 2>&5
14147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14148 test $ac_status = 0; }; then
14149 pkg_cv_EMOTION_CFLAGS=`$PKG_CONFIG --cflags "emotion" 2>/dev/null`
14156 if test -n "$EMOTION_LIBS"; then
14157 pkg_cv_EMOTION_LIBS="$EMOTION_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 \"emotion\""; } >&5
14161 ($PKG_CONFIG --exists --print-errors "emotion") 2>&5
14163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14164 test $ac_status = 0; }; then
14165 pkg_cv_EMOTION_LIBS=`$PKG_CONFIG --libs "emotion" 2>/dev/null`
14175 if test $pkg_failed = yes; then
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14177 $as_echo "no" >&6; }
14179 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14180 _pkg_short_errors_supported=yes
14182 _pkg_short_errors_supported=no
14184 if test $_pkg_short_errors_supported = yes; then
14185 EMOTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "emotion" 2>&1`
14187 EMOTION_PKG_ERRORS=`$PKG_CONFIG --print-errors "emotion" 2>&1`
14189 # Put the nasty error message in config.log where it belongs
14190 echo "$EMOTION_PKG_ERRORS" >&5
14193 elif test $pkg_failed = untried; then
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14195 $as_echo "no" >&6; }
14198 EMOTION_CFLAGS=$pkg_cv_EMOTION_CFLAGS
14199 EMOTION_LIBS=$pkg_cv_EMOTION_LIBS
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14201 $as_echo "yes" >&6; }
14205 $as_echo "#define HAVE_EMOTION 1" >>confdefs.h
14207 requirement_elm="emotion ${requirement_elm}"
14212 if test "x${have_emotion}" = "xyes"; then
14214 HAVE_EMOTION_FALSE='#'
14216 HAVE_EMOTION_TRUE='#'
14217 HAVE_EMOTION_FALSE=
14221 have_elementary_x="no"
14222 want_elementary_x="auto"
14223 # Check whether --enable-ecore-x was given.
14224 if test "${enable_ecore_x+set}" = set; then :
14225 enableval=$enable_ecore_x; want_elementary_x=$enableval
14229 if test "x$want_elementary_x" != "xno"; then
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_X" >&5
14233 $as_echo_n "checking for ELEMENTARY_X... " >&6; }
14235 if test -n "$ELEMENTARY_X_CFLAGS"; then
14236 pkg_cv_ELEMENTARY_X_CFLAGS="$ELEMENTARY_X_CFLAGS"
14237 elif test -n "$PKG_CONFIG"; then
14238 if test -n "$PKG_CONFIG" && \
14239 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.0.0\""; } >&5
14240 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.0.0") 2>&5
14242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14243 test $ac_status = 0; }; then
14244 pkg_cv_ELEMENTARY_X_CFLAGS=`$PKG_CONFIG --cflags "ecore-x >= 1.0.0" 2>/dev/null`
14251 if test -n "$ELEMENTARY_X_LIBS"; then
14252 pkg_cv_ELEMENTARY_X_LIBS="$ELEMENTARY_X_LIBS"
14253 elif test -n "$PKG_CONFIG"; then
14254 if test -n "$PKG_CONFIG" && \
14255 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.0.0\""; } >&5
14256 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.0.0") 2>&5
14258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14259 test $ac_status = 0; }; then
14260 pkg_cv_ELEMENTARY_X_LIBS=`$PKG_CONFIG --libs "ecore-x >= 1.0.0" 2>/dev/null`
14270 if test $pkg_failed = yes; then
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14272 $as_echo "no" >&6; }
14274 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14275 _pkg_short_errors_supported=yes
14277 _pkg_short_errors_supported=no
14279 if test $_pkg_short_errors_supported = yes; then
14280 ELEMENTARY_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-x >= 1.0.0" 2>&1`
14282 ELEMENTARY_X_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-x >= 1.0.0" 2>&1`
14284 # Put the nasty error message in config.log where it belongs
14285 echo "$ELEMENTARY_X_PKG_ERRORS" >&5
14287 have_elementary_x="no"
14289 elif test $pkg_failed = untried; then
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14291 $as_echo "no" >&6; }
14292 have_elementary_x="no"
14295 ELEMENTARY_X_CFLAGS=$pkg_cv_ELEMENTARY_X_CFLAGS
14296 ELEMENTARY_X_LIBS=$pkg_cv_ELEMENTARY_X_LIBS
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14298 $as_echo "yes" >&6; }
14301 $as_echo "#define HAVE_ELEMENTARY_X 1" >>confdefs.h
14303 have_elementary_x="yes"
14304 requirement_elm="ecore-x >= 1.0.0 ${requirement_elm}"
14308 have_elementary_x="no"
14310 if test "x$want_elementary_x" = "xyes" -a "x$have_elementary_x" = "xno"; then
14311 as_fn_error $? "ecore-x support requested, but not found by pkg-config." "$LINENO" 5
14314 have_conformant_autoscroll="no"
14315 want_conformant_autoscroll="yes"
14316 # Check whether --enable-ecore-x was given.
14317 if test "${enable_ecore_x+set}" = set; then :
14318 enableval=$enable_ecore_x; want_conformant_autoscroll=$enableval
14322 if test "x$want_conformant_autoscroll" != "xno"; then
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_X" >&5
14326 $as_echo_n "checking for ELEMENTARY_X... " >&6; }
14328 if test -n "$ELEMENTARY_X_CFLAGS"; then
14329 pkg_cv_ELEMENTARY_X_CFLAGS="$ELEMENTARY_X_CFLAGS"
14330 elif test -n "$PKG_CONFIG"; then
14331 if test -n "$PKG_CONFIG" && \
14332 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.0.0\""; } >&5
14333 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.0.0") 2>&5
14335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14336 test $ac_status = 0; }; then
14337 pkg_cv_ELEMENTARY_X_CFLAGS=`$PKG_CONFIG --cflags "ecore-x >= 1.0.0" 2>/dev/null`
14344 if test -n "$ELEMENTARY_X_LIBS"; then
14345 pkg_cv_ELEMENTARY_X_LIBS="$ELEMENTARY_X_LIBS"
14346 elif test -n "$PKG_CONFIG"; then
14347 if test -n "$PKG_CONFIG" && \
14348 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.0.0\""; } >&5
14349 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.0.0") 2>&5
14351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14352 test $ac_status = 0; }; then
14353 pkg_cv_ELEMENTARY_X_LIBS=`$PKG_CONFIG --libs "ecore-x >= 1.0.0" 2>/dev/null`
14363 if test $pkg_failed = yes; then
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14365 $as_echo "no" >&6; }
14367 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14368 _pkg_short_errors_supported=yes
14370 _pkg_short_errors_supported=no
14372 if test $_pkg_short_errors_supported = yes; then
14373 ELEMENTARY_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-x >= 1.0.0" 2>&1`
14375 ELEMENTARY_X_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-x >= 1.0.0" 2>&1`
14377 # Put the nasty error message in config.log where it belongs
14378 echo "$ELEMENTARY_X_PKG_ERRORS" >&5
14380 have_conformant_autoscroll="no"
14382 elif test $pkg_failed = untried; then
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14384 $as_echo "no" >&6; }
14385 have_conformant_autoscroll="no"
14388 ELEMENTARY_X_CFLAGS=$pkg_cv_ELEMENTARY_X_CFLAGS
14389 ELEMENTARY_X_LIBS=$pkg_cv_ELEMENTARY_X_LIBS
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14391 $as_echo "yes" >&6; }
14394 $as_echo "#define HAVE_CONFORMANT_AUTOSCROLL 1" >>confdefs.h
14396 have_conformant_autoscroll="yes"
14397 requirement_elm="ecore-x >= 1.0.0 ${requirement_elm}"
14401 have_conformant_autoscroll="no"
14403 if test "x$want_conformant_autoscroll" = "xyes" -a "x$have_conformant_autoscroll" = "xno"; then
14404 as_fn_error $? "ecore-x support requested, but not found by pkg-config." "$LINENO" 5
14407 have_elementary_fb="no"
14408 want_elementary_fb="auto"
14409 # Check whether --enable-ecore-fb was given.
14410 if test "${enable_ecore_fb+set}" = set; then :
14411 enableval=$enable_ecore_fb; want_elementary_fb=$enableval
14415 if test "x$want_elementary_fb" != "xno"; then
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_FB" >&5
14419 $as_echo_n "checking for ELEMENTARY_FB... " >&6; }
14421 if test -n "$ELEMENTARY_FB_CFLAGS"; then
14422 pkg_cv_ELEMENTARY_FB_CFLAGS="$ELEMENTARY_FB_CFLAGS"
14423 elif test -n "$PKG_CONFIG"; then
14424 if test -n "$PKG_CONFIG" && \
14425 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.0.0\""; } >&5
14426 ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.0.0") 2>&5
14428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14429 test $ac_status = 0; }; then
14430 pkg_cv_ELEMENTARY_FB_CFLAGS=`$PKG_CONFIG --cflags "ecore-fb >= 1.0.0" 2>/dev/null`
14437 if test -n "$ELEMENTARY_FB_LIBS"; then
14438 pkg_cv_ELEMENTARY_FB_LIBS="$ELEMENTARY_FB_LIBS"
14439 elif test -n "$PKG_CONFIG"; then
14440 if test -n "$PKG_CONFIG" && \
14441 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.0.0\""; } >&5
14442 ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.0.0") 2>&5
14444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14445 test $ac_status = 0; }; then
14446 pkg_cv_ELEMENTARY_FB_LIBS=`$PKG_CONFIG --libs "ecore-fb >= 1.0.0" 2>/dev/null`
14456 if test $pkg_failed = yes; then
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14458 $as_echo "no" >&6; }
14460 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14461 _pkg_short_errors_supported=yes
14463 _pkg_short_errors_supported=no
14465 if test $_pkg_short_errors_supported = yes; then
14466 ELEMENTARY_FB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-fb >= 1.0.0" 2>&1`
14468 ELEMENTARY_FB_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-fb >= 1.0.0" 2>&1`
14470 # Put the nasty error message in config.log where it belongs
14471 echo "$ELEMENTARY_FB_PKG_ERRORS" >&5
14473 have_elementary_fb="no"
14475 elif test $pkg_failed = untried; then
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14477 $as_echo "no" >&6; }
14478 have_elementary_fb="no"
14481 ELEMENTARY_FB_CFLAGS=$pkg_cv_ELEMENTARY_FB_CFLAGS
14482 ELEMENTARY_FB_LIBS=$pkg_cv_ELEMENTARY_FB_LIBS
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14484 $as_echo "yes" >&6; }
14487 $as_echo "#define HAVE_ELEMENTARY_FB 1" >>confdefs.h
14489 have_elementary_fb="yes"
14490 requirement_elm="ecore-fb >= 1.0.0 ${requirement_elm}"
14494 have_elementary_fb="no"
14496 if test "x$want_elementary_fb" = "xyes" -a "x$have_elementary_fb" = "xno"; then
14497 as_fn_error $? "ecore-fb support requested, but not found by pkg-config." "$LINENO" 5
14500 have_elementary_psl1ght="no"
14501 want_elementary_psl1ght="auto"
14502 # Check whether --enable-ecore-psl1ght was given.
14503 if test "${enable_ecore_psl1ght+set}" = set; then :
14504 enableval=$enable_ecore_psl1ght; want_elementary_psl1ght=$enableval
14508 if test "x$want_elementary_psl1ght" != "xno"; then
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_PSL1GHT" >&5
14512 $as_echo_n "checking for ELEMENTARY_PSL1GHT... " >&6; }
14514 if test -n "$ELEMENTARY_PSL1GHT_CFLAGS"; then
14515 pkg_cv_ELEMENTARY_PSL1GHT_CFLAGS="$ELEMENTARY_PSL1GHT_CFLAGS"
14516 elif test -n "$PKG_CONFIG"; then
14517 if test -n "$PKG_CONFIG" && \
14518 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-psl1ght >= 1.0.0\""; } >&5
14519 ($PKG_CONFIG --exists --print-errors "ecore-psl1ght >= 1.0.0") 2>&5
14521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14522 test $ac_status = 0; }; then
14523 pkg_cv_ELEMENTARY_PSL1GHT_CFLAGS=`$PKG_CONFIG --cflags "ecore-psl1ght >= 1.0.0" 2>/dev/null`
14530 if test -n "$ELEMENTARY_PSL1GHT_LIBS"; then
14531 pkg_cv_ELEMENTARY_PSL1GHT_LIBS="$ELEMENTARY_PSL1GHT_LIBS"
14532 elif test -n "$PKG_CONFIG"; then
14533 if test -n "$PKG_CONFIG" && \
14534 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-psl1ght >= 1.0.0\""; } >&5
14535 ($PKG_CONFIG --exists --print-errors "ecore-psl1ght >= 1.0.0") 2>&5
14537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14538 test $ac_status = 0; }; then
14539 pkg_cv_ELEMENTARY_PSL1GHT_LIBS=`$PKG_CONFIG --libs "ecore-psl1ght >= 1.0.0" 2>/dev/null`
14549 if test $pkg_failed = yes; then
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14551 $as_echo "no" >&6; }
14553 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14554 _pkg_short_errors_supported=yes
14556 _pkg_short_errors_supported=no
14558 if test $_pkg_short_errors_supported = yes; then
14559 ELEMENTARY_PSL1GHT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-psl1ght >= 1.0.0" 2>&1`
14561 ELEMENTARY_PSL1GHT_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-psl1ght >= 1.0.0" 2>&1`
14563 # Put the nasty error message in config.log where it belongs
14564 echo "$ELEMENTARY_PSL1GHT_PKG_ERRORS" >&5
14566 have_elementary_psl1ght="no"
14568 elif test $pkg_failed = untried; then
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14570 $as_echo "no" >&6; }
14571 have_elementary_psl1ght="no"
14574 ELEMENTARY_PSL1GHT_CFLAGS=$pkg_cv_ELEMENTARY_PSL1GHT_CFLAGS
14575 ELEMENTARY_PSL1GHT_LIBS=$pkg_cv_ELEMENTARY_PSL1GHT_LIBS
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14577 $as_echo "yes" >&6; }
14580 $as_echo "#define HAVE_ELEMENTARY_PSL1GHT 1" >>confdefs.h
14582 have_elementary_psl1ght="yes"
14583 requirement_elm="ecore-psl1ght >= 1.0.0 ${requirement_elm}"
14587 have_elementary_psl1ght="no"
14589 if test "x$want_elementary_psl1ght" = "xyes" -a "x$have_elementary_psl1ght" = "xno"; then
14590 as_fn_error $? "ecore-psl1ght support requested, but not found by pkg-config." "$LINENO" 5
14593 have_elementary_sdl="no"
14594 want_elementary_sdl="auto"
14595 # Check whether --enable-ecore-sdl was given.
14596 if test "${enable_ecore_sdl+set}" = set; then :
14597 enableval=$enable_ecore_sdl; want_elementary_sdl=$enableval
14601 if test "x$want_elementary_sdl" != "xno"; then
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_SDL" >&5
14605 $as_echo_n "checking for ELEMENTARY_SDL... " >&6; }
14607 if test -n "$ELEMENTARY_SDL_CFLAGS"; then
14608 pkg_cv_ELEMENTARY_SDL_CFLAGS="$ELEMENTARY_SDL_CFLAGS"
14609 elif test -n "$PKG_CONFIG"; then
14610 if test -n "$PKG_CONFIG" && \
14611 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-sdl >= 1.0.0\""; } >&5
14612 ($PKG_CONFIG --exists --print-errors "ecore-sdl >= 1.0.0") 2>&5
14614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14615 test $ac_status = 0; }; then
14616 pkg_cv_ELEMENTARY_SDL_CFLAGS=`$PKG_CONFIG --cflags "ecore-sdl >= 1.0.0" 2>/dev/null`
14623 if test -n "$ELEMENTARY_SDL_LIBS"; then
14624 pkg_cv_ELEMENTARY_SDL_LIBS="$ELEMENTARY_SDL_LIBS"
14625 elif test -n "$PKG_CONFIG"; then
14626 if test -n "$PKG_CONFIG" && \
14627 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-sdl >= 1.0.0\""; } >&5
14628 ($PKG_CONFIG --exists --print-errors "ecore-sdl >= 1.0.0") 2>&5
14630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14631 test $ac_status = 0; }; then
14632 pkg_cv_ELEMENTARY_SDL_LIBS=`$PKG_CONFIG --libs "ecore-sdl >= 1.0.0" 2>/dev/null`
14642 if test $pkg_failed = yes; then
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14644 $as_echo "no" >&6; }
14646 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14647 _pkg_short_errors_supported=yes
14649 _pkg_short_errors_supported=no
14651 if test $_pkg_short_errors_supported = yes; then
14652 ELEMENTARY_SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-sdl >= 1.0.0" 2>&1`
14654 ELEMENTARY_SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-sdl >= 1.0.0" 2>&1`
14656 # Put the nasty error message in config.log where it belongs
14657 echo "$ELEMENTARY_SDL_PKG_ERRORS" >&5
14659 have_elementary_sdl="no"
14661 elif test $pkg_failed = untried; then
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14663 $as_echo "no" >&6; }
14664 have_elementary_sdl="no"
14667 ELEMENTARY_SDL_CFLAGS=$pkg_cv_ELEMENTARY_SDL_CFLAGS
14668 ELEMENTARY_SDL_LIBS=$pkg_cv_ELEMENTARY_SDL_LIBS
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14670 $as_echo "yes" >&6; }
14673 $as_echo "#define HAVE_ELEMENTARY_SDL 1" >>confdefs.h
14675 have_elementary_sdl="yes"
14676 requirement_elm="ecore-sdl >= 1.0.0 ${requirement_elm}"
14680 have_elementary_sdl="no"
14682 if test "x$want_elementary_sdl" = "xyes" -a "x$have_elementary_sdl" = "xno"; then
14683 as_fn_error $? "ecore-sdl support requested, but not found by pkg-config." "$LINENO" 5
14686 have_elementary_cocoa="no"
14687 want_elementary_cocoa="auto"
14688 # Check whether --enable-ecore-cocoa was given.
14689 if test "${enable_ecore_cocoa+set}" = set; then :
14690 enableval=$enable_ecore_cocoa; want_elementary_cocoa=$enableval
14694 if test "x$want_elementary_cocoa" != "xno"; then
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_COCOA" >&5
14698 $as_echo_n "checking for ELEMENTARY_COCOA... " >&6; }
14700 if test -n "$ELEMENTARY_COCOA_CFLAGS"; then
14701 pkg_cv_ELEMENTARY_COCOA_CFLAGS="$ELEMENTARY_COCOA_CFLAGS"
14702 elif test -n "$PKG_CONFIG"; then
14703 if test -n "$PKG_CONFIG" && \
14704 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-cocoa >= 1.0.0\""; } >&5
14705 ($PKG_CONFIG --exists --print-errors "ecore-cocoa >= 1.0.0") 2>&5
14707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14708 test $ac_status = 0; }; then
14709 pkg_cv_ELEMENTARY_COCOA_CFLAGS=`$PKG_CONFIG --cflags "ecore-cocoa >= 1.0.0" 2>/dev/null`
14716 if test -n "$ELEMENTARY_COCOA_LIBS"; then
14717 pkg_cv_ELEMENTARY_COCOA_LIBS="$ELEMENTARY_COCOA_LIBS"
14718 elif test -n "$PKG_CONFIG"; then
14719 if test -n "$PKG_CONFIG" && \
14720 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-cocoa >= 1.0.0\""; } >&5
14721 ($PKG_CONFIG --exists --print-errors "ecore-cocoa >= 1.0.0") 2>&5
14723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14724 test $ac_status = 0; }; then
14725 pkg_cv_ELEMENTARY_COCOA_LIBS=`$PKG_CONFIG --libs "ecore-cocoa >= 1.0.0" 2>/dev/null`
14735 if test $pkg_failed = yes; then
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14737 $as_echo "no" >&6; }
14739 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14740 _pkg_short_errors_supported=yes
14742 _pkg_short_errors_supported=no
14744 if test $_pkg_short_errors_supported = yes; then
14745 ELEMENTARY_COCOA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-cocoa >= 1.0.0" 2>&1`
14747 ELEMENTARY_COCOA_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-cocoa >= 1.0.0" 2>&1`
14749 # Put the nasty error message in config.log where it belongs
14750 echo "$ELEMENTARY_COCOA_PKG_ERRORS" >&5
14752 have_elementary_cocoa="no"
14754 elif test $pkg_failed = untried; then
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14756 $as_echo "no" >&6; }
14757 have_elementary_cocoa="no"
14760 ELEMENTARY_COCOA_CFLAGS=$pkg_cv_ELEMENTARY_COCOA_CFLAGS
14761 ELEMENTARY_COCOA_LIBS=$pkg_cv_ELEMENTARY_COCOA_LIBS
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14763 $as_echo "yes" >&6; }
14766 $as_echo "#define HAVE_ELEMENTARY_COCOA 1" >>confdefs.h
14768 have_elementary_cocoa="yes"
14769 requirement_elm="ecore-cocoa >= 1.0.0 ${requirement_elm}"
14773 have_elementary_cocoa="no"
14775 if test "x$want_elementary_cocoa" = "xyes" -a "x$have_elementary_cocoa" = "xno"; then
14776 as_fn_error $? "ecore-cocoa support requested, but not found by pkg-config." "$LINENO" 5
14779 have_elementary_win32="no"
14780 want_elementary_win32="auto"
14781 # Check whether --enable-ecore-win32 was given.
14782 if test "${enable_ecore_win32+set}" = set; then :
14783 enableval=$enable_ecore_win32; want_elementary_win32=$enableval
14787 if test "x$want_elementary_win32" != "xno"; then
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_WIN32" >&5
14791 $as_echo_n "checking for ELEMENTARY_WIN32... " >&6; }
14793 if test -n "$ELEMENTARY_WIN32_CFLAGS"; then
14794 pkg_cv_ELEMENTARY_WIN32_CFLAGS="$ELEMENTARY_WIN32_CFLAGS"
14795 elif test -n "$PKG_CONFIG"; then
14796 if test -n "$PKG_CONFIG" && \
14797 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-win32 >= 1.0.0\""; } >&5
14798 ($PKG_CONFIG --exists --print-errors "ecore-win32 >= 1.0.0") 2>&5
14800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14801 test $ac_status = 0; }; then
14802 pkg_cv_ELEMENTARY_WIN32_CFLAGS=`$PKG_CONFIG --cflags "ecore-win32 >= 1.0.0" 2>/dev/null`
14809 if test -n "$ELEMENTARY_WIN32_LIBS"; then
14810 pkg_cv_ELEMENTARY_WIN32_LIBS="$ELEMENTARY_WIN32_LIBS"
14811 elif test -n "$PKG_CONFIG"; then
14812 if test -n "$PKG_CONFIG" && \
14813 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-win32 >= 1.0.0\""; } >&5
14814 ($PKG_CONFIG --exists --print-errors "ecore-win32 >= 1.0.0") 2>&5
14816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14817 test $ac_status = 0; }; then
14818 pkg_cv_ELEMENTARY_WIN32_LIBS=`$PKG_CONFIG --libs "ecore-win32 >= 1.0.0" 2>/dev/null`
14828 if test $pkg_failed = yes; then
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14830 $as_echo "no" >&6; }
14832 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14833 _pkg_short_errors_supported=yes
14835 _pkg_short_errors_supported=no
14837 if test $_pkg_short_errors_supported = yes; then
14838 ELEMENTARY_WIN32_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-win32 >= 1.0.0" 2>&1`
14840 ELEMENTARY_WIN32_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-win32 >= 1.0.0" 2>&1`
14842 # Put the nasty error message in config.log where it belongs
14843 echo "$ELEMENTARY_WIN32_PKG_ERRORS" >&5
14845 have_elementary_win32="no"
14847 elif test $pkg_failed = untried; then
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14849 $as_echo "no" >&6; }
14850 have_elementary_win32="no"
14853 ELEMENTARY_WIN32_CFLAGS=$pkg_cv_ELEMENTARY_WIN32_CFLAGS
14854 ELEMENTARY_WIN32_LIBS=$pkg_cv_ELEMENTARY_WIN32_LIBS
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14856 $as_echo "yes" >&6; }
14859 $as_echo "#define HAVE_ELEMENTARY_WIN32 1" >>confdefs.h
14861 have_elementary_win32="yes"
14862 requirement_elm="ecore-win32 >= 1.0.0 ${requirement_elm}"
14866 have_elementary_win32="no"
14868 if test "x$want_elementary_win32" = "xyes" -a "x$have_elementary_win32" = "xno"; then
14869 as_fn_error $? "ecore-win32 support requested, but not found by pkg-config." "$LINENO" 5
14872 have_elementary_wince="no"
14873 want_elementary_wince="auto"
14874 # Check whether --enable-ecore-wince was given.
14875 if test "${enable_ecore_wince+set}" = set; then :
14876 enableval=$enable_ecore_wince; want_elementary_wince=$enableval
14880 if test "x$want_elementary_wince" != "xno"; then
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_WINCE" >&5
14884 $as_echo_n "checking for ELEMENTARY_WINCE... " >&6; }
14886 if test -n "$ELEMENTARY_WINCE_CFLAGS"; then
14887 pkg_cv_ELEMENTARY_WINCE_CFLAGS="$ELEMENTARY_WINCE_CFLAGS"
14888 elif test -n "$PKG_CONFIG"; then
14889 if test -n "$PKG_CONFIG" && \
14890 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-wince >= 1.0.0\""; } >&5
14891 ($PKG_CONFIG --exists --print-errors "ecore-wince >= 1.0.0") 2>&5
14893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14894 test $ac_status = 0; }; then
14895 pkg_cv_ELEMENTARY_WINCE_CFLAGS=`$PKG_CONFIG --cflags "ecore-wince >= 1.0.0" 2>/dev/null`
14902 if test -n "$ELEMENTARY_WINCE_LIBS"; then
14903 pkg_cv_ELEMENTARY_WINCE_LIBS="$ELEMENTARY_WINCE_LIBS"
14904 elif test -n "$PKG_CONFIG"; then
14905 if test -n "$PKG_CONFIG" && \
14906 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-wince >= 1.0.0\""; } >&5
14907 ($PKG_CONFIG --exists --print-errors "ecore-wince >= 1.0.0") 2>&5
14909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14910 test $ac_status = 0; }; then
14911 pkg_cv_ELEMENTARY_WINCE_LIBS=`$PKG_CONFIG --libs "ecore-wince >= 1.0.0" 2>/dev/null`
14921 if test $pkg_failed = yes; then
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14923 $as_echo "no" >&6; }
14925 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14926 _pkg_short_errors_supported=yes
14928 _pkg_short_errors_supported=no
14930 if test $_pkg_short_errors_supported = yes; then
14931 ELEMENTARY_WINCE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-wince >= 1.0.0" 2>&1`
14933 ELEMENTARY_WINCE_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-wince >= 1.0.0" 2>&1`
14935 # Put the nasty error message in config.log where it belongs
14936 echo "$ELEMENTARY_WINCE_PKG_ERRORS" >&5
14938 have_elementary_wince="no"
14940 elif test $pkg_failed = untried; then
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14942 $as_echo "no" >&6; }
14943 have_elementary_wince="no"
14946 ELEMENTARY_WINCE_CFLAGS=$pkg_cv_ELEMENTARY_WINCE_CFLAGS
14947 ELEMENTARY_WINCE_LIBS=$pkg_cv_ELEMENTARY_WINCE_LIBS
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14949 $as_echo "yes" >&6; }
14952 $as_echo "#define HAVE_ELEMENTARY_WINCE 1" >>confdefs.h
14954 have_elementary_wince="yes"
14955 requirement_elm="ecore-wince >= 1.0.0 ${requirement_elm}"
14959 have_elementary_wince="no"
14961 if test "x$want_elementary_wince" = "xyes" -a "x$have_elementary_wince" = "xno"; then
14962 as_fn_error $? "ecore-wince support requested, but not found by pkg-config." "$LINENO" 5
14965 ELM_EDBUS_DEF="#undef"
14966 have_elementary_edbus="no"
14967 want_elementary_edbus="auto"
14968 # Check whether --enable-edbus was given.
14969 if test "${enable_edbus+set}" = set; then :
14970 enableval=$enable_edbus; want_elementary_edbus=$enableval
14974 if test "x$want_elementary_edbus" != "xno"; then
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EDBUS" >&5
14978 $as_echo_n "checking for ELEMENTARY_EDBUS... " >&6; }
14980 if test -n "$ELEMENTARY_EDBUS_CFLAGS"; then
14981 pkg_cv_ELEMENTARY_EDBUS_CFLAGS="$ELEMENTARY_EDBUS_CFLAGS"
14982 elif test -n "$PKG_CONFIG"; then
14983 if test -n "$PKG_CONFIG" && \
14984 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14987 ($PKG_CONFIG --exists --print-errors "
14991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14992 test $ac_status = 0; }; then
14993 pkg_cv_ELEMENTARY_EDBUS_CFLAGS=`$PKG_CONFIG --cflags "
15002 if test -n "$ELEMENTARY_EDBUS_LIBS"; then
15003 pkg_cv_ELEMENTARY_EDBUS_LIBS="$ELEMENTARY_EDBUS_LIBS"
15004 elif test -n "$PKG_CONFIG"; then
15005 if test -n "$PKG_CONFIG" && \
15006 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15009 ($PKG_CONFIG --exists --print-errors "
15013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15014 test $ac_status = 0; }; then
15015 pkg_cv_ELEMENTARY_EDBUS_LIBS=`$PKG_CONFIG --libs "
15027 if test $pkg_failed = yes; then
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15029 $as_echo "no" >&6; }
15031 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15032 _pkg_short_errors_supported=yes
15034 _pkg_short_errors_supported=no
15036 if test $_pkg_short_errors_supported = yes; then
15037 ELEMENTARY_EDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15041 ELEMENTARY_EDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15045 # Put the nasty error message in config.log where it belongs
15046 echo "$ELEMENTARY_EDBUS_PKG_ERRORS" >&5
15048 have_elementary_edbus="no"
15050 elif test $pkg_failed = untried; then
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15052 $as_echo "no" >&6; }
15053 have_elementary_edbus="no"
15056 ELEMENTARY_EDBUS_CFLAGS=$pkg_cv_ELEMENTARY_EDBUS_CFLAGS
15057 ELEMENTARY_EDBUS_LIBS=$pkg_cv_ELEMENTARY_EDBUS_LIBS
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15059 $as_echo "yes" >&6; }
15062 $as_echo "#define HAVE_ELEMENTARY_EDBUS 1" >>confdefs.h
15064 have_elementary_edbus="yes"
15065 ELM_EDBUS_DEF="#define"
15066 requirement_elm="edbus >= 1.0.0 ${requirement_elm}"
15070 have_elementary_edbus="no"
15072 if test "x$want_elementary_edbus" = "xyes" -a "x$have_elementary_edbus" = "xno"; then
15073 as_fn_error $? "E_DBus support requested, but no e_dbus found by pkg-config." "$LINENO" 5
15077 ELM_EFREET_DEF="#undef"
15078 have_elementary_efreet="no"
15079 want_elementary_efreet="auto"
15080 # Check whether --enable-efreet was given.
15081 if test "${enable_efreet+set}" = set; then :
15082 enableval=$enable_efreet; want_elementary_efreet=$enableval
15086 if test "x$want_elementary_efreet" != "xno"; then
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EFREET" >&5
15090 $as_echo_n "checking for ELEMENTARY_EFREET... " >&6; }
15092 if test -n "$ELEMENTARY_EFREET_CFLAGS"; then
15093 pkg_cv_ELEMENTARY_EFREET_CFLAGS="$ELEMENTARY_EFREET_CFLAGS"
15094 elif test -n "$PKG_CONFIG"; then
15095 if test -n "$PKG_CONFIG" && \
15096 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15098 efreet-mime >= 1.0.0
15099 efreet-trash >= 1.0.0
15101 ($PKG_CONFIG --exists --print-errors "
15103 efreet-mime >= 1.0.0
15104 efreet-trash >= 1.0.0
15107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15108 test $ac_status = 0; }; then
15109 pkg_cv_ELEMENTARY_EFREET_CFLAGS=`$PKG_CONFIG --cflags "
15111 efreet-mime >= 1.0.0
15112 efreet-trash >= 1.0.0
15120 if test -n "$ELEMENTARY_EFREET_LIBS"; then
15121 pkg_cv_ELEMENTARY_EFREET_LIBS="$ELEMENTARY_EFREET_LIBS"
15122 elif test -n "$PKG_CONFIG"; then
15123 if test -n "$PKG_CONFIG" && \
15124 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15126 efreet-mime >= 1.0.0
15127 efreet-trash >= 1.0.0
15129 ($PKG_CONFIG --exists --print-errors "
15131 efreet-mime >= 1.0.0
15132 efreet-trash >= 1.0.0
15135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15136 test $ac_status = 0; }; then
15137 pkg_cv_ELEMENTARY_EFREET_LIBS=`$PKG_CONFIG --libs "
15139 efreet-mime >= 1.0.0
15140 efreet-trash >= 1.0.0
15151 if test $pkg_failed = yes; then
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15153 $as_echo "no" >&6; }
15155 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15156 _pkg_short_errors_supported=yes
15158 _pkg_short_errors_supported=no
15160 if test $_pkg_short_errors_supported = yes; then
15161 ELEMENTARY_EFREET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15163 efreet-mime >= 1.0.0
15164 efreet-trash >= 1.0.0
15167 ELEMENTARY_EFREET_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15169 efreet-mime >= 1.0.0
15170 efreet-trash >= 1.0.0
15173 # Put the nasty error message in config.log where it belongs
15174 echo "$ELEMENTARY_EFREET_PKG_ERRORS" >&5
15176 have_elementary_efreet="no"
15178 elif test $pkg_failed = untried; then
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15180 $as_echo "no" >&6; }
15181 have_elementary_efreet="no"
15184 ELEMENTARY_EFREET_CFLAGS=$pkg_cv_ELEMENTARY_EFREET_CFLAGS
15185 ELEMENTARY_EFREET_LIBS=$pkg_cv_ELEMENTARY_EFREET_LIBS
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15187 $as_echo "yes" >&6; }
15190 $as_echo "#define HAVE_ELEMENTARY_EFREET 1" >>confdefs.h
15192 have_elementary_efreet="yes"
15193 ELM_EFREET_DEF="#define"
15194 requirement_elm="efreet >= 1.0.0 efreet-mime >= 1.0.0 efreet-trash >= 1.0.0 ${requirement_elm}"
15198 have_elementary_efreet="no"
15200 if test "x$want_elementary_efreet" = "xyes" -a "x$have_elementary_efreet" = "xno"; then
15201 as_fn_error $? "Efreet support requested, but no efreet/efreet-mime/efreet-trash found by pkg-config." "$LINENO" 5
15205 ELM_EWEATHER_DEF="#undef"
15206 have_elementary_eweather="no"
15207 want_elementary_eweather="auto"
15208 # Check whether --enable-eweather was given.
15209 if test "${enable_eweather+set}" = set; then :
15210 enableval=$enable_eweather; want_elementary_eweather=$enableval
15214 if test "x$want_elementary_eweather" != "xno"; then
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EWEATHER" >&5
15218 $as_echo_n "checking for ELEMENTARY_EWEATHER... " >&6; }
15220 if test -n "$ELEMENTARY_EWEATHER_CFLAGS"; then
15221 pkg_cv_ELEMENTARY_EWEATHER_CFLAGS="$ELEMENTARY_EWEATHER_CFLAGS"
15222 elif test -n "$PKG_CONFIG"; then
15223 if test -n "$PKG_CONFIG" && \
15224 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15227 ($PKG_CONFIG --exists --print-errors "
15231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15232 test $ac_status = 0; }; then
15233 pkg_cv_ELEMENTARY_EWEATHER_CFLAGS=`$PKG_CONFIG --cflags "
15242 if test -n "$ELEMENTARY_EWEATHER_LIBS"; then
15243 pkg_cv_ELEMENTARY_EWEATHER_LIBS="$ELEMENTARY_EWEATHER_LIBS"
15244 elif test -n "$PKG_CONFIG"; then
15245 if test -n "$PKG_CONFIG" && \
15246 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15249 ($PKG_CONFIG --exists --print-errors "
15253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15254 test $ac_status = 0; }; then
15255 pkg_cv_ELEMENTARY_EWEATHER_LIBS=`$PKG_CONFIG --libs "
15267 if test $pkg_failed = yes; then
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15269 $as_echo "no" >&6; }
15271 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15272 _pkg_short_errors_supported=yes
15274 _pkg_short_errors_supported=no
15276 if test $_pkg_short_errors_supported = yes; then
15277 ELEMENTARY_EWEATHER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15281 ELEMENTARY_EWEATHER_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15285 # Put the nasty error message in config.log where it belongs
15286 echo "$ELEMENTARY_EWEATHER_PKG_ERRORS" >&5
15288 have_elementary_eweather="no"
15290 elif test $pkg_failed = untried; then
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15292 $as_echo "no" >&6; }
15293 have_elementary_eweather="no"
15296 ELEMENTARY_EWEATHER_CFLAGS=$pkg_cv_ELEMENTARY_EWEATHER_CFLAGS
15297 ELEMENTARY_EWEATHER_LIBS=$pkg_cv_ELEMENTARY_EWEATHER_LIBS
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15299 $as_echo "yes" >&6; }
15302 $as_echo "#define HAVE_ELEMENTARY_EWEATHER 1" >>confdefs.h
15304 have_elementary_eweather="yes"
15305 ELM_EWEATHER_DEF="#define"
15306 requirement_elm="eweather ${requirement_elm}"
15310 have_elementary_eweather="no"
15312 if test "x$want_elementary_eweather" = "xyes" -a "x$have_elementary_eweather" = "xno"; then
15313 as_fn_error $? "Eweather support requested, but no eweather found by pkg-config." "$LINENO" 5
15317 ELM_EMAP_DEF="#undef"
15318 have_elementary_emap="no"
15319 want_elementary_emap="auto"
15320 # Check whether --enable-emap was given.
15321 if test "${enable_emap+set}" = set; then :
15322 enableval=$enable_emap; want_elementary_emap=$enableval
15326 if test "x$want_elementary_emap" != "xno"; then
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EMAP" >&5
15330 $as_echo_n "checking for ELEMENTARY_EMAP... " >&6; }
15332 if test -n "$ELEMENTARY_EMAP_CFLAGS"; then
15333 pkg_cv_ELEMENTARY_EMAP_CFLAGS="$ELEMENTARY_EMAP_CFLAGS"
15334 elif test -n "$PKG_CONFIG"; then
15335 if test -n "$PKG_CONFIG" && \
15336 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15339 ($PKG_CONFIG --exists --print-errors "
15343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15344 test $ac_status = 0; }; then
15345 pkg_cv_ELEMENTARY_EMAP_CFLAGS=`$PKG_CONFIG --cflags "
15354 if test -n "$ELEMENTARY_EMAP_LIBS"; then
15355 pkg_cv_ELEMENTARY_EMAP_LIBS="$ELEMENTARY_EMAP_LIBS"
15356 elif test -n "$PKG_CONFIG"; then
15357 if test -n "$PKG_CONFIG" && \
15358 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15361 ($PKG_CONFIG --exists --print-errors "
15365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15366 test $ac_status = 0; }; then
15367 pkg_cv_ELEMENTARY_EMAP_LIBS=`$PKG_CONFIG --libs "
15379 if test $pkg_failed = yes; then
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15381 $as_echo "no" >&6; }
15383 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15384 _pkg_short_errors_supported=yes
15386 _pkg_short_errors_supported=no
15388 if test $_pkg_short_errors_supported = yes; then
15389 ELEMENTARY_EMAP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15393 ELEMENTARY_EMAP_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15397 # Put the nasty error message in config.log where it belongs
15398 echo "$ELEMENTARY_EMAP_PKG_ERRORS" >&5
15400 have_elementary_emap="no"
15402 elif test $pkg_failed = untried; then
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15404 $as_echo "no" >&6; }
15405 have_elementary_emap="no"
15408 ELEMENTARY_EMAP_CFLAGS=$pkg_cv_ELEMENTARY_EMAP_CFLAGS
15409 ELEMENTARY_EMAP_LIBS=$pkg_cv_ELEMENTARY_EMAP_LIBS
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15411 $as_echo "yes" >&6; }
15414 $as_echo "#define HAVE_ELEMENTARY_EMAP 1" >>confdefs.h
15416 have_elementary_emap="yes"
15417 ELM_EMAP_DEF="#define"
15418 requirement_elm="emap ${requirement_elm}"
15422 have_elementary_emap="no"
15424 if test "x$want_elementary_emap" = "xyes" -a "x$have_elementary_emap" = "xno"; then
15425 as_fn_error $? "Emap support requested, but no emap found by pkg-config." "$LINENO" 5
15431 ELM_ETHUMB_DEF="#undef"
15432 have_elementary_ethumb="no"
15433 want_elementary_ethumb="auto"
15434 # Check whether --enable-ethumb was given.
15435 if test "${enable_ethumb+set}" = set; then :
15436 enableval=$enable_ethumb; want_elementary_ethumb=$enableval
15440 if test "x$want_elementary_ethumb" != "xno"; then
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_ETHUMB" >&5
15444 $as_echo_n "checking for ELEMENTARY_ETHUMB... " >&6; }
15446 if test -n "$ELEMENTARY_ETHUMB_CFLAGS"; then
15447 pkg_cv_ELEMENTARY_ETHUMB_CFLAGS="$ELEMENTARY_ETHUMB_CFLAGS"
15448 elif test -n "$PKG_CONFIG"; then
15449 if test -n "$PKG_CONFIG" && \
15450 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15453 ($PKG_CONFIG --exists --print-errors "
15457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15458 test $ac_status = 0; }; then
15459 pkg_cv_ELEMENTARY_ETHUMB_CFLAGS=`$PKG_CONFIG --cflags "
15468 if test -n "$ELEMENTARY_ETHUMB_LIBS"; then
15469 pkg_cv_ELEMENTARY_ETHUMB_LIBS="$ELEMENTARY_ETHUMB_LIBS"
15470 elif test -n "$PKG_CONFIG"; then
15471 if test -n "$PKG_CONFIG" && \
15472 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15475 ($PKG_CONFIG --exists --print-errors "
15479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15480 test $ac_status = 0; }; then
15481 pkg_cv_ELEMENTARY_ETHUMB_LIBS=`$PKG_CONFIG --libs "
15493 if test $pkg_failed = yes; then
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15495 $as_echo "no" >&6; }
15497 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15498 _pkg_short_errors_supported=yes
15500 _pkg_short_errors_supported=no
15502 if test $_pkg_short_errors_supported = yes; then
15503 ELEMENTARY_ETHUMB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15507 ELEMENTARY_ETHUMB_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15511 # Put the nasty error message in config.log where it belongs
15512 echo "$ELEMENTARY_ETHUMB_PKG_ERRORS" >&5
15514 have_elementary_ethumb="no"
15516 elif test $pkg_failed = untried; then
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15518 $as_echo "no" >&6; }
15519 have_elementary_ethumb="no"
15522 ELEMENTARY_ETHUMB_CFLAGS=$pkg_cv_ELEMENTARY_ETHUMB_CFLAGS
15523 ELEMENTARY_ETHUMB_LIBS=$pkg_cv_ELEMENTARY_ETHUMB_LIBS
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15525 $as_echo "yes" >&6; }
15528 $as_echo "#define HAVE_ELEMENTARY_ETHUMB 1" >>confdefs.h
15530 have_elementary_ethumb="yes"
15531 ELM_ETHUMB_DEF="#define"
15532 requirement_elm="ethumb_client ${requirement_elm}"
15536 have_elementary_ethumb="no"
15538 if test "x$want_elementary_ethumb" = "xyes" -a "x$have_elementary_ethumb" = "xno"; then
15539 as_fn_error $? "Ethumb support requested, but no ethumb found by pkg-config." "$LINENO" 5
15543 ELM_WEB_DEF="#undef"
15544 have_elementary_web="no"
15545 want_elementary_web="auto"
15546 # Check whether --enable-web was given.
15547 if test "${enable_web+set}" = set; then :
15548 enableval=$enable_web; want_elementary_web=$enableval
15552 if test "x$want_elementary_web" != "xno"; then
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_WEB" >&5
15556 $as_echo_n "checking for ELEMENTARY_WEB... " >&6; }
15558 if test -n "$ELEMENTARY_WEB_CFLAGS"; then
15559 pkg_cv_ELEMENTARY_WEB_CFLAGS="$ELEMENTARY_WEB_CFLAGS"
15560 elif test -n "$PKG_CONFIG"; then
15561 if test -n "$PKG_CONFIG" && \
15562 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15565 ($PKG_CONFIG --exists --print-errors "
15569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15570 test $ac_status = 0; }; then
15571 pkg_cv_ELEMENTARY_WEB_CFLAGS=`$PKG_CONFIG --cflags "
15580 if test -n "$ELEMENTARY_WEB_LIBS"; then
15581 pkg_cv_ELEMENTARY_WEB_LIBS="$ELEMENTARY_WEB_LIBS"
15582 elif test -n "$PKG_CONFIG"; then
15583 if test -n "$PKG_CONFIG" && \
15584 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15587 ($PKG_CONFIG --exists --print-errors "
15591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15592 test $ac_status = 0; }; then
15593 pkg_cv_ELEMENTARY_WEB_LIBS=`$PKG_CONFIG --libs "
15605 if test $pkg_failed = yes; then
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15607 $as_echo "no" >&6; }
15609 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15610 _pkg_short_errors_supported=yes
15612 _pkg_short_errors_supported=no
15614 if test $_pkg_short_errors_supported = yes; then
15615 ELEMENTARY_WEB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15619 ELEMENTARY_WEB_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15623 # Put the nasty error message in config.log where it belongs
15624 echo "$ELEMENTARY_WEB_PKG_ERRORS" >&5
15626 have_elementary_web="no"
15628 elif test $pkg_failed = untried; then
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15630 $as_echo "no" >&6; }
15631 have_elementary_web="no"
15634 ELEMENTARY_WEB_CFLAGS=$pkg_cv_ELEMENTARY_WEB_CFLAGS
15635 ELEMENTARY_WEB_LIBS=$pkg_cv_ELEMENTARY_WEB_LIBS
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15637 $as_echo "yes" >&6; }
15640 $as_echo "#define HAVE_ELEMENTARY_WEB 1" >>confdefs.h
15642 webkit_datadir=$($PKG_CONFIG ewebkit --variable=datadir)
15644 cat >>confdefs.h <<_ACEOF
15645 #define WEBKIT_DATADIR "$webkit_datadir"
15648 have_elementary_web="yes"
15649 ELM_WEB_DEF="#define"
15650 ## web_client? how about ewebkit? at least in current upstreak webkit
15651 ## there is no web_client.pc
15652 # requirement_elm="web_client ${requirement_elm}"
15653 requirement_elm="ewebkit ${requirement_elm}"
15657 have_elementary_web="no"
15659 if test "x$want_elementary_web" = "xyes" -a "x$have_elementary_web" = "xno"; then
15660 as_fn_error $? "Web support requested, but no ewebkit found by pkg-config." "$LINENO" 5
15664 ELM_DEBUG_DEF="#undef"
15665 want_elementary_debug="no"
15666 # Check whether --enable-debug was given.
15667 if test "${enable_debug+set}" = set; then :
15668 enableval=$enable_debug; want_elementary_debug=$enableval
15672 if test "x$want_elementary_debug" = "xyes"; then
15674 $as_echo "#define HAVE_ELEMENTARY_DEBUG 1" >>confdefs.h
15676 ELM_DEBUG_DEF="#define"
15680 ELM_ALLOCA_H_DEF="#undef"
15681 ac_fn_c_check_header_mongrel "$LINENO" "alloca.h" "ac_cv_header_alloca_h" "$ac_includes_default"
15682 if test "x$ac_cv_header_alloca_h" = x""yes; then :
15683 ELM_ALLOCA_H_DEF="#define"
15689 ELM_LIBINTL_H_DEF="#undef"
15690 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15691 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15692 ELM_LIBINTL_H_DEF="#define"
15698 ELM_DIRENT_H_DEF="#undef"
15699 ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
15700 if test "x$ac_cv_header_dirent_h" = x""yes; then :
15701 ELM_DIRENT_H_DEF="#define"
15707 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
15708 if test "x$ac_cv_header_sys_mman_h" = x""yes; then :
15715 if test "x${have_mman}" = "xyes"; then
15717 $as_echo "#define HAVE_MMAN_H 1" >>confdefs.h
15730 # Check whether --with-eet-eet was given.
15731 if test "${with_eet_eet+set}" = set; then :
15732 withval=$with_eet_eet; _efl_with_binary=${withval}
15734 _efl_with_binary=$(pkg-config --variable=prefix eet)/bin/eet
15738 eet_eet=${_efl_with_binary}
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: eet_eet set to ${_efl_with_binary}" >&5
15740 $as_echo "$as_me: eet_eet set to ${_efl_with_binary}" >&6;}
15742 with_binary_eet_eet=${_efl_with_binary}
15752 # Check whether --with-edje-cc was given.
15753 if test "${with_edje_cc+set}" = set; then :
15754 withval=$with_edje_cc; _efl_with_binary=${withval}
15756 _efl_with_binary=$(pkg-config --variable=prefix edje)/bin/edje_cc
15760 edje_cc=${_efl_with_binary}
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: edje_cc set to ${_efl_with_binary}" >&5
15762 $as_echo "$as_me: edje_cc set to ${_efl_with_binary}" >&6;}
15764 with_binary_edje_cc=${_efl_with_binary}
15772 # Check whether --enable-doc was given.
15773 if test "${enable_doc+set}" = set; then :
15774 enableval=$enable_doc;
15775 if test "x${enableval}" = "xyes" ; then
15776 efl_enable_doc="yes"
15778 efl_enable_doc="no"
15782 efl_enable_doc="yes"
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
15787 $as_echo_n "checking whether to build documentation... " >&6; }
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
15789 $as_echo "${efl_enable_doc}" >&6; }
15791 if test "x${efl_enable_doc}" = "xyes" ; then
15794 efl_doxygen="doxygen"
15797 # Check whether --with-doxygen was given.
15798 if test "${with_doxygen+set}" = set; then :
15799 withval=$with_doxygen; efl_doxygen=${withval}
15800 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
15801 set dummy ${efl_doxygen}; ac_word=$2
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15803 $as_echo_n "checking for $ac_word... " >&6; }
15804 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
15805 $as_echo_n "(cached) " >&6
15807 if test -n "$efl_have_doxygen"; then
15808 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
15810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15811 for as_dir in $PATH
15814 test -z "$as_dir" && as_dir=.
15815 for ac_exec_ext in '' $ac_executable_extensions; do
15816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15817 ac_cv_prog_efl_have_doxygen="yes"
15818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15825 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
15828 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
15829 if test -n "$efl_have_doxygen"; then
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
15831 $as_echo "$efl_have_doxygen" >&6; }
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15834 $as_echo "no" >&6; }
15838 if test "x${efl_have_doxygen}" = "xno" ; then
15840 echo "The doxygen program you specified:"
15841 echo "${efl_doxygen}"
15842 echo "was not found. Please check the path and make sure "
15843 echo "the program exists and is executable."
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
15845 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
15849 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
15850 set dummy ${efl_doxygen}; ac_word=$2
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15852 $as_echo_n "checking for $ac_word... " >&6; }
15853 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
15854 $as_echo_n "(cached) " >&6
15856 if test -n "$efl_have_doxygen"; then
15857 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
15859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15860 for as_dir in $PATH
15863 test -z "$as_dir" && as_dir=.
15864 for ac_exec_ext in '' $ac_executable_extensions; do
15865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15866 ac_cv_prog_efl_have_doxygen="yes"
15867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15874 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
15877 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
15878 if test -n "$efl_have_doxygen"; then
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
15880 $as_echo "$efl_have_doxygen" >&6; }
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15883 $as_echo "no" >&6; }
15887 if test "x${efl_have_doxygen}" = "xno" ; then
15889 echo "The doxygen program was not found in your execute path."
15890 echo "You may have doxygen installed somewhere not covered by your path."
15892 echo "If this is the case make sure you have the packages installed, AND"
15893 echo "that the doxygen program is in your execute path (see your"
15894 echo "shell manual page on setting the \$PATH environment variable), OR"
15895 echo "alternatively, specify the program to use with --with-doxygen."
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
15897 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
15906 if ! test "x${efl_have_doxygen}" = "xyes" ; then
15907 efl_enable_doc="no"
15910 if test "x${efl_enable_doc}" = "xyes"; then
15911 EFL_BUILD_DOC_TRUE=
15912 EFL_BUILD_DOC_FALSE='#'
15914 EFL_BUILD_DOC_TRUE='#'
15915 EFL_BUILD_DOC_FALSE=
15919 if test "x${efl_enable_doc}" = "xyes" ; then
15930 have_elementary_test="yes"
15933 # Check whether --enable-elementary-test was given.
15934 if test "${enable_elementary_test+set}" = set; then :
15935 enableval=$enable_elementary_test;
15936 if test "x${enableval}" = "xyes" ; then
15937 have_elementary_test="yes"
15939 have_elementary_test="no"
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build elementary_test binary" >&5
15946 $as_echo_n "checking whether to build elementary_test binary... " >&6; }
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_elementary_test" >&5
15948 $as_echo "$have_elementary_test" >&6; }
15950 if test "x$have_elementary_test" = "xyes"; then
15951 ELEMENTARY_TEST_PRG=elementary_test${EXEEXT}
15956 if test "x$have_elementary_test" = "xyes"; then
15957 BUILD_ELEMENTARY_TEST_TRUE=
15958 BUILD_ELEMENTARY_TEST_FALSE='#'
15960 BUILD_ELEMENTARY_TEST_TRUE='#'
15961 BUILD_ELEMENTARY_TEST_FALSE=
15965 if test "x$have_elementary_test" = "xyes"; then :
15973 have_elementary_config="yes"
15976 # Check whether --enable-elementary-config was given.
15977 if test "${enable_elementary_config+set}" = set; then :
15978 enableval=$enable_elementary_config;
15979 if test "x${enableval}" = "xyes" ; then
15980 have_elementary_config="yes"
15982 have_elementary_config="no"
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build elementary_config binary" >&5
15989 $as_echo_n "checking whether to build elementary_config binary... " >&6; }
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_elementary_config" >&5
15991 $as_echo "$have_elementary_config" >&6; }
15993 if test "x$have_elementary_config" = "xyes"; then
15994 ELEMENTARY_CONFIG_PRG=elementary_config${EXEEXT}
15999 if test "x$have_elementary_config" = "xyes"; then
16000 BUILD_ELEMENTARY_CONFIG_TRUE=
16001 BUILD_ELEMENTARY_CONFIG_FALSE='#'
16003 BUILD_ELEMENTARY_CONFIG_TRUE='#'
16004 BUILD_ELEMENTARY_CONFIG_FALSE=
16008 if test "x$have_elementary_config" = "xyes"; then :
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
16021 $as_echo_n "checking whether NLS is requested... " >&6; }
16022 # Check whether --enable-nls was given.
16023 if test "${enable_nls+set}" = set; then :
16024 enableval=$enable_nls; USE_NLS=$enableval
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16030 $as_echo "$USE_NLS" >&6; }
16035 GETTEXT_MACRO_VERSION=0.17
16040 # Prepare PATH_SEPARATOR.
16041 # The user is always right.
16042 if test "${PATH_SEPARATOR+set}" != set; then
16043 echo "#! /bin/sh" >conf$$.sh
16044 echo "exit 0" >>conf$$.sh
16046 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16054 # Find out how to test for executable files. Don't use a zero-byte file,
16055 # as systems may use methods other than mode bits to determine executability.
16056 cat >conf$$.file <<_ASEOF
16060 chmod +x conf$$.file
16061 if test -x conf$$.file >/dev/null 2>&1; then
16062 ac_executable_p="test -x"
16064 ac_executable_p="test -f"
16068 # Extract the first word of "msgfmt", so it can be a program name with args.
16069 set dummy msgfmt; ac_word=$2
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16071 $as_echo_n "checking for $ac_word... " >&6; }
16072 if test "${ac_cv_path_MSGFMT+set}" = set; then :
16073 $as_echo_n "(cached) " >&6
16077 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
16080 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
16081 for ac_dir in $PATH; do
16083 test -z "$ac_dir" && ac_dir=.
16084 for ac_exec_ext in '' $ac_executable_extensions; do
16085 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16086 echo "$as_me: trying $ac_dir/$ac_word..." >&5
16087 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
16088 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
16089 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
16096 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
16100 MSGFMT="$ac_cv_path_MSGFMT"
16101 if test "$MSGFMT" != ":"; then
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
16103 $as_echo "$MSGFMT" >&6; }
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16106 $as_echo "no" >&6; }
16109 # Extract the first word of "gmsgfmt", so it can be a program name with args.
16110 set dummy gmsgfmt; ac_word=$2
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16112 $as_echo_n "checking for $ac_word... " >&6; }
16113 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
16114 $as_echo_n "(cached) " >&6
16118 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
16121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16122 for as_dir in $PATH
16125 test -z "$as_dir" && as_dir=.
16126 for ac_exec_ext in '' $ac_executable_extensions; do
16127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16128 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
16129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16136 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
16140 GMSGFMT=$ac_cv_path_GMSGFMT
16141 if test -n "$GMSGFMT"; then
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
16143 $as_echo "$GMSGFMT" >&6; }
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16146 $as_echo "no" >&6; }
16151 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
16152 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
16153 *) MSGFMT_015=$MSGFMT ;;
16156 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
16157 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
16158 *) GMSGFMT_015=$GMSGFMT ;;
16163 # Prepare PATH_SEPARATOR.
16164 # The user is always right.
16165 if test "${PATH_SEPARATOR+set}" != set; then
16166 echo "#! /bin/sh" >conf$$.sh
16167 echo "exit 0" >>conf$$.sh
16169 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16177 # Find out how to test for executable files. Don't use a zero-byte file,
16178 # as systems may use methods other than mode bits to determine executability.
16179 cat >conf$$.file <<_ASEOF
16183 chmod +x conf$$.file
16184 if test -x conf$$.file >/dev/null 2>&1; then
16185 ac_executable_p="test -x"
16187 ac_executable_p="test -f"
16191 # Extract the first word of "xgettext", so it can be a program name with args.
16192 set dummy xgettext; ac_word=$2
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16194 $as_echo_n "checking for $ac_word... " >&6; }
16195 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
16196 $as_echo_n "(cached) " >&6
16198 case "$XGETTEXT" in
16200 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
16203 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
16204 for ac_dir in $PATH; do
16206 test -z "$ac_dir" && ac_dir=.
16207 for ac_exec_ext in '' $ac_executable_extensions; do
16208 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16209 echo "$as_me: trying $ac_dir/$ac_word..." >&5
16210 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
16211 (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
16212 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
16219 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
16223 XGETTEXT="$ac_cv_path_XGETTEXT"
16224 if test "$XGETTEXT" != ":"; then
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
16226 $as_echo "$XGETTEXT" >&6; }
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16229 $as_echo "no" >&6; }
16234 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
16235 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
16236 *) XGETTEXT_015=$XGETTEXT ;;
16241 # Prepare PATH_SEPARATOR.
16242 # The user is always right.
16243 if test "${PATH_SEPARATOR+set}" != set; then
16244 echo "#! /bin/sh" >conf$$.sh
16245 echo "exit 0" >>conf$$.sh
16247 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16255 # Find out how to test for executable files. Don't use a zero-byte file,
16256 # as systems may use methods other than mode bits to determine executability.
16257 cat >conf$$.file <<_ASEOF
16261 chmod +x conf$$.file
16262 if test -x conf$$.file >/dev/null 2>&1; then
16263 ac_executable_p="test -x"
16265 ac_executable_p="test -f"
16269 # Extract the first word of "msgmerge", so it can be a program name with args.
16270 set dummy msgmerge; ac_word=$2
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16272 $as_echo_n "checking for $ac_word... " >&6; }
16273 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
16274 $as_echo_n "(cached) " >&6
16276 case "$MSGMERGE" in
16278 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
16281 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
16282 for ac_dir in $PATH; do
16284 test -z "$ac_dir" && ac_dir=.
16285 for ac_exec_ext in '' $ac_executable_extensions; do
16286 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16287 echo "$as_me: trying $ac_dir/$ac_word..." >&5
16288 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
16289 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
16296 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
16300 MSGMERGE="$ac_cv_path_MSGMERGE"
16301 if test "$MSGMERGE" != ":"; then
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
16303 $as_echo "$MSGMERGE" >&6; }
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16306 $as_echo "no" >&6; }
16310 test -n "$localedir" || localedir='${datadir}/locale'
16313 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
16316 ac_config_commands="$ac_config_commands po-directories"
16320 if test "X$prefix" = "XNONE"; then
16321 acl_final_prefix="$ac_default_prefix"
16323 acl_final_prefix="$prefix"
16325 if test "X$exec_prefix" = "XNONE"; then
16326 acl_final_exec_prefix='${prefix}'
16328 acl_final_exec_prefix="$exec_prefix"
16330 acl_save_prefix="$prefix"
16331 prefix="$acl_final_prefix"
16332 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
16333 prefix="$acl_save_prefix"
16336 # Check whether --with-gnu-ld was given.
16337 if test "${with_gnu_ld+set}" = set; then :
16338 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
16343 # Prepare PATH_SEPARATOR.
16344 # The user is always right.
16345 if test "${PATH_SEPARATOR+set}" != set; then
16346 echo "#! /bin/sh" >conf$$.sh
16347 echo "exit 0" >>conf$$.sh
16349 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16357 if test "$GCC" = yes; then
16358 # Check if gcc -print-prog-name=ld gives a path.
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
16360 $as_echo_n "checking for ld used by GCC... " >&6; }
16363 # gcc leaves a trailing carriage return which upsets mingw
16364 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16366 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16369 # Accept absolute paths.
16370 [\\/]* | [A-Za-z]:[\\/]*)
16371 re_direlt='/[^/][^/]*/\.\./'
16372 # Canonicalize the path of ld
16373 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
16374 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
16375 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
16377 test -z "$LD" && LD="$ac_prog"
16380 # If it fails, then pretend we aren't using GCC.
16384 # If it is relative, then search for the first ld in PATH.
16385 with_gnu_ld=unknown
16388 elif test "$with_gnu_ld" = yes; then
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16390 $as_echo_n "checking for GNU ld... " >&6; }
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16393 $as_echo_n "checking for non-GNU ld... " >&6; }
16395 if test "${acl_cv_path_LD+set}" = set; then :
16396 $as_echo_n "(cached) " >&6
16398 if test -z "$LD"; then
16399 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16400 for ac_dir in $PATH; do
16401 test -z "$ac_dir" && ac_dir=.
16402 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16403 acl_cv_path_LD="$ac_dir/$ac_prog"
16404 # Check to see if the program is GNU ld. I'd rather use --version,
16405 # but apparently some GNU ld's only accept -v.
16406 # Break only if it was the GNU/non-GNU ld that we prefer.
16407 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
16408 *GNU* | *'with BFD'*)
16409 test "$with_gnu_ld" != no && break ;;
16411 test "$with_gnu_ld" != yes && break ;;
16417 acl_cv_path_LD="$LD" # Let the user override the test with a path.
16421 LD="$acl_cv_path_LD"
16422 if test -n "$LD"; then
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16424 $as_echo "$LD" >&6; }
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16427 $as_echo "no" >&6; }
16429 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16431 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16432 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
16433 $as_echo_n "(cached) " >&6
16435 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16436 case `$LD -v 2>&1 </dev/null` in
16437 *GNU* | *'with BFD'*)
16438 acl_cv_prog_gnu_ld=yes ;;
16440 acl_cv_prog_gnu_ld=no ;;
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
16444 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
16445 with_gnu_ld=$acl_cv_prog_gnu_ld
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
16451 $as_echo_n "checking for shared library run path origin... " >&6; }
16452 if test "${acl_cv_rpath+set}" = set; then :
16453 $as_echo_n "(cached) " >&6
16456 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
16457 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16459 rm -f ./conftest.sh
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
16464 $as_echo "$acl_cv_rpath" >&6; }
16466 acl_libext="$acl_cv_libext"
16467 acl_shlibext="$acl_cv_shlibext"
16468 acl_libname_spec="$acl_cv_libname_spec"
16469 acl_library_names_spec="$acl_cv_library_names_spec"
16470 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
16471 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
16472 acl_hardcode_direct="$acl_cv_hardcode_direct"
16473 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
16474 # Check whether --enable-rpath was given.
16475 if test "${enable_rpath+set}" = set; then :
16476 enableval=$enable_rpath; :
16484 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
16485 if test -n "$searchpath"; then
16486 acl_save_IFS="${IFS= }"; IFS=":"
16487 for searchdir in $searchpath; do
16488 if test -d "$searchdir"; then
16489 case "$searchdir" in
16490 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
16491 *) searchdir=`cd "$searchdir" && pwd`
16492 case "$searchdir" in
16493 */lib64 ) acl_libdirstem=lib64 ;;
16498 IFS="$acl_save_IFS"
16511 acl_save_prefix="$prefix"
16512 prefix="$acl_final_prefix"
16513 acl_save_exec_prefix="$exec_prefix"
16514 exec_prefix="$acl_final_exec_prefix"
16516 eval additional_includedir=\"$includedir\"
16517 eval additional_libdir=\"$libdir\"
16519 exec_prefix="$acl_save_exec_prefix"
16520 prefix="$acl_save_prefix"
16523 # Check whether --with-libiconv-prefix was given.
16524 if test "${with_libiconv_prefix+set}" = set; then :
16525 withval=$with_libiconv_prefix;
16526 if test "X$withval" = "Xno"; then
16529 if test "X$withval" = "X"; then
16531 acl_save_prefix="$prefix"
16532 prefix="$acl_final_prefix"
16533 acl_save_exec_prefix="$exec_prefix"
16534 exec_prefix="$acl_final_exec_prefix"
16536 eval additional_includedir=\"$includedir\"
16537 eval additional_libdir=\"$libdir\"
16539 exec_prefix="$acl_save_exec_prefix"
16540 prefix="$acl_save_prefix"
16543 additional_includedir="$withval/include"
16544 additional_libdir="$withval/$acl_libdirstem"
16556 names_already_handled=
16557 names_next_round='iconv '
16558 while test -n "$names_next_round"; do
16559 names_this_round="$names_next_round"
16561 for name in $names_this_round; do
16563 for n in $names_already_handled; do
16564 if test "$n" = "$name"; then
16565 already_handled=yes
16569 if test -z "$already_handled"; then
16570 names_already_handled="$names_already_handled $name"
16571 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16572 eval value=\"\$HAVE_LIB$uppername\"
16573 if test -n "$value"; then
16574 if test "$value" = yes; then
16575 eval value=\"\$LIB$uppername\"
16576 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
16577 eval value=\"\$LTLIB$uppername\"
16578 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
16587 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
16588 if test -n "$acl_shlibext"; then
16589 shrext=".$acl_shlibext" # typically: shrext=.so
16593 if test $use_additional = yes; then
16594 dir="$additional_libdir"
16595 if test -n "$acl_shlibext"; then
16596 if test -f "$dir/$libname$shrext"; then
16598 found_so="$dir/$libname$shrext"
16600 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16601 ver=`(cd "$dir" && \
16602 for f in "$libname$shrext".*; do echo "$f"; done \
16603 | sed -e "s,^$libname$shrext\\\\.,," \
16604 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16605 | sed 1q ) 2>/dev/null`
16606 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16608 found_so="$dir/$libname$shrext.$ver"
16611 eval library_names=\"$acl_library_names_spec\"
16612 for f in $library_names; do
16613 if test -f "$dir/$f"; then
16622 if test "X$found_dir" = "X"; then
16623 if test -f "$dir/$libname.$acl_libext"; then
16625 found_a="$dir/$libname.$acl_libext"
16628 if test "X$found_dir" != "X"; then
16629 if test -f "$dir/$libname.la"; then
16630 found_la="$dir/$libname.la"
16634 if test "X$found_dir" = "X"; then
16635 for x in $LDFLAGS $LTLIBICONV; do
16637 acl_save_prefix="$prefix"
16638 prefix="$acl_final_prefix"
16639 acl_save_exec_prefix="$exec_prefix"
16640 exec_prefix="$acl_final_exec_prefix"
16642 exec_prefix="$acl_save_exec_prefix"
16643 prefix="$acl_save_prefix"
16647 dir=`echo "X$x" | sed -e 's/^X-L//'`
16648 if test -n "$acl_shlibext"; then
16649 if test -f "$dir/$libname$shrext"; then
16651 found_so="$dir/$libname$shrext"
16653 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16654 ver=`(cd "$dir" && \
16655 for f in "$libname$shrext".*; do echo "$f"; done \
16656 | sed -e "s,^$libname$shrext\\\\.,," \
16657 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16658 | sed 1q ) 2>/dev/null`
16659 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16661 found_so="$dir/$libname$shrext.$ver"
16664 eval library_names=\"$acl_library_names_spec\"
16665 for f in $library_names; do
16666 if test -f "$dir/$f"; then
16675 if test "X$found_dir" = "X"; then
16676 if test -f "$dir/$libname.$acl_libext"; then
16678 found_a="$dir/$libname.$acl_libext"
16681 if test "X$found_dir" != "X"; then
16682 if test -f "$dir/$libname.la"; then
16683 found_la="$dir/$libname.la"
16688 if test "X$found_dir" != "X"; then
16693 if test "X$found_dir" != "X"; then
16694 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16695 if test "X$found_so" != "X"; then
16696 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
16697 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16700 for x in $ltrpathdirs; do
16701 if test "X$x" = "X$found_dir"; then
16706 if test -z "$haveit"; then
16707 ltrpathdirs="$ltrpathdirs $found_dir"
16709 if test "$acl_hardcode_direct" = yes; then
16710 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16712 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
16713 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16715 for x in $rpathdirs; do
16716 if test "X$x" = "X$found_dir"; then
16721 if test -z "$haveit"; then
16722 rpathdirs="$rpathdirs $found_dir"
16726 for x in $LDFLAGS $LIBICONV; do
16728 acl_save_prefix="$prefix"
16729 prefix="$acl_final_prefix"
16730 acl_save_exec_prefix="$exec_prefix"
16731 exec_prefix="$acl_final_exec_prefix"
16733 exec_prefix="$acl_save_exec_prefix"
16734 prefix="$acl_save_prefix"
16736 if test "X$x" = "X-L$found_dir"; then
16741 if test -z "$haveit"; then
16742 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16744 if test "$acl_hardcode_minus_L" != no; then
16745 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16747 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16753 if test "X$found_a" != "X"; then
16754 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
16756 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16759 additional_includedir=
16760 case "$found_dir" in
16761 */$acl_libdirstem | */$acl_libdirstem/)
16762 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16763 LIBICONV_PREFIX="$basedir"
16764 additional_includedir="$basedir/include"
16767 if test "X$additional_includedir" != "X"; then
16768 if test "X$additional_includedir" != "X/usr/include"; then
16770 if test "X$additional_includedir" = "X/usr/local/include"; then
16771 if test -n "$GCC"; then
16773 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16777 if test -z "$haveit"; then
16778 for x in $CPPFLAGS $INCICONV; do
16780 acl_save_prefix="$prefix"
16781 prefix="$acl_final_prefix"
16782 acl_save_exec_prefix="$exec_prefix"
16783 exec_prefix="$acl_final_exec_prefix"
16785 exec_prefix="$acl_save_exec_prefix"
16786 prefix="$acl_save_prefix"
16788 if test "X$x" = "X-I$additional_includedir"; then
16793 if test -z "$haveit"; then
16794 if test -d "$additional_includedir"; then
16795 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16801 if test -n "$found_la"; then
16802 save_libdir="$libdir"
16803 case "$found_la" in
16804 */* | *\\*) . "$found_la" ;;
16805 *) . "./$found_la" ;;
16807 libdir="$save_libdir"
16808 for dep in $dependency_libs; do
16811 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16812 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
16814 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
16815 if test -n "$GCC"; then
16817 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16821 if test -z "$haveit"; then
16823 for x in $LDFLAGS $LIBICONV; do
16825 acl_save_prefix="$prefix"
16826 prefix="$acl_final_prefix"
16827 acl_save_exec_prefix="$exec_prefix"
16828 exec_prefix="$acl_final_exec_prefix"
16830 exec_prefix="$acl_save_exec_prefix"
16831 prefix="$acl_save_prefix"
16833 if test "X$x" = "X-L$additional_libdir"; then
16838 if test -z "$haveit"; then
16839 if test -d "$additional_libdir"; then
16840 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16844 for x in $LDFLAGS $LTLIBICONV; do
16846 acl_save_prefix="$prefix"
16847 prefix="$acl_final_prefix"
16848 acl_save_exec_prefix="$exec_prefix"
16849 exec_prefix="$acl_final_exec_prefix"
16851 exec_prefix="$acl_save_exec_prefix"
16852 prefix="$acl_save_prefix"
16854 if test "X$x" = "X-L$additional_libdir"; then
16859 if test -z "$haveit"; then
16860 if test -d "$additional_libdir"; then
16861 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16868 dir=`echo "X$dep" | sed -e 's/^X-R//'`
16869 if test "$enable_rpath" != no; then
16871 for x in $rpathdirs; do
16872 if test "X$x" = "X$dir"; then
16877 if test -z "$haveit"; then
16878 rpathdirs="$rpathdirs $dir"
16881 for x in $ltrpathdirs; do
16882 if test "X$x" = "X$dir"; then
16887 if test -z "$haveit"; then
16888 ltrpathdirs="$ltrpathdirs $dir"
16893 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16896 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16899 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
16900 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16906 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16907 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16913 if test "X$rpathdirs" != "X"; then
16914 if test -n "$acl_hardcode_libdir_separator"; then
16916 for found_dir in $rpathdirs; do
16917 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16919 acl_save_libdir="$libdir"
16921 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16922 libdir="$acl_save_libdir"
16923 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16925 for found_dir in $rpathdirs; do
16926 acl_save_libdir="$libdir"
16927 libdir="$found_dir"
16928 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16929 libdir="$acl_save_libdir"
16930 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16934 if test "X$ltrpathdirs" != "X"; then
16935 for found_dir in $ltrpathdirs; do
16936 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
16965 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
16966 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
16967 $as_echo_n "(cached) " >&6
16969 gt_save_LIBS="$LIBS"
16970 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16972 /* end confdefs.h. */
16973 #include <CoreFoundation/CFPreferences.h>
16977 CFPreferencesCopyAppValue(NULL, NULL)
16982 if ac_fn_c_try_link "$LINENO"; then :
16983 gt_cv_func_CFPreferencesCopyAppValue=yes
16985 gt_cv_func_CFPreferencesCopyAppValue=no
16987 rm -f core conftest.err conftest.$ac_objext \
16988 conftest$ac_exeext conftest.$ac_ext
16989 LIBS="$gt_save_LIBS"
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
16992 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
16993 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
16995 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
16999 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
17000 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
17001 $as_echo_n "(cached) " >&6
17003 gt_save_LIBS="$LIBS"
17004 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
17005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17006 /* end confdefs.h. */
17007 #include <CoreFoundation/CFLocale.h>
17011 CFLocaleCopyCurrent();
17016 if ac_fn_c_try_link "$LINENO"; then :
17017 gt_cv_func_CFLocaleCopyCurrent=yes
17019 gt_cv_func_CFLocaleCopyCurrent=no
17021 rm -f core conftest.err conftest.$ac_objext \
17022 conftest$ac_exeext conftest.$ac_ext
17023 LIBS="$gt_save_LIBS"
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
17026 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
17027 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
17029 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
17033 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
17034 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
17046 case " $gt_needs " in
17047 *" need-formatstring-macros "*) gt_api_version=3 ;;
17048 *" need-ngettext "*) gt_api_version=2 ;;
17049 *) gt_api_version=1 ;;
17051 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
17052 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
17054 if test "$USE_NLS" = "yes"; then
17055 gt_use_preinstalled_gnugettext=no
17058 if test $gt_api_version -ge 3; then
17059 gt_revision_test_code='
17060 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
17061 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
17063 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
17066 gt_revision_test_code=
17068 if test $gt_api_version -ge 2; then
17069 gt_expression_test_code=' + * ngettext ("", "", 0)'
17071 gt_expression_test_code=
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
17075 $as_echo_n "checking for GNU gettext in libc... " >&6; }
17076 if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
17077 $as_echo_n "(cached) " >&6
17079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17080 /* end confdefs.h. */
17081 #include <libintl.h>
17082 $gt_revision_test_code
17083 extern int _nl_msg_cat_cntr;
17084 extern int *_nl_domain_bindings;
17088 bindtextdomain ("", "");
17089 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
17094 if ac_fn_c_try_link "$LINENO"; then :
17095 eval "$gt_func_gnugettext_libc=yes"
17097 eval "$gt_func_gnugettext_libc=no"
17099 rm -f core conftest.err conftest.$ac_objext \
17100 conftest$ac_exeext conftest.$ac_ext
17102 eval ac_res=\$$gt_func_gnugettext_libc
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17104 $as_echo "$ac_res" >&6; }
17106 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
17112 am_save_CPPFLAGS="$CPPFLAGS"
17114 for element in $INCICONV; do
17116 for x in $CPPFLAGS; do
17118 acl_save_prefix="$prefix"
17119 prefix="$acl_final_prefix"
17120 acl_save_exec_prefix="$exec_prefix"
17121 exec_prefix="$acl_final_exec_prefix"
17123 exec_prefix="$acl_save_exec_prefix"
17124 prefix="$acl_save_prefix"
17126 if test "X$x" = "X$element"; then
17131 if test -z "$haveit"; then
17132 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
17138 $as_echo_n "checking for iconv... " >&6; }
17139 if test "${am_cv_func_iconv+set}" = set; then :
17140 $as_echo_n "(cached) " >&6
17143 am_cv_func_iconv="no, consider installing GNU libiconv"
17145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17146 /* end confdefs.h. */
17147 #include <stdlib.h>
17152 iconv_t cd = iconv_open("","");
17153 iconv(cd,NULL,NULL,NULL,NULL);
17159 if ac_fn_c_try_link "$LINENO"; then :
17160 am_cv_func_iconv=yes
17162 rm -f core conftest.err conftest.$ac_objext \
17163 conftest$ac_exeext conftest.$ac_ext
17164 if test "$am_cv_func_iconv" != yes; then
17165 am_save_LIBS="$LIBS"
17166 LIBS="$LIBS $LIBICONV"
17167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17168 /* end confdefs.h. */
17169 #include <stdlib.h>
17174 iconv_t cd = iconv_open("","");
17175 iconv(cd,NULL,NULL,NULL,NULL);
17181 if ac_fn_c_try_link "$LINENO"; then :
17182 am_cv_lib_iconv=yes
17183 am_cv_func_iconv=yes
17185 rm -f core conftest.err conftest.$ac_objext \
17186 conftest$ac_exeext conftest.$ac_ext
17187 LIBS="$am_save_LIBS"
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
17192 $as_echo "$am_cv_func_iconv" >&6; }
17193 if test "$am_cv_func_iconv" = yes; then
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
17195 $as_echo_n "checking for working iconv... " >&6; }
17196 if test "${am_cv_func_iconv_works+set}" = set; then :
17197 $as_echo_n "(cached) " >&6
17200 am_save_LIBS="$LIBS"
17201 if test $am_cv_lib_iconv = yes; then
17202 LIBS="$LIBS $LIBICONV"
17204 if test "$cross_compiling" = yes; then :
17206 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
17207 *) am_cv_func_iconv_works="guessing yes" ;;
17210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h. */
17214 #include <string.h>
17217 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
17220 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
17221 if (cd_utf8_to_88591 != (iconv_t)(-1))
17223 static const char input[] = "\342\202\254"; /* EURO SIGN */
17225 const char *inptr = input;
17226 size_t inbytesleft = strlen (input);
17227 char *outptr = buf;
17228 size_t outbytesleft = sizeof (buf);
17229 size_t res = iconv (cd_utf8_to_88591,
17230 (char **) &inptr, &inbytesleft,
17231 &outptr, &outbytesleft);
17236 #if 0 /* This bug could be worked around by the caller. */
17237 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
17239 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
17240 if (cd_88591_to_utf8 != (iconv_t)(-1))
17242 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
17244 const char *inptr = input;
17245 size_t inbytesleft = strlen (input);
17246 char *outptr = buf;
17247 size_t outbytesleft = sizeof (buf);
17248 size_t res = iconv (cd_88591_to_utf8,
17249 (char **) &inptr, &inbytesleft,
17250 &outptr, &outbytesleft);
17256 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
17258 if (/* Try standardized names. */
17259 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
17260 /* Try IRIX, OSF/1 names. */
17261 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
17262 /* Try AIX names. */
17263 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
17264 /* Try HP-UX names. */
17265 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
17270 if ac_fn_c_try_run "$LINENO"; then :
17271 am_cv_func_iconv_works=yes
17273 am_cv_func_iconv_works=no
17275 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17276 conftest.$ac_objext conftest.beam conftest.$ac_ext
17279 LIBS="$am_save_LIBS"
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
17283 $as_echo "$am_cv_func_iconv_works" >&6; }
17284 case "$am_cv_func_iconv_works" in
17285 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
17286 *) am_func_iconv=yes ;;
17289 am_func_iconv=no am_cv_lib_iconv=no
17291 if test "$am_func_iconv" = yes; then
17293 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
17296 if test "$am_cv_lib_iconv" = yes; then
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
17298 $as_echo_n "checking how to link with libiconv... " >&6; }
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
17300 $as_echo "$LIBICONV" >&6; }
17302 CPPFLAGS="$am_save_CPPFLAGS"
17316 acl_save_prefix="$prefix"
17317 prefix="$acl_final_prefix"
17318 acl_save_exec_prefix="$exec_prefix"
17319 exec_prefix="$acl_final_exec_prefix"
17321 eval additional_includedir=\"$includedir\"
17322 eval additional_libdir=\"$libdir\"
17324 exec_prefix="$acl_save_exec_prefix"
17325 prefix="$acl_save_prefix"
17328 # Check whether --with-libintl-prefix was given.
17329 if test "${with_libintl_prefix+set}" = set; then :
17330 withval=$with_libintl_prefix;
17331 if test "X$withval" = "Xno"; then
17334 if test "X$withval" = "X"; then
17336 acl_save_prefix="$prefix"
17337 prefix="$acl_final_prefix"
17338 acl_save_exec_prefix="$exec_prefix"
17339 exec_prefix="$acl_final_exec_prefix"
17341 eval additional_includedir=\"$includedir\"
17342 eval additional_libdir=\"$libdir\"
17344 exec_prefix="$acl_save_exec_prefix"
17345 prefix="$acl_save_prefix"
17348 additional_includedir="$withval/include"
17349 additional_libdir="$withval/$acl_libdirstem"
17361 names_already_handled=
17362 names_next_round='intl '
17363 while test -n "$names_next_round"; do
17364 names_this_round="$names_next_round"
17366 for name in $names_this_round; do
17368 for n in $names_already_handled; do
17369 if test "$n" = "$name"; then
17370 already_handled=yes
17374 if test -z "$already_handled"; then
17375 names_already_handled="$names_already_handled $name"
17376 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17377 eval value=\"\$HAVE_LIB$uppername\"
17378 if test -n "$value"; then
17379 if test "$value" = yes; then
17380 eval value=\"\$LIB$uppername\"
17381 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
17382 eval value=\"\$LTLIB$uppername\"
17383 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
17392 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
17393 if test -n "$acl_shlibext"; then
17394 shrext=".$acl_shlibext" # typically: shrext=.so
17398 if test $use_additional = yes; then
17399 dir="$additional_libdir"
17400 if test -n "$acl_shlibext"; then
17401 if test -f "$dir/$libname$shrext"; then
17403 found_so="$dir/$libname$shrext"
17405 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17406 ver=`(cd "$dir" && \
17407 for f in "$libname$shrext".*; do echo "$f"; done \
17408 | sed -e "s,^$libname$shrext\\\\.,," \
17409 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17410 | sed 1q ) 2>/dev/null`
17411 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17413 found_so="$dir/$libname$shrext.$ver"
17416 eval library_names=\"$acl_library_names_spec\"
17417 for f in $library_names; do
17418 if test -f "$dir/$f"; then
17427 if test "X$found_dir" = "X"; then
17428 if test -f "$dir/$libname.$acl_libext"; then
17430 found_a="$dir/$libname.$acl_libext"
17433 if test "X$found_dir" != "X"; then
17434 if test -f "$dir/$libname.la"; then
17435 found_la="$dir/$libname.la"
17439 if test "X$found_dir" = "X"; then
17440 for x in $LDFLAGS $LTLIBINTL; do
17442 acl_save_prefix="$prefix"
17443 prefix="$acl_final_prefix"
17444 acl_save_exec_prefix="$exec_prefix"
17445 exec_prefix="$acl_final_exec_prefix"
17447 exec_prefix="$acl_save_exec_prefix"
17448 prefix="$acl_save_prefix"
17452 dir=`echo "X$x" | sed -e 's/^X-L//'`
17453 if test -n "$acl_shlibext"; then
17454 if test -f "$dir/$libname$shrext"; then
17456 found_so="$dir/$libname$shrext"
17458 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17459 ver=`(cd "$dir" && \
17460 for f in "$libname$shrext".*; do echo "$f"; done \
17461 | sed -e "s,^$libname$shrext\\\\.,," \
17462 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17463 | sed 1q ) 2>/dev/null`
17464 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17466 found_so="$dir/$libname$shrext.$ver"
17469 eval library_names=\"$acl_library_names_spec\"
17470 for f in $library_names; do
17471 if test -f "$dir/$f"; then
17480 if test "X$found_dir" = "X"; then
17481 if test -f "$dir/$libname.$acl_libext"; then
17483 found_a="$dir/$libname.$acl_libext"
17486 if test "X$found_dir" != "X"; then
17487 if test -f "$dir/$libname.la"; then
17488 found_la="$dir/$libname.la"
17493 if test "X$found_dir" != "X"; then
17498 if test "X$found_dir" != "X"; then
17499 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
17500 if test "X$found_so" != "X"; then
17501 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
17502 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17505 for x in $ltrpathdirs; do
17506 if test "X$x" = "X$found_dir"; then
17511 if test -z "$haveit"; then
17512 ltrpathdirs="$ltrpathdirs $found_dir"
17514 if test "$acl_hardcode_direct" = yes; then
17515 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17517 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
17518 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17520 for x in $rpathdirs; do
17521 if test "X$x" = "X$found_dir"; then
17526 if test -z "$haveit"; then
17527 rpathdirs="$rpathdirs $found_dir"
17531 for x in $LDFLAGS $LIBINTL; do
17533 acl_save_prefix="$prefix"
17534 prefix="$acl_final_prefix"
17535 acl_save_exec_prefix="$exec_prefix"
17536 exec_prefix="$acl_final_exec_prefix"
17538 exec_prefix="$acl_save_exec_prefix"
17539 prefix="$acl_save_prefix"
17541 if test "X$x" = "X-L$found_dir"; then
17546 if test -z "$haveit"; then
17547 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
17549 if test "$acl_hardcode_minus_L" != no; then
17550 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17552 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17558 if test "X$found_a" != "X"; then
17559 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
17561 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
17564 additional_includedir=
17565 case "$found_dir" in
17566 */$acl_libdirstem | */$acl_libdirstem/)
17567 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
17568 LIBINTL_PREFIX="$basedir"
17569 additional_includedir="$basedir/include"
17572 if test "X$additional_includedir" != "X"; then
17573 if test "X$additional_includedir" != "X/usr/include"; then
17575 if test "X$additional_includedir" = "X/usr/local/include"; then
17576 if test -n "$GCC"; then
17578 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17582 if test -z "$haveit"; then
17583 for x in $CPPFLAGS $INCINTL; do
17585 acl_save_prefix="$prefix"
17586 prefix="$acl_final_prefix"
17587 acl_save_exec_prefix="$exec_prefix"
17588 exec_prefix="$acl_final_exec_prefix"
17590 exec_prefix="$acl_save_exec_prefix"
17591 prefix="$acl_save_prefix"
17593 if test "X$x" = "X-I$additional_includedir"; then
17598 if test -z "$haveit"; then
17599 if test -d "$additional_includedir"; then
17600 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
17606 if test -n "$found_la"; then
17607 save_libdir="$libdir"
17608 case "$found_la" in
17609 */* | *\\*) . "$found_la" ;;
17610 *) . "./$found_la" ;;
17612 libdir="$save_libdir"
17613 for dep in $dependency_libs; do
17616 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
17617 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
17619 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
17620 if test -n "$GCC"; then
17622 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17626 if test -z "$haveit"; then
17628 for x in $LDFLAGS $LIBINTL; do
17630 acl_save_prefix="$prefix"
17631 prefix="$acl_final_prefix"
17632 acl_save_exec_prefix="$exec_prefix"
17633 exec_prefix="$acl_final_exec_prefix"
17635 exec_prefix="$acl_save_exec_prefix"
17636 prefix="$acl_save_prefix"
17638 if test "X$x" = "X-L$additional_libdir"; then
17643 if test -z "$haveit"; then
17644 if test -d "$additional_libdir"; then
17645 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
17649 for x in $LDFLAGS $LTLIBINTL; do
17651 acl_save_prefix="$prefix"
17652 prefix="$acl_final_prefix"
17653 acl_save_exec_prefix="$exec_prefix"
17654 exec_prefix="$acl_final_exec_prefix"
17656 exec_prefix="$acl_save_exec_prefix"
17657 prefix="$acl_save_prefix"
17659 if test "X$x" = "X-L$additional_libdir"; then
17664 if test -z "$haveit"; then
17665 if test -d "$additional_libdir"; then
17666 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
17673 dir=`echo "X$dep" | sed -e 's/^X-R//'`
17674 if test "$enable_rpath" != no; then
17676 for x in $rpathdirs; do
17677 if test "X$x" = "X$dir"; then
17682 if test -z "$haveit"; then
17683 rpathdirs="$rpathdirs $dir"
17686 for x in $ltrpathdirs; do
17687 if test "X$x" = "X$dir"; then
17692 if test -z "$haveit"; then
17693 ltrpathdirs="$ltrpathdirs $dir"
17698 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17701 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17704 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
17705 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
17711 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17712 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
17718 if test "X$rpathdirs" != "X"; then
17719 if test -n "$acl_hardcode_libdir_separator"; then
17721 for found_dir in $rpathdirs; do
17722 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
17724 acl_save_libdir="$libdir"
17726 eval flag=\"$acl_hardcode_libdir_flag_spec\"
17727 libdir="$acl_save_libdir"
17728 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17730 for found_dir in $rpathdirs; do
17731 acl_save_libdir="$libdir"
17732 libdir="$found_dir"
17733 eval flag=\"$acl_hardcode_libdir_flag_spec\"
17734 libdir="$acl_save_libdir"
17735 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17739 if test "X$ltrpathdirs" != "X"; then
17740 for found_dir in $ltrpathdirs; do
17741 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
17746 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
17747 if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
17748 $as_echo_n "(cached) " >&6
17750 gt_save_CPPFLAGS="$CPPFLAGS"
17751 CPPFLAGS="$CPPFLAGS $INCINTL"
17752 gt_save_LIBS="$LIBS"
17753 LIBS="$LIBS $LIBINTL"
17754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17755 /* end confdefs.h. */
17756 #include <libintl.h>
17757 $gt_revision_test_code
17758 extern int _nl_msg_cat_cntr;
17763 const char *_nl_expand_alias (const char *);
17767 bindtextdomain ("", "");
17768 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
17773 if ac_fn_c_try_link "$LINENO"; then :
17774 eval "$gt_func_gnugettext_libintl=yes"
17776 eval "$gt_func_gnugettext_libintl=no"
17778 rm -f core conftest.err conftest.$ac_objext \
17779 conftest$ac_exeext conftest.$ac_ext
17780 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
17781 LIBS="$LIBS $LIBICONV"
17782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17783 /* end confdefs.h. */
17784 #include <libintl.h>
17785 $gt_revision_test_code
17786 extern int _nl_msg_cat_cntr;
17791 const char *_nl_expand_alias (const char *);
17795 bindtextdomain ("", "");
17796 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
17801 if ac_fn_c_try_link "$LINENO"; then :
17802 LIBINTL="$LIBINTL $LIBICONV"
17803 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
17804 eval "$gt_func_gnugettext_libintl=yes"
17807 rm -f core conftest.err conftest.$ac_objext \
17808 conftest$ac_exeext conftest.$ac_ext
17810 CPPFLAGS="$gt_save_CPPFLAGS"
17811 LIBS="$gt_save_LIBS"
17813 eval ac_res=\$$gt_func_gnugettext_libintl
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17815 $as_echo "$ac_res" >&6; }
17818 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
17819 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
17820 && test "$PACKAGE" != gettext-runtime \
17821 && test "$PACKAGE" != gettext-tools; }; then
17822 gt_use_preinstalled_gnugettext=yes
17831 if test -n "$INTL_MACOSX_LIBS"; then
17832 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17833 || test "$nls_cv_use_gnu_gettext" = "yes"; then
17834 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
17835 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
17839 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17840 || test "$nls_cv_use_gnu_gettext" = "yes"; then
17842 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
17850 $as_echo_n "checking whether to use NLS... " >&6; }
17851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17852 $as_echo "$USE_NLS" >&6; }
17853 if test "$USE_NLS" = "yes"; then
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
17855 $as_echo_n "checking where the gettext function comes from... " >&6; }
17856 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17857 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
17858 gt_source="external libintl"
17863 gt_source="included intl directory"
17865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
17866 $as_echo "$gt_source" >&6; }
17869 if test "$USE_NLS" = "yes"; then
17871 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17872 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
17873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
17874 $as_echo_n "checking how to link with libintl... " >&6; }
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
17876 $as_echo "$LIBINTL" >&6; }
17878 for element in $INCINTL; do
17880 for x in $CPPFLAGS; do
17882 acl_save_prefix="$prefix"
17883 prefix="$acl_final_prefix"
17884 acl_save_exec_prefix="$exec_prefix"
17885 exec_prefix="$acl_final_exec_prefix"
17887 exec_prefix="$acl_save_exec_prefix"
17888 prefix="$acl_save_prefix"
17890 if test "X$x" = "X$element"; then
17895 if test -z "$haveit"; then
17896 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17903 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
17906 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
17915 INTLLIBS="$LIBINTL"
17922 po_makefile_in=po/Makefile.in
17927 if test "x${POSUB}" = "x" ; then
17931 if test "x${have_po}" = "xyes"; then
17944 ac_cpp='$CPP $CPPFLAGS'
17945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
17951 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
17952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17953 /* end confdefs.h. */
17955 #include <limits.h>
17967 if ac_fn_c_try_compile "$LINENO"; then :
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17969 $as_echo "yes" >&6; }
17973 cat >>confdefs.h <<_ACEOF
17974 #define PATH_MAX ${default_max}
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
17978 $as_echo "no: using ${default_max}" >&6; }
17981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17984 ac_cpp='$CPP $CPPFLAGS'
17985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17992 elementary_base_dir=".elementary"
17994 # Check whether --with-elementary-base-dir was given.
17995 if test "${with_elementary_base_dir+set}" = set; then :
17996 withval=$with_elementary_base_dir; elementary_base_dir=${withval}
17998 elementary_base_dir=".elementary"
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: ELEMENTARY_BASE_DIR set to ${elementary_base_dir}" >&5
18003 $as_echo "$as_me: ELEMENTARY_BASE_DIR set to ${elementary_base_dir}" >&6;}
18005 cat >>confdefs.h <<_ACEOF
18006 #define ELEMENTARY_BASE_DIR "${elementary_base_dir}"
18010 ### Build and install examples
18014 # Check whether --enable-build-examples was given.
18015 if test "${enable_build_examples+set}" = set; then :
18016 enableval=$enable_build_examples;
18017 if test "x${enableval}" = "xyes" ; then
18018 _efl_enable_build_examples="yes"
18020 _efl_enable_build_examples="no"
18024 _efl_enable_build_examples="no"
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are built" >&5
18029 $as_echo_n "checking whether examples are built... " >&6; }
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_build_examples}" >&5
18031 $as_echo "${_efl_enable_build_examples}" >&6; }
18033 if test "x${_efl_enable_build_examples}" = "xyes"; then
18034 EFL_BUILD_EXAMPLES_TRUE=
18035 EFL_BUILD_EXAMPLES_FALSE='#'
18037 EFL_BUILD_EXAMPLES_TRUE='#'
18038 EFL_BUILD_EXAMPLES_FALSE=
18042 if test "x$_efl_enable_build_examples" = "xyes"; then :
18043 enable_build_examples="yes"
18045 enable_build_examples="no"
18051 # Check whether --enable-install-examples was given.
18052 if test "${enable_install_examples+set}" = set; then :
18053 enableval=$enable_install_examples;
18054 if test "x${enableval}" = "xyes" ; then
18055 _efl_enable_install_examples="yes"
18057 _efl_enable_install_examples="no"
18061 _efl_enable_install_examples="no"
18065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are installed" >&5
18066 $as_echo_n "checking whether examples are installed... " >&6; }
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_install_examples}" >&5
18068 $as_echo "${_efl_enable_install_examples}" >&6; }
18070 if test "x${_efl_enable_install_examples}" = "xyes"; then
18071 EFL_INSTALL_EXAMPLES_TRUE=
18072 EFL_INSTALL_EXAMPLES_FALSE='#'
18074 EFL_INSTALL_EXAMPLES_TRUE='#'
18075 EFL_INSTALL_EXAMPLES_FALSE=
18079 if test "x$_efl_enable_install_examples" = "xyes"; then :
18080 enable_install_examples="yes"
18082 enable_install_examples="no"
18087 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/test_entry/Makefile src/modules/test_map/Makefile src/modules/ctxpopup_copypasteUI/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/illume/Makefile config/slp/Makefile $po_makefile_in"
18089 cat >confcache <<\_ACEOF
18090 # This file is a shell script that caches the results of configure
18091 # tests run on this system so they can be shared between configure
18092 # scripts and configure runs, see configure's option --config-cache.
18093 # It is not useful on other systems. If it contains results you don't
18094 # want to keep, you may remove or edit it.
18096 # config.status only pays attention to the cache file if you give it
18097 # the --recheck option to rerun configure.
18099 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18100 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18101 # following values.
18105 # The following way of writing the cache mishandles newlines in values,
18106 # but we know of no workaround that is simple, portable, and efficient.
18107 # So, we kill variables containing newlines.
18108 # Ultrix sh set writes to stderr and can't be redirected directly,
18109 # and sets the high bit in the cache file unless we assign to the vars.
18111 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18112 eval ac_val=\$$ac_var
18116 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18117 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18120 _ | IFS | as_nl) ;; #(
18121 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18122 *) { eval $ac_var=; unset $ac_var;} ;;
18128 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18129 *${as_nl}ac_space=\ *)
18130 # `set' does not quote correctly, so add quotes: double-quote
18131 # substitution turns \\\\ into \\, and sed turns \\ into \.
18134 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18137 # `set' quotes correctly as required by POSIX, so do not add quotes.
18138 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18147 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18149 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18151 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18152 if test -w "$cache_file"; then
18153 test "x$cache_file" != "x/dev/null" &&
18154 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18155 $as_echo "$as_me: updating cache $cache_file" >&6;}
18156 cat confcache >$cache_file
18158 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18159 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18164 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18165 # Let make expand exec_prefix.
18166 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18168 DEFS=-DHAVE_CONFIG_H
18173 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18174 # 1. Remove the extension, and $U if already installed.
18175 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18176 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18177 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18178 # will be set to the directory where LIBOBJS objects are built.
18179 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18180 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18182 LIBOBJS=$ac_libobjs
18184 LTLIBOBJS=$ac_ltlibobjs
18187 if test -n "$EXEEXT"; then
18189 am__EXEEXT_FALSE='#'
18191 am__EXEEXT_TRUE='#'
18195 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18196 as_fn_error $? "conditional \"AMDEP\" was never defined.
18197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18199 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18200 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18204 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18205 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18208 if test -z "${BUILD_RUN_TRUE}" && test -z "${BUILD_RUN_FALSE}"; then
18209 as_fn_error $? "conditional \"BUILD_RUN\" was never defined.
18210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18212 if test -z "${BUILD_MODULES_TRUE}" && test -z "${BUILD_MODULES_FALSE}"; then
18213 as_fn_error $? "conditional \"BUILD_MODULES\" was never defined.
18214 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18216 if test -z "${BUILD_QUICKLAUNCH_TRUE}" && test -z "${BUILD_QUICKLAUNCH_FALSE}"; then
18217 as_fn_error $? "conditional \"BUILD_QUICKLAUNCH\" was never defined.
18218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18220 if test -z "${ELEMENTARY_WINDOWS_BUILD_TRUE}" && test -z "${ELEMENTARY_WINDOWS_BUILD_FALSE}"; then
18221 as_fn_error $? "conditional \"ELEMENTARY_WINDOWS_BUILD\" was never defined.
18222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18224 if test -z "${HAVE_ECORE_IMF_TRUE}" && test -z "${HAVE_ECORE_IMF_FALSE}"; then
18225 as_fn_error $? "conditional \"HAVE_ECORE_IMF\" was never defined.
18226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18228 if test -z "${HAVE_ECORE_CON_TRUE}" && test -z "${HAVE_ECORE_CON_FALSE}"; then
18229 as_fn_error $? "conditional \"HAVE_ECORE_CON\" was never defined.
18230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18232 if test -z "${HAVE_EIO_TRUE}" && test -z "${HAVE_EIO_FALSE}"; then
18233 as_fn_error $? "conditional \"HAVE_EIO\" was never defined.
18234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18236 if test -z "${HAVE_EMOTION_TRUE}" && test -z "${HAVE_EMOTION_FALSE}"; then
18237 as_fn_error $? "conditional \"HAVE_EMOTION\" was never defined.
18238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18240 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
18241 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
18242 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18244 if test -z "${BUILD_ELEMENTARY_TEST_TRUE}" && test -z "${BUILD_ELEMENTARY_TEST_FALSE}"; then
18245 as_fn_error $? "conditional \"BUILD_ELEMENTARY_TEST\" was never defined.
18246 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18248 if test -z "${BUILD_ELEMENTARY_CONFIG_TRUE}" && test -z "${BUILD_ELEMENTARY_CONFIG_FALSE}"; then
18249 as_fn_error $? "conditional \"BUILD_ELEMENTARY_CONFIG\" was never defined.
18250 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18252 if test -z "${HAVE_PO_TRUE}" && test -z "${HAVE_PO_FALSE}"; then
18253 as_fn_error $? "conditional \"HAVE_PO\" was never defined.
18254 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18256 if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
18257 as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
18258 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18260 if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
18261 as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
18262 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18265 : ${CONFIG_STATUS=./config.status}
18267 ac_clean_files_save=$ac_clean_files
18268 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18270 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18272 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18274 # Generated by $as_me.
18275 # Run this file to recreate the current configuration.
18276 # Compiler output produced by configure, useful for debugging
18277 # configure, is in config.log if it exists.
18280 ac_cs_recheck=false
18283 SHELL=\${CONFIG_SHELL-$SHELL}
18286 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18287 ## -------------------- ##
18288 ## M4sh Initialization. ##
18289 ## -------------------- ##
18291 # Be more Bourne compatible
18292 DUALCASE=1; export DUALCASE # for MKS sh
18293 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18296 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18297 # is contrary to our usage. Disable this feature.
18298 alias -g '${1+"$@"}'='"$@"'
18299 setopt NO_GLOB_SUBST
18301 case `(set -o) 2>/dev/null` in #(
18313 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18314 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18315 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18316 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18317 # Prefer a ksh shell builtin over an external printf program on Solaris,
18318 # but without wasting forks for bash or zsh.
18319 if test -z "$BASH_VERSION$ZSH_VERSION" \
18320 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18321 as_echo='print -r --'
18322 as_echo_n='print -rn --'
18323 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18324 as_echo='printf %s\n'
18325 as_echo_n='printf %s'
18327 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18328 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18329 as_echo_n='/usr/ucb/echo -n'
18331 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18332 as_echo_n_body='eval
18336 expr "X$arg" : "X\\(.*\\)$as_nl";
18337 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18339 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18341 export as_echo_n_body
18342 as_echo_n='sh -c $as_echo_n_body as_echo'
18344 export as_echo_body
18345 as_echo='sh -c $as_echo_body as_echo'
18348 # The user is always right.
18349 if test "${PATH_SEPARATOR+set}" != set; then
18351 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18352 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18359 # We need space, tab and new line, in precisely that order. Quoting is
18360 # there to prevent editors from complaining about space-tab.
18361 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18362 # splitting by setting IFS to empty value.)
18365 # Find who we are. Look in the path if we contain no directory separator.
18367 *[\\/]* ) as_myself=$0 ;;
18368 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18369 for as_dir in $PATH
18372 test -z "$as_dir" && as_dir=.
18373 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18379 # We did not find ourselves, most probably we were run as `sh COMMAND'
18380 # in which case we are not to be found in the path.
18381 if test "x$as_myself" = x; then
18384 if test ! -f "$as_myself"; then
18385 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18389 # Unset variables that we do not need and which cause bugs (e.g. in
18390 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18391 # suppresses any "Segmentation fault" message there. '((' could
18392 # trigger a bug in pdksh 5.2.14.
18393 for as_var in BASH_ENV ENV MAIL MAILPATH
18394 do eval test x\${$as_var+set} = xset \
18395 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18408 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18412 # ----------------------------------------
18413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18415 # script with STATUS, using 1 if that was 0.
18418 as_status=$1; test $as_status -eq 0 && as_status=1
18420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18423 $as_echo "$as_me: error: $2" >&2
18424 as_fn_exit $as_status
18428 # as_fn_set_status STATUS
18429 # -----------------------
18430 # Set $? to STATUS, without forking.
18431 as_fn_set_status ()
18434 } # as_fn_set_status
18436 # as_fn_exit STATUS
18437 # -----------------
18438 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18442 as_fn_set_status $1
18448 # Portably unset VAR.
18451 { eval $1=; unset $1;}
18453 as_unset=as_fn_unset
18454 # as_fn_append VAR VALUE
18455 # ----------------------
18456 # Append the text in VALUE to the end of the definition contained in VAR. Take
18457 # advantage of any shell optimizations that allow amortized linear growth over
18458 # repeated appends, instead of the typical quadratic growth present in naive
18460 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18461 eval 'as_fn_append ()
18472 # as_fn_arith ARG...
18473 # ------------------
18474 # Perform arithmetic evaluation on the ARGs, and store the result in the
18475 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18476 # must be portable across $(()) and expr.
18477 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18478 eval 'as_fn_arith ()
18485 as_val=`expr "$@" || test $? -eq 1`
18490 if expr a : '\(a\)' >/dev/null 2>&1 &&
18491 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18497 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18498 as_basename=basename
18503 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18509 as_me=`$as_basename -- "$0" ||
18510 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18511 X"$0" : 'X\(//\)$' \| \
18512 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18514 sed '/^.*\/\([^/][^/]*\)\/*$/{
18528 # Avoid depending upon Character Ranges.
18529 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18530 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18531 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18532 as_cr_digits='0123456789'
18533 as_cr_alnum=$as_cr_Letters$as_cr_digits
18535 ECHO_C= ECHO_N= ECHO_T=
18536 case `echo -n x` in #(((((
18538 case `echo 'xy\c'` in
18539 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18541 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18548 rm -f conf$$ conf$$.exe conf$$.file
18549 if test -d conf$$.dir; then
18550 rm -f conf$$.dir/conf$$.file
18553 mkdir conf$$.dir 2>/dev/null
18555 if (echo >conf$$.file) 2>/dev/null; then
18556 if ln -s conf$$.file conf$$ 2>/dev/null; then
18558 # ... but there are two gotchas:
18559 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18560 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18561 # In both cases, we have to default to `cp -p'.
18562 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18564 elif ln conf$$.file conf$$ 2>/dev/null; then
18572 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18573 rmdir conf$$.dir 2>/dev/null
18578 # Create "$as_dir" as a directory, including parents if necessary.
18583 -*) as_dir=./$as_dir;;
18585 test -d "$as_dir" || eval $as_mkdir_p || {
18589 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18590 *) as_qdir=$as_dir;;
18592 as_dirs="'$as_qdir' $as_dirs"
18593 as_dir=`$as_dirname -- "$as_dir" ||
18594 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18595 X"$as_dir" : 'X\(//\)[^/]' \| \
18596 X"$as_dir" : 'X\(//\)$' \| \
18597 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18598 $as_echo X"$as_dir" |
18599 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18603 /^X\(\/\/\)[^/].*/{
18616 test -d "$as_dir" && break
18618 test -z "$as_dirs" || eval "mkdir $as_dirs"
18619 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18623 if mkdir -p . 2>/dev/null; then
18624 as_mkdir_p='mkdir -p "$as_dir"'
18626 test -d ./-p && rmdir ./-p
18630 if test -x / >/dev/null 2>&1; then
18631 as_test_x='test -x'
18633 if ls -dL / >/dev/null 2>&1; then
18640 if test -d "$1"; then
18646 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18647 ???[sx]*):;;*)false;;esac;fi
18651 as_executable_p=$as_test_x
18653 # Sed expression to map a string onto a valid CPP name.
18654 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18656 # Sed expression to map a string onto a valid variable name.
18657 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18661 ## ----------------------------------- ##
18662 ## Main body of $CONFIG_STATUS script. ##
18663 ## ----------------------------------- ##
18665 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18668 # Save the log message, to keep $0 and so on meaningful, and to
18669 # report actual input values of CONFIG_FILES etc. instead of their
18670 # values after options handling.
18672 This file was extended by elementary $as_me 0.8.0.67547, which was
18673 generated by GNU Autoconf 2.67. Invocation command line was
18675 CONFIG_FILES = $CONFIG_FILES
18676 CONFIG_HEADERS = $CONFIG_HEADERS
18677 CONFIG_LINKS = $CONFIG_LINKS
18678 CONFIG_COMMANDS = $CONFIG_COMMANDS
18681 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18686 case $ac_config_files in *"
18687 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18690 case $ac_config_headers in *"
18691 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18696 # Files that config.status was made for.
18697 config_files="$ac_config_files"
18698 config_headers="$ac_config_headers"
18699 config_commands="$ac_config_commands"
18703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18705 \`$as_me' instantiates files and other configuration actions
18706 from templates according to the current configuration. Unless the files
18707 and actions are specified as TAGs, all are instantiated by default.
18709 Usage: $0 [OPTION]... [TAG]...
18711 -h, --help print this help, then exit
18712 -V, --version print version number and configuration settings, then exit
18713 --config print configuration, then exit
18714 -q, --quiet, --silent
18715 do not print progress messages
18716 -d, --debug don't remove temporary files
18717 --recheck update $as_me by reconfiguring in the same conditions
18718 --file=FILE[:TEMPLATE]
18719 instantiate the configuration file FILE
18720 --header=FILE[:TEMPLATE]
18721 instantiate the configuration header FILE
18723 Configuration files:
18726 Configuration headers:
18729 Configuration commands:
18732 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
18735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18736 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18738 elementary config.status 0.8.0.67547
18739 configured by $0, generated by GNU Autoconf 2.67,
18740 with options \\"\$ac_cs_config\\"
18742 Copyright (C) 2010 Free Software Foundation, Inc.
18743 This config.status script is free software; the Free Software Foundation
18744 gives unlimited permission to copy, distribute and modify it."
18751 test -n "\$AWK" || AWK=awk
18754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18755 # The default lists apply if the user does not specify any file.
18761 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18762 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18766 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18778 # Handling of the options.
18779 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18781 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18782 $as_echo "$ac_cs_version"; exit ;;
18783 --config | --confi | --conf | --con | --co | --c )
18784 $as_echo "$ac_cs_config"; exit ;;
18785 --debug | --debu | --deb | --de | --d | -d )
18787 --file | --fil | --fi | --f )
18790 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18791 '') as_fn_error $? "missing file argument" ;;
18793 as_fn_append CONFIG_FILES " '$ac_optarg'"
18794 ac_need_defaults=false;;
18795 --header | --heade | --head | --hea )
18798 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18800 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18801 ac_need_defaults=false;;
18803 # Conflict between --help and --header
18804 as_fn_error $? "ambiguous option: \`$1'
18805 Try \`$0 --help' for more information.";;
18806 --help | --hel | -h )
18807 $as_echo "$ac_cs_usage"; exit ;;
18808 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18809 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18812 # This is an error.
18813 -*) as_fn_error $? "unrecognized option: \`$1'
18814 Try \`$0 --help' for more information." ;;
18816 *) as_fn_append ac_config_targets " $1"
18817 ac_need_defaults=false ;;
18823 ac_configure_extra_args=
18825 if $ac_cs_silent; then
18827 ac_configure_extra_args="$ac_configure_extra_args --silent"
18831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18832 if \$ac_cs_recheck; then
18833 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18835 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18836 CONFIG_SHELL='$SHELL'
18837 export CONFIG_SHELL
18842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18846 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18847 ## Running $as_me. ##
18853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18857 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18860 # The HP-UX ksh and POSIX shell print the target directory to stdout
18861 # if CDPATH is set.
18862 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18864 sed_quote_subst='$sed_quote_subst'
18865 double_quote_subst='$double_quote_subst'
18866 delay_variable_subst='$delay_variable_subst'
18867 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
18868 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18869 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
18870 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
18871 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
18872 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
18873 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
18874 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
18875 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
18876 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
18877 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
18878 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
18879 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
18880 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
18881 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
18882 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
18883 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
18884 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
18885 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
18886 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
18887 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
18888 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
18889 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
18890 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
18891 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
18892 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
18893 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
18894 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
18895 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
18896 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
18897 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18898 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
18899 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
18900 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
18901 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18902 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
18903 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
18904 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18905 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18906 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18907 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
18908 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18909 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
18910 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
18911 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
18912 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
18913 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
18914 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18915 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
18916 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
18917 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
18918 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
18919 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
18920 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
18921 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
18922 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
18923 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
18924 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
18925 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
18926 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
18927 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
18928 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18929 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
18930 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
18931 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18932 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18933 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
18934 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
18935 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18936 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18937 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
18938 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18939 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18940 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18941 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18942 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18943 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18944 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
18945 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18946 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18947 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18948 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
18949 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
18950 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
18951 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
18952 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
18953 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18954 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
18955 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
18956 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
18957 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
18958 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
18959 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18960 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18961 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18962 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18963 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
18964 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
18965 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18966 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
18967 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
18968 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18969 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18970 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
18971 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18972 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
18973 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18974 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18975 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18976 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18977 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
18978 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
18979 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18980 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18981 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
18982 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
18983 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
18984 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
18985 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
18986 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
18989 LTCFLAGS='$LTCFLAGS'
18990 compiler='$compiler_DEFAULT'
18992 # Quote evaled strings.
19003 deplibs_check_method \
19012 lt_cv_sys_global_symbol_pipe \
19013 lt_cv_sys_global_symbol_to_cdecl \
19014 lt_cv_sys_global_symbol_to_c_name_address \
19015 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19018 lt_prog_compiler_no_builtin_flag \
19019 lt_prog_compiler_wl \
19020 lt_prog_compiler_pic \
19021 lt_prog_compiler_static \
19022 lt_cv_prog_compiler_c_o \
19030 export_dynamic_flag_spec \
19031 whole_archive_flag_spec \
19032 compiler_needs_object \
19034 allow_undefined_flag \
19035 no_undefined_flag \
19036 hardcode_libdir_flag_spec \
19037 hardcode_libdir_flag_spec_ld \
19038 hardcode_libdir_separator \
19043 variables_saved_for_relink \
19045 library_names_spec \
19050 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19051 *[\\\\\\\`\\"\\\$]*)
19052 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19055 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19060 # Double-quote double-evaled strings.
19061 for var in reload_cmds \
19062 old_postinstall_cmds \
19063 old_postuninstall_cmds \
19065 extract_expsyms_cmds \
19066 old_archive_from_new_cmds \
19067 old_archive_from_expsyms_cmds \
19069 archive_expsym_cmds \
19071 module_expsym_cmds \
19072 export_symbols_cmds \
19075 postuninstall_cmds \
19077 sys_lib_search_path_spec \
19078 sys_lib_dlsearch_path_spec; do
19079 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19080 *[\\\\\\\`\\"\\\$]*)
19081 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19084 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19089 # Fix-up fallback echo if it was mangled by the above quoting rules.
19091 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
19095 ac_aux_dir='$ac_aux_dir'
19096 xsi_shell='$xsi_shell'
19097 lt_shell_append='$lt_shell_append'
19099 # See if we are running on zsh, and set the options which allow our
19100 # commands through without removal of \ escapes INIT.
19101 if test -n "\${ZSH_VERSION+set}" ; then
19102 setopt NO_GLOB_SUBST
19108 TIMESTAMP='$TIMESTAMP'
19114 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
19115 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
19116 # from automake < 1.5.
19117 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
19118 # Capture the value of LINGUAS because we need it to compute CATALOGS.
19119 LINGUAS="${LINGUAS-%UNSET%}"
19124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19126 # Handling of arguments.
19127 for ac_config_target in $ac_config_targets
19129 case $ac_config_target in
19130 "elementary_config.h") CONFIG_HEADERS="$CONFIG_HEADERS elementary_config.h" ;;
19131 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19132 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19133 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
19134 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19135 "elementary.spec") CONFIG_FILES="$CONFIG_FILES elementary.spec" ;;
19136 "elementary.pc") CONFIG_FILES="$CONFIG_FILES elementary.pc" ;;
19137 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
19138 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
19139 "doc/widgets/Makefile") CONFIG_FILES="$CONFIG_FILES doc/widgets/Makefile" ;;
19140 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
19141 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
19142 "src/lib/Elementary.h") CONFIG_FILES="$CONFIG_FILES src/lib/Elementary.h" ;;
19143 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
19144 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
19145 "src/modules/access_output/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/access_output/Makefile" ;;
19146 "src/modules/test_entry/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/test_entry/Makefile" ;;
19147 "src/modules/test_map/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/test_map/Makefile" ;;
19148 "src/modules/ctxpopup_copypasteUI/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/ctxpopup_copypasteUI/Makefile" ;;
19149 "src/edje_externals/Makefile") CONFIG_FILES="$CONFIG_FILES src/edje_externals/Makefile" ;;
19150 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
19151 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
19152 "data/themes/Makefile") CONFIG_FILES="$CONFIG_FILES data/themes/Makefile" ;;
19153 "data/images/Makefile") CONFIG_FILES="$CONFIG_FILES data/images/Makefile" ;;
19154 "data/objects/Makefile") CONFIG_FILES="$CONFIG_FILES data/objects/Makefile" ;;
19155 "data/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/desktop/Makefile" ;;
19156 "data/edje_externals/Makefile") CONFIG_FILES="$CONFIG_FILES data/edje_externals/Makefile" ;;
19157 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
19158 "config/default/Makefile") CONFIG_FILES="$CONFIG_FILES config/default/Makefile" ;;
19159 "config/standard/Makefile") CONFIG_FILES="$CONFIG_FILES config/standard/Makefile" ;;
19160 "config/illume/Makefile") CONFIG_FILES="$CONFIG_FILES config/illume/Makefile" ;;
19161 "config/slp/Makefile") CONFIG_FILES="$CONFIG_FILES config/slp/Makefile" ;;
19162 "$po_makefile_in") CONFIG_FILES="$CONFIG_FILES $po_makefile_in" ;;
19164 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
19169 # If the user did not use the arguments to specify the items to instantiate,
19170 # then the envvar interface is used. Set only those that are not.
19171 # We use the long form for the default assignment because of an extremely
19172 # bizarre bug on SunOS 4.1.3.
19173 if $ac_need_defaults; then
19174 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19175 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19176 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19179 # Have a temporary directory for convenience. Make it in the build tree
19180 # simply because there is no reason against having it here, and in addition,
19181 # creating and moving files from /tmp can sometimes cause problems.
19182 # Hook for its removal unless debugging.
19183 # Note that there is a small window in which the directory will not be cleaned:
19184 # after its creation but before its name has been assigned to `$tmp'.
19188 trap 'exit_status=$?
19189 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
19191 trap 'as_fn_exit 1' 1 2 13 15
19193 # Create a (secure) tmp directory for tmp files.
19196 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19197 test -n "$tmp" && test -d "$tmp"
19200 tmp=./conf$$-$RANDOM
19201 (umask 077 && mkdir "$tmp")
19202 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19204 # Set up the scripts for CONFIG_FILES section.
19205 # No need to generate them if there are no CONFIG_FILES.
19206 # This happens for instance with `./config.status config.h'.
19207 if test -n "$CONFIG_FILES"; then
19210 ac_cr=`echo X | tr X '\015'`
19211 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19212 # But we know of no other shell where ac_cr would be empty at this
19213 # point, so we can use a bashism as a fallback.
19214 if test "x$ac_cr" = x; then
19215 eval ac_cr=\$\'\\r\'
19217 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19218 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19221 ac_cs_awk_cr=$ac_cr
19224 echo 'BEGIN {' >"$tmp/subs1.awk" &&
19229 echo "cat >conf$$subs.awk <<_ACEOF" &&
19230 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19232 } >conf$$subs.sh ||
19233 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19234 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19236 for ac_last_try in false false false false false :; do
19237 . ./conf$$subs.sh ||
19238 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19240 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19241 if test $ac_delim_n = $ac_delim_num; then
19243 elif $ac_last_try; then
19244 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19246 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19249 rm -f conf$$subs.sh
19251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19252 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
19256 s/^/S["/; s/!.*/"]=/
19266 s/\(.\{148\}\)..*/\1/
19268 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19273 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19280 s/\(.\{148\}\)..*/\1/
19282 s/["\\]/\\&/g; s/^/"/; s/$/"/
19286 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19291 ' <conf$$subs.awk | sed '
19296 ' >>$CONFIG_STATUS || ac_write_fail=1
19297 rm -f conf$$subs.awk
19298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19300 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
19301 for (key in S) S_is_set[key] = 1
19307 nfields = split(line, field, "@")
19309 len = length(field[1])
19310 for (i = 2; i < nfields; i++) {
19312 keylen = length(key)
19313 if (S_is_set[key]) {
19315 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19316 len += length(value) + length(field[++i])
19327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19328 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19329 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19332 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
19333 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19336 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19337 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19338 # trailing colons and then remove the whole line if VPATH becomes empty
19339 # (actually we leave an empty line to preserve line numbers).
19340 if test "x$srcdir" = x.; then
19341 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19360 fi # test -n "$CONFIG_FILES"
19362 # Set up the scripts for CONFIG_HEADERS section.
19363 # No need to generate them if there are no CONFIG_HEADERS.
19364 # This happens for instance with `./config.status Makefile'.
19365 if test -n "$CONFIG_HEADERS"; then
19366 cat >"$tmp/defines.awk" <<\_ACAWK ||
19370 # Transform confdefs.h into an awk script `defines.awk', embedded as
19371 # here-document in config.status, that substitutes the proper values into
19372 # config.h.in to produce config.h.
19374 # Create a delimiter string that does not exist in confdefs.h, to ease
19375 # handling of long lines.
19377 for ac_last_try in false false :; do
19378 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
19379 if test -z "$ac_t"; then
19381 elif $ac_last_try; then
19382 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19384 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19388 # For the awk script, D is an array of macro values keyed by name,
19389 # likewise P contains macro parameters if any. Preserve backslash
19390 # newline sequences.
19392 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19394 s/.\{148\}/&'"$ac_delim"'/g
19397 s/^[ ]*#[ ]*define[ ][ ]*/ /
19404 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19406 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19410 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19411 D["\1"]=" \3\\\\\\n"\\/p
19413 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19418 s/.\{148\}/&'"$ac_delim"'/g
19423 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19426 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19428 ' <confdefs.h | sed '
19429 s/'"$ac_delim"'/"\\\
19430 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19433 for (key in D) D_is_set[key] = 1
19436 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19438 split(line, arg, " ")
19439 if (arg[1] == "#") {
19443 defundef = substr(arg[1], 2)
19446 split(mac1, mac2, "(") #)
19448 prefix = substr(line, 1, index(line, defundef) - 1)
19449 if (D_is_set[macro]) {
19450 # Preserve the white space surrounding the "#".
19451 print prefix "define", macro P[macro] D[macro]
19454 # Replace #undef with comments. This is necessary, for example,
19455 # in the case of _POSIX_SOURCE, which is predefined and required
19456 # on some systems where configure will not decide to define it.
19457 if (defundef == "undef") {
19458 print "/*", prefix defundef, macro, "*/"
19466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19467 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19468 fi # test -n "$CONFIG_HEADERS"
19471 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19476 :[FHLC]) ac_mode=$ac_tag; continue;;
19478 case $ac_mode$ac_tag in
19480 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
19481 :[FH]-) ac_tag=-:-;;
19482 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19499 -) ac_f="$tmp/stdin";;
19500 *) # Look for the file first in the build tree, then in the source tree
19501 # (if the path is not absolute). The absolute path cannot be DOS-style,
19502 # because $ac_f cannot contain `:'.
19506 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19508 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
19510 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19511 as_fn_append ac_file_inputs " '$ac_f'"
19514 # Let's still pretend it is `configure' which instantiates (i.e., don't
19515 # use $as_me), people would be surprised to read:
19516 # /* config.h. Generated by config.status. */
19517 configure_input='Generated from '`
19518 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19520 if test x"$ac_file" != x-; then
19521 configure_input="$ac_file. $configure_input"
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19523 $as_echo "$as_me: creating $ac_file" >&6;}
19525 # Neutralize special characters interpreted by sed in replacement strings.
19526 case $configure_input in #(
19527 *\&* | *\|* | *\\* )
19528 ac_sed_conf_input=`$as_echo "$configure_input" |
19529 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19530 *) ac_sed_conf_input=$configure_input;;
19534 *:-:* | *:-) cat >"$tmp/stdin" \
19535 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19540 ac_dir=`$as_dirname -- "$ac_file" ||
19541 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19542 X"$ac_file" : 'X\(//\)[^/]' \| \
19543 X"$ac_file" : 'X\(//\)$' \| \
19544 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19545 $as_echo X"$ac_file" |
19546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19550 /^X\(\/\/\)[^/].*/{
19563 as_dir="$ac_dir"; as_fn_mkdir_p
19567 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19569 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19570 # A ".." for each directory in $ac_dir_suffix.
19571 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19572 case $ac_top_builddir_sub in
19573 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19574 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19577 ac_abs_top_builddir=$ac_pwd
19578 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19579 # for backward compatibility:
19580 ac_top_builddir=$ac_top_build_prefix
19583 .) # We are building in place.
19585 ac_top_srcdir=$ac_top_builddir_sub
19586 ac_abs_top_srcdir=$ac_pwd ;;
19587 [\\/]* | ?:[\\/]* ) # Absolute name.
19588 ac_srcdir=$srcdir$ac_dir_suffix;
19589 ac_top_srcdir=$srcdir
19590 ac_abs_top_srcdir=$srcdir ;;
19591 *) # Relative name.
19592 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19593 ac_top_srcdir=$ac_top_build_prefix$srcdir
19594 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19596 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19606 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19607 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19609 ac_MKDIR_P=$MKDIR_P
19611 [\\/$]* | ?:[\\/]* ) ;;
19612 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19617 # If the template does not know about datarootdir, expand it.
19618 # FIXME: This hack should be removed a few years after 2.60.
19619 ac_datarootdir_hack=; ac_datarootdir_seen=
19630 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19631 *datarootdir*) ac_datarootdir_seen=yes;;
19632 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19634 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19637 ac_datarootdir_hack='
19638 s&@datadir@&$datadir&g
19639 s&@docdir@&$docdir&g
19640 s&@infodir@&$infodir&g
19641 s&@localedir@&$localedir&g
19642 s&@mandir@&$mandir&g
19643 s&\\\${datarootdir}&$datarootdir&g' ;;
19647 # Neutralize VPATH when `$srcdir' = `.'.
19648 # Shell code in configure.ac might set extrasub.
19649 # FIXME: do we really want to maintain this feature?
19650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19651 ac_sed_extra="$ac_vpsub
19654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19656 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19657 s|@configure_input@|$ac_sed_conf_input|;t t
19658 s&@top_builddir@&$ac_top_builddir_sub&;t t
19659 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19660 s&@srcdir@&$ac_srcdir&;t t
19661 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19662 s&@top_srcdir@&$ac_top_srcdir&;t t
19663 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19664 s&@builddir@&$ac_builddir&;t t
19665 s&@abs_builddir@&$ac_abs_builddir&;t t
19666 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19667 s&@INSTALL@&$ac_INSTALL&;t t
19668 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19669 $ac_datarootdir_hack
19671 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
19672 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19674 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19675 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
19676 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19678 which seems to be undefined. Please make sure it is defined" >&5
19679 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19680 which seems to be undefined. Please make sure it is defined" >&2;}
19684 -) cat "$tmp/out" && rm -f "$tmp/out";;
19685 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
19687 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19693 if test x"$ac_file" != x-; then
19695 $as_echo "/* $configure_input */" \
19696 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
19697 } >"$tmp/config.h" \
19698 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19699 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
19700 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19701 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19704 mv "$tmp/config.h" "$ac_file" \
19705 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19708 $as_echo "/* $configure_input */" \
19709 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
19710 || as_fn_error $? "could not create -" "$LINENO" 5
19712 # Compute "$ac_file"'s index in $config_headers.
19715 for _am_header in $config_headers :; do
19716 case $_am_header in
19717 $_am_arg | $_am_arg:* )
19720 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19723 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19724 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19725 X"$_am_arg" : 'X\(//\)[^/]' \| \
19726 X"$_am_arg" : 'X\(//\)$' \| \
19727 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19728 $as_echo X"$_am_arg" |
19729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19733 /^X\(\/\/\)[^/].*/{
19745 s/.*/./; q'`/stamp-h$_am_stamp_count
19748 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19749 $as_echo "$as_me: executing $ac_file commands" >&6;}
19754 case $ac_file$ac_mode in
19755 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19756 # Autoconf 2.62 quotes --file arguments for eval, but not when files
19757 # are listed without --file. Let's play safe and only enable the eval
19758 # if we detect the quoting.
19759 case $CONFIG_FILES in
19760 *\'*) eval set x "$CONFIG_FILES" ;;
19761 *) set x $CONFIG_FILES ;;
19766 # Strip MF so we end up with the name of the file.
19767 mf=`echo "$mf" | sed -e 's/:.*$//'`
19768 # Check whether this is an Automake generated Makefile or not.
19769 # We used to match only the files named `Makefile.in', but
19770 # some people rename them; so instead we look at the file content.
19771 # Grep'ing the first line is not enough: some people post-process
19772 # each Makefile.in and add a new line on top of each file to say so.
19773 # Grep'ing the whole file is not good either: AIX grep has a line
19774 # limit of 2048, but all sed's we know have understand at least 4000.
19775 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19776 dirpart=`$as_dirname -- "$mf" ||
19777 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19778 X"$mf" : 'X\(//\)[^/]' \| \
19779 X"$mf" : 'X\(//\)$' \| \
19780 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19786 /^X\(\/\/\)[^/].*/{
19802 # Extract the definition of DEPDIR, am__include, and am__quote
19803 # from the Makefile without running `make'.
19804 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19805 test -z "$DEPDIR" && continue
19806 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19807 test -z "am__include" && continue
19808 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19809 # When using ansi2knr, U may be empty or an underscore; expand it
19810 U=`sed -n 's/^U = //p' < "$mf"`
19811 # Find all dependency output files, they are included files with
19812 # $(DEPDIR) in their names. We invoke sed twice because it is the
19813 # simplest approach to changing $(DEPDIR) to its actual value in the
19815 for file in `sed -n "
19816 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19817 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19818 # Make sure the directory exists.
19819 test -f "$dirpart/$file" && continue
19820 fdir=`$as_dirname -- "$file" ||
19821 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19822 X"$file" : 'X\(//\)[^/]' \| \
19823 X"$file" : 'X\(//\)$' \| \
19824 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19825 $as_echo X"$file" |
19826 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19830 /^X\(\/\/\)[^/].*/{
19843 as_dir=$dirpart/$fdir; as_fn_mkdir_p
19844 # echo "creating $dirpart/$file"
19845 echo '# dummy' > "$dirpart/$file"
19852 # See if we are running on zsh, and set the options which allow our
19853 # commands through without removal of \ escapes.
19854 if test -n "${ZSH_VERSION+set}" ; then
19855 setopt NO_GLOB_SUBST
19858 cfgfile="${ofile}T"
19859 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19862 cat <<_LT_EOF >> "$cfgfile"
19865 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19866 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19867 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19868 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19870 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19871 # 2006, 2007, 2008 Free Software Foundation, Inc.
19872 # Written by Gordon Matzigkeit, 1996
19874 # This file is part of GNU Libtool.
19876 # GNU Libtool is free software; you can redistribute it and/or
19877 # modify it under the terms of the GNU General Public License as
19878 # published by the Free Software Foundation; either version 2 of
19879 # the License, or (at your option) any later version.
19881 # As a special exception to the GNU General Public License,
19882 # if you distribute this file as part of a program or library that
19883 # is built using GNU Libtool, you may include this file under the
19884 # same distribution terms that you use for the rest of that program.
19886 # GNU Libtool is distributed in the hope that it will be useful,
19887 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19888 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19889 # GNU General Public License for more details.
19891 # You should have received a copy of the GNU General Public License
19892 # along with GNU Libtool; see the file COPYING. If not, a copy
19893 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19894 # obtained by writing to the Free Software Foundation, Inc.,
19895 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19898 # The names of the tagged configurations supported by this script.
19901 # ### BEGIN LIBTOOL CONFIG
19903 # Assembler program.
19906 # DLL creation program.
19909 # Object dumper program.
19912 # Which release of libtool.m4 was used?
19913 macro_version=$macro_version
19914 macro_revision=$macro_revision
19916 # Whether or not to build shared libraries.
19917 build_libtool_libs=$enable_shared
19919 # Whether or not to build static libraries.
19920 build_old_libs=$enable_static
19922 # What type of objects to build.
19925 # Whether or not to optimize for fast installation.
19926 fast_install=$enable_fast_install
19929 host_alias=$host_alias
19933 # The build system.
19934 build_alias=$build_alias
19938 # A sed program that does not truncate output.
19941 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19942 Xsed="\$SED -e 1s/^X//"
19944 # A grep program that handles long lines.
19950 # A literal string matcher.
19953 # A BSD- or MS-compatible name lister.
19956 # Whether we need soft or hard links.
19959 # What is the maximum length of a command?
19960 max_cmd_len=$max_cmd_len
19962 # Object file suffix (normally "o").
19965 # Executable file suffix (normally "").
19968 # whether the shell understands "unset".
19971 # turn spaces into newlines.
19974 # turn newlines into spaces.
19977 # How to create reloadable object files.
19978 reload_flag=$lt_reload_flag
19979 reload_cmds=$lt_reload_cmds
19981 # Method to check whether dependent libraries are shared objects.
19982 deplibs_check_method=$lt_deplibs_check_method
19984 # Command to use when deplibs_check_method == "file_magic".
19985 file_magic_cmd=$lt_file_magic_cmd
19989 AR_FLAGS=$lt_AR_FLAGS
19991 # A symbol stripping program.
19994 # Commands used to install an old-style archive.
19996 old_postinstall_cmds=$lt_old_postinstall_cmds
19997 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20002 # LTCC compiler flags.
20003 LTCFLAGS=$lt_CFLAGS
20005 # Take the output of nm and produce a listing of raw symbols and C names.
20006 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20008 # Transform the output of nm in a proper C declaration.
20009 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20011 # Transform the output of nm in a C name address pair.
20012 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20014 # Transform the output of nm in a C name address pair when lib prefix is needed.
20015 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20017 # The name of the directory that contains temporary libtool files.
20020 # Shell to use when invoking shell scripts.
20023 # An echo program that does not interpret backslashes.
20026 # Used to examine libraries when file_magic_cmd begins with "file".
20027 MAGIC_CMD=$MAGIC_CMD
20029 # Must we lock files when doing compilation?
20030 need_locks=$lt_need_locks
20032 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20033 DSYMUTIL=$lt_DSYMUTIL
20035 # Tool to change global to local symbols on Mac OS X.
20038 # Tool to manipulate fat objects and archives on Mac OS X.
20041 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20044 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20045 OTOOL64=$lt_OTOOL64
20047 # Old archive suffix (normally "a").
20050 # Shared library suffix (normally ".so").
20051 shrext_cmds=$lt_shrext_cmds
20053 # The commands to extract the exported symbol list from a shared archive.
20054 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20056 # Variables whose values should be saved in libtool wrapper scripts and
20057 # restored at link time.
20058 variables_saved_for_relink=$lt_variables_saved_for_relink
20060 # Do we need the "lib" prefix for modules?
20061 need_lib_prefix=$need_lib_prefix
20063 # Do we need a version for libraries?
20064 need_version=$need_version
20066 # Library versioning type.
20067 version_type=$version_type
20069 # Shared library runtime path variable.
20070 runpath_var=$runpath_var
20072 # Shared library path variable.
20073 shlibpath_var=$shlibpath_var
20075 # Is shlibpath searched before the hard-coded library search path?
20076 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20078 # Format of library name prefix.
20079 libname_spec=$lt_libname_spec
20081 # List of archive names. First name is the real one, the rest are links.
20082 # The last name is the one that the linker finds with -lNAME
20083 library_names_spec=$lt_library_names_spec
20085 # The coded name of the library, if different from the real name.
20086 soname_spec=$lt_soname_spec
20088 # Command to use after installation of a shared archive.
20089 postinstall_cmds=$lt_postinstall_cmds
20091 # Command to use after uninstallation of a shared archive.
20092 postuninstall_cmds=$lt_postuninstall_cmds
20094 # Commands used to finish a libtool library installation in a directory.
20095 finish_cmds=$lt_finish_cmds
20097 # As "finish_cmds", except a single script fragment to be evaled but
20099 finish_eval=$lt_finish_eval
20101 # Whether we should hardcode library paths into libraries.
20102 hardcode_into_libs=$hardcode_into_libs
20104 # Compile-time system search path for libraries.
20105 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20107 # Run-time system search path for libraries.
20108 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20110 # Whether dlopen is supported.
20111 dlopen_support=$enable_dlopen
20113 # Whether dlopen of programs is supported.
20114 dlopen_self=$enable_dlopen_self
20116 # Whether dlopen of statically linked programs is supported.
20117 dlopen_self_static=$enable_dlopen_self_static
20119 # Commands to strip libraries.
20120 old_striplib=$lt_old_striplib
20121 striplib=$lt_striplib
20124 # The linker used to build libraries.
20127 # Commands used to build an old-style archive.
20128 old_archive_cmds=$lt_old_archive_cmds
20130 # A language specific compiler.
20133 # Is the compiler the GNU compiler?
20136 # Compiler flag to turn off builtin functions.
20137 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20139 # How to pass a linker flag through the compiler.
20140 wl=$lt_lt_prog_compiler_wl
20142 # Additional compiler flags for building library objects.
20143 pic_flag=$lt_lt_prog_compiler_pic
20145 # Compiler flag to prevent dynamic linking.
20146 link_static_flag=$lt_lt_prog_compiler_static
20148 # Does compiler simultaneously support -c and -o options?
20149 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20151 # Whether or not to add -lc for building shared libraries.
20152 build_libtool_need_lc=$archive_cmds_need_lc
20154 # Whether or not to disallow shared libs when runtime libs are static.
20155 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20157 # Compiler flag to allow reflexive dlopens.
20158 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20160 # Compiler flag to generate shared objects directly from archives.
20161 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20163 # Whether the compiler copes with passing no objects directly.
20164 compiler_needs_object=$lt_compiler_needs_object
20166 # Create an old-style archive from a shared archive.
20167 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20169 # Create a temporary old-style archive to link instead of a shared archive.
20170 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20172 # Commands used to build a shared archive.
20173 archive_cmds=$lt_archive_cmds
20174 archive_expsym_cmds=$lt_archive_expsym_cmds
20176 # Commands used to build a loadable module if different from building
20177 # a shared archive.
20178 module_cmds=$lt_module_cmds
20179 module_expsym_cmds=$lt_module_expsym_cmds
20181 # Whether we are building with GNU ld or not.
20182 with_gnu_ld=$lt_with_gnu_ld
20184 # Flag that allows shared libraries with undefined symbols to be built.
20185 allow_undefined_flag=$lt_allow_undefined_flag
20187 # Flag that enforces no undefined symbols.
20188 no_undefined_flag=$lt_no_undefined_flag
20190 # Flag to hardcode \$libdir into a binary during linking.
20191 # This must work even if \$libdir does not exist
20192 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20194 # If ld is used when linking, flag to hardcode \$libdir into a binary
20195 # during linking. This must work even if \$libdir does not exist.
20196 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20198 # Whether we need a single "-rpath" flag with a separated argument.
20199 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20201 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20202 # DIR into the resulting binary.
20203 hardcode_direct=$hardcode_direct
20205 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20206 # DIR into the resulting binary and the resulting library dependency is
20207 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20208 # library is relocated.
20209 hardcode_direct_absolute=$hardcode_direct_absolute
20211 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20212 # into the resulting binary.
20213 hardcode_minus_L=$hardcode_minus_L
20215 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20216 # into the resulting binary.
20217 hardcode_shlibpath_var=$hardcode_shlibpath_var
20219 # Set to "yes" if building a shared library automatically hardcodes DIR
20220 # into the library and all subsequent libraries and executables linked
20222 hardcode_automatic=$hardcode_automatic
20224 # Set to yes if linker adds runtime paths of dependent libraries
20225 # to runtime path list.
20226 inherit_rpath=$inherit_rpath
20228 # Whether libtool must link a program against all its dependency libraries.
20229 link_all_deplibs=$link_all_deplibs
20231 # Fix the shell variable \$srcfile for the compiler.
20232 fix_srcfile_path=$lt_fix_srcfile_path
20234 # Set to "yes" if exported symbols are required.
20235 always_export_symbols=$always_export_symbols
20237 # The commands to list exported symbols.
20238 export_symbols_cmds=$lt_export_symbols_cmds
20240 # Symbols that should not be listed in the preloaded symbols.
20241 exclude_expsyms=$lt_exclude_expsyms
20243 # Symbols that must always be exported.
20244 include_expsyms=$lt_include_expsyms
20246 # Commands necessary for linking programs (against libraries) with templates.
20247 prelink_cmds=$lt_prelink_cmds
20249 # Specify filename containing input files.
20250 file_list_spec=$lt_file_list_spec
20252 # How to hardcode a shared library path into an executable.
20253 hardcode_action=$hardcode_action
20255 # ### END LIBTOOL CONFIG
20261 cat <<\_LT_EOF >> "$cfgfile"
20262 # AIX sometimes has problems with the GCC collect2 program. For some
20263 # reason, if we set the COLLECT_NAMES environment variable, the problems
20264 # vanish in a puff of smoke.
20265 if test "X${COLLECT_NAMES+set}" != Xset; then
20267 export COLLECT_NAMES
20274 ltmain="$ac_aux_dir/ltmain.sh"
20277 # We use sed instead of cat because bash on DJGPP gets confused if
20278 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20279 # text mode, it properly converts lines to CR/LF. This bash problem
20280 # is reportedly fixed, but why not run on old versions too?
20281 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20282 || (rm -f "$cfgfile"; exit 1)
20286 cat << \_LT_EOF >> "$cfgfile"
20288 # func_dirname file append nondir_replacement
20289 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20290 # otherwise set result to NONDIR_REPLACEMENT.
20294 */*) func_dirname_result="${1%/*}${2}" ;;
20295 * ) func_dirname_result="${3}" ;;
20299 # func_basename file
20302 func_basename_result="${1##*/}"
20305 # func_dirname_and_basename file append nondir_replacement
20306 # perform func_basename and func_dirname in a single function
20308 # dirname: Compute the dirname of FILE. If nonempty,
20309 # add APPEND to the result, otherwise set result
20310 # to NONDIR_REPLACEMENT.
20311 # value returned in "$func_dirname_result"
20312 # basename: Compute filename of FILE.
20313 # value retuned in "$func_basename_result"
20314 # Implementation must be kept synchronized with func_dirname
20315 # and func_basename. For efficiency, we do not delegate to
20316 # those functions but instead duplicate the functionality here.
20317 func_dirname_and_basename ()
20320 */*) func_dirname_result="${1%/*}${2}" ;;
20321 * ) func_dirname_result="${3}" ;;
20323 func_basename_result="${1##*/}"
20326 # func_stripname prefix suffix name
20327 # strip PREFIX and SUFFIX off of NAME.
20328 # PREFIX and SUFFIX must not contain globbing or regex special
20329 # characters, hashes, percent signs, but SUFFIX may contain a leading
20330 # dot (in which case that matches only a dot).
20333 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20334 # positional parameters, so assign one to ordinary parameter first.
20335 func_stripname_result=${3}
20336 func_stripname_result=${func_stripname_result#"${1}"}
20337 func_stripname_result=${func_stripname_result%"${2}"}
20343 func_opt_split_opt=${1%%=*}
20344 func_opt_split_arg=${1#*=}
20351 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
20352 *) func_lo2o_result=${1} ;;
20356 # func_xform libobj-or-source
20359 func_xform_result=${1%.*}.lo
20362 # func_arith arithmetic-term...
20365 func_arith_result=$(( $* ))
20369 # STRING may not start with a hyphen.
20372 func_len_result=${#1}
20377 *) # Bourne compatible functions.
20378 cat << \_LT_EOF >> "$cfgfile"
20380 # func_dirname file append nondir_replacement
20381 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20382 # otherwise set result to NONDIR_REPLACEMENT.
20385 # Extract subdirectory from the argument.
20386 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
20387 if test "X$func_dirname_result" = "X${1}"; then
20388 func_dirname_result="${3}"
20390 func_dirname_result="$func_dirname_result${2}"
20394 # func_basename file
20397 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
20401 # func_stripname prefix suffix name
20402 # strip PREFIX and SUFFIX off of NAME.
20403 # PREFIX and SUFFIX must not contain globbing or regex special
20404 # characters, hashes, percent signs, but SUFFIX may contain a leading
20405 # dot (in which case that matches only a dot).
20406 # func_strip_suffix prefix name
20410 .*) func_stripname_result=`$ECHO "X${3}" \
20411 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
20412 *) func_stripname_result=`$ECHO "X${3}" \
20413 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
20418 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
20419 my_sed_long_arg='1s/^-[^=]*=//'
20424 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
20425 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
20431 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
20434 # func_xform libobj-or-source
20437 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
20440 # func_arith arithmetic-term...
20443 func_arith_result=`expr "$@"`
20447 # STRING may not start with a hyphen.
20450 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20456 case $lt_shell_append in
20458 cat << \_LT_EOF >> "$cfgfile"
20460 # func_append var value
20461 # Append VALUE to the end of shell variable VAR.
20469 cat << \_LT_EOF >> "$cfgfile"
20471 # func_append var value
20472 # Append VALUE to the end of shell variable VAR.
20483 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20484 || (rm -f "$cfgfile"; exit 1)
20486 mv -f "$cfgfile" "$ofile" ||
20487 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20491 "po-directories":C)
20492 for ac_file in $CONFIG_FILES; do
20493 # Support "outfile[:infile[:infile...]]"
20495 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20497 # PO directories have a Makefile.in generated from Makefile.in.in.
20498 case "$ac_file" in */Makefile.in)
20499 # Adjust a relative srcdir.
20500 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
20501 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
20502 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
20503 # In autoconf-2.13 it is called $ac_given_srcdir.
20504 # In autoconf-2.50 it is called $srcdir.
20505 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
20506 case "$ac_given_srcdir" in
20507 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
20508 /*) top_srcdir="$ac_given_srcdir" ;;
20509 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
20511 # Treat a directory as a PO directory if and only if it has a
20512 # POTFILES.in file. This allows packages to have multiple PO
20513 # directories under different names or in different locations.
20514 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
20515 rm -f "$ac_dir/POTFILES"
20516 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
20517 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
20518 POMAKEFILEDEPS="POTFILES.in"
20519 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
20520 # on $ac_dir but don't depend on user-specified configuration
20522 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
20523 # The LINGUAS file contains the set of available languages.
20524 if test -n "$OBSOLETE_ALL_LINGUAS"; then
20525 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
20527 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
20528 # Hide the ALL_LINGUAS assigment from automake < 1.5.
20529 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
20530 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
20532 # The set of available languages was given in configure.in.
20533 # Hide the ALL_LINGUAS assigment from automake < 1.5.
20534 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
20537 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
20538 # Compute UPDATEPOFILES
20539 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
20540 # Compute DUMMYPOFILES
20541 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
20543 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
20544 case "$ac_given_srcdir" in
20546 *) srcdirpre='$(srcdir)/' ;;
20552 for lang in $ALL_LINGUAS; do
20553 POFILES="$POFILES $srcdirpre$lang.po"
20554 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
20555 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
20556 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
20558 # CATALOGS depends on both $ac_dir and the user's LINGUAS
20559 # environment variable.
20561 if test -n "$ALL_LINGUAS"; then
20562 for presentlang in $ALL_LINGUAS; do
20564 if test "%UNSET%" != "$LINGUAS"; then
20565 desiredlanguages="$LINGUAS"
20567 desiredlanguages="$ALL_LINGUAS"
20569 for desiredlang in $desiredlanguages; do
20570 # Use the presentlang catalog if desiredlang is
20571 # a. equal to presentlang, or
20572 # b. a variant of presentlang (because in this case,
20573 # presentlang can be used as a fallback for messages
20574 # which are not translated in the desiredlang catalog).
20575 case "$desiredlang" in
20576 "$presentlang"*) useit=yes;;
20579 if test $useit = yes; then
20580 INST_LINGUAS="$INST_LINGUAS $presentlang"
20585 if test -n "$INST_LINGUAS"; then
20586 for lang in $INST_LINGUAS; do
20587 CATALOGS="$CATALOGS $lang.gmo"
20590 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
20591 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"
20592 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
20593 if test -f "$f"; then
20595 *.orig | *.bak | *~) ;;
20596 *) cat "$f" >> "$ac_dir/Makefile" ;;
20611 ac_clean_files=$ac_clean_files_save
20613 test $ac_write_fail = 0 ||
20614 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20617 # configure is writing to config.log, and then calls config.status.
20618 # config.status does its own redirection, appending to config.log.
20619 # Unfortunately, on DOS this fails, as config.log is still kept open
20620 # by configure, so config.status won't be able to write to it; its
20621 # output is simply discarded. So we exec the FD to /dev/null,
20622 # effectively closing config.log, so it can be properly (re)opened and
20623 # appended to by config.status. When coming back to configure, we
20624 # need to make the FD available again.
20625 if test "$no_create" != yes; then
20627 ac_config_status_args=
20628 test "$silent" = yes &&
20629 ac_config_status_args="$ac_config_status_args --quiet"
20631 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20633 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20634 # would make configure fail if this is the last instruction.
20635 $ac_cs_success || as_fn_exit 1
20637 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20639 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20643 #####################################################################
20649 echo "------------------------------------------------------------------------"
20650 echo "$PACKAGE $VERSION"
20651 echo "------------------------------------------------------------------------"
20653 echo "Configuration Options Summary:"
20656 echo " X11....................: ${have_elementary_x}"
20657 echo " Framebuffer............: ${have_elementary_fb}"
20658 echo " PSL1GHT................: ${have_elementary_psl1ght}"
20659 echo " SDL....................: ${have_elementary_sdl}"
20660 echo " Cocoa..................: ${have_elementary_cocoa}"
20661 echo " Windows XP.............: ${have_elementary_win32}"
20662 echo " Windows CE.............: ${have_elementary_wince}"
20665 echo " Ecore_IMF..............: ${have_ecore_imf}"
20666 echo " Ecore_Con..............: ${have_ecore_con}"
20667 echo " EDBus..................: ${have_elementary_edbus}"
20668 echo " EFreet.................: ${have_elementary_efreet}"
20669 echo " EWeather...............: ${have_elementary_eweather}"
20670 echo " EMap...................: ${have_elementary_emap}"
20671 echo " Ethumb.................: ${have_elementary_ethumb}"
20672 echo " Web (WebKit)...........: ${have_elementary_web}"
20673 echo " Quick Launch...........: ${have_fork}"
20674 echo " EIO....................: ${have_eio}"
20675 echo " Emotion................: ${have_emotion}"
20677 echo " eet......................: ${eet_eet}"
20678 echo " edje_cc..................: ${edje_cc}"
20680 echo " Build elementary_test....: ${have_elementary_test}"
20681 echo " Examples.................: ${enable_build_examples}"
20682 echo " Examples installed.......: ${enable_install_examples}"
20683 echo " Build elementary_config..: ${have_elementary_config}"
20685 echo "Compilation................: make (or gmake)"
20686 echo " CPPFLAGS.................: $CPPFLAGS"
20687 echo " CFLAGS...................: $CFLAGS"
20688 echo " LDFLAGS..................: $LDFLAGS"
20690 echo "Installation...............: make install (as root if needed, with 'su' or 'sudo')"
20691 echo " prefix...................: $prefix"