2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for efreet 1.7.2.
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='efreet'
572 PACKAGE_TARNAME='efreet'
573 PACKAGE_VERSION='1.7.2'
574 PACKAGE_STRING='efreet 1.7.2'
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>
616 ac_subst_vars='am__EXEEXT_FALSE
621 EFL_ENABLE_COVERAGE_FALSE
622 EFL_ENABLE_COVERAGE_TRUE
626 EFL_ENABLE_TESTS_FALSE
627 EFL_ENABLE_TESTS_TRUE
631 lt_enable_auto_import
637 EFL_EFREET_TRASH_BUILD
638 EFL_EFREET_MIME_BUILD
646 pkgconfig_requires_private
650 DEFAULT_VISIBILITY_FALSE
651 DEFAULT_VISIBILITY_TRUE
662 XGETTEXT_EXTRA_OPTIONS
670 GETTEXT_MACRO_VERSION
735 INSTALL_STRIP_PROGRAM
777 program_transform_name
790 enable_option_checking
796 enable_dependency_tracking
811 ac_precious_vars='build_alias
833 # Initialize some variables set by options.
835 ac_init_version=false
836 ac_unrecognized_opts=
838 # The variables have the same names as the options, with
839 # dashes changed to underlines.
847 program_transform_name=s,x,x,
855 # Installation directory options.
856 # These are left unexpanded so users can "make install exec_prefix=/foo"
857 # and all the variables that are supposed to be based on exec_prefix
858 # by default will actually change.
859 # Use braces instead of parens because sh, perl, etc. also accept them.
860 # (The list follows the same order as the GNU Coding Standards.)
861 bindir='${exec_prefix}/bin'
862 sbindir='${exec_prefix}/sbin'
863 libexecdir='${exec_prefix}/libexec'
864 datarootdir='${prefix}/share'
865 datadir='${datarootdir}'
866 sysconfdir='${prefix}/etc'
867 sharedstatedir='${prefix}/com'
868 localstatedir='${prefix}/var'
869 includedir='${prefix}/include'
870 oldincludedir='/usr/include'
871 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
872 infodir='${datarootdir}/info'
877 libdir='${exec_prefix}/lib'
878 localedir='${datarootdir}/locale'
879 mandir='${datarootdir}/man'
885 # If the previous option needs an argument, assign it.
886 if test -n "$ac_prev"; then
887 eval $ac_prev=\$ac_option
893 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
898 # Accept the important Cygnus configure options, so we can diagnose typos.
900 case $ac_dashdash$ac_option in
904 -bindir | --bindir | --bindi | --bind | --bin | --bi)
906 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
909 -build | --build | --buil | --bui | --bu)
910 ac_prev=build_alias ;;
911 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
912 build_alias=$ac_optarg ;;
914 -cache-file | --cache-file | --cache-fil | --cache-fi \
915 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
916 ac_prev=cache_file ;;
917 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
918 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
919 cache_file=$ac_optarg ;;
922 cache_file=config.cache ;;
924 -datadir | --datadir | --datadi | --datad)
926 -datadir=* | --datadir=* | --datadi=* | --datad=*)
927 datadir=$ac_optarg ;;
929 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
930 | --dataroo | --dataro | --datar)
931 ac_prev=datarootdir ;;
932 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
933 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
934 datarootdir=$ac_optarg ;;
936 -disable-* | --disable-*)
937 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938 # Reject names that are not valid shell variable names.
939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940 as_fn_error $? "invalid feature name: $ac_useropt"
941 ac_useropt_orig=$ac_useropt
942 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943 case $ac_user_opts in
947 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
948 ac_unrecognized_sep=', ';;
950 eval enable_$ac_useropt=no ;;
952 -docdir | --docdir | --docdi | --doc | --do)
954 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
957 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
959 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
962 -enable-* | --enable-*)
963 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
966 as_fn_error $? "invalid feature name: $ac_useropt"
967 ac_useropt_orig=$ac_useropt
968 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969 case $ac_user_opts in
973 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
974 ac_unrecognized_sep=', ';;
976 eval enable_$ac_useropt=\$ac_optarg ;;
978 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
979 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
980 | --exec | --exe | --ex)
981 ac_prev=exec_prefix ;;
982 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
983 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
984 | --exec=* | --exe=* | --ex=*)
985 exec_prefix=$ac_optarg ;;
987 -gas | --gas | --ga | --g)
988 # Obsolete; use --with-gas.
991 -help | --help | --hel | --he | -h)
993 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
994 ac_init_help=recursive ;;
995 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
996 ac_init_help=short ;;
998 -host | --host | --hos | --ho)
999 ac_prev=host_alias ;;
1000 -host=* | --host=* | --hos=* | --ho=*)
1001 host_alias=$ac_optarg ;;
1003 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1005 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1007 htmldir=$ac_optarg ;;
1009 -includedir | --includedir | --includedi | --included | --include \
1010 | --includ | --inclu | --incl | --inc)
1011 ac_prev=includedir ;;
1012 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1013 | --includ=* | --inclu=* | --incl=* | --inc=*)
1014 includedir=$ac_optarg ;;
1016 -infodir | --infodir | --infodi | --infod | --info | --inf)
1018 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1019 infodir=$ac_optarg ;;
1021 -libdir | --libdir | --libdi | --libd)
1023 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1024 libdir=$ac_optarg ;;
1026 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1027 | --libexe | --libex | --libe)
1028 ac_prev=libexecdir ;;
1029 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1030 | --libexe=* | --libex=* | --libe=*)
1031 libexecdir=$ac_optarg ;;
1033 -localedir | --localedir | --localedi | --localed | --locale)
1034 ac_prev=localedir ;;
1035 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1036 localedir=$ac_optarg ;;
1038 -localstatedir | --localstatedir | --localstatedi | --localstated \
1039 | --localstate | --localstat | --localsta | --localst | --locals)
1040 ac_prev=localstatedir ;;
1041 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1042 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1043 localstatedir=$ac_optarg ;;
1045 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1047 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1048 mandir=$ac_optarg ;;
1050 -nfp | --nfp | --nf)
1051 # Obsolete; use --without-fp.
1054 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1055 | --no-cr | --no-c | -n)
1058 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1059 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1062 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1063 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1064 | --oldin | --oldi | --old | --ol | --o)
1065 ac_prev=oldincludedir ;;
1066 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1067 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1068 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1069 oldincludedir=$ac_optarg ;;
1071 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1073 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1074 prefix=$ac_optarg ;;
1076 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1077 | --program-pre | --program-pr | --program-p)
1078 ac_prev=program_prefix ;;
1079 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1080 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1081 program_prefix=$ac_optarg ;;
1083 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1084 | --program-suf | --program-su | --program-s)
1085 ac_prev=program_suffix ;;
1086 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1087 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1088 program_suffix=$ac_optarg ;;
1090 -program-transform-name | --program-transform-name \
1091 | --program-transform-nam | --program-transform-na \
1092 | --program-transform-n | --program-transform- \
1093 | --program-transform | --program-transfor \
1094 | --program-transfo | --program-transf \
1095 | --program-trans | --program-tran \
1096 | --progr-tra | --program-tr | --program-t)
1097 ac_prev=program_transform_name ;;
1098 -program-transform-name=* | --program-transform-name=* \
1099 | --program-transform-nam=* | --program-transform-na=* \
1100 | --program-transform-n=* | --program-transform-=* \
1101 | --program-transform=* | --program-transfor=* \
1102 | --program-transfo=* | --program-transf=* \
1103 | --program-trans=* | --program-tran=* \
1104 | --progr-tra=* | --program-tr=* | --program-t=*)
1105 program_transform_name=$ac_optarg ;;
1107 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1109 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1110 pdfdir=$ac_optarg ;;
1112 -psdir | --psdir | --psdi | --psd | --ps)
1114 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1117 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1118 | -silent | --silent | --silen | --sile | --sil)
1121 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1123 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1125 sbindir=$ac_optarg ;;
1127 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1128 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1129 | --sharedst | --shareds | --shared | --share | --shar \
1131 ac_prev=sharedstatedir ;;
1132 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1133 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1134 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1136 sharedstatedir=$ac_optarg ;;
1138 -site | --site | --sit)
1140 -site=* | --site=* | --sit=*)
1143 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1145 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1146 srcdir=$ac_optarg ;;
1148 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1149 | --syscon | --sysco | --sysc | --sys | --sy)
1150 ac_prev=sysconfdir ;;
1151 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1152 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1153 sysconfdir=$ac_optarg ;;
1155 -target | --target | --targe | --targ | --tar | --ta | --t)
1156 ac_prev=target_alias ;;
1157 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1158 target_alias=$ac_optarg ;;
1160 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1163 -version | --version | --versio | --versi | --vers | -V)
1164 ac_init_version=: ;;
1167 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1168 # Reject names that are not valid shell variable names.
1169 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1170 as_fn_error $? "invalid package name: $ac_useropt"
1171 ac_useropt_orig=$ac_useropt
1172 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173 case $ac_user_opts in
1177 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1178 ac_unrecognized_sep=', ';;
1180 eval with_$ac_useropt=\$ac_optarg ;;
1182 -without-* | --without-*)
1183 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1184 # Reject names that are not valid shell variable names.
1185 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1186 as_fn_error $? "invalid package name: $ac_useropt"
1187 ac_useropt_orig=$ac_useropt
1188 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189 case $ac_user_opts in
1193 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1194 ac_unrecognized_sep=', ';;
1196 eval with_$ac_useropt=no ;;
1199 # Obsolete; use --with-x.
1202 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1203 | --x-incl | --x-inc | --x-in | --x-i)
1204 ac_prev=x_includes ;;
1205 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1206 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1207 x_includes=$ac_optarg ;;
1209 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1210 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1211 ac_prev=x_libraries ;;
1212 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1213 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1214 x_libraries=$ac_optarg ;;
1216 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1217 Try \`$0 --help' for more information"
1221 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1222 # Reject names that are not valid shell variable names.
1223 case $ac_envvar in #(
1224 '' | [0-9]* | *[!_$as_cr_alnum]* )
1225 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1227 eval $ac_envvar=\$ac_optarg
1228 export $ac_envvar ;;
1231 # FIXME: should be removed in autoconf 3.0.
1232 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1233 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1234 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1235 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1241 if test -n "$ac_prev"; then
1242 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1243 as_fn_error $? "missing argument to $ac_option"
1246 if test -n "$ac_unrecognized_opts"; then
1247 case $enable_option_checking in
1249 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1250 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1254 # Check all directory arguments for consistency.
1255 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1256 datadir sysconfdir sharedstatedir localstatedir includedir \
1257 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1258 libdir localedir mandir
1260 eval ac_val=\$$ac_var
1261 # Remove trailing slashes.
1264 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1265 eval $ac_var=\$ac_val;;
1267 # Be sure to have absolute directory names.
1269 [\\/$]* | ?:[\\/]* ) continue;;
1270 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1272 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1275 # There might be people who depend on the old broken behavior: `$host'
1276 # used to hold the argument of --host etc.
1277 # FIXME: To remove some day.
1280 target=$target_alias
1282 # FIXME: To remove some day.
1283 if test "x$host_alias" != x; then
1284 if test "x$build_alias" = x; then
1285 cross_compiling=maybe
1286 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1287 If a cross compiler is detected then cross compile mode will be used" >&2
1288 elif test "x$build_alias" != "x$host_alias"; then
1294 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1296 test "$silent" = yes && exec 6>/dev/null
1299 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1300 ac_ls_di=`ls -di .` &&
1301 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1302 as_fn_error $? "working directory cannot be determined"
1303 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1304 as_fn_error $? "pwd does not report name of working directory"
1307 # Find the source files, if location was not specified.
1308 if test -z "$srcdir"; then
1309 ac_srcdir_defaulted=yes
1310 # Try the directory containing this script, then the parent directory.
1311 ac_confdir=`$as_dirname -- "$as_myself" ||
1312 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1313 X"$as_myself" : 'X\(//\)[^/]' \| \
1314 X"$as_myself" : 'X\(//\)$' \| \
1315 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1316 $as_echo X"$as_myself" |
1317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1335 if test ! -r "$srcdir/$ac_unique_file"; then
1339 ac_srcdir_defaulted=no
1341 if test ! -r "$srcdir/$ac_unique_file"; then
1342 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1343 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1345 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1347 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1349 # When building in place, set srcdir=.
1350 if test "$ac_abs_confdir" = "$ac_pwd"; then
1353 # Remove unnecessary trailing slashes from srcdir.
1354 # Double slashes in file names in object file debugging info
1355 # mess up M-x gdb in Emacs.
1357 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1359 for ac_var in $ac_precious_vars; do
1360 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1361 eval ac_env_${ac_var}_value=\$${ac_var}
1362 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1363 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1367 # Report the --help message.
1369 if test "$ac_init_help" = "long"; then
1370 # Omit some internal or obsolete options to make the list less imposing.
1371 # This message is too long to be a string in the A/UX 3.1 sh.
1373 \`configure' configures efreet 1.7.2 to adapt to many kinds of systems.
1375 Usage: $0 [OPTION]... [VAR=VALUE]...
1377 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1378 VAR=VALUE. See below for descriptions of some of the useful variables.
1380 Defaults for the options are specified in brackets.
1383 -h, --help display this help and exit
1384 --help=short display options specific to this package
1385 --help=recursive display the short help of all the included packages
1386 -V, --version display version information and exit
1387 -q, --quiet, --silent do not print \`checking ...' messages
1388 --cache-file=FILE cache test results in FILE [disabled]
1389 -C, --config-cache alias for \`--cache-file=config.cache'
1390 -n, --no-create do not create output files
1391 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1393 Installation directories:
1394 --prefix=PREFIX install architecture-independent files in PREFIX
1395 [$ac_default_prefix]
1396 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1399 By default, \`make install' will install all the files in
1400 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1401 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1402 for instance \`--prefix=\$HOME'.
1404 For better control, use the options below.
1406 Fine tuning of the installation directories:
1407 --bindir=DIR user executables [EPREFIX/bin]
1408 --sbindir=DIR system admin executables [EPREFIX/sbin]
1409 --libexecdir=DIR program executables [EPREFIX/libexec]
1410 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1411 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1412 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1413 --libdir=DIR object code libraries [EPREFIX/lib]
1414 --includedir=DIR C header files [PREFIX/include]
1415 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1416 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1417 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1418 --infodir=DIR info documentation [DATAROOTDIR/info]
1419 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1420 --mandir=DIR man documentation [DATAROOTDIR/man]
1421 --docdir=DIR documentation root [DATAROOTDIR/doc/efreet]
1422 --htmldir=DIR html documentation [DOCDIR]
1423 --dvidir=DIR dvi documentation [DOCDIR]
1424 --pdfdir=DIR pdf documentation [DOCDIR]
1425 --psdir=DIR ps documentation [DOCDIR]
1431 --program-prefix=PREFIX prepend PREFIX to installed program names
1432 --program-suffix=SUFFIX append SUFFIX to installed program names
1433 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1436 --build=BUILD configure for building on BUILD [guessed]
1437 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1441 if test -n "$ac_init_help"; then
1442 case $ac_init_help in
1443 short | recursive ) echo "Configuration of efreet 1.7.2:";;
1448 --disable-option-checking ignore unrecognized --enable/--with options
1449 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1450 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1451 --enable-silent-rules less verbose build output (undo: `make V=1')
1452 --disable-silent-rules verbose build output (undo: `make V=0')
1453 --enable-shared[=PKGS] build shared libraries [default=yes]
1454 --enable-static[=PKGS] build static libraries [default=yes]
1455 --enable-fast-install[=PKGS]
1456 optimize for fast installation [default=yes]
1457 --disable-dependency-tracking speeds up one-time build
1458 --enable-dependency-tracking do not reject slow dependency extractors
1459 --disable-libtool-lock avoid locking (might break parallel builds)
1460 --disable-nls do not use Native Language Support
1461 --disable-rpath do not hardcode runtime library paths
1462 --enable-strict-spec Enable strict spec compliance [default=disabled]
1463 --disable-sloppy-spec Enable sloppy spec compliance [default=enabled]
1464 --disable-doc Disable documentation build [default=enabled]
1465 --enable-tests enable tests [default=disabled]
1466 --enable-coverage enable coverage profiling instrumentation
1470 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1471 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1472 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1474 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1475 --with-sysroot=DIR Search for dependent libraries within DIR
1476 (or the compiler's sysroot if not specified).
1477 --with-gnu-ld assume the C compiler uses GNU ld default=no
1478 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1479 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1480 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1481 --without-libintl-prefix don't search for libintl in includedir and libdir
1482 --with-doxygen=FILE doxygen program to use [default=doxygen]
1484 Some influential environment variables:
1485 CC C compiler command
1486 CFLAGS C compiler flags
1487 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1488 nonstandard directory <lib dir>
1489 LIBS libraries to pass to the linker, e.g. -l<library>
1490 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1491 you have headers in a nonstandard directory <include dir>
1493 PKG_CONFIG path to pkg-config utility
1495 directories to add to pkg-config's search path
1497 path overriding pkg-config's built-in search path
1498 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1499 EVIL_LIBS linker flags for EVIL, overriding pkg-config
1501 C compiler flags for EFREET, overriding pkg-config
1502 EFREET_LIBS linker flags for EFREET, overriding pkg-config
1503 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
1504 EINA_LIBS linker flags for EINA, overriding pkg-config
1506 C compiler flags for CHECK, overriding pkg-config
1507 CHECK_LIBS linker flags for CHECK, overriding pkg-config
1509 Use these variables to override the choices made by `configure' or to help
1510 it to find libraries and programs with nonstandard names/locations.
1512 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1517 if test "$ac_init_help" = "recursive"; then
1518 # If there are subdirs, report their specific --help.
1519 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1520 test -d "$ac_dir" ||
1521 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1526 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1528 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1529 # A ".." for each directory in $ac_dir_suffix.
1530 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1531 case $ac_top_builddir_sub in
1532 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1533 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1536 ac_abs_top_builddir=$ac_pwd
1537 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1538 # for backward compatibility:
1539 ac_top_builddir=$ac_top_build_prefix
1542 .) # We are building in place.
1544 ac_top_srcdir=$ac_top_builddir_sub
1545 ac_abs_top_srcdir=$ac_pwd ;;
1546 [\\/]* | ?:[\\/]* ) # Absolute name.
1547 ac_srcdir=$srcdir$ac_dir_suffix;
1548 ac_top_srcdir=$srcdir
1549 ac_abs_top_srcdir=$srcdir ;;
1551 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1552 ac_top_srcdir=$ac_top_build_prefix$srcdir
1553 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1555 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1557 cd "$ac_dir" || { ac_status=$?; continue; }
1558 # Check for guested configure.
1559 if test -f "$ac_srcdir/configure.gnu"; then
1561 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1562 elif test -f "$ac_srcdir/configure"; then
1564 $SHELL "$ac_srcdir/configure" --help=recursive
1566 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1568 cd "$ac_pwd" || { ac_status=$?; break; }
1572 test -n "$ac_init_help" && exit $ac_status
1573 if $ac_init_version; then
1575 efreet configure 1.7.2
1576 generated by GNU Autoconf 2.68
1578 Copyright (C) 2010 Free Software Foundation, Inc.
1579 This configure script is free software; the Free Software Foundation
1580 gives unlimited permission to copy, distribute and modify it.
1585 ## ------------------------ ##
1586 ## Autoconf initialization. ##
1587 ## ------------------------ ##
1589 # ac_fn_c_try_compile LINENO
1590 # --------------------------
1591 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1592 ac_fn_c_try_compile ()
1594 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1595 rm -f conftest.$ac_objext
1596 if { { ac_try="$ac_compile"
1598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1599 *) ac_try_echo=$ac_try;;
1601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1602 $as_echo "$ac_try_echo"; } >&5
1603 (eval "$ac_compile") 2>conftest.err
1605 if test -s conftest.err; then
1606 grep -v '^ *+' conftest.err >conftest.er1
1607 cat conftest.er1 >&5
1608 mv -f conftest.er1 conftest.err
1610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1611 test $ac_status = 0; } && {
1612 test -z "$ac_c_werror_flag" ||
1613 test ! -s conftest.err
1614 } && test -s conftest.$ac_objext; then :
1617 $as_echo "$as_me: failed program was:" >&5
1618 sed 's/^/| /' conftest.$ac_ext >&5
1622 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1623 as_fn_set_status $ac_retval
1625 } # ac_fn_c_try_compile
1627 # ac_fn_c_try_link LINENO
1628 # -----------------------
1629 # Try to link conftest.$ac_ext, and return whether this succeeded.
1632 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1633 rm -f conftest.$ac_objext conftest$ac_exeext
1634 if { { ac_try="$ac_link"
1636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1637 *) ac_try_echo=$ac_try;;
1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640 $as_echo "$ac_try_echo"; } >&5
1641 (eval "$ac_link") 2>conftest.err
1643 if test -s conftest.err; then
1644 grep -v '^ *+' conftest.err >conftest.er1
1645 cat conftest.er1 >&5
1646 mv -f conftest.er1 conftest.err
1648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649 test $ac_status = 0; } && {
1650 test -z "$ac_c_werror_flag" ||
1651 test ! -s conftest.err
1652 } && test -s conftest$ac_exeext && {
1653 test "$cross_compiling" = yes ||
1654 $as_test_x conftest$ac_exeext
1658 $as_echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.$ac_ext >&5
1663 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1664 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1665 # interfere with the next link command; also delete a directory that is
1666 # left behind by Apple's compiler. We do this before executing the actions.
1667 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 as_fn_set_status $ac_retval
1671 } # ac_fn_c_try_link
1673 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1674 # -------------------------------------------------------
1675 # Tests whether HEADER exists and can be compiled using the include files in
1676 # INCLUDES, setting the cache variable VAR accordingly.
1677 ac_fn_c_check_header_compile ()
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1681 $as_echo_n "checking for $2... " >&6; }
1682 if eval \${$3+:} false; then :
1683 $as_echo_n "(cached) " >&6
1685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1686 /* end confdefs.h. */
1690 if ac_fn_c_try_compile "$LINENO"; then :
1695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1699 $as_echo "$ac_res" >&6; }
1700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702 } # ac_fn_c_check_header_compile
1704 # ac_fn_c_try_cpp LINENO
1705 # ----------------------
1706 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710 if { { ac_try="$ac_cpp conftest.$ac_ext"
1712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1713 *) ac_try_echo=$ac_try;;
1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716 $as_echo "$ac_try_echo"; } >&5
1717 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1719 if test -s conftest.err; then
1720 grep -v '^ *+' conftest.err >conftest.er1
1721 cat conftest.er1 >&5
1722 mv -f conftest.er1 conftest.err
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; } > conftest.i && {
1726 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1727 test ! -s conftest.err
1731 $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.$ac_ext >&5
1736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1737 as_fn_set_status $ac_retval
1741 # ac_fn_c_try_run LINENO
1742 # ----------------------
1743 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1744 # that executables *can* be run.
1747 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1748 if { { ac_try="$ac_link"
1750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1751 *) ac_try_echo=$ac_try;;
1753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1754 $as_echo "$ac_try_echo"; } >&5
1755 (eval "$ac_link") 2>&5
1757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1759 { { case "(($ac_try" in
1760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1761 *) ac_try_echo=$ac_try;;
1763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1764 $as_echo "$ac_try_echo"; } >&5
1765 (eval "$ac_try") 2>&5
1767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1768 test $ac_status = 0; }; }; then :
1771 $as_echo "$as_me: program exited with status $ac_status" >&5
1772 $as_echo "$as_me: failed program was:" >&5
1773 sed 's/^/| /' conftest.$ac_ext >&5
1775 ac_retval=$ac_status
1777 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1779 as_fn_set_status $ac_retval
1783 # ac_fn_c_check_func LINENO FUNC VAR
1784 # ----------------------------------
1785 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1786 ac_fn_c_check_func ()
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1790 $as_echo_n "checking for $2... " >&6; }
1791 if eval \${$3+:} false; then :
1792 $as_echo_n "(cached) " >&6
1794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1795 /* end confdefs.h. */
1796 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1798 #define $2 innocuous_$2
1800 /* System header to define __stub macros and hopefully few prototypes,
1801 which can conflict with char $2 (); below.
1802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1803 <limits.h> exists even on freestanding compilers. */
1806 # include <limits.h>
1808 # include <assert.h>
1813 /* Override any GCC internal prototype to avoid an error.
1814 Use char because int might match the return type of a GCC
1815 builtin and then its argument prototype would still apply. */
1820 /* The GNU C library defines this for functions which it implements
1821 to always fail with ENOSYS. Some functions are actually named
1822 something starting with __ and the normal name is an alias. */
1823 #if defined __stub_$2 || defined __stub___$2
1835 if ac_fn_c_try_link "$LINENO"; then :
1840 rm -f core conftest.err conftest.$ac_objext \
1841 conftest$ac_exeext conftest.$ac_ext
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1845 $as_echo "$ac_res" >&6; }
1846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848 } # ac_fn_c_check_func
1850 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1851 # -------------------------------------------------------
1852 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1853 # the include files in INCLUDES and setting the cache variable VAR
1855 ac_fn_c_check_header_mongrel ()
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 if eval \${$3+:} false; then :
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1860 $as_echo_n "checking for $2... " >&6; }
1861 if eval \${$3+:} false; then :
1862 $as_echo_n "(cached) " >&6
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1866 $as_echo "$ac_res" >&6; }
1868 # Is the header compilable?
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1870 $as_echo_n "checking $2 usability... " >&6; }
1871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1872 /* end confdefs.h. */
1876 if ac_fn_c_try_compile "$LINENO"; then :
1877 ac_header_compiler=yes
1879 ac_header_compiler=no
1881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1883 $as_echo "$ac_header_compiler" >&6; }
1885 # Is the header present?
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1887 $as_echo_n "checking $2 presence... " >&6; }
1888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889 /* end confdefs.h. */
1892 if ac_fn_c_try_cpp "$LINENO"; then :
1893 ac_header_preproc=yes
1895 ac_header_preproc=no
1897 rm -f conftest.err conftest.i conftest.$ac_ext
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1899 $as_echo "$ac_header_preproc" >&6; }
1901 # So? What about this header?
1902 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1905 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1907 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1911 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1913 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1915 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1917 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1919 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1920 ( $as_echo "## -------------------------------------------------------- ##
1921 ## Report this to enlightenment-devel@lists.sourceforge.net ##
1922 ## -------------------------------------------------------- ##"
1923 ) | sed "s/^/$as_me: WARNING: /" >&2
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1927 $as_echo_n "checking for $2... " >&6; }
1928 if eval \${$3+:} false; then :
1929 $as_echo_n "(cached) " >&6
1931 eval "$3=\$ac_header_compiler"
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1935 $as_echo "$ac_res" >&6; }
1937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939 } # ac_fn_c_check_header_mongrel
1941 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1942 # -------------------------------------------
1943 # Tests whether TYPE exists after having included INCLUDES, setting cache
1944 # variable VAR accordingly.
1945 ac_fn_c_check_type ()
1947 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1949 $as_echo_n "checking for $2... " >&6; }
1950 if eval \${$3+:} false; then :
1951 $as_echo_n "(cached) " >&6
1954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1955 /* end confdefs.h. */
1966 if ac_fn_c_try_compile "$LINENO"; then :
1967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1968 /* end confdefs.h. */
1979 if ac_fn_c_try_compile "$LINENO"; then :
1984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1990 $as_echo "$ac_res" >&6; }
1991 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1993 } # ac_fn_c_check_type
1994 cat >config.log <<_ACEOF
1995 This file contains any messages produced by compilers while
1996 running configure, to aid debugging if configure makes a mistake.
1998 It was created by efreet $as_me 1.7.2, which was
1999 generated by GNU Autoconf 2.68. Invocation command line was
2011 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2012 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2013 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2014 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2015 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2017 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2018 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2020 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2021 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2022 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2023 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2024 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2025 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2026 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2034 test -z "$as_dir" && as_dir=.
2035 $as_echo "PATH: $as_dir"
2051 # Keep a trace of the command line.
2052 # Strip out --no-create and --no-recursion so they do not pile up.
2053 # Strip out --silent because we don't want to record it for future runs.
2054 # Also quote any args containing shell meta-characters.
2055 # Make two passes to allow for proper duplicate-argument suppression.
2059 ac_must_keep_next=false
2065 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2066 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2067 | -silent | --silent | --silen | --sile | --sil)
2070 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2073 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2075 as_fn_append ac_configure_args1 " '$ac_arg'"
2076 if test $ac_must_keep_next = true; then
2077 ac_must_keep_next=false # Got value, back to normal.
2080 *=* | --config-cache | -C | -disable-* | --disable-* \
2081 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2082 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2083 | -with-* | --with-* | -without-* | --without-* | --x)
2084 case "$ac_configure_args0 " in
2085 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2088 -* ) ac_must_keep_next=true ;;
2091 as_fn_append ac_configure_args " '$ac_arg'"
2096 { ac_configure_args0=; unset ac_configure_args0;}
2097 { ac_configure_args1=; unset ac_configure_args1;}
2099 # When interrupted or exit'd, cleanup temporary files, and complete
2100 # config.log. We remove comments because anyway the quotes in there
2101 # would cause problems or look ugly.
2102 # WARNING: Use '\'' to represent an apostrophe within the trap.
2103 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2104 trap 'exit_status=$?
2105 # Save into config.log some information that might help in debugging.
2109 $as_echo "## ---------------- ##
2110 ## Cache variables. ##
2111 ## ---------------- ##"
2113 # The following way of writing the cache mishandles newlines in values,
2115 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2116 eval ac_val=\$$ac_var
2120 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2121 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2124 _ | IFS | as_nl) ;; #(
2125 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2126 *) { eval $ac_var=; unset $ac_var;} ;;
2131 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2132 *${as_nl}ac_space=\ *)
2134 "s/'\''/'\''\\\\'\'''\''/g;
2135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2138 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2145 $as_echo "## ----------------- ##
2146 ## Output variables. ##
2147 ## ----------------- ##"
2149 for ac_var in $ac_subst_vars
2151 eval ac_val=\$$ac_var
2153 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2155 $as_echo "$ac_var='\''$ac_val'\''"
2159 if test -n "$ac_subst_files"; then
2160 $as_echo "## ------------------- ##
2161 ## File substitutions. ##
2162 ## ------------------- ##"
2164 for ac_var in $ac_subst_files
2166 eval ac_val=\$$ac_var
2168 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2170 $as_echo "$ac_var='\''$ac_val'\''"
2175 if test -s confdefs.h; then
2176 $as_echo "## ----------- ##
2183 test "$ac_signal" != 0 &&
2184 $as_echo "$as_me: caught signal $ac_signal"
2185 $as_echo "$as_me: exit $exit_status"
2187 rm -f core *.core core.conftest.* &&
2188 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2191 for ac_signal in 1 2 13 15; do
2192 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2196 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2197 rm -f -r conftest* confdefs.h
2199 $as_echo "/* confdefs.h */" > confdefs.h
2201 # Predefined preprocessor variables.
2203 cat >>confdefs.h <<_ACEOF
2204 #define PACKAGE_NAME "$PACKAGE_NAME"
2207 cat >>confdefs.h <<_ACEOF
2208 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2211 cat >>confdefs.h <<_ACEOF
2212 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2215 cat >>confdefs.h <<_ACEOF
2216 #define PACKAGE_STRING "$PACKAGE_STRING"
2219 cat >>confdefs.h <<_ACEOF
2220 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2223 cat >>confdefs.h <<_ACEOF
2224 #define PACKAGE_URL "$PACKAGE_URL"
2228 # Let the site file select an alternate cache file if it wants to.
2229 # Prefer an explicitly selected file to automatically selected ones.
2232 if test -n "$CONFIG_SITE"; then
2233 # We do not want a PATH search for config.site.
2234 case $CONFIG_SITE in #((
2235 -*) ac_site_file1=./$CONFIG_SITE;;
2236 */*) ac_site_file1=$CONFIG_SITE;;
2237 *) ac_site_file1=./$CONFIG_SITE;;
2239 elif test "x$prefix" != xNONE; then
2240 ac_site_file1=$prefix/share/config.site
2241 ac_site_file2=$prefix/etc/config.site
2243 ac_site_file1=$ac_default_prefix/share/config.site
2244 ac_site_file2=$ac_default_prefix/etc/config.site
2246 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2248 test "x$ac_site_file" = xNONE && continue
2249 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2251 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2252 sed 's/^/| /' "$ac_site_file" >&5
2254 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2256 as_fn_error $? "failed to load site script $ac_site_file
2257 See \`config.log' for more details" "$LINENO" 5; }
2261 if test -r "$cache_file"; then
2262 # Some versions of bash will fail to source /dev/null (special files
2263 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2264 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2266 $as_echo "$as_me: loading cache $cache_file" >&6;}
2268 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2269 *) . "./$cache_file";;
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2274 $as_echo "$as_me: creating cache $cache_file" >&6;}
2278 gt_needs="$gt_needs "
2279 # Check that the precious variables saved in the cache have kept the same
2281 ac_cache_corrupted=false
2282 for ac_var in $ac_precious_vars; do
2283 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2284 eval ac_new_set=\$ac_env_${ac_var}_set
2285 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2286 eval ac_new_val=\$ac_env_${ac_var}_value
2287 case $ac_old_set,$ac_new_set in
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2290 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2291 ac_cache_corrupted=: ;;
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2294 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2295 ac_cache_corrupted=: ;;
2298 if test "x$ac_old_val" != "x$ac_new_val"; then
2299 # differences in whitespace do not lead to failure.
2300 ac_old_val_w=`echo x $ac_old_val`
2301 ac_new_val_w=`echo x $ac_new_val`
2302 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2304 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2305 ac_cache_corrupted=:
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2308 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2309 eval $ac_var=\$ac_old_val
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2312 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2314 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2317 # Pass precious variables to config.status.
2318 if test "$ac_new_set" = set; then
2320 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2321 *) ac_arg=$ac_var=$ac_new_val ;;
2323 case " $ac_configure_args " in
2324 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2325 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2329 if $ac_cache_corrupted; then
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2333 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2334 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2336 ## -------------------- ##
2337 ## Main body of script. ##
2338 ## -------------------- ##
2341 ac_cpp='$CPP $CPPFLAGS'
2342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2351 ac_config_headers="$ac_config_headers config.h"
2356 am__api_version='1.11'
2359 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2360 if test -f "$ac_dir/install-sh"; then
2362 ac_install_sh="$ac_aux_dir/install-sh -c"
2364 elif test -f "$ac_dir/install.sh"; then
2366 ac_install_sh="$ac_aux_dir/install.sh -c"
2368 elif test -f "$ac_dir/shtool"; then
2370 ac_install_sh="$ac_aux_dir/shtool install -c"
2374 if test -z "$ac_aux_dir"; then
2375 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2378 # These three variables are undocumented and unsupported,
2379 # and are intended to be withdrawn in a future Autoconf release.
2380 # They can cause serious problems if a builder's source tree is in a directory
2381 # whose full name contains unusual characters.
2382 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2383 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2384 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2387 # Find a good install program. We prefer a C program (faster),
2388 # so one script is as good as another. But avoid the broken or
2389 # incompatible versions:
2390 # SysV /etc/install, /usr/sbin/install
2391 # SunOS /usr/etc/install
2392 # IRIX /sbin/install
2394 # AmigaOS /C/install, which installs bootblocks on floppy discs
2395 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2396 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2397 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2398 # OS/2's system install, which has a completely different semantic
2399 # ./install, which can be erroneously created by make from ./install.sh.
2400 # Reject install programs that cannot install multiple files.
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2402 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2403 if test -z "$INSTALL"; then
2404 if ${ac_cv_path_install+:} false; then :
2405 $as_echo_n "(cached) " >&6
2407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2411 test -z "$as_dir" && as_dir=.
2412 # Account for people who put trailing slashes in PATH elements.
2413 case $as_dir/ in #((
2414 ./ | .// | /[cC]/* | \
2415 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2416 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2419 # OSF1 and SCO ODT 3.0 have their own names for install.
2420 # Don't use installbsd from OSF since it installs stuff as root
2422 for ac_prog in ginstall scoinst install; do
2423 for ac_exec_ext in '' $ac_executable_extensions; do
2424 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2425 if test $ac_prog = install &&
2426 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2427 # AIX install. It has an incompatible calling convention.
2429 elif test $ac_prog = install &&
2430 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2431 # program-specific install script used by HP pwplus--don't use.
2434 rm -rf conftest.one conftest.two conftest.dir
2435 echo one > conftest.one
2436 echo two > conftest.two
2438 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2439 test -s conftest.one && test -s conftest.two &&
2440 test -s conftest.dir/conftest.one &&
2441 test -s conftest.dir/conftest.two
2443 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2456 rm -rf conftest.one conftest.two conftest.dir
2459 if test "${ac_cv_path_install+set}" = set; then
2460 INSTALL=$ac_cv_path_install
2462 # As a last resort, use the slow shell script. Don't cache a
2463 # value for INSTALL within a source directory, because that will
2464 # break other packages using the cache if that directory is
2465 # removed, or if the value is a relative name.
2466 INSTALL=$ac_install_sh
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2470 $as_echo "$INSTALL" >&6; }
2472 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2473 # It thinks the first close brace ends the variable substitution.
2474 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2476 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2478 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2481 $as_echo_n "checking whether build environment is sane... " >&6; }
2484 echo timestamp > conftest.file
2485 # Reject unsafe characters in $srcdir or the absolute working directory
2486 # name. Accept space and tab only in the latter.
2490 *[\\\"\#\$\&\'\`$am_lf]*)
2491 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2494 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2495 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2498 # Do `set' in a subshell so we don't clobber the current shell's
2499 # arguments. Must try -L first in case configure is actually a
2500 # symlink; some systems play weird games with the mod time of symlinks
2501 # (eg FreeBSD returns the mod time of the symlink's containing
2504 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2505 if test "$*" = "X"; then
2507 set X `ls -t "$srcdir/configure" conftest.file`
2510 if test "$*" != "X $srcdir/configure conftest.file" \
2511 && test "$*" != "X conftest.file $srcdir/configure"; then
2513 # If neither matched, then we have a broken ls. This can happen
2514 # if, for instance, CONFIG_SHELL is bash and it inherits a
2515 # broken ls alias from the environment. This has actually
2516 # happened. Such a system could not be considered "sane".
2517 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2518 alias in your environment" "$LINENO" 5
2521 test "$2" = conftest.file
2527 as_fn_error $? "newly created file is older than distributed files!
2528 Check your system clock" "$LINENO" 5
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2531 $as_echo "yes" >&6; }
2532 test "$program_prefix" != NONE &&
2533 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2534 # Use a double $ so make ignores it.
2535 test "$program_suffix" != NONE &&
2536 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2537 # Double any \ or $.
2538 # By default was `s,x,x', remove it if useless.
2539 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2540 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2542 # expand $ac_aux_dir to an absolute path
2543 am_aux_dir=`cd $ac_aux_dir && pwd`
2545 if test x"${MISSING+set}" != xset; then
2548 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2550 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2553 # Use eval to expand $SHELL
2554 if eval "$MISSING --run true"; then
2555 am_missing_run="$MISSING --run "
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2559 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2562 if test x"${install_sh}" != xset; then
2565 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2567 install_sh="\${SHELL} $am_aux_dir/install-sh"
2571 # Installed binaries are usually stripped using `strip' when the user
2572 # run `make install-strip'. However `strip' might not be the right
2573 # tool to use in cross-compilation environments, therefore Automake
2574 # will honor the `STRIP' environment variable to overrule this program.
2575 if test "$cross_compiling" != no; then
2576 if test -n "$ac_tool_prefix"; then
2577 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2578 set dummy ${ac_tool_prefix}strip; ac_word=$2
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2580 $as_echo_n "checking for $ac_word... " >&6; }
2581 if ${ac_cv_prog_STRIP+:} false; then :
2582 $as_echo_n "(cached) " >&6
2584 if test -n "$STRIP"; then
2585 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2591 test -z "$as_dir" && as_dir=.
2592 for ac_exec_ext in '' $ac_executable_extensions; do
2593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2594 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2604 STRIP=$ac_cv_prog_STRIP
2605 if test -n "$STRIP"; then
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2607 $as_echo "$STRIP" >&6; }
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2610 $as_echo "no" >&6; }
2615 if test -z "$ac_cv_prog_STRIP"; then
2617 # Extract the first word of "strip", so it can be a program name with args.
2618 set dummy strip; ac_word=$2
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2620 $as_echo_n "checking for $ac_word... " >&6; }
2621 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2622 $as_echo_n "(cached) " >&6
2624 if test -n "$ac_ct_STRIP"; then
2625 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631 test -z "$as_dir" && as_dir=.
2632 for ac_exec_ext in '' $ac_executable_extensions; do
2633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2634 ac_cv_prog_ac_ct_STRIP="strip"
2635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2644 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2645 if test -n "$ac_ct_STRIP"; then
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2647 $as_echo "$ac_ct_STRIP" >&6; }
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2650 $as_echo "no" >&6; }
2653 if test "x$ac_ct_STRIP" = x; then
2656 case $cross_compiling:$ac_tool_warned in
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2660 ac_tool_warned=yes ;;
2665 STRIP="$ac_cv_prog_STRIP"
2669 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2672 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2673 if test -z "$MKDIR_P"; then
2674 if ${ac_cv_path_mkdir+:} false; then :
2675 $as_echo_n "(cached) " >&6
2677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2681 test -z "$as_dir" && as_dir=.
2682 for ac_prog in mkdir gmkdir; do
2683 for ac_exec_ext in '' $ac_executable_extensions; do
2684 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2685 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2686 'mkdir (GNU coreutils) '* | \
2687 'mkdir (coreutils) '* | \
2688 'mkdir (fileutils) '4.1*)
2689 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2699 test -d ./--version && rmdir ./--version
2700 if test "${ac_cv_path_mkdir+set}" = set; then
2701 MKDIR_P="$ac_cv_path_mkdir -p"
2703 # As a last resort, use the slow shell script. Don't cache a
2704 # value for MKDIR_P within a source directory, because that will
2705 # break other packages using the cache if that directory is
2706 # removed, or if the value is a relative name.
2707 MKDIR_P="$ac_install_sh -d"
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2711 $as_echo "$MKDIR_P" >&6; }
2715 [\\/$]* | ?:[\\/]*) ;;
2716 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2719 for ac_prog in gawk mawk nawk awk
2721 # Extract the first word of "$ac_prog", so it can be a program name with args.
2722 set dummy $ac_prog; ac_word=$2
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2724 $as_echo_n "checking for $ac_word... " >&6; }
2725 if ${ac_cv_prog_AWK+:} false; then :
2726 $as_echo_n "(cached) " >&6
2728 if test -n "$AWK"; then
2729 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 test -z "$as_dir" && as_dir=.
2736 for ac_exec_ext in '' $ac_executable_extensions; do
2737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2738 ac_cv_prog_AWK="$ac_prog"
2739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2749 if test -n "$AWK"; then
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2751 $as_echo "$AWK" >&6; }
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2754 $as_echo "no" >&6; }
2758 test -n "$AWK" && break
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2762 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2764 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2765 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2766 $as_echo_n "(cached) " >&6
2768 cat >conftest.make <<\_ACEOF
2771 @echo '@@@%%%=$(MAKE)=@@@%%%'
2773 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2774 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2776 eval ac_cv_prog_make_${ac_make}_set=yes;;
2778 eval ac_cv_prog_make_${ac_make}_set=no;;
2782 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2784 $as_echo "yes" >&6; }
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2788 $as_echo "no" >&6; }
2789 SET_MAKE="MAKE=${MAKE-make}"
2792 rm -rf .tst 2>/dev/null
2793 mkdir .tst 2>/dev/null
2794 if test -d .tst; then
2799 rmdir .tst 2>/dev/null
2801 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2802 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2803 # is not polluted with repeated "-I."
2804 am__isrc=' -I$(srcdir)'
2805 # test to see if srcdir already configured
2806 if test -f $srcdir/config.status; then
2807 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2811 # test whether we have cygpath
2812 if test -z "$CYGPATH_W"; then
2813 if (cygpath --version) >/dev/null 2>/dev/null; then
2814 CYGPATH_W='cygpath -w'
2821 # Define the identity of the package.
2826 cat >>confdefs.h <<_ACEOF
2827 #define PACKAGE "$PACKAGE"
2831 cat >>confdefs.h <<_ACEOF
2832 #define VERSION "$VERSION"
2835 # Some tools Automake needs.
2837 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2840 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2843 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2846 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2849 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2851 # We need awk for the "check" target. The system "awk" is bad on
2853 # Always define AMTAR for backward compatibility. Yes, it's still used
2854 # in the wild :-( We should find a proper way to deprecate it ...
2857 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2863 # Check whether --enable-silent-rules was given.
2864 if test "${enable_silent_rules+set}" = set; then :
2865 enableval=$enable_silent_rules;
2868 case $enable_silent_rules in
2869 yes) AM_DEFAULT_VERBOSITY=0;;
2870 no) AM_DEFAULT_VERBOSITY=1;;
2871 *) AM_DEFAULT_VERBOSITY=0;;
2873 am_make=${MAKE-make}
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2875 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2876 if ${am_cv_make_support_nested_variables+:} false; then :
2877 $as_echo_n "(cached) " >&6
2879 if $as_echo 'TRUE=$(BAR$(V))
2885 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2886 am_cv_make_support_nested_variables=yes
2888 am_cv_make_support_nested_variables=no
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2892 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2893 if test $am_cv_make_support_nested_variables = yes; then
2895 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2897 AM_V=$AM_DEFAULT_VERBOSITY
2898 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2903 # Make sure we can run config.sub.
2904 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2905 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2908 $as_echo_n "checking build system type... " >&6; }
2909 if ${ac_cv_build+:} false; then :
2910 $as_echo_n "(cached) " >&6
2912 ac_build_alias=$build_alias
2913 test "x$ac_build_alias" = x &&
2914 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2915 test "x$ac_build_alias" = x &&
2916 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2917 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2918 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2922 $as_echo "$ac_cv_build" >&6; }
2923 case $ac_cv_build in
2925 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2928 ac_save_IFS=$IFS; IFS='-'
2934 # Remember, the first character of IFS is used to create $*,
2935 # except with old shells:
2938 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2942 $as_echo_n "checking host system type... " >&6; }
2943 if ${ac_cv_host+:} false; then :
2944 $as_echo_n "(cached) " >&6
2946 if test "x$host_alias" = x; then
2947 ac_cv_host=$ac_cv_build
2949 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2950 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2955 $as_echo "$ac_cv_host" >&6; }
2958 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2961 ac_save_IFS=$IFS; IFS='-'
2967 # Remember, the first character of IFS is used to create $*,
2968 # except with old shells:
2971 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2974 enable_win32_dll=yes
2977 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
2978 if test -n "$ac_tool_prefix"; then
2979 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2980 set dummy ${ac_tool_prefix}as; ac_word=$2
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982 $as_echo_n "checking for $ac_word... " >&6; }
2983 if ${ac_cv_prog_AS+:} false; then :
2984 $as_echo_n "(cached) " >&6
2986 if test -n "$AS"; then
2987 ac_cv_prog_AS="$AS" # Let the user override the test.
2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2993 test -z "$as_dir" && as_dir=.
2994 for ac_exec_ext in '' $ac_executable_extensions; do
2995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2996 ac_cv_prog_AS="${ac_tool_prefix}as"
2997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3007 if test -n "$AS"; then
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3009 $as_echo "$AS" >&6; }
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3012 $as_echo "no" >&6; }
3017 if test -z "$ac_cv_prog_AS"; then
3019 # Extract the first word of "as", so it can be a program name with args.
3020 set dummy as; ac_word=$2
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3022 $as_echo_n "checking for $ac_word... " >&6; }
3023 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3024 $as_echo_n "(cached) " >&6
3026 if test -n "$ac_ct_AS"; then
3027 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 test -z "$as_dir" && as_dir=.
3034 for ac_exec_ext in '' $ac_executable_extensions; do
3035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036 ac_cv_prog_ac_ct_AS="as"
3037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3047 if test -n "$ac_ct_AS"; then
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3049 $as_echo "$ac_ct_AS" >&6; }
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3052 $as_echo "no" >&6; }
3055 if test "x$ac_ct_AS" = x; then
3058 case $cross_compiling:$ac_tool_warned in
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3062 ac_tool_warned=yes ;;
3070 if test -n "$ac_tool_prefix"; then
3071 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3072 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3074 $as_echo_n "checking for $ac_word... " >&6; }
3075 if ${ac_cv_prog_DLLTOOL+:} false; then :
3076 $as_echo_n "(cached) " >&6
3078 if test -n "$DLLTOOL"; then
3079 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3085 test -z "$as_dir" && as_dir=.
3086 for ac_exec_ext in '' $ac_executable_extensions; do
3087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3088 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3098 DLLTOOL=$ac_cv_prog_DLLTOOL
3099 if test -n "$DLLTOOL"; then
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3101 $as_echo "$DLLTOOL" >&6; }
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3104 $as_echo "no" >&6; }
3109 if test -z "$ac_cv_prog_DLLTOOL"; then
3110 ac_ct_DLLTOOL=$DLLTOOL
3111 # Extract the first word of "dlltool", so it can be a program name with args.
3112 set dummy dlltool; ac_word=$2
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114 $as_echo_n "checking for $ac_word... " >&6; }
3115 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3116 $as_echo_n "(cached) " >&6
3118 if test -n "$ac_ct_DLLTOOL"; then
3119 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3125 test -z "$as_dir" && as_dir=.
3126 for ac_exec_ext in '' $ac_executable_extensions; do
3127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3128 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3138 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3139 if test -n "$ac_ct_DLLTOOL"; then
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3141 $as_echo "$ac_ct_DLLTOOL" >&6; }
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3147 if test "x$ac_ct_DLLTOOL" = x; then
3150 case $cross_compiling:$ac_tool_warned in
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3154 ac_tool_warned=yes ;;
3156 DLLTOOL=$ac_ct_DLLTOOL
3159 DLLTOOL="$ac_cv_prog_DLLTOOL"
3162 if test -n "$ac_tool_prefix"; then
3163 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3164 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3166 $as_echo_n "checking for $ac_word... " >&6; }
3167 if ${ac_cv_prog_OBJDUMP+:} false; then :
3168 $as_echo_n "(cached) " >&6
3170 if test -n "$OBJDUMP"; then
3171 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3177 test -z "$as_dir" && as_dir=.
3178 for ac_exec_ext in '' $ac_executable_extensions; do
3179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3180 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3190 OBJDUMP=$ac_cv_prog_OBJDUMP
3191 if test -n "$OBJDUMP"; then
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3193 $as_echo "$OBJDUMP" >&6; }
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3196 $as_echo "no" >&6; }
3201 if test -z "$ac_cv_prog_OBJDUMP"; then
3202 ac_ct_OBJDUMP=$OBJDUMP
3203 # Extract the first word of "objdump", so it can be a program name with args.
3204 set dummy objdump; ac_word=$2
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3206 $as_echo_n "checking for $ac_word... " >&6; }
3207 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3208 $as_echo_n "(cached) " >&6
3210 if test -n "$ac_ct_OBJDUMP"; then
3211 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3217 test -z "$as_dir" && as_dir=.
3218 for ac_exec_ext in '' $ac_executable_extensions; do
3219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3220 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3230 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3231 if test -n "$ac_ct_OBJDUMP"; then
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3233 $as_echo "$ac_ct_OBJDUMP" >&6; }
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3236 $as_echo "no" >&6; }
3239 if test "x$ac_ct_OBJDUMP" = x; then
3242 case $cross_compiling:$ac_tool_warned in
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3246 ac_tool_warned=yes ;;
3248 OBJDUMP=$ac_ct_OBJDUMP
3251 OBJDUMP="$ac_cv_prog_OBJDUMP"
3257 test -z "$AS" && AS=as
3263 test -z "$DLLTOOL" && DLLTOOL=dlltool
3269 test -z "$OBJDUMP" && OBJDUMP=objdump
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3280 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3285 macro_version='2.4.2'
3286 macro_revision='1.3337'
3300 ltmain="$ac_aux_dir/ltmain.sh"
3302 # Backslashify metacharacters that are still active within
3303 # double-quoted strings.
3304 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3306 # Same as above, but do not quote variable references.
3307 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3309 # Sed substitution to delay expansion of an escaped shell variable in a
3310 # double_quote_subst'ed string.
3311 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3313 # Sed substitution to delay expansion of an escaped single quote.
3314 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3316 # Sed substitution to avoid accidental globbing in evaled expressions
3317 no_glob_subst='s/\*/\\\*/g'
3319 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3320 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3321 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3324 $as_echo_n "checking how to print strings... " >&6; }
3325 # Test print first, because it will be a builtin if present.
3326 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3327 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3329 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3332 # Use this function as a fallback that always works.
3333 func_fallback_echo ()
3335 eval 'cat <<_LTECHO_EOF
3339 ECHO='func_fallback_echo'
3342 # func_echo_all arg...
3343 # Invoke $ECHO with all args, space-separated.
3350 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3351 $as_echo "printf" >&6; } ;;
3352 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3353 $as_echo "print -r" >&6; } ;;
3354 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3355 $as_echo "cat" >&6; } ;;
3371 DEPDIR="${am__leading_dot}deps"
3373 ac_config_commands="$ac_config_commands depfiles"
3376 am_make=${MAKE-make}
3377 cat > confinc << 'END'
3379 @echo this is the am__doit target
3382 # If we don't find an include directive, just comment out the code.
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3384 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3388 # First try GNU make style include.
3389 echo "include confinc" > confmf
3390 # Ignore all kinds of additional output from `make'.
3391 case `$am_make -s -f confmf 2> /dev/null` in #(
3392 *the\ am__doit\ target*)
3398 # Now try BSD make style include.
3399 if test "$am__include" = "#"; then
3400 echo '.include "confinc"' > confmf
3401 case `$am_make -s -f confmf 2> /dev/null` in #(
3402 *the\ am__doit\ target*)
3403 am__include=.include
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3412 $as_echo "$_am_result" >&6; }
3413 rm -f confinc confmf
3415 # Check whether --enable-dependency-tracking was given.
3416 if test "${enable_dependency_tracking+set}" = set; then :
3417 enableval=$enable_dependency_tracking;
3420 if test "x$enable_dependency_tracking" != xno; then
3421 am_depcomp="$ac_aux_dir/depcomp"
3425 if test "x$enable_dependency_tracking" != xno; then
3435 ac_cpp='$CPP $CPPFLAGS'
3436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3439 if test -n "$ac_tool_prefix"; then
3440 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3441 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3443 $as_echo_n "checking for $ac_word... " >&6; }
3444 if ${ac_cv_prog_CC+:} false; then :
3445 $as_echo_n "(cached) " >&6
3447 if test -n "$CC"; then
3448 ac_cv_prog_CC="$CC" # Let the user override the test.
3450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3454 test -z "$as_dir" && as_dir=.
3455 for ac_exec_ext in '' $ac_executable_extensions; do
3456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3457 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3468 if test -n "$CC"; then
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3470 $as_echo "$CC" >&6; }
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3473 $as_echo "no" >&6; }
3478 if test -z "$ac_cv_prog_CC"; then
3480 # Extract the first word of "gcc", so it can be a program name with args.
3481 set dummy gcc; ac_word=$2
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3483 $as_echo_n "checking for $ac_word... " >&6; }
3484 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3485 $as_echo_n "(cached) " >&6
3487 if test -n "$ac_ct_CC"; then
3488 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3494 test -z "$as_dir" && as_dir=.
3495 for ac_exec_ext in '' $ac_executable_extensions; do
3496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3497 ac_cv_prog_ac_ct_CC="gcc"
3498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3507 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3508 if test -n "$ac_ct_CC"; then
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3510 $as_echo "$ac_ct_CC" >&6; }
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3513 $as_echo "no" >&6; }
3516 if test "x$ac_ct_CC" = x; then
3519 case $cross_compiling:$ac_tool_warned in
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3523 ac_tool_warned=yes ;;
3531 if test -z "$CC"; then
3532 if test -n "$ac_tool_prefix"; then
3533 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3534 set dummy ${ac_tool_prefix}cc; ac_word=$2
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3536 $as_echo_n "checking for $ac_word... " >&6; }
3537 if ${ac_cv_prog_CC+:} false; then :
3538 $as_echo_n "(cached) " >&6
3540 if test -n "$CC"; then
3541 ac_cv_prog_CC="$CC" # Let the user override the test.
3543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3547 test -z "$as_dir" && as_dir=.
3548 for ac_exec_ext in '' $ac_executable_extensions; do
3549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3550 ac_cv_prog_CC="${ac_tool_prefix}cc"
3551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3561 if test -n "$CC"; then
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3563 $as_echo "$CC" >&6; }
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566 $as_echo "no" >&6; }
3572 if test -z "$CC"; then
3573 # Extract the first word of "cc", so it can be a program name with args.
3574 set dummy cc; ac_word=$2
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3576 $as_echo_n "checking for $ac_word... " >&6; }
3577 if ${ac_cv_prog_CC+:} false; then :
3578 $as_echo_n "(cached) " >&6
3580 if test -n "$CC"; then
3581 ac_cv_prog_CC="$CC" # Let the user override the test.
3584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3588 test -z "$as_dir" && as_dir=.
3589 for ac_exec_ext in '' $ac_executable_extensions; do
3590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3591 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3592 ac_prog_rejected=yes
3596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3603 if test $ac_prog_rejected = yes; then
3604 # We found a bogon in the path, so make sure we never use it.
3605 set dummy $ac_cv_prog_CC
3607 if test $# != 0; then
3608 # We chose a different compiler from the bogus one.
3609 # However, it has the same basename, so the bogon will be chosen
3610 # first if we set CC to just the basename; use the full file name.
3612 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3618 if test -n "$CC"; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3620 $as_echo "$CC" >&6; }
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3623 $as_echo "no" >&6; }
3628 if test -z "$CC"; then
3629 if test -n "$ac_tool_prefix"; then
3630 for ac_prog in cl.exe
3632 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3633 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if ${ac_cv_prog_CC+:} false; then :
3637 $as_echo_n "(cached) " >&6
3639 if test -n "$CC"; then
3640 ac_cv_prog_CC="$CC" # Let the user override the test.
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3646 test -z "$as_dir" && as_dir=.
3647 for ac_exec_ext in '' $ac_executable_extensions; do
3648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3649 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3660 if test -n "$CC"; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3662 $as_echo "$CC" >&6; }
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3669 test -n "$CC" && break
3672 if test -z "$CC"; then
3674 for ac_prog in cl.exe
3676 # Extract the first word of "$ac_prog", so it can be a program name with args.
3677 set dummy $ac_prog; ac_word=$2
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3681 $as_echo_n "(cached) " >&6
3683 if test -n "$ac_ct_CC"; then
3684 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3690 test -z "$as_dir" && as_dir=.
3691 for ac_exec_ext in '' $ac_executable_extensions; do
3692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3693 ac_cv_prog_ac_ct_CC="$ac_prog"
3694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3704 if test -n "$ac_ct_CC"; then
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3706 $as_echo "$ac_ct_CC" >&6; }
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3709 $as_echo "no" >&6; }
3713 test -n "$ac_ct_CC" && break
3716 if test "x$ac_ct_CC" = x; then
3719 case $cross_compiling:$ac_tool_warned in
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3723 ac_tool_warned=yes ;;
3732 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3734 as_fn_error $? "no acceptable C compiler found in \$PATH
3735 See \`config.log' for more details" "$LINENO" 5; }
3737 # Provide some information about the compiler.
3738 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3741 for ac_option in --version -v -V -qversion; do
3742 { { ac_try="$ac_compiler $ac_option >&5"
3744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3745 *) ac_try_echo=$ac_try;;
3747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3748 $as_echo "$ac_try_echo"; } >&5
3749 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3751 if test -s conftest.err; then
3753 ... rest of stderr output deleted ...
3754 10q' conftest.err >conftest.er1
3755 cat conftest.er1 >&5
3757 rm -f conftest.er1 conftest.err
3758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3759 test $ac_status = 0; }
3762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763 /* end confdefs.h. */
3773 ac_clean_files_save=$ac_clean_files
3774 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3775 # Try to create an executable without -o first, disregard a.out.
3776 # It will help us diagnose broken compilers, and finding out an intuition
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3779 $as_echo_n "checking whether the C compiler works... " >&6; }
3780 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3782 # The possible output files:
3783 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3786 for ac_file in $ac_files
3789 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3790 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3795 if { { ac_try="$ac_link_default"
3797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798 *) ac_try_echo=$ac_try;;
3800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3801 $as_echo "$ac_try_echo"; } >&5
3802 (eval "$ac_link_default") 2>&5
3804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3805 test $ac_status = 0; }; then :
3806 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3807 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3808 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3809 # so that the user can short-circuit this test for compilers unknown to
3811 for ac_file in $ac_files ''
3813 test -f "$ac_file" || continue
3815 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3818 # We found the default executable, but exeext='' is most
3822 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3824 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3826 # We set ac_cv_exeext here because the later test for it is not
3827 # safe: cross compilers may not add the suffix if given an `-o'
3828 # argument, so we may need to know it at that point already.
3829 # Even if this section looks crufty: it has the advantage of
3836 test "$ac_cv_exeext" = no && ac_cv_exeext=
3841 if test -z "$ac_file"; then :
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3844 $as_echo "$as_me: failed program was:" >&5
3845 sed 's/^/| /' conftest.$ac_ext >&5
3847 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3849 as_fn_error 77 "C compiler cannot create executables
3850 See \`config.log' for more details" "$LINENO" 5; }
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3853 $as_echo "yes" >&6; }
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3856 $as_echo_n "checking for C compiler default output file name... " >&6; }
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3858 $as_echo "$ac_file" >&6; }
3859 ac_exeext=$ac_cv_exeext
3861 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3862 ac_clean_files=$ac_clean_files_save
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3864 $as_echo_n "checking for suffix of executables... " >&6; }
3865 if { { ac_try="$ac_link"
3867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3868 *) ac_try_echo=$ac_try;;
3870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3871 $as_echo "$ac_try_echo"; } >&5
3872 (eval "$ac_link") 2>&5
3874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3875 test $ac_status = 0; }; then :
3876 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3877 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3878 # work properly (i.e., refer to `conftest.exe'), while it won't with
3880 for ac_file in conftest.exe conftest conftest.*; do
3881 test -f "$ac_file" || continue
3883 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3884 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3892 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3893 See \`config.log' for more details" "$LINENO" 5; }
3895 rm -f conftest conftest$ac_cv_exeext
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3897 $as_echo "$ac_cv_exeext" >&6; }
3899 rm -f conftest.$ac_ext
3900 EXEEXT=$ac_cv_exeext
3902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h. */
3908 FILE *f = fopen ("conftest.out", "w");
3909 return ferror (f) || fclose (f) != 0;
3915 ac_clean_files="$ac_clean_files conftest.out"
3916 # Check that the compiler produces executables we can run. If not, either
3917 # the compiler is broken, or we cross compile.
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3919 $as_echo_n "checking whether we are cross compiling... " >&6; }
3920 if test "$cross_compiling" != yes; then
3921 { { ac_try="$ac_link"
3923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3924 *) ac_try_echo=$ac_try;;
3926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3927 $as_echo "$ac_try_echo"; } >&5
3928 (eval "$ac_link") 2>&5
3930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3931 test $ac_status = 0; }
3932 if { ac_try='./conftest$ac_cv_exeext'
3933 { { case "(($ac_try" in
3934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3935 *) ac_try_echo=$ac_try;;
3937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3938 $as_echo "$ac_try_echo"; } >&5
3939 (eval "$ac_try") 2>&5
3941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3942 test $ac_status = 0; }; }; then
3945 if test "$cross_compiling" = maybe; then
3948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3950 as_fn_error $? "cannot run C compiled programs.
3951 If you meant to cross compile, use \`--host'.
3952 See \`config.log' for more details" "$LINENO" 5; }
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3957 $as_echo "$cross_compiling" >&6; }
3959 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3960 ac_clean_files=$ac_clean_files_save
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3962 $as_echo_n "checking for suffix of object files... " >&6; }
3963 if ${ac_cv_objext+:} false; then :
3964 $as_echo_n "(cached) " >&6
3966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3977 rm -f conftest.o conftest.obj
3978 if { { ac_try="$ac_compile"
3980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981 *) ac_try_echo=$ac_try;;
3983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3984 $as_echo "$ac_try_echo"; } >&5
3985 (eval "$ac_compile") 2>&5
3987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3988 test $ac_status = 0; }; then :
3989 for ac_file in conftest.o conftest.obj conftest.*; do
3990 test -f "$ac_file" || continue;
3992 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3993 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3998 $as_echo "$as_me: failed program was:" >&5
3999 sed 's/^/| /' conftest.$ac_ext >&5
4001 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4003 as_fn_error $? "cannot compute suffix of object files: cannot compile
4004 See \`config.log' for more details" "$LINENO" 5; }
4006 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4009 $as_echo "$ac_cv_objext" >&6; }
4010 OBJEXT=$ac_cv_objext
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4013 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4014 if ${ac_cv_c_compiler_gnu+:} false; then :
4015 $as_echo_n "(cached) " >&6
4017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4018 /* end confdefs.h. */
4031 if ac_fn_c_try_compile "$LINENO"; then :
4036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4037 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4041 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4042 if test $ac_compiler_gnu = yes; then
4047 ac_test_CFLAGS=${CFLAGS+set}
4048 ac_save_CFLAGS=$CFLAGS
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4050 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4051 if ${ac_cv_prog_cc_g+:} false; then :
4052 $as_echo_n "(cached) " >&6
4054 ac_save_c_werror_flag=$ac_c_werror_flag
4055 ac_c_werror_flag=yes
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4069 if ac_fn_c_try_compile "$LINENO"; then :
4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4084 if ac_fn_c_try_compile "$LINENO"; then :
4087 ac_c_werror_flag=$ac_save_c_werror_flag
4089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4090 /* end confdefs.h. */
4100 if ac_fn_c_try_compile "$LINENO"; then :
4103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4108 ac_c_werror_flag=$ac_save_c_werror_flag
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4111 $as_echo "$ac_cv_prog_cc_g" >&6; }
4112 if test "$ac_test_CFLAGS" = set; then
4113 CFLAGS=$ac_save_CFLAGS
4114 elif test $ac_cv_prog_cc_g = yes; then
4115 if test "$GCC" = yes; then
4121 if test "$GCC" = yes; then
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4128 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4129 if ${ac_cv_prog_cc_c89+:} false; then :
4130 $as_echo_n "(cached) " >&6
4132 ac_cv_prog_cc_c89=no
4134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h. */
4138 #include <sys/types.h>
4139 #include <sys/stat.h>
4140 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4141 struct buf { int x; };
4142 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4143 static char *e (p, i)
4149 static char *f (char * (*g) (char **, int), char **p, ...)
4154 s = g (p, va_arg (v,int));
4159 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4160 function prototypes and stuff, but not '\xHH' hex character constants.
4161 These don't provoke an error unfortunately, instead are silently treated
4162 as 'x'. The following induces an error, until -std is added to get
4163 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4164 array size at least. It's necessary to write '\x00'==0 to get something
4165 that's true only with -std. */
4166 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4168 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4169 inside strings and character constants. */
4171 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4173 int test (int i, double x);
4174 struct s1 {int (*f) (int a);};
4175 struct s2 {int (*f) (double a);};
4176 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4182 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4187 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4188 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4190 CC="$ac_save_CC $ac_arg"
4191 if ac_fn_c_try_compile "$LINENO"; then :
4192 ac_cv_prog_cc_c89=$ac_arg
4194 rm -f core conftest.err conftest.$ac_objext
4195 test "x$ac_cv_prog_cc_c89" != "xno" && break
4197 rm -f conftest.$ac_ext
4202 case "x$ac_cv_prog_cc_c89" in
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4205 $as_echo "none needed" >&6; } ;;
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4208 $as_echo "unsupported" >&6; } ;;
4210 CC="$CC $ac_cv_prog_cc_c89"
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4212 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4214 if test "x$ac_cv_prog_cc_c89" != xno; then :
4219 ac_cpp='$CPP $CPPFLAGS'
4220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4224 depcc="$CC" am_compiler_list=
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4227 $as_echo_n "checking dependency style of $depcc... " >&6; }
4228 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4229 $as_echo_n "(cached) " >&6
4231 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4232 # We make a subdir and do the tests there. Otherwise we can end up
4233 # making bogus files that we don't know about and never remove. For
4234 # instance it was reported that on HP-UX the gcc test will end up
4235 # making a dummy file named `D' -- because `-MD' means `put the output
4239 # Copy depcomp to subdir because otherwise we won't find it if we're
4240 # using a relative directory.
4241 cp "$am_depcomp" conftest.dir
4243 # We will build objects and dependencies in a subdirectory because
4244 # it helps to detect inapplicable dependency modes. For instance
4245 # both Tru64's cc and ICC support -MD to output dependencies as a
4246 # side effect of compilation, but ICC will put the dependencies in
4247 # the current directory while Tru64 will put them in the object
4251 am_cv_CC_dependencies_compiler_type=none
4252 if test "$am_compiler_list" = ""; then
4253 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4256 case " $depcc " in #(
4257 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4260 for depmode in $am_compiler_list; do
4261 # Setup a source with many dependencies, because some compilers
4262 # like to wrap large dependency lists on column 80 (with \), and
4263 # we should not choose a depcomp mode which is confused by this.
4265 # We need to recreate these files for each test, as the compiler may
4266 # overwrite some of them when testing with obscure command lines.
4267 # This happens at least with the AIX C compiler.
4269 for i in 1 2 3 4 5 6; do
4270 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4271 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4272 # Solaris 8's {/usr,}/bin/sh.
4273 touch sub/conftst$i.h
4275 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4277 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4278 # mode. It turns out that the SunPro C++ compiler does not properly
4279 # handle `-M -o', and we need to detect this. Also, some Intel
4280 # versions had trouble with output in subdirs
4281 am__obj=sub/conftest.${OBJEXT-o}
4282 am__minus_obj="-o $am__obj"
4285 # This depmode causes a compiler race in universal mode.
4286 test "$am__universal" = false || continue
4289 # after this tag, mechanisms are not by side-effect, so they'll
4290 # only be used when explicitly requested
4291 if test "x$enable_dependency_tracking" = xyes; then
4297 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4298 # This compiler won't grok `-c -o', but also, the minuso test has
4299 # not run yet. These depmodes are late enough in the game, and
4300 # so weak that their functioning should not be impacted.
4301 am__obj=conftest.${OBJEXT-o}
4306 if depmode=$depmode \
4307 source=sub/conftest.c object=$am__obj \
4308 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4309 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4310 >/dev/null 2>conftest.err &&
4311 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4312 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4313 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4314 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4315 # icc doesn't choke on unknown options, it will just issue warnings
4316 # or remarks (even with -Werror). So we grep stderr for any message
4317 # that says an option was ignored or not supported.
4318 # When given -MP, icc 7.0 and 7.1 complain thusly:
4319 # icc: Command line warning: ignoring option '-M'; no argument required
4320 # The diagnosis changed in icc 8.0:
4321 # icc: Command line remark: option '-MP' not supported
4322 if (grep 'ignoring option' conftest.err ||
4323 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4324 am_cv_CC_dependencies_compiler_type=$depmode
4333 am_cv_CC_dependencies_compiler_type=none
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4338 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4339 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4342 test "x$enable_dependency_tracking" != xno \
4343 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4345 am__fastdepCC_FALSE='#'
4347 am__fastdepCC_TRUE='#'
4348 am__fastdepCC_FALSE=
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4353 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4354 if ${ac_cv_path_SED+:} false; then :
4355 $as_echo_n "(cached) " >&6
4357 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4358 for ac_i in 1 2 3 4 5 6 7; do
4359 ac_script="$ac_script$as_nl$ac_script"
4361 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4362 { ac_script=; unset ac_script;}
4363 if test -z "$SED"; then
4364 ac_path_SED_found=false
4365 # Loop through the user's path and test for each of PROGNAME-LIST
4366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4370 test -z "$as_dir" && as_dir=.
4371 for ac_prog in sed gsed; do
4372 for ac_exec_ext in '' $ac_executable_extensions; do
4373 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4374 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4375 # Check for GNU ac_path_SED and select it if it is found.
4376 # Check for GNU $ac_path_SED
4377 case `"$ac_path_SED" --version 2>&1` in
4379 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4382 $as_echo_n 0123456789 >"conftest.in"
4385 cat "conftest.in" "conftest.in" >"conftest.tmp"
4386 mv "conftest.tmp" "conftest.in"
4387 cp "conftest.in" "conftest.nl"
4388 $as_echo '' >> "conftest.nl"
4389 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4390 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4391 as_fn_arith $ac_count + 1 && ac_count=$as_val
4392 if test $ac_count -gt ${ac_path_SED_max-0}; then
4393 # Best one so far, save it but keep looking for a better one
4394 ac_cv_path_SED="$ac_path_SED"
4395 ac_path_SED_max=$ac_count
4397 # 10*(2^10) chars as input seems more than enough
4398 test $ac_count -gt 10 && break
4400 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4403 $ac_path_SED_found && break 3
4408 if test -z "$ac_cv_path_SED"; then
4409 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4417 $as_echo "$ac_cv_path_SED" >&6; }
4418 SED="$ac_cv_path_SED"
4421 test -z "$SED" && SED=sed
4422 Xsed="$SED -e 1s/^X//"
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4435 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4436 if ${ac_cv_path_GREP+:} false; then :
4437 $as_echo_n "(cached) " >&6
4439 if test -z "$GREP"; then
4440 ac_path_GREP_found=false
4441 # Loop through the user's path and test for each of PROGNAME-LIST
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4446 test -z "$as_dir" && as_dir=.
4447 for ac_prog in grep ggrep; do
4448 for ac_exec_ext in '' $ac_executable_extensions; do
4449 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4450 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4451 # Check for GNU ac_path_GREP and select it if it is found.
4452 # Check for GNU $ac_path_GREP
4453 case `"$ac_path_GREP" --version 2>&1` in
4455 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4458 $as_echo_n 0123456789 >"conftest.in"
4461 cat "conftest.in" "conftest.in" >"conftest.tmp"
4462 mv "conftest.tmp" "conftest.in"
4463 cp "conftest.in" "conftest.nl"
4464 $as_echo 'GREP' >> "conftest.nl"
4465 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4466 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4467 as_fn_arith $ac_count + 1 && ac_count=$as_val
4468 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4469 # Best one so far, save it but keep looking for a better one
4470 ac_cv_path_GREP="$ac_path_GREP"
4471 ac_path_GREP_max=$ac_count
4473 # 10*(2^10) chars as input seems more than enough
4474 test $ac_count -gt 10 && break
4476 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4479 $ac_path_GREP_found && break 3
4484 if test -z "$ac_cv_path_GREP"; then
4485 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4488 ac_cv_path_GREP=$GREP
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4493 $as_echo "$ac_cv_path_GREP" >&6; }
4494 GREP="$ac_cv_path_GREP"
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4498 $as_echo_n "checking for egrep... " >&6; }
4499 if ${ac_cv_path_EGREP+:} false; then :
4500 $as_echo_n "(cached) " >&6
4502 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4503 then ac_cv_path_EGREP="$GREP -E"
4505 if test -z "$EGREP"; then
4506 ac_path_EGREP_found=false
4507 # Loop through the user's path and test for each of PROGNAME-LIST
4508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4509 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4512 test -z "$as_dir" && as_dir=.
4513 for ac_prog in egrep; do
4514 for ac_exec_ext in '' $ac_executable_extensions; do
4515 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4516 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4517 # Check for GNU ac_path_EGREP and select it if it is found.
4518 # Check for GNU $ac_path_EGREP
4519 case `"$ac_path_EGREP" --version 2>&1` in
4521 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4524 $as_echo_n 0123456789 >"conftest.in"
4527 cat "conftest.in" "conftest.in" >"conftest.tmp"
4528 mv "conftest.tmp" "conftest.in"
4529 cp "conftest.in" "conftest.nl"
4530 $as_echo 'EGREP' >> "conftest.nl"
4531 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4532 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4533 as_fn_arith $ac_count + 1 && ac_count=$as_val
4534 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4535 # Best one so far, save it but keep looking for a better one
4536 ac_cv_path_EGREP="$ac_path_EGREP"
4537 ac_path_EGREP_max=$ac_count
4539 # 10*(2^10) chars as input seems more than enough
4540 test $ac_count -gt 10 && break
4542 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4545 $ac_path_EGREP_found && break 3
4550 if test -z "$ac_cv_path_EGREP"; then
4551 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4554 ac_cv_path_EGREP=$EGREP
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4560 $as_echo "$ac_cv_path_EGREP" >&6; }
4561 EGREP="$ac_cv_path_EGREP"
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4565 $as_echo_n "checking for fgrep... " >&6; }
4566 if ${ac_cv_path_FGREP+:} false; then :
4567 $as_echo_n "(cached) " >&6
4569 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4570 then ac_cv_path_FGREP="$GREP -F"
4572 if test -z "$FGREP"; then
4573 ac_path_FGREP_found=false
4574 # Loop through the user's path and test for each of PROGNAME-LIST
4575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4579 test -z "$as_dir" && as_dir=.
4580 for ac_prog in fgrep; do
4581 for ac_exec_ext in '' $ac_executable_extensions; do
4582 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4583 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4584 # Check for GNU ac_path_FGREP and select it if it is found.
4585 # Check for GNU $ac_path_FGREP
4586 case `"$ac_path_FGREP" --version 2>&1` in
4588 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4591 $as_echo_n 0123456789 >"conftest.in"
4594 cat "conftest.in" "conftest.in" >"conftest.tmp"
4595 mv "conftest.tmp" "conftest.in"
4596 cp "conftest.in" "conftest.nl"
4597 $as_echo 'FGREP' >> "conftest.nl"
4598 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4599 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4600 as_fn_arith $ac_count + 1 && ac_count=$as_val
4601 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4602 # Best one so far, save it but keep looking for a better one
4603 ac_cv_path_FGREP="$ac_path_FGREP"
4604 ac_path_FGREP_max=$ac_count
4606 # 10*(2^10) chars as input seems more than enough
4607 test $ac_count -gt 10 && break
4609 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4612 $ac_path_FGREP_found && break 3
4617 if test -z "$ac_cv_path_FGREP"; then
4618 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4621 ac_cv_path_FGREP=$FGREP
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4627 $as_echo "$ac_cv_path_FGREP" >&6; }
4628 FGREP="$ac_cv_path_FGREP"
4631 test -z "$GREP" && GREP=grep
4651 # Check whether --with-gnu-ld was given.
4652 if test "${with_gnu_ld+set}" = set; then :
4653 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4659 if test "$GCC" = yes; then
4660 # Check if gcc -print-prog-name=ld gives a path.
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4662 $as_echo_n "checking for ld used by $CC... " >&6; }
4665 # gcc leaves a trailing carriage return which upsets mingw
4666 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4668 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4671 # Accept absolute paths.
4673 re_direlt='/[^/][^/]*/\.\./'
4674 # Canonicalize the pathname of ld
4675 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4676 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4677 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4679 test -z "$LD" && LD="$ac_prog"
4682 # If it fails, then pretend we aren't using GCC.
4686 # If it is relative, then search for the first ld in PATH.
4690 elif test "$with_gnu_ld" = yes; then
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4692 $as_echo_n "checking for GNU ld... " >&6; }
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4695 $as_echo_n "checking for non-GNU ld... " >&6; }
4697 if ${lt_cv_path_LD+:} false; then :
4698 $as_echo_n "(cached) " >&6
4700 if test -z "$LD"; then
4701 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4702 for ac_dir in $PATH; do
4704 test -z "$ac_dir" && ac_dir=.
4705 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4706 lt_cv_path_LD="$ac_dir/$ac_prog"
4707 # Check to see if the program is GNU ld. I'd rather use --version,
4708 # but apparently some variants of GNU ld only accept -v.
4709 # Break only if it was the GNU/non-GNU ld that we prefer.
4710 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4711 *GNU* | *'with BFD'*)
4712 test "$with_gnu_ld" != no && break
4715 test "$with_gnu_ld" != yes && break
4722 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4727 if test -n "$LD"; then
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4729 $as_echo "$LD" >&6; }
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4732 $as_echo "no" >&6; }
4734 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4736 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4737 if ${lt_cv_prog_gnu_ld+:} false; then :
4738 $as_echo_n "(cached) " >&6
4740 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4741 case `$LD -v 2>&1 </dev/null` in
4742 *GNU* | *'with BFD'*)
4743 lt_cv_prog_gnu_ld=yes
4746 lt_cv_prog_gnu_ld=no
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4751 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4752 with_gnu_ld=$lt_cv_prog_gnu_ld
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4763 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4764 if ${lt_cv_path_NM+:} false; then :
4765 $as_echo_n "(cached) " >&6
4767 if test -n "$NM"; then
4768 # Let the user override the test.
4771 lt_nm_to_check="${ac_tool_prefix}nm"
4772 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4773 lt_nm_to_check="$lt_nm_to_check nm"
4775 for lt_tmp_nm in $lt_nm_to_check; do
4776 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4777 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4779 test -z "$ac_dir" && ac_dir=.
4780 tmp_nm="$ac_dir/$lt_tmp_nm"
4781 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4782 # Check to see if the nm accepts a BSD-compat flag.
4783 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4784 # nm: unknown option "B" ignored
4785 # Tru64's nm complains that /dev/null is an invalid object file
4786 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4787 */dev/null* | *'Invalid file or object type'*)
4788 lt_cv_path_NM="$tmp_nm -B"
4792 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4794 lt_cv_path_NM="$tmp_nm -p"
4798 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4799 continue # so that we can try to find one that supports BSD flags
4808 : ${lt_cv_path_NM=no}
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4812 $as_echo "$lt_cv_path_NM" >&6; }
4813 if test "$lt_cv_path_NM" != "no"; then
4816 # Didn't find any BSD compatible name lister, look for dumpbin.
4817 if test -n "$DUMPBIN"; then :
4818 # Let the user override the test.
4820 if test -n "$ac_tool_prefix"; then
4821 for ac_prog in dumpbin "link -dump"
4823 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4824 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4826 $as_echo_n "checking for $ac_word... " >&6; }
4827 if ${ac_cv_prog_DUMPBIN+:} false; then :
4828 $as_echo_n "(cached) " >&6
4830 if test -n "$DUMPBIN"; then
4831 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837 test -z "$as_dir" && as_dir=.
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4840 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4850 DUMPBIN=$ac_cv_prog_DUMPBIN
4851 if test -n "$DUMPBIN"; then
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4853 $as_echo "$DUMPBIN" >&6; }
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 $as_echo "no" >&6; }
4860 test -n "$DUMPBIN" && break
4863 if test -z "$DUMPBIN"; then
4864 ac_ct_DUMPBIN=$DUMPBIN
4865 for ac_prog in dumpbin "link -dump"
4867 # Extract the first word of "$ac_prog", so it can be a program name with args.
4868 set dummy $ac_prog; ac_word=$2
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4870 $as_echo_n "checking for $ac_word... " >&6; }
4871 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4872 $as_echo_n "(cached) " >&6
4874 if test -n "$ac_ct_DUMPBIN"; then
4875 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4881 test -z "$as_dir" && as_dir=.
4882 for ac_exec_ext in '' $ac_executable_extensions; do
4883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4884 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4894 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4895 if test -n "$ac_ct_DUMPBIN"; then
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4897 $as_echo "$ac_ct_DUMPBIN" >&6; }
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4900 $as_echo "no" >&6; }
4904 test -n "$ac_ct_DUMPBIN" && break
4907 if test "x$ac_ct_DUMPBIN" = x; then
4910 case $cross_compiling:$ac_tool_warned in
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4914 ac_tool_warned=yes ;;
4916 DUMPBIN=$ac_ct_DUMPBIN
4920 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4922 DUMPBIN="$DUMPBIN -symbols"
4930 if test "$DUMPBIN" != ":"; then
4934 test -z "$NM" && NM=nm
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4942 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4943 if ${lt_cv_nm_interface+:} false; then :
4944 $as_echo_n "(cached) " >&6
4946 lt_cv_nm_interface="BSD nm"
4947 echo "int some_variable = 0;" > conftest.$ac_ext
4948 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4949 (eval "$ac_compile" 2>conftest.err)
4950 cat conftest.err >&5
4951 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4952 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4953 cat conftest.err >&5
4954 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4955 cat conftest.out >&5
4956 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4957 lt_cv_nm_interface="MS dumpbin"
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4962 $as_echo "$lt_cv_nm_interface" >&6; }
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4965 $as_echo_n "checking whether ln -s works... " >&6; }
4967 if test "$LN_S" = "ln -s"; then
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4969 $as_echo "yes" >&6; }
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4972 $as_echo "no, using $LN_S" >&6; }
4975 # find the maximum length of command line arguments
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4977 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4978 if ${lt_cv_sys_max_cmd_len+:} false; then :
4979 $as_echo_n "(cached) " >&6
4986 # On DJGPP, this test can blow up pretty badly due to problems in libc
4987 # (any single argument exceeding 2000 bytes causes a buffer overrun
4988 # during glob expansion). Even if it were fixed, the result of this
4989 # check would be larger than it should be.
4990 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4994 # Under GNU Hurd, this test is not required because there is
4995 # no limit to the length of command line arguments.
4996 # Libtool will interpret -1 as no limit whatsoever
4997 lt_cv_sys_max_cmd_len=-1;
5000 cygwin* | mingw* | cegcc*)
5001 # On Win9x/ME, this test blows up -- it succeeds, but takes
5002 # about 5 minutes as the teststring grows exponentially.
5003 # Worse, since 9x/ME are not pre-emptively multitasking,
5004 # you end up with a "frozen" computer, even though with patience
5005 # the test eventually succeeds (with a max line length of 256k).
5006 # Instead, let's just punt: use the minimum linelength reported by
5007 # all of the supported platforms: 8192 (on NT/2K/XP).
5008 lt_cv_sys_max_cmd_len=8192;
5012 # On MiNT this can take a long time and run out of memory.
5013 lt_cv_sys_max_cmd_len=8192;
5017 # On AmigaOS with pdksh, this test takes hours, literally.
5018 # So we just punt and use a minimum line length of 8192.
5019 lt_cv_sys_max_cmd_len=8192;
5022 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5023 # This has been around since 386BSD, at least. Likely further.
5024 if test -x /sbin/sysctl; then
5025 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5026 elif test -x /usr/sbin/sysctl; then
5027 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5029 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5031 # And add a safety zone
5032 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5033 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5037 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5038 lt_cv_sys_max_cmd_len=196608
5042 # The test takes a long time on OS/2.
5043 lt_cv_sys_max_cmd_len=8192
5047 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5048 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5049 # nice to cause kernel panics so lets avoid the loop below.
5050 # First set a reasonable default.
5051 lt_cv_sys_max_cmd_len=16384
5053 if test -x /sbin/sysconfig; then
5054 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5055 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5060 lt_cv_sys_max_cmd_len=102400
5062 sysv5* | sco5v6* | sysv4.2uw2*)
5063 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5064 if test -n "$kargmax"; then
5065 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5067 lt_cv_sys_max_cmd_len=32768
5071 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5072 if test -n "$lt_cv_sys_max_cmd_len"; then
5073 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5074 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5076 # Make teststring a little bigger before we do anything with it.
5077 # a 1K string should be a reasonable start.
5078 for i in 1 2 3 4 5 6 7 8 ; do
5079 teststring=$teststring$teststring
5081 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5082 # If test is not a shell built-in, we'll probably end up computing a
5083 # maximum length that is only half of the actual maximum length, but
5085 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5086 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5087 test $i != 17 # 1/2 MB should be enough
5090 teststring=$teststring$teststring
5092 # Only check the string length outside the loop.
5093 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5095 # Add a significant safety factor because C++ compilers can tack on
5096 # massive amounts of additional arguments before passing them to the
5097 # linker. It appears as though 1/2 is a usable value.
5098 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5105 if test -n $lt_cv_sys_max_cmd_len ; then
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5107 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5110 $as_echo "none" >&6; }
5112 max_cmd_len=$lt_cv_sys_max_cmd_len
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5124 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5125 # Try some XSI features
5128 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5130 && eval 'test $(( 1 + 1 )) -eq 2 \
5131 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5134 $as_echo "$xsi_shell" >&6; }
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5138 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5140 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5142 && lt_shell_append=yes
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5144 $as_echo "$lt_shell_append" >&6; }
5147 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5157 # test EBCDIC or ASCII
5158 case `echo X|tr X '\101'` in
5159 A) # ASCII based system
5160 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5161 lt_SP2NL='tr \040 \012'
5162 lt_NL2SP='tr \015\012 \040\040'
5164 *) # EBCDIC based system
5165 lt_SP2NL='tr \100 \n'
5166 lt_NL2SP='tr \r\n \100\100'
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5179 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5180 if ${lt_cv_to_host_file_cmd+:} false; then :
5181 $as_echo_n "(cached) " >&6
5186 *-*-mingw* ) # actually msys
5187 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5190 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5192 * ) # otherwise, assume *nix
5193 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5199 *-*-mingw* ) # actually msys
5200 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5203 lt_cv_to_host_file_cmd=func_convert_file_noop
5205 * ) # otherwise, assume *nix
5206 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5210 * ) # unhandled hosts (and "normal" native builds)
5211 lt_cv_to_host_file_cmd=func_convert_file_noop
5217 to_host_file_cmd=$lt_cv_to_host_file_cmd
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5219 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5226 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5227 if ${lt_cv_to_tool_file_cmd+:} false; then :
5228 $as_echo_n "(cached) " >&6
5230 #assume ordinary cross tools, or native build.
5231 lt_cv_to_tool_file_cmd=func_convert_file_noop
5235 *-*-mingw* ) # actually msys
5236 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5244 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5246 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5253 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5254 if ${lt_cv_ld_reload_flag+:} false; then :
5255 $as_echo_n "(cached) " >&6
5257 lt_cv_ld_reload_flag='-r'
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5260 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5261 reload_flag=$lt_cv_ld_reload_flag
5262 case $reload_flag in
5264 *) reload_flag=" $reload_flag" ;;
5266 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5268 cygwin* | mingw* | pw32* | cegcc*)
5269 if test "$GCC" != yes; then
5274 if test "$GCC" = yes; then
5275 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5277 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5290 if test -n "$ac_tool_prefix"; then
5291 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5292 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5294 $as_echo_n "checking for $ac_word... " >&6; }
5295 if ${ac_cv_prog_OBJDUMP+:} false; then :
5296 $as_echo_n "(cached) " >&6
5298 if test -n "$OBJDUMP"; then
5299 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5305 test -z "$as_dir" && as_dir=.
5306 for ac_exec_ext in '' $ac_executable_extensions; do
5307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5308 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5318 OBJDUMP=$ac_cv_prog_OBJDUMP
5319 if test -n "$OBJDUMP"; then
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5321 $as_echo "$OBJDUMP" >&6; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5324 $as_echo "no" >&6; }
5329 if test -z "$ac_cv_prog_OBJDUMP"; then
5330 ac_ct_OBJDUMP=$OBJDUMP
5331 # Extract the first word of "objdump", so it can be a program name with args.
5332 set dummy objdump; ac_word=$2
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5334 $as_echo_n "checking for $ac_word... " >&6; }
5335 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5336 $as_echo_n "(cached) " >&6
5338 if test -n "$ac_ct_OBJDUMP"; then
5339 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5345 test -z "$as_dir" && as_dir=.
5346 for ac_exec_ext in '' $ac_executable_extensions; do
5347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5348 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5358 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5359 if test -n "$ac_ct_OBJDUMP"; then
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5361 $as_echo "$ac_ct_OBJDUMP" >&6; }
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5364 $as_echo "no" >&6; }
5367 if test "x$ac_ct_OBJDUMP" = x; then
5370 case $cross_compiling:$ac_tool_warned in
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5374 ac_tool_warned=yes ;;
5376 OBJDUMP=$ac_ct_OBJDUMP
5379 OBJDUMP="$ac_cv_prog_OBJDUMP"
5382 test -z "$OBJDUMP" && OBJDUMP=objdump
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5390 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5391 if ${lt_cv_deplibs_check_method+:} false; then :
5392 $as_echo_n "(cached) " >&6
5394 lt_cv_file_magic_cmd='$MAGIC_CMD'
5395 lt_cv_file_magic_test_file=
5396 lt_cv_deplibs_check_method='unknown'
5397 # Need to set the preceding variable on all platforms that support
5398 # interlibrary dependencies.
5399 # 'none' -- dependencies not supported.
5400 # `unknown' -- same as none, but documents that we really don't know.
5401 # 'pass_all' -- all dependencies passed with no checks.
5402 # 'test_compile' -- check by making test program.
5403 # 'file_magic [[regex]]' -- check by looking for files in library path
5404 # which responds to the $file_magic_cmd with a given extended regex.
5405 # If you have `file' or equivalent on your system and you're not sure
5406 # whether `pass_all' will *always* work, you probably want this one.
5410 lt_cv_deplibs_check_method=pass_all
5414 lt_cv_deplibs_check_method=pass_all
5418 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5419 lt_cv_file_magic_cmd='/usr/bin/file -L'
5420 lt_cv_file_magic_test_file=/shlib/libc.so
5424 # func_win32_libid is a shell function defined in ltmain.sh
5425 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5426 lt_cv_file_magic_cmd='func_win32_libid'
5430 # Base MSYS/MinGW do not provide the 'file' command needed by
5431 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5432 # unless we find 'file', for example because we are cross-compiling.
5433 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5434 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5435 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5436 lt_cv_file_magic_cmd='func_win32_libid'
5438 # Keep this pattern in sync with the one in func_win32_libid.
5439 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5440 lt_cv_file_magic_cmd='$OBJDUMP -f'
5445 # use the weaker test based on 'objdump'. See mingw*.
5446 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5447 lt_cv_file_magic_cmd='$OBJDUMP -f'
5450 darwin* | rhapsody*)
5451 lt_cv_deplibs_check_method=pass_all
5454 freebsd* | dragonfly*)
5455 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5458 # Not sure whether the presence of OpenBSD here was a mistake.
5459 # Let's accept both of them until this is cleared up.
5460 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5461 lt_cv_file_magic_cmd=/usr/bin/file
5462 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5466 lt_cv_deplibs_check_method=pass_all
5471 lt_cv_deplibs_check_method=pass_all
5475 lt_cv_deplibs_check_method=pass_all
5478 hpux10.20* | hpux11*)
5479 lt_cv_file_magic_cmd=/usr/bin/file
5482 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5483 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5486 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]'
5487 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5490 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5491 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5497 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5498 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5501 irix5* | irix6* | nonstopux*)
5503 *-32|*"-32 ") libmagic=32-bit;;
5504 *-n32|*"-n32 ") libmagic=N32;;
5505 *-64|*"-64 ") libmagic=64-bit;;
5506 *) libmagic=never-match;;
5508 lt_cv_deplibs_check_method=pass_all
5511 # This must be glibc/ELF.
5512 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5513 lt_cv_deplibs_check_method=pass_all
5516 netbsd* | netbsdelf*-gnu)
5517 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5518 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5520 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5525 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5526 lt_cv_file_magic_cmd=/usr/bin/file
5527 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5531 lt_cv_deplibs_check_method=pass_all
5535 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5536 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5538 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5542 osf3* | osf4* | osf5*)
5543 lt_cv_deplibs_check_method=pass_all
5547 lt_cv_deplibs_check_method=pass_all
5551 lt_cv_deplibs_check_method=pass_all
5554 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5555 lt_cv_deplibs_check_method=pass_all
5559 case $host_vendor in
5561 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]'
5562 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5565 lt_cv_deplibs_check_method=pass_all
5568 lt_cv_file_magic_cmd='/bin/file'
5569 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5572 lt_cv_file_magic_cmd='/bin/file'
5573 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5574 lt_cv_file_magic_test_file=/lib/libc.so
5577 lt_cv_deplibs_check_method=pass_all
5580 lt_cv_deplibs_check_method=pass_all
5586 lt_cv_deplibs_check_method=pass_all
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5592 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5596 if test "$build" = "$host"; then
5599 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5602 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5608 file_magic_cmd=$lt_cv_file_magic_cmd
5609 deplibs_check_method=$lt_cv_deplibs_check_method
5610 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5633 if test -n "$ac_tool_prefix"; then
5634 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5635 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5637 $as_echo_n "checking for $ac_word... " >&6; }
5638 if ${ac_cv_prog_DLLTOOL+:} false; then :
5639 $as_echo_n "(cached) " >&6
5641 if test -n "$DLLTOOL"; then
5642 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5648 test -z "$as_dir" && as_dir=.
5649 for ac_exec_ext in '' $ac_executable_extensions; do
5650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5651 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 DLLTOOL=$ac_cv_prog_DLLTOOL
5662 if test -n "$DLLTOOL"; then
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5664 $as_echo "$DLLTOOL" >&6; }
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5667 $as_echo "no" >&6; }
5672 if test -z "$ac_cv_prog_DLLTOOL"; then
5673 ac_ct_DLLTOOL=$DLLTOOL
5674 # Extract the first word of "dlltool", so it can be a program name with args.
5675 set dummy dlltool; ac_word=$2
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5677 $as_echo_n "checking for $ac_word... " >&6; }
5678 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5679 $as_echo_n "(cached) " >&6
5681 if test -n "$ac_ct_DLLTOOL"; then
5682 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5688 test -z "$as_dir" && as_dir=.
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5691 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5701 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5702 if test -n "$ac_ct_DLLTOOL"; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5704 $as_echo "$ac_ct_DLLTOOL" >&6; }
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5707 $as_echo "no" >&6; }
5710 if test "x$ac_ct_DLLTOOL" = x; then
5713 case $cross_compiling:$ac_tool_warned in
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5717 ac_tool_warned=yes ;;
5719 DLLTOOL=$ac_ct_DLLTOOL
5722 DLLTOOL="$ac_cv_prog_DLLTOOL"
5725 test -z "$DLLTOOL" && DLLTOOL=dlltool
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5734 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5735 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5736 $as_echo_n "(cached) " >&6
5738 lt_cv_sharedlib_from_linklib_cmd='unknown'
5741 cygwin* | mingw* | pw32* | cegcc*)
5742 # two different shell functions defined in ltmain.sh
5743 # decide which to use based on capabilities of $DLLTOOL
5744 case `$DLLTOOL --help 2>&1` in
5745 *--identify-strict*)
5746 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5749 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5754 # fallback: assume linklib IS sharedlib
5755 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5761 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5762 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5763 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5772 if test -n "$ac_tool_prefix"; then
5775 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5776 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5778 $as_echo_n "checking for $ac_word... " >&6; }
5779 if ${ac_cv_prog_AR+:} false; then :
5780 $as_echo_n "(cached) " >&6
5782 if test -n "$AR"; then
5783 ac_cv_prog_AR="$AR" # Let the user override the test.
5785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5789 test -z "$as_dir" && as_dir=.
5790 for ac_exec_ext in '' $ac_executable_extensions; do
5791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5792 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803 if test -n "$AR"; then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5805 $as_echo "$AR" >&6; }
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5808 $as_echo "no" >&6; }
5812 test -n "$AR" && break
5815 if test -z "$AR"; then
5819 # Extract the first word of "$ac_prog", so it can be a program name with args.
5820 set dummy $ac_prog; ac_word=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5824 $as_echo_n "(cached) " >&6
5826 if test -n "$ac_ct_AR"; then
5827 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5833 test -z "$as_dir" && as_dir=.
5834 for ac_exec_ext in '' $ac_executable_extensions; do
5835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5836 ac_cv_prog_ac_ct_AR="$ac_prog"
5837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5847 if test -n "$ac_ct_AR"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5849 $as_echo "$ac_ct_AR" >&6; }
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5856 test -n "$ac_ct_AR" && break
5859 if test "x$ac_ct_AR" = x; then
5862 case $cross_compiling:$ac_tool_warned in
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5866 ac_tool_warned=yes ;;
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5886 $as_echo_n "checking for archiver @FILE support... " >&6; }
5887 if ${lt_cv_ar_at_file+:} false; then :
5888 $as_echo_n "(cached) " >&6
5891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5892 /* end confdefs.h. */
5902 if ac_fn_c_try_compile "$LINENO"; then :
5903 echo conftest.$ac_objext > conftest.lst
5904 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5905 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5906 (eval $lt_ar_try) 2>&5
5908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5909 test $ac_status = 0; }
5910 if test "$ac_status" -eq 0; then
5911 # Ensure the archiver fails upon bogus file names.
5912 rm -f conftest.$ac_objext libconftest.a
5913 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5914 (eval $lt_ar_try) 2>&5
5916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5917 test $ac_status = 0; }
5918 if test "$ac_status" -ne 0; then
5922 rm -f conftest.* libconftest.a
5925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5929 $as_echo "$lt_cv_ar_at_file" >&6; }
5931 if test "x$lt_cv_ar_at_file" = xno; then
5934 archiver_list_spec=$lt_cv_ar_at_file
5943 if test -n "$ac_tool_prefix"; then
5944 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5945 set dummy ${ac_tool_prefix}strip; ac_word=$2
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5947 $as_echo_n "checking for $ac_word... " >&6; }
5948 if ${ac_cv_prog_STRIP+:} false; then :
5949 $as_echo_n "(cached) " >&6
5951 if test -n "$STRIP"; then
5952 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5958 test -z "$as_dir" && as_dir=.
5959 for ac_exec_ext in '' $ac_executable_extensions; do
5960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5961 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5971 STRIP=$ac_cv_prog_STRIP
5972 if test -n "$STRIP"; then
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5974 $as_echo "$STRIP" >&6; }
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5977 $as_echo "no" >&6; }
5982 if test -z "$ac_cv_prog_STRIP"; then
5984 # Extract the first word of "strip", so it can be a program name with args.
5985 set dummy strip; ac_word=$2
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5987 $as_echo_n "checking for $ac_word... " >&6; }
5988 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5989 $as_echo_n "(cached) " >&6
5991 if test -n "$ac_ct_STRIP"; then
5992 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5998 test -z "$as_dir" && as_dir=.
5999 for ac_exec_ext in '' $ac_executable_extensions; do
6000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6001 ac_cv_prog_ac_ct_STRIP="strip"
6002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6011 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6012 if test -n "$ac_ct_STRIP"; then
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6014 $as_echo "$ac_ct_STRIP" >&6; }
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6017 $as_echo "no" >&6; }
6020 if test "x$ac_ct_STRIP" = x; then
6023 case $cross_compiling:$ac_tool_warned in
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6027 ac_tool_warned=yes ;;
6032 STRIP="$ac_cv_prog_STRIP"
6035 test -z "$STRIP" && STRIP=:
6042 if test -n "$ac_tool_prefix"; then
6043 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6044 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6046 $as_echo_n "checking for $ac_word... " >&6; }
6047 if ${ac_cv_prog_RANLIB+:} false; then :
6048 $as_echo_n "(cached) " >&6
6050 if test -n "$RANLIB"; then
6051 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6057 test -z "$as_dir" && as_dir=.
6058 for ac_exec_ext in '' $ac_executable_extensions; do
6059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6060 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6070 RANLIB=$ac_cv_prog_RANLIB
6071 if test -n "$RANLIB"; then
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6073 $as_echo "$RANLIB" >&6; }
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6076 $as_echo "no" >&6; }
6081 if test -z "$ac_cv_prog_RANLIB"; then
6082 ac_ct_RANLIB=$RANLIB
6083 # Extract the first word of "ranlib", so it can be a program name with args.
6084 set dummy ranlib; ac_word=$2
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6086 $as_echo_n "checking for $ac_word... " >&6; }
6087 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6088 $as_echo_n "(cached) " >&6
6090 if test -n "$ac_ct_RANLIB"; then
6091 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6097 test -z "$as_dir" && as_dir=.
6098 for ac_exec_ext in '' $ac_executable_extensions; do
6099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6100 ac_cv_prog_ac_ct_RANLIB="ranlib"
6101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6110 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6111 if test -n "$ac_ct_RANLIB"; then
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6113 $as_echo "$ac_ct_RANLIB" >&6; }
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116 $as_echo "no" >&6; }
6119 if test "x$ac_ct_RANLIB" = x; then
6122 case $cross_compiling:$ac_tool_warned in
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6125 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6126 ac_tool_warned=yes ;;
6128 RANLIB=$ac_ct_RANLIB
6131 RANLIB="$ac_cv_prog_RANLIB"
6134 test -z "$RANLIB" && RANLIB=:
6141 # Determine commands to create old-style static archives.
6142 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6143 old_postinstall_cmds='chmod 644 $oldlib'
6144 old_postuninstall_cmds=
6146 if test -n "$RANLIB"; then
6149 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6152 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6155 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6160 lock_old_archive_extraction=yes ;;
6162 lock_old_archive_extraction=no ;;
6203 # If no C compiler was specified, use CC.
6206 # If no C compiler flags were specified, use CFLAGS.
6207 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6209 # Allow CC to be a program name with arguments.
6213 # Check for command to grab the raw symbol name followed by C symbol from nm.
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6215 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6216 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6217 $as_echo_n "(cached) " >&6
6220 # These are sane defaults that work on at least a few old systems.
6221 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6223 # Character class describing NM global symbol codes.
6224 symcode='[BCDEGRST]'
6226 # Regexp to match symbols that can be accessed directly from C.
6227 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6229 # Define system-specific variables.
6234 cygwin* | mingw* | pw32* | cegcc*)
6235 symcode='[ABCDGISTW]'
6238 if test "$host_cpu" = ia64; then
6239 symcode='[ABCDEGRST]'
6243 symcode='[BCDEGRST]'
6246 symcode='[BCDEGQRST]'
6257 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6265 # If we're using GNU nm, then use its standard symbol codes.
6266 case `$NM -V 2>&1` in
6267 *GNU* | *'with BFD'*)
6268 symcode='[ABCDGIRSTW]' ;;
6271 # Transform an extracted symbol line into a proper C declaration.
6272 # Some systems (esp. on ia64) link data and code symbols differently,
6273 # so use this general approach.
6274 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6276 # Transform an extracted symbol line into symbol name and symbol address
6277 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6278 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'"
6280 # Handle CRLF in mingw tool chain
6284 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6288 # Try without a prefix underscore, then with it.
6289 for ac_symprfx in "" "_"; do
6291 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6292 symxfrm="\\1 $ac_symprfx\\2 \\2"
6294 # Write the raw and C identifiers.
6295 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6296 # Fake it for dumpbin and say T for any non-static function
6297 # and D for any global variable.
6298 # Also find C++ and __fastcall symbols from MSVC++,
6299 # which start with @ or ?.
6300 lt_cv_sys_global_symbol_pipe="$AWK '"\
6301 " {last_section=section; section=\$ 3};"\
6302 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6303 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6304 " \$ 0!~/External *\|/{next};"\
6305 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6306 " {if(hide[section]) next};"\
6307 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6308 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6309 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6310 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6311 " ' prfx=^$ac_symprfx"
6313 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6315 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6317 # Check to see that the pipe works correctly.
6321 cat > conftest.$ac_ext <<_LT_EOF
6326 void nm_test_func(void);
6327 void nm_test_func(void){}
6331 int main(){nm_test_var='a';nm_test_func();return(0);}
6334 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6335 (eval $ac_compile) 2>&5
6337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6338 test $ac_status = 0; }; then
6339 # Now try to grab the symbols.
6341 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6342 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6345 test $ac_status = 0; } && test -s "$nlist"; then
6346 # Try sorting and uniquifying the output.
6347 if sort "$nlist" | uniq > "$nlist"T; then
6348 mv -f "$nlist"T "$nlist"
6353 # Make sure that we snagged all the symbols we need.
6354 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6355 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6356 cat <<_LT_EOF > conftest.$ac_ext
6357 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6358 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6359 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6360 relocations are performed -- see ld's documentation on pseudo-relocs. */
6361 # define LT_DLSYM_CONST
6362 #elif defined(__osf__)
6363 /* This system does not cope well with relocations in const data. */
6364 # define LT_DLSYM_CONST
6366 # define LT_DLSYM_CONST const
6374 # Now generate the symbol file.
6375 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6377 cat <<_LT_EOF >> conftest.$ac_ext
6379 /* The mapping between symbol names and symbols. */
6380 LT_DLSYM_CONST struct {
6384 lt__PROGRAM__LTX_preloaded_symbols[] =
6386 { "@PROGRAM@", (void *) 0 },
6388 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6389 cat <<\_LT_EOF >> conftest.$ac_ext
6393 /* This works around a problem in FreeBSD linker */
6394 #ifdef FREEBSD_WORKAROUND
6395 static const void *lt_preloaded_setup() {
6396 return lt__PROGRAM__LTX_preloaded_symbols;
6404 # Now try linking the two files.
6405 mv conftest.$ac_objext conftstm.$ac_objext
6406 lt_globsym_save_LIBS=$LIBS
6407 lt_globsym_save_CFLAGS=$CFLAGS
6408 LIBS="conftstm.$ac_objext"
6409 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6410 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6411 (eval $ac_link) 2>&5
6413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6414 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6417 LIBS=$lt_globsym_save_LIBS
6418 CFLAGS=$lt_globsym_save_CFLAGS
6420 echo "cannot find nm_test_func in $nlist" >&5
6423 echo "cannot find nm_test_var in $nlist" >&5
6426 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6429 echo "$progname: failed program was:" >&5
6430 cat conftest.$ac_ext >&5
6432 rm -rf conftest* conftst*
6434 # Do not use the global_symbol_pipe unless it works.
6435 if test "$pipe_works" = yes; then
6438 lt_cv_sys_global_symbol_pipe=
6444 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6445 lt_cv_sys_global_symbol_to_cdecl=
6447 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6449 $as_echo "failed" >&6; }
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6452 $as_echo "ok" >&6; }
6455 # Response file support.
6456 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6457 nm_file_list_spec='@'
6458 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6459 nm_file_list_spec='@'
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6489 $as_echo_n "checking for sysroot... " >&6; }
6491 # Check whether --with-sysroot was given.
6492 if test "${with_sysroot+set}" = set; then :
6493 withval=$with_sysroot;
6500 case ${with_sysroot} in #(
6502 if test "$GCC" = yes; then
6503 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6507 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6513 $as_echo "${with_sysroot}" >&6; }
6514 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6519 $as_echo "${lt_sysroot:-no}" >&6; }
6525 # Check whether --enable-libtool-lock was given.
6526 if test "${enable_libtool_lock+set}" = set; then :
6527 enableval=$enable_libtool_lock;
6530 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6532 # Some flags need to be propagated to the compiler or linker for good
6536 # Find out which ABI we are using.
6537 echo 'int i;' > conftest.$ac_ext
6538 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6539 (eval $ac_compile) 2>&5
6541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6542 test $ac_status = 0; }; then
6543 case `/usr/bin/file conftest.$ac_objext` in
6555 # Find out which ABI we are using.
6556 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6558 (eval $ac_compile) 2>&5
6560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6561 test $ac_status = 0; }; then
6562 if test "$lt_cv_prog_gnu_ld" = yes; then
6563 case `/usr/bin/file conftest.$ac_objext` in
6565 LD="${LD-ld} -melf32bsmip"
6568 LD="${LD-ld} -melf32bmipn32"
6571 LD="${LD-ld} -melf64bmip"
6575 case `/usr/bin/file conftest.$ac_objext` in
6591 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6592 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6593 # Find out which ABI we are using.
6594 echo 'int i;' > conftest.$ac_ext
6595 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6596 (eval $ac_compile) 2>&5
6598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6599 test $ac_status = 0; }; then
6600 case `/usr/bin/file conftest.o` in
6603 x86_64-*kfreebsd*-gnu)
6604 LD="${LD-ld} -m elf_i386_fbsd"
6607 LD="${LD-ld} -m elf_i386"
6609 ppc64-*linux*|powerpc64-*linux*)
6610 LD="${LD-ld} -m elf32ppclinux"
6613 LD="${LD-ld} -m elf_s390"
6616 LD="${LD-ld} -m elf32_sparc"
6622 x86_64-*kfreebsd*-gnu)
6623 LD="${LD-ld} -m elf_x86_64_fbsd"
6626 LD="${LD-ld} -m elf_x86_64"
6628 ppc*-*linux*|powerpc*-*linux*)
6629 LD="${LD-ld} -m elf64ppc"
6631 s390*-*linux*|s390*-*tpf*)
6632 LD="${LD-ld} -m elf64_s390"
6635 LD="${LD-ld} -m elf64_sparc"
6645 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6646 SAVE_CFLAGS="$CFLAGS"
6647 CFLAGS="$CFLAGS -belf"
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6649 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6650 if ${lt_cv_cc_needs_belf+:} false; then :
6651 $as_echo_n "(cached) " >&6
6654 ac_cpp='$CPP $CPPFLAGS'
6655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6660 /* end confdefs.h. */
6670 if ac_fn_c_try_link "$LINENO"; then :
6671 lt_cv_cc_needs_belf=yes
6673 lt_cv_cc_needs_belf=no
6675 rm -f core conftest.err conftest.$ac_objext \
6676 conftest$ac_exeext conftest.$ac_ext
6678 ac_cpp='$CPP $CPPFLAGS'
6679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6685 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6686 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6687 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6688 CFLAGS="$SAVE_CFLAGS"
6692 # Find out which ABI we are using.
6693 echo 'int i;' > conftest.$ac_ext
6694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6695 (eval $ac_compile) 2>&5
6697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6698 test $ac_status = 0; }; then
6699 case `/usr/bin/file conftest.o` in
6701 case $lt_cv_prog_gnu_ld in
6705 LD="${LD-ld} -m elf_x86_64"
6708 LD="${LD-ld} -m elf64_sparc"
6711 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6712 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6717 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6729 need_locks="$enable_libtool_lock"
6731 if test -n "$ac_tool_prefix"; then
6732 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6733 set dummy ${ac_tool_prefix}mt; ac_word=$2
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6735 $as_echo_n "checking for $ac_word... " >&6; }
6736 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6737 $as_echo_n "(cached) " >&6
6739 if test -n "$MANIFEST_TOOL"; then
6740 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6746 test -z "$as_dir" && as_dir=.
6747 for ac_exec_ext in '' $ac_executable_extensions; do
6748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6749 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6759 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6760 if test -n "$MANIFEST_TOOL"; then
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6762 $as_echo "$MANIFEST_TOOL" >&6; }
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6765 $as_echo "no" >&6; }
6770 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6771 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6772 # Extract the first word of "mt", so it can be a program name with args.
6773 set dummy mt; ac_word=$2
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6775 $as_echo_n "checking for $ac_word... " >&6; }
6776 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6777 $as_echo_n "(cached) " >&6
6779 if test -n "$ac_ct_MANIFEST_TOOL"; then
6780 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6786 test -z "$as_dir" && as_dir=.
6787 for ac_exec_ext in '' $ac_executable_extensions; do
6788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6789 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6799 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6800 if test -n "$ac_ct_MANIFEST_TOOL"; then
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6802 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6805 $as_echo "no" >&6; }
6808 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6811 case $cross_compiling:$ac_tool_warned in
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6815 ac_tool_warned=yes ;;
6817 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6820 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6823 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6825 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6826 if ${lt_cv_path_mainfest_tool+:} false; then :
6827 $as_echo_n "(cached) " >&6
6829 lt_cv_path_mainfest_tool=no
6830 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6831 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6832 cat conftest.err >&5
6833 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6834 lt_cv_path_mainfest_tool=yes
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6839 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6840 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6850 rhapsody* | darwin*)
6851 if test -n "$ac_tool_prefix"; then
6852 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6853 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6855 $as_echo_n "checking for $ac_word... " >&6; }
6856 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6857 $as_echo_n "(cached) " >&6
6859 if test -n "$DSYMUTIL"; then
6860 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6866 test -z "$as_dir" && as_dir=.
6867 for ac_exec_ext in '' $ac_executable_extensions; do
6868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6869 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6879 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6880 if test -n "$DSYMUTIL"; then
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6882 $as_echo "$DSYMUTIL" >&6; }
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885 $as_echo "no" >&6; }
6890 if test -z "$ac_cv_prog_DSYMUTIL"; then
6891 ac_ct_DSYMUTIL=$DSYMUTIL
6892 # Extract the first word of "dsymutil", so it can be a program name with args.
6893 set dummy dsymutil; ac_word=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6895 $as_echo_n "checking for $ac_word... " >&6; }
6896 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6897 $as_echo_n "(cached) " >&6
6899 if test -n "$ac_ct_DSYMUTIL"; then
6900 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 test -z "$as_dir" && as_dir=.
6907 for ac_exec_ext in '' $ac_executable_extensions; do
6908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6909 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6919 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6920 if test -n "$ac_ct_DSYMUTIL"; then
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6922 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6925 $as_echo "no" >&6; }
6928 if test "x$ac_ct_DSYMUTIL" = x; then
6931 case $cross_compiling:$ac_tool_warned in
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6935 ac_tool_warned=yes ;;
6937 DSYMUTIL=$ac_ct_DSYMUTIL
6940 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6943 if test -n "$ac_tool_prefix"; then
6944 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6945 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947 $as_echo_n "checking for $ac_word... " >&6; }
6948 if ${ac_cv_prog_NMEDIT+:} false; then :
6949 $as_echo_n "(cached) " >&6
6951 if test -n "$NMEDIT"; then
6952 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6958 test -z "$as_dir" && as_dir=.
6959 for ac_exec_ext in '' $ac_executable_extensions; do
6960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6961 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6971 NMEDIT=$ac_cv_prog_NMEDIT
6972 if test -n "$NMEDIT"; then
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6974 $as_echo "$NMEDIT" >&6; }
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977 $as_echo "no" >&6; }
6982 if test -z "$ac_cv_prog_NMEDIT"; then
6983 ac_ct_NMEDIT=$NMEDIT
6984 # Extract the first word of "nmedit", so it can be a program name with args.
6985 set dummy nmedit; ac_word=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6987 $as_echo_n "checking for $ac_word... " >&6; }
6988 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6989 $as_echo_n "(cached) " >&6
6991 if test -n "$ac_ct_NMEDIT"; then
6992 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6998 test -z "$as_dir" && as_dir=.
6999 for ac_exec_ext in '' $ac_executable_extensions; do
7000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7001 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7011 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7012 if test -n "$ac_ct_NMEDIT"; then
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7014 $as_echo "$ac_ct_NMEDIT" >&6; }
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7017 $as_echo "no" >&6; }
7020 if test "x$ac_ct_NMEDIT" = x; then
7023 case $cross_compiling:$ac_tool_warned in
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7027 ac_tool_warned=yes ;;
7029 NMEDIT=$ac_ct_NMEDIT
7032 NMEDIT="$ac_cv_prog_NMEDIT"
7035 if test -n "$ac_tool_prefix"; then
7036 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7037 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039 $as_echo_n "checking for $ac_word... " >&6; }
7040 if ${ac_cv_prog_LIPO+:} false; then :
7041 $as_echo_n "(cached) " >&6
7043 if test -n "$LIPO"; then
7044 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7050 test -z "$as_dir" && as_dir=.
7051 for ac_exec_ext in '' $ac_executable_extensions; do
7052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7053 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7063 LIPO=$ac_cv_prog_LIPO
7064 if test -n "$LIPO"; then
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7066 $as_echo "$LIPO" >&6; }
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7069 $as_echo "no" >&6; }
7074 if test -z "$ac_cv_prog_LIPO"; then
7076 # Extract the first word of "lipo", so it can be a program name with args.
7077 set dummy lipo; ac_word=$2
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7079 $as_echo_n "checking for $ac_word... " >&6; }
7080 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7081 $as_echo_n "(cached) " >&6
7083 if test -n "$ac_ct_LIPO"; then
7084 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7090 test -z "$as_dir" && as_dir=.
7091 for ac_exec_ext in '' $ac_executable_extensions; do
7092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7093 ac_cv_prog_ac_ct_LIPO="lipo"
7094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7103 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7104 if test -n "$ac_ct_LIPO"; then
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7106 $as_echo "$ac_ct_LIPO" >&6; }
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7109 $as_echo "no" >&6; }
7112 if test "x$ac_ct_LIPO" = x; then
7115 case $cross_compiling:$ac_tool_warned in
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7119 ac_tool_warned=yes ;;
7124 LIPO="$ac_cv_prog_LIPO"
7127 if test -n "$ac_tool_prefix"; then
7128 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7129 set dummy ${ac_tool_prefix}otool; ac_word=$2
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7131 $as_echo_n "checking for $ac_word... " >&6; }
7132 if ${ac_cv_prog_OTOOL+:} false; then :
7133 $as_echo_n "(cached) " >&6
7135 if test -n "$OTOOL"; then
7136 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7142 test -z "$as_dir" && as_dir=.
7143 for ac_exec_ext in '' $ac_executable_extensions; do
7144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7145 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7155 OTOOL=$ac_cv_prog_OTOOL
7156 if test -n "$OTOOL"; then
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7158 $as_echo "$OTOOL" >&6; }
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7161 $as_echo "no" >&6; }
7166 if test -z "$ac_cv_prog_OTOOL"; then
7168 # Extract the first word of "otool", so it can be a program name with args.
7169 set dummy otool; ac_word=$2
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7171 $as_echo_n "checking for $ac_word... " >&6; }
7172 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7173 $as_echo_n "(cached) " >&6
7175 if test -n "$ac_ct_OTOOL"; then
7176 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7182 test -z "$as_dir" && as_dir=.
7183 for ac_exec_ext in '' $ac_executable_extensions; do
7184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7185 ac_cv_prog_ac_ct_OTOOL="otool"
7186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7195 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7196 if test -n "$ac_ct_OTOOL"; then
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7198 $as_echo "$ac_ct_OTOOL" >&6; }
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201 $as_echo "no" >&6; }
7204 if test "x$ac_ct_OTOOL" = x; then
7207 case $cross_compiling:$ac_tool_warned in
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7211 ac_tool_warned=yes ;;
7216 OTOOL="$ac_cv_prog_OTOOL"
7219 if test -n "$ac_tool_prefix"; then
7220 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7221 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7223 $as_echo_n "checking for $ac_word... " >&6; }
7224 if ${ac_cv_prog_OTOOL64+:} false; then :
7225 $as_echo_n "(cached) " >&6
7227 if test -n "$OTOOL64"; then
7228 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7234 test -z "$as_dir" && as_dir=.
7235 for ac_exec_ext in '' $ac_executable_extensions; do
7236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7237 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7247 OTOOL64=$ac_cv_prog_OTOOL64
7248 if test -n "$OTOOL64"; then
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7250 $as_echo "$OTOOL64" >&6; }
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7253 $as_echo "no" >&6; }
7258 if test -z "$ac_cv_prog_OTOOL64"; then
7259 ac_ct_OTOOL64=$OTOOL64
7260 # Extract the first word of "otool64", so it can be a program name with args.
7261 set dummy otool64; ac_word=$2
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263 $as_echo_n "checking for $ac_word... " >&6; }
7264 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7265 $as_echo_n "(cached) " >&6
7267 if test -n "$ac_ct_OTOOL64"; then
7268 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7274 test -z "$as_dir" && as_dir=.
7275 for ac_exec_ext in '' $ac_executable_extensions; do
7276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7277 ac_cv_prog_ac_ct_OTOOL64="otool64"
7278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7288 if test -n "$ac_ct_OTOOL64"; then
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7290 $as_echo "$ac_ct_OTOOL64" >&6; }
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7293 $as_echo "no" >&6; }
7296 if test "x$ac_ct_OTOOL64" = x; then
7299 case $cross_compiling:$ac_tool_warned in
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7303 ac_tool_warned=yes ;;
7305 OTOOL64=$ac_ct_OTOOL64
7308 OTOOL64="$ac_cv_prog_OTOOL64"
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7338 $as_echo_n "checking for -single_module linker flag... " >&6; }
7339 if ${lt_cv_apple_cc_single_mod+:} false; then :
7340 $as_echo_n "(cached) " >&6
7342 lt_cv_apple_cc_single_mod=no
7343 if test -z "${LT_MULTI_MODULE}"; then
7344 # By default we will add the -single_module flag. You can override
7345 # by either setting the environment variable LT_MULTI_MODULE
7346 # non-empty at configure time, or by adding -multi_module to the
7348 rm -rf libconftest.dylib*
7349 echo "int foo(void){return 1;}" > conftest.c
7350 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7351 -dynamiclib -Wl,-single_module conftest.c" >&5
7352 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7353 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7355 # If there is a non-empty error log, and "single_module"
7356 # appears in it, assume the flag caused a linker warning
7357 if test -s conftest.err && $GREP single_module conftest.err; then
7358 cat conftest.err >&5
7359 # Otherwise, if the output was created with a 0 exit code from
7360 # the compiler, it worked.
7361 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7362 lt_cv_apple_cc_single_mod=yes
7364 cat conftest.err >&5
7366 rm -rf libconftest.dylib*
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7371 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7374 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7375 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7376 $as_echo_n "(cached) " >&6
7378 lt_cv_ld_exported_symbols_list=no
7379 save_LDFLAGS=$LDFLAGS
7380 echo "_main" > conftest.sym
7381 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7383 /* end confdefs.h. */
7393 if ac_fn_c_try_link "$LINENO"; then :
7394 lt_cv_ld_exported_symbols_list=yes
7396 lt_cv_ld_exported_symbols_list=no
7398 rm -f core conftest.err conftest.$ac_objext \
7399 conftest$ac_exeext conftest.$ac_ext
7400 LDFLAGS="$save_LDFLAGS"
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7404 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7407 $as_echo_n "checking for -force_load linker flag... " >&6; }
7408 if ${lt_cv_ld_force_load+:} false; then :
7409 $as_echo_n "(cached) " >&6
7411 lt_cv_ld_force_load=no
7412 cat > conftest.c << _LT_EOF
7413 int forced_loaded() { return 2;}
7415 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7416 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7417 echo "$AR cru libconftest.a conftest.o" >&5
7418 $AR cru libconftest.a conftest.o 2>&5
7419 echo "$RANLIB libconftest.a" >&5
7420 $RANLIB libconftest.a 2>&5
7421 cat > conftest.c << _LT_EOF
7422 int main() { return 0;}
7424 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7425 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7427 if test -s conftest.err && $GREP force_load conftest.err; then
7428 cat conftest.err >&5
7429 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7430 lt_cv_ld_force_load=yes
7432 cat conftest.err >&5
7434 rm -f conftest.err libconftest.a conftest conftest.c
7435 rm -rf conftest.dSYM
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7439 $as_echo "$lt_cv_ld_force_load" >&6; }
7441 rhapsody* | darwin1.[012])
7442 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7444 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7445 darwin*) # darwin 5.x on
7446 # if running on 10.5 or later, the deployment target defaults
7447 # to the OS version, if on x86, and 10.4, the deployment
7448 # target defaults to 10.4. Don't you love it?
7449 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7450 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7451 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7453 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7455 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7459 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7460 _lt_dar_single_mod='$single_module'
7462 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7463 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7465 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7467 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7468 _lt_dsymutil='~$DSYMUTIL $lib || :'
7476 ac_cpp='$CPP $CPPFLAGS'
7477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7481 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7482 # On Suns, sometimes $CPP names a directory.
7483 if test -n "$CPP" && test -d "$CPP"; then
7486 if test -z "$CPP"; then
7487 if ${ac_cv_prog_CPP+:} false; then :
7488 $as_echo_n "(cached) " >&6
7490 # Double quotes because CPP needs to be expanded
7491 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7494 for ac_c_preproc_warn_flag in '' yes
7496 # Use a header file that comes with gcc, so configuring glibc
7497 # with a fresh cross-compiler works.
7498 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7499 # <limits.h> exists even on freestanding compilers.
7500 # On the NeXT, cc -E runs the code through the compiler's parser,
7501 # not just through cpp. "Syntax error" is here to catch this case.
7502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h. */
7505 # include <limits.h>
7507 # include <assert.h>
7511 if ac_fn_c_try_cpp "$LINENO"; then :
7514 # Broken: fails on valid input.
7517 rm -f conftest.err conftest.i conftest.$ac_ext
7519 # OK, works on sane cases. Now check whether nonexistent headers
7520 # can be detected and how.
7521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7522 /* end confdefs.h. */
7523 #include <ac_nonexistent.h>
7525 if ac_fn_c_try_cpp "$LINENO"; then :
7526 # Broken: success on invalid input.
7529 # Passes both tests.
7533 rm -f conftest.err conftest.i conftest.$ac_ext
7536 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7537 rm -f conftest.i conftest.err conftest.$ac_ext
7538 if $ac_preproc_ok; then :
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7551 $as_echo "$CPP" >&6; }
7553 for ac_c_preproc_warn_flag in '' yes
7555 # Use a header file that comes with gcc, so configuring glibc
7556 # with a fresh cross-compiler works.
7557 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7558 # <limits.h> exists even on freestanding compilers.
7559 # On the NeXT, cc -E runs the code through the compiler's parser,
7560 # not just through cpp. "Syntax error" is here to catch this case.
7561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7562 /* end confdefs.h. */
7564 # include <limits.h>
7566 # include <assert.h>
7570 if ac_fn_c_try_cpp "$LINENO"; then :
7573 # Broken: fails on valid input.
7576 rm -f conftest.err conftest.i conftest.$ac_ext
7578 # OK, works on sane cases. Now check whether nonexistent headers
7579 # can be detected and how.
7580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7581 /* end confdefs.h. */
7582 #include <ac_nonexistent.h>
7584 if ac_fn_c_try_cpp "$LINENO"; then :
7585 # Broken: success on invalid input.
7588 # Passes both tests.
7592 rm -f conftest.err conftest.i conftest.$ac_ext
7595 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7596 rm -f conftest.i conftest.err conftest.$ac_ext
7597 if $ac_preproc_ok; then :
7600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7602 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7603 See \`config.log' for more details" "$LINENO" 5; }
7607 ac_cpp='$CPP $CPPFLAGS'
7608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7614 $as_echo_n "checking for ANSI C header files... " >&6; }
7615 if ${ac_cv_header_stdc+:} false; then :
7616 $as_echo_n "(cached) " >&6
7618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7619 /* end confdefs.h. */
7633 if ac_fn_c_try_compile "$LINENO"; then :
7634 ac_cv_header_stdc=yes
7636 ac_cv_header_stdc=no
7638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7640 if test $ac_cv_header_stdc = yes; then
7641 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7643 /* end confdefs.h. */
7647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7648 $EGREP "memchr" >/dev/null 2>&1; then :
7651 ac_cv_header_stdc=no
7657 if test $ac_cv_header_stdc = yes; then
7658 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7660 /* end confdefs.h. */
7664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7665 $EGREP "free" >/dev/null 2>&1; then :
7668 ac_cv_header_stdc=no
7674 if test $ac_cv_header_stdc = yes; then
7675 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7676 if test "$cross_compiling" = yes; then :
7679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7680 /* end confdefs.h. */
7683 #if ((' ' & 0x0FF) == 0x020)
7684 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7685 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7687 # define ISLOWER(c) \
7688 (('a' <= (c) && (c) <= 'i') \
7689 || ('j' <= (c) && (c) <= 'r') \
7690 || ('s' <= (c) && (c) <= 'z'))
7691 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7694 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7699 for (i = 0; i < 256; i++)
7700 if (XOR (islower (i), ISLOWER (i))
7701 || toupper (i) != TOUPPER (i))
7706 if ac_fn_c_try_run "$LINENO"; then :
7709 ac_cv_header_stdc=no
7711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7712 conftest.$ac_objext conftest.beam conftest.$ac_ext
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7718 $as_echo "$ac_cv_header_stdc" >&6; }
7719 if test $ac_cv_header_stdc = yes; then
7721 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7725 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7726 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7727 inttypes.h stdint.h unistd.h
7729 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7730 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7732 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7733 cat >>confdefs.h <<_ACEOF
7734 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7742 for ac_header in dlfcn.h
7744 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7746 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7747 cat >>confdefs.h <<_ACEOF
7748 #define HAVE_DLFCN_H 1
7767 # Check whether --enable-shared was given.
7768 if test "${enable_shared+set}" = set; then :
7769 enableval=$enable_shared; p=${PACKAGE-default}
7771 yes) enable_shared=yes ;;
7772 no) enable_shared=no ;;
7775 # Look at the argument we got. We use all the common list separators.
7776 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7777 for pkg in $enableval; do
7779 if test "X$pkg" = "X$p"; then
7798 # Check whether --enable-static was given.
7799 if test "${enable_static+set}" = set; then :
7800 enableval=$enable_static; p=${PACKAGE-default}
7802 yes) enable_static=yes ;;
7803 no) enable_static=no ;;
7806 # Look at the argument we got. We use all the common list separators.
7807 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7808 for pkg in $enableval; do
7810 if test "X$pkg" = "X$p"; then
7830 # Check whether --with-pic was given.
7831 if test "${with_pic+set}" = set; then :
7832 withval=$with_pic; lt_p=${PACKAGE-default}
7834 yes|no) pic_mode=$withval ;;
7837 # Look at the argument we got. We use all the common list separators.
7838 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7839 for lt_pkg in $withval; do
7841 if test "X$lt_pkg" = "X$lt_p"; then
7853 test -z "$pic_mode" && pic_mode=default
7861 # Check whether --enable-fast-install was given.
7862 if test "${enable_fast_install+set}" = set; then :
7863 enableval=$enable_fast_install; p=${PACKAGE-default}
7865 yes) enable_fast_install=yes ;;
7866 no) enable_fast_install=no ;;
7868 enable_fast_install=no
7869 # Look at the argument we got. We use all the common list separators.
7870 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7871 for pkg in $enableval; do
7873 if test "X$pkg" = "X$p"; then
7874 enable_fast_install=yes
7881 enable_fast_install=yes
7894 # This can be used to rebuild libtool when needed
7895 LIBTOOL_DEPS="$ltmain"
7897 # Always use our own libtool.
7898 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7929 test -z "$LN_S" && LN_S="ln -s"
7944 if test -n "${ZSH_VERSION+set}" ; then
7945 setopt NO_GLOB_SUBST
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7949 $as_echo_n "checking for objdir... " >&6; }
7950 if ${lt_cv_objdir+:} false; then :
7951 $as_echo_n "(cached) " >&6
7953 rm -f .libs 2>/dev/null
7954 mkdir .libs 2>/dev/null
7955 if test -d .libs; then
7958 # MS-DOS does not allow filenames that begin with a dot.
7961 rmdir .libs 2>/dev/null
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7964 $as_echo "$lt_cv_objdir" >&6; }
7965 objdir=$lt_cv_objdir
7971 cat >>confdefs.h <<_ACEOF
7972 #define LT_OBJDIR "$lt_cv_objdir/"
7980 # AIX sometimes has problems with the GCC collect2 program. For some
7981 # reason, if we set the COLLECT_NAMES environment variable, the problems
7982 # vanish in a puff of smoke.
7983 if test "X${COLLECT_NAMES+set}" != Xset; then
7985 export COLLECT_NAMES
7992 can_build_shared=yes
7994 # All known linkers require a `.a' archive for static linking (except MSVC,
7995 # which needs '.lib').
7998 with_gnu_ld="$lt_cv_prog_gnu_ld"
8001 old_CFLAGS="$CFLAGS"
8003 # Set sane defaults for various variables
8004 test -z "$CC" && CC=cc
8005 test -z "$LTCC" && LTCC=$CC
8006 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8007 test -z "$LD" && LD=ld
8008 test -z "$ac_objext" && ac_objext=o
8010 for cc_temp in $compiler""; do
8012 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8013 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8018 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8021 # Only perform the check for file, if the check method requires it
8022 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8023 case $deplibs_check_method in
8025 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8027 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8028 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8029 $as_echo_n "(cached) " >&6
8033 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8036 lt_save_MAGIC_CMD="$MAGIC_CMD"
8037 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8038 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8039 for ac_dir in $ac_dummy; do
8041 test -z "$ac_dir" && ac_dir=.
8042 if test -f $ac_dir/${ac_tool_prefix}file; then
8043 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8044 if test -n "$file_magic_test_file"; then
8045 case $deplibs_check_method in
8047 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8048 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8049 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8050 $EGREP "$file_magic_regex" > /dev/null; then
8055 *** Warning: the command libtool uses to detect shared libraries,
8056 *** $file_magic_cmd, produces output that libtool cannot recognize.
8057 *** The result is that libtool may fail to recognize shared libraries
8058 *** as such. This will affect the creation of libtool libraries that
8059 *** depend on shared libraries, but programs linked with such libtool
8060 *** libraries will work regardless of this problem. Nevertheless, you
8061 *** may want to report the problem to your system manager and/or to
8062 *** bug-libtool@gnu.org
8072 MAGIC_CMD="$lt_save_MAGIC_CMD"
8077 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8078 if test -n "$MAGIC_CMD"; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8080 $as_echo "$MAGIC_CMD" >&6; }
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8083 $as_echo "no" >&6; }
8090 if test -z "$lt_cv_path_MAGIC_CMD"; then
8091 if test -n "$ac_tool_prefix"; then
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8093 $as_echo_n "checking for file... " >&6; }
8094 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8095 $as_echo_n "(cached) " >&6
8099 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8102 lt_save_MAGIC_CMD="$MAGIC_CMD"
8103 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8104 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8105 for ac_dir in $ac_dummy; do
8107 test -z "$ac_dir" && ac_dir=.
8108 if test -f $ac_dir/file; then
8109 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8110 if test -n "$file_magic_test_file"; then
8111 case $deplibs_check_method in
8113 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8114 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8115 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8116 $EGREP "$file_magic_regex" > /dev/null; then
8121 *** Warning: the command libtool uses to detect shared libraries,
8122 *** $file_magic_cmd, produces output that libtool cannot recognize.
8123 *** The result is that libtool may fail to recognize shared libraries
8124 *** as such. This will affect the creation of libtool libraries that
8125 *** depend on shared libraries, but programs linked with such libtool
8126 *** libraries will work regardless of this problem. Nevertheless, you
8127 *** may want to report the problem to your system manager and/or to
8128 *** bug-libtool@gnu.org
8138 MAGIC_CMD="$lt_save_MAGIC_CMD"
8143 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8144 if test -n "$MAGIC_CMD"; then
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8146 $as_echo "$MAGIC_CMD" >&6; }
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8149 $as_echo "no" >&6; }
8162 # Use C for the default configuration in the libtool script
8166 ac_cpp='$CPP $CPPFLAGS'
8167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8172 # Source file extension for C test sources.
8175 # Object file extension for compiled C test sources.
8179 # Code to be used in simple compile tests
8180 lt_simple_compile_test_code="int some_variable = 0;"
8182 # Code to be used in simple link tests
8183 lt_simple_link_test_code='int main(){return(0);}'
8191 # If no C compiler was specified, use CC.
8194 # If no C compiler flags were specified, use CFLAGS.
8195 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8197 # Allow CC to be a program name with arguments.
8200 # Save the default compiler, since it gets overwritten when the other
8201 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8202 compiler_DEFAULT=$CC
8204 # save warnings/boilerplate of simple test code
8205 ac_outfile=conftest.$ac_objext
8206 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8207 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8208 _lt_compiler_boilerplate=`cat conftest.err`
8211 ac_outfile=conftest.$ac_objext
8212 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8213 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8214 _lt_linker_boilerplate=`cat conftest.err`
8219 ## There is no encapsulation within the following macros, do not change
8220 ## the running order or otherwise move them around unless you know exactly
8221 ## what you are doing...
8222 if test -n "$compiler"; then
8224 lt_prog_compiler_no_builtin_flag=
8226 if test "$GCC" = yes; then
8227 case $cc_basename in
8229 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8231 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8235 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8236 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8237 $as_echo_n "(cached) " >&6
8239 lt_cv_prog_compiler_rtti_exceptions=no
8240 ac_outfile=conftest.$ac_objext
8241 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8242 lt_compiler_flag="-fno-rtti -fno-exceptions"
8243 # Insert the option either (1) after the last *FLAGS variable, or
8244 # (2) before a word containing "conftest.", or (3) at the end.
8245 # Note that $ac_compile itself does not contain backslashes and begins
8246 # with a dollar sign (not a hyphen), so the echo should work correctly.
8247 # The option is referenced via a variable to avoid confusing sed.
8248 lt_compile=`echo "$ac_compile" | $SED \
8249 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8250 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8251 -e 's:$: $lt_compiler_flag:'`
8252 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8253 (eval "$lt_compile" 2>conftest.err)
8255 cat conftest.err >&5
8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8257 if (exit $ac_status) && test -s "$ac_outfile"; then
8258 # The compiler can only warn and ignore the option if not recognized
8259 # So say no if there are warnings other than the usual output.
8260 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8261 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8262 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8263 lt_cv_prog_compiler_rtti_exceptions=yes
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8270 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8272 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8273 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8285 lt_prog_compiler_wl=
8286 lt_prog_compiler_pic=
8287 lt_prog_compiler_static=
8290 if test "$GCC" = yes; then
8291 lt_prog_compiler_wl='-Wl,'
8292 lt_prog_compiler_static='-static'
8296 # All AIX code is PIC.
8297 if test "$host_cpu" = ia64; then
8298 # AIX 5 now supports IA64 processor
8299 lt_prog_compiler_static='-Bstatic'
8306 # see comment about AmigaOS4 .so support
8307 lt_prog_compiler_pic='-fPIC'
8310 # FIXME: we need at least 68020 code to build shared libraries, but
8311 # adding the `-m68020' flag to GCC prevents building anything better,
8313 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8318 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8319 # PIC is the default for these OSes.
8322 mingw* | cygwin* | pw32* | os2* | cegcc*)
8323 # This hack is so that the source file can tell whether it is being
8324 # built for inclusion in a dll (and should export symbols for example).
8325 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8326 # (--disable-auto-import) libraries
8327 lt_prog_compiler_pic='-DDLL_EXPORT'
8330 darwin* | rhapsody*)
8331 # PIC is the default on this platform
8332 # Common symbols not allowed in MH_DYLIB files
8333 lt_prog_compiler_pic='-fno-common'
8337 # PIC is the default for Haiku.
8338 # The "-static" flag exists, but is broken.
8339 lt_prog_compiler_static=
8343 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8344 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8345 # sets the default TLS model and affects inlining.
8351 lt_prog_compiler_pic='-fPIC'
8357 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8358 # Instead, we relocate shared libraries at runtime.
8362 # Just because we use GCC doesn't mean we suddenly get shared libraries
8363 # on systems that don't support them.
8364 lt_prog_compiler_can_build_shared=no
8369 # QNX uses GNU C++, but need to define -shared option too, otherwise
8371 lt_prog_compiler_pic='-fPIC -shared'
8375 if test -d /usr/nec; then
8376 lt_prog_compiler_pic=-Kconform_pic
8381 lt_prog_compiler_pic='-fPIC'
8385 case $cc_basename in
8386 nvcc*) # Cuda Compiler Driver 2.2
8387 lt_prog_compiler_wl='-Xlinker '
8388 if test -n "$lt_prog_compiler_pic"; then
8389 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8394 # PORTME Check for flag to pass linker flags through the system compiler.
8397 lt_prog_compiler_wl='-Wl,'
8398 if test "$host_cpu" = ia64; then
8399 # AIX 5 now supports IA64 processor
8400 lt_prog_compiler_static='-Bstatic'
8402 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8406 mingw* | cygwin* | pw32* | os2* | cegcc*)
8407 # This hack is so that the source file can tell whether it is being
8408 # built for inclusion in a dll (and should export symbols for example).
8409 lt_prog_compiler_pic='-DDLL_EXPORT'
8412 hpux9* | hpux10* | hpux11*)
8413 lt_prog_compiler_wl='-Wl,'
8414 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8421 lt_prog_compiler_pic='+Z'
8424 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8425 lt_prog_compiler_static='${wl}-a ${wl}archive'
8428 irix5* | irix6* | nonstopux*)
8429 lt_prog_compiler_wl='-Wl,'
8430 # PIC (with -KPIC) is the default.
8431 lt_prog_compiler_static='-non_shared'
8434 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8435 case $cc_basename in
8436 # old Intel for x86_64 which still supported -KPIC.
8438 lt_prog_compiler_wl='-Wl,'
8439 lt_prog_compiler_pic='-KPIC'
8440 lt_prog_compiler_static='-static'
8442 # icc used to be incompatible with GCC.
8443 # ICC 10 doesn't accept -KPIC any more.
8445 lt_prog_compiler_wl='-Wl,'
8446 lt_prog_compiler_pic='-fPIC'
8447 lt_prog_compiler_static='-static'
8449 # Lahey Fortran 8.1.
8451 lt_prog_compiler_wl='-Wl,'
8452 lt_prog_compiler_pic='--shared'
8453 lt_prog_compiler_static='--static'
8456 # NAG Fortran compiler
8457 lt_prog_compiler_wl='-Wl,-Wl,,'
8458 lt_prog_compiler_pic='-PIC'
8459 lt_prog_compiler_static='-Bstatic'
8461 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8462 # Portland Group compilers (*not* the Pentium gcc compiler,
8463 # which looks to be a dead project)
8464 lt_prog_compiler_wl='-Wl,'
8465 lt_prog_compiler_pic='-fpic'
8466 lt_prog_compiler_static='-Bstatic'
8469 lt_prog_compiler_wl='-Wl,'
8470 # All Alpha code is PIC.
8471 lt_prog_compiler_static='-non_shared'
8473 xl* | bgxl* | bgf* | mpixl*)
8474 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8475 lt_prog_compiler_wl='-Wl,'
8476 lt_prog_compiler_pic='-qpic'
8477 lt_prog_compiler_static='-qstaticlink'
8480 case `$CC -V 2>&1 | sed 5q` in
8481 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8482 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8483 lt_prog_compiler_pic='-KPIC'
8484 lt_prog_compiler_static='-Bstatic'
8485 lt_prog_compiler_wl=''
8487 *Sun\ F* | *Sun*Fortran*)
8488 lt_prog_compiler_pic='-KPIC'
8489 lt_prog_compiler_static='-Bstatic'
8490 lt_prog_compiler_wl='-Qoption ld '
8494 lt_prog_compiler_pic='-KPIC'
8495 lt_prog_compiler_static='-Bstatic'
8496 lt_prog_compiler_wl='-Wl,'
8498 *Intel*\ [CF]*Compiler*)
8499 lt_prog_compiler_wl='-Wl,'
8500 lt_prog_compiler_pic='-fPIC'
8501 lt_prog_compiler_static='-static'
8504 lt_prog_compiler_wl='-Wl,'
8505 lt_prog_compiler_pic='-fpic'
8506 lt_prog_compiler_static='-Bstatic'
8514 lt_prog_compiler_pic='-KPIC'
8515 lt_prog_compiler_static='-Bstatic'
8519 # QNX uses GNU C++, but need to define -shared option too, otherwise
8521 lt_prog_compiler_pic='-fPIC -shared'
8524 osf3* | osf4* | osf5*)
8525 lt_prog_compiler_wl='-Wl,'
8526 # All OSF/1 code is PIC.
8527 lt_prog_compiler_static='-non_shared'
8531 lt_prog_compiler_static='-non_shared'
8535 lt_prog_compiler_pic='-KPIC'
8536 lt_prog_compiler_static='-Bstatic'
8537 case $cc_basename in
8538 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8539 lt_prog_compiler_wl='-Qoption ld ';;
8541 lt_prog_compiler_wl='-Wl,';;
8546 lt_prog_compiler_wl='-Qoption ld '
8547 lt_prog_compiler_pic='-PIC'
8548 lt_prog_compiler_static='-Bstatic'
8551 sysv4 | sysv4.2uw2* | sysv4.3*)
8552 lt_prog_compiler_wl='-Wl,'
8553 lt_prog_compiler_pic='-KPIC'
8554 lt_prog_compiler_static='-Bstatic'
8558 if test -d /usr/nec ;then
8559 lt_prog_compiler_pic='-Kconform_pic'
8560 lt_prog_compiler_static='-Bstatic'
8564 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8565 lt_prog_compiler_wl='-Wl,'
8566 lt_prog_compiler_pic='-KPIC'
8567 lt_prog_compiler_static='-Bstatic'
8571 lt_prog_compiler_wl='-Wl,'
8572 lt_prog_compiler_can_build_shared=no
8576 lt_prog_compiler_pic='-pic'
8577 lt_prog_compiler_static='-Bstatic'
8581 lt_prog_compiler_can_build_shared=no
8587 # For platforms which do not support PIC, -DPIC is meaningless:
8589 lt_prog_compiler_pic=
8592 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8597 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8598 if ${lt_cv_prog_compiler_pic+:} false; then :
8599 $as_echo_n "(cached) " >&6
8601 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8604 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8605 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8608 # Check to make sure the PIC flag actually works.
8610 if test -n "$lt_prog_compiler_pic"; then
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8612 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8613 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8614 $as_echo_n "(cached) " >&6
8616 lt_cv_prog_compiler_pic_works=no
8617 ac_outfile=conftest.$ac_objext
8618 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8619 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8620 # Insert the option either (1) after the last *FLAGS variable, or
8621 # (2) before a word containing "conftest.", or (3) at the end.
8622 # Note that $ac_compile itself does not contain backslashes and begins
8623 # with a dollar sign (not a hyphen), so the echo should work correctly.
8624 # The option is referenced via a variable to avoid confusing sed.
8625 lt_compile=`echo "$ac_compile" | $SED \
8626 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8627 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8628 -e 's:$: $lt_compiler_flag:'`
8629 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8630 (eval "$lt_compile" 2>conftest.err)
8632 cat conftest.err >&5
8633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634 if (exit $ac_status) && test -s "$ac_outfile"; then
8635 # The compiler can only warn and ignore the option if not recognized
8636 # So say no if there are warnings other than the usual output.
8637 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8638 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8639 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8640 lt_cv_prog_compiler_pic_works=yes
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8647 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8649 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8650 case $lt_prog_compiler_pic in
8652 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8655 lt_prog_compiler_pic=
8656 lt_prog_compiler_can_build_shared=no
8672 # Check to make sure the static flag actually works.
8674 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8676 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8677 if ${lt_cv_prog_compiler_static_works+:} false; then :
8678 $as_echo_n "(cached) " >&6
8680 lt_cv_prog_compiler_static_works=no
8681 save_LDFLAGS="$LDFLAGS"
8682 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8683 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8684 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8685 # The linker can only warn and ignore the option if not recognized
8686 # So say no if there are warnings
8687 if test -s conftest.err; then
8688 # Append any errors to the config.log.
8689 cat conftest.err 1>&5
8690 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8691 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8692 if diff conftest.exp conftest.er2 >/dev/null; then
8693 lt_cv_prog_compiler_static_works=yes
8696 lt_cv_prog_compiler_static_works=yes
8700 LDFLAGS="$save_LDFLAGS"
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8704 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8706 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8709 lt_prog_compiler_static=
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8719 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8720 if ${lt_cv_prog_compiler_c_o+:} false; then :
8721 $as_echo_n "(cached) " >&6
8723 lt_cv_prog_compiler_c_o=no
8724 $RM -r conftest 2>/dev/null
8728 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8730 lt_compiler_flag="-o out/conftest2.$ac_objext"
8731 # Insert the option either (1) after the last *FLAGS variable, or
8732 # (2) before a word containing "conftest.", or (3) at the end.
8733 # Note that $ac_compile itself does not contain backslashes and begins
8734 # with a dollar sign (not a hyphen), so the echo should work correctly.
8735 lt_compile=`echo "$ac_compile" | $SED \
8736 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8737 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8738 -e 's:$: $lt_compiler_flag:'`
8739 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8740 (eval "$lt_compile" 2>out/conftest.err)
8742 cat out/conftest.err >&5
8743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8746 # The compiler can only warn and ignore the option if not recognized
8747 # So say no if there are warnings
8748 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8749 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8750 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8751 lt_cv_prog_compiler_c_o=yes
8756 # SGI C++ compiler will create directory out/ii_files/ for
8757 # template instantiation
8758 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8759 $RM out/* && rmdir out
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8766 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8774 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8775 if ${lt_cv_prog_compiler_c_o+:} false; then :
8776 $as_echo_n "(cached) " >&6
8778 lt_cv_prog_compiler_c_o=no
8779 $RM -r conftest 2>/dev/null
8783 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8785 lt_compiler_flag="-o out/conftest2.$ac_objext"
8786 # Insert the option either (1) after the last *FLAGS variable, or
8787 # (2) before a word containing "conftest.", or (3) at the end.
8788 # Note that $ac_compile itself does not contain backslashes and begins
8789 # with a dollar sign (not a hyphen), so the echo should work correctly.
8790 lt_compile=`echo "$ac_compile" | $SED \
8791 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8792 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8793 -e 's:$: $lt_compiler_flag:'`
8794 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8795 (eval "$lt_compile" 2>out/conftest.err)
8797 cat out/conftest.err >&5
8798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8799 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8801 # The compiler can only warn and ignore the option if not recognized
8802 # So say no if there are warnings
8803 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8804 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8805 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8806 lt_cv_prog_compiler_c_o=yes
8811 # SGI C++ compiler will create directory out/ii_files/ for
8812 # template instantiation
8813 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8814 $RM out/* && rmdir out
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8821 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8826 hard_links="nottested"
8827 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8828 # do not overwrite the value of need_locks provided by the user
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8830 $as_echo_n "checking if we can lock with hard links... " >&6; }
8833 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8835 ln conftest.a conftest.b 2>&5 || hard_links=no
8836 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8838 $as_echo "$hard_links" >&6; }
8839 if test "$hard_links" = no; then
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8841 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8854 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8857 allow_undefined_flag=
8858 always_export_symbols=no
8860 archive_expsym_cmds=
8861 compiler_needs_object=no
8862 enable_shared_with_static_runtimes=no
8863 export_dynamic_flag_spec=
8864 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8865 hardcode_automatic=no
8867 hardcode_direct_absolute=no
8868 hardcode_libdir_flag_spec=
8869 hardcode_libdir_separator=
8871 hardcode_shlibpath_var=unsupported
8873 link_all_deplibs=unknown
8876 old_archive_from_new_cmds=
8877 old_archive_from_expsyms_cmds=
8878 thread_safe_flag_spec=
8879 whole_archive_flag_spec=
8880 # include_expsyms should be a list of space-separated symbols to be *always*
8881 # included in the symbol list
8883 # exclude_expsyms can be an extended regexp of symbols to exclude
8884 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8885 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8886 # as well as any symbol that contains `d'.
8887 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8888 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8889 # platforms (ab)use it in PIC code, but their linkers get confused if
8890 # the symbol is explicitly referenced. Since portable code cannot
8891 # rely on this symbol name, it's probably fine to never include it in
8892 # preloaded symbol tables.
8893 # Exclude shared library initialization/finalization symbols.
8894 extract_expsyms_cmds=
8897 cygwin* | mingw* | pw32* | cegcc*)
8898 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8899 # When not using gcc, we currently assume that we are using
8900 # Microsoft Visual C++.
8901 if test "$GCC" != yes; then
8906 # we just hope/assume this is gcc and not c89 (= MSVC++)
8912 linux* | k*bsd*-gnu | gnu*)
8919 # On some targets, GNU ld is compatible enough with the native linker
8920 # that we're better off using the native interface for both.
8921 lt_use_gnu_ld_interface=no
8922 if test "$with_gnu_ld" = yes; then
8925 # The AIX port of GNU ld has always aspired to compatibility
8926 # with the native linker. However, as the warning in the GNU ld
8927 # block says, versions before 2.19.5* couldn't really create working
8928 # shared libraries, regardless of the interface used.
8929 case `$LD -v 2>&1` in
8930 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8931 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8932 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8934 lt_use_gnu_ld_interface=yes
8939 lt_use_gnu_ld_interface=yes
8944 if test "$lt_use_gnu_ld_interface" = yes; then
8945 # If archive_cmds runs LD, not CC, wlarc should be empty
8948 # Set some defaults for GNU ld with shared library support. These
8949 # are reset later if shared libraries are not supported. Putting them
8950 # here allows them to be overridden if necessary.
8951 runpath_var=LD_RUN_PATH
8952 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8953 export_dynamic_flag_spec='${wl}--export-dynamic'
8954 # ancient GNU ld didn't support --whole-archive et. al.
8955 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8956 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8958 whole_archive_flag_spec=
8960 supports_anon_versioning=no
8961 case `$LD -v 2>&1` in
8962 *GNU\ gold*) supports_anon_versioning=yes ;;
8963 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8964 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8965 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8966 *\ 2.11.*) ;; # other 2.11 versions
8967 *) supports_anon_versioning=yes ;;
8970 # See if GNU ld supports shared libraries.
8973 # On AIX/PPC, the GNU linker is very broken
8974 if test "$host_cpu" != ia64; then
8978 *** Warning: the GNU linker, at least up to release 2.19, is reported
8979 *** to be unable to reliably create shared libraries on AIX.
8980 *** Therefore, libtool is disabling shared libraries support. If you
8981 *** really care for shared libraries, you may want to install binutils
8982 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8983 *** You will then need to restart the configuration process.
8992 # see comment about AmigaOS4 .so support
8993 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8994 archive_expsym_cmds=''
8997 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)'
8998 hardcode_libdir_flag_spec='-L$libdir'
8999 hardcode_minus_L=yes
9005 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9006 allow_undefined_flag=unsupported
9007 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9008 # support --undefined. This deserves some investigation. FIXME
9009 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9015 cygwin* | mingw* | pw32* | cegcc*)
9016 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9017 # as there is no search path for DLLs.
9018 hardcode_libdir_flag_spec='-L$libdir'
9019 export_dynamic_flag_spec='${wl}--export-all-symbols'
9020 allow_undefined_flag=unsupported
9021 always_export_symbols=no
9022 enable_shared_with_static_runtimes=yes
9023 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'
9024 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9026 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9027 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9028 # If the export-symbols file already is a .def file (1st line
9029 # is EXPORTS), use it as is; otherwise, prepend...
9030 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9031 cp $export_symbols $output_objdir/$soname.def;
9033 echo EXPORTS > $output_objdir/$soname.def;
9034 cat $export_symbols >> $output_objdir/$soname.def;
9036 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9043 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9044 link_all_deplibs=yes
9049 hardcode_shlibpath_var=no
9050 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9051 export_dynamic_flag_spec='${wl}-E'
9052 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9053 # Instead, shared libraries are loaded at an image base (0x10000000 by
9054 # default) and relocated if they conflict, which is a slow very memory
9055 # consuming and fragmenting process. To avoid this, we pick a random,
9056 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9057 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9058 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9059 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'
9062 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9064 if test "$host_os" = linux-dietlibc; then
9065 case $cc_basename in
9066 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9069 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9070 && test "$tmp_diet" = no
9072 tmp_addflag=' $pic_flag'
9073 tmp_sharedflag='-shared'
9074 case $cc_basename,$host_cpu in
9075 pgcc*) # Portland Group C compiler
9076 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'
9077 tmp_addflag=' $pic_flag'
9079 pgf77* | pgf90* | pgf95* | pgfortran*)
9080 # Portland Group f77 and f90 compilers
9081 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'
9082 tmp_addflag=' $pic_flag -Mnomain' ;;
9083 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9084 tmp_addflag=' -i_dynamic' ;;
9085 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9086 tmp_addflag=' -i_dynamic -nofor_main' ;;
9087 ifc* | ifort*) # Intel Fortran compiler
9088 tmp_addflag=' -nofor_main' ;;
9089 lf95*) # Lahey Fortran 8.1
9090 whole_archive_flag_spec=
9091 tmp_sharedflag='--shared' ;;
9092 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9093 tmp_sharedflag='-qmkshrobj'
9095 nvcc*) # Cuda Compiler Driver 2.2
9096 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'
9097 compiler_needs_object=yes
9100 case `$CC -V 2>&1 | sed 5q` in
9101 *Sun\ C*) # Sun C 5.9
9102 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'
9103 compiler_needs_object=yes
9104 tmp_sharedflag='-G' ;;
9105 *Sun\ F*) # Sun Fortran 8.3
9106 tmp_sharedflag='-G' ;;
9108 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9110 if test "x$supports_anon_versioning" = xyes; then
9111 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9112 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9113 echo "local: *; };" >> $output_objdir/$libname.ver~
9114 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9117 case $cc_basename in
9118 xlf* | bgf* | bgxlf* | mpixlf*)
9119 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9120 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9121 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9122 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9123 if test "x$supports_anon_versioning" = xyes; then
9124 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9125 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9126 echo "local: *; };" >> $output_objdir/$libname.ver~
9127 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9136 netbsd* | netbsdelf*-gnu)
9137 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9138 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9141 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9142 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9147 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9151 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9152 *** create shared libraries on Solaris systems. Therefore, libtool
9153 *** is disabling shared libraries support. We urge you to upgrade GNU
9154 *** binutils to release 2.9.1 or newer. Another option is to modify
9155 *** your PATH or compiler configuration so that the native linker is
9156 *** used, and then restart.
9159 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9160 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9161 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9167 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9168 case `$LD -v 2>&1` in
9169 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9173 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9174 *** reliably create shared libraries on SCO systems. Therefore, libtool
9175 *** is disabling shared libraries support. We urge you to upgrade GNU
9176 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9177 *** your PATH or compiler configuration so that the native linker is
9178 *** used, and then restart.
9183 # For security reasons, it is highly recommended that you always
9184 # use absolute paths for naming shared libraries, and exclude the
9185 # DT_RUNPATH tag from executables and libraries. But doing so
9186 # requires that you compile everything twice, which is a pain.
9187 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9188 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9189 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9190 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9199 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9202 hardcode_shlibpath_var=no
9206 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9207 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9208 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9215 if test "$ld_shlibs" = no; then
9217 hardcode_libdir_flag_spec=
9218 export_dynamic_flag_spec=
9219 whole_archive_flag_spec=
9222 # PORTME fill in a description of your system's linker (not GNU ld)
9225 allow_undefined_flag=unsupported
9226 always_export_symbols=yes
9227 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'
9228 # Note: this linker hardcodes the directories in LIBPATH if there
9229 # are no directories specified by -L.
9230 hardcode_minus_L=yes
9231 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9232 # Neither direct hardcoding nor static linking is supported with a
9234 hardcode_direct=unsupported
9239 if test "$host_cpu" = ia64; then
9240 # On IA64, the linker does run time linking by default, so we don't
9241 # have to do anything special.
9242 aix_use_runtimelinking=no
9243 exp_sym_flag='-Bexport'
9246 # If we're using GNU nm, then we don't want the "-C" option.
9247 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9248 # Also, AIX nm treats weak defined symbols like other global
9249 # defined symbols, whereas GNU nm marks them as "W".
9250 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9251 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'
9253 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'
9255 aix_use_runtimelinking=no
9257 # Test if we are trying to use run time linking or normal
9258 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9259 # need to do runtime linking.
9260 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9261 for ld_flag in $LDFLAGS; do
9262 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9263 aix_use_runtimelinking=yes
9270 exp_sym_flag='-bexport'
9271 no_entry_flag='-bnoentry'
9274 # When large executables or shared objects are built, AIX ld can
9275 # have problems creating the table of contents. If linking a library
9276 # or program results in "error TOC overflow" add -mminimal-toc to
9277 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9278 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9282 hardcode_direct_absolute=yes
9283 hardcode_libdir_separator=':'
9284 link_all_deplibs=yes
9285 file_list_spec='${wl}-f,'
9287 if test "$GCC" = yes; then
9288 case $host_os in aix4.[012]|aix4.[012].*)
9289 # We only want to do this on AIX 4.2 and lower, the check
9290 # below for broken collect2 doesn't work under 4.3+
9291 collect2name=`${CC} -print-prog-name=collect2`
9292 if test -f "$collect2name" &&
9293 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9295 # We have reworked collect2
9298 # We have old collect2
9299 hardcode_direct=unsupported
9300 # It fails to find uninstalled libraries when the uninstalled
9301 # path is not listed in the libpath. Setting hardcode_minus_L
9302 # to unsupported forces relinking
9303 hardcode_minus_L=yes
9304 hardcode_libdir_flag_spec='-L$libdir'
9305 hardcode_libdir_separator=
9309 shared_flag='-shared'
9310 if test "$aix_use_runtimelinking" = yes; then
9311 shared_flag="$shared_flag "'${wl}-G'
9316 if test "$host_cpu" = ia64; then
9317 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9318 # chokes on -Wl,-G. The following line is correct:
9321 if test "$aix_use_runtimelinking" = yes; then
9322 shared_flag='${wl}-G'
9324 shared_flag='${wl}-bM:SRE'
9329 export_dynamic_flag_spec='${wl}-bexpall'
9330 # It seems that -bexpall does not export symbols beginning with
9331 # underscore (_), so it is better to generate a list of symbols to export.
9332 always_export_symbols=yes
9333 if test "$aix_use_runtimelinking" = yes; then
9334 # Warning - without using the other runtime loading flags (-brtl),
9335 # -berok will link without error, but may produce a broken library.
9336 allow_undefined_flag='-berok'
9337 # Determine the default libpath from the value encoded in an
9339 if test "${lt_cv_aix_libpath+set}" = set; then
9340 aix_libpath=$lt_cv_aix_libpath
9342 if ${lt_cv_aix_libpath_+:} false; then :
9343 $as_echo_n "(cached) " >&6
9345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h. */
9356 if ac_fn_c_try_link "$LINENO"; then :
9358 lt_aix_libpath_sed='
9359 /Import File Strings/,/^$/ {
9361 s/^0 *\([^ ]*\) *$/\1/
9365 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9366 # Check for a 64-bit object if we didn't find anything.
9367 if test -z "$lt_cv_aix_libpath_"; then
9368 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9371 rm -f core conftest.err conftest.$ac_objext \
9372 conftest$ac_exeext conftest.$ac_ext
9373 if test -z "$lt_cv_aix_libpath_"; then
9374 lt_cv_aix_libpath_="/usr/lib:/lib"
9379 aix_libpath=$lt_cv_aix_libpath_
9382 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9383 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"
9385 if test "$host_cpu" = ia64; then
9386 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9387 allow_undefined_flag="-z nodefs"
9388 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"
9390 # Determine the default libpath from the value encoded in an
9392 if test "${lt_cv_aix_libpath+set}" = set; then
9393 aix_libpath=$lt_cv_aix_libpath
9395 if ${lt_cv_aix_libpath_+:} false; then :
9396 $as_echo_n "(cached) " >&6
9398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9399 /* end confdefs.h. */
9409 if ac_fn_c_try_link "$LINENO"; then :
9411 lt_aix_libpath_sed='
9412 /Import File Strings/,/^$/ {
9414 s/^0 *\([^ ]*\) *$/\1/
9418 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9419 # Check for a 64-bit object if we didn't find anything.
9420 if test -z "$lt_cv_aix_libpath_"; then
9421 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9424 rm -f core conftest.err conftest.$ac_objext \
9425 conftest$ac_exeext conftest.$ac_ext
9426 if test -z "$lt_cv_aix_libpath_"; then
9427 lt_cv_aix_libpath_="/usr/lib:/lib"
9432 aix_libpath=$lt_cv_aix_libpath_
9435 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9436 # Warning - without using the other run time loading flags,
9437 # -berok will link without error, but may produce a broken library.
9438 no_undefined_flag=' ${wl}-bernotok'
9439 allow_undefined_flag=' ${wl}-berok'
9440 if test "$with_gnu_ld" = yes; then
9441 # We only use this code for GNU lds that support --whole-archive.
9442 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9444 # Exported symbols can be pulled into shared objects from archives
9445 whole_archive_flag_spec='$convenience'
9447 archive_cmds_need_lc=yes
9448 # This is similar to how AIX traditionally builds its shared libraries.
9449 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'
9457 # see comment about AmigaOS4 .so support
9458 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9459 archive_expsym_cmds=''
9462 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)'
9463 hardcode_libdir_flag_spec='-L$libdir'
9464 hardcode_minus_L=yes
9470 export_dynamic_flag_spec=-rdynamic
9473 cygwin* | mingw* | pw32* | cegcc*)
9474 # When not using gcc, we currently assume that we are using
9475 # Microsoft Visual C++.
9476 # hardcode_libdir_flag_spec is actually meaningless, as there is
9477 # no search path for DLLs.
9478 case $cc_basename in
9481 hardcode_libdir_flag_spec=' '
9482 allow_undefined_flag=unsupported
9483 always_export_symbols=yes
9485 # Tell ltmain to make .lib files, not .a files.
9487 # Tell ltmain to make .dll files, not .so files.
9489 # FIXME: Setting linknames here is a bad hack.
9490 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9491 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9492 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9494 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9496 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9498 # The linker will not automatically build a static lib if we build a DLL.
9499 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9500 enable_shared_with_static_runtimes=yes
9501 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9502 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9504 old_postinstall_cmds='chmod 644 $oldlib'
9505 postlink_cmds='lt_outputfile="@OUTPUT@"~
9506 lt_tool_outputfile="@TOOL_OUTPUT@"~
9507 case $lt_outputfile in
9510 lt_outputfile="$lt_outputfile.exe"
9511 lt_tool_outputfile="$lt_tool_outputfile.exe"
9514 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9515 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9516 $RM "$lt_outputfile.manifest";
9520 # Assume MSVC wrapper
9521 hardcode_libdir_flag_spec=' '
9522 allow_undefined_flag=unsupported
9523 # Tell ltmain to make .lib files, not .a files.
9525 # Tell ltmain to make .dll files, not .so files.
9527 # FIXME: Setting linknames here is a bad hack.
9528 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9529 # The linker will automatically build a .lib file if we build a DLL.
9530 old_archive_from_new_cmds='true'
9531 # FIXME: Should let the user specify the lib program.
9532 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9533 enable_shared_with_static_runtimes=yes
9538 darwin* | rhapsody*)
9541 archive_cmds_need_lc=no
9543 hardcode_automatic=yes
9544 hardcode_shlibpath_var=unsupported
9545 if test "$lt_cv_ld_force_load" = "yes"; then
9546 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\"`'
9549 whole_archive_flag_spec=''
9551 link_all_deplibs=yes
9552 allow_undefined_flag="$_lt_dar_allow_undefined"
9553 case $cc_basename in
9554 ifort*) _lt_dar_can_shared=yes ;;
9555 *) _lt_dar_can_shared=$GCC ;;
9557 if test "$_lt_dar_can_shared" = "yes"; then
9558 output_verbose_link_cmd=func_echo_all
9559 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9560 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9561 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}"
9562 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}"
9571 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9572 hardcode_libdir_flag_spec='-L$libdir'
9573 hardcode_shlibpath_var=no
9576 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9577 # support. Future versions do this automatically, but an explicit c++rt0.o
9578 # does not break anything, and helps significantly (at the cost of a little
9581 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9582 hardcode_libdir_flag_spec='-R$libdir'
9584 hardcode_shlibpath_var=no
9587 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9589 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9591 hardcode_minus_L=yes
9592 hardcode_shlibpath_var=no
9595 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9596 freebsd* | dragonfly*)
9597 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9598 hardcode_libdir_flag_spec='-R$libdir'
9600 hardcode_shlibpath_var=no
9604 if test "$GCC" = yes; then
9605 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'
9607 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'
9609 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9610 hardcode_libdir_separator=:
9613 # hardcode_minus_L: Not really in the search PATH,
9614 # but as the default location of the library.
9615 hardcode_minus_L=yes
9616 export_dynamic_flag_spec='${wl}-E'
9620 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9621 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9623 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9625 if test "$with_gnu_ld" = no; then
9626 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9627 hardcode_libdir_separator=:
9629 hardcode_direct_absolute=yes
9630 export_dynamic_flag_spec='${wl}-E'
9631 # hardcode_minus_L: Not really in the search PATH,
9632 # but as the default location of the library.
9633 hardcode_minus_L=yes
9638 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9641 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9644 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9647 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9653 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9656 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9660 # Older versions of the 11.00 compiler do not understand -b yet
9661 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9663 $as_echo_n "checking if $CC understands -b... " >&6; }
9664 if ${lt_cv_prog_compiler__b+:} false; then :
9665 $as_echo_n "(cached) " >&6
9667 lt_cv_prog_compiler__b=no
9668 save_LDFLAGS="$LDFLAGS"
9669 LDFLAGS="$LDFLAGS -b"
9670 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9671 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9672 # The linker can only warn and ignore the option if not recognized
9673 # So say no if there are warnings
9674 if test -s conftest.err; then
9675 # Append any errors to the config.log.
9676 cat conftest.err 1>&5
9677 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9678 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9679 if diff conftest.exp conftest.er2 >/dev/null; then
9680 lt_cv_prog_compiler__b=yes
9683 lt_cv_prog_compiler__b=yes
9687 LDFLAGS="$save_LDFLAGS"
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9691 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9693 if test x"$lt_cv_prog_compiler__b" = xyes; then
9694 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9696 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9702 if test "$with_gnu_ld" = no; then
9703 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9704 hardcode_libdir_separator=:
9709 hardcode_shlibpath_var=no
9713 hardcode_direct_absolute=yes
9714 export_dynamic_flag_spec='${wl}-E'
9716 # hardcode_minus_L: Not really in the search PATH,
9717 # but as the default location of the library.
9718 hardcode_minus_L=yes
9724 irix5* | irix6* | nonstopux*)
9725 if test "$GCC" = yes; then
9726 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'
9727 # Try to use the -exported_symbol ld option, if it does not
9728 # work, assume that -exports_file does not work either and
9729 # implicitly export all symbols.
9730 # This should be the same for all languages, so no per-tag cache variable.
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9732 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9733 if ${lt_cv_irix_exported_symbol+:} false; then :
9734 $as_echo_n "(cached) " >&6
9736 save_LDFLAGS="$LDFLAGS"
9737 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9739 /* end confdefs.h. */
9740 int foo (void) { return 0; }
9742 if ac_fn_c_try_link "$LINENO"; then :
9743 lt_cv_irix_exported_symbol=yes
9745 lt_cv_irix_exported_symbol=no
9747 rm -f core conftest.err conftest.$ac_objext \
9748 conftest$ac_exeext conftest.$ac_ext
9749 LDFLAGS="$save_LDFLAGS"
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9752 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9753 if test "$lt_cv_irix_exported_symbol" = yes; then
9754 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'
9757 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'
9758 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'
9760 archive_cmds_need_lc='no'
9761 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9762 hardcode_libdir_separator=:
9764 link_all_deplibs=yes
9767 netbsd* | netbsdelf*-gnu)
9768 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9769 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9771 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9773 hardcode_libdir_flag_spec='-R$libdir'
9775 hardcode_shlibpath_var=no
9779 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9781 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9782 hardcode_libdir_separator=:
9783 hardcode_shlibpath_var=no
9790 if test -f /usr/libexec/ld.so; then
9792 hardcode_shlibpath_var=no
9793 hardcode_direct_absolute=yes
9794 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9795 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9796 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9797 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9798 export_dynamic_flag_spec='${wl}-E'
9801 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9802 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9803 hardcode_libdir_flag_spec='-R$libdir'
9806 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9807 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9817 hardcode_libdir_flag_spec='-L$libdir'
9818 hardcode_minus_L=yes
9819 allow_undefined_flag=unsupported
9820 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'
9821 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9825 if test "$GCC" = yes; then
9826 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9827 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'
9829 allow_undefined_flag=' -expect_unresolved \*'
9830 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'
9832 archive_cmds_need_lc='no'
9833 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9834 hardcode_libdir_separator=:
9837 osf4* | osf5*) # as osf3* with the addition of -msym flag
9838 if test "$GCC" = yes; then
9839 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9840 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'
9841 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9843 allow_undefined_flag=' -expect_unresolved \*'
9844 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'
9845 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~
9846 $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'
9848 # Both c and cxx compiler support -rpath directly
9849 hardcode_libdir_flag_spec='-rpath $libdir'
9851 archive_cmds_need_lc='no'
9852 hardcode_libdir_separator=:
9856 no_undefined_flag=' -z defs'
9857 if test "$GCC" = yes; then
9859 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9860 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9861 $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'
9863 case `$CC -V 2>&1` in
9866 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9867 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9868 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9872 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9873 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9874 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9878 hardcode_libdir_flag_spec='-R$libdir'
9879 hardcode_shlibpath_var=no
9881 solaris2.[0-5] | solaris2.[0-5].*) ;;
9883 # The compiler driver will combine and reorder linker options,
9884 # but understands `-z linker_flag'. GCC discards it without `$wl',
9885 # but is careful enough not to reorder.
9886 # Supported since Solaris 2.6 (maybe 2.5.1?)
9887 if test "$GCC" = yes; then
9888 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9890 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9894 link_all_deplibs=yes
9898 if test "x$host_vendor" = xsequent; then
9899 # Use $CC to link under sequent, because it throws in some extra .o
9900 # files that make .init and .fini sections work.
9901 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9903 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9905 hardcode_libdir_flag_spec='-L$libdir'
9907 hardcode_minus_L=yes
9908 hardcode_shlibpath_var=no
9912 case $host_vendor in
9914 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9915 hardcode_direct=yes # is this really true???
9918 ## LD is ld it makes a PLAMLIB
9919 ## CC just makes a GrossModule.
9920 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9921 reload_cmds='$CC -r -o $output$reload_objs'
9925 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9926 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9929 runpath_var='LD_RUN_PATH'
9930 hardcode_shlibpath_var=no
9934 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9935 hardcode_shlibpath_var=no
9936 export_dynamic_flag_spec='-Bexport'
9940 if test -d /usr/nec; then
9941 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9942 hardcode_shlibpath_var=no
9943 runpath_var=LD_RUN_PATH
9944 hardcode_runpath_var=yes
9949 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9950 no_undefined_flag='${wl}-z,text'
9951 archive_cmds_need_lc=no
9952 hardcode_shlibpath_var=no
9953 runpath_var='LD_RUN_PATH'
9955 if test "$GCC" = yes; then
9956 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9957 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9959 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9960 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9964 sysv5* | sco3.2v5* | sco5v6*)
9965 # Note: We can NOT use -z defs as we might desire, because we do not
9966 # link with -lc, and that would cause any symbols used from libc to
9967 # always be unresolved, which means just about no library would
9968 # ever link correctly. If we're not using GNU ld we use -z text
9969 # though, which does catch some bad symbols but isn't as heavy-handed
9971 no_undefined_flag='${wl}-z,text'
9972 allow_undefined_flag='${wl}-z,nodefs'
9973 archive_cmds_need_lc=no
9974 hardcode_shlibpath_var=no
9975 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9976 hardcode_libdir_separator=':'
9977 link_all_deplibs=yes
9978 export_dynamic_flag_spec='${wl}-Bexport'
9979 runpath_var='LD_RUN_PATH'
9981 if test "$GCC" = yes; then
9982 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9983 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9985 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9986 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9991 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9992 hardcode_libdir_flag_spec='-L$libdir'
9993 hardcode_shlibpath_var=no
10001 if test x$host_vendor = xsni; then
10003 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10004 export_dynamic_flag_spec='${wl}-Blargedynsym'
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10011 $as_echo "$ld_shlibs" >&6; }
10012 test "$ld_shlibs" = no && can_build_shared=no
10014 with_gnu_ld=$with_gnu_ld
10031 # Do we need to explicitly link libc?
10033 case "x$archive_cmds_need_lc" in
10035 # Assume -lc should be added
10036 archive_cmds_need_lc=yes
10038 if test "$enable_shared" = yes && test "$GCC" = yes; then
10039 case $archive_cmds in
10041 # FIXME: we may have to deal with multi-command sequences.
10044 # Test whether the compiler implicitly links with -lc since on some
10045 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10046 # to ld, don't add -lc before -lgcc.
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10048 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10049 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10050 $as_echo_n "(cached) " >&6
10053 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10055 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10056 (eval $ac_compile) 2>&5
10058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10059 test $ac_status = 0; } 2>conftest.err; then
10062 libobjs=conftest.$ac_objext
10064 wl=$lt_prog_compiler_wl
10065 pic_flag=$lt_prog_compiler_pic
10071 lt_save_allow_undefined_flag=$allow_undefined_flag
10072 allow_undefined_flag=
10073 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10074 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10077 test $ac_status = 0; }
10079 lt_cv_archive_cmds_need_lc=no
10081 lt_cv_archive_cmds_need_lc=yes
10083 allow_undefined_flag=$lt_save_allow_undefined_flag
10085 cat conftest.err 1>&5
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10091 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10092 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10251 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10253 if test "$GCC" = yes; then
10255 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10256 *) lt_awk_arg="/^libraries:/" ;;
10259 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10260 *) lt_sed_strip_eq="s,=/,/,g" ;;
10262 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10263 case $lt_search_path_spec in
10265 # if the path contains ";" then we assume it to be the separator
10266 # otherwise default to the standard path separator (i.e. ":") - it is
10267 # assumed that no part of a normal pathname contains ";" but that should
10268 # okay in the real world where ";" in dirpaths is itself problematic.
10269 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10272 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10275 # Ok, now we have the path, separated by spaces, we can step through it
10276 # and add multilib dir if necessary.
10277 lt_tmp_lt_search_path_spec=
10278 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10279 for lt_sys_path in $lt_search_path_spec; do
10280 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10281 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10283 test -d "$lt_sys_path" && \
10284 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10287 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10288 BEGIN {RS=" "; FS="/|\n";} {
10291 for (lt_i = NF; lt_i > 0; lt_i--) {
10292 if ($lt_i != "" && $lt_i != ".") {
10293 if ($lt_i == "..") {
10296 if (lt_count == 0) {
10297 lt_foo="/" $lt_i lt_foo;
10304 if (lt_foo != "") { lt_freq[lt_foo]++; }
10305 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10307 # AWK program above erroneously prepends '/' to C:/dos/paths
10310 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10311 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10313 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10315 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10317 library_names_spec=
10318 libname_spec='lib$name'
10322 postuninstall_cmds=
10326 shlibpath_overrides_runpath=unknown
10328 dynamic_linker="$host_os ld.so"
10329 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10330 need_lib_prefix=unknown
10331 hardcode_into_libs=no
10333 # when you set need_version to no, make sure it does not cause -set_version
10334 # flags to be left without arguments
10335 need_version=unknown
10339 version_type=linux # correct to gnu/linux during the next big refactor
10340 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10341 shlibpath_var=LIBPATH
10343 # AIX 3 has no versioning support, so we append a major version to the name.
10344 soname_spec='${libname}${release}${shared_ext}$major'
10348 version_type=linux # correct to gnu/linux during the next big refactor
10351 hardcode_into_libs=yes
10352 if test "$host_cpu" = ia64; then
10353 # AIX 5 supports IA64
10354 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10355 shlibpath_var=LD_LIBRARY_PATH
10357 # With GCC up to 2.95.x, collect2 would create an import file
10358 # for dependence libraries. The import file would start with
10359 # the line `#! .'. This would cause the generated library to
10360 # depend on `.', always an invalid library. This was fixed in
10361 # development snapshots of GCC prior to 3.0.
10363 aix4 | aix4.[01] | aix4.[01].*)
10364 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10366 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10369 can_build_shared=no
10373 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10374 # soname into executable. Probably we can add versioning support to
10375 # collect2, so additional links can be useful in future.
10376 if test "$aix_use_runtimelinking" = yes; then
10377 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10378 # instead of lib<name>.a to let people know that these are not
10379 # typical AIX shared libraries.
10380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10382 # We preserve .a as extension for shared libraries through AIX4.2
10383 # and later when we are not doing run time linking.
10384 library_names_spec='${libname}${release}.a $libname.a'
10385 soname_spec='${libname}${release}${shared_ext}$major'
10387 shlibpath_var=LIBPATH
10394 # Since July 2007 AmigaOS4 officially supports .so libraries.
10395 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10399 library_names_spec='$libname.ixlibrary $libname.a'
10400 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10401 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'
10407 library_names_spec='${libname}${shared_ext}'
10408 dynamic_linker="$host_os ld.so"
10409 shlibpath_var=LIBRARY_PATH
10413 version_type=linux # correct to gnu/linux during the next big refactor
10415 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10416 soname_spec='${libname}${release}${shared_ext}$major'
10417 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10418 shlibpath_var=LD_LIBRARY_PATH
10419 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10420 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10421 # the default ld.so.conf also contains /usr/contrib/lib and
10422 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10423 # libtool to hard-code these into programs
10426 cygwin* | mingw* | pw32* | cegcc*)
10427 version_type=windows
10432 case $GCC,$cc_basename in
10435 library_names_spec='$libname.dll.a'
10436 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10437 postinstall_cmds='base_file=`basename \${file}`~
10438 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10439 dldir=$destdir/`dirname \$dlpath`~
10440 test -d \$dldir || mkdir -p \$dldir~
10441 $install_prog $dir/$dlname \$dldir/$dlname~
10442 chmod a+x \$dldir/$dlname~
10443 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10444 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10446 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10447 dlpath=$dir/\$dldll~
10449 shlibpath_overrides_runpath=yes
10453 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10454 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10456 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10459 # MinGW DLLs use traditional 'lib' prefix
10460 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10463 # pw32 DLLs use 'pw' prefix rather than 'lib'
10464 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10467 dynamic_linker='Win32 ld.exe'
10472 libname_spec='$name'
10473 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10474 library_names_spec='${libname}.dll.lib'
10478 sys_lib_search_path_spec=
10481 for lt_path in $LIB
10484 # Let DOS variable expansion print the short 8.3 style file name.
10485 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10486 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10489 # Convert to MSYS style.
10490 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10493 # Convert to unix form, then to dos form, then back to unix form
10494 # but this time dos style (no spaces!) so that the unix form looks
10495 # like /cygdrive/c/PROGRA~1:/cygdr...
10496 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10497 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10498 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10501 sys_lib_search_path_spec="$LIB"
10502 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10503 # It is most probably a Windows format PATH.
10504 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10506 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10508 # FIXME: find the short name or the path components, as spaces are
10509 # common. (e.g. "Program Files" -> "PROGRA~1")
10513 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10514 postinstall_cmds='base_file=`basename \${file}`~
10515 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10516 dldir=$destdir/`dirname \$dlpath`~
10517 test -d \$dldir || mkdir -p \$dldir~
10518 $install_prog $dir/$dlname \$dldir/$dlname'
10519 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10520 dlpath=$dir/\$dldll~
10522 shlibpath_overrides_runpath=yes
10523 dynamic_linker='Win32 link.exe'
10527 # Assume MSVC wrapper
10528 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10529 dynamic_linker='Win32 ld.exe'
10532 # FIXME: first we should search . and the directory the executable is in
10536 darwin* | rhapsody*)
10537 dynamic_linker="$host_os dyld"
10538 version_type=darwin
10541 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10542 soname_spec='${libname}${release}${major}$shared_ext'
10543 shlibpath_overrides_runpath=yes
10544 shlibpath_var=DYLD_LIBRARY_PATH
10545 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10547 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10548 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10552 version_type=linux # correct to gnu/linux during the next big refactor
10555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10556 soname_spec='${libname}${release}${shared_ext}$major'
10557 shlibpath_var=LD_LIBRARY_PATH
10560 freebsd* | dragonfly*)
10561 # DragonFly does not have aout. When/if they implement a new
10562 # versioning mechanism, adjust this.
10563 if test -x /usr/bin/objformat; then
10564 objformat=`/usr/bin/objformat`
10567 freebsd[23].*) objformat=aout ;;
10568 *) objformat=elf ;;
10571 version_type=freebsd-$objformat
10572 case $version_type in
10574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10579 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10583 shlibpath_var=LD_LIBRARY_PATH
10586 shlibpath_overrides_runpath=yes
10588 freebsd3.[01]* | freebsdelf3.[01]*)
10589 shlibpath_overrides_runpath=yes
10590 hardcode_into_libs=yes
10592 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10593 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10594 shlibpath_overrides_runpath=no
10595 hardcode_into_libs=yes
10597 *) # from 4.6 on, and DragonFly
10598 shlibpath_overrides_runpath=yes
10599 hardcode_into_libs=yes
10605 version_type=linux # correct to gnu/linux during the next big refactor
10608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10609 soname_spec='${libname}${release}${shared_ext}$major'
10610 shlibpath_var=LD_LIBRARY_PATH
10611 shlibpath_overrides_runpath=no
10612 hardcode_into_libs=yes
10616 version_type=linux # correct to gnu/linux during the next big refactor
10619 dynamic_linker="$host_os runtime_loader"
10620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10621 soname_spec='${libname}${release}${shared_ext}$major'
10622 shlibpath_var=LIBRARY_PATH
10623 shlibpath_overrides_runpath=yes
10624 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10625 hardcode_into_libs=yes
10628 hpux9* | hpux10* | hpux11*)
10629 # Give a soname corresponding to the major version so that dld.sl refuses to
10630 # link against other versions.
10637 hardcode_into_libs=yes
10638 dynamic_linker="$host_os dld.so"
10639 shlibpath_var=LD_LIBRARY_PATH
10640 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10642 soname_spec='${libname}${release}${shared_ext}$major'
10643 if test "X$HPUX_IA64_MODE" = X32; then
10644 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10646 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10648 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10652 hardcode_into_libs=yes
10653 dynamic_linker="$host_os dld.sl"
10654 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10655 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10657 soname_spec='${libname}${release}${shared_ext}$major'
10658 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10659 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10663 dynamic_linker="$host_os dld.sl"
10664 shlibpath_var=SHLIB_PATH
10665 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10667 soname_spec='${libname}${release}${shared_ext}$major'
10670 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10671 postinstall_cmds='chmod 555 $lib'
10672 # or fails outright, so override atomically:
10673 install_override_mode=555
10677 version_type=linux # correct to gnu/linux during the next big refactor
10680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10681 soname_spec='${libname}${release}${shared_ext}$major'
10682 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10683 shlibpath_var=LD_LIBRARY_PATH
10684 shlibpath_overrides_runpath=no
10685 hardcode_into_libs=yes
10688 irix5* | irix6* | nonstopux*)
10690 nonstopux*) version_type=nonstopux ;;
10692 if test "$lt_cv_prog_gnu_ld" = yes; then
10693 version_type=linux # correct to gnu/linux during the next big refactor
10700 soname_spec='${libname}${release}${shared_ext}$major'
10701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10703 irix5* | nonstopux*)
10704 libsuff= shlibsuff=
10707 case $LD in # libtool.m4 will add one of these switches to LD
10708 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10709 libsuff= shlibsuff= libmagic=32-bit;;
10710 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10711 libsuff=32 shlibsuff=N32 libmagic=N32;;
10712 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10713 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10714 *) libsuff= shlibsuff= libmagic=never-match;;
10718 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10719 shlibpath_overrides_runpath=no
10720 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10721 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10722 hardcode_into_libs=yes
10725 # No shared lib support for Linux oldld, aout, or coff.
10726 linux*oldld* | linux*aout* | linux*coff*)
10730 # This must be glibc/ELF.
10731 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10732 version_type=linux # correct to gnu/linux during the next big refactor
10735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10736 soname_spec='${libname}${release}${shared_ext}$major'
10737 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10738 shlibpath_var=LD_LIBRARY_PATH
10739 shlibpath_overrides_runpath=no
10741 # Some binutils ld are patched to set DT_RUNPATH
10742 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10743 $as_echo_n "(cached) " >&6
10745 lt_cv_shlibpath_overrides_runpath=no
10746 save_LDFLAGS=$LDFLAGS
10747 save_libdir=$libdir
10748 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10749 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10761 if ac_fn_c_try_link "$LINENO"; then :
10762 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10763 lt_cv_shlibpath_overrides_runpath=yes
10766 rm -f core conftest.err conftest.$ac_objext \
10767 conftest$ac_exeext conftest.$ac_ext
10768 LDFLAGS=$save_LDFLAGS
10769 libdir=$save_libdir
10773 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10775 # This implies no fast_install, which is unacceptable.
10776 # Some rework will be needed to allow for fast_install
10777 # before this can be enabled.
10778 hardcode_into_libs=yes
10780 # Append ld.so.conf contents to the search path
10781 if test -f /etc/ld.so.conf; then
10782 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' ' '`
10783 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10786 # We used to test for /lib/ld.so.1 and disable shared libraries on
10787 # powerpc, because MkLinux only supported shared libraries with the
10788 # GNU dynamic linker. Since this was broken with cross compilers,
10789 # most powerpc-linux boxes support dynamic linking these days and
10790 # people can always --disable-shared, the test was removed, and we
10791 # assume the GNU/Linux dynamic linker is in use.
10792 dynamic_linker='GNU/Linux ld.so'
10799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10800 soname_spec='${libname}${release}${shared_ext}$major'
10801 shlibpath_var=LD_LIBRARY_PATH
10802 shlibpath_overrides_runpath=no
10803 hardcode_into_libs=yes
10804 dynamic_linker='NetBSD ld.elf_so'
10811 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10813 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10814 dynamic_linker='NetBSD (a.out) ld.so'
10816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10817 soname_spec='${libname}${release}${shared_ext}$major'
10818 dynamic_linker='NetBSD ld.elf_so'
10820 shlibpath_var=LD_LIBRARY_PATH
10821 shlibpath_overrides_runpath=yes
10822 hardcode_into_libs=yes
10826 version_type=linux # correct to gnu/linux during the next big refactor
10827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828 shlibpath_var=LD_LIBRARY_PATH
10829 shlibpath_overrides_runpath=yes
10836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10837 soname_spec='${libname}${release}${shared_ext}$major'
10838 shlibpath_var=LD_LIBRARY_PATH
10839 shlibpath_overrides_runpath=no
10840 hardcode_into_libs=yes
10841 dynamic_linker='ldqnx.so'
10846 sys_lib_dlsearch_path_spec="/usr/lib"
10848 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10850 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10851 *) need_version=no ;;
10853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10854 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10855 shlibpath_var=LD_LIBRARY_PATH
10856 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10858 openbsd2.[89] | openbsd2.[89].*)
10859 shlibpath_overrides_runpath=no
10862 shlibpath_overrides_runpath=yes
10866 shlibpath_overrides_runpath=yes
10871 libname_spec='$name'
10874 library_names_spec='$libname${shared_ext} $libname.a'
10875 dynamic_linker='OS/2 ld.exe'
10876 shlibpath_var=LIBPATH
10879 osf3* | osf4* | osf5*)
10883 soname_spec='${libname}${release}${shared_ext}$major'
10884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10885 shlibpath_var=LD_LIBRARY_PATH
10886 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10887 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10895 version_type=linux # correct to gnu/linux during the next big refactor
10898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10899 soname_spec='${libname}${release}${shared_ext}$major'
10900 shlibpath_var=LD_LIBRARY_PATH
10901 shlibpath_overrides_runpath=yes
10902 hardcode_into_libs=yes
10903 # ldd complains unless libraries are executable
10904 postinstall_cmds='chmod +x $lib'
10909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10910 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10911 shlibpath_var=LD_LIBRARY_PATH
10912 shlibpath_overrides_runpath=yes
10913 if test "$with_gnu_ld" = yes; then
10920 version_type=linux # correct to gnu/linux during the next big refactor
10921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10922 soname_spec='${libname}${release}${shared_ext}$major'
10923 shlibpath_var=LD_LIBRARY_PATH
10924 case $host_vendor in
10926 shlibpath_overrides_runpath=no
10928 runpath_var=LD_RUN_PATH
10936 shlibpath_overrides_runpath=no
10937 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10943 if test -d /usr/nec ;then
10944 version_type=linux # correct to gnu/linux during the next big refactor
10945 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10946 soname_spec='$libname${shared_ext}.$major'
10947 shlibpath_var=LD_LIBRARY_PATH
10951 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10952 version_type=freebsd-elf
10955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10956 soname_spec='${libname}${release}${shared_ext}$major'
10957 shlibpath_var=LD_LIBRARY_PATH
10958 shlibpath_overrides_runpath=yes
10959 hardcode_into_libs=yes
10960 if test "$with_gnu_ld" = yes; then
10961 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10963 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10966 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10970 sys_lib_dlsearch_path_spec='/usr/lib'
10974 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10975 version_type=linux # correct to gnu/linux during the next big refactor
10978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10979 shlibpath_var=LD_LIBRARY_PATH
10980 shlibpath_overrides_runpath=no
10981 hardcode_into_libs=yes
10985 version_type=linux # correct to gnu/linux during the next big refactor
10986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10987 soname_spec='${libname}${release}${shared_ext}$major'
10988 shlibpath_var=LD_LIBRARY_PATH
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10996 $as_echo "$dynamic_linker" >&6; }
10997 test "$dynamic_linker" = no && can_build_shared=no
10999 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11000 if test "$GCC" = yes; then
11001 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11004 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11005 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11007 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11008 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11103 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11105 if test -n "$hardcode_libdir_flag_spec" ||
11106 test -n "$runpath_var" ||
11107 test "X$hardcode_automatic" = "Xyes" ; then
11109 # We can hardcode non-existent directories.
11110 if test "$hardcode_direct" != no &&
11111 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11112 # have to relink, otherwise we might link with an installed library
11113 # when we should be linking with a yet-to-be-installed one
11114 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11115 test "$hardcode_minus_L" != no; then
11116 # Linking always hardcodes the temporary library directory.
11117 hardcode_action=relink
11119 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11120 hardcode_action=immediate
11123 # We cannot hardcode anything, or else we can only hardcode existing
11125 hardcode_action=unsupported
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11128 $as_echo "$hardcode_action" >&6; }
11130 if test "$hardcode_action" = relink ||
11131 test "$inherit_rpath" = yes; then
11132 # Fast installation is not supported
11133 enable_fast_install=no
11134 elif test "$shlibpath_overrides_runpath" = yes ||
11135 test "$enable_shared" = no; then
11136 # Fast installation is not necessary
11137 enable_fast_install=needless
11145 if test "x$enable_dlopen" != xyes; then
11146 enable_dlopen=unknown
11147 enable_dlopen_self=unknown
11148 enable_dlopen_self_static=unknown
11155 lt_cv_dlopen="load_add_on"
11157 lt_cv_dlopen_self=yes
11160 mingw* | pw32* | cegcc*)
11161 lt_cv_dlopen="LoadLibrary"
11166 lt_cv_dlopen="dlopen"
11171 # if libdl is installed we need to link against it
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11173 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11174 if ${ac_cv_lib_dl_dlopen+:} false; then :
11175 $as_echo_n "(cached) " >&6
11177 ac_check_lib_save_LIBS=$LIBS
11179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11180 /* end confdefs.h. */
11182 /* Override any GCC internal prototype to avoid an error.
11183 Use char because int might match the return type of a GCC
11184 builtin and then its argument prototype would still apply. */
11197 if ac_fn_c_try_link "$LINENO"; then :
11198 ac_cv_lib_dl_dlopen=yes
11200 ac_cv_lib_dl_dlopen=no
11202 rm -f core conftest.err conftest.$ac_objext \
11203 conftest$ac_exeext conftest.$ac_ext
11204 LIBS=$ac_check_lib_save_LIBS
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11207 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11208 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11209 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11212 lt_cv_dlopen="dyld"
11214 lt_cv_dlopen_self=yes
11221 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11222 if test "x$ac_cv_func_shl_load" = xyes; then :
11223 lt_cv_dlopen="shl_load"
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11226 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11227 if ${ac_cv_lib_dld_shl_load+:} false; then :
11228 $as_echo_n "(cached) " >&6
11230 ac_check_lib_save_LIBS=$LIBS
11232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11233 /* end confdefs.h. */
11235 /* Override any GCC internal prototype to avoid an error.
11236 Use char because int might match the return type of a GCC
11237 builtin and then its argument prototype would still apply. */
11245 return shl_load ();
11250 if ac_fn_c_try_link "$LINENO"; then :
11251 ac_cv_lib_dld_shl_load=yes
11253 ac_cv_lib_dld_shl_load=no
11255 rm -f core conftest.err conftest.$ac_objext \
11256 conftest$ac_exeext conftest.$ac_ext
11257 LIBS=$ac_check_lib_save_LIBS
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11260 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11261 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11262 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11264 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11265 if test "x$ac_cv_func_dlopen" = xyes; then :
11266 lt_cv_dlopen="dlopen"
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11269 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11270 if ${ac_cv_lib_dl_dlopen+:} false; then :
11271 $as_echo_n "(cached) " >&6
11273 ac_check_lib_save_LIBS=$LIBS
11275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h. */
11278 /* Override any GCC internal prototype to avoid an error.
11279 Use char because int might match the return type of a GCC
11280 builtin and then its argument prototype would still apply. */
11293 if ac_fn_c_try_link "$LINENO"; then :
11294 ac_cv_lib_dl_dlopen=yes
11296 ac_cv_lib_dl_dlopen=no
11298 rm -f core conftest.err conftest.$ac_objext \
11299 conftest$ac_exeext conftest.$ac_ext
11300 LIBS=$ac_check_lib_save_LIBS
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11303 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11304 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11305 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11308 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11309 if ${ac_cv_lib_svld_dlopen+:} false; then :
11310 $as_echo_n "(cached) " >&6
11312 ac_check_lib_save_LIBS=$LIBS
11313 LIBS="-lsvld $LIBS"
11314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11315 /* end confdefs.h. */
11317 /* Override any GCC internal prototype to avoid an error.
11318 Use char because int might match the return type of a GCC
11319 builtin and then its argument prototype would still apply. */
11332 if ac_fn_c_try_link "$LINENO"; then :
11333 ac_cv_lib_svld_dlopen=yes
11335 ac_cv_lib_svld_dlopen=no
11337 rm -f core conftest.err conftest.$ac_objext \
11338 conftest$ac_exeext conftest.$ac_ext
11339 LIBS=$ac_check_lib_save_LIBS
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11342 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11343 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11344 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11347 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11348 if ${ac_cv_lib_dld_dld_link+:} false; then :
11349 $as_echo_n "(cached) " >&6
11351 ac_check_lib_save_LIBS=$LIBS
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11356 /* Override any GCC internal prototype to avoid an error.
11357 Use char because int might match the return type of a GCC
11358 builtin and then its argument prototype would still apply. */
11366 return dld_link ();
11371 if ac_fn_c_try_link "$LINENO"; then :
11372 ac_cv_lib_dld_dld_link=yes
11374 ac_cv_lib_dld_dld_link=no
11376 rm -f core conftest.err conftest.$ac_objext \
11377 conftest$ac_exeext conftest.$ac_ext
11378 LIBS=$ac_check_lib_save_LIBS
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11381 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11382 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11383 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11404 if test "x$lt_cv_dlopen" != xno; then
11410 case $lt_cv_dlopen in
11412 save_CPPFLAGS="$CPPFLAGS"
11413 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11415 save_LDFLAGS="$LDFLAGS"
11416 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11419 LIBS="$lt_cv_dlopen_libs $LIBS"
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11422 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11423 if ${lt_cv_dlopen_self+:} false; then :
11424 $as_echo_n "(cached) " >&6
11426 if test "$cross_compiling" = yes; then :
11427 lt_cv_dlopen_self=cross
11429 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11430 lt_status=$lt_dlunknown
11431 cat > conftest.$ac_ext <<_LT_EOF
11432 #line $LINENO "configure"
11433 #include "confdefs.h"
11442 # define LT_DLGLOBAL RTLD_GLOBAL
11445 # define LT_DLGLOBAL DL_GLOBAL
11447 # define LT_DLGLOBAL 0
11451 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11452 find out it does not work in some platform. */
11453 #ifndef LT_DLLAZY_OR_NOW
11455 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11458 # define LT_DLLAZY_OR_NOW DL_LAZY
11461 # define LT_DLLAZY_OR_NOW RTLD_NOW
11464 # define LT_DLLAZY_OR_NOW DL_NOW
11466 # define LT_DLLAZY_OR_NOW 0
11473 /* When -fvisbility=hidden is used, assume the code has been annotated
11474 correspondingly for the symbols needed. */
11475 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11476 int fnord () __attribute__((visibility("default")));
11479 int fnord () { return 42; }
11482 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11483 int status = $lt_dlunknown;
11487 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11490 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11491 else puts (dlerror ());
11493 /* dlclose (self); */
11501 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11502 (eval $ac_link) 2>&5
11504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11505 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11506 (./conftest; exit; ) >&5 2>/dev/null
11508 case x$lt_status in
11509 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11510 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11511 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11514 # compilation failed
11515 lt_cv_dlopen_self=no
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11523 $as_echo "$lt_cv_dlopen_self" >&6; }
11525 if test "x$lt_cv_dlopen_self" = xyes; then
11526 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11528 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11529 if ${lt_cv_dlopen_self_static+:} false; then :
11530 $as_echo_n "(cached) " >&6
11532 if test "$cross_compiling" = yes; then :
11533 lt_cv_dlopen_self_static=cross
11535 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11536 lt_status=$lt_dlunknown
11537 cat > conftest.$ac_ext <<_LT_EOF
11538 #line $LINENO "configure"
11539 #include "confdefs.h"
11548 # define LT_DLGLOBAL RTLD_GLOBAL
11551 # define LT_DLGLOBAL DL_GLOBAL
11553 # define LT_DLGLOBAL 0
11557 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11558 find out it does not work in some platform. */
11559 #ifndef LT_DLLAZY_OR_NOW
11561 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11564 # define LT_DLLAZY_OR_NOW DL_LAZY
11567 # define LT_DLLAZY_OR_NOW RTLD_NOW
11570 # define LT_DLLAZY_OR_NOW DL_NOW
11572 # define LT_DLLAZY_OR_NOW 0
11579 /* When -fvisbility=hidden is used, assume the code has been annotated
11580 correspondingly for the symbols needed. */
11581 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11582 int fnord () __attribute__((visibility("default")));
11585 int fnord () { return 42; }
11588 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11589 int status = $lt_dlunknown;
11593 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11596 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11597 else puts (dlerror ());
11599 /* dlclose (self); */
11607 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11608 (eval $ac_link) 2>&5
11610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11611 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11612 (./conftest; exit; ) >&5 2>/dev/null
11614 case x$lt_status in
11615 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11616 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11617 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11620 # compilation failed
11621 lt_cv_dlopen_self_static=no
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11629 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11632 CPPFLAGS="$save_CPPFLAGS"
11633 LDFLAGS="$save_LDFLAGS"
11638 case $lt_cv_dlopen_self in
11639 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11640 *) enable_dlopen_self=unknown ;;
11643 case $lt_cv_dlopen_self_static in
11644 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11645 *) enable_dlopen_self_static=unknown ;;
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11668 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11669 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11670 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11671 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11673 $as_echo "yes" >&6; }
11675 # FIXME - insert some real tests, host_os isn't really good enough
11678 if test -n "$STRIP" ; then
11679 striplib="$STRIP -x"
11680 old_striplib="$STRIP -S"
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11682 $as_echo "yes" >&6; }
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11685 $as_echo "no" >&6; }
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11690 $as_echo "no" >&6; }
11706 # Report which library types will actually be built
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11708 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11710 $as_echo "$can_build_shared" >&6; }
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11713 $as_echo_n "checking whether to build shared libraries... " >&6; }
11714 test "$can_build_shared" = "no" && enable_shared=no
11716 # On AIX, shared libraries and static libraries use the same namespace, and
11717 # are all built from PIC.
11720 test "$enable_shared" = yes && enable_static=no
11721 if test -n "$RANLIB"; then
11722 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11723 postinstall_cmds='$RANLIB $lib'
11728 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11729 test "$enable_shared" = yes && enable_static=no
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11734 $as_echo "$enable_shared" >&6; }
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11737 $as_echo_n "checking whether to build static libraries... " >&6; }
11738 # Make sure either enable_shared or enable_static is yes.
11739 test "$enable_shared" = yes || enable_static=yes
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11741 $as_echo "$enable_static" >&6; }
11748 ac_cpp='$CPP $CPPFLAGS'
11749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11769 ac_config_commands="$ac_config_commands libtool"
11774 # Only expand once:
11778 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11779 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11783 cat >>confdefs.h <<_ACEOF
11788 cat >>confdefs.h <<_ACEOF
11793 cat >>confdefs.h <<_ACEOF
11798 cat >>confdefs.h <<_ACEOF
11802 version_info="8:2:7"
11806 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11807 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11816 $as_echo_n "checking whether NLS is requested... " >&6; }
11817 # Check whether --enable-nls was given.
11818 if test "${enable_nls+set}" = set; then :
11819 enableval=$enable_nls; USE_NLS=$enableval
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11825 $as_echo "$USE_NLS" >&6; }
11830 GETTEXT_MACRO_VERSION=0.17
11835 # Prepare PATH_SEPARATOR.
11836 # The user is always right.
11837 if test "${PATH_SEPARATOR+set}" != set; then
11838 echo "#! /bin/sh" >conf$$.sh
11839 echo "exit 0" >>conf$$.sh
11841 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11849 # Find out how to test for executable files. Don't use a zero-byte file,
11850 # as systems may use methods other than mode bits to determine executability.
11851 cat >conf$$.file <<_ASEOF
11855 chmod +x conf$$.file
11856 if test -x conf$$.file >/dev/null 2>&1; then
11857 ac_executable_p="test -x"
11859 ac_executable_p="test -f"
11863 # Extract the first word of "msgfmt", so it can be a program name with args.
11864 set dummy msgfmt; ac_word=$2
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11866 $as_echo_n "checking for $ac_word... " >&6; }
11867 if ${ac_cv_path_MSGFMT+:} false; then :
11868 $as_echo_n "(cached) " >&6
11872 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11875 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11876 for ac_dir in $PATH; do
11878 test -z "$ac_dir" && ac_dir=.
11879 for ac_exec_ext in '' $ac_executable_extensions; do
11880 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11881 echo "$as_me: trying $ac_dir/$ac_word..." >&5
11882 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
11883 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11884 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
11891 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
11895 MSGFMT="$ac_cv_path_MSGFMT"
11896 if test "$MSGFMT" != ":"; then
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11898 $as_echo "$MSGFMT" >&6; }
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11901 $as_echo "no" >&6; }
11904 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11905 set dummy gmsgfmt; ac_word=$2
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11907 $as_echo_n "checking for $ac_word... " >&6; }
11908 if ${ac_cv_path_GMSGFMT+:} false; then :
11909 $as_echo_n "(cached) " >&6
11913 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11917 for as_dir in $PATH
11920 test -z "$as_dir" && as_dir=.
11921 for ac_exec_ext in '' $ac_executable_extensions; do
11922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11923 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11931 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11935 GMSGFMT=$ac_cv_path_GMSGFMT
11936 if test -n "$GMSGFMT"; then
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11938 $as_echo "$GMSGFMT" >&6; }
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11941 $as_echo "no" >&6; }
11946 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11947 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
11948 *) MSGFMT_015=$MSGFMT ;;
11951 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11952 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
11953 *) GMSGFMT_015=$GMSGFMT ;;
11958 # Prepare PATH_SEPARATOR.
11959 # The user is always right.
11960 if test "${PATH_SEPARATOR+set}" != set; then
11961 echo "#! /bin/sh" >conf$$.sh
11962 echo "exit 0" >>conf$$.sh
11964 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11972 # Find out how to test for executable files. Don't use a zero-byte file,
11973 # as systems may use methods other than mode bits to determine executability.
11974 cat >conf$$.file <<_ASEOF
11978 chmod +x conf$$.file
11979 if test -x conf$$.file >/dev/null 2>&1; then
11980 ac_executable_p="test -x"
11982 ac_executable_p="test -f"
11986 # Extract the first word of "xgettext", so it can be a program name with args.
11987 set dummy xgettext; ac_word=$2
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11989 $as_echo_n "checking for $ac_word... " >&6; }
11990 if ${ac_cv_path_XGETTEXT+:} false; then :
11991 $as_echo_n "(cached) " >&6
11993 case "$XGETTEXT" in
11995 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11998 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11999 for ac_dir in $PATH; do
12001 test -z "$ac_dir" && ac_dir=.
12002 for ac_exec_ext in '' $ac_executable_extensions; do
12003 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12004 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12005 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
12006 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12007 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
12014 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12018 XGETTEXT="$ac_cv_path_XGETTEXT"
12019 if test "$XGETTEXT" != ":"; then
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12021 $as_echo "$XGETTEXT" >&6; }
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12024 $as_echo "no" >&6; }
12029 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12030 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
12031 *) XGETTEXT_015=$XGETTEXT ;;
12036 # Prepare PATH_SEPARATOR.
12037 # The user is always right.
12038 if test "${PATH_SEPARATOR+set}" != set; then
12039 echo "#! /bin/sh" >conf$$.sh
12040 echo "exit 0" >>conf$$.sh
12042 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12050 # Find out how to test for executable files. Don't use a zero-byte file,
12051 # as systems may use methods other than mode bits to determine executability.
12052 cat >conf$$.file <<_ASEOF
12056 chmod +x conf$$.file
12057 if test -x conf$$.file >/dev/null 2>&1; then
12058 ac_executable_p="test -x"
12060 ac_executable_p="test -f"
12064 # Extract the first word of "msgmerge", so it can be a program name with args.
12065 set dummy msgmerge; ac_word=$2
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12067 $as_echo_n "checking for $ac_word... " >&6; }
12068 if ${ac_cv_path_MSGMERGE+:} false; then :
12069 $as_echo_n "(cached) " >&6
12071 case "$MSGMERGE" in
12073 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12076 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12077 for ac_dir in $PATH; do
12079 test -z "$ac_dir" && ac_dir=.
12080 for ac_exec_ext in '' $ac_executable_extensions; do
12081 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12082 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12083 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
12084 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12091 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12095 MSGMERGE="$ac_cv_path_MSGMERGE"
12096 if test "$MSGMERGE" != ":"; then
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12098 $as_echo "$MSGMERGE" >&6; }
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12101 $as_echo "no" >&6; }
12105 test -n "$localedir" || localedir='${datadir}/locale'
12108 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
12111 ac_config_commands="$ac_config_commands po-directories"
12115 if test "X$prefix" = "XNONE"; then
12116 acl_final_prefix="$ac_default_prefix"
12118 acl_final_prefix="$prefix"
12120 if test "X$exec_prefix" = "XNONE"; then
12121 acl_final_exec_prefix='${prefix}'
12123 acl_final_exec_prefix="$exec_prefix"
12125 acl_save_prefix="$prefix"
12126 prefix="$acl_final_prefix"
12127 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12128 prefix="$acl_save_prefix"
12131 # Check whether --with-gnu-ld was given.
12132 if test "${with_gnu_ld+set}" = set; then :
12133 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12138 # Prepare PATH_SEPARATOR.
12139 # The user is always right.
12140 if test "${PATH_SEPARATOR+set}" != set; then
12141 echo "#! /bin/sh" >conf$$.sh
12142 echo "exit 0" >>conf$$.sh
12144 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12152 if test "$GCC" = yes; then
12153 # Check if gcc -print-prog-name=ld gives a path.
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12155 $as_echo_n "checking for ld used by GCC... " >&6; }
12158 # gcc leaves a trailing carriage return which upsets mingw
12159 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12161 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12164 # Accept absolute paths.
12165 [\\/]* | [A-Za-z]:[\\/]*)
12166 re_direlt='/[^/][^/]*/\.\./'
12167 # Canonicalize the path of ld
12168 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12169 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12170 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12172 test -z "$LD" && LD="$ac_prog"
12175 # If it fails, then pretend we aren't using GCC.
12179 # If it is relative, then search for the first ld in PATH.
12180 with_gnu_ld=unknown
12183 elif test "$with_gnu_ld" = yes; then
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12185 $as_echo_n "checking for GNU ld... " >&6; }
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12188 $as_echo_n "checking for non-GNU ld... " >&6; }
12190 if ${acl_cv_path_LD+:} false; then :
12191 $as_echo_n "(cached) " >&6
12193 if test -z "$LD"; then
12194 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12195 for ac_dir in $PATH; do
12196 test -z "$ac_dir" && ac_dir=.
12197 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12198 acl_cv_path_LD="$ac_dir/$ac_prog"
12199 # Check to see if the program is GNU ld. I'd rather use --version,
12200 # but apparently some GNU ld's only accept -v.
12201 # Break only if it was the GNU/non-GNU ld that we prefer.
12202 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12203 *GNU* | *'with BFD'*)
12204 test "$with_gnu_ld" != no && break ;;
12206 test "$with_gnu_ld" != yes && break ;;
12212 acl_cv_path_LD="$LD" # Let the user override the test with a path.
12216 LD="$acl_cv_path_LD"
12217 if test -n "$LD"; then
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12219 $as_echo "$LD" >&6; }
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12222 $as_echo "no" >&6; }
12224 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12226 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12227 if ${acl_cv_prog_gnu_ld+:} false; then :
12228 $as_echo_n "(cached) " >&6
12230 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12231 case `$LD -v 2>&1 </dev/null` in
12232 *GNU* | *'with BFD'*)
12233 acl_cv_prog_gnu_ld=yes ;;
12235 acl_cv_prog_gnu_ld=no ;;
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12239 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12240 with_gnu_ld=$acl_cv_prog_gnu_ld
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12246 $as_echo_n "checking for shared library run path origin... " >&6; }
12247 if ${acl_cv_rpath+:} false; then :
12248 $as_echo_n "(cached) " >&6
12251 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12252 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12254 rm -f ./conftest.sh
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12259 $as_echo "$acl_cv_rpath" >&6; }
12261 acl_libext="$acl_cv_libext"
12262 acl_shlibext="$acl_cv_shlibext"
12263 acl_libname_spec="$acl_cv_libname_spec"
12264 acl_library_names_spec="$acl_cv_library_names_spec"
12265 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12266 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12267 acl_hardcode_direct="$acl_cv_hardcode_direct"
12268 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12269 # Check whether --enable-rpath was given.
12270 if test "${enable_rpath+set}" = set; then :
12271 enableval=$enable_rpath; :
12279 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12280 if test -n "$searchpath"; then
12281 acl_save_IFS="${IFS= }"; IFS=":"
12282 for searchdir in $searchpath; do
12283 if test -d "$searchdir"; then
12284 case "$searchdir" in
12285 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12286 *) searchdir=`cd "$searchdir" && pwd`
12287 case "$searchdir" in
12288 */lib64 ) acl_libdirstem=lib64 ;;
12293 IFS="$acl_save_IFS"
12306 acl_save_prefix="$prefix"
12307 prefix="$acl_final_prefix"
12308 acl_save_exec_prefix="$exec_prefix"
12309 exec_prefix="$acl_final_exec_prefix"
12311 eval additional_includedir=\"$includedir\"
12312 eval additional_libdir=\"$libdir\"
12314 exec_prefix="$acl_save_exec_prefix"
12315 prefix="$acl_save_prefix"
12318 # Check whether --with-libiconv-prefix was given.
12319 if test "${with_libiconv_prefix+set}" = set; then :
12320 withval=$with_libiconv_prefix;
12321 if test "X$withval" = "Xno"; then
12324 if test "X$withval" = "X"; then
12326 acl_save_prefix="$prefix"
12327 prefix="$acl_final_prefix"
12328 acl_save_exec_prefix="$exec_prefix"
12329 exec_prefix="$acl_final_exec_prefix"
12331 eval additional_includedir=\"$includedir\"
12332 eval additional_libdir=\"$libdir\"
12334 exec_prefix="$acl_save_exec_prefix"
12335 prefix="$acl_save_prefix"
12338 additional_includedir="$withval/include"
12339 additional_libdir="$withval/$acl_libdirstem"
12351 names_already_handled=
12352 names_next_round='iconv '
12353 while test -n "$names_next_round"; do
12354 names_this_round="$names_next_round"
12356 for name in $names_this_round; do
12358 for n in $names_already_handled; do
12359 if test "$n" = "$name"; then
12360 already_handled=yes
12364 if test -z "$already_handled"; then
12365 names_already_handled="$names_already_handled $name"
12366 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12367 eval value=\"\$HAVE_LIB$uppername\"
12368 if test -n "$value"; then
12369 if test "$value" = yes; then
12370 eval value=\"\$LIB$uppername\"
12371 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12372 eval value=\"\$LTLIB$uppername\"
12373 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12382 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
12383 if test -n "$acl_shlibext"; then
12384 shrext=".$acl_shlibext" # typically: shrext=.so
12388 if test $use_additional = yes; then
12389 dir="$additional_libdir"
12390 if test -n "$acl_shlibext"; then
12391 if test -f "$dir/$libname$shrext"; then
12393 found_so="$dir/$libname$shrext"
12395 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12396 ver=`(cd "$dir" && \
12397 for f in "$libname$shrext".*; do echo "$f"; done \
12398 | sed -e "s,^$libname$shrext\\\\.,," \
12399 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12400 | sed 1q ) 2>/dev/null`
12401 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12403 found_so="$dir/$libname$shrext.$ver"
12406 eval library_names=\"$acl_library_names_spec\"
12407 for f in $library_names; do
12408 if test -f "$dir/$f"; then
12417 if test "X$found_dir" = "X"; then
12418 if test -f "$dir/$libname.$acl_libext"; then
12420 found_a="$dir/$libname.$acl_libext"
12423 if test "X$found_dir" != "X"; then
12424 if test -f "$dir/$libname.la"; then
12425 found_la="$dir/$libname.la"
12429 if test "X$found_dir" = "X"; then
12430 for x in $LDFLAGS $LTLIBICONV; do
12432 acl_save_prefix="$prefix"
12433 prefix="$acl_final_prefix"
12434 acl_save_exec_prefix="$exec_prefix"
12435 exec_prefix="$acl_final_exec_prefix"
12437 exec_prefix="$acl_save_exec_prefix"
12438 prefix="$acl_save_prefix"
12442 dir=`echo "X$x" | sed -e 's/^X-L//'`
12443 if test -n "$acl_shlibext"; then
12444 if test -f "$dir/$libname$shrext"; then
12446 found_so="$dir/$libname$shrext"
12448 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12449 ver=`(cd "$dir" && \
12450 for f in "$libname$shrext".*; do echo "$f"; done \
12451 | sed -e "s,^$libname$shrext\\\\.,," \
12452 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12453 | sed 1q ) 2>/dev/null`
12454 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12456 found_so="$dir/$libname$shrext.$ver"
12459 eval library_names=\"$acl_library_names_spec\"
12460 for f in $library_names; do
12461 if test -f "$dir/$f"; then
12470 if test "X$found_dir" = "X"; then
12471 if test -f "$dir/$libname.$acl_libext"; then
12473 found_a="$dir/$libname.$acl_libext"
12476 if test "X$found_dir" != "X"; then
12477 if test -f "$dir/$libname.la"; then
12478 found_la="$dir/$libname.la"
12483 if test "X$found_dir" != "X"; then
12488 if test "X$found_dir" != "X"; then
12489 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12490 if test "X$found_so" != "X"; then
12491 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12492 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12495 for x in $ltrpathdirs; do
12496 if test "X$x" = "X$found_dir"; then
12501 if test -z "$haveit"; then
12502 ltrpathdirs="$ltrpathdirs $found_dir"
12504 if test "$acl_hardcode_direct" = yes; then
12505 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12507 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
12508 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12510 for x in $rpathdirs; do
12511 if test "X$x" = "X$found_dir"; then
12516 if test -z "$haveit"; then
12517 rpathdirs="$rpathdirs $found_dir"
12521 for x in $LDFLAGS $LIBICONV; do
12523 acl_save_prefix="$prefix"
12524 prefix="$acl_final_prefix"
12525 acl_save_exec_prefix="$exec_prefix"
12526 exec_prefix="$acl_final_exec_prefix"
12528 exec_prefix="$acl_save_exec_prefix"
12529 prefix="$acl_save_prefix"
12531 if test "X$x" = "X-L$found_dir"; then
12536 if test -z "$haveit"; then
12537 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12539 if test "$acl_hardcode_minus_L" != no; then
12540 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12542 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12548 if test "X$found_a" != "X"; then
12549 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12551 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12554 additional_includedir=
12555 case "$found_dir" in
12556 */$acl_libdirstem | */$acl_libdirstem/)
12557 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12558 LIBICONV_PREFIX="$basedir"
12559 additional_includedir="$basedir/include"
12562 if test "X$additional_includedir" != "X"; then
12563 if test "X$additional_includedir" != "X/usr/include"; then
12565 if test "X$additional_includedir" = "X/usr/local/include"; then
12566 if test -n "$GCC"; then
12568 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12572 if test -z "$haveit"; then
12573 for x in $CPPFLAGS $INCICONV; do
12575 acl_save_prefix="$prefix"
12576 prefix="$acl_final_prefix"
12577 acl_save_exec_prefix="$exec_prefix"
12578 exec_prefix="$acl_final_exec_prefix"
12580 exec_prefix="$acl_save_exec_prefix"
12581 prefix="$acl_save_prefix"
12583 if test "X$x" = "X-I$additional_includedir"; then
12588 if test -z "$haveit"; then
12589 if test -d "$additional_includedir"; then
12590 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12596 if test -n "$found_la"; then
12597 save_libdir="$libdir"
12598 case "$found_la" in
12599 */* | *\\*) . "$found_la" ;;
12600 *) . "./$found_la" ;;
12602 libdir="$save_libdir"
12603 for dep in $dependency_libs; do
12606 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12607 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
12609 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
12610 if test -n "$GCC"; then
12612 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12616 if test -z "$haveit"; then
12618 for x in $LDFLAGS $LIBICONV; do
12620 acl_save_prefix="$prefix"
12621 prefix="$acl_final_prefix"
12622 acl_save_exec_prefix="$exec_prefix"
12623 exec_prefix="$acl_final_exec_prefix"
12625 exec_prefix="$acl_save_exec_prefix"
12626 prefix="$acl_save_prefix"
12628 if test "X$x" = "X-L$additional_libdir"; then
12633 if test -z "$haveit"; then
12634 if test -d "$additional_libdir"; then
12635 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12639 for x in $LDFLAGS $LTLIBICONV; do
12641 acl_save_prefix="$prefix"
12642 prefix="$acl_final_prefix"
12643 acl_save_exec_prefix="$exec_prefix"
12644 exec_prefix="$acl_final_exec_prefix"
12646 exec_prefix="$acl_save_exec_prefix"
12647 prefix="$acl_save_prefix"
12649 if test "X$x" = "X-L$additional_libdir"; then
12654 if test -z "$haveit"; then
12655 if test -d "$additional_libdir"; then
12656 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12663 dir=`echo "X$dep" | sed -e 's/^X-R//'`
12664 if test "$enable_rpath" != no; then
12666 for x in $rpathdirs; do
12667 if test "X$x" = "X$dir"; then
12672 if test -z "$haveit"; then
12673 rpathdirs="$rpathdirs $dir"
12676 for x in $ltrpathdirs; do
12677 if test "X$x" = "X$dir"; then
12682 if test -z "$haveit"; then
12683 ltrpathdirs="$ltrpathdirs $dir"
12688 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12691 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12694 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
12695 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12701 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12702 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12708 if test "X$rpathdirs" != "X"; then
12709 if test -n "$acl_hardcode_libdir_separator"; then
12711 for found_dir in $rpathdirs; do
12712 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
12714 acl_save_libdir="$libdir"
12716 eval flag=\"$acl_hardcode_libdir_flag_spec\"
12717 libdir="$acl_save_libdir"
12718 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12720 for found_dir in $rpathdirs; do
12721 acl_save_libdir="$libdir"
12722 libdir="$found_dir"
12723 eval flag=\"$acl_hardcode_libdir_flag_spec\"
12724 libdir="$acl_save_libdir"
12725 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12729 if test "X$ltrpathdirs" != "X"; then
12730 for found_dir in $ltrpathdirs; do
12731 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
12760 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
12761 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
12762 $as_echo_n "(cached) " >&6
12764 gt_save_LIBS="$LIBS"
12765 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12767 /* end confdefs.h. */
12768 #include <CoreFoundation/CFPreferences.h>
12772 CFPreferencesCopyAppValue(NULL, NULL)
12777 if ac_fn_c_try_link "$LINENO"; then :
12778 gt_cv_func_CFPreferencesCopyAppValue=yes
12780 gt_cv_func_CFPreferencesCopyAppValue=no
12782 rm -f core conftest.err conftest.$ac_objext \
12783 conftest$ac_exeext conftest.$ac_ext
12784 LIBS="$gt_save_LIBS"
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
12787 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
12788 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
12790 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
12794 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
12795 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
12796 $as_echo_n "(cached) " >&6
12798 gt_save_LIBS="$LIBS"
12799 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12801 /* end confdefs.h. */
12802 #include <CoreFoundation/CFLocale.h>
12806 CFLocaleCopyCurrent();
12811 if ac_fn_c_try_link "$LINENO"; then :
12812 gt_cv_func_CFLocaleCopyCurrent=yes
12814 gt_cv_func_CFLocaleCopyCurrent=no
12816 rm -f core conftest.err conftest.$ac_objext \
12817 conftest$ac_exeext conftest.$ac_ext
12818 LIBS="$gt_save_LIBS"
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
12821 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
12822 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12824 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
12828 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12829 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
12841 case " $gt_needs " in
12842 *" need-formatstring-macros "*) gt_api_version=3 ;;
12843 *" need-ngettext "*) gt_api_version=2 ;;
12844 *) gt_api_version=1 ;;
12846 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
12847 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
12849 if test "$USE_NLS" = "yes"; then
12850 gt_use_preinstalled_gnugettext=no
12853 if test $gt_api_version -ge 3; then
12854 gt_revision_test_code='
12855 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
12856 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
12858 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
12861 gt_revision_test_code=
12863 if test $gt_api_version -ge 2; then
12864 gt_expression_test_code=' + * ngettext ("", "", 0)'
12866 gt_expression_test_code=
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
12870 $as_echo_n "checking for GNU gettext in libc... " >&6; }
12871 if eval \${$gt_func_gnugettext_libc+:} false; then :
12872 $as_echo_n "(cached) " >&6
12874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12875 /* end confdefs.h. */
12876 #include <libintl.h>
12877 $gt_revision_test_code
12878 extern int _nl_msg_cat_cntr;
12879 extern int *_nl_domain_bindings;
12883 bindtextdomain ("", "");
12884 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
12889 if ac_fn_c_try_link "$LINENO"; then :
12890 eval "$gt_func_gnugettext_libc=yes"
12892 eval "$gt_func_gnugettext_libc=no"
12894 rm -f core conftest.err conftest.$ac_objext \
12895 conftest$ac_exeext conftest.$ac_ext
12897 eval ac_res=\$$gt_func_gnugettext_libc
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12899 $as_echo "$ac_res" >&6; }
12901 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
12907 am_save_CPPFLAGS="$CPPFLAGS"
12909 for element in $INCICONV; do
12911 for x in $CPPFLAGS; do
12913 acl_save_prefix="$prefix"
12914 prefix="$acl_final_prefix"
12915 acl_save_exec_prefix="$exec_prefix"
12916 exec_prefix="$acl_final_exec_prefix"
12918 exec_prefix="$acl_save_exec_prefix"
12919 prefix="$acl_save_prefix"
12921 if test "X$x" = "X$element"; then
12926 if test -z "$haveit"; then
12927 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12933 $as_echo_n "checking for iconv... " >&6; }
12934 if ${am_cv_func_iconv+:} false; then :
12935 $as_echo_n "(cached) " >&6
12938 am_cv_func_iconv="no, consider installing GNU libiconv"
12940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12941 /* end confdefs.h. */
12942 #include <stdlib.h>
12947 iconv_t cd = iconv_open("","");
12948 iconv(cd,NULL,NULL,NULL,NULL);
12954 if ac_fn_c_try_link "$LINENO"; then :
12955 am_cv_func_iconv=yes
12957 rm -f core conftest.err conftest.$ac_objext \
12958 conftest$ac_exeext conftest.$ac_ext
12959 if test "$am_cv_func_iconv" != yes; then
12960 am_save_LIBS="$LIBS"
12961 LIBS="$LIBS $LIBICONV"
12962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12963 /* end confdefs.h. */
12964 #include <stdlib.h>
12969 iconv_t cd = iconv_open("","");
12970 iconv(cd,NULL,NULL,NULL,NULL);
12976 if ac_fn_c_try_link "$LINENO"; then :
12977 am_cv_lib_iconv=yes
12978 am_cv_func_iconv=yes
12980 rm -f core conftest.err conftest.$ac_objext \
12981 conftest$ac_exeext conftest.$ac_ext
12982 LIBS="$am_save_LIBS"
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12987 $as_echo "$am_cv_func_iconv" >&6; }
12988 if test "$am_cv_func_iconv" = yes; then
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
12990 $as_echo_n "checking for working iconv... " >&6; }
12991 if ${am_cv_func_iconv_works+:} false; then :
12992 $as_echo_n "(cached) " >&6
12995 am_save_LIBS="$LIBS"
12996 if test $am_cv_lib_iconv = yes; then
12997 LIBS="$LIBS $LIBICONV"
12999 if test "$cross_compiling" = yes; then :
13001 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13002 *) am_cv_func_iconv_works="guessing yes" ;;
13005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13006 /* end confdefs.h. */
13009 #include <string.h>
13012 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13015 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13016 if (cd_utf8_to_88591 != (iconv_t)(-1))
13018 static const char input[] = "\342\202\254"; /* EURO SIGN */
13020 const char *inptr = input;
13021 size_t inbytesleft = strlen (input);
13022 char *outptr = buf;
13023 size_t outbytesleft = sizeof (buf);
13024 size_t res = iconv (cd_utf8_to_88591,
13025 (char **) &inptr, &inbytesleft,
13026 &outptr, &outbytesleft);
13031 #if 0 /* This bug could be worked around by the caller. */
13032 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
13034 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13035 if (cd_88591_to_utf8 != (iconv_t)(-1))
13037 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13039 const char *inptr = input;
13040 size_t inbytesleft = strlen (input);
13041 char *outptr = buf;
13042 size_t outbytesleft = sizeof (buf);
13043 size_t res = iconv (cd_88591_to_utf8,
13044 (char **) &inptr, &inbytesleft,
13045 &outptr, &outbytesleft);
13051 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13053 if (/* Try standardized names. */
13054 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13055 /* Try IRIX, OSF/1 names. */
13056 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13057 /* Try AIX names. */
13058 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13059 /* Try HP-UX names. */
13060 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13065 if ac_fn_c_try_run "$LINENO"; then :
13066 am_cv_func_iconv_works=yes
13068 am_cv_func_iconv_works=no
13070 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13071 conftest.$ac_objext conftest.beam conftest.$ac_ext
13074 LIBS="$am_save_LIBS"
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13078 $as_echo "$am_cv_func_iconv_works" >&6; }
13079 case "$am_cv_func_iconv_works" in
13080 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
13081 *) am_func_iconv=yes ;;
13084 am_func_iconv=no am_cv_lib_iconv=no
13086 if test "$am_func_iconv" = yes; then
13088 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13091 if test "$am_cv_lib_iconv" = yes; then
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13093 $as_echo_n "checking how to link with libiconv... " >&6; }
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13095 $as_echo "$LIBICONV" >&6; }
13097 CPPFLAGS="$am_save_CPPFLAGS"
13111 acl_save_prefix="$prefix"
13112 prefix="$acl_final_prefix"
13113 acl_save_exec_prefix="$exec_prefix"
13114 exec_prefix="$acl_final_exec_prefix"
13116 eval additional_includedir=\"$includedir\"
13117 eval additional_libdir=\"$libdir\"
13119 exec_prefix="$acl_save_exec_prefix"
13120 prefix="$acl_save_prefix"
13123 # Check whether --with-libintl-prefix was given.
13124 if test "${with_libintl_prefix+set}" = set; then :
13125 withval=$with_libintl_prefix;
13126 if test "X$withval" = "Xno"; then
13129 if test "X$withval" = "X"; then
13131 acl_save_prefix="$prefix"
13132 prefix="$acl_final_prefix"
13133 acl_save_exec_prefix="$exec_prefix"
13134 exec_prefix="$acl_final_exec_prefix"
13136 eval additional_includedir=\"$includedir\"
13137 eval additional_libdir=\"$libdir\"
13139 exec_prefix="$acl_save_exec_prefix"
13140 prefix="$acl_save_prefix"
13143 additional_includedir="$withval/include"
13144 additional_libdir="$withval/$acl_libdirstem"
13156 names_already_handled=
13157 names_next_round='intl '
13158 while test -n "$names_next_round"; do
13159 names_this_round="$names_next_round"
13161 for name in $names_this_round; do
13163 for n in $names_already_handled; do
13164 if test "$n" = "$name"; then
13165 already_handled=yes
13169 if test -z "$already_handled"; then
13170 names_already_handled="$names_already_handled $name"
13171 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13172 eval value=\"\$HAVE_LIB$uppername\"
13173 if test -n "$value"; then
13174 if test "$value" = yes; then
13175 eval value=\"\$LIB$uppername\"
13176 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
13177 eval value=\"\$LTLIB$uppername\"
13178 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
13187 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13188 if test -n "$acl_shlibext"; then
13189 shrext=".$acl_shlibext" # typically: shrext=.so
13193 if test $use_additional = yes; then
13194 dir="$additional_libdir"
13195 if test -n "$acl_shlibext"; then
13196 if test -f "$dir/$libname$shrext"; then
13198 found_so="$dir/$libname$shrext"
13200 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13201 ver=`(cd "$dir" && \
13202 for f in "$libname$shrext".*; do echo "$f"; done \
13203 | sed -e "s,^$libname$shrext\\\\.,," \
13204 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13205 | sed 1q ) 2>/dev/null`
13206 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13208 found_so="$dir/$libname$shrext.$ver"
13211 eval library_names=\"$acl_library_names_spec\"
13212 for f in $library_names; do
13213 if test -f "$dir/$f"; then
13222 if test "X$found_dir" = "X"; then
13223 if test -f "$dir/$libname.$acl_libext"; then
13225 found_a="$dir/$libname.$acl_libext"
13228 if test "X$found_dir" != "X"; then
13229 if test -f "$dir/$libname.la"; then
13230 found_la="$dir/$libname.la"
13234 if test "X$found_dir" = "X"; then
13235 for x in $LDFLAGS $LTLIBINTL; do
13237 acl_save_prefix="$prefix"
13238 prefix="$acl_final_prefix"
13239 acl_save_exec_prefix="$exec_prefix"
13240 exec_prefix="$acl_final_exec_prefix"
13242 exec_prefix="$acl_save_exec_prefix"
13243 prefix="$acl_save_prefix"
13247 dir=`echo "X$x" | sed -e 's/^X-L//'`
13248 if test -n "$acl_shlibext"; then
13249 if test -f "$dir/$libname$shrext"; then
13251 found_so="$dir/$libname$shrext"
13253 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13254 ver=`(cd "$dir" && \
13255 for f in "$libname$shrext".*; do echo "$f"; done \
13256 | sed -e "s,^$libname$shrext\\\\.,," \
13257 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13258 | sed 1q ) 2>/dev/null`
13259 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13261 found_so="$dir/$libname$shrext.$ver"
13264 eval library_names=\"$acl_library_names_spec\"
13265 for f in $library_names; do
13266 if test -f "$dir/$f"; then
13275 if test "X$found_dir" = "X"; then
13276 if test -f "$dir/$libname.$acl_libext"; then
13278 found_a="$dir/$libname.$acl_libext"
13281 if test "X$found_dir" != "X"; then
13282 if test -f "$dir/$libname.la"; then
13283 found_la="$dir/$libname.la"
13288 if test "X$found_dir" != "X"; then
13293 if test "X$found_dir" != "X"; then
13294 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13295 if test "X$found_so" != "X"; then
13296 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13297 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13300 for x in $ltrpathdirs; do
13301 if test "X$x" = "X$found_dir"; then
13306 if test -z "$haveit"; then
13307 ltrpathdirs="$ltrpathdirs $found_dir"
13309 if test "$acl_hardcode_direct" = yes; then
13310 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13312 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13313 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13315 for x in $rpathdirs; do
13316 if test "X$x" = "X$found_dir"; then
13321 if test -z "$haveit"; then
13322 rpathdirs="$rpathdirs $found_dir"
13326 for x in $LDFLAGS $LIBINTL; do
13328 acl_save_prefix="$prefix"
13329 prefix="$acl_final_prefix"
13330 acl_save_exec_prefix="$exec_prefix"
13331 exec_prefix="$acl_final_exec_prefix"
13333 exec_prefix="$acl_save_exec_prefix"
13334 prefix="$acl_save_prefix"
13336 if test "X$x" = "X-L$found_dir"; then
13341 if test -z "$haveit"; then
13342 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13344 if test "$acl_hardcode_minus_L" != no; then
13345 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13347 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13353 if test "X$found_a" != "X"; then
13354 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
13356 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13359 additional_includedir=
13360 case "$found_dir" in
13361 */$acl_libdirstem | */$acl_libdirstem/)
13362 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13363 LIBINTL_PREFIX="$basedir"
13364 additional_includedir="$basedir/include"
13367 if test "X$additional_includedir" != "X"; then
13368 if test "X$additional_includedir" != "X/usr/include"; then
13370 if test "X$additional_includedir" = "X/usr/local/include"; then
13371 if test -n "$GCC"; then
13373 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13377 if test -z "$haveit"; then
13378 for x in $CPPFLAGS $INCINTL; do
13380 acl_save_prefix="$prefix"
13381 prefix="$acl_final_prefix"
13382 acl_save_exec_prefix="$exec_prefix"
13383 exec_prefix="$acl_final_exec_prefix"
13385 exec_prefix="$acl_save_exec_prefix"
13386 prefix="$acl_save_prefix"
13388 if test "X$x" = "X-I$additional_includedir"; then
13393 if test -z "$haveit"; then
13394 if test -d "$additional_includedir"; then
13395 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13401 if test -n "$found_la"; then
13402 save_libdir="$libdir"
13403 case "$found_la" in
13404 */* | *\\*) . "$found_la" ;;
13405 *) . "./$found_la" ;;
13407 libdir="$save_libdir"
13408 for dep in $dependency_libs; do
13411 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13412 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13414 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13415 if test -n "$GCC"; then
13417 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13421 if test -z "$haveit"; then
13423 for x in $LDFLAGS $LIBINTL; do
13425 acl_save_prefix="$prefix"
13426 prefix="$acl_final_prefix"
13427 acl_save_exec_prefix="$exec_prefix"
13428 exec_prefix="$acl_final_exec_prefix"
13430 exec_prefix="$acl_save_exec_prefix"
13431 prefix="$acl_save_prefix"
13433 if test "X$x" = "X-L$additional_libdir"; then
13438 if test -z "$haveit"; then
13439 if test -d "$additional_libdir"; then
13440 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13444 for x in $LDFLAGS $LTLIBINTL; do
13446 acl_save_prefix="$prefix"
13447 prefix="$acl_final_prefix"
13448 acl_save_exec_prefix="$exec_prefix"
13449 exec_prefix="$acl_final_exec_prefix"
13451 exec_prefix="$acl_save_exec_prefix"
13452 prefix="$acl_save_prefix"
13454 if test "X$x" = "X-L$additional_libdir"; then
13459 if test -z "$haveit"; then
13460 if test -d "$additional_libdir"; then
13461 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13468 dir=`echo "X$dep" | sed -e 's/^X-R//'`
13469 if test "$enable_rpath" != no; then
13471 for x in $rpathdirs; do
13472 if test "X$x" = "X$dir"; then
13477 if test -z "$haveit"; then
13478 rpathdirs="$rpathdirs $dir"
13481 for x in $ltrpathdirs; do
13482 if test "X$x" = "X$dir"; then
13487 if test -z "$haveit"; then
13488 ltrpathdirs="$ltrpathdirs $dir"
13493 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13496 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13499 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
13500 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13506 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13507 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13513 if test "X$rpathdirs" != "X"; then
13514 if test -n "$acl_hardcode_libdir_separator"; then
13516 for found_dir in $rpathdirs; do
13517 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13519 acl_save_libdir="$libdir"
13521 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13522 libdir="$acl_save_libdir"
13523 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13525 for found_dir in $rpathdirs; do
13526 acl_save_libdir="$libdir"
13527 libdir="$found_dir"
13528 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13529 libdir="$acl_save_libdir"
13530 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13534 if test "X$ltrpathdirs" != "X"; then
13535 for found_dir in $ltrpathdirs; do
13536 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13541 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13542 if eval \${$gt_func_gnugettext_libintl+:} false; then :
13543 $as_echo_n "(cached) " >&6
13545 gt_save_CPPFLAGS="$CPPFLAGS"
13546 CPPFLAGS="$CPPFLAGS $INCINTL"
13547 gt_save_LIBS="$LIBS"
13548 LIBS="$LIBS $LIBINTL"
13549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13550 /* end confdefs.h. */
13551 #include <libintl.h>
13552 $gt_revision_test_code
13553 extern int _nl_msg_cat_cntr;
13558 const char *_nl_expand_alias (const char *);
13562 bindtextdomain ("", "");
13563 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13568 if ac_fn_c_try_link "$LINENO"; then :
13569 eval "$gt_func_gnugettext_libintl=yes"
13571 eval "$gt_func_gnugettext_libintl=no"
13573 rm -f core conftest.err conftest.$ac_objext \
13574 conftest$ac_exeext conftest.$ac_ext
13575 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
13576 LIBS="$LIBS $LIBICONV"
13577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13578 /* end confdefs.h. */
13579 #include <libintl.h>
13580 $gt_revision_test_code
13581 extern int _nl_msg_cat_cntr;
13586 const char *_nl_expand_alias (const char *);
13590 bindtextdomain ("", "");
13591 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13596 if ac_fn_c_try_link "$LINENO"; then :
13597 LIBINTL="$LIBINTL $LIBICONV"
13598 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
13599 eval "$gt_func_gnugettext_libintl=yes"
13602 rm -f core conftest.err conftest.$ac_objext \
13603 conftest$ac_exeext conftest.$ac_ext
13605 CPPFLAGS="$gt_save_CPPFLAGS"
13606 LIBS="$gt_save_LIBS"
13608 eval ac_res=\$$gt_func_gnugettext_libintl
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13610 $as_echo "$ac_res" >&6; }
13613 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
13614 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
13615 && test "$PACKAGE" != gettext-runtime \
13616 && test "$PACKAGE" != gettext-tools; }; then
13617 gt_use_preinstalled_gnugettext=yes
13626 if test -n "$INTL_MACOSX_LIBS"; then
13627 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13628 || test "$nls_cv_use_gnu_gettext" = "yes"; then
13629 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
13630 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
13634 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13635 || test "$nls_cv_use_gnu_gettext" = "yes"; then
13637 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
13645 $as_echo_n "checking whether to use NLS... " >&6; }
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13647 $as_echo "$USE_NLS" >&6; }
13648 if test "$USE_NLS" = "yes"; then
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
13650 $as_echo_n "checking where the gettext function comes from... " >&6; }
13651 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13652 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13653 gt_source="external libintl"
13658 gt_source="included intl directory"
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
13661 $as_echo "$gt_source" >&6; }
13664 if test "$USE_NLS" = "yes"; then
13666 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13667 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13669 $as_echo_n "checking how to link with libintl... " >&6; }
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13671 $as_echo "$LIBINTL" >&6; }
13673 for element in $INCINTL; do
13675 for x in $CPPFLAGS; do
13677 acl_save_prefix="$prefix"
13678 prefix="$acl_final_prefix"
13679 acl_save_exec_prefix="$exec_prefix"
13680 exec_prefix="$acl_final_exec_prefix"
13682 exec_prefix="$acl_save_exec_prefix"
13683 prefix="$acl_save_prefix"
13685 if test "X$x" = "X$element"; then
13690 if test -z "$haveit"; then
13691 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13698 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13701 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13710 INTLLIBS="$LIBINTL"
13717 po_makefile_in=po/Makefile.in
13721 LOCALE_DIR="${localedir}"
13724 if test "x${POSUB}" = "x" ; then
13728 if test "x${have_po}" = "xyes"; then
13737 ### Needed information
13743 ### Additional options to configure
13745 # Check whether --enable-strict-spec was given.
13746 if test "${enable_strict_spec+set}" = set; then :
13747 enableval=$enable_strict_spec;
13748 if test "x${enableval}" = "xyes" ; then
13749 enable_strict_spec="yes"
13751 enable_strict_spec="no"
13755 enable_strict_spec="no"
13759 if test "x${enable_strict_spec}" = "xyes" ; then
13761 $as_echo "#define STRICT_SPEC 1" >>confdefs.h
13765 # Check whether --enable-sloppy-spec was given.
13766 if test "${enable_sloppy_spec+set}" = set; then :
13767 enableval=$enable_sloppy_spec;
13768 if test "x${enableval}" = "xyes" ; then
13769 enable_sloppy_spec="yes"
13771 enable_sloppy_spec="no"
13775 enable_sloppy_spec="yes"
13779 if test "x${enable_sloppy_spec}" = "xyes" ; then
13781 $as_echo "#define SLOPPY_SPEC 1" >>confdefs.h
13786 #AC_ARG_ENABLE(hidden-visibility,
13787 # [AC_HELP_STRING([--enable-hidden-visibility],[Enable hidden visibility])],
13788 # [enable_hidden_visibility=$enableval], [enable_hidden_visibility="auto"])
13789 #if test "x$enable_hidden_visibility" = "xyes" ; then
13790 # CPPFLAGS="$CPPFLAGS -fvisibility=hidden"
13792 # AC_DEFINE(DEFAULT_VISIBLITY, 1, [Default visibility])
13794 #AM_CONDITIONAL(DEFAULT_VISIBILITY, test "x$enable_hidden_visibility" != "xyes")
13796 DEFAULT_VISIBILITY_TRUE=
13797 DEFAULT_VISIBILITY_FALSE='#'
13799 DEFAULT_VISIBILITY_TRUE='#'
13800 DEFAULT_VISIBILITY_FALSE=
13805 ### Checks for programs
13807 ac_cpp='$CPP $CPPFLAGS'
13808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13811 if test -n "$ac_tool_prefix"; then
13812 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13813 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13815 $as_echo_n "checking for $ac_word... " >&6; }
13816 if ${ac_cv_prog_CC+:} false; then :
13817 $as_echo_n "(cached) " >&6
13819 if test -n "$CC"; then
13820 ac_cv_prog_CC="$CC" # Let the user override the test.
13822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13823 for as_dir in $PATH
13826 test -z "$as_dir" && as_dir=.
13827 for ac_exec_ext in '' $ac_executable_extensions; do
13828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13829 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13840 if test -n "$CC"; then
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13842 $as_echo "$CC" >&6; }
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13845 $as_echo "no" >&6; }
13850 if test -z "$ac_cv_prog_CC"; then
13852 # Extract the first word of "gcc", so it can be a program name with args.
13853 set dummy gcc; ac_word=$2
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13855 $as_echo_n "checking for $ac_word... " >&6; }
13856 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13857 $as_echo_n "(cached) " >&6
13859 if test -n "$ac_ct_CC"; then
13860 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13863 for as_dir in $PATH
13866 test -z "$as_dir" && as_dir=.
13867 for ac_exec_ext in '' $ac_executable_extensions; do
13868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13869 ac_cv_prog_ac_ct_CC="gcc"
13870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13879 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13880 if test -n "$ac_ct_CC"; then
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13882 $as_echo "$ac_ct_CC" >&6; }
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13885 $as_echo "no" >&6; }
13888 if test "x$ac_ct_CC" = x; then
13891 case $cross_compiling:$ac_tool_warned in
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13895 ac_tool_warned=yes ;;
13900 CC="$ac_cv_prog_CC"
13903 if test -z "$CC"; then
13904 if test -n "$ac_tool_prefix"; then
13905 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13906 set dummy ${ac_tool_prefix}cc; ac_word=$2
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13908 $as_echo_n "checking for $ac_word... " >&6; }
13909 if ${ac_cv_prog_CC+:} false; then :
13910 $as_echo_n "(cached) " >&6
13912 if test -n "$CC"; then
13913 ac_cv_prog_CC="$CC" # Let the user override the test.
13915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13916 for as_dir in $PATH
13919 test -z "$as_dir" && as_dir=.
13920 for ac_exec_ext in '' $ac_executable_extensions; do
13921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13922 ac_cv_prog_CC="${ac_tool_prefix}cc"
13923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13933 if test -n "$CC"; then
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13935 $as_echo "$CC" >&6; }
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13938 $as_echo "no" >&6; }
13944 if test -z "$CC"; then
13945 # Extract the first word of "cc", so it can be a program name with args.
13946 set dummy cc; ac_word=$2
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13948 $as_echo_n "checking for $ac_word... " >&6; }
13949 if ${ac_cv_prog_CC+:} false; then :
13950 $as_echo_n "(cached) " >&6
13952 if test -n "$CC"; then
13953 ac_cv_prog_CC="$CC" # Let the user override the test.
13955 ac_prog_rejected=no
13956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13957 for as_dir in $PATH
13960 test -z "$as_dir" && as_dir=.
13961 for ac_exec_ext in '' $ac_executable_extensions; do
13962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13963 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13964 ac_prog_rejected=yes
13968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13975 if test $ac_prog_rejected = yes; then
13976 # We found a bogon in the path, so make sure we never use it.
13977 set dummy $ac_cv_prog_CC
13979 if test $# != 0; then
13980 # We chose a different compiler from the bogus one.
13981 # However, it has the same basename, so the bogon will be chosen
13982 # first if we set CC to just the basename; use the full file name.
13984 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13990 if test -n "$CC"; then
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13992 $as_echo "$CC" >&6; }
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13995 $as_echo "no" >&6; }
14000 if test -z "$CC"; then
14001 if test -n "$ac_tool_prefix"; then
14002 for ac_prog in cl.exe
14004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14007 $as_echo_n "checking for $ac_word... " >&6; }
14008 if ${ac_cv_prog_CC+:} false; then :
14009 $as_echo_n "(cached) " >&6
14011 if test -n "$CC"; then
14012 ac_cv_prog_CC="$CC" # Let the user override the test.
14014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14015 for as_dir in $PATH
14018 test -z "$as_dir" && as_dir=.
14019 for ac_exec_ext in '' $ac_executable_extensions; do
14020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14021 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14032 if test -n "$CC"; then
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
14034 $as_echo "$CC" >&6; }
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14037 $as_echo "no" >&6; }
14041 test -n "$CC" && break
14044 if test -z "$CC"; then
14046 for ac_prog in cl.exe
14048 # Extract the first word of "$ac_prog", so it can be a program name with args.
14049 set dummy $ac_prog; ac_word=$2
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14051 $as_echo_n "checking for $ac_word... " >&6; }
14052 if ${ac_cv_prog_ac_ct_CC+:} false; then :
14053 $as_echo_n "(cached) " >&6
14055 if test -n "$ac_ct_CC"; then
14056 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14059 for as_dir in $PATH
14062 test -z "$as_dir" && as_dir=.
14063 for ac_exec_ext in '' $ac_executable_extensions; do
14064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14065 ac_cv_prog_ac_ct_CC="$ac_prog"
14066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14075 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14076 if test -n "$ac_ct_CC"; then
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
14078 $as_echo "$ac_ct_CC" >&6; }
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14081 $as_echo "no" >&6; }
14085 test -n "$ac_ct_CC" && break
14088 if test "x$ac_ct_CC" = x; then
14091 case $cross_compiling:$ac_tool_warned in
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14095 ac_tool_warned=yes ;;
14104 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14106 as_fn_error $? "no acceptable C compiler found in \$PATH
14107 See \`config.log' for more details" "$LINENO" 5; }
14109 # Provide some information about the compiler.
14110 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
14113 for ac_option in --version -v -V -qversion; do
14114 { { ac_try="$ac_compiler $ac_option >&5"
14115 case "(($ac_try" in
14116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14117 *) ac_try_echo=$ac_try;;
14119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14120 $as_echo "$ac_try_echo"; } >&5
14121 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14123 if test -s conftest.err; then
14125 ... rest of stderr output deleted ...
14126 10q' conftest.err >conftest.er1
14127 cat conftest.er1 >&5
14129 rm -f conftest.er1 conftest.err
14130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14131 test $ac_status = 0; }
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
14135 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
14136 if ${ac_cv_c_compiler_gnu+:} false; then :
14137 $as_echo_n "(cached) " >&6
14139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14140 /* end confdefs.h. */
14153 if ac_fn_c_try_compile "$LINENO"; then :
14154 ac_compiler_gnu=yes
14158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14159 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
14163 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
14164 if test $ac_compiler_gnu = yes; then
14169 ac_test_CFLAGS=${CFLAGS+set}
14170 ac_save_CFLAGS=$CFLAGS
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
14172 $as_echo_n "checking whether $CC accepts -g... " >&6; }
14173 if ${ac_cv_prog_cc_g+:} false; then :
14174 $as_echo_n "(cached) " >&6
14176 ac_save_c_werror_flag=$ac_c_werror_flag
14177 ac_c_werror_flag=yes
14180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h. */
14191 if ac_fn_c_try_compile "$LINENO"; then :
14192 ac_cv_prog_cc_g=yes
14195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14196 /* end confdefs.h. */
14206 if ac_fn_c_try_compile "$LINENO"; then :
14209 ac_c_werror_flag=$ac_save_c_werror_flag
14211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14212 /* end confdefs.h. */
14222 if ac_fn_c_try_compile "$LINENO"; then :
14223 ac_cv_prog_cc_g=yes
14225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14230 ac_c_werror_flag=$ac_save_c_werror_flag
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
14233 $as_echo "$ac_cv_prog_cc_g" >&6; }
14234 if test "$ac_test_CFLAGS" = set; then
14235 CFLAGS=$ac_save_CFLAGS
14236 elif test $ac_cv_prog_cc_g = yes; then
14237 if test "$GCC" = yes; then
14243 if test "$GCC" = yes; then
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
14250 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
14251 if ${ac_cv_prog_cc_c89+:} false; then :
14252 $as_echo_n "(cached) " >&6
14254 ac_cv_prog_cc_c89=no
14256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14257 /* end confdefs.h. */
14258 #include <stdarg.h>
14260 #include <sys/types.h>
14261 #include <sys/stat.h>
14262 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14263 struct buf { int x; };
14264 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14265 static char *e (p, i)
14271 static char *f (char * (*g) (char **, int), char **p, ...)
14276 s = g (p, va_arg (v,int));
14281 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14282 function prototypes and stuff, but not '\xHH' hex character constants.
14283 These don't provoke an error unfortunately, instead are silently treated
14284 as 'x'. The following induces an error, until -std is added to get
14285 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14286 array size at least. It's necessary to write '\x00'==0 to get something
14287 that's true only with -std. */
14288 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14290 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14291 inside strings and character constants. */
14293 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14295 int test (int i, double x);
14296 struct s1 {int (*f) (int a);};
14297 struct s2 {int (*f) (double a);};
14298 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14304 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14309 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14310 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14312 CC="$ac_save_CC $ac_arg"
14313 if ac_fn_c_try_compile "$LINENO"; then :
14314 ac_cv_prog_cc_c89=$ac_arg
14316 rm -f core conftest.err conftest.$ac_objext
14317 test "x$ac_cv_prog_cc_c89" != "xno" && break
14319 rm -f conftest.$ac_ext
14324 case "x$ac_cv_prog_cc_c89" in
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14327 $as_echo "none needed" >&6; } ;;
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14330 $as_echo "unsupported" >&6; } ;;
14332 CC="$CC $ac_cv_prog_cc_c89"
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
14334 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
14336 if test "x$ac_cv_prog_cc_c89" != xno; then :
14341 ac_cpp='$CPP $CPPFLAGS'
14342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14346 depcc="$CC" am_compiler_list=
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14349 $as_echo_n "checking dependency style of $depcc... " >&6; }
14350 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
14351 $as_echo_n "(cached) " >&6
14353 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14354 # We make a subdir and do the tests there. Otherwise we can end up
14355 # making bogus files that we don't know about and never remove. For
14356 # instance it was reported that on HP-UX the gcc test will end up
14357 # making a dummy file named `D' -- because `-MD' means `put the output
14359 rm -rf conftest.dir
14361 # Copy depcomp to subdir because otherwise we won't find it if we're
14362 # using a relative directory.
14363 cp "$am_depcomp" conftest.dir
14365 # We will build objects and dependencies in a subdirectory because
14366 # it helps to detect inapplicable dependency modes. For instance
14367 # both Tru64's cc and ICC support -MD to output dependencies as a
14368 # side effect of compilation, but ICC will put the dependencies in
14369 # the current directory while Tru64 will put them in the object
14373 am_cv_CC_dependencies_compiler_type=none
14374 if test "$am_compiler_list" = ""; then
14375 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14377 am__universal=false
14378 case " $depcc " in #(
14379 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14382 for depmode in $am_compiler_list; do
14383 # Setup a source with many dependencies, because some compilers
14384 # like to wrap large dependency lists on column 80 (with \), and
14385 # we should not choose a depcomp mode which is confused by this.
14387 # We need to recreate these files for each test, as the compiler may
14388 # overwrite some of them when testing with obscure command lines.
14389 # This happens at least with the AIX C compiler.
14391 for i in 1 2 3 4 5 6; do
14392 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14393 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14394 # Solaris 8's {/usr,}/bin/sh.
14395 touch sub/conftst$i.h
14397 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14399 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14400 # mode. It turns out that the SunPro C++ compiler does not properly
14401 # handle `-M -o', and we need to detect this. Also, some Intel
14402 # versions had trouble with output in subdirs
14403 am__obj=sub/conftest.${OBJEXT-o}
14404 am__minus_obj="-o $am__obj"
14407 # This depmode causes a compiler race in universal mode.
14408 test "$am__universal" = false || continue
14411 # after this tag, mechanisms are not by side-effect, so they'll
14412 # only be used when explicitly requested
14413 if test "x$enable_dependency_tracking" = xyes; then
14419 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14420 # This compiler won't grok `-c -o', but also, the minuso test has
14421 # not run yet. These depmodes are late enough in the game, and
14422 # so weak that their functioning should not be impacted.
14423 am__obj=conftest.${OBJEXT-o}
14428 if depmode=$depmode \
14429 source=sub/conftest.c object=$am__obj \
14430 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14431 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14432 >/dev/null 2>conftest.err &&
14433 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14434 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14435 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14436 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14437 # icc doesn't choke on unknown options, it will just issue warnings
14438 # or remarks (even with -Werror). So we grep stderr for any message
14439 # that says an option was ignored or not supported.
14440 # When given -MP, icc 7.0 and 7.1 complain thusly:
14441 # icc: Command line warning: ignoring option '-M'; no argument required
14442 # The diagnosis changed in icc 8.0:
14443 # icc: Command line remark: option '-MP' not supported
14444 if (grep 'ignoring option' conftest.err ||
14445 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14446 am_cv_CC_dependencies_compiler_type=$depmode
14453 rm -rf conftest.dir
14455 am_cv_CC_dependencies_compiler_type=none
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14460 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14461 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14464 test "x$enable_dependency_tracking" != xno \
14465 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14466 am__fastdepCC_TRUE=
14467 am__fastdepCC_FALSE='#'
14469 am__fastdepCC_TRUE='#'
14470 am__fastdepCC_FALSE=
14483 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14484 if test -n "$ac_tool_prefix"; then
14485 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14486 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14488 $as_echo_n "checking for $ac_word... " >&6; }
14489 if ${ac_cv_path_PKG_CONFIG+:} false; then :
14490 $as_echo_n "(cached) " >&6
14492 case $PKG_CONFIG in
14494 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14498 for as_dir in $PATH
14501 test -z "$as_dir" && as_dir=.
14502 for ac_exec_ext in '' $ac_executable_extensions; do
14503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14504 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14515 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14516 if test -n "$PKG_CONFIG"; then
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14518 $as_echo "$PKG_CONFIG" >&6; }
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14521 $as_echo "no" >&6; }
14526 if test -z "$ac_cv_path_PKG_CONFIG"; then
14527 ac_pt_PKG_CONFIG=$PKG_CONFIG
14528 # Extract the first word of "pkg-config", so it can be a program name with args.
14529 set dummy pkg-config; ac_word=$2
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14531 $as_echo_n "checking for $ac_word... " >&6; }
14532 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14533 $as_echo_n "(cached) " >&6
14535 case $ac_pt_PKG_CONFIG in
14537 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14541 for as_dir in $PATH
14544 test -z "$as_dir" && as_dir=.
14545 for ac_exec_ext in '' $ac_executable_extensions; do
14546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14547 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14558 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14559 if test -n "$ac_pt_PKG_CONFIG"; then
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14561 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14564 $as_echo "no" >&6; }
14567 if test "x$ac_pt_PKG_CONFIG" = x; then
14570 case $cross_compiling:$ac_tool_warned in
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14574 ac_tool_warned=yes ;;
14576 PKG_CONFIG=$ac_pt_PKG_CONFIG
14579 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14583 if test -n "$PKG_CONFIG"; then
14584 _pkg_min_version=0.9.0
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14586 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14587 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14589 $as_echo "yes" >&6; }
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14592 $as_echo "no" >&6; }
14597 # Check whether pkg-config supports Requires.private
14598 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
14599 pkgconfig_requires_private="Requires.private"
14601 pkgconfig_requires_private="Requires"
14605 # doxygen program for documentation building
14608 # Check whether --enable-doc was given.
14609 if test "${enable_doc+set}" = set; then :
14610 enableval=$enable_doc;
14611 if test "x${enableval}" = "xyes" ; then
14612 efl_enable_doc="yes"
14614 efl_enable_doc="no"
14618 efl_enable_doc="yes"
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
14623 $as_echo_n "checking whether to build documentation... " >&6; }
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
14625 $as_echo "${efl_enable_doc}" >&6; }
14627 if test "x${efl_enable_doc}" = "xyes" ; then
14630 efl_doxygen="doxygen"
14633 # Check whether --with-doxygen was given.
14634 if test "${with_doxygen+set}" = set; then :
14635 withval=$with_doxygen;
14636 efl_doxygen=${withval}
14637 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
14638 set dummy ${efl_doxygen}; ac_word=$2
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14640 $as_echo_n "checking for $ac_word... " >&6; }
14641 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
14642 $as_echo_n "(cached) " >&6
14644 if test -n "$efl_have_doxygen"; then
14645 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
14647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14648 for as_dir in $PATH
14651 test -z "$as_dir" && as_dir=.
14652 for ac_exec_ext in '' $ac_executable_extensions; do
14653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14654 ac_cv_prog_efl_have_doxygen="yes"
14655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14662 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
14665 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
14666 if test -n "$efl_have_doxygen"; then
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
14668 $as_echo "$efl_have_doxygen" >&6; }
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14671 $as_echo "no" >&6; }
14675 if test "x${efl_have_doxygen}" = "xno" ; then
14677 echo "The doxygen program you specified:"
14678 echo "${efl_doxygen}"
14679 echo "was not found. Please check the path and make sure "
14680 echo "the program exists and is executable."
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
14682 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
14686 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
14687 set dummy ${efl_doxygen}; ac_word=$2
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14689 $as_echo_n "checking for $ac_word... " >&6; }
14690 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
14691 $as_echo_n "(cached) " >&6
14693 if test -n "$efl_have_doxygen"; then
14694 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
14696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14697 for as_dir in $PATH
14700 test -z "$as_dir" && as_dir=.
14701 for ac_exec_ext in '' $ac_executable_extensions; do
14702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14703 ac_cv_prog_efl_have_doxygen="yes"
14704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14711 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
14714 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
14715 if test -n "$efl_have_doxygen"; then
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
14717 $as_echo "$efl_have_doxygen" >&6; }
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14720 $as_echo "no" >&6; }
14724 if test "x${efl_have_doxygen}" = "xno" ; then
14726 echo "The doxygen program was not found in your execute path."
14727 echo "You may have doxygen installed somewhere not covered by your path."
14729 echo "If this is the case make sure you have the packages installed, AND"
14730 echo "that the doxygen program is in your execute path (see your"
14731 echo "shell manual page on setting the \$PATH environment variable), OR"
14732 echo "alternatively, specify the program to use with --with-doxygen."
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
14734 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
14743 if ! test "x${efl_have_doxygen}" = "xyes" ; then
14744 efl_enable_doc="no"
14747 if test "x${efl_enable_doc}" = "xyes"; then
14748 EFL_BUILD_DOC_TRUE=
14749 EFL_BUILD_DOC_FALSE='#'
14751 EFL_BUILD_DOC_TRUE='#'
14752 EFL_BUILD_DOC_FALSE=
14756 if test "x${efl_enable_doc}" = "xyes" ; then
14765 ### Checks for libraries
14767 # Evil library for compilation on Windows CE
14769 EFL_EFREET_BUILD=""
14770 EFL_EFREET_MIME_BUILD=""
14771 EFL_EFREET_TRASH_BUILD=""
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
14777 $as_echo_n "checking for EVIL... " >&6; }
14779 if test -n "$EVIL_CFLAGS"; then
14780 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
14781 elif test -n "$PKG_CONFIG"; then
14782 if test -n "$PKG_CONFIG" && \
14783 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
14784 ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
14786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14787 test $ac_status = 0; }; then
14788 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.6.99" 2>/dev/null`
14789 test "x$?" != "x0" && pkg_failed=yes
14796 if test -n "$EVIL_LIBS"; then
14797 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
14798 elif test -n "$PKG_CONFIG"; then
14799 if test -n "$PKG_CONFIG" && \
14800 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
14801 ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
14803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14804 test $ac_status = 0; }; then
14805 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.6.99" 2>/dev/null`
14806 test "x$?" != "x0" && pkg_failed=yes
14816 if test $pkg_failed = yes; then
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14818 $as_echo "no" >&6; }
14820 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14821 _pkg_short_errors_supported=yes
14823 _pkg_short_errors_supported=no
14825 if test $_pkg_short_errors_supported = yes; then
14826 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evil >= 1.6.99" 2>&1`
14828 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evil >= 1.6.99" 2>&1`
14830 # Put the nasty error message in config.log where it belongs
14831 echo "$EVIL_PKG_ERRORS" >&5
14833 as_fn_error $? "Package requirements (evil >= 1.6.99) were not met:
14837 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14838 installed software in a non-standard prefix.
14840 Alternatively, you may set the environment variables EVIL_CFLAGS
14841 and EVIL_LIBS to avoid the need to call pkg-config.
14842 See the pkg-config man page for more details." "$LINENO" 5
14843 elif test $pkg_failed = untried; then
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14845 $as_echo "no" >&6; }
14846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14848 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14849 is in your PATH or set the PKG_CONFIG environment variable to the full
14850 path to pkg-config.
14852 Alternatively, you may set the environment variables EVIL_CFLAGS
14853 and EVIL_LIBS to avoid the need to call pkg-config.
14854 See the pkg-config man page for more details.
14856 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14857 See \`config.log' for more details" "$LINENO" 5; }
14859 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
14860 EVIL_LIBS=$pkg_cv_EVIL_LIBS
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14862 $as_echo "yes" >&6; }
14866 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
14868 requirement_efreet="evil"
14869 EFL_EFREET_BUILD="-DEFL_EFREET_BUILD"
14870 EFL_EFREET_MIME_BUILD="-DEFL_EFREET_MIME_BUILD"
14871 EFL_EFREET_TRASH_BUILD="-DEFL_EFREET_TRASH_BUILD"
14878 requirement_efreet="ecore-file >= 1.6.99 ecore >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99 ${requirement_efreet}"
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EFREET" >&5
14882 $as_echo_n "checking for EFREET... " >&6; }
14884 if test -n "$EFREET_CFLAGS"; then
14885 pkg_cv_EFREET_CFLAGS="$EFREET_CFLAGS"
14886 elif test -n "$PKG_CONFIG"; then
14887 if test -n "$PKG_CONFIG" && \
14888 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_efreet}\""; } >&5
14889 ($PKG_CONFIG --exists --print-errors "${requirement_efreet}") 2>&5
14891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14892 test $ac_status = 0; }; then
14893 pkg_cv_EFREET_CFLAGS=`$PKG_CONFIG --cflags "${requirement_efreet}" 2>/dev/null`
14894 test "x$?" != "x0" && pkg_failed=yes
14901 if test -n "$EFREET_LIBS"; then
14902 pkg_cv_EFREET_LIBS="$EFREET_LIBS"
14903 elif test -n "$PKG_CONFIG"; then
14904 if test -n "$PKG_CONFIG" && \
14905 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_efreet}\""; } >&5
14906 ($PKG_CONFIG --exists --print-errors "${requirement_efreet}") 2>&5
14908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14909 test $ac_status = 0; }; then
14910 pkg_cv_EFREET_LIBS=`$PKG_CONFIG --libs "${requirement_efreet}" 2>/dev/null`
14911 test "x$?" != "x0" && pkg_failed=yes
14921 if test $pkg_failed = yes; then
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14923 $as_echo "no" >&6; }
14925 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14926 _pkg_short_errors_supported=yes
14928 _pkg_short_errors_supported=no
14930 if test $_pkg_short_errors_supported = yes; then
14931 EFREET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${requirement_efreet}" 2>&1`
14933 EFREET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${requirement_efreet}" 2>&1`
14935 # Put the nasty error message in config.log where it belongs
14936 echo "$EFREET_PKG_ERRORS" >&5
14938 as_fn_error $? "Package requirements (${requirement_efreet}) were not met:
14942 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14943 installed software in a non-standard prefix.
14945 Alternatively, you may set the environment variables EFREET_CFLAGS
14946 and EFREET_LIBS to avoid the need to call pkg-config.
14947 See the pkg-config man page for more details." "$LINENO" 5
14948 elif test $pkg_failed = untried; then
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14950 $as_echo "no" >&6; }
14951 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14953 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14954 is in your PATH or set the PKG_CONFIG environment variable to the full
14955 path to pkg-config.
14957 Alternatively, you may set the environment variables EFREET_CFLAGS
14958 and EFREET_LIBS to avoid the need to call pkg-config.
14959 See the pkg-config man page for more details.
14961 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14962 See \`config.log' for more details" "$LINENO" 5; }
14964 EFREET_CFLAGS=$pkg_cv_EFREET_CFLAGS
14965 EFREET_LIBS=$pkg_cv_EFREET_LIBS
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14967 $as_echo "yes" >&6; }
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
14973 $as_echo_n "checking for EINA... " >&6; }
14975 if test -n "$EINA_CFLAGS"; then
14976 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
14977 elif test -n "$PKG_CONFIG"; then
14978 if test -n "$PKG_CONFIG" && \
14979 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.99\""; } >&5
14980 ($PKG_CONFIG --exists --print-errors "eina >= 1.6.99") 2>&5
14982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14983 test $ac_status = 0; }; then
14984 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.6.99" 2>/dev/null`
14985 test "x$?" != "x0" && pkg_failed=yes
14992 if test -n "$EINA_LIBS"; then
14993 pkg_cv_EINA_LIBS="$EINA_LIBS"
14994 elif test -n "$PKG_CONFIG"; then
14995 if test -n "$PKG_CONFIG" && \
14996 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.99\""; } >&5
14997 ($PKG_CONFIG --exists --print-errors "eina >= 1.6.99") 2>&5
14999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15000 test $ac_status = 0; }; then
15001 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.6.99" 2>/dev/null`
15002 test "x$?" != "x0" && pkg_failed=yes
15012 if test $pkg_failed = yes; then
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15014 $as_echo "no" >&6; }
15016 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15017 _pkg_short_errors_supported=yes
15019 _pkg_short_errors_supported=no
15021 if test $_pkg_short_errors_supported = yes; then
15022 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eina >= 1.6.99" 2>&1`
15024 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eina >= 1.6.99" 2>&1`
15026 # Put the nasty error message in config.log where it belongs
15027 echo "$EINA_PKG_ERRORS" >&5
15029 as_fn_error $? "Package requirements (eina >= 1.6.99) were not met:
15033 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15034 installed software in a non-standard prefix.
15036 Alternatively, you may set the environment variables EINA_CFLAGS
15037 and EINA_LIBS to avoid the need to call pkg-config.
15038 See the pkg-config man page for more details." "$LINENO" 5
15039 elif test $pkg_failed = untried; then
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15041 $as_echo "no" >&6; }
15042 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15044 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15045 is in your PATH or set the PKG_CONFIG environment variable to the full
15046 path to pkg-config.
15048 Alternatively, you may set the environment variables EINA_CFLAGS
15049 and EINA_LIBS to avoid the need to call pkg-config.
15050 See the pkg-config man page for more details.
15052 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15053 See \`config.log' for more details" "$LINENO" 5; }
15055 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
15056 EINA_LIBS=$pkg_cv_EINA_LIBS
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15058 $as_echo "yes" >&6; }
15063 ### Checks for header files
15065 for ac_header in netinet/in.h arpa/inet.h
15067 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15068 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15069 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15070 cat >>confdefs.h <<_ACEOF
15071 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15079 ### Checks for types
15082 ### Checks for structures
15085 ### Checks for compiler characteristics
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15088 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
15089 if ${ac_cv_c_const+:} false; then :
15090 $as_echo_n "(cached) " >&6
15092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15093 /* end confdefs.h. */
15098 /* FIXME: Include the comments suggested by Paul. */
15099 #ifndef __cplusplus
15100 /* Ultrix mips cc rejects this. */
15101 typedef int charset[2];
15103 /* SunOS 4.1.1 cc rejects this. */
15104 char const *const *pcpcc;
15106 /* NEC SVR4.0.2 mips cc rejects this. */
15107 struct point {int x, y;};
15108 static struct point const zero = {0,0};
15109 /* AIX XL C 1.02.0.0 rejects this.
15110 It does not let you subtract one const X* pointer from another in
15111 an arm of an if-expression whose if-part is not a constant
15113 const char *g = "string";
15114 pcpcc = &g + (g ? g-g : 0);
15115 /* HPUX 7.0 cc rejects these. */
15117 ppc = (char**) pcpcc;
15118 pcpcc = (char const *const *) ppc;
15119 { /* SCO 3.2v4 cc rejects this. */
15121 char const *s = 0 ? (char *) 0 : (char const *) 0;
15126 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15127 int x[] = {25, 17};
15128 const int *foo = &x[0];
15131 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15132 typedef const int *iptr;
15136 { /* AIX XL C 1.02.0.0 rejects this saying
15137 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15138 struct s { int j; const int *ap[3]; };
15139 struct s *b; b->j = 5;
15141 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15142 const int foo = 10;
15143 if (!foo) return 0;
15145 return !cs[0] && !zero.x;
15152 if ac_fn_c_try_compile "$LINENO"; then :
15157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15160 $as_echo "$ac_cv_c_const" >&6; }
15161 if test $ac_cv_c_const = no; then
15163 $as_echo "#define const /**/" >>confdefs.h
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
15170 $as_echo_n "checking for __attribute__... " >&6; }
15172 if ${ac_cv___attribute__+:} false; then :
15173 $as_echo_n "(cached) " >&6
15175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15176 /* end confdefs.h. */
15178 #include <stdlib.h>
15181 int foo(int x __attribute__ ((unused)))
15194 if ac_fn_c_try_compile "$LINENO"; then :
15195 ac_cv___attribute__="yes"
15197 ac_cv___attribute__="no"
15200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
15205 $as_echo "$ac_cv___attribute__" >&6; }
15207 if test "x${ac_cv___attribute__}" = "xyes" ; then
15209 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
15212 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
15216 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
15222 ac_cpp='$CPP $CPPFLAGS'
15223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15226 if test -n "$ac_tool_prefix"; then
15227 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15228 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15230 $as_echo_n "checking for $ac_word... " >&6; }
15231 if ${ac_cv_prog_CC+:} false; then :
15232 $as_echo_n "(cached) " >&6
15234 if test -n "$CC"; then
15235 ac_cv_prog_CC="$CC" # Let the user override the test.
15237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15238 for as_dir in $PATH
15241 test -z "$as_dir" && as_dir=.
15242 for ac_exec_ext in '' $ac_executable_extensions; do
15243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15244 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15255 if test -n "$CC"; then
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15257 $as_echo "$CC" >&6; }
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15260 $as_echo "no" >&6; }
15265 if test -z "$ac_cv_prog_CC"; then
15267 # Extract the first word of "gcc", so it can be a program name with args.
15268 set dummy gcc; ac_word=$2
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15270 $as_echo_n "checking for $ac_word... " >&6; }
15271 if ${ac_cv_prog_ac_ct_CC+:} false; then :
15272 $as_echo_n "(cached) " >&6
15274 if test -n "$ac_ct_CC"; then
15275 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15278 for as_dir in $PATH
15281 test -z "$as_dir" && as_dir=.
15282 for ac_exec_ext in '' $ac_executable_extensions; do
15283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15284 ac_cv_prog_ac_ct_CC="gcc"
15285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15294 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15295 if test -n "$ac_ct_CC"; then
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15297 $as_echo "$ac_ct_CC" >&6; }
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15300 $as_echo "no" >&6; }
15303 if test "x$ac_ct_CC" = x; then
15306 case $cross_compiling:$ac_tool_warned in
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15310 ac_tool_warned=yes ;;
15315 CC="$ac_cv_prog_CC"
15318 if test -z "$CC"; then
15319 if test -n "$ac_tool_prefix"; then
15320 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15321 set dummy ${ac_tool_prefix}cc; ac_word=$2
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15323 $as_echo_n "checking for $ac_word... " >&6; }
15324 if ${ac_cv_prog_CC+:} false; then :
15325 $as_echo_n "(cached) " >&6
15327 if test -n "$CC"; then
15328 ac_cv_prog_CC="$CC" # Let the user override the test.
15330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15331 for as_dir in $PATH
15334 test -z "$as_dir" && as_dir=.
15335 for ac_exec_ext in '' $ac_executable_extensions; do
15336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15337 ac_cv_prog_CC="${ac_tool_prefix}cc"
15338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15348 if test -n "$CC"; then
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15350 $as_echo "$CC" >&6; }
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15353 $as_echo "no" >&6; }
15359 if test -z "$CC"; then
15360 # Extract the first word of "cc", so it can be a program name with args.
15361 set dummy cc; ac_word=$2
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15363 $as_echo_n "checking for $ac_word... " >&6; }
15364 if ${ac_cv_prog_CC+:} false; then :
15365 $as_echo_n "(cached) " >&6
15367 if test -n "$CC"; then
15368 ac_cv_prog_CC="$CC" # Let the user override the test.
15370 ac_prog_rejected=no
15371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15372 for as_dir in $PATH
15375 test -z "$as_dir" && as_dir=.
15376 for ac_exec_ext in '' $ac_executable_extensions; do
15377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15378 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15379 ac_prog_rejected=yes
15383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15390 if test $ac_prog_rejected = yes; then
15391 # We found a bogon in the path, so make sure we never use it.
15392 set dummy $ac_cv_prog_CC
15394 if test $# != 0; then
15395 # We chose a different compiler from the bogus one.
15396 # However, it has the same basename, so the bogon will be chosen
15397 # first if we set CC to just the basename; use the full file name.
15399 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15405 if test -n "$CC"; then
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15407 $as_echo "$CC" >&6; }
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15410 $as_echo "no" >&6; }
15415 if test -z "$CC"; then
15416 if test -n "$ac_tool_prefix"; then
15417 for ac_prog in cl.exe
15419 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15420 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15422 $as_echo_n "checking for $ac_word... " >&6; }
15423 if ${ac_cv_prog_CC+:} false; then :
15424 $as_echo_n "(cached) " >&6
15426 if test -n "$CC"; then
15427 ac_cv_prog_CC="$CC" # Let the user override the test.
15429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15430 for as_dir in $PATH
15433 test -z "$as_dir" && as_dir=.
15434 for ac_exec_ext in '' $ac_executable_extensions; do
15435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15436 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15447 if test -n "$CC"; then
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15449 $as_echo "$CC" >&6; }
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15452 $as_echo "no" >&6; }
15456 test -n "$CC" && break
15459 if test -z "$CC"; then
15461 for ac_prog in cl.exe
15463 # Extract the first word of "$ac_prog", so it can be a program name with args.
15464 set dummy $ac_prog; ac_word=$2
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15466 $as_echo_n "checking for $ac_word... " >&6; }
15467 if ${ac_cv_prog_ac_ct_CC+:} false; then :
15468 $as_echo_n "(cached) " >&6
15470 if test -n "$ac_ct_CC"; then
15471 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15474 for as_dir in $PATH
15477 test -z "$as_dir" && as_dir=.
15478 for ac_exec_ext in '' $ac_executable_extensions; do
15479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15480 ac_cv_prog_ac_ct_CC="$ac_prog"
15481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15490 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15491 if test -n "$ac_ct_CC"; then
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15493 $as_echo "$ac_ct_CC" >&6; }
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15496 $as_echo "no" >&6; }
15500 test -n "$ac_ct_CC" && break
15503 if test "x$ac_ct_CC" = x; then
15506 case $cross_compiling:$ac_tool_warned in
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15510 ac_tool_warned=yes ;;
15519 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15521 as_fn_error $? "no acceptable C compiler found in \$PATH
15522 See \`config.log' for more details" "$LINENO" 5; }
15524 # Provide some information about the compiler.
15525 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
15528 for ac_option in --version -v -V -qversion; do
15529 { { ac_try="$ac_compiler $ac_option >&5"
15530 case "(($ac_try" in
15531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15532 *) ac_try_echo=$ac_try;;
15534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15535 $as_echo "$ac_try_echo"; } >&5
15536 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15538 if test -s conftest.err; then
15540 ... rest of stderr output deleted ...
15541 10q' conftest.err >conftest.er1
15542 cat conftest.er1 >&5
15544 rm -f conftest.er1 conftest.err
15545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15546 test $ac_status = 0; }
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
15550 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
15551 if ${ac_cv_c_compiler_gnu+:} false; then :
15552 $as_echo_n "(cached) " >&6
15554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15555 /* end confdefs.h. */
15568 if ac_fn_c_try_compile "$LINENO"; then :
15569 ac_compiler_gnu=yes
15573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15574 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
15578 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
15579 if test $ac_compiler_gnu = yes; then
15584 ac_test_CFLAGS=${CFLAGS+set}
15585 ac_save_CFLAGS=$CFLAGS
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
15587 $as_echo_n "checking whether $CC accepts -g... " >&6; }
15588 if ${ac_cv_prog_cc_g+:} false; then :
15589 $as_echo_n "(cached) " >&6
15591 ac_save_c_werror_flag=$ac_c_werror_flag
15592 ac_c_werror_flag=yes
15595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15596 /* end confdefs.h. */
15606 if ac_fn_c_try_compile "$LINENO"; then :
15607 ac_cv_prog_cc_g=yes
15610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15611 /* end confdefs.h. */
15621 if ac_fn_c_try_compile "$LINENO"; then :
15624 ac_c_werror_flag=$ac_save_c_werror_flag
15626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15627 /* end confdefs.h. */
15637 if ac_fn_c_try_compile "$LINENO"; then :
15638 ac_cv_prog_cc_g=yes
15640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15645 ac_c_werror_flag=$ac_save_c_werror_flag
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
15648 $as_echo "$ac_cv_prog_cc_g" >&6; }
15649 if test "$ac_test_CFLAGS" = set; then
15650 CFLAGS=$ac_save_CFLAGS
15651 elif test $ac_cv_prog_cc_g = yes; then
15652 if test "$GCC" = yes; then
15658 if test "$GCC" = yes; then
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
15665 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
15666 if ${ac_cv_prog_cc_c89+:} false; then :
15667 $as_echo_n "(cached) " >&6
15669 ac_cv_prog_cc_c89=no
15671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15672 /* end confdefs.h. */
15673 #include <stdarg.h>
15675 #include <sys/types.h>
15676 #include <sys/stat.h>
15677 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15678 struct buf { int x; };
15679 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15680 static char *e (p, i)
15686 static char *f (char * (*g) (char **, int), char **p, ...)
15691 s = g (p, va_arg (v,int));
15696 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15697 function prototypes and stuff, but not '\xHH' hex character constants.
15698 These don't provoke an error unfortunately, instead are silently treated
15699 as 'x'. The following induces an error, until -std is added to get
15700 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15701 array size at least. It's necessary to write '\x00'==0 to get something
15702 that's true only with -std. */
15703 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15705 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15706 inside strings and character constants. */
15708 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15710 int test (int i, double x);
15711 struct s1 {int (*f) (int a);};
15712 struct s2 {int (*f) (double a);};
15713 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15719 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15724 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15725 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15727 CC="$ac_save_CC $ac_arg"
15728 if ac_fn_c_try_compile "$LINENO"; then :
15729 ac_cv_prog_cc_c89=$ac_arg
15731 rm -f core conftest.err conftest.$ac_objext
15732 test "x$ac_cv_prog_cc_c89" != "xno" && break
15734 rm -f conftest.$ac_ext
15739 case "x$ac_cv_prog_cc_c89" in
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
15742 $as_echo "none needed" >&6; } ;;
15744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
15745 $as_echo "unsupported" >&6; } ;;
15747 CC="$CC $ac_cv_prog_cc_c89"
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
15749 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
15751 if test "x$ac_cv_prog_cc_c89" != xno; then :
15756 ac_cpp='$CPP $CPPFLAGS'
15757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15761 depcc="$CC" am_compiler_list=
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15764 $as_echo_n "checking dependency style of $depcc... " >&6; }
15765 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
15766 $as_echo_n "(cached) " >&6
15768 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15769 # We make a subdir and do the tests there. Otherwise we can end up
15770 # making bogus files that we don't know about and never remove. For
15771 # instance it was reported that on HP-UX the gcc test will end up
15772 # making a dummy file named `D' -- because `-MD' means `put the output
15774 rm -rf conftest.dir
15776 # Copy depcomp to subdir because otherwise we won't find it if we're
15777 # using a relative directory.
15778 cp "$am_depcomp" conftest.dir
15780 # We will build objects and dependencies in a subdirectory because
15781 # it helps to detect inapplicable dependency modes. For instance
15782 # both Tru64's cc and ICC support -MD to output dependencies as a
15783 # side effect of compilation, but ICC will put the dependencies in
15784 # the current directory while Tru64 will put them in the object
15788 am_cv_CC_dependencies_compiler_type=none
15789 if test "$am_compiler_list" = ""; then
15790 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15792 am__universal=false
15793 case " $depcc " in #(
15794 *\ -arch\ *\ -arch\ *) am__universal=true ;;
15797 for depmode in $am_compiler_list; do
15798 # Setup a source with many dependencies, because some compilers
15799 # like to wrap large dependency lists on column 80 (with \), and
15800 # we should not choose a depcomp mode which is confused by this.
15802 # We need to recreate these files for each test, as the compiler may
15803 # overwrite some of them when testing with obscure command lines.
15804 # This happens at least with the AIX C compiler.
15806 for i in 1 2 3 4 5 6; do
15807 echo '#include "conftst'$i'.h"' >> sub/conftest.c
15808 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15809 # Solaris 8's {/usr,}/bin/sh.
15810 touch sub/conftst$i.h
15812 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15814 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15815 # mode. It turns out that the SunPro C++ compiler does not properly
15816 # handle `-M -o', and we need to detect this. Also, some Intel
15817 # versions had trouble with output in subdirs
15818 am__obj=sub/conftest.${OBJEXT-o}
15819 am__minus_obj="-o $am__obj"
15822 # This depmode causes a compiler race in universal mode.
15823 test "$am__universal" = false || continue
15826 # after this tag, mechanisms are not by side-effect, so they'll
15827 # only be used when explicitly requested
15828 if test "x$enable_dependency_tracking" = xyes; then
15834 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
15835 # This compiler won't grok `-c -o', but also, the minuso test has
15836 # not run yet. These depmodes are late enough in the game, and
15837 # so weak that their functioning should not be impacted.
15838 am__obj=conftest.${OBJEXT-o}
15843 if depmode=$depmode \
15844 source=sub/conftest.c object=$am__obj \
15845 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15846 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15847 >/dev/null 2>conftest.err &&
15848 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15849 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15850 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15851 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15852 # icc doesn't choke on unknown options, it will just issue warnings
15853 # or remarks (even with -Werror). So we grep stderr for any message
15854 # that says an option was ignored or not supported.
15855 # When given -MP, icc 7.0 and 7.1 complain thusly:
15856 # icc: Command line warning: ignoring option '-M'; no argument required
15857 # The diagnosis changed in icc 8.0:
15858 # icc: Command line remark: option '-MP' not supported
15859 if (grep 'ignoring option' conftest.err ||
15860 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15861 am_cv_CC_dependencies_compiler_type=$depmode
15868 rm -rf conftest.dir
15870 am_cv_CC_dependencies_compiler_type=none
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
15875 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
15876 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
15879 test "x$enable_dependency_tracking" != xno \
15880 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
15881 am__fastdepCC_TRUE=
15882 am__fastdepCC_FALSE='#'
15884 am__fastdepCC_TRUE='#'
15885 am__fastdepCC_FALSE=
15890 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15893 $as_echo_n "checking for ANSI C header files... " >&6; }
15894 if ${ac_cv_header_stdc+:} false; then :
15895 $as_echo_n "(cached) " >&6
15897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15898 /* end confdefs.h. */
15899 #include <stdlib.h>
15900 #include <stdarg.h>
15901 #include <string.h>
15912 if ac_fn_c_try_compile "$LINENO"; then :
15913 ac_cv_header_stdc=yes
15915 ac_cv_header_stdc=no
15917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15919 if test $ac_cv_header_stdc = yes; then
15920 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15922 /* end confdefs.h. */
15923 #include <string.h>
15926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15927 $EGREP "memchr" >/dev/null 2>&1; then :
15930 ac_cv_header_stdc=no
15936 if test $ac_cv_header_stdc = yes; then
15937 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15939 /* end confdefs.h. */
15940 #include <stdlib.h>
15943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15944 $EGREP "free" >/dev/null 2>&1; then :
15947 ac_cv_header_stdc=no
15953 if test $ac_cv_header_stdc = yes; then
15954 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15955 if test "$cross_compiling" = yes; then :
15958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15959 /* end confdefs.h. */
15961 #include <stdlib.h>
15962 #if ((' ' & 0x0FF) == 0x020)
15963 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15964 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15966 # define ISLOWER(c) \
15967 (('a' <= (c) && (c) <= 'i') \
15968 || ('j' <= (c) && (c) <= 'r') \
15969 || ('s' <= (c) && (c) <= 'z'))
15970 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15973 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15978 for (i = 0; i < 256; i++)
15979 if (XOR (islower (i), ISLOWER (i))
15980 || toupper (i) != TOUPPER (i))
15985 if ac_fn_c_try_run "$LINENO"; then :
15988 ac_cv_header_stdc=no
15990 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15991 conftest.$ac_objext conftest.beam conftest.$ac_ext
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15997 $as_echo "$ac_cv_header_stdc" >&6; }
15998 if test $ac_cv_header_stdc = yes; then
16000 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16005 case "${host_os}" in
16007 EFREET_CFLAGS="${EFREET_CFLAGS} ${EVIL_CFLAGS}"
16011 if ! test "x${VMIC}" = "x" ; then
16014 CFLAGS_save="${CFLAGS}"
16015 CFLAGS="${CFLAGS} -Wall"
16018 ac_cpp='$CPP $CPPFLAGS'
16019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
16024 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
16026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16027 /* end confdefs.h. */
16037 if ac_fn_c_try_compile "$LINENO"; then :
16042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
16044 $as_echo "${have_flag}" >&6; }
16046 if test "x${have_flag}" = "xno" ; then
16047 CFLAGS="${CFLAGS_save}"
16050 ac_cpp='$CPP $CPPFLAGS'
16051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16059 CFLAGS_save="${CFLAGS}"
16060 CFLAGS="${CFLAGS} -W"
16063 ac_cpp='$CPP $CPPFLAGS'
16064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
16069 $as_echo_n "checking whether the compiler supports -W... " >&6; }
16071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16072 /* end confdefs.h. */
16082 if ac_fn_c_try_compile "$LINENO"; then :
16087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
16089 $as_echo "${have_flag}" >&6; }
16091 if test "x${have_flag}" = "xno" ; then
16092 CFLAGS="${CFLAGS_save}"
16095 ac_cpp='$CPP $CPPFLAGS'
16096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16106 CFLAGS_save="${CFLAGS}"
16107 CFLAGS="${CFLAGS} -Wshadow"
16110 ac_cpp='$CPP $CPPFLAGS'
16111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
16116 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
16118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16119 /* end confdefs.h. */
16129 if ac_fn_c_try_compile "$LINENO"; then :
16134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
16136 $as_echo "${have_flag}" >&6; }
16138 if test "x${have_flag}" = "xno" ; then
16139 CFLAGS="${CFLAGS_save}"
16142 ac_cpp='$CPP $CPPFLAGS'
16143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16155 ac_cpp='$CPP $CPPFLAGS'
16156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
16162 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
16163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16164 /* end confdefs.h. */
16166 #include <limits.h>
16178 if ac_fn_c_try_compile "$LINENO"; then :
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16180 $as_echo "yes" >&6; }
16184 cat >>confdefs.h <<_ACEOF
16185 #define PATH_MAX ${default_max}
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
16189 $as_echo "no: using ${default_max}" >&6; }
16192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16195 ac_cpp='$CPP $CPPFLAGS'
16196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16204 ### Checks for linker characteristics
16205 lt_enable_auto_import=""
16207 case "${host_os}" in
16209 WIN32_LIBS="-lws2_32"
16210 lt_enable_auto_import="-Wl,--enable-auto-import"
16217 ### Checks for library functions
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
16219 $as_echo_n "checking for library containing strerror... " >&6; }
16220 if ${ac_cv_search_strerror+:} false; then :
16221 $as_echo_n "(cached) " >&6
16223 ac_func_search_save_LIBS=$LIBS
16224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16225 /* end confdefs.h. */
16227 /* Override any GCC internal prototype to avoid an error.
16228 Use char because int might match the return type of a GCC
16229 builtin and then its argument prototype would still apply. */
16237 return strerror ();
16242 for ac_lib in '' cposix; do
16243 if test -z "$ac_lib"; then
16244 ac_res="none required"
16247 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16249 if ac_fn_c_try_link "$LINENO"; then :
16250 ac_cv_search_strerror=$ac_res
16252 rm -f core conftest.err conftest.$ac_objext \
16254 if ${ac_cv_search_strerror+:} false; then :
16258 if ${ac_cv_search_strerror+:} false; then :
16261 ac_cv_search_strerror=no
16263 rm conftest.$ac_ext
16264 LIBS=$ac_func_search_save_LIBS
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
16267 $as_echo "$ac_cv_search_strerror" >&6; }
16268 ac_res=$ac_cv_search_strerror
16269 if test "$ac_res" != no; then :
16270 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16274 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16275 if test "x$ac_cv_type_size_t" = xyes; then :
16279 cat >>confdefs.h <<_ACEOF
16280 #define size_t unsigned int
16285 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16286 # for constant arguments. Useless!
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
16288 $as_echo_n "checking for working alloca.h... " >&6; }
16289 if ${ac_cv_working_alloca_h+:} false; then :
16290 $as_echo_n "(cached) " >&6
16292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16293 /* end confdefs.h. */
16294 #include <alloca.h>
16298 char *p = (char *) alloca (2 * sizeof (int));
16304 if ac_fn_c_try_link "$LINENO"; then :
16305 ac_cv_working_alloca_h=yes
16307 ac_cv_working_alloca_h=no
16309 rm -f core conftest.err conftest.$ac_objext \
16310 conftest$ac_exeext conftest.$ac_ext
16312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
16313 $as_echo "$ac_cv_working_alloca_h" >&6; }
16314 if test $ac_cv_working_alloca_h = yes; then
16316 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
16321 $as_echo_n "checking for alloca... " >&6; }
16322 if ${ac_cv_func_alloca_works+:} false; then :
16323 $as_echo_n "(cached) " >&6
16325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16326 /* end confdefs.h. */
16328 # define alloca __builtin_alloca
16331 # include <malloc.h>
16332 # define alloca _alloca
16334 # ifdef HAVE_ALLOCA_H
16335 # include <alloca.h>
16340 # ifndef alloca /* predefined by HP cc +Olibcalls */
16341 void *alloca (size_t);
16351 char *p = (char *) alloca (1);
16357 if ac_fn_c_try_link "$LINENO"; then :
16358 ac_cv_func_alloca_works=yes
16360 ac_cv_func_alloca_works=no
16362 rm -f core conftest.err conftest.$ac_objext \
16363 conftest$ac_exeext conftest.$ac_ext
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
16366 $as_echo "$ac_cv_func_alloca_works" >&6; }
16368 if test $ac_cv_func_alloca_works = yes; then
16370 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
16373 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16374 # that cause trouble. Some versions do not even contain alloca or
16375 # contain a buggy version. If you still want to use their alloca,
16376 # use ar to extract alloca.o from them instead of compiling alloca.c.
16378 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
16380 $as_echo "#define C_ALLOCA 1" >>confdefs.h
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
16384 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
16385 if ${ac_cv_os_cray+:} false; then :
16386 $as_echo_n "(cached) " >&6
16388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16389 /* end confdefs.h. */
16390 #if defined CRAY && ! defined CRAY2
16397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16398 $EGREP "webecray" >/dev/null 2>&1; then :
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
16407 $as_echo "$ac_cv_os_cray" >&6; }
16408 if test $ac_cv_os_cray = yes; then
16409 for ac_func in _getb67 GETB67 getb67; do
16410 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16411 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16412 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16414 cat >>confdefs.h <<_ACEOF
16415 #define CRAY_STACKSEG_END $ac_func
16424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
16425 $as_echo_n "checking stack direction for C alloca... " >&6; }
16426 if ${ac_cv_c_stack_direction+:} false; then :
16427 $as_echo_n "(cached) " >&6
16429 if test "$cross_compiling" = yes; then :
16430 ac_cv_c_stack_direction=0
16432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h. */
16434 $ac_includes_default
16436 find_stack_direction ()
16438 static char *addr = 0;
16443 return find_stack_direction ();
16446 return (&dummy > addr) ? 1 : -1;
16452 return find_stack_direction () < 0;
16455 if ac_fn_c_try_run "$LINENO"; then :
16456 ac_cv_c_stack_direction=1
16458 ac_cv_c_stack_direction=-1
16460 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16461 conftest.$ac_objext conftest.beam conftest.$ac_ext
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
16466 $as_echo "$ac_cv_c_stack_direction" >&6; }
16467 cat >>confdefs.h <<_ACEOF
16468 #define STACK_DIRECTION $ac_cv_c_stack_direction
16474 for ac_func in strlcpy clearenv
16476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16478 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16479 cat >>confdefs.h <<_ACEOF
16480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16487 ### Unit tests, coverage
16492 # Check whether --enable-tests was given.
16493 if test "${enable_tests+set}" = set; then :
16494 enableval=$enable_tests;
16495 if test "x${enableval}" = "xyes" ; then
16496 _efl_enable_tests="yes"
16498 _efl_enable_tests="no"
16502 _efl_enable_tests="no"
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
16507 $as_echo_n "checking whether tests are built... " >&6; }
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
16509 $as_echo "${_efl_enable_tests}" >&6; }
16513 if test "x${_efl_enable_tests}" = "xyes" ; then
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
16517 $as_echo_n "checking for CHECK... " >&6; }
16519 if test -n "$CHECK_CFLAGS"; then
16520 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
16521 elif test -n "$PKG_CONFIG"; then
16522 if test -n "$PKG_CONFIG" && \
16523 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
16524 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
16526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16527 test $ac_status = 0; }; then
16528 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
16529 test "x$?" != "x0" && pkg_failed=yes
16536 if test -n "$CHECK_LIBS"; then
16537 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
16538 elif test -n "$PKG_CONFIG"; then
16539 if test -n "$PKG_CONFIG" && \
16540 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
16541 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
16543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16544 test $ac_status = 0; }; then
16545 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
16546 test "x$?" != "x0" && pkg_failed=yes
16556 if test $pkg_failed = yes; then
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16558 $as_echo "no" >&6; }
16560 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16561 _pkg_short_errors_supported=yes
16563 _pkg_short_errors_supported=no
16565 if test $_pkg_short_errors_supported = yes; then
16566 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
16568 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
16570 # Put the nasty error message in config.log where it belongs
16571 echo "$CHECK_PKG_ERRORS" >&5
16573 _efl_enable_tests="no"
16574 elif test $pkg_failed = untried; then
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16576 $as_echo "no" >&6; }
16577 _efl_enable_tests="no"
16579 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
16580 CHECK_LIBS=$pkg_cv_CHECK_LIBS
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16582 $as_echo "yes" >&6; }
16587 if test "x${_efl_enable_tests}" = "xyes"; then
16588 EFL_ENABLE_TESTS_TRUE=
16589 EFL_ENABLE_TESTS_FALSE='#'
16591 EFL_ENABLE_TESTS_TRUE='#'
16592 EFL_ENABLE_TESTS_FALSE=
16596 if test "x$_efl_enable_tests" = "xyes"; then :
16606 # Check whether --enable-coverage was given.
16607 if test "${enable_coverage+set}" = set; then :
16608 enableval=$enable_coverage;
16609 if test "x${enableval}" = "xyes" ; then
16610 _efl_enable_coverage="yes"
16612 _efl_enable_coverage="no"
16616 _efl_enable_coverage="no"
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
16621 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
16623 $as_echo "$_efl_enable_coverage" >&6; }
16626 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
16628 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
16630 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
16631 _efl_enable_coverage="no"
16634 if test "x$_efl_enable_coverage" = "xyes" ; then
16635 # Extract the first word of "lcov", so it can be a program name with args.
16636 set dummy lcov; ac_word=$2
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16638 $as_echo_n "checking for $ac_word... " >&6; }
16639 if ${ac_cv_prog_have_lcov+:} false; then :
16640 $as_echo_n "(cached) " >&6
16642 if test -n "$have_lcov"; then
16643 ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
16645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16646 for as_dir in $PATH
16649 test -z "$as_dir" && as_dir=.
16650 for ac_exec_ext in '' $ac_executable_extensions; do
16651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16652 ac_cv_prog_have_lcov="yes"
16653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16660 test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
16663 have_lcov=$ac_cv_prog_have_lcov
16664 if test -n "$have_lcov"; then
16665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
16666 $as_echo "$have_lcov" >&6; }
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16669 $as_echo "no" >&6; }
16673 if test "x$have_lcov" = "xyes" ; then
16674 EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
16675 EFL_COVERAGE_LIBS="-lgcov"
16676 # remove any optimisation flag and force debug symbols
16677 EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
16680 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
16681 _efl_enable_coverage="no"
16688 if test "x${_efl_enable_coverage}" = "xyes"; then
16689 EFL_ENABLE_COVERAGE_TRUE=
16690 EFL_ENABLE_COVERAGE_FALSE='#'
16692 EFL_ENABLE_COVERAGE_TRUE='#'
16693 EFL_ENABLE_COVERAGE_FALSE=
16697 if test "x$_efl_enable_coverage" = "xyes"; then :
16698 enable_coverage="yes"
16700 enable_coverage="no"
16703 EFREET_CFLAGS="${EFREET_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
16704 EFREET_LIBS="${EFREET_LIBS} ${EFL_COVERAGE_LIBS}"
16705 if test "x$enable_coverage" = "xyes" ; then
16706 EFREET_CFLAGS="${EFREET_CFLAGS} ${EFL_DEBUG_CFLAGS}"
16711 ac_config_files="$ac_config_files efreet.spec efreet.pc efreet-mime.pc efreet-trash.pc Makefile doc/Makefile doc/Doxyfile src/Makefile src/lib/Makefile src/bin/Makefile src/tests/Makefile src/tests/data/Makefile src/tests/data/sub/Makefile src/tests/compare/Makefile $po_makefile_in"
16713 cat >confcache <<\_ACEOF
16714 # This file is a shell script that caches the results of configure
16715 # tests run on this system so they can be shared between configure
16716 # scripts and configure runs, see configure's option --config-cache.
16717 # It is not useful on other systems. If it contains results you don't
16718 # want to keep, you may remove or edit it.
16720 # config.status only pays attention to the cache file if you give it
16721 # the --recheck option to rerun configure.
16723 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16724 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16725 # following values.
16729 # The following way of writing the cache mishandles newlines in values,
16730 # but we know of no workaround that is simple, portable, and efficient.
16731 # So, we kill variables containing newlines.
16732 # Ultrix sh set writes to stderr and can't be redirected directly,
16733 # and sets the high bit in the cache file unless we assign to the vars.
16735 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16736 eval ac_val=\$$ac_var
16740 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16741 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16744 _ | IFS | as_nl) ;; #(
16745 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16746 *) { eval $ac_var=; unset $ac_var;} ;;
16752 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16753 *${as_nl}ac_space=\ *)
16754 # `set' does not quote correctly, so add quotes: double-quote
16755 # substitution turns \\\\ into \\, and sed turns \\ into \.
16758 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16761 # `set' quotes correctly as required by POSIX, so do not add quotes.
16762 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16771 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16773 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16775 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16776 if test -w "$cache_file"; then
16777 if test "x$cache_file" != "x/dev/null"; then
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16779 $as_echo "$as_me: updating cache $cache_file" >&6;}
16780 if test ! -f "$cache_file" || test -h "$cache_file"; then
16781 cat confcache >"$cache_file"
16783 case $cache_file in #(
16785 mv -f confcache "$cache_file"$$ &&
16786 mv -f "$cache_file"$$ "$cache_file" ;; #(
16788 mv -f confcache "$cache_file" ;;
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16794 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16799 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16800 # Let make expand exec_prefix.
16801 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16803 DEFS=-DHAVE_CONFIG_H
16808 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16809 # 1. Remove the extension, and $U if already installed.
16810 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16811 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16812 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16813 # will be set to the directory where LIBOBJS objects are built.
16814 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16815 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16817 LIBOBJS=$ac_libobjs
16819 LTLIBOBJS=$ac_ltlibobjs
16822 if test -n "$EXEEXT"; then
16824 am__EXEEXT_FALSE='#'
16826 am__EXEEXT_TRUE='#'
16830 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16831 as_fn_error $? "conditional \"AMDEP\" was never defined.
16832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16834 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16835 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16838 if test -z "${HAVE_PO_TRUE}" && test -z "${HAVE_PO_FALSE}"; then
16839 as_fn_error $? "conditional \"HAVE_PO\" was never defined.
16840 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16842 if test -z "${DEFAULT_VISIBILITY_TRUE}" && test -z "${DEFAULT_VISIBILITY_FALSE}"; then
16843 as_fn_error $? "conditional \"DEFAULT_VISIBILITY\" was never defined.
16844 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16846 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16847 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16850 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
16851 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
16852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16854 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16855 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16858 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
16859 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
16860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16862 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
16863 as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
16864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16867 : "${CONFIG_STATUS=./config.status}"
16869 ac_clean_files_save=$ac_clean_files
16870 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16872 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16874 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16876 # Generated by $as_me.
16877 # Run this file to recreate the current configuration.
16878 # Compiler output produced by configure, useful for debugging
16879 # configure, is in config.log if it exists.
16882 ac_cs_recheck=false
16885 SHELL=\${CONFIG_SHELL-$SHELL}
16888 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16889 ## -------------------- ##
16890 ## M4sh Initialization. ##
16891 ## -------------------- ##
16893 # Be more Bourne compatible
16894 DUALCASE=1; export DUALCASE # for MKS sh
16895 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16898 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16899 # is contrary to our usage. Disable this feature.
16900 alias -g '${1+"$@"}'='"$@"'
16901 setopt NO_GLOB_SUBST
16903 case `(set -o) 2>/dev/null` in #(
16915 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16916 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16917 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16918 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16919 # Prefer a ksh shell builtin over an external printf program on Solaris,
16920 # but without wasting forks for bash or zsh.
16921 if test -z "$BASH_VERSION$ZSH_VERSION" \
16922 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16923 as_echo='print -r --'
16924 as_echo_n='print -rn --'
16925 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16926 as_echo='printf %s\n'
16927 as_echo_n='printf %s'
16929 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16930 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16931 as_echo_n='/usr/ucb/echo -n'
16933 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16934 as_echo_n_body='eval
16938 expr "X$arg" : "X\\(.*\\)$as_nl";
16939 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16941 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16943 export as_echo_n_body
16944 as_echo_n='sh -c $as_echo_n_body as_echo'
16946 export as_echo_body
16947 as_echo='sh -c $as_echo_body as_echo'
16950 # The user is always right.
16951 if test "${PATH_SEPARATOR+set}" != set; then
16953 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16954 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16961 # We need space, tab and new line, in precisely that order. Quoting is
16962 # there to prevent editors from complaining about space-tab.
16963 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16964 # splitting by setting IFS to empty value.)
16967 # Find who we are. Look in the path if we contain no directory separator.
16970 *[\\/]* ) as_myself=$0 ;;
16971 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16972 for as_dir in $PATH
16975 test -z "$as_dir" && as_dir=.
16976 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16982 # We did not find ourselves, most probably we were run as `sh COMMAND'
16983 # in which case we are not to be found in the path.
16984 if test "x$as_myself" = x; then
16987 if test ! -f "$as_myself"; then
16988 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16992 # Unset variables that we do not need and which cause bugs (e.g. in
16993 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16994 # suppresses any "Segmentation fault" message there. '((' could
16995 # trigger a bug in pdksh 5.2.14.
16996 for as_var in BASH_ENV ENV MAIL MAILPATH
16997 do eval test x\${$as_var+set} = xset \
16998 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17011 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17014 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17015 # ----------------------------------------
17016 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17017 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17018 # script with STATUS, using 1 if that was 0.
17021 as_status=$1; test $as_status -eq 0 && as_status=1
17023 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17024 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17026 $as_echo "$as_me: error: $2" >&2
17027 as_fn_exit $as_status
17031 # as_fn_set_status STATUS
17032 # -----------------------
17033 # Set $? to STATUS, without forking.
17034 as_fn_set_status ()
17037 } # as_fn_set_status
17039 # as_fn_exit STATUS
17040 # -----------------
17041 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17045 as_fn_set_status $1
17051 # Portably unset VAR.
17054 { eval $1=; unset $1;}
17056 as_unset=as_fn_unset
17057 # as_fn_append VAR VALUE
17058 # ----------------------
17059 # Append the text in VALUE to the end of the definition contained in VAR. Take
17060 # advantage of any shell optimizations that allow amortized linear growth over
17061 # repeated appends, instead of the typical quadratic growth present in naive
17063 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17064 eval 'as_fn_append ()
17075 # as_fn_arith ARG...
17076 # ------------------
17077 # Perform arithmetic evaluation on the ARGs, and store the result in the
17078 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17079 # must be portable across $(()) and expr.
17080 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17081 eval 'as_fn_arith ()
17088 as_val=`expr "$@" || test $? -eq 1`
17093 if expr a : '\(a\)' >/dev/null 2>&1 &&
17094 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17100 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17101 as_basename=basename
17106 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17112 as_me=`$as_basename -- "$0" ||
17113 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17114 X"$0" : 'X\(//\)$' \| \
17115 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17117 sed '/^.*\/\([^/][^/]*\)\/*$/{
17131 # Avoid depending upon Character Ranges.
17132 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17133 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17134 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17135 as_cr_digits='0123456789'
17136 as_cr_alnum=$as_cr_Letters$as_cr_digits
17138 ECHO_C= ECHO_N= ECHO_T=
17139 case `echo -n x` in #(((((
17141 case `echo 'xy\c'` in
17142 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17144 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17151 rm -f conf$$ conf$$.exe conf$$.file
17152 if test -d conf$$.dir; then
17153 rm -f conf$$.dir/conf$$.file
17156 mkdir conf$$.dir 2>/dev/null
17158 if (echo >conf$$.file) 2>/dev/null; then
17159 if ln -s conf$$.file conf$$ 2>/dev/null; then
17161 # ... but there are two gotchas:
17162 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17163 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17164 # In both cases, we have to default to `cp -p'.
17165 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17167 elif ln conf$$.file conf$$ 2>/dev/null; then
17175 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17176 rmdir conf$$.dir 2>/dev/null
17181 # Create "$as_dir" as a directory, including parents if necessary.
17186 -*) as_dir=./$as_dir;;
17188 test -d "$as_dir" || eval $as_mkdir_p || {
17192 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17193 *) as_qdir=$as_dir;;
17195 as_dirs="'$as_qdir' $as_dirs"
17196 as_dir=`$as_dirname -- "$as_dir" ||
17197 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17198 X"$as_dir" : 'X\(//\)[^/]' \| \
17199 X"$as_dir" : 'X\(//\)$' \| \
17200 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17201 $as_echo X"$as_dir" |
17202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17206 /^X\(\/\/\)[^/].*/{
17219 test -d "$as_dir" && break
17221 test -z "$as_dirs" || eval "mkdir $as_dirs"
17222 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17226 if mkdir -p . 2>/dev/null; then
17227 as_mkdir_p='mkdir -p "$as_dir"'
17229 test -d ./-p && rmdir ./-p
17233 if test -x / >/dev/null 2>&1; then
17234 as_test_x='test -x'
17236 if ls -dL / >/dev/null 2>&1; then
17243 if test -d "$1"; then
17249 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17250 ???[sx]*):;;*)false;;esac;fi
17254 as_executable_p=$as_test_x
17256 # Sed expression to map a string onto a valid CPP name.
17257 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17259 # Sed expression to map a string onto a valid variable name.
17260 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17264 ## ----------------------------------- ##
17265 ## Main body of $CONFIG_STATUS script. ##
17266 ## ----------------------------------- ##
17268 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17271 # Save the log message, to keep $0 and so on meaningful, and to
17272 # report actual input values of CONFIG_FILES etc. instead of their
17273 # values after options handling.
17275 This file was extended by efreet $as_me 1.7.2, which was
17276 generated by GNU Autoconf 2.68. Invocation command line was
17278 CONFIG_FILES = $CONFIG_FILES
17279 CONFIG_HEADERS = $CONFIG_HEADERS
17280 CONFIG_LINKS = $CONFIG_LINKS
17281 CONFIG_COMMANDS = $CONFIG_COMMANDS
17284 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17289 case $ac_config_files in *"
17290 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17293 case $ac_config_headers in *"
17294 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17299 # Files that config.status was made for.
17300 config_files="$ac_config_files"
17301 config_headers="$ac_config_headers"
17302 config_commands="$ac_config_commands"
17306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17308 \`$as_me' instantiates files and other configuration actions
17309 from templates according to the current configuration. Unless the files
17310 and actions are specified as TAGs, all are instantiated by default.
17312 Usage: $0 [OPTION]... [TAG]...
17314 -h, --help print this help, then exit
17315 -V, --version print version number and configuration settings, then exit
17316 --config print configuration, then exit
17317 -q, --quiet, --silent
17318 do not print progress messages
17319 -d, --debug don't remove temporary files
17320 --recheck update $as_me by reconfiguring in the same conditions
17321 --file=FILE[:TEMPLATE]
17322 instantiate the configuration file FILE
17323 --header=FILE[:TEMPLATE]
17324 instantiate the configuration header FILE
17326 Configuration files:
17329 Configuration headers:
17332 Configuration commands:
17335 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
17338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17339 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17341 efreet config.status 1.7.2
17342 configured by $0, generated by GNU Autoconf 2.68,
17343 with options \\"\$ac_cs_config\\"
17345 Copyright (C) 2010 Free Software Foundation, Inc.
17346 This config.status script is free software; the Free Software Foundation
17347 gives unlimited permission to copy, distribute and modify it."
17354 test -n "\$AWK" || AWK=awk
17357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17358 # The default lists apply if the user does not specify any file.
17364 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17365 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17369 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17381 # Handling of the options.
17382 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17384 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17385 $as_echo "$ac_cs_version"; exit ;;
17386 --config | --confi | --conf | --con | --co | --c )
17387 $as_echo "$ac_cs_config"; exit ;;
17388 --debug | --debu | --deb | --de | --d | -d )
17390 --file | --fil | --fi | --f )
17393 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17394 '') as_fn_error $? "missing file argument" ;;
17396 as_fn_append CONFIG_FILES " '$ac_optarg'"
17397 ac_need_defaults=false;;
17398 --header | --heade | --head | --hea )
17401 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17403 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17404 ac_need_defaults=false;;
17406 # Conflict between --help and --header
17407 as_fn_error $? "ambiguous option: \`$1'
17408 Try \`$0 --help' for more information.";;
17409 --help | --hel | -h )
17410 $as_echo "$ac_cs_usage"; exit ;;
17411 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17412 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17415 # This is an error.
17416 -*) as_fn_error $? "unrecognized option: \`$1'
17417 Try \`$0 --help' for more information." ;;
17419 *) as_fn_append ac_config_targets " $1"
17420 ac_need_defaults=false ;;
17426 ac_configure_extra_args=
17428 if $ac_cs_silent; then
17430 ac_configure_extra_args="$ac_configure_extra_args --silent"
17434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17435 if \$ac_cs_recheck; then
17436 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17438 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17439 CONFIG_SHELL='$SHELL'
17440 export CONFIG_SHELL
17445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17449 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17450 ## Running $as_me. ##
17456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17460 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17463 # The HP-UX ksh and POSIX shell print the target directory to stdout
17464 # if CDPATH is set.
17465 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17467 sed_quote_subst='$sed_quote_subst'
17468 double_quote_subst='$double_quote_subst'
17469 delay_variable_subst='$delay_variable_subst'
17470 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17471 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17472 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17473 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17474 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17475 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17476 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17477 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17478 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17479 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17480 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17481 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17482 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17483 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17484 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17485 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17486 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17487 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17488 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17489 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17490 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17491 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17492 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17493 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17494 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17495 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17496 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17497 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17498 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17499 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17500 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17501 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17502 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17503 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17504 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17505 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17506 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17507 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17508 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17509 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17510 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17511 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17512 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17513 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17514 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17515 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17516 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17517 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17518 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17519 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17520 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17521 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17522 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17523 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17524 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17525 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17526 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17527 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"`'
17528 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17529 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17530 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17531 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17532 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17533 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17534 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17535 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17536 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17537 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17538 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17539 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17540 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17541 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17542 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17543 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17544 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17545 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17546 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17547 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17548 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17549 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17550 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17551 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17552 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17553 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17554 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17555 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17556 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17557 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17558 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17559 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17560 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17561 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17562 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17563 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17564 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17565 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17566 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17567 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17568 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17569 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17570 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17571 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17572 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17573 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17574 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17575 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17576 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17577 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17578 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17579 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17580 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17581 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17582 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17583 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17584 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17585 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17586 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17587 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17588 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17589 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17590 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17591 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17592 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17593 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17594 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17595 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17596 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17597 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17598 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17599 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17600 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17603 LTCFLAGS='$LTCFLAGS'
17604 compiler='$compiler_DEFAULT'
17606 # A function that is used when there is no print builtin or printf.
17607 func_fallback_echo ()
17609 eval 'cat <<_LTECHO_EOF
17614 # Quote evaled strings.
17631 deplibs_check_method \
17635 sharedlib_from_linklib_cmd \
17638 archiver_list_spec \
17644 lt_cv_sys_global_symbol_pipe \
17645 lt_cv_sys_global_symbol_to_cdecl \
17646 lt_cv_sys_global_symbol_to_c_name_address \
17647 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17648 nm_file_list_spec \
17649 lt_prog_compiler_no_builtin_flag \
17650 lt_prog_compiler_pic \
17651 lt_prog_compiler_wl \
17652 lt_prog_compiler_static \
17653 lt_cv_prog_compiler_c_o \
17662 export_dynamic_flag_spec \
17663 whole_archive_flag_spec \
17664 compiler_needs_object \
17666 allow_undefined_flag \
17667 no_undefined_flag \
17668 hardcode_libdir_flag_spec \
17669 hardcode_libdir_separator \
17673 variables_saved_for_relink \
17675 library_names_spec \
17677 install_override_mode \
17681 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17682 *[\\\\\\\`\\"\\\$]*)
17683 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17686 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17691 # Double-quote double-evaled strings.
17692 for var in reload_cmds \
17693 old_postinstall_cmds \
17694 old_postuninstall_cmds \
17696 extract_expsyms_cmds \
17697 old_archive_from_new_cmds \
17698 old_archive_from_expsyms_cmds \
17700 archive_expsym_cmds \
17702 module_expsym_cmds \
17703 export_symbols_cmds \
17707 postuninstall_cmds \
17709 sys_lib_search_path_spec \
17710 sys_lib_dlsearch_path_spec; do
17711 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17712 *[\\\\\\\`\\"\\\$]*)
17713 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17716 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17721 ac_aux_dir='$ac_aux_dir'
17722 xsi_shell='$xsi_shell'
17723 lt_shell_append='$lt_shell_append'
17725 # See if we are running on zsh, and set the options which allow our
17726 # commands through without removal of \ escapes INIT.
17727 if test -n "\${ZSH_VERSION+set}" ; then
17728 setopt NO_GLOB_SUBST
17734 TIMESTAMP='$TIMESTAMP'
17740 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17741 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
17742 # from automake < 1.5.
17743 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17744 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17745 LINGUAS="${LINGUAS-%UNSET%}"
17750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17752 # Handling of arguments.
17753 for ac_config_target in $ac_config_targets
17755 case $ac_config_target in
17756 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17757 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17758 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17759 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17760 "efreet.spec") CONFIG_FILES="$CONFIG_FILES efreet.spec" ;;
17761 "efreet.pc") CONFIG_FILES="$CONFIG_FILES efreet.pc" ;;
17762 "efreet-mime.pc") CONFIG_FILES="$CONFIG_FILES efreet-mime.pc" ;;
17763 "efreet-trash.pc") CONFIG_FILES="$CONFIG_FILES efreet-trash.pc" ;;
17764 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17765 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17766 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
17767 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17768 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
17769 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
17770 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
17771 "src/tests/data/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/data/Makefile" ;;
17772 "src/tests/data/sub/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/data/sub/Makefile" ;;
17773 "src/tests/compare/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/compare/Makefile" ;;
17774 "$po_makefile_in") CONFIG_FILES="$CONFIG_FILES $po_makefile_in" ;;
17776 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17781 # If the user did not use the arguments to specify the items to instantiate,
17782 # then the envvar interface is used. Set only those that are not.
17783 # We use the long form for the default assignment because of an extremely
17784 # bizarre bug on SunOS 4.1.3.
17785 if $ac_need_defaults; then
17786 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17787 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17788 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17791 # Have a temporary directory for convenience. Make it in the build tree
17792 # simply because there is no reason against having it here, and in addition,
17793 # creating and moving files from /tmp can sometimes cause problems.
17794 # Hook for its removal unless debugging.
17795 # Note that there is a small window in which the directory will not be cleaned:
17796 # after its creation but before its name has been assigned to `$tmp'.
17800 trap 'exit_status=$?
17801 : "${ac_tmp:=$tmp}"
17802 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17804 trap 'as_fn_exit 1' 1 2 13 15
17806 # Create a (secure) tmp directory for tmp files.
17809 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17813 tmp=./conf$$-$RANDOM
17814 (umask 077 && mkdir "$tmp")
17815 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17818 # Set up the scripts for CONFIG_FILES section.
17819 # No need to generate them if there are no CONFIG_FILES.
17820 # This happens for instance with `./config.status config.h'.
17821 if test -n "$CONFIG_FILES"; then
17824 ac_cr=`echo X | tr X '\015'`
17825 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17826 # But we know of no other shell where ac_cr would be empty at this
17827 # point, so we can use a bashism as a fallback.
17828 if test "x$ac_cr" = x; then
17829 eval ac_cr=\$\'\\r\'
17831 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17832 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17835 ac_cs_awk_cr=$ac_cr
17838 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17843 echo "cat >conf$$subs.awk <<_ACEOF" &&
17844 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17846 } >conf$$subs.sh ||
17847 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17848 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17850 for ac_last_try in false false false false false :; do
17851 . ./conf$$subs.sh ||
17852 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17854 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17855 if test $ac_delim_n = $ac_delim_num; then
17857 elif $ac_last_try; then
17858 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17860 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17863 rm -f conf$$subs.sh
17865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17866 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17870 s/^/S["/; s/!.*/"]=/
17880 s/\(.\{148\}\)..*/\1/
17882 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17887 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17894 s/\(.\{148\}\)..*/\1/
17896 s/["\\]/\\&/g; s/^/"/; s/$/"/
17900 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17905 ' <conf$$subs.awk | sed '
17910 ' >>$CONFIG_STATUS || ac_write_fail=1
17911 rm -f conf$$subs.awk
17912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17914 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17915 for (key in S) S_is_set[key] = 1
17921 nfields = split(line, field, "@")
17923 len = length(field[1])
17924 for (i = 2; i < nfields; i++) {
17926 keylen = length(key)
17927 if (S_is_set[key]) {
17929 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17930 len += length(value) + length(field[++i])
17941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17942 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17943 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17946 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17947 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17950 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17951 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17952 # trailing colons and then remove the whole line if VPATH becomes empty
17953 # (actually we leave an empty line to preserve line numbers).
17954 if test "x$srcdir" = x.; then
17955 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17974 fi # test -n "$CONFIG_FILES"
17976 # Set up the scripts for CONFIG_HEADERS section.
17977 # No need to generate them if there are no CONFIG_HEADERS.
17978 # This happens for instance with `./config.status Makefile'.
17979 if test -n "$CONFIG_HEADERS"; then
17980 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17984 # Transform confdefs.h into an awk script `defines.awk', embedded as
17985 # here-document in config.status, that substitutes the proper values into
17986 # config.h.in to produce config.h.
17988 # Create a delimiter string that does not exist in confdefs.h, to ease
17989 # handling of long lines.
17991 for ac_last_try in false false :; do
17992 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17993 if test -z "$ac_tt"; then
17995 elif $ac_last_try; then
17996 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17998 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18002 # For the awk script, D is an array of macro values keyed by name,
18003 # likewise P contains macro parameters if any. Preserve backslash
18004 # newline sequences.
18006 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18008 s/.\{148\}/&'"$ac_delim"'/g
18011 s/^[ ]*#[ ]*define[ ][ ]*/ /
18018 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18020 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18024 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18025 D["\1"]=" \3\\\\\\n"\\/p
18027 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18032 s/.\{148\}/&'"$ac_delim"'/g
18037 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18040 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18042 ' <confdefs.h | sed '
18043 s/'"$ac_delim"'/"\\\
18044 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18047 for (key in D) D_is_set[key] = 1
18050 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18052 split(line, arg, " ")
18053 if (arg[1] == "#") {
18057 defundef = substr(arg[1], 2)
18060 split(mac1, mac2, "(") #)
18062 prefix = substr(line, 1, index(line, defundef) - 1)
18063 if (D_is_set[macro]) {
18064 # Preserve the white space surrounding the "#".
18065 print prefix "define", macro P[macro] D[macro]
18068 # Replace #undef with comments. This is necessary, for example,
18069 # in the case of _POSIX_SOURCE, which is predefined and required
18070 # on some systems where configure will not decide to define it.
18071 if (defundef == "undef") {
18072 print "/*", prefix defundef, macro, "*/"
18080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18081 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18082 fi # test -n "$CONFIG_HEADERS"
18085 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18090 :[FHLC]) ac_mode=$ac_tag; continue;;
18092 case $ac_mode$ac_tag in
18094 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18095 :[FH]-) ac_tag=-:-;;
18096 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18113 -) ac_f="$ac_tmp/stdin";;
18114 *) # Look for the file first in the build tree, then in the source tree
18115 # (if the path is not absolute). The absolute path cannot be DOS-style,
18116 # because $ac_f cannot contain `:'.
18120 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18122 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18124 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18125 as_fn_append ac_file_inputs " '$ac_f'"
18128 # Let's still pretend it is `configure' which instantiates (i.e., don't
18129 # use $as_me), people would be surprised to read:
18130 # /* config.h. Generated by config.status. */
18131 configure_input='Generated from '`
18132 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18134 if test x"$ac_file" != x-; then
18135 configure_input="$ac_file. $configure_input"
18136 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18137 $as_echo "$as_me: creating $ac_file" >&6;}
18139 # Neutralize special characters interpreted by sed in replacement strings.
18140 case $configure_input in #(
18141 *\&* | *\|* | *\\* )
18142 ac_sed_conf_input=`$as_echo "$configure_input" |
18143 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18144 *) ac_sed_conf_input=$configure_input;;
18148 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18149 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18154 ac_dir=`$as_dirname -- "$ac_file" ||
18155 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18156 X"$ac_file" : 'X\(//\)[^/]' \| \
18157 X"$ac_file" : 'X\(//\)$' \| \
18158 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18159 $as_echo X"$ac_file" |
18160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18164 /^X\(\/\/\)[^/].*/{
18177 as_dir="$ac_dir"; as_fn_mkdir_p
18181 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18183 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18184 # A ".." for each directory in $ac_dir_suffix.
18185 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18186 case $ac_top_builddir_sub in
18187 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18188 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18191 ac_abs_top_builddir=$ac_pwd
18192 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18193 # for backward compatibility:
18194 ac_top_builddir=$ac_top_build_prefix
18197 .) # We are building in place.
18199 ac_top_srcdir=$ac_top_builddir_sub
18200 ac_abs_top_srcdir=$ac_pwd ;;
18201 [\\/]* | ?:[\\/]* ) # Absolute name.
18202 ac_srcdir=$srcdir$ac_dir_suffix;
18203 ac_top_srcdir=$srcdir
18204 ac_abs_top_srcdir=$srcdir ;;
18205 *) # Relative name.
18206 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18207 ac_top_srcdir=$ac_top_build_prefix$srcdir
18208 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18210 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18220 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18221 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18223 ac_MKDIR_P=$MKDIR_P
18225 [\\/$]* | ?:[\\/]* ) ;;
18226 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18231 # If the template does not know about datarootdir, expand it.
18232 # FIXME: This hack should be removed a few years after 2.60.
18233 ac_datarootdir_hack=; ac_datarootdir_seen=
18244 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18245 *datarootdir*) ac_datarootdir_seen=yes;;
18246 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18248 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18251 ac_datarootdir_hack='
18252 s&@datadir@&$datadir&g
18253 s&@docdir@&$docdir&g
18254 s&@infodir@&$infodir&g
18255 s&@localedir@&$localedir&g
18256 s&@mandir@&$mandir&g
18257 s&\\\${datarootdir}&$datarootdir&g' ;;
18261 # Neutralize VPATH when `$srcdir' = `.'.
18262 # Shell code in configure.ac might set extrasub.
18263 # FIXME: do we really want to maintain this feature?
18264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18265 ac_sed_extra="$ac_vpsub
18268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18270 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18271 s|@configure_input@|$ac_sed_conf_input|;t t
18272 s&@top_builddir@&$ac_top_builddir_sub&;t t
18273 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18274 s&@srcdir@&$ac_srcdir&;t t
18275 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18276 s&@top_srcdir@&$ac_top_srcdir&;t t
18277 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18278 s&@builddir@&$ac_builddir&;t t
18279 s&@abs_builddir@&$ac_abs_builddir&;t t
18280 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18281 s&@INSTALL@&$ac_INSTALL&;t t
18282 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18283 $ac_datarootdir_hack
18285 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18286 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18288 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18289 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18290 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18291 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18293 which seems to be undefined. Please make sure it is defined" >&5
18294 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18295 which seems to be undefined. Please make sure it is defined" >&2;}
18297 rm -f "$ac_tmp/stdin"
18299 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18300 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18302 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18308 if test x"$ac_file" != x-; then
18310 $as_echo "/* $configure_input */" \
18311 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18312 } >"$ac_tmp/config.h" \
18313 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18314 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18315 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18316 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18319 mv "$ac_tmp/config.h" "$ac_file" \
18320 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18323 $as_echo "/* $configure_input */" \
18324 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18325 || as_fn_error $? "could not create -" "$LINENO" 5
18327 # Compute "$ac_file"'s index in $config_headers.
18330 for _am_header in $config_headers :; do
18331 case $_am_header in
18332 $_am_arg | $_am_arg:* )
18335 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18338 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18339 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18340 X"$_am_arg" : 'X\(//\)[^/]' \| \
18341 X"$_am_arg" : 'X\(//\)$' \| \
18342 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18343 $as_echo X"$_am_arg" |
18344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18348 /^X\(\/\/\)[^/].*/{
18360 s/.*/./; q'`/stamp-h$_am_stamp_count
18363 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18364 $as_echo "$as_me: executing $ac_file commands" >&6;}
18369 case $ac_file$ac_mode in
18370 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18371 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18372 # are listed without --file. Let's play safe and only enable the eval
18373 # if we detect the quoting.
18374 case $CONFIG_FILES in
18375 *\'*) eval set x "$CONFIG_FILES" ;;
18376 *) set x $CONFIG_FILES ;;
18381 # Strip MF so we end up with the name of the file.
18382 mf=`echo "$mf" | sed -e 's/:.*$//'`
18383 # Check whether this is an Automake generated Makefile or not.
18384 # We used to match only the files named `Makefile.in', but
18385 # some people rename them; so instead we look at the file content.
18386 # Grep'ing the first line is not enough: some people post-process
18387 # each Makefile.in and add a new line on top of each file to say so.
18388 # Grep'ing the whole file is not good either: AIX grep has a line
18389 # limit of 2048, but all sed's we know have understand at least 4000.
18390 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18391 dirpart=`$as_dirname -- "$mf" ||
18392 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18393 X"$mf" : 'X\(//\)[^/]' \| \
18394 X"$mf" : 'X\(//\)$' \| \
18395 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18401 /^X\(\/\/\)[^/].*/{
18417 # Extract the definition of DEPDIR, am__include, and am__quote
18418 # from the Makefile without running `make'.
18419 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18420 test -z "$DEPDIR" && continue
18421 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18422 test -z "am__include" && continue
18423 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18424 # When using ansi2knr, U may be empty or an underscore; expand it
18425 U=`sed -n 's/^U = //p' < "$mf"`
18426 # Find all dependency output files, they are included files with
18427 # $(DEPDIR) in their names. We invoke sed twice because it is the
18428 # simplest approach to changing $(DEPDIR) to its actual value in the
18430 for file in `sed -n "
18431 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18432 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18433 # Make sure the directory exists.
18434 test -f "$dirpart/$file" && continue
18435 fdir=`$as_dirname -- "$file" ||
18436 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18437 X"$file" : 'X\(//\)[^/]' \| \
18438 X"$file" : 'X\(//\)$' \| \
18439 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18440 $as_echo X"$file" |
18441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18445 /^X\(\/\/\)[^/].*/{
18458 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18459 # echo "creating $dirpart/$file"
18460 echo '# dummy' > "$dirpart/$file"
18467 # See if we are running on zsh, and set the options which allow our
18468 # commands through without removal of \ escapes.
18469 if test -n "${ZSH_VERSION+set}" ; then
18470 setopt NO_GLOB_SUBST
18473 cfgfile="${ofile}T"
18474 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18477 cat <<_LT_EOF >> "$cfgfile"
18480 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18481 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18482 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18483 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18485 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18486 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18488 # Written by Gordon Matzigkeit, 1996
18490 # This file is part of GNU Libtool.
18492 # GNU Libtool is free software; you can redistribute it and/or
18493 # modify it under the terms of the GNU General Public License as
18494 # published by the Free Software Foundation; either version 2 of
18495 # the License, or (at your option) any later version.
18497 # As a special exception to the GNU General Public License,
18498 # if you distribute this file as part of a program or library that
18499 # is built using GNU Libtool, you may include this file under the
18500 # same distribution terms that you use for the rest of that program.
18502 # GNU Libtool is distributed in the hope that it will be useful,
18503 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18504 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18505 # GNU General Public License for more details.
18507 # You should have received a copy of the GNU General Public License
18508 # along with GNU Libtool; see the file COPYING. If not, a copy
18509 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18510 # obtained by writing to the Free Software Foundation, Inc.,
18511 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18514 # The names of the tagged configurations supported by this script.
18517 # ### BEGIN LIBTOOL CONFIG
18519 # Assembler program.
18522 # DLL creation program.
18523 DLLTOOL=$lt_DLLTOOL
18525 # Object dumper program.
18526 OBJDUMP=$lt_OBJDUMP
18528 # Which release of libtool.m4 was used?
18529 macro_version=$macro_version
18530 macro_revision=$macro_revision
18532 # Whether or not to build shared libraries.
18533 build_libtool_libs=$enable_shared
18535 # Whether or not to build static libraries.
18536 build_old_libs=$enable_static
18538 # What type of objects to build.
18541 # Whether or not to optimize for fast installation.
18542 fast_install=$enable_fast_install
18544 # Shell to use when invoking shell scripts.
18547 # An echo program that protects backslashes.
18550 # The PATH separator for the build system.
18551 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18554 host_alias=$host_alias
18558 # The build system.
18559 build_alias=$build_alias
18563 # A sed program that does not truncate output.
18566 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18567 Xsed="\$SED -e 1s/^X//"
18569 # A grep program that handles long lines.
18575 # A literal string matcher.
18578 # A BSD- or MS-compatible name lister.
18581 # Whether we need soft or hard links.
18584 # What is the maximum length of a command?
18585 max_cmd_len=$max_cmd_len
18587 # Object file suffix (normally "o").
18590 # Executable file suffix (normally "").
18593 # whether the shell understands "unset".
18596 # turn spaces into newlines.
18599 # turn newlines into spaces.
18602 # convert \$build file names to \$host format.
18603 to_host_file_cmd=$lt_cv_to_host_file_cmd
18605 # convert \$build files to toolchain format.
18606 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18608 # Method to check whether dependent libraries are shared objects.
18609 deplibs_check_method=$lt_deplibs_check_method
18611 # Command to use when deplibs_check_method = "file_magic".
18612 file_magic_cmd=$lt_file_magic_cmd
18614 # How to find potential files when deplibs_check_method = "file_magic".
18615 file_magic_glob=$lt_file_magic_glob
18617 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18618 want_nocaseglob=$lt_want_nocaseglob
18620 # Command to associate shared and link libraries.
18621 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18626 # Flags to create an archive.
18627 AR_FLAGS=$lt_AR_FLAGS
18629 # How to feed a file listing to the archiver.
18630 archiver_list_spec=$lt_archiver_list_spec
18632 # A symbol stripping program.
18635 # Commands used to install an old-style archive.
18637 old_postinstall_cmds=$lt_old_postinstall_cmds
18638 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18640 # Whether to use a lock for old archive extraction.
18641 lock_old_archive_extraction=$lock_old_archive_extraction
18646 # LTCC compiler flags.
18647 LTCFLAGS=$lt_CFLAGS
18649 # Take the output of nm and produce a listing of raw symbols and C names.
18650 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18652 # Transform the output of nm in a proper C declaration.
18653 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18655 # Transform the output of nm in a C name address pair.
18656 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18658 # Transform the output of nm in a C name address pair when lib prefix is needed.
18659 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18661 # Specify filename containing input files for \$NM.
18662 nm_file_list_spec=$lt_nm_file_list_spec
18664 # The root where to search for dependent libraries,and in which our libraries should be installed.
18665 lt_sysroot=$lt_sysroot
18667 # The name of the directory that contains temporary libtool files.
18670 # Used to examine libraries when file_magic_cmd begins with "file".
18671 MAGIC_CMD=$MAGIC_CMD
18673 # Must we lock files when doing compilation?
18674 need_locks=$lt_need_locks
18677 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18679 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18680 DSYMUTIL=$lt_DSYMUTIL
18682 # Tool to change global to local symbols on Mac OS X.
18685 # Tool to manipulate fat objects and archives on Mac OS X.
18688 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18691 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18692 OTOOL64=$lt_OTOOL64
18694 # Old archive suffix (normally "a").
18697 # Shared library suffix (normally ".so").
18698 shrext_cmds=$lt_shrext_cmds
18700 # The commands to extract the exported symbol list from a shared archive.
18701 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18703 # Variables whose values should be saved in libtool wrapper scripts and
18704 # restored at link time.
18705 variables_saved_for_relink=$lt_variables_saved_for_relink
18707 # Do we need the "lib" prefix for modules?
18708 need_lib_prefix=$need_lib_prefix
18710 # Do we need a version for libraries?
18711 need_version=$need_version
18713 # Library versioning type.
18714 version_type=$version_type
18716 # Shared library runtime path variable.
18717 runpath_var=$runpath_var
18719 # Shared library path variable.
18720 shlibpath_var=$shlibpath_var
18722 # Is shlibpath searched before the hard-coded library search path?
18723 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18725 # Format of library name prefix.
18726 libname_spec=$lt_libname_spec
18728 # List of archive names. First name is the real one, the rest are links.
18729 # The last name is the one that the linker finds with -lNAME
18730 library_names_spec=$lt_library_names_spec
18732 # The coded name of the library, if different from the real name.
18733 soname_spec=$lt_soname_spec
18735 # Permission mode override for installation of shared libraries.
18736 install_override_mode=$lt_install_override_mode
18738 # Command to use after installation of a shared archive.
18739 postinstall_cmds=$lt_postinstall_cmds
18741 # Command to use after uninstallation of a shared archive.
18742 postuninstall_cmds=$lt_postuninstall_cmds
18744 # Commands used to finish a libtool library installation in a directory.
18745 finish_cmds=$lt_finish_cmds
18747 # As "finish_cmds", except a single script fragment to be evaled but
18749 finish_eval=$lt_finish_eval
18751 # Whether we should hardcode library paths into libraries.
18752 hardcode_into_libs=$hardcode_into_libs
18754 # Compile-time system search path for libraries.
18755 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18757 # Run-time system search path for libraries.
18758 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18760 # Whether dlopen is supported.
18761 dlopen_support=$enable_dlopen
18763 # Whether dlopen of programs is supported.
18764 dlopen_self=$enable_dlopen_self
18766 # Whether dlopen of statically linked programs is supported.
18767 dlopen_self_static=$enable_dlopen_self_static
18769 # Commands to strip libraries.
18770 old_striplib=$lt_old_striplib
18771 striplib=$lt_striplib
18774 # The linker used to build libraries.
18777 # How to create reloadable object files.
18778 reload_flag=$lt_reload_flag
18779 reload_cmds=$lt_reload_cmds
18781 # Commands used to build an old-style archive.
18782 old_archive_cmds=$lt_old_archive_cmds
18784 # A language specific compiler.
18787 # Is the compiler the GNU compiler?
18790 # Compiler flag to turn off builtin functions.
18791 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18793 # Additional compiler flags for building library objects.
18794 pic_flag=$lt_lt_prog_compiler_pic
18796 # How to pass a linker flag through the compiler.
18797 wl=$lt_lt_prog_compiler_wl
18799 # Compiler flag to prevent dynamic linking.
18800 link_static_flag=$lt_lt_prog_compiler_static
18802 # Does compiler simultaneously support -c and -o options?
18803 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18805 # Whether or not to add -lc for building shared libraries.
18806 build_libtool_need_lc=$archive_cmds_need_lc
18808 # Whether or not to disallow shared libs when runtime libs are static.
18809 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18811 # Compiler flag to allow reflexive dlopens.
18812 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18814 # Compiler flag to generate shared objects directly from archives.
18815 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18817 # Whether the compiler copes with passing no objects directly.
18818 compiler_needs_object=$lt_compiler_needs_object
18820 # Create an old-style archive from a shared archive.
18821 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18823 # Create a temporary old-style archive to link instead of a shared archive.
18824 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18826 # Commands used to build a shared archive.
18827 archive_cmds=$lt_archive_cmds
18828 archive_expsym_cmds=$lt_archive_expsym_cmds
18830 # Commands used to build a loadable module if different from building
18831 # a shared archive.
18832 module_cmds=$lt_module_cmds
18833 module_expsym_cmds=$lt_module_expsym_cmds
18835 # Whether we are building with GNU ld or not.
18836 with_gnu_ld=$lt_with_gnu_ld
18838 # Flag that allows shared libraries with undefined symbols to be built.
18839 allow_undefined_flag=$lt_allow_undefined_flag
18841 # Flag that enforces no undefined symbols.
18842 no_undefined_flag=$lt_no_undefined_flag
18844 # Flag to hardcode \$libdir into a binary during linking.
18845 # This must work even if \$libdir does not exist
18846 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18848 # Whether we need a single "-rpath" flag with a separated argument.
18849 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18851 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18852 # DIR into the resulting binary.
18853 hardcode_direct=$hardcode_direct
18855 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18856 # DIR into the resulting binary and the resulting library dependency is
18857 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18858 # library is relocated.
18859 hardcode_direct_absolute=$hardcode_direct_absolute
18861 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18862 # into the resulting binary.
18863 hardcode_minus_L=$hardcode_minus_L
18865 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18866 # into the resulting binary.
18867 hardcode_shlibpath_var=$hardcode_shlibpath_var
18869 # Set to "yes" if building a shared library automatically hardcodes DIR
18870 # into the library and all subsequent libraries and executables linked
18872 hardcode_automatic=$hardcode_automatic
18874 # Set to yes if linker adds runtime paths of dependent libraries
18875 # to runtime path list.
18876 inherit_rpath=$inherit_rpath
18878 # Whether libtool must link a program against all its dependency libraries.
18879 link_all_deplibs=$link_all_deplibs
18881 # Set to "yes" if exported symbols are required.
18882 always_export_symbols=$always_export_symbols
18884 # The commands to list exported symbols.
18885 export_symbols_cmds=$lt_export_symbols_cmds
18887 # Symbols that should not be listed in the preloaded symbols.
18888 exclude_expsyms=$lt_exclude_expsyms
18890 # Symbols that must always be exported.
18891 include_expsyms=$lt_include_expsyms
18893 # Commands necessary for linking programs (against libraries) with templates.
18894 prelink_cmds=$lt_prelink_cmds
18896 # Commands necessary for finishing linking programs.
18897 postlink_cmds=$lt_postlink_cmds
18899 # Specify filename containing input files.
18900 file_list_spec=$lt_file_list_spec
18902 # How to hardcode a shared library path into an executable.
18903 hardcode_action=$hardcode_action
18905 # ### END LIBTOOL CONFIG
18911 cat <<\_LT_EOF >> "$cfgfile"
18912 # AIX sometimes has problems with the GCC collect2 program. For some
18913 # reason, if we set the COLLECT_NAMES environment variable, the problems
18914 # vanish in a puff of smoke.
18915 if test "X${COLLECT_NAMES+set}" != Xset; then
18917 export COLLECT_NAMES
18924 ltmain="$ac_aux_dir/ltmain.sh"
18927 # We use sed instead of cat because bash on DJGPP gets confused if
18928 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18929 # text mode, it properly converts lines to CR/LF. This bash problem
18930 # is reportedly fixed, but why not run on old versions too?
18931 sed '$q' "$ltmain" >> "$cfgfile" \
18932 || (rm -f "$cfgfile"; exit 1)
18934 if test x"$xsi_shell" = xyes; then
18935 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18939 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18940 \ * ) func_dirname_result="${3}" ;;\
18942 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18943 && mv -f "$cfgfile.tmp" "$cfgfile" \
18944 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18945 test 0 -eq $? || _lt_function_replace_fail=:
18948 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18951 \ func_basename_result="${1##*/}"\
18952 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18953 && mv -f "$cfgfile.tmp" "$cfgfile" \
18954 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18955 test 0 -eq $? || _lt_function_replace_fail=:
18958 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18959 func_dirname_and_basename ()\
18962 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18963 \ * ) func_dirname_result="${3}" ;;\
18965 \ func_basename_result="${1##*/}"\
18966 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18967 && mv -f "$cfgfile.tmp" "$cfgfile" \
18968 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18969 test 0 -eq $? || _lt_function_replace_fail=:
18972 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18975 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18976 \ # positional parameters, so assign one to ordinary parameter first.\
18977 \ func_stripname_result=${3}\
18978 \ func_stripname_result=${func_stripname_result#"${1}"}\
18979 \ func_stripname_result=${func_stripname_result%"${2}"}\
18980 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18981 && mv -f "$cfgfile.tmp" "$cfgfile" \
18982 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18983 test 0 -eq $? || _lt_function_replace_fail=:
18986 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18987 func_split_long_opt ()\
18989 \ func_split_long_opt_name=${1%%=*}\
18990 \ func_split_long_opt_arg=${1#*=}\
18991 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18992 && mv -f "$cfgfile.tmp" "$cfgfile" \
18993 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18994 test 0 -eq $? || _lt_function_replace_fail=:
18997 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18998 func_split_short_opt ()\
19000 \ func_split_short_opt_arg=${1#??}\
19001 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19002 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19003 && mv -f "$cfgfile.tmp" "$cfgfile" \
19004 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19005 test 0 -eq $? || _lt_function_replace_fail=:
19008 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19012 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19013 \ *) func_lo2o_result=${1} ;;\
19015 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19016 && mv -f "$cfgfile.tmp" "$cfgfile" \
19017 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19018 test 0 -eq $? || _lt_function_replace_fail=:
19021 sed -e '/^func_xform ()$/,/^} # func_xform /c\
19024 func_xform_result=${1%.*}.lo\
19025 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19026 && mv -f "$cfgfile.tmp" "$cfgfile" \
19027 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19028 test 0 -eq $? || _lt_function_replace_fail=:
19031 sed -e '/^func_arith ()$/,/^} # func_arith /c\
19034 func_arith_result=$(( $* ))\
19035 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19036 && mv -f "$cfgfile.tmp" "$cfgfile" \
19037 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19038 test 0 -eq $? || _lt_function_replace_fail=:
19041 sed -e '/^func_len ()$/,/^} # func_len /c\
19044 func_len_result=${#1}\
19045 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19046 && mv -f "$cfgfile.tmp" "$cfgfile" \
19047 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19048 test 0 -eq $? || _lt_function_replace_fail=:
19052 if test x"$lt_shell_append" = xyes; then
19053 sed -e '/^func_append ()$/,/^} # func_append /c\
19056 eval "${1}+=\\${2}"\
19057 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19058 && mv -f "$cfgfile.tmp" "$cfgfile" \
19059 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19060 test 0 -eq $? || _lt_function_replace_fail=:
19063 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19064 func_append_quoted ()\
19066 \ func_quote_for_eval "${2}"\
19067 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19068 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19069 && mv -f "$cfgfile.tmp" "$cfgfile" \
19070 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19071 test 0 -eq $? || _lt_function_replace_fail=:
19074 # Save a `func_append' function call where possible by direct use of '+='
19075 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19076 && mv -f "$cfgfile.tmp" "$cfgfile" \
19077 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19078 test 0 -eq $? || _lt_function_replace_fail=:
19080 # Save a `func_append' function call even when '+=' is not available
19081 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19082 && mv -f "$cfgfile.tmp" "$cfgfile" \
19083 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19084 test 0 -eq $? || _lt_function_replace_fail=:
19087 if test x"$_lt_function_replace_fail" = x":"; then
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19089 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19093 mv -f "$cfgfile" "$ofile" ||
19094 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19098 "po-directories":C)
19099 for ac_file in $CONFIG_FILES; do
19100 # Support "outfile[:infile[:infile...]]"
19102 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19104 # PO directories have a Makefile.in generated from Makefile.in.in.
19105 case "$ac_file" in */Makefile.in)
19106 # Adjust a relative srcdir.
19107 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
19108 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
19109 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
19110 # In autoconf-2.13 it is called $ac_given_srcdir.
19111 # In autoconf-2.50 it is called $srcdir.
19112 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
19113 case "$ac_given_srcdir" in
19114 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
19115 /*) top_srcdir="$ac_given_srcdir" ;;
19116 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
19118 # Treat a directory as a PO directory if and only if it has a
19119 # POTFILES.in file. This allows packages to have multiple PO
19120 # directories under different names or in different locations.
19121 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
19122 rm -f "$ac_dir/POTFILES"
19123 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
19124 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
19125 POMAKEFILEDEPS="POTFILES.in"
19126 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
19127 # on $ac_dir but don't depend on user-specified configuration
19129 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
19130 # The LINGUAS file contains the set of available languages.
19131 if test -n "$OBSOLETE_ALL_LINGUAS"; then
19132 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
19134 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
19135 # Hide the ALL_LINGUAS assigment from automake < 1.5.
19136 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
19137 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
19139 # The set of available languages was given in configure.in.
19140 # Hide the ALL_LINGUAS assigment from automake < 1.5.
19141 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
19144 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
19145 # Compute UPDATEPOFILES
19146 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
19147 # Compute DUMMYPOFILES
19148 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
19150 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
19151 case "$ac_given_srcdir" in
19153 *) srcdirpre='$(srcdir)/' ;;
19159 for lang in $ALL_LINGUAS; do
19160 POFILES="$POFILES $srcdirpre$lang.po"
19161 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
19162 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
19163 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
19165 # CATALOGS depends on both $ac_dir and the user's LINGUAS
19166 # environment variable.
19168 if test -n "$ALL_LINGUAS"; then
19169 for presentlang in $ALL_LINGUAS; do
19171 if test "%UNSET%" != "$LINGUAS"; then
19172 desiredlanguages="$LINGUAS"
19174 desiredlanguages="$ALL_LINGUAS"
19176 for desiredlang in $desiredlanguages; do
19177 # Use the presentlang catalog if desiredlang is
19178 # a. equal to presentlang, or
19179 # b. a variant of presentlang (because in this case,
19180 # presentlang can be used as a fallback for messages
19181 # which are not translated in the desiredlang catalog).
19182 case "$desiredlang" in
19183 "$presentlang"*) useit=yes;;
19186 if test $useit = yes; then
19187 INST_LINGUAS="$INST_LINGUAS $presentlang"
19192 if test -n "$INST_LINGUAS"; then
19193 for lang in $INST_LINGUAS; do
19194 CATALOGS="$CATALOGS $lang.gmo"
19197 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
19198 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
19199 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
19200 if test -f "$f"; then
19202 *.orig | *.bak | *~) ;;
19203 *) cat "$f" >> "$ac_dir/Makefile" ;;
19218 ac_clean_files=$ac_clean_files_save
19220 test $ac_write_fail = 0 ||
19221 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19224 # configure is writing to config.log, and then calls config.status.
19225 # config.status does its own redirection, appending to config.log.
19226 # Unfortunately, on DOS this fails, as config.log is still kept open
19227 # by configure, so config.status won't be able to write to it; its
19228 # output is simply discarded. So we exec the FD to /dev/null,
19229 # effectively closing config.log, so it can be properly (re)opened and
19230 # appended to by config.status. When coming back to configure, we
19231 # need to make the FD available again.
19232 if test "$no_create" != yes; then
19234 ac_config_status_args=
19235 test "$silent" = yes &&
19236 ac_config_status_args="$ac_config_status_args --quiet"
19238 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19240 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19241 # would make configure fail if this is the last instruction.
19242 $ac_cs_success || as_fn_exit 1
19244 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19246 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19251 #####################################################################
19257 echo "------------------------------------------------------------------------"
19258 echo "$PACKAGE $VERSION"
19259 echo "------------------------------------------------------------------------"
19261 echo "Configuration Options Summary:"
19263 echo " Specification compliance:"
19264 echo " Strict.............: ${enable_strict_spec}"
19265 echo " Sloppy.............: ${enable_sloppy_spec}"
19267 echo " Tests................: ${enable_tests}"
19268 echo " Coverage.............: ${enable_coverage}"
19270 echo " Documentation........: ${build_doc}"
19272 echo "Compilation............: make (or gmake)"
19273 echo " CPPFLAGS.............: $CPPFLAGS"
19274 echo " CFLAGS...............: $CFLAGS"
19275 echo " LDFLAGS..............: $LDFLAGS"
19277 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
19278 echo " prefix...............: $prefix"