2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for embryo 1.7.4.
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='embryo'
572 PACKAGE_TARNAME='embryo'
573 PACKAGE_VERSION='1.7.4'
574 PACKAGE_STRING='embryo 1.7.4'
575 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
578 ac_unique_file="configure.ac"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars='am__EXEEXT_FALSE
623 lt_enable_auto_import
633 pkgconfig_requires_private
641 BUILD_EMBRYO_CC_FALSE
707 INSTALL_STRIP_PROGRAM
749 program_transform_name
762 enable_option_checking
768 enable_dependency_tracking
776 ac_precious_vars='build_alias
796 # Initialize some variables set by options.
798 ac_init_version=false
799 ac_unrecognized_opts=
801 # The variables have the same names as the options, with
802 # dashes changed to underlines.
810 program_transform_name=s,x,x,
818 # Installation directory options.
819 # These are left unexpanded so users can "make install exec_prefix=/foo"
820 # and all the variables that are supposed to be based on exec_prefix
821 # by default will actually change.
822 # Use braces instead of parens because sh, perl, etc. also accept them.
823 # (The list follows the same order as the GNU Coding Standards.)
824 bindir='${exec_prefix}/bin'
825 sbindir='${exec_prefix}/sbin'
826 libexecdir='${exec_prefix}/libexec'
827 datarootdir='${prefix}/share'
828 datadir='${datarootdir}'
829 sysconfdir='${prefix}/etc'
830 sharedstatedir='${prefix}/com'
831 localstatedir='${prefix}/var'
832 includedir='${prefix}/include'
833 oldincludedir='/usr/include'
834 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
835 infodir='${datarootdir}/info'
840 libdir='${exec_prefix}/lib'
841 localedir='${datarootdir}/locale'
842 mandir='${datarootdir}/man'
848 # If the previous option needs an argument, assign it.
849 if test -n "$ac_prev"; then
850 eval $ac_prev=\$ac_option
856 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
861 # Accept the important Cygnus configure options, so we can diagnose typos.
863 case $ac_dashdash$ac_option in
867 -bindir | --bindir | --bindi | --bind | --bin | --bi)
869 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
872 -build | --build | --buil | --bui | --bu)
873 ac_prev=build_alias ;;
874 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
875 build_alias=$ac_optarg ;;
877 -cache-file | --cache-file | --cache-fil | --cache-fi \
878 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
879 ac_prev=cache_file ;;
880 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
881 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
882 cache_file=$ac_optarg ;;
885 cache_file=config.cache ;;
887 -datadir | --datadir | --datadi | --datad)
889 -datadir=* | --datadir=* | --datadi=* | --datad=*)
890 datadir=$ac_optarg ;;
892 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
893 | --dataroo | --dataro | --datar)
894 ac_prev=datarootdir ;;
895 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
896 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
897 datarootdir=$ac_optarg ;;
899 -disable-* | --disable-*)
900 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
901 # Reject names that are not valid shell variable names.
902 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
903 as_fn_error $? "invalid feature name: $ac_useropt"
904 ac_useropt_orig=$ac_useropt
905 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
906 case $ac_user_opts in
910 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
911 ac_unrecognized_sep=', ';;
913 eval enable_$ac_useropt=no ;;
915 -docdir | --docdir | --docdi | --doc | --do)
917 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
920 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
922 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
925 -enable-* | --enable-*)
926 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
927 # Reject names that are not valid shell variable names.
928 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
929 as_fn_error $? "invalid feature name: $ac_useropt"
930 ac_useropt_orig=$ac_useropt
931 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
932 case $ac_user_opts in
936 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
937 ac_unrecognized_sep=', ';;
939 eval enable_$ac_useropt=\$ac_optarg ;;
941 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
942 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
943 | --exec | --exe | --ex)
944 ac_prev=exec_prefix ;;
945 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
946 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
947 | --exec=* | --exe=* | --ex=*)
948 exec_prefix=$ac_optarg ;;
950 -gas | --gas | --ga | --g)
951 # Obsolete; use --with-gas.
954 -help | --help | --hel | --he | -h)
956 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
957 ac_init_help=recursive ;;
958 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
959 ac_init_help=short ;;
961 -host | --host | --hos | --ho)
962 ac_prev=host_alias ;;
963 -host=* | --host=* | --hos=* | --ho=*)
964 host_alias=$ac_optarg ;;
966 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
968 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
970 htmldir=$ac_optarg ;;
972 -includedir | --includedir | --includedi | --included | --include \
973 | --includ | --inclu | --incl | --inc)
974 ac_prev=includedir ;;
975 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
976 | --includ=* | --inclu=* | --incl=* | --inc=*)
977 includedir=$ac_optarg ;;
979 -infodir | --infodir | --infodi | --infod | --info | --inf)
981 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
982 infodir=$ac_optarg ;;
984 -libdir | --libdir | --libdi | --libd)
986 -libdir=* | --libdir=* | --libdi=* | --libd=*)
989 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
990 | --libexe | --libex | --libe)
991 ac_prev=libexecdir ;;
992 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
993 | --libexe=* | --libex=* | --libe=*)
994 libexecdir=$ac_optarg ;;
996 -localedir | --localedir | --localedi | --localed | --locale)
998 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
999 localedir=$ac_optarg ;;
1001 -localstatedir | --localstatedir | --localstatedi | --localstated \
1002 | --localstate | --localstat | --localsta | --localst | --locals)
1003 ac_prev=localstatedir ;;
1004 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1005 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1006 localstatedir=$ac_optarg ;;
1008 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1010 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1011 mandir=$ac_optarg ;;
1013 -nfp | --nfp | --nf)
1014 # Obsolete; use --without-fp.
1017 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1018 | --no-cr | --no-c | -n)
1021 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1022 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1025 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1026 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1027 | --oldin | --oldi | --old | --ol | --o)
1028 ac_prev=oldincludedir ;;
1029 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1030 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1031 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1032 oldincludedir=$ac_optarg ;;
1034 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1036 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1037 prefix=$ac_optarg ;;
1039 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1040 | --program-pre | --program-pr | --program-p)
1041 ac_prev=program_prefix ;;
1042 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1043 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1044 program_prefix=$ac_optarg ;;
1046 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1047 | --program-suf | --program-su | --program-s)
1048 ac_prev=program_suffix ;;
1049 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1050 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1051 program_suffix=$ac_optarg ;;
1053 -program-transform-name | --program-transform-name \
1054 | --program-transform-nam | --program-transform-na \
1055 | --program-transform-n | --program-transform- \
1056 | --program-transform | --program-transfor \
1057 | --program-transfo | --program-transf \
1058 | --program-trans | --program-tran \
1059 | --progr-tra | --program-tr | --program-t)
1060 ac_prev=program_transform_name ;;
1061 -program-transform-name=* | --program-transform-name=* \
1062 | --program-transform-nam=* | --program-transform-na=* \
1063 | --program-transform-n=* | --program-transform-=* \
1064 | --program-transform=* | --program-transfor=* \
1065 | --program-transfo=* | --program-transf=* \
1066 | --program-trans=* | --program-tran=* \
1067 | --progr-tra=* | --program-tr=* | --program-t=*)
1068 program_transform_name=$ac_optarg ;;
1070 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1072 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1073 pdfdir=$ac_optarg ;;
1075 -psdir | --psdir | --psdi | --psd | --ps)
1077 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1080 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1081 | -silent | --silent | --silen | --sile | --sil)
1084 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1086 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1088 sbindir=$ac_optarg ;;
1090 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1091 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1092 | --sharedst | --shareds | --shared | --share | --shar \
1094 ac_prev=sharedstatedir ;;
1095 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1096 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1097 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1099 sharedstatedir=$ac_optarg ;;
1101 -site | --site | --sit)
1103 -site=* | --site=* | --sit=*)
1106 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1108 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1109 srcdir=$ac_optarg ;;
1111 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1112 | --syscon | --sysco | --sysc | --sys | --sy)
1113 ac_prev=sysconfdir ;;
1114 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1115 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1116 sysconfdir=$ac_optarg ;;
1118 -target | --target | --targe | --targ | --tar | --ta | --t)
1119 ac_prev=target_alias ;;
1120 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1121 target_alias=$ac_optarg ;;
1123 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1126 -version | --version | --versio | --versi | --vers | -V)
1127 ac_init_version=: ;;
1130 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1131 # Reject names that are not valid shell variable names.
1132 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1133 as_fn_error $? "invalid package name: $ac_useropt"
1134 ac_useropt_orig=$ac_useropt
1135 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1136 case $ac_user_opts in
1140 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1141 ac_unrecognized_sep=', ';;
1143 eval with_$ac_useropt=\$ac_optarg ;;
1145 -without-* | --without-*)
1146 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1147 # Reject names that are not valid shell variable names.
1148 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1149 as_fn_error $? "invalid package name: $ac_useropt"
1150 ac_useropt_orig=$ac_useropt
1151 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1152 case $ac_user_opts in
1156 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1157 ac_unrecognized_sep=', ';;
1159 eval with_$ac_useropt=no ;;
1162 # Obsolete; use --with-x.
1165 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1166 | --x-incl | --x-inc | --x-in | --x-i)
1167 ac_prev=x_includes ;;
1168 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1169 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1170 x_includes=$ac_optarg ;;
1172 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1173 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1174 ac_prev=x_libraries ;;
1175 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1176 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1177 x_libraries=$ac_optarg ;;
1179 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1180 Try \`$0 --help' for more information"
1184 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1185 # Reject names that are not valid shell variable names.
1186 case $ac_envvar in #(
1187 '' | [0-9]* | *[!_$as_cr_alnum]* )
1188 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1190 eval $ac_envvar=\$ac_optarg
1191 export $ac_envvar ;;
1194 # FIXME: should be removed in autoconf 3.0.
1195 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1196 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1197 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1198 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1204 if test -n "$ac_prev"; then
1205 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1206 as_fn_error $? "missing argument to $ac_option"
1209 if test -n "$ac_unrecognized_opts"; then
1210 case $enable_option_checking in
1212 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1213 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1217 # Check all directory arguments for consistency.
1218 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1219 datadir sysconfdir sharedstatedir localstatedir includedir \
1220 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1221 libdir localedir mandir
1223 eval ac_val=\$$ac_var
1224 # Remove trailing slashes.
1227 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1228 eval $ac_var=\$ac_val;;
1230 # Be sure to have absolute directory names.
1232 [\\/$]* | ?:[\\/]* ) continue;;
1233 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1235 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1238 # There might be people who depend on the old broken behavior: `$host'
1239 # used to hold the argument of --host etc.
1240 # FIXME: To remove some day.
1243 target=$target_alias
1245 # FIXME: To remove some day.
1246 if test "x$host_alias" != x; then
1247 if test "x$build_alias" = x; then
1248 cross_compiling=maybe
1249 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1250 If a cross compiler is detected then cross compile mode will be used" >&2
1251 elif test "x$build_alias" != "x$host_alias"; then
1257 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1259 test "$silent" = yes && exec 6>/dev/null
1262 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1263 ac_ls_di=`ls -di .` &&
1264 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1265 as_fn_error $? "working directory cannot be determined"
1266 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1267 as_fn_error $? "pwd does not report name of working directory"
1270 # Find the source files, if location was not specified.
1271 if test -z "$srcdir"; then
1272 ac_srcdir_defaulted=yes
1273 # Try the directory containing this script, then the parent directory.
1274 ac_confdir=`$as_dirname -- "$as_myself" ||
1275 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1276 X"$as_myself" : 'X\(//\)[^/]' \| \
1277 X"$as_myself" : 'X\(//\)$' \| \
1278 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1279 $as_echo X"$as_myself" |
1280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1302 ac_srcdir_defaulted=no
1304 if test ! -r "$srcdir/$ac_unique_file"; then
1305 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1306 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1308 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1310 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1312 # When building in place, set srcdir=.
1313 if test "$ac_abs_confdir" = "$ac_pwd"; then
1316 # Remove unnecessary trailing slashes from srcdir.
1317 # Double slashes in file names in object file debugging info
1318 # mess up M-x gdb in Emacs.
1320 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1322 for ac_var in $ac_precious_vars; do
1323 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1324 eval ac_env_${ac_var}_value=\$${ac_var}
1325 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1326 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1330 # Report the --help message.
1332 if test "$ac_init_help" = "long"; then
1333 # Omit some internal or obsolete options to make the list less imposing.
1334 # This message is too long to be a string in the A/UX 3.1 sh.
1336 \`configure' configures embryo 1.7.4 to adapt to many kinds of systems.
1338 Usage: $0 [OPTION]... [VAR=VALUE]...
1340 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1341 VAR=VALUE. See below for descriptions of some of the useful variables.
1343 Defaults for the options are specified in brackets.
1346 -h, --help display this help and exit
1347 --help=short display options specific to this package
1348 --help=recursive display the short help of all the included packages
1349 -V, --version display version information and exit
1350 -q, --quiet, --silent do not print \`checking ...' messages
1351 --cache-file=FILE cache test results in FILE [disabled]
1352 -C, --config-cache alias for \`--cache-file=config.cache'
1353 -n, --no-create do not create output files
1354 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1356 Installation directories:
1357 --prefix=PREFIX install architecture-independent files in PREFIX
1358 [$ac_default_prefix]
1359 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1362 By default, \`make install' will install all the files in
1363 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1364 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1365 for instance \`--prefix=\$HOME'.
1367 For better control, use the options below.
1369 Fine tuning of the installation directories:
1370 --bindir=DIR user executables [EPREFIX/bin]
1371 --sbindir=DIR system admin executables [EPREFIX/sbin]
1372 --libexecdir=DIR program executables [EPREFIX/libexec]
1373 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1374 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1375 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1376 --libdir=DIR object code libraries [EPREFIX/lib]
1377 --includedir=DIR C header files [PREFIX/include]
1378 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1379 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1380 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1381 --infodir=DIR info documentation [DATAROOTDIR/info]
1382 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1383 --mandir=DIR man documentation [DATAROOTDIR/man]
1384 --docdir=DIR documentation root [DATAROOTDIR/doc/embryo]
1385 --htmldir=DIR html documentation [DOCDIR]
1386 --dvidir=DIR dvi documentation [DOCDIR]
1387 --pdfdir=DIR pdf documentation [DOCDIR]
1388 --psdir=DIR ps documentation [DOCDIR]
1394 --program-prefix=PREFIX prepend PREFIX to installed program names
1395 --program-suffix=SUFFIX append SUFFIX to installed program names
1396 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1399 --build=BUILD configure for building on BUILD [guessed]
1400 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1404 if test -n "$ac_init_help"; then
1405 case $ac_init_help in
1406 short | recursive ) echo "Configuration of embryo 1.7.4:";;
1411 --disable-option-checking ignore unrecognized --enable/--with options
1412 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1413 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1414 --enable-silent-rules less verbose build output (undo: `make V=1')
1415 --disable-silent-rules verbose build output (undo: `make V=0')
1416 --enable-shared[=PKGS] build shared libraries [default=yes]
1417 --enable-static[=PKGS] build static libraries [default=yes]
1418 --enable-fast-install[=PKGS]
1419 optimize for fast installation [default=yes]
1420 --disable-dependency-tracking speeds up one-time build
1421 --enable-dependency-tracking do not reject slow dependency extractors
1422 --disable-libtool-lock avoid locking (might break parallel builds)
1423 --disable-embryo-cc disable building of embryo_cc
1424 --disable-doc Disable documentation build [default=enabled]
1427 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1428 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1429 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1431 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1432 --with-sysroot=DIR Search for dependent libraries within DIR
1433 (or the compiler's sysroot if not specified).
1434 --with-doxygen=FILE doxygen program to use [default=doxygen]
1436 Some influential environment variables:
1437 CC C compiler command
1438 CFLAGS C compiler flags
1439 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1440 nonstandard directory <lib dir>
1441 LIBS libraries to pass to the linker, e.g. -l<library>
1442 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1443 you have headers in a nonstandard directory <include dir>
1445 PKG_CONFIG path to pkg-config utility
1447 directories to add to pkg-config's search path
1449 path overriding pkg-config's built-in search path
1450 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1451 EVIL_LIBS linker flags for EVIL, overriding pkg-config
1452 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
1453 EINA_LIBS linker flags for EINA, overriding pkg-config
1455 C compiler flags for EXOTIC, overriding pkg-config
1456 EXOTIC_LIBS linker flags for EXOTIC, overriding pkg-config
1458 Use these variables to override the choices made by `configure' or to help
1459 it to find libraries and programs with nonstandard names/locations.
1461 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1466 if test "$ac_init_help" = "recursive"; then
1467 # If there are subdirs, report their specific --help.
1468 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1469 test -d "$ac_dir" ||
1470 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1475 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1477 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1478 # A ".." for each directory in $ac_dir_suffix.
1479 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1480 case $ac_top_builddir_sub in
1481 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1482 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1485 ac_abs_top_builddir=$ac_pwd
1486 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1487 # for backward compatibility:
1488 ac_top_builddir=$ac_top_build_prefix
1491 .) # We are building in place.
1493 ac_top_srcdir=$ac_top_builddir_sub
1494 ac_abs_top_srcdir=$ac_pwd ;;
1495 [\\/]* | ?:[\\/]* ) # Absolute name.
1496 ac_srcdir=$srcdir$ac_dir_suffix;
1497 ac_top_srcdir=$srcdir
1498 ac_abs_top_srcdir=$srcdir ;;
1500 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1501 ac_top_srcdir=$ac_top_build_prefix$srcdir
1502 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1504 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1506 cd "$ac_dir" || { ac_status=$?; continue; }
1507 # Check for guested configure.
1508 if test -f "$ac_srcdir/configure.gnu"; then
1510 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1511 elif test -f "$ac_srcdir/configure"; then
1513 $SHELL "$ac_srcdir/configure" --help=recursive
1515 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1517 cd "$ac_pwd" || { ac_status=$?; break; }
1521 test -n "$ac_init_help" && exit $ac_status
1522 if $ac_init_version; then
1524 embryo configure 1.7.4
1525 generated by GNU Autoconf 2.68
1527 Copyright (C) 2010 Free Software Foundation, Inc.
1528 This configure script is free software; the Free Software Foundation
1529 gives unlimited permission to copy, distribute and modify it.
1534 ## ------------------------ ##
1535 ## Autoconf initialization. ##
1536 ## ------------------------ ##
1538 # ac_fn_c_try_compile LINENO
1539 # --------------------------
1540 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1541 ac_fn_c_try_compile ()
1543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1544 rm -f conftest.$ac_objext
1545 if { { ac_try="$ac_compile"
1547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1548 *) ac_try_echo=$ac_try;;
1550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1551 $as_echo "$ac_try_echo"; } >&5
1552 (eval "$ac_compile") 2>conftest.err
1554 if test -s conftest.err; then
1555 grep -v '^ *+' conftest.err >conftest.er1
1556 cat conftest.er1 >&5
1557 mv -f conftest.er1 conftest.err
1559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1560 test $ac_status = 0; } && {
1561 test -z "$ac_c_werror_flag" ||
1562 test ! -s conftest.err
1563 } && test -s conftest.$ac_objext; then :
1566 $as_echo "$as_me: failed program was:" >&5
1567 sed 's/^/| /' conftest.$ac_ext >&5
1571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572 as_fn_set_status $ac_retval
1574 } # ac_fn_c_try_compile
1576 # ac_fn_c_try_link LINENO
1577 # -----------------------
1578 # Try to link conftest.$ac_ext, and return whether this succeeded.
1581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1582 rm -f conftest.$ac_objext conftest$ac_exeext
1583 if { { ac_try="$ac_link"
1585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1586 *) ac_try_echo=$ac_try;;
1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1589 $as_echo "$ac_try_echo"; } >&5
1590 (eval "$ac_link") 2>conftest.err
1592 if test -s conftest.err; then
1593 grep -v '^ *+' conftest.err >conftest.er1
1594 cat conftest.er1 >&5
1595 mv -f conftest.er1 conftest.err
1597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1598 test $ac_status = 0; } && {
1599 test -z "$ac_c_werror_flag" ||
1600 test ! -s conftest.err
1601 } && test -s conftest$ac_exeext && {
1602 test "$cross_compiling" = yes ||
1603 $as_test_x conftest$ac_exeext
1607 $as_echo "$as_me: failed program was:" >&5
1608 sed 's/^/| /' conftest.$ac_ext >&5
1612 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1613 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1614 # interfere with the next link command; also delete a directory that is
1615 # left behind by Apple's compiler. We do this before executing the actions.
1616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618 as_fn_set_status $ac_retval
1620 } # ac_fn_c_try_link
1622 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1623 # -------------------------------------------------------
1624 # Tests whether HEADER exists and can be compiled using the include files in
1625 # INCLUDES, setting the cache variable VAR accordingly.
1626 ac_fn_c_check_header_compile ()
1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1630 $as_echo_n "checking for $2... " >&6; }
1631 if eval \${$3+:} false; then :
1632 $as_echo_n "(cached) " >&6
1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h. */
1639 if ac_fn_c_try_compile "$LINENO"; then :
1644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651 } # ac_fn_c_check_header_compile
1653 # ac_fn_c_try_cpp LINENO
1654 # ----------------------
1655 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659 if { { ac_try="$ac_cpp conftest.$ac_ext"
1661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662 *) ac_try_echo=$ac_try;;
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1668 if test -s conftest.err; then
1669 grep -v '^ *+' conftest.err >conftest.er1
1670 cat conftest.er1 >&5
1671 mv -f conftest.er1 conftest.err
1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674 test $ac_status = 0; } > conftest.i && {
1675 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1676 test ! -s conftest.err
1680 $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686 as_fn_set_status $ac_retval
1690 # ac_fn_c_try_run LINENO
1691 # ----------------------
1692 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1693 # that executables *can* be run.
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 if { { ac_try="$ac_link"
1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700 *) ac_try_echo=$ac_try;;
1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704 (eval "$ac_link") 2>&5
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1708 { { case "(($ac_try" in
1709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710 *) ac_try_echo=$ac_try;;
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_try") 2>&5
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; }; }; then :
1720 $as_echo "$as_me: program exited with status $ac_status" >&5
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1724 ac_retval=$ac_status
1726 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728 as_fn_set_status $ac_retval
1732 # ac_fn_c_check_func LINENO FUNC VAR
1733 # ----------------------------------
1734 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1735 ac_fn_c_check_func ()
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if eval \${$3+:} false; then :
1741 $as_echo_n "(cached) " >&6
1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h. */
1745 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1747 #define $2 innocuous_$2
1749 /* System header to define __stub macros and hopefully few prototypes,
1750 which can conflict with char $2 (); below.
1751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1752 <limits.h> exists even on freestanding compilers. */
1755 # include <limits.h>
1757 # include <assert.h>
1762 /* Override any GCC internal prototype to avoid an error.
1763 Use char because int might match the return type of a GCC
1764 builtin and then its argument prototype would still apply. */
1769 /* The GNU C library defines this for functions which it implements
1770 to always fail with ENOSYS. Some functions are actually named
1771 something starting with __ and the normal name is an alias. */
1772 #if defined __stub_$2 || defined __stub___$2
1784 if ac_fn_c_try_link "$LINENO"; then :
1789 rm -f core conftest.err conftest.$ac_objext \
1790 conftest$ac_exeext conftest.$ac_ext
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794 $as_echo "$ac_res" >&6; }
1795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1797 } # ac_fn_c_check_func
1799 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1800 # -------------------------------------------------------
1801 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1802 # the include files in INCLUDES and setting the cache variable VAR
1804 ac_fn_c_check_header_mongrel ()
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 if eval \${$3+:} false; then :
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1809 $as_echo_n "checking for $2... " >&6; }
1810 if eval \${$3+:} false; then :
1811 $as_echo_n "(cached) " >&6
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1815 $as_echo "$ac_res" >&6; }
1817 # Is the header compilable?
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1819 $as_echo_n "checking $2 usability... " >&6; }
1820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1821 /* end confdefs.h. */
1825 if ac_fn_c_try_compile "$LINENO"; then :
1826 ac_header_compiler=yes
1828 ac_header_compiler=no
1830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1832 $as_echo "$ac_header_compiler" >&6; }
1834 # Is the header present?
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1836 $as_echo_n "checking $2 presence... " >&6; }
1837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1838 /* end confdefs.h. */
1841 if ac_fn_c_try_cpp "$LINENO"; then :
1842 ac_header_preproc=yes
1844 ac_header_preproc=no
1846 rm -f conftest.err conftest.i conftest.$ac_ext
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1848 $as_echo "$ac_header_preproc" >&6; }
1850 # So? What about this header?
1851 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1854 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1856 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1860 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1862 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1864 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1866 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1868 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1869 ( $as_echo "## -------------------------------------------------------- ##
1870 ## Report this to enlightenment-devel@lists.sourceforge.net ##
1871 ## -------------------------------------------------------- ##"
1872 ) | sed "s/^/$as_me: WARNING: /" >&2
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876 $as_echo_n "checking for $2... " >&6; }
1877 if eval \${$3+:} false; then :
1878 $as_echo_n "(cached) " >&6
1880 eval "$3=\$ac_header_compiler"
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1884 $as_echo "$ac_res" >&6; }
1886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1888 } # ac_fn_c_check_header_mongrel
1890 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1891 # -------------------------------------------
1892 # Tests whether TYPE exists after having included INCLUDES, setting cache
1893 # variable VAR accordingly.
1894 ac_fn_c_check_type ()
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898 $as_echo_n "checking for $2... " >&6; }
1899 if eval \${$3+:} false; then :
1900 $as_echo_n "(cached) " >&6
1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h. */
1915 if ac_fn_c_try_compile "$LINENO"; then :
1916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917 /* end confdefs.h. */
1928 if ac_fn_c_try_compile "$LINENO"; then :
1933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939 $as_echo "$ac_res" >&6; }
1940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1942 } # ac_fn_c_check_type
1943 cat >config.log <<_ACEOF
1944 This file contains any messages produced by compilers while
1945 running configure, to aid debugging if configure makes a mistake.
1947 It was created by embryo $as_me 1.7.4, which was
1948 generated by GNU Autoconf 2.68. Invocation command line was
1960 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1961 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1962 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1963 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1964 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1966 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1967 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1969 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1970 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1971 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1972 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1973 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1974 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1975 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1983 test -z "$as_dir" && as_dir=.
1984 $as_echo "PATH: $as_dir"
2000 # Keep a trace of the command line.
2001 # Strip out --no-create and --no-recursion so they do not pile up.
2002 # Strip out --silent because we don't want to record it for future runs.
2003 # Also quote any args containing shell meta-characters.
2004 # Make two passes to allow for proper duplicate-argument suppression.
2008 ac_must_keep_next=false
2014 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2015 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2016 | -silent | --silent | --silen | --sile | --sil)
2019 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2022 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2024 as_fn_append ac_configure_args1 " '$ac_arg'"
2025 if test $ac_must_keep_next = true; then
2026 ac_must_keep_next=false # Got value, back to normal.
2029 *=* | --config-cache | -C | -disable-* | --disable-* \
2030 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2031 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2032 | -with-* | --with-* | -without-* | --without-* | --x)
2033 case "$ac_configure_args0 " in
2034 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2037 -* ) ac_must_keep_next=true ;;
2040 as_fn_append ac_configure_args " '$ac_arg'"
2045 { ac_configure_args0=; unset ac_configure_args0;}
2046 { ac_configure_args1=; unset ac_configure_args1;}
2048 # When interrupted or exit'd, cleanup temporary files, and complete
2049 # config.log. We remove comments because anyway the quotes in there
2050 # would cause problems or look ugly.
2051 # WARNING: Use '\'' to represent an apostrophe within the trap.
2052 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2053 trap 'exit_status=$?
2054 # Save into config.log some information that might help in debugging.
2058 $as_echo "## ---------------- ##
2059 ## Cache variables. ##
2060 ## ---------------- ##"
2062 # The following way of writing the cache mishandles newlines in values,
2064 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2065 eval ac_val=\$$ac_var
2069 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2070 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2073 _ | IFS | as_nl) ;; #(
2074 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2075 *) { eval $ac_var=; unset $ac_var;} ;;
2080 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2081 *${as_nl}ac_space=\ *)
2083 "s/'\''/'\''\\\\'\'''\''/g;
2084 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2087 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2094 $as_echo "## ----------------- ##
2095 ## Output variables. ##
2096 ## ----------------- ##"
2098 for ac_var in $ac_subst_vars
2100 eval ac_val=\$$ac_var
2102 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2104 $as_echo "$ac_var='\''$ac_val'\''"
2108 if test -n "$ac_subst_files"; then
2109 $as_echo "## ------------------- ##
2110 ## File substitutions. ##
2111 ## ------------------- ##"
2113 for ac_var in $ac_subst_files
2115 eval ac_val=\$$ac_var
2117 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2119 $as_echo "$ac_var='\''$ac_val'\''"
2124 if test -s confdefs.h; then
2125 $as_echo "## ----------- ##
2132 test "$ac_signal" != 0 &&
2133 $as_echo "$as_me: caught signal $ac_signal"
2134 $as_echo "$as_me: exit $exit_status"
2136 rm -f core *.core core.conftest.* &&
2137 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2140 for ac_signal in 1 2 13 15; do
2141 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2145 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2146 rm -f -r conftest* confdefs.h
2148 $as_echo "/* confdefs.h */" > confdefs.h
2150 # Predefined preprocessor variables.
2152 cat >>confdefs.h <<_ACEOF
2153 #define PACKAGE_NAME "$PACKAGE_NAME"
2156 cat >>confdefs.h <<_ACEOF
2157 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2160 cat >>confdefs.h <<_ACEOF
2161 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2164 cat >>confdefs.h <<_ACEOF
2165 #define PACKAGE_STRING "$PACKAGE_STRING"
2168 cat >>confdefs.h <<_ACEOF
2169 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2172 cat >>confdefs.h <<_ACEOF
2173 #define PACKAGE_URL "$PACKAGE_URL"
2177 # Let the site file select an alternate cache file if it wants to.
2178 # Prefer an explicitly selected file to automatically selected ones.
2181 if test -n "$CONFIG_SITE"; then
2182 # We do not want a PATH search for config.site.
2183 case $CONFIG_SITE in #((
2184 -*) ac_site_file1=./$CONFIG_SITE;;
2185 */*) ac_site_file1=$CONFIG_SITE;;
2186 *) ac_site_file1=./$CONFIG_SITE;;
2188 elif test "x$prefix" != xNONE; then
2189 ac_site_file1=$prefix/share/config.site
2190 ac_site_file2=$prefix/etc/config.site
2192 ac_site_file1=$ac_default_prefix/share/config.site
2193 ac_site_file2=$ac_default_prefix/etc/config.site
2195 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2197 test "x$ac_site_file" = xNONE && continue
2198 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2200 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2201 sed 's/^/| /' "$ac_site_file" >&5
2203 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2205 as_fn_error $? "failed to load site script $ac_site_file
2206 See \`config.log' for more details" "$LINENO" 5; }
2210 if test -r "$cache_file"; then
2211 # Some versions of bash will fail to source /dev/null (special files
2212 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2213 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2215 $as_echo "$as_me: loading cache $cache_file" >&6;}
2217 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2218 *) . "./$cache_file";;
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2223 $as_echo "$as_me: creating cache $cache_file" >&6;}
2227 # Check that the precious variables saved in the cache have kept the same
2229 ac_cache_corrupted=false
2230 for ac_var in $ac_precious_vars; do
2231 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2232 eval ac_new_set=\$ac_env_${ac_var}_set
2233 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2234 eval ac_new_val=\$ac_env_${ac_var}_value
2235 case $ac_old_set,$ac_new_set in
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2238 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2239 ac_cache_corrupted=: ;;
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2242 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2243 ac_cache_corrupted=: ;;
2246 if test "x$ac_old_val" != "x$ac_new_val"; then
2247 # differences in whitespace do not lead to failure.
2248 ac_old_val_w=`echo x $ac_old_val`
2249 ac_new_val_w=`echo x $ac_new_val`
2250 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2252 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2253 ac_cache_corrupted=:
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2256 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2257 eval $ac_var=\$ac_old_val
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2260 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2262 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2265 # Pass precious variables to config.status.
2266 if test "$ac_new_set" = set; then
2268 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2269 *) ac_arg=$ac_var=$ac_new_val ;;
2271 case " $ac_configure_args " in
2272 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2273 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2277 if $ac_cache_corrupted; then
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2281 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2282 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2284 ## -------------------- ##
2285 ## Main body of script. ##
2286 ## -------------------- ##
2289 ac_cpp='$CPP $CPPFLAGS'
2290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2299 ac_config_headers="$ac_config_headers config.h"
2304 am__api_version='1.11'
2307 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2308 if test -f "$ac_dir/install-sh"; then
2310 ac_install_sh="$ac_aux_dir/install-sh -c"
2312 elif test -f "$ac_dir/install.sh"; then
2314 ac_install_sh="$ac_aux_dir/install.sh -c"
2316 elif test -f "$ac_dir/shtool"; then
2318 ac_install_sh="$ac_aux_dir/shtool install -c"
2322 if test -z "$ac_aux_dir"; then
2323 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2326 # These three variables are undocumented and unsupported,
2327 # and are intended to be withdrawn in a future Autoconf release.
2328 # They can cause serious problems if a builder's source tree is in a directory
2329 # whose full name contains unusual characters.
2330 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2331 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2332 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2335 # Find a good install program. We prefer a C program (faster),
2336 # so one script is as good as another. But avoid the broken or
2337 # incompatible versions:
2338 # SysV /etc/install, /usr/sbin/install
2339 # SunOS /usr/etc/install
2340 # IRIX /sbin/install
2342 # AmigaOS /C/install, which installs bootblocks on floppy discs
2343 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2344 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2345 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2346 # OS/2's system install, which has a completely different semantic
2347 # ./install, which can be erroneously created by make from ./install.sh.
2348 # Reject install programs that cannot install multiple files.
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2350 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2351 if test -z "$INSTALL"; then
2352 if ${ac_cv_path_install+:} false; then :
2353 $as_echo_n "(cached) " >&6
2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2359 test -z "$as_dir" && as_dir=.
2360 # Account for people who put trailing slashes in PATH elements.
2361 case $as_dir/ in #((
2362 ./ | .// | /[cC]/* | \
2363 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2364 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2367 # OSF1 and SCO ODT 3.0 have their own names for install.
2368 # Don't use installbsd from OSF since it installs stuff as root
2370 for ac_prog in ginstall scoinst install; do
2371 for ac_exec_ext in '' $ac_executable_extensions; do
2372 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2373 if test $ac_prog = install &&
2374 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2375 # AIX install. It has an incompatible calling convention.
2377 elif test $ac_prog = install &&
2378 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2379 # program-specific install script used by HP pwplus--don't use.
2382 rm -rf conftest.one conftest.two conftest.dir
2383 echo one > conftest.one
2384 echo two > conftest.two
2386 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2387 test -s conftest.one && test -s conftest.two &&
2388 test -s conftest.dir/conftest.one &&
2389 test -s conftest.dir/conftest.two
2391 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2404 rm -rf conftest.one conftest.two conftest.dir
2407 if test "${ac_cv_path_install+set}" = set; then
2408 INSTALL=$ac_cv_path_install
2410 # As a last resort, use the slow shell script. Don't cache a
2411 # value for INSTALL within a source directory, because that will
2412 # break other packages using the cache if that directory is
2413 # removed, or if the value is a relative name.
2414 INSTALL=$ac_install_sh
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2418 $as_echo "$INSTALL" >&6; }
2420 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2421 # It thinks the first close brace ends the variable substitution.
2422 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2424 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2426 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2429 $as_echo_n "checking whether build environment is sane... " >&6; }
2432 echo timestamp > conftest.file
2433 # Reject unsafe characters in $srcdir or the absolute working directory
2434 # name. Accept space and tab only in the latter.
2438 *[\\\"\#\$\&\'\`$am_lf]*)
2439 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2442 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2443 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2446 # Do `set' in a subshell so we don't clobber the current shell's
2447 # arguments. Must try -L first in case configure is actually a
2448 # symlink; some systems play weird games with the mod time of symlinks
2449 # (eg FreeBSD returns the mod time of the symlink's containing
2452 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2453 if test "$*" = "X"; then
2455 set X `ls -t "$srcdir/configure" conftest.file`
2458 if test "$*" != "X $srcdir/configure conftest.file" \
2459 && test "$*" != "X conftest.file $srcdir/configure"; then
2461 # If neither matched, then we have a broken ls. This can happen
2462 # if, for instance, CONFIG_SHELL is bash and it inherits a
2463 # broken ls alias from the environment. This has actually
2464 # happened. Such a system could not be considered "sane".
2465 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2466 alias in your environment" "$LINENO" 5
2469 test "$2" = conftest.file
2475 as_fn_error $? "newly created file is older than distributed files!
2476 Check your system clock" "$LINENO" 5
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2479 $as_echo "yes" >&6; }
2480 test "$program_prefix" != NONE &&
2481 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2482 # Use a double $ so make ignores it.
2483 test "$program_suffix" != NONE &&
2484 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2485 # Double any \ or $.
2486 # By default was `s,x,x', remove it if useless.
2487 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2488 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2490 # expand $ac_aux_dir to an absolute path
2491 am_aux_dir=`cd $ac_aux_dir && pwd`
2493 if test x"${MISSING+set}" != xset; then
2496 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2498 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2501 # Use eval to expand $SHELL
2502 if eval "$MISSING --run true"; then
2503 am_missing_run="$MISSING --run "
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2507 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2510 if test x"${install_sh}" != xset; then
2513 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2515 install_sh="\${SHELL} $am_aux_dir/install-sh"
2519 # Installed binaries are usually stripped using `strip' when the user
2520 # run `make install-strip'. However `strip' might not be the right
2521 # tool to use in cross-compilation environments, therefore Automake
2522 # will honor the `STRIP' environment variable to overrule this program.
2523 if test "$cross_compiling" != no; then
2524 if test -n "$ac_tool_prefix"; then
2525 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2526 set dummy ${ac_tool_prefix}strip; ac_word=$2
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2528 $as_echo_n "checking for $ac_word... " >&6; }
2529 if ${ac_cv_prog_STRIP+:} false; then :
2530 $as_echo_n "(cached) " >&6
2532 if test -n "$STRIP"; then
2533 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539 test -z "$as_dir" && as_dir=.
2540 for ac_exec_ext in '' $ac_executable_extensions; do
2541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2542 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2552 STRIP=$ac_cv_prog_STRIP
2553 if test -n "$STRIP"; then
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2555 $as_echo "$STRIP" >&6; }
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2558 $as_echo "no" >&6; }
2563 if test -z "$ac_cv_prog_STRIP"; then
2565 # Extract the first word of "strip", so it can be a program name with args.
2566 set dummy strip; ac_word=$2
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2568 $as_echo_n "checking for $ac_word... " >&6; }
2569 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2570 $as_echo_n "(cached) " >&6
2572 if test -n "$ac_ct_STRIP"; then
2573 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579 test -z "$as_dir" && as_dir=.
2580 for ac_exec_ext in '' $ac_executable_extensions; do
2581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2582 ac_cv_prog_ac_ct_STRIP="strip"
2583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2592 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2593 if test -n "$ac_ct_STRIP"; then
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2595 $as_echo "$ac_ct_STRIP" >&6; }
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2598 $as_echo "no" >&6; }
2601 if test "x$ac_ct_STRIP" = x; then
2604 case $cross_compiling:$ac_tool_warned in
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2608 ac_tool_warned=yes ;;
2613 STRIP="$ac_cv_prog_STRIP"
2617 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2620 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2621 if test -z "$MKDIR_P"; then
2622 if ${ac_cv_path_mkdir+:} false; then :
2623 $as_echo_n "(cached) " >&6
2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2629 test -z "$as_dir" && as_dir=.
2630 for ac_prog in mkdir gmkdir; do
2631 for ac_exec_ext in '' $ac_executable_extensions; do
2632 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2633 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2634 'mkdir (GNU coreutils) '* | \
2635 'mkdir (coreutils) '* | \
2636 'mkdir (fileutils) '4.1*)
2637 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2647 test -d ./--version && rmdir ./--version
2648 if test "${ac_cv_path_mkdir+set}" = set; then
2649 MKDIR_P="$ac_cv_path_mkdir -p"
2651 # As a last resort, use the slow shell script. Don't cache a
2652 # value for MKDIR_P within a source directory, because that will
2653 # break other packages using the cache if that directory is
2654 # removed, or if the value is a relative name.
2655 MKDIR_P="$ac_install_sh -d"
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2659 $as_echo "$MKDIR_P" >&6; }
2663 [\\/$]* | ?:[\\/]*) ;;
2664 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2667 for ac_prog in gawk mawk nawk awk
2669 # Extract the first word of "$ac_prog", so it can be a program name with args.
2670 set dummy $ac_prog; ac_word=$2
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2672 $as_echo_n "checking for $ac_word... " >&6; }
2673 if ${ac_cv_prog_AWK+:} false; then :
2674 $as_echo_n "(cached) " >&6
2676 if test -n "$AWK"; then
2677 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2683 test -z "$as_dir" && as_dir=.
2684 for ac_exec_ext in '' $ac_executable_extensions; do
2685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2686 ac_cv_prog_AWK="$ac_prog"
2687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2697 if test -n "$AWK"; then
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2699 $as_echo "$AWK" >&6; }
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2702 $as_echo "no" >&6; }
2706 test -n "$AWK" && break
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2710 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2712 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2713 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2714 $as_echo_n "(cached) " >&6
2716 cat >conftest.make <<\_ACEOF
2719 @echo '@@@%%%=$(MAKE)=@@@%%%'
2721 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2722 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2724 eval ac_cv_prog_make_${ac_make}_set=yes;;
2726 eval ac_cv_prog_make_${ac_make}_set=no;;
2730 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2732 $as_echo "yes" >&6; }
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2736 $as_echo "no" >&6; }
2737 SET_MAKE="MAKE=${MAKE-make}"
2740 rm -rf .tst 2>/dev/null
2741 mkdir .tst 2>/dev/null
2742 if test -d .tst; then
2747 rmdir .tst 2>/dev/null
2749 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2750 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2751 # is not polluted with repeated "-I."
2752 am__isrc=' -I$(srcdir)'
2753 # test to see if srcdir already configured
2754 if test -f $srcdir/config.status; then
2755 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2759 # test whether we have cygpath
2760 if test -z "$CYGPATH_W"; then
2761 if (cygpath --version) >/dev/null 2>/dev/null; then
2762 CYGPATH_W='cygpath -w'
2769 # Define the identity of the package.
2774 cat >>confdefs.h <<_ACEOF
2775 #define PACKAGE "$PACKAGE"
2779 cat >>confdefs.h <<_ACEOF
2780 #define VERSION "$VERSION"
2783 # Some tools Automake needs.
2785 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2788 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2791 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2794 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2797 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2799 # We need awk for the "check" target. The system "awk" is bad on
2801 # Always define AMTAR for backward compatibility. Yes, it's still used
2802 # in the wild :-( We should find a proper way to deprecate it ...
2805 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2811 # Check whether --enable-silent-rules was given.
2812 if test "${enable_silent_rules+set}" = set; then :
2813 enableval=$enable_silent_rules;
2816 case $enable_silent_rules in
2817 yes) AM_DEFAULT_VERBOSITY=0;;
2818 no) AM_DEFAULT_VERBOSITY=1;;
2819 *) AM_DEFAULT_VERBOSITY=0;;
2821 am_make=${MAKE-make}
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2823 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2824 if ${am_cv_make_support_nested_variables+:} false; then :
2825 $as_echo_n "(cached) " >&6
2827 if $as_echo 'TRUE=$(BAR$(V))
2833 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2834 am_cv_make_support_nested_variables=yes
2836 am_cv_make_support_nested_variables=no
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2840 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2841 if test $am_cv_make_support_nested_variables = yes; then
2843 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2845 AM_V=$AM_DEFAULT_VERBOSITY
2846 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2851 # Make sure we can run config.sub.
2852 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2853 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2856 $as_echo_n "checking build system type... " >&6; }
2857 if ${ac_cv_build+:} false; then :
2858 $as_echo_n "(cached) " >&6
2860 ac_build_alias=$build_alias
2861 test "x$ac_build_alias" = x &&
2862 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2863 test "x$ac_build_alias" = x &&
2864 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2865 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2866 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2870 $as_echo "$ac_cv_build" >&6; }
2871 case $ac_cv_build in
2873 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2876 ac_save_IFS=$IFS; IFS='-'
2882 # Remember, the first character of IFS is used to create $*,
2883 # except with old shells:
2886 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2890 $as_echo_n "checking host system type... " >&6; }
2891 if ${ac_cv_host+:} false; then :
2892 $as_echo_n "(cached) " >&6
2894 if test "x$host_alias" = x; then
2895 ac_cv_host=$ac_cv_build
2897 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2898 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2903 $as_echo "$ac_cv_host" >&6; }
2906 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2909 ac_save_IFS=$IFS; IFS='-'
2915 # Remember, the first character of IFS is used to create $*,
2916 # except with old shells:
2919 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2922 enable_win32_dll=yes
2925 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
2926 if test -n "$ac_tool_prefix"; then
2927 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2928 set dummy ${ac_tool_prefix}as; ac_word=$2
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2930 $as_echo_n "checking for $ac_word... " >&6; }
2931 if ${ac_cv_prog_AS+:} false; then :
2932 $as_echo_n "(cached) " >&6
2934 if test -n "$AS"; then
2935 ac_cv_prog_AS="$AS" # Let the user override the test.
2937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2941 test -z "$as_dir" && as_dir=.
2942 for ac_exec_ext in '' $ac_executable_extensions; do
2943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2944 ac_cv_prog_AS="${ac_tool_prefix}as"
2945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2955 if test -n "$AS"; then
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
2957 $as_echo "$AS" >&6; }
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2960 $as_echo "no" >&6; }
2965 if test -z "$ac_cv_prog_AS"; then
2967 # Extract the first word of "as", so it can be a program name with args.
2968 set dummy as; ac_word=$2
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2970 $as_echo_n "checking for $ac_word... " >&6; }
2971 if ${ac_cv_prog_ac_ct_AS+:} false; then :
2972 $as_echo_n "(cached) " >&6
2974 if test -n "$ac_ct_AS"; then
2975 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 test -z "$as_dir" && as_dir=.
2982 for ac_exec_ext in '' $ac_executable_extensions; do
2983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2984 ac_cv_prog_ac_ct_AS="as"
2985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2994 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2995 if test -n "$ac_ct_AS"; then
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
2997 $as_echo "$ac_ct_AS" >&6; }
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3000 $as_echo "no" >&6; }
3003 if test "x$ac_ct_AS" = x; then
3006 case $cross_compiling:$ac_tool_warned in
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3010 ac_tool_warned=yes ;;
3018 if test -n "$ac_tool_prefix"; then
3019 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3020 set dummy ${ac_tool_prefix}dlltool; 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_DLLTOOL+:} false; then :
3024 $as_echo_n "(cached) " >&6
3026 if test -n "$DLLTOOL"; then
3027 ac_cv_prog_DLLTOOL="$DLLTOOL" # 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_DLLTOOL="${ac_tool_prefix}dlltool"
3037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 DLLTOOL=$ac_cv_prog_DLLTOOL
3047 if test -n "$DLLTOOL"; then
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3049 $as_echo "$DLLTOOL" >&6; }
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3052 $as_echo "no" >&6; }
3057 if test -z "$ac_cv_prog_DLLTOOL"; then
3058 ac_ct_DLLTOOL=$DLLTOOL
3059 # Extract the first word of "dlltool", so it can be a program name with args.
3060 set dummy dlltool; ac_word=$2
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062 $as_echo_n "checking for $ac_word... " >&6; }
3063 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3064 $as_echo_n "(cached) " >&6
3066 if test -n "$ac_ct_DLLTOOL"; then
3067 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073 test -z "$as_dir" && as_dir=.
3074 for ac_exec_ext in '' $ac_executable_extensions; do
3075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3076 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3086 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3087 if test -n "$ac_ct_DLLTOOL"; then
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3089 $as_echo "$ac_ct_DLLTOOL" >&6; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092 $as_echo "no" >&6; }
3095 if test "x$ac_ct_DLLTOOL" = x; then
3098 case $cross_compiling:$ac_tool_warned in
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3102 ac_tool_warned=yes ;;
3104 DLLTOOL=$ac_ct_DLLTOOL
3107 DLLTOOL="$ac_cv_prog_DLLTOOL"
3110 if test -n "$ac_tool_prefix"; then
3111 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3112 set dummy ${ac_tool_prefix}objdump; 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_OBJDUMP+:} false; then :
3116 $as_echo_n "(cached) " >&6
3118 if test -n "$OBJDUMP"; then
3119 ac_cv_prog_OBJDUMP="$OBJDUMP" # 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_OBJDUMP="${ac_tool_prefix}objdump"
3129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3138 OBJDUMP=$ac_cv_prog_OBJDUMP
3139 if test -n "$OBJDUMP"; then
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3141 $as_echo "$OBJDUMP" >&6; }
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3149 if test -z "$ac_cv_prog_OBJDUMP"; then
3150 ac_ct_OBJDUMP=$OBJDUMP
3151 # Extract the first word of "objdump", so it can be a program name with args.
3152 set dummy objdump; ac_word=$2
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3154 $as_echo_n "checking for $ac_word... " >&6; }
3155 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3156 $as_echo_n "(cached) " >&6
3158 if test -n "$ac_ct_OBJDUMP"; then
3159 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3165 test -z "$as_dir" && as_dir=.
3166 for ac_exec_ext in '' $ac_executable_extensions; do
3167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3168 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3179 if test -n "$ac_ct_OBJDUMP"; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3181 $as_echo "$ac_ct_OBJDUMP" >&6; }
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3187 if test "x$ac_ct_OBJDUMP" = x; then
3190 case $cross_compiling:$ac_tool_warned in
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3194 ac_tool_warned=yes ;;
3196 OBJDUMP=$ac_ct_OBJDUMP
3199 OBJDUMP="$ac_cv_prog_OBJDUMP"
3205 test -z "$AS" && AS=as
3211 test -z "$DLLTOOL" && DLLTOOL=dlltool
3217 test -z "$OBJDUMP" && OBJDUMP=objdump
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3228 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3233 macro_version='2.4.2'
3234 macro_revision='1.3337'
3248 ltmain="$ac_aux_dir/ltmain.sh"
3250 # Backslashify metacharacters that are still active within
3251 # double-quoted strings.
3252 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3254 # Same as above, but do not quote variable references.
3255 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3257 # Sed substitution to delay expansion of an escaped shell variable in a
3258 # double_quote_subst'ed string.
3259 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3261 # Sed substitution to delay expansion of an escaped single quote.
3262 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3264 # Sed substitution to avoid accidental globbing in evaled expressions
3265 no_glob_subst='s/\*/\\\*/g'
3267 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3268 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3269 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3272 $as_echo_n "checking how to print strings... " >&6; }
3273 # Test print first, because it will be a builtin if present.
3274 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3275 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3277 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3280 # Use this function as a fallback that always works.
3281 func_fallback_echo ()
3283 eval 'cat <<_LTECHO_EOF
3287 ECHO='func_fallback_echo'
3290 # func_echo_all arg...
3291 # Invoke $ECHO with all args, space-separated.
3298 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3299 $as_echo "printf" >&6; } ;;
3300 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3301 $as_echo "print -r" >&6; } ;;
3302 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3303 $as_echo "cat" >&6; } ;;
3319 DEPDIR="${am__leading_dot}deps"
3321 ac_config_commands="$ac_config_commands depfiles"
3324 am_make=${MAKE-make}
3325 cat > confinc << 'END'
3327 @echo this is the am__doit target
3330 # If we don't find an include directive, just comment out the code.
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3332 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3336 # First try GNU make style include.
3337 echo "include confinc" > confmf
3338 # Ignore all kinds of additional output from `make'.
3339 case `$am_make -s -f confmf 2> /dev/null` in #(
3340 *the\ am__doit\ target*)
3346 # Now try BSD make style include.
3347 if test "$am__include" = "#"; then
3348 echo '.include "confinc"' > confmf
3349 case `$am_make -s -f confmf 2> /dev/null` in #(
3350 *the\ am__doit\ target*)
3351 am__include=.include
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3360 $as_echo "$_am_result" >&6; }
3361 rm -f confinc confmf
3363 # Check whether --enable-dependency-tracking was given.
3364 if test "${enable_dependency_tracking+set}" = set; then :
3365 enableval=$enable_dependency_tracking;
3368 if test "x$enable_dependency_tracking" != xno; then
3369 am_depcomp="$ac_aux_dir/depcomp"
3373 if test "x$enable_dependency_tracking" != xno; then
3383 ac_cpp='$CPP $CPPFLAGS'
3384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3387 if test -n "$ac_tool_prefix"; then
3388 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3389 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3391 $as_echo_n "checking for $ac_word... " >&6; }
3392 if ${ac_cv_prog_CC+:} false; then :
3393 $as_echo_n "(cached) " >&6
3395 if test -n "$CC"; then
3396 ac_cv_prog_CC="$CC" # Let the user override the test.
3398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3402 test -z "$as_dir" && as_dir=.
3403 for ac_exec_ext in '' $ac_executable_extensions; do
3404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3405 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3416 if test -n "$CC"; then
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3418 $as_echo "$CC" >&6; }
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3421 $as_echo "no" >&6; }
3426 if test -z "$ac_cv_prog_CC"; then
3428 # Extract the first word of "gcc", so it can be a program name with args.
3429 set dummy gcc; ac_word=$2
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3431 $as_echo_n "checking for $ac_word... " >&6; }
3432 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3433 $as_echo_n "(cached) " >&6
3435 if test -n "$ac_ct_CC"; then
3436 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442 test -z "$as_dir" && as_dir=.
3443 for ac_exec_ext in '' $ac_executable_extensions; do
3444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3445 ac_cv_prog_ac_ct_CC="gcc"
3446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3455 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3456 if test -n "$ac_ct_CC"; then
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3458 $as_echo "$ac_ct_CC" >&6; }
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3461 $as_echo "no" >&6; }
3464 if test "x$ac_ct_CC" = x; then
3467 case $cross_compiling:$ac_tool_warned in
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3471 ac_tool_warned=yes ;;
3479 if test -z "$CC"; then
3480 if test -n "$ac_tool_prefix"; then
3481 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3482 set dummy ${ac_tool_prefix}cc; ac_word=$2
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3484 $as_echo_n "checking for $ac_word... " >&6; }
3485 if ${ac_cv_prog_CC+:} false; then :
3486 $as_echo_n "(cached) " >&6
3488 if test -n "$CC"; then
3489 ac_cv_prog_CC="$CC" # Let the user override the test.
3491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3495 test -z "$as_dir" && as_dir=.
3496 for ac_exec_ext in '' $ac_executable_extensions; do
3497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3498 ac_cv_prog_CC="${ac_tool_prefix}cc"
3499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3509 if test -n "$CC"; then
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3511 $as_echo "$CC" >&6; }
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514 $as_echo "no" >&6; }
3520 if test -z "$CC"; then
3521 # Extract the first word of "cc", so it can be a program name with args.
3522 set dummy cc; ac_word=$2
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3524 $as_echo_n "checking for $ac_word... " >&6; }
3525 if ${ac_cv_prog_CC+:} false; then :
3526 $as_echo_n "(cached) " >&6
3528 if test -n "$CC"; then
3529 ac_cv_prog_CC="$CC" # Let the user override the test.
3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3536 test -z "$as_dir" && as_dir=.
3537 for ac_exec_ext in '' $ac_executable_extensions; do
3538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3539 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3540 ac_prog_rejected=yes
3544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3551 if test $ac_prog_rejected = yes; then
3552 # We found a bogon in the path, so make sure we never use it.
3553 set dummy $ac_cv_prog_CC
3555 if test $# != 0; then
3556 # We chose a different compiler from the bogus one.
3557 # However, it has the same basename, so the bogon will be chosen
3558 # first if we set CC to just the basename; use the full file name.
3560 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3566 if test -n "$CC"; then
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3568 $as_echo "$CC" >&6; }
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3571 $as_echo "no" >&6; }
3576 if test -z "$CC"; then
3577 if test -n "$ac_tool_prefix"; then
3578 for ac_prog in cl.exe
3580 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3581 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583 $as_echo_n "checking for $ac_word... " >&6; }
3584 if ${ac_cv_prog_CC+:} false; then :
3585 $as_echo_n "(cached) " >&6
3587 if test -n "$CC"; then
3588 ac_cv_prog_CC="$CC" # Let the user override the test.
3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3594 test -z "$as_dir" && as_dir=.
3595 for ac_exec_ext in '' $ac_executable_extensions; do
3596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3597 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3608 if test -n "$CC"; then
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3610 $as_echo "$CC" >&6; }
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3617 test -n "$CC" && break
3620 if test -z "$CC"; then
3622 for ac_prog in cl.exe
3624 # Extract the first word of "$ac_prog", so it can be a program name with args.
3625 set dummy $ac_prog; ac_word=$2
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3627 $as_echo_n "checking for $ac_word... " >&6; }
3628 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3629 $as_echo_n "(cached) " >&6
3631 if test -n "$ac_ct_CC"; then
3632 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3638 test -z "$as_dir" && as_dir=.
3639 for ac_exec_ext in '' $ac_executable_extensions; do
3640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3641 ac_cv_prog_ac_ct_CC="$ac_prog"
3642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3652 if test -n "$ac_ct_CC"; then
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3654 $as_echo "$ac_ct_CC" >&6; }
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657 $as_echo "no" >&6; }
3661 test -n "$ac_ct_CC" && break
3664 if test "x$ac_ct_CC" = x; then
3667 case $cross_compiling:$ac_tool_warned in
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3671 ac_tool_warned=yes ;;
3680 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3682 as_fn_error $? "no acceptable C compiler found in \$PATH
3683 See \`config.log' for more details" "$LINENO" 5; }
3685 # Provide some information about the compiler.
3686 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3689 for ac_option in --version -v -V -qversion; do
3690 { { ac_try="$ac_compiler $ac_option >&5"
3692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3693 *) ac_try_echo=$ac_try;;
3695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3696 $as_echo "$ac_try_echo"; } >&5
3697 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3699 if test -s conftest.err; then
3701 ... rest of stderr output deleted ...
3702 10q' conftest.err >conftest.er1
3703 cat conftest.er1 >&5
3705 rm -f conftest.er1 conftest.err
3706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3707 test $ac_status = 0; }
3710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3711 /* end confdefs.h. */
3721 ac_clean_files_save=$ac_clean_files
3722 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3723 # Try to create an executable without -o first, disregard a.out.
3724 # It will help us diagnose broken compilers, and finding out an intuition
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3727 $as_echo_n "checking whether the C compiler works... " >&6; }
3728 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3730 # The possible output files:
3731 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3734 for ac_file in $ac_files
3737 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3738 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3743 if { { ac_try="$ac_link_default"
3745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3746 *) ac_try_echo=$ac_try;;
3748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3749 $as_echo "$ac_try_echo"; } >&5
3750 (eval "$ac_link_default") 2>&5
3752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3753 test $ac_status = 0; }; then :
3754 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3755 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3756 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3757 # so that the user can short-circuit this test for compilers unknown to
3759 for ac_file in $ac_files ''
3761 test -f "$ac_file" || continue
3763 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3766 # We found the default executable, but exeext='' is most
3770 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3772 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3774 # We set ac_cv_exeext here because the later test for it is not
3775 # safe: cross compilers may not add the suffix if given an `-o'
3776 # argument, so we may need to know it at that point already.
3777 # Even if this section looks crufty: it has the advantage of
3784 test "$ac_cv_exeext" = no && ac_cv_exeext=
3789 if test -z "$ac_file"; then :
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3791 $as_echo "no" >&6; }
3792 $as_echo "$as_me: failed program was:" >&5
3793 sed 's/^/| /' conftest.$ac_ext >&5
3795 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3797 as_fn_error 77 "C compiler cannot create executables
3798 See \`config.log' for more details" "$LINENO" 5; }
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3801 $as_echo "yes" >&6; }
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3804 $as_echo_n "checking for C compiler default output file name... " >&6; }
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3806 $as_echo "$ac_file" >&6; }
3807 ac_exeext=$ac_cv_exeext
3809 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3810 ac_clean_files=$ac_clean_files_save
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3812 $as_echo_n "checking for suffix of executables... " >&6; }
3813 if { { ac_try="$ac_link"
3815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3816 *) ac_try_echo=$ac_try;;
3818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3819 $as_echo "$ac_try_echo"; } >&5
3820 (eval "$ac_link") 2>&5
3822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3823 test $ac_status = 0; }; then :
3824 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3825 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3826 # work properly (i.e., refer to `conftest.exe'), while it won't with
3828 for ac_file in conftest.exe conftest conftest.*; do
3829 test -f "$ac_file" || continue
3831 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3832 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3840 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3841 See \`config.log' for more details" "$LINENO" 5; }
3843 rm -f conftest conftest$ac_cv_exeext
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3845 $as_echo "$ac_cv_exeext" >&6; }
3847 rm -f conftest.$ac_ext
3848 EXEEXT=$ac_cv_exeext
3850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3851 /* end confdefs.h. */
3856 FILE *f = fopen ("conftest.out", "w");
3857 return ferror (f) || fclose (f) != 0;
3863 ac_clean_files="$ac_clean_files conftest.out"
3864 # Check that the compiler produces executables we can run. If not, either
3865 # the compiler is broken, or we cross compile.
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3867 $as_echo_n "checking whether we are cross compiling... " >&6; }
3868 if test "$cross_compiling" != yes; then
3869 { { ac_try="$ac_link"
3871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3872 *) ac_try_echo=$ac_try;;
3874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3875 $as_echo "$ac_try_echo"; } >&5
3876 (eval "$ac_link") 2>&5
3878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3879 test $ac_status = 0; }
3880 if { ac_try='./conftest$ac_cv_exeext'
3881 { { case "(($ac_try" in
3882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3883 *) ac_try_echo=$ac_try;;
3885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3886 $as_echo "$ac_try_echo"; } >&5
3887 (eval "$ac_try") 2>&5
3889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3890 test $ac_status = 0; }; }; then
3893 if test "$cross_compiling" = maybe; then
3896 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3898 as_fn_error $? "cannot run C compiled programs.
3899 If you meant to cross compile, use \`--host'.
3900 See \`config.log' for more details" "$LINENO" 5; }
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3905 $as_echo "$cross_compiling" >&6; }
3907 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3908 ac_clean_files=$ac_clean_files_save
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3910 $as_echo_n "checking for suffix of object files... " >&6; }
3911 if ${ac_cv_objext+:} false; then :
3912 $as_echo_n "(cached) " >&6
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3925 rm -f conftest.o conftest.obj
3926 if { { ac_try="$ac_compile"
3928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929 *) ac_try_echo=$ac_try;;
3931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3932 $as_echo "$ac_try_echo"; } >&5
3933 (eval "$ac_compile") 2>&5
3935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936 test $ac_status = 0; }; then :
3937 for ac_file in conftest.o conftest.obj conftest.*; do
3938 test -f "$ac_file" || continue;
3940 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3941 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3946 $as_echo "$as_me: failed program was:" >&5
3947 sed 's/^/| /' conftest.$ac_ext >&5
3949 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3951 as_fn_error $? "cannot compute suffix of object files: cannot compile
3952 See \`config.log' for more details" "$LINENO" 5; }
3954 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3957 $as_echo "$ac_cv_objext" >&6; }
3958 OBJEXT=$ac_cv_objext
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3961 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3962 if ${ac_cv_c_compiler_gnu+:} false; then :
3963 $as_echo_n "(cached) " >&6
3965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h. */
3979 if ac_fn_c_try_compile "$LINENO"; then :
3984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3985 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3989 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3990 if test $ac_compiler_gnu = yes; then
3995 ac_test_CFLAGS=${CFLAGS+set}
3996 ac_save_CFLAGS=$CFLAGS
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3998 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3999 if ${ac_cv_prog_cc_g+:} false; then :
4000 $as_echo_n "(cached) " >&6
4002 ac_save_c_werror_flag=$ac_c_werror_flag
4003 ac_c_werror_flag=yes
4006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4007 /* end confdefs.h. */
4017 if ac_fn_c_try_compile "$LINENO"; then :
4021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4022 /* end confdefs.h. */
4032 if ac_fn_c_try_compile "$LINENO"; then :
4035 ac_c_werror_flag=$ac_save_c_werror_flag
4037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4048 if ac_fn_c_try_compile "$LINENO"; then :
4051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4056 ac_c_werror_flag=$ac_save_c_werror_flag
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4059 $as_echo "$ac_cv_prog_cc_g" >&6; }
4060 if test "$ac_test_CFLAGS" = set; then
4061 CFLAGS=$ac_save_CFLAGS
4062 elif test $ac_cv_prog_cc_g = yes; then
4063 if test "$GCC" = yes; then
4069 if test "$GCC" = yes; then
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4076 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4077 if ${ac_cv_prog_cc_c89+:} false; then :
4078 $as_echo_n "(cached) " >&6
4080 ac_cv_prog_cc_c89=no
4082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h. */
4086 #include <sys/types.h>
4087 #include <sys/stat.h>
4088 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4089 struct buf { int x; };
4090 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4091 static char *e (p, i)
4097 static char *f (char * (*g) (char **, int), char **p, ...)
4102 s = g (p, va_arg (v,int));
4107 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4108 function prototypes and stuff, but not '\xHH' hex character constants.
4109 These don't provoke an error unfortunately, instead are silently treated
4110 as 'x'. The following induces an error, until -std is added to get
4111 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4112 array size at least. It's necessary to write '\x00'==0 to get something
4113 that's true only with -std. */
4114 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4116 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4117 inside strings and character constants. */
4119 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4121 int test (int i, double x);
4122 struct s1 {int (*f) (int a);};
4123 struct s2 {int (*f) (double a);};
4124 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4130 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4135 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4136 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4138 CC="$ac_save_CC $ac_arg"
4139 if ac_fn_c_try_compile "$LINENO"; then :
4140 ac_cv_prog_cc_c89=$ac_arg
4142 rm -f core conftest.err conftest.$ac_objext
4143 test "x$ac_cv_prog_cc_c89" != "xno" && break
4145 rm -f conftest.$ac_ext
4150 case "x$ac_cv_prog_cc_c89" in
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4153 $as_echo "none needed" >&6; } ;;
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4156 $as_echo "unsupported" >&6; } ;;
4158 CC="$CC $ac_cv_prog_cc_c89"
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4160 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4162 if test "x$ac_cv_prog_cc_c89" != xno; then :
4167 ac_cpp='$CPP $CPPFLAGS'
4168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4172 depcc="$CC" am_compiler_list=
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4175 $as_echo_n "checking dependency style of $depcc... " >&6; }
4176 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4177 $as_echo_n "(cached) " >&6
4179 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4180 # We make a subdir and do the tests there. Otherwise we can end up
4181 # making bogus files that we don't know about and never remove. For
4182 # instance it was reported that on HP-UX the gcc test will end up
4183 # making a dummy file named `D' -- because `-MD' means `put the output
4187 # Copy depcomp to subdir because otherwise we won't find it if we're
4188 # using a relative directory.
4189 cp "$am_depcomp" conftest.dir
4191 # We will build objects and dependencies in a subdirectory because
4192 # it helps to detect inapplicable dependency modes. For instance
4193 # both Tru64's cc and ICC support -MD to output dependencies as a
4194 # side effect of compilation, but ICC will put the dependencies in
4195 # the current directory while Tru64 will put them in the object
4199 am_cv_CC_dependencies_compiler_type=none
4200 if test "$am_compiler_list" = ""; then
4201 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4204 case " $depcc " in #(
4205 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4208 for depmode in $am_compiler_list; do
4209 # Setup a source with many dependencies, because some compilers
4210 # like to wrap large dependency lists on column 80 (with \), and
4211 # we should not choose a depcomp mode which is confused by this.
4213 # We need to recreate these files for each test, as the compiler may
4214 # overwrite some of them when testing with obscure command lines.
4215 # This happens at least with the AIX C compiler.
4217 for i in 1 2 3 4 5 6; do
4218 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4219 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4220 # Solaris 8's {/usr,}/bin/sh.
4221 touch sub/conftst$i.h
4223 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4225 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4226 # mode. It turns out that the SunPro C++ compiler does not properly
4227 # handle `-M -o', and we need to detect this. Also, some Intel
4228 # versions had trouble with output in subdirs
4229 am__obj=sub/conftest.${OBJEXT-o}
4230 am__minus_obj="-o $am__obj"
4233 # This depmode causes a compiler race in universal mode.
4234 test "$am__universal" = false || continue
4237 # after this tag, mechanisms are not by side-effect, so they'll
4238 # only be used when explicitly requested
4239 if test "x$enable_dependency_tracking" = xyes; then
4245 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4246 # This compiler won't grok `-c -o', but also, the minuso test has
4247 # not run yet. These depmodes are late enough in the game, and
4248 # so weak that their functioning should not be impacted.
4249 am__obj=conftest.${OBJEXT-o}
4254 if depmode=$depmode \
4255 source=sub/conftest.c object=$am__obj \
4256 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4257 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4258 >/dev/null 2>conftest.err &&
4259 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4260 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4261 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4262 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4263 # icc doesn't choke on unknown options, it will just issue warnings
4264 # or remarks (even with -Werror). So we grep stderr for any message
4265 # that says an option was ignored or not supported.
4266 # When given -MP, icc 7.0 and 7.1 complain thusly:
4267 # icc: Command line warning: ignoring option '-M'; no argument required
4268 # The diagnosis changed in icc 8.0:
4269 # icc: Command line remark: option '-MP' not supported
4270 if (grep 'ignoring option' conftest.err ||
4271 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4272 am_cv_CC_dependencies_compiler_type=$depmode
4281 am_cv_CC_dependencies_compiler_type=none
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4286 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4287 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4290 test "x$enable_dependency_tracking" != xno \
4291 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4293 am__fastdepCC_FALSE='#'
4295 am__fastdepCC_TRUE='#'
4296 am__fastdepCC_FALSE=
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4301 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4302 if ${ac_cv_path_SED+:} false; then :
4303 $as_echo_n "(cached) " >&6
4305 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4306 for ac_i in 1 2 3 4 5 6 7; do
4307 ac_script="$ac_script$as_nl$ac_script"
4309 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4310 { ac_script=; unset ac_script;}
4311 if test -z "$SED"; then
4312 ac_path_SED_found=false
4313 # Loop through the user's path and test for each of PROGNAME-LIST
4314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4318 test -z "$as_dir" && as_dir=.
4319 for ac_prog in sed gsed; do
4320 for ac_exec_ext in '' $ac_executable_extensions; do
4321 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4322 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4323 # Check for GNU ac_path_SED and select it if it is found.
4324 # Check for GNU $ac_path_SED
4325 case `"$ac_path_SED" --version 2>&1` in
4327 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4330 $as_echo_n 0123456789 >"conftest.in"
4333 cat "conftest.in" "conftest.in" >"conftest.tmp"
4334 mv "conftest.tmp" "conftest.in"
4335 cp "conftest.in" "conftest.nl"
4336 $as_echo '' >> "conftest.nl"
4337 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4338 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4339 as_fn_arith $ac_count + 1 && ac_count=$as_val
4340 if test $ac_count -gt ${ac_path_SED_max-0}; then
4341 # Best one so far, save it but keep looking for a better one
4342 ac_cv_path_SED="$ac_path_SED"
4343 ac_path_SED_max=$ac_count
4345 # 10*(2^10) chars as input seems more than enough
4346 test $ac_count -gt 10 && break
4348 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4351 $ac_path_SED_found && break 3
4356 if test -z "$ac_cv_path_SED"; then
4357 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4365 $as_echo "$ac_cv_path_SED" >&6; }
4366 SED="$ac_cv_path_SED"
4369 test -z "$SED" && SED=sed
4370 Xsed="$SED -e 1s/^X//"
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4383 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4384 if ${ac_cv_path_GREP+:} false; then :
4385 $as_echo_n "(cached) " >&6
4387 if test -z "$GREP"; then
4388 ac_path_GREP_found=false
4389 # Loop through the user's path and test for each of PROGNAME-LIST
4390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4391 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4394 test -z "$as_dir" && as_dir=.
4395 for ac_prog in grep ggrep; do
4396 for ac_exec_ext in '' $ac_executable_extensions; do
4397 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4398 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4399 # Check for GNU ac_path_GREP and select it if it is found.
4400 # Check for GNU $ac_path_GREP
4401 case `"$ac_path_GREP" --version 2>&1` in
4403 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4406 $as_echo_n 0123456789 >"conftest.in"
4409 cat "conftest.in" "conftest.in" >"conftest.tmp"
4410 mv "conftest.tmp" "conftest.in"
4411 cp "conftest.in" "conftest.nl"
4412 $as_echo 'GREP' >> "conftest.nl"
4413 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4414 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4415 as_fn_arith $ac_count + 1 && ac_count=$as_val
4416 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4417 # Best one so far, save it but keep looking for a better one
4418 ac_cv_path_GREP="$ac_path_GREP"
4419 ac_path_GREP_max=$ac_count
4421 # 10*(2^10) chars as input seems more than enough
4422 test $ac_count -gt 10 && break
4424 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4427 $ac_path_GREP_found && break 3
4432 if test -z "$ac_cv_path_GREP"; then
4433 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4436 ac_cv_path_GREP=$GREP
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4441 $as_echo "$ac_cv_path_GREP" >&6; }
4442 GREP="$ac_cv_path_GREP"
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4446 $as_echo_n "checking for egrep... " >&6; }
4447 if ${ac_cv_path_EGREP+:} false; then :
4448 $as_echo_n "(cached) " >&6
4450 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4451 then ac_cv_path_EGREP="$GREP -E"
4453 if test -z "$EGREP"; then
4454 ac_path_EGREP_found=false
4455 # Loop through the user's path and test for each of PROGNAME-LIST
4456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4460 test -z "$as_dir" && as_dir=.
4461 for ac_prog in egrep; do
4462 for ac_exec_ext in '' $ac_executable_extensions; do
4463 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4464 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4465 # Check for GNU ac_path_EGREP and select it if it is found.
4466 # Check for GNU $ac_path_EGREP
4467 case `"$ac_path_EGREP" --version 2>&1` in
4469 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4472 $as_echo_n 0123456789 >"conftest.in"
4475 cat "conftest.in" "conftest.in" >"conftest.tmp"
4476 mv "conftest.tmp" "conftest.in"
4477 cp "conftest.in" "conftest.nl"
4478 $as_echo 'EGREP' >> "conftest.nl"
4479 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4480 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4481 as_fn_arith $ac_count + 1 && ac_count=$as_val
4482 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4483 # Best one so far, save it but keep looking for a better one
4484 ac_cv_path_EGREP="$ac_path_EGREP"
4485 ac_path_EGREP_max=$ac_count
4487 # 10*(2^10) chars as input seems more than enough
4488 test $ac_count -gt 10 && break
4490 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4493 $ac_path_EGREP_found && break 3
4498 if test -z "$ac_cv_path_EGREP"; then
4499 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4502 ac_cv_path_EGREP=$EGREP
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4508 $as_echo "$ac_cv_path_EGREP" >&6; }
4509 EGREP="$ac_cv_path_EGREP"
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4513 $as_echo_n "checking for fgrep... " >&6; }
4514 if ${ac_cv_path_FGREP+:} false; then :
4515 $as_echo_n "(cached) " >&6
4517 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4518 then ac_cv_path_FGREP="$GREP -F"
4520 if test -z "$FGREP"; then
4521 ac_path_FGREP_found=false
4522 # Loop through the user's path and test for each of PROGNAME-LIST
4523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4524 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4527 test -z "$as_dir" && as_dir=.
4528 for ac_prog in fgrep; do
4529 for ac_exec_ext in '' $ac_executable_extensions; do
4530 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4531 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4532 # Check for GNU ac_path_FGREP and select it if it is found.
4533 # Check for GNU $ac_path_FGREP
4534 case `"$ac_path_FGREP" --version 2>&1` in
4536 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4539 $as_echo_n 0123456789 >"conftest.in"
4542 cat "conftest.in" "conftest.in" >"conftest.tmp"
4543 mv "conftest.tmp" "conftest.in"
4544 cp "conftest.in" "conftest.nl"
4545 $as_echo 'FGREP' >> "conftest.nl"
4546 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4547 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4548 as_fn_arith $ac_count + 1 && ac_count=$as_val
4549 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4550 # Best one so far, save it but keep looking for a better one
4551 ac_cv_path_FGREP="$ac_path_FGREP"
4552 ac_path_FGREP_max=$ac_count
4554 # 10*(2^10) chars as input seems more than enough
4555 test $ac_count -gt 10 && break
4557 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4560 $ac_path_FGREP_found && break 3
4565 if test -z "$ac_cv_path_FGREP"; then
4566 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4569 ac_cv_path_FGREP=$FGREP
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4575 $as_echo "$ac_cv_path_FGREP" >&6; }
4576 FGREP="$ac_cv_path_FGREP"
4579 test -z "$GREP" && GREP=grep
4599 # Check whether --with-gnu-ld was given.
4600 if test "${with_gnu_ld+set}" = set; then :
4601 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4607 if test "$GCC" = yes; then
4608 # Check if gcc -print-prog-name=ld gives a path.
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4610 $as_echo_n "checking for ld used by $CC... " >&6; }
4613 # gcc leaves a trailing carriage return which upsets mingw
4614 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4616 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4619 # Accept absolute paths.
4621 re_direlt='/[^/][^/]*/\.\./'
4622 # Canonicalize the pathname of ld
4623 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4624 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4625 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4627 test -z "$LD" && LD="$ac_prog"
4630 # If it fails, then pretend we aren't using GCC.
4634 # If it is relative, then search for the first ld in PATH.
4638 elif test "$with_gnu_ld" = yes; then
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4640 $as_echo_n "checking for GNU ld... " >&6; }
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4643 $as_echo_n "checking for non-GNU ld... " >&6; }
4645 if ${lt_cv_path_LD+:} false; then :
4646 $as_echo_n "(cached) " >&6
4648 if test -z "$LD"; then
4649 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4650 for ac_dir in $PATH; do
4652 test -z "$ac_dir" && ac_dir=.
4653 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4654 lt_cv_path_LD="$ac_dir/$ac_prog"
4655 # Check to see if the program is GNU ld. I'd rather use --version,
4656 # but apparently some variants of GNU ld only accept -v.
4657 # Break only if it was the GNU/non-GNU ld that we prefer.
4658 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4659 *GNU* | *'with BFD'*)
4660 test "$with_gnu_ld" != no && break
4663 test "$with_gnu_ld" != yes && break
4670 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4675 if test -n "$LD"; then
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4677 $as_echo "$LD" >&6; }
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4680 $as_echo "no" >&6; }
4682 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4684 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4685 if ${lt_cv_prog_gnu_ld+:} false; then :
4686 $as_echo_n "(cached) " >&6
4688 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4689 case `$LD -v 2>&1 </dev/null` in
4690 *GNU* | *'with BFD'*)
4691 lt_cv_prog_gnu_ld=yes
4694 lt_cv_prog_gnu_ld=no
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4699 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4700 with_gnu_ld=$lt_cv_prog_gnu_ld
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4711 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4712 if ${lt_cv_path_NM+:} false; then :
4713 $as_echo_n "(cached) " >&6
4715 if test -n "$NM"; then
4716 # Let the user override the test.
4719 lt_nm_to_check="${ac_tool_prefix}nm"
4720 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4721 lt_nm_to_check="$lt_nm_to_check nm"
4723 for lt_tmp_nm in $lt_nm_to_check; do
4724 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4725 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4727 test -z "$ac_dir" && ac_dir=.
4728 tmp_nm="$ac_dir/$lt_tmp_nm"
4729 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4730 # Check to see if the nm accepts a BSD-compat flag.
4731 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4732 # nm: unknown option "B" ignored
4733 # Tru64's nm complains that /dev/null is an invalid object file
4734 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4735 */dev/null* | *'Invalid file or object type'*)
4736 lt_cv_path_NM="$tmp_nm -B"
4740 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4742 lt_cv_path_NM="$tmp_nm -p"
4746 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4747 continue # so that we can try to find one that supports BSD flags
4756 : ${lt_cv_path_NM=no}
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4760 $as_echo "$lt_cv_path_NM" >&6; }
4761 if test "$lt_cv_path_NM" != "no"; then
4764 # Didn't find any BSD compatible name lister, look for dumpbin.
4765 if test -n "$DUMPBIN"; then :
4766 # Let the user override the test.
4768 if test -n "$ac_tool_prefix"; then
4769 for ac_prog in dumpbin "link -dump"
4771 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4772 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774 $as_echo_n "checking for $ac_word... " >&6; }
4775 if ${ac_cv_prog_DUMPBIN+:} false; then :
4776 $as_echo_n "(cached) " >&6
4778 if test -n "$DUMPBIN"; then
4779 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4785 test -z "$as_dir" && as_dir=.
4786 for ac_exec_ext in '' $ac_executable_extensions; do
4787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4788 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4798 DUMPBIN=$ac_cv_prog_DUMPBIN
4799 if test -n "$DUMPBIN"; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4801 $as_echo "$DUMPBIN" >&6; }
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 $as_echo "no" >&6; }
4808 test -n "$DUMPBIN" && break
4811 if test -z "$DUMPBIN"; then
4812 ac_ct_DUMPBIN=$DUMPBIN
4813 for ac_prog in dumpbin "link -dump"
4815 # Extract the first word of "$ac_prog", so it can be a program name with args.
4816 set dummy $ac_prog; ac_word=$2
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 $as_echo_n "checking for $ac_word... " >&6; }
4819 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4820 $as_echo_n "(cached) " >&6
4822 if test -n "$ac_ct_DUMPBIN"; then
4823 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 test -z "$as_dir" && as_dir=.
4830 for ac_exec_ext in '' $ac_executable_extensions; do
4831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4832 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4842 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4843 if test -n "$ac_ct_DUMPBIN"; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4845 $as_echo "$ac_ct_DUMPBIN" >&6; }
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4848 $as_echo "no" >&6; }
4852 test -n "$ac_ct_DUMPBIN" && break
4855 if test "x$ac_ct_DUMPBIN" = x; then
4858 case $cross_compiling:$ac_tool_warned in
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4862 ac_tool_warned=yes ;;
4864 DUMPBIN=$ac_ct_DUMPBIN
4868 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4870 DUMPBIN="$DUMPBIN -symbols"
4878 if test "$DUMPBIN" != ":"; then
4882 test -z "$NM" && NM=nm
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4890 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4891 if ${lt_cv_nm_interface+:} false; then :
4892 $as_echo_n "(cached) " >&6
4894 lt_cv_nm_interface="BSD nm"
4895 echo "int some_variable = 0;" > conftest.$ac_ext
4896 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4897 (eval "$ac_compile" 2>conftest.err)
4898 cat conftest.err >&5
4899 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4900 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4901 cat conftest.err >&5
4902 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4903 cat conftest.out >&5
4904 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4905 lt_cv_nm_interface="MS dumpbin"
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4910 $as_echo "$lt_cv_nm_interface" >&6; }
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4913 $as_echo_n "checking whether ln -s works... " >&6; }
4915 if test "$LN_S" = "ln -s"; then
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4917 $as_echo "yes" >&6; }
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4920 $as_echo "no, using $LN_S" >&6; }
4923 # find the maximum length of command line arguments
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4925 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4926 if ${lt_cv_sys_max_cmd_len+:} false; then :
4927 $as_echo_n "(cached) " >&6
4934 # On DJGPP, this test can blow up pretty badly due to problems in libc
4935 # (any single argument exceeding 2000 bytes causes a buffer overrun
4936 # during glob expansion). Even if it were fixed, the result of this
4937 # check would be larger than it should be.
4938 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4942 # Under GNU Hurd, this test is not required because there is
4943 # no limit to the length of command line arguments.
4944 # Libtool will interpret -1 as no limit whatsoever
4945 lt_cv_sys_max_cmd_len=-1;
4948 cygwin* | mingw* | cegcc*)
4949 # On Win9x/ME, this test blows up -- it succeeds, but takes
4950 # about 5 minutes as the teststring grows exponentially.
4951 # Worse, since 9x/ME are not pre-emptively multitasking,
4952 # you end up with a "frozen" computer, even though with patience
4953 # the test eventually succeeds (with a max line length of 256k).
4954 # Instead, let's just punt: use the minimum linelength reported by
4955 # all of the supported platforms: 8192 (on NT/2K/XP).
4956 lt_cv_sys_max_cmd_len=8192;
4960 # On MiNT this can take a long time and run out of memory.
4961 lt_cv_sys_max_cmd_len=8192;
4965 # On AmigaOS with pdksh, this test takes hours, literally.
4966 # So we just punt and use a minimum line length of 8192.
4967 lt_cv_sys_max_cmd_len=8192;
4970 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4971 # This has been around since 386BSD, at least. Likely further.
4972 if test -x /sbin/sysctl; then
4973 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4974 elif test -x /usr/sbin/sysctl; then
4975 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4977 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4979 # And add a safety zone
4980 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4981 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4985 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4986 lt_cv_sys_max_cmd_len=196608
4990 # The test takes a long time on OS/2.
4991 lt_cv_sys_max_cmd_len=8192
4995 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4996 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4997 # nice to cause kernel panics so lets avoid the loop below.
4998 # First set a reasonable default.
4999 lt_cv_sys_max_cmd_len=16384
5001 if test -x /sbin/sysconfig; then
5002 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5003 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5008 lt_cv_sys_max_cmd_len=102400
5010 sysv5* | sco5v6* | sysv4.2uw2*)
5011 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5012 if test -n "$kargmax"; then
5013 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5015 lt_cv_sys_max_cmd_len=32768
5019 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5020 if test -n "$lt_cv_sys_max_cmd_len"; then
5021 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5022 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5024 # Make teststring a little bigger before we do anything with it.
5025 # a 1K string should be a reasonable start.
5026 for i in 1 2 3 4 5 6 7 8 ; do
5027 teststring=$teststring$teststring
5029 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5030 # If test is not a shell built-in, we'll probably end up computing a
5031 # maximum length that is only half of the actual maximum length, but
5033 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5034 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5035 test $i != 17 # 1/2 MB should be enough
5038 teststring=$teststring$teststring
5040 # Only check the string length outside the loop.
5041 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5043 # Add a significant safety factor because C++ compilers can tack on
5044 # massive amounts of additional arguments before passing them to the
5045 # linker. It appears as though 1/2 is a usable value.
5046 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5053 if test -n $lt_cv_sys_max_cmd_len ; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5055 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5058 $as_echo "none" >&6; }
5060 max_cmd_len=$lt_cv_sys_max_cmd_len
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5072 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5073 # Try some XSI features
5076 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5078 && eval 'test $(( 1 + 1 )) -eq 2 \
5079 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5082 $as_echo "$xsi_shell" >&6; }
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5086 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5088 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5090 && lt_shell_append=yes
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5092 $as_echo "$lt_shell_append" >&6; }
5095 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5105 # test EBCDIC or ASCII
5106 case `echo X|tr X '\101'` in
5107 A) # ASCII based system
5108 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5109 lt_SP2NL='tr \040 \012'
5110 lt_NL2SP='tr \015\012 \040\040'
5112 *) # EBCDIC based system
5113 lt_SP2NL='tr \100 \n'
5114 lt_NL2SP='tr \r\n \100\100'
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5127 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5128 if ${lt_cv_to_host_file_cmd+:} false; then :
5129 $as_echo_n "(cached) " >&6
5134 *-*-mingw* ) # actually msys
5135 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5138 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5140 * ) # otherwise, assume *nix
5141 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5147 *-*-mingw* ) # actually msys
5148 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5151 lt_cv_to_host_file_cmd=func_convert_file_noop
5153 * ) # otherwise, assume *nix
5154 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5158 * ) # unhandled hosts (and "normal" native builds)
5159 lt_cv_to_host_file_cmd=func_convert_file_noop
5165 to_host_file_cmd=$lt_cv_to_host_file_cmd
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5167 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5174 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5175 if ${lt_cv_to_tool_file_cmd+:} false; then :
5176 $as_echo_n "(cached) " >&6
5178 #assume ordinary cross tools, or native build.
5179 lt_cv_to_tool_file_cmd=func_convert_file_noop
5183 *-*-mingw* ) # actually msys
5184 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5192 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5194 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5201 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5202 if ${lt_cv_ld_reload_flag+:} false; then :
5203 $as_echo_n "(cached) " >&6
5205 lt_cv_ld_reload_flag='-r'
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5208 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5209 reload_flag=$lt_cv_ld_reload_flag
5210 case $reload_flag in
5212 *) reload_flag=" $reload_flag" ;;
5214 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5216 cygwin* | mingw* | pw32* | cegcc*)
5217 if test "$GCC" != yes; then
5222 if test "$GCC" = yes; then
5223 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5225 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5238 if test -n "$ac_tool_prefix"; then
5239 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5240 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5242 $as_echo_n "checking for $ac_word... " >&6; }
5243 if ${ac_cv_prog_OBJDUMP+:} false; then :
5244 $as_echo_n "(cached) " >&6
5246 if test -n "$OBJDUMP"; then
5247 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5253 test -z "$as_dir" && as_dir=.
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5256 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5266 OBJDUMP=$ac_cv_prog_OBJDUMP
5267 if test -n "$OBJDUMP"; then
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5269 $as_echo "$OBJDUMP" >&6; }
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272 $as_echo "no" >&6; }
5277 if test -z "$ac_cv_prog_OBJDUMP"; then
5278 ac_ct_OBJDUMP=$OBJDUMP
5279 # Extract the first word of "objdump", so it can be a program name with args.
5280 set dummy objdump; ac_word=$2
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5282 $as_echo_n "checking for $ac_word... " >&6; }
5283 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5284 $as_echo_n "(cached) " >&6
5286 if test -n "$ac_ct_OBJDUMP"; then
5287 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5293 test -z "$as_dir" && as_dir=.
5294 for ac_exec_ext in '' $ac_executable_extensions; do
5295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5296 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5307 if test -n "$ac_ct_OBJDUMP"; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5309 $as_echo "$ac_ct_OBJDUMP" >&6; }
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5312 $as_echo "no" >&6; }
5315 if test "x$ac_ct_OBJDUMP" = x; then
5318 case $cross_compiling:$ac_tool_warned in
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5322 ac_tool_warned=yes ;;
5324 OBJDUMP=$ac_ct_OBJDUMP
5327 OBJDUMP="$ac_cv_prog_OBJDUMP"
5330 test -z "$OBJDUMP" && OBJDUMP=objdump
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5338 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5339 if ${lt_cv_deplibs_check_method+:} false; then :
5340 $as_echo_n "(cached) " >&6
5342 lt_cv_file_magic_cmd='$MAGIC_CMD'
5343 lt_cv_file_magic_test_file=
5344 lt_cv_deplibs_check_method='unknown'
5345 # Need to set the preceding variable on all platforms that support
5346 # interlibrary dependencies.
5347 # 'none' -- dependencies not supported.
5348 # `unknown' -- same as none, but documents that we really don't know.
5349 # 'pass_all' -- all dependencies passed with no checks.
5350 # 'test_compile' -- check by making test program.
5351 # 'file_magic [[regex]]' -- check by looking for files in library path
5352 # which responds to the $file_magic_cmd with a given extended regex.
5353 # If you have `file' or equivalent on your system and you're not sure
5354 # whether `pass_all' will *always* work, you probably want this one.
5358 lt_cv_deplibs_check_method=pass_all
5362 lt_cv_deplibs_check_method=pass_all
5366 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5367 lt_cv_file_magic_cmd='/usr/bin/file -L'
5368 lt_cv_file_magic_test_file=/shlib/libc.so
5372 # func_win32_libid is a shell function defined in ltmain.sh
5373 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5374 lt_cv_file_magic_cmd='func_win32_libid'
5378 # Base MSYS/MinGW do not provide the 'file' command needed by
5379 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5380 # unless we find 'file', for example because we are cross-compiling.
5381 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5382 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5383 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5384 lt_cv_file_magic_cmd='func_win32_libid'
5386 # Keep this pattern in sync with the one in func_win32_libid.
5387 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5388 lt_cv_file_magic_cmd='$OBJDUMP -f'
5393 # use the weaker test based on 'objdump'. See mingw*.
5394 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5395 lt_cv_file_magic_cmd='$OBJDUMP -f'
5398 darwin* | rhapsody*)
5399 lt_cv_deplibs_check_method=pass_all
5402 freebsd* | dragonfly*)
5403 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5406 # Not sure whether the presence of OpenBSD here was a mistake.
5407 # Let's accept both of them until this is cleared up.
5408 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5409 lt_cv_file_magic_cmd=/usr/bin/file
5410 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5414 lt_cv_deplibs_check_method=pass_all
5419 lt_cv_deplibs_check_method=pass_all
5423 lt_cv_deplibs_check_method=pass_all
5426 hpux10.20* | hpux11*)
5427 lt_cv_file_magic_cmd=/usr/bin/file
5430 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5431 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5434 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]'
5435 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5438 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5439 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5445 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5446 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5449 irix5* | irix6* | nonstopux*)
5451 *-32|*"-32 ") libmagic=32-bit;;
5452 *-n32|*"-n32 ") libmagic=N32;;
5453 *-64|*"-64 ") libmagic=64-bit;;
5454 *) libmagic=never-match;;
5456 lt_cv_deplibs_check_method=pass_all
5459 # This must be glibc/ELF.
5460 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5461 lt_cv_deplibs_check_method=pass_all
5464 netbsd* | netbsdelf*-gnu)
5465 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5466 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5468 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5473 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5474 lt_cv_file_magic_cmd=/usr/bin/file
5475 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5479 lt_cv_deplibs_check_method=pass_all
5483 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5484 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5486 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5490 osf3* | osf4* | osf5*)
5491 lt_cv_deplibs_check_method=pass_all
5495 lt_cv_deplibs_check_method=pass_all
5499 lt_cv_deplibs_check_method=pass_all
5502 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5503 lt_cv_deplibs_check_method=pass_all
5507 case $host_vendor in
5509 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]'
5510 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5513 lt_cv_deplibs_check_method=pass_all
5516 lt_cv_file_magic_cmd='/bin/file'
5517 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5520 lt_cv_file_magic_cmd='/bin/file'
5521 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5522 lt_cv_file_magic_test_file=/lib/libc.so
5525 lt_cv_deplibs_check_method=pass_all
5528 lt_cv_deplibs_check_method=pass_all
5534 lt_cv_deplibs_check_method=pass_all
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5540 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5544 if test "$build" = "$host"; then
5547 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5550 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5556 file_magic_cmd=$lt_cv_file_magic_cmd
5557 deplibs_check_method=$lt_cv_deplibs_check_method
5558 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5581 if test -n "$ac_tool_prefix"; then
5582 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5583 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if ${ac_cv_prog_DLLTOOL+:} false; then :
5587 $as_echo_n "(cached) " >&6
5589 if test -n "$DLLTOOL"; then
5590 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5596 test -z "$as_dir" && as_dir=.
5597 for ac_exec_ext in '' $ac_executable_extensions; do
5598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5599 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5609 DLLTOOL=$ac_cv_prog_DLLTOOL
5610 if test -n "$DLLTOOL"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5612 $as_echo "$DLLTOOL" >&6; }
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5620 if test -z "$ac_cv_prog_DLLTOOL"; then
5621 ac_ct_DLLTOOL=$DLLTOOL
5622 # Extract the first word of "dlltool", so it can be a program name with args.
5623 set dummy dlltool; ac_word=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5627 $as_echo_n "(cached) " >&6
5629 if test -n "$ac_ct_DLLTOOL"; then
5630 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5636 test -z "$as_dir" && as_dir=.
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5639 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5649 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5650 if test -n "$ac_ct_DLLTOOL"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5652 $as_echo "$ac_ct_DLLTOOL" >&6; }
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5658 if test "x$ac_ct_DLLTOOL" = x; then
5661 case $cross_compiling:$ac_tool_warned in
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5665 ac_tool_warned=yes ;;
5667 DLLTOOL=$ac_ct_DLLTOOL
5670 DLLTOOL="$ac_cv_prog_DLLTOOL"
5673 test -z "$DLLTOOL" && DLLTOOL=dlltool
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5682 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5683 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5684 $as_echo_n "(cached) " >&6
5686 lt_cv_sharedlib_from_linklib_cmd='unknown'
5689 cygwin* | mingw* | pw32* | cegcc*)
5690 # two different shell functions defined in ltmain.sh
5691 # decide which to use based on capabilities of $DLLTOOL
5692 case `$DLLTOOL --help 2>&1` in
5693 *--identify-strict*)
5694 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5697 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5702 # fallback: assume linklib IS sharedlib
5703 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5709 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5710 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5711 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5720 if test -n "$ac_tool_prefix"; then
5723 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5724 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5726 $as_echo_n "checking for $ac_word... " >&6; }
5727 if ${ac_cv_prog_AR+:} false; then :
5728 $as_echo_n "(cached) " >&6
5730 if test -n "$AR"; then
5731 ac_cv_prog_AR="$AR" # Let the user override the test.
5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737 test -z "$as_dir" && as_dir=.
5738 for ac_exec_ext in '' $ac_executable_extensions; do
5739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5740 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 if test -n "$AR"; then
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5753 $as_echo "$AR" >&6; }
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }
5760 test -n "$AR" && break
5763 if test -z "$AR"; then
5767 # Extract the first word of "$ac_prog", so it can be a program name with args.
5768 set dummy $ac_prog; ac_word=$2
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5770 $as_echo_n "checking for $ac_word... " >&6; }
5771 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5772 $as_echo_n "(cached) " >&6
5774 if test -n "$ac_ct_AR"; then
5775 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5781 test -z "$as_dir" && as_dir=.
5782 for ac_exec_ext in '' $ac_executable_extensions; do
5783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5784 ac_cv_prog_ac_ct_AR="$ac_prog"
5785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5795 if test -n "$ac_ct_AR"; then
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5797 $as_echo "$ac_ct_AR" >&6; }
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5800 $as_echo "no" >&6; }
5804 test -n "$ac_ct_AR" && break
5807 if test "x$ac_ct_AR" = x; then
5810 case $cross_compiling:$ac_tool_warned in
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5814 ac_tool_warned=yes ;;
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5834 $as_echo_n "checking for archiver @FILE support... " >&6; }
5835 if ${lt_cv_ar_at_file+:} false; then :
5836 $as_echo_n "(cached) " >&6
5839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5840 /* end confdefs.h. */
5850 if ac_fn_c_try_compile "$LINENO"; then :
5851 echo conftest.$ac_objext > conftest.lst
5852 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5853 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5854 (eval $lt_ar_try) 2>&5
5856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5857 test $ac_status = 0; }
5858 if test "$ac_status" -eq 0; then
5859 # Ensure the archiver fails upon bogus file names.
5860 rm -f conftest.$ac_objext libconftest.a
5861 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5862 (eval $lt_ar_try) 2>&5
5864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5865 test $ac_status = 0; }
5866 if test "$ac_status" -ne 0; then
5870 rm -f conftest.* libconftest.a
5873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5877 $as_echo "$lt_cv_ar_at_file" >&6; }
5879 if test "x$lt_cv_ar_at_file" = xno; then
5882 archiver_list_spec=$lt_cv_ar_at_file
5891 if test -n "$ac_tool_prefix"; then
5892 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5893 set dummy ${ac_tool_prefix}strip; ac_word=$2
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5895 $as_echo_n "checking for $ac_word... " >&6; }
5896 if ${ac_cv_prog_STRIP+:} false; then :
5897 $as_echo_n "(cached) " >&6
5899 if test -n "$STRIP"; then
5900 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5906 test -z "$as_dir" && as_dir=.
5907 for ac_exec_ext in '' $ac_executable_extensions; do
5908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5909 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 STRIP=$ac_cv_prog_STRIP
5920 if test -n "$STRIP"; then
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5922 $as_echo "$STRIP" >&6; }
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5925 $as_echo "no" >&6; }
5930 if test -z "$ac_cv_prog_STRIP"; then
5932 # Extract the first word of "strip", so it can be a program name with args.
5933 set dummy strip; ac_word=$2
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5935 $as_echo_n "checking for $ac_word... " >&6; }
5936 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5937 $as_echo_n "(cached) " >&6
5939 if test -n "$ac_ct_STRIP"; then
5940 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5946 test -z "$as_dir" && as_dir=.
5947 for ac_exec_ext in '' $ac_executable_extensions; do
5948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5949 ac_cv_prog_ac_ct_STRIP="strip"
5950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5959 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5960 if test -n "$ac_ct_STRIP"; then
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5962 $as_echo "$ac_ct_STRIP" >&6; }
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5965 $as_echo "no" >&6; }
5968 if test "x$ac_ct_STRIP" = x; then
5971 case $cross_compiling:$ac_tool_warned in
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5975 ac_tool_warned=yes ;;
5980 STRIP="$ac_cv_prog_STRIP"
5983 test -z "$STRIP" && STRIP=:
5990 if test -n "$ac_tool_prefix"; then
5991 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5992 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5994 $as_echo_n "checking for $ac_word... " >&6; }
5995 if ${ac_cv_prog_RANLIB+:} false; then :
5996 $as_echo_n "(cached) " >&6
5998 if test -n "$RANLIB"; then
5999 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005 test -z "$as_dir" && as_dir=.
6006 for ac_exec_ext in '' $ac_executable_extensions; do
6007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6008 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018 RANLIB=$ac_cv_prog_RANLIB
6019 if test -n "$RANLIB"; then
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6021 $as_echo "$RANLIB" >&6; }
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6024 $as_echo "no" >&6; }
6029 if test -z "$ac_cv_prog_RANLIB"; then
6030 ac_ct_RANLIB=$RANLIB
6031 # Extract the first word of "ranlib", so it can be a program name with args.
6032 set dummy ranlib; ac_word=$2
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6034 $as_echo_n "checking for $ac_word... " >&6; }
6035 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6036 $as_echo_n "(cached) " >&6
6038 if test -n "$ac_ct_RANLIB"; then
6039 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 test -z "$as_dir" && as_dir=.
6046 for ac_exec_ext in '' $ac_executable_extensions; do
6047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6048 ac_cv_prog_ac_ct_RANLIB="ranlib"
6049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6058 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6059 if test -n "$ac_ct_RANLIB"; then
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6061 $as_echo "$ac_ct_RANLIB" >&6; }
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6064 $as_echo "no" >&6; }
6067 if test "x$ac_ct_RANLIB" = x; then
6070 case $cross_compiling:$ac_tool_warned in
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6074 ac_tool_warned=yes ;;
6076 RANLIB=$ac_ct_RANLIB
6079 RANLIB="$ac_cv_prog_RANLIB"
6082 test -z "$RANLIB" && RANLIB=:
6089 # Determine commands to create old-style static archives.
6090 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6091 old_postinstall_cmds='chmod 644 $oldlib'
6092 old_postuninstall_cmds=
6094 if test -n "$RANLIB"; then
6097 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6100 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6103 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6108 lock_old_archive_extraction=yes ;;
6110 lock_old_archive_extraction=no ;;
6151 # If no C compiler was specified, use CC.
6154 # If no C compiler flags were specified, use CFLAGS.
6155 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6157 # Allow CC to be a program name with arguments.
6161 # Check for command to grab the raw symbol name followed by C symbol from nm.
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6163 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6164 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6165 $as_echo_n "(cached) " >&6
6168 # These are sane defaults that work on at least a few old systems.
6169 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6171 # Character class describing NM global symbol codes.
6172 symcode='[BCDEGRST]'
6174 # Regexp to match symbols that can be accessed directly from C.
6175 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6177 # Define system-specific variables.
6182 cygwin* | mingw* | pw32* | cegcc*)
6183 symcode='[ABCDGISTW]'
6186 if test "$host_cpu" = ia64; then
6187 symcode='[ABCDEGRST]'
6191 symcode='[BCDEGRST]'
6194 symcode='[BCDEGQRST]'
6205 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6213 # If we're using GNU nm, then use its standard symbol codes.
6214 case `$NM -V 2>&1` in
6215 *GNU* | *'with BFD'*)
6216 symcode='[ABCDGIRSTW]' ;;
6219 # Transform an extracted symbol line into a proper C declaration.
6220 # Some systems (esp. on ia64) link data and code symbols differently,
6221 # so use this general approach.
6222 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6224 # Transform an extracted symbol line into symbol name and symbol address
6225 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6226 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'"
6228 # Handle CRLF in mingw tool chain
6232 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6236 # Try without a prefix underscore, then with it.
6237 for ac_symprfx in "" "_"; do
6239 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6240 symxfrm="\\1 $ac_symprfx\\2 \\2"
6242 # Write the raw and C identifiers.
6243 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6244 # Fake it for dumpbin and say T for any non-static function
6245 # and D for any global variable.
6246 # Also find C++ and __fastcall symbols from MSVC++,
6247 # which start with @ or ?.
6248 lt_cv_sys_global_symbol_pipe="$AWK '"\
6249 " {last_section=section; section=\$ 3};"\
6250 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6251 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6252 " \$ 0!~/External *\|/{next};"\
6253 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6254 " {if(hide[section]) next};"\
6255 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6256 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6257 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6258 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6259 " ' prfx=^$ac_symprfx"
6261 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6263 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6265 # Check to see that the pipe works correctly.
6269 cat > conftest.$ac_ext <<_LT_EOF
6274 void nm_test_func(void);
6275 void nm_test_func(void){}
6279 int main(){nm_test_var='a';nm_test_func();return(0);}
6282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6283 (eval $ac_compile) 2>&5
6285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6286 test $ac_status = 0; }; then
6287 # Now try to grab the symbols.
6289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6290 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6293 test $ac_status = 0; } && test -s "$nlist"; then
6294 # Try sorting and uniquifying the output.
6295 if sort "$nlist" | uniq > "$nlist"T; then
6296 mv -f "$nlist"T "$nlist"
6301 # Make sure that we snagged all the symbols we need.
6302 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6303 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6304 cat <<_LT_EOF > conftest.$ac_ext
6305 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6306 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6307 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6308 relocations are performed -- see ld's documentation on pseudo-relocs. */
6309 # define LT_DLSYM_CONST
6310 #elif defined(__osf__)
6311 /* This system does not cope well with relocations in const data. */
6312 # define LT_DLSYM_CONST
6314 # define LT_DLSYM_CONST const
6322 # Now generate the symbol file.
6323 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6325 cat <<_LT_EOF >> conftest.$ac_ext
6327 /* The mapping between symbol names and symbols. */
6328 LT_DLSYM_CONST struct {
6332 lt__PROGRAM__LTX_preloaded_symbols[] =
6334 { "@PROGRAM@", (void *) 0 },
6336 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6337 cat <<\_LT_EOF >> conftest.$ac_ext
6341 /* This works around a problem in FreeBSD linker */
6342 #ifdef FREEBSD_WORKAROUND
6343 static const void *lt_preloaded_setup() {
6344 return lt__PROGRAM__LTX_preloaded_symbols;
6352 # Now try linking the two files.
6353 mv conftest.$ac_objext conftstm.$ac_objext
6354 lt_globsym_save_LIBS=$LIBS
6355 lt_globsym_save_CFLAGS=$CFLAGS
6356 LIBS="conftstm.$ac_objext"
6357 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6358 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6359 (eval $ac_link) 2>&5
6361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6362 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6365 LIBS=$lt_globsym_save_LIBS
6366 CFLAGS=$lt_globsym_save_CFLAGS
6368 echo "cannot find nm_test_func in $nlist" >&5
6371 echo "cannot find nm_test_var in $nlist" >&5
6374 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6377 echo "$progname: failed program was:" >&5
6378 cat conftest.$ac_ext >&5
6380 rm -rf conftest* conftst*
6382 # Do not use the global_symbol_pipe unless it works.
6383 if test "$pipe_works" = yes; then
6386 lt_cv_sys_global_symbol_pipe=
6392 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6393 lt_cv_sys_global_symbol_to_cdecl=
6395 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6397 $as_echo "failed" >&6; }
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6400 $as_echo "ok" >&6; }
6403 # Response file support.
6404 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6405 nm_file_list_spec='@'
6406 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6407 nm_file_list_spec='@'
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6437 $as_echo_n "checking for sysroot... " >&6; }
6439 # Check whether --with-sysroot was given.
6440 if test "${with_sysroot+set}" = set; then :
6441 withval=$with_sysroot;
6448 case ${with_sysroot} in #(
6450 if test "$GCC" = yes; then
6451 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6455 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6461 $as_echo "${with_sysroot}" >&6; }
6462 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6467 $as_echo "${lt_sysroot:-no}" >&6; }
6473 # Check whether --enable-libtool-lock was given.
6474 if test "${enable_libtool_lock+set}" = set; then :
6475 enableval=$enable_libtool_lock;
6478 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6480 # Some flags need to be propagated to the compiler or linker for good
6484 # Find out which ABI we are using.
6485 echo 'int i;' > conftest.$ac_ext
6486 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6487 (eval $ac_compile) 2>&5
6489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6490 test $ac_status = 0; }; then
6491 case `/usr/bin/file conftest.$ac_objext` in
6503 # Find out which ABI we are using.
6504 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6505 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6506 (eval $ac_compile) 2>&5
6508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6509 test $ac_status = 0; }; then
6510 if test "$lt_cv_prog_gnu_ld" = yes; then
6511 case `/usr/bin/file conftest.$ac_objext` in
6513 LD="${LD-ld} -melf32bsmip"
6516 LD="${LD-ld} -melf32bmipn32"
6519 LD="${LD-ld} -melf64bmip"
6523 case `/usr/bin/file conftest.$ac_objext` in
6539 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6540 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6541 # Find out which ABI we are using.
6542 echo 'int i;' > conftest.$ac_ext
6543 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6544 (eval $ac_compile) 2>&5
6546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6547 test $ac_status = 0; }; then
6548 case `/usr/bin/file conftest.o` in
6551 x86_64-*kfreebsd*-gnu)
6552 LD="${LD-ld} -m elf_i386_fbsd"
6555 LD="${LD-ld} -m elf_i386"
6557 ppc64-*linux*|powerpc64-*linux*)
6558 LD="${LD-ld} -m elf32ppclinux"
6561 LD="${LD-ld} -m elf_s390"
6564 LD="${LD-ld} -m elf32_sparc"
6570 x86_64-*kfreebsd*-gnu)
6571 LD="${LD-ld} -m elf_x86_64_fbsd"
6574 LD="${LD-ld} -m elf_x86_64"
6576 ppc*-*linux*|powerpc*-*linux*)
6577 LD="${LD-ld} -m elf64ppc"
6579 s390*-*linux*|s390*-*tpf*)
6580 LD="${LD-ld} -m elf64_s390"
6583 LD="${LD-ld} -m elf64_sparc"
6593 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6594 SAVE_CFLAGS="$CFLAGS"
6595 CFLAGS="$CFLAGS -belf"
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6597 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6598 if ${lt_cv_cc_needs_belf+:} false; then :
6599 $as_echo_n "(cached) " >&6
6602 ac_cpp='$CPP $CPPFLAGS'
6603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6608 /* end confdefs.h. */
6618 if ac_fn_c_try_link "$LINENO"; then :
6619 lt_cv_cc_needs_belf=yes
6621 lt_cv_cc_needs_belf=no
6623 rm -f core conftest.err conftest.$ac_objext \
6624 conftest$ac_exeext conftest.$ac_ext
6626 ac_cpp='$CPP $CPPFLAGS'
6627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6633 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6634 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6635 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6636 CFLAGS="$SAVE_CFLAGS"
6640 # Find out which ABI we are using.
6641 echo 'int i;' > conftest.$ac_ext
6642 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6643 (eval $ac_compile) 2>&5
6645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6646 test $ac_status = 0; }; then
6647 case `/usr/bin/file conftest.o` in
6649 case $lt_cv_prog_gnu_ld in
6653 LD="${LD-ld} -m elf_x86_64"
6656 LD="${LD-ld} -m elf64_sparc"
6659 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6660 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6665 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6677 need_locks="$enable_libtool_lock"
6679 if test -n "$ac_tool_prefix"; then
6680 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6681 set dummy ${ac_tool_prefix}mt; ac_word=$2
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6683 $as_echo_n "checking for $ac_word... " >&6; }
6684 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6685 $as_echo_n "(cached) " >&6
6687 if test -n "$MANIFEST_TOOL"; then
6688 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6694 test -z "$as_dir" && as_dir=.
6695 for ac_exec_ext in '' $ac_executable_extensions; do
6696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6697 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6707 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6708 if test -n "$MANIFEST_TOOL"; then
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6710 $as_echo "$MANIFEST_TOOL" >&6; }
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6713 $as_echo "no" >&6; }
6718 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6719 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6720 # Extract the first word of "mt", so it can be a program name with args.
6721 set dummy mt; ac_word=$2
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6723 $as_echo_n "checking for $ac_word... " >&6; }
6724 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6725 $as_echo_n "(cached) " >&6
6727 if test -n "$ac_ct_MANIFEST_TOOL"; then
6728 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6734 test -z "$as_dir" && as_dir=.
6735 for ac_exec_ext in '' $ac_executable_extensions; do
6736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6737 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6747 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6748 if test -n "$ac_ct_MANIFEST_TOOL"; then
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6750 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6753 $as_echo "no" >&6; }
6756 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6759 case $cross_compiling:$ac_tool_warned in
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6763 ac_tool_warned=yes ;;
6765 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6768 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6771 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6773 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6774 if ${lt_cv_path_mainfest_tool+:} false; then :
6775 $as_echo_n "(cached) " >&6
6777 lt_cv_path_mainfest_tool=no
6778 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6779 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6780 cat conftest.err >&5
6781 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6782 lt_cv_path_mainfest_tool=yes
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6787 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6788 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6798 rhapsody* | darwin*)
6799 if test -n "$ac_tool_prefix"; then
6800 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6801 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6803 $as_echo_n "checking for $ac_word... " >&6; }
6804 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6805 $as_echo_n "(cached) " >&6
6807 if test -n "$DSYMUTIL"; then
6808 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814 test -z "$as_dir" && as_dir=.
6815 for ac_exec_ext in '' $ac_executable_extensions; do
6816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6817 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6827 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6828 if test -n "$DSYMUTIL"; then
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6830 $as_echo "$DSYMUTIL" >&6; }
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6833 $as_echo "no" >&6; }
6838 if test -z "$ac_cv_prog_DSYMUTIL"; then
6839 ac_ct_DSYMUTIL=$DSYMUTIL
6840 # Extract the first word of "dsymutil", so it can be a program name with args.
6841 set dummy dsymutil; ac_word=$2
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6843 $as_echo_n "checking for $ac_word... " >&6; }
6844 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6845 $as_echo_n "(cached) " >&6
6847 if test -n "$ac_ct_DSYMUTIL"; then
6848 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6854 test -z "$as_dir" && as_dir=.
6855 for ac_exec_ext in '' $ac_executable_extensions; do
6856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6857 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6867 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6868 if test -n "$ac_ct_DSYMUTIL"; then
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6870 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6873 $as_echo "no" >&6; }
6876 if test "x$ac_ct_DSYMUTIL" = x; then
6879 case $cross_compiling:$ac_tool_warned in
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6883 ac_tool_warned=yes ;;
6885 DSYMUTIL=$ac_ct_DSYMUTIL
6888 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6891 if test -n "$ac_tool_prefix"; then
6892 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6893 set dummy ${ac_tool_prefix}nmedit; 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_NMEDIT+:} false; then :
6897 $as_echo_n "(cached) " >&6
6899 if test -n "$NMEDIT"; then
6900 ac_cv_prog_NMEDIT="$NMEDIT" # 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_NMEDIT="${ac_tool_prefix}nmedit"
6910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6919 NMEDIT=$ac_cv_prog_NMEDIT
6920 if test -n "$NMEDIT"; then
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6922 $as_echo "$NMEDIT" >&6; }
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6925 $as_echo "no" >&6; }
6930 if test -z "$ac_cv_prog_NMEDIT"; then
6931 ac_ct_NMEDIT=$NMEDIT
6932 # Extract the first word of "nmedit", so it can be a program name with args.
6933 set dummy nmedit; ac_word=$2
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6935 $as_echo_n "checking for $ac_word... " >&6; }
6936 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6937 $as_echo_n "(cached) " >&6
6939 if test -n "$ac_ct_NMEDIT"; then
6940 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6946 test -z "$as_dir" && as_dir=.
6947 for ac_exec_ext in '' $ac_executable_extensions; do
6948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6949 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6959 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6960 if test -n "$ac_ct_NMEDIT"; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6962 $as_echo "$ac_ct_NMEDIT" >&6; }
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6965 $as_echo "no" >&6; }
6968 if test "x$ac_ct_NMEDIT" = x; then
6971 case $cross_compiling:$ac_tool_warned in
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6975 ac_tool_warned=yes ;;
6977 NMEDIT=$ac_ct_NMEDIT
6980 NMEDIT="$ac_cv_prog_NMEDIT"
6983 if test -n "$ac_tool_prefix"; then
6984 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6985 set dummy ${ac_tool_prefix}lipo; 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_LIPO+:} false; then :
6989 $as_echo_n "(cached) " >&6
6991 if test -n "$LIPO"; then
6992 ac_cv_prog_LIPO="$LIPO" # 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_LIPO="${ac_tool_prefix}lipo"
7002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7011 LIPO=$ac_cv_prog_LIPO
7012 if test -n "$LIPO"; then
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7014 $as_echo "$LIPO" >&6; }
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7017 $as_echo "no" >&6; }
7022 if test -z "$ac_cv_prog_LIPO"; then
7024 # Extract the first word of "lipo", so it can be a program name with args.
7025 set dummy lipo; ac_word=$2
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7027 $as_echo_n "checking for $ac_word... " >&6; }
7028 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7029 $as_echo_n "(cached) " >&6
7031 if test -n "$ac_ct_LIPO"; then
7032 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7038 test -z "$as_dir" && as_dir=.
7039 for ac_exec_ext in '' $ac_executable_extensions; do
7040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7041 ac_cv_prog_ac_ct_LIPO="lipo"
7042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7051 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7052 if test -n "$ac_ct_LIPO"; then
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7054 $as_echo "$ac_ct_LIPO" >&6; }
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7057 $as_echo "no" >&6; }
7060 if test "x$ac_ct_LIPO" = x; then
7063 case $cross_compiling:$ac_tool_warned in
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7067 ac_tool_warned=yes ;;
7072 LIPO="$ac_cv_prog_LIPO"
7075 if test -n "$ac_tool_prefix"; then
7076 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7077 set dummy ${ac_tool_prefix}otool; 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_OTOOL+:} false; then :
7081 $as_echo_n "(cached) " >&6
7083 if test -n "$OTOOL"; then
7084 ac_cv_prog_OTOOL="$OTOOL" # 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_OTOOL="${ac_tool_prefix}otool"
7094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7103 OTOOL=$ac_cv_prog_OTOOL
7104 if test -n "$OTOOL"; then
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7106 $as_echo "$OTOOL" >&6; }
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7109 $as_echo "no" >&6; }
7114 if test -z "$ac_cv_prog_OTOOL"; then
7116 # Extract the first word of "otool", so it can be a program name with args.
7117 set dummy otool; ac_word=$2
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7119 $as_echo_n "checking for $ac_word... " >&6; }
7120 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7121 $as_echo_n "(cached) " >&6
7123 if test -n "$ac_ct_OTOOL"; then
7124 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7130 test -z "$as_dir" && as_dir=.
7131 for ac_exec_ext in '' $ac_executable_extensions; do
7132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7133 ac_cv_prog_ac_ct_OTOOL="otool"
7134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7143 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7144 if test -n "$ac_ct_OTOOL"; then
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7146 $as_echo "$ac_ct_OTOOL" >&6; }
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7149 $as_echo "no" >&6; }
7152 if test "x$ac_ct_OTOOL" = x; then
7155 case $cross_compiling:$ac_tool_warned in
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7158 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7159 ac_tool_warned=yes ;;
7164 OTOOL="$ac_cv_prog_OTOOL"
7167 if test -n "$ac_tool_prefix"; then
7168 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7169 set dummy ${ac_tool_prefix}otool64; 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_OTOOL64+:} false; then :
7173 $as_echo_n "(cached) " >&6
7175 if test -n "$OTOOL64"; then
7176 ac_cv_prog_OTOOL64="$OTOOL64" # 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_OTOOL64="${ac_tool_prefix}otool64"
7186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7195 OTOOL64=$ac_cv_prog_OTOOL64
7196 if test -n "$OTOOL64"; then
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7198 $as_echo "$OTOOL64" >&6; }
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201 $as_echo "no" >&6; }
7206 if test -z "$ac_cv_prog_OTOOL64"; then
7207 ac_ct_OTOOL64=$OTOOL64
7208 # Extract the first word of "otool64", so it can be a program name with args.
7209 set dummy otool64; ac_word=$2
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7211 $as_echo_n "checking for $ac_word... " >&6; }
7212 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7213 $as_echo_n "(cached) " >&6
7215 if test -n "$ac_ct_OTOOL64"; then
7216 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7222 test -z "$as_dir" && as_dir=.
7223 for ac_exec_ext in '' $ac_executable_extensions; do
7224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7225 ac_cv_prog_ac_ct_OTOOL64="otool64"
7226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7235 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7236 if test -n "$ac_ct_OTOOL64"; then
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7238 $as_echo "$ac_ct_OTOOL64" >&6; }
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7241 $as_echo "no" >&6; }
7244 if test "x$ac_ct_OTOOL64" = x; then
7247 case $cross_compiling:$ac_tool_warned in
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7251 ac_tool_warned=yes ;;
7253 OTOOL64=$ac_ct_OTOOL64
7256 OTOOL64="$ac_cv_prog_OTOOL64"
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7286 $as_echo_n "checking for -single_module linker flag... " >&6; }
7287 if ${lt_cv_apple_cc_single_mod+:} false; then :
7288 $as_echo_n "(cached) " >&6
7290 lt_cv_apple_cc_single_mod=no
7291 if test -z "${LT_MULTI_MODULE}"; then
7292 # By default we will add the -single_module flag. You can override
7293 # by either setting the environment variable LT_MULTI_MODULE
7294 # non-empty at configure time, or by adding -multi_module to the
7296 rm -rf libconftest.dylib*
7297 echo "int foo(void){return 1;}" > conftest.c
7298 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7299 -dynamiclib -Wl,-single_module conftest.c" >&5
7300 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7301 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7303 # If there is a non-empty error log, and "single_module"
7304 # appears in it, assume the flag caused a linker warning
7305 if test -s conftest.err && $GREP single_module conftest.err; then
7306 cat conftest.err >&5
7307 # Otherwise, if the output was created with a 0 exit code from
7308 # the compiler, it worked.
7309 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7310 lt_cv_apple_cc_single_mod=yes
7312 cat conftest.err >&5
7314 rm -rf libconftest.dylib*
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7319 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7322 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7323 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7324 $as_echo_n "(cached) " >&6
7326 lt_cv_ld_exported_symbols_list=no
7327 save_LDFLAGS=$LDFLAGS
7328 echo "_main" > conftest.sym
7329 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7331 /* end confdefs.h. */
7341 if ac_fn_c_try_link "$LINENO"; then :
7342 lt_cv_ld_exported_symbols_list=yes
7344 lt_cv_ld_exported_symbols_list=no
7346 rm -f core conftest.err conftest.$ac_objext \
7347 conftest$ac_exeext conftest.$ac_ext
7348 LDFLAGS="$save_LDFLAGS"
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7352 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7355 $as_echo_n "checking for -force_load linker flag... " >&6; }
7356 if ${lt_cv_ld_force_load+:} false; then :
7357 $as_echo_n "(cached) " >&6
7359 lt_cv_ld_force_load=no
7360 cat > conftest.c << _LT_EOF
7361 int forced_loaded() { return 2;}
7363 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7364 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7365 echo "$AR cru libconftest.a conftest.o" >&5
7366 $AR cru libconftest.a conftest.o 2>&5
7367 echo "$RANLIB libconftest.a" >&5
7368 $RANLIB libconftest.a 2>&5
7369 cat > conftest.c << _LT_EOF
7370 int main() { return 0;}
7372 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7373 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7375 if test -s conftest.err && $GREP force_load conftest.err; then
7376 cat conftest.err >&5
7377 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7378 lt_cv_ld_force_load=yes
7380 cat conftest.err >&5
7382 rm -f conftest.err libconftest.a conftest conftest.c
7383 rm -rf conftest.dSYM
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7387 $as_echo "$lt_cv_ld_force_load" >&6; }
7389 rhapsody* | darwin1.[012])
7390 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7392 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7393 darwin*) # darwin 5.x on
7394 # if running on 10.5 or later, the deployment target defaults
7395 # to the OS version, if on x86, and 10.4, the deployment
7396 # target defaults to 10.4. Don't you love it?
7397 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7398 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7399 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7401 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7403 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7407 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7408 _lt_dar_single_mod='$single_module'
7410 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7411 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7413 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7415 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7416 _lt_dsymutil='~$DSYMUTIL $lib || :'
7424 ac_cpp='$CPP $CPPFLAGS'
7425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7429 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7430 # On Suns, sometimes $CPP names a directory.
7431 if test -n "$CPP" && test -d "$CPP"; then
7434 if test -z "$CPP"; then
7435 if ${ac_cv_prog_CPP+:} false; then :
7436 $as_echo_n "(cached) " >&6
7438 # Double quotes because CPP needs to be expanded
7439 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7442 for ac_c_preproc_warn_flag in '' yes
7444 # Use a header file that comes with gcc, so configuring glibc
7445 # with a fresh cross-compiler works.
7446 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7447 # <limits.h> exists even on freestanding compilers.
7448 # On the NeXT, cc -E runs the code through the compiler's parser,
7449 # not just through cpp. "Syntax error" is here to catch this case.
7450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7451 /* end confdefs.h. */
7453 # include <limits.h>
7455 # include <assert.h>
7459 if ac_fn_c_try_cpp "$LINENO"; then :
7462 # Broken: fails on valid input.
7465 rm -f conftest.err conftest.i conftest.$ac_ext
7467 # OK, works on sane cases. Now check whether nonexistent headers
7468 # can be detected and how.
7469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7470 /* end confdefs.h. */
7471 #include <ac_nonexistent.h>
7473 if ac_fn_c_try_cpp "$LINENO"; then :
7474 # Broken: success on invalid input.
7477 # Passes both tests.
7481 rm -f conftest.err conftest.i conftest.$ac_ext
7484 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7485 rm -f conftest.i conftest.err conftest.$ac_ext
7486 if $ac_preproc_ok; then :
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7499 $as_echo "$CPP" >&6; }
7501 for ac_c_preproc_warn_flag in '' yes
7503 # Use a header file that comes with gcc, so configuring glibc
7504 # with a fresh cross-compiler works.
7505 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7506 # <limits.h> exists even on freestanding compilers.
7507 # On the NeXT, cc -E runs the code through the compiler's parser,
7508 # not just through cpp. "Syntax error" is here to catch this case.
7509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7510 /* end confdefs.h. */
7512 # include <limits.h>
7514 # include <assert.h>
7518 if ac_fn_c_try_cpp "$LINENO"; then :
7521 # Broken: fails on valid input.
7524 rm -f conftest.err conftest.i conftest.$ac_ext
7526 # OK, works on sane cases. Now check whether nonexistent headers
7527 # can be detected and how.
7528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7529 /* end confdefs.h. */
7530 #include <ac_nonexistent.h>
7532 if ac_fn_c_try_cpp "$LINENO"; then :
7533 # Broken: success on invalid input.
7536 # Passes both tests.
7540 rm -f conftest.err conftest.i conftest.$ac_ext
7543 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7544 rm -f conftest.i conftest.err conftest.$ac_ext
7545 if $ac_preproc_ok; then :
7548 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7550 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7551 See \`config.log' for more details" "$LINENO" 5; }
7555 ac_cpp='$CPP $CPPFLAGS'
7556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7562 $as_echo_n "checking for ANSI C header files... " >&6; }
7563 if ${ac_cv_header_stdc+:} false; then :
7564 $as_echo_n "(cached) " >&6
7566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7567 /* end confdefs.h. */
7581 if ac_fn_c_try_compile "$LINENO"; then :
7582 ac_cv_header_stdc=yes
7584 ac_cv_header_stdc=no
7586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7588 if test $ac_cv_header_stdc = yes; then
7589 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7591 /* end confdefs.h. */
7595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7596 $EGREP "memchr" >/dev/null 2>&1; then :
7599 ac_cv_header_stdc=no
7605 if test $ac_cv_header_stdc = yes; then
7606 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7608 /* end confdefs.h. */
7612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7613 $EGREP "free" >/dev/null 2>&1; then :
7616 ac_cv_header_stdc=no
7622 if test $ac_cv_header_stdc = yes; then
7623 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7624 if test "$cross_compiling" = yes; then :
7627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7628 /* end confdefs.h. */
7631 #if ((' ' & 0x0FF) == 0x020)
7632 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7633 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7635 # define ISLOWER(c) \
7636 (('a' <= (c) && (c) <= 'i') \
7637 || ('j' <= (c) && (c) <= 'r') \
7638 || ('s' <= (c) && (c) <= 'z'))
7639 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7642 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7647 for (i = 0; i < 256; i++)
7648 if (XOR (islower (i), ISLOWER (i))
7649 || toupper (i) != TOUPPER (i))
7654 if ac_fn_c_try_run "$LINENO"; then :
7657 ac_cv_header_stdc=no
7659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7660 conftest.$ac_objext conftest.beam conftest.$ac_ext
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7666 $as_echo "$ac_cv_header_stdc" >&6; }
7667 if test $ac_cv_header_stdc = yes; then
7669 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7673 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7674 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7675 inttypes.h stdint.h unistd.h
7677 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7678 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7680 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7681 cat >>confdefs.h <<_ACEOF
7682 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7690 for ac_header in dlfcn.h
7692 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7694 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7695 cat >>confdefs.h <<_ACEOF
7696 #define HAVE_DLFCN_H 1
7715 # Check whether --enable-shared was given.
7716 if test "${enable_shared+set}" = set; then :
7717 enableval=$enable_shared; p=${PACKAGE-default}
7719 yes) enable_shared=yes ;;
7720 no) enable_shared=no ;;
7723 # Look at the argument we got. We use all the common list separators.
7724 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7725 for pkg in $enableval; do
7727 if test "X$pkg" = "X$p"; then
7746 # Check whether --enable-static was given.
7747 if test "${enable_static+set}" = set; then :
7748 enableval=$enable_static; p=${PACKAGE-default}
7750 yes) enable_static=yes ;;
7751 no) enable_static=no ;;
7754 # Look at the argument we got. We use all the common list separators.
7755 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7756 for pkg in $enableval; do
7758 if test "X$pkg" = "X$p"; then
7778 # Check whether --with-pic was given.
7779 if test "${with_pic+set}" = set; then :
7780 withval=$with_pic; lt_p=${PACKAGE-default}
7782 yes|no) pic_mode=$withval ;;
7785 # Look at the argument we got. We use all the common list separators.
7786 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7787 for lt_pkg in $withval; do
7789 if test "X$lt_pkg" = "X$lt_p"; then
7801 test -z "$pic_mode" && pic_mode=default
7809 # Check whether --enable-fast-install was given.
7810 if test "${enable_fast_install+set}" = set; then :
7811 enableval=$enable_fast_install; p=${PACKAGE-default}
7813 yes) enable_fast_install=yes ;;
7814 no) enable_fast_install=no ;;
7816 enable_fast_install=no
7817 # Look at the argument we got. We use all the common list separators.
7818 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7819 for pkg in $enableval; do
7821 if test "X$pkg" = "X$p"; then
7822 enable_fast_install=yes
7829 enable_fast_install=yes
7842 # This can be used to rebuild libtool when needed
7843 LIBTOOL_DEPS="$ltmain"
7845 # Always use our own libtool.
7846 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7877 test -z "$LN_S" && LN_S="ln -s"
7892 if test -n "${ZSH_VERSION+set}" ; then
7893 setopt NO_GLOB_SUBST
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7897 $as_echo_n "checking for objdir... " >&6; }
7898 if ${lt_cv_objdir+:} false; then :
7899 $as_echo_n "(cached) " >&6
7901 rm -f .libs 2>/dev/null
7902 mkdir .libs 2>/dev/null
7903 if test -d .libs; then
7906 # MS-DOS does not allow filenames that begin with a dot.
7909 rmdir .libs 2>/dev/null
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7912 $as_echo "$lt_cv_objdir" >&6; }
7913 objdir=$lt_cv_objdir
7919 cat >>confdefs.h <<_ACEOF
7920 #define LT_OBJDIR "$lt_cv_objdir/"
7928 # AIX sometimes has problems with the GCC collect2 program. For some
7929 # reason, if we set the COLLECT_NAMES environment variable, the problems
7930 # vanish in a puff of smoke.
7931 if test "X${COLLECT_NAMES+set}" != Xset; then
7933 export COLLECT_NAMES
7940 can_build_shared=yes
7942 # All known linkers require a `.a' archive for static linking (except MSVC,
7943 # which needs '.lib').
7946 with_gnu_ld="$lt_cv_prog_gnu_ld"
7949 old_CFLAGS="$CFLAGS"
7951 # Set sane defaults for various variables
7952 test -z "$CC" && CC=cc
7953 test -z "$LTCC" && LTCC=$CC
7954 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7955 test -z "$LD" && LD=ld
7956 test -z "$ac_objext" && ac_objext=o
7958 for cc_temp in $compiler""; do
7960 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7961 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7966 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7969 # Only perform the check for file, if the check method requires it
7970 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7971 case $deplibs_check_method in
7973 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7975 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7976 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7977 $as_echo_n "(cached) " >&6
7981 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7984 lt_save_MAGIC_CMD="$MAGIC_CMD"
7985 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7986 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7987 for ac_dir in $ac_dummy; do
7989 test -z "$ac_dir" && ac_dir=.
7990 if test -f $ac_dir/${ac_tool_prefix}file; then
7991 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7992 if test -n "$file_magic_test_file"; then
7993 case $deplibs_check_method in
7995 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7996 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7997 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7998 $EGREP "$file_magic_regex" > /dev/null; then
8003 *** Warning: the command libtool uses to detect shared libraries,
8004 *** $file_magic_cmd, produces output that libtool cannot recognize.
8005 *** The result is that libtool may fail to recognize shared libraries
8006 *** as such. This will affect the creation of libtool libraries that
8007 *** depend on shared libraries, but programs linked with such libtool
8008 *** libraries will work regardless of this problem. Nevertheless, you
8009 *** may want to report the problem to your system manager and/or to
8010 *** bug-libtool@gnu.org
8020 MAGIC_CMD="$lt_save_MAGIC_CMD"
8025 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8026 if test -n "$MAGIC_CMD"; then
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8028 $as_echo "$MAGIC_CMD" >&6; }
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8031 $as_echo "no" >&6; }
8038 if test -z "$lt_cv_path_MAGIC_CMD"; then
8039 if test -n "$ac_tool_prefix"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8041 $as_echo_n "checking for file... " >&6; }
8042 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8043 $as_echo_n "(cached) " >&6
8047 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8050 lt_save_MAGIC_CMD="$MAGIC_CMD"
8051 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8052 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8053 for ac_dir in $ac_dummy; do
8055 test -z "$ac_dir" && ac_dir=.
8056 if test -f $ac_dir/file; then
8057 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8058 if test -n "$file_magic_test_file"; then
8059 case $deplibs_check_method in
8061 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8062 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8063 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8064 $EGREP "$file_magic_regex" > /dev/null; then
8069 *** Warning: the command libtool uses to detect shared libraries,
8070 *** $file_magic_cmd, produces output that libtool cannot recognize.
8071 *** The result is that libtool may fail to recognize shared libraries
8072 *** as such. This will affect the creation of libtool libraries that
8073 *** depend on shared libraries, but programs linked with such libtool
8074 *** libraries will work regardless of this problem. Nevertheless, you
8075 *** may want to report the problem to your system manager and/or to
8076 *** bug-libtool@gnu.org
8086 MAGIC_CMD="$lt_save_MAGIC_CMD"
8091 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8092 if test -n "$MAGIC_CMD"; then
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8094 $as_echo "$MAGIC_CMD" >&6; }
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8097 $as_echo "no" >&6; }
8110 # Use C for the default configuration in the libtool script
8114 ac_cpp='$CPP $CPPFLAGS'
8115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8120 # Source file extension for C test sources.
8123 # Object file extension for compiled C test sources.
8127 # Code to be used in simple compile tests
8128 lt_simple_compile_test_code="int some_variable = 0;"
8130 # Code to be used in simple link tests
8131 lt_simple_link_test_code='int main(){return(0);}'
8139 # If no C compiler was specified, use CC.
8142 # If no C compiler flags were specified, use CFLAGS.
8143 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8145 # Allow CC to be a program name with arguments.
8148 # Save the default compiler, since it gets overwritten when the other
8149 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8150 compiler_DEFAULT=$CC
8152 # save warnings/boilerplate of simple test code
8153 ac_outfile=conftest.$ac_objext
8154 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8155 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8156 _lt_compiler_boilerplate=`cat conftest.err`
8159 ac_outfile=conftest.$ac_objext
8160 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8161 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8162 _lt_linker_boilerplate=`cat conftest.err`
8167 ## There is no encapsulation within the following macros, do not change
8168 ## the running order or otherwise move them around unless you know exactly
8169 ## what you are doing...
8170 if test -n "$compiler"; then
8172 lt_prog_compiler_no_builtin_flag=
8174 if test "$GCC" = yes; then
8175 case $cc_basename in
8177 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8179 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8183 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8184 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8185 $as_echo_n "(cached) " >&6
8187 lt_cv_prog_compiler_rtti_exceptions=no
8188 ac_outfile=conftest.$ac_objext
8189 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8190 lt_compiler_flag="-fno-rtti -fno-exceptions"
8191 # Insert the option either (1) after the last *FLAGS variable, or
8192 # (2) before a word containing "conftest.", or (3) at the end.
8193 # Note that $ac_compile itself does not contain backslashes and begins
8194 # with a dollar sign (not a hyphen), so the echo should work correctly.
8195 # The option is referenced via a variable to avoid confusing sed.
8196 lt_compile=`echo "$ac_compile" | $SED \
8197 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8198 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8199 -e 's:$: $lt_compiler_flag:'`
8200 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8201 (eval "$lt_compile" 2>conftest.err)
8203 cat conftest.err >&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 if (exit $ac_status) && test -s "$ac_outfile"; then
8206 # The compiler can only warn and ignore the option if not recognized
8207 # So say no if there are warnings other than the usual output.
8208 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8209 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8210 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8211 lt_cv_prog_compiler_rtti_exceptions=yes
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8218 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8220 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8221 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8233 lt_prog_compiler_wl=
8234 lt_prog_compiler_pic=
8235 lt_prog_compiler_static=
8238 if test "$GCC" = yes; then
8239 lt_prog_compiler_wl='-Wl,'
8240 lt_prog_compiler_static='-static'
8244 # All AIX code is PIC.
8245 if test "$host_cpu" = ia64; then
8246 # AIX 5 now supports IA64 processor
8247 lt_prog_compiler_static='-Bstatic'
8254 # see comment about AmigaOS4 .so support
8255 lt_prog_compiler_pic='-fPIC'
8258 # FIXME: we need at least 68020 code to build shared libraries, but
8259 # adding the `-m68020' flag to GCC prevents building anything better,
8261 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8266 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8267 # PIC is the default for these OSes.
8270 mingw* | cygwin* | pw32* | os2* | cegcc*)
8271 # This hack is so that the source file can tell whether it is being
8272 # built for inclusion in a dll (and should export symbols for example).
8273 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8274 # (--disable-auto-import) libraries
8275 lt_prog_compiler_pic='-DDLL_EXPORT'
8278 darwin* | rhapsody*)
8279 # PIC is the default on this platform
8280 # Common symbols not allowed in MH_DYLIB files
8281 lt_prog_compiler_pic='-fno-common'
8285 # PIC is the default for Haiku.
8286 # The "-static" flag exists, but is broken.
8287 lt_prog_compiler_static=
8291 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8292 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8293 # sets the default TLS model and affects inlining.
8299 lt_prog_compiler_pic='-fPIC'
8305 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8306 # Instead, we relocate shared libraries at runtime.
8310 # Just because we use GCC doesn't mean we suddenly get shared libraries
8311 # on systems that don't support them.
8312 lt_prog_compiler_can_build_shared=no
8317 # QNX uses GNU C++, but need to define -shared option too, otherwise
8319 lt_prog_compiler_pic='-fPIC -shared'
8323 if test -d /usr/nec; then
8324 lt_prog_compiler_pic=-Kconform_pic
8329 lt_prog_compiler_pic='-fPIC'
8333 case $cc_basename in
8334 nvcc*) # Cuda Compiler Driver 2.2
8335 lt_prog_compiler_wl='-Xlinker '
8336 if test -n "$lt_prog_compiler_pic"; then
8337 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8342 # PORTME Check for flag to pass linker flags through the system compiler.
8345 lt_prog_compiler_wl='-Wl,'
8346 if test "$host_cpu" = ia64; then
8347 # AIX 5 now supports IA64 processor
8348 lt_prog_compiler_static='-Bstatic'
8350 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8354 mingw* | cygwin* | pw32* | os2* | cegcc*)
8355 # This hack is so that the source file can tell whether it is being
8356 # built for inclusion in a dll (and should export symbols for example).
8357 lt_prog_compiler_pic='-DDLL_EXPORT'
8360 hpux9* | hpux10* | hpux11*)
8361 lt_prog_compiler_wl='-Wl,'
8362 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8369 lt_prog_compiler_pic='+Z'
8372 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8373 lt_prog_compiler_static='${wl}-a ${wl}archive'
8376 irix5* | irix6* | nonstopux*)
8377 lt_prog_compiler_wl='-Wl,'
8378 # PIC (with -KPIC) is the default.
8379 lt_prog_compiler_static='-non_shared'
8382 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8383 case $cc_basename in
8384 # old Intel for x86_64 which still supported -KPIC.
8386 lt_prog_compiler_wl='-Wl,'
8387 lt_prog_compiler_pic='-KPIC'
8388 lt_prog_compiler_static='-static'
8390 # icc used to be incompatible with GCC.
8391 # ICC 10 doesn't accept -KPIC any more.
8393 lt_prog_compiler_wl='-Wl,'
8394 lt_prog_compiler_pic='-fPIC'
8395 lt_prog_compiler_static='-static'
8397 # Lahey Fortran 8.1.
8399 lt_prog_compiler_wl='-Wl,'
8400 lt_prog_compiler_pic='--shared'
8401 lt_prog_compiler_static='--static'
8404 # NAG Fortran compiler
8405 lt_prog_compiler_wl='-Wl,-Wl,,'
8406 lt_prog_compiler_pic='-PIC'
8407 lt_prog_compiler_static='-Bstatic'
8409 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8410 # Portland Group compilers (*not* the Pentium gcc compiler,
8411 # which looks to be a dead project)
8412 lt_prog_compiler_wl='-Wl,'
8413 lt_prog_compiler_pic='-fpic'
8414 lt_prog_compiler_static='-Bstatic'
8417 lt_prog_compiler_wl='-Wl,'
8418 # All Alpha code is PIC.
8419 lt_prog_compiler_static='-non_shared'
8421 xl* | bgxl* | bgf* | mpixl*)
8422 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8423 lt_prog_compiler_wl='-Wl,'
8424 lt_prog_compiler_pic='-qpic'
8425 lt_prog_compiler_static='-qstaticlink'
8428 case `$CC -V 2>&1 | sed 5q` in
8429 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8430 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8431 lt_prog_compiler_pic='-KPIC'
8432 lt_prog_compiler_static='-Bstatic'
8433 lt_prog_compiler_wl=''
8435 *Sun\ F* | *Sun*Fortran*)
8436 lt_prog_compiler_pic='-KPIC'
8437 lt_prog_compiler_static='-Bstatic'
8438 lt_prog_compiler_wl='-Qoption ld '
8442 lt_prog_compiler_pic='-KPIC'
8443 lt_prog_compiler_static='-Bstatic'
8444 lt_prog_compiler_wl='-Wl,'
8446 *Intel*\ [CF]*Compiler*)
8447 lt_prog_compiler_wl='-Wl,'
8448 lt_prog_compiler_pic='-fPIC'
8449 lt_prog_compiler_static='-static'
8452 lt_prog_compiler_wl='-Wl,'
8453 lt_prog_compiler_pic='-fpic'
8454 lt_prog_compiler_static='-Bstatic'
8462 lt_prog_compiler_pic='-KPIC'
8463 lt_prog_compiler_static='-Bstatic'
8467 # QNX uses GNU C++, but need to define -shared option too, otherwise
8469 lt_prog_compiler_pic='-fPIC -shared'
8472 osf3* | osf4* | osf5*)
8473 lt_prog_compiler_wl='-Wl,'
8474 # All OSF/1 code is PIC.
8475 lt_prog_compiler_static='-non_shared'
8479 lt_prog_compiler_static='-non_shared'
8483 lt_prog_compiler_pic='-KPIC'
8484 lt_prog_compiler_static='-Bstatic'
8485 case $cc_basename in
8486 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8487 lt_prog_compiler_wl='-Qoption ld ';;
8489 lt_prog_compiler_wl='-Wl,';;
8494 lt_prog_compiler_wl='-Qoption ld '
8495 lt_prog_compiler_pic='-PIC'
8496 lt_prog_compiler_static='-Bstatic'
8499 sysv4 | sysv4.2uw2* | sysv4.3*)
8500 lt_prog_compiler_wl='-Wl,'
8501 lt_prog_compiler_pic='-KPIC'
8502 lt_prog_compiler_static='-Bstatic'
8506 if test -d /usr/nec ;then
8507 lt_prog_compiler_pic='-Kconform_pic'
8508 lt_prog_compiler_static='-Bstatic'
8512 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8513 lt_prog_compiler_wl='-Wl,'
8514 lt_prog_compiler_pic='-KPIC'
8515 lt_prog_compiler_static='-Bstatic'
8519 lt_prog_compiler_wl='-Wl,'
8520 lt_prog_compiler_can_build_shared=no
8524 lt_prog_compiler_pic='-pic'
8525 lt_prog_compiler_static='-Bstatic'
8529 lt_prog_compiler_can_build_shared=no
8535 # For platforms which do not support PIC, -DPIC is meaningless:
8537 lt_prog_compiler_pic=
8540 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8545 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8546 if ${lt_cv_prog_compiler_pic+:} false; then :
8547 $as_echo_n "(cached) " >&6
8549 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8552 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8553 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8556 # Check to make sure the PIC flag actually works.
8558 if test -n "$lt_prog_compiler_pic"; then
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8560 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8561 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8562 $as_echo_n "(cached) " >&6
8564 lt_cv_prog_compiler_pic_works=no
8565 ac_outfile=conftest.$ac_objext
8566 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8567 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8568 # Insert the option either (1) after the last *FLAGS variable, or
8569 # (2) before a word containing "conftest.", or (3) at the end.
8570 # Note that $ac_compile itself does not contain backslashes and begins
8571 # with a dollar sign (not a hyphen), so the echo should work correctly.
8572 # The option is referenced via a variable to avoid confusing sed.
8573 lt_compile=`echo "$ac_compile" | $SED \
8574 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8575 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8576 -e 's:$: $lt_compiler_flag:'`
8577 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8578 (eval "$lt_compile" 2>conftest.err)
8580 cat conftest.err >&5
8581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582 if (exit $ac_status) && test -s "$ac_outfile"; then
8583 # The compiler can only warn and ignore the option if not recognized
8584 # So say no if there are warnings other than the usual output.
8585 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8586 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8587 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8588 lt_cv_prog_compiler_pic_works=yes
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8595 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8597 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8598 case $lt_prog_compiler_pic in
8600 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8603 lt_prog_compiler_pic=
8604 lt_prog_compiler_can_build_shared=no
8620 # Check to make sure the static flag actually works.
8622 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8624 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8625 if ${lt_cv_prog_compiler_static_works+:} false; then :
8626 $as_echo_n "(cached) " >&6
8628 lt_cv_prog_compiler_static_works=no
8629 save_LDFLAGS="$LDFLAGS"
8630 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8631 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8632 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8633 # The linker can only warn and ignore the option if not recognized
8634 # So say no if there are warnings
8635 if test -s conftest.err; then
8636 # Append any errors to the config.log.
8637 cat conftest.err 1>&5
8638 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8639 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8640 if diff conftest.exp conftest.er2 >/dev/null; then
8641 lt_cv_prog_compiler_static_works=yes
8644 lt_cv_prog_compiler_static_works=yes
8648 LDFLAGS="$save_LDFLAGS"
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8652 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8654 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8657 lt_prog_compiler_static=
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8667 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8668 if ${lt_cv_prog_compiler_c_o+:} false; then :
8669 $as_echo_n "(cached) " >&6
8671 lt_cv_prog_compiler_c_o=no
8672 $RM -r conftest 2>/dev/null
8676 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8678 lt_compiler_flag="-o out/conftest2.$ac_objext"
8679 # Insert the option either (1) after the last *FLAGS variable, or
8680 # (2) before a word containing "conftest.", or (3) at the end.
8681 # Note that $ac_compile itself does not contain backslashes and begins
8682 # with a dollar sign (not a hyphen), so the echo should work correctly.
8683 lt_compile=`echo "$ac_compile" | $SED \
8684 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8685 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8686 -e 's:$: $lt_compiler_flag:'`
8687 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8688 (eval "$lt_compile" 2>out/conftest.err)
8690 cat out/conftest.err >&5
8691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8694 # The compiler can only warn and ignore the option if not recognized
8695 # So say no if there are warnings
8696 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8697 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8698 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8699 lt_cv_prog_compiler_c_o=yes
8704 # SGI C++ compiler will create directory out/ii_files/ for
8705 # template instantiation
8706 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8707 $RM out/* && rmdir out
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8714 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8722 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8723 if ${lt_cv_prog_compiler_c_o+:} false; then :
8724 $as_echo_n "(cached) " >&6
8726 lt_cv_prog_compiler_c_o=no
8727 $RM -r conftest 2>/dev/null
8731 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8733 lt_compiler_flag="-o out/conftest2.$ac_objext"
8734 # Insert the option either (1) after the last *FLAGS variable, or
8735 # (2) before a word containing "conftest.", or (3) at the end.
8736 # Note that $ac_compile itself does not contain backslashes and begins
8737 # with a dollar sign (not a hyphen), so the echo should work correctly.
8738 lt_compile=`echo "$ac_compile" | $SED \
8739 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8740 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8741 -e 's:$: $lt_compiler_flag:'`
8742 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8743 (eval "$lt_compile" 2>out/conftest.err)
8745 cat out/conftest.err >&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8749 # The compiler can only warn and ignore the option if not recognized
8750 # So say no if there are warnings
8751 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8752 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8753 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8754 lt_cv_prog_compiler_c_o=yes
8759 # SGI C++ compiler will create directory out/ii_files/ for
8760 # template instantiation
8761 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8762 $RM out/* && rmdir out
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8769 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8774 hard_links="nottested"
8775 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8776 # do not overwrite the value of need_locks provided by the user
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8778 $as_echo_n "checking if we can lock with hard links... " >&6; }
8781 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8783 ln conftest.a conftest.b 2>&5 || hard_links=no
8784 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8786 $as_echo "$hard_links" >&6; }
8787 if test "$hard_links" = no; then
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8789 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8802 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8805 allow_undefined_flag=
8806 always_export_symbols=no
8808 archive_expsym_cmds=
8809 compiler_needs_object=no
8810 enable_shared_with_static_runtimes=no
8811 export_dynamic_flag_spec=
8812 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8813 hardcode_automatic=no
8815 hardcode_direct_absolute=no
8816 hardcode_libdir_flag_spec=
8817 hardcode_libdir_separator=
8819 hardcode_shlibpath_var=unsupported
8821 link_all_deplibs=unknown
8824 old_archive_from_new_cmds=
8825 old_archive_from_expsyms_cmds=
8826 thread_safe_flag_spec=
8827 whole_archive_flag_spec=
8828 # include_expsyms should be a list of space-separated symbols to be *always*
8829 # included in the symbol list
8831 # exclude_expsyms can be an extended regexp of symbols to exclude
8832 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8833 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8834 # as well as any symbol that contains `d'.
8835 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8836 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8837 # platforms (ab)use it in PIC code, but their linkers get confused if
8838 # the symbol is explicitly referenced. Since portable code cannot
8839 # rely on this symbol name, it's probably fine to never include it in
8840 # preloaded symbol tables.
8841 # Exclude shared library initialization/finalization symbols.
8842 extract_expsyms_cmds=
8845 cygwin* | mingw* | pw32* | cegcc*)
8846 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8847 # When not using gcc, we currently assume that we are using
8848 # Microsoft Visual C++.
8849 if test "$GCC" != yes; then
8854 # we just hope/assume this is gcc and not c89 (= MSVC++)
8860 linux* | k*bsd*-gnu | gnu*)
8867 # On some targets, GNU ld is compatible enough with the native linker
8868 # that we're better off using the native interface for both.
8869 lt_use_gnu_ld_interface=no
8870 if test "$with_gnu_ld" = yes; then
8873 # The AIX port of GNU ld has always aspired to compatibility
8874 # with the native linker. However, as the warning in the GNU ld
8875 # block says, versions before 2.19.5* couldn't really create working
8876 # shared libraries, regardless of the interface used.
8877 case `$LD -v 2>&1` in
8878 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8879 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8880 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8882 lt_use_gnu_ld_interface=yes
8887 lt_use_gnu_ld_interface=yes
8892 if test "$lt_use_gnu_ld_interface" = yes; then
8893 # If archive_cmds runs LD, not CC, wlarc should be empty
8896 # Set some defaults for GNU ld with shared library support. These
8897 # are reset later if shared libraries are not supported. Putting them
8898 # here allows them to be overridden if necessary.
8899 runpath_var=LD_RUN_PATH
8900 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8901 export_dynamic_flag_spec='${wl}--export-dynamic'
8902 # ancient GNU ld didn't support --whole-archive et. al.
8903 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8904 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8906 whole_archive_flag_spec=
8908 supports_anon_versioning=no
8909 case `$LD -v 2>&1` in
8910 *GNU\ gold*) supports_anon_versioning=yes ;;
8911 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8912 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8913 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8914 *\ 2.11.*) ;; # other 2.11 versions
8915 *) supports_anon_versioning=yes ;;
8918 # See if GNU ld supports shared libraries.
8921 # On AIX/PPC, the GNU linker is very broken
8922 if test "$host_cpu" != ia64; then
8926 *** Warning: the GNU linker, at least up to release 2.19, is reported
8927 *** to be unable to reliably create shared libraries on AIX.
8928 *** Therefore, libtool is disabling shared libraries support. If you
8929 *** really care for shared libraries, you may want to install binutils
8930 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8931 *** You will then need to restart the configuration process.
8940 # see comment about AmigaOS4 .so support
8941 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8942 archive_expsym_cmds=''
8945 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)'
8946 hardcode_libdir_flag_spec='-L$libdir'
8947 hardcode_minus_L=yes
8953 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8954 allow_undefined_flag=unsupported
8955 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8956 # support --undefined. This deserves some investigation. FIXME
8957 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8963 cygwin* | mingw* | pw32* | cegcc*)
8964 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8965 # as there is no search path for DLLs.
8966 hardcode_libdir_flag_spec='-L$libdir'
8967 export_dynamic_flag_spec='${wl}--export-all-symbols'
8968 allow_undefined_flag=unsupported
8969 always_export_symbols=no
8970 enable_shared_with_static_runtimes=yes
8971 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'
8972 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8974 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8975 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8976 # If the export-symbols file already is a .def file (1st line
8977 # is EXPORTS), use it as is; otherwise, prepend...
8978 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8979 cp $export_symbols $output_objdir/$soname.def;
8981 echo EXPORTS > $output_objdir/$soname.def;
8982 cat $export_symbols >> $output_objdir/$soname.def;
8984 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8991 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8992 link_all_deplibs=yes
8997 hardcode_shlibpath_var=no
8998 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8999 export_dynamic_flag_spec='${wl}-E'
9000 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9001 # Instead, shared libraries are loaded at an image base (0x10000000 by
9002 # default) and relocated if they conflict, which is a slow very memory
9003 # consuming and fragmenting process. To avoid this, we pick a random,
9004 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9005 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9006 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9007 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'
9010 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9012 if test "$host_os" = linux-dietlibc; then
9013 case $cc_basename in
9014 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9017 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9018 && test "$tmp_diet" = no
9020 tmp_addflag=' $pic_flag'
9021 tmp_sharedflag='-shared'
9022 case $cc_basename,$host_cpu in
9023 pgcc*) # Portland Group C compiler
9024 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'
9025 tmp_addflag=' $pic_flag'
9027 pgf77* | pgf90* | pgf95* | pgfortran*)
9028 # Portland Group f77 and f90 compilers
9029 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'
9030 tmp_addflag=' $pic_flag -Mnomain' ;;
9031 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9032 tmp_addflag=' -i_dynamic' ;;
9033 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9034 tmp_addflag=' -i_dynamic -nofor_main' ;;
9035 ifc* | ifort*) # Intel Fortran compiler
9036 tmp_addflag=' -nofor_main' ;;
9037 lf95*) # Lahey Fortran 8.1
9038 whole_archive_flag_spec=
9039 tmp_sharedflag='--shared' ;;
9040 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9041 tmp_sharedflag='-qmkshrobj'
9043 nvcc*) # Cuda Compiler Driver 2.2
9044 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'
9045 compiler_needs_object=yes
9048 case `$CC -V 2>&1 | sed 5q` in
9049 *Sun\ C*) # Sun C 5.9
9050 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'
9051 compiler_needs_object=yes
9052 tmp_sharedflag='-G' ;;
9053 *Sun\ F*) # Sun Fortran 8.3
9054 tmp_sharedflag='-G' ;;
9056 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9058 if test "x$supports_anon_versioning" = xyes; then
9059 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9060 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9061 echo "local: *; };" >> $output_objdir/$libname.ver~
9062 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9065 case $cc_basename in
9066 xlf* | bgf* | bgxlf* | mpixlf*)
9067 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9068 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9069 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9070 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9071 if test "x$supports_anon_versioning" = xyes; then
9072 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9073 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9074 echo "local: *; };" >> $output_objdir/$libname.ver~
9075 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9084 netbsd* | netbsdelf*-gnu)
9085 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9086 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9089 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9090 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9095 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9099 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9100 *** create shared libraries on Solaris systems. Therefore, libtool
9101 *** is disabling shared libraries support. We urge you to upgrade GNU
9102 *** binutils to release 2.9.1 or newer. Another option is to modify
9103 *** your PATH or compiler configuration so that the native linker is
9104 *** used, and then restart.
9107 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9108 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9109 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9115 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9116 case `$LD -v 2>&1` in
9117 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9121 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9122 *** reliably create shared libraries on SCO systems. Therefore, libtool
9123 *** is disabling shared libraries support. We urge you to upgrade GNU
9124 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9125 *** your PATH or compiler configuration so that the native linker is
9126 *** used, and then restart.
9131 # For security reasons, it is highly recommended that you always
9132 # use absolute paths for naming shared libraries, and exclude the
9133 # DT_RUNPATH tag from executables and libraries. But doing so
9134 # requires that you compile everything twice, which is a pain.
9135 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9136 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9137 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9138 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9147 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9150 hardcode_shlibpath_var=no
9154 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9155 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9156 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9163 if test "$ld_shlibs" = no; then
9165 hardcode_libdir_flag_spec=
9166 export_dynamic_flag_spec=
9167 whole_archive_flag_spec=
9170 # PORTME fill in a description of your system's linker (not GNU ld)
9173 allow_undefined_flag=unsupported
9174 always_export_symbols=yes
9175 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'
9176 # Note: this linker hardcodes the directories in LIBPATH if there
9177 # are no directories specified by -L.
9178 hardcode_minus_L=yes
9179 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9180 # Neither direct hardcoding nor static linking is supported with a
9182 hardcode_direct=unsupported
9187 if test "$host_cpu" = ia64; then
9188 # On IA64, the linker does run time linking by default, so we don't
9189 # have to do anything special.
9190 aix_use_runtimelinking=no
9191 exp_sym_flag='-Bexport'
9194 # If we're using GNU nm, then we don't want the "-C" option.
9195 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9196 # Also, AIX nm treats weak defined symbols like other global
9197 # defined symbols, whereas GNU nm marks them as "W".
9198 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9199 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'
9201 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'
9203 aix_use_runtimelinking=no
9205 # Test if we are trying to use run time linking or normal
9206 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9207 # need to do runtime linking.
9208 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9209 for ld_flag in $LDFLAGS; do
9210 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9211 aix_use_runtimelinking=yes
9218 exp_sym_flag='-bexport'
9219 no_entry_flag='-bnoentry'
9222 # When large executables or shared objects are built, AIX ld can
9223 # have problems creating the table of contents. If linking a library
9224 # or program results in "error TOC overflow" add -mminimal-toc to
9225 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9226 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9230 hardcode_direct_absolute=yes
9231 hardcode_libdir_separator=':'
9232 link_all_deplibs=yes
9233 file_list_spec='${wl}-f,'
9235 if test "$GCC" = yes; then
9236 case $host_os in aix4.[012]|aix4.[012].*)
9237 # We only want to do this on AIX 4.2 and lower, the check
9238 # below for broken collect2 doesn't work under 4.3+
9239 collect2name=`${CC} -print-prog-name=collect2`
9240 if test -f "$collect2name" &&
9241 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9243 # We have reworked collect2
9246 # We have old collect2
9247 hardcode_direct=unsupported
9248 # It fails to find uninstalled libraries when the uninstalled
9249 # path is not listed in the libpath. Setting hardcode_minus_L
9250 # to unsupported forces relinking
9251 hardcode_minus_L=yes
9252 hardcode_libdir_flag_spec='-L$libdir'
9253 hardcode_libdir_separator=
9257 shared_flag='-shared'
9258 if test "$aix_use_runtimelinking" = yes; then
9259 shared_flag="$shared_flag "'${wl}-G'
9264 if test "$host_cpu" = ia64; then
9265 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9266 # chokes on -Wl,-G. The following line is correct:
9269 if test "$aix_use_runtimelinking" = yes; then
9270 shared_flag='${wl}-G'
9272 shared_flag='${wl}-bM:SRE'
9277 export_dynamic_flag_spec='${wl}-bexpall'
9278 # It seems that -bexpall does not export symbols beginning with
9279 # underscore (_), so it is better to generate a list of symbols to export.
9280 always_export_symbols=yes
9281 if test "$aix_use_runtimelinking" = yes; then
9282 # Warning - without using the other runtime loading flags (-brtl),
9283 # -berok will link without error, but may produce a broken library.
9284 allow_undefined_flag='-berok'
9285 # Determine the default libpath from the value encoded in an
9287 if test "${lt_cv_aix_libpath+set}" = set; then
9288 aix_libpath=$lt_cv_aix_libpath
9290 if ${lt_cv_aix_libpath_+:} false; then :
9291 $as_echo_n "(cached) " >&6
9293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9294 /* end confdefs.h. */
9304 if ac_fn_c_try_link "$LINENO"; then :
9306 lt_aix_libpath_sed='
9307 /Import File Strings/,/^$/ {
9309 s/^0 *\([^ ]*\) *$/\1/
9313 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9314 # Check for a 64-bit object if we didn't find anything.
9315 if test -z "$lt_cv_aix_libpath_"; then
9316 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9319 rm -f core conftest.err conftest.$ac_objext \
9320 conftest$ac_exeext conftest.$ac_ext
9321 if test -z "$lt_cv_aix_libpath_"; then
9322 lt_cv_aix_libpath_="/usr/lib:/lib"
9327 aix_libpath=$lt_cv_aix_libpath_
9330 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9331 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"
9333 if test "$host_cpu" = ia64; then
9334 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9335 allow_undefined_flag="-z nodefs"
9336 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"
9338 # Determine the default libpath from the value encoded in an
9340 if test "${lt_cv_aix_libpath+set}" = set; then
9341 aix_libpath=$lt_cv_aix_libpath
9343 if ${lt_cv_aix_libpath_+:} false; then :
9344 $as_echo_n "(cached) " >&6
9346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h. */
9357 if ac_fn_c_try_link "$LINENO"; then :
9359 lt_aix_libpath_sed='
9360 /Import File Strings/,/^$/ {
9362 s/^0 *\([^ ]*\) *$/\1/
9366 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9367 # Check for a 64-bit object if we didn't find anything.
9368 if test -z "$lt_cv_aix_libpath_"; then
9369 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9372 rm -f core conftest.err conftest.$ac_objext \
9373 conftest$ac_exeext conftest.$ac_ext
9374 if test -z "$lt_cv_aix_libpath_"; then
9375 lt_cv_aix_libpath_="/usr/lib:/lib"
9380 aix_libpath=$lt_cv_aix_libpath_
9383 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9384 # Warning - without using the other run time loading flags,
9385 # -berok will link without error, but may produce a broken library.
9386 no_undefined_flag=' ${wl}-bernotok'
9387 allow_undefined_flag=' ${wl}-berok'
9388 if test "$with_gnu_ld" = yes; then
9389 # We only use this code for GNU lds that support --whole-archive.
9390 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9392 # Exported symbols can be pulled into shared objects from archives
9393 whole_archive_flag_spec='$convenience'
9395 archive_cmds_need_lc=yes
9396 # This is similar to how AIX traditionally builds its shared libraries.
9397 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'
9405 # see comment about AmigaOS4 .so support
9406 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9407 archive_expsym_cmds=''
9410 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)'
9411 hardcode_libdir_flag_spec='-L$libdir'
9412 hardcode_minus_L=yes
9418 export_dynamic_flag_spec=-rdynamic
9421 cygwin* | mingw* | pw32* | cegcc*)
9422 # When not using gcc, we currently assume that we are using
9423 # Microsoft Visual C++.
9424 # hardcode_libdir_flag_spec is actually meaningless, as there is
9425 # no search path for DLLs.
9426 case $cc_basename in
9429 hardcode_libdir_flag_spec=' '
9430 allow_undefined_flag=unsupported
9431 always_export_symbols=yes
9433 # Tell ltmain to make .lib files, not .a files.
9435 # Tell ltmain to make .dll files, not .so files.
9437 # FIXME: Setting linknames here is a bad hack.
9438 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9439 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9440 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9442 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9444 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9446 # The linker will not automatically build a static lib if we build a DLL.
9447 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9448 enable_shared_with_static_runtimes=yes
9449 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9450 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9452 old_postinstall_cmds='chmod 644 $oldlib'
9453 postlink_cmds='lt_outputfile="@OUTPUT@"~
9454 lt_tool_outputfile="@TOOL_OUTPUT@"~
9455 case $lt_outputfile in
9458 lt_outputfile="$lt_outputfile.exe"
9459 lt_tool_outputfile="$lt_tool_outputfile.exe"
9462 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9463 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9464 $RM "$lt_outputfile.manifest";
9468 # Assume MSVC wrapper
9469 hardcode_libdir_flag_spec=' '
9470 allow_undefined_flag=unsupported
9471 # Tell ltmain to make .lib files, not .a files.
9473 # Tell ltmain to make .dll files, not .so files.
9475 # FIXME: Setting linknames here is a bad hack.
9476 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9477 # The linker will automatically build a .lib file if we build a DLL.
9478 old_archive_from_new_cmds='true'
9479 # FIXME: Should let the user specify the lib program.
9480 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9481 enable_shared_with_static_runtimes=yes
9486 darwin* | rhapsody*)
9489 archive_cmds_need_lc=no
9491 hardcode_automatic=yes
9492 hardcode_shlibpath_var=unsupported
9493 if test "$lt_cv_ld_force_load" = "yes"; then
9494 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\"`'
9497 whole_archive_flag_spec=''
9499 link_all_deplibs=yes
9500 allow_undefined_flag="$_lt_dar_allow_undefined"
9501 case $cc_basename in
9502 ifort*) _lt_dar_can_shared=yes ;;
9503 *) _lt_dar_can_shared=$GCC ;;
9505 if test "$_lt_dar_can_shared" = "yes"; then
9506 output_verbose_link_cmd=func_echo_all
9507 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9508 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9509 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}"
9510 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}"
9519 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9520 hardcode_libdir_flag_spec='-L$libdir'
9521 hardcode_shlibpath_var=no
9524 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9525 # support. Future versions do this automatically, but an explicit c++rt0.o
9526 # does not break anything, and helps significantly (at the cost of a little
9529 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9530 hardcode_libdir_flag_spec='-R$libdir'
9532 hardcode_shlibpath_var=no
9535 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9537 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9539 hardcode_minus_L=yes
9540 hardcode_shlibpath_var=no
9543 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9544 freebsd* | dragonfly*)
9545 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9546 hardcode_libdir_flag_spec='-R$libdir'
9548 hardcode_shlibpath_var=no
9552 if test "$GCC" = yes; then
9553 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'
9555 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'
9557 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9558 hardcode_libdir_separator=:
9561 # hardcode_minus_L: Not really in the search PATH,
9562 # but as the default location of the library.
9563 hardcode_minus_L=yes
9564 export_dynamic_flag_spec='${wl}-E'
9568 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9569 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9571 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9573 if test "$with_gnu_ld" = no; then
9574 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9575 hardcode_libdir_separator=:
9577 hardcode_direct_absolute=yes
9578 export_dynamic_flag_spec='${wl}-E'
9579 # hardcode_minus_L: Not really in the search PATH,
9580 # but as the default location of the library.
9581 hardcode_minus_L=yes
9586 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9589 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9592 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9595 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9601 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9604 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9608 # Older versions of the 11.00 compiler do not understand -b yet
9609 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9611 $as_echo_n "checking if $CC understands -b... " >&6; }
9612 if ${lt_cv_prog_compiler__b+:} false; then :
9613 $as_echo_n "(cached) " >&6
9615 lt_cv_prog_compiler__b=no
9616 save_LDFLAGS="$LDFLAGS"
9617 LDFLAGS="$LDFLAGS -b"
9618 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9619 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9620 # The linker can only warn and ignore the option if not recognized
9621 # So say no if there are warnings
9622 if test -s conftest.err; then
9623 # Append any errors to the config.log.
9624 cat conftest.err 1>&5
9625 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9626 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9627 if diff conftest.exp conftest.er2 >/dev/null; then
9628 lt_cv_prog_compiler__b=yes
9631 lt_cv_prog_compiler__b=yes
9635 LDFLAGS="$save_LDFLAGS"
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9639 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9641 if test x"$lt_cv_prog_compiler__b" = xyes; then
9642 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9644 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9650 if test "$with_gnu_ld" = no; then
9651 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9652 hardcode_libdir_separator=:
9657 hardcode_shlibpath_var=no
9661 hardcode_direct_absolute=yes
9662 export_dynamic_flag_spec='${wl}-E'
9664 # hardcode_minus_L: Not really in the search PATH,
9665 # but as the default location of the library.
9666 hardcode_minus_L=yes
9672 irix5* | irix6* | nonstopux*)
9673 if test "$GCC" = yes; then
9674 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'
9675 # Try to use the -exported_symbol ld option, if it does not
9676 # work, assume that -exports_file does not work either and
9677 # implicitly export all symbols.
9678 # This should be the same for all languages, so no per-tag cache variable.
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9680 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9681 if ${lt_cv_irix_exported_symbol+:} false; then :
9682 $as_echo_n "(cached) " >&6
9684 save_LDFLAGS="$LDFLAGS"
9685 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9687 /* end confdefs.h. */
9688 int foo (void) { return 0; }
9690 if ac_fn_c_try_link "$LINENO"; then :
9691 lt_cv_irix_exported_symbol=yes
9693 lt_cv_irix_exported_symbol=no
9695 rm -f core conftest.err conftest.$ac_objext \
9696 conftest$ac_exeext conftest.$ac_ext
9697 LDFLAGS="$save_LDFLAGS"
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9700 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9701 if test "$lt_cv_irix_exported_symbol" = yes; then
9702 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'
9705 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'
9706 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'
9708 archive_cmds_need_lc='no'
9709 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9710 hardcode_libdir_separator=:
9712 link_all_deplibs=yes
9715 netbsd* | netbsdelf*-gnu)
9716 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9717 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9719 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9721 hardcode_libdir_flag_spec='-R$libdir'
9723 hardcode_shlibpath_var=no
9727 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9729 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9730 hardcode_libdir_separator=:
9731 hardcode_shlibpath_var=no
9738 if test -f /usr/libexec/ld.so; then
9740 hardcode_shlibpath_var=no
9741 hardcode_direct_absolute=yes
9742 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9743 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9744 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9745 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9746 export_dynamic_flag_spec='${wl}-E'
9749 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9750 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9751 hardcode_libdir_flag_spec='-R$libdir'
9754 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9755 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9765 hardcode_libdir_flag_spec='-L$libdir'
9766 hardcode_minus_L=yes
9767 allow_undefined_flag=unsupported
9768 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'
9769 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9773 if test "$GCC" = yes; then
9774 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9775 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'
9777 allow_undefined_flag=' -expect_unresolved \*'
9778 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'
9780 archive_cmds_need_lc='no'
9781 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9782 hardcode_libdir_separator=:
9785 osf4* | osf5*) # as osf3* with the addition of -msym flag
9786 if test "$GCC" = yes; then
9787 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9788 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'
9789 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9791 allow_undefined_flag=' -expect_unresolved \*'
9792 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'
9793 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~
9794 $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'
9796 # Both c and cxx compiler support -rpath directly
9797 hardcode_libdir_flag_spec='-rpath $libdir'
9799 archive_cmds_need_lc='no'
9800 hardcode_libdir_separator=:
9804 no_undefined_flag=' -z defs'
9805 if test "$GCC" = yes; then
9807 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9808 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9809 $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'
9811 case `$CC -V 2>&1` in
9814 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9815 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9816 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9820 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9821 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9822 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9826 hardcode_libdir_flag_spec='-R$libdir'
9827 hardcode_shlibpath_var=no
9829 solaris2.[0-5] | solaris2.[0-5].*) ;;
9831 # The compiler driver will combine and reorder linker options,
9832 # but understands `-z linker_flag'. GCC discards it without `$wl',
9833 # but is careful enough not to reorder.
9834 # Supported since Solaris 2.6 (maybe 2.5.1?)
9835 if test "$GCC" = yes; then
9836 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9838 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9842 link_all_deplibs=yes
9846 if test "x$host_vendor" = xsequent; then
9847 # Use $CC to link under sequent, because it throws in some extra .o
9848 # files that make .init and .fini sections work.
9849 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9851 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9853 hardcode_libdir_flag_spec='-L$libdir'
9855 hardcode_minus_L=yes
9856 hardcode_shlibpath_var=no
9860 case $host_vendor in
9862 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9863 hardcode_direct=yes # is this really true???
9866 ## LD is ld it makes a PLAMLIB
9867 ## CC just makes a GrossModule.
9868 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9869 reload_cmds='$CC -r -o $output$reload_objs'
9873 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9874 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9877 runpath_var='LD_RUN_PATH'
9878 hardcode_shlibpath_var=no
9882 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9883 hardcode_shlibpath_var=no
9884 export_dynamic_flag_spec='-Bexport'
9888 if test -d /usr/nec; then
9889 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9890 hardcode_shlibpath_var=no
9891 runpath_var=LD_RUN_PATH
9892 hardcode_runpath_var=yes
9897 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9898 no_undefined_flag='${wl}-z,text'
9899 archive_cmds_need_lc=no
9900 hardcode_shlibpath_var=no
9901 runpath_var='LD_RUN_PATH'
9903 if test "$GCC" = yes; then
9904 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9905 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9907 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9908 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9912 sysv5* | sco3.2v5* | sco5v6*)
9913 # Note: We can NOT use -z defs as we might desire, because we do not
9914 # link with -lc, and that would cause any symbols used from libc to
9915 # always be unresolved, which means just about no library would
9916 # ever link correctly. If we're not using GNU ld we use -z text
9917 # though, which does catch some bad symbols but isn't as heavy-handed
9919 no_undefined_flag='${wl}-z,text'
9920 allow_undefined_flag='${wl}-z,nodefs'
9921 archive_cmds_need_lc=no
9922 hardcode_shlibpath_var=no
9923 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9924 hardcode_libdir_separator=':'
9925 link_all_deplibs=yes
9926 export_dynamic_flag_spec='${wl}-Bexport'
9927 runpath_var='LD_RUN_PATH'
9929 if test "$GCC" = yes; then
9930 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9931 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9933 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9934 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9939 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9940 hardcode_libdir_flag_spec='-L$libdir'
9941 hardcode_shlibpath_var=no
9949 if test x$host_vendor = xsni; then
9951 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9952 export_dynamic_flag_spec='${wl}-Blargedynsym'
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9959 $as_echo "$ld_shlibs" >&6; }
9960 test "$ld_shlibs" = no && can_build_shared=no
9962 with_gnu_ld=$with_gnu_ld
9979 # Do we need to explicitly link libc?
9981 case "x$archive_cmds_need_lc" in
9983 # Assume -lc should be added
9984 archive_cmds_need_lc=yes
9986 if test "$enable_shared" = yes && test "$GCC" = yes; then
9987 case $archive_cmds in
9989 # FIXME: we may have to deal with multi-command sequences.
9992 # Test whether the compiler implicitly links with -lc since on some
9993 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9994 # to ld, don't add -lc before -lgcc.
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9996 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9997 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9998 $as_echo_n "(cached) " >&6
10001 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10004 (eval $ac_compile) 2>&5
10006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10007 test $ac_status = 0; } 2>conftest.err; then
10010 libobjs=conftest.$ac_objext
10012 wl=$lt_prog_compiler_wl
10013 pic_flag=$lt_prog_compiler_pic
10019 lt_save_allow_undefined_flag=$allow_undefined_flag
10020 allow_undefined_flag=
10021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10022 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10025 test $ac_status = 0; }
10027 lt_cv_archive_cmds_need_lc=no
10029 lt_cv_archive_cmds_need_lc=yes
10031 allow_undefined_flag=$lt_save_allow_undefined_flag
10033 cat conftest.err 1>&5
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10039 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10040 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10199 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10201 if test "$GCC" = yes; then
10203 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10204 *) lt_awk_arg="/^libraries:/" ;;
10207 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10208 *) lt_sed_strip_eq="s,=/,/,g" ;;
10210 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10211 case $lt_search_path_spec in
10213 # if the path contains ";" then we assume it to be the separator
10214 # otherwise default to the standard path separator (i.e. ":") - it is
10215 # assumed that no part of a normal pathname contains ";" but that should
10216 # okay in the real world where ";" in dirpaths is itself problematic.
10217 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10220 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10223 # Ok, now we have the path, separated by spaces, we can step through it
10224 # and add multilib dir if necessary.
10225 lt_tmp_lt_search_path_spec=
10226 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10227 for lt_sys_path in $lt_search_path_spec; do
10228 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10229 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10231 test -d "$lt_sys_path" && \
10232 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10235 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10236 BEGIN {RS=" "; FS="/|\n";} {
10239 for (lt_i = NF; lt_i > 0; lt_i--) {
10240 if ($lt_i != "" && $lt_i != ".") {
10241 if ($lt_i == "..") {
10244 if (lt_count == 0) {
10245 lt_foo="/" $lt_i lt_foo;
10252 if (lt_foo != "") { lt_freq[lt_foo]++; }
10253 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10255 # AWK program above erroneously prepends '/' to C:/dos/paths
10258 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10259 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10261 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10263 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10265 library_names_spec=
10266 libname_spec='lib$name'
10270 postuninstall_cmds=
10274 shlibpath_overrides_runpath=unknown
10276 dynamic_linker="$host_os ld.so"
10277 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10278 need_lib_prefix=unknown
10279 hardcode_into_libs=no
10281 # when you set need_version to no, make sure it does not cause -set_version
10282 # flags to be left without arguments
10283 need_version=unknown
10287 version_type=linux # correct to gnu/linux during the next big refactor
10288 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10289 shlibpath_var=LIBPATH
10291 # AIX 3 has no versioning support, so we append a major version to the name.
10292 soname_spec='${libname}${release}${shared_ext}$major'
10296 version_type=linux # correct to gnu/linux during the next big refactor
10299 hardcode_into_libs=yes
10300 if test "$host_cpu" = ia64; then
10301 # AIX 5 supports IA64
10302 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10303 shlibpath_var=LD_LIBRARY_PATH
10305 # With GCC up to 2.95.x, collect2 would create an import file
10306 # for dependence libraries. The import file would start with
10307 # the line `#! .'. This would cause the generated library to
10308 # depend on `.', always an invalid library. This was fixed in
10309 # development snapshots of GCC prior to 3.0.
10311 aix4 | aix4.[01] | aix4.[01].*)
10312 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10314 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10317 can_build_shared=no
10321 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10322 # soname into executable. Probably we can add versioning support to
10323 # collect2, so additional links can be useful in future.
10324 if test "$aix_use_runtimelinking" = yes; then
10325 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10326 # instead of lib<name>.a to let people know that these are not
10327 # typical AIX shared libraries.
10328 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10330 # We preserve .a as extension for shared libraries through AIX4.2
10331 # and later when we are not doing run time linking.
10332 library_names_spec='${libname}${release}.a $libname.a'
10333 soname_spec='${libname}${release}${shared_ext}$major'
10335 shlibpath_var=LIBPATH
10342 # Since July 2007 AmigaOS4 officially supports .so libraries.
10343 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10347 library_names_spec='$libname.ixlibrary $libname.a'
10348 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10349 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'
10355 library_names_spec='${libname}${shared_ext}'
10356 dynamic_linker="$host_os ld.so"
10357 shlibpath_var=LIBRARY_PATH
10361 version_type=linux # correct to gnu/linux during the next big refactor
10363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10364 soname_spec='${libname}${release}${shared_ext}$major'
10365 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10366 shlibpath_var=LD_LIBRARY_PATH
10367 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10368 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10369 # the default ld.so.conf also contains /usr/contrib/lib and
10370 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10371 # libtool to hard-code these into programs
10374 cygwin* | mingw* | pw32* | cegcc*)
10375 version_type=windows
10380 case $GCC,$cc_basename in
10383 library_names_spec='$libname.dll.a'
10384 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10385 postinstall_cmds='base_file=`basename \${file}`~
10386 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10387 dldir=$destdir/`dirname \$dlpath`~
10388 test -d \$dldir || mkdir -p \$dldir~
10389 $install_prog $dir/$dlname \$dldir/$dlname~
10390 chmod a+x \$dldir/$dlname~
10391 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10392 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10394 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10395 dlpath=$dir/\$dldll~
10397 shlibpath_overrides_runpath=yes
10401 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10402 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10404 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10407 # MinGW DLLs use traditional 'lib' prefix
10408 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10411 # pw32 DLLs use 'pw' prefix rather than 'lib'
10412 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10415 dynamic_linker='Win32 ld.exe'
10420 libname_spec='$name'
10421 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10422 library_names_spec='${libname}.dll.lib'
10426 sys_lib_search_path_spec=
10429 for lt_path in $LIB
10432 # Let DOS variable expansion print the short 8.3 style file name.
10433 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10434 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10437 # Convert to MSYS style.
10438 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10441 # Convert to unix form, then to dos form, then back to unix form
10442 # but this time dos style (no spaces!) so that the unix form looks
10443 # like /cygdrive/c/PROGRA~1:/cygdr...
10444 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10445 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10446 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10449 sys_lib_search_path_spec="$LIB"
10450 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10451 # It is most probably a Windows format PATH.
10452 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10454 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10456 # FIXME: find the short name or the path components, as spaces are
10457 # common. (e.g. "Program Files" -> "PROGRA~1")
10461 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10462 postinstall_cmds='base_file=`basename \${file}`~
10463 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10464 dldir=$destdir/`dirname \$dlpath`~
10465 test -d \$dldir || mkdir -p \$dldir~
10466 $install_prog $dir/$dlname \$dldir/$dlname'
10467 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10468 dlpath=$dir/\$dldll~
10470 shlibpath_overrides_runpath=yes
10471 dynamic_linker='Win32 link.exe'
10475 # Assume MSVC wrapper
10476 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10477 dynamic_linker='Win32 ld.exe'
10480 # FIXME: first we should search . and the directory the executable is in
10484 darwin* | rhapsody*)
10485 dynamic_linker="$host_os dyld"
10486 version_type=darwin
10489 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10490 soname_spec='${libname}${release}${major}$shared_ext'
10491 shlibpath_overrides_runpath=yes
10492 shlibpath_var=DYLD_LIBRARY_PATH
10493 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10495 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10496 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10500 version_type=linux # correct to gnu/linux during the next big refactor
10503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10504 soname_spec='${libname}${release}${shared_ext}$major'
10505 shlibpath_var=LD_LIBRARY_PATH
10508 freebsd* | dragonfly*)
10509 # DragonFly does not have aout. When/if they implement a new
10510 # versioning mechanism, adjust this.
10511 if test -x /usr/bin/objformat; then
10512 objformat=`/usr/bin/objformat`
10515 freebsd[23].*) objformat=aout ;;
10516 *) objformat=elf ;;
10519 version_type=freebsd-$objformat
10520 case $version_type in
10522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10527 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10531 shlibpath_var=LD_LIBRARY_PATH
10534 shlibpath_overrides_runpath=yes
10536 freebsd3.[01]* | freebsdelf3.[01]*)
10537 shlibpath_overrides_runpath=yes
10538 hardcode_into_libs=yes
10540 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10541 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10542 shlibpath_overrides_runpath=no
10543 hardcode_into_libs=yes
10545 *) # from 4.6 on, and DragonFly
10546 shlibpath_overrides_runpath=yes
10547 hardcode_into_libs=yes
10553 version_type=linux # correct to gnu/linux during the next big refactor
10556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10557 soname_spec='${libname}${release}${shared_ext}$major'
10558 shlibpath_var=LD_LIBRARY_PATH
10559 shlibpath_overrides_runpath=no
10560 hardcode_into_libs=yes
10564 version_type=linux # correct to gnu/linux during the next big refactor
10567 dynamic_linker="$host_os runtime_loader"
10568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10569 soname_spec='${libname}${release}${shared_ext}$major'
10570 shlibpath_var=LIBRARY_PATH
10571 shlibpath_overrides_runpath=yes
10572 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10573 hardcode_into_libs=yes
10576 hpux9* | hpux10* | hpux11*)
10577 # Give a soname corresponding to the major version so that dld.sl refuses to
10578 # link against other versions.
10585 hardcode_into_libs=yes
10586 dynamic_linker="$host_os dld.so"
10587 shlibpath_var=LD_LIBRARY_PATH
10588 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10590 soname_spec='${libname}${release}${shared_ext}$major'
10591 if test "X$HPUX_IA64_MODE" = X32; then
10592 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10594 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10596 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10600 hardcode_into_libs=yes
10601 dynamic_linker="$host_os dld.sl"
10602 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10603 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10605 soname_spec='${libname}${release}${shared_ext}$major'
10606 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10607 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10611 dynamic_linker="$host_os dld.sl"
10612 shlibpath_var=SHLIB_PATH
10613 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10614 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10615 soname_spec='${libname}${release}${shared_ext}$major'
10618 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10619 postinstall_cmds='chmod 555 $lib'
10620 # or fails outright, so override atomically:
10621 install_override_mode=555
10625 version_type=linux # correct to gnu/linux during the next big refactor
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10629 soname_spec='${libname}${release}${shared_ext}$major'
10630 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10631 shlibpath_var=LD_LIBRARY_PATH
10632 shlibpath_overrides_runpath=no
10633 hardcode_into_libs=yes
10636 irix5* | irix6* | nonstopux*)
10638 nonstopux*) version_type=nonstopux ;;
10640 if test "$lt_cv_prog_gnu_ld" = yes; then
10641 version_type=linux # correct to gnu/linux during the next big refactor
10648 soname_spec='${libname}${release}${shared_ext}$major'
10649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10651 irix5* | nonstopux*)
10652 libsuff= shlibsuff=
10655 case $LD in # libtool.m4 will add one of these switches to LD
10656 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10657 libsuff= shlibsuff= libmagic=32-bit;;
10658 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10659 libsuff=32 shlibsuff=N32 libmagic=N32;;
10660 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10661 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10662 *) libsuff= shlibsuff= libmagic=never-match;;
10666 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10667 shlibpath_overrides_runpath=no
10668 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10669 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10670 hardcode_into_libs=yes
10673 # No shared lib support for Linux oldld, aout, or coff.
10674 linux*oldld* | linux*aout* | linux*coff*)
10678 # This must be glibc/ELF.
10679 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10680 version_type=linux # correct to gnu/linux during the next big refactor
10683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10684 soname_spec='${libname}${release}${shared_ext}$major'
10685 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10686 shlibpath_var=LD_LIBRARY_PATH
10687 shlibpath_overrides_runpath=no
10689 # Some binutils ld are patched to set DT_RUNPATH
10690 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10691 $as_echo_n "(cached) " >&6
10693 lt_cv_shlibpath_overrides_runpath=no
10694 save_LDFLAGS=$LDFLAGS
10695 save_libdir=$libdir
10696 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10697 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10699 /* end confdefs.h. */
10709 if ac_fn_c_try_link "$LINENO"; then :
10710 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10711 lt_cv_shlibpath_overrides_runpath=yes
10714 rm -f core conftest.err conftest.$ac_objext \
10715 conftest$ac_exeext conftest.$ac_ext
10716 LDFLAGS=$save_LDFLAGS
10717 libdir=$save_libdir
10721 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10723 # This implies no fast_install, which is unacceptable.
10724 # Some rework will be needed to allow for fast_install
10725 # before this can be enabled.
10726 hardcode_into_libs=yes
10728 # Append ld.so.conf contents to the search path
10729 if test -f /etc/ld.so.conf; then
10730 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' ' '`
10731 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10734 # We used to test for /lib/ld.so.1 and disable shared libraries on
10735 # powerpc, because MkLinux only supported shared libraries with the
10736 # GNU dynamic linker. Since this was broken with cross compilers,
10737 # most powerpc-linux boxes support dynamic linking these days and
10738 # people can always --disable-shared, the test was removed, and we
10739 # assume the GNU/Linux dynamic linker is in use.
10740 dynamic_linker='GNU/Linux ld.so'
10747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10748 soname_spec='${libname}${release}${shared_ext}$major'
10749 shlibpath_var=LD_LIBRARY_PATH
10750 shlibpath_overrides_runpath=no
10751 hardcode_into_libs=yes
10752 dynamic_linker='NetBSD ld.elf_so'
10759 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10761 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10762 dynamic_linker='NetBSD (a.out) ld.so'
10764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10765 soname_spec='${libname}${release}${shared_ext}$major'
10766 dynamic_linker='NetBSD ld.elf_so'
10768 shlibpath_var=LD_LIBRARY_PATH
10769 shlibpath_overrides_runpath=yes
10770 hardcode_into_libs=yes
10774 version_type=linux # correct to gnu/linux during the next big refactor
10775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10776 shlibpath_var=LD_LIBRARY_PATH
10777 shlibpath_overrides_runpath=yes
10784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10785 soname_spec='${libname}${release}${shared_ext}$major'
10786 shlibpath_var=LD_LIBRARY_PATH
10787 shlibpath_overrides_runpath=no
10788 hardcode_into_libs=yes
10789 dynamic_linker='ldqnx.so'
10794 sys_lib_dlsearch_path_spec="/usr/lib"
10796 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10798 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10799 *) need_version=no ;;
10801 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10802 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10803 shlibpath_var=LD_LIBRARY_PATH
10804 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10806 openbsd2.[89] | openbsd2.[89].*)
10807 shlibpath_overrides_runpath=no
10810 shlibpath_overrides_runpath=yes
10814 shlibpath_overrides_runpath=yes
10819 libname_spec='$name'
10822 library_names_spec='$libname${shared_ext} $libname.a'
10823 dynamic_linker='OS/2 ld.exe'
10824 shlibpath_var=LIBPATH
10827 osf3* | osf4* | osf5*)
10831 soname_spec='${libname}${release}${shared_ext}$major'
10832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10833 shlibpath_var=LD_LIBRARY_PATH
10834 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10835 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10843 version_type=linux # correct to gnu/linux during the next big refactor
10846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10847 soname_spec='${libname}${release}${shared_ext}$major'
10848 shlibpath_var=LD_LIBRARY_PATH
10849 shlibpath_overrides_runpath=yes
10850 hardcode_into_libs=yes
10851 # ldd complains unless libraries are executable
10852 postinstall_cmds='chmod +x $lib'
10857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10858 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10859 shlibpath_var=LD_LIBRARY_PATH
10860 shlibpath_overrides_runpath=yes
10861 if test "$with_gnu_ld" = yes; then
10868 version_type=linux # correct to gnu/linux during the next big refactor
10869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10870 soname_spec='${libname}${release}${shared_ext}$major'
10871 shlibpath_var=LD_LIBRARY_PATH
10872 case $host_vendor in
10874 shlibpath_overrides_runpath=no
10876 runpath_var=LD_RUN_PATH
10884 shlibpath_overrides_runpath=no
10885 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10891 if test -d /usr/nec ;then
10892 version_type=linux # correct to gnu/linux during the next big refactor
10893 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10894 soname_spec='$libname${shared_ext}.$major'
10895 shlibpath_var=LD_LIBRARY_PATH
10899 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10900 version_type=freebsd-elf
10903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10904 soname_spec='${libname}${release}${shared_ext}$major'
10905 shlibpath_var=LD_LIBRARY_PATH
10906 shlibpath_overrides_runpath=yes
10907 hardcode_into_libs=yes
10908 if test "$with_gnu_ld" = yes; then
10909 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10911 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10914 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10918 sys_lib_dlsearch_path_spec='/usr/lib'
10922 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10923 version_type=linux # correct to gnu/linux during the next big refactor
10926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10927 shlibpath_var=LD_LIBRARY_PATH
10928 shlibpath_overrides_runpath=no
10929 hardcode_into_libs=yes
10933 version_type=linux # correct to gnu/linux during the next big refactor
10934 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10935 soname_spec='${libname}${release}${shared_ext}$major'
10936 shlibpath_var=LD_LIBRARY_PATH
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10944 $as_echo "$dynamic_linker" >&6; }
10945 test "$dynamic_linker" = no && can_build_shared=no
10947 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10948 if test "$GCC" = yes; then
10949 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10952 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10953 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10955 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10956 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11051 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11053 if test -n "$hardcode_libdir_flag_spec" ||
11054 test -n "$runpath_var" ||
11055 test "X$hardcode_automatic" = "Xyes" ; then
11057 # We can hardcode non-existent directories.
11058 if test "$hardcode_direct" != no &&
11059 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11060 # have to relink, otherwise we might link with an installed library
11061 # when we should be linking with a yet-to-be-installed one
11062 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11063 test "$hardcode_minus_L" != no; then
11064 # Linking always hardcodes the temporary library directory.
11065 hardcode_action=relink
11067 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11068 hardcode_action=immediate
11071 # We cannot hardcode anything, or else we can only hardcode existing
11073 hardcode_action=unsupported
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11076 $as_echo "$hardcode_action" >&6; }
11078 if test "$hardcode_action" = relink ||
11079 test "$inherit_rpath" = yes; then
11080 # Fast installation is not supported
11081 enable_fast_install=no
11082 elif test "$shlibpath_overrides_runpath" = yes ||
11083 test "$enable_shared" = no; then
11084 # Fast installation is not necessary
11085 enable_fast_install=needless
11093 if test "x$enable_dlopen" != xyes; then
11094 enable_dlopen=unknown
11095 enable_dlopen_self=unknown
11096 enable_dlopen_self_static=unknown
11103 lt_cv_dlopen="load_add_on"
11105 lt_cv_dlopen_self=yes
11108 mingw* | pw32* | cegcc*)
11109 lt_cv_dlopen="LoadLibrary"
11114 lt_cv_dlopen="dlopen"
11119 # if libdl is installed we need to link against it
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11121 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11122 if ${ac_cv_lib_dl_dlopen+:} false; then :
11123 $as_echo_n "(cached) " >&6
11125 ac_check_lib_save_LIBS=$LIBS
11127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11130 /* Override any GCC internal prototype to avoid an error.
11131 Use char because int might match the return type of a GCC
11132 builtin and then its argument prototype would still apply. */
11145 if ac_fn_c_try_link "$LINENO"; then :
11146 ac_cv_lib_dl_dlopen=yes
11148 ac_cv_lib_dl_dlopen=no
11150 rm -f core conftest.err conftest.$ac_objext \
11151 conftest$ac_exeext conftest.$ac_ext
11152 LIBS=$ac_check_lib_save_LIBS
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11155 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11156 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11157 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11160 lt_cv_dlopen="dyld"
11162 lt_cv_dlopen_self=yes
11169 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11170 if test "x$ac_cv_func_shl_load" = xyes; then :
11171 lt_cv_dlopen="shl_load"
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11174 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11175 if ${ac_cv_lib_dld_shl_load+:} false; then :
11176 $as_echo_n "(cached) " >&6
11178 ac_check_lib_save_LIBS=$LIBS
11180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11181 /* end confdefs.h. */
11183 /* Override any GCC internal prototype to avoid an error.
11184 Use char because int might match the return type of a GCC
11185 builtin and then its argument prototype would still apply. */
11193 return shl_load ();
11198 if ac_fn_c_try_link "$LINENO"; then :
11199 ac_cv_lib_dld_shl_load=yes
11201 ac_cv_lib_dld_shl_load=no
11203 rm -f core conftest.err conftest.$ac_objext \
11204 conftest$ac_exeext conftest.$ac_ext
11205 LIBS=$ac_check_lib_save_LIBS
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11208 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11209 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11210 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11212 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11213 if test "x$ac_cv_func_dlopen" = xyes; then :
11214 lt_cv_dlopen="dlopen"
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11217 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11218 if ${ac_cv_lib_dl_dlopen+:} false; then :
11219 $as_echo_n "(cached) " >&6
11221 ac_check_lib_save_LIBS=$LIBS
11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11226 /* Override any GCC internal prototype to avoid an error.
11227 Use char because int might match the return type of a GCC
11228 builtin and then its argument prototype would still apply. */
11241 if ac_fn_c_try_link "$LINENO"; then :
11242 ac_cv_lib_dl_dlopen=yes
11244 ac_cv_lib_dl_dlopen=no
11246 rm -f core conftest.err conftest.$ac_objext \
11247 conftest$ac_exeext conftest.$ac_ext
11248 LIBS=$ac_check_lib_save_LIBS
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11251 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11252 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11253 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11256 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11257 if ${ac_cv_lib_svld_dlopen+:} false; then :
11258 $as_echo_n "(cached) " >&6
11260 ac_check_lib_save_LIBS=$LIBS
11261 LIBS="-lsvld $LIBS"
11262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11263 /* end confdefs.h. */
11265 /* Override any GCC internal prototype to avoid an error.
11266 Use char because int might match the return type of a GCC
11267 builtin and then its argument prototype would still apply. */
11280 if ac_fn_c_try_link "$LINENO"; then :
11281 ac_cv_lib_svld_dlopen=yes
11283 ac_cv_lib_svld_dlopen=no
11285 rm -f core conftest.err conftest.$ac_objext \
11286 conftest$ac_exeext conftest.$ac_ext
11287 LIBS=$ac_check_lib_save_LIBS
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11290 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11291 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11292 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11295 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11296 if ${ac_cv_lib_dld_dld_link+:} false; then :
11297 $as_echo_n "(cached) " >&6
11299 ac_check_lib_save_LIBS=$LIBS
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11304 /* Override any GCC internal prototype to avoid an error.
11305 Use char because int might match the return type of a GCC
11306 builtin and then its argument prototype would still apply. */
11314 return dld_link ();
11319 if ac_fn_c_try_link "$LINENO"; then :
11320 ac_cv_lib_dld_dld_link=yes
11322 ac_cv_lib_dld_dld_link=no
11324 rm -f core conftest.err conftest.$ac_objext \
11325 conftest$ac_exeext conftest.$ac_ext
11326 LIBS=$ac_check_lib_save_LIBS
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11329 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11330 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11331 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11352 if test "x$lt_cv_dlopen" != xno; then
11358 case $lt_cv_dlopen in
11360 save_CPPFLAGS="$CPPFLAGS"
11361 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11363 save_LDFLAGS="$LDFLAGS"
11364 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11367 LIBS="$lt_cv_dlopen_libs $LIBS"
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11370 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11371 if ${lt_cv_dlopen_self+:} false; then :
11372 $as_echo_n "(cached) " >&6
11374 if test "$cross_compiling" = yes; then :
11375 lt_cv_dlopen_self=cross
11377 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11378 lt_status=$lt_dlunknown
11379 cat > conftest.$ac_ext <<_LT_EOF
11380 #line $LINENO "configure"
11381 #include "confdefs.h"
11390 # define LT_DLGLOBAL RTLD_GLOBAL
11393 # define LT_DLGLOBAL DL_GLOBAL
11395 # define LT_DLGLOBAL 0
11399 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11400 find out it does not work in some platform. */
11401 #ifndef LT_DLLAZY_OR_NOW
11403 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11406 # define LT_DLLAZY_OR_NOW DL_LAZY
11409 # define LT_DLLAZY_OR_NOW RTLD_NOW
11412 # define LT_DLLAZY_OR_NOW DL_NOW
11414 # define LT_DLLAZY_OR_NOW 0
11421 /* When -fvisbility=hidden is used, assume the code has been annotated
11422 correspondingly for the symbols needed. */
11423 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11424 int fnord () __attribute__((visibility("default")));
11427 int fnord () { return 42; }
11430 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11431 int status = $lt_dlunknown;
11435 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11438 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11439 else puts (dlerror ());
11441 /* dlclose (self); */
11449 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11450 (eval $ac_link) 2>&5
11452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11453 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11454 (./conftest; exit; ) >&5 2>/dev/null
11456 case x$lt_status in
11457 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11458 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11459 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11462 # compilation failed
11463 lt_cv_dlopen_self=no
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11471 $as_echo "$lt_cv_dlopen_self" >&6; }
11473 if test "x$lt_cv_dlopen_self" = xyes; then
11474 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11476 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11477 if ${lt_cv_dlopen_self_static+:} false; then :
11478 $as_echo_n "(cached) " >&6
11480 if test "$cross_compiling" = yes; then :
11481 lt_cv_dlopen_self_static=cross
11483 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11484 lt_status=$lt_dlunknown
11485 cat > conftest.$ac_ext <<_LT_EOF
11486 #line $LINENO "configure"
11487 #include "confdefs.h"
11496 # define LT_DLGLOBAL RTLD_GLOBAL
11499 # define LT_DLGLOBAL DL_GLOBAL
11501 # define LT_DLGLOBAL 0
11505 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11506 find out it does not work in some platform. */
11507 #ifndef LT_DLLAZY_OR_NOW
11509 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11512 # define LT_DLLAZY_OR_NOW DL_LAZY
11515 # define LT_DLLAZY_OR_NOW RTLD_NOW
11518 # define LT_DLLAZY_OR_NOW DL_NOW
11520 # define LT_DLLAZY_OR_NOW 0
11527 /* When -fvisbility=hidden is used, assume the code has been annotated
11528 correspondingly for the symbols needed. */
11529 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11530 int fnord () __attribute__((visibility("default")));
11533 int fnord () { return 42; }
11536 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11537 int status = $lt_dlunknown;
11541 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11544 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11545 else puts (dlerror ());
11547 /* dlclose (self); */
11555 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11556 (eval $ac_link) 2>&5
11558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11559 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11560 (./conftest; exit; ) >&5 2>/dev/null
11562 case x$lt_status in
11563 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11564 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11565 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11568 # compilation failed
11569 lt_cv_dlopen_self_static=no
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11577 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11580 CPPFLAGS="$save_CPPFLAGS"
11581 LDFLAGS="$save_LDFLAGS"
11586 case $lt_cv_dlopen_self in
11587 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11588 *) enable_dlopen_self=unknown ;;
11591 case $lt_cv_dlopen_self_static in
11592 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11593 *) enable_dlopen_self_static=unknown ;;
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11616 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11617 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11618 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11619 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11621 $as_echo "yes" >&6; }
11623 # FIXME - insert some real tests, host_os isn't really good enough
11626 if test -n "$STRIP" ; then
11627 striplib="$STRIP -x"
11628 old_striplib="$STRIP -S"
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11630 $as_echo "yes" >&6; }
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11633 $as_echo "no" >&6; }
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11638 $as_echo "no" >&6; }
11654 # Report which library types will actually be built
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11656 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11658 $as_echo "$can_build_shared" >&6; }
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11661 $as_echo_n "checking whether to build shared libraries... " >&6; }
11662 test "$can_build_shared" = "no" && enable_shared=no
11664 # On AIX, shared libraries and static libraries use the same namespace, and
11665 # are all built from PIC.
11668 test "$enable_shared" = yes && enable_static=no
11669 if test -n "$RANLIB"; then
11670 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11671 postinstall_cmds='$RANLIB $lib'
11676 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11677 test "$enable_shared" = yes && enable_static=no
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11682 $as_echo "$enable_shared" >&6; }
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11685 $as_echo_n "checking whether to build static libraries... " >&6; }
11686 # Make sure either enable_shared or enable_static is yes.
11687 test "$enable_shared" = yes || enable_static=yes
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11689 $as_echo "$enable_static" >&6; }
11696 ac_cpp='$CPP $CPPFLAGS'
11697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11717 ac_config_commands="$ac_config_commands libtool"
11722 # Only expand once:
11726 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11727 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11731 cat >>confdefs.h <<_ACEOF
11736 cat >>confdefs.h <<_ACEOF
11741 cat >>confdefs.h <<_ACEOF
11746 cat >>confdefs.h <<_ACEOF
11750 version_info="8:4:7"
11754 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11755 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11759 ### Default options with respect to host
11764 requirement_embryo=""
11765 embryoincludedir="${datadir}/include"
11768 ### Additional options to configure
11773 have_embryo_cc="yes"
11776 # Check whether --enable-embryo-cc was given.
11777 if test "${enable_embryo_cc+set}" = set; then :
11778 enableval=$enable_embryo_cc;
11779 if test "x${enableval}" = "xyes" ; then
11780 have_embryo_cc="yes"
11782 have_embryo_cc="no"
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build embryo_cc binary" >&5
11789 $as_echo_n "checking whether to build embryo_cc binary... " >&6; }
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_embryo_cc" >&5
11791 $as_echo "$have_embryo_cc" >&6; }
11793 if test "x$have_embryo_cc" = "xyes"; then
11794 EMBRYO_CC_PRG=embryo_cc${EXEEXT}
11799 if test "x$have_embryo_cc" = "xyes"; then
11800 BUILD_EMBRYO_CC_TRUE=
11801 BUILD_EMBRYO_CC_FALSE='#'
11803 BUILD_EMBRYO_CC_TRUE='#'
11804 BUILD_EMBRYO_CC_FALSE=
11808 if test "x$have_embryo_cc" = "xyes"; then :
11815 ### Checks for programs
11817 ac_cpp='$CPP $CPPFLAGS'
11818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11821 if test -n "$ac_tool_prefix"; then
11822 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11823 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11825 $as_echo_n "checking for $ac_word... " >&6; }
11826 if ${ac_cv_prog_CC+:} false; then :
11827 $as_echo_n "(cached) " >&6
11829 if test -n "$CC"; then
11830 ac_cv_prog_CC="$CC" # Let the user override the test.
11832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11833 for as_dir in $PATH
11836 test -z "$as_dir" && as_dir=.
11837 for ac_exec_ext in '' $ac_executable_extensions; do
11838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11839 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11850 if test -n "$CC"; then
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11852 $as_echo "$CC" >&6; }
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11855 $as_echo "no" >&6; }
11860 if test -z "$ac_cv_prog_CC"; then
11862 # Extract the first word of "gcc", so it can be a program name with args.
11863 set dummy gcc; ac_word=$2
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11865 $as_echo_n "checking for $ac_word... " >&6; }
11866 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11867 $as_echo_n "(cached) " >&6
11869 if test -n "$ac_ct_CC"; then
11870 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11873 for as_dir in $PATH
11876 test -z "$as_dir" && as_dir=.
11877 for ac_exec_ext in '' $ac_executable_extensions; do
11878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11879 ac_cv_prog_ac_ct_CC="gcc"
11880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11889 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11890 if test -n "$ac_ct_CC"; then
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11892 $as_echo "$ac_ct_CC" >&6; }
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11895 $as_echo "no" >&6; }
11898 if test "x$ac_ct_CC" = x; then
11901 case $cross_compiling:$ac_tool_warned in
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11905 ac_tool_warned=yes ;;
11910 CC="$ac_cv_prog_CC"
11913 if test -z "$CC"; then
11914 if test -n "$ac_tool_prefix"; then
11915 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11916 set dummy ${ac_tool_prefix}cc; ac_word=$2
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11918 $as_echo_n "checking for $ac_word... " >&6; }
11919 if ${ac_cv_prog_CC+:} false; then :
11920 $as_echo_n "(cached) " >&6
11922 if test -n "$CC"; then
11923 ac_cv_prog_CC="$CC" # Let the user override the test.
11925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11926 for as_dir in $PATH
11929 test -z "$as_dir" && as_dir=.
11930 for ac_exec_ext in '' $ac_executable_extensions; do
11931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11932 ac_cv_prog_CC="${ac_tool_prefix}cc"
11933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11943 if test -n "$CC"; then
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11945 $as_echo "$CC" >&6; }
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11948 $as_echo "no" >&6; }
11954 if test -z "$CC"; then
11955 # Extract the first word of "cc", so it can be a program name with args.
11956 set dummy cc; ac_word=$2
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11958 $as_echo_n "checking for $ac_word... " >&6; }
11959 if ${ac_cv_prog_CC+:} false; then :
11960 $as_echo_n "(cached) " >&6
11962 if test -n "$CC"; then
11963 ac_cv_prog_CC="$CC" # Let the user override the test.
11965 ac_prog_rejected=no
11966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11967 for as_dir in $PATH
11970 test -z "$as_dir" && as_dir=.
11971 for ac_exec_ext in '' $ac_executable_extensions; do
11972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11973 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11974 ac_prog_rejected=yes
11978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11985 if test $ac_prog_rejected = yes; then
11986 # We found a bogon in the path, so make sure we never use it.
11987 set dummy $ac_cv_prog_CC
11989 if test $# != 0; then
11990 # We chose a different compiler from the bogus one.
11991 # However, it has the same basename, so the bogon will be chosen
11992 # first if we set CC to just the basename; use the full file name.
11994 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12000 if test -n "$CC"; then
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12002 $as_echo "$CC" >&6; }
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12005 $as_echo "no" >&6; }
12010 if test -z "$CC"; then
12011 if test -n "$ac_tool_prefix"; then
12012 for ac_prog in cl.exe
12014 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12015 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12017 $as_echo_n "checking for $ac_word... " >&6; }
12018 if ${ac_cv_prog_CC+:} false; then :
12019 $as_echo_n "(cached) " >&6
12021 if test -n "$CC"; then
12022 ac_cv_prog_CC="$CC" # Let the user override the test.
12024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12025 for as_dir in $PATH
12028 test -z "$as_dir" && as_dir=.
12029 for ac_exec_ext in '' $ac_executable_extensions; do
12030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12031 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12042 if test -n "$CC"; then
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12044 $as_echo "$CC" >&6; }
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12047 $as_echo "no" >&6; }
12051 test -n "$CC" && break
12054 if test -z "$CC"; then
12056 for ac_prog in cl.exe
12058 # Extract the first word of "$ac_prog", so it can be a program name with args.
12059 set dummy $ac_prog; ac_word=$2
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12061 $as_echo_n "checking for $ac_word... " >&6; }
12062 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12063 $as_echo_n "(cached) " >&6
12065 if test -n "$ac_ct_CC"; then
12066 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12069 for as_dir in $PATH
12072 test -z "$as_dir" && as_dir=.
12073 for ac_exec_ext in '' $ac_executable_extensions; do
12074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12075 ac_cv_prog_ac_ct_CC="$ac_prog"
12076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12085 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12086 if test -n "$ac_ct_CC"; then
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12088 $as_echo "$ac_ct_CC" >&6; }
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12091 $as_echo "no" >&6; }
12095 test -n "$ac_ct_CC" && break
12098 if test "x$ac_ct_CC" = x; then
12101 case $cross_compiling:$ac_tool_warned in
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12105 ac_tool_warned=yes ;;
12114 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12116 as_fn_error $? "no acceptable C compiler found in \$PATH
12117 See \`config.log' for more details" "$LINENO" 5; }
12119 # Provide some information about the compiler.
12120 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12123 for ac_option in --version -v -V -qversion; do
12124 { { ac_try="$ac_compiler $ac_option >&5"
12125 case "(($ac_try" in
12126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12127 *) ac_try_echo=$ac_try;;
12129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12130 $as_echo "$ac_try_echo"; } >&5
12131 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12133 if test -s conftest.err; then
12135 ... rest of stderr output deleted ...
12136 10q' conftest.err >conftest.er1
12137 cat conftest.er1 >&5
12139 rm -f conftest.er1 conftest.err
12140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12141 test $ac_status = 0; }
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12145 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12146 if ${ac_cv_c_compiler_gnu+:} false; then :
12147 $as_echo_n "(cached) " >&6
12149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12150 /* end confdefs.h. */
12163 if ac_fn_c_try_compile "$LINENO"; then :
12164 ac_compiler_gnu=yes
12168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12169 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12173 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12174 if test $ac_compiler_gnu = yes; then
12179 ac_test_CFLAGS=${CFLAGS+set}
12180 ac_save_CFLAGS=$CFLAGS
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12182 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12183 if ${ac_cv_prog_cc_g+:} false; then :
12184 $as_echo_n "(cached) " >&6
12186 ac_save_c_werror_flag=$ac_c_werror_flag
12187 ac_c_werror_flag=yes
12190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12191 /* end confdefs.h. */
12201 if ac_fn_c_try_compile "$LINENO"; then :
12202 ac_cv_prog_cc_g=yes
12205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h. */
12216 if ac_fn_c_try_compile "$LINENO"; then :
12219 ac_c_werror_flag=$ac_save_c_werror_flag
12221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12222 /* end confdefs.h. */
12232 if ac_fn_c_try_compile "$LINENO"; then :
12233 ac_cv_prog_cc_g=yes
12235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12240 ac_c_werror_flag=$ac_save_c_werror_flag
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12243 $as_echo "$ac_cv_prog_cc_g" >&6; }
12244 if test "$ac_test_CFLAGS" = set; then
12245 CFLAGS=$ac_save_CFLAGS
12246 elif test $ac_cv_prog_cc_g = yes; then
12247 if test "$GCC" = yes; then
12253 if test "$GCC" = yes; then
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12260 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12261 if ${ac_cv_prog_cc_c89+:} false; then :
12262 $as_echo_n "(cached) " >&6
12264 ac_cv_prog_cc_c89=no
12266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12268 #include <stdarg.h>
12270 #include <sys/types.h>
12271 #include <sys/stat.h>
12272 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12273 struct buf { int x; };
12274 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12275 static char *e (p, i)
12281 static char *f (char * (*g) (char **, int), char **p, ...)
12286 s = g (p, va_arg (v,int));
12291 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12292 function prototypes and stuff, but not '\xHH' hex character constants.
12293 These don't provoke an error unfortunately, instead are silently treated
12294 as 'x'. The following induces an error, until -std is added to get
12295 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12296 array size at least. It's necessary to write '\x00'==0 to get something
12297 that's true only with -std. */
12298 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12300 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12301 inside strings and character constants. */
12303 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12305 int test (int i, double x);
12306 struct s1 {int (*f) (int a);};
12307 struct s2 {int (*f) (double a);};
12308 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12314 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12319 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12320 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12322 CC="$ac_save_CC $ac_arg"
12323 if ac_fn_c_try_compile "$LINENO"; then :
12324 ac_cv_prog_cc_c89=$ac_arg
12326 rm -f core conftest.err conftest.$ac_objext
12327 test "x$ac_cv_prog_cc_c89" != "xno" && break
12329 rm -f conftest.$ac_ext
12334 case "x$ac_cv_prog_cc_c89" in
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12337 $as_echo "none needed" >&6; } ;;
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12340 $as_echo "unsupported" >&6; } ;;
12342 CC="$CC $ac_cv_prog_cc_c89"
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12344 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12346 if test "x$ac_cv_prog_cc_c89" != xno; then :
12351 ac_cpp='$CPP $CPPFLAGS'
12352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12356 depcc="$CC" am_compiler_list=
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12359 $as_echo_n "checking dependency style of $depcc... " >&6; }
12360 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12361 $as_echo_n "(cached) " >&6
12363 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12364 # We make a subdir and do the tests there. Otherwise we can end up
12365 # making bogus files that we don't know about and never remove. For
12366 # instance it was reported that on HP-UX the gcc test will end up
12367 # making a dummy file named `D' -- because `-MD' means `put the output
12369 rm -rf conftest.dir
12371 # Copy depcomp to subdir because otherwise we won't find it if we're
12372 # using a relative directory.
12373 cp "$am_depcomp" conftest.dir
12375 # We will build objects and dependencies in a subdirectory because
12376 # it helps to detect inapplicable dependency modes. For instance
12377 # both Tru64's cc and ICC support -MD to output dependencies as a
12378 # side effect of compilation, but ICC will put the dependencies in
12379 # the current directory while Tru64 will put them in the object
12383 am_cv_CC_dependencies_compiler_type=none
12384 if test "$am_compiler_list" = ""; then
12385 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12387 am__universal=false
12388 case " $depcc " in #(
12389 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12392 for depmode in $am_compiler_list; do
12393 # Setup a source with many dependencies, because some compilers
12394 # like to wrap large dependency lists on column 80 (with \), and
12395 # we should not choose a depcomp mode which is confused by this.
12397 # We need to recreate these files for each test, as the compiler may
12398 # overwrite some of them when testing with obscure command lines.
12399 # This happens at least with the AIX C compiler.
12401 for i in 1 2 3 4 5 6; do
12402 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12403 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12404 # Solaris 8's {/usr,}/bin/sh.
12405 touch sub/conftst$i.h
12407 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12409 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12410 # mode. It turns out that the SunPro C++ compiler does not properly
12411 # handle `-M -o', and we need to detect this. Also, some Intel
12412 # versions had trouble with output in subdirs
12413 am__obj=sub/conftest.${OBJEXT-o}
12414 am__minus_obj="-o $am__obj"
12417 # This depmode causes a compiler race in universal mode.
12418 test "$am__universal" = false || continue
12421 # after this tag, mechanisms are not by side-effect, so they'll
12422 # only be used when explicitly requested
12423 if test "x$enable_dependency_tracking" = xyes; then
12429 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12430 # This compiler won't grok `-c -o', but also, the minuso test has
12431 # not run yet. These depmodes are late enough in the game, and
12432 # so weak that their functioning should not be impacted.
12433 am__obj=conftest.${OBJEXT-o}
12438 if depmode=$depmode \
12439 source=sub/conftest.c object=$am__obj \
12440 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12441 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12442 >/dev/null 2>conftest.err &&
12443 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12444 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12445 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12446 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12447 # icc doesn't choke on unknown options, it will just issue warnings
12448 # or remarks (even with -Werror). So we grep stderr for any message
12449 # that says an option was ignored or not supported.
12450 # When given -MP, icc 7.0 and 7.1 complain thusly:
12451 # icc: Command line warning: ignoring option '-M'; no argument required
12452 # The diagnosis changed in icc 8.0:
12453 # icc: Command line remark: option '-MP' not supported
12454 if (grep 'ignoring option' conftest.err ||
12455 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12456 am_cv_CC_dependencies_compiler_type=$depmode
12463 rm -rf conftest.dir
12465 am_cv_CC_dependencies_compiler_type=none
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12470 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12471 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12474 test "x$enable_dependency_tracking" != xno \
12475 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12476 am__fastdepCC_TRUE=
12477 am__fastdepCC_FALSE='#'
12479 am__fastdepCC_TRUE='#'
12480 am__fastdepCC_FALSE=
12485 # doxygen program for documentation building
12489 # Check whether --enable-doc was given.
12490 if test "${enable_doc+set}" = set; then :
12491 enableval=$enable_doc;
12492 if test "x${enableval}" = "xyes" ; then
12493 efl_enable_doc="yes"
12495 efl_enable_doc="no"
12499 efl_enable_doc="yes"
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12504 $as_echo_n "checking whether to build documentation... " >&6; }
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12506 $as_echo "${efl_enable_doc}" >&6; }
12508 if test "x${efl_enable_doc}" = "xyes" ; then
12511 efl_doxygen="doxygen"
12514 # Check whether --with-doxygen was given.
12515 if test "${with_doxygen+set}" = set; then :
12516 withval=$with_doxygen;
12517 efl_doxygen=${withval}
12518 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12519 set dummy ${efl_doxygen}; ac_word=$2
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12521 $as_echo_n "checking for $ac_word... " >&6; }
12522 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12523 $as_echo_n "(cached) " >&6
12525 if test -n "$efl_have_doxygen"; then
12526 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12529 for as_dir in $PATH
12532 test -z "$as_dir" && as_dir=.
12533 for ac_exec_ext in '' $ac_executable_extensions; do
12534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12535 ac_cv_prog_efl_have_doxygen="yes"
12536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12543 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12546 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12547 if test -n "$efl_have_doxygen"; then
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12549 $as_echo "$efl_have_doxygen" >&6; }
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12552 $as_echo "no" >&6; }
12556 if test "x${efl_have_doxygen}" = "xno" ; then
12558 echo "The doxygen program you specified:"
12559 echo "${efl_doxygen}"
12560 echo "was not found. Please check the path and make sure "
12561 echo "the program exists and is executable."
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12563 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12567 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12568 set dummy ${efl_doxygen}; ac_word=$2
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12570 $as_echo_n "checking for $ac_word... " >&6; }
12571 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12572 $as_echo_n "(cached) " >&6
12574 if test -n "$efl_have_doxygen"; then
12575 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12578 for as_dir in $PATH
12581 test -z "$as_dir" && as_dir=.
12582 for ac_exec_ext in '' $ac_executable_extensions; do
12583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12584 ac_cv_prog_efl_have_doxygen="yes"
12585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12592 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12595 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12596 if test -n "$efl_have_doxygen"; then
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12598 $as_echo "$efl_have_doxygen" >&6; }
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12601 $as_echo "no" >&6; }
12605 if test "x${efl_have_doxygen}" = "xno" ; then
12607 echo "The doxygen program was not found in your execute path."
12608 echo "You may have doxygen installed somewhere not covered by your path."
12610 echo "If this is the case make sure you have the packages installed, AND"
12611 echo "that the doxygen program is in your execute path (see your"
12612 echo "shell manual page on setting the \$PATH environment variable), OR"
12613 echo "alternatively, specify the program to use with --with-doxygen."
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12615 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12624 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12625 efl_enable_doc="no"
12628 if test "x${efl_enable_doc}" = "xyes"; then
12629 EFL_BUILD_DOC_TRUE=
12630 EFL_BUILD_DOC_FALSE='#'
12632 EFL_BUILD_DOC_TRUE='#'
12633 EFL_BUILD_DOC_FALSE=
12637 if test "x${efl_enable_doc}" = "xyes" ; then
12654 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12655 if test -n "$ac_tool_prefix"; then
12656 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12657 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12659 $as_echo_n "checking for $ac_word... " >&6; }
12660 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12661 $as_echo_n "(cached) " >&6
12663 case $PKG_CONFIG in
12665 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12669 for as_dir in $PATH
12672 test -z "$as_dir" && as_dir=.
12673 for ac_exec_ext in '' $ac_executable_extensions; do
12674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12675 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12686 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12687 if test -n "$PKG_CONFIG"; then
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12689 $as_echo "$PKG_CONFIG" >&6; }
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12692 $as_echo "no" >&6; }
12697 if test -z "$ac_cv_path_PKG_CONFIG"; then
12698 ac_pt_PKG_CONFIG=$PKG_CONFIG
12699 # Extract the first word of "pkg-config", so it can be a program name with args.
12700 set dummy pkg-config; ac_word=$2
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12702 $as_echo_n "checking for $ac_word... " >&6; }
12703 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12704 $as_echo_n "(cached) " >&6
12706 case $ac_pt_PKG_CONFIG in
12708 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12712 for as_dir in $PATH
12715 test -z "$as_dir" && as_dir=.
12716 for ac_exec_ext in '' $ac_executable_extensions; do
12717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12718 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12729 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12730 if test -n "$ac_pt_PKG_CONFIG"; then
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12732 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12735 $as_echo "no" >&6; }
12738 if test "x$ac_pt_PKG_CONFIG" = x; then
12741 case $cross_compiling:$ac_tool_warned in
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12745 ac_tool_warned=yes ;;
12747 PKG_CONFIG=$ac_pt_PKG_CONFIG
12750 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12754 if test -n "$PKG_CONFIG"; then
12755 _pkg_min_version=0.9.0
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12757 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12758 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12760 $as_echo "yes" >&6; }
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12763 $as_echo "no" >&6; }
12768 # Check whether pkg-config supports Requires.private
12769 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
12770 pkgconfig_requires_private="Requires.private"
12772 pkgconfig_requires_private="Requires"
12777 ### Checks for libraries
12779 # Evil library for compilation on Windows
12781 EFL_EMBRYO_BUILD=""
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
12787 $as_echo_n "checking for EVIL... " >&6; }
12789 if test -n "$EVIL_CFLAGS"; then
12790 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
12791 elif test -n "$PKG_CONFIG"; then
12792 if test -n "$PKG_CONFIG" && \
12793 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
12794 ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
12796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12797 test $ac_status = 0; }; then
12798 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.6.99" 2>/dev/null`
12799 test "x$?" != "x0" && pkg_failed=yes
12806 if test -n "$EVIL_LIBS"; then
12807 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
12808 elif test -n "$PKG_CONFIG"; then
12809 if test -n "$PKG_CONFIG" && \
12810 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
12811 ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
12813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12814 test $ac_status = 0; }; then
12815 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.6.99" 2>/dev/null`
12816 test "x$?" != "x0" && pkg_failed=yes
12826 if test $pkg_failed = yes; then
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12828 $as_echo "no" >&6; }
12830 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12831 _pkg_short_errors_supported=yes
12833 _pkg_short_errors_supported=no
12835 if test $_pkg_short_errors_supported = yes; then
12836 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evil >= 1.6.99" 2>&1`
12838 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evil >= 1.6.99" 2>&1`
12840 # Put the nasty error message in config.log where it belongs
12841 echo "$EVIL_PKG_ERRORS" >&5
12843 as_fn_error $? "Package requirements (evil >= 1.6.99) were not met:
12847 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12848 installed software in a non-standard prefix.
12850 Alternatively, you may set the environment variables EVIL_CFLAGS
12851 and EVIL_LIBS to avoid the need to call pkg-config.
12852 See the pkg-config man page for more details." "$LINENO" 5
12853 elif test $pkg_failed = untried; then
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12855 $as_echo "no" >&6; }
12856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12858 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12859 is in your PATH or set the PKG_CONFIG environment variable to the full
12860 path to pkg-config.
12862 Alternatively, you may set the environment variables EVIL_CFLAGS
12863 and EVIL_LIBS to avoid the need to call pkg-config.
12864 See the pkg-config man page for more details.
12866 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12867 See \`config.log' for more details" "$LINENO" 5; }
12869 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
12870 EVIL_LIBS=$pkg_cv_EVIL_LIBS
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12872 $as_echo "yes" >&6; }
12876 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
12878 requirement_embryo="evil ${requirement_embryo}"
12879 EFL_EMBRYO_BUILD="-DEFL_EMBRYO_BUILD"
12884 # For embryo_cc_prefix.c
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
12888 $as_echo_n "checking for EINA... " >&6; }
12890 if test -n "$EINA_CFLAGS"; then
12891 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
12892 elif test -n "$PKG_CONFIG"; then
12893 if test -n "$PKG_CONFIG" && \
12894 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.99\""; } >&5
12895 ($PKG_CONFIG --exists --print-errors "eina >= 1.6.99") 2>&5
12897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12898 test $ac_status = 0; }; then
12899 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.6.99" 2>/dev/null`
12900 test "x$?" != "x0" && pkg_failed=yes
12907 if test -n "$EINA_LIBS"; then
12908 pkg_cv_EINA_LIBS="$EINA_LIBS"
12909 elif test -n "$PKG_CONFIG"; then
12910 if test -n "$PKG_CONFIG" && \
12911 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.99\""; } >&5
12912 ($PKG_CONFIG --exists --print-errors "eina >= 1.6.99") 2>&5
12914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12915 test $ac_status = 0; }; then
12916 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.6.99" 2>/dev/null`
12917 test "x$?" != "x0" && pkg_failed=yes
12927 if test $pkg_failed = yes; then
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12929 $as_echo "no" >&6; }
12931 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12932 _pkg_short_errors_supported=yes
12934 _pkg_short_errors_supported=no
12936 if test $_pkg_short_errors_supported = yes; then
12937 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eina >= 1.6.99" 2>&1`
12939 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eina >= 1.6.99" 2>&1`
12941 # Put the nasty error message in config.log where it belongs
12942 echo "$EINA_PKG_ERRORS" >&5
12944 as_fn_error $? "Package requirements (eina >= 1.6.99) were not met:
12948 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12949 installed software in a non-standard prefix.
12951 Alternatively, you may set the environment variables EINA_CFLAGS
12952 and EINA_LIBS to avoid the need to call pkg-config.
12953 See the pkg-config man page for more details." "$LINENO" 5
12954 elif test $pkg_failed = untried; then
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12956 $as_echo "no" >&6; }
12957 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12959 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12960 is in your PATH or set the PKG_CONFIG environment variable to the full
12961 path to pkg-config.
12963 Alternatively, you may set the environment variables EINA_CFLAGS
12964 and EINA_LIBS to avoid the need to call pkg-config.
12965 See the pkg-config man page for more details.
12967 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12968 See \`config.log' for more details" "$LINENO" 5; }
12970 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
12971 EINA_LIBS=$pkg_cv_EINA_LIBS
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12973 $as_echo "yes" >&6; }
12977 ### Checks for portability layer
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
12982 $as_echo_n "checking for EXOTIC... " >&6; }
12984 if test -n "$EXOTIC_CFLAGS"; then
12985 pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
12986 elif test -n "$PKG_CONFIG"; then
12987 if test -n "$PKG_CONFIG" && \
12988 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
12989 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
12991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12992 test $ac_status = 0; }; then
12993 pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
12994 test "x$?" != "x0" && pkg_failed=yes
13001 if test -n "$EXOTIC_LIBS"; then
13002 pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
13003 elif test -n "$PKG_CONFIG"; then
13004 if test -n "$PKG_CONFIG" && \
13005 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
13006 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
13008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13009 test $ac_status = 0; }; then
13010 pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
13011 test "x$?" != "x0" && pkg_failed=yes
13021 if test $pkg_failed = yes; then
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13023 $as_echo "no" >&6; }
13025 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13026 _pkg_short_errors_supported=yes
13028 _pkg_short_errors_supported=no
13030 if test $_pkg_short_errors_supported = yes; then
13031 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "exotic" 2>&1`
13033 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "exotic" 2>&1`
13035 # Put the nasty error message in config.log where it belongs
13036 echo "$EXOTIC_PKG_ERRORS" >&5
13039 elif test $pkg_failed = untried; then
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13041 $as_echo "no" >&6; }
13044 EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
13045 EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13047 $as_echo "yes" >&6; }
13048 enable_exotic="yes"
13051 if test "x${enable_exotic}" = "xyes"; then
13052 requirement_embryo="exotic ${requirement_embryo}"
13055 $as_echo "#define HAVE_EXOTIC 1" >>confdefs.h
13059 ### Checks for header files
13061 for ac_header in unistd.h
13063 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
13064 if test "x$ac_cv_header_unistd_h" = xyes; then :
13065 cat >>confdefs.h <<_ACEOF
13066 #define HAVE_UNISTD_H 1
13077 ac_cpp='$CPP $CPPFLAGS'
13078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
13084 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
13085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13088 #include <limits.h>
13100 if ac_fn_c_try_compile "$LINENO"; then :
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13102 $as_echo "yes" >&6; }
13106 cat >>confdefs.h <<_ACEOF
13107 #define PATH_MAX ${default_max}
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
13111 $as_echo "no: using ${default_max}" >&6; }
13114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13117 ac_cpp='$CPP $CPPFLAGS'
13118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13126 ### Checks for types
13129 ### Checks for structures
13132 ### Checks for compiler characteristics
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13134 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13135 if ${ac_cv_c_bigendian+:} false; then :
13136 $as_echo_n "(cached) " >&6
13138 ac_cv_c_bigendian=unknown
13139 # See if we're dealing with a universal compiler.
13140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13141 /* end confdefs.h. */
13142 #ifndef __APPLE_CC__
13143 not a universal capable compiler
13148 if ac_fn_c_try_compile "$LINENO"; then :
13150 # Check for potential -arch flags. It is not universal unless
13151 # there are at least two -arch flags with different values.
13154 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13155 if test -n "$ac_prev"; then
13157 i?86 | x86_64 | ppc | ppc64)
13158 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13161 ac_cv_c_bigendian=universal
13167 elif test "x$ac_word" = "x-arch"; then
13172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13173 if test $ac_cv_c_bigendian = unknown; then
13174 # See if sys/param.h defines the BYTE_ORDER macro.
13175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13176 /* end confdefs.h. */
13177 #include <sys/types.h>
13178 #include <sys/param.h>
13183 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13184 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13186 bogus endian macros
13193 if ac_fn_c_try_compile "$LINENO"; then :
13194 # It does; now see whether it defined to BIG_ENDIAN or not.
13195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13196 /* end confdefs.h. */
13197 #include <sys/types.h>
13198 #include <sys/param.h>
13203 #if BYTE_ORDER != BIG_ENDIAN
13211 if ac_fn_c_try_compile "$LINENO"; then :
13212 ac_cv_c_bigendian=yes
13214 ac_cv_c_bigendian=no
13216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13220 if test $ac_cv_c_bigendian = unknown; then
13221 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13223 /* end confdefs.h. */
13224 #include <limits.h>
13229 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13230 bogus endian macros
13237 if ac_fn_c_try_compile "$LINENO"; then :
13238 # It does; now see whether it defined to _BIG_ENDIAN or not.
13239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13240 /* end confdefs.h. */
13241 #include <limits.h>
13246 #ifndef _BIG_ENDIAN
13254 if ac_fn_c_try_compile "$LINENO"; then :
13255 ac_cv_c_bigendian=yes
13257 ac_cv_c_bigendian=no
13259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13263 if test $ac_cv_c_bigendian = unknown; then
13264 # Compile a test program.
13265 if test "$cross_compiling" = yes; then :
13266 # Try to guess by grepping values from an object file.
13267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13268 /* end confdefs.h. */
13269 short int ascii_mm[] =
13270 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13271 short int ascii_ii[] =
13272 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13273 int use_ascii (int i) {
13274 return ascii_mm[i] + ascii_ii[i];
13276 short int ebcdic_ii[] =
13277 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13278 short int ebcdic_mm[] =
13279 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13280 int use_ebcdic (int i) {
13281 return ebcdic_mm[i] + ebcdic_ii[i];
13288 return use_ascii (foo) == use_ebcdic (foo);
13293 if ac_fn_c_try_compile "$LINENO"; then :
13294 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13295 ac_cv_c_bigendian=yes
13297 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13298 if test "$ac_cv_c_bigendian" = unknown; then
13299 ac_cv_c_bigendian=no
13301 # finding both strings is unlikely to happen, but who knows?
13302 ac_cv_c_bigendian=unknown
13306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13309 /* end confdefs.h. */
13310 $ac_includes_default
13315 /* Are we little or big endian? From Harbison&Steele. */
13319 char c[sizeof (long int)];
13322 return u.c[sizeof (long int) - 1] == 1;
13328 if ac_fn_c_try_run "$LINENO"; then :
13329 ac_cv_c_bigendian=no
13331 ac_cv_c_bigendian=yes
13333 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13334 conftest.$ac_objext conftest.beam conftest.$ac_ext
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13340 $as_echo "$ac_cv_c_bigendian" >&6; }
13341 case $ac_cv_c_bigendian in #(
13343 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13349 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13353 as_fn_error $? "unknown endianness
13354 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13357 if test "x$CC" != xcc; then
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
13359 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
13362 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
13364 set dummy $CC; ac_cc=`$as_echo "$2" |
13365 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13366 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
13367 $as_echo_n "(cached) " >&6
13369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13370 /* end confdefs.h. */
13380 # Make sure it works both with $CC and with simple cc.
13381 # We do the test twice because some compilers refuse to overwrite an
13382 # existing .o file with -o, though they will create one.
13383 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13385 if { { case "(($ac_try" in
13386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13387 *) ac_try_echo=$ac_try;;
13389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13390 $as_echo "$ac_try_echo"; } >&5
13391 (eval "$ac_try") 2>&5
13393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13394 test $ac_status = 0; } &&
13395 test -f conftest2.$ac_objext && { { case "(($ac_try" in
13396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13397 *) ac_try_echo=$ac_try;;
13399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13400 $as_echo "$ac_try_echo"; } >&5
13401 (eval "$ac_try") 2>&5
13403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13404 test $ac_status = 0; };
13406 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
13407 if test "x$CC" != xcc; then
13408 # Test first that cc exists at all.
13409 if { ac_try='cc -c conftest.$ac_ext >&5'
13410 { { case "(($ac_try" in
13411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13412 *) ac_try_echo=$ac_try;;
13414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13415 $as_echo "$ac_try_echo"; } >&5
13416 (eval "$ac_try") 2>&5
13418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13419 test $ac_status = 0; }; }; then
13420 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13422 if { { case "(($ac_try" in
13423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13424 *) ac_try_echo=$ac_try;;
13426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13427 $as_echo "$ac_try_echo"; } >&5
13428 (eval "$ac_try") 2>&5
13430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13431 test $ac_status = 0; } &&
13432 test -f conftest2.$ac_objext && { { case "(($ac_try" in
13433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13434 *) ac_try_echo=$ac_try;;
13436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13437 $as_echo "$ac_try_echo"; } >&5
13438 (eval "$ac_try") 2>&5
13440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13441 test $ac_status = 0; };
13446 # cc exists but doesn't like -o.
13447 eval ac_cv_prog_cc_${ac_cc}_c_o=no
13452 eval ac_cv_prog_cc_${ac_cc}_c_o=no
13454 rm -f core conftest*
13457 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13459 $as_echo "yes" >&6; }
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13462 $as_echo "no" >&6; }
13464 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
13468 # FIXME: we rely on the cache variable name because
13469 # there is no other way.
13471 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13472 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
13473 if test "$am_t" != yes; then
13474 # Losing compiler, so override with the script.
13475 # FIXME: It is wrong to rewrite CC.
13476 # But if we don't then we get into trouble of one sort or another.
13477 # A longer-term fix would be to have automake use am__CC in this case,
13478 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13479 CC="$am_aux_dir/compile $CC"
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13484 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13485 if ${ac_cv_c_const+:} false; then :
13486 $as_echo_n "(cached) " >&6
13488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13489 /* end confdefs.h. */
13494 /* FIXME: Include the comments suggested by Paul. */
13495 #ifndef __cplusplus
13496 /* Ultrix mips cc rejects this. */
13497 typedef int charset[2];
13499 /* SunOS 4.1.1 cc rejects this. */
13500 char const *const *pcpcc;
13502 /* NEC SVR4.0.2 mips cc rejects this. */
13503 struct point {int x, y;};
13504 static struct point const zero = {0,0};
13505 /* AIX XL C 1.02.0.0 rejects this.
13506 It does not let you subtract one const X* pointer from another in
13507 an arm of an if-expression whose if-part is not a constant
13509 const char *g = "string";
13510 pcpcc = &g + (g ? g-g : 0);
13511 /* HPUX 7.0 cc rejects these. */
13513 ppc = (char**) pcpcc;
13514 pcpcc = (char const *const *) ppc;
13515 { /* SCO 3.2v4 cc rejects this. */
13517 char const *s = 0 ? (char *) 0 : (char const *) 0;
13522 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13523 int x[] = {25, 17};
13524 const int *foo = &x[0];
13527 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13528 typedef const int *iptr;
13532 { /* AIX XL C 1.02.0.0 rejects this saying
13533 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13534 struct s { int j; const int *ap[3]; };
13535 struct s *b; b->j = 5;
13537 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13538 const int foo = 10;
13539 if (!foo) return 0;
13541 return !cs[0] && !zero.x;
13548 if ac_fn_c_try_compile "$LINENO"; then :
13553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13556 $as_echo "$ac_cv_c_const" >&6; }
13557 if test $ac_cv_c_const = no; then
13559 $as_echo "#define const /**/" >>confdefs.h
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13564 $as_echo_n "checking for inline... " >&6; }
13565 if ${ac_cv_c_inline+:} false; then :
13566 $as_echo_n "(cached) " >&6
13569 for ac_kw in inline __inline__ __inline; do
13570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13571 /* end confdefs.h. */
13572 #ifndef __cplusplus
13574 static $ac_kw foo_t static_foo () {return 0; }
13575 $ac_kw foo_t foo () {return 0; }
13579 if ac_fn_c_try_compile "$LINENO"; then :
13580 ac_cv_c_inline=$ac_kw
13582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13583 test "$ac_cv_c_inline" != no && break
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13588 $as_echo "$ac_cv_c_inline" >&6; }
13590 case $ac_cv_c_inline in
13593 case $ac_cv_c_inline in
13595 *) ac_val=$ac_cv_c_inline;;
13597 cat >>confdefs.h <<_ACEOF
13598 #ifndef __cplusplus
13599 #define inline $ac_val
13605 case $ac_cv_prog_cc_stdc in #(
13607 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
13610 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
13611 if ${ac_cv_prog_cc_c99+:} false; then :
13612 $as_echo_n "(cached) " >&6
13614 ac_cv_prog_cc_c99=no
13616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13617 /* end confdefs.h. */
13618 #include <stdarg.h>
13619 #include <stdbool.h>
13620 #include <stdlib.h>
13624 // Check varargs macros. These examples are taken from C99 6.10.3.5.
13625 #define debug(...) fprintf (stderr, __VA_ARGS__)
13626 #define showlist(...) puts (#__VA_ARGS__)
13627 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
13629 test_varargs_macros (void)
13634 debug ("X = %d\n", x);
13635 showlist (The first, second, and third items.);
13636 report (x>y, "x is %d but y is %d", x, y);
13639 // Check long long types.
13640 #define BIG64 18446744073709551615ull
13641 #define BIG32 4294967295ul
13642 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
13644 your preprocessor is broken;
13648 your preprocessor is broken;
13650 static long long int bignum = -9223372036854775807LL;
13651 static unsigned long long int ubignum = BIG64;
13653 struct incomplete_array
13659 struct named_init {
13661 const wchar_t *name;
13665 typedef const char *ccp;
13668 test_restrict (ccp restrict text)
13670 // See if C++-style comments work.
13671 // Iterate through items via the restricted pointer.
13672 // Also check for declarations in for loops.
13673 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
13678 // Check varargs and va_copy.
13680 test_varargs (const char *format, ...)
13683 va_start (args, format);
13685 va_copy (args_copy, args);
13695 case 's': // string
13696 str = va_arg (args_copy, const char *);
13699 number = va_arg (args_copy, int);
13702 fnumber = va_arg (args_copy, double);
13708 va_end (args_copy);
13717 _Bool success = false;
13720 if (test_restrict ("String literal") == 0)
13722 char *restrict newvar = "Another string";
13725 test_varargs ("s, d' f .", "string", 65, 34.234);
13726 test_varargs_macros ();
13728 // Check flexible array members.
13729 struct incomplete_array *ia =
13730 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
13732 for (int i = 0; i < ia->datasize; ++i)
13733 ia->data[i] = i * 1.234;
13735 // Check named initializers.
13736 struct named_init ni = {
13738 .name = L"Test wide string",
13739 .average = 543.34343,
13744 int dynamic_array[ni.number];
13745 dynamic_array[ni.number - 1] = 543;
13747 // work around unused variable warnings
13748 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
13749 || dynamic_array[ni.number - 1] != 543);
13755 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
13757 CC="$ac_save_CC $ac_arg"
13758 if ac_fn_c_try_compile "$LINENO"; then :
13759 ac_cv_prog_cc_c99=$ac_arg
13761 rm -f core conftest.err conftest.$ac_objext
13762 test "x$ac_cv_prog_cc_c99" != "xno" && break
13764 rm -f conftest.$ac_ext
13769 case "x$ac_cv_prog_cc_c99" in
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13772 $as_echo "none needed" >&6; } ;;
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13775 $as_echo "unsupported" >&6; } ;;
13777 CC="$CC $ac_cv_prog_cc_c99"
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
13779 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
13781 if test "x$ac_cv_prog_cc_c99" != xno; then :
13782 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13785 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13786 if ${ac_cv_prog_cc_c89+:} false; then :
13787 $as_echo_n "(cached) " >&6
13789 ac_cv_prog_cc_c89=no
13791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13792 /* end confdefs.h. */
13793 #include <stdarg.h>
13795 #include <sys/types.h>
13796 #include <sys/stat.h>
13797 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13798 struct buf { int x; };
13799 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13800 static char *e (p, i)
13806 static char *f (char * (*g) (char **, int), char **p, ...)
13811 s = g (p, va_arg (v,int));
13816 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13817 function prototypes and stuff, but not '\xHH' hex character constants.
13818 These don't provoke an error unfortunately, instead are silently treated
13819 as 'x'. The following induces an error, until -std is added to get
13820 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13821 array size at least. It's necessary to write '\x00'==0 to get something
13822 that's true only with -std. */
13823 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13825 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13826 inside strings and character constants. */
13828 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13830 int test (int i, double x);
13831 struct s1 {int (*f) (int a);};
13832 struct s2 {int (*f) (double a);};
13833 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13839 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13844 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13845 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13847 CC="$ac_save_CC $ac_arg"
13848 if ac_fn_c_try_compile "$LINENO"; then :
13849 ac_cv_prog_cc_c89=$ac_arg
13851 rm -f core conftest.err conftest.$ac_objext
13852 test "x$ac_cv_prog_cc_c89" != "xno" && break
13854 rm -f conftest.$ac_ext
13859 case "x$ac_cv_prog_cc_c89" in
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13862 $as_echo "none needed" >&6; } ;;
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13865 $as_echo "unsupported" >&6; } ;;
13867 CC="$CC $ac_cv_prog_cc_c89"
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13869 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13871 if test "x$ac_cv_prog_cc_c89" != xno; then :
13872 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
13874 ac_cv_prog_cc_stdc=no
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
13881 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
13882 if ${ac_cv_prog_cc_stdc+:} false; then :
13883 $as_echo_n "(cached) " >&6
13886 case $ac_cv_prog_cc_stdc in #(
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13889 $as_echo "unsupported" >&6; } ;; #(
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13892 $as_echo "none needed" >&6; } ;; #(
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
13895 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13899 $as_echo_n "checking for ANSI C header files... " >&6; }
13900 if ${ac_cv_header_stdc+:} false; then :
13901 $as_echo_n "(cached) " >&6
13903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13904 /* end confdefs.h. */
13905 #include <stdlib.h>
13906 #include <stdarg.h>
13907 #include <string.h>
13918 if ac_fn_c_try_compile "$LINENO"; then :
13919 ac_cv_header_stdc=yes
13921 ac_cv_header_stdc=no
13923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13925 if test $ac_cv_header_stdc = yes; then
13926 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13928 /* end confdefs.h. */
13929 #include <string.h>
13932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13933 $EGREP "memchr" >/dev/null 2>&1; then :
13936 ac_cv_header_stdc=no
13942 if test $ac_cv_header_stdc = yes; then
13943 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13946 #include <stdlib.h>
13949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13950 $EGREP "free" >/dev/null 2>&1; then :
13953 ac_cv_header_stdc=no
13959 if test $ac_cv_header_stdc = yes; then
13960 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13961 if test "$cross_compiling" = yes; then :
13964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13965 /* end confdefs.h. */
13967 #include <stdlib.h>
13968 #if ((' ' & 0x0FF) == 0x020)
13969 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13970 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13972 # define ISLOWER(c) \
13973 (('a' <= (c) && (c) <= 'i') \
13974 || ('j' <= (c) && (c) <= 'r') \
13975 || ('s' <= (c) && (c) <= 'z'))
13976 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13979 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13984 for (i = 0; i < 256; i++)
13985 if (XOR (islower (i), ISLOWER (i))
13986 || toupper (i) != TOUPPER (i))
13991 if ac_fn_c_try_run "$LINENO"; then :
13994 ac_cv_header_stdc=no
13996 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13997 conftest.$ac_objext conftest.beam conftest.$ac_ext
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14003 $as_echo "$ac_cv_header_stdc" >&6; }
14004 if test $ac_cv_header_stdc = yes; then
14006 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
14013 $as_echo_n "checking for __attribute__... " >&6; }
14015 if ${ac_cv___attribute__+:} false; then :
14016 $as_echo_n "(cached) " >&6
14018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14019 /* end confdefs.h. */
14021 #include <stdlib.h>
14024 int foo(int x __attribute__ ((unused)))
14037 if ac_fn_c_try_compile "$LINENO"; then :
14038 ac_cv___attribute__="yes"
14040 ac_cv___attribute__="no"
14043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
14048 $as_echo "$ac_cv___attribute__" >&6; }
14050 if test "x${ac_cv___attribute__}" = "xyes" ; then
14052 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
14055 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
14059 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
14069 EMBRYO_CPPFLAGS="-D_WIN32_WCE=0x0420"
14076 ### Checks for linker characteristics
14078 lt_enable_auto_import=""
14081 lt_enable_auto_import="-Wl,--enable-auto-import"
14087 ### Checks for library functions
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
14090 $as_echo_n "checking for library containing strerror... " >&6; }
14091 if ${ac_cv_search_strerror+:} false; then :
14092 $as_echo_n "(cached) " >&6
14094 ac_func_search_save_LIBS=$LIBS
14095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14096 /* end confdefs.h. */
14098 /* Override any GCC internal prototype to avoid an error.
14099 Use char because int might match the return type of a GCC
14100 builtin and then its argument prototype would still apply. */
14108 return strerror ();
14113 for ac_lib in '' cposix; do
14114 if test -z "$ac_lib"; then
14115 ac_res="none required"
14118 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14120 if ac_fn_c_try_link "$LINENO"; then :
14121 ac_cv_search_strerror=$ac_res
14123 rm -f core conftest.err conftest.$ac_objext \
14125 if ${ac_cv_search_strerror+:} false; then :
14129 if ${ac_cv_search_strerror+:} false; then :
14132 ac_cv_search_strerror=no
14134 rm conftest.$ac_ext
14135 LIBS=$ac_func_search_save_LIBS
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
14138 $as_echo "$ac_cv_search_strerror" >&6; }
14139 ac_res=$ac_cv_search_strerror
14140 if test "$ac_res" != no; then :
14141 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14147 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14148 if test "x$ac_cv_type_size_t" = xyes; then :
14152 cat >>confdefs.h <<_ACEOF
14153 #define size_t unsigned int
14158 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14159 # for constant arguments. Useless!
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
14161 $as_echo_n "checking for working alloca.h... " >&6; }
14162 if ${ac_cv_working_alloca_h+:} false; then :
14163 $as_echo_n "(cached) " >&6
14165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14166 /* end confdefs.h. */
14167 #include <alloca.h>
14171 char *p = (char *) alloca (2 * sizeof (int));
14177 if ac_fn_c_try_link "$LINENO"; then :
14178 ac_cv_working_alloca_h=yes
14180 ac_cv_working_alloca_h=no
14182 rm -f core conftest.err conftest.$ac_objext \
14183 conftest$ac_exeext conftest.$ac_ext
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
14186 $as_echo "$ac_cv_working_alloca_h" >&6; }
14187 if test $ac_cv_working_alloca_h = yes; then
14189 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
14194 $as_echo_n "checking for alloca... " >&6; }
14195 if ${ac_cv_func_alloca_works+:} false; then :
14196 $as_echo_n "(cached) " >&6
14198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14199 /* end confdefs.h. */
14201 # define alloca __builtin_alloca
14204 # include <malloc.h>
14205 # define alloca _alloca
14207 # ifdef HAVE_ALLOCA_H
14208 # include <alloca.h>
14213 # ifndef alloca /* predefined by HP cc +Olibcalls */
14214 void *alloca (size_t);
14224 char *p = (char *) alloca (1);
14230 if ac_fn_c_try_link "$LINENO"; then :
14231 ac_cv_func_alloca_works=yes
14233 ac_cv_func_alloca_works=no
14235 rm -f core conftest.err conftest.$ac_objext \
14236 conftest$ac_exeext conftest.$ac_ext
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
14239 $as_echo "$ac_cv_func_alloca_works" >&6; }
14241 if test $ac_cv_func_alloca_works = yes; then
14243 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
14246 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14247 # that cause trouble. Some versions do not even contain alloca or
14248 # contain a buggy version. If you still want to use their alloca,
14249 # use ar to extract alloca.o from them instead of compiling alloca.c.
14251 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
14253 $as_echo "#define C_ALLOCA 1" >>confdefs.h
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
14257 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
14258 if ${ac_cv_os_cray+:} false; then :
14259 $as_echo_n "(cached) " >&6
14261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14262 /* end confdefs.h. */
14263 #if defined CRAY && ! defined CRAY2
14270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14271 $EGREP "webecray" >/dev/null 2>&1; then :
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
14280 $as_echo "$ac_cv_os_cray" >&6; }
14281 if test $ac_cv_os_cray = yes; then
14282 for ac_func in _getb67 GETB67 getb67; do
14283 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14284 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14285 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14287 cat >>confdefs.h <<_ACEOF
14288 #define CRAY_STACKSEG_END $ac_func
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
14298 $as_echo_n "checking stack direction for C alloca... " >&6; }
14299 if ${ac_cv_c_stack_direction+:} false; then :
14300 $as_echo_n "(cached) " >&6
14302 if test "$cross_compiling" = yes; then :
14303 ac_cv_c_stack_direction=0
14305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14306 /* end confdefs.h. */
14307 $ac_includes_default
14309 find_stack_direction ()
14311 static char *addr = 0;
14316 return find_stack_direction ();
14319 return (&dummy > addr) ? 1 : -1;
14325 return find_stack_direction () < 0;
14328 if ac_fn_c_try_run "$LINENO"; then :
14329 ac_cv_c_stack_direction=1
14331 ac_cv_c_stack_direction=-1
14333 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14334 conftest.$ac_objext conftest.beam conftest.$ac_ext
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
14339 $as_echo "$ac_cv_c_stack_direction" >&6; }
14340 cat >>confdefs.h <<_ACEOF
14341 #define STACK_DIRECTION $ac_cv_c_stack_direction
14351 ac_fn_c_check_header_mongrel "$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default"
14352 if test "x$ac_cv_header_fnmatch_h" = xyes; then :
14353 _efl_have_fnmatch="yes"
14355 _efl_have_fnmatch="no"
14360 if test "x${_efl_have_fnmatch}" = "xyes" ; then
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fnmatch" >&5
14362 $as_echo_n "checking for library containing fnmatch... " >&6; }
14363 if ${ac_cv_search_fnmatch+:} false; then :
14364 $as_echo_n "(cached) " >&6
14366 ac_func_search_save_LIBS=$LIBS
14367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14368 /* end confdefs.h. */
14370 /* Override any GCC internal prototype to avoid an error.
14371 Use char because int might match the return type of a GCC
14372 builtin and then its argument prototype would still apply. */
14385 for ac_lib in '' fnmatch evil exotic iberty; do
14386 if test -z "$ac_lib"; then
14387 ac_res="none required"
14390 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14392 if ac_fn_c_try_link "$LINENO"; then :
14393 ac_cv_search_fnmatch=$ac_res
14395 rm -f core conftest.err conftest.$ac_objext \
14397 if ${ac_cv_search_fnmatch+:} false; then :
14401 if ${ac_cv_search_fnmatch+:} false; then :
14404 ac_cv_search_fnmatch=no
14406 rm conftest.$ac_ext
14407 LIBS=$ac_func_search_save_LIBS
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fnmatch" >&5
14410 $as_echo "$ac_cv_search_fnmatch" >&6; }
14411 ac_res=$ac_cv_search_fnmatch
14412 if test "$ac_res" != no; then :
14413 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14414 _efl_have_fnmatch="yes"
14416 _efl_have_fnmatch="no"
14421 EFL_FNMATCH_LIBS=""
14423 if (! test "x${ac_cv_search_fnmatch}" = "xnone required") && (! test "x${ac_cv_search_fnmatch}" = "xno") && (! test "x${ac_cv_search_fnmatch}" = "x-levil") ; then
14424 EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
14429 if test "x$_efl_have_fnmatch" = "xyes"; then :
14432 as_fn_error $? "Cannot find fnmatch()" "$LINENO" 5
14440 _efl_have_gettimeofday="no"
14442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14443 /* end confdefs.h. */
14445 #include <stdlib.h>
14446 #include <sys/time.h>
14453 res = gettimeofday(NULL, NULL);
14459 if ac_fn_c_try_link "$LINENO"; then :
14460 _efl_have_gettimeofday="yes"
14462 _efl_have_gettimeofday="no"
14464 rm -f core conftest.err conftest.$ac_objext \
14465 conftest$ac_exeext conftest.$ac_ext
14467 if test "x${_efl_have_gettimeofday}" = "xno" -a "x${enable_exotic}" = "xyes"; then
14468 SAVE_LIBS="${LIBS}"
14469 SAVE_CFLAGS="${CFLAGS}"
14470 LIBS="${LIBS} ${EXOTIC_LIBS}"
14471 CFLAGS="${CFLAGS} ${EXOTIC_CFLAGS}"
14472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14473 /* end confdefs.h. */
14475 #include <Exotic.h>
14482 res = gettimeofday(NULL, NULL);
14488 if ac_fn_c_try_link "$LINENO"; then :
14489 _efl_have_gettimeofday="yes"
14491 _efl_have_gettimeofday="no"
14493 rm -f core conftest.err conftest.$ac_objext \
14494 conftest$ac_exeext conftest.$ac_ext
14497 if test "x${_efl_have_gettimeofday}" = "xyes"; then
14499 $as_echo "#define EFL_HAVE_GETTIMEOFDAY 1" >>confdefs.h
14503 if test "x${_efl_have_gettimeofday}" = "xyes"; then :
14506 as_fn_error $? "Cannot find gettimeofday()" "$LINENO" 5
14514 ac_config_files="$ac_config_files Makefile doc/Makefile doc/Doxyfile doc/embryo.dox embryo.pc include/Makefile src/Makefile src/lib/Makefile src/bin/Makefile embryo.spec"
14516 cat >confcache <<\_ACEOF
14517 # This file is a shell script that caches the results of configure
14518 # tests run on this system so they can be shared between configure
14519 # scripts and configure runs, see configure's option --config-cache.
14520 # It is not useful on other systems. If it contains results you don't
14521 # want to keep, you may remove or edit it.
14523 # config.status only pays attention to the cache file if you give it
14524 # the --recheck option to rerun configure.
14526 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14527 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14528 # following values.
14532 # The following way of writing the cache mishandles newlines in values,
14533 # but we know of no workaround that is simple, portable, and efficient.
14534 # So, we kill variables containing newlines.
14535 # Ultrix sh set writes to stderr and can't be redirected directly,
14536 # and sets the high bit in the cache file unless we assign to the vars.
14538 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14539 eval ac_val=\$$ac_var
14543 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14544 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14547 _ | IFS | as_nl) ;; #(
14548 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14549 *) { eval $ac_var=; unset $ac_var;} ;;
14555 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14556 *${as_nl}ac_space=\ *)
14557 # `set' does not quote correctly, so add quotes: double-quote
14558 # substitution turns \\\\ into \\, and sed turns \\ into \.
14561 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14564 # `set' quotes correctly as required by POSIX, so do not add quotes.
14565 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14574 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14576 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14578 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14579 if test -w "$cache_file"; then
14580 if test "x$cache_file" != "x/dev/null"; then
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14582 $as_echo "$as_me: updating cache $cache_file" >&6;}
14583 if test ! -f "$cache_file" || test -h "$cache_file"; then
14584 cat confcache >"$cache_file"
14586 case $cache_file in #(
14588 mv -f confcache "$cache_file"$$ &&
14589 mv -f "$cache_file"$$ "$cache_file" ;; #(
14591 mv -f confcache "$cache_file" ;;
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14597 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14602 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14603 # Let make expand exec_prefix.
14604 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14606 DEFS=-DHAVE_CONFIG_H
14611 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14612 # 1. Remove the extension, and $U if already installed.
14613 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14614 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14615 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14616 # will be set to the directory where LIBOBJS objects are built.
14617 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14618 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14620 LIBOBJS=$ac_libobjs
14622 LTLIBOBJS=$ac_ltlibobjs
14625 if test -n "$EXEEXT"; then
14627 am__EXEEXT_FALSE='#'
14629 am__EXEEXT_TRUE='#'
14633 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14634 as_fn_error $? "conditional \"AMDEP\" was never defined.
14635 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14637 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14638 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14639 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14641 if test -z "${BUILD_EMBRYO_CC_TRUE}" && test -z "${BUILD_EMBRYO_CC_FALSE}"; then
14642 as_fn_error $? "conditional \"BUILD_EMBRYO_CC\" was never defined.
14643 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14645 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14646 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14647 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14649 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
14650 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
14651 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14655 : "${CONFIG_STATUS=./config.status}"
14657 ac_clean_files_save=$ac_clean_files
14658 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14660 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14662 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14664 # Generated by $as_me.
14665 # Run this file to recreate the current configuration.
14666 # Compiler output produced by configure, useful for debugging
14667 # configure, is in config.log if it exists.
14670 ac_cs_recheck=false
14673 SHELL=\${CONFIG_SHELL-$SHELL}
14676 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14677 ## -------------------- ##
14678 ## M4sh Initialization. ##
14679 ## -------------------- ##
14681 # Be more Bourne compatible
14682 DUALCASE=1; export DUALCASE # for MKS sh
14683 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14686 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14687 # is contrary to our usage. Disable this feature.
14688 alias -g '${1+"$@"}'='"$@"'
14689 setopt NO_GLOB_SUBST
14691 case `(set -o) 2>/dev/null` in #(
14703 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14704 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14705 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14706 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14707 # Prefer a ksh shell builtin over an external printf program on Solaris,
14708 # but without wasting forks for bash or zsh.
14709 if test -z "$BASH_VERSION$ZSH_VERSION" \
14710 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14711 as_echo='print -r --'
14712 as_echo_n='print -rn --'
14713 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14714 as_echo='printf %s\n'
14715 as_echo_n='printf %s'
14717 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14718 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14719 as_echo_n='/usr/ucb/echo -n'
14721 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14722 as_echo_n_body='eval
14726 expr "X$arg" : "X\\(.*\\)$as_nl";
14727 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14729 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14731 export as_echo_n_body
14732 as_echo_n='sh -c $as_echo_n_body as_echo'
14734 export as_echo_body
14735 as_echo='sh -c $as_echo_body as_echo'
14738 # The user is always right.
14739 if test "${PATH_SEPARATOR+set}" != set; then
14741 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14742 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14749 # We need space, tab and new line, in precisely that order. Quoting is
14750 # there to prevent editors from complaining about space-tab.
14751 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14752 # splitting by setting IFS to empty value.)
14755 # Find who we are. Look in the path if we contain no directory separator.
14758 *[\\/]* ) as_myself=$0 ;;
14759 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14760 for as_dir in $PATH
14763 test -z "$as_dir" && as_dir=.
14764 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14770 # We did not find ourselves, most probably we were run as `sh COMMAND'
14771 # in which case we are not to be found in the path.
14772 if test "x$as_myself" = x; then
14775 if test ! -f "$as_myself"; then
14776 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14780 # Unset variables that we do not need and which cause bugs (e.g. in
14781 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14782 # suppresses any "Segmentation fault" message there. '((' could
14783 # trigger a bug in pdksh 5.2.14.
14784 for as_var in BASH_ENV ENV MAIL MAILPATH
14785 do eval test x\${$as_var+set} = xset \
14786 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14799 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14802 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14803 # ----------------------------------------
14804 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14805 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14806 # script with STATUS, using 1 if that was 0.
14809 as_status=$1; test $as_status -eq 0 && as_status=1
14811 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14812 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14814 $as_echo "$as_me: error: $2" >&2
14815 as_fn_exit $as_status
14819 # as_fn_set_status STATUS
14820 # -----------------------
14821 # Set $? to STATUS, without forking.
14822 as_fn_set_status ()
14825 } # as_fn_set_status
14827 # as_fn_exit STATUS
14828 # -----------------
14829 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14833 as_fn_set_status $1
14839 # Portably unset VAR.
14842 { eval $1=; unset $1;}
14844 as_unset=as_fn_unset
14845 # as_fn_append VAR VALUE
14846 # ----------------------
14847 # Append the text in VALUE to the end of the definition contained in VAR. Take
14848 # advantage of any shell optimizations that allow amortized linear growth over
14849 # repeated appends, instead of the typical quadratic growth present in naive
14851 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14852 eval 'as_fn_append ()
14863 # as_fn_arith ARG...
14864 # ------------------
14865 # Perform arithmetic evaluation on the ARGs, and store the result in the
14866 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14867 # must be portable across $(()) and expr.
14868 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14869 eval 'as_fn_arith ()
14876 as_val=`expr "$@" || test $? -eq 1`
14881 if expr a : '\(a\)' >/dev/null 2>&1 &&
14882 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14888 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14889 as_basename=basename
14894 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14900 as_me=`$as_basename -- "$0" ||
14901 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14902 X"$0" : 'X\(//\)$' \| \
14903 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14905 sed '/^.*\/\([^/][^/]*\)\/*$/{
14919 # Avoid depending upon Character Ranges.
14920 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14921 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14922 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14923 as_cr_digits='0123456789'
14924 as_cr_alnum=$as_cr_Letters$as_cr_digits
14926 ECHO_C= ECHO_N= ECHO_T=
14927 case `echo -n x` in #(((((
14929 case `echo 'xy\c'` in
14930 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14932 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14939 rm -f conf$$ conf$$.exe conf$$.file
14940 if test -d conf$$.dir; then
14941 rm -f conf$$.dir/conf$$.file
14944 mkdir conf$$.dir 2>/dev/null
14946 if (echo >conf$$.file) 2>/dev/null; then
14947 if ln -s conf$$.file conf$$ 2>/dev/null; then
14949 # ... but there are two gotchas:
14950 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14951 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14952 # In both cases, we have to default to `cp -p'.
14953 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14955 elif ln conf$$.file conf$$ 2>/dev/null; then
14963 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14964 rmdir conf$$.dir 2>/dev/null
14969 # Create "$as_dir" as a directory, including parents if necessary.
14974 -*) as_dir=./$as_dir;;
14976 test -d "$as_dir" || eval $as_mkdir_p || {
14980 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14981 *) as_qdir=$as_dir;;
14983 as_dirs="'$as_qdir' $as_dirs"
14984 as_dir=`$as_dirname -- "$as_dir" ||
14985 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14986 X"$as_dir" : 'X\(//\)[^/]' \| \
14987 X"$as_dir" : 'X\(//\)$' \| \
14988 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14989 $as_echo X"$as_dir" |
14990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14994 /^X\(\/\/\)[^/].*/{
15007 test -d "$as_dir" && break
15009 test -z "$as_dirs" || eval "mkdir $as_dirs"
15010 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15014 if mkdir -p . 2>/dev/null; then
15015 as_mkdir_p='mkdir -p "$as_dir"'
15017 test -d ./-p && rmdir ./-p
15021 if test -x / >/dev/null 2>&1; then
15022 as_test_x='test -x'
15024 if ls -dL / >/dev/null 2>&1; then
15031 if test -d "$1"; then
15037 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15038 ???[sx]*):;;*)false;;esac;fi
15042 as_executable_p=$as_test_x
15044 # Sed expression to map a string onto a valid CPP name.
15045 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15047 # Sed expression to map a string onto a valid variable name.
15048 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15052 ## ----------------------------------- ##
15053 ## Main body of $CONFIG_STATUS script. ##
15054 ## ----------------------------------- ##
15056 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15059 # Save the log message, to keep $0 and so on meaningful, and to
15060 # report actual input values of CONFIG_FILES etc. instead of their
15061 # values after options handling.
15063 This file was extended by embryo $as_me 1.7.4, which was
15064 generated by GNU Autoconf 2.68. Invocation command line was
15066 CONFIG_FILES = $CONFIG_FILES
15067 CONFIG_HEADERS = $CONFIG_HEADERS
15068 CONFIG_LINKS = $CONFIG_LINKS
15069 CONFIG_COMMANDS = $CONFIG_COMMANDS
15072 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15077 case $ac_config_files in *"
15078 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15081 case $ac_config_headers in *"
15082 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15087 # Files that config.status was made for.
15088 config_files="$ac_config_files"
15089 config_headers="$ac_config_headers"
15090 config_commands="$ac_config_commands"
15094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15096 \`$as_me' instantiates files and other configuration actions
15097 from templates according to the current configuration. Unless the files
15098 and actions are specified as TAGs, all are instantiated by default.
15100 Usage: $0 [OPTION]... [TAG]...
15102 -h, --help print this help, then exit
15103 -V, --version print version number and configuration settings, then exit
15104 --config print configuration, then exit
15105 -q, --quiet, --silent
15106 do not print progress messages
15107 -d, --debug don't remove temporary files
15108 --recheck update $as_me by reconfiguring in the same conditions
15109 --file=FILE[:TEMPLATE]
15110 instantiate the configuration file FILE
15111 --header=FILE[:TEMPLATE]
15112 instantiate the configuration header FILE
15114 Configuration files:
15117 Configuration headers:
15120 Configuration commands:
15123 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
15126 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15127 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15129 embryo config.status 1.7.4
15130 configured by $0, generated by GNU Autoconf 2.68,
15131 with options \\"\$ac_cs_config\\"
15133 Copyright (C) 2010 Free Software Foundation, Inc.
15134 This config.status script is free software; the Free Software Foundation
15135 gives unlimited permission to copy, distribute and modify it."
15142 test -n "\$AWK" || AWK=awk
15145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15146 # The default lists apply if the user does not specify any file.
15152 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15153 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15157 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15169 # Handling of the options.
15170 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15172 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15173 $as_echo "$ac_cs_version"; exit ;;
15174 --config | --confi | --conf | --con | --co | --c )
15175 $as_echo "$ac_cs_config"; exit ;;
15176 --debug | --debu | --deb | --de | --d | -d )
15178 --file | --fil | --fi | --f )
15181 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15182 '') as_fn_error $? "missing file argument" ;;
15184 as_fn_append CONFIG_FILES " '$ac_optarg'"
15185 ac_need_defaults=false;;
15186 --header | --heade | --head | --hea )
15189 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15191 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15192 ac_need_defaults=false;;
15194 # Conflict between --help and --header
15195 as_fn_error $? "ambiguous option: \`$1'
15196 Try \`$0 --help' for more information.";;
15197 --help | --hel | -h )
15198 $as_echo "$ac_cs_usage"; exit ;;
15199 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15200 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15203 # This is an error.
15204 -*) as_fn_error $? "unrecognized option: \`$1'
15205 Try \`$0 --help' for more information." ;;
15207 *) as_fn_append ac_config_targets " $1"
15208 ac_need_defaults=false ;;
15214 ac_configure_extra_args=
15216 if $ac_cs_silent; then
15218 ac_configure_extra_args="$ac_configure_extra_args --silent"
15222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15223 if \$ac_cs_recheck; then
15224 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15226 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15227 CONFIG_SHELL='$SHELL'
15228 export CONFIG_SHELL
15233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15237 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15238 ## Running $as_me. ##
15244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15248 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15251 # The HP-UX ksh and POSIX shell print the target directory to stdout
15252 # if CDPATH is set.
15253 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15255 sed_quote_subst='$sed_quote_subst'
15256 double_quote_subst='$double_quote_subst'
15257 delay_variable_subst='$delay_variable_subst'
15258 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15259 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15260 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15261 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15262 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15263 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15264 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15265 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15266 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15267 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15268 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15269 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15270 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15271 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15272 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15273 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15274 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15275 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15276 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15277 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15278 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15279 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15280 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15281 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15282 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15283 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15284 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15285 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15286 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15287 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15288 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15289 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15290 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15291 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15292 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15293 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15294 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15295 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15296 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15297 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15298 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15299 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15300 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15301 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15302 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15303 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15304 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15305 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15306 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15307 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15308 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15309 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15310 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15311 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15312 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15313 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15314 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15315 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"`'
15316 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15317 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15318 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15319 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15320 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15321 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15322 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15323 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15324 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15325 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15326 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15327 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15328 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15329 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15330 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15331 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15332 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15333 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15334 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15335 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15336 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15337 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15338 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15339 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15340 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15341 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15342 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15343 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15344 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15345 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15346 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15347 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15348 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15349 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15350 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15351 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15352 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15353 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15354 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15355 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15356 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15357 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15358 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15359 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15360 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15361 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15362 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15363 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15364 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15365 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15366 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15367 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15368 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15369 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15370 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15371 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15372 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15373 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15374 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15375 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15376 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15377 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15378 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15379 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15380 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15381 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15382 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15383 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15384 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15385 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15386 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15387 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15388 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15391 LTCFLAGS='$LTCFLAGS'
15392 compiler='$compiler_DEFAULT'
15394 # A function that is used when there is no print builtin or printf.
15395 func_fallback_echo ()
15397 eval 'cat <<_LTECHO_EOF
15402 # Quote evaled strings.
15419 deplibs_check_method \
15423 sharedlib_from_linklib_cmd \
15426 archiver_list_spec \
15432 lt_cv_sys_global_symbol_pipe \
15433 lt_cv_sys_global_symbol_to_cdecl \
15434 lt_cv_sys_global_symbol_to_c_name_address \
15435 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15436 nm_file_list_spec \
15437 lt_prog_compiler_no_builtin_flag \
15438 lt_prog_compiler_pic \
15439 lt_prog_compiler_wl \
15440 lt_prog_compiler_static \
15441 lt_cv_prog_compiler_c_o \
15450 export_dynamic_flag_spec \
15451 whole_archive_flag_spec \
15452 compiler_needs_object \
15454 allow_undefined_flag \
15455 no_undefined_flag \
15456 hardcode_libdir_flag_spec \
15457 hardcode_libdir_separator \
15461 variables_saved_for_relink \
15463 library_names_spec \
15465 install_override_mode \
15469 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15470 *[\\\\\\\`\\"\\\$]*)
15471 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15474 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15479 # Double-quote double-evaled strings.
15480 for var in reload_cmds \
15481 old_postinstall_cmds \
15482 old_postuninstall_cmds \
15484 extract_expsyms_cmds \
15485 old_archive_from_new_cmds \
15486 old_archive_from_expsyms_cmds \
15488 archive_expsym_cmds \
15490 module_expsym_cmds \
15491 export_symbols_cmds \
15495 postuninstall_cmds \
15497 sys_lib_search_path_spec \
15498 sys_lib_dlsearch_path_spec; do
15499 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15500 *[\\\\\\\`\\"\\\$]*)
15501 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15504 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15509 ac_aux_dir='$ac_aux_dir'
15510 xsi_shell='$xsi_shell'
15511 lt_shell_append='$lt_shell_append'
15513 # See if we are running on zsh, and set the options which allow our
15514 # commands through without removal of \ escapes INIT.
15515 if test -n "\${ZSH_VERSION+set}" ; then
15516 setopt NO_GLOB_SUBST
15522 TIMESTAMP='$TIMESTAMP'
15531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15533 # Handling of arguments.
15534 for ac_config_target in $ac_config_targets
15536 case $ac_config_target in
15537 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15538 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15539 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15540 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15541 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15542 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
15543 "doc/embryo.dox") CONFIG_FILES="$CONFIG_FILES doc/embryo.dox" ;;
15544 "embryo.pc") CONFIG_FILES="$CONFIG_FILES embryo.pc" ;;
15545 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
15546 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15547 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
15548 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
15549 "embryo.spec") CONFIG_FILES="$CONFIG_FILES embryo.spec" ;;
15551 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15556 # If the user did not use the arguments to specify the items to instantiate,
15557 # then the envvar interface is used. Set only those that are not.
15558 # We use the long form for the default assignment because of an extremely
15559 # bizarre bug on SunOS 4.1.3.
15560 if $ac_need_defaults; then
15561 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15562 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15563 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15566 # Have a temporary directory for convenience. Make it in the build tree
15567 # simply because there is no reason against having it here, and in addition,
15568 # creating and moving files from /tmp can sometimes cause problems.
15569 # Hook for its removal unless debugging.
15570 # Note that there is a small window in which the directory will not be cleaned:
15571 # after its creation but before its name has been assigned to `$tmp'.
15575 trap 'exit_status=$?
15576 : "${ac_tmp:=$tmp}"
15577 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15579 trap 'as_fn_exit 1' 1 2 13 15
15581 # Create a (secure) tmp directory for tmp files.
15584 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15588 tmp=./conf$$-$RANDOM
15589 (umask 077 && mkdir "$tmp")
15590 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15593 # Set up the scripts for CONFIG_FILES section.
15594 # No need to generate them if there are no CONFIG_FILES.
15595 # This happens for instance with `./config.status config.h'.
15596 if test -n "$CONFIG_FILES"; then
15599 ac_cr=`echo X | tr X '\015'`
15600 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15601 # But we know of no other shell where ac_cr would be empty at this
15602 # point, so we can use a bashism as a fallback.
15603 if test "x$ac_cr" = x; then
15604 eval ac_cr=\$\'\\r\'
15606 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15607 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15610 ac_cs_awk_cr=$ac_cr
15613 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15618 echo "cat >conf$$subs.awk <<_ACEOF" &&
15619 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15621 } >conf$$subs.sh ||
15622 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15623 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15625 for ac_last_try in false false false false false :; do
15626 . ./conf$$subs.sh ||
15627 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15629 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15630 if test $ac_delim_n = $ac_delim_num; then
15632 elif $ac_last_try; then
15633 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15635 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15638 rm -f conf$$subs.sh
15640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15641 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15645 s/^/S["/; s/!.*/"]=/
15655 s/\(.\{148\}\)..*/\1/
15657 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15662 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15669 s/\(.\{148\}\)..*/\1/
15671 s/["\\]/\\&/g; s/^/"/; s/$/"/
15675 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15680 ' <conf$$subs.awk | sed '
15685 ' >>$CONFIG_STATUS || ac_write_fail=1
15686 rm -f conf$$subs.awk
15687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15689 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15690 for (key in S) S_is_set[key] = 1
15696 nfields = split(line, field, "@")
15698 len = length(field[1])
15699 for (i = 2; i < nfields; i++) {
15701 keylen = length(key)
15702 if (S_is_set[key]) {
15704 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15705 len += length(value) + length(field[++i])
15716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15717 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15718 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15721 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15722 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15725 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15726 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15727 # trailing colons and then remove the whole line if VPATH becomes empty
15728 # (actually we leave an empty line to preserve line numbers).
15729 if test "x$srcdir" = x.; then
15730 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15749 fi # test -n "$CONFIG_FILES"
15751 # Set up the scripts for CONFIG_HEADERS section.
15752 # No need to generate them if there are no CONFIG_HEADERS.
15753 # This happens for instance with `./config.status Makefile'.
15754 if test -n "$CONFIG_HEADERS"; then
15755 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15759 # Transform confdefs.h into an awk script `defines.awk', embedded as
15760 # here-document in config.status, that substitutes the proper values into
15761 # config.h.in to produce config.h.
15763 # Create a delimiter string that does not exist in confdefs.h, to ease
15764 # handling of long lines.
15766 for ac_last_try in false false :; do
15767 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15768 if test -z "$ac_tt"; then
15770 elif $ac_last_try; then
15771 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15773 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15777 # For the awk script, D is an array of macro values keyed by name,
15778 # likewise P contains macro parameters if any. Preserve backslash
15779 # newline sequences.
15781 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15783 s/.\{148\}/&'"$ac_delim"'/g
15786 s/^[ ]*#[ ]*define[ ][ ]*/ /
15793 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15795 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15799 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15800 D["\1"]=" \3\\\\\\n"\\/p
15802 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15807 s/.\{148\}/&'"$ac_delim"'/g
15812 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15815 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15817 ' <confdefs.h | sed '
15818 s/'"$ac_delim"'/"\\\
15819 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15822 for (key in D) D_is_set[key] = 1
15825 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15827 split(line, arg, " ")
15828 if (arg[1] == "#") {
15832 defundef = substr(arg[1], 2)
15835 split(mac1, mac2, "(") #)
15837 prefix = substr(line, 1, index(line, defundef) - 1)
15838 if (D_is_set[macro]) {
15839 # Preserve the white space surrounding the "#".
15840 print prefix "define", macro P[macro] D[macro]
15843 # Replace #undef with comments. This is necessary, for example,
15844 # in the case of _POSIX_SOURCE, which is predefined and required
15845 # on some systems where configure will not decide to define it.
15846 if (defundef == "undef") {
15847 print "/*", prefix defundef, macro, "*/"
15855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15856 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15857 fi # test -n "$CONFIG_HEADERS"
15860 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15865 :[FHLC]) ac_mode=$ac_tag; continue;;
15867 case $ac_mode$ac_tag in
15869 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15870 :[FH]-) ac_tag=-:-;;
15871 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15888 -) ac_f="$ac_tmp/stdin";;
15889 *) # Look for the file first in the build tree, then in the source tree
15890 # (if the path is not absolute). The absolute path cannot be DOS-style,
15891 # because $ac_f cannot contain `:'.
15895 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15897 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15899 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15900 as_fn_append ac_file_inputs " '$ac_f'"
15903 # Let's still pretend it is `configure' which instantiates (i.e., don't
15904 # use $as_me), people would be surprised to read:
15905 # /* config.h. Generated by config.status. */
15906 configure_input='Generated from '`
15907 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15909 if test x"$ac_file" != x-; then
15910 configure_input="$ac_file. $configure_input"
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15912 $as_echo "$as_me: creating $ac_file" >&6;}
15914 # Neutralize special characters interpreted by sed in replacement strings.
15915 case $configure_input in #(
15916 *\&* | *\|* | *\\* )
15917 ac_sed_conf_input=`$as_echo "$configure_input" |
15918 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15919 *) ac_sed_conf_input=$configure_input;;
15923 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15924 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15929 ac_dir=`$as_dirname -- "$ac_file" ||
15930 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15931 X"$ac_file" : 'X\(//\)[^/]' \| \
15932 X"$ac_file" : 'X\(//\)$' \| \
15933 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15934 $as_echo X"$ac_file" |
15935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15939 /^X\(\/\/\)[^/].*/{
15952 as_dir="$ac_dir"; as_fn_mkdir_p
15956 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15958 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15959 # A ".." for each directory in $ac_dir_suffix.
15960 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15961 case $ac_top_builddir_sub in
15962 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15963 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15966 ac_abs_top_builddir=$ac_pwd
15967 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15968 # for backward compatibility:
15969 ac_top_builddir=$ac_top_build_prefix
15972 .) # We are building in place.
15974 ac_top_srcdir=$ac_top_builddir_sub
15975 ac_abs_top_srcdir=$ac_pwd ;;
15976 [\\/]* | ?:[\\/]* ) # Absolute name.
15977 ac_srcdir=$srcdir$ac_dir_suffix;
15978 ac_top_srcdir=$srcdir
15979 ac_abs_top_srcdir=$srcdir ;;
15980 *) # Relative name.
15981 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15982 ac_top_srcdir=$ac_top_build_prefix$srcdir
15983 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15985 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15995 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15996 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15998 ac_MKDIR_P=$MKDIR_P
16000 [\\/$]* | ?:[\\/]* ) ;;
16001 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16006 # If the template does not know about datarootdir, expand it.
16007 # FIXME: This hack should be removed a few years after 2.60.
16008 ac_datarootdir_hack=; ac_datarootdir_seen=
16019 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16020 *datarootdir*) ac_datarootdir_seen=yes;;
16021 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16023 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16026 ac_datarootdir_hack='
16027 s&@datadir@&$datadir&g
16028 s&@docdir@&$docdir&g
16029 s&@infodir@&$infodir&g
16030 s&@localedir@&$localedir&g
16031 s&@mandir@&$mandir&g
16032 s&\\\${datarootdir}&$datarootdir&g' ;;
16036 # Neutralize VPATH when `$srcdir' = `.'.
16037 # Shell code in configure.ac might set extrasub.
16038 # FIXME: do we really want to maintain this feature?
16039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16040 ac_sed_extra="$ac_vpsub
16043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16045 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16046 s|@configure_input@|$ac_sed_conf_input|;t t
16047 s&@top_builddir@&$ac_top_builddir_sub&;t t
16048 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16049 s&@srcdir@&$ac_srcdir&;t t
16050 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16051 s&@top_srcdir@&$ac_top_srcdir&;t t
16052 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16053 s&@builddir@&$ac_builddir&;t t
16054 s&@abs_builddir@&$ac_abs_builddir&;t t
16055 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16056 s&@INSTALL@&$ac_INSTALL&;t t
16057 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16058 $ac_datarootdir_hack
16060 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16061 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16063 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16064 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16065 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16066 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16068 which seems to be undefined. Please make sure it is defined" >&5
16069 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16070 which seems to be undefined. Please make sure it is defined" >&2;}
16072 rm -f "$ac_tmp/stdin"
16074 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16075 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16077 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16083 if test x"$ac_file" != x-; then
16085 $as_echo "/* $configure_input */" \
16086 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16087 } >"$ac_tmp/config.h" \
16088 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16089 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16091 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16094 mv "$ac_tmp/config.h" "$ac_file" \
16095 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16098 $as_echo "/* $configure_input */" \
16099 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16100 || as_fn_error $? "could not create -" "$LINENO" 5
16102 # Compute "$ac_file"'s index in $config_headers.
16105 for _am_header in $config_headers :; do
16106 case $_am_header in
16107 $_am_arg | $_am_arg:* )
16110 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16113 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16114 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16115 X"$_am_arg" : 'X\(//\)[^/]' \| \
16116 X"$_am_arg" : 'X\(//\)$' \| \
16117 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16118 $as_echo X"$_am_arg" |
16119 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16123 /^X\(\/\/\)[^/].*/{
16135 s/.*/./; q'`/stamp-h$_am_stamp_count
16138 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16139 $as_echo "$as_me: executing $ac_file commands" >&6;}
16144 case $ac_file$ac_mode in
16145 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16146 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16147 # are listed without --file. Let's play safe and only enable the eval
16148 # if we detect the quoting.
16149 case $CONFIG_FILES in
16150 *\'*) eval set x "$CONFIG_FILES" ;;
16151 *) set x $CONFIG_FILES ;;
16156 # Strip MF so we end up with the name of the file.
16157 mf=`echo "$mf" | sed -e 's/:.*$//'`
16158 # Check whether this is an Automake generated Makefile or not.
16159 # We used to match only the files named `Makefile.in', but
16160 # some people rename them; so instead we look at the file content.
16161 # Grep'ing the first line is not enough: some people post-process
16162 # each Makefile.in and add a new line on top of each file to say so.
16163 # Grep'ing the whole file is not good either: AIX grep has a line
16164 # limit of 2048, but all sed's we know have understand at least 4000.
16165 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16166 dirpart=`$as_dirname -- "$mf" ||
16167 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16168 X"$mf" : 'X\(//\)[^/]' \| \
16169 X"$mf" : 'X\(//\)$' \| \
16170 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16176 /^X\(\/\/\)[^/].*/{
16192 # Extract the definition of DEPDIR, am__include, and am__quote
16193 # from the Makefile without running `make'.
16194 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16195 test -z "$DEPDIR" && continue
16196 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16197 test -z "am__include" && continue
16198 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16199 # When using ansi2knr, U may be empty or an underscore; expand it
16200 U=`sed -n 's/^U = //p' < "$mf"`
16201 # Find all dependency output files, they are included files with
16202 # $(DEPDIR) in their names. We invoke sed twice because it is the
16203 # simplest approach to changing $(DEPDIR) to its actual value in the
16205 for file in `sed -n "
16206 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16207 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16208 # Make sure the directory exists.
16209 test -f "$dirpart/$file" && continue
16210 fdir=`$as_dirname -- "$file" ||
16211 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16212 X"$file" : 'X\(//\)[^/]' \| \
16213 X"$file" : 'X\(//\)$' \| \
16214 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16215 $as_echo X"$file" |
16216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16220 /^X\(\/\/\)[^/].*/{
16233 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16234 # echo "creating $dirpart/$file"
16235 echo '# dummy' > "$dirpart/$file"
16242 # See if we are running on zsh, and set the options which allow our
16243 # commands through without removal of \ escapes.
16244 if test -n "${ZSH_VERSION+set}" ; then
16245 setopt NO_GLOB_SUBST
16248 cfgfile="${ofile}T"
16249 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16252 cat <<_LT_EOF >> "$cfgfile"
16255 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16256 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16257 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16258 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16260 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16261 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16263 # Written by Gordon Matzigkeit, 1996
16265 # This file is part of GNU Libtool.
16267 # GNU Libtool is free software; you can redistribute it and/or
16268 # modify it under the terms of the GNU General Public License as
16269 # published by the Free Software Foundation; either version 2 of
16270 # the License, or (at your option) any later version.
16272 # As a special exception to the GNU General Public License,
16273 # if you distribute this file as part of a program or library that
16274 # is built using GNU Libtool, you may include this file under the
16275 # same distribution terms that you use for the rest of that program.
16277 # GNU Libtool is distributed in the hope that it will be useful,
16278 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16279 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16280 # GNU General Public License for more details.
16282 # You should have received a copy of the GNU General Public License
16283 # along with GNU Libtool; see the file COPYING. If not, a copy
16284 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16285 # obtained by writing to the Free Software Foundation, Inc.,
16286 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16289 # The names of the tagged configurations supported by this script.
16292 # ### BEGIN LIBTOOL CONFIG
16294 # Assembler program.
16297 # DLL creation program.
16298 DLLTOOL=$lt_DLLTOOL
16300 # Object dumper program.
16301 OBJDUMP=$lt_OBJDUMP
16303 # Which release of libtool.m4 was used?
16304 macro_version=$macro_version
16305 macro_revision=$macro_revision
16307 # Whether or not to build shared libraries.
16308 build_libtool_libs=$enable_shared
16310 # Whether or not to build static libraries.
16311 build_old_libs=$enable_static
16313 # What type of objects to build.
16316 # Whether or not to optimize for fast installation.
16317 fast_install=$enable_fast_install
16319 # Shell to use when invoking shell scripts.
16322 # An echo program that protects backslashes.
16325 # The PATH separator for the build system.
16326 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16329 host_alias=$host_alias
16333 # The build system.
16334 build_alias=$build_alias
16338 # A sed program that does not truncate output.
16341 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16342 Xsed="\$SED -e 1s/^X//"
16344 # A grep program that handles long lines.
16350 # A literal string matcher.
16353 # A BSD- or MS-compatible name lister.
16356 # Whether we need soft or hard links.
16359 # What is the maximum length of a command?
16360 max_cmd_len=$max_cmd_len
16362 # Object file suffix (normally "o").
16365 # Executable file suffix (normally "").
16368 # whether the shell understands "unset".
16371 # turn spaces into newlines.
16374 # turn newlines into spaces.
16377 # convert \$build file names to \$host format.
16378 to_host_file_cmd=$lt_cv_to_host_file_cmd
16380 # convert \$build files to toolchain format.
16381 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16383 # Method to check whether dependent libraries are shared objects.
16384 deplibs_check_method=$lt_deplibs_check_method
16386 # Command to use when deplibs_check_method = "file_magic".
16387 file_magic_cmd=$lt_file_magic_cmd
16389 # How to find potential files when deplibs_check_method = "file_magic".
16390 file_magic_glob=$lt_file_magic_glob
16392 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16393 want_nocaseglob=$lt_want_nocaseglob
16395 # Command to associate shared and link libraries.
16396 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16401 # Flags to create an archive.
16402 AR_FLAGS=$lt_AR_FLAGS
16404 # How to feed a file listing to the archiver.
16405 archiver_list_spec=$lt_archiver_list_spec
16407 # A symbol stripping program.
16410 # Commands used to install an old-style archive.
16412 old_postinstall_cmds=$lt_old_postinstall_cmds
16413 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16415 # Whether to use a lock for old archive extraction.
16416 lock_old_archive_extraction=$lock_old_archive_extraction
16421 # LTCC compiler flags.
16422 LTCFLAGS=$lt_CFLAGS
16424 # Take the output of nm and produce a listing of raw symbols and C names.
16425 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16427 # Transform the output of nm in a proper C declaration.
16428 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16430 # Transform the output of nm in a C name address pair.
16431 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16433 # Transform the output of nm in a C name address pair when lib prefix is needed.
16434 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16436 # Specify filename containing input files for \$NM.
16437 nm_file_list_spec=$lt_nm_file_list_spec
16439 # The root where to search for dependent libraries,and in which our libraries should be installed.
16440 lt_sysroot=$lt_sysroot
16442 # The name of the directory that contains temporary libtool files.
16445 # Used to examine libraries when file_magic_cmd begins with "file".
16446 MAGIC_CMD=$MAGIC_CMD
16448 # Must we lock files when doing compilation?
16449 need_locks=$lt_need_locks
16452 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16454 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16455 DSYMUTIL=$lt_DSYMUTIL
16457 # Tool to change global to local symbols on Mac OS X.
16460 # Tool to manipulate fat objects and archives on Mac OS X.
16463 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16466 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16467 OTOOL64=$lt_OTOOL64
16469 # Old archive suffix (normally "a").
16472 # Shared library suffix (normally ".so").
16473 shrext_cmds=$lt_shrext_cmds
16475 # The commands to extract the exported symbol list from a shared archive.
16476 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16478 # Variables whose values should be saved in libtool wrapper scripts and
16479 # restored at link time.
16480 variables_saved_for_relink=$lt_variables_saved_for_relink
16482 # Do we need the "lib" prefix for modules?
16483 need_lib_prefix=$need_lib_prefix
16485 # Do we need a version for libraries?
16486 need_version=$need_version
16488 # Library versioning type.
16489 version_type=$version_type
16491 # Shared library runtime path variable.
16492 runpath_var=$runpath_var
16494 # Shared library path variable.
16495 shlibpath_var=$shlibpath_var
16497 # Is shlibpath searched before the hard-coded library search path?
16498 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16500 # Format of library name prefix.
16501 libname_spec=$lt_libname_spec
16503 # List of archive names. First name is the real one, the rest are links.
16504 # The last name is the one that the linker finds with -lNAME
16505 library_names_spec=$lt_library_names_spec
16507 # The coded name of the library, if different from the real name.
16508 soname_spec=$lt_soname_spec
16510 # Permission mode override for installation of shared libraries.
16511 install_override_mode=$lt_install_override_mode
16513 # Command to use after installation of a shared archive.
16514 postinstall_cmds=$lt_postinstall_cmds
16516 # Command to use after uninstallation of a shared archive.
16517 postuninstall_cmds=$lt_postuninstall_cmds
16519 # Commands used to finish a libtool library installation in a directory.
16520 finish_cmds=$lt_finish_cmds
16522 # As "finish_cmds", except a single script fragment to be evaled but
16524 finish_eval=$lt_finish_eval
16526 # Whether we should hardcode library paths into libraries.
16527 hardcode_into_libs=$hardcode_into_libs
16529 # Compile-time system search path for libraries.
16530 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16532 # Run-time system search path for libraries.
16533 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16535 # Whether dlopen is supported.
16536 dlopen_support=$enable_dlopen
16538 # Whether dlopen of programs is supported.
16539 dlopen_self=$enable_dlopen_self
16541 # Whether dlopen of statically linked programs is supported.
16542 dlopen_self_static=$enable_dlopen_self_static
16544 # Commands to strip libraries.
16545 old_striplib=$lt_old_striplib
16546 striplib=$lt_striplib
16549 # The linker used to build libraries.
16552 # How to create reloadable object files.
16553 reload_flag=$lt_reload_flag
16554 reload_cmds=$lt_reload_cmds
16556 # Commands used to build an old-style archive.
16557 old_archive_cmds=$lt_old_archive_cmds
16559 # A language specific compiler.
16562 # Is the compiler the GNU compiler?
16565 # Compiler flag to turn off builtin functions.
16566 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16568 # Additional compiler flags for building library objects.
16569 pic_flag=$lt_lt_prog_compiler_pic
16571 # How to pass a linker flag through the compiler.
16572 wl=$lt_lt_prog_compiler_wl
16574 # Compiler flag to prevent dynamic linking.
16575 link_static_flag=$lt_lt_prog_compiler_static
16577 # Does compiler simultaneously support -c and -o options?
16578 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16580 # Whether or not to add -lc for building shared libraries.
16581 build_libtool_need_lc=$archive_cmds_need_lc
16583 # Whether or not to disallow shared libs when runtime libs are static.
16584 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16586 # Compiler flag to allow reflexive dlopens.
16587 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16589 # Compiler flag to generate shared objects directly from archives.
16590 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16592 # Whether the compiler copes with passing no objects directly.
16593 compiler_needs_object=$lt_compiler_needs_object
16595 # Create an old-style archive from a shared archive.
16596 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16598 # Create a temporary old-style archive to link instead of a shared archive.
16599 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16601 # Commands used to build a shared archive.
16602 archive_cmds=$lt_archive_cmds
16603 archive_expsym_cmds=$lt_archive_expsym_cmds
16605 # Commands used to build a loadable module if different from building
16606 # a shared archive.
16607 module_cmds=$lt_module_cmds
16608 module_expsym_cmds=$lt_module_expsym_cmds
16610 # Whether we are building with GNU ld or not.
16611 with_gnu_ld=$lt_with_gnu_ld
16613 # Flag that allows shared libraries with undefined symbols to be built.
16614 allow_undefined_flag=$lt_allow_undefined_flag
16616 # Flag that enforces no undefined symbols.
16617 no_undefined_flag=$lt_no_undefined_flag
16619 # Flag to hardcode \$libdir into a binary during linking.
16620 # This must work even if \$libdir does not exist
16621 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16623 # Whether we need a single "-rpath" flag with a separated argument.
16624 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16626 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16627 # DIR into the resulting binary.
16628 hardcode_direct=$hardcode_direct
16630 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16631 # DIR into the resulting binary and the resulting library dependency is
16632 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16633 # library is relocated.
16634 hardcode_direct_absolute=$hardcode_direct_absolute
16636 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16637 # into the resulting binary.
16638 hardcode_minus_L=$hardcode_minus_L
16640 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16641 # into the resulting binary.
16642 hardcode_shlibpath_var=$hardcode_shlibpath_var
16644 # Set to "yes" if building a shared library automatically hardcodes DIR
16645 # into the library and all subsequent libraries and executables linked
16647 hardcode_automatic=$hardcode_automatic
16649 # Set to yes if linker adds runtime paths of dependent libraries
16650 # to runtime path list.
16651 inherit_rpath=$inherit_rpath
16653 # Whether libtool must link a program against all its dependency libraries.
16654 link_all_deplibs=$link_all_deplibs
16656 # Set to "yes" if exported symbols are required.
16657 always_export_symbols=$always_export_symbols
16659 # The commands to list exported symbols.
16660 export_symbols_cmds=$lt_export_symbols_cmds
16662 # Symbols that should not be listed in the preloaded symbols.
16663 exclude_expsyms=$lt_exclude_expsyms
16665 # Symbols that must always be exported.
16666 include_expsyms=$lt_include_expsyms
16668 # Commands necessary for linking programs (against libraries) with templates.
16669 prelink_cmds=$lt_prelink_cmds
16671 # Commands necessary for finishing linking programs.
16672 postlink_cmds=$lt_postlink_cmds
16674 # Specify filename containing input files.
16675 file_list_spec=$lt_file_list_spec
16677 # How to hardcode a shared library path into an executable.
16678 hardcode_action=$hardcode_action
16680 # ### END LIBTOOL CONFIG
16686 cat <<\_LT_EOF >> "$cfgfile"
16687 # AIX sometimes has problems with the GCC collect2 program. For some
16688 # reason, if we set the COLLECT_NAMES environment variable, the problems
16689 # vanish in a puff of smoke.
16690 if test "X${COLLECT_NAMES+set}" != Xset; then
16692 export COLLECT_NAMES
16699 ltmain="$ac_aux_dir/ltmain.sh"
16702 # We use sed instead of cat because bash on DJGPP gets confused if
16703 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16704 # text mode, it properly converts lines to CR/LF. This bash problem
16705 # is reportedly fixed, but why not run on old versions too?
16706 sed '$q' "$ltmain" >> "$cfgfile" \
16707 || (rm -f "$cfgfile"; exit 1)
16709 if test x"$xsi_shell" = xyes; then
16710 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16714 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16715 \ * ) func_dirname_result="${3}" ;;\
16717 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16718 && mv -f "$cfgfile.tmp" "$cfgfile" \
16719 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16720 test 0 -eq $? || _lt_function_replace_fail=:
16723 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16726 \ func_basename_result="${1##*/}"\
16727 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16728 && mv -f "$cfgfile.tmp" "$cfgfile" \
16729 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16730 test 0 -eq $? || _lt_function_replace_fail=:
16733 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16734 func_dirname_and_basename ()\
16737 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16738 \ * ) func_dirname_result="${3}" ;;\
16740 \ func_basename_result="${1##*/}"\
16741 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16742 && mv -f "$cfgfile.tmp" "$cfgfile" \
16743 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16744 test 0 -eq $? || _lt_function_replace_fail=:
16747 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16750 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16751 \ # positional parameters, so assign one to ordinary parameter first.\
16752 \ func_stripname_result=${3}\
16753 \ func_stripname_result=${func_stripname_result#"${1}"}\
16754 \ func_stripname_result=${func_stripname_result%"${2}"}\
16755 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16756 && mv -f "$cfgfile.tmp" "$cfgfile" \
16757 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16758 test 0 -eq $? || _lt_function_replace_fail=:
16761 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16762 func_split_long_opt ()\
16764 \ func_split_long_opt_name=${1%%=*}\
16765 \ func_split_long_opt_arg=${1#*=}\
16766 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16767 && mv -f "$cfgfile.tmp" "$cfgfile" \
16768 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16769 test 0 -eq $? || _lt_function_replace_fail=:
16772 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16773 func_split_short_opt ()\
16775 \ func_split_short_opt_arg=${1#??}\
16776 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16777 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16778 && mv -f "$cfgfile.tmp" "$cfgfile" \
16779 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16780 test 0 -eq $? || _lt_function_replace_fail=:
16783 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16787 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16788 \ *) func_lo2o_result=${1} ;;\
16790 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16791 && mv -f "$cfgfile.tmp" "$cfgfile" \
16792 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16793 test 0 -eq $? || _lt_function_replace_fail=:
16796 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16799 func_xform_result=${1%.*}.lo\
16800 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16801 && mv -f "$cfgfile.tmp" "$cfgfile" \
16802 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16803 test 0 -eq $? || _lt_function_replace_fail=:
16806 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16809 func_arith_result=$(( $* ))\
16810 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16811 && mv -f "$cfgfile.tmp" "$cfgfile" \
16812 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16813 test 0 -eq $? || _lt_function_replace_fail=:
16816 sed -e '/^func_len ()$/,/^} # func_len /c\
16819 func_len_result=${#1}\
16820 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16821 && mv -f "$cfgfile.tmp" "$cfgfile" \
16822 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16823 test 0 -eq $? || _lt_function_replace_fail=:
16827 if test x"$lt_shell_append" = xyes; then
16828 sed -e '/^func_append ()$/,/^} # func_append /c\
16831 eval "${1}+=\\${2}"\
16832 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16833 && mv -f "$cfgfile.tmp" "$cfgfile" \
16834 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16835 test 0 -eq $? || _lt_function_replace_fail=:
16838 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16839 func_append_quoted ()\
16841 \ func_quote_for_eval "${2}"\
16842 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16843 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16844 && mv -f "$cfgfile.tmp" "$cfgfile" \
16845 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16846 test 0 -eq $? || _lt_function_replace_fail=:
16849 # Save a `func_append' function call where possible by direct use of '+='
16850 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16851 && mv -f "$cfgfile.tmp" "$cfgfile" \
16852 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16853 test 0 -eq $? || _lt_function_replace_fail=:
16855 # Save a `func_append' function call even when '+=' is not available
16856 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16857 && mv -f "$cfgfile.tmp" "$cfgfile" \
16858 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16859 test 0 -eq $? || _lt_function_replace_fail=:
16862 if test x"$_lt_function_replace_fail" = x":"; then
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16864 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16868 mv -f "$cfgfile" "$ofile" ||
16869 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16880 ac_clean_files=$ac_clean_files_save
16882 test $ac_write_fail = 0 ||
16883 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16886 # configure is writing to config.log, and then calls config.status.
16887 # config.status does its own redirection, appending to config.log.
16888 # Unfortunately, on DOS this fails, as config.log is still kept open
16889 # by configure, so config.status won't be able to write to it; its
16890 # output is simply discarded. So we exec the FD to /dev/null,
16891 # effectively closing config.log, so it can be properly (re)opened and
16892 # appended to by config.status. When coming back to configure, we
16893 # need to make the FD available again.
16894 if test "$no_create" != yes; then
16896 ac_config_status_args=
16897 test "$silent" = yes &&
16898 ac_config_status_args="$ac_config_status_args --quiet"
16900 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16902 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16903 # would make configure fail if this is the last instruction.
16904 $ac_cs_success || as_fn_exit 1
16906 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16908 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16913 #####################################################################
16919 echo "------------------------------------------------------------------------"
16920 echo "$PACKAGE $VERSION"
16921 echo "------------------------------------------------------------------------"
16923 echo "Configuration Options Summary:"
16925 echo " Build embryo_cc......: $have_embryo_cc"
16927 echo " Documentation........: ${build_doc}"
16928 if test "x${build_doc}" = "xyes" ; then
16929 echo " Installation.......: make install-doc"
16932 echo "Compilation............: make (or gmake)"
16933 echo " CPPFLAGS.............: $CPPFLAGS"
16934 echo " CFLAGS...............: $CFLAGS"
16935 echo " LDFLAGS..............: $LDFLAGS"
16937 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
16938 echo " prefix...............: $prefix"