2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for ethumb 1.7.7.
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: enlightenment-devel@lists.sourceforge.net about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
571 PACKAGE_NAME='ethumb'
572 PACKAGE_TARNAME='ethumb'
573 PACKAGE_VERSION='1.7.7'
574 PACKAGE_STRING='ethumb 1.7.7'
575 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
578 ac_unique_file="configure.ac"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars='am__EXEEXT_FALSE
620 requirement_ethumb_client
623 USE_MODULE_LIBEXIF_FALSE
624 USE_MODULE_LIBEXIF_TRUE
632 USE_MODULE_ETHUMBD_FALSE
633 USE_MODULE_ETHUMBD_TRUE
641 USE_MODULE_EPDF_FALSE
650 USE_MODULE_EMOTION_FALSE
651 USE_MODULE_EMOTION_TRUE
734 INSTALL_STRIP_PROGRAM
787 program_transform_name
800 enable_option_checking
802 enable_dependency_tracking
812 with_internal_maximum_log_level
820 ac_precious_vars='build_alias
858 # Initialize some variables set by options.
860 ac_init_version=false
861 ac_unrecognized_opts=
863 # The variables have the same names as the options, with
864 # dashes changed to underlines.
872 program_transform_name=s,x,x,
880 # Installation directory options.
881 # These are left unexpanded so users can "make install exec_prefix=/foo"
882 # and all the variables that are supposed to be based on exec_prefix
883 # by default will actually change.
884 # Use braces instead of parens because sh, perl, etc. also accept them.
885 # (The list follows the same order as the GNU Coding Standards.)
886 bindir='${exec_prefix}/bin'
887 sbindir='${exec_prefix}/sbin'
888 libexecdir='${exec_prefix}/libexec'
889 datarootdir='${prefix}/share'
890 datadir='${datarootdir}'
891 sysconfdir='${prefix}/etc'
892 sharedstatedir='${prefix}/com'
893 localstatedir='${prefix}/var'
894 includedir='${prefix}/include'
895 oldincludedir='/usr/include'
896 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
897 infodir='${datarootdir}/info'
902 libdir='${exec_prefix}/lib'
903 localedir='${datarootdir}/locale'
904 mandir='${datarootdir}/man'
910 # If the previous option needs an argument, assign it.
911 if test -n "$ac_prev"; then
912 eval $ac_prev=\$ac_option
918 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
923 # Accept the important Cygnus configure options, so we can diagnose typos.
925 case $ac_dashdash$ac_option in
929 -bindir | --bindir | --bindi | --bind | --bin | --bi)
931 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
934 -build | --build | --buil | --bui | --bu)
935 ac_prev=build_alias ;;
936 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
937 build_alias=$ac_optarg ;;
939 -cache-file | --cache-file | --cache-fil | --cache-fi \
940 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
941 ac_prev=cache_file ;;
942 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
943 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
944 cache_file=$ac_optarg ;;
947 cache_file=config.cache ;;
949 -datadir | --datadir | --datadi | --datad)
951 -datadir=* | --datadir=* | --datadi=* | --datad=*)
952 datadir=$ac_optarg ;;
954 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
955 | --dataroo | --dataro | --datar)
956 ac_prev=datarootdir ;;
957 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
958 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
959 datarootdir=$ac_optarg ;;
961 -disable-* | --disable-*)
962 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
963 # Reject names that are not valid shell variable names.
964 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
965 as_fn_error $? "invalid feature name: $ac_useropt"
966 ac_useropt_orig=$ac_useropt
967 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968 case $ac_user_opts in
972 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
973 ac_unrecognized_sep=', ';;
975 eval enable_$ac_useropt=no ;;
977 -docdir | --docdir | --docdi | --doc | --do)
979 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
982 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
984 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
987 -enable-* | --enable-*)
988 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
989 # Reject names that are not valid shell variable names.
990 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
991 as_fn_error $? "invalid feature name: $ac_useropt"
992 ac_useropt_orig=$ac_useropt
993 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994 case $ac_user_opts in
998 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
999 ac_unrecognized_sep=', ';;
1001 eval enable_$ac_useropt=\$ac_optarg ;;
1003 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1004 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1005 | --exec | --exe | --ex)
1006 ac_prev=exec_prefix ;;
1007 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1008 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1009 | --exec=* | --exe=* | --ex=*)
1010 exec_prefix=$ac_optarg ;;
1012 -gas | --gas | --ga | --g)
1013 # Obsolete; use --with-gas.
1016 -help | --help | --hel | --he | -h)
1017 ac_init_help=long ;;
1018 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1019 ac_init_help=recursive ;;
1020 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1021 ac_init_help=short ;;
1023 -host | --host | --hos | --ho)
1024 ac_prev=host_alias ;;
1025 -host=* | --host=* | --hos=* | --ho=*)
1026 host_alias=$ac_optarg ;;
1028 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1030 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1032 htmldir=$ac_optarg ;;
1034 -includedir | --includedir | --includedi | --included | --include \
1035 | --includ | --inclu | --incl | --inc)
1036 ac_prev=includedir ;;
1037 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1038 | --includ=* | --inclu=* | --incl=* | --inc=*)
1039 includedir=$ac_optarg ;;
1041 -infodir | --infodir | --infodi | --infod | --info | --inf)
1043 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1044 infodir=$ac_optarg ;;
1046 -libdir | --libdir | --libdi | --libd)
1048 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1049 libdir=$ac_optarg ;;
1051 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1052 | --libexe | --libex | --libe)
1053 ac_prev=libexecdir ;;
1054 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1055 | --libexe=* | --libex=* | --libe=*)
1056 libexecdir=$ac_optarg ;;
1058 -localedir | --localedir | --localedi | --localed | --locale)
1059 ac_prev=localedir ;;
1060 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1061 localedir=$ac_optarg ;;
1063 -localstatedir | --localstatedir | --localstatedi | --localstated \
1064 | --localstate | --localstat | --localsta | --localst | --locals)
1065 ac_prev=localstatedir ;;
1066 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1067 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1068 localstatedir=$ac_optarg ;;
1070 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1072 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1073 mandir=$ac_optarg ;;
1075 -nfp | --nfp | --nf)
1076 # Obsolete; use --without-fp.
1079 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1080 | --no-cr | --no-c | -n)
1083 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1084 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1087 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1088 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1089 | --oldin | --oldi | --old | --ol | --o)
1090 ac_prev=oldincludedir ;;
1091 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1092 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1093 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1094 oldincludedir=$ac_optarg ;;
1096 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1098 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1099 prefix=$ac_optarg ;;
1101 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1102 | --program-pre | --program-pr | --program-p)
1103 ac_prev=program_prefix ;;
1104 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1105 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1106 program_prefix=$ac_optarg ;;
1108 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1109 | --program-suf | --program-su | --program-s)
1110 ac_prev=program_suffix ;;
1111 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1112 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1113 program_suffix=$ac_optarg ;;
1115 -program-transform-name | --program-transform-name \
1116 | --program-transform-nam | --program-transform-na \
1117 | --program-transform-n | --program-transform- \
1118 | --program-transform | --program-transfor \
1119 | --program-transfo | --program-transf \
1120 | --program-trans | --program-tran \
1121 | --progr-tra | --program-tr | --program-t)
1122 ac_prev=program_transform_name ;;
1123 -program-transform-name=* | --program-transform-name=* \
1124 | --program-transform-nam=* | --program-transform-na=* \
1125 | --program-transform-n=* | --program-transform-=* \
1126 | --program-transform=* | --program-transfor=* \
1127 | --program-transfo=* | --program-transf=* \
1128 | --program-trans=* | --program-tran=* \
1129 | --progr-tra=* | --program-tr=* | --program-t=*)
1130 program_transform_name=$ac_optarg ;;
1132 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1134 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1135 pdfdir=$ac_optarg ;;
1137 -psdir | --psdir | --psdi | --psd | --ps)
1139 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1142 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1143 | -silent | --silent | --silen | --sile | --sil)
1146 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1148 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1150 sbindir=$ac_optarg ;;
1152 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1153 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1154 | --sharedst | --shareds | --shared | --share | --shar \
1156 ac_prev=sharedstatedir ;;
1157 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1158 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1159 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1161 sharedstatedir=$ac_optarg ;;
1163 -site | --site | --sit)
1165 -site=* | --site=* | --sit=*)
1168 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1170 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1171 srcdir=$ac_optarg ;;
1173 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1174 | --syscon | --sysco | --sysc | --sys | --sy)
1175 ac_prev=sysconfdir ;;
1176 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1177 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1178 sysconfdir=$ac_optarg ;;
1180 -target | --target | --targe | --targ | --tar | --ta | --t)
1181 ac_prev=target_alias ;;
1182 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1183 target_alias=$ac_optarg ;;
1185 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1188 -version | --version | --versio | --versi | --vers | -V)
1189 ac_init_version=: ;;
1192 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1195 as_fn_error $? "invalid package name: $ac_useropt"
1196 ac_useropt_orig=$ac_useropt
1197 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1202 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1203 ac_unrecognized_sep=', ';;
1205 eval with_$ac_useropt=\$ac_optarg ;;
1207 -without-* | --without-*)
1208 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1209 # Reject names that are not valid shell variable names.
1210 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1211 as_fn_error $? "invalid package name: $ac_useropt"
1212 ac_useropt_orig=$ac_useropt
1213 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1214 case $ac_user_opts in
1218 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1219 ac_unrecognized_sep=', ';;
1221 eval with_$ac_useropt=no ;;
1224 # Obsolete; use --with-x.
1227 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1228 | --x-incl | --x-inc | --x-in | --x-i)
1229 ac_prev=x_includes ;;
1230 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1231 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1232 x_includes=$ac_optarg ;;
1234 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1235 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1236 ac_prev=x_libraries ;;
1237 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1238 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1239 x_libraries=$ac_optarg ;;
1241 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1242 Try \`$0 --help' for more information"
1246 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1247 # Reject names that are not valid shell variable names.
1248 case $ac_envvar in #(
1249 '' | [0-9]* | *[!_$as_cr_alnum]* )
1250 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1252 eval $ac_envvar=\$ac_optarg
1253 export $ac_envvar ;;
1256 # FIXME: should be removed in autoconf 3.0.
1257 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1258 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1259 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1260 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1266 if test -n "$ac_prev"; then
1267 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1268 as_fn_error $? "missing argument to $ac_option"
1271 if test -n "$ac_unrecognized_opts"; then
1272 case $enable_option_checking in
1274 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1275 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1279 # Check all directory arguments for consistency.
1280 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1281 datadir sysconfdir sharedstatedir localstatedir includedir \
1282 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1283 libdir localedir mandir
1285 eval ac_val=\$$ac_var
1286 # Remove trailing slashes.
1289 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1290 eval $ac_var=\$ac_val;;
1292 # Be sure to have absolute directory names.
1294 [\\/$]* | ?:[\\/]* ) continue;;
1295 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1297 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1300 # There might be people who depend on the old broken behavior: `$host'
1301 # used to hold the argument of --host etc.
1302 # FIXME: To remove some day.
1305 target=$target_alias
1307 # FIXME: To remove some day.
1308 if test "x$host_alias" != x; then
1309 if test "x$build_alias" = x; then
1310 cross_compiling=maybe
1311 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1312 If a cross compiler is detected then cross compile mode will be used" >&2
1313 elif test "x$build_alias" != "x$host_alias"; then
1319 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1321 test "$silent" = yes && exec 6>/dev/null
1324 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1325 ac_ls_di=`ls -di .` &&
1326 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1327 as_fn_error $? "working directory cannot be determined"
1328 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1329 as_fn_error $? "pwd does not report name of working directory"
1332 # Find the source files, if location was not specified.
1333 if test -z "$srcdir"; then
1334 ac_srcdir_defaulted=yes
1335 # Try the directory containing this script, then the parent directory.
1336 ac_confdir=`$as_dirname -- "$as_myself" ||
1337 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1338 X"$as_myself" : 'X\(//\)[^/]' \| \
1339 X"$as_myself" : 'X\(//\)$' \| \
1340 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1341 $as_echo X"$as_myself" |
1342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1360 if test ! -r "$srcdir/$ac_unique_file"; then
1364 ac_srcdir_defaulted=no
1366 if test ! -r "$srcdir/$ac_unique_file"; then
1367 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1368 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1370 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1372 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1374 # When building in place, set srcdir=.
1375 if test "$ac_abs_confdir" = "$ac_pwd"; then
1378 # Remove unnecessary trailing slashes from srcdir.
1379 # Double slashes in file names in object file debugging info
1380 # mess up M-x gdb in Emacs.
1382 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1384 for ac_var in $ac_precious_vars; do
1385 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1386 eval ac_env_${ac_var}_value=\$${ac_var}
1387 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1388 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1392 # Report the --help message.
1394 if test "$ac_init_help" = "long"; then
1395 # Omit some internal or obsolete options to make the list less imposing.
1396 # This message is too long to be a string in the A/UX 3.1 sh.
1398 \`configure' configures ethumb 1.7.7 to adapt to many kinds of systems.
1400 Usage: $0 [OPTION]... [VAR=VALUE]...
1402 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1403 VAR=VALUE. See below for descriptions of some of the useful variables.
1405 Defaults for the options are specified in brackets.
1408 -h, --help display this help and exit
1409 --help=short display options specific to this package
1410 --help=recursive display the short help of all the included packages
1411 -V, --version display version information and exit
1412 -q, --quiet, --silent do not print \`checking ...' messages
1413 --cache-file=FILE cache test results in FILE [disabled]
1414 -C, --config-cache alias for \`--cache-file=config.cache'
1415 -n, --no-create do not create output files
1416 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1418 Installation directories:
1419 --prefix=PREFIX install architecture-independent files in PREFIX
1420 [$ac_default_prefix]
1421 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1424 By default, \`make install' will install all the files in
1425 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1426 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1427 for instance \`--prefix=\$HOME'.
1429 For better control, use the options below.
1431 Fine tuning of the installation directories:
1432 --bindir=DIR user executables [EPREFIX/bin]
1433 --sbindir=DIR system admin executables [EPREFIX/sbin]
1434 --libexecdir=DIR program executables [EPREFIX/libexec]
1435 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1436 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1437 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1438 --libdir=DIR object code libraries [EPREFIX/lib]
1439 --includedir=DIR C header files [PREFIX/include]
1440 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1441 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1442 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1443 --infodir=DIR info documentation [DATAROOTDIR/info]
1444 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1445 --mandir=DIR man documentation [DATAROOTDIR/man]
1446 --docdir=DIR documentation root [DATAROOTDIR/doc/ethumb]
1447 --htmldir=DIR html documentation [DOCDIR]
1448 --dvidir=DIR dvi documentation [DOCDIR]
1449 --pdfdir=DIR pdf documentation [DOCDIR]
1450 --psdir=DIR ps documentation [DOCDIR]
1456 --program-prefix=PREFIX prepend PREFIX to installed program names
1457 --program-suffix=SUFFIX append SUFFIX to installed program names
1458 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1461 --build=BUILD configure for building on BUILD [guessed]
1462 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1466 if test -n "$ac_init_help"; then
1467 case $ac_init_help in
1468 short | recursive ) echo "Configuration of ethumb 1.7.7:";;
1473 --disable-option-checking ignore unrecognized --enable/--with options
1474 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1475 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1476 --enable-silent-rules less verbose build output (undo: `make V=1')
1477 --disable-silent-rules verbose build output (undo: `make V=0')
1478 --disable-dependency-tracking speeds up one-time build
1479 --enable-dependency-tracking do not reject slow dependency extractors
1480 --enable-shared[=PKGS] build shared libraries [default=yes]
1481 --enable-static[=PKGS] build static libraries [default=yes]
1482 --enable-fast-install[=PKGS]
1483 optimize for fast installation [default=yes]
1484 --disable-libtool-lock avoid locking (might break parallel builds)
1485 --disable-doc Disable documentation build [default=enabled]
1486 --disable-emotion disable optional module emotion. Default is
1489 --disable-epdf disable optional module epdf. Default is
1492 --disable-ethumbd disable optional module ethumbd. Default is
1495 --disable-libexif disable optional module libexif. Default is
1500 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1501 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1502 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1504 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1505 --with-sysroot=DIR Search for dependent libraries within DIR
1506 (or the compiler's sysroot if not specified).
1507 --with-doxygen=FILE doxygen program to use [default=doxygen]
1508 --with-internal-maximum-log-level=NUMBER
1509 limit eina internal log level to the given number,
1510 any call to EINA_LOG() with values greater than this
1511 will be compiled out, ignoring runtime settings, but
1512 saving function calls.
1513 --with-edje-cc=PATH specify a specific path to edje_cc [default=edje_cc]
1514 --with-dbus-services=DBUS_SERVICES
1515 specify a directory to store dbus service files.
1517 Some influential environment variables:
1518 PKG_CONFIG path to pkg-config utility
1520 directories to add to pkg-config's search path
1522 path overriding pkg-config's built-in search path
1523 CC C compiler command
1524 CFLAGS C compiler flags
1525 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1526 nonstandard directory <lib dir>
1527 LIBS libraries to pass to the linker, e.g. -l<library>
1528 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1529 you have headers in a nonstandard directory <include dir>
1531 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1532 EVIL_LIBS linker flags for EVIL, overriding pkg-config
1533 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
1534 EINA_LIBS linker flags for EINA, overriding pkg-config
1535 EVAS_CFLAGS C compiler flags for EVAS, overriding pkg-config
1536 EVAS_LIBS linker flags for EVAS, overriding pkg-config
1538 C compiler flags for ECORE, overriding pkg-config
1539 ECORE_LIBS linker flags for ECORE, overriding pkg-config
1541 C compiler flags for ECORE_EVAS, overriding pkg-config
1543 linker flags for ECORE_EVAS, overriding pkg-config
1545 C compiler flags for ECORE_FILE, overriding pkg-config
1547 linker flags for ECORE_FILE, overriding pkg-config
1548 EDJE_CFLAGS C compiler flags for EDJE, overriding pkg-config
1549 EDJE_LIBS linker flags for EDJE, overriding pkg-config
1550 EET_CFLAGS C compiler flags for EET, overriding pkg-config
1551 EET_LIBS linker flags for EET, overriding pkg-config
1553 C compiler flags for EMOTION, overriding pkg-config
1555 linker flags for EMOTION, overriding pkg-config
1556 EPDF_CFLAGS C compiler flags for EPDF, overriding pkg-config
1557 EPDF_LIBS linker flags for EPDF, overriding pkg-config
1559 C compiler flags for EDBUS, overriding pkg-config
1560 EDBUS_LIBS linker flags for EDBUS, overriding pkg-config
1562 C compiler flags for LIBEXIF, overriding pkg-config
1564 linker flags for LIBEXIF, overriding pkg-config
1566 Use these variables to override the choices made by `configure' or to help
1567 it to find libraries and programs with nonstandard names/locations.
1569 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1574 if test "$ac_init_help" = "recursive"; then
1575 # If there are subdirs, report their specific --help.
1576 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1577 test -d "$ac_dir" ||
1578 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1583 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1585 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1586 # A ".." for each directory in $ac_dir_suffix.
1587 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1588 case $ac_top_builddir_sub in
1589 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1590 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1593 ac_abs_top_builddir=$ac_pwd
1594 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1595 # for backward compatibility:
1596 ac_top_builddir=$ac_top_build_prefix
1599 .) # We are building in place.
1601 ac_top_srcdir=$ac_top_builddir_sub
1602 ac_abs_top_srcdir=$ac_pwd ;;
1603 [\\/]* | ?:[\\/]* ) # Absolute name.
1604 ac_srcdir=$srcdir$ac_dir_suffix;
1605 ac_top_srcdir=$srcdir
1606 ac_abs_top_srcdir=$srcdir ;;
1608 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1609 ac_top_srcdir=$ac_top_build_prefix$srcdir
1610 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1612 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1614 cd "$ac_dir" || { ac_status=$?; continue; }
1615 # Check for guested configure.
1616 if test -f "$ac_srcdir/configure.gnu"; then
1618 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1619 elif test -f "$ac_srcdir/configure"; then
1621 $SHELL "$ac_srcdir/configure" --help=recursive
1623 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1625 cd "$ac_pwd" || { ac_status=$?; break; }
1629 test -n "$ac_init_help" && exit $ac_status
1630 if $ac_init_version; then
1632 ethumb configure 1.7.7
1633 generated by GNU Autoconf 2.68
1635 Copyright (C) 2010 Free Software Foundation, Inc.
1636 This configure script is free software; the Free Software Foundation
1637 gives unlimited permission to copy, distribute and modify it.
1642 ## ------------------------ ##
1643 ## Autoconf initialization. ##
1644 ## ------------------------ ##
1646 # ac_fn_c_try_compile LINENO
1647 # --------------------------
1648 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1649 ac_fn_c_try_compile ()
1651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1652 rm -f conftest.$ac_objext
1653 if { { ac_try="$ac_compile"
1655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1656 *) ac_try_echo=$ac_try;;
1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_compile") 2>conftest.err
1662 if test -s conftest.err; then
1663 grep -v '^ *+' conftest.err >conftest.er1
1664 cat conftest.er1 >&5
1665 mv -f conftest.er1 conftest.err
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } && {
1669 test -z "$ac_c_werror_flag" ||
1670 test ! -s conftest.err
1671 } && test -s conftest.$ac_objext; then :
1674 $as_echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.$ac_ext >&5
1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680 as_fn_set_status $ac_retval
1682 } # ac_fn_c_try_compile
1684 # ac_fn_c_try_link LINENO
1685 # -----------------------
1686 # Try to link conftest.$ac_ext, and return whether this succeeded.
1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1690 rm -f conftest.$ac_objext conftest$ac_exeext
1691 if { { ac_try="$ac_link"
1693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694 *) ac_try_echo=$ac_try;;
1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698 (eval "$ac_link") 2>conftest.err
1700 if test -s conftest.err; then
1701 grep -v '^ *+' conftest.err >conftest.er1
1702 cat conftest.er1 >&5
1703 mv -f conftest.er1 conftest.err
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && {
1707 test -z "$ac_c_werror_flag" ||
1708 test ! -s conftest.err
1709 } && test -s conftest$ac_exeext && {
1710 test "$cross_compiling" = yes ||
1711 $as_test_x conftest$ac_exeext
1715 $as_echo "$as_me: failed program was:" >&5
1716 sed 's/^/| /' conftest.$ac_ext >&5
1720 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1721 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1722 # interfere with the next link command; also delete a directory that is
1723 # left behind by Apple's compiler. We do this before executing the actions.
1724 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1725 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726 as_fn_set_status $ac_retval
1728 } # ac_fn_c_try_link
1730 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1731 # -------------------------------------------------------
1732 # Tests whether HEADER exists and can be compiled using the include files in
1733 # INCLUDES, setting the cache variable VAR accordingly.
1734 ac_fn_c_check_header_compile ()
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1738 $as_echo_n "checking for $2... " >&6; }
1739 if eval \${$3+:} false; then :
1740 $as_echo_n "(cached) " >&6
1742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1743 /* end confdefs.h. */
1747 if ac_fn_c_try_compile "$LINENO"; then :
1752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1756 $as_echo "$ac_res" >&6; }
1757 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759 } # ac_fn_c_check_header_compile
1761 # ac_fn_c_try_cpp LINENO
1762 # ----------------------
1763 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767 if { { ac_try="$ac_cpp conftest.$ac_ext"
1769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1770 *) ac_try_echo=$ac_try;;
1772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1773 $as_echo "$ac_try_echo"; } >&5
1774 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1776 if test -s conftest.err; then
1777 grep -v '^ *+' conftest.err >conftest.er1
1778 cat conftest.er1 >&5
1779 mv -f conftest.er1 conftest.err
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; } > conftest.i && {
1783 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1784 test ! -s conftest.err
1788 $as_echo "$as_me: failed program was:" >&5
1789 sed 's/^/| /' conftest.$ac_ext >&5
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794 as_fn_set_status $ac_retval
1798 # ac_fn_c_try_run LINENO
1799 # ----------------------
1800 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1801 # that executables *can* be run.
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 if { { ac_try="$ac_link"
1807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1808 *) ac_try_echo=$ac_try;;
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_link") 2>&5
1814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1815 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1816 { { case "(($ac_try" in
1817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1818 *) ac_try_echo=$ac_try;;
1820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821 $as_echo "$ac_try_echo"; } >&5
1822 (eval "$ac_try") 2>&5
1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825 test $ac_status = 0; }; }; then :
1828 $as_echo "$as_me: program exited with status $ac_status" >&5
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.$ac_ext >&5
1832 ac_retval=$ac_status
1834 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1836 as_fn_set_status $ac_retval
1840 # ac_fn_c_check_func LINENO FUNC VAR
1841 # ----------------------------------
1842 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1843 ac_fn_c_check_func ()
1845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1847 $as_echo_n "checking for $2... " >&6; }
1848 if eval \${$3+:} false; then :
1849 $as_echo_n "(cached) " >&6
1851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1852 /* end confdefs.h. */
1853 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1855 #define $2 innocuous_$2
1857 /* System header to define __stub macros and hopefully few prototypes,
1858 which can conflict with char $2 (); below.
1859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1860 <limits.h> exists even on freestanding compilers. */
1863 # include <limits.h>
1865 # include <assert.h>
1870 /* Override any GCC internal prototype to avoid an error.
1871 Use char because int might match the return type of a GCC
1872 builtin and then its argument prototype would still apply. */
1877 /* The GNU C library defines this for functions which it implements
1878 to always fail with ENOSYS. Some functions are actually named
1879 something starting with __ and the normal name is an alias. */
1880 #if defined __stub_$2 || defined __stub___$2
1892 if ac_fn_c_try_link "$LINENO"; then :
1897 rm -f core conftest.err conftest.$ac_objext \
1898 conftest$ac_exeext conftest.$ac_ext
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1902 $as_echo "$ac_res" >&6; }
1903 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1905 } # ac_fn_c_check_func
1906 cat >config.log <<_ACEOF
1907 This file contains any messages produced by compilers while
1908 running configure, to aid debugging if configure makes a mistake.
1910 It was created by ethumb $as_me 1.7.7, which was
1911 generated by GNU Autoconf 2.68. Invocation command line was
1923 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1924 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1925 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1926 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1927 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1929 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1930 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1932 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1933 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1934 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1935 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1936 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1937 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1938 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1946 test -z "$as_dir" && as_dir=.
1947 $as_echo "PATH: $as_dir"
1963 # Keep a trace of the command line.
1964 # Strip out --no-create and --no-recursion so they do not pile up.
1965 # Strip out --silent because we don't want to record it for future runs.
1966 # Also quote any args containing shell meta-characters.
1967 # Make two passes to allow for proper duplicate-argument suppression.
1971 ac_must_keep_next=false
1977 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1978 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1979 | -silent | --silent | --silen | --sile | --sil)
1982 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1985 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1987 as_fn_append ac_configure_args1 " '$ac_arg'"
1988 if test $ac_must_keep_next = true; then
1989 ac_must_keep_next=false # Got value, back to normal.
1992 *=* | --config-cache | -C | -disable-* | --disable-* \
1993 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1994 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1995 | -with-* | --with-* | -without-* | --without-* | --x)
1996 case "$ac_configure_args0 " in
1997 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2000 -* ) ac_must_keep_next=true ;;
2003 as_fn_append ac_configure_args " '$ac_arg'"
2008 { ac_configure_args0=; unset ac_configure_args0;}
2009 { ac_configure_args1=; unset ac_configure_args1;}
2011 # When interrupted or exit'd, cleanup temporary files, and complete
2012 # config.log. We remove comments because anyway the quotes in there
2013 # would cause problems or look ugly.
2014 # WARNING: Use '\'' to represent an apostrophe within the trap.
2015 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2016 trap 'exit_status=$?
2017 # Save into config.log some information that might help in debugging.
2021 $as_echo "## ---------------- ##
2022 ## Cache variables. ##
2023 ## ---------------- ##"
2025 # The following way of writing the cache mishandles newlines in values,
2027 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2028 eval ac_val=\$$ac_var
2032 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2033 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2036 _ | IFS | as_nl) ;; #(
2037 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2038 *) { eval $ac_var=; unset $ac_var;} ;;
2043 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2044 *${as_nl}ac_space=\ *)
2046 "s/'\''/'\''\\\\'\'''\''/g;
2047 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2050 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2057 $as_echo "## ----------------- ##
2058 ## Output variables. ##
2059 ## ----------------- ##"
2061 for ac_var in $ac_subst_vars
2063 eval ac_val=\$$ac_var
2065 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2067 $as_echo "$ac_var='\''$ac_val'\''"
2071 if test -n "$ac_subst_files"; then
2072 $as_echo "## ------------------- ##
2073 ## File substitutions. ##
2074 ## ------------------- ##"
2076 for ac_var in $ac_subst_files
2078 eval ac_val=\$$ac_var
2080 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2082 $as_echo "$ac_var='\''$ac_val'\''"
2087 if test -s confdefs.h; then
2088 $as_echo "## ----------- ##
2095 test "$ac_signal" != 0 &&
2096 $as_echo "$as_me: caught signal $ac_signal"
2097 $as_echo "$as_me: exit $exit_status"
2099 rm -f core *.core core.conftest.* &&
2100 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2103 for ac_signal in 1 2 13 15; do
2104 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2108 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2109 rm -f -r conftest* confdefs.h
2111 $as_echo "/* confdefs.h */" > confdefs.h
2113 # Predefined preprocessor variables.
2115 cat >>confdefs.h <<_ACEOF
2116 #define PACKAGE_NAME "$PACKAGE_NAME"
2119 cat >>confdefs.h <<_ACEOF
2120 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2123 cat >>confdefs.h <<_ACEOF
2124 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2127 cat >>confdefs.h <<_ACEOF
2128 #define PACKAGE_STRING "$PACKAGE_STRING"
2131 cat >>confdefs.h <<_ACEOF
2132 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2135 cat >>confdefs.h <<_ACEOF
2136 #define PACKAGE_URL "$PACKAGE_URL"
2140 # Let the site file select an alternate cache file if it wants to.
2141 # Prefer an explicitly selected file to automatically selected ones.
2144 if test -n "$CONFIG_SITE"; then
2145 # We do not want a PATH search for config.site.
2146 case $CONFIG_SITE in #((
2147 -*) ac_site_file1=./$CONFIG_SITE;;
2148 */*) ac_site_file1=$CONFIG_SITE;;
2149 *) ac_site_file1=./$CONFIG_SITE;;
2151 elif test "x$prefix" != xNONE; then
2152 ac_site_file1=$prefix/share/config.site
2153 ac_site_file2=$prefix/etc/config.site
2155 ac_site_file1=$ac_default_prefix/share/config.site
2156 ac_site_file2=$ac_default_prefix/etc/config.site
2158 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2160 test "x$ac_site_file" = xNONE && continue
2161 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2163 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2164 sed 's/^/| /' "$ac_site_file" >&5
2166 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2167 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2168 as_fn_error $? "failed to load site script $ac_site_file
2169 See \`config.log' for more details" "$LINENO" 5; }
2173 if test -r "$cache_file"; then
2174 # Some versions of bash will fail to source /dev/null (special files
2175 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2176 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2178 $as_echo "$as_me: loading cache $cache_file" >&6;}
2180 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2181 *) . "./$cache_file";;
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2186 $as_echo "$as_me: creating cache $cache_file" >&6;}
2190 # Check that the precious variables saved in the cache have kept the same
2192 ac_cache_corrupted=false
2193 for ac_var in $ac_precious_vars; do
2194 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2195 eval ac_new_set=\$ac_env_${ac_var}_set
2196 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2197 eval ac_new_val=\$ac_env_${ac_var}_value
2198 case $ac_old_set,$ac_new_set in
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2201 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2202 ac_cache_corrupted=: ;;
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2205 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2206 ac_cache_corrupted=: ;;
2209 if test "x$ac_old_val" != "x$ac_new_val"; then
2210 # differences in whitespace do not lead to failure.
2211 ac_old_val_w=`echo x $ac_old_val`
2212 ac_new_val_w=`echo x $ac_new_val`
2213 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2215 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2216 ac_cache_corrupted=:
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2219 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2220 eval $ac_var=\$ac_old_val
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2223 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2225 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2228 # Pass precious variables to config.status.
2229 if test "$ac_new_set" = set; then
2231 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2232 *) ac_arg=$ac_var=$ac_new_val ;;
2234 case " $ac_configure_args " in
2235 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2236 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2240 if $ac_cache_corrupted; then
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2244 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2245 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2247 ## -------------------- ##
2248 ## Main body of script. ##
2249 ## -------------------- ##
2252 ac_cpp='$CPP $CPPFLAGS'
2253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2262 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2263 if test -f "$ac_dir/install-sh"; then
2265 ac_install_sh="$ac_aux_dir/install-sh -c"
2267 elif test -f "$ac_dir/install.sh"; then
2269 ac_install_sh="$ac_aux_dir/install.sh -c"
2271 elif test -f "$ac_dir/shtool"; then
2273 ac_install_sh="$ac_aux_dir/shtool install -c"
2277 if test -z "$ac_aux_dir"; then
2278 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2281 # These three variables are undocumented and unsupported,
2282 # and are intended to be withdrawn in a future Autoconf release.
2283 # They can cause serious problems if a builder's source tree is in a directory
2284 # whose full name contains unusual characters.
2285 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2286 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2287 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2290 # Make sure we can run config.sub.
2291 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2292 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2295 $as_echo_n "checking build system type... " >&6; }
2296 if ${ac_cv_build+:} false; then :
2297 $as_echo_n "(cached) " >&6
2299 ac_build_alias=$build_alias
2300 test "x$ac_build_alias" = x &&
2301 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2302 test "x$ac_build_alias" = x &&
2303 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2304 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2305 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2309 $as_echo "$ac_cv_build" >&6; }
2310 case $ac_cv_build in
2312 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2315 ac_save_IFS=$IFS; IFS='-'
2321 # Remember, the first character of IFS is used to create $*,
2322 # except with old shells:
2325 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2329 $as_echo_n "checking host system type... " >&6; }
2330 if ${ac_cv_host+:} false; then :
2331 $as_echo_n "(cached) " >&6
2333 if test "x$host_alias" = x; then
2334 ac_cv_host=$ac_cv_build
2336 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2337 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2342 $as_echo "$ac_cv_host" >&6; }
2345 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2348 ac_save_IFS=$IFS; IFS='-'
2354 # Remember, the first character of IFS is used to create $*,
2355 # except with old shells:
2358 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2367 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2368 if test -n "$ac_tool_prefix"; then
2369 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2370 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2372 $as_echo_n "checking for $ac_word... " >&6; }
2373 if ${ac_cv_path_PKG_CONFIG+:} false; then :
2374 $as_echo_n "(cached) " >&6
2378 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2385 test -z "$as_dir" && as_dir=.
2386 for ac_exec_ext in '' $ac_executable_extensions; do
2387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2388 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2399 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2400 if test -n "$PKG_CONFIG"; then
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
2402 $as_echo "$PKG_CONFIG" >&6; }
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2405 $as_echo "no" >&6; }
2410 if test -z "$ac_cv_path_PKG_CONFIG"; then
2411 ac_pt_PKG_CONFIG=$PKG_CONFIG
2412 # Extract the first word of "pkg-config", so it can be a program name with args.
2413 set dummy pkg-config; ac_word=$2
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2415 $as_echo_n "checking for $ac_word... " >&6; }
2416 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
2417 $as_echo_n "(cached) " >&6
2419 case $ac_pt_PKG_CONFIG in
2421 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2428 test -z "$as_dir" && as_dir=.
2429 for ac_exec_ext in '' $ac_executable_extensions; do
2430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2431 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2442 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2443 if test -n "$ac_pt_PKG_CONFIG"; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
2445 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2448 $as_echo "no" >&6; }
2451 if test "x$ac_pt_PKG_CONFIG" = x; then
2454 case $cross_compiling:$ac_tool_warned in
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2458 ac_tool_warned=yes ;;
2460 PKG_CONFIG=$ac_pt_PKG_CONFIG
2463 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2467 if test -n "$PKG_CONFIG"; then
2468 _pkg_min_version=0.9.0
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
2470 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2471 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2473 $as_echo "yes" >&6; }
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2476 $as_echo "no" >&6; }
2481 ac_config_headers="$ac_config_headers config.h"
2486 am__api_version='1.11'
2488 # Find a good install program. We prefer a C program (faster),
2489 # so one script is as good as another. But avoid the broken or
2490 # incompatible versions:
2491 # SysV /etc/install, /usr/sbin/install
2492 # SunOS /usr/etc/install
2493 # IRIX /sbin/install
2495 # AmigaOS /C/install, which installs bootblocks on floppy discs
2496 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2497 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2498 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2499 # OS/2's system install, which has a completely different semantic
2500 # ./install, which can be erroneously created by make from ./install.sh.
2501 # Reject install programs that cannot install multiple files.
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2503 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2504 if test -z "$INSTALL"; then
2505 if ${ac_cv_path_install+:} false; then :
2506 $as_echo_n "(cached) " >&6
2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir=.
2513 # Account for people who put trailing slashes in PATH elements.
2514 case $as_dir/ in #((
2515 ./ | .// | /[cC]/* | \
2516 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2517 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2520 # OSF1 and SCO ODT 3.0 have their own names for install.
2521 # Don't use installbsd from OSF since it installs stuff as root
2523 for ac_prog in ginstall scoinst install; do
2524 for ac_exec_ext in '' $ac_executable_extensions; do
2525 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2526 if test $ac_prog = install &&
2527 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2528 # AIX install. It has an incompatible calling convention.
2530 elif test $ac_prog = install &&
2531 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2532 # program-specific install script used by HP pwplus--don't use.
2535 rm -rf conftest.one conftest.two conftest.dir
2536 echo one > conftest.one
2537 echo two > conftest.two
2539 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2540 test -s conftest.one && test -s conftest.two &&
2541 test -s conftest.dir/conftest.one &&
2542 test -s conftest.dir/conftest.two
2544 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2557 rm -rf conftest.one conftest.two conftest.dir
2560 if test "${ac_cv_path_install+set}" = set; then
2561 INSTALL=$ac_cv_path_install
2563 # As a last resort, use the slow shell script. Don't cache a
2564 # value for INSTALL within a source directory, because that will
2565 # break other packages using the cache if that directory is
2566 # removed, or if the value is a relative name.
2567 INSTALL=$ac_install_sh
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2571 $as_echo "$INSTALL" >&6; }
2573 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2574 # It thinks the first close brace ends the variable substitution.
2575 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2577 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2579 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2582 $as_echo_n "checking whether build environment is sane... " >&6; }
2585 echo timestamp > conftest.file
2586 # Reject unsafe characters in $srcdir or the absolute working directory
2587 # name. Accept space and tab only in the latter.
2591 *[\\\"\#\$\&\'\`$am_lf]*)
2592 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2595 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2596 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2599 # Do `set' in a subshell so we don't clobber the current shell's
2600 # arguments. Must try -L first in case configure is actually a
2601 # symlink; some systems play weird games with the mod time of symlinks
2602 # (eg FreeBSD returns the mod time of the symlink's containing
2605 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2606 if test "$*" = "X"; then
2608 set X `ls -t "$srcdir/configure" conftest.file`
2611 if test "$*" != "X $srcdir/configure conftest.file" \
2612 && test "$*" != "X conftest.file $srcdir/configure"; then
2614 # If neither matched, then we have a broken ls. This can happen
2615 # if, for instance, CONFIG_SHELL is bash and it inherits a
2616 # broken ls alias from the environment. This has actually
2617 # happened. Such a system could not be considered "sane".
2618 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2619 alias in your environment" "$LINENO" 5
2622 test "$2" = conftest.file
2628 as_fn_error $? "newly created file is older than distributed files!
2629 Check your system clock" "$LINENO" 5
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2632 $as_echo "yes" >&6; }
2633 test "$program_prefix" != NONE &&
2634 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2635 # Use a double $ so make ignores it.
2636 test "$program_suffix" != NONE &&
2637 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2638 # Double any \ or $.
2639 # By default was `s,x,x', remove it if useless.
2640 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2641 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2643 # expand $ac_aux_dir to an absolute path
2644 am_aux_dir=`cd $ac_aux_dir && pwd`
2646 if test x"${MISSING+set}" != xset; then
2649 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2651 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2654 # Use eval to expand $SHELL
2655 if eval "$MISSING --run true"; then
2656 am_missing_run="$MISSING --run "
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2660 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2663 if test x"${install_sh}" != xset; then
2666 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2668 install_sh="\${SHELL} $am_aux_dir/install-sh"
2672 # Installed binaries are usually stripped using `strip' when the user
2673 # run `make install-strip'. However `strip' might not be the right
2674 # tool to use in cross-compilation environments, therefore Automake
2675 # will honor the `STRIP' environment variable to overrule this program.
2676 if test "$cross_compiling" != no; then
2677 if test -n "$ac_tool_prefix"; then
2678 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2679 set dummy ${ac_tool_prefix}strip; ac_word=$2
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681 $as_echo_n "checking for $ac_word... " >&6; }
2682 if ${ac_cv_prog_STRIP+:} false; then :
2683 $as_echo_n "(cached) " >&6
2685 if test -n "$STRIP"; then
2686 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692 test -z "$as_dir" && as_dir=.
2693 for ac_exec_ext in '' $ac_executable_extensions; do
2694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2705 STRIP=$ac_cv_prog_STRIP
2706 if test -n "$STRIP"; then
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2708 $as_echo "$STRIP" >&6; }
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2716 if test -z "$ac_cv_prog_STRIP"; then
2718 # Extract the first word of "strip", so it can be a program name with args.
2719 set dummy strip; ac_word=$2
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2721 $as_echo_n "checking for $ac_word... " >&6; }
2722 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2723 $as_echo_n "(cached) " >&6
2725 if test -n "$ac_ct_STRIP"; then
2726 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2732 test -z "$as_dir" && as_dir=.
2733 for ac_exec_ext in '' $ac_executable_extensions; do
2734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2735 ac_cv_prog_ac_ct_STRIP="strip"
2736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2746 if test -n "$ac_ct_STRIP"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2748 $as_echo "$ac_ct_STRIP" >&6; }
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751 $as_echo "no" >&6; }
2754 if test "x$ac_ct_STRIP" = x; then
2757 case $cross_compiling:$ac_tool_warned in
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2761 ac_tool_warned=yes ;;
2766 STRIP="$ac_cv_prog_STRIP"
2770 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2773 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2774 if test -z "$MKDIR_P"; then
2775 if ${ac_cv_path_mkdir+:} false; then :
2776 $as_echo_n "(cached) " >&6
2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2782 test -z "$as_dir" && as_dir=.
2783 for ac_prog in mkdir gmkdir; do
2784 for ac_exec_ext in '' $ac_executable_extensions; do
2785 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2786 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2787 'mkdir (GNU coreutils) '* | \
2788 'mkdir (coreutils) '* | \
2789 'mkdir (fileutils) '4.1*)
2790 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2800 test -d ./--version && rmdir ./--version
2801 if test "${ac_cv_path_mkdir+set}" = set; then
2802 MKDIR_P="$ac_cv_path_mkdir -p"
2804 # As a last resort, use the slow shell script. Don't cache a
2805 # value for MKDIR_P within a source directory, because that will
2806 # break other packages using the cache if that directory is
2807 # removed, or if the value is a relative name.
2808 MKDIR_P="$ac_install_sh -d"
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2812 $as_echo "$MKDIR_P" >&6; }
2816 [\\/$]* | ?:[\\/]*) ;;
2817 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2820 for ac_prog in gawk mawk nawk awk
2822 # Extract the first word of "$ac_prog", so it can be a program name with args.
2823 set dummy $ac_prog; ac_word=$2
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2825 $as_echo_n "checking for $ac_word... " >&6; }
2826 if ${ac_cv_prog_AWK+:} false; then :
2827 $as_echo_n "(cached) " >&6
2829 if test -n "$AWK"; then
2830 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2836 test -z "$as_dir" && as_dir=.
2837 for ac_exec_ext in '' $ac_executable_extensions; do
2838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2839 ac_cv_prog_AWK="$ac_prog"
2840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850 if test -n "$AWK"; then
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2852 $as_echo "$AWK" >&6; }
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2855 $as_echo "no" >&6; }
2859 test -n "$AWK" && break
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2863 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2865 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2866 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2867 $as_echo_n "(cached) " >&6
2869 cat >conftest.make <<\_ACEOF
2872 @echo '@@@%%%=$(MAKE)=@@@%%%'
2874 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2875 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2877 eval ac_cv_prog_make_${ac_make}_set=yes;;
2879 eval ac_cv_prog_make_${ac_make}_set=no;;
2883 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2885 $as_echo "yes" >&6; }
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2889 $as_echo "no" >&6; }
2890 SET_MAKE="MAKE=${MAKE-make}"
2893 rm -rf .tst 2>/dev/null
2894 mkdir .tst 2>/dev/null
2895 if test -d .tst; then
2900 rmdir .tst 2>/dev/null
2902 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2903 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2904 # is not polluted with repeated "-I."
2905 am__isrc=' -I$(srcdir)'
2906 # test to see if srcdir already configured
2907 if test -f $srcdir/config.status; then
2908 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2912 # test whether we have cygpath
2913 if test -z "$CYGPATH_W"; then
2914 if (cygpath --version) >/dev/null 2>/dev/null; then
2915 CYGPATH_W='cygpath -w'
2922 # Define the identity of the package.
2927 cat >>confdefs.h <<_ACEOF
2928 #define PACKAGE "$PACKAGE"
2932 cat >>confdefs.h <<_ACEOF
2933 #define VERSION "$VERSION"
2936 # Some tools Automake needs.
2938 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2941 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2944 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2947 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2950 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2952 # We need awk for the "check" target. The system "awk" is bad on
2954 # Always define AMTAR for backward compatibility. Yes, it's still used
2955 # in the wild :-( We should find a proper way to deprecate it ...
2958 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2964 # Check whether --enable-silent-rules was given.
2965 if test "${enable_silent_rules+set}" = set; then :
2966 enableval=$enable_silent_rules;
2969 case $enable_silent_rules in
2970 yes) AM_DEFAULT_VERBOSITY=0;;
2971 no) AM_DEFAULT_VERBOSITY=1;;
2972 *) AM_DEFAULT_VERBOSITY=0;;
2974 am_make=${MAKE-make}
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2976 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2977 if ${am_cv_make_support_nested_variables+:} false; then :
2978 $as_echo_n "(cached) " >&6
2980 if $as_echo 'TRUE=$(BAR$(V))
2986 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2987 am_cv_make_support_nested_variables=yes
2989 am_cv_make_support_nested_variables=no
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2993 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2994 if test $am_cv_make_support_nested_variables = yes; then
2996 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2998 AM_V=$AM_DEFAULT_VERBOSITY
2999 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3004 # Check for XTerm and define some colors
3005 if test "x$TERM" = "xxterm"; then
3006 COLOR_PREF="\0033\0133"
3007 COLOR_H="${COLOR_PREF}1m"
3008 COLOR_HGREEN="${COLOR_PREF}1;32m"
3009 COLOR_HRED="${COLOR_PREF}1;31m"
3010 COLOR_GREEN="${COLOR_PREF}32m"
3011 COLOR_RED="${COLOR_PREF}31m"
3012 COLOR_YELLOW="${COLOR_PREF}1;33m"
3013 COLOR_END="${COLOR_PREF}0m"
3025 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3026 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3030 cat >>confdefs.h <<_ACEOF
3035 cat >>confdefs.h <<_ACEOF
3040 cat >>confdefs.h <<_ACEOF
3045 cat >>confdefs.h <<_ACEOF
3049 version_info="8:7:7"
3053 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3054 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3061 ac_cpp='$CPP $CPPFLAGS'
3062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3065 if test -n "$ac_tool_prefix"; then
3066 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3067 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3069 $as_echo_n "checking for $ac_word... " >&6; }
3070 if ${ac_cv_prog_CC+:} false; then :
3071 $as_echo_n "(cached) " >&6
3073 if test -n "$CC"; then
3074 ac_cv_prog_CC="$CC" # Let the user override the test.
3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 test -z "$as_dir" && as_dir=.
3081 for ac_exec_ext in '' $ac_executable_extensions; do
3082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3083 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094 if test -n "$CC"; then
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3096 $as_echo "$CC" >&6; }
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3099 $as_echo "no" >&6; }
3104 if test -z "$ac_cv_prog_CC"; then
3106 # Extract the first word of "gcc", so it can be a program name with args.
3107 set dummy gcc; ac_word=$2
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3109 $as_echo_n "checking for $ac_word... " >&6; }
3110 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3111 $as_echo_n "(cached) " >&6
3113 if test -n "$ac_ct_CC"; then
3114 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3120 test -z "$as_dir" && as_dir=.
3121 for ac_exec_ext in '' $ac_executable_extensions; do
3122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3123 ac_cv_prog_ac_ct_CC="gcc"
3124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3133 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3134 if test -n "$ac_ct_CC"; then
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3136 $as_echo "$ac_ct_CC" >&6; }
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3139 $as_echo "no" >&6; }
3142 if test "x$ac_ct_CC" = x; then
3145 case $cross_compiling:$ac_tool_warned in
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3149 ac_tool_warned=yes ;;
3157 if test -z "$CC"; then
3158 if test -n "$ac_tool_prefix"; then
3159 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3160 set dummy ${ac_tool_prefix}cc; ac_word=$2
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3162 $as_echo_n "checking for $ac_word... " >&6; }
3163 if ${ac_cv_prog_CC+:} false; then :
3164 $as_echo_n "(cached) " >&6
3166 if test -n "$CC"; then
3167 ac_cv_prog_CC="$CC" # Let the user override the test.
3169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173 test -z "$as_dir" && as_dir=.
3174 for ac_exec_ext in '' $ac_executable_extensions; do
3175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3176 ac_cv_prog_CC="${ac_tool_prefix}cc"
3177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3187 if test -n "$CC"; then
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3189 $as_echo "$CC" >&6; }
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3192 $as_echo "no" >&6; }
3198 if test -z "$CC"; then
3199 # Extract the first word of "cc", so it can be a program name with args.
3200 set dummy cc; ac_word=$2
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3202 $as_echo_n "checking for $ac_word... " >&6; }
3203 if ${ac_cv_prog_CC+:} false; then :
3204 $as_echo_n "(cached) " >&6
3206 if test -n "$CC"; then
3207 ac_cv_prog_CC="$CC" # Let the user override the test.
3210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3214 test -z "$as_dir" && as_dir=.
3215 for ac_exec_ext in '' $ac_executable_extensions; do
3216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3217 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3218 ac_prog_rejected=yes
3222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3229 if test $ac_prog_rejected = yes; then
3230 # We found a bogon in the path, so make sure we never use it.
3231 set dummy $ac_cv_prog_CC
3233 if test $# != 0; then
3234 # We chose a different compiler from the bogus one.
3235 # However, it has the same basename, so the bogon will be chosen
3236 # first if we set CC to just the basename; use the full file name.
3238 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3244 if test -n "$CC"; then
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3246 $as_echo "$CC" >&6; }
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3254 if test -z "$CC"; then
3255 if test -n "$ac_tool_prefix"; then
3256 for ac_prog in cl.exe
3258 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3259 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3261 $as_echo_n "checking for $ac_word... " >&6; }
3262 if ${ac_cv_prog_CC+:} false; then :
3263 $as_echo_n "(cached) " >&6
3265 if test -n "$CC"; then
3266 ac_cv_prog_CC="$CC" # Let the user override the test.
3268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3272 test -z "$as_dir" && as_dir=.
3273 for ac_exec_ext in '' $ac_executable_extensions; do
3274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3275 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3286 if test -n "$CC"; then
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3288 $as_echo "$CC" >&6; }
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291 $as_echo "no" >&6; }
3295 test -n "$CC" && break
3298 if test -z "$CC"; then
3300 for ac_prog in cl.exe
3302 # Extract the first word of "$ac_prog", so it can be a program name with args.
3303 set dummy $ac_prog; ac_word=$2
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3305 $as_echo_n "checking for $ac_word... " >&6; }
3306 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3307 $as_echo_n "(cached) " >&6
3309 if test -n "$ac_ct_CC"; then
3310 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3316 test -z "$as_dir" && as_dir=.
3317 for ac_exec_ext in '' $ac_executable_extensions; do
3318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3319 ac_cv_prog_ac_ct_CC="$ac_prog"
3320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3329 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3330 if test -n "$ac_ct_CC"; then
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3332 $as_echo "$ac_ct_CC" >&6; }
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3335 $as_echo "no" >&6; }
3339 test -n "$ac_ct_CC" && break
3342 if test "x$ac_ct_CC" = x; then
3345 case $cross_compiling:$ac_tool_warned in
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3349 ac_tool_warned=yes ;;
3358 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3360 as_fn_error $? "no acceptable C compiler found in \$PATH
3361 See \`config.log' for more details" "$LINENO" 5; }
3363 # Provide some information about the compiler.
3364 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3367 for ac_option in --version -v -V -qversion; do
3368 { { ac_try="$ac_compiler $ac_option >&5"
3370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3371 *) ac_try_echo=$ac_try;;
3373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3374 $as_echo "$ac_try_echo"; } >&5
3375 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3377 if test -s conftest.err; then
3379 ... rest of stderr output deleted ...
3380 10q' conftest.err >conftest.er1
3381 cat conftest.er1 >&5
3383 rm -f conftest.er1 conftest.err
3384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3385 test $ac_status = 0; }
3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h. */
3399 ac_clean_files_save=$ac_clean_files
3400 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3401 # Try to create an executable without -o first, disregard a.out.
3402 # It will help us diagnose broken compilers, and finding out an intuition
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3405 $as_echo_n "checking whether the C compiler works... " >&6; }
3406 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3408 # The possible output files:
3409 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3412 for ac_file in $ac_files
3415 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3416 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3421 if { { ac_try="$ac_link_default"
3423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424 *) ac_try_echo=$ac_try;;
3426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3427 $as_echo "$ac_try_echo"; } >&5
3428 (eval "$ac_link_default") 2>&5
3430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3431 test $ac_status = 0; }; then :
3432 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3433 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3434 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3435 # so that the user can short-circuit this test for compilers unknown to
3437 for ac_file in $ac_files ''
3439 test -f "$ac_file" || continue
3441 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3444 # We found the default executable, but exeext='' is most
3448 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3450 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3452 # We set ac_cv_exeext here because the later test for it is not
3453 # safe: cross compilers may not add the suffix if given an `-o'
3454 # argument, so we may need to know it at that point already.
3455 # Even if this section looks crufty: it has the advantage of
3462 test "$ac_cv_exeext" = no && ac_cv_exeext=
3467 if test -z "$ac_file"; then :
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3469 $as_echo "no" >&6; }
3470 $as_echo "$as_me: failed program was:" >&5
3471 sed 's/^/| /' conftest.$ac_ext >&5
3473 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3475 as_fn_error 77 "C compiler cannot create executables
3476 See \`config.log' for more details" "$LINENO" 5; }
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3479 $as_echo "yes" >&6; }
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3482 $as_echo_n "checking for C compiler default output file name... " >&6; }
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3484 $as_echo "$ac_file" >&6; }
3485 ac_exeext=$ac_cv_exeext
3487 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3488 ac_clean_files=$ac_clean_files_save
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3490 $as_echo_n "checking for suffix of executables... " >&6; }
3491 if { { ac_try="$ac_link"
3493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3494 *) ac_try_echo=$ac_try;;
3496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3497 $as_echo "$ac_try_echo"; } >&5
3498 (eval "$ac_link") 2>&5
3500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3501 test $ac_status = 0; }; then :
3502 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3503 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3504 # work properly (i.e., refer to `conftest.exe'), while it won't with
3506 for ac_file in conftest.exe conftest conftest.*; do
3507 test -f "$ac_file" || continue
3509 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3510 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3516 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3518 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3519 See \`config.log' for more details" "$LINENO" 5; }
3521 rm -f conftest conftest$ac_cv_exeext
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3523 $as_echo "$ac_cv_exeext" >&6; }
3525 rm -f conftest.$ac_ext
3526 EXEEXT=$ac_cv_exeext
3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529 /* end confdefs.h. */
3534 FILE *f = fopen ("conftest.out", "w");
3535 return ferror (f) || fclose (f) != 0;
3541 ac_clean_files="$ac_clean_files conftest.out"
3542 # Check that the compiler produces executables we can run. If not, either
3543 # the compiler is broken, or we cross compile.
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3545 $as_echo_n "checking whether we are cross compiling... " >&6; }
3546 if test "$cross_compiling" != yes; then
3547 { { ac_try="$ac_link"
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3553 $as_echo "$ac_try_echo"; } >&5
3554 (eval "$ac_link") 2>&5
3556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3557 test $ac_status = 0; }
3558 if { ac_try='./conftest$ac_cv_exeext'
3559 { { case "(($ac_try" in
3560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3561 *) ac_try_echo=$ac_try;;
3563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3564 $as_echo "$ac_try_echo"; } >&5
3565 (eval "$ac_try") 2>&5
3567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3568 test $ac_status = 0; }; }; then
3571 if test "$cross_compiling" = maybe; then
3574 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3576 as_fn_error $? "cannot run C compiled programs.
3577 If you meant to cross compile, use \`--host'.
3578 See \`config.log' for more details" "$LINENO" 5; }
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3583 $as_echo "$cross_compiling" >&6; }
3585 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3586 ac_clean_files=$ac_clean_files_save
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3588 $as_echo_n "checking for suffix of object files... " >&6; }
3589 if ${ac_cv_objext+:} false; then :
3590 $as_echo_n "(cached) " >&6
3592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3593 /* end confdefs.h. */
3603 rm -f conftest.o conftest.obj
3604 if { { ac_try="$ac_compile"
3606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3607 *) ac_try_echo=$ac_try;;
3609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3610 $as_echo "$ac_try_echo"; } >&5
3611 (eval "$ac_compile") 2>&5
3613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3614 test $ac_status = 0; }; then :
3615 for ac_file in conftest.o conftest.obj conftest.*; do
3616 test -f "$ac_file" || continue;
3618 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3619 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3624 $as_echo "$as_me: failed program was:" >&5
3625 sed 's/^/| /' conftest.$ac_ext >&5
3627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3629 as_fn_error $? "cannot compute suffix of object files: cannot compile
3630 See \`config.log' for more details" "$LINENO" 5; }
3632 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3635 $as_echo "$ac_cv_objext" >&6; }
3636 OBJEXT=$ac_cv_objext
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3639 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3640 if ${ac_cv_c_compiler_gnu+:} false; then :
3641 $as_echo_n "(cached) " >&6
3643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3644 /* end confdefs.h. */
3657 if ac_fn_c_try_compile "$LINENO"; then :
3662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3663 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3667 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3668 if test $ac_compiler_gnu = yes; then
3673 ac_test_CFLAGS=${CFLAGS+set}
3674 ac_save_CFLAGS=$CFLAGS
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3676 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3677 if ${ac_cv_prog_cc_g+:} false; then :
3678 $as_echo_n "(cached) " >&6
3680 ac_save_c_werror_flag=$ac_c_werror_flag
3681 ac_c_werror_flag=yes
3684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3685 /* end confdefs.h. */
3695 if ac_fn_c_try_compile "$LINENO"; then :
3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3700 /* end confdefs.h. */
3710 if ac_fn_c_try_compile "$LINENO"; then :
3713 ac_c_werror_flag=$ac_save_c_werror_flag
3715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3716 /* end confdefs.h. */
3726 if ac_fn_c_try_compile "$LINENO"; then :
3729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3734 ac_c_werror_flag=$ac_save_c_werror_flag
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3737 $as_echo "$ac_cv_prog_cc_g" >&6; }
3738 if test "$ac_test_CFLAGS" = set; then
3739 CFLAGS=$ac_save_CFLAGS
3740 elif test $ac_cv_prog_cc_g = yes; then
3741 if test "$GCC" = yes; then
3747 if test "$GCC" = yes; then
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3754 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3755 if ${ac_cv_prog_cc_c89+:} false; then :
3756 $as_echo_n "(cached) " >&6
3758 ac_cv_prog_cc_c89=no
3760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3761 /* end confdefs.h. */
3764 #include <sys/types.h>
3765 #include <sys/stat.h>
3766 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3767 struct buf { int x; };
3768 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3769 static char *e (p, i)
3775 static char *f (char * (*g) (char **, int), char **p, ...)
3780 s = g (p, va_arg (v,int));
3785 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3786 function prototypes and stuff, but not '\xHH' hex character constants.
3787 These don't provoke an error unfortunately, instead are silently treated
3788 as 'x'. The following induces an error, until -std is added to get
3789 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3790 array size at least. It's necessary to write '\x00'==0 to get something
3791 that's true only with -std. */
3792 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3794 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3795 inside strings and character constants. */
3797 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3799 int test (int i, double x);
3800 struct s1 {int (*f) (int a);};
3801 struct s2 {int (*f) (double a);};
3802 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3808 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3813 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3814 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3816 CC="$ac_save_CC $ac_arg"
3817 if ac_fn_c_try_compile "$LINENO"; then :
3818 ac_cv_prog_cc_c89=$ac_arg
3820 rm -f core conftest.err conftest.$ac_objext
3821 test "x$ac_cv_prog_cc_c89" != "xno" && break
3823 rm -f conftest.$ac_ext
3828 case "x$ac_cv_prog_cc_c89" in
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3831 $as_echo "none needed" >&6; } ;;
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3834 $as_echo "unsupported" >&6; } ;;
3836 CC="$CC $ac_cv_prog_cc_c89"
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3838 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3840 if test "x$ac_cv_prog_cc_c89" != xno; then :
3845 ac_cpp='$CPP $CPPFLAGS'
3846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3849 DEPDIR="${am__leading_dot}deps"
3851 ac_config_commands="$ac_config_commands depfiles"
3854 am_make=${MAKE-make}
3855 cat > confinc << 'END'
3857 @echo this is the am__doit target
3860 # If we don't find an include directive, just comment out the code.
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3862 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3866 # First try GNU make style include.
3867 echo "include confinc" > confmf
3868 # Ignore all kinds of additional output from `make'.
3869 case `$am_make -s -f confmf 2> /dev/null` in #(
3870 *the\ am__doit\ target*)
3876 # Now try BSD make style include.
3877 if test "$am__include" = "#"; then
3878 echo '.include "confinc"' > confmf
3879 case `$am_make -s -f confmf 2> /dev/null` in #(
3880 *the\ am__doit\ target*)
3881 am__include=.include
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3890 $as_echo "$_am_result" >&6; }
3891 rm -f confinc confmf
3893 # Check whether --enable-dependency-tracking was given.
3894 if test "${enable_dependency_tracking+set}" = set; then :
3895 enableval=$enable_dependency_tracking;
3898 if test "x$enable_dependency_tracking" != xno; then
3899 am_depcomp="$ac_aux_dir/depcomp"
3903 if test "x$enable_dependency_tracking" != xno; then
3913 depcc="$CC" am_compiler_list=
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3916 $as_echo_n "checking dependency style of $depcc... " >&6; }
3917 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3918 $as_echo_n "(cached) " >&6
3920 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3921 # We make a subdir and do the tests there. Otherwise we can end up
3922 # making bogus files that we don't know about and never remove. For
3923 # instance it was reported that on HP-UX the gcc test will end up
3924 # making a dummy file named `D' -- because `-MD' means `put the output
3928 # Copy depcomp to subdir because otherwise we won't find it if we're
3929 # using a relative directory.
3930 cp "$am_depcomp" conftest.dir
3932 # We will build objects and dependencies in a subdirectory because
3933 # it helps to detect inapplicable dependency modes. For instance
3934 # both Tru64's cc and ICC support -MD to output dependencies as a
3935 # side effect of compilation, but ICC will put the dependencies in
3936 # the current directory while Tru64 will put them in the object
3940 am_cv_CC_dependencies_compiler_type=none
3941 if test "$am_compiler_list" = ""; then
3942 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3945 case " $depcc " in #(
3946 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3949 for depmode in $am_compiler_list; do
3950 # Setup a source with many dependencies, because some compilers
3951 # like to wrap large dependency lists on column 80 (with \), and
3952 # we should not choose a depcomp mode which is confused by this.
3954 # We need to recreate these files for each test, as the compiler may
3955 # overwrite some of them when testing with obscure command lines.
3956 # This happens at least with the AIX C compiler.
3958 for i in 1 2 3 4 5 6; do
3959 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3960 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3961 # Solaris 8's {/usr,}/bin/sh.
3962 touch sub/conftst$i.h
3964 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3966 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3967 # mode. It turns out that the SunPro C++ compiler does not properly
3968 # handle `-M -o', and we need to detect this. Also, some Intel
3969 # versions had trouble with output in subdirs
3970 am__obj=sub/conftest.${OBJEXT-o}
3971 am__minus_obj="-o $am__obj"
3974 # This depmode causes a compiler race in universal mode.
3975 test "$am__universal" = false || continue
3978 # after this tag, mechanisms are not by side-effect, so they'll
3979 # only be used when explicitly requested
3980 if test "x$enable_dependency_tracking" = xyes; then
3986 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3987 # This compiler won't grok `-c -o', but also, the minuso test has
3988 # not run yet. These depmodes are late enough in the game, and
3989 # so weak that their functioning should not be impacted.
3990 am__obj=conftest.${OBJEXT-o}
3995 if depmode=$depmode \
3996 source=sub/conftest.c object=$am__obj \
3997 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3998 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3999 >/dev/null 2>conftest.err &&
4000 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4001 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4002 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4003 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4004 # icc doesn't choke on unknown options, it will just issue warnings
4005 # or remarks (even with -Werror). So we grep stderr for any message
4006 # that says an option was ignored or not supported.
4007 # When given -MP, icc 7.0 and 7.1 complain thusly:
4008 # icc: Command line warning: ignoring option '-M'; no argument required
4009 # The diagnosis changed in icc 8.0:
4010 # icc: Command line remark: option '-MP' not supported
4011 if (grep 'ignoring option' conftest.err ||
4012 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4013 am_cv_CC_dependencies_compiler_type=$depmode
4022 am_cv_CC_dependencies_compiler_type=none
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4027 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4028 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4031 test "x$enable_dependency_tracking" != xno \
4032 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4034 am__fastdepCC_FALSE='#'
4036 am__fastdepCC_TRUE='#'
4037 am__fastdepCC_FALSE=
4041 if test "x$CC" != xcc; then
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4043 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4046 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4048 set dummy $CC; ac_cc=`$as_echo "$2" |
4049 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4050 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4051 $as_echo_n "(cached) " >&6
4053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4054 /* end confdefs.h. */
4064 # Make sure it works both with $CC and with simple cc.
4065 # We do the test twice because some compilers refuse to overwrite an
4066 # existing .o file with -o, though they will create one.
4067 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4069 if { { case "(($ac_try" in
4070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4071 *) ac_try_echo=$ac_try;;
4073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4074 $as_echo "$ac_try_echo"; } >&5
4075 (eval "$ac_try") 2>&5
4077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4078 test $ac_status = 0; } &&
4079 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081 *) ac_try_echo=$ac_try;;
4083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4084 $as_echo "$ac_try_echo"; } >&5
4085 (eval "$ac_try") 2>&5
4087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4088 test $ac_status = 0; };
4090 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4091 if test "x$CC" != xcc; then
4092 # Test first that cc exists at all.
4093 if { ac_try='cc -c conftest.$ac_ext >&5'
4094 { { case "(($ac_try" in
4095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096 *) ac_try_echo=$ac_try;;
4098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4099 $as_echo "$ac_try_echo"; } >&5
4100 (eval "$ac_try") 2>&5
4102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103 test $ac_status = 0; }; }; then
4104 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4106 if { { case "(($ac_try" in
4107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4108 *) ac_try_echo=$ac_try;;
4110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4111 $as_echo "$ac_try_echo"; } >&5
4112 (eval "$ac_try") 2>&5
4114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4115 test $ac_status = 0; } &&
4116 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4118 *) ac_try_echo=$ac_try;;
4120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4121 $as_echo "$ac_try_echo"; } >&5
4122 (eval "$ac_try") 2>&5
4124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4125 test $ac_status = 0; };
4130 # cc exists but doesn't like -o.
4131 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4136 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4138 rm -f core conftest*
4141 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4143 $as_echo "yes" >&6; }
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4146 $as_echo "no" >&6; }
4148 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4152 # FIXME: we rely on the cache variable name because
4153 # there is no other way.
4155 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4156 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4157 if test "$am_t" != yes; then
4158 # Losing compiler, so override with the script.
4159 # FIXME: It is wrong to rewrite CC.
4160 # But if we don't then we get into trouble of one sort or another.
4161 # A longer-term fix would be to have automake use am__CC in this case,
4162 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4163 CC="$am_aux_dir/compile $CC"
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
4171 $as_echo_n "checking for __attribute__... " >&6; }
4173 if ${ac_cv___attribute__+:} false; then :
4174 $as_echo_n "(cached) " >&6
4176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h. */
4182 int foo(int x __attribute__ ((unused)))
4195 if ac_fn_c_try_compile "$LINENO"; then :
4196 ac_cv___attribute__="yes"
4198 ac_cv___attribute__="no"
4201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
4206 $as_echo "$ac_cv___attribute__" >&6; }
4208 if test "x${ac_cv___attribute__}" = "xyes" ; then
4210 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
4213 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
4217 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
4223 enable_win32_dll=yes
4226 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4227 if test -n "$ac_tool_prefix"; then
4228 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4229 set dummy ${ac_tool_prefix}as; ac_word=$2
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4231 $as_echo_n "checking for $ac_word... " >&6; }
4232 if ${ac_cv_prog_AS+:} false; then :
4233 $as_echo_n "(cached) " >&6
4235 if test -n "$AS"; then
4236 ac_cv_prog_AS="$AS" # Let the user override the test.
4238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4242 test -z "$as_dir" && as_dir=.
4243 for ac_exec_ext in '' $ac_executable_extensions; do
4244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4245 ac_cv_prog_AS="${ac_tool_prefix}as"
4246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4256 if test -n "$AS"; then
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4258 $as_echo "$AS" >&6; }
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4261 $as_echo "no" >&6; }
4266 if test -z "$ac_cv_prog_AS"; then
4268 # Extract the first word of "as", so it can be a program name with args.
4269 set dummy as; ac_word=$2
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4271 $as_echo_n "checking for $ac_word... " >&6; }
4272 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4273 $as_echo_n "(cached) " >&6
4275 if test -n "$ac_ct_AS"; then
4276 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4282 test -z "$as_dir" && as_dir=.
4283 for ac_exec_ext in '' $ac_executable_extensions; do
4284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4285 ac_cv_prog_ac_ct_AS="as"
4286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4295 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4296 if test -n "$ac_ct_AS"; then
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4298 $as_echo "$ac_ct_AS" >&6; }
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4301 $as_echo "no" >&6; }
4304 if test "x$ac_ct_AS" = x; then
4307 case $cross_compiling:$ac_tool_warned in
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4311 ac_tool_warned=yes ;;
4319 if test -n "$ac_tool_prefix"; then
4320 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4321 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4323 $as_echo_n "checking for $ac_word... " >&6; }
4324 if ${ac_cv_prog_DLLTOOL+:} false; then :
4325 $as_echo_n "(cached) " >&6
4327 if test -n "$DLLTOOL"; then
4328 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4334 test -z "$as_dir" && as_dir=.
4335 for ac_exec_ext in '' $ac_executable_extensions; do
4336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4337 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4347 DLLTOOL=$ac_cv_prog_DLLTOOL
4348 if test -n "$DLLTOOL"; then
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4350 $as_echo "$DLLTOOL" >&6; }
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4353 $as_echo "no" >&6; }
4358 if test -z "$ac_cv_prog_DLLTOOL"; then
4359 ac_ct_DLLTOOL=$DLLTOOL
4360 # Extract the first word of "dlltool", so it can be a program name with args.
4361 set dummy dlltool; ac_word=$2
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4363 $as_echo_n "checking for $ac_word... " >&6; }
4364 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4365 $as_echo_n "(cached) " >&6
4367 if test -n "$ac_ct_DLLTOOL"; then
4368 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4374 test -z "$as_dir" && as_dir=.
4375 for ac_exec_ext in '' $ac_executable_extensions; do
4376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4377 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4387 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4388 if test -n "$ac_ct_DLLTOOL"; then
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4390 $as_echo "$ac_ct_DLLTOOL" >&6; }
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4393 $as_echo "no" >&6; }
4396 if test "x$ac_ct_DLLTOOL" = x; then
4399 case $cross_compiling:$ac_tool_warned in
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4403 ac_tool_warned=yes ;;
4405 DLLTOOL=$ac_ct_DLLTOOL
4408 DLLTOOL="$ac_cv_prog_DLLTOOL"
4411 if test -n "$ac_tool_prefix"; then
4412 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4413 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4415 $as_echo_n "checking for $ac_word... " >&6; }
4416 if ${ac_cv_prog_OBJDUMP+:} false; then :
4417 $as_echo_n "(cached) " >&6
4419 if test -n "$OBJDUMP"; then
4420 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426 test -z "$as_dir" && as_dir=.
4427 for ac_exec_ext in '' $ac_executable_extensions; do
4428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4429 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4439 OBJDUMP=$ac_cv_prog_OBJDUMP
4440 if test -n "$OBJDUMP"; then
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4442 $as_echo "$OBJDUMP" >&6; }
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4445 $as_echo "no" >&6; }
4450 if test -z "$ac_cv_prog_OBJDUMP"; then
4451 ac_ct_OBJDUMP=$OBJDUMP
4452 # Extract the first word of "objdump", so it can be a program name with args.
4453 set dummy objdump; ac_word=$2
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4455 $as_echo_n "checking for $ac_word... " >&6; }
4456 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4457 $as_echo_n "(cached) " >&6
4459 if test -n "$ac_ct_OBJDUMP"; then
4460 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4466 test -z "$as_dir" && as_dir=.
4467 for ac_exec_ext in '' $ac_executable_extensions; do
4468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4469 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4479 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4480 if test -n "$ac_ct_OBJDUMP"; then
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4482 $as_echo "$ac_ct_OBJDUMP" >&6; }
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4485 $as_echo "no" >&6; }
4488 if test "x$ac_ct_OBJDUMP" = x; then
4491 case $cross_compiling:$ac_tool_warned in
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4495 ac_tool_warned=yes ;;
4497 OBJDUMP=$ac_ct_OBJDUMP
4500 OBJDUMP="$ac_cv_prog_OBJDUMP"
4506 test -z "$AS" && AS=as
4512 test -z "$DLLTOOL" && DLLTOOL=dlltool
4518 test -z "$OBJDUMP" && OBJDUMP=objdump
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4532 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4537 macro_version='2.4.2'
4538 macro_revision='1.3337'
4552 ltmain="$ac_aux_dir/ltmain.sh"
4554 # Backslashify metacharacters that are still active within
4555 # double-quoted strings.
4556 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4558 # Same as above, but do not quote variable references.
4559 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4561 # Sed substitution to delay expansion of an escaped shell variable in a
4562 # double_quote_subst'ed string.
4563 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4565 # Sed substitution to delay expansion of an escaped single quote.
4566 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4568 # Sed substitution to avoid accidental globbing in evaled expressions
4569 no_glob_subst='s/\*/\\\*/g'
4571 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4572 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4573 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4576 $as_echo_n "checking how to print strings... " >&6; }
4577 # Test print first, because it will be a builtin if present.
4578 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4579 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4581 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4584 # Use this function as a fallback that always works.
4585 func_fallback_echo ()
4587 eval 'cat <<_LTECHO_EOF
4591 ECHO='func_fallback_echo'
4594 # func_echo_all arg...
4595 # Invoke $ECHO with all args, space-separated.
4602 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4603 $as_echo "printf" >&6; } ;;
4604 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4605 $as_echo "print -r" >&6; } ;;
4606 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4607 $as_echo "cat" >&6; } ;;
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4624 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4625 if ${ac_cv_path_SED+:} false; then :
4626 $as_echo_n "(cached) " >&6
4628 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4629 for ac_i in 1 2 3 4 5 6 7; do
4630 ac_script="$ac_script$as_nl$ac_script"
4632 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4633 { ac_script=; unset ac_script;}
4634 if test -z "$SED"; then
4635 ac_path_SED_found=false
4636 # Loop through the user's path and test for each of PROGNAME-LIST
4637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4641 test -z "$as_dir" && as_dir=.
4642 for ac_prog in sed gsed; do
4643 for ac_exec_ext in '' $ac_executable_extensions; do
4644 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4645 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4646 # Check for GNU ac_path_SED and select it if it is found.
4647 # Check for GNU $ac_path_SED
4648 case `"$ac_path_SED" --version 2>&1` in
4650 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4653 $as_echo_n 0123456789 >"conftest.in"
4656 cat "conftest.in" "conftest.in" >"conftest.tmp"
4657 mv "conftest.tmp" "conftest.in"
4658 cp "conftest.in" "conftest.nl"
4659 $as_echo '' >> "conftest.nl"
4660 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4661 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4662 as_fn_arith $ac_count + 1 && ac_count=$as_val
4663 if test $ac_count -gt ${ac_path_SED_max-0}; then
4664 # Best one so far, save it but keep looking for a better one
4665 ac_cv_path_SED="$ac_path_SED"
4666 ac_path_SED_max=$ac_count
4668 # 10*(2^10) chars as input seems more than enough
4669 test $ac_count -gt 10 && break
4671 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4674 $ac_path_SED_found && break 3
4679 if test -z "$ac_cv_path_SED"; then
4680 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4688 $as_echo "$ac_cv_path_SED" >&6; }
4689 SED="$ac_cv_path_SED"
4692 test -z "$SED" && SED=sed
4693 Xsed="$SED -e 1s/^X//"
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4706 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4707 if ${ac_cv_path_GREP+:} false; then :
4708 $as_echo_n "(cached) " >&6
4710 if test -z "$GREP"; then
4711 ac_path_GREP_found=false
4712 # Loop through the user's path and test for each of PROGNAME-LIST
4713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4717 test -z "$as_dir" && as_dir=.
4718 for ac_prog in grep ggrep; do
4719 for ac_exec_ext in '' $ac_executable_extensions; do
4720 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4721 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4722 # Check for GNU ac_path_GREP and select it if it is found.
4723 # Check for GNU $ac_path_GREP
4724 case `"$ac_path_GREP" --version 2>&1` in
4726 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4729 $as_echo_n 0123456789 >"conftest.in"
4732 cat "conftest.in" "conftest.in" >"conftest.tmp"
4733 mv "conftest.tmp" "conftest.in"
4734 cp "conftest.in" "conftest.nl"
4735 $as_echo 'GREP' >> "conftest.nl"
4736 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4737 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4738 as_fn_arith $ac_count + 1 && ac_count=$as_val
4739 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4740 # Best one so far, save it but keep looking for a better one
4741 ac_cv_path_GREP="$ac_path_GREP"
4742 ac_path_GREP_max=$ac_count
4744 # 10*(2^10) chars as input seems more than enough
4745 test $ac_count -gt 10 && break
4747 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4750 $ac_path_GREP_found && break 3
4755 if test -z "$ac_cv_path_GREP"; then
4756 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4759 ac_cv_path_GREP=$GREP
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4764 $as_echo "$ac_cv_path_GREP" >&6; }
4765 GREP="$ac_cv_path_GREP"
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4769 $as_echo_n "checking for egrep... " >&6; }
4770 if ${ac_cv_path_EGREP+:} false; then :
4771 $as_echo_n "(cached) " >&6
4773 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4774 then ac_cv_path_EGREP="$GREP -E"
4776 if test -z "$EGREP"; then
4777 ac_path_EGREP_found=false
4778 # Loop through the user's path and test for each of PROGNAME-LIST
4779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4780 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4783 test -z "$as_dir" && as_dir=.
4784 for ac_prog in egrep; do
4785 for ac_exec_ext in '' $ac_executable_extensions; do
4786 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4787 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4788 # Check for GNU ac_path_EGREP and select it if it is found.
4789 # Check for GNU $ac_path_EGREP
4790 case `"$ac_path_EGREP" --version 2>&1` in
4792 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4795 $as_echo_n 0123456789 >"conftest.in"
4798 cat "conftest.in" "conftest.in" >"conftest.tmp"
4799 mv "conftest.tmp" "conftest.in"
4800 cp "conftest.in" "conftest.nl"
4801 $as_echo 'EGREP' >> "conftest.nl"
4802 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4803 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4804 as_fn_arith $ac_count + 1 && ac_count=$as_val
4805 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4806 # Best one so far, save it but keep looking for a better one
4807 ac_cv_path_EGREP="$ac_path_EGREP"
4808 ac_path_EGREP_max=$ac_count
4810 # 10*(2^10) chars as input seems more than enough
4811 test $ac_count -gt 10 && break
4813 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4816 $ac_path_EGREP_found && break 3
4821 if test -z "$ac_cv_path_EGREP"; then
4822 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4825 ac_cv_path_EGREP=$EGREP
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4831 $as_echo "$ac_cv_path_EGREP" >&6; }
4832 EGREP="$ac_cv_path_EGREP"
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4836 $as_echo_n "checking for fgrep... " >&6; }
4837 if ${ac_cv_path_FGREP+:} false; then :
4838 $as_echo_n "(cached) " >&6
4840 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4841 then ac_cv_path_FGREP="$GREP -F"
4843 if test -z "$FGREP"; then
4844 ac_path_FGREP_found=false
4845 # Loop through the user's path and test for each of PROGNAME-LIST
4846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4847 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4850 test -z "$as_dir" && as_dir=.
4851 for ac_prog in fgrep; do
4852 for ac_exec_ext in '' $ac_executable_extensions; do
4853 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4854 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4855 # Check for GNU ac_path_FGREP and select it if it is found.
4856 # Check for GNU $ac_path_FGREP
4857 case `"$ac_path_FGREP" --version 2>&1` in
4859 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4862 $as_echo_n 0123456789 >"conftest.in"
4865 cat "conftest.in" "conftest.in" >"conftest.tmp"
4866 mv "conftest.tmp" "conftest.in"
4867 cp "conftest.in" "conftest.nl"
4868 $as_echo 'FGREP' >> "conftest.nl"
4869 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4870 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4871 as_fn_arith $ac_count + 1 && ac_count=$as_val
4872 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4873 # Best one so far, save it but keep looking for a better one
4874 ac_cv_path_FGREP="$ac_path_FGREP"
4875 ac_path_FGREP_max=$ac_count
4877 # 10*(2^10) chars as input seems more than enough
4878 test $ac_count -gt 10 && break
4880 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4883 $ac_path_FGREP_found && break 3
4888 if test -z "$ac_cv_path_FGREP"; then
4889 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4892 ac_cv_path_FGREP=$FGREP
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4898 $as_echo "$ac_cv_path_FGREP" >&6; }
4899 FGREP="$ac_cv_path_FGREP"
4902 test -z "$GREP" && GREP=grep
4922 # Check whether --with-gnu-ld was given.
4923 if test "${with_gnu_ld+set}" = set; then :
4924 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4930 if test "$GCC" = yes; then
4931 # Check if gcc -print-prog-name=ld gives a path.
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4933 $as_echo_n "checking for ld used by $CC... " >&6; }
4936 # gcc leaves a trailing carriage return which upsets mingw
4937 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4939 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4942 # Accept absolute paths.
4944 re_direlt='/[^/][^/]*/\.\./'
4945 # Canonicalize the pathname of ld
4946 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4947 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4948 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4950 test -z "$LD" && LD="$ac_prog"
4953 # If it fails, then pretend we aren't using GCC.
4957 # If it is relative, then search for the first ld in PATH.
4961 elif test "$with_gnu_ld" = yes; then
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4963 $as_echo_n "checking for GNU ld... " >&6; }
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4966 $as_echo_n "checking for non-GNU ld... " >&6; }
4968 if ${lt_cv_path_LD+:} false; then :
4969 $as_echo_n "(cached) " >&6
4971 if test -z "$LD"; then
4972 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4973 for ac_dir in $PATH; do
4975 test -z "$ac_dir" && ac_dir=.
4976 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4977 lt_cv_path_LD="$ac_dir/$ac_prog"
4978 # Check to see if the program is GNU ld. I'd rather use --version,
4979 # but apparently some variants of GNU ld only accept -v.
4980 # Break only if it was the GNU/non-GNU ld that we prefer.
4981 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4982 *GNU* | *'with BFD'*)
4983 test "$with_gnu_ld" != no && break
4986 test "$with_gnu_ld" != yes && break
4993 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4998 if test -n "$LD"; then
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5000 $as_echo "$LD" >&6; }
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5003 $as_echo "no" >&6; }
5005 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5007 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5008 if ${lt_cv_prog_gnu_ld+:} false; then :
5009 $as_echo_n "(cached) " >&6
5011 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5012 case `$LD -v 2>&1 </dev/null` in
5013 *GNU* | *'with BFD'*)
5014 lt_cv_prog_gnu_ld=yes
5017 lt_cv_prog_gnu_ld=no
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5022 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5023 with_gnu_ld=$lt_cv_prog_gnu_ld
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5034 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5035 if ${lt_cv_path_NM+:} false; then :
5036 $as_echo_n "(cached) " >&6
5038 if test -n "$NM"; then
5039 # Let the user override the test.
5042 lt_nm_to_check="${ac_tool_prefix}nm"
5043 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5044 lt_nm_to_check="$lt_nm_to_check nm"
5046 for lt_tmp_nm in $lt_nm_to_check; do
5047 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5048 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5050 test -z "$ac_dir" && ac_dir=.
5051 tmp_nm="$ac_dir/$lt_tmp_nm"
5052 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5053 # Check to see if the nm accepts a BSD-compat flag.
5054 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5055 # nm: unknown option "B" ignored
5056 # Tru64's nm complains that /dev/null is an invalid object file
5057 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5058 */dev/null* | *'Invalid file or object type'*)
5059 lt_cv_path_NM="$tmp_nm -B"
5063 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5065 lt_cv_path_NM="$tmp_nm -p"
5069 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5070 continue # so that we can try to find one that supports BSD flags
5079 : ${lt_cv_path_NM=no}
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5083 $as_echo "$lt_cv_path_NM" >&6; }
5084 if test "$lt_cv_path_NM" != "no"; then
5087 # Didn't find any BSD compatible name lister, look for dumpbin.
5088 if test -n "$DUMPBIN"; then :
5089 # Let the user override the test.
5091 if test -n "$ac_tool_prefix"; then
5092 for ac_prog in dumpbin "link -dump"
5094 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5095 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5097 $as_echo_n "checking for $ac_word... " >&6; }
5098 if ${ac_cv_prog_DUMPBIN+:} false; then :
5099 $as_echo_n "(cached) " >&6
5101 if test -n "$DUMPBIN"; then
5102 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5108 test -z "$as_dir" && as_dir=.
5109 for ac_exec_ext in '' $ac_executable_extensions; do
5110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5111 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5121 DUMPBIN=$ac_cv_prog_DUMPBIN
5122 if test -n "$DUMPBIN"; then
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5124 $as_echo "$DUMPBIN" >&6; }
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5131 test -n "$DUMPBIN" && break
5134 if test -z "$DUMPBIN"; then
5135 ac_ct_DUMPBIN=$DUMPBIN
5136 for ac_prog in dumpbin "link -dump"
5138 # Extract the first word of "$ac_prog", so it can be a program name with args.
5139 set dummy $ac_prog; ac_word=$2
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5141 $as_echo_n "checking for $ac_word... " >&6; }
5142 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5143 $as_echo_n "(cached) " >&6
5145 if test -n "$ac_ct_DUMPBIN"; then
5146 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 test -z "$as_dir" && as_dir=.
5153 for ac_exec_ext in '' $ac_executable_extensions; do
5154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5155 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5166 if test -n "$ac_ct_DUMPBIN"; then
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5168 $as_echo "$ac_ct_DUMPBIN" >&6; }
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5171 $as_echo "no" >&6; }
5175 test -n "$ac_ct_DUMPBIN" && break
5178 if test "x$ac_ct_DUMPBIN" = x; then
5181 case $cross_compiling:$ac_tool_warned in
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5185 ac_tool_warned=yes ;;
5187 DUMPBIN=$ac_ct_DUMPBIN
5191 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5193 DUMPBIN="$DUMPBIN -symbols"
5201 if test "$DUMPBIN" != ":"; then
5205 test -z "$NM" && NM=nm
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5213 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5214 if ${lt_cv_nm_interface+:} false; then :
5215 $as_echo_n "(cached) " >&6
5217 lt_cv_nm_interface="BSD nm"
5218 echo "int some_variable = 0;" > conftest.$ac_ext
5219 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5220 (eval "$ac_compile" 2>conftest.err)
5221 cat conftest.err >&5
5222 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5223 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5224 cat conftest.err >&5
5225 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5226 cat conftest.out >&5
5227 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5228 lt_cv_nm_interface="MS dumpbin"
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5233 $as_echo "$lt_cv_nm_interface" >&6; }
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5236 $as_echo_n "checking whether ln -s works... " >&6; }
5238 if test "$LN_S" = "ln -s"; then
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5240 $as_echo "yes" >&6; }
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5243 $as_echo "no, using $LN_S" >&6; }
5246 # find the maximum length of command line arguments
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5248 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5249 if ${lt_cv_sys_max_cmd_len+:} false; then :
5250 $as_echo_n "(cached) " >&6
5257 # On DJGPP, this test can blow up pretty badly due to problems in libc
5258 # (any single argument exceeding 2000 bytes causes a buffer overrun
5259 # during glob expansion). Even if it were fixed, the result of this
5260 # check would be larger than it should be.
5261 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5265 # Under GNU Hurd, this test is not required because there is
5266 # no limit to the length of command line arguments.
5267 # Libtool will interpret -1 as no limit whatsoever
5268 lt_cv_sys_max_cmd_len=-1;
5271 cygwin* | mingw* | cegcc*)
5272 # On Win9x/ME, this test blows up -- it succeeds, but takes
5273 # about 5 minutes as the teststring grows exponentially.
5274 # Worse, since 9x/ME are not pre-emptively multitasking,
5275 # you end up with a "frozen" computer, even though with patience
5276 # the test eventually succeeds (with a max line length of 256k).
5277 # Instead, let's just punt: use the minimum linelength reported by
5278 # all of the supported platforms: 8192 (on NT/2K/XP).
5279 lt_cv_sys_max_cmd_len=8192;
5283 # On MiNT this can take a long time and run out of memory.
5284 lt_cv_sys_max_cmd_len=8192;
5288 # On AmigaOS with pdksh, this test takes hours, literally.
5289 # So we just punt and use a minimum line length of 8192.
5290 lt_cv_sys_max_cmd_len=8192;
5293 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5294 # This has been around since 386BSD, at least. Likely further.
5295 if test -x /sbin/sysctl; then
5296 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5297 elif test -x /usr/sbin/sysctl; then
5298 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5300 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5302 # And add a safety zone
5303 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5304 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5308 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5309 lt_cv_sys_max_cmd_len=196608
5313 # The test takes a long time on OS/2.
5314 lt_cv_sys_max_cmd_len=8192
5318 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5319 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5320 # nice to cause kernel panics so lets avoid the loop below.
5321 # First set a reasonable default.
5322 lt_cv_sys_max_cmd_len=16384
5324 if test -x /sbin/sysconfig; then
5325 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5326 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5331 lt_cv_sys_max_cmd_len=102400
5333 sysv5* | sco5v6* | sysv4.2uw2*)
5334 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5335 if test -n "$kargmax"; then
5336 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5338 lt_cv_sys_max_cmd_len=32768
5342 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5343 if test -n "$lt_cv_sys_max_cmd_len"; then
5344 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5345 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5347 # Make teststring a little bigger before we do anything with it.
5348 # a 1K string should be a reasonable start.
5349 for i in 1 2 3 4 5 6 7 8 ; do
5350 teststring=$teststring$teststring
5352 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5353 # If test is not a shell built-in, we'll probably end up computing a
5354 # maximum length that is only half of the actual maximum length, but
5356 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5357 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5358 test $i != 17 # 1/2 MB should be enough
5361 teststring=$teststring$teststring
5363 # Only check the string length outside the loop.
5364 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5366 # Add a significant safety factor because C++ compilers can tack on
5367 # massive amounts of additional arguments before passing them to the
5368 # linker. It appears as though 1/2 is a usable value.
5369 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5376 if test -n $lt_cv_sys_max_cmd_len ; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5378 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5381 $as_echo "none" >&6; }
5383 max_cmd_len=$lt_cv_sys_max_cmd_len
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5395 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5396 # Try some XSI features
5399 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5401 && eval 'test $(( 1 + 1 )) -eq 2 \
5402 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5405 $as_echo "$xsi_shell" >&6; }
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5409 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5411 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5413 && lt_shell_append=yes
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5415 $as_echo "$lt_shell_append" >&6; }
5418 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5428 # test EBCDIC or ASCII
5429 case `echo X|tr X '\101'` in
5430 A) # ASCII based system
5431 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5432 lt_SP2NL='tr \040 \012'
5433 lt_NL2SP='tr \015\012 \040\040'
5435 *) # EBCDIC based system
5436 lt_SP2NL='tr \100 \n'
5437 lt_NL2SP='tr \r\n \100\100'
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5450 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5451 if ${lt_cv_to_host_file_cmd+:} false; then :
5452 $as_echo_n "(cached) " >&6
5457 *-*-mingw* ) # actually msys
5458 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5461 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5463 * ) # otherwise, assume *nix
5464 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5470 *-*-mingw* ) # actually msys
5471 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5474 lt_cv_to_host_file_cmd=func_convert_file_noop
5476 * ) # otherwise, assume *nix
5477 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5481 * ) # unhandled hosts (and "normal" native builds)
5482 lt_cv_to_host_file_cmd=func_convert_file_noop
5488 to_host_file_cmd=$lt_cv_to_host_file_cmd
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5490 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5497 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5498 if ${lt_cv_to_tool_file_cmd+:} false; then :
5499 $as_echo_n "(cached) " >&6
5501 #assume ordinary cross tools, or native build.
5502 lt_cv_to_tool_file_cmd=func_convert_file_noop
5506 *-*-mingw* ) # actually msys
5507 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5515 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5517 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5524 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5525 if ${lt_cv_ld_reload_flag+:} false; then :
5526 $as_echo_n "(cached) " >&6
5528 lt_cv_ld_reload_flag='-r'
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5531 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5532 reload_flag=$lt_cv_ld_reload_flag
5533 case $reload_flag in
5535 *) reload_flag=" $reload_flag" ;;
5537 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5539 cygwin* | mingw* | pw32* | cegcc*)
5540 if test "$GCC" != yes; then
5545 if test "$GCC" = yes; then
5546 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5548 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5561 if test -n "$ac_tool_prefix"; then
5562 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5563 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5565 $as_echo_n "checking for $ac_word... " >&6; }
5566 if ${ac_cv_prog_OBJDUMP+:} false; then :
5567 $as_echo_n "(cached) " >&6
5569 if test -n "$OBJDUMP"; then
5570 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5576 test -z "$as_dir" && as_dir=.
5577 for ac_exec_ext in '' $ac_executable_extensions; do
5578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5579 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5589 OBJDUMP=$ac_cv_prog_OBJDUMP
5590 if test -n "$OBJDUMP"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5592 $as_echo "$OBJDUMP" >&6; }
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5595 $as_echo "no" >&6; }
5600 if test -z "$ac_cv_prog_OBJDUMP"; then
5601 ac_ct_OBJDUMP=$OBJDUMP
5602 # Extract the first word of "objdump", so it can be a program name with args.
5603 set dummy objdump; ac_word=$2
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5605 $as_echo_n "checking for $ac_word... " >&6; }
5606 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5607 $as_echo_n "(cached) " >&6
5609 if test -n "$ac_ct_OBJDUMP"; then
5610 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 test -z "$as_dir" && as_dir=.
5617 for ac_exec_ext in '' $ac_executable_extensions; do
5618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5619 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5630 if test -n "$ac_ct_OBJDUMP"; then
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5632 $as_echo "$ac_ct_OBJDUMP" >&6; }
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5635 $as_echo "no" >&6; }
5638 if test "x$ac_ct_OBJDUMP" = x; then
5641 case $cross_compiling:$ac_tool_warned in
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5645 ac_tool_warned=yes ;;
5647 OBJDUMP=$ac_ct_OBJDUMP
5650 OBJDUMP="$ac_cv_prog_OBJDUMP"
5653 test -z "$OBJDUMP" && OBJDUMP=objdump
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5661 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5662 if ${lt_cv_deplibs_check_method+:} false; then :
5663 $as_echo_n "(cached) " >&6
5665 lt_cv_file_magic_cmd='$MAGIC_CMD'
5666 lt_cv_file_magic_test_file=
5667 lt_cv_deplibs_check_method='unknown'
5668 # Need to set the preceding variable on all platforms that support
5669 # interlibrary dependencies.
5670 # 'none' -- dependencies not supported.
5671 # `unknown' -- same as none, but documents that we really don't know.
5672 # 'pass_all' -- all dependencies passed with no checks.
5673 # 'test_compile' -- check by making test program.
5674 # 'file_magic [[regex]]' -- check by looking for files in library path
5675 # which responds to the $file_magic_cmd with a given extended regex.
5676 # If you have `file' or equivalent on your system and you're not sure
5677 # whether `pass_all' will *always* work, you probably want this one.
5681 lt_cv_deplibs_check_method=pass_all
5685 lt_cv_deplibs_check_method=pass_all
5689 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5690 lt_cv_file_magic_cmd='/usr/bin/file -L'
5691 lt_cv_file_magic_test_file=/shlib/libc.so
5695 # func_win32_libid is a shell function defined in ltmain.sh
5696 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5697 lt_cv_file_magic_cmd='func_win32_libid'
5701 # Base MSYS/MinGW do not provide the 'file' command needed by
5702 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5703 # unless we find 'file', for example because we are cross-compiling.
5704 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5705 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5706 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5707 lt_cv_file_magic_cmd='func_win32_libid'
5709 # Keep this pattern in sync with the one in func_win32_libid.
5710 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5711 lt_cv_file_magic_cmd='$OBJDUMP -f'
5716 # use the weaker test based on 'objdump'. See mingw*.
5717 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5718 lt_cv_file_magic_cmd='$OBJDUMP -f'
5721 darwin* | rhapsody*)
5722 lt_cv_deplibs_check_method=pass_all
5725 freebsd* | dragonfly*)
5726 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5729 # Not sure whether the presence of OpenBSD here was a mistake.
5730 # Let's accept both of them until this is cleared up.
5731 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5732 lt_cv_file_magic_cmd=/usr/bin/file
5733 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5737 lt_cv_deplibs_check_method=pass_all
5742 lt_cv_deplibs_check_method=pass_all
5746 lt_cv_deplibs_check_method=pass_all
5749 hpux10.20* | hpux11*)
5750 lt_cv_file_magic_cmd=/usr/bin/file
5753 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5754 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5757 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5758 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5761 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5762 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5768 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5769 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5772 irix5* | irix6* | nonstopux*)
5774 *-32|*"-32 ") libmagic=32-bit;;
5775 *-n32|*"-n32 ") libmagic=N32;;
5776 *-64|*"-64 ") libmagic=64-bit;;
5777 *) libmagic=never-match;;
5779 lt_cv_deplibs_check_method=pass_all
5782 # This must be glibc/ELF.
5783 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5784 lt_cv_deplibs_check_method=pass_all
5788 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5789 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5791 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5796 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5797 lt_cv_file_magic_cmd=/usr/bin/file
5798 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5802 lt_cv_deplibs_check_method=pass_all
5806 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5807 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5809 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5813 osf3* | osf4* | osf5*)
5814 lt_cv_deplibs_check_method=pass_all
5818 lt_cv_deplibs_check_method=pass_all
5822 lt_cv_deplibs_check_method=pass_all
5825 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5826 lt_cv_deplibs_check_method=pass_all
5830 case $host_vendor in
5832 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]'
5833 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5836 lt_cv_deplibs_check_method=pass_all
5839 lt_cv_file_magic_cmd='/bin/file'
5840 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5843 lt_cv_file_magic_cmd='/bin/file'
5844 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5845 lt_cv_file_magic_test_file=/lib/libc.so
5848 lt_cv_deplibs_check_method=pass_all
5851 lt_cv_deplibs_check_method=pass_all
5857 lt_cv_deplibs_check_method=pass_all
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5863 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5867 if test "$build" = "$host"; then
5870 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5873 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5879 file_magic_cmd=$lt_cv_file_magic_cmd
5880 deplibs_check_method=$lt_cv_deplibs_check_method
5881 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5904 if test -n "$ac_tool_prefix"; then
5905 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5906 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5908 $as_echo_n "checking for $ac_word... " >&6; }
5909 if ${ac_cv_prog_DLLTOOL+:} false; then :
5910 $as_echo_n "(cached) " >&6
5912 if test -n "$DLLTOOL"; then
5913 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5919 test -z "$as_dir" && as_dir=.
5920 for ac_exec_ext in '' $ac_executable_extensions; do
5921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5922 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5932 DLLTOOL=$ac_cv_prog_DLLTOOL
5933 if test -n "$DLLTOOL"; then
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5935 $as_echo "$DLLTOOL" >&6; }
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5938 $as_echo "no" >&6; }
5943 if test -z "$ac_cv_prog_DLLTOOL"; then
5944 ac_ct_DLLTOOL=$DLLTOOL
5945 # Extract the first word of "dlltool", so it can be a program name with args.
5946 set dummy dlltool; ac_word=$2
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5948 $as_echo_n "checking for $ac_word... " >&6; }
5949 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5950 $as_echo_n "(cached) " >&6
5952 if test -n "$ac_ct_DLLTOOL"; then
5953 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5959 test -z "$as_dir" && as_dir=.
5960 for ac_exec_ext in '' $ac_executable_extensions; do
5961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5962 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5972 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5973 if test -n "$ac_ct_DLLTOOL"; then
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5975 $as_echo "$ac_ct_DLLTOOL" >&6; }
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5978 $as_echo "no" >&6; }
5981 if test "x$ac_ct_DLLTOOL" = x; then
5984 case $cross_compiling:$ac_tool_warned in
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5988 ac_tool_warned=yes ;;
5990 DLLTOOL=$ac_ct_DLLTOOL
5993 DLLTOOL="$ac_cv_prog_DLLTOOL"
5996 test -z "$DLLTOOL" && DLLTOOL=dlltool
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6005 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6006 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6007 $as_echo_n "(cached) " >&6
6009 lt_cv_sharedlib_from_linklib_cmd='unknown'
6012 cygwin* | mingw* | pw32* | cegcc*)
6013 # two different shell functions defined in ltmain.sh
6014 # decide which to use based on capabilities of $DLLTOOL
6015 case `$DLLTOOL --help 2>&1` in
6016 *--identify-strict*)
6017 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6020 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6025 # fallback: assume linklib IS sharedlib
6026 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6032 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6033 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6034 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6042 if test -n "$ac_tool_prefix"; then
6045 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6046 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6048 $as_echo_n "checking for $ac_word... " >&6; }
6049 if ${ac_cv_prog_AR+:} false; then :
6050 $as_echo_n "(cached) " >&6
6052 if test -n "$AR"; then
6053 ac_cv_prog_AR="$AR" # Let the user override the test.
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6059 test -z "$as_dir" && as_dir=.
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 if test -n "$AR"; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6075 $as_echo "$AR" >&6; }
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6078 $as_echo "no" >&6; }
6082 test -n "$AR" && break
6085 if test -z "$AR"; then
6089 # Extract the first word of "$ac_prog", so it can be a program name with args.
6090 set dummy $ac_prog; ac_word=$2
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6092 $as_echo_n "checking for $ac_word... " >&6; }
6093 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6094 $as_echo_n "(cached) " >&6
6096 if test -n "$ac_ct_AR"; then
6097 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103 test -z "$as_dir" && as_dir=.
6104 for ac_exec_ext in '' $ac_executable_extensions; do
6105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6106 ac_cv_prog_ac_ct_AR="$ac_prog"
6107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6116 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6117 if test -n "$ac_ct_AR"; then
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6119 $as_echo "$ac_ct_AR" >&6; }
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6122 $as_echo "no" >&6; }
6126 test -n "$ac_ct_AR" && break
6129 if test "x$ac_ct_AR" = x; then
6132 case $cross_compiling:$ac_tool_warned in
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6136 ac_tool_warned=yes ;;
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6156 $as_echo_n "checking for archiver @FILE support... " >&6; }
6157 if ${lt_cv_ar_at_file+:} false; then :
6158 $as_echo_n "(cached) " >&6
6161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6162 /* end confdefs.h. */
6172 if ac_fn_c_try_compile "$LINENO"; then :
6173 echo conftest.$ac_objext > conftest.lst
6174 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6175 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6176 (eval $lt_ar_try) 2>&5
6178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6179 test $ac_status = 0; }
6180 if test "$ac_status" -eq 0; then
6181 # Ensure the archiver fails upon bogus file names.
6182 rm -f conftest.$ac_objext libconftest.a
6183 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6184 (eval $lt_ar_try) 2>&5
6186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6187 test $ac_status = 0; }
6188 if test "$ac_status" -ne 0; then
6192 rm -f conftest.* libconftest.a
6195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6199 $as_echo "$lt_cv_ar_at_file" >&6; }
6201 if test "x$lt_cv_ar_at_file" = xno; then
6204 archiver_list_spec=$lt_cv_ar_at_file
6213 if test -n "$ac_tool_prefix"; then
6214 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6215 set dummy ${ac_tool_prefix}strip; ac_word=$2
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6217 $as_echo_n "checking for $ac_word... " >&6; }
6218 if ${ac_cv_prog_STRIP+:} false; then :
6219 $as_echo_n "(cached) " >&6
6221 if test -n "$STRIP"; then
6222 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6228 test -z "$as_dir" && as_dir=.
6229 for ac_exec_ext in '' $ac_executable_extensions; do
6230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6231 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6241 STRIP=$ac_cv_prog_STRIP
6242 if test -n "$STRIP"; then
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6244 $as_echo "$STRIP" >&6; }
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6247 $as_echo "no" >&6; }
6252 if test -z "$ac_cv_prog_STRIP"; then
6254 # Extract the first word of "strip", so it can be a program name with args.
6255 set dummy strip; ac_word=$2
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6257 $as_echo_n "checking for $ac_word... " >&6; }
6258 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6259 $as_echo_n "(cached) " >&6
6261 if test -n "$ac_ct_STRIP"; then
6262 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6268 test -z "$as_dir" && as_dir=.
6269 for ac_exec_ext in '' $ac_executable_extensions; do
6270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6271 ac_cv_prog_ac_ct_STRIP="strip"
6272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6281 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6282 if test -n "$ac_ct_STRIP"; then
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6284 $as_echo "$ac_ct_STRIP" >&6; }
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6287 $as_echo "no" >&6; }
6290 if test "x$ac_ct_STRIP" = x; then
6293 case $cross_compiling:$ac_tool_warned in
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6297 ac_tool_warned=yes ;;
6302 STRIP="$ac_cv_prog_STRIP"
6305 test -z "$STRIP" && STRIP=:
6312 if test -n "$ac_tool_prefix"; then
6313 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6314 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6316 $as_echo_n "checking for $ac_word... " >&6; }
6317 if ${ac_cv_prog_RANLIB+:} false; then :
6318 $as_echo_n "(cached) " >&6
6320 if test -n "$RANLIB"; then
6321 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 test -z "$as_dir" && as_dir=.
6328 for ac_exec_ext in '' $ac_executable_extensions; do
6329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6330 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6340 RANLIB=$ac_cv_prog_RANLIB
6341 if test -n "$RANLIB"; then
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6343 $as_echo "$RANLIB" >&6; }
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6346 $as_echo "no" >&6; }
6351 if test -z "$ac_cv_prog_RANLIB"; then
6352 ac_ct_RANLIB=$RANLIB
6353 # Extract the first word of "ranlib", so it can be a program name with args.
6354 set dummy ranlib; ac_word=$2
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6356 $as_echo_n "checking for $ac_word... " >&6; }
6357 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6358 $as_echo_n "(cached) " >&6
6360 if test -n "$ac_ct_RANLIB"; then
6361 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6367 test -z "$as_dir" && as_dir=.
6368 for ac_exec_ext in '' $ac_executable_extensions; do
6369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6370 ac_cv_prog_ac_ct_RANLIB="ranlib"
6371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6380 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6381 if test -n "$ac_ct_RANLIB"; then
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6383 $as_echo "$ac_ct_RANLIB" >&6; }
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6386 $as_echo "no" >&6; }
6389 if test "x$ac_ct_RANLIB" = x; then
6392 case $cross_compiling:$ac_tool_warned in
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6396 ac_tool_warned=yes ;;
6398 RANLIB=$ac_ct_RANLIB
6401 RANLIB="$ac_cv_prog_RANLIB"
6404 test -z "$RANLIB" && RANLIB=:
6411 # Determine commands to create old-style static archives.
6412 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6413 old_postinstall_cmds='chmod 644 $oldlib'
6414 old_postuninstall_cmds=
6416 if test -n "$RANLIB"; then
6419 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6422 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6425 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6430 lock_old_archive_extraction=yes ;;
6432 lock_old_archive_extraction=no ;;
6473 # If no C compiler was specified, use CC.
6476 # If no C compiler flags were specified, use CFLAGS.
6477 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6479 # Allow CC to be a program name with arguments.
6483 # Check for command to grab the raw symbol name followed by C symbol from nm.
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6485 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6486 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6487 $as_echo_n "(cached) " >&6
6490 # These are sane defaults that work on at least a few old systems.
6491 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6493 # Character class describing NM global symbol codes.
6494 symcode='[BCDEGRST]'
6496 # Regexp to match symbols that can be accessed directly from C.
6497 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6499 # Define system-specific variables.
6504 cygwin* | mingw* | pw32* | cegcc*)
6505 symcode='[ABCDGISTW]'
6508 if test "$host_cpu" = ia64; then
6509 symcode='[ABCDEGRST]'
6513 symcode='[BCDEGRST]'
6516 symcode='[BCDEGQRST]'
6527 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6535 # If we're using GNU nm, then use its standard symbol codes.
6536 case `$NM -V 2>&1` in
6537 *GNU* | *'with BFD'*)
6538 symcode='[ABCDGIRSTW]' ;;
6541 # Transform an extracted symbol line into a proper C declaration.
6542 # Some systems (esp. on ia64) link data and code symbols differently,
6543 # so use this general approach.
6544 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6546 # Transform an extracted symbol line into symbol name and symbol address
6547 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6548 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'"
6550 # Handle CRLF in mingw tool chain
6554 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6558 # Try without a prefix underscore, then with it.
6559 for ac_symprfx in "" "_"; do
6561 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6562 symxfrm="\\1 $ac_symprfx\\2 \\2"
6564 # Write the raw and C identifiers.
6565 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6566 # Fake it for dumpbin and say T for any non-static function
6567 # and D for any global variable.
6568 # Also find C++ and __fastcall symbols from MSVC++,
6569 # which start with @ or ?.
6570 lt_cv_sys_global_symbol_pipe="$AWK '"\
6571 " {last_section=section; section=\$ 3};"\
6572 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6573 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6574 " \$ 0!~/External *\|/{next};"\
6575 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6576 " {if(hide[section]) next};"\
6577 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6578 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6579 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6580 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6581 " ' prfx=^$ac_symprfx"
6583 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6585 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6587 # Check to see that the pipe works correctly.
6591 cat > conftest.$ac_ext <<_LT_EOF
6596 void nm_test_func(void);
6597 void nm_test_func(void){}
6601 int main(){nm_test_var='a';nm_test_func();return(0);}
6604 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6605 (eval $ac_compile) 2>&5
6607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6608 test $ac_status = 0; }; then
6609 # Now try to grab the symbols.
6611 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6612 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6615 test $ac_status = 0; } && test -s "$nlist"; then
6616 # Try sorting and uniquifying the output.
6617 if sort "$nlist" | uniq > "$nlist"T; then
6618 mv -f "$nlist"T "$nlist"
6623 # Make sure that we snagged all the symbols we need.
6624 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6625 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6626 cat <<_LT_EOF > conftest.$ac_ext
6627 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6628 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6629 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6630 relocations are performed -- see ld's documentation on pseudo-relocs. */
6631 # define LT_DLSYM_CONST
6632 #elif defined(__osf__)
6633 /* This system does not cope well with relocations in const data. */
6634 # define LT_DLSYM_CONST
6636 # define LT_DLSYM_CONST const
6644 # Now generate the symbol file.
6645 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6647 cat <<_LT_EOF >> conftest.$ac_ext
6649 /* The mapping between symbol names and symbols. */
6650 LT_DLSYM_CONST struct {
6654 lt__PROGRAM__LTX_preloaded_symbols[] =
6656 { "@PROGRAM@", (void *) 0 },
6658 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6659 cat <<\_LT_EOF >> conftest.$ac_ext
6663 /* This works around a problem in FreeBSD linker */
6664 #ifdef FREEBSD_WORKAROUND
6665 static const void *lt_preloaded_setup() {
6666 return lt__PROGRAM__LTX_preloaded_symbols;
6674 # Now try linking the two files.
6675 mv conftest.$ac_objext conftstm.$ac_objext
6676 lt_globsym_save_LIBS=$LIBS
6677 lt_globsym_save_CFLAGS=$CFLAGS
6678 LIBS="conftstm.$ac_objext"
6679 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6680 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6681 (eval $ac_link) 2>&5
6683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6684 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6687 LIBS=$lt_globsym_save_LIBS
6688 CFLAGS=$lt_globsym_save_CFLAGS
6690 echo "cannot find nm_test_func in $nlist" >&5
6693 echo "cannot find nm_test_var in $nlist" >&5
6696 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6699 echo "$progname: failed program was:" >&5
6700 cat conftest.$ac_ext >&5
6702 rm -rf conftest* conftst*
6704 # Do not use the global_symbol_pipe unless it works.
6705 if test "$pipe_works" = yes; then
6708 lt_cv_sys_global_symbol_pipe=
6714 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6715 lt_cv_sys_global_symbol_to_cdecl=
6717 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6719 $as_echo "failed" >&6; }
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6722 $as_echo "ok" >&6; }
6725 # Response file support.
6726 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6727 nm_file_list_spec='@'
6728 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6729 nm_file_list_spec='@'
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6759 $as_echo_n "checking for sysroot... " >&6; }
6761 # Check whether --with-sysroot was given.
6762 if test "${with_sysroot+set}" = set; then :
6763 withval=$with_sysroot;
6770 case ${with_sysroot} in #(
6772 if test "$GCC" = yes; then
6773 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6777 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6783 $as_echo "${with_sysroot}" >&6; }
6784 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6789 $as_echo "${lt_sysroot:-no}" >&6; }
6795 # Check whether --enable-libtool-lock was given.
6796 if test "${enable_libtool_lock+set}" = set; then :
6797 enableval=$enable_libtool_lock;
6800 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6802 # Some flags need to be propagated to the compiler or linker for good
6806 # Find out which ABI we are using.
6807 echo 'int i;' > conftest.$ac_ext
6808 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6809 (eval $ac_compile) 2>&5
6811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6812 test $ac_status = 0; }; then
6813 case `/usr/bin/file conftest.$ac_objext` in
6825 # Find out which ABI we are using.
6826 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6827 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6828 (eval $ac_compile) 2>&5
6830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6831 test $ac_status = 0; }; then
6832 if test "$lt_cv_prog_gnu_ld" = yes; then
6833 case `/usr/bin/file conftest.$ac_objext` in
6835 LD="${LD-ld} -melf32bsmip"
6838 LD="${LD-ld} -melf32bmipn32"
6841 LD="${LD-ld} -melf64bmip"
6845 case `/usr/bin/file conftest.$ac_objext` in
6861 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6862 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6863 # Find out which ABI we are using.
6864 echo 'int i;' > conftest.$ac_ext
6865 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6866 (eval $ac_compile) 2>&5
6868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6869 test $ac_status = 0; }; then
6870 case `/usr/bin/file conftest.o` in
6873 x86_64-*kfreebsd*-gnu)
6874 LD="${LD-ld} -m elf_i386_fbsd"
6877 LD="${LD-ld} -m elf_i386"
6879 ppc64-*linux*|powerpc64-*linux*)
6880 LD="${LD-ld} -m elf32ppclinux"
6883 LD="${LD-ld} -m elf_s390"
6886 LD="${LD-ld} -m elf32_sparc"
6892 x86_64-*kfreebsd*-gnu)
6893 LD="${LD-ld} -m elf_x86_64_fbsd"
6896 LD="${LD-ld} -m elf_x86_64"
6898 ppc*-*linux*|powerpc*-*linux*)
6899 LD="${LD-ld} -m elf64ppc"
6901 s390*-*linux*|s390*-*tpf*)
6902 LD="${LD-ld} -m elf64_s390"
6905 LD="${LD-ld} -m elf64_sparc"
6915 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6916 SAVE_CFLAGS="$CFLAGS"
6917 CFLAGS="$CFLAGS -belf"
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6919 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6920 if ${lt_cv_cc_needs_belf+:} false; then :
6921 $as_echo_n "(cached) " >&6
6924 ac_cpp='$CPP $CPPFLAGS'
6925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6930 /* end confdefs.h. */
6940 if ac_fn_c_try_link "$LINENO"; then :
6941 lt_cv_cc_needs_belf=yes
6943 lt_cv_cc_needs_belf=no
6945 rm -f core conftest.err conftest.$ac_objext \
6946 conftest$ac_exeext conftest.$ac_ext
6948 ac_cpp='$CPP $CPPFLAGS'
6949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6955 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6956 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6957 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6958 CFLAGS="$SAVE_CFLAGS"
6962 # Find out which ABI we are using.
6963 echo 'int i;' > conftest.$ac_ext
6964 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6965 (eval $ac_compile) 2>&5
6967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6968 test $ac_status = 0; }; then
6969 case `/usr/bin/file conftest.o` in
6971 case $lt_cv_prog_gnu_ld in
6975 LD="${LD-ld} -m elf_x86_64"
6978 LD="${LD-ld} -m elf64_sparc"
6981 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6982 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6987 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6999 need_locks="$enable_libtool_lock"
7001 if test -n "$ac_tool_prefix"; then
7002 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7003 set dummy ${ac_tool_prefix}mt; ac_word=$2
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7005 $as_echo_n "checking for $ac_word... " >&6; }
7006 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7007 $as_echo_n "(cached) " >&6
7009 if test -n "$MANIFEST_TOOL"; then
7010 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7016 test -z "$as_dir" && as_dir=.
7017 for ac_exec_ext in '' $ac_executable_extensions; do
7018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7019 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7029 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7030 if test -n "$MANIFEST_TOOL"; then
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7032 $as_echo "$MANIFEST_TOOL" >&6; }
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035 $as_echo "no" >&6; }
7040 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7041 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7042 # Extract the first word of "mt", so it can be a program name with args.
7043 set dummy mt; ac_word=$2
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7045 $as_echo_n "checking for $ac_word... " >&6; }
7046 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7047 $as_echo_n "(cached) " >&6
7049 if test -n "$ac_ct_MANIFEST_TOOL"; then
7050 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7056 test -z "$as_dir" && as_dir=.
7057 for ac_exec_ext in '' $ac_executable_extensions; do
7058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7059 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7069 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7070 if test -n "$ac_ct_MANIFEST_TOOL"; then
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7072 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7075 $as_echo "no" >&6; }
7078 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7081 case $cross_compiling:$ac_tool_warned in
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7085 ac_tool_warned=yes ;;
7087 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7090 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7093 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7095 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7096 if ${lt_cv_path_mainfest_tool+:} false; then :
7097 $as_echo_n "(cached) " >&6
7099 lt_cv_path_mainfest_tool=no
7100 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7101 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7102 cat conftest.err >&5
7103 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7104 lt_cv_path_mainfest_tool=yes
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7109 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7110 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7120 rhapsody* | darwin*)
7121 if test -n "$ac_tool_prefix"; then
7122 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7123 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7125 $as_echo_n "checking for $ac_word... " >&6; }
7126 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7127 $as_echo_n "(cached) " >&6
7129 if test -n "$DSYMUTIL"; then
7130 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7136 test -z "$as_dir" && as_dir=.
7137 for ac_exec_ext in '' $ac_executable_extensions; do
7138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7139 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7149 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7150 if test -n "$DSYMUTIL"; then
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7152 $as_echo "$DSYMUTIL" >&6; }
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7155 $as_echo "no" >&6; }
7160 if test -z "$ac_cv_prog_DSYMUTIL"; then
7161 ac_ct_DSYMUTIL=$DSYMUTIL
7162 # Extract the first word of "dsymutil", so it can be a program name with args.
7163 set dummy dsymutil; ac_word=$2
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7165 $as_echo_n "checking for $ac_word... " >&6; }
7166 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7167 $as_echo_n "(cached) " >&6
7169 if test -n "$ac_ct_DSYMUTIL"; then
7170 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7176 test -z "$as_dir" && as_dir=.
7177 for ac_exec_ext in '' $ac_executable_extensions; do
7178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7179 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7189 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7190 if test -n "$ac_ct_DSYMUTIL"; then
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7192 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7195 $as_echo "no" >&6; }
7198 if test "x$ac_ct_DSYMUTIL" = x; then
7201 case $cross_compiling:$ac_tool_warned in
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7205 ac_tool_warned=yes ;;
7207 DSYMUTIL=$ac_ct_DSYMUTIL
7210 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7213 if test -n "$ac_tool_prefix"; then
7214 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7215 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7217 $as_echo_n "checking for $ac_word... " >&6; }
7218 if ${ac_cv_prog_NMEDIT+:} false; then :
7219 $as_echo_n "(cached) " >&6
7221 if test -n "$NMEDIT"; then
7222 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7228 test -z "$as_dir" && as_dir=.
7229 for ac_exec_ext in '' $ac_executable_extensions; do
7230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7231 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7241 NMEDIT=$ac_cv_prog_NMEDIT
7242 if test -n "$NMEDIT"; then
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7244 $as_echo "$NMEDIT" >&6; }
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7247 $as_echo "no" >&6; }
7252 if test -z "$ac_cv_prog_NMEDIT"; then
7253 ac_ct_NMEDIT=$NMEDIT
7254 # Extract the first word of "nmedit", so it can be a program name with args.
7255 set dummy nmedit; ac_word=$2
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7257 $as_echo_n "checking for $ac_word... " >&6; }
7258 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7259 $as_echo_n "(cached) " >&6
7261 if test -n "$ac_ct_NMEDIT"; then
7262 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7268 test -z "$as_dir" && as_dir=.
7269 for ac_exec_ext in '' $ac_executable_extensions; do
7270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7271 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7281 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7282 if test -n "$ac_ct_NMEDIT"; then
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7284 $as_echo "$ac_ct_NMEDIT" >&6; }
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7287 $as_echo "no" >&6; }
7290 if test "x$ac_ct_NMEDIT" = x; then
7293 case $cross_compiling:$ac_tool_warned in
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7297 ac_tool_warned=yes ;;
7299 NMEDIT=$ac_ct_NMEDIT
7302 NMEDIT="$ac_cv_prog_NMEDIT"
7305 if test -n "$ac_tool_prefix"; then
7306 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7307 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7309 $as_echo_n "checking for $ac_word... " >&6; }
7310 if ${ac_cv_prog_LIPO+:} false; then :
7311 $as_echo_n "(cached) " >&6
7313 if test -n "$LIPO"; then
7314 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7320 test -z "$as_dir" && as_dir=.
7321 for ac_exec_ext in '' $ac_executable_extensions; do
7322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7323 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7333 LIPO=$ac_cv_prog_LIPO
7334 if test -n "$LIPO"; then
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7336 $as_echo "$LIPO" >&6; }
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7339 $as_echo "no" >&6; }
7344 if test -z "$ac_cv_prog_LIPO"; then
7346 # Extract the first word of "lipo", so it can be a program name with args.
7347 set dummy lipo; ac_word=$2
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7349 $as_echo_n "checking for $ac_word... " >&6; }
7350 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7351 $as_echo_n "(cached) " >&6
7353 if test -n "$ac_ct_LIPO"; then
7354 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7360 test -z "$as_dir" && as_dir=.
7361 for ac_exec_ext in '' $ac_executable_extensions; do
7362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7363 ac_cv_prog_ac_ct_LIPO="lipo"
7364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7373 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7374 if test -n "$ac_ct_LIPO"; then
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7376 $as_echo "$ac_ct_LIPO" >&6; }
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7379 $as_echo "no" >&6; }
7382 if test "x$ac_ct_LIPO" = x; then
7385 case $cross_compiling:$ac_tool_warned in
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7388 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7389 ac_tool_warned=yes ;;
7394 LIPO="$ac_cv_prog_LIPO"
7397 if test -n "$ac_tool_prefix"; then
7398 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7399 set dummy ${ac_tool_prefix}otool; ac_word=$2
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7401 $as_echo_n "checking for $ac_word... " >&6; }
7402 if ${ac_cv_prog_OTOOL+:} false; then :
7403 $as_echo_n "(cached) " >&6
7405 if test -n "$OTOOL"; then
7406 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7412 test -z "$as_dir" && as_dir=.
7413 for ac_exec_ext in '' $ac_executable_extensions; do
7414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7415 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7425 OTOOL=$ac_cv_prog_OTOOL
7426 if test -n "$OTOOL"; then
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7428 $as_echo "$OTOOL" >&6; }
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7431 $as_echo "no" >&6; }
7436 if test -z "$ac_cv_prog_OTOOL"; then
7438 # Extract the first word of "otool", so it can be a program name with args.
7439 set dummy otool; ac_word=$2
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7441 $as_echo_n "checking for $ac_word... " >&6; }
7442 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7443 $as_echo_n "(cached) " >&6
7445 if test -n "$ac_ct_OTOOL"; then
7446 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7452 test -z "$as_dir" && as_dir=.
7453 for ac_exec_ext in '' $ac_executable_extensions; do
7454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7455 ac_cv_prog_ac_ct_OTOOL="otool"
7456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7465 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7466 if test -n "$ac_ct_OTOOL"; then
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7468 $as_echo "$ac_ct_OTOOL" >&6; }
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7471 $as_echo "no" >&6; }
7474 if test "x$ac_ct_OTOOL" = x; then
7477 case $cross_compiling:$ac_tool_warned in
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7481 ac_tool_warned=yes ;;
7486 OTOOL="$ac_cv_prog_OTOOL"
7489 if test -n "$ac_tool_prefix"; then
7490 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7491 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7493 $as_echo_n "checking for $ac_word... " >&6; }
7494 if ${ac_cv_prog_OTOOL64+:} false; then :
7495 $as_echo_n "(cached) " >&6
7497 if test -n "$OTOOL64"; then
7498 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7504 test -z "$as_dir" && as_dir=.
7505 for ac_exec_ext in '' $ac_executable_extensions; do
7506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7507 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7517 OTOOL64=$ac_cv_prog_OTOOL64
7518 if test -n "$OTOOL64"; then
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7520 $as_echo "$OTOOL64" >&6; }
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7523 $as_echo "no" >&6; }
7528 if test -z "$ac_cv_prog_OTOOL64"; then
7529 ac_ct_OTOOL64=$OTOOL64
7530 # Extract the first word of "otool64", so it can be a program name with args.
7531 set dummy otool64; ac_word=$2
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7533 $as_echo_n "checking for $ac_word... " >&6; }
7534 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7535 $as_echo_n "(cached) " >&6
7537 if test -n "$ac_ct_OTOOL64"; then
7538 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7544 test -z "$as_dir" && as_dir=.
7545 for ac_exec_ext in '' $ac_executable_extensions; do
7546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7547 ac_cv_prog_ac_ct_OTOOL64="otool64"
7548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7557 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7558 if test -n "$ac_ct_OTOOL64"; then
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7560 $as_echo "$ac_ct_OTOOL64" >&6; }
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7563 $as_echo "no" >&6; }
7566 if test "x$ac_ct_OTOOL64" = x; then
7569 case $cross_compiling:$ac_tool_warned in
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7573 ac_tool_warned=yes ;;
7575 OTOOL64=$ac_ct_OTOOL64
7578 OTOOL64="$ac_cv_prog_OTOOL64"
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7608 $as_echo_n "checking for -single_module linker flag... " >&6; }
7609 if ${lt_cv_apple_cc_single_mod+:} false; then :
7610 $as_echo_n "(cached) " >&6
7612 lt_cv_apple_cc_single_mod=no
7613 if test -z "${LT_MULTI_MODULE}"; then
7614 # By default we will add the -single_module flag. You can override
7615 # by either setting the environment variable LT_MULTI_MODULE
7616 # non-empty at configure time, or by adding -multi_module to the
7618 rm -rf libconftest.dylib*
7619 echo "int foo(void){return 1;}" > conftest.c
7620 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7621 -dynamiclib -Wl,-single_module conftest.c" >&5
7622 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7623 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7625 # If there is a non-empty error log, and "single_module"
7626 # appears in it, assume the flag caused a linker warning
7627 if test -s conftest.err && $GREP single_module conftest.err; then
7628 cat conftest.err >&5
7629 # Otherwise, if the output was created with a 0 exit code from
7630 # the compiler, it worked.
7631 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7632 lt_cv_apple_cc_single_mod=yes
7634 cat conftest.err >&5
7636 rm -rf libconftest.dylib*
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7641 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7644 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7645 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7646 $as_echo_n "(cached) " >&6
7648 lt_cv_ld_exported_symbols_list=no
7649 save_LDFLAGS=$LDFLAGS
7650 echo "_main" > conftest.sym
7651 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7653 /* end confdefs.h. */
7663 if ac_fn_c_try_link "$LINENO"; then :
7664 lt_cv_ld_exported_symbols_list=yes
7666 lt_cv_ld_exported_symbols_list=no
7668 rm -f core conftest.err conftest.$ac_objext \
7669 conftest$ac_exeext conftest.$ac_ext
7670 LDFLAGS="$save_LDFLAGS"
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7674 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7677 $as_echo_n "checking for -force_load linker flag... " >&6; }
7678 if ${lt_cv_ld_force_load+:} false; then :
7679 $as_echo_n "(cached) " >&6
7681 lt_cv_ld_force_load=no
7682 cat > conftest.c << _LT_EOF
7683 int forced_loaded() { return 2;}
7685 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7686 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7687 echo "$AR cru libconftest.a conftest.o" >&5
7688 $AR cru libconftest.a conftest.o 2>&5
7689 echo "$RANLIB libconftest.a" >&5
7690 $RANLIB libconftest.a 2>&5
7691 cat > conftest.c << _LT_EOF
7692 int main() { return 0;}
7694 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7695 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7697 if test -s conftest.err && $GREP force_load conftest.err; then
7698 cat conftest.err >&5
7699 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7700 lt_cv_ld_force_load=yes
7702 cat conftest.err >&5
7704 rm -f conftest.err libconftest.a conftest conftest.c
7705 rm -rf conftest.dSYM
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7709 $as_echo "$lt_cv_ld_force_load" >&6; }
7711 rhapsody* | darwin1.[012])
7712 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7714 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7715 darwin*) # darwin 5.x on
7716 # if running on 10.5 or later, the deployment target defaults
7717 # to the OS version, if on x86, and 10.4, the deployment
7718 # target defaults to 10.4. Don't you love it?
7719 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7720 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7721 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7723 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7725 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7729 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7730 _lt_dar_single_mod='$single_module'
7732 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7733 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7735 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7737 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7738 _lt_dsymutil='~$DSYMUTIL $lib || :'
7746 ac_cpp='$CPP $CPPFLAGS'
7747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7751 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7752 # On Suns, sometimes $CPP names a directory.
7753 if test -n "$CPP" && test -d "$CPP"; then
7756 if test -z "$CPP"; then
7757 if ${ac_cv_prog_CPP+:} false; then :
7758 $as_echo_n "(cached) " >&6
7760 # Double quotes because CPP needs to be expanded
7761 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7764 for ac_c_preproc_warn_flag in '' yes
7766 # Use a header file that comes with gcc, so configuring glibc
7767 # with a fresh cross-compiler works.
7768 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7769 # <limits.h> exists even on freestanding compilers.
7770 # On the NeXT, cc -E runs the code through the compiler's parser,
7771 # not just through cpp. "Syntax error" is here to catch this case.
7772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7773 /* end confdefs.h. */
7775 # include <limits.h>
7777 # include <assert.h>
7781 if ac_fn_c_try_cpp "$LINENO"; then :
7784 # Broken: fails on valid input.
7787 rm -f conftest.err conftest.i conftest.$ac_ext
7789 # OK, works on sane cases. Now check whether nonexistent headers
7790 # can be detected and how.
7791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7792 /* end confdefs.h. */
7793 #include <ac_nonexistent.h>
7795 if ac_fn_c_try_cpp "$LINENO"; then :
7796 # Broken: success on invalid input.
7799 # Passes both tests.
7803 rm -f conftest.err conftest.i conftest.$ac_ext
7806 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7807 rm -f conftest.i conftest.err conftest.$ac_ext
7808 if $ac_preproc_ok; then :
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7821 $as_echo "$CPP" >&6; }
7823 for ac_c_preproc_warn_flag in '' yes
7825 # Use a header file that comes with gcc, so configuring glibc
7826 # with a fresh cross-compiler works.
7827 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7828 # <limits.h> exists even on freestanding compilers.
7829 # On the NeXT, cc -E runs the code through the compiler's parser,
7830 # not just through cpp. "Syntax error" is here to catch this case.
7831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7832 /* end confdefs.h. */
7834 # include <limits.h>
7836 # include <assert.h>
7840 if ac_fn_c_try_cpp "$LINENO"; then :
7843 # Broken: fails on valid input.
7846 rm -f conftest.err conftest.i conftest.$ac_ext
7848 # OK, works on sane cases. Now check whether nonexistent headers
7849 # can be detected and how.
7850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7851 /* end confdefs.h. */
7852 #include <ac_nonexistent.h>
7854 if ac_fn_c_try_cpp "$LINENO"; then :
7855 # Broken: success on invalid input.
7858 # Passes both tests.
7862 rm -f conftest.err conftest.i conftest.$ac_ext
7865 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7866 rm -f conftest.i conftest.err conftest.$ac_ext
7867 if $ac_preproc_ok; then :
7870 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7872 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7873 See \`config.log' for more details" "$LINENO" 5; }
7877 ac_cpp='$CPP $CPPFLAGS'
7878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7884 $as_echo_n "checking for ANSI C header files... " >&6; }
7885 if ${ac_cv_header_stdc+:} false; then :
7886 $as_echo_n "(cached) " >&6
7888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7889 /* end confdefs.h. */
7903 if ac_fn_c_try_compile "$LINENO"; then :
7904 ac_cv_header_stdc=yes
7906 ac_cv_header_stdc=no
7908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7910 if test $ac_cv_header_stdc = yes; then
7911 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7913 /* end confdefs.h. */
7917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7918 $EGREP "memchr" >/dev/null 2>&1; then :
7921 ac_cv_header_stdc=no
7927 if test $ac_cv_header_stdc = yes; then
7928 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7930 /* end confdefs.h. */
7934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7935 $EGREP "free" >/dev/null 2>&1; then :
7938 ac_cv_header_stdc=no
7944 if test $ac_cv_header_stdc = yes; then
7945 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7946 if test "$cross_compiling" = yes; then :
7949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7950 /* end confdefs.h. */
7953 #if ((' ' & 0x0FF) == 0x020)
7954 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7955 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7957 # define ISLOWER(c) \
7958 (('a' <= (c) && (c) <= 'i') \
7959 || ('j' <= (c) && (c) <= 'r') \
7960 || ('s' <= (c) && (c) <= 'z'))
7961 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7964 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7969 for (i = 0; i < 256; i++)
7970 if (XOR (islower (i), ISLOWER (i))
7971 || toupper (i) != TOUPPER (i))
7976 if ac_fn_c_try_run "$LINENO"; then :
7979 ac_cv_header_stdc=no
7981 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7982 conftest.$ac_objext conftest.beam conftest.$ac_ext
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7988 $as_echo "$ac_cv_header_stdc" >&6; }
7989 if test $ac_cv_header_stdc = yes; then
7991 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7995 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7996 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7997 inttypes.h stdint.h unistd.h
7999 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8000 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8002 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8003 cat >>confdefs.h <<_ACEOF
8004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8012 for ac_header in dlfcn.h
8014 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8016 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8017 cat >>confdefs.h <<_ACEOF
8018 #define HAVE_DLFCN_H 1
8037 # Check whether --enable-shared was given.
8038 if test "${enable_shared+set}" = set; then :
8039 enableval=$enable_shared; p=${PACKAGE-default}
8041 yes) enable_shared=yes ;;
8042 no) enable_shared=no ;;
8045 # Look at the argument we got. We use all the common list separators.
8046 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8047 for pkg in $enableval; do
8049 if test "X$pkg" = "X$p"; then
8068 # Check whether --enable-static was given.
8069 if test "${enable_static+set}" = set; then :
8070 enableval=$enable_static; p=${PACKAGE-default}
8072 yes) enable_static=yes ;;
8073 no) enable_static=no ;;
8076 # Look at the argument we got. We use all the common list separators.
8077 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8078 for pkg in $enableval; do
8080 if test "X$pkg" = "X$p"; then
8100 # Check whether --with-pic was given.
8101 if test "${with_pic+set}" = set; then :
8102 withval=$with_pic; lt_p=${PACKAGE-default}
8104 yes|no) pic_mode=$withval ;;
8107 # Look at the argument we got. We use all the common list separators.
8108 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8109 for lt_pkg in $withval; do
8111 if test "X$lt_pkg" = "X$lt_p"; then
8123 test -z "$pic_mode" && pic_mode=default
8131 # Check whether --enable-fast-install was given.
8132 if test "${enable_fast_install+set}" = set; then :
8133 enableval=$enable_fast_install; p=${PACKAGE-default}
8135 yes) enable_fast_install=yes ;;
8136 no) enable_fast_install=no ;;
8138 enable_fast_install=no
8139 # Look at the argument we got. We use all the common list separators.
8140 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8141 for pkg in $enableval; do
8143 if test "X$pkg" = "X$p"; then
8144 enable_fast_install=yes
8151 enable_fast_install=yes
8164 # This can be used to rebuild libtool when needed
8165 LIBTOOL_DEPS="$ltmain"
8167 # Always use our own libtool.
8168 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8199 test -z "$LN_S" && LN_S="ln -s"
8214 if test -n "${ZSH_VERSION+set}" ; then
8215 setopt NO_GLOB_SUBST
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8219 $as_echo_n "checking for objdir... " >&6; }
8220 if ${lt_cv_objdir+:} false; then :
8221 $as_echo_n "(cached) " >&6
8223 rm -f .libs 2>/dev/null
8224 mkdir .libs 2>/dev/null
8225 if test -d .libs; then
8228 # MS-DOS does not allow filenames that begin with a dot.
8231 rmdir .libs 2>/dev/null
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8234 $as_echo "$lt_cv_objdir" >&6; }
8235 objdir=$lt_cv_objdir
8241 cat >>confdefs.h <<_ACEOF
8242 #define LT_OBJDIR "$lt_cv_objdir/"
8250 # AIX sometimes has problems with the GCC collect2 program. For some
8251 # reason, if we set the COLLECT_NAMES environment variable, the problems
8252 # vanish in a puff of smoke.
8253 if test "X${COLLECT_NAMES+set}" != Xset; then
8255 export COLLECT_NAMES
8262 can_build_shared=yes
8264 # All known linkers require a `.a' archive for static linking (except MSVC,
8265 # which needs '.lib').
8268 with_gnu_ld="$lt_cv_prog_gnu_ld"
8271 old_CFLAGS="$CFLAGS"
8273 # Set sane defaults for various variables
8274 test -z "$CC" && CC=cc
8275 test -z "$LTCC" && LTCC=$CC
8276 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8277 test -z "$LD" && LD=ld
8278 test -z "$ac_objext" && ac_objext=o
8280 for cc_temp in $compiler""; do
8282 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8283 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8288 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8291 # Only perform the check for file, if the check method requires it
8292 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8293 case $deplibs_check_method in
8295 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8297 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8298 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8299 $as_echo_n "(cached) " >&6
8303 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8306 lt_save_MAGIC_CMD="$MAGIC_CMD"
8307 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8308 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8309 for ac_dir in $ac_dummy; do
8311 test -z "$ac_dir" && ac_dir=.
8312 if test -f $ac_dir/${ac_tool_prefix}file; then
8313 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8314 if test -n "$file_magic_test_file"; then
8315 case $deplibs_check_method in
8317 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8318 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8319 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8320 $EGREP "$file_magic_regex" > /dev/null; then
8325 *** Warning: the command libtool uses to detect shared libraries,
8326 *** $file_magic_cmd, produces output that libtool cannot recognize.
8327 *** The result is that libtool may fail to recognize shared libraries
8328 *** as such. This will affect the creation of libtool libraries that
8329 *** depend on shared libraries, but programs linked with such libtool
8330 *** libraries will work regardless of this problem. Nevertheless, you
8331 *** may want to report the problem to your system manager and/or to
8332 *** bug-libtool@gnu.org
8342 MAGIC_CMD="$lt_save_MAGIC_CMD"
8347 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8348 if test -n "$MAGIC_CMD"; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8350 $as_echo "$MAGIC_CMD" >&6; }
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8353 $as_echo "no" >&6; }
8360 if test -z "$lt_cv_path_MAGIC_CMD"; then
8361 if test -n "$ac_tool_prefix"; then
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8363 $as_echo_n "checking for file... " >&6; }
8364 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8365 $as_echo_n "(cached) " >&6
8369 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8372 lt_save_MAGIC_CMD="$MAGIC_CMD"
8373 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8374 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8375 for ac_dir in $ac_dummy; do
8377 test -z "$ac_dir" && ac_dir=.
8378 if test -f $ac_dir/file; then
8379 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8380 if test -n "$file_magic_test_file"; then
8381 case $deplibs_check_method in
8383 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8384 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8385 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8386 $EGREP "$file_magic_regex" > /dev/null; then
8391 *** Warning: the command libtool uses to detect shared libraries,
8392 *** $file_magic_cmd, produces output that libtool cannot recognize.
8393 *** The result is that libtool may fail to recognize shared libraries
8394 *** as such. This will affect the creation of libtool libraries that
8395 *** depend on shared libraries, but programs linked with such libtool
8396 *** libraries will work regardless of this problem. Nevertheless, you
8397 *** may want to report the problem to your system manager and/or to
8398 *** bug-libtool@gnu.org
8408 MAGIC_CMD="$lt_save_MAGIC_CMD"
8413 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8414 if test -n "$MAGIC_CMD"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8416 $as_echo "$MAGIC_CMD" >&6; }
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8419 $as_echo "no" >&6; }
8432 # Use C for the default configuration in the libtool script
8436 ac_cpp='$CPP $CPPFLAGS'
8437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8442 # Source file extension for C test sources.
8445 # Object file extension for compiled C test sources.
8449 # Code to be used in simple compile tests
8450 lt_simple_compile_test_code="int some_variable = 0;"
8452 # Code to be used in simple link tests
8453 lt_simple_link_test_code='int main(){return(0);}'
8461 # If no C compiler was specified, use CC.
8464 # If no C compiler flags were specified, use CFLAGS.
8465 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8467 # Allow CC to be a program name with arguments.
8470 # Save the default compiler, since it gets overwritten when the other
8471 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8472 compiler_DEFAULT=$CC
8474 # save warnings/boilerplate of simple test code
8475 ac_outfile=conftest.$ac_objext
8476 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8477 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8478 _lt_compiler_boilerplate=`cat conftest.err`
8481 ac_outfile=conftest.$ac_objext
8482 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8483 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8484 _lt_linker_boilerplate=`cat conftest.err`
8489 ## There is no encapsulation within the following macros, do not change
8490 ## the running order or otherwise move them around unless you know exactly
8491 ## what you are doing...
8492 if test -n "$compiler"; then
8494 lt_prog_compiler_no_builtin_flag=
8496 if test "$GCC" = yes; then
8497 case $cc_basename in
8499 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8501 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8505 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8506 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8507 $as_echo_n "(cached) " >&6
8509 lt_cv_prog_compiler_rtti_exceptions=no
8510 ac_outfile=conftest.$ac_objext
8511 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8512 lt_compiler_flag="-fno-rtti -fno-exceptions"
8513 # Insert the option either (1) after the last *FLAGS variable, or
8514 # (2) before a word containing "conftest.", or (3) at the end.
8515 # Note that $ac_compile itself does not contain backslashes and begins
8516 # with a dollar sign (not a hyphen), so the echo should work correctly.
8517 # The option is referenced via a variable to avoid confusing sed.
8518 lt_compile=`echo "$ac_compile" | $SED \
8519 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8520 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8521 -e 's:$: $lt_compiler_flag:'`
8522 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8523 (eval "$lt_compile" 2>conftest.err)
8525 cat conftest.err >&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 if (exit $ac_status) && test -s "$ac_outfile"; then
8528 # The compiler can only warn and ignore the option if not recognized
8529 # So say no if there are warnings other than the usual output.
8530 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8531 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8532 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8533 lt_cv_prog_compiler_rtti_exceptions=yes
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8540 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8542 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8543 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8555 lt_prog_compiler_wl=
8556 lt_prog_compiler_pic=
8557 lt_prog_compiler_static=
8560 if test "$GCC" = yes; then
8561 lt_prog_compiler_wl='-Wl,'
8562 lt_prog_compiler_static='-static'
8566 # All AIX code is PIC.
8567 if test "$host_cpu" = ia64; then
8568 # AIX 5 now supports IA64 processor
8569 lt_prog_compiler_static='-Bstatic'
8576 # see comment about AmigaOS4 .so support
8577 lt_prog_compiler_pic='-fPIC'
8580 # FIXME: we need at least 68020 code to build shared libraries, but
8581 # adding the `-m68020' flag to GCC prevents building anything better,
8583 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8588 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8589 # PIC is the default for these OSes.
8592 mingw* | cygwin* | pw32* | os2* | cegcc*)
8593 # This hack is so that the source file can tell whether it is being
8594 # built for inclusion in a dll (and should export symbols for example).
8595 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8596 # (--disable-auto-import) libraries
8597 lt_prog_compiler_pic='-DDLL_EXPORT'
8600 darwin* | rhapsody*)
8601 # PIC is the default on this platform
8602 # Common symbols not allowed in MH_DYLIB files
8603 lt_prog_compiler_pic='-fno-common'
8607 # PIC is the default for Haiku.
8608 # The "-static" flag exists, but is broken.
8609 lt_prog_compiler_static=
8613 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8614 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8615 # sets the default TLS model and affects inlining.
8621 lt_prog_compiler_pic='-fPIC'
8627 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8628 # Instead, we relocate shared libraries at runtime.
8632 # Just because we use GCC doesn't mean we suddenly get shared libraries
8633 # on systems that don't support them.
8634 lt_prog_compiler_can_build_shared=no
8639 # QNX uses GNU C++, but need to define -shared option too, otherwise
8641 lt_prog_compiler_pic='-fPIC -shared'
8645 if test -d /usr/nec; then
8646 lt_prog_compiler_pic=-Kconform_pic
8651 lt_prog_compiler_pic='-fPIC'
8655 case $cc_basename in
8656 nvcc*) # Cuda Compiler Driver 2.2
8657 lt_prog_compiler_wl='-Xlinker '
8658 if test -n "$lt_prog_compiler_pic"; then
8659 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8664 # PORTME Check for flag to pass linker flags through the system compiler.
8667 lt_prog_compiler_wl='-Wl,'
8668 if test "$host_cpu" = ia64; then
8669 # AIX 5 now supports IA64 processor
8670 lt_prog_compiler_static='-Bstatic'
8672 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8676 mingw* | cygwin* | pw32* | os2* | cegcc*)
8677 # This hack is so that the source file can tell whether it is being
8678 # built for inclusion in a dll (and should export symbols for example).
8679 lt_prog_compiler_pic='-DDLL_EXPORT'
8682 hpux9* | hpux10* | hpux11*)
8683 lt_prog_compiler_wl='-Wl,'
8684 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8691 lt_prog_compiler_pic='+Z'
8694 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8695 lt_prog_compiler_static='${wl}-a ${wl}archive'
8698 irix5* | irix6* | nonstopux*)
8699 lt_prog_compiler_wl='-Wl,'
8700 # PIC (with -KPIC) is the default.
8701 lt_prog_compiler_static='-non_shared'
8704 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8705 case $cc_basename in
8706 # old Intel for x86_64 which still supported -KPIC.
8708 lt_prog_compiler_wl='-Wl,'
8709 lt_prog_compiler_pic='-KPIC'
8710 lt_prog_compiler_static='-static'
8712 # icc used to be incompatible with GCC.
8713 # ICC 10 doesn't accept -KPIC any more.
8715 lt_prog_compiler_wl='-Wl,'
8716 lt_prog_compiler_pic='-fPIC'
8717 lt_prog_compiler_static='-static'
8719 # Lahey Fortran 8.1.
8721 lt_prog_compiler_wl='-Wl,'
8722 lt_prog_compiler_pic='--shared'
8723 lt_prog_compiler_static='--static'
8726 # NAG Fortran compiler
8727 lt_prog_compiler_wl='-Wl,-Wl,,'
8728 lt_prog_compiler_pic='-PIC'
8729 lt_prog_compiler_static='-Bstatic'
8731 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8732 # Portland Group compilers (*not* the Pentium gcc compiler,
8733 # which looks to be a dead project)
8734 lt_prog_compiler_wl='-Wl,'
8735 lt_prog_compiler_pic='-fpic'
8736 lt_prog_compiler_static='-Bstatic'
8739 lt_prog_compiler_wl='-Wl,'
8740 # All Alpha code is PIC.
8741 lt_prog_compiler_static='-non_shared'
8743 xl* | bgxl* | bgf* | mpixl*)
8744 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8745 lt_prog_compiler_wl='-Wl,'
8746 lt_prog_compiler_pic='-qpic'
8747 lt_prog_compiler_static='-qstaticlink'
8750 case `$CC -V 2>&1 | sed 5q` in
8751 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8752 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8753 lt_prog_compiler_pic='-KPIC'
8754 lt_prog_compiler_static='-Bstatic'
8755 lt_prog_compiler_wl=''
8757 *Sun\ F* | *Sun*Fortran*)
8758 lt_prog_compiler_pic='-KPIC'
8759 lt_prog_compiler_static='-Bstatic'
8760 lt_prog_compiler_wl='-Qoption ld '
8764 lt_prog_compiler_pic='-KPIC'
8765 lt_prog_compiler_static='-Bstatic'
8766 lt_prog_compiler_wl='-Wl,'
8768 *Intel*\ [CF]*Compiler*)
8769 lt_prog_compiler_wl='-Wl,'
8770 lt_prog_compiler_pic='-fPIC'
8771 lt_prog_compiler_static='-static'
8774 lt_prog_compiler_wl='-Wl,'
8775 lt_prog_compiler_pic='-fpic'
8776 lt_prog_compiler_static='-Bstatic'
8784 lt_prog_compiler_pic='-KPIC'
8785 lt_prog_compiler_static='-Bstatic'
8789 # QNX uses GNU C++, but need to define -shared option too, otherwise
8791 lt_prog_compiler_pic='-fPIC -shared'
8794 osf3* | osf4* | osf5*)
8795 lt_prog_compiler_wl='-Wl,'
8796 # All OSF/1 code is PIC.
8797 lt_prog_compiler_static='-non_shared'
8801 lt_prog_compiler_static='-non_shared'
8805 lt_prog_compiler_pic='-KPIC'
8806 lt_prog_compiler_static='-Bstatic'
8807 case $cc_basename in
8808 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8809 lt_prog_compiler_wl='-Qoption ld ';;
8811 lt_prog_compiler_wl='-Wl,';;
8816 lt_prog_compiler_wl='-Qoption ld '
8817 lt_prog_compiler_pic='-PIC'
8818 lt_prog_compiler_static='-Bstatic'
8821 sysv4 | sysv4.2uw2* | sysv4.3*)
8822 lt_prog_compiler_wl='-Wl,'
8823 lt_prog_compiler_pic='-KPIC'
8824 lt_prog_compiler_static='-Bstatic'
8828 if test -d /usr/nec ;then
8829 lt_prog_compiler_pic='-Kconform_pic'
8830 lt_prog_compiler_static='-Bstatic'
8834 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8835 lt_prog_compiler_wl='-Wl,'
8836 lt_prog_compiler_pic='-KPIC'
8837 lt_prog_compiler_static='-Bstatic'
8841 lt_prog_compiler_wl='-Wl,'
8842 lt_prog_compiler_can_build_shared=no
8846 lt_prog_compiler_pic='-pic'
8847 lt_prog_compiler_static='-Bstatic'
8851 lt_prog_compiler_can_build_shared=no
8857 # For platforms which do not support PIC, -DPIC is meaningless:
8859 lt_prog_compiler_pic=
8862 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8867 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8868 if ${lt_cv_prog_compiler_pic+:} false; then :
8869 $as_echo_n "(cached) " >&6
8871 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8874 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8875 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8878 # Check to make sure the PIC flag actually works.
8880 if test -n "$lt_prog_compiler_pic"; then
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8882 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8883 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8884 $as_echo_n "(cached) " >&6
8886 lt_cv_prog_compiler_pic_works=no
8887 ac_outfile=conftest.$ac_objext
8888 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8889 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8890 # Insert the option either (1) after the last *FLAGS variable, or
8891 # (2) before a word containing "conftest.", or (3) at the end.
8892 # Note that $ac_compile itself does not contain backslashes and begins
8893 # with a dollar sign (not a hyphen), so the echo should work correctly.
8894 # The option is referenced via a variable to avoid confusing sed.
8895 lt_compile=`echo "$ac_compile" | $SED \
8896 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8897 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8898 -e 's:$: $lt_compiler_flag:'`
8899 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8900 (eval "$lt_compile" 2>conftest.err)
8902 cat conftest.err >&5
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 if (exit $ac_status) && test -s "$ac_outfile"; then
8905 # The compiler can only warn and ignore the option if not recognized
8906 # So say no if there are warnings other than the usual output.
8907 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8908 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8909 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8910 lt_cv_prog_compiler_pic_works=yes
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8917 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8919 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8920 case $lt_prog_compiler_pic in
8922 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8925 lt_prog_compiler_pic=
8926 lt_prog_compiler_can_build_shared=no
8942 # Check to make sure the static flag actually works.
8944 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8946 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8947 if ${lt_cv_prog_compiler_static_works+:} false; then :
8948 $as_echo_n "(cached) " >&6
8950 lt_cv_prog_compiler_static_works=no
8951 save_LDFLAGS="$LDFLAGS"
8952 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8953 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8954 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8955 # The linker can only warn and ignore the option if not recognized
8956 # So say no if there are warnings
8957 if test -s conftest.err; then
8958 # Append any errors to the config.log.
8959 cat conftest.err 1>&5
8960 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8961 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8962 if diff conftest.exp conftest.er2 >/dev/null; then
8963 lt_cv_prog_compiler_static_works=yes
8966 lt_cv_prog_compiler_static_works=yes
8970 LDFLAGS="$save_LDFLAGS"
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8974 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8976 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8979 lt_prog_compiler_static=
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8989 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8990 if ${lt_cv_prog_compiler_c_o+:} false; then :
8991 $as_echo_n "(cached) " >&6
8993 lt_cv_prog_compiler_c_o=no
8994 $RM -r conftest 2>/dev/null
8998 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9000 lt_compiler_flag="-o out/conftest2.$ac_objext"
9001 # Insert the option either (1) after the last *FLAGS variable, or
9002 # (2) before a word containing "conftest.", or (3) at the end.
9003 # Note that $ac_compile itself does not contain backslashes and begins
9004 # with a dollar sign (not a hyphen), so the echo should work correctly.
9005 lt_compile=`echo "$ac_compile" | $SED \
9006 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9007 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9008 -e 's:$: $lt_compiler_flag:'`
9009 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9010 (eval "$lt_compile" 2>out/conftest.err)
9012 cat out/conftest.err >&5
9013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9016 # The compiler can only warn and ignore the option if not recognized
9017 # So say no if there are warnings
9018 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9019 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9020 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9021 lt_cv_prog_compiler_c_o=yes
9026 # SGI C++ compiler will create directory out/ii_files/ for
9027 # template instantiation
9028 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9029 $RM out/* && rmdir out
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9036 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9044 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9045 if ${lt_cv_prog_compiler_c_o+:} false; then :
9046 $as_echo_n "(cached) " >&6
9048 lt_cv_prog_compiler_c_o=no
9049 $RM -r conftest 2>/dev/null
9053 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9055 lt_compiler_flag="-o out/conftest2.$ac_objext"
9056 # Insert the option either (1) after the last *FLAGS variable, or
9057 # (2) before a word containing "conftest.", or (3) at the end.
9058 # Note that $ac_compile itself does not contain backslashes and begins
9059 # with a dollar sign (not a hyphen), so the echo should work correctly.
9060 lt_compile=`echo "$ac_compile" | $SED \
9061 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9062 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9063 -e 's:$: $lt_compiler_flag:'`
9064 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9065 (eval "$lt_compile" 2>out/conftest.err)
9067 cat out/conftest.err >&5
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9071 # The compiler can only warn and ignore the option if not recognized
9072 # So say no if there are warnings
9073 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9074 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9075 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9076 lt_cv_prog_compiler_c_o=yes
9081 # SGI C++ compiler will create directory out/ii_files/ for
9082 # template instantiation
9083 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9084 $RM out/* && rmdir out
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9091 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9096 hard_links="nottested"
9097 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9098 # do not overwrite the value of need_locks provided by the user
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9100 $as_echo_n "checking if we can lock with hard links... " >&6; }
9103 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9105 ln conftest.a conftest.b 2>&5 || hard_links=no
9106 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9108 $as_echo "$hard_links" >&6; }
9109 if test "$hard_links" = no; then
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9111 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9124 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9127 allow_undefined_flag=
9128 always_export_symbols=no
9130 archive_expsym_cmds=
9131 compiler_needs_object=no
9132 enable_shared_with_static_runtimes=no
9133 export_dynamic_flag_spec=
9134 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9135 hardcode_automatic=no
9137 hardcode_direct_absolute=no
9138 hardcode_libdir_flag_spec=
9139 hardcode_libdir_separator=
9141 hardcode_shlibpath_var=unsupported
9143 link_all_deplibs=unknown
9146 old_archive_from_new_cmds=
9147 old_archive_from_expsyms_cmds=
9148 thread_safe_flag_spec=
9149 whole_archive_flag_spec=
9150 # include_expsyms should be a list of space-separated symbols to be *always*
9151 # included in the symbol list
9153 # exclude_expsyms can be an extended regexp of symbols to exclude
9154 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9155 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9156 # as well as any symbol that contains `d'.
9157 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9158 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9159 # platforms (ab)use it in PIC code, but their linkers get confused if
9160 # the symbol is explicitly referenced. Since portable code cannot
9161 # rely on this symbol name, it's probably fine to never include it in
9162 # preloaded symbol tables.
9163 # Exclude shared library initialization/finalization symbols.
9164 extract_expsyms_cmds=
9167 cygwin* | mingw* | pw32* | cegcc*)
9168 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9169 # When not using gcc, we currently assume that we are using
9170 # Microsoft Visual C++.
9171 if test "$GCC" != yes; then
9176 # we just hope/assume this is gcc and not c89 (= MSVC++)
9186 # On some targets, GNU ld is compatible enough with the native linker
9187 # that we're better off using the native interface for both.
9188 lt_use_gnu_ld_interface=no
9189 if test "$with_gnu_ld" = yes; then
9192 # The AIX port of GNU ld has always aspired to compatibility
9193 # with the native linker. However, as the warning in the GNU ld
9194 # block says, versions before 2.19.5* couldn't really create working
9195 # shared libraries, regardless of the interface used.
9196 case `$LD -v 2>&1` in
9197 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9198 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9199 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9201 lt_use_gnu_ld_interface=yes
9206 lt_use_gnu_ld_interface=yes
9211 if test "$lt_use_gnu_ld_interface" = yes; then
9212 # If archive_cmds runs LD, not CC, wlarc should be empty
9215 # Set some defaults for GNU ld with shared library support. These
9216 # are reset later if shared libraries are not supported. Putting them
9217 # here allows them to be overridden if necessary.
9218 runpath_var=LD_RUN_PATH
9219 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9220 export_dynamic_flag_spec='${wl}--export-dynamic'
9221 # ancient GNU ld didn't support --whole-archive et. al.
9222 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9223 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9225 whole_archive_flag_spec=
9227 supports_anon_versioning=no
9228 case `$LD -v 2>&1` in
9229 *GNU\ gold*) supports_anon_versioning=yes ;;
9230 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9231 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9232 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9233 *\ 2.11.*) ;; # other 2.11 versions
9234 *) supports_anon_versioning=yes ;;
9237 # See if GNU ld supports shared libraries.
9240 # On AIX/PPC, the GNU linker is very broken
9241 if test "$host_cpu" != ia64; then
9245 *** Warning: the GNU linker, at least up to release 2.19, is reported
9246 *** to be unable to reliably create shared libraries on AIX.
9247 *** Therefore, libtool is disabling shared libraries support. If you
9248 *** really care for shared libraries, you may want to install binutils
9249 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9250 *** You will then need to restart the configuration process.
9259 # see comment about AmigaOS4 .so support
9260 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9261 archive_expsym_cmds=''
9264 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)'
9265 hardcode_libdir_flag_spec='-L$libdir'
9266 hardcode_minus_L=yes
9272 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9273 allow_undefined_flag=unsupported
9274 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9275 # support --undefined. This deserves some investigation. FIXME
9276 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9282 cygwin* | mingw* | pw32* | cegcc*)
9283 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9284 # as there is no search path for DLLs.
9285 hardcode_libdir_flag_spec='-L$libdir'
9286 export_dynamic_flag_spec='${wl}--export-all-symbols'
9287 allow_undefined_flag=unsupported
9288 always_export_symbols=no
9289 enable_shared_with_static_runtimes=yes
9290 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9291 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9293 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9294 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9295 # If the export-symbols file already is a .def file (1st line
9296 # is EXPORTS), use it as is; otherwise, prepend...
9297 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9298 cp $export_symbols $output_objdir/$soname.def;
9300 echo EXPORTS > $output_objdir/$soname.def;
9301 cat $export_symbols >> $output_objdir/$soname.def;
9303 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9310 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9311 link_all_deplibs=yes
9316 hardcode_shlibpath_var=no
9317 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9318 export_dynamic_flag_spec='${wl}-E'
9319 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9320 # Instead, shared libraries are loaded at an image base (0x10000000 by
9321 # default) and relocated if they conflict, which is a slow very memory
9322 # consuming and fragmenting process. To avoid this, we pick a random,
9323 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9324 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9325 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9326 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'
9329 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9331 if test "$host_os" = linux-dietlibc; then
9332 case $cc_basename in
9333 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9336 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9337 && test "$tmp_diet" = no
9339 tmp_addflag=' $pic_flag'
9340 tmp_sharedflag='-shared'
9341 case $cc_basename,$host_cpu in
9342 pgcc*) # Portland Group C compiler
9343 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9344 tmp_addflag=' $pic_flag'
9346 pgf77* | pgf90* | pgf95* | pgfortran*)
9347 # Portland Group f77 and f90 compilers
9348 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9349 tmp_addflag=' $pic_flag -Mnomain' ;;
9350 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9351 tmp_addflag=' -i_dynamic' ;;
9352 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9353 tmp_addflag=' -i_dynamic -nofor_main' ;;
9354 ifc* | ifort*) # Intel Fortran compiler
9355 tmp_addflag=' -nofor_main' ;;
9356 lf95*) # Lahey Fortran 8.1
9357 whole_archive_flag_spec=
9358 tmp_sharedflag='--shared' ;;
9359 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9360 tmp_sharedflag='-qmkshrobj'
9362 nvcc*) # Cuda Compiler Driver 2.2
9363 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9364 compiler_needs_object=yes
9367 case `$CC -V 2>&1 | sed 5q` in
9368 *Sun\ C*) # Sun C 5.9
9369 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9370 compiler_needs_object=yes
9371 tmp_sharedflag='-G' ;;
9372 *Sun\ F*) # Sun Fortran 8.3
9373 tmp_sharedflag='-G' ;;
9375 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9377 if test "x$supports_anon_versioning" = xyes; then
9378 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9379 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9380 echo "local: *; };" >> $output_objdir/$libname.ver~
9381 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9384 case $cc_basename in
9385 xlf* | bgf* | bgxlf* | mpixlf*)
9386 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9387 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9388 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9389 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9390 if test "x$supports_anon_versioning" = xyes; then
9391 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9392 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9393 echo "local: *; };" >> $output_objdir/$libname.ver~
9394 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9404 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9405 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9408 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9409 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9414 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9418 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9419 *** create shared libraries on Solaris systems. Therefore, libtool
9420 *** is disabling shared libraries support. We urge you to upgrade GNU
9421 *** binutils to release 2.9.1 or newer. Another option is to modify
9422 *** your PATH or compiler configuration so that the native linker is
9423 *** used, and then restart.
9426 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9427 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9428 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9434 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9435 case `$LD -v 2>&1` in
9436 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9440 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9441 *** reliably create shared libraries on SCO systems. Therefore, libtool
9442 *** is disabling shared libraries support. We urge you to upgrade GNU
9443 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9444 *** your PATH or compiler configuration so that the native linker is
9445 *** used, and then restart.
9450 # For security reasons, it is highly recommended that you always
9451 # use absolute paths for naming shared libraries, and exclude the
9452 # DT_RUNPATH tag from executables and libraries. But doing so
9453 # requires that you compile everything twice, which is a pain.
9454 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9455 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9456 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9457 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9466 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9469 hardcode_shlibpath_var=no
9473 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9474 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9475 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9482 if test "$ld_shlibs" = no; then
9484 hardcode_libdir_flag_spec=
9485 export_dynamic_flag_spec=
9486 whole_archive_flag_spec=
9489 # PORTME fill in a description of your system's linker (not GNU ld)
9492 allow_undefined_flag=unsupported
9493 always_export_symbols=yes
9494 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'
9495 # Note: this linker hardcodes the directories in LIBPATH if there
9496 # are no directories specified by -L.
9497 hardcode_minus_L=yes
9498 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9499 # Neither direct hardcoding nor static linking is supported with a
9501 hardcode_direct=unsupported
9506 if test "$host_cpu" = ia64; then
9507 # On IA64, the linker does run time linking by default, so we don't
9508 # have to do anything special.
9509 aix_use_runtimelinking=no
9510 exp_sym_flag='-Bexport'
9513 # If we're using GNU nm, then we don't want the "-C" option.
9514 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9515 # Also, AIX nm treats weak defined symbols like other global
9516 # defined symbols, whereas GNU nm marks them as "W".
9517 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9518 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9520 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'
9522 aix_use_runtimelinking=no
9524 # Test if we are trying to use run time linking or normal
9525 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9526 # need to do runtime linking.
9527 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9528 for ld_flag in $LDFLAGS; do
9529 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9530 aix_use_runtimelinking=yes
9537 exp_sym_flag='-bexport'
9538 no_entry_flag='-bnoentry'
9541 # When large executables or shared objects are built, AIX ld can
9542 # have problems creating the table of contents. If linking a library
9543 # or program results in "error TOC overflow" add -mminimal-toc to
9544 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9545 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9549 hardcode_direct_absolute=yes
9550 hardcode_libdir_separator=':'
9551 link_all_deplibs=yes
9552 file_list_spec='${wl}-f,'
9554 if test "$GCC" = yes; then
9555 case $host_os in aix4.[012]|aix4.[012].*)
9556 # We only want to do this on AIX 4.2 and lower, the check
9557 # below for broken collect2 doesn't work under 4.3+
9558 collect2name=`${CC} -print-prog-name=collect2`
9559 if test -f "$collect2name" &&
9560 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9562 # We have reworked collect2
9565 # We have old collect2
9566 hardcode_direct=unsupported
9567 # It fails to find uninstalled libraries when the uninstalled
9568 # path is not listed in the libpath. Setting hardcode_minus_L
9569 # to unsupported forces relinking
9570 hardcode_minus_L=yes
9571 hardcode_libdir_flag_spec='-L$libdir'
9572 hardcode_libdir_separator=
9576 shared_flag='-shared'
9577 if test "$aix_use_runtimelinking" = yes; then
9578 shared_flag="$shared_flag "'${wl}-G'
9582 if test "$host_cpu" = ia64; then
9583 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9584 # chokes on -Wl,-G. The following line is correct:
9587 if test "$aix_use_runtimelinking" = yes; then
9588 shared_flag='${wl}-G'
9590 shared_flag='${wl}-bM:SRE'
9595 export_dynamic_flag_spec='${wl}-bexpall'
9596 # It seems that -bexpall does not export symbols beginning with
9597 # underscore (_), so it is better to generate a list of symbols to export.
9598 always_export_symbols=yes
9599 if test "$aix_use_runtimelinking" = yes; then
9600 # Warning - without using the other runtime loading flags (-brtl),
9601 # -berok will link without error, but may produce a broken library.
9602 allow_undefined_flag='-berok'
9603 # Determine the default libpath from the value encoded in an
9605 if test "${lt_cv_aix_libpath+set}" = set; then
9606 aix_libpath=$lt_cv_aix_libpath
9608 if ${lt_cv_aix_libpath_+:} false; then :
9609 $as_echo_n "(cached) " >&6
9611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9612 /* end confdefs.h. */
9622 if ac_fn_c_try_link "$LINENO"; then :
9624 lt_aix_libpath_sed='
9625 /Import File Strings/,/^$/ {
9627 s/^0 *\([^ ]*\) *$/\1/
9631 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9632 # Check for a 64-bit object if we didn't find anything.
9633 if test -z "$lt_cv_aix_libpath_"; then
9634 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9637 rm -f core conftest.err conftest.$ac_objext \
9638 conftest$ac_exeext conftest.$ac_ext
9639 if test -z "$lt_cv_aix_libpath_"; then
9640 lt_cv_aix_libpath_="/usr/lib:/lib"
9645 aix_libpath=$lt_cv_aix_libpath_
9648 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9649 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9651 if test "$host_cpu" = ia64; then
9652 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9653 allow_undefined_flag="-z nodefs"
9654 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"
9656 # Determine the default libpath from the value encoded in an
9658 if test "${lt_cv_aix_libpath+set}" = set; then
9659 aix_libpath=$lt_cv_aix_libpath
9661 if ${lt_cv_aix_libpath_+:} false; then :
9662 $as_echo_n "(cached) " >&6
9664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9665 /* end confdefs.h. */
9675 if ac_fn_c_try_link "$LINENO"; then :
9677 lt_aix_libpath_sed='
9678 /Import File Strings/,/^$/ {
9680 s/^0 *\([^ ]*\) *$/\1/
9684 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9685 # Check for a 64-bit object if we didn't find anything.
9686 if test -z "$lt_cv_aix_libpath_"; then
9687 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9690 rm -f core conftest.err conftest.$ac_objext \
9691 conftest$ac_exeext conftest.$ac_ext
9692 if test -z "$lt_cv_aix_libpath_"; then
9693 lt_cv_aix_libpath_="/usr/lib:/lib"
9698 aix_libpath=$lt_cv_aix_libpath_
9701 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9702 # Warning - without using the other run time loading flags,
9703 # -berok will link without error, but may produce a broken library.
9704 no_undefined_flag=' ${wl}-bernotok'
9705 allow_undefined_flag=' ${wl}-berok'
9706 if test "$with_gnu_ld" = yes; then
9707 # We only use this code for GNU lds that support --whole-archive.
9708 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9710 # Exported symbols can be pulled into shared objects from archives
9711 whole_archive_flag_spec='$convenience'
9713 archive_cmds_need_lc=yes
9714 # This is similar to how AIX traditionally builds its shared libraries.
9715 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'
9723 # see comment about AmigaOS4 .so support
9724 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9725 archive_expsym_cmds=''
9728 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)'
9729 hardcode_libdir_flag_spec='-L$libdir'
9730 hardcode_minus_L=yes
9736 export_dynamic_flag_spec=-rdynamic
9739 cygwin* | mingw* | pw32* | cegcc*)
9740 # When not using gcc, we currently assume that we are using
9741 # Microsoft Visual C++.
9742 # hardcode_libdir_flag_spec is actually meaningless, as there is
9743 # no search path for DLLs.
9744 case $cc_basename in
9747 hardcode_libdir_flag_spec=' '
9748 allow_undefined_flag=unsupported
9749 always_export_symbols=yes
9751 # Tell ltmain to make .lib files, not .a files.
9753 # Tell ltmain to make .dll files, not .so files.
9755 # FIXME: Setting linknames here is a bad hack.
9756 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9757 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9758 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9760 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9762 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9764 # The linker will not automatically build a static lib if we build a DLL.
9765 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9766 enable_shared_with_static_runtimes=yes
9767 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9768 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9770 old_postinstall_cmds='chmod 644 $oldlib'
9771 postlink_cmds='lt_outputfile="@OUTPUT@"~
9772 lt_tool_outputfile="@TOOL_OUTPUT@"~
9773 case $lt_outputfile in
9776 lt_outputfile="$lt_outputfile.exe"
9777 lt_tool_outputfile="$lt_tool_outputfile.exe"
9780 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9781 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9782 $RM "$lt_outputfile.manifest";
9786 # Assume MSVC wrapper
9787 hardcode_libdir_flag_spec=' '
9788 allow_undefined_flag=unsupported
9789 # Tell ltmain to make .lib files, not .a files.
9791 # Tell ltmain to make .dll files, not .so files.
9793 # FIXME: Setting linknames here is a bad hack.
9794 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9795 # The linker will automatically build a .lib file if we build a DLL.
9796 old_archive_from_new_cmds='true'
9797 # FIXME: Should let the user specify the lib program.
9798 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9799 enable_shared_with_static_runtimes=yes
9804 darwin* | rhapsody*)
9807 archive_cmds_need_lc=no
9809 hardcode_automatic=yes
9810 hardcode_shlibpath_var=unsupported
9811 if test "$lt_cv_ld_force_load" = "yes"; then
9812 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9815 whole_archive_flag_spec=''
9817 link_all_deplibs=yes
9818 allow_undefined_flag="$_lt_dar_allow_undefined"
9819 case $cc_basename in
9820 ifort*) _lt_dar_can_shared=yes ;;
9821 *) _lt_dar_can_shared=$GCC ;;
9823 if test "$_lt_dar_can_shared" = "yes"; then
9824 output_verbose_link_cmd=func_echo_all
9825 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9826 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9827 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}"
9828 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}"
9837 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9838 hardcode_libdir_flag_spec='-L$libdir'
9839 hardcode_shlibpath_var=no
9842 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9843 # support. Future versions do this automatically, but an explicit c++rt0.o
9844 # does not break anything, and helps significantly (at the cost of a little
9847 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9848 hardcode_libdir_flag_spec='-R$libdir'
9850 hardcode_shlibpath_var=no
9853 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9855 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9857 hardcode_minus_L=yes
9858 hardcode_shlibpath_var=no
9861 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9862 freebsd* | dragonfly*)
9863 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9864 hardcode_libdir_flag_spec='-R$libdir'
9866 hardcode_shlibpath_var=no
9870 if test "$GCC" = yes; then
9871 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9873 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'
9875 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9876 hardcode_libdir_separator=:
9879 # hardcode_minus_L: Not really in the search PATH,
9880 # but as the default location of the library.
9881 hardcode_minus_L=yes
9882 export_dynamic_flag_spec='${wl}-E'
9886 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9887 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9889 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9891 if test "$with_gnu_ld" = no; then
9892 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9893 hardcode_libdir_separator=:
9895 hardcode_direct_absolute=yes
9896 export_dynamic_flag_spec='${wl}-E'
9897 # hardcode_minus_L: Not really in the search PATH,
9898 # but as the default location of the library.
9899 hardcode_minus_L=yes
9904 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9907 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9910 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9913 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9919 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9922 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9926 # Older versions of the 11.00 compiler do not understand -b yet
9927 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9929 $as_echo_n "checking if $CC understands -b... " >&6; }
9930 if ${lt_cv_prog_compiler__b+:} false; then :
9931 $as_echo_n "(cached) " >&6
9933 lt_cv_prog_compiler__b=no
9934 save_LDFLAGS="$LDFLAGS"
9935 LDFLAGS="$LDFLAGS -b"
9936 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9937 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9938 # The linker can only warn and ignore the option if not recognized
9939 # So say no if there are warnings
9940 if test -s conftest.err; then
9941 # Append any errors to the config.log.
9942 cat conftest.err 1>&5
9943 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9944 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9945 if diff conftest.exp conftest.er2 >/dev/null; then
9946 lt_cv_prog_compiler__b=yes
9949 lt_cv_prog_compiler__b=yes
9953 LDFLAGS="$save_LDFLAGS"
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9957 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9959 if test x"$lt_cv_prog_compiler__b" = xyes; then
9960 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9962 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9968 if test "$with_gnu_ld" = no; then
9969 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9970 hardcode_libdir_separator=:
9975 hardcode_shlibpath_var=no
9979 hardcode_direct_absolute=yes
9980 export_dynamic_flag_spec='${wl}-E'
9982 # hardcode_minus_L: Not really in the search PATH,
9983 # but as the default location of the library.
9984 hardcode_minus_L=yes
9990 irix5* | irix6* | nonstopux*)
9991 if test "$GCC" = yes; then
9992 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9993 # Try to use the -exported_symbol ld option, if it does not
9994 # work, assume that -exports_file does not work either and
9995 # implicitly export all symbols.
9996 # This should be the same for all languages, so no per-tag cache variable.
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9998 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9999 if ${lt_cv_irix_exported_symbol+:} false; then :
10000 $as_echo_n "(cached) " >&6
10002 save_LDFLAGS="$LDFLAGS"
10003 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10006 int foo (void) { return 0; }
10008 if ac_fn_c_try_link "$LINENO"; then :
10009 lt_cv_irix_exported_symbol=yes
10011 lt_cv_irix_exported_symbol=no
10013 rm -f core conftest.err conftest.$ac_objext \
10014 conftest$ac_exeext conftest.$ac_ext
10015 LDFLAGS="$save_LDFLAGS"
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10018 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10019 if test "$lt_cv_irix_exported_symbol" = yes; then
10020 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10023 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10024 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10026 archive_cmds_need_lc='no'
10027 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10028 hardcode_libdir_separator=:
10030 link_all_deplibs=yes
10034 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10035 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10037 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10039 hardcode_libdir_flag_spec='-R$libdir'
10040 hardcode_direct=yes
10041 hardcode_shlibpath_var=no
10045 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10046 hardcode_direct=yes
10047 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10048 hardcode_libdir_separator=:
10049 hardcode_shlibpath_var=no
10056 if test -f /usr/libexec/ld.so; then
10057 hardcode_direct=yes
10058 hardcode_shlibpath_var=no
10059 hardcode_direct_absolute=yes
10060 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10061 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10062 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10063 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10064 export_dynamic_flag_spec='${wl}-E'
10067 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10068 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10069 hardcode_libdir_flag_spec='-R$libdir'
10072 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10073 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10083 hardcode_libdir_flag_spec='-L$libdir'
10084 hardcode_minus_L=yes
10085 allow_undefined_flag=unsupported
10086 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'
10087 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10091 if test "$GCC" = yes; then
10092 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10093 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10095 allow_undefined_flag=' -expect_unresolved \*'
10096 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10098 archive_cmds_need_lc='no'
10099 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10100 hardcode_libdir_separator=:
10103 osf4* | osf5*) # as osf3* with the addition of -msym flag
10104 if test "$GCC" = yes; then
10105 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10106 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10107 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10109 allow_undefined_flag=' -expect_unresolved \*'
10110 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10111 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~
10112 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10114 # Both c and cxx compiler support -rpath directly
10115 hardcode_libdir_flag_spec='-rpath $libdir'
10117 archive_cmds_need_lc='no'
10118 hardcode_libdir_separator=:
10122 no_undefined_flag=' -z defs'
10123 if test "$GCC" = yes; then
10125 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10126 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10127 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10129 case `$CC -V 2>&1` in
10132 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10133 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10134 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10138 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10139 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10140 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10144 hardcode_libdir_flag_spec='-R$libdir'
10145 hardcode_shlibpath_var=no
10147 solaris2.[0-5] | solaris2.[0-5].*) ;;
10149 # The compiler driver will combine and reorder linker options,
10150 # but understands `-z linker_flag'. GCC discards it without `$wl',
10151 # but is careful enough not to reorder.
10152 # Supported since Solaris 2.6 (maybe 2.5.1?)
10153 if test "$GCC" = yes; then
10154 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10156 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10160 link_all_deplibs=yes
10164 if test "x$host_vendor" = xsequent; then
10165 # Use $CC to link under sequent, because it throws in some extra .o
10166 # files that make .init and .fini sections work.
10167 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10169 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10171 hardcode_libdir_flag_spec='-L$libdir'
10172 hardcode_direct=yes
10173 hardcode_minus_L=yes
10174 hardcode_shlibpath_var=no
10178 case $host_vendor in
10180 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10181 hardcode_direct=yes # is this really true???
10184 ## LD is ld it makes a PLAMLIB
10185 ## CC just makes a GrossModule.
10186 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10187 reload_cmds='$CC -r -o $output$reload_objs'
10191 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10192 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10195 runpath_var='LD_RUN_PATH'
10196 hardcode_shlibpath_var=no
10200 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10201 hardcode_shlibpath_var=no
10202 export_dynamic_flag_spec='-Bexport'
10206 if test -d /usr/nec; then
10207 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10208 hardcode_shlibpath_var=no
10209 runpath_var=LD_RUN_PATH
10210 hardcode_runpath_var=yes
10215 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10216 no_undefined_flag='${wl}-z,text'
10217 archive_cmds_need_lc=no
10218 hardcode_shlibpath_var=no
10219 runpath_var='LD_RUN_PATH'
10221 if test "$GCC" = yes; then
10222 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10223 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10225 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10226 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10230 sysv5* | sco3.2v5* | sco5v6*)
10231 # Note: We can NOT use -z defs as we might desire, because we do not
10232 # link with -lc, and that would cause any symbols used from libc to
10233 # always be unresolved, which means just about no library would
10234 # ever link correctly. If we're not using GNU ld we use -z text
10235 # though, which does catch some bad symbols but isn't as heavy-handed
10237 no_undefined_flag='${wl}-z,text'
10238 allow_undefined_flag='${wl}-z,nodefs'
10239 archive_cmds_need_lc=no
10240 hardcode_shlibpath_var=no
10241 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10242 hardcode_libdir_separator=':'
10243 link_all_deplibs=yes
10244 export_dynamic_flag_spec='${wl}-Bexport'
10245 runpath_var='LD_RUN_PATH'
10247 if test "$GCC" = yes; then
10248 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10249 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10251 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10252 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10257 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10258 hardcode_libdir_flag_spec='-L$libdir'
10259 hardcode_shlibpath_var=no
10267 if test x$host_vendor = xsni; then
10269 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10270 export_dynamic_flag_spec='${wl}-Blargedynsym'
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10277 $as_echo "$ld_shlibs" >&6; }
10278 test "$ld_shlibs" = no && can_build_shared=no
10280 with_gnu_ld=$with_gnu_ld
10297 # Do we need to explicitly link libc?
10299 case "x$archive_cmds_need_lc" in
10301 # Assume -lc should be added
10302 archive_cmds_need_lc=yes
10304 if test "$enable_shared" = yes && test "$GCC" = yes; then
10305 case $archive_cmds in
10307 # FIXME: we may have to deal with multi-command sequences.
10310 # Test whether the compiler implicitly links with -lc since on some
10311 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10312 # to ld, don't add -lc before -lgcc.
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10314 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10315 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10316 $as_echo_n "(cached) " >&6
10319 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10321 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10322 (eval $ac_compile) 2>&5
10324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10325 test $ac_status = 0; } 2>conftest.err; then
10328 libobjs=conftest.$ac_objext
10330 wl=$lt_prog_compiler_wl
10331 pic_flag=$lt_prog_compiler_pic
10337 lt_save_allow_undefined_flag=$allow_undefined_flag
10338 allow_undefined_flag=
10339 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10340 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10343 test $ac_status = 0; }
10345 lt_cv_archive_cmds_need_lc=no
10347 lt_cv_archive_cmds_need_lc=yes
10349 allow_undefined_flag=$lt_save_allow_undefined_flag
10351 cat conftest.err 1>&5
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10357 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10358 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10517 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10519 if test "$GCC" = yes; then
10521 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10522 *) lt_awk_arg="/^libraries:/" ;;
10525 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10526 *) lt_sed_strip_eq="s,=/,/,g" ;;
10528 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10529 case $lt_search_path_spec in
10531 # if the path contains ";" then we assume it to be the separator
10532 # otherwise default to the standard path separator (i.e. ":") - it is
10533 # assumed that no part of a normal pathname contains ";" but that should
10534 # okay in the real world where ";" in dirpaths is itself problematic.
10535 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10538 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10541 # Ok, now we have the path, separated by spaces, we can step through it
10542 # and add multilib dir if necessary.
10543 lt_tmp_lt_search_path_spec=
10544 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10545 for lt_sys_path in $lt_search_path_spec; do
10546 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10547 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10549 test -d "$lt_sys_path" && \
10550 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10553 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10554 BEGIN {RS=" "; FS="/|\n";} {
10557 for (lt_i = NF; lt_i > 0; lt_i--) {
10558 if ($lt_i != "" && $lt_i != ".") {
10559 if ($lt_i == "..") {
10562 if (lt_count == 0) {
10563 lt_foo="/" $lt_i lt_foo;
10570 if (lt_foo != "") { lt_freq[lt_foo]++; }
10571 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10573 # AWK program above erroneously prepends '/' to C:/dos/paths
10576 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10577 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10579 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10581 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10583 library_names_spec=
10584 libname_spec='lib$name'
10588 postuninstall_cmds=
10592 shlibpath_overrides_runpath=unknown
10594 dynamic_linker="$host_os ld.so"
10595 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10596 need_lib_prefix=unknown
10597 hardcode_into_libs=no
10599 # when you set need_version to no, make sure it does not cause -set_version
10600 # flags to be left without arguments
10601 need_version=unknown
10605 version_type=linux # correct to gnu/linux during the next big refactor
10606 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10607 shlibpath_var=LIBPATH
10609 # AIX 3 has no versioning support, so we append a major version to the name.
10610 soname_spec='${libname}${release}${shared_ext}$major'
10614 version_type=linux # correct to gnu/linux during the next big refactor
10617 hardcode_into_libs=yes
10618 if test "$host_cpu" = ia64; then
10619 # AIX 5 supports IA64
10620 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10621 shlibpath_var=LD_LIBRARY_PATH
10623 # With GCC up to 2.95.x, collect2 would create an import file
10624 # for dependence libraries. The import file would start with
10625 # the line `#! .'. This would cause the generated library to
10626 # depend on `.', always an invalid library. This was fixed in
10627 # development snapshots of GCC prior to 3.0.
10629 aix4 | aix4.[01] | aix4.[01].*)
10630 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10632 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10635 can_build_shared=no
10639 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10640 # soname into executable. Probably we can add versioning support to
10641 # collect2, so additional links can be useful in future.
10642 if test "$aix_use_runtimelinking" = yes; then
10643 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10644 # instead of lib<name>.a to let people know that these are not
10645 # typical AIX shared libraries.
10646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10648 # We preserve .a as extension for shared libraries through AIX4.2
10649 # and later when we are not doing run time linking.
10650 library_names_spec='${libname}${release}.a $libname.a'
10651 soname_spec='${libname}${release}${shared_ext}$major'
10653 shlibpath_var=LIBPATH
10660 # Since July 2007 AmigaOS4 officially supports .so libraries.
10661 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10665 library_names_spec='$libname.ixlibrary $libname.a'
10666 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10667 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10673 library_names_spec='${libname}${shared_ext}'
10674 dynamic_linker="$host_os ld.so"
10675 shlibpath_var=LIBRARY_PATH
10679 version_type=linux # correct to gnu/linux during the next big refactor
10681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10682 soname_spec='${libname}${release}${shared_ext}$major'
10683 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10684 shlibpath_var=LD_LIBRARY_PATH
10685 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10686 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10687 # the default ld.so.conf also contains /usr/contrib/lib and
10688 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10689 # libtool to hard-code these into programs
10692 cygwin* | mingw* | pw32* | cegcc*)
10693 version_type=windows
10698 case $GCC,$cc_basename in
10701 library_names_spec='$libname.dll.a'
10702 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10703 postinstall_cmds='base_file=`basename \${file}`~
10704 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10705 dldir=$destdir/`dirname \$dlpath`~
10706 test -d \$dldir || mkdir -p \$dldir~
10707 $install_prog $dir/$dlname \$dldir/$dlname~
10708 chmod a+x \$dldir/$dlname~
10709 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10710 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10712 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10713 dlpath=$dir/\$dldll~
10715 shlibpath_overrides_runpath=yes
10719 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10720 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10722 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10725 # MinGW DLLs use traditional 'lib' prefix
10726 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10729 # pw32 DLLs use 'pw' prefix rather than 'lib'
10730 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10733 dynamic_linker='Win32 ld.exe'
10738 libname_spec='$name'
10739 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10740 library_names_spec='${libname}.dll.lib'
10744 sys_lib_search_path_spec=
10747 for lt_path in $LIB
10750 # Let DOS variable expansion print the short 8.3 style file name.
10751 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10752 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10755 # Convert to MSYS style.
10756 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10759 # Convert to unix form, then to dos form, then back to unix form
10760 # but this time dos style (no spaces!) so that the unix form looks
10761 # like /cygdrive/c/PROGRA~1:/cygdr...
10762 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10763 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10764 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10767 sys_lib_search_path_spec="$LIB"
10768 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10769 # It is most probably a Windows format PATH.
10770 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10772 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10774 # FIXME: find the short name or the path components, as spaces are
10775 # common. (e.g. "Program Files" -> "PROGRA~1")
10779 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10780 postinstall_cmds='base_file=`basename \${file}`~
10781 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10782 dldir=$destdir/`dirname \$dlpath`~
10783 test -d \$dldir || mkdir -p \$dldir~
10784 $install_prog $dir/$dlname \$dldir/$dlname'
10785 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10786 dlpath=$dir/\$dldll~
10788 shlibpath_overrides_runpath=yes
10789 dynamic_linker='Win32 link.exe'
10793 # Assume MSVC wrapper
10794 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10795 dynamic_linker='Win32 ld.exe'
10798 # FIXME: first we should search . and the directory the executable is in
10802 darwin* | rhapsody*)
10803 dynamic_linker="$host_os dyld"
10804 version_type=darwin
10807 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10808 soname_spec='${libname}${release}${major}$shared_ext'
10809 shlibpath_overrides_runpath=yes
10810 shlibpath_var=DYLD_LIBRARY_PATH
10811 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10813 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10814 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10818 version_type=linux # correct to gnu/linux during the next big refactor
10821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10822 soname_spec='${libname}${release}${shared_ext}$major'
10823 shlibpath_var=LD_LIBRARY_PATH
10826 freebsd* | dragonfly*)
10827 # DragonFly does not have aout. When/if they implement a new
10828 # versioning mechanism, adjust this.
10829 if test -x /usr/bin/objformat; then
10830 objformat=`/usr/bin/objformat`
10833 freebsd[23].*) objformat=aout ;;
10834 *) objformat=elf ;;
10837 version_type=freebsd-$objformat
10838 case $version_type in
10840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10845 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10849 shlibpath_var=LD_LIBRARY_PATH
10852 shlibpath_overrides_runpath=yes
10854 freebsd3.[01]* | freebsdelf3.[01]*)
10855 shlibpath_overrides_runpath=yes
10856 hardcode_into_libs=yes
10858 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10859 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10860 shlibpath_overrides_runpath=no
10861 hardcode_into_libs=yes
10863 *) # from 4.6 on, and DragonFly
10864 shlibpath_overrides_runpath=yes
10865 hardcode_into_libs=yes
10871 version_type=linux # correct to gnu/linux during the next big refactor
10874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10875 soname_spec='${libname}${release}${shared_ext}$major'
10876 shlibpath_var=LD_LIBRARY_PATH
10877 shlibpath_overrides_runpath=no
10878 hardcode_into_libs=yes
10882 version_type=linux # correct to gnu/linux during the next big refactor
10885 dynamic_linker="$host_os runtime_loader"
10886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10887 soname_spec='${libname}${release}${shared_ext}$major'
10888 shlibpath_var=LIBRARY_PATH
10889 shlibpath_overrides_runpath=yes
10890 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10891 hardcode_into_libs=yes
10894 hpux9* | hpux10* | hpux11*)
10895 # Give a soname corresponding to the major version so that dld.sl refuses to
10896 # link against other versions.
10903 hardcode_into_libs=yes
10904 dynamic_linker="$host_os dld.so"
10905 shlibpath_var=LD_LIBRARY_PATH
10906 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908 soname_spec='${libname}${release}${shared_ext}$major'
10909 if test "X$HPUX_IA64_MODE" = X32; then
10910 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10912 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10914 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10918 hardcode_into_libs=yes
10919 dynamic_linker="$host_os dld.sl"
10920 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10921 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923 soname_spec='${libname}${release}${shared_ext}$major'
10924 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10925 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10929 dynamic_linker="$host_os dld.sl"
10930 shlibpath_var=SHLIB_PATH
10931 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10933 soname_spec='${libname}${release}${shared_ext}$major'
10936 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10937 postinstall_cmds='chmod 555 $lib'
10938 # or fails outright, so override atomically:
10939 install_override_mode=555
10943 version_type=linux # correct to gnu/linux during the next big refactor
10946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10947 soname_spec='${libname}${release}${shared_ext}$major'
10948 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10949 shlibpath_var=LD_LIBRARY_PATH
10950 shlibpath_overrides_runpath=no
10951 hardcode_into_libs=yes
10954 irix5* | irix6* | nonstopux*)
10956 nonstopux*) version_type=nonstopux ;;
10958 if test "$lt_cv_prog_gnu_ld" = yes; then
10959 version_type=linux # correct to gnu/linux during the next big refactor
10966 soname_spec='${libname}${release}${shared_ext}$major'
10967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10969 irix5* | nonstopux*)
10970 libsuff= shlibsuff=
10973 case $LD in # libtool.m4 will add one of these switches to LD
10974 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10975 libsuff= shlibsuff= libmagic=32-bit;;
10976 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10977 libsuff=32 shlibsuff=N32 libmagic=N32;;
10978 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10979 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10980 *) libsuff= shlibsuff= libmagic=never-match;;
10984 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10985 shlibpath_overrides_runpath=no
10986 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10987 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10988 hardcode_into_libs=yes
10991 # No shared lib support for Linux oldld, aout, or coff.
10992 linux*oldld* | linux*aout* | linux*coff*)
10996 # This must be glibc/ELF.
10997 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10998 version_type=linux # correct to gnu/linux during the next big refactor
11001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11002 soname_spec='${libname}${release}${shared_ext}$major'
11003 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11004 shlibpath_var=LD_LIBRARY_PATH
11005 shlibpath_overrides_runpath=no
11007 # Some binutils ld are patched to set DT_RUNPATH
11008 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11009 $as_echo_n "(cached) " >&6
11011 lt_cv_shlibpath_overrides_runpath=no
11012 save_LDFLAGS=$LDFLAGS
11013 save_libdir=$libdir
11014 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11015 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11027 if ac_fn_c_try_link "$LINENO"; then :
11028 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11029 lt_cv_shlibpath_overrides_runpath=yes
11032 rm -f core conftest.err conftest.$ac_objext \
11033 conftest$ac_exeext conftest.$ac_ext
11034 LDFLAGS=$save_LDFLAGS
11035 libdir=$save_libdir
11039 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11041 # This implies no fast_install, which is unacceptable.
11042 # Some rework will be needed to allow for fast_install
11043 # before this can be enabled.
11044 hardcode_into_libs=yes
11046 # Add ABI-specific directories to the system library path.
11047 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11049 # Append ld.so.conf contents to the search path
11050 if test -f /etc/ld.so.conf; then
11051 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11052 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11056 # We used to test for /lib/ld.so.1 and disable shared libraries on
11057 # powerpc, because MkLinux only supported shared libraries with the
11058 # GNU dynamic linker. Since this was broken with cross compilers,
11059 # most powerpc-linux boxes support dynamic linking these days and
11060 # people can always --disable-shared, the test was removed, and we
11061 # assume the GNU/Linux dynamic linker is in use.
11062 dynamic_linker='GNU/Linux ld.so'
11069 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11071 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11072 dynamic_linker='NetBSD (a.out) ld.so'
11074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11075 soname_spec='${libname}${release}${shared_ext}$major'
11076 dynamic_linker='NetBSD ld.elf_so'
11078 shlibpath_var=LD_LIBRARY_PATH
11079 shlibpath_overrides_runpath=yes
11080 hardcode_into_libs=yes
11084 version_type=linux # correct to gnu/linux during the next big refactor
11085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11086 shlibpath_var=LD_LIBRARY_PATH
11087 shlibpath_overrides_runpath=yes
11094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11095 soname_spec='${libname}${release}${shared_ext}$major'
11096 shlibpath_var=LD_LIBRARY_PATH
11097 shlibpath_overrides_runpath=no
11098 hardcode_into_libs=yes
11099 dynamic_linker='ldqnx.so'
11104 sys_lib_dlsearch_path_spec="/usr/lib"
11106 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11108 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11109 *) need_version=no ;;
11111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11112 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11113 shlibpath_var=LD_LIBRARY_PATH
11114 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11116 openbsd2.[89] | openbsd2.[89].*)
11117 shlibpath_overrides_runpath=no
11120 shlibpath_overrides_runpath=yes
11124 shlibpath_overrides_runpath=yes
11129 libname_spec='$name'
11132 library_names_spec='$libname${shared_ext} $libname.a'
11133 dynamic_linker='OS/2 ld.exe'
11134 shlibpath_var=LIBPATH
11137 osf3* | osf4* | osf5*)
11141 soname_spec='${libname}${release}${shared_ext}$major'
11142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11143 shlibpath_var=LD_LIBRARY_PATH
11144 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11145 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11153 version_type=linux # correct to gnu/linux during the next big refactor
11156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11157 soname_spec='${libname}${release}${shared_ext}$major'
11158 shlibpath_var=LD_LIBRARY_PATH
11159 shlibpath_overrides_runpath=yes
11160 hardcode_into_libs=yes
11161 # ldd complains unless libraries are executable
11162 postinstall_cmds='chmod +x $lib'
11167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11168 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11169 shlibpath_var=LD_LIBRARY_PATH
11170 shlibpath_overrides_runpath=yes
11171 if test "$with_gnu_ld" = yes; then
11178 version_type=linux # correct to gnu/linux during the next big refactor
11179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11180 soname_spec='${libname}${release}${shared_ext}$major'
11181 shlibpath_var=LD_LIBRARY_PATH
11182 case $host_vendor in
11184 shlibpath_overrides_runpath=no
11186 runpath_var=LD_RUN_PATH
11194 shlibpath_overrides_runpath=no
11195 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11201 if test -d /usr/nec ;then
11202 version_type=linux # correct to gnu/linux during the next big refactor
11203 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11204 soname_spec='$libname${shared_ext}.$major'
11205 shlibpath_var=LD_LIBRARY_PATH
11209 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11210 version_type=freebsd-elf
11213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11214 soname_spec='${libname}${release}${shared_ext}$major'
11215 shlibpath_var=LD_LIBRARY_PATH
11216 shlibpath_overrides_runpath=yes
11217 hardcode_into_libs=yes
11218 if test "$with_gnu_ld" = yes; then
11219 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11221 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11224 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11228 sys_lib_dlsearch_path_spec='/usr/lib'
11232 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11233 version_type=linux # correct to gnu/linux during the next big refactor
11236 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11237 shlibpath_var=LD_LIBRARY_PATH
11238 shlibpath_overrides_runpath=no
11239 hardcode_into_libs=yes
11243 version_type=linux # correct to gnu/linux during the next big refactor
11244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11245 soname_spec='${libname}${release}${shared_ext}$major'
11246 shlibpath_var=LD_LIBRARY_PATH
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11254 $as_echo "$dynamic_linker" >&6; }
11255 test "$dynamic_linker" = no && can_build_shared=no
11257 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11258 if test "$GCC" = yes; then
11259 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11262 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11263 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11265 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11266 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11361 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11363 if test -n "$hardcode_libdir_flag_spec" ||
11364 test -n "$runpath_var" ||
11365 test "X$hardcode_automatic" = "Xyes" ; then
11367 # We can hardcode non-existent directories.
11368 if test "$hardcode_direct" != no &&
11369 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11370 # have to relink, otherwise we might link with an installed library
11371 # when we should be linking with a yet-to-be-installed one
11372 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11373 test "$hardcode_minus_L" != no; then
11374 # Linking always hardcodes the temporary library directory.
11375 hardcode_action=relink
11377 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11378 hardcode_action=immediate
11381 # We cannot hardcode anything, or else we can only hardcode existing
11383 hardcode_action=unsupported
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11386 $as_echo "$hardcode_action" >&6; }
11388 if test "$hardcode_action" = relink ||
11389 test "$inherit_rpath" = yes; then
11390 # Fast installation is not supported
11391 enable_fast_install=no
11392 elif test "$shlibpath_overrides_runpath" = yes ||
11393 test "$enable_shared" = no; then
11394 # Fast installation is not necessary
11395 enable_fast_install=needless
11403 if test "x$enable_dlopen" != xyes; then
11404 enable_dlopen=unknown
11405 enable_dlopen_self=unknown
11406 enable_dlopen_self_static=unknown
11413 lt_cv_dlopen="load_add_on"
11415 lt_cv_dlopen_self=yes
11418 mingw* | pw32* | cegcc*)
11419 lt_cv_dlopen="LoadLibrary"
11424 lt_cv_dlopen="dlopen"
11429 # if libdl is installed we need to link against it
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11431 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11432 if ${ac_cv_lib_dl_dlopen+:} false; then :
11433 $as_echo_n "(cached) " >&6
11435 ac_check_lib_save_LIBS=$LIBS
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11440 /* Override any GCC internal prototype to avoid an error.
11441 Use char because int might match the return type of a GCC
11442 builtin and then its argument prototype would still apply. */
11455 if ac_fn_c_try_link "$LINENO"; then :
11456 ac_cv_lib_dl_dlopen=yes
11458 ac_cv_lib_dl_dlopen=no
11460 rm -f core conftest.err conftest.$ac_objext \
11461 conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_lib_save_LIBS
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11465 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11466 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11467 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11470 lt_cv_dlopen="dyld"
11472 lt_cv_dlopen_self=yes
11479 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11480 if test "x$ac_cv_func_shl_load" = xyes; then :
11481 lt_cv_dlopen="shl_load"
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11484 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11485 if ${ac_cv_lib_dld_shl_load+:} false; then :
11486 $as_echo_n "(cached) " >&6
11488 ac_check_lib_save_LIBS=$LIBS
11490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11491 /* end confdefs.h. */
11493 /* Override any GCC internal prototype to avoid an error.
11494 Use char because int might match the return type of a GCC
11495 builtin and then its argument prototype would still apply. */
11503 return shl_load ();
11508 if ac_fn_c_try_link "$LINENO"; then :
11509 ac_cv_lib_dld_shl_load=yes
11511 ac_cv_lib_dld_shl_load=no
11513 rm -f core conftest.err conftest.$ac_objext \
11514 conftest$ac_exeext conftest.$ac_ext
11515 LIBS=$ac_check_lib_save_LIBS
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11518 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11519 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11520 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11522 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11523 if test "x$ac_cv_func_dlopen" = xyes; then :
11524 lt_cv_dlopen="dlopen"
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11527 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11528 if ${ac_cv_lib_dl_dlopen+:} false; then :
11529 $as_echo_n "(cached) " >&6
11531 ac_check_lib_save_LIBS=$LIBS
11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h. */
11536 /* Override any GCC internal prototype to avoid an error.
11537 Use char because int might match the return type of a GCC
11538 builtin and then its argument prototype would still apply. */
11551 if ac_fn_c_try_link "$LINENO"; then :
11552 ac_cv_lib_dl_dlopen=yes
11554 ac_cv_lib_dl_dlopen=no
11556 rm -f core conftest.err conftest.$ac_objext \
11557 conftest$ac_exeext conftest.$ac_ext
11558 LIBS=$ac_check_lib_save_LIBS
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11561 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11562 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11563 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11566 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11567 if ${ac_cv_lib_svld_dlopen+:} false; then :
11568 $as_echo_n "(cached) " >&6
11570 ac_check_lib_save_LIBS=$LIBS
11571 LIBS="-lsvld $LIBS"
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11575 /* Override any GCC internal prototype to avoid an error.
11576 Use char because int might match the return type of a GCC
11577 builtin and then its argument prototype would still apply. */
11590 if ac_fn_c_try_link "$LINENO"; then :
11591 ac_cv_lib_svld_dlopen=yes
11593 ac_cv_lib_svld_dlopen=no
11595 rm -f core conftest.err conftest.$ac_objext \
11596 conftest$ac_exeext conftest.$ac_ext
11597 LIBS=$ac_check_lib_save_LIBS
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11600 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11601 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11602 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11605 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11606 if ${ac_cv_lib_dld_dld_link+:} false; then :
11607 $as_echo_n "(cached) " >&6
11609 ac_check_lib_save_LIBS=$LIBS
11611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11612 /* end confdefs.h. */
11614 /* Override any GCC internal prototype to avoid an error.
11615 Use char because int might match the return type of a GCC
11616 builtin and then its argument prototype would still apply. */
11624 return dld_link ();
11629 if ac_fn_c_try_link "$LINENO"; then :
11630 ac_cv_lib_dld_dld_link=yes
11632 ac_cv_lib_dld_dld_link=no
11634 rm -f core conftest.err conftest.$ac_objext \
11635 conftest$ac_exeext conftest.$ac_ext
11636 LIBS=$ac_check_lib_save_LIBS
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11639 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11640 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11641 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11662 if test "x$lt_cv_dlopen" != xno; then
11668 case $lt_cv_dlopen in
11670 save_CPPFLAGS="$CPPFLAGS"
11671 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11673 save_LDFLAGS="$LDFLAGS"
11674 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11677 LIBS="$lt_cv_dlopen_libs $LIBS"
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11680 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11681 if ${lt_cv_dlopen_self+:} false; then :
11682 $as_echo_n "(cached) " >&6
11684 if test "$cross_compiling" = yes; then :
11685 lt_cv_dlopen_self=cross
11687 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11688 lt_status=$lt_dlunknown
11689 cat > conftest.$ac_ext <<_LT_EOF
11690 #line $LINENO "configure"
11691 #include "confdefs.h"
11700 # define LT_DLGLOBAL RTLD_GLOBAL
11703 # define LT_DLGLOBAL DL_GLOBAL
11705 # define LT_DLGLOBAL 0
11709 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11710 find out it does not work in some platform. */
11711 #ifndef LT_DLLAZY_OR_NOW
11713 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11716 # define LT_DLLAZY_OR_NOW DL_LAZY
11719 # define LT_DLLAZY_OR_NOW RTLD_NOW
11722 # define LT_DLLAZY_OR_NOW DL_NOW
11724 # define LT_DLLAZY_OR_NOW 0
11731 /* When -fvisbility=hidden is used, assume the code has been annotated
11732 correspondingly for the symbols needed. */
11733 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11734 int fnord () __attribute__((visibility("default")));
11737 int fnord () { return 42; }
11740 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11741 int status = $lt_dlunknown;
11745 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11748 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11749 else puts (dlerror ());
11751 /* dlclose (self); */
11759 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11760 (eval $ac_link) 2>&5
11762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11763 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11764 (./conftest; exit; ) >&5 2>/dev/null
11766 case x$lt_status in
11767 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11768 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11769 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11772 # compilation failed
11773 lt_cv_dlopen_self=no
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11781 $as_echo "$lt_cv_dlopen_self" >&6; }
11783 if test "x$lt_cv_dlopen_self" = xyes; then
11784 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11786 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11787 if ${lt_cv_dlopen_self_static+:} false; then :
11788 $as_echo_n "(cached) " >&6
11790 if test "$cross_compiling" = yes; then :
11791 lt_cv_dlopen_self_static=cross
11793 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11794 lt_status=$lt_dlunknown
11795 cat > conftest.$ac_ext <<_LT_EOF
11796 #line $LINENO "configure"
11797 #include "confdefs.h"
11806 # define LT_DLGLOBAL RTLD_GLOBAL
11809 # define LT_DLGLOBAL DL_GLOBAL
11811 # define LT_DLGLOBAL 0
11815 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11816 find out it does not work in some platform. */
11817 #ifndef LT_DLLAZY_OR_NOW
11819 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11822 # define LT_DLLAZY_OR_NOW DL_LAZY
11825 # define LT_DLLAZY_OR_NOW RTLD_NOW
11828 # define LT_DLLAZY_OR_NOW DL_NOW
11830 # define LT_DLLAZY_OR_NOW 0
11837 /* When -fvisbility=hidden is used, assume the code has been annotated
11838 correspondingly for the symbols needed. */
11839 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11840 int fnord () __attribute__((visibility("default")));
11843 int fnord () { return 42; }
11846 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11847 int status = $lt_dlunknown;
11851 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11854 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11855 else puts (dlerror ());
11857 /* dlclose (self); */
11865 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11866 (eval $ac_link) 2>&5
11868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11869 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11870 (./conftest; exit; ) >&5 2>/dev/null
11872 case x$lt_status in
11873 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11874 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11875 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11878 # compilation failed
11879 lt_cv_dlopen_self_static=no
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11887 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11890 CPPFLAGS="$save_CPPFLAGS"
11891 LDFLAGS="$save_LDFLAGS"
11896 case $lt_cv_dlopen_self in
11897 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11898 *) enable_dlopen_self=unknown ;;
11901 case $lt_cv_dlopen_self_static in
11902 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11903 *) enable_dlopen_self_static=unknown ;;
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11926 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11927 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11928 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11929 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11931 $as_echo "yes" >&6; }
11933 # FIXME - insert some real tests, host_os isn't really good enough
11936 if test -n "$STRIP" ; then
11937 striplib="$STRIP -x"
11938 old_striplib="$STRIP -S"
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11940 $as_echo "yes" >&6; }
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11943 $as_echo "no" >&6; }
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11948 $as_echo "no" >&6; }
11964 # Report which library types will actually be built
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11966 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11968 $as_echo "$can_build_shared" >&6; }
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11971 $as_echo_n "checking whether to build shared libraries... " >&6; }
11972 test "$can_build_shared" = "no" && enable_shared=no
11974 # On AIX, shared libraries and static libraries use the same namespace, and
11975 # are all built from PIC.
11978 test "$enable_shared" = yes && enable_static=no
11979 if test -n "$RANLIB"; then
11980 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11981 postinstall_cmds='$RANLIB $lib'
11986 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11987 test "$enable_shared" = yes && enable_static=no
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11992 $as_echo "$enable_shared" >&6; }
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11995 $as_echo_n "checking whether to build static libraries... " >&6; }
11996 # Make sure either enable_shared or enable_static is yes.
11997 test "$enable_shared" = yes || enable_static=yes
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11999 $as_echo "$enable_static" >&6; }
12006 ac_cpp='$CPP $CPPFLAGS'
12007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12027 ac_config_commands="$ac_config_commands libtool"
12032 # Only expand once:
12036 #themesdir="${datadir}/ethumb/data/frames"
12037 #AC_SUBST(themesdir)
12038 #AS_AC_EXPAND(THEMESDIR, $themesdir)
12039 #AC_DEFINE_UNQUOTED(THEMESDIR, ["$THEMESDIR"], [Where frame theme files are installed.]
12042 #AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
12043 #AC_DEFINE_UNQUOTED(SYSCONFDIR, ["$SYSCONFDIR"], [Where system configuration is stored])
12047 # Check whether --enable-doc was given.
12048 if test "${enable_doc+set}" = set; then :
12049 enableval=$enable_doc;
12050 if test "x${enableval}" = "xyes" ; then
12051 efl_enable_doc="yes"
12053 efl_enable_doc="no"
12057 efl_enable_doc="yes"
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12062 $as_echo_n "checking whether to build documentation... " >&6; }
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12064 $as_echo "${efl_enable_doc}" >&6; }
12066 if test "x${efl_enable_doc}" = "xyes" ; then
12069 efl_doxygen="doxygen"
12072 # Check whether --with-doxygen was given.
12073 if test "${with_doxygen+set}" = set; then :
12074 withval=$with_doxygen;
12075 efl_doxygen=${withval}
12076 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12077 set dummy ${efl_doxygen}; ac_word=$2
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12079 $as_echo_n "checking for $ac_word... " >&6; }
12080 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12081 $as_echo_n "(cached) " >&6
12083 if test -n "$efl_have_doxygen"; then
12084 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12087 for as_dir in $PATH
12090 test -z "$as_dir" && as_dir=.
12091 for ac_exec_ext in '' $ac_executable_extensions; do
12092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12093 ac_cv_prog_efl_have_doxygen="yes"
12094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12101 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12104 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12105 if test -n "$efl_have_doxygen"; then
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12107 $as_echo "$efl_have_doxygen" >&6; }
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12110 $as_echo "no" >&6; }
12114 if test "x${efl_have_doxygen}" = "xno" ; then
12116 echo "The doxygen program you specified:"
12117 echo "${efl_doxygen}"
12118 echo "was not found. Please check the path and make sure "
12119 echo "the program exists and is executable."
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12121 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12125 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12126 set dummy ${efl_doxygen}; ac_word=$2
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12128 $as_echo_n "checking for $ac_word... " >&6; }
12129 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12130 $as_echo_n "(cached) " >&6
12132 if test -n "$efl_have_doxygen"; then
12133 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12136 for as_dir in $PATH
12139 test -z "$as_dir" && as_dir=.
12140 for ac_exec_ext in '' $ac_executable_extensions; do
12141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12142 ac_cv_prog_efl_have_doxygen="yes"
12143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12150 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12153 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12154 if test -n "$efl_have_doxygen"; then
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12156 $as_echo "$efl_have_doxygen" >&6; }
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12159 $as_echo "no" >&6; }
12163 if test "x${efl_have_doxygen}" = "xno" ; then
12165 echo "The doxygen program was not found in your execute path."
12166 echo "You may have doxygen installed somewhere not covered by your path."
12168 echo "If this is the case make sure you have the packages installed, AND"
12169 echo "that the doxygen program is in your execute path (see your"
12170 echo "shell manual page on setting the \$PATH environment variable), OR"
12171 echo "alternatively, specify the program to use with --with-doxygen."
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12173 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12182 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12183 efl_enable_doc="no"
12186 if test "x${efl_enable_doc}" = "xyes"; then
12187 EFL_BUILD_DOC_TRUE=
12188 EFL_BUILD_DOC_FALSE='#'
12190 EFL_BUILD_DOC_TRUE='#'
12191 EFL_BUILD_DOC_FALSE=
12195 if test "x${efl_enable_doc}" = "xyes" ; then
12203 with_max_log_level="<unset>"
12205 # Check whether --with-internal-maximum-log-level was given.
12206 if test "${with_internal_maximum_log_level+set}" = set; then :
12207 withval=$with_internal_maximum_log_level;
12208 if test "x${withval}" != "xno"; then
12209 if echo "${withval}" | grep '^[0-9]\+$' >/dev/null 2>/dev/null; then
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: ignoring any EINA_LOG() with level greater than ${withval}" >&5
12211 $as_echo "$as_me: ignoring any EINA_LOG() with level greater than ${withval}" >&6;}
12213 cat >>confdefs.h <<_ACEOF
12214 #define EINA_LOG_LEVEL_MAXIMUM ${withval}
12217 with_max_log_level="${withval}"
12219 as_fn_error $? "--with-internal-maximum-log-level takes a decimal number, got \"${withval}\" instead." "$LINENO" 5
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
12233 $as_echo_n "checking for EVIL... " >&6; }
12235 if test -n "$EVIL_CFLAGS"; then
12236 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
12237 elif test -n "$PKG_CONFIG"; then
12238 if test -n "$PKG_CONFIG" && \
12239 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.7\""; } >&5
12240 ($PKG_CONFIG --exists --print-errors "evil >= 1.7.7") 2>&5
12242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12243 test $ac_status = 0; }; then
12244 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.7.7" 2>/dev/null`
12251 if test -n "$EVIL_LIBS"; then
12252 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
12253 elif test -n "$PKG_CONFIG"; then
12254 if test -n "$PKG_CONFIG" && \
12255 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.7\""; } >&5
12256 ($PKG_CONFIG --exists --print-errors "evil >= 1.7.7") 2>&5
12258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12259 test $ac_status = 0; }; then
12260 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.7.7" 2>/dev/null`
12270 if test $pkg_failed = yes; then
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12272 $as_echo "no" >&6; }
12274 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12275 _pkg_short_errors_supported=yes
12277 _pkg_short_errors_supported=no
12279 if test $_pkg_short_errors_supported = yes; then
12280 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.7.7" 2>&1`
12282 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.7.7" 2>&1`
12284 # Put the nasty error message in config.log where it belongs
12285 echo "$EVIL_PKG_ERRORS" >&5
12287 as_fn_error $? "Package requirements (evil >= 1.7.7) were not met:
12291 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12292 installed software in a non-standard prefix.
12294 Alternatively, you may set the environment variables EVIL_CFLAGS
12295 and EVIL_LIBS to avoid the need to call pkg-config.
12296 See the pkg-config man page for more details." "$LINENO" 5
12298 elif test $pkg_failed = untried; then
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12300 $as_echo "no" >&6; }
12301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12303 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12304 is in your PATH or set the PKG_CONFIG environment variable to the full
12305 path to pkg-config.
12307 Alternatively, you may set the environment variables EVIL_CFLAGS
12308 and EVIL_LIBS to avoid the need to call pkg-config.
12309 See the pkg-config man page for more details.
12311 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12312 See \`config.log' for more details" "$LINENO" 5; }
12315 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
12316 EVIL_LIBS=$pkg_cv_EVIL_LIBS
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12318 $as_echo "yes" >&6; }
12322 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
12324 requirement_ethumb="${requirement_ethumb} evil >= 1.7.7"
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
12331 $as_echo_n "checking for EINA... " >&6; }
12333 if test -n "$EINA_CFLAGS"; then
12334 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
12335 elif test -n "$PKG_CONFIG"; then
12336 if test -n "$PKG_CONFIG" && \
12337 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.7.7\""; } >&5
12338 ($PKG_CONFIG --exists --print-errors "eina >= 1.7.7") 2>&5
12340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12341 test $ac_status = 0; }; then
12342 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.7.7" 2>/dev/null`
12349 if test -n "$EINA_LIBS"; then
12350 pkg_cv_EINA_LIBS="$EINA_LIBS"
12351 elif test -n "$PKG_CONFIG"; then
12352 if test -n "$PKG_CONFIG" && \
12353 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.7.7\""; } >&5
12354 ($PKG_CONFIG --exists --print-errors "eina >= 1.7.7") 2>&5
12356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12357 test $ac_status = 0; }; then
12358 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.7.7" 2>/dev/null`
12368 if test $pkg_failed = yes; then
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12370 $as_echo "no" >&6; }
12372 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12373 _pkg_short_errors_supported=yes
12375 _pkg_short_errors_supported=no
12377 if test $_pkg_short_errors_supported = yes; then
12378 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eina >= 1.7.7" 2>&1`
12380 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors "eina >= 1.7.7" 2>&1`
12382 # Put the nasty error message in config.log where it belongs
12383 echo "$EINA_PKG_ERRORS" >&5
12385 as_fn_error $? "Package requirements (eina >= 1.7.7) were not met:
12389 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12390 installed software in a non-standard prefix.
12392 Alternatively, you may set the environment variables EINA_CFLAGS
12393 and EINA_LIBS to avoid the need to call pkg-config.
12394 See the pkg-config man page for more details." "$LINENO" 5
12396 elif test $pkg_failed = untried; then
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12398 $as_echo "no" >&6; }
12399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12401 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12402 is in your PATH or set the PKG_CONFIG environment variable to the full
12403 path to pkg-config.
12405 Alternatively, you may set the environment variables EINA_CFLAGS
12406 and EINA_LIBS to avoid the need to call pkg-config.
12407 See the pkg-config man page for more details.
12409 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12410 See \`config.log' for more details" "$LINENO" 5; }
12413 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
12414 EINA_LIBS=$pkg_cv_EINA_LIBS
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12416 $as_echo "yes" >&6; }
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5
12422 $as_echo_n "checking for EVAS... " >&6; }
12424 if test -n "$EVAS_CFLAGS"; then
12425 pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
12426 elif test -n "$PKG_CONFIG"; then
12427 if test -n "$PKG_CONFIG" && \
12428 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.7\""; } >&5
12429 ($PKG_CONFIG --exists --print-errors "evas >= 1.7.7") 2>&5
12431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12432 test $ac_status = 0; }; then
12433 pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.7.7" 2>/dev/null`
12440 if test -n "$EVAS_LIBS"; then
12441 pkg_cv_EVAS_LIBS="$EVAS_LIBS"
12442 elif test -n "$PKG_CONFIG"; then
12443 if test -n "$PKG_CONFIG" && \
12444 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.7\""; } >&5
12445 ($PKG_CONFIG --exists --print-errors "evas >= 1.7.7") 2>&5
12447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12448 test $ac_status = 0; }; then
12449 pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.7.7" 2>/dev/null`
12459 if test $pkg_failed = yes; then
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12461 $as_echo "no" >&6; }
12463 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12464 _pkg_short_errors_supported=yes
12466 _pkg_short_errors_supported=no
12468 if test $_pkg_short_errors_supported = yes; then
12469 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evas >= 1.7.7" 2>&1`
12471 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "evas >= 1.7.7" 2>&1`
12473 # Put the nasty error message in config.log where it belongs
12474 echo "$EVAS_PKG_ERRORS" >&5
12476 as_fn_error $? "Package requirements (evas >= 1.7.7) were not met:
12480 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12481 installed software in a non-standard prefix.
12483 Alternatively, you may set the environment variables EVAS_CFLAGS
12484 and EVAS_LIBS to avoid the need to call pkg-config.
12485 See the pkg-config man page for more details." "$LINENO" 5
12487 elif test $pkg_failed = untried; then
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12489 $as_echo "no" >&6; }
12490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12492 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12493 is in your PATH or set the PKG_CONFIG environment variable to the full
12494 path to pkg-config.
12496 Alternatively, you may set the environment variables EVAS_CFLAGS
12497 and EVAS_LIBS to avoid the need to call pkg-config.
12498 See the pkg-config man page for more details.
12500 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12501 See \`config.log' for more details" "$LINENO" 5; }
12504 EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
12505 EVAS_LIBS=$pkg_cv_EVAS_LIBS
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12507 $as_echo "yes" >&6; }
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE" >&5
12513 $as_echo_n "checking for ECORE... " >&6; }
12515 if test -n "$ECORE_CFLAGS"; then
12516 pkg_cv_ECORE_CFLAGS="$ECORE_CFLAGS"
12517 elif test -n "$PKG_CONFIG"; then
12518 if test -n "$PKG_CONFIG" && \
12519 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7\""; } >&5
12520 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7") 2>&5
12522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12523 test $ac_status = 0; }; then
12524 pkg_cv_ECORE_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7" 2>/dev/null`
12531 if test -n "$ECORE_LIBS"; then
12532 pkg_cv_ECORE_LIBS="$ECORE_LIBS"
12533 elif test -n "$PKG_CONFIG"; then
12534 if test -n "$PKG_CONFIG" && \
12535 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7\""; } >&5
12536 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7") 2>&5
12538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12539 test $ac_status = 0; }; then
12540 pkg_cv_ECORE_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7" 2>/dev/null`
12550 if test $pkg_failed = yes; then
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12552 $as_echo "no" >&6; }
12554 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12555 _pkg_short_errors_supported=yes
12557 _pkg_short_errors_supported=no
12559 if test $_pkg_short_errors_supported = yes; then
12560 ECORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7" 2>&1`
12562 ECORE_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7" 2>&1`
12564 # Put the nasty error message in config.log where it belongs
12565 echo "$ECORE_PKG_ERRORS" >&5
12567 as_fn_error $? "Package requirements (ecore >= 1.7.7) were not met:
12571 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12572 installed software in a non-standard prefix.
12574 Alternatively, you may set the environment variables ECORE_CFLAGS
12575 and ECORE_LIBS to avoid the need to call pkg-config.
12576 See the pkg-config man page for more details." "$LINENO" 5
12578 elif test $pkg_failed = untried; then
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12580 $as_echo "no" >&6; }
12581 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12583 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12584 is in your PATH or set the PKG_CONFIG environment variable to the full
12585 path to pkg-config.
12587 Alternatively, you may set the environment variables ECORE_CFLAGS
12588 and ECORE_LIBS to avoid the need to call pkg-config.
12589 See the pkg-config man page for more details.
12591 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12592 See \`config.log' for more details" "$LINENO" 5; }
12595 ECORE_CFLAGS=$pkg_cv_ECORE_CFLAGS
12596 ECORE_LIBS=$pkg_cv_ECORE_LIBS
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12598 $as_echo "yes" >&6; }
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_EVAS" >&5
12604 $as_echo_n "checking for ECORE_EVAS... " >&6; }
12606 if test -n "$ECORE_EVAS_CFLAGS"; then
12607 pkg_cv_ECORE_EVAS_CFLAGS="$ECORE_EVAS_CFLAGS"
12608 elif test -n "$PKG_CONFIG"; then
12609 if test -n "$PKG_CONFIG" && \
12610 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.7\""; } >&5
12611 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.7") 2>&5
12613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12614 test $ac_status = 0; }; then
12615 pkg_cv_ECORE_EVAS_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.7.7" 2>/dev/null`
12622 if test -n "$ECORE_EVAS_LIBS"; then
12623 pkg_cv_ECORE_EVAS_LIBS="$ECORE_EVAS_LIBS"
12624 elif test -n "$PKG_CONFIG"; then
12625 if test -n "$PKG_CONFIG" && \
12626 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.7\""; } >&5
12627 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.7") 2>&5
12629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12630 test $ac_status = 0; }; then
12631 pkg_cv_ECORE_EVAS_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.7.7" 2>/dev/null`
12641 if test $pkg_failed = yes; then
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12643 $as_echo "no" >&6; }
12645 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12646 _pkg_short_errors_supported=yes
12648 _pkg_short_errors_supported=no
12650 if test $_pkg_short_errors_supported = yes; then
12651 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas >= 1.7.7" 2>&1`
12653 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas >= 1.7.7" 2>&1`
12655 # Put the nasty error message in config.log where it belongs
12656 echo "$ECORE_EVAS_PKG_ERRORS" >&5
12658 as_fn_error $? "Package requirements (ecore-evas >= 1.7.7) were not met:
12660 $ECORE_EVAS_PKG_ERRORS
12662 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12663 installed software in a non-standard prefix.
12665 Alternatively, you may set the environment variables ECORE_EVAS_CFLAGS
12666 and ECORE_EVAS_LIBS to avoid the need to call pkg-config.
12667 See the pkg-config man page for more details." "$LINENO" 5
12669 elif test $pkg_failed = untried; then
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12671 $as_echo "no" >&6; }
12672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12674 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12675 is in your PATH or set the PKG_CONFIG environment variable to the full
12676 path to pkg-config.
12678 Alternatively, you may set the environment variables ECORE_EVAS_CFLAGS
12679 and ECORE_EVAS_LIBS to avoid the need to call pkg-config.
12680 See the pkg-config man page for more details.
12682 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12683 See \`config.log' for more details" "$LINENO" 5; }
12686 ECORE_EVAS_CFLAGS=$pkg_cv_ECORE_EVAS_CFLAGS
12687 ECORE_EVAS_LIBS=$pkg_cv_ECORE_EVAS_LIBS
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12689 $as_echo "yes" >&6; }
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_FILE" >&5
12695 $as_echo_n "checking for ECORE_FILE... " >&6; }
12697 if test -n "$ECORE_FILE_CFLAGS"; then
12698 pkg_cv_ECORE_FILE_CFLAGS="$ECORE_FILE_CFLAGS"
12699 elif test -n "$PKG_CONFIG"; then
12700 if test -n "$PKG_CONFIG" && \
12701 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.7 \""; } >&5
12702 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.7 ") 2>&5
12704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12705 test $ac_status = 0; }; then
12706 pkg_cv_ECORE_FILE_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.7.7 " 2>/dev/null`
12713 if test -n "$ECORE_FILE_LIBS"; then
12714 pkg_cv_ECORE_FILE_LIBS="$ECORE_FILE_LIBS"
12715 elif test -n "$PKG_CONFIG"; then
12716 if test -n "$PKG_CONFIG" && \
12717 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.7 \""; } >&5
12718 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.7 ") 2>&5
12720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12721 test $ac_status = 0; }; then
12722 pkg_cv_ECORE_FILE_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.7.7 " 2>/dev/null`
12732 if test $pkg_failed = yes; then
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12734 $as_echo "no" >&6; }
12736 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12737 _pkg_short_errors_supported=yes
12739 _pkg_short_errors_supported=no
12741 if test $_pkg_short_errors_supported = yes; then
12742 ECORE_FILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-file >= 1.7.7 " 2>&1`
12744 ECORE_FILE_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-file >= 1.7.7 " 2>&1`
12746 # Put the nasty error message in config.log where it belongs
12747 echo "$ECORE_FILE_PKG_ERRORS" >&5
12749 as_fn_error $? "Package requirements (ecore-file >= 1.7.7 ) were not met:
12751 $ECORE_FILE_PKG_ERRORS
12753 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12754 installed software in a non-standard prefix.
12756 Alternatively, you may set the environment variables ECORE_FILE_CFLAGS
12757 and ECORE_FILE_LIBS to avoid the need to call pkg-config.
12758 See the pkg-config man page for more details." "$LINENO" 5
12760 elif test $pkg_failed = untried; then
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12762 $as_echo "no" >&6; }
12763 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12764 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12765 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12766 is in your PATH or set the PKG_CONFIG environment variable to the full
12767 path to pkg-config.
12769 Alternatively, you may set the environment variables ECORE_FILE_CFLAGS
12770 and ECORE_FILE_LIBS to avoid the need to call pkg-config.
12771 See the pkg-config man page for more details.
12773 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12774 See \`config.log' for more details" "$LINENO" 5; }
12777 ECORE_FILE_CFLAGS=$pkg_cv_ECORE_FILE_CFLAGS
12778 ECORE_FILE_LIBS=$pkg_cv_ECORE_FILE_LIBS
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12780 $as_echo "yes" >&6; }
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
12786 $as_echo_n "checking for EDJE... " >&6; }
12788 if test -n "$EDJE_CFLAGS"; then
12789 pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
12790 elif test -n "$PKG_CONFIG"; then
12791 if test -n "$PKG_CONFIG" && \
12792 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje >= 1.7.7\""; } >&5
12793 ($PKG_CONFIG --exists --print-errors "edje >= 1.7.7") 2>&5
12795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12796 test $ac_status = 0; }; then
12797 pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags "edje >= 1.7.7" 2>/dev/null`
12804 if test -n "$EDJE_LIBS"; then
12805 pkg_cv_EDJE_LIBS="$EDJE_LIBS"
12806 elif test -n "$PKG_CONFIG"; then
12807 if test -n "$PKG_CONFIG" && \
12808 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje >= 1.7.7\""; } >&5
12809 ($PKG_CONFIG --exists --print-errors "edje >= 1.7.7") 2>&5
12811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12812 test $ac_status = 0; }; then
12813 pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "edje >= 1.7.7" 2>/dev/null`
12823 if test $pkg_failed = yes; then
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12825 $as_echo "no" >&6; }
12827 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12828 _pkg_short_errors_supported=yes
12830 _pkg_short_errors_supported=no
12832 if test $_pkg_short_errors_supported = yes; then
12833 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "edje >= 1.7.7" 2>&1`
12835 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors "edje >= 1.7.7" 2>&1`
12837 # Put the nasty error message in config.log where it belongs
12838 echo "$EDJE_PKG_ERRORS" >&5
12840 as_fn_error $? "Package requirements (edje >= 1.7.7) were not met:
12844 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12845 installed software in a non-standard prefix.
12847 Alternatively, you may set the environment variables EDJE_CFLAGS
12848 and EDJE_LIBS to avoid the need to call pkg-config.
12849 See the pkg-config man page for more details." "$LINENO" 5
12851 elif test $pkg_failed = untried; then
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12853 $as_echo "no" >&6; }
12854 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12856 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12857 is in your PATH or set the PKG_CONFIG environment variable to the full
12858 path to pkg-config.
12860 Alternatively, you may set the environment variables EDJE_CFLAGS
12861 and EDJE_LIBS to avoid the need to call pkg-config.
12862 See the pkg-config man page for more details.
12864 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12865 See \`config.log' for more details" "$LINENO" 5; }
12868 EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
12869 EDJE_LIBS=$pkg_cv_EDJE_LIBS
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12871 $as_echo "yes" >&6; }
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
12877 $as_echo_n "checking for EET... " >&6; }
12879 if test -n "$EET_CFLAGS"; then
12880 pkg_cv_EET_CFLAGS="$EET_CFLAGS"
12881 elif test -n "$PKG_CONFIG"; then
12882 if test -n "$PKG_CONFIG" && \
12883 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.7.7\""; } >&5
12884 ($PKG_CONFIG --exists --print-errors "eet >= 1.7.7") 2>&5
12886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12887 test $ac_status = 0; }; then
12888 pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.7.7" 2>/dev/null`
12895 if test -n "$EET_LIBS"; then
12896 pkg_cv_EET_LIBS="$EET_LIBS"
12897 elif test -n "$PKG_CONFIG"; then
12898 if test -n "$PKG_CONFIG" && \
12899 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.7.7\""; } >&5
12900 ($PKG_CONFIG --exists --print-errors "eet >= 1.7.7") 2>&5
12902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12903 test $ac_status = 0; }; then
12904 pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.7.7" 2>/dev/null`
12914 if test $pkg_failed = yes; then
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12916 $as_echo "no" >&6; }
12918 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12919 _pkg_short_errors_supported=yes
12921 _pkg_short_errors_supported=no
12923 if test $_pkg_short_errors_supported = yes; then
12924 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.7.7" 2>&1`
12926 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.7.7" 2>&1`
12928 # Put the nasty error message in config.log where it belongs
12929 echo "$EET_PKG_ERRORS" >&5
12931 as_fn_error $? "Package requirements (eet >= 1.7.7) were not met:
12935 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12936 installed software in a non-standard prefix.
12938 Alternatively, you may set the environment variables EET_CFLAGS
12939 and EET_LIBS to avoid the need to call pkg-config.
12940 See the pkg-config man page for more details." "$LINENO" 5
12942 elif test $pkg_failed = untried; then
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12944 $as_echo "no" >&6; }
12945 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12947 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12948 is in your PATH or set the PKG_CONFIG environment variable to the full
12949 path to pkg-config.
12951 Alternatively, you may set the environment variables EET_CFLAGS
12952 and EET_LIBS to avoid the need to call pkg-config.
12953 See the pkg-config man page for more details.
12955 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12956 See \`config.log' for more details" "$LINENO" 5; }
12959 EET_CFLAGS=$pkg_cv_EET_CFLAGS
12960 EET_LIBS=$pkg_cv_EET_LIBS
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12962 $as_echo "yes" >&6; }
12970 # Check whether --with-edje-cc was given.
12971 if test "${with_edje_cc+set}" = set; then :
12972 withval=$with_edje_cc; _efl_with_binary=${withval}
12974 _efl_with_binary=$(pkg-config --variable=prefix edje)/bin/edje_cc
12978 edje_cc=${_efl_with_binary}
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: edje_cc set to ${_efl_with_binary}" >&5
12980 $as_echo "$as_me: edje_cc set to ${_efl_with_binary}" >&6;}
12982 with_binary_edje_cc=${_efl_with_binary}
12988 requirement_ethumb=" ${requirement_ethumb} eina >= 1.7.7 evas >= 1.7.7 ecore >= 1.7.7 ecore-evas >= 1.7.7 ecore-file >= 1.7.7 edje >= 1.7.7"
12989 requirement_ethumb_client="eina >= 1.7.7 ecore >= 1.7.7 edbus >= 1.7.7 ethumb >= 1.7.7"
12993 HAVE_EMOTION_FALSE='#'
12995 HAVE_EMOTION_TRUE='#'
12996 HAVE_EMOTION_FALSE=
13002 # ----------------------------------------------------------------------
13003 # BEGIN: Check for optional module: emotion (default: true)
13010 # Check whether --enable-emotion was given.
13011 if test "${enable_emotion+set}" = set; then :
13012 enableval=$enable_emotion; EMOTION=${enableval:-false}
13015 if test x$EMOTION = xyes || test x$EMOTION = x1; then
13018 if test x$EMOTION = xno || test x$EMOTION = x0; then
13023 # Check for XTerm and define some colors
13024 if test "x$TERM" = "xxterm"; then
13025 COLOR_PREF="\0033\0133"
13026 COLOR_H="${COLOR_PREF}1m"
13027 COLOR_HGREEN="${COLOR_PREF}1;32m"
13028 COLOR_HRED="${COLOR_PREF}1;31m"
13029 COLOR_GREEN="${COLOR_PREF}32m"
13030 COLOR_RED="${COLOR_PREF}31m"
13031 COLOR_YELLOW="${COLOR_PREF}1;33m"
13032 COLOR_END="${COLOR_PREF}0m"
13044 # Check list for optional module emotion
13045 if test x$EMOTION = xtrue; then
13048 echo "checking optional module emotion:"
13049 # BEGIN: User checks
13052 # ----------------------------------------------------------------------
13053 # BEGIN: Check library with pkg-config: EMOTION (pkg-config=emotion)
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMOTION" >&5
13059 $as_echo_n "checking for EMOTION... " >&6; }
13061 if test -n "$EMOTION_CFLAGS"; then
13062 pkg_cv_EMOTION_CFLAGS="$EMOTION_CFLAGS"
13063 elif test -n "$PKG_CONFIG"; then
13064 if test -n "$PKG_CONFIG" && \
13065 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"emotion\""; } >&5
13066 ($PKG_CONFIG --exists --print-errors "emotion") 2>&5
13068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13069 test $ac_status = 0; }; then
13070 pkg_cv_EMOTION_CFLAGS=`$PKG_CONFIG --cflags "emotion" 2>/dev/null`
13077 if test -n "$EMOTION_LIBS"; then
13078 pkg_cv_EMOTION_LIBS="$EMOTION_LIBS"
13079 elif test -n "$PKG_CONFIG"; then
13080 if test -n "$PKG_CONFIG" && \
13081 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"emotion\""; } >&5
13082 ($PKG_CONFIG --exists --print-errors "emotion") 2>&5
13084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13085 test $ac_status = 0; }; then
13086 pkg_cv_EMOTION_LIBS=`$PKG_CONFIG --libs "emotion" 2>/dev/null`
13096 if test $pkg_failed = yes; then
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13098 $as_echo "no" >&6; }
13100 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13101 _pkg_short_errors_supported=yes
13103 _pkg_short_errors_supported=no
13105 if test $_pkg_short_errors_supported = yes; then
13106 EMOTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "emotion" 2>&1`
13108 EMOTION_PKG_ERRORS=`$PKG_CONFIG --print-errors "emotion" 2>&1`
13110 # Put the nasty error message in config.log where it belongs
13111 echo "$EMOTION_PKG_ERRORS" >&5
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13116 $as_echo "no" >&6; }; EMOTION=false
13118 elif test $pkg_failed = untried; then
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13120 $as_echo "no" >&6; }
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13124 $as_echo "no" >&6; }; EMOTION=false
13127 EMOTION_CFLAGS=$pkg_cv_EMOTION_CFLAGS
13128 EMOTION_LIBS=$pkg_cv_EMOTION_LIBS
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13130 $as_echo "yes" >&6; }
13133 pkg_name=$(echo "emotion" | cut -d\ -f1)
13134 EMOTION_VERSION=$($PKG_CONFIG --modversion $pkg_name)
13141 if test x$HAVE_EMOTION = xyes; then
13143 HAVE_EMOTION_FALSE='#'
13145 HAVE_EMOTION_TRUE='#'
13146 HAVE_EMOTION_FALSE=
13150 if test x$HAVE_EMOTION = xyes; then
13152 cat >>confdefs.h <<_ACEOF
13153 #define HAVE_EMOTION 1
13159 # END: Check library with pkg-config: EMOTION (pkg-config=emotion)
13160 # ----------------------------------------------------------------------
13164 if test x$EMOTION = xfalse; then
13165 echo -e "optional module emotion ${COLOR_HRED}failed${COLOR_END} checks."
13167 echo -e "optional module emotion passed checks."
13172 if test x$EMOTION = xfalse; then
13173 echo -e "${COLOR_YELLOW}Warning:${COLOR_END} optional module ${COLOR_H}emotion${COLOR_END} disabled by extra checks."
13177 # Check if user checks succeeded
13178 if test x$EMOTION = xtrue; then
13179 OPTIONAL_MODULES="$OPTIONAL_MODULES emotion"
13181 cat >>confdefs.h <<_ACEOF
13182 #define USE_MODULE_EMOTION 1
13186 UNUSED_OPTIONAL_MODULES="$UNUSED_OPTIONAL_MODULES emotion"
13189 if test x$EMOTION = xtrue; then
13190 USE_MODULE_EMOTION_TRUE=
13191 USE_MODULE_EMOTION_FALSE='#'
13193 USE_MODULE_EMOTION_TRUE='#'
13194 USE_MODULE_EMOTION_FALSE=
13198 USE_MODULE_EMOTION=$EMOTION
13202 # END: Check for optional module: emotion (true)
13203 # ----------------------------------------------------------------------
13206 if $USE_MODULE_EMOTION ; then
13207 requirement_ethumb="$requirement_ethumb emotion"
13212 HAVE_EPDF_FALSE='#'
13221 # ----------------------------------------------------------------------
13222 # BEGIN: Check for optional module: epdf (default: true)
13229 # Check whether --enable-epdf was given.
13230 if test "${enable_epdf+set}" = set; then :
13231 enableval=$enable_epdf; EPDF=${enableval:-false}
13234 if test x$EPDF = xyes || test x$EPDF = x1; then
13237 if test x$EPDF = xno || test x$EPDF = x0; then
13242 # Check for XTerm and define some colors
13243 if test "x$TERM" = "xxterm"; then
13244 COLOR_PREF="\0033\0133"
13245 COLOR_H="${COLOR_PREF}1m"
13246 COLOR_HGREEN="${COLOR_PREF}1;32m"
13247 COLOR_HRED="${COLOR_PREF}1;31m"
13248 COLOR_GREEN="${COLOR_PREF}32m"
13249 COLOR_RED="${COLOR_PREF}31m"
13250 COLOR_YELLOW="${COLOR_PREF}1;33m"
13251 COLOR_END="${COLOR_PREF}0m"
13263 # Check list for optional module epdf
13264 if test x$EPDF = xtrue; then
13267 echo "checking optional module epdf:"
13268 # BEGIN: User checks
13271 # ----------------------------------------------------------------------
13272 # BEGIN: Check library with pkg-config: EPDF (pkg-config=epdf)
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPDF" >&5
13278 $as_echo_n "checking for EPDF... " >&6; }
13280 if test -n "$EPDF_CFLAGS"; then
13281 pkg_cv_EPDF_CFLAGS="$EPDF_CFLAGS"
13282 elif test -n "$PKG_CONFIG"; then
13283 if test -n "$PKG_CONFIG" && \
13284 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"epdf\""; } >&5
13285 ($PKG_CONFIG --exists --print-errors "epdf") 2>&5
13287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13288 test $ac_status = 0; }; then
13289 pkg_cv_EPDF_CFLAGS=`$PKG_CONFIG --cflags "epdf" 2>/dev/null`
13296 if test -n "$EPDF_LIBS"; then
13297 pkg_cv_EPDF_LIBS="$EPDF_LIBS"
13298 elif test -n "$PKG_CONFIG"; then
13299 if test -n "$PKG_CONFIG" && \
13300 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"epdf\""; } >&5
13301 ($PKG_CONFIG --exists --print-errors "epdf") 2>&5
13303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13304 test $ac_status = 0; }; then
13305 pkg_cv_EPDF_LIBS=`$PKG_CONFIG --libs "epdf" 2>/dev/null`
13315 if test $pkg_failed = yes; then
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13317 $as_echo "no" >&6; }
13319 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13320 _pkg_short_errors_supported=yes
13322 _pkg_short_errors_supported=no
13324 if test $_pkg_short_errors_supported = yes; then
13325 EPDF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "epdf" 2>&1`
13327 EPDF_PKG_ERRORS=`$PKG_CONFIG --print-errors "epdf" 2>&1`
13329 # Put the nasty error message in config.log where it belongs
13330 echo "$EPDF_PKG_ERRORS" >&5
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13335 $as_echo "no" >&6; }; EPDF=false
13337 elif test $pkg_failed = untried; then
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13339 $as_echo "no" >&6; }
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13343 $as_echo "no" >&6; }; EPDF=false
13346 EPDF_CFLAGS=$pkg_cv_EPDF_CFLAGS
13347 EPDF_LIBS=$pkg_cv_EPDF_LIBS
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13349 $as_echo "yes" >&6; }
13352 pkg_name=$(echo "epdf" | cut -d\ -f1)
13353 EPDF_VERSION=$($PKG_CONFIG --modversion $pkg_name)
13360 if test x$HAVE_EPDF = xyes; then
13362 HAVE_EPDF_FALSE='#'
13369 if test x$HAVE_EPDF = xyes; then
13371 cat >>confdefs.h <<_ACEOF
13372 #define HAVE_EPDF 1
13378 # END: Check library with pkg-config: EPDF (pkg-config=epdf)
13379 # ----------------------------------------------------------------------
13383 if test x$EPDF = xfalse; then
13384 echo -e "optional module epdf ${COLOR_HRED}failed${COLOR_END} checks."
13386 echo -e "optional module epdf passed checks."
13391 if test x$EPDF = xfalse; then
13392 echo -e "${COLOR_YELLOW}Warning:${COLOR_END} optional module ${COLOR_H}epdf${COLOR_END} disabled by extra checks."
13396 # Check if user checks succeeded
13397 if test x$EPDF = xtrue; then
13398 OPTIONAL_MODULES="$OPTIONAL_MODULES epdf"
13400 cat >>confdefs.h <<_ACEOF
13401 #define USE_MODULE_EPDF 1
13405 UNUSED_OPTIONAL_MODULES="$UNUSED_OPTIONAL_MODULES epdf"
13408 if test x$EPDF = xtrue; then
13409 USE_MODULE_EPDF_TRUE=
13410 USE_MODULE_EPDF_FALSE='#'
13412 USE_MODULE_EPDF_TRUE='#'
13413 USE_MODULE_EPDF_FALSE=
13417 USE_MODULE_EPDF=$EPDF
13421 # END: Check for optional module: epdf (true)
13422 # ----------------------------------------------------------------------
13424 if $USE_MODULE_EPDF ; then
13425 requirement_ethumb="$requirement_ethumb epdf"
13430 HAVE_EDBUS_FALSE='#'
13432 HAVE_EDBUS_TRUE='#'
13439 # ----------------------------------------------------------------------
13440 # BEGIN: Check for optional module: ethumbd (default: true)
13447 # Check whether --enable-ethumbd was given.
13448 if test "${enable_ethumbd+set}" = set; then :
13449 enableval=$enable_ethumbd; ETHUMBD=${enableval:-false}
13452 if test x$ETHUMBD = xyes || test x$ETHUMBD = x1; then
13455 if test x$ETHUMBD = xno || test x$ETHUMBD = x0; then
13460 # Check for XTerm and define some colors
13461 if test "x$TERM" = "xxterm"; then
13462 COLOR_PREF="\0033\0133"
13463 COLOR_H="${COLOR_PREF}1m"
13464 COLOR_HGREEN="${COLOR_PREF}1;32m"
13465 COLOR_HRED="${COLOR_PREF}1;31m"
13466 COLOR_GREEN="${COLOR_PREF}32m"
13467 COLOR_RED="${COLOR_PREF}31m"
13468 COLOR_YELLOW="${COLOR_PREF}1;33m"
13469 COLOR_END="${COLOR_PREF}0m"
13481 # Check list for optional module ethumbd
13482 if test x$ETHUMBD = xtrue; then
13485 echo "checking optional module ethumbd:"
13486 # BEGIN: User checks
13489 # ----------------------------------------------------------------------
13490 # BEGIN: Check library with pkg-config: EDBUS (pkg-config=edbus)
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS" >&5
13496 $as_echo_n "checking for EDBUS... " >&6; }
13498 if test -n "$EDBUS_CFLAGS"; then
13499 pkg_cv_EDBUS_CFLAGS="$EDBUS_CFLAGS"
13500 elif test -n "$PKG_CONFIG"; then
13501 if test -n "$PKG_CONFIG" && \
13502 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edbus\""; } >&5
13503 ($PKG_CONFIG --exists --print-errors "edbus") 2>&5
13505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13506 test $ac_status = 0; }; then
13507 pkg_cv_EDBUS_CFLAGS=`$PKG_CONFIG --cflags "edbus" 2>/dev/null`
13514 if test -n "$EDBUS_LIBS"; then
13515 pkg_cv_EDBUS_LIBS="$EDBUS_LIBS"
13516 elif test -n "$PKG_CONFIG"; then
13517 if test -n "$PKG_CONFIG" && \
13518 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edbus\""; } >&5
13519 ($PKG_CONFIG --exists --print-errors "edbus") 2>&5
13521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13522 test $ac_status = 0; }; then
13523 pkg_cv_EDBUS_LIBS=`$PKG_CONFIG --libs "edbus" 2>/dev/null`
13533 if test $pkg_failed = yes; then
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13535 $as_echo "no" >&6; }
13537 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13538 _pkg_short_errors_supported=yes
13540 _pkg_short_errors_supported=no
13542 if test $_pkg_short_errors_supported = yes; then
13543 EDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "edbus" 2>&1`
13545 EDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "edbus" 2>&1`
13547 # Put the nasty error message in config.log where it belongs
13548 echo "$EDBUS_PKG_ERRORS" >&5
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13553 $as_echo "no" >&6; }; ETHUMBD=false
13555 elif test $pkg_failed = untried; then
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13557 $as_echo "no" >&6; }
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13561 $as_echo "no" >&6; }; ETHUMBD=false
13564 EDBUS_CFLAGS=$pkg_cv_EDBUS_CFLAGS
13565 EDBUS_LIBS=$pkg_cv_EDBUS_LIBS
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13567 $as_echo "yes" >&6; }
13570 pkg_name=$(echo "edbus" | cut -d\ -f1)
13571 EDBUS_VERSION=$($PKG_CONFIG --modversion $pkg_name)
13578 if test x$HAVE_EDBUS = xyes; then
13580 HAVE_EDBUS_FALSE='#'
13582 HAVE_EDBUS_TRUE='#'
13587 if test x$HAVE_EDBUS = xyes; then
13589 cat >>confdefs.h <<_ACEOF
13590 #define HAVE_EDBUS 1
13596 # END: Check library with pkg-config: EDBUS (pkg-config=edbus)
13597 # ----------------------------------------------------------------------
13601 if test x$ETHUMBD = xfalse; then
13602 echo -e "optional module ethumbd ${COLOR_HRED}failed${COLOR_END} checks."
13604 echo -e "optional module ethumbd passed checks."
13609 if test x$ETHUMBD = xfalse; then
13610 echo -e "${COLOR_YELLOW}Warning:${COLOR_END} optional module ${COLOR_H}ethumbd${COLOR_END} disabled by extra checks."
13614 # Check if user checks succeeded
13615 if test x$ETHUMBD = xtrue; then
13616 OPTIONAL_MODULES="$OPTIONAL_MODULES ethumbd"
13618 cat >>confdefs.h <<_ACEOF
13619 #define USE_MODULE_ETHUMBD 1
13623 UNUSED_OPTIONAL_MODULES="$UNUSED_OPTIONAL_MODULES ethumbd"
13626 if test x$ETHUMBD = xtrue; then
13627 USE_MODULE_ETHUMBD_TRUE=
13628 USE_MODULE_ETHUMBD_FALSE='#'
13630 USE_MODULE_ETHUMBD_TRUE='#'
13631 USE_MODULE_ETHUMBD_FALSE=
13635 USE_MODULE_ETHUMBD=$ETHUMBD
13639 # END: Check for optional module: ethumbd (true)
13640 # ----------------------------------------------------------------------
13642 if $USE_MODULE_ETHUMBD ; then
13643 dbusservicedir=${datadir}/dbus-1/services
13645 # Check whether --with-dbus-services was given.
13646 if test "${with_dbus_services+set}" = set; then :
13647 withval=$with_dbus_services;
13648 dbusservicedir=$withval
13658 HAVE_LIBEXIF_FALSE='#'
13660 HAVE_LIBEXIF_TRUE='#'
13661 HAVE_LIBEXIF_FALSE=
13667 # ----------------------------------------------------------------------
13668 # BEGIN: Check for optional module: libexif (default: true)
13675 # Check whether --enable-libexif was given.
13676 if test "${enable_libexif+set}" = set; then :
13677 enableval=$enable_libexif; LIBEXIF=${enableval:-false}
13680 if test x$LIBEXIF = xyes || test x$LIBEXIF = x1; then
13683 if test x$LIBEXIF = xno || test x$LIBEXIF = x0; then
13688 # Check for XTerm and define some colors
13689 if test "x$TERM" = "xxterm"; then
13690 COLOR_PREF="\0033\0133"
13691 COLOR_H="${COLOR_PREF}1m"
13692 COLOR_HGREEN="${COLOR_PREF}1;32m"
13693 COLOR_HRED="${COLOR_PREF}1;31m"
13694 COLOR_GREEN="${COLOR_PREF}32m"
13695 COLOR_RED="${COLOR_PREF}31m"
13696 COLOR_YELLOW="${COLOR_PREF}1;33m"
13697 COLOR_END="${COLOR_PREF}0m"
13709 # Check list for optional module libexif
13710 if test x$LIBEXIF = xtrue; then
13713 echo "checking optional module libexif:"
13714 # BEGIN: User checks
13717 # ----------------------------------------------------------------------
13718 # BEGIN: Check library with pkg-config: LIBEXIF (pkg-config=libexif)
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEXIF" >&5
13724 $as_echo_n "checking for LIBEXIF... " >&6; }
13726 if test -n "$LIBEXIF_CFLAGS"; then
13727 pkg_cv_LIBEXIF_CFLAGS="$LIBEXIF_CFLAGS"
13728 elif test -n "$PKG_CONFIG"; then
13729 if test -n "$PKG_CONFIG" && \
13730 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libexif\""; } >&5
13731 ($PKG_CONFIG --exists --print-errors "libexif") 2>&5
13733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13734 test $ac_status = 0; }; then
13735 pkg_cv_LIBEXIF_CFLAGS=`$PKG_CONFIG --cflags "libexif" 2>/dev/null`
13742 if test -n "$LIBEXIF_LIBS"; then
13743 pkg_cv_LIBEXIF_LIBS="$LIBEXIF_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 \"libexif\""; } >&5
13747 ($PKG_CONFIG --exists --print-errors "libexif") 2>&5
13749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13750 test $ac_status = 0; }; then
13751 pkg_cv_LIBEXIF_LIBS=`$PKG_CONFIG --libs "libexif" 2>/dev/null`
13761 if test $pkg_failed = yes; then
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13763 $as_echo "no" >&6; }
13765 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13766 _pkg_short_errors_supported=yes
13768 _pkg_short_errors_supported=no
13770 if test $_pkg_short_errors_supported = yes; then
13771 LIBEXIF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libexif" 2>&1`
13773 LIBEXIF_PKG_ERRORS=`$PKG_CONFIG --print-errors "libexif" 2>&1`
13775 # Put the nasty error message in config.log where it belongs
13776 echo "$LIBEXIF_PKG_ERRORS" >&5
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13781 $as_echo "no" >&6; }; LIBEXIF=false
13783 elif test $pkg_failed = untried; then
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13785 $as_echo "no" >&6; }
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13789 $as_echo "no" >&6; }; LIBEXIF=false
13792 LIBEXIF_CFLAGS=$pkg_cv_LIBEXIF_CFLAGS
13793 LIBEXIF_LIBS=$pkg_cv_LIBEXIF_LIBS
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13795 $as_echo "yes" >&6; }
13798 pkg_name=$(echo "libexif" | cut -d\ -f1)
13799 LIBEXIF_VERSION=$($PKG_CONFIG --modversion $pkg_name)
13806 if test x$HAVE_LIBEXIF = xyes; then
13808 HAVE_LIBEXIF_FALSE='#'
13810 HAVE_LIBEXIF_TRUE='#'
13811 HAVE_LIBEXIF_FALSE=
13815 if test x$HAVE_LIBEXIF = xyes; then
13817 cat >>confdefs.h <<_ACEOF
13818 #define HAVE_LIBEXIF 1
13824 # END: Check library with pkg-config: LIBEXIF (pkg-config=libexif)
13825 # ----------------------------------------------------------------------
13829 if test x$LIBEXIF = xfalse; then
13830 echo -e "optional module libexif ${COLOR_HRED}failed${COLOR_END} checks."
13832 echo -e "optional module libexif passed checks."
13837 if test x$LIBEXIF = xfalse; then
13838 echo -e "${COLOR_YELLOW}Warning:${COLOR_END} optional module ${COLOR_H}libexif${COLOR_END} disabled by extra checks."
13842 # Check if user checks succeeded
13843 if test x$LIBEXIF = xtrue; then
13844 OPTIONAL_MODULES="$OPTIONAL_MODULES libexif"
13846 cat >>confdefs.h <<_ACEOF
13847 #define USE_MODULE_LIBEXIF 1
13851 UNUSED_OPTIONAL_MODULES="$UNUSED_OPTIONAL_MODULES libexif"
13854 if test x$LIBEXIF = xtrue; then
13855 USE_MODULE_LIBEXIF_TRUE=
13856 USE_MODULE_LIBEXIF_FALSE='#'
13858 USE_MODULE_LIBEXIF_TRUE='#'
13859 USE_MODULE_LIBEXIF_FALSE=
13863 USE_MODULE_LIBEXIF=$LIBEXIF
13867 # END: Check for optional module: libexif (true)
13868 # ----------------------------------------------------------------------
13870 if $USE_MODULE_LIBEXIF ; then
13871 requirement_ethumb="$requirement_ethumb libexif"
13874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13877 #include <stdlib.h>
13878 #include <sys/types.h>
13879 #include <sys/xattr.h>
13885 size_t tmp = listxattr("/", NULL, 0);
13886 tmp = getxattr("/", "user.ethumb.md5", NULL, 0);
13887 setxattr("/", "user.ethumb.md5", NULL, 0, 0);
13893 if ac_fn_c_try_compile "$LINENO"; then :
13896 $as_echo "#define HAVE_XATTR 1" >>confdefs.h
13903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xattr" >&5
13906 $as_echo_n "checking for Xattr... " >&6; }
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_xattr}" >&5
13908 $as_echo "${have_xattr}" >&6; }
13914 ac_config_files="$ac_config_files ethumb.pc ethumb.spec ethumb_client.pc org.enlightenment.Ethumb.service Makefile src/Makefile src/bin/Makefile src/lib/Makefile src/lib/client/Makefile src/plugins/Makefile src/plugins/emotion/Makefile src/plugins/epdf/Makefile src/tests/Makefile data/Makefile data/frames/Makefile m4/Makefile doc/Makefile doc/Doxyfile"
13917 cat >confcache <<\_ACEOF
13918 # This file is a shell script that caches the results of configure
13919 # tests run on this system so they can be shared between configure
13920 # scripts and configure runs, see configure's option --config-cache.
13921 # It is not useful on other systems. If it contains results you don't
13922 # want to keep, you may remove or edit it.
13924 # config.status only pays attention to the cache file if you give it
13925 # the --recheck option to rerun configure.
13927 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13928 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13929 # following values.
13933 # The following way of writing the cache mishandles newlines in values,
13934 # but we know of no workaround that is simple, portable, and efficient.
13935 # So, we kill variables containing newlines.
13936 # Ultrix sh set writes to stderr and can't be redirected directly,
13937 # and sets the high bit in the cache file unless we assign to the vars.
13939 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13940 eval ac_val=\$$ac_var
13944 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13945 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13948 _ | IFS | as_nl) ;; #(
13949 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13950 *) { eval $ac_var=; unset $ac_var;} ;;
13956 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13957 *${as_nl}ac_space=\ *)
13958 # `set' does not quote correctly, so add quotes: double-quote
13959 # substitution turns \\\\ into \\, and sed turns \\ into \.
13962 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13965 # `set' quotes correctly as required by POSIX, so do not add quotes.
13966 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13975 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13977 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13979 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13980 if test -w "$cache_file"; then
13981 if test "x$cache_file" != "x/dev/null"; then
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13983 $as_echo "$as_me: updating cache $cache_file" >&6;}
13984 if test ! -f "$cache_file" || test -h "$cache_file"; then
13985 cat confcache >"$cache_file"
13987 case $cache_file in #(
13989 mv -f confcache "$cache_file"$$ &&
13990 mv -f "$cache_file"$$ "$cache_file" ;; #(
13992 mv -f confcache "$cache_file" ;;
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13998 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14003 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14004 # Let make expand exec_prefix.
14005 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14007 DEFS=-DHAVE_CONFIG_H
14012 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14013 # 1. Remove the extension, and $U if already installed.
14014 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14015 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14016 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14017 # will be set to the directory where LIBOBJS objects are built.
14018 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14019 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14021 LIBOBJS=$ac_libobjs
14023 LTLIBOBJS=$ac_ltlibobjs
14026 if test -n "$EXEEXT"; then
14028 am__EXEEXT_FALSE='#'
14030 am__EXEEXT_TRUE='#'
14034 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14035 as_fn_error $? "conditional \"AMDEP\" was never defined.
14036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14038 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14039 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14042 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
14043 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
14044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14046 if test -z "${HAVE_EMOTION_TRUE}" && test -z "${HAVE_EMOTION_FALSE}"; then
14047 as_fn_error $? "conditional \"HAVE_EMOTION\" was never defined.
14048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14050 if test -z "${HAVE_EMOTION_TRUE}" && test -z "${HAVE_EMOTION_FALSE}"; then
14051 as_fn_error $? "conditional \"HAVE_EMOTION\" was never defined.
14052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14054 if test -z "${USE_MODULE_EMOTION_TRUE}" && test -z "${USE_MODULE_EMOTION_FALSE}"; then
14055 as_fn_error $? "conditional \"USE_MODULE_EMOTION\" was never defined.
14056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14058 if test -z "${HAVE_EPDF_TRUE}" && test -z "${HAVE_EPDF_FALSE}"; then
14059 as_fn_error $? "conditional \"HAVE_EPDF\" was never defined.
14060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14062 if test -z "${HAVE_EPDF_TRUE}" && test -z "${HAVE_EPDF_FALSE}"; then
14063 as_fn_error $? "conditional \"HAVE_EPDF\" was never defined.
14064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14066 if test -z "${USE_MODULE_EPDF_TRUE}" && test -z "${USE_MODULE_EPDF_FALSE}"; then
14067 as_fn_error $? "conditional \"USE_MODULE_EPDF\" was never defined.
14068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14070 if test -z "${HAVE_EDBUS_TRUE}" && test -z "${HAVE_EDBUS_FALSE}"; then
14071 as_fn_error $? "conditional \"HAVE_EDBUS\" was never defined.
14072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14074 if test -z "${HAVE_EDBUS_TRUE}" && test -z "${HAVE_EDBUS_FALSE}"; then
14075 as_fn_error $? "conditional \"HAVE_EDBUS\" was never defined.
14076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14078 if test -z "${USE_MODULE_ETHUMBD_TRUE}" && test -z "${USE_MODULE_ETHUMBD_FALSE}"; then
14079 as_fn_error $? "conditional \"USE_MODULE_ETHUMBD\" was never defined.
14080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14082 if test -z "${HAVE_LIBEXIF_TRUE}" && test -z "${HAVE_LIBEXIF_FALSE}"; then
14083 as_fn_error $? "conditional \"HAVE_LIBEXIF\" was never defined.
14084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14086 if test -z "${HAVE_LIBEXIF_TRUE}" && test -z "${HAVE_LIBEXIF_FALSE}"; then
14087 as_fn_error $? "conditional \"HAVE_LIBEXIF\" was never defined.
14088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14090 if test -z "${USE_MODULE_LIBEXIF_TRUE}" && test -z "${USE_MODULE_LIBEXIF_FALSE}"; then
14091 as_fn_error $? "conditional \"USE_MODULE_LIBEXIF\" was never defined.
14092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14095 : "${CONFIG_STATUS=./config.status}"
14097 ac_clean_files_save=$ac_clean_files
14098 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14100 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14102 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14104 # Generated by $as_me.
14105 # Run this file to recreate the current configuration.
14106 # Compiler output produced by configure, useful for debugging
14107 # configure, is in config.log if it exists.
14110 ac_cs_recheck=false
14113 SHELL=\${CONFIG_SHELL-$SHELL}
14116 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14117 ## -------------------- ##
14118 ## M4sh Initialization. ##
14119 ## -------------------- ##
14121 # Be more Bourne compatible
14122 DUALCASE=1; export DUALCASE # for MKS sh
14123 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14126 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14127 # is contrary to our usage. Disable this feature.
14128 alias -g '${1+"$@"}'='"$@"'
14129 setopt NO_GLOB_SUBST
14131 case `(set -o) 2>/dev/null` in #(
14143 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14144 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14145 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14146 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14147 # Prefer a ksh shell builtin over an external printf program on Solaris,
14148 # but without wasting forks for bash or zsh.
14149 if test -z "$BASH_VERSION$ZSH_VERSION" \
14150 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14151 as_echo='print -r --'
14152 as_echo_n='print -rn --'
14153 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14154 as_echo='printf %s\n'
14155 as_echo_n='printf %s'
14157 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14158 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14159 as_echo_n='/usr/ucb/echo -n'
14161 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14162 as_echo_n_body='eval
14166 expr "X$arg" : "X\\(.*\\)$as_nl";
14167 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14169 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14171 export as_echo_n_body
14172 as_echo_n='sh -c $as_echo_n_body as_echo'
14174 export as_echo_body
14175 as_echo='sh -c $as_echo_body as_echo'
14178 # The user is always right.
14179 if test "${PATH_SEPARATOR+set}" != set; then
14181 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14182 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14189 # We need space, tab and new line, in precisely that order. Quoting is
14190 # there to prevent editors from complaining about space-tab.
14191 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14192 # splitting by setting IFS to empty value.)
14195 # Find who we are. Look in the path if we contain no directory separator.
14198 *[\\/]* ) as_myself=$0 ;;
14199 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14200 for as_dir in $PATH
14203 test -z "$as_dir" && as_dir=.
14204 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14210 # We did not find ourselves, most probably we were run as `sh COMMAND'
14211 # in which case we are not to be found in the path.
14212 if test "x$as_myself" = x; then
14215 if test ! -f "$as_myself"; then
14216 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14220 # Unset variables that we do not need and which cause bugs (e.g. in
14221 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14222 # suppresses any "Segmentation fault" message there. '((' could
14223 # trigger a bug in pdksh 5.2.14.
14224 for as_var in BASH_ENV ENV MAIL MAILPATH
14225 do eval test x\${$as_var+set} = xset \
14226 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14239 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14242 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14243 # ----------------------------------------
14244 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14245 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14246 # script with STATUS, using 1 if that was 0.
14249 as_status=$1; test $as_status -eq 0 && as_status=1
14251 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14252 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14254 $as_echo "$as_me: error: $2" >&2
14255 as_fn_exit $as_status
14259 # as_fn_set_status STATUS
14260 # -----------------------
14261 # Set $? to STATUS, without forking.
14262 as_fn_set_status ()
14265 } # as_fn_set_status
14267 # as_fn_exit STATUS
14268 # -----------------
14269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14273 as_fn_set_status $1
14279 # Portably unset VAR.
14282 { eval $1=; unset $1;}
14284 as_unset=as_fn_unset
14285 # as_fn_append VAR VALUE
14286 # ----------------------
14287 # Append the text in VALUE to the end of the definition contained in VAR. Take
14288 # advantage of any shell optimizations that allow amortized linear growth over
14289 # repeated appends, instead of the typical quadratic growth present in naive
14291 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14292 eval 'as_fn_append ()
14303 # as_fn_arith ARG...
14304 # ------------------
14305 # Perform arithmetic evaluation on the ARGs, and store the result in the
14306 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14307 # must be portable across $(()) and expr.
14308 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14309 eval 'as_fn_arith ()
14316 as_val=`expr "$@" || test $? -eq 1`
14321 if expr a : '\(a\)' >/dev/null 2>&1 &&
14322 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14328 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14329 as_basename=basename
14334 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14340 as_me=`$as_basename -- "$0" ||
14341 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14342 X"$0" : 'X\(//\)$' \| \
14343 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14345 sed '/^.*\/\([^/][^/]*\)\/*$/{
14359 # Avoid depending upon Character Ranges.
14360 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14361 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14362 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14363 as_cr_digits='0123456789'
14364 as_cr_alnum=$as_cr_Letters$as_cr_digits
14366 ECHO_C= ECHO_N= ECHO_T=
14367 case `echo -n x` in #(((((
14369 case `echo 'xy\c'` in
14370 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14372 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14379 rm -f conf$$ conf$$.exe conf$$.file
14380 if test -d conf$$.dir; then
14381 rm -f conf$$.dir/conf$$.file
14384 mkdir conf$$.dir 2>/dev/null
14386 if (echo >conf$$.file) 2>/dev/null; then
14387 if ln -s conf$$.file conf$$ 2>/dev/null; then
14389 # ... but there are two gotchas:
14390 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14391 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14392 # In both cases, we have to default to `cp -p'.
14393 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14395 elif ln conf$$.file conf$$ 2>/dev/null; then
14403 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14404 rmdir conf$$.dir 2>/dev/null
14409 # Create "$as_dir" as a directory, including parents if necessary.
14414 -*) as_dir=./$as_dir;;
14416 test -d "$as_dir" || eval $as_mkdir_p || {
14420 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14421 *) as_qdir=$as_dir;;
14423 as_dirs="'$as_qdir' $as_dirs"
14424 as_dir=`$as_dirname -- "$as_dir" ||
14425 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14426 X"$as_dir" : 'X\(//\)[^/]' \| \
14427 X"$as_dir" : 'X\(//\)$' \| \
14428 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14429 $as_echo X"$as_dir" |
14430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14434 /^X\(\/\/\)[^/].*/{
14447 test -d "$as_dir" && break
14449 test -z "$as_dirs" || eval "mkdir $as_dirs"
14450 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14454 if mkdir -p . 2>/dev/null; then
14455 as_mkdir_p='mkdir -p "$as_dir"'
14457 test -d ./-p && rmdir ./-p
14461 if test -x / >/dev/null 2>&1; then
14462 as_test_x='test -x'
14464 if ls -dL / >/dev/null 2>&1; then
14471 if test -d "$1"; then
14477 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14478 ???[sx]*):;;*)false;;esac;fi
14482 as_executable_p=$as_test_x
14484 # Sed expression to map a string onto a valid CPP name.
14485 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14487 # Sed expression to map a string onto a valid variable name.
14488 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14492 ## ----------------------------------- ##
14493 ## Main body of $CONFIG_STATUS script. ##
14494 ## ----------------------------------- ##
14496 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14499 # Save the log message, to keep $0 and so on meaningful, and to
14500 # report actual input values of CONFIG_FILES etc. instead of their
14501 # values after options handling.
14503 This file was extended by ethumb $as_me 1.7.7, which was
14504 generated by GNU Autoconf 2.68. Invocation command line was
14506 CONFIG_FILES = $CONFIG_FILES
14507 CONFIG_HEADERS = $CONFIG_HEADERS
14508 CONFIG_LINKS = $CONFIG_LINKS
14509 CONFIG_COMMANDS = $CONFIG_COMMANDS
14512 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14517 case $ac_config_files in *"
14518 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14521 case $ac_config_headers in *"
14522 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14527 # Files that config.status was made for.
14528 config_files="$ac_config_files"
14529 config_headers="$ac_config_headers"
14530 config_commands="$ac_config_commands"
14534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14536 \`$as_me' instantiates files and other configuration actions
14537 from templates according to the current configuration. Unless the files
14538 and actions are specified as TAGs, all are instantiated by default.
14540 Usage: $0 [OPTION]... [TAG]...
14542 -h, --help print this help, then exit
14543 -V, --version print version number and configuration settings, then exit
14544 --config print configuration, then exit
14545 -q, --quiet, --silent
14546 do not print progress messages
14547 -d, --debug don't remove temporary files
14548 --recheck update $as_me by reconfiguring in the same conditions
14549 --file=FILE[:TEMPLATE]
14550 instantiate the configuration file FILE
14551 --header=FILE[:TEMPLATE]
14552 instantiate the configuration header FILE
14554 Configuration files:
14557 Configuration headers:
14560 Configuration commands:
14563 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
14566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14567 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14569 ethumb config.status 1.7.7
14570 configured by $0, generated by GNU Autoconf 2.68,
14571 with options \\"\$ac_cs_config\\"
14573 Copyright (C) 2010 Free Software Foundation, Inc.
14574 This config.status script is free software; the Free Software Foundation
14575 gives unlimited permission to copy, distribute and modify it."
14582 test -n "\$AWK" || AWK=awk
14585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14586 # The default lists apply if the user does not specify any file.
14592 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14593 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14597 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14609 # Handling of the options.
14610 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14612 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14613 $as_echo "$ac_cs_version"; exit ;;
14614 --config | --confi | --conf | --con | --co | --c )
14615 $as_echo "$ac_cs_config"; exit ;;
14616 --debug | --debu | --deb | --de | --d | -d )
14618 --file | --fil | --fi | --f )
14621 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14622 '') as_fn_error $? "missing file argument" ;;
14624 as_fn_append CONFIG_FILES " '$ac_optarg'"
14625 ac_need_defaults=false;;
14626 --header | --heade | --head | --hea )
14629 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14631 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14632 ac_need_defaults=false;;
14634 # Conflict between --help and --header
14635 as_fn_error $? "ambiguous option: \`$1'
14636 Try \`$0 --help' for more information.";;
14637 --help | --hel | -h )
14638 $as_echo "$ac_cs_usage"; exit ;;
14639 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14640 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14643 # This is an error.
14644 -*) as_fn_error $? "unrecognized option: \`$1'
14645 Try \`$0 --help' for more information." ;;
14647 *) as_fn_append ac_config_targets " $1"
14648 ac_need_defaults=false ;;
14654 ac_configure_extra_args=
14656 if $ac_cs_silent; then
14658 ac_configure_extra_args="$ac_configure_extra_args --silent"
14662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14663 if \$ac_cs_recheck; then
14664 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14666 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14667 CONFIG_SHELL='$SHELL'
14668 export CONFIG_SHELL
14673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14677 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14678 ## Running $as_me. ##
14684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14688 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14691 # The HP-UX ksh and POSIX shell print the target directory to stdout
14692 # if CDPATH is set.
14693 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14695 sed_quote_subst='$sed_quote_subst'
14696 double_quote_subst='$double_quote_subst'
14697 delay_variable_subst='$delay_variable_subst'
14698 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
14699 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14700 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14701 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14702 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14703 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14704 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14705 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14706 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14707 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14708 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14709 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14710 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14711 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14712 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14713 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14714 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14715 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14716 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14717 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14718 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14719 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14720 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14721 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14722 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14723 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14724 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14725 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14726 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14727 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14728 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14729 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14730 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14731 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14732 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14733 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14734 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14735 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14736 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14737 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14738 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14739 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14740 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14741 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14742 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14743 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14744 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14745 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14746 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14747 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14748 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14749 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14750 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14751 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14752 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14753 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14754 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14755 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
14756 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14757 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14758 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14759 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14760 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14761 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14762 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14763 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14764 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14765 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14766 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14767 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14768 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14769 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14770 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14771 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14772 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14773 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14774 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14775 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14776 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14777 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14778 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14779 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14780 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14781 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14782 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14783 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14784 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14785 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14786 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14787 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14788 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14789 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14790 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14791 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14792 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14793 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14794 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14795 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14796 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14797 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14798 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14799 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14800 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14801 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14802 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14803 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14804 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14805 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14806 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14807 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14808 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14809 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14810 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14811 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14812 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14813 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14814 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14815 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14816 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14817 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14818 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14819 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14820 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14821 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14822 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14823 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14824 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14825 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14826 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14827 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14828 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14831 LTCFLAGS='$LTCFLAGS'
14832 compiler='$compiler_DEFAULT'
14834 # A function that is used when there is no print builtin or printf.
14835 func_fallback_echo ()
14837 eval 'cat <<_LTECHO_EOF
14842 # Quote evaled strings.
14859 deplibs_check_method \
14863 sharedlib_from_linklib_cmd \
14866 archiver_list_spec \
14872 lt_cv_sys_global_symbol_pipe \
14873 lt_cv_sys_global_symbol_to_cdecl \
14874 lt_cv_sys_global_symbol_to_c_name_address \
14875 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14876 nm_file_list_spec \
14877 lt_prog_compiler_no_builtin_flag \
14878 lt_prog_compiler_pic \
14879 lt_prog_compiler_wl \
14880 lt_prog_compiler_static \
14881 lt_cv_prog_compiler_c_o \
14890 export_dynamic_flag_spec \
14891 whole_archive_flag_spec \
14892 compiler_needs_object \
14894 allow_undefined_flag \
14895 no_undefined_flag \
14896 hardcode_libdir_flag_spec \
14897 hardcode_libdir_separator \
14901 variables_saved_for_relink \
14903 library_names_spec \
14905 install_override_mode \
14909 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14910 *[\\\\\\\`\\"\\\$]*)
14911 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14914 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14919 # Double-quote double-evaled strings.
14920 for var in reload_cmds \
14921 old_postinstall_cmds \
14922 old_postuninstall_cmds \
14924 extract_expsyms_cmds \
14925 old_archive_from_new_cmds \
14926 old_archive_from_expsyms_cmds \
14928 archive_expsym_cmds \
14930 module_expsym_cmds \
14931 export_symbols_cmds \
14935 postuninstall_cmds \
14937 sys_lib_search_path_spec \
14938 sys_lib_dlsearch_path_spec; do
14939 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14940 *[\\\\\\\`\\"\\\$]*)
14941 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14944 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14949 ac_aux_dir='$ac_aux_dir'
14950 xsi_shell='$xsi_shell'
14951 lt_shell_append='$lt_shell_append'
14953 # See if we are running on zsh, and set the options which allow our
14954 # commands through without removal of \ escapes INIT.
14955 if test -n "\${ZSH_VERSION+set}" ; then
14956 setopt NO_GLOB_SUBST
14962 TIMESTAMP='$TIMESTAMP'
14971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14973 # Handling of arguments.
14974 for ac_config_target in $ac_config_targets
14976 case $ac_config_target in
14977 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14978 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14979 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14980 "ethumb.pc") CONFIG_FILES="$CONFIG_FILES ethumb.pc" ;;
14981 "ethumb.spec") CONFIG_FILES="$CONFIG_FILES ethumb.spec" ;;
14982 "ethumb_client.pc") CONFIG_FILES="$CONFIG_FILES ethumb_client.pc" ;;
14983 "org.enlightenment.Ethumb.service") CONFIG_FILES="$CONFIG_FILES org.enlightenment.Ethumb.service" ;;
14984 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14985 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14986 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
14987 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
14988 "src/lib/client/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/client/Makefile" ;;
14989 "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
14990 "src/plugins/emotion/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/emotion/Makefile" ;;
14991 "src/plugins/epdf/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/epdf/Makefile" ;;
14992 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
14993 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14994 "data/frames/Makefile") CONFIG_FILES="$CONFIG_FILES data/frames/Makefile" ;;
14995 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
14996 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14997 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
14999 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15004 # If the user did not use the arguments to specify the items to instantiate,
15005 # then the envvar interface is used. Set only those that are not.
15006 # We use the long form for the default assignment because of an extremely
15007 # bizarre bug on SunOS 4.1.3.
15008 if $ac_need_defaults; then
15009 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15010 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15011 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15014 # Have a temporary directory for convenience. Make it in the build tree
15015 # simply because there is no reason against having it here, and in addition,
15016 # creating and moving files from /tmp can sometimes cause problems.
15017 # Hook for its removal unless debugging.
15018 # Note that there is a small window in which the directory will not be cleaned:
15019 # after its creation but before its name has been assigned to `$tmp'.
15023 trap 'exit_status=$?
15024 : "${ac_tmp:=$tmp}"
15025 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15027 trap 'as_fn_exit 1' 1 2 13 15
15029 # Create a (secure) tmp directory for tmp files.
15032 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15036 tmp=./conf$$-$RANDOM
15037 (umask 077 && mkdir "$tmp")
15038 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15041 # Set up the scripts for CONFIG_FILES section.
15042 # No need to generate them if there are no CONFIG_FILES.
15043 # This happens for instance with `./config.status config.h'.
15044 if test -n "$CONFIG_FILES"; then
15047 ac_cr=`echo X | tr X '\015'`
15048 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15049 # But we know of no other shell where ac_cr would be empty at this
15050 # point, so we can use a bashism as a fallback.
15051 if test "x$ac_cr" = x; then
15052 eval ac_cr=\$\'\\r\'
15054 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15055 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15058 ac_cs_awk_cr=$ac_cr
15061 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15066 echo "cat >conf$$subs.awk <<_ACEOF" &&
15067 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15069 } >conf$$subs.sh ||
15070 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15071 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15073 for ac_last_try in false false false false false :; do
15074 . ./conf$$subs.sh ||
15075 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15077 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15078 if test $ac_delim_n = $ac_delim_num; then
15080 elif $ac_last_try; then
15081 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15083 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15086 rm -f conf$$subs.sh
15088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15089 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15093 s/^/S["/; s/!.*/"]=/
15103 s/\(.\{148\}\)..*/\1/
15105 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15110 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15117 s/\(.\{148\}\)..*/\1/
15119 s/["\\]/\\&/g; s/^/"/; s/$/"/
15123 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15128 ' <conf$$subs.awk | sed '
15133 ' >>$CONFIG_STATUS || ac_write_fail=1
15134 rm -f conf$$subs.awk
15135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15137 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15138 for (key in S) S_is_set[key] = 1
15144 nfields = split(line, field, "@")
15146 len = length(field[1])
15147 for (i = 2; i < nfields; i++) {
15149 keylen = length(key)
15150 if (S_is_set[key]) {
15152 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15153 len += length(value) + length(field[++i])
15164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15165 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15166 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15169 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15170 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15173 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15174 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15175 # trailing colons and then remove the whole line if VPATH becomes empty
15176 # (actually we leave an empty line to preserve line numbers).
15177 if test "x$srcdir" = x.; then
15178 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15197 fi # test -n "$CONFIG_FILES"
15199 # Set up the scripts for CONFIG_HEADERS section.
15200 # No need to generate them if there are no CONFIG_HEADERS.
15201 # This happens for instance with `./config.status Makefile'.
15202 if test -n "$CONFIG_HEADERS"; then
15203 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15207 # Transform confdefs.h into an awk script `defines.awk', embedded as
15208 # here-document in config.status, that substitutes the proper values into
15209 # config.h.in to produce config.h.
15211 # Create a delimiter string that does not exist in confdefs.h, to ease
15212 # handling of long lines.
15214 for ac_last_try in false false :; do
15215 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15216 if test -z "$ac_tt"; then
15218 elif $ac_last_try; then
15219 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15221 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15225 # For the awk script, D is an array of macro values keyed by name,
15226 # likewise P contains macro parameters if any. Preserve backslash
15227 # newline sequences.
15229 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15231 s/.\{148\}/&'"$ac_delim"'/g
15234 s/^[ ]*#[ ]*define[ ][ ]*/ /
15241 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15243 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15247 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15248 D["\1"]=" \3\\\\\\n"\\/p
15250 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15255 s/.\{148\}/&'"$ac_delim"'/g
15260 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15263 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15265 ' <confdefs.h | sed '
15266 s/'"$ac_delim"'/"\\\
15267 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15270 for (key in D) D_is_set[key] = 1
15273 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15275 split(line, arg, " ")
15276 if (arg[1] == "#") {
15280 defundef = substr(arg[1], 2)
15283 split(mac1, mac2, "(") #)
15285 prefix = substr(line, 1, index(line, defundef) - 1)
15286 if (D_is_set[macro]) {
15287 # Preserve the white space surrounding the "#".
15288 print prefix "define", macro P[macro] D[macro]
15291 # Replace #undef with comments. This is necessary, for example,
15292 # in the case of _POSIX_SOURCE, which is predefined and required
15293 # on some systems where configure will not decide to define it.
15294 if (defundef == "undef") {
15295 print "/*", prefix defundef, macro, "*/"
15303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15304 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15305 fi # test -n "$CONFIG_HEADERS"
15308 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15313 :[FHLC]) ac_mode=$ac_tag; continue;;
15315 case $ac_mode$ac_tag in
15317 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15318 :[FH]-) ac_tag=-:-;;
15319 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15336 -) ac_f="$ac_tmp/stdin";;
15337 *) # Look for the file first in the build tree, then in the source tree
15338 # (if the path is not absolute). The absolute path cannot be DOS-style,
15339 # because $ac_f cannot contain `:'.
15343 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15345 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15347 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15348 as_fn_append ac_file_inputs " '$ac_f'"
15351 # Let's still pretend it is `configure' which instantiates (i.e., don't
15352 # use $as_me), people would be surprised to read:
15353 # /* config.h. Generated by config.status. */
15354 configure_input='Generated from '`
15355 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15357 if test x"$ac_file" != x-; then
15358 configure_input="$ac_file. $configure_input"
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15360 $as_echo "$as_me: creating $ac_file" >&6;}
15362 # Neutralize special characters interpreted by sed in replacement strings.
15363 case $configure_input in #(
15364 *\&* | *\|* | *\\* )
15365 ac_sed_conf_input=`$as_echo "$configure_input" |
15366 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15367 *) ac_sed_conf_input=$configure_input;;
15371 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15372 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15377 ac_dir=`$as_dirname -- "$ac_file" ||
15378 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15379 X"$ac_file" : 'X\(//\)[^/]' \| \
15380 X"$ac_file" : 'X\(//\)$' \| \
15381 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15382 $as_echo X"$ac_file" |
15383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15387 /^X\(\/\/\)[^/].*/{
15400 as_dir="$ac_dir"; as_fn_mkdir_p
15404 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15406 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15407 # A ".." for each directory in $ac_dir_suffix.
15408 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15409 case $ac_top_builddir_sub in
15410 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15411 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15414 ac_abs_top_builddir=$ac_pwd
15415 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15416 # for backward compatibility:
15417 ac_top_builddir=$ac_top_build_prefix
15420 .) # We are building in place.
15422 ac_top_srcdir=$ac_top_builddir_sub
15423 ac_abs_top_srcdir=$ac_pwd ;;
15424 [\\/]* | ?:[\\/]* ) # Absolute name.
15425 ac_srcdir=$srcdir$ac_dir_suffix;
15426 ac_top_srcdir=$srcdir
15427 ac_abs_top_srcdir=$srcdir ;;
15428 *) # Relative name.
15429 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15430 ac_top_srcdir=$ac_top_build_prefix$srcdir
15431 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15433 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15443 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15444 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15446 ac_MKDIR_P=$MKDIR_P
15448 [\\/$]* | ?:[\\/]* ) ;;
15449 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15454 # If the template does not know about datarootdir, expand it.
15455 # FIXME: This hack should be removed a few years after 2.60.
15456 ac_datarootdir_hack=; ac_datarootdir_seen=
15467 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15468 *datarootdir*) ac_datarootdir_seen=yes;;
15469 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15471 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15474 ac_datarootdir_hack='
15475 s&@datadir@&$datadir&g
15476 s&@docdir@&$docdir&g
15477 s&@infodir@&$infodir&g
15478 s&@localedir@&$localedir&g
15479 s&@mandir@&$mandir&g
15480 s&\\\${datarootdir}&$datarootdir&g' ;;
15484 # Neutralize VPATH when `$srcdir' = `.'.
15485 # Shell code in configure.ac might set extrasub.
15486 # FIXME: do we really want to maintain this feature?
15487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15488 ac_sed_extra="$ac_vpsub
15491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15493 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15494 s|@configure_input@|$ac_sed_conf_input|;t t
15495 s&@top_builddir@&$ac_top_builddir_sub&;t t
15496 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15497 s&@srcdir@&$ac_srcdir&;t t
15498 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15499 s&@top_srcdir@&$ac_top_srcdir&;t t
15500 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15501 s&@builddir@&$ac_builddir&;t t
15502 s&@abs_builddir@&$ac_abs_builddir&;t t
15503 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15504 s&@INSTALL@&$ac_INSTALL&;t t
15505 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15506 $ac_datarootdir_hack
15508 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15509 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15511 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15512 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15513 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15514 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15516 which seems to be undefined. Please make sure it is defined" >&5
15517 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15518 which seems to be undefined. Please make sure it is defined" >&2;}
15520 rm -f "$ac_tmp/stdin"
15522 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15523 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15525 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15531 if test x"$ac_file" != x-; then
15533 $as_echo "/* $configure_input */" \
15534 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15535 } >"$ac_tmp/config.h" \
15536 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15537 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15539 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15542 mv "$ac_tmp/config.h" "$ac_file" \
15543 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15546 $as_echo "/* $configure_input */" \
15547 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15548 || as_fn_error $? "could not create -" "$LINENO" 5
15550 # Compute "$ac_file"'s index in $config_headers.
15553 for _am_header in $config_headers :; do
15554 case $_am_header in
15555 $_am_arg | $_am_arg:* )
15558 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15561 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15562 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15563 X"$_am_arg" : 'X\(//\)[^/]' \| \
15564 X"$_am_arg" : 'X\(//\)$' \| \
15565 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15566 $as_echo X"$_am_arg" |
15567 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15571 /^X\(\/\/\)[^/].*/{
15583 s/.*/./; q'`/stamp-h$_am_stamp_count
15586 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15587 $as_echo "$as_me: executing $ac_file commands" >&6;}
15592 case $ac_file$ac_mode in
15593 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15594 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15595 # are listed without --file. Let's play safe and only enable the eval
15596 # if we detect the quoting.
15597 case $CONFIG_FILES in
15598 *\'*) eval set x "$CONFIG_FILES" ;;
15599 *) set x $CONFIG_FILES ;;
15604 # Strip MF so we end up with the name of the file.
15605 mf=`echo "$mf" | sed -e 's/:.*$//'`
15606 # Check whether this is an Automake generated Makefile or not.
15607 # We used to match only the files named `Makefile.in', but
15608 # some people rename them; so instead we look at the file content.
15609 # Grep'ing the first line is not enough: some people post-process
15610 # each Makefile.in and add a new line on top of each file to say so.
15611 # Grep'ing the whole file is not good either: AIX grep has a line
15612 # limit of 2048, but all sed's we know have understand at least 4000.
15613 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15614 dirpart=`$as_dirname -- "$mf" ||
15615 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15616 X"$mf" : 'X\(//\)[^/]' \| \
15617 X"$mf" : 'X\(//\)$' \| \
15618 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15620 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15624 /^X\(\/\/\)[^/].*/{
15640 # Extract the definition of DEPDIR, am__include, and am__quote
15641 # from the Makefile without running `make'.
15642 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15643 test -z "$DEPDIR" && continue
15644 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15645 test -z "am__include" && continue
15646 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15647 # When using ansi2knr, U may be empty or an underscore; expand it
15648 U=`sed -n 's/^U = //p' < "$mf"`
15649 # Find all dependency output files, they are included files with
15650 # $(DEPDIR) in their names. We invoke sed twice because it is the
15651 # simplest approach to changing $(DEPDIR) to its actual value in the
15653 for file in `sed -n "
15654 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15655 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15656 # Make sure the directory exists.
15657 test -f "$dirpart/$file" && continue
15658 fdir=`$as_dirname -- "$file" ||
15659 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15660 X"$file" : 'X\(//\)[^/]' \| \
15661 X"$file" : 'X\(//\)$' \| \
15662 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15663 $as_echo X"$file" |
15664 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15668 /^X\(\/\/\)[^/].*/{
15681 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15682 # echo "creating $dirpart/$file"
15683 echo '# dummy' > "$dirpart/$file"
15690 # See if we are running on zsh, and set the options which allow our
15691 # commands through without removal of \ escapes.
15692 if test -n "${ZSH_VERSION+set}" ; then
15693 setopt NO_GLOB_SUBST
15696 cfgfile="${ofile}T"
15697 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15700 cat <<_LT_EOF >> "$cfgfile"
15703 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15704 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15705 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15706 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15708 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15709 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15711 # Written by Gordon Matzigkeit, 1996
15713 # This file is part of GNU Libtool.
15715 # GNU Libtool is free software; you can redistribute it and/or
15716 # modify it under the terms of the GNU General Public License as
15717 # published by the Free Software Foundation; either version 2 of
15718 # the License, or (at your option) any later version.
15720 # As a special exception to the GNU General Public License,
15721 # if you distribute this file as part of a program or library that
15722 # is built using GNU Libtool, you may include this file under the
15723 # same distribution terms that you use for the rest of that program.
15725 # GNU Libtool is distributed in the hope that it will be useful,
15726 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15727 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15728 # GNU General Public License for more details.
15730 # You should have received a copy of the GNU General Public License
15731 # along with GNU Libtool; see the file COPYING. If not, a copy
15732 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15733 # obtained by writing to the Free Software Foundation, Inc.,
15734 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15737 # The names of the tagged configurations supported by this script.
15740 # ### BEGIN LIBTOOL CONFIG
15742 # Assembler program.
15745 # DLL creation program.
15746 DLLTOOL=$lt_DLLTOOL
15748 # Object dumper program.
15749 OBJDUMP=$lt_OBJDUMP
15751 # Which release of libtool.m4 was used?
15752 macro_version=$macro_version
15753 macro_revision=$macro_revision
15755 # Whether or not to build shared libraries.
15756 build_libtool_libs=$enable_shared
15758 # Whether or not to build static libraries.
15759 build_old_libs=$enable_static
15761 # What type of objects to build.
15764 # Whether or not to optimize for fast installation.
15765 fast_install=$enable_fast_install
15767 # Shell to use when invoking shell scripts.
15770 # An echo program that protects backslashes.
15773 # The PATH separator for the build system.
15774 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15777 host_alias=$host_alias
15781 # The build system.
15782 build_alias=$build_alias
15786 # A sed program that does not truncate output.
15789 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15790 Xsed="\$SED -e 1s/^X//"
15792 # A grep program that handles long lines.
15798 # A literal string matcher.
15801 # A BSD- or MS-compatible name lister.
15804 # Whether we need soft or hard links.
15807 # What is the maximum length of a command?
15808 max_cmd_len=$max_cmd_len
15810 # Object file suffix (normally "o").
15813 # Executable file suffix (normally "").
15816 # whether the shell understands "unset".
15819 # turn spaces into newlines.
15822 # turn newlines into spaces.
15825 # convert \$build file names to \$host format.
15826 to_host_file_cmd=$lt_cv_to_host_file_cmd
15828 # convert \$build files to toolchain format.
15829 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15831 # Method to check whether dependent libraries are shared objects.
15832 deplibs_check_method=$lt_deplibs_check_method
15834 # Command to use when deplibs_check_method = "file_magic".
15835 file_magic_cmd=$lt_file_magic_cmd
15837 # How to find potential files when deplibs_check_method = "file_magic".
15838 file_magic_glob=$lt_file_magic_glob
15840 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15841 want_nocaseglob=$lt_want_nocaseglob
15843 # Command to associate shared and link libraries.
15844 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15849 # Flags to create an archive.
15850 AR_FLAGS=$lt_AR_FLAGS
15852 # How to feed a file listing to the archiver.
15853 archiver_list_spec=$lt_archiver_list_spec
15855 # A symbol stripping program.
15858 # Commands used to install an old-style archive.
15860 old_postinstall_cmds=$lt_old_postinstall_cmds
15861 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15863 # Whether to use a lock for old archive extraction.
15864 lock_old_archive_extraction=$lock_old_archive_extraction
15869 # LTCC compiler flags.
15870 LTCFLAGS=$lt_CFLAGS
15872 # Take the output of nm and produce a listing of raw symbols and C names.
15873 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15875 # Transform the output of nm in a proper C declaration.
15876 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15878 # Transform the output of nm in a C name address pair.
15879 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15881 # Transform the output of nm in a C name address pair when lib prefix is needed.
15882 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15884 # Specify filename containing input files for \$NM.
15885 nm_file_list_spec=$lt_nm_file_list_spec
15887 # The root where to search for dependent libraries,and in which our libraries should be installed.
15888 lt_sysroot=$lt_sysroot
15890 # The name of the directory that contains temporary libtool files.
15893 # Used to examine libraries when file_magic_cmd begins with "file".
15894 MAGIC_CMD=$MAGIC_CMD
15896 # Must we lock files when doing compilation?
15897 need_locks=$lt_need_locks
15900 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15902 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15903 DSYMUTIL=$lt_DSYMUTIL
15905 # Tool to change global to local symbols on Mac OS X.
15908 # Tool to manipulate fat objects and archives on Mac OS X.
15911 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15914 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15915 OTOOL64=$lt_OTOOL64
15917 # Old archive suffix (normally "a").
15920 # Shared library suffix (normally ".so").
15921 shrext_cmds=$lt_shrext_cmds
15923 # The commands to extract the exported symbol list from a shared archive.
15924 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15926 # Variables whose values should be saved in libtool wrapper scripts and
15927 # restored at link time.
15928 variables_saved_for_relink=$lt_variables_saved_for_relink
15930 # Do we need the "lib" prefix for modules?
15931 need_lib_prefix=$need_lib_prefix
15933 # Do we need a version for libraries?
15934 need_version=$need_version
15936 # Library versioning type.
15937 version_type=$version_type
15939 # Shared library runtime path variable.
15940 runpath_var=$runpath_var
15942 # Shared library path variable.
15943 shlibpath_var=$shlibpath_var
15945 # Is shlibpath searched before the hard-coded library search path?
15946 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15948 # Format of library name prefix.
15949 libname_spec=$lt_libname_spec
15951 # List of archive names. First name is the real one, the rest are links.
15952 # The last name is the one that the linker finds with -lNAME
15953 library_names_spec=$lt_library_names_spec
15955 # The coded name of the library, if different from the real name.
15956 soname_spec=$lt_soname_spec
15958 # Permission mode override for installation of shared libraries.
15959 install_override_mode=$lt_install_override_mode
15961 # Command to use after installation of a shared archive.
15962 postinstall_cmds=$lt_postinstall_cmds
15964 # Command to use after uninstallation of a shared archive.
15965 postuninstall_cmds=$lt_postuninstall_cmds
15967 # Commands used to finish a libtool library installation in a directory.
15968 finish_cmds=$lt_finish_cmds
15970 # As "finish_cmds", except a single script fragment to be evaled but
15972 finish_eval=$lt_finish_eval
15974 # Whether we should hardcode library paths into libraries.
15975 hardcode_into_libs=$hardcode_into_libs
15977 # Compile-time system search path for libraries.
15978 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15980 # Run-time system search path for libraries.
15981 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15983 # Whether dlopen is supported.
15984 dlopen_support=$enable_dlopen
15986 # Whether dlopen of programs is supported.
15987 dlopen_self=$enable_dlopen_self
15989 # Whether dlopen of statically linked programs is supported.
15990 dlopen_self_static=$enable_dlopen_self_static
15992 # Commands to strip libraries.
15993 old_striplib=$lt_old_striplib
15994 striplib=$lt_striplib
15997 # The linker used to build libraries.
16000 # How to create reloadable object files.
16001 reload_flag=$lt_reload_flag
16002 reload_cmds=$lt_reload_cmds
16004 # Commands used to build an old-style archive.
16005 old_archive_cmds=$lt_old_archive_cmds
16007 # A language specific compiler.
16010 # Is the compiler the GNU compiler?
16013 # Compiler flag to turn off builtin functions.
16014 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16016 # Additional compiler flags for building library objects.
16017 pic_flag=$lt_lt_prog_compiler_pic
16019 # How to pass a linker flag through the compiler.
16020 wl=$lt_lt_prog_compiler_wl
16022 # Compiler flag to prevent dynamic linking.
16023 link_static_flag=$lt_lt_prog_compiler_static
16025 # Does compiler simultaneously support -c and -o options?
16026 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16028 # Whether or not to add -lc for building shared libraries.
16029 build_libtool_need_lc=$archive_cmds_need_lc
16031 # Whether or not to disallow shared libs when runtime libs are static.
16032 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16034 # Compiler flag to allow reflexive dlopens.
16035 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16037 # Compiler flag to generate shared objects directly from archives.
16038 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16040 # Whether the compiler copes with passing no objects directly.
16041 compiler_needs_object=$lt_compiler_needs_object
16043 # Create an old-style archive from a shared archive.
16044 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16046 # Create a temporary old-style archive to link instead of a shared archive.
16047 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16049 # Commands used to build a shared archive.
16050 archive_cmds=$lt_archive_cmds
16051 archive_expsym_cmds=$lt_archive_expsym_cmds
16053 # Commands used to build a loadable module if different from building
16054 # a shared archive.
16055 module_cmds=$lt_module_cmds
16056 module_expsym_cmds=$lt_module_expsym_cmds
16058 # Whether we are building with GNU ld or not.
16059 with_gnu_ld=$lt_with_gnu_ld
16061 # Flag that allows shared libraries with undefined symbols to be built.
16062 allow_undefined_flag=$lt_allow_undefined_flag
16064 # Flag that enforces no undefined symbols.
16065 no_undefined_flag=$lt_no_undefined_flag
16067 # Flag to hardcode \$libdir into a binary during linking.
16068 # This must work even if \$libdir does not exist
16069 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16071 # Whether we need a single "-rpath" flag with a separated argument.
16072 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16074 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16075 # DIR into the resulting binary.
16076 hardcode_direct=$hardcode_direct
16078 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16079 # DIR into the resulting binary and the resulting library dependency is
16080 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16081 # library is relocated.
16082 hardcode_direct_absolute=$hardcode_direct_absolute
16084 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16085 # into the resulting binary.
16086 hardcode_minus_L=$hardcode_minus_L
16088 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16089 # into the resulting binary.
16090 hardcode_shlibpath_var=$hardcode_shlibpath_var
16092 # Set to "yes" if building a shared library automatically hardcodes DIR
16093 # into the library and all subsequent libraries and executables linked
16095 hardcode_automatic=$hardcode_automatic
16097 # Set to yes if linker adds runtime paths of dependent libraries
16098 # to runtime path list.
16099 inherit_rpath=$inherit_rpath
16101 # Whether libtool must link a program against all its dependency libraries.
16102 link_all_deplibs=$link_all_deplibs
16104 # Set to "yes" if exported symbols are required.
16105 always_export_symbols=$always_export_symbols
16107 # The commands to list exported symbols.
16108 export_symbols_cmds=$lt_export_symbols_cmds
16110 # Symbols that should not be listed in the preloaded symbols.
16111 exclude_expsyms=$lt_exclude_expsyms
16113 # Symbols that must always be exported.
16114 include_expsyms=$lt_include_expsyms
16116 # Commands necessary for linking programs (against libraries) with templates.
16117 prelink_cmds=$lt_prelink_cmds
16119 # Commands necessary for finishing linking programs.
16120 postlink_cmds=$lt_postlink_cmds
16122 # Specify filename containing input files.
16123 file_list_spec=$lt_file_list_spec
16125 # How to hardcode a shared library path into an executable.
16126 hardcode_action=$hardcode_action
16128 # ### END LIBTOOL CONFIG
16134 cat <<\_LT_EOF >> "$cfgfile"
16135 # AIX sometimes has problems with the GCC collect2 program. For some
16136 # reason, if we set the COLLECT_NAMES environment variable, the problems
16137 # vanish in a puff of smoke.
16138 if test "X${COLLECT_NAMES+set}" != Xset; then
16140 export COLLECT_NAMES
16147 ltmain="$ac_aux_dir/ltmain.sh"
16150 # We use sed instead of cat because bash on DJGPP gets confused if
16151 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16152 # text mode, it properly converts lines to CR/LF. This bash problem
16153 # is reportedly fixed, but why not run on old versions too?
16154 sed '$q' "$ltmain" >> "$cfgfile" \
16155 || (rm -f "$cfgfile"; exit 1)
16157 if test x"$xsi_shell" = xyes; then
16158 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16162 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16163 \ * ) func_dirname_result="${3}" ;;\
16165 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16166 && mv -f "$cfgfile.tmp" "$cfgfile" \
16167 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16168 test 0 -eq $? || _lt_function_replace_fail=:
16171 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16174 \ func_basename_result="${1##*/}"\
16175 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16176 && mv -f "$cfgfile.tmp" "$cfgfile" \
16177 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16178 test 0 -eq $? || _lt_function_replace_fail=:
16181 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16182 func_dirname_and_basename ()\
16185 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16186 \ * ) func_dirname_result="${3}" ;;\
16188 \ func_basename_result="${1##*/}"\
16189 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16190 && mv -f "$cfgfile.tmp" "$cfgfile" \
16191 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16192 test 0 -eq $? || _lt_function_replace_fail=:
16195 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16198 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16199 \ # positional parameters, so assign one to ordinary parameter first.\
16200 \ func_stripname_result=${3}\
16201 \ func_stripname_result=${func_stripname_result#"${1}"}\
16202 \ func_stripname_result=${func_stripname_result%"${2}"}\
16203 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16204 && mv -f "$cfgfile.tmp" "$cfgfile" \
16205 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16206 test 0 -eq $? || _lt_function_replace_fail=:
16209 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16210 func_split_long_opt ()\
16212 \ func_split_long_opt_name=${1%%=*}\
16213 \ func_split_long_opt_arg=${1#*=}\
16214 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16215 && mv -f "$cfgfile.tmp" "$cfgfile" \
16216 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16217 test 0 -eq $? || _lt_function_replace_fail=:
16220 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16221 func_split_short_opt ()\
16223 \ func_split_short_opt_arg=${1#??}\
16224 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16225 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16226 && mv -f "$cfgfile.tmp" "$cfgfile" \
16227 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16228 test 0 -eq $? || _lt_function_replace_fail=:
16231 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16235 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16236 \ *) func_lo2o_result=${1} ;;\
16238 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16239 && mv -f "$cfgfile.tmp" "$cfgfile" \
16240 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16241 test 0 -eq $? || _lt_function_replace_fail=:
16244 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16247 func_xform_result=${1%.*}.lo\
16248 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16249 && mv -f "$cfgfile.tmp" "$cfgfile" \
16250 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16251 test 0 -eq $? || _lt_function_replace_fail=:
16254 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16257 func_arith_result=$(( $* ))\
16258 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16259 && mv -f "$cfgfile.tmp" "$cfgfile" \
16260 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16261 test 0 -eq $? || _lt_function_replace_fail=:
16264 sed -e '/^func_len ()$/,/^} # func_len /c\
16267 func_len_result=${#1}\
16268 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16269 && mv -f "$cfgfile.tmp" "$cfgfile" \
16270 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16271 test 0 -eq $? || _lt_function_replace_fail=:
16275 if test x"$lt_shell_append" = xyes; then
16276 sed -e '/^func_append ()$/,/^} # func_append /c\
16279 eval "${1}+=\\${2}"\
16280 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16281 && mv -f "$cfgfile.tmp" "$cfgfile" \
16282 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16283 test 0 -eq $? || _lt_function_replace_fail=:
16286 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16287 func_append_quoted ()\
16289 \ func_quote_for_eval "${2}"\
16290 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16291 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16292 && mv -f "$cfgfile.tmp" "$cfgfile" \
16293 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16294 test 0 -eq $? || _lt_function_replace_fail=:
16297 # Save a `func_append' function call where possible by direct use of '+='
16298 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16299 && mv -f "$cfgfile.tmp" "$cfgfile" \
16300 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16301 test 0 -eq $? || _lt_function_replace_fail=:
16303 # Save a `func_append' function call even when '+=' is not available
16304 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16305 && mv -f "$cfgfile.tmp" "$cfgfile" \
16306 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16307 test 0 -eq $? || _lt_function_replace_fail=:
16310 if test x"$_lt_function_replace_fail" = x":"; then
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16312 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16316 mv -f "$cfgfile" "$ofile" ||
16317 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16328 ac_clean_files=$ac_clean_files_save
16330 test $ac_write_fail = 0 ||
16331 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16334 # configure is writing to config.log, and then calls config.status.
16335 # config.status does its own redirection, appending to config.log.
16336 # Unfortunately, on DOS this fails, as config.log is still kept open
16337 # by configure, so config.status won't be able to write to it; its
16338 # output is simply discarded. So we exec the FD to /dev/null,
16339 # effectively closing config.log, so it can be properly (re)opened and
16340 # appended to by config.status. When coming back to configure, we
16341 # need to make the FD available again.
16342 if test "$no_create" != yes; then
16344 ac_config_status_args=
16345 test "$silent" = yes &&
16346 ac_config_status_args="$ac_config_status_args --quiet"
16348 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16350 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16351 # would make configure fail if this is the last instruction.
16352 $ac_cs_success || as_fn_exit 1
16354 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16356 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16361 echo "$@" | sed -e 's/^[ \t]*\([^ \t]*\)[ \t]*$/\1/g'
16365 for mod in $OPTIONAL_MODULES; do
16366 MODS="$MODS ${COLOR_HGREEN}+$mod${COLOR_END}"
16368 MODS=$(txt_strip $MODS)
16371 for mod in $UNUSED_OPTIONAL_MODULES; do
16372 UNUSED_MODS="$UNUSED_MODS ${COLOR_HRED}-$mod${COLOR_END}"
16374 UNUSED_MODS=$(txt_strip $UNUSED_MODS)
16379 * project..........: $PACKAGE $VERSION
16380 * prefix...........: $(txt_strip $prefix)
16381 * DBus services dir: $(txt_strip $dbusservicedir)
16382 * CFLAGS...........: $(txt_strip $CFLAGS)
16383 * LDFLAGS..........: $(txt_strip $LDFLAGS)
16385 Configuration Options Summary:
16387 * use xattr........: ${have_xattr}
16388 * maximum log level: ${with_max_log_level}
16389 * documentation....: ${build_doc} (installation: make install-doc)
16393 if test "x$MODS" != "x"; then
16394 echo -e " * enabled modules..: $MODS"
16397 if test "x$UNUSED_MODS" != "x"; then
16398 echo -e " * disabled modules.: $UNUSED_MODS"
16405 Now type 'make' ('gmake' on some systems) to compile $PACKAGE, and
16406 then afterwards as root (or the user who will install this), type
16407 'make install'. Change users with 'su' or 'sudo' appropriately.