2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libradsec 0.0.4.dev.
5 # Report bugs to <linus+libradsec@nordu.net>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: linus+libradsec@nordu.net about your system, including
279 $0: any error possibly output before this message. Then
280 $0: install a modern shell, or manually run the script
281 $0: under such a shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
591 PACKAGE_NAME='libradsec'
592 PACKAGE_TARNAME='libradsec'
593 PACKAGE_VERSION='0.0.4.dev'
594 PACKAGE_STRING='libradsec 0.0.4.dev'
595 PACKAGE_BUGREPORT='linus+libradsec@nordu.net'
598 ac_unique_file="radsec.c"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars='am__EXEEXT_FALSE
639 RS_ENABLE_TLS_PSK_FALSE
640 RS_ENABLE_TLS_PSK_TRUE
698 INSTALL_STRIP_PROGRAM
740 program_transform_name
753 enable_option_checking
758 enable_dependency_tracking
765 ac_precious_vars='build_alias
776 # Initialize some variables set by options.
778 ac_init_version=false
779 ac_unrecognized_opts=
781 # The variables have the same names as the options, with
782 # dashes changed to underlines.
790 program_transform_name=s,x,x,
798 # Installation directory options.
799 # These are left unexpanded so users can "make install exec_prefix=/foo"
800 # and all the variables that are supposed to be based on exec_prefix
801 # by default will actually change.
802 # Use braces instead of parens because sh, perl, etc. also accept them.
803 # (The list follows the same order as the GNU Coding Standards.)
804 bindir='${exec_prefix}/bin'
805 sbindir='${exec_prefix}/sbin'
806 libexecdir='${exec_prefix}/libexec'
807 datarootdir='${prefix}/share'
808 datadir='${datarootdir}'
809 sysconfdir='${prefix}/etc'
810 sharedstatedir='${prefix}/com'
811 localstatedir='${prefix}/var'
812 includedir='${prefix}/include'
813 oldincludedir='/usr/include'
814 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
815 infodir='${datarootdir}/info'
820 libdir='${exec_prefix}/lib'
821 localedir='${datarootdir}/locale'
822 mandir='${datarootdir}/man'
828 # If the previous option needs an argument, assign it.
829 if test -n "$ac_prev"; then
830 eval $ac_prev=\$ac_option
836 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
841 # Accept the important Cygnus configure options, so we can diagnose typos.
843 case $ac_dashdash$ac_option in
847 -bindir | --bindir | --bindi | --bind | --bin | --bi)
849 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
852 -build | --build | --buil | --bui | --bu)
853 ac_prev=build_alias ;;
854 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
855 build_alias=$ac_optarg ;;
857 -cache-file | --cache-file | --cache-fil | --cache-fi \
858 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
859 ac_prev=cache_file ;;
860 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
861 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
862 cache_file=$ac_optarg ;;
865 cache_file=config.cache ;;
867 -datadir | --datadir | --datadi | --datad)
869 -datadir=* | --datadir=* | --datadi=* | --datad=*)
870 datadir=$ac_optarg ;;
872 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
873 | --dataroo | --dataro | --datar)
874 ac_prev=datarootdir ;;
875 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
876 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
877 datarootdir=$ac_optarg ;;
879 -disable-* | --disable-*)
880 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
881 # Reject names that are not valid shell variable names.
882 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
883 as_fn_error $? "invalid feature name: $ac_useropt"
884 ac_useropt_orig=$ac_useropt
885 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
886 case $ac_user_opts in
890 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
891 ac_unrecognized_sep=', ';;
893 eval enable_$ac_useropt=no ;;
895 -docdir | --docdir | --docdi | --doc | --do)
897 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
900 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
902 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
905 -enable-* | --enable-*)
906 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
907 # Reject names that are not valid shell variable names.
908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
909 as_fn_error $? "invalid feature name: $ac_useropt"
910 ac_useropt_orig=$ac_useropt
911 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
912 case $ac_user_opts in
916 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
917 ac_unrecognized_sep=', ';;
919 eval enable_$ac_useropt=\$ac_optarg ;;
921 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
922 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
923 | --exec | --exe | --ex)
924 ac_prev=exec_prefix ;;
925 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
926 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
927 | --exec=* | --exe=* | --ex=*)
928 exec_prefix=$ac_optarg ;;
930 -gas | --gas | --ga | --g)
931 # Obsolete; use --with-gas.
934 -help | --help | --hel | --he | -h)
936 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
937 ac_init_help=recursive ;;
938 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
939 ac_init_help=short ;;
941 -host | --host | --hos | --ho)
942 ac_prev=host_alias ;;
943 -host=* | --host=* | --hos=* | --ho=*)
944 host_alias=$ac_optarg ;;
946 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
948 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
950 htmldir=$ac_optarg ;;
952 -includedir | --includedir | --includedi | --included | --include \
953 | --includ | --inclu | --incl | --inc)
954 ac_prev=includedir ;;
955 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
956 | --includ=* | --inclu=* | --incl=* | --inc=*)
957 includedir=$ac_optarg ;;
959 -infodir | --infodir | --infodi | --infod | --info | --inf)
961 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
962 infodir=$ac_optarg ;;
964 -libdir | --libdir | --libdi | --libd)
966 -libdir=* | --libdir=* | --libdi=* | --libd=*)
969 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
970 | --libexe | --libex | --libe)
971 ac_prev=libexecdir ;;
972 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
973 | --libexe=* | --libex=* | --libe=*)
974 libexecdir=$ac_optarg ;;
976 -localedir | --localedir | --localedi | --localed | --locale)
978 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
979 localedir=$ac_optarg ;;
981 -localstatedir | --localstatedir | --localstatedi | --localstated \
982 | --localstate | --localstat | --localsta | --localst | --locals)
983 ac_prev=localstatedir ;;
984 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
985 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
986 localstatedir=$ac_optarg ;;
988 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
990 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
994 # Obsolete; use --without-fp.
997 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
998 | --no-cr | --no-c | -n)
1001 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1002 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1005 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1006 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1007 | --oldin | --oldi | --old | --ol | --o)
1008 ac_prev=oldincludedir ;;
1009 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1010 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1011 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1012 oldincludedir=$ac_optarg ;;
1014 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1016 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1017 prefix=$ac_optarg ;;
1019 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1020 | --program-pre | --program-pr | --program-p)
1021 ac_prev=program_prefix ;;
1022 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1023 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1024 program_prefix=$ac_optarg ;;
1026 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1027 | --program-suf | --program-su | --program-s)
1028 ac_prev=program_suffix ;;
1029 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1030 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1031 program_suffix=$ac_optarg ;;
1033 -program-transform-name | --program-transform-name \
1034 | --program-transform-nam | --program-transform-na \
1035 | --program-transform-n | --program-transform- \
1036 | --program-transform | --program-transfor \
1037 | --program-transfo | --program-transf \
1038 | --program-trans | --program-tran \
1039 | --progr-tra | --program-tr | --program-t)
1040 ac_prev=program_transform_name ;;
1041 -program-transform-name=* | --program-transform-name=* \
1042 | --program-transform-nam=* | --program-transform-na=* \
1043 | --program-transform-n=* | --program-transform-=* \
1044 | --program-transform=* | --program-transfor=* \
1045 | --program-transfo=* | --program-transf=* \
1046 | --program-trans=* | --program-tran=* \
1047 | --progr-tra=* | --program-tr=* | --program-t=*)
1048 program_transform_name=$ac_optarg ;;
1050 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1052 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1053 pdfdir=$ac_optarg ;;
1055 -psdir | --psdir | --psdi | --psd | --ps)
1057 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061 | -silent | --silent | --silen | --sile | --sil)
1064 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1066 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1068 sbindir=$ac_optarg ;;
1070 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1071 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1072 | --sharedst | --shareds | --shared | --share | --shar \
1074 ac_prev=sharedstatedir ;;
1075 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1076 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1077 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1079 sharedstatedir=$ac_optarg ;;
1081 -site | --site | --sit)
1083 -site=* | --site=* | --sit=*)
1086 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1088 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1089 srcdir=$ac_optarg ;;
1091 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1092 | --syscon | --sysco | --sysc | --sys | --sy)
1093 ac_prev=sysconfdir ;;
1094 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1095 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1096 sysconfdir=$ac_optarg ;;
1098 -target | --target | --targe | --targ | --tar | --ta | --t)
1099 ac_prev=target_alias ;;
1100 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1101 target_alias=$ac_optarg ;;
1103 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1106 -version | --version | --versio | --versi | --vers | -V)
1107 ac_init_version=: ;;
1110 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1113 as_fn_error $? "invalid package name: $ac_useropt"
1114 ac_useropt_orig=$ac_useropt
1115 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116 case $ac_user_opts in
1120 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1121 ac_unrecognized_sep=', ';;
1123 eval with_$ac_useropt=\$ac_optarg ;;
1125 -without-* | --without-*)
1126 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1127 # Reject names that are not valid shell variable names.
1128 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1129 as_fn_error $? "invalid package name: $ac_useropt"
1130 ac_useropt_orig=$ac_useropt
1131 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132 case $ac_user_opts in
1136 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1137 ac_unrecognized_sep=', ';;
1139 eval with_$ac_useropt=no ;;
1142 # Obsolete; use --with-x.
1145 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1146 | --x-incl | --x-inc | --x-in | --x-i)
1147 ac_prev=x_includes ;;
1148 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1149 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1150 x_includes=$ac_optarg ;;
1152 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1153 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1154 ac_prev=x_libraries ;;
1155 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1156 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1157 x_libraries=$ac_optarg ;;
1159 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1160 Try \`$0 --help' for more information"
1164 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1165 # Reject names that are not valid shell variable names.
1166 case $ac_envvar in #(
1167 '' | [0-9]* | *[!_$as_cr_alnum]* )
1168 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1170 eval $ac_envvar=\$ac_optarg
1171 export $ac_envvar ;;
1174 # FIXME: should be removed in autoconf 3.0.
1175 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1176 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1177 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1178 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1184 if test -n "$ac_prev"; then
1185 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1186 as_fn_error $? "missing argument to $ac_option"
1189 if test -n "$ac_unrecognized_opts"; then
1190 case $enable_option_checking in
1192 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1193 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1197 # Check all directory arguments for consistency.
1198 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1199 datadir sysconfdir sharedstatedir localstatedir includedir \
1200 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1201 libdir localedir mandir
1203 eval ac_val=\$$ac_var
1204 # Remove trailing slashes.
1207 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1208 eval $ac_var=\$ac_val;;
1210 # Be sure to have absolute directory names.
1212 [\\/$]* | ?:[\\/]* ) continue;;
1213 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1215 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1218 # There might be people who depend on the old broken behavior: `$host'
1219 # used to hold the argument of --host etc.
1220 # FIXME: To remove some day.
1223 target=$target_alias
1225 # FIXME: To remove some day.
1226 if test "x$host_alias" != x; then
1227 if test "x$build_alias" = x; then
1228 cross_compiling=maybe
1229 elif test "x$build_alias" != "x$host_alias"; then
1235 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1237 test "$silent" = yes && exec 6>/dev/null
1240 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1241 ac_ls_di=`ls -di .` &&
1242 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1243 as_fn_error $? "working directory cannot be determined"
1244 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1245 as_fn_error $? "pwd does not report name of working directory"
1248 # Find the source files, if location was not specified.
1249 if test -z "$srcdir"; then
1250 ac_srcdir_defaulted=yes
1251 # Try the directory containing this script, then the parent directory.
1252 ac_confdir=`$as_dirname -- "$as_myself" ||
1253 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1254 X"$as_myself" : 'X\(//\)[^/]' \| \
1255 X"$as_myself" : 'X\(//\)$' \| \
1256 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1257 $as_echo X"$as_myself" |
1258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1276 if test ! -r "$srcdir/$ac_unique_file"; then
1280 ac_srcdir_defaulted=no
1282 if test ! -r "$srcdir/$ac_unique_file"; then
1283 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1284 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1286 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1288 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1290 # When building in place, set srcdir=.
1291 if test "$ac_abs_confdir" = "$ac_pwd"; then
1294 # Remove unnecessary trailing slashes from srcdir.
1295 # Double slashes in file names in object file debugging info
1296 # mess up M-x gdb in Emacs.
1298 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1300 for ac_var in $ac_precious_vars; do
1301 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1302 eval ac_env_${ac_var}_value=\$${ac_var}
1303 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1304 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1308 # Report the --help message.
1310 if test "$ac_init_help" = "long"; then
1311 # Omit some internal or obsolete options to make the list less imposing.
1312 # This message is too long to be a string in the A/UX 3.1 sh.
1314 \`configure' configures libradsec 0.0.4.dev to adapt to many kinds of systems.
1316 Usage: $0 [OPTION]... [VAR=VALUE]...
1318 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1319 VAR=VALUE. See below for descriptions of some of the useful variables.
1321 Defaults for the options are specified in brackets.
1324 -h, --help display this help and exit
1325 --help=short display options specific to this package
1326 --help=recursive display the short help of all the included packages
1327 -V, --version display version information and exit
1328 -q, --quiet, --silent do not print \`checking ...' messages
1329 --cache-file=FILE cache test results in FILE [disabled]
1330 -C, --config-cache alias for \`--cache-file=config.cache'
1331 -n, --no-create do not create output files
1332 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1334 Installation directories:
1335 --prefix=PREFIX install architecture-independent files in PREFIX
1336 [$ac_default_prefix]
1337 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1340 By default, \`make install' will install all the files in
1341 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1342 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1343 for instance \`--prefix=\$HOME'.
1345 For better control, use the options below.
1347 Fine tuning of the installation directories:
1348 --bindir=DIR user executables [EPREFIX/bin]
1349 --sbindir=DIR system admin executables [EPREFIX/sbin]
1350 --libexecdir=DIR program executables [EPREFIX/libexec]
1351 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1352 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1353 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1354 --libdir=DIR object code libraries [EPREFIX/lib]
1355 --includedir=DIR C header files [PREFIX/include]
1356 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1357 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1358 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1359 --infodir=DIR info documentation [DATAROOTDIR/info]
1360 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1361 --mandir=DIR man documentation [DATAROOTDIR/man]
1362 --docdir=DIR documentation root [DATAROOTDIR/doc/libradsec]
1363 --htmldir=DIR html documentation [DOCDIR]
1364 --dvidir=DIR dvi documentation [DOCDIR]
1365 --pdfdir=DIR pdf documentation [DOCDIR]
1366 --psdir=DIR ps documentation [DOCDIR]
1372 --program-prefix=PREFIX prepend PREFIX to installed program names
1373 --program-suffix=SUFFIX append SUFFIX to installed program names
1374 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1377 --build=BUILD configure for building on BUILD [guessed]
1378 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1382 if test -n "$ac_init_help"; then
1383 case $ac_init_help in
1384 short | recursive ) echo "Configuration of libradsec 0.0.4.dev:";;
1389 --disable-option-checking ignore unrecognized --enable/--with options
1390 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1391 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1392 --enable-shared[=PKGS] build shared libraries [default=yes]
1393 --enable-static[=PKGS] build static libraries [default=yes]
1394 --enable-fast-install[=PKGS]
1395 optimize for fast installation [default=yes]
1396 --disable-dependency-tracking speeds up one-time build
1397 --enable-dependency-tracking do not reject slow dependency extractors
1398 --disable-libtool-lock avoid locking (might break parallel builds)
1399 --enable-tls enable TLS (RadSec)
1400 --enable-tls-psk enable TLS-PSK (TLS preshared keys)
1403 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1404 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1405 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1407 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1408 --with-sysroot=DIR Search for dependent libraries within DIR
1409 (or the compiler's sysroot if not specified).
1411 Some influential environment variables:
1412 CC C compiler command
1413 CFLAGS C compiler flags
1414 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1415 nonstandard directory <lib dir>
1416 LIBS libraries to pass to the linker, e.g. -l<library>
1417 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1418 you have headers in a nonstandard directory <include dir>
1421 Use these variables to override the choices made by `configure' or to help
1422 it to find libraries and programs with nonstandard names/locations.
1424 Report bugs to <linus+libradsec@nordu.net>.
1429 if test "$ac_init_help" = "recursive"; then
1430 # If there are subdirs, report their specific --help.
1431 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1432 test -d "$ac_dir" ||
1433 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1438 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1440 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1441 # A ".." for each directory in $ac_dir_suffix.
1442 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1443 case $ac_top_builddir_sub in
1444 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1448 ac_abs_top_builddir=$ac_pwd
1449 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1450 # for backward compatibility:
1451 ac_top_builddir=$ac_top_build_prefix
1454 .) # We are building in place.
1456 ac_top_srcdir=$ac_top_builddir_sub
1457 ac_abs_top_srcdir=$ac_pwd ;;
1458 [\\/]* | ?:[\\/]* ) # Absolute name.
1459 ac_srcdir=$srcdir$ac_dir_suffix;
1460 ac_top_srcdir=$srcdir
1461 ac_abs_top_srcdir=$srcdir ;;
1463 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1464 ac_top_srcdir=$ac_top_build_prefix$srcdir
1465 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1467 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1469 cd "$ac_dir" || { ac_status=$?; continue; }
1470 # Check for guested configure.
1471 if test -f "$ac_srcdir/configure.gnu"; then
1473 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1474 elif test -f "$ac_srcdir/configure"; then
1476 $SHELL "$ac_srcdir/configure" --help=recursive
1478 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1480 cd "$ac_pwd" || { ac_status=$?; break; }
1484 test -n "$ac_init_help" && exit $ac_status
1485 if $ac_init_version; then
1487 libradsec configure 0.0.4.dev
1488 generated by GNU Autoconf 2.69
1490 Copyright (C) 2012 Free Software Foundation, Inc.
1491 This configure script is free software; the Free Software Foundation
1492 gives unlimited permission to copy, distribute and modify it.
1497 ## ------------------------ ##
1498 ## Autoconf initialization. ##
1499 ## ------------------------ ##
1501 # ac_fn_c_try_compile LINENO
1502 # --------------------------
1503 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1504 ac_fn_c_try_compile ()
1506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1507 rm -f conftest.$ac_objext
1508 if { { ac_try="$ac_compile"
1510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1511 *) ac_try_echo=$ac_try;;
1513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1514 $as_echo "$ac_try_echo"; } >&5
1515 (eval "$ac_compile") 2>conftest.err
1517 if test -s conftest.err; then
1518 grep -v '^ *+' conftest.err >conftest.er1
1519 cat conftest.er1 >&5
1520 mv -f conftest.er1 conftest.err
1522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1523 test $ac_status = 0; } && {
1524 test -z "$ac_c_werror_flag" ||
1525 test ! -s conftest.err
1526 } && test -s conftest.$ac_objext; then :
1529 $as_echo "$as_me: failed program was:" >&5
1530 sed 's/^/| /' conftest.$ac_ext >&5
1534 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1535 as_fn_set_status $ac_retval
1537 } # ac_fn_c_try_compile
1539 # ac_fn_c_try_link LINENO
1540 # -----------------------
1541 # Try to link conftest.$ac_ext, and return whether this succeeded.
1544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1545 rm -f conftest.$ac_objext conftest$ac_exeext
1546 if { { ac_try="$ac_link"
1548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1549 *) ac_try_echo=$ac_try;;
1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1552 $as_echo "$ac_try_echo"; } >&5
1553 (eval "$ac_link") 2>conftest.err
1555 if test -s conftest.err; then
1556 grep -v '^ *+' conftest.err >conftest.er1
1557 cat conftest.er1 >&5
1558 mv -f conftest.er1 conftest.err
1560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561 test $ac_status = 0; } && {
1562 test -z "$ac_c_werror_flag" ||
1563 test ! -s conftest.err
1564 } && test -s conftest$ac_exeext && {
1565 test "$cross_compiling" = yes ||
1566 test -x conftest$ac_exeext
1570 $as_echo "$as_me: failed program was:" >&5
1571 sed 's/^/| /' conftest.$ac_ext >&5
1575 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1576 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1577 # interfere with the next link command; also delete a directory that is
1578 # left behind by Apple's compiler. We do this before executing the actions.
1579 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581 as_fn_set_status $ac_retval
1583 } # ac_fn_c_try_link
1585 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1586 # -------------------------------------------------------
1587 # Tests whether HEADER exists and can be compiled using the include files in
1588 # INCLUDES, setting the cache variable VAR accordingly.
1589 ac_fn_c_check_header_compile ()
1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1593 $as_echo_n "checking for $2... " >&6; }
1594 if eval \${$3+:} false; then :
1595 $as_echo_n "(cached) " >&6
1597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1598 /* end confdefs.h. */
1602 if ac_fn_c_try_compile "$LINENO"; then :
1607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1611 $as_echo "$ac_res" >&6; }
1612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1614 } # ac_fn_c_check_header_compile
1616 # ac_fn_c_try_cpp LINENO
1617 # ----------------------
1618 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 if { { ac_try="$ac_cpp conftest.$ac_ext"
1624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1625 *) ac_try_echo=$ac_try;;
1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628 $as_echo "$ac_try_echo"; } >&5
1629 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1631 if test -s conftest.err; then
1632 grep -v '^ *+' conftest.err >conftest.er1
1633 cat conftest.er1 >&5
1634 mv -f conftest.er1 conftest.err
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637 test $ac_status = 0; } > conftest.i && {
1638 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1639 test ! -s conftest.err
1643 $as_echo "$as_me: failed program was:" >&5
1644 sed 's/^/| /' conftest.$ac_ext >&5
1648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1649 as_fn_set_status $ac_retval
1653 # ac_fn_c_try_run LINENO
1654 # ----------------------
1655 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1656 # that executables *can* be run.
1659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660 if { { ac_try="$ac_link"
1662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_link") 2>&5
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1671 { { case "(($ac_try" in
1672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1673 *) ac_try_echo=$ac_try;;
1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676 $as_echo "$ac_try_echo"; } >&5
1677 (eval "$ac_try") 2>&5
1679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680 test $ac_status = 0; }; }; then :
1683 $as_echo "$as_me: program exited with status $ac_status" >&5
1684 $as_echo "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.$ac_ext >&5
1687 ac_retval=$ac_status
1689 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1691 as_fn_set_status $ac_retval
1695 # ac_fn_c_check_func LINENO FUNC VAR
1696 # ----------------------------------
1697 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1698 ac_fn_c_check_func ()
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1702 $as_echo_n "checking for $2... " >&6; }
1703 if eval \${$3+:} false; then :
1704 $as_echo_n "(cached) " >&6
1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1707 /* end confdefs.h. */
1708 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1710 #define $2 innocuous_$2
1712 /* System header to define __stub macros and hopefully few prototypes,
1713 which can conflict with char $2 (); below.
1714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1715 <limits.h> exists even on freestanding compilers. */
1718 # include <limits.h>
1720 # include <assert.h>
1725 /* Override any GCC internal prototype to avoid an error.
1726 Use char because int might match the return type of a GCC
1727 builtin and then its argument prototype would still apply. */
1732 /* The GNU C library defines this for functions which it implements
1733 to always fail with ENOSYS. Some functions are actually named
1734 something starting with __ and the normal name is an alias. */
1735 #if defined __stub_$2 || defined __stub___$2
1747 if ac_fn_c_try_link "$LINENO"; then :
1752 rm -f core conftest.err conftest.$ac_objext \
1753 conftest$ac_exeext conftest.$ac_ext
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1757 $as_echo "$ac_res" >&6; }
1758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1760 } # ac_fn_c_check_func
1762 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1763 # -------------------------------------------------------
1764 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1765 # the include files in INCLUDES and setting the cache variable VAR
1767 ac_fn_c_check_header_mongrel ()
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 if eval \${$3+:} false; then :
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1772 $as_echo_n "checking for $2... " >&6; }
1773 if eval \${$3+:} false; then :
1774 $as_echo_n "(cached) " >&6
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1780 # Is the header compilable?
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1782 $as_echo_n "checking $2 usability... " >&6; }
1783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1784 /* end confdefs.h. */
1788 if ac_fn_c_try_compile "$LINENO"; then :
1789 ac_header_compiler=yes
1791 ac_header_compiler=no
1793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1795 $as_echo "$ac_header_compiler" >&6; }
1797 # Is the header present?
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1799 $as_echo_n "checking $2 presence... " >&6; }
1800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1801 /* end confdefs.h. */
1804 if ac_fn_c_try_cpp "$LINENO"; then :
1805 ac_header_preproc=yes
1807 ac_header_preproc=no
1809 rm -f conftest.err conftest.i conftest.$ac_ext
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1811 $as_echo "$ac_header_preproc" >&6; }
1813 # So? What about this header?
1814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1817 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1819 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1823 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1825 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1827 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1829 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1831 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1832 ( $as_echo "## ---------------------------------------- ##
1833 ## Report this to linus+libradsec@nordu.net ##
1834 ## ---------------------------------------- ##"
1835 ) | sed "s/^/$as_me: WARNING: /" >&2
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1839 $as_echo_n "checking for $2... " >&6; }
1840 if eval \${$3+:} false; then :
1841 $as_echo_n "(cached) " >&6
1843 eval "$3=\$ac_header_compiler"
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847 $as_echo "$ac_res" >&6; }
1849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1851 } # ac_fn_c_check_header_mongrel
1853 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1854 # -------------------------------------------
1855 # Tests whether TYPE exists after having included INCLUDES, setting cache
1856 # variable VAR accordingly.
1857 ac_fn_c_check_type ()
1859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1861 $as_echo_n "checking for $2... " >&6; }
1862 if eval \${$3+:} false; then :
1863 $as_echo_n "(cached) " >&6
1866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1867 /* end confdefs.h. */
1878 if ac_fn_c_try_compile "$LINENO"; then :
1879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880 /* end confdefs.h. */
1891 if ac_fn_c_try_compile "$LINENO"; then :
1896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1902 $as_echo "$ac_res" >&6; }
1903 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1905 } # ac_fn_c_check_type
1907 # ac_fn_c_find_uintX_t LINENO BITS VAR
1908 # ------------------------------------
1909 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1911 ac_fn_c_find_uintX_t ()
1913 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1915 $as_echo_n "checking for uint$2_t... " >&6; }
1916 if eval \${$3+:} false; then :
1917 $as_echo_n "(cached) " >&6
1920 # Order is important - never check a type that is potentially smaller
1921 # than half of the expected target width.
1922 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1923 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1925 /* end confdefs.h. */
1926 $ac_includes_default
1930 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1932 return test_array [0];
1938 if ac_fn_c_try_compile "$LINENO"; then :
1943 eval "$3=\$ac_type" ;;
1946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1947 if eval test \"x\$"$3"\" = x"no"; then :
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1956 $as_echo "$ac_res" >&6; }
1957 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1959 } # ac_fn_c_find_uintX_t
1960 cat >config.log <<_ACEOF
1961 This file contains any messages produced by compilers while
1962 running configure, to aid debugging if configure makes a mistake.
1964 It was created by libradsec $as_me 0.0.4.dev, which was
1965 generated by GNU Autoconf 2.69. Invocation command line was
1977 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1978 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1979 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1980 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1981 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1983 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1984 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1986 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1987 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1988 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1989 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1990 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1991 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1992 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2000 test -z "$as_dir" && as_dir=.
2001 $as_echo "PATH: $as_dir"
2017 # Keep a trace of the command line.
2018 # Strip out --no-create and --no-recursion so they do not pile up.
2019 # Strip out --silent because we don't want to record it for future runs.
2020 # Also quote any args containing shell meta-characters.
2021 # Make two passes to allow for proper duplicate-argument suppression.
2025 ac_must_keep_next=false
2031 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2032 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2033 | -silent | --silent | --silen | --sile | --sil)
2036 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2039 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2041 as_fn_append ac_configure_args1 " '$ac_arg'"
2042 if test $ac_must_keep_next = true; then
2043 ac_must_keep_next=false # Got value, back to normal.
2046 *=* | --config-cache | -C | -disable-* | --disable-* \
2047 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2048 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2049 | -with-* | --with-* | -without-* | --without-* | --x)
2050 case "$ac_configure_args0 " in
2051 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2054 -* ) ac_must_keep_next=true ;;
2057 as_fn_append ac_configure_args " '$ac_arg'"
2062 { ac_configure_args0=; unset ac_configure_args0;}
2063 { ac_configure_args1=; unset ac_configure_args1;}
2065 # When interrupted or exit'd, cleanup temporary files, and complete
2066 # config.log. We remove comments because anyway the quotes in there
2067 # would cause problems or look ugly.
2068 # WARNING: Use '\'' to represent an apostrophe within the trap.
2069 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2070 trap 'exit_status=$?
2071 # Save into config.log some information that might help in debugging.
2075 $as_echo "## ---------------- ##
2076 ## Cache variables. ##
2077 ## ---------------- ##"
2079 # The following way of writing the cache mishandles newlines in values,
2081 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2082 eval ac_val=\$$ac_var
2086 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2087 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2090 _ | IFS | as_nl) ;; #(
2091 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2092 *) { eval $ac_var=; unset $ac_var;} ;;
2097 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2098 *${as_nl}ac_space=\ *)
2100 "s/'\''/'\''\\\\'\'''\''/g;
2101 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2104 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2111 $as_echo "## ----------------- ##
2112 ## Output variables. ##
2113 ## ----------------- ##"
2115 for ac_var in $ac_subst_vars
2117 eval ac_val=\$$ac_var
2119 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2121 $as_echo "$ac_var='\''$ac_val'\''"
2125 if test -n "$ac_subst_files"; then
2126 $as_echo "## ------------------- ##
2127 ## File substitutions. ##
2128 ## ------------------- ##"
2130 for ac_var in $ac_subst_files
2132 eval ac_val=\$$ac_var
2134 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2136 $as_echo "$ac_var='\''$ac_val'\''"
2141 if test -s confdefs.h; then
2142 $as_echo "## ----------- ##
2149 test "$ac_signal" != 0 &&
2150 $as_echo "$as_me: caught signal $ac_signal"
2151 $as_echo "$as_me: exit $exit_status"
2153 rm -f core *.core core.conftest.* &&
2154 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2157 for ac_signal in 1 2 13 15; do
2158 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2162 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2163 rm -f -r conftest* confdefs.h
2165 $as_echo "/* confdefs.h */" > confdefs.h
2167 # Predefined preprocessor variables.
2169 cat >>confdefs.h <<_ACEOF
2170 #define PACKAGE_NAME "$PACKAGE_NAME"
2173 cat >>confdefs.h <<_ACEOF
2174 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2177 cat >>confdefs.h <<_ACEOF
2178 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2181 cat >>confdefs.h <<_ACEOF
2182 #define PACKAGE_STRING "$PACKAGE_STRING"
2185 cat >>confdefs.h <<_ACEOF
2186 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2189 cat >>confdefs.h <<_ACEOF
2190 #define PACKAGE_URL "$PACKAGE_URL"
2194 # Let the site file select an alternate cache file if it wants to.
2195 # Prefer an explicitly selected file to automatically selected ones.
2198 if test -n "$CONFIG_SITE"; then
2199 # We do not want a PATH search for config.site.
2200 case $CONFIG_SITE in #((
2201 -*) ac_site_file1=./$CONFIG_SITE;;
2202 */*) ac_site_file1=$CONFIG_SITE;;
2203 *) ac_site_file1=./$CONFIG_SITE;;
2205 elif test "x$prefix" != xNONE; then
2206 ac_site_file1=$prefix/share/config.site
2207 ac_site_file2=$prefix/etc/config.site
2209 ac_site_file1=$ac_default_prefix/share/config.site
2210 ac_site_file2=$ac_default_prefix/etc/config.site
2212 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2214 test "x$ac_site_file" = xNONE && continue
2215 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2217 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2218 sed 's/^/| /' "$ac_site_file" >&5
2220 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2222 as_fn_error $? "failed to load site script $ac_site_file
2223 See \`config.log' for more details" "$LINENO" 5; }
2227 if test -r "$cache_file"; then
2228 # Some versions of bash will fail to source /dev/null (special files
2229 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2230 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2232 $as_echo "$as_me: loading cache $cache_file" >&6;}
2234 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2235 *) . "./$cache_file";;
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2240 $as_echo "$as_me: creating cache $cache_file" >&6;}
2244 # Check that the precious variables saved in the cache have kept the same
2246 ac_cache_corrupted=false
2247 for ac_var in $ac_precious_vars; do
2248 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2249 eval ac_new_set=\$ac_env_${ac_var}_set
2250 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2251 eval ac_new_val=\$ac_env_${ac_var}_value
2252 case $ac_old_set,$ac_new_set in
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2255 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2256 ac_cache_corrupted=: ;;
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2259 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2260 ac_cache_corrupted=: ;;
2263 if test "x$ac_old_val" != "x$ac_new_val"; then
2264 # differences in whitespace do not lead to failure.
2265 ac_old_val_w=`echo x $ac_old_val`
2266 ac_new_val_w=`echo x $ac_new_val`
2267 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2269 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2270 ac_cache_corrupted=:
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2273 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2274 eval $ac_var=\$ac_old_val
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2277 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2279 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2282 # Pass precious variables to config.status.
2283 if test "$ac_new_set" = set; then
2285 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2286 *) ac_arg=$ac_var=$ac_new_val ;;
2288 case " $ac_configure_args " in
2289 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2290 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2294 if $ac_cache_corrupted; then
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2298 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2299 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2301 ## -------------------- ##
2302 ## Main body of script. ##
2303 ## -------------------- ##
2306 ac_cpp='$CPP $CPPFLAGS'
2307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2315 for ac_dir in build-aux "$srcdir"/build-aux; do
2316 if test -f "$ac_dir/install-sh"; then
2318 ac_install_sh="$ac_aux_dir/install-sh -c"
2320 elif test -f "$ac_dir/install.sh"; then
2322 ac_install_sh="$ac_aux_dir/install.sh -c"
2324 elif test -f "$ac_dir/shtool"; then
2326 ac_install_sh="$ac_aux_dir/shtool install -c"
2330 if test -z "$ac_aux_dir"; then
2331 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2334 # These three variables are undocumented and unsupported,
2335 # and are intended to be withdrawn in a future Autoconf release.
2336 # They can cause serious problems if a builder's source tree is in a directory
2337 # whose full name contains unusual characters.
2338 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2339 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2340 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2343 ac_config_headers="$ac_config_headers config.h"
2345 am__api_version='1.11'
2347 # Find a good install program. We prefer a C program (faster),
2348 # so one script is as good as another. But avoid the broken or
2349 # incompatible versions:
2350 # SysV /etc/install, /usr/sbin/install
2351 # SunOS /usr/etc/install
2352 # IRIX /sbin/install
2354 # AmigaOS /C/install, which installs bootblocks on floppy discs
2355 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2356 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2357 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2358 # OS/2's system install, which has a completely different semantic
2359 # ./install, which can be erroneously created by make from ./install.sh.
2360 # Reject install programs that cannot install multiple files.
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2362 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2363 if test -z "$INSTALL"; then
2364 if ${ac_cv_path_install+:} false; then :
2365 $as_echo_n "(cached) " >&6
2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 test -z "$as_dir" && as_dir=.
2372 # Account for people who put trailing slashes in PATH elements.
2373 case $as_dir/ in #((
2374 ./ | .// | /[cC]/* | \
2375 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2376 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2379 # OSF1 and SCO ODT 3.0 have their own names for install.
2380 # Don't use installbsd from OSF since it installs stuff as root
2382 for ac_prog in ginstall scoinst install; do
2383 for ac_exec_ext in '' $ac_executable_extensions; do
2384 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2385 if test $ac_prog = install &&
2386 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2387 # AIX install. It has an incompatible calling convention.
2389 elif test $ac_prog = install &&
2390 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2391 # program-specific install script used by HP pwplus--don't use.
2394 rm -rf conftest.one conftest.two conftest.dir
2395 echo one > conftest.one
2396 echo two > conftest.two
2398 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2399 test -s conftest.one && test -s conftest.two &&
2400 test -s conftest.dir/conftest.one &&
2401 test -s conftest.dir/conftest.two
2403 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2416 rm -rf conftest.one conftest.two conftest.dir
2419 if test "${ac_cv_path_install+set}" = set; then
2420 INSTALL=$ac_cv_path_install
2422 # As a last resort, use the slow shell script. Don't cache a
2423 # value for INSTALL within a source directory, because that will
2424 # break other packages using the cache if that directory is
2425 # removed, or if the value is a relative name.
2426 INSTALL=$ac_install_sh
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2430 $as_echo "$INSTALL" >&6; }
2432 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2433 # It thinks the first close brace ends the variable substitution.
2434 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2436 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2438 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2441 $as_echo_n "checking whether build environment is sane... " >&6; }
2444 echo timestamp > conftest.file
2445 # Reject unsafe characters in $srcdir or the absolute working directory
2446 # name. Accept space and tab only in the latter.
2450 *[\\\"\#\$\&\'\`$am_lf]*)
2451 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2454 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2455 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2458 # Do `set' in a subshell so we don't clobber the current shell's
2459 # arguments. Must try -L first in case configure is actually a
2460 # symlink; some systems play weird games with the mod time of symlinks
2461 # (eg FreeBSD returns the mod time of the symlink's containing
2464 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2465 if test "$*" = "X"; then
2467 set X `ls -t "$srcdir/configure" conftest.file`
2470 if test "$*" != "X $srcdir/configure conftest.file" \
2471 && test "$*" != "X conftest.file $srcdir/configure"; then
2473 # If neither matched, then we have a broken ls. This can happen
2474 # if, for instance, CONFIG_SHELL is bash and it inherits a
2475 # broken ls alias from the environment. This has actually
2476 # happened. Such a system could not be considered "sane".
2477 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2478 alias in your environment" "$LINENO" 5
2481 test "$2" = conftest.file
2487 as_fn_error $? "newly created file is older than distributed files!
2488 Check your system clock" "$LINENO" 5
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2491 $as_echo "yes" >&6; }
2492 test "$program_prefix" != NONE &&
2493 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2494 # Use a double $ so make ignores it.
2495 test "$program_suffix" != NONE &&
2496 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2497 # Double any \ or $.
2498 # By default was `s,x,x', remove it if useless.
2499 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2500 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2502 # expand $ac_aux_dir to an absolute path
2503 am_aux_dir=`cd $ac_aux_dir && pwd`
2505 if test x"${MISSING+set}" != xset; then
2508 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2510 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2513 # Use eval to expand $SHELL
2514 if eval "$MISSING --run true"; then
2515 am_missing_run="$MISSING --run "
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2519 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2522 if test x"${install_sh}" != xset; then
2525 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2527 install_sh="\${SHELL} $am_aux_dir/install-sh"
2531 # Installed binaries are usually stripped using `strip' when the user
2532 # run `make install-strip'. However `strip' might not be the right
2533 # tool to use in cross-compilation environments, therefore Automake
2534 # will honor the `STRIP' environment variable to overrule this program.
2535 if test "$cross_compiling" != no; then
2536 if test -n "$ac_tool_prefix"; then
2537 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2538 set dummy ${ac_tool_prefix}strip; ac_word=$2
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2540 $as_echo_n "checking for $ac_word... " >&6; }
2541 if ${ac_cv_prog_STRIP+:} false; then :
2542 $as_echo_n "(cached) " >&6
2544 if test -n "$STRIP"; then
2545 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551 test -z "$as_dir" && as_dir=.
2552 for ac_exec_ext in '' $ac_executable_extensions; do
2553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2554 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2564 STRIP=$ac_cv_prog_STRIP
2565 if test -n "$STRIP"; then
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2567 $as_echo "$STRIP" >&6; }
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2570 $as_echo "no" >&6; }
2575 if test -z "$ac_cv_prog_STRIP"; then
2577 # Extract the first word of "strip", so it can be a program name with args.
2578 set dummy strip; ac_word=$2
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2580 $as_echo_n "checking for $ac_word... " >&6; }
2581 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2582 $as_echo_n "(cached) " >&6
2584 if test -n "$ac_ct_STRIP"; then
2585 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2591 test -z "$as_dir" && as_dir=.
2592 for ac_exec_ext in '' $ac_executable_extensions; do
2593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2594 ac_cv_prog_ac_ct_STRIP="strip"
2595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2604 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2605 if test -n "$ac_ct_STRIP"; then
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2607 $as_echo "$ac_ct_STRIP" >&6; }
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2610 $as_echo "no" >&6; }
2613 if test "x$ac_ct_STRIP" = x; then
2616 case $cross_compiling:$ac_tool_warned in
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2620 ac_tool_warned=yes ;;
2625 STRIP="$ac_cv_prog_STRIP"
2629 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2632 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2633 if test -z "$MKDIR_P"; then
2634 if ${ac_cv_path_mkdir+:} false; then :
2635 $as_echo_n "(cached) " >&6
2637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2641 test -z "$as_dir" && as_dir=.
2642 for ac_prog in mkdir gmkdir; do
2643 for ac_exec_ext in '' $ac_executable_extensions; do
2644 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2645 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2646 'mkdir (GNU coreutils) '* | \
2647 'mkdir (coreutils) '* | \
2648 'mkdir (fileutils) '4.1*)
2649 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2659 test -d ./--version && rmdir ./--version
2660 if test "${ac_cv_path_mkdir+set}" = set; then
2661 MKDIR_P="$ac_cv_path_mkdir -p"
2663 # As a last resort, use the slow shell script. Don't cache a
2664 # value for MKDIR_P within a source directory, because that will
2665 # break other packages using the cache if that directory is
2666 # removed, or if the value is a relative name.
2667 MKDIR_P="$ac_install_sh -d"
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2671 $as_echo "$MKDIR_P" >&6; }
2675 [\\/$]* | ?:[\\/]*) ;;
2676 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2679 for ac_prog in gawk mawk nawk awk
2681 # Extract the first word of "$ac_prog", so it can be a program name with args.
2682 set dummy $ac_prog; ac_word=$2
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684 $as_echo_n "checking for $ac_word... " >&6; }
2685 if ${ac_cv_prog_AWK+:} false; then :
2686 $as_echo_n "(cached) " >&6
2688 if test -n "$AWK"; then
2689 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695 test -z "$as_dir" && as_dir=.
2696 for ac_exec_ext in '' $ac_executable_extensions; do
2697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2698 ac_cv_prog_AWK="$ac_prog"
2699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2709 if test -n "$AWK"; then
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2711 $as_echo "$AWK" >&6; }
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714 $as_echo "no" >&6; }
2718 test -n "$AWK" && break
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2722 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2724 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2725 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2726 $as_echo_n "(cached) " >&6
2728 cat >conftest.make <<\_ACEOF
2731 @echo '@@@%%%=$(MAKE)=@@@%%%'
2733 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2734 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2736 eval ac_cv_prog_make_${ac_make}_set=yes;;
2738 eval ac_cv_prog_make_${ac_make}_set=no;;
2742 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2744 $as_echo "yes" >&6; }
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2748 $as_echo "no" >&6; }
2749 SET_MAKE="MAKE=${MAKE-make}"
2752 rm -rf .tst 2>/dev/null
2753 mkdir .tst 2>/dev/null
2754 if test -d .tst; then
2759 rmdir .tst 2>/dev/null
2761 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2762 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2763 # is not polluted with repeated "-I."
2764 am__isrc=' -I$(srcdir)'
2765 # test to see if srcdir already configured
2766 if test -f $srcdir/config.status; then
2767 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2771 # test whether we have cygpath
2772 if test -z "$CYGPATH_W"; then
2773 if (cygpath --version) >/dev/null 2>/dev/null; then
2774 CYGPATH_W='cygpath -w'
2781 # Define the identity of the package.
2786 cat >>confdefs.h <<_ACEOF
2787 #define PACKAGE "$PACKAGE"
2791 cat >>confdefs.h <<_ACEOF
2792 #define VERSION "$VERSION"
2795 # Some tools Automake needs.
2797 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2800 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2803 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2806 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2809 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2811 # We need awk for the "check" target. The system "awk" is bad on
2813 # Always define AMTAR for backward compatibility. Yes, it's still used
2814 # in the wild :-( We should find a proper way to deprecate it ...
2817 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2826 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2831 macro_version='2.4.2'
2832 macro_revision='1.3337'
2846 ltmain="$ac_aux_dir/ltmain.sh"
2848 # Make sure we can run config.sub.
2849 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2850 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2853 $as_echo_n "checking build system type... " >&6; }
2854 if ${ac_cv_build+:} false; then :
2855 $as_echo_n "(cached) " >&6
2857 ac_build_alias=$build_alias
2858 test "x$ac_build_alias" = x &&
2859 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2860 test "x$ac_build_alias" = x &&
2861 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2862 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2863 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2867 $as_echo "$ac_cv_build" >&6; }
2868 case $ac_cv_build in
2870 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2873 ac_save_IFS=$IFS; IFS='-'
2879 # Remember, the first character of IFS is used to create $*,
2880 # except with old shells:
2883 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2887 $as_echo_n "checking host system type... " >&6; }
2888 if ${ac_cv_host+:} false; then :
2889 $as_echo_n "(cached) " >&6
2891 if test "x$host_alias" = x; then
2892 ac_cv_host=$ac_cv_build
2894 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2895 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2900 $as_echo "$ac_cv_host" >&6; }
2903 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2906 ac_save_IFS=$IFS; IFS='-'
2912 # Remember, the first character of IFS is used to create $*,
2913 # except with old shells:
2916 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2919 # Backslashify metacharacters that are still active within
2920 # double-quoted strings.
2921 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2923 # Same as above, but do not quote variable references.
2924 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2926 # Sed substitution to delay expansion of an escaped shell variable in a
2927 # double_quote_subst'ed string.
2928 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2930 # Sed substitution to delay expansion of an escaped single quote.
2931 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2933 # Sed substitution to avoid accidental globbing in evaled expressions
2934 no_glob_subst='s/\*/\\\*/g'
2936 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2937 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2938 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2941 $as_echo_n "checking how to print strings... " >&6; }
2942 # Test print first, because it will be a builtin if present.
2943 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2944 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2946 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2949 # Use this function as a fallback that always works.
2950 func_fallback_echo ()
2952 eval 'cat <<_LTECHO_EOF
2956 ECHO='func_fallback_echo'
2959 # func_echo_all arg...
2960 # Invoke $ECHO with all args, space-separated.
2967 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2968 $as_echo "printf" >&6; } ;;
2969 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2970 $as_echo "print -r" >&6; } ;;
2971 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2972 $as_echo "cat" >&6; } ;;
2988 DEPDIR="${am__leading_dot}deps"
2990 ac_config_commands="$ac_config_commands depfiles"
2993 am_make=${MAKE-make}
2994 cat > confinc << 'END'
2996 @echo this is the am__doit target
2999 # If we don't find an include directive, just comment out the code.
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3001 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3005 # First try GNU make style include.
3006 echo "include confinc" > confmf
3007 # Ignore all kinds of additional output from `make'.
3008 case `$am_make -s -f confmf 2> /dev/null` in #(
3009 *the\ am__doit\ target*)
3015 # Now try BSD make style include.
3016 if test "$am__include" = "#"; then
3017 echo '.include "confinc"' > confmf
3018 case `$am_make -s -f confmf 2> /dev/null` in #(
3019 *the\ am__doit\ target*)
3020 am__include=.include
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3029 $as_echo "$_am_result" >&6; }
3030 rm -f confinc confmf
3032 # Check whether --enable-dependency-tracking was given.
3033 if test "${enable_dependency_tracking+set}" = set; then :
3034 enableval=$enable_dependency_tracking;
3037 if test "x$enable_dependency_tracking" != xno; then
3038 am_depcomp="$ac_aux_dir/depcomp"
3042 if test "x$enable_dependency_tracking" != xno; then
3052 ac_cpp='$CPP $CPPFLAGS'
3053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3056 if test -n "$ac_tool_prefix"; then
3057 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3058 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3060 $as_echo_n "checking for $ac_word... " >&6; }
3061 if ${ac_cv_prog_CC+:} false; then :
3062 $as_echo_n "(cached) " >&6
3064 if test -n "$CC"; then
3065 ac_cv_prog_CC="$CC" # Let the user override the test.
3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3071 test -z "$as_dir" && as_dir=.
3072 for ac_exec_ext in '' $ac_executable_extensions; do
3073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3074 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3085 if test -n "$CC"; then
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3087 $as_echo "$CC" >&6; }
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090 $as_echo "no" >&6; }
3095 if test -z "$ac_cv_prog_CC"; then
3097 # Extract the first word of "gcc", so it can be a program name with args.
3098 set dummy gcc; ac_word=$2
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3100 $as_echo_n "checking for $ac_word... " >&6; }
3101 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3102 $as_echo_n "(cached) " >&6
3104 if test -n "$ac_ct_CC"; then
3105 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3111 test -z "$as_dir" && as_dir=.
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3114 ac_cv_prog_ac_ct_CC="gcc"
3115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3124 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3125 if test -n "$ac_ct_CC"; then
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3127 $as_echo "$ac_ct_CC" >&6; }
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3130 $as_echo "no" >&6; }
3133 if test "x$ac_ct_CC" = x; then
3136 case $cross_compiling:$ac_tool_warned in
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3140 ac_tool_warned=yes ;;
3148 if test -z "$CC"; then
3149 if test -n "$ac_tool_prefix"; then
3150 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3151 set dummy ${ac_tool_prefix}cc; ac_word=$2
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3153 $as_echo_n "checking for $ac_word... " >&6; }
3154 if ${ac_cv_prog_CC+:} false; then :
3155 $as_echo_n "(cached) " >&6
3157 if test -n "$CC"; then
3158 ac_cv_prog_CC="$CC" # Let the user override the test.
3160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164 test -z "$as_dir" && as_dir=.
3165 for ac_exec_ext in '' $ac_executable_extensions; do
3166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3167 ac_cv_prog_CC="${ac_tool_prefix}cc"
3168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178 if test -n "$CC"; then
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3180 $as_echo "$CC" >&6; }
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3183 $as_echo "no" >&6; }
3189 if test -z "$CC"; then
3190 # Extract the first word of "cc", so it can be a program name with args.
3191 set dummy cc; ac_word=$2
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3193 $as_echo_n "checking for $ac_word... " >&6; }
3194 if ${ac_cv_prog_CC+:} false; then :
3195 $as_echo_n "(cached) " >&6
3197 if test -n "$CC"; then
3198 ac_cv_prog_CC="$CC" # Let the user override the test.
3201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205 test -z "$as_dir" && as_dir=.
3206 for ac_exec_ext in '' $ac_executable_extensions; do
3207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3208 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3209 ac_prog_rejected=yes
3213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3220 if test $ac_prog_rejected = yes; then
3221 # We found a bogon in the path, so make sure we never use it.
3222 set dummy $ac_cv_prog_CC
3224 if test $# != 0; then
3225 # We chose a different compiler from the bogus one.
3226 # However, it has the same basename, so the bogon will be chosen
3227 # first if we set CC to just the basename; use the full file name.
3229 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3235 if test -n "$CC"; then
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3237 $as_echo "$CC" >&6; }
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3240 $as_echo "no" >&6; }
3245 if test -z "$CC"; then
3246 if test -n "$ac_tool_prefix"; then
3247 for ac_prog in cl.exe
3249 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3250 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252 $as_echo_n "checking for $ac_word... " >&6; }
3253 if ${ac_cv_prog_CC+:} false; then :
3254 $as_echo_n "(cached) " >&6
3256 if test -n "$CC"; then
3257 ac_cv_prog_CC="$CC" # Let the user override the test.
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3266 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3277 if test -n "$CC"; then
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3279 $as_echo "$CC" >&6; }
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3286 test -n "$CC" && break
3289 if test -z "$CC"; then
3291 for ac_prog in cl.exe
3293 # Extract the first word of "$ac_prog", so it can be a program name with args.
3294 set dummy $ac_prog; ac_word=$2
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3296 $as_echo_n "checking for $ac_word... " >&6; }
3297 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3298 $as_echo_n "(cached) " >&6
3300 if test -n "$ac_ct_CC"; then
3301 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3307 test -z "$as_dir" && as_dir=.
3308 for ac_exec_ext in '' $ac_executable_extensions; do
3309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3310 ac_cv_prog_ac_ct_CC="$ac_prog"
3311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3320 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3321 if test -n "$ac_ct_CC"; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3323 $as_echo "$ac_ct_CC" >&6; }
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326 $as_echo "no" >&6; }
3330 test -n "$ac_ct_CC" && break
3333 if test "x$ac_ct_CC" = x; then
3336 case $cross_compiling:$ac_tool_warned in
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3340 ac_tool_warned=yes ;;
3349 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3351 as_fn_error $? "no acceptable C compiler found in \$PATH
3352 See \`config.log' for more details" "$LINENO" 5; }
3354 # Provide some information about the compiler.
3355 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3358 for ac_option in --version -v -V -qversion; do
3359 { { ac_try="$ac_compiler $ac_option >&5"
3361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3362 *) ac_try_echo=$ac_try;;
3364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3365 $as_echo "$ac_try_echo"; } >&5
3366 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3368 if test -s conftest.err; then
3370 ... rest of stderr output deleted ...
3371 10q' conftest.err >conftest.er1
3372 cat conftest.er1 >&5
3374 rm -f conftest.er1 conftest.err
3375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3376 test $ac_status = 0; }
3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h. */
3390 ac_clean_files_save=$ac_clean_files
3391 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3392 # Try to create an executable without -o first, disregard a.out.
3393 # It will help us diagnose broken compilers, and finding out an intuition
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3396 $as_echo_n "checking whether the C compiler works... " >&6; }
3397 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3399 # The possible output files:
3400 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3403 for ac_file in $ac_files
3406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3407 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3412 if { { ac_try="$ac_link_default"
3414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3415 *) ac_try_echo=$ac_try;;
3417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3418 $as_echo "$ac_try_echo"; } >&5
3419 (eval "$ac_link_default") 2>&5
3421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3422 test $ac_status = 0; }; then :
3423 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3424 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3425 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3426 # so that the user can short-circuit this test for compilers unknown to
3428 for ac_file in $ac_files ''
3430 test -f "$ac_file" || continue
3432 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3435 # We found the default executable, but exeext='' is most
3439 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3441 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3443 # We set ac_cv_exeext here because the later test for it is not
3444 # safe: cross compilers may not add the suffix if given an `-o'
3445 # argument, so we may need to know it at that point already.
3446 # Even if this section looks crufty: it has the advantage of
3453 test "$ac_cv_exeext" = no && ac_cv_exeext=
3458 if test -z "$ac_file"; then :
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3460 $as_echo "no" >&6; }
3461 $as_echo "$as_me: failed program was:" >&5
3462 sed 's/^/| /' conftest.$ac_ext >&5
3464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3466 as_fn_error 77 "C compiler cannot create executables
3467 See \`config.log' for more details" "$LINENO" 5; }
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3470 $as_echo "yes" >&6; }
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3473 $as_echo_n "checking for C compiler default output file name... " >&6; }
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3475 $as_echo "$ac_file" >&6; }
3476 ac_exeext=$ac_cv_exeext
3478 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3479 ac_clean_files=$ac_clean_files_save
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3481 $as_echo_n "checking for suffix of executables... " >&6; }
3482 if { { ac_try="$ac_link"
3484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485 *) ac_try_echo=$ac_try;;
3487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3488 $as_echo "$ac_try_echo"; } >&5
3489 (eval "$ac_link") 2>&5
3491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3492 test $ac_status = 0; }; then :
3493 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3494 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3495 # work properly (i.e., refer to `conftest.exe'), while it won't with
3497 for ac_file in conftest.exe conftest conftest.*; do
3498 test -f "$ac_file" || continue
3500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3501 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3507 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3510 See \`config.log' for more details" "$LINENO" 5; }
3512 rm -f conftest conftest$ac_cv_exeext
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3514 $as_echo "$ac_cv_exeext" >&6; }
3516 rm -f conftest.$ac_ext
3517 EXEEXT=$ac_cv_exeext
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3525 FILE *f = fopen ("conftest.out", "w");
3526 return ferror (f) || fclose (f) != 0;
3532 ac_clean_files="$ac_clean_files conftest.out"
3533 # Check that the compiler produces executables we can run. If not, either
3534 # the compiler is broken, or we cross compile.
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3536 $as_echo_n "checking whether we are cross compiling... " >&6; }
3537 if test "$cross_compiling" != yes; then
3538 { { ac_try="$ac_link"
3540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3541 *) ac_try_echo=$ac_try;;
3543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3544 $as_echo "$ac_try_echo"; } >&5
3545 (eval "$ac_link") 2>&5
3547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3548 test $ac_status = 0; }
3549 if { ac_try='./conftest$ac_cv_exeext'
3550 { { case "(($ac_try" in
3551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3552 *) ac_try_echo=$ac_try;;
3554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3555 $as_echo "$ac_try_echo"; } >&5
3556 (eval "$ac_try") 2>&5
3558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3559 test $ac_status = 0; }; }; then
3562 if test "$cross_compiling" = maybe; then
3565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3567 as_fn_error $? "cannot run C compiled programs.
3568 If you meant to cross compile, use \`--host'.
3569 See \`config.log' for more details" "$LINENO" 5; }
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3574 $as_echo "$cross_compiling" >&6; }
3576 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3577 ac_clean_files=$ac_clean_files_save
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3579 $as_echo_n "checking for suffix of object files... " >&6; }
3580 if ${ac_cv_objext+:} false; then :
3581 $as_echo_n "(cached) " >&6
3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h. */
3594 rm -f conftest.o conftest.obj
3595 if { { ac_try="$ac_compile"
3597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;
3600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3601 $as_echo "$ac_try_echo"; } >&5
3602 (eval "$ac_compile") 2>&5
3604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3605 test $ac_status = 0; }; then :
3606 for ac_file in conftest.o conftest.obj conftest.*; do
3607 test -f "$ac_file" || continue;
3609 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3610 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3615 $as_echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.$ac_ext >&5
3618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3620 as_fn_error $? "cannot compute suffix of object files: cannot compile
3621 See \`config.log' for more details" "$LINENO" 5; }
3623 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3626 $as_echo "$ac_cv_objext" >&6; }
3627 OBJEXT=$ac_cv_objext
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3630 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3631 if ${ac_cv_c_compiler_gnu+:} false; then :
3632 $as_echo_n "(cached) " >&6
3634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635 /* end confdefs.h. */
3648 if ac_fn_c_try_compile "$LINENO"; then :
3653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3654 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3658 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3659 if test $ac_compiler_gnu = yes; then
3664 ac_test_CFLAGS=${CFLAGS+set}
3665 ac_save_CFLAGS=$CFLAGS
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3667 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3668 if ${ac_cv_prog_cc_g+:} false; then :
3669 $as_echo_n "(cached) " >&6
3671 ac_save_c_werror_flag=$ac_c_werror_flag
3672 ac_c_werror_flag=yes
3675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3676 /* end confdefs.h. */
3686 if ac_fn_c_try_compile "$LINENO"; then :
3690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3691 /* end confdefs.h. */
3701 if ac_fn_c_try_compile "$LINENO"; then :
3704 ac_c_werror_flag=$ac_save_c_werror_flag
3706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707 /* end confdefs.h. */
3717 if ac_fn_c_try_compile "$LINENO"; then :
3720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3725 ac_c_werror_flag=$ac_save_c_werror_flag
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3728 $as_echo "$ac_cv_prog_cc_g" >&6; }
3729 if test "$ac_test_CFLAGS" = set; then
3730 CFLAGS=$ac_save_CFLAGS
3731 elif test $ac_cv_prog_cc_g = yes; then
3732 if test "$GCC" = yes; then
3738 if test "$GCC" = yes; then
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3745 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3746 if ${ac_cv_prog_cc_c89+:} false; then :
3747 $as_echo_n "(cached) " >&6
3749 ac_cv_prog_cc_c89=no
3751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3752 /* end confdefs.h. */
3756 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3757 struct buf { int x; };
3758 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3759 static char *e (p, i)
3765 static char *f (char * (*g) (char **, int), char **p, ...)
3770 s = g (p, va_arg (v,int));
3775 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3776 function prototypes and stuff, but not '\xHH' hex character constants.
3777 These don't provoke an error unfortunately, instead are silently treated
3778 as 'x'. The following induces an error, until -std is added to get
3779 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3780 array size at least. It's necessary to write '\x00'==0 to get something
3781 that's true only with -std. */
3782 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3784 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3785 inside strings and character constants. */
3787 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3789 int test (int i, double x);
3790 struct s1 {int (*f) (int a);};
3791 struct s2 {int (*f) (double a);};
3792 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3798 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3803 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3804 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3806 CC="$ac_save_CC $ac_arg"
3807 if ac_fn_c_try_compile "$LINENO"; then :
3808 ac_cv_prog_cc_c89=$ac_arg
3810 rm -f core conftest.err conftest.$ac_objext
3811 test "x$ac_cv_prog_cc_c89" != "xno" && break
3813 rm -f conftest.$ac_ext
3818 case "x$ac_cv_prog_cc_c89" in
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3821 $as_echo "none needed" >&6; } ;;
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3824 $as_echo "unsupported" >&6; } ;;
3826 CC="$CC $ac_cv_prog_cc_c89"
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3828 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3830 if test "x$ac_cv_prog_cc_c89" != xno; then :
3835 ac_cpp='$CPP $CPPFLAGS'
3836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3840 depcc="$CC" am_compiler_list=
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3843 $as_echo_n "checking dependency style of $depcc... " >&6; }
3844 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3845 $as_echo_n "(cached) " >&6
3847 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3848 # We make a subdir and do the tests there. Otherwise we can end up
3849 # making bogus files that we don't know about and never remove. For
3850 # instance it was reported that on HP-UX the gcc test will end up
3851 # making a dummy file named `D' -- because `-MD' means `put the output
3855 # Copy depcomp to subdir because otherwise we won't find it if we're
3856 # using a relative directory.
3857 cp "$am_depcomp" conftest.dir
3859 # We will build objects and dependencies in a subdirectory because
3860 # it helps to detect inapplicable dependency modes. For instance
3861 # both Tru64's cc and ICC support -MD to output dependencies as a
3862 # side effect of compilation, but ICC will put the dependencies in
3863 # the current directory while Tru64 will put them in the object
3867 am_cv_CC_dependencies_compiler_type=none
3868 if test "$am_compiler_list" = ""; then
3869 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3872 case " $depcc " in #(
3873 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3876 for depmode in $am_compiler_list; do
3877 # Setup a source with many dependencies, because some compilers
3878 # like to wrap large dependency lists on column 80 (with \), and
3879 # we should not choose a depcomp mode which is confused by this.
3881 # We need to recreate these files for each test, as the compiler may
3882 # overwrite some of them when testing with obscure command lines.
3883 # This happens at least with the AIX C compiler.
3885 for i in 1 2 3 4 5 6; do
3886 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3887 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3888 # Solaris 8's {/usr,}/bin/sh.
3889 touch sub/conftst$i.h
3891 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3893 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3894 # mode. It turns out that the SunPro C++ compiler does not properly
3895 # handle `-M -o', and we need to detect this. Also, some Intel
3896 # versions had trouble with output in subdirs
3897 am__obj=sub/conftest.${OBJEXT-o}
3898 am__minus_obj="-o $am__obj"
3901 # This depmode causes a compiler race in universal mode.
3902 test "$am__universal" = false || continue
3905 # after this tag, mechanisms are not by side-effect, so they'll
3906 # only be used when explicitly requested
3907 if test "x$enable_dependency_tracking" = xyes; then
3913 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3914 # This compiler won't grok `-c -o', but also, the minuso test has
3915 # not run yet. These depmodes are late enough in the game, and
3916 # so weak that their functioning should not be impacted.
3917 am__obj=conftest.${OBJEXT-o}
3922 if depmode=$depmode \
3923 source=sub/conftest.c object=$am__obj \
3924 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3925 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3926 >/dev/null 2>conftest.err &&
3927 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3928 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3929 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3930 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3931 # icc doesn't choke on unknown options, it will just issue warnings
3932 # or remarks (even with -Werror). So we grep stderr for any message
3933 # that says an option was ignored or not supported.
3934 # When given -MP, icc 7.0 and 7.1 complain thusly:
3935 # icc: Command line warning: ignoring option '-M'; no argument required
3936 # The diagnosis changed in icc 8.0:
3937 # icc: Command line remark: option '-MP' not supported
3938 if (grep 'ignoring option' conftest.err ||
3939 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3940 am_cv_CC_dependencies_compiler_type=$depmode
3949 am_cv_CC_dependencies_compiler_type=none
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3954 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3955 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3958 test "x$enable_dependency_tracking" != xno \
3959 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3961 am__fastdepCC_FALSE='#'
3963 am__fastdepCC_TRUE='#'
3964 am__fastdepCC_FALSE=
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3969 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3970 if ${ac_cv_path_SED+:} false; then :
3971 $as_echo_n "(cached) " >&6
3973 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3974 for ac_i in 1 2 3 4 5 6 7; do
3975 ac_script="$ac_script$as_nl$ac_script"
3977 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3978 { ac_script=; unset ac_script;}
3979 if test -z "$SED"; then
3980 ac_path_SED_found=false
3981 # Loop through the user's path and test for each of PROGNAME-LIST
3982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3986 test -z "$as_dir" && as_dir=.
3987 for ac_prog in sed gsed; do
3988 for ac_exec_ext in '' $ac_executable_extensions; do
3989 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3990 as_fn_executable_p "$ac_path_SED" || continue
3991 # Check for GNU ac_path_SED and select it if it is found.
3992 # Check for GNU $ac_path_SED
3993 case `"$ac_path_SED" --version 2>&1` in
3995 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3998 $as_echo_n 0123456789 >"conftest.in"
4001 cat "conftest.in" "conftest.in" >"conftest.tmp"
4002 mv "conftest.tmp" "conftest.in"
4003 cp "conftest.in" "conftest.nl"
4004 $as_echo '' >> "conftest.nl"
4005 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4006 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4007 as_fn_arith $ac_count + 1 && ac_count=$as_val
4008 if test $ac_count -gt ${ac_path_SED_max-0}; then
4009 # Best one so far, save it but keep looking for a better one
4010 ac_cv_path_SED="$ac_path_SED"
4011 ac_path_SED_max=$ac_count
4013 # 10*(2^10) chars as input seems more than enough
4014 test $ac_count -gt 10 && break
4016 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4019 $ac_path_SED_found && break 3
4024 if test -z "$ac_cv_path_SED"; then
4025 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4033 $as_echo "$ac_cv_path_SED" >&6; }
4034 SED="$ac_cv_path_SED"
4037 test -z "$SED" && SED=sed
4038 Xsed="$SED -e 1s/^X//"
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4051 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4052 if ${ac_cv_path_GREP+:} false; then :
4053 $as_echo_n "(cached) " >&6
4055 if test -z "$GREP"; then
4056 ac_path_GREP_found=false
4057 # Loop through the user's path and test for each of PROGNAME-LIST
4058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4059 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4062 test -z "$as_dir" && as_dir=.
4063 for ac_prog in grep ggrep; do
4064 for ac_exec_ext in '' $ac_executable_extensions; do
4065 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4066 as_fn_executable_p "$ac_path_GREP" || continue
4067 # Check for GNU ac_path_GREP and select it if it is found.
4068 # Check for GNU $ac_path_GREP
4069 case `"$ac_path_GREP" --version 2>&1` in
4071 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4074 $as_echo_n 0123456789 >"conftest.in"
4077 cat "conftest.in" "conftest.in" >"conftest.tmp"
4078 mv "conftest.tmp" "conftest.in"
4079 cp "conftest.in" "conftest.nl"
4080 $as_echo 'GREP' >> "conftest.nl"
4081 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4082 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4083 as_fn_arith $ac_count + 1 && ac_count=$as_val
4084 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4085 # Best one so far, save it but keep looking for a better one
4086 ac_cv_path_GREP="$ac_path_GREP"
4087 ac_path_GREP_max=$ac_count
4089 # 10*(2^10) chars as input seems more than enough
4090 test $ac_count -gt 10 && break
4092 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4095 $ac_path_GREP_found && break 3
4100 if test -z "$ac_cv_path_GREP"; then
4101 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4104 ac_cv_path_GREP=$GREP
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4109 $as_echo "$ac_cv_path_GREP" >&6; }
4110 GREP="$ac_cv_path_GREP"
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4114 $as_echo_n "checking for egrep... " >&6; }
4115 if ${ac_cv_path_EGREP+:} false; then :
4116 $as_echo_n "(cached) " >&6
4118 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4119 then ac_cv_path_EGREP="$GREP -E"
4121 if test -z "$EGREP"; then
4122 ac_path_EGREP_found=false
4123 # Loop through the user's path and test for each of PROGNAME-LIST
4124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4125 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4128 test -z "$as_dir" && as_dir=.
4129 for ac_prog in egrep; do
4130 for ac_exec_ext in '' $ac_executable_extensions; do
4131 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4132 as_fn_executable_p "$ac_path_EGREP" || continue
4133 # Check for GNU ac_path_EGREP and select it if it is found.
4134 # Check for GNU $ac_path_EGREP
4135 case `"$ac_path_EGREP" --version 2>&1` in
4137 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4140 $as_echo_n 0123456789 >"conftest.in"
4143 cat "conftest.in" "conftest.in" >"conftest.tmp"
4144 mv "conftest.tmp" "conftest.in"
4145 cp "conftest.in" "conftest.nl"
4146 $as_echo 'EGREP' >> "conftest.nl"
4147 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4148 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4149 as_fn_arith $ac_count + 1 && ac_count=$as_val
4150 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4151 # Best one so far, save it but keep looking for a better one
4152 ac_cv_path_EGREP="$ac_path_EGREP"
4153 ac_path_EGREP_max=$ac_count
4155 # 10*(2^10) chars as input seems more than enough
4156 test $ac_count -gt 10 && break
4158 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4161 $ac_path_EGREP_found && break 3
4166 if test -z "$ac_cv_path_EGREP"; then
4167 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4170 ac_cv_path_EGREP=$EGREP
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4176 $as_echo "$ac_cv_path_EGREP" >&6; }
4177 EGREP="$ac_cv_path_EGREP"
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4181 $as_echo_n "checking for fgrep... " >&6; }
4182 if ${ac_cv_path_FGREP+:} false; then :
4183 $as_echo_n "(cached) " >&6
4185 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4186 then ac_cv_path_FGREP="$GREP -F"
4188 if test -z "$FGREP"; then
4189 ac_path_FGREP_found=false
4190 # Loop through the user's path and test for each of PROGNAME-LIST
4191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4192 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4195 test -z "$as_dir" && as_dir=.
4196 for ac_prog in fgrep; do
4197 for ac_exec_ext in '' $ac_executable_extensions; do
4198 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4199 as_fn_executable_p "$ac_path_FGREP" || continue
4200 # Check for GNU ac_path_FGREP and select it if it is found.
4201 # Check for GNU $ac_path_FGREP
4202 case `"$ac_path_FGREP" --version 2>&1` in
4204 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4207 $as_echo_n 0123456789 >"conftest.in"
4210 cat "conftest.in" "conftest.in" >"conftest.tmp"
4211 mv "conftest.tmp" "conftest.in"
4212 cp "conftest.in" "conftest.nl"
4213 $as_echo 'FGREP' >> "conftest.nl"
4214 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4215 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4216 as_fn_arith $ac_count + 1 && ac_count=$as_val
4217 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4218 # Best one so far, save it but keep looking for a better one
4219 ac_cv_path_FGREP="$ac_path_FGREP"
4220 ac_path_FGREP_max=$ac_count
4222 # 10*(2^10) chars as input seems more than enough
4223 test $ac_count -gt 10 && break
4225 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4228 $ac_path_FGREP_found && break 3
4233 if test -z "$ac_cv_path_FGREP"; then
4234 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4237 ac_cv_path_FGREP=$FGREP
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4243 $as_echo "$ac_cv_path_FGREP" >&6; }
4244 FGREP="$ac_cv_path_FGREP"
4247 test -z "$GREP" && GREP=grep
4267 # Check whether --with-gnu-ld was given.
4268 if test "${with_gnu_ld+set}" = set; then :
4269 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4275 if test "$GCC" = yes; then
4276 # Check if gcc -print-prog-name=ld gives a path.
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4278 $as_echo_n "checking for ld used by $CC... " >&6; }
4281 # gcc leaves a trailing carriage return which upsets mingw
4282 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4284 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4287 # Accept absolute paths.
4289 re_direlt='/[^/][^/]*/\.\./'
4290 # Canonicalize the pathname of ld
4291 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4292 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4293 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4295 test -z "$LD" && LD="$ac_prog"
4298 # If it fails, then pretend we aren't using GCC.
4302 # If it is relative, then search for the first ld in PATH.
4306 elif test "$with_gnu_ld" = yes; then
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4308 $as_echo_n "checking for GNU ld... " >&6; }
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4311 $as_echo_n "checking for non-GNU ld... " >&6; }
4313 if ${lt_cv_path_LD+:} false; then :
4314 $as_echo_n "(cached) " >&6
4316 if test -z "$LD"; then
4317 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4318 for ac_dir in $PATH; do
4320 test -z "$ac_dir" && ac_dir=.
4321 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4322 lt_cv_path_LD="$ac_dir/$ac_prog"
4323 # Check to see if the program is GNU ld. I'd rather use --version,
4324 # but apparently some variants of GNU ld only accept -v.
4325 # Break only if it was the GNU/non-GNU ld that we prefer.
4326 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4327 *GNU* | *'with BFD'*)
4328 test "$with_gnu_ld" != no && break
4331 test "$with_gnu_ld" != yes && break
4338 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4343 if test -n "$LD"; then
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4345 $as_echo "$LD" >&6; }
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348 $as_echo "no" >&6; }
4350 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4352 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4353 if ${lt_cv_prog_gnu_ld+:} false; then :
4354 $as_echo_n "(cached) " >&6
4356 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4357 case `$LD -v 2>&1 </dev/null` in
4358 *GNU* | *'with BFD'*)
4359 lt_cv_prog_gnu_ld=yes
4362 lt_cv_prog_gnu_ld=no
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4367 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4368 with_gnu_ld=$lt_cv_prog_gnu_ld
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4379 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4380 if ${lt_cv_path_NM+:} false; then :
4381 $as_echo_n "(cached) " >&6
4383 if test -n "$NM"; then
4384 # Let the user override the test.
4387 lt_nm_to_check="${ac_tool_prefix}nm"
4388 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4389 lt_nm_to_check="$lt_nm_to_check nm"
4391 for lt_tmp_nm in $lt_nm_to_check; do
4392 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4393 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4395 test -z "$ac_dir" && ac_dir=.
4396 tmp_nm="$ac_dir/$lt_tmp_nm"
4397 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4398 # Check to see if the nm accepts a BSD-compat flag.
4399 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4400 # nm: unknown option "B" ignored
4401 # Tru64's nm complains that /dev/null is an invalid object file
4402 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4403 */dev/null* | *'Invalid file or object type'*)
4404 lt_cv_path_NM="$tmp_nm -B"
4408 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4410 lt_cv_path_NM="$tmp_nm -p"
4414 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4415 continue # so that we can try to find one that supports BSD flags
4424 : ${lt_cv_path_NM=no}
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4428 $as_echo "$lt_cv_path_NM" >&6; }
4429 if test "$lt_cv_path_NM" != "no"; then
4432 # Didn't find any BSD compatible name lister, look for dumpbin.
4433 if test -n "$DUMPBIN"; then :
4434 # Let the user override the test.
4436 if test -n "$ac_tool_prefix"; then
4437 for ac_prog in dumpbin "link -dump"
4439 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4440 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4442 $as_echo_n "checking for $ac_word... " >&6; }
4443 if ${ac_cv_prog_DUMPBIN+:} false; then :
4444 $as_echo_n "(cached) " >&6
4446 if test -n "$DUMPBIN"; then
4447 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4453 test -z "$as_dir" && as_dir=.
4454 for ac_exec_ext in '' $ac_executable_extensions; do
4455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4456 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4466 DUMPBIN=$ac_cv_prog_DUMPBIN
4467 if test -n "$DUMPBIN"; then
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4469 $as_echo "$DUMPBIN" >&6; }
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4472 $as_echo "no" >&6; }
4476 test -n "$DUMPBIN" && break
4479 if test -z "$DUMPBIN"; then
4480 ac_ct_DUMPBIN=$DUMPBIN
4481 for ac_prog in dumpbin "link -dump"
4483 # Extract the first word of "$ac_prog", so it can be a program name with args.
4484 set dummy $ac_prog; ac_word=$2
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4486 $as_echo_n "checking for $ac_word... " >&6; }
4487 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4488 $as_echo_n "(cached) " >&6
4490 if test -n "$ac_ct_DUMPBIN"; then
4491 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4497 test -z "$as_dir" && as_dir=.
4498 for ac_exec_ext in '' $ac_executable_extensions; do
4499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4500 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4510 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4511 if test -n "$ac_ct_DUMPBIN"; then
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4513 $as_echo "$ac_ct_DUMPBIN" >&6; }
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4516 $as_echo "no" >&6; }
4520 test -n "$ac_ct_DUMPBIN" && break
4523 if test "x$ac_ct_DUMPBIN" = x; then
4526 case $cross_compiling:$ac_tool_warned in
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4530 ac_tool_warned=yes ;;
4532 DUMPBIN=$ac_ct_DUMPBIN
4536 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4538 DUMPBIN="$DUMPBIN -symbols"
4546 if test "$DUMPBIN" != ":"; then
4550 test -z "$NM" && NM=nm
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4558 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4559 if ${lt_cv_nm_interface+:} false; then :
4560 $as_echo_n "(cached) " >&6
4562 lt_cv_nm_interface="BSD nm"
4563 echo "int some_variable = 0;" > conftest.$ac_ext
4564 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4565 (eval "$ac_compile" 2>conftest.err)
4566 cat conftest.err >&5
4567 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4568 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4569 cat conftest.err >&5
4570 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4571 cat conftest.out >&5
4572 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4573 lt_cv_nm_interface="MS dumpbin"
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4578 $as_echo "$lt_cv_nm_interface" >&6; }
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4581 $as_echo_n "checking whether ln -s works... " >&6; }
4583 if test "$LN_S" = "ln -s"; then
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4585 $as_echo "yes" >&6; }
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4588 $as_echo "no, using $LN_S" >&6; }
4591 # find the maximum length of command line arguments
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4593 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4594 if ${lt_cv_sys_max_cmd_len+:} false; then :
4595 $as_echo_n "(cached) " >&6
4602 # On DJGPP, this test can blow up pretty badly due to problems in libc
4603 # (any single argument exceeding 2000 bytes causes a buffer overrun
4604 # during glob expansion). Even if it were fixed, the result of this
4605 # check would be larger than it should be.
4606 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4610 # Under GNU Hurd, this test is not required because there is
4611 # no limit to the length of command line arguments.
4612 # Libtool will interpret -1 as no limit whatsoever
4613 lt_cv_sys_max_cmd_len=-1;
4616 cygwin* | mingw* | cegcc*)
4617 # On Win9x/ME, this test blows up -- it succeeds, but takes
4618 # about 5 minutes as the teststring grows exponentially.
4619 # Worse, since 9x/ME are not pre-emptively multitasking,
4620 # you end up with a "frozen" computer, even though with patience
4621 # the test eventually succeeds (with a max line length of 256k).
4622 # Instead, let's just punt: use the minimum linelength reported by
4623 # all of the supported platforms: 8192 (on NT/2K/XP).
4624 lt_cv_sys_max_cmd_len=8192;
4628 # On MiNT this can take a long time and run out of memory.
4629 lt_cv_sys_max_cmd_len=8192;
4633 # On AmigaOS with pdksh, this test takes hours, literally.
4634 # So we just punt and use a minimum line length of 8192.
4635 lt_cv_sys_max_cmd_len=8192;
4638 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4639 # This has been around since 386BSD, at least. Likely further.
4640 if test -x /sbin/sysctl; then
4641 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4642 elif test -x /usr/sbin/sysctl; then
4643 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4645 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4647 # And add a safety zone
4648 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4649 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4653 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4654 lt_cv_sys_max_cmd_len=196608
4658 # The test takes a long time on OS/2.
4659 lt_cv_sys_max_cmd_len=8192
4663 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4664 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4665 # nice to cause kernel panics so lets avoid the loop below.
4666 # First set a reasonable default.
4667 lt_cv_sys_max_cmd_len=16384
4669 if test -x /sbin/sysconfig; then
4670 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4671 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4676 lt_cv_sys_max_cmd_len=102400
4678 sysv5* | sco5v6* | sysv4.2uw2*)
4679 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4680 if test -n "$kargmax"; then
4681 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4683 lt_cv_sys_max_cmd_len=32768
4687 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4688 if test -n "$lt_cv_sys_max_cmd_len"; then
4689 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4690 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4692 # Make teststring a little bigger before we do anything with it.
4693 # a 1K string should be a reasonable start.
4694 for i in 1 2 3 4 5 6 7 8 ; do
4695 teststring=$teststring$teststring
4697 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4698 # If test is not a shell built-in, we'll probably end up computing a
4699 # maximum length that is only half of the actual maximum length, but
4701 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4702 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4703 test $i != 17 # 1/2 MB should be enough
4706 teststring=$teststring$teststring
4708 # Only check the string length outside the loop.
4709 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4711 # Add a significant safety factor because C++ compilers can tack on
4712 # massive amounts of additional arguments before passing them to the
4713 # linker. It appears as though 1/2 is a usable value.
4714 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4721 if test -n $lt_cv_sys_max_cmd_len ; then
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4723 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4726 $as_echo "none" >&6; }
4728 max_cmd_len=$lt_cv_sys_max_cmd_len
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4740 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4741 # Try some XSI features
4744 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4746 && eval 'test $(( 1 + 1 )) -eq 2 \
4747 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4750 $as_echo "$xsi_shell" >&6; }
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4754 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4756 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4758 && lt_shell_append=yes
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4760 $as_echo "$lt_shell_append" >&6; }
4763 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4773 # test EBCDIC or ASCII
4774 case `echo X|tr X '\101'` in
4775 A) # ASCII based system
4776 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4777 lt_SP2NL='tr \040 \012'
4778 lt_NL2SP='tr \015\012 \040\040'
4780 *) # EBCDIC based system
4781 lt_SP2NL='tr \100 \n'
4782 lt_NL2SP='tr \r\n \100\100'
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4795 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4796 if ${lt_cv_to_host_file_cmd+:} false; then :
4797 $as_echo_n "(cached) " >&6
4802 *-*-mingw* ) # actually msys
4803 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4806 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4808 * ) # otherwise, assume *nix
4809 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4815 *-*-mingw* ) # actually msys
4816 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4819 lt_cv_to_host_file_cmd=func_convert_file_noop
4821 * ) # otherwise, assume *nix
4822 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4826 * ) # unhandled hosts (and "normal" native builds)
4827 lt_cv_to_host_file_cmd=func_convert_file_noop
4833 to_host_file_cmd=$lt_cv_to_host_file_cmd
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4835 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4842 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4843 if ${lt_cv_to_tool_file_cmd+:} false; then :
4844 $as_echo_n "(cached) " >&6
4846 #assume ordinary cross tools, or native build.
4847 lt_cv_to_tool_file_cmd=func_convert_file_noop
4851 *-*-mingw* ) # actually msys
4852 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4860 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4862 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4869 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4870 if ${lt_cv_ld_reload_flag+:} false; then :
4871 $as_echo_n "(cached) " >&6
4873 lt_cv_ld_reload_flag='-r'
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4876 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4877 reload_flag=$lt_cv_ld_reload_flag
4878 case $reload_flag in
4880 *) reload_flag=" $reload_flag" ;;
4882 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4884 cygwin* | mingw* | pw32* | cegcc*)
4885 if test "$GCC" != yes; then
4890 if test "$GCC" = yes; then
4891 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4893 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4906 if test -n "$ac_tool_prefix"; then
4907 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4908 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4910 $as_echo_n "checking for $ac_word... " >&6; }
4911 if ${ac_cv_prog_OBJDUMP+:} false; then :
4912 $as_echo_n "(cached) " >&6
4914 if test -n "$OBJDUMP"; then
4915 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4921 test -z "$as_dir" && as_dir=.
4922 for ac_exec_ext in '' $ac_executable_extensions; do
4923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4924 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4934 OBJDUMP=$ac_cv_prog_OBJDUMP
4935 if test -n "$OBJDUMP"; then
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4937 $as_echo "$OBJDUMP" >&6; }
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4940 $as_echo "no" >&6; }
4945 if test -z "$ac_cv_prog_OBJDUMP"; then
4946 ac_ct_OBJDUMP=$OBJDUMP
4947 # Extract the first word of "objdump", so it can be a program name with args.
4948 set dummy objdump; ac_word=$2
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4950 $as_echo_n "checking for $ac_word... " >&6; }
4951 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4952 $as_echo_n "(cached) " >&6
4954 if test -n "$ac_ct_OBJDUMP"; then
4955 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4961 test -z "$as_dir" && as_dir=.
4962 for ac_exec_ext in '' $ac_executable_extensions; do
4963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4964 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4974 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4975 if test -n "$ac_ct_OBJDUMP"; then
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4977 $as_echo "$ac_ct_OBJDUMP" >&6; }
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4980 $as_echo "no" >&6; }
4983 if test "x$ac_ct_OBJDUMP" = x; then
4986 case $cross_compiling:$ac_tool_warned in
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4990 ac_tool_warned=yes ;;
4992 OBJDUMP=$ac_ct_OBJDUMP
4995 OBJDUMP="$ac_cv_prog_OBJDUMP"
4998 test -z "$OBJDUMP" && OBJDUMP=objdump
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5009 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5010 if ${lt_cv_deplibs_check_method+:} false; then :
5011 $as_echo_n "(cached) " >&6
5013 lt_cv_file_magic_cmd='$MAGIC_CMD'
5014 lt_cv_file_magic_test_file=
5015 lt_cv_deplibs_check_method='unknown'
5016 # Need to set the preceding variable on all platforms that support
5017 # interlibrary dependencies.
5018 # 'none' -- dependencies not supported.
5019 # `unknown' -- same as none, but documents that we really don't know.
5020 # 'pass_all' -- all dependencies passed with no checks.
5021 # 'test_compile' -- check by making test program.
5022 # 'file_magic [[regex]]' -- check by looking for files in library path
5023 # which responds to the $file_magic_cmd with a given extended regex.
5024 # If you have `file' or equivalent on your system and you're not sure
5025 # whether `pass_all' will *always* work, you probably want this one.
5029 lt_cv_deplibs_check_method=pass_all
5033 lt_cv_deplibs_check_method=pass_all
5037 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5038 lt_cv_file_magic_cmd='/usr/bin/file -L'
5039 lt_cv_file_magic_test_file=/shlib/libc.so
5043 # func_win32_libid is a shell function defined in ltmain.sh
5044 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5045 lt_cv_file_magic_cmd='func_win32_libid'
5049 # Base MSYS/MinGW do not provide the 'file' command needed by
5050 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5051 # unless we find 'file', for example because we are cross-compiling.
5052 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5053 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5054 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5055 lt_cv_file_magic_cmd='func_win32_libid'
5057 # Keep this pattern in sync with the one in func_win32_libid.
5058 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5059 lt_cv_file_magic_cmd='$OBJDUMP -f'
5064 # use the weaker test based on 'objdump'. See mingw*.
5065 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5066 lt_cv_file_magic_cmd='$OBJDUMP -f'
5069 darwin* | rhapsody*)
5070 lt_cv_deplibs_check_method=pass_all
5073 freebsd* | dragonfly*)
5074 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5077 # Not sure whether the presence of OpenBSD here was a mistake.
5078 # Let's accept both of them until this is cleared up.
5079 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5080 lt_cv_file_magic_cmd=/usr/bin/file
5081 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5085 lt_cv_deplibs_check_method=pass_all
5090 lt_cv_deplibs_check_method=pass_all
5093 hpux10.20* | hpux11*)
5094 lt_cv_file_magic_cmd=/usr/bin/file
5097 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5098 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5101 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]'
5102 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5105 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5106 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5112 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5113 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5116 irix5* | irix6* | nonstopux*)
5118 *-32|*"-32 ") libmagic=32-bit;;
5119 *-n32|*"-n32 ") libmagic=N32;;
5120 *-64|*"-64 ") libmagic=64-bit;;
5121 *) libmagic=never-match;;
5123 lt_cv_deplibs_check_method=pass_all
5126 # This must be glibc/ELF.
5127 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5128 lt_cv_deplibs_check_method=pass_all
5131 netbsd* | netbsdelf*-gnu)
5132 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5133 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5135 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5140 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5141 lt_cv_file_magic_cmd=/usr/bin/file
5142 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5146 lt_cv_deplibs_check_method=pass_all
5150 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5151 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5153 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5157 osf3* | osf4* | osf5*)
5158 lt_cv_deplibs_check_method=pass_all
5162 lt_cv_deplibs_check_method=pass_all
5166 lt_cv_deplibs_check_method=pass_all
5169 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5170 lt_cv_deplibs_check_method=pass_all
5174 case $host_vendor in
5176 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]'
5177 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5180 lt_cv_deplibs_check_method=pass_all
5183 lt_cv_file_magic_cmd='/bin/file'
5184 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5187 lt_cv_file_magic_cmd='/bin/file'
5188 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5189 lt_cv_file_magic_test_file=/lib/libc.so
5192 lt_cv_deplibs_check_method=pass_all
5195 lt_cv_deplibs_check_method=pass_all
5201 lt_cv_deplibs_check_method=pass_all
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5207 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5211 if test "$build" = "$host"; then
5214 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5217 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5223 file_magic_cmd=$lt_cv_file_magic_cmd
5224 deplibs_check_method=$lt_cv_deplibs_check_method
5225 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5248 if test -n "$ac_tool_prefix"; then
5249 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5250 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5252 $as_echo_n "checking for $ac_word... " >&6; }
5253 if ${ac_cv_prog_DLLTOOL+:} false; then :
5254 $as_echo_n "(cached) " >&6
5256 if test -n "$DLLTOOL"; then
5257 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5263 test -z "$as_dir" && as_dir=.
5264 for ac_exec_ext in '' $ac_executable_extensions; do
5265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5266 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5276 DLLTOOL=$ac_cv_prog_DLLTOOL
5277 if test -n "$DLLTOOL"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5279 $as_echo "$DLLTOOL" >&6; }
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282 $as_echo "no" >&6; }
5287 if test -z "$ac_cv_prog_DLLTOOL"; then
5288 ac_ct_DLLTOOL=$DLLTOOL
5289 # Extract the first word of "dlltool", so it can be a program name with args.
5290 set dummy dlltool; ac_word=$2
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5292 $as_echo_n "checking for $ac_word... " >&6; }
5293 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5294 $as_echo_n "(cached) " >&6
5296 if test -n "$ac_ct_DLLTOOL"; then
5297 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5303 test -z "$as_dir" && as_dir=.
5304 for ac_exec_ext in '' $ac_executable_extensions; do
5305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5306 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5316 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5317 if test -n "$ac_ct_DLLTOOL"; then
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5319 $as_echo "$ac_ct_DLLTOOL" >&6; }
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5322 $as_echo "no" >&6; }
5325 if test "x$ac_ct_DLLTOOL" = x; then
5328 case $cross_compiling:$ac_tool_warned in
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5332 ac_tool_warned=yes ;;
5334 DLLTOOL=$ac_ct_DLLTOOL
5337 DLLTOOL="$ac_cv_prog_DLLTOOL"
5340 test -z "$DLLTOOL" && DLLTOOL=dlltool
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5352 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5353 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5354 $as_echo_n "(cached) " >&6
5356 lt_cv_sharedlib_from_linklib_cmd='unknown'
5359 cygwin* | mingw* | pw32* | cegcc*)
5360 # two different shell functions defined in ltmain.sh
5361 # decide which to use based on capabilities of $DLLTOOL
5362 case `$DLLTOOL --help 2>&1` in
5363 *--identify-strict*)
5364 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5367 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5372 # fallback: assume linklib IS sharedlib
5373 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5379 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5380 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5381 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5390 if test -n "$ac_tool_prefix"; then
5393 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5394 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5396 $as_echo_n "checking for $ac_word... " >&6; }
5397 if ${ac_cv_prog_AR+:} false; then :
5398 $as_echo_n "(cached) " >&6
5400 if test -n "$AR"; then
5401 ac_cv_prog_AR="$AR" # Let the user override the test.
5403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5407 test -z "$as_dir" && as_dir=.
5408 for ac_exec_ext in '' $ac_executable_extensions; do
5409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5410 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5421 if test -n "$AR"; then
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5423 $as_echo "$AR" >&6; }
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5426 $as_echo "no" >&6; }
5430 test -n "$AR" && break
5433 if test -z "$AR"; then
5437 # Extract the first word of "$ac_prog", so it can be a program name with args.
5438 set dummy $ac_prog; ac_word=$2
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5440 $as_echo_n "checking for $ac_word... " >&6; }
5441 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5442 $as_echo_n "(cached) " >&6
5444 if test -n "$ac_ct_AR"; then
5445 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5451 test -z "$as_dir" && as_dir=.
5452 for ac_exec_ext in '' $ac_executable_extensions; do
5453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5454 ac_cv_prog_ac_ct_AR="$ac_prog"
5455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5464 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5465 if test -n "$ac_ct_AR"; then
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5467 $as_echo "$ac_ct_AR" >&6; }
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5470 $as_echo "no" >&6; }
5474 test -n "$ac_ct_AR" && break
5477 if test "x$ac_ct_AR" = x; then
5480 case $cross_compiling:$ac_tool_warned in
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5484 ac_tool_warned=yes ;;
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5504 $as_echo_n "checking for archiver @FILE support... " >&6; }
5505 if ${lt_cv_ar_at_file+:} false; then :
5506 $as_echo_n "(cached) " >&6
5509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5510 /* end confdefs.h. */
5520 if ac_fn_c_try_compile "$LINENO"; then :
5521 echo conftest.$ac_objext > conftest.lst
5522 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5523 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5524 (eval $lt_ar_try) 2>&5
5526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5527 test $ac_status = 0; }
5528 if test "$ac_status" -eq 0; then
5529 # Ensure the archiver fails upon bogus file names.
5530 rm -f conftest.$ac_objext libconftest.a
5531 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5532 (eval $lt_ar_try) 2>&5
5534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5535 test $ac_status = 0; }
5536 if test "$ac_status" -ne 0; then
5540 rm -f conftest.* libconftest.a
5543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5547 $as_echo "$lt_cv_ar_at_file" >&6; }
5549 if test "x$lt_cv_ar_at_file" = xno; then
5552 archiver_list_spec=$lt_cv_ar_at_file
5561 if test -n "$ac_tool_prefix"; then
5562 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5563 set dummy ${ac_tool_prefix}strip; ac_word=$2
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5565 $as_echo_n "checking for $ac_word... " >&6; }
5566 if ${ac_cv_prog_STRIP+:} false; then :
5567 $as_echo_n "(cached) " >&6
5569 if test -n "$STRIP"; then
5570 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5576 test -z "$as_dir" && as_dir=.
5577 for ac_exec_ext in '' $ac_executable_extensions; do
5578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5579 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5589 STRIP=$ac_cv_prog_STRIP
5590 if test -n "$STRIP"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5592 $as_echo "$STRIP" >&6; }
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5595 $as_echo "no" >&6; }
5600 if test -z "$ac_cv_prog_STRIP"; then
5602 # Extract the first word of "strip", so it can be a program name with args.
5603 set dummy strip; ac_word=$2
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5605 $as_echo_n "checking for $ac_word... " >&6; }
5606 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5607 $as_echo_n "(cached) " >&6
5609 if test -n "$ac_ct_STRIP"; then
5610 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 test -z "$as_dir" && as_dir=.
5617 for ac_exec_ext in '' $ac_executable_extensions; do
5618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5619 ac_cv_prog_ac_ct_STRIP="strip"
5620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5630 if test -n "$ac_ct_STRIP"; then
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5632 $as_echo "$ac_ct_STRIP" >&6; }
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5635 $as_echo "no" >&6; }
5638 if test "x$ac_ct_STRIP" = x; then
5641 case $cross_compiling:$ac_tool_warned in
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5645 ac_tool_warned=yes ;;
5650 STRIP="$ac_cv_prog_STRIP"
5653 test -z "$STRIP" && STRIP=:
5660 if test -n "$ac_tool_prefix"; then
5661 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5662 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if ${ac_cv_prog_RANLIB+:} false; then :
5666 $as_echo_n "(cached) " >&6
5668 if test -n "$RANLIB"; then
5669 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 test -z "$as_dir" && as_dir=.
5676 for ac_exec_ext in '' $ac_executable_extensions; do
5677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5678 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 RANLIB=$ac_cv_prog_RANLIB
5689 if test -n "$RANLIB"; then
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5691 $as_echo "$RANLIB" >&6; }
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694 $as_echo "no" >&6; }
5699 if test -z "$ac_cv_prog_RANLIB"; then
5700 ac_ct_RANLIB=$RANLIB
5701 # Extract the first word of "ranlib", so it can be a program name with args.
5702 set dummy ranlib; ac_word=$2
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704 $as_echo_n "checking for $ac_word... " >&6; }
5705 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5706 $as_echo_n "(cached) " >&6
5708 if test -n "$ac_ct_RANLIB"; then
5709 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5715 test -z "$as_dir" && as_dir=.
5716 for ac_exec_ext in '' $ac_executable_extensions; do
5717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5718 ac_cv_prog_ac_ct_RANLIB="ranlib"
5719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5729 if test -n "$ac_ct_RANLIB"; then
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5731 $as_echo "$ac_ct_RANLIB" >&6; }
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734 $as_echo "no" >&6; }
5737 if test "x$ac_ct_RANLIB" = x; then
5740 case $cross_compiling:$ac_tool_warned in
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5744 ac_tool_warned=yes ;;
5746 RANLIB=$ac_ct_RANLIB
5749 RANLIB="$ac_cv_prog_RANLIB"
5752 test -z "$RANLIB" && RANLIB=:
5759 # Determine commands to create old-style static archives.
5760 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5761 old_postinstall_cmds='chmod 644 $oldlib'
5762 old_postuninstall_cmds=
5764 if test -n "$RANLIB"; then
5767 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5770 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5773 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5778 lock_old_archive_extraction=yes ;;
5780 lock_old_archive_extraction=no ;;
5821 # If no C compiler was specified, use CC.
5824 # If no C compiler flags were specified, use CFLAGS.
5825 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5827 # Allow CC to be a program name with arguments.
5831 # Check for command to grab the raw symbol name followed by C symbol from nm.
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5833 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5834 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5835 $as_echo_n "(cached) " >&6
5838 # These are sane defaults that work on at least a few old systems.
5839 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5841 # Character class describing NM global symbol codes.
5842 symcode='[BCDEGRST]'
5844 # Regexp to match symbols that can be accessed directly from C.
5845 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5847 # Define system-specific variables.
5852 cygwin* | mingw* | pw32* | cegcc*)
5853 symcode='[ABCDGISTW]'
5856 if test "$host_cpu" = ia64; then
5857 symcode='[ABCDEGRST]'
5861 symcode='[BCDEGRST]'
5864 symcode='[BCDEGQRST]'
5875 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5883 # If we're using GNU nm, then use its standard symbol codes.
5884 case `$NM -V 2>&1` in
5885 *GNU* | *'with BFD'*)
5886 symcode='[ABCDGIRSTW]' ;;
5889 # Transform an extracted symbol line into a proper C declaration.
5890 # Some systems (esp. on ia64) link data and code symbols differently,
5891 # so use this general approach.
5892 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5894 # Transform an extracted symbol line into symbol name and symbol address
5895 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5896 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'"
5898 # Handle CRLF in mingw tool chain
5902 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5906 # Try without a prefix underscore, then with it.
5907 for ac_symprfx in "" "_"; do
5909 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5910 symxfrm="\\1 $ac_symprfx\\2 \\2"
5912 # Write the raw and C identifiers.
5913 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5914 # Fake it for dumpbin and say T for any non-static function
5915 # and D for any global variable.
5916 # Also find C++ and __fastcall symbols from MSVC++,
5917 # which start with @ or ?.
5918 lt_cv_sys_global_symbol_pipe="$AWK '"\
5919 " {last_section=section; section=\$ 3};"\
5920 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5921 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5922 " \$ 0!~/External *\|/{next};"\
5923 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5924 " {if(hide[section]) next};"\
5925 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5926 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5927 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5928 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5929 " ' prfx=^$ac_symprfx"
5931 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5933 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5935 # Check to see that the pipe works correctly.
5939 cat > conftest.$ac_ext <<_LT_EOF
5944 void nm_test_func(void);
5945 void nm_test_func(void){}
5949 int main(){nm_test_var='a';nm_test_func();return(0);}
5952 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5953 (eval $ac_compile) 2>&5
5955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5956 test $ac_status = 0; }; then
5957 # Now try to grab the symbols.
5959 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5960 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5963 test $ac_status = 0; } && test -s "$nlist"; then
5964 # Try sorting and uniquifying the output.
5965 if sort "$nlist" | uniq > "$nlist"T; then
5966 mv -f "$nlist"T "$nlist"
5971 # Make sure that we snagged all the symbols we need.
5972 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5973 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5974 cat <<_LT_EOF > conftest.$ac_ext
5975 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5976 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5977 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5978 relocations are performed -- see ld's documentation on pseudo-relocs. */
5979 # define LT_DLSYM_CONST
5980 #elif defined(__osf__)
5981 /* This system does not cope well with relocations in const data. */
5982 # define LT_DLSYM_CONST
5984 # define LT_DLSYM_CONST const
5992 # Now generate the symbol file.
5993 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5995 cat <<_LT_EOF >> conftest.$ac_ext
5997 /* The mapping between symbol names and symbols. */
5998 LT_DLSYM_CONST struct {
6002 lt__PROGRAM__LTX_preloaded_symbols[] =
6004 { "@PROGRAM@", (void *) 0 },
6006 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6007 cat <<\_LT_EOF >> conftest.$ac_ext
6011 /* This works around a problem in FreeBSD linker */
6012 #ifdef FREEBSD_WORKAROUND
6013 static const void *lt_preloaded_setup() {
6014 return lt__PROGRAM__LTX_preloaded_symbols;
6022 # Now try linking the two files.
6023 mv conftest.$ac_objext conftstm.$ac_objext
6024 lt_globsym_save_LIBS=$LIBS
6025 lt_globsym_save_CFLAGS=$CFLAGS
6026 LIBS="conftstm.$ac_objext"
6027 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6028 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6029 (eval $ac_link) 2>&5
6031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6032 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6035 LIBS=$lt_globsym_save_LIBS
6036 CFLAGS=$lt_globsym_save_CFLAGS
6038 echo "cannot find nm_test_func in $nlist" >&5
6041 echo "cannot find nm_test_var in $nlist" >&5
6044 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6047 echo "$progname: failed program was:" >&5
6048 cat conftest.$ac_ext >&5
6050 rm -rf conftest* conftst*
6052 # Do not use the global_symbol_pipe unless it works.
6053 if test "$pipe_works" = yes; then
6056 lt_cv_sys_global_symbol_pipe=
6062 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6063 lt_cv_sys_global_symbol_to_cdecl=
6065 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6067 $as_echo "failed" >&6; }
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6070 $as_echo "ok" >&6; }
6073 # Response file support.
6074 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6075 nm_file_list_spec='@'
6076 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6077 nm_file_list_spec='@'
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6107 $as_echo_n "checking for sysroot... " >&6; }
6109 # Check whether --with-sysroot was given.
6110 if test "${with_sysroot+set}" = set; then :
6111 withval=$with_sysroot;
6118 case ${with_sysroot} in #(
6120 if test "$GCC" = yes; then
6121 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6125 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6131 $as_echo "${with_sysroot}" >&6; }
6132 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6137 $as_echo "${lt_sysroot:-no}" >&6; }
6143 # Check whether --enable-libtool-lock was given.
6144 if test "${enable_libtool_lock+set}" = set; then :
6145 enableval=$enable_libtool_lock;
6148 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6150 # Some flags need to be propagated to the compiler or linker for good
6154 # Find out which ABI we are using.
6155 echo 'int i;' > conftest.$ac_ext
6156 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6157 (eval $ac_compile) 2>&5
6159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6160 test $ac_status = 0; }; then
6161 case `/usr/bin/file conftest.$ac_objext` in
6173 # Find out which ABI we are using.
6174 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6175 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6176 (eval $ac_compile) 2>&5
6178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6179 test $ac_status = 0; }; then
6180 if test "$lt_cv_prog_gnu_ld" = yes; then
6181 case `/usr/bin/file conftest.$ac_objext` in
6183 LD="${LD-ld} -melf32bsmip"
6186 LD="${LD-ld} -melf32bmipn32"
6189 LD="${LD-ld} -melf64bmip"
6193 case `/usr/bin/file conftest.$ac_objext` in
6209 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6210 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6211 # Find out which ABI we are using.
6212 echo 'int i;' > conftest.$ac_ext
6213 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6214 (eval $ac_compile) 2>&5
6216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6217 test $ac_status = 0; }; then
6218 case `/usr/bin/file conftest.o` in
6221 x86_64-*kfreebsd*-gnu)
6222 LD="${LD-ld} -m elf_i386_fbsd"
6225 LD="${LD-ld} -m elf_i386"
6227 ppc64-*linux*|powerpc64-*linux*)
6228 LD="${LD-ld} -m elf32ppclinux"
6231 LD="${LD-ld} -m elf_s390"
6234 LD="${LD-ld} -m elf32_sparc"
6240 x86_64-*kfreebsd*-gnu)
6241 LD="${LD-ld} -m elf_x86_64_fbsd"
6244 LD="${LD-ld} -m elf_x86_64"
6246 ppc*-*linux*|powerpc*-*linux*)
6247 LD="${LD-ld} -m elf64ppc"
6249 s390*-*linux*|s390*-*tpf*)
6250 LD="${LD-ld} -m elf64_s390"
6253 LD="${LD-ld} -m elf64_sparc"
6263 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6264 SAVE_CFLAGS="$CFLAGS"
6265 CFLAGS="$CFLAGS -belf"
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6267 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6268 if ${lt_cv_cc_needs_belf+:} false; then :
6269 $as_echo_n "(cached) " >&6
6272 ac_cpp='$CPP $CPPFLAGS'
6273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6278 /* end confdefs.h. */
6288 if ac_fn_c_try_link "$LINENO"; then :
6289 lt_cv_cc_needs_belf=yes
6291 lt_cv_cc_needs_belf=no
6293 rm -f core conftest.err conftest.$ac_objext \
6294 conftest$ac_exeext conftest.$ac_ext
6296 ac_cpp='$CPP $CPPFLAGS'
6297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6303 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6304 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6305 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6306 CFLAGS="$SAVE_CFLAGS"
6310 # Find out which ABI we are using.
6311 echo 'int i;' > conftest.$ac_ext
6312 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6313 (eval $ac_compile) 2>&5
6315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6316 test $ac_status = 0; }; then
6317 case `/usr/bin/file conftest.o` in
6319 case $lt_cv_prog_gnu_ld in
6323 LD="${LD-ld} -m elf_x86_64"
6326 LD="${LD-ld} -m elf64_sparc"
6329 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6330 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6335 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6347 need_locks="$enable_libtool_lock"
6349 if test -n "$ac_tool_prefix"; then
6350 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6351 set dummy ${ac_tool_prefix}mt; ac_word=$2
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6353 $as_echo_n "checking for $ac_word... " >&6; }
6354 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6355 $as_echo_n "(cached) " >&6
6357 if test -n "$MANIFEST_TOOL"; then
6358 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6364 test -z "$as_dir" && as_dir=.
6365 for ac_exec_ext in '' $ac_executable_extensions; do
6366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6367 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6377 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6378 if test -n "$MANIFEST_TOOL"; then
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6380 $as_echo "$MANIFEST_TOOL" >&6; }
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6383 $as_echo "no" >&6; }
6388 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6389 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6390 # Extract the first word of "mt", so it can be a program name with args.
6391 set dummy mt; ac_word=$2
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6393 $as_echo_n "checking for $ac_word... " >&6; }
6394 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6395 $as_echo_n "(cached) " >&6
6397 if test -n "$ac_ct_MANIFEST_TOOL"; then
6398 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 test -z "$as_dir" && as_dir=.
6405 for ac_exec_ext in '' $ac_executable_extensions; do
6406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6407 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6417 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6418 if test -n "$ac_ct_MANIFEST_TOOL"; then
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6420 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6423 $as_echo "no" >&6; }
6426 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6429 case $cross_compiling:$ac_tool_warned in
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6433 ac_tool_warned=yes ;;
6435 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6438 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6441 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6443 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6444 if ${lt_cv_path_mainfest_tool+:} false; then :
6445 $as_echo_n "(cached) " >&6
6447 lt_cv_path_mainfest_tool=no
6448 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6449 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6450 cat conftest.err >&5
6451 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6452 lt_cv_path_mainfest_tool=yes
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6457 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6458 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6468 rhapsody* | darwin*)
6469 if test -n "$ac_tool_prefix"; then
6470 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6471 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6473 $as_echo_n "checking for $ac_word... " >&6; }
6474 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6475 $as_echo_n "(cached) " >&6
6477 if test -n "$DSYMUTIL"; then
6478 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6484 test -z "$as_dir" && as_dir=.
6485 for ac_exec_ext in '' $ac_executable_extensions; do
6486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6487 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6497 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6498 if test -n "$DSYMUTIL"; then
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6500 $as_echo "$DSYMUTIL" >&6; }
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503 $as_echo "no" >&6; }
6508 if test -z "$ac_cv_prog_DSYMUTIL"; then
6509 ac_ct_DSYMUTIL=$DSYMUTIL
6510 # Extract the first word of "dsymutil", so it can be a program name with args.
6511 set dummy dsymutil; ac_word=$2
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6513 $as_echo_n "checking for $ac_word... " >&6; }
6514 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6515 $as_echo_n "(cached) " >&6
6517 if test -n "$ac_ct_DSYMUTIL"; then
6518 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 test -z "$as_dir" && as_dir=.
6525 for ac_exec_ext in '' $ac_executable_extensions; do
6526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6527 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6537 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6538 if test -n "$ac_ct_DSYMUTIL"; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6540 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543 $as_echo "no" >&6; }
6546 if test "x$ac_ct_DSYMUTIL" = x; then
6549 case $cross_compiling:$ac_tool_warned in
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6553 ac_tool_warned=yes ;;
6555 DSYMUTIL=$ac_ct_DSYMUTIL
6558 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6561 if test -n "$ac_tool_prefix"; then
6562 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6563 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565 $as_echo_n "checking for $ac_word... " >&6; }
6566 if ${ac_cv_prog_NMEDIT+:} false; then :
6567 $as_echo_n "(cached) " >&6
6569 if test -n "$NMEDIT"; then
6570 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6576 test -z "$as_dir" && as_dir=.
6577 for ac_exec_ext in '' $ac_executable_extensions; do
6578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6579 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 NMEDIT=$ac_cv_prog_NMEDIT
6590 if test -n "$NMEDIT"; then
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6592 $as_echo "$NMEDIT" >&6; }
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 $as_echo "no" >&6; }
6600 if test -z "$ac_cv_prog_NMEDIT"; then
6601 ac_ct_NMEDIT=$NMEDIT
6602 # Extract the first word of "nmedit", so it can be a program name with args.
6603 set dummy nmedit; ac_word=$2
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6605 $as_echo_n "checking for $ac_word... " >&6; }
6606 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6607 $as_echo_n "(cached) " >&6
6609 if test -n "$ac_ct_NMEDIT"; then
6610 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616 test -z "$as_dir" && as_dir=.
6617 for ac_exec_ext in '' $ac_executable_extensions; do
6618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6619 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6629 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6630 if test -n "$ac_ct_NMEDIT"; then
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6632 $as_echo "$ac_ct_NMEDIT" >&6; }
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6635 $as_echo "no" >&6; }
6638 if test "x$ac_ct_NMEDIT" = x; then
6641 case $cross_compiling:$ac_tool_warned in
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6645 ac_tool_warned=yes ;;
6647 NMEDIT=$ac_ct_NMEDIT
6650 NMEDIT="$ac_cv_prog_NMEDIT"
6653 if test -n "$ac_tool_prefix"; then
6654 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6655 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657 $as_echo_n "checking for $ac_word... " >&6; }
6658 if ${ac_cv_prog_LIPO+:} false; then :
6659 $as_echo_n "(cached) " >&6
6661 if test -n "$LIPO"; then
6662 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6668 test -z "$as_dir" && as_dir=.
6669 for ac_exec_ext in '' $ac_executable_extensions; do
6670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6671 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6681 LIPO=$ac_cv_prog_LIPO
6682 if test -n "$LIPO"; then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6684 $as_echo "$LIPO" >&6; }
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687 $as_echo "no" >&6; }
6692 if test -z "$ac_cv_prog_LIPO"; then
6694 # Extract the first word of "lipo", so it can be a program name with args.
6695 set dummy lipo; ac_word=$2
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6697 $as_echo_n "checking for $ac_word... " >&6; }
6698 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6699 $as_echo_n "(cached) " >&6
6701 if test -n "$ac_ct_LIPO"; then
6702 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6708 test -z "$as_dir" && as_dir=.
6709 for ac_exec_ext in '' $ac_executable_extensions; do
6710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6711 ac_cv_prog_ac_ct_LIPO="lipo"
6712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6721 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6722 if test -n "$ac_ct_LIPO"; then
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6724 $as_echo "$ac_ct_LIPO" >&6; }
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6727 $as_echo "no" >&6; }
6730 if test "x$ac_ct_LIPO" = x; then
6733 case $cross_compiling:$ac_tool_warned in
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6737 ac_tool_warned=yes ;;
6742 LIPO="$ac_cv_prog_LIPO"
6745 if test -n "$ac_tool_prefix"; then
6746 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6747 set dummy ${ac_tool_prefix}otool; ac_word=$2
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749 $as_echo_n "checking for $ac_word... " >&6; }
6750 if ${ac_cv_prog_OTOOL+:} false; then :
6751 $as_echo_n "(cached) " >&6
6753 if test -n "$OTOOL"; then
6754 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6760 test -z "$as_dir" && as_dir=.
6761 for ac_exec_ext in '' $ac_executable_extensions; do
6762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6763 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6773 OTOOL=$ac_cv_prog_OTOOL
6774 if test -n "$OTOOL"; then
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6776 $as_echo "$OTOOL" >&6; }
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779 $as_echo "no" >&6; }
6784 if test -z "$ac_cv_prog_OTOOL"; then
6786 # Extract the first word of "otool", so it can be a program name with args.
6787 set dummy otool; ac_word=$2
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6789 $as_echo_n "checking for $ac_word... " >&6; }
6790 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6791 $as_echo_n "(cached) " >&6
6793 if test -n "$ac_ct_OTOOL"; then
6794 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6800 test -z "$as_dir" && as_dir=.
6801 for ac_exec_ext in '' $ac_executable_extensions; do
6802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6803 ac_cv_prog_ac_ct_OTOOL="otool"
6804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6813 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6814 if test -n "$ac_ct_OTOOL"; then
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6816 $as_echo "$ac_ct_OTOOL" >&6; }
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6819 $as_echo "no" >&6; }
6822 if test "x$ac_ct_OTOOL" = x; then
6825 case $cross_compiling:$ac_tool_warned in
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6829 ac_tool_warned=yes ;;
6834 OTOOL="$ac_cv_prog_OTOOL"
6837 if test -n "$ac_tool_prefix"; then
6838 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6839 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6841 $as_echo_n "checking for $ac_word... " >&6; }
6842 if ${ac_cv_prog_OTOOL64+:} false; then :
6843 $as_echo_n "(cached) " >&6
6845 if test -n "$OTOOL64"; then
6846 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6852 test -z "$as_dir" && as_dir=.
6853 for ac_exec_ext in '' $ac_executable_extensions; do
6854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6855 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6865 OTOOL64=$ac_cv_prog_OTOOL64
6866 if test -n "$OTOOL64"; then
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6868 $as_echo "$OTOOL64" >&6; }
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871 $as_echo "no" >&6; }
6876 if test -z "$ac_cv_prog_OTOOL64"; then
6877 ac_ct_OTOOL64=$OTOOL64
6878 # Extract the first word of "otool64", so it can be a program name with args.
6879 set dummy otool64; ac_word=$2
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881 $as_echo_n "checking for $ac_word... " >&6; }
6882 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6883 $as_echo_n "(cached) " >&6
6885 if test -n "$ac_ct_OTOOL64"; then
6886 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892 test -z "$as_dir" && as_dir=.
6893 for ac_exec_ext in '' $ac_executable_extensions; do
6894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6895 ac_cv_prog_ac_ct_OTOOL64="otool64"
6896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6905 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6906 if test -n "$ac_ct_OTOOL64"; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6908 $as_echo "$ac_ct_OTOOL64" >&6; }
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911 $as_echo "no" >&6; }
6914 if test "x$ac_ct_OTOOL64" = x; then
6917 case $cross_compiling:$ac_tool_warned in
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6921 ac_tool_warned=yes ;;
6923 OTOOL64=$ac_ct_OTOOL64
6926 OTOOL64="$ac_cv_prog_OTOOL64"
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6956 $as_echo_n "checking for -single_module linker flag... " >&6; }
6957 if ${lt_cv_apple_cc_single_mod+:} false; then :
6958 $as_echo_n "(cached) " >&6
6960 lt_cv_apple_cc_single_mod=no
6961 if test -z "${LT_MULTI_MODULE}"; then
6962 # By default we will add the -single_module flag. You can override
6963 # by either setting the environment variable LT_MULTI_MODULE
6964 # non-empty at configure time, or by adding -multi_module to the
6966 rm -rf libconftest.dylib*
6967 echo "int foo(void){return 1;}" > conftest.c
6968 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6969 -dynamiclib -Wl,-single_module conftest.c" >&5
6970 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6971 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6973 # If there is a non-empty error log, and "single_module"
6974 # appears in it, assume the flag caused a linker warning
6975 if test -s conftest.err && $GREP single_module conftest.err; then
6976 cat conftest.err >&5
6977 # Otherwise, if the output was created with a 0 exit code from
6978 # the compiler, it worked.
6979 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6980 lt_cv_apple_cc_single_mod=yes
6982 cat conftest.err >&5
6984 rm -rf libconftest.dylib*
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6989 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6992 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6993 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6994 $as_echo_n "(cached) " >&6
6996 lt_cv_ld_exported_symbols_list=no
6997 save_LDFLAGS=$LDFLAGS
6998 echo "_main" > conftest.sym
6999 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7001 /* end confdefs.h. */
7011 if ac_fn_c_try_link "$LINENO"; then :
7012 lt_cv_ld_exported_symbols_list=yes
7014 lt_cv_ld_exported_symbols_list=no
7016 rm -f core conftest.err conftest.$ac_objext \
7017 conftest$ac_exeext conftest.$ac_ext
7018 LDFLAGS="$save_LDFLAGS"
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7022 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7025 $as_echo_n "checking for -force_load linker flag... " >&6; }
7026 if ${lt_cv_ld_force_load+:} false; then :
7027 $as_echo_n "(cached) " >&6
7029 lt_cv_ld_force_load=no
7030 cat > conftest.c << _LT_EOF
7031 int forced_loaded() { return 2;}
7033 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7034 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7035 echo "$AR cru libconftest.a conftest.o" >&5
7036 $AR cru libconftest.a conftest.o 2>&5
7037 echo "$RANLIB libconftest.a" >&5
7038 $RANLIB libconftest.a 2>&5
7039 cat > conftest.c << _LT_EOF
7040 int main() { return 0;}
7042 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7043 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7045 if test -s conftest.err && $GREP force_load conftest.err; then
7046 cat conftest.err >&5
7047 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7048 lt_cv_ld_force_load=yes
7050 cat conftest.err >&5
7052 rm -f conftest.err libconftest.a conftest conftest.c
7053 rm -rf conftest.dSYM
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7057 $as_echo "$lt_cv_ld_force_load" >&6; }
7059 rhapsody* | darwin1.[012])
7060 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7062 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7063 darwin*) # darwin 5.x on
7064 # if running on 10.5 or later, the deployment target defaults
7065 # to the OS version, if on x86, and 10.4, the deployment
7066 # target defaults to 10.4. Don't you love it?
7067 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7068 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7069 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7071 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7073 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7077 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7078 _lt_dar_single_mod='$single_module'
7080 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7081 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7083 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7085 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7086 _lt_dsymutil='~$DSYMUTIL $lib || :'
7094 ac_cpp='$CPP $CPPFLAGS'
7095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7099 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7100 # On Suns, sometimes $CPP names a directory.
7101 if test -n "$CPP" && test -d "$CPP"; then
7104 if test -z "$CPP"; then
7105 if ${ac_cv_prog_CPP+:} false; then :
7106 $as_echo_n "(cached) " >&6
7108 # Double quotes because CPP needs to be expanded
7109 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7112 for ac_c_preproc_warn_flag in '' yes
7114 # Use a header file that comes with gcc, so configuring glibc
7115 # with a fresh cross-compiler works.
7116 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7117 # <limits.h> exists even on freestanding compilers.
7118 # On the NeXT, cc -E runs the code through the compiler's parser,
7119 # not just through cpp. "Syntax error" is here to catch this case.
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h. */
7123 # include <limits.h>
7125 # include <assert.h>
7129 if ac_fn_c_try_cpp "$LINENO"; then :
7132 # Broken: fails on valid input.
7135 rm -f conftest.err conftest.i conftest.$ac_ext
7137 # OK, works on sane cases. Now check whether nonexistent headers
7138 # can be detected and how.
7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7140 /* end confdefs.h. */
7141 #include <ac_nonexistent.h>
7143 if ac_fn_c_try_cpp "$LINENO"; then :
7144 # Broken: success on invalid input.
7147 # Passes both tests.
7151 rm -f conftest.err conftest.i conftest.$ac_ext
7154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7155 rm -f conftest.i conftest.err conftest.$ac_ext
7156 if $ac_preproc_ok; then :
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7169 $as_echo "$CPP" >&6; }
7171 for ac_c_preproc_warn_flag in '' yes
7173 # Use a header file that comes with gcc, so configuring glibc
7174 # with a fresh cross-compiler works.
7175 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7176 # <limits.h> exists even on freestanding compilers.
7177 # On the NeXT, cc -E runs the code through the compiler's parser,
7178 # not just through cpp. "Syntax error" is here to catch this case.
7179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7180 /* end confdefs.h. */
7182 # include <limits.h>
7184 # include <assert.h>
7188 if ac_fn_c_try_cpp "$LINENO"; then :
7191 # Broken: fails on valid input.
7194 rm -f conftest.err conftest.i conftest.$ac_ext
7196 # OK, works on sane cases. Now check whether nonexistent headers
7197 # can be detected and how.
7198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7199 /* end confdefs.h. */
7200 #include <ac_nonexistent.h>
7202 if ac_fn_c_try_cpp "$LINENO"; then :
7203 # Broken: success on invalid input.
7206 # Passes both tests.
7210 rm -f conftest.err conftest.i conftest.$ac_ext
7213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7214 rm -f conftest.i conftest.err conftest.$ac_ext
7215 if $ac_preproc_ok; then :
7218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7220 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7221 See \`config.log' for more details" "$LINENO" 5; }
7225 ac_cpp='$CPP $CPPFLAGS'
7226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7232 $as_echo_n "checking for ANSI C header files... " >&6; }
7233 if ${ac_cv_header_stdc+:} false; then :
7234 $as_echo_n "(cached) " >&6
7236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7237 /* end confdefs.h. */
7251 if ac_fn_c_try_compile "$LINENO"; then :
7252 ac_cv_header_stdc=yes
7254 ac_cv_header_stdc=no
7256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7258 if test $ac_cv_header_stdc = yes; then
7259 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h. */
7265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7266 $EGREP "memchr" >/dev/null 2>&1; then :
7269 ac_cv_header_stdc=no
7275 if test $ac_cv_header_stdc = yes; then
7276 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7278 /* end confdefs.h. */
7282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7283 $EGREP "free" >/dev/null 2>&1; then :
7286 ac_cv_header_stdc=no
7292 if test $ac_cv_header_stdc = yes; then
7293 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7294 if test "$cross_compiling" = yes; then :
7297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7298 /* end confdefs.h. */
7301 #if ((' ' & 0x0FF) == 0x020)
7302 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7303 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7305 # define ISLOWER(c) \
7306 (('a' <= (c) && (c) <= 'i') \
7307 || ('j' <= (c) && (c) <= 'r') \
7308 || ('s' <= (c) && (c) <= 'z'))
7309 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7312 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7317 for (i = 0; i < 256; i++)
7318 if (XOR (islower (i), ISLOWER (i))
7319 || toupper (i) != TOUPPER (i))
7324 if ac_fn_c_try_run "$LINENO"; then :
7327 ac_cv_header_stdc=no
7329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7330 conftest.$ac_objext conftest.beam conftest.$ac_ext
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7336 $as_echo "$ac_cv_header_stdc" >&6; }
7337 if test $ac_cv_header_stdc = yes; then
7339 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7343 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7344 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7345 inttypes.h stdint.h unistd.h
7347 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7348 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7350 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7351 cat >>confdefs.h <<_ACEOF
7352 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7360 for ac_header in dlfcn.h
7362 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7364 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7365 cat >>confdefs.h <<_ACEOF
7366 #define HAVE_DLFCN_H 1
7387 # Check whether --enable-shared was given.
7388 if test "${enable_shared+set}" = set; then :
7389 enableval=$enable_shared; p=${PACKAGE-default}
7391 yes) enable_shared=yes ;;
7392 no) enable_shared=no ;;
7395 # Look at the argument we got. We use all the common list separators.
7396 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7397 for pkg in $enableval; do
7399 if test "X$pkg" = "X$p"; then
7418 # Check whether --enable-static was given.
7419 if test "${enable_static+set}" = set; then :
7420 enableval=$enable_static; p=${PACKAGE-default}
7422 yes) enable_static=yes ;;
7423 no) enable_static=no ;;
7426 # Look at the argument we got. We use all the common list separators.
7427 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7428 for pkg in $enableval; do
7430 if test "X$pkg" = "X$p"; then
7450 # Check whether --with-pic was given.
7451 if test "${with_pic+set}" = set; then :
7452 withval=$with_pic; lt_p=${PACKAGE-default}
7454 yes|no) pic_mode=$withval ;;
7457 # Look at the argument we got. We use all the common list separators.
7458 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7459 for lt_pkg in $withval; do
7461 if test "X$lt_pkg" = "X$lt_p"; then
7473 test -z "$pic_mode" && pic_mode=default
7481 # Check whether --enable-fast-install was given.
7482 if test "${enable_fast_install+set}" = set; then :
7483 enableval=$enable_fast_install; p=${PACKAGE-default}
7485 yes) enable_fast_install=yes ;;
7486 no) enable_fast_install=no ;;
7488 enable_fast_install=no
7489 # Look at the argument we got. We use all the common list separators.
7490 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7491 for pkg in $enableval; do
7493 if test "X$pkg" = "X$p"; then
7494 enable_fast_install=yes
7501 enable_fast_install=yes
7514 # This can be used to rebuild libtool when needed
7515 LIBTOOL_DEPS="$ltmain"
7517 # Always use our own libtool.
7518 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7549 test -z "$LN_S" && LN_S="ln -s"
7564 if test -n "${ZSH_VERSION+set}" ; then
7565 setopt NO_GLOB_SUBST
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7569 $as_echo_n "checking for objdir... " >&6; }
7570 if ${lt_cv_objdir+:} false; then :
7571 $as_echo_n "(cached) " >&6
7573 rm -f .libs 2>/dev/null
7574 mkdir .libs 2>/dev/null
7575 if test -d .libs; then
7578 # MS-DOS does not allow filenames that begin with a dot.
7581 rmdir .libs 2>/dev/null
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7584 $as_echo "$lt_cv_objdir" >&6; }
7585 objdir=$lt_cv_objdir
7591 cat >>confdefs.h <<_ACEOF
7592 #define LT_OBJDIR "$lt_cv_objdir/"
7600 # AIX sometimes has problems with the GCC collect2 program. For some
7601 # reason, if we set the COLLECT_NAMES environment variable, the problems
7602 # vanish in a puff of smoke.
7603 if test "X${COLLECT_NAMES+set}" != Xset; then
7605 export COLLECT_NAMES
7612 can_build_shared=yes
7614 # All known linkers require a `.a' archive for static linking (except MSVC,
7615 # which needs '.lib').
7618 with_gnu_ld="$lt_cv_prog_gnu_ld"
7621 old_CFLAGS="$CFLAGS"
7623 # Set sane defaults for various variables
7624 test -z "$CC" && CC=cc
7625 test -z "$LTCC" && LTCC=$CC
7626 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7627 test -z "$LD" && LD=ld
7628 test -z "$ac_objext" && ac_objext=o
7630 for cc_temp in $compiler""; do
7632 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7633 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7638 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7641 # Only perform the check for file, if the check method requires it
7642 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7643 case $deplibs_check_method in
7645 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7647 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7648 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7649 $as_echo_n "(cached) " >&6
7653 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7656 lt_save_MAGIC_CMD="$MAGIC_CMD"
7657 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7658 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7659 for ac_dir in $ac_dummy; do
7661 test -z "$ac_dir" && ac_dir=.
7662 if test -f $ac_dir/${ac_tool_prefix}file; then
7663 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7664 if test -n "$file_magic_test_file"; then
7665 case $deplibs_check_method in
7667 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7668 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7669 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7670 $EGREP "$file_magic_regex" > /dev/null; then
7675 *** Warning: the command libtool uses to detect shared libraries,
7676 *** $file_magic_cmd, produces output that libtool cannot recognize.
7677 *** The result is that libtool may fail to recognize shared libraries
7678 *** as such. This will affect the creation of libtool libraries that
7679 *** depend on shared libraries, but programs linked with such libtool
7680 *** libraries will work regardless of this problem. Nevertheless, you
7681 *** may want to report the problem to your system manager and/or to
7682 *** bug-libtool@gnu.org
7692 MAGIC_CMD="$lt_save_MAGIC_CMD"
7697 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7698 if test -n "$MAGIC_CMD"; then
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7700 $as_echo "$MAGIC_CMD" >&6; }
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7703 $as_echo "no" >&6; }
7710 if test -z "$lt_cv_path_MAGIC_CMD"; then
7711 if test -n "$ac_tool_prefix"; then
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7713 $as_echo_n "checking for file... " >&6; }
7714 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7715 $as_echo_n "(cached) " >&6
7719 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7722 lt_save_MAGIC_CMD="$MAGIC_CMD"
7723 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7724 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7725 for ac_dir in $ac_dummy; do
7727 test -z "$ac_dir" && ac_dir=.
7728 if test -f $ac_dir/file; then
7729 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7730 if test -n "$file_magic_test_file"; then
7731 case $deplibs_check_method in
7733 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7734 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7735 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7736 $EGREP "$file_magic_regex" > /dev/null; then
7741 *** Warning: the command libtool uses to detect shared libraries,
7742 *** $file_magic_cmd, produces output that libtool cannot recognize.
7743 *** The result is that libtool may fail to recognize shared libraries
7744 *** as such. This will affect the creation of libtool libraries that
7745 *** depend on shared libraries, but programs linked with such libtool
7746 *** libraries will work regardless of this problem. Nevertheless, you
7747 *** may want to report the problem to your system manager and/or to
7748 *** bug-libtool@gnu.org
7758 MAGIC_CMD="$lt_save_MAGIC_CMD"
7763 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7764 if test -n "$MAGIC_CMD"; then
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7766 $as_echo "$MAGIC_CMD" >&6; }
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7769 $as_echo "no" >&6; }
7782 # Use C for the default configuration in the libtool script
7786 ac_cpp='$CPP $CPPFLAGS'
7787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7792 # Source file extension for C test sources.
7795 # Object file extension for compiled C test sources.
7799 # Code to be used in simple compile tests
7800 lt_simple_compile_test_code="int some_variable = 0;"
7802 # Code to be used in simple link tests
7803 lt_simple_link_test_code='int main(){return(0);}'
7811 # If no C compiler was specified, use CC.
7814 # If no C compiler flags were specified, use CFLAGS.
7815 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7817 # Allow CC to be a program name with arguments.
7820 # Save the default compiler, since it gets overwritten when the other
7821 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7822 compiler_DEFAULT=$CC
7824 # save warnings/boilerplate of simple test code
7825 ac_outfile=conftest.$ac_objext
7826 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7827 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7828 _lt_compiler_boilerplate=`cat conftest.err`
7831 ac_outfile=conftest.$ac_objext
7832 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7833 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7834 _lt_linker_boilerplate=`cat conftest.err`
7839 ## There is no encapsulation within the following macros, do not change
7840 ## the running order or otherwise move them around unless you know exactly
7841 ## what you are doing...
7842 if test -n "$compiler"; then
7844 lt_prog_compiler_no_builtin_flag=
7846 if test "$GCC" = yes; then
7847 case $cc_basename in
7849 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7851 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7855 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7856 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7857 $as_echo_n "(cached) " >&6
7859 lt_cv_prog_compiler_rtti_exceptions=no
7860 ac_outfile=conftest.$ac_objext
7861 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7862 lt_compiler_flag="-fno-rtti -fno-exceptions"
7863 # Insert the option either (1) after the last *FLAGS variable, or
7864 # (2) before a word containing "conftest.", or (3) at the end.
7865 # Note that $ac_compile itself does not contain backslashes and begins
7866 # with a dollar sign (not a hyphen), so the echo should work correctly.
7867 # The option is referenced via a variable to avoid confusing sed.
7868 lt_compile=`echo "$ac_compile" | $SED \
7869 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7870 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7871 -e 's:$: $lt_compiler_flag:'`
7872 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7873 (eval "$lt_compile" 2>conftest.err)
7875 cat conftest.err >&5
7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877 if (exit $ac_status) && test -s "$ac_outfile"; then
7878 # The compiler can only warn and ignore the option if not recognized
7879 # So say no if there are warnings other than the usual output.
7880 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7881 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7882 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7883 lt_cv_prog_compiler_rtti_exceptions=yes
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7890 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7892 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7893 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7905 lt_prog_compiler_wl=
7906 lt_prog_compiler_pic=
7907 lt_prog_compiler_static=
7910 if test "$GCC" = yes; then
7911 lt_prog_compiler_wl='-Wl,'
7912 lt_prog_compiler_static='-static'
7916 # All AIX code is PIC.
7917 if test "$host_cpu" = ia64; then
7918 # AIX 5 now supports IA64 processor
7919 lt_prog_compiler_static='-Bstatic'
7926 # see comment about AmigaOS4 .so support
7927 lt_prog_compiler_pic='-fPIC'
7930 # FIXME: we need at least 68020 code to build shared libraries, but
7931 # adding the `-m68020' flag to GCC prevents building anything better,
7933 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7938 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7939 # PIC is the default for these OSes.
7942 mingw* | cygwin* | pw32* | os2* | cegcc*)
7943 # This hack is so that the source file can tell whether it is being
7944 # built for inclusion in a dll (and should export symbols for example).
7945 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7946 # (--disable-auto-import) libraries
7947 lt_prog_compiler_pic='-DDLL_EXPORT'
7950 darwin* | rhapsody*)
7951 # PIC is the default on this platform
7952 # Common symbols not allowed in MH_DYLIB files
7953 lt_prog_compiler_pic='-fno-common'
7957 # PIC is the default for Haiku.
7958 # The "-static" flag exists, but is broken.
7959 lt_prog_compiler_static=
7963 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7964 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7965 # sets the default TLS model and affects inlining.
7971 lt_prog_compiler_pic='-fPIC'
7977 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7978 # Instead, we relocate shared libraries at runtime.
7982 # Just because we use GCC doesn't mean we suddenly get shared libraries
7983 # on systems that don't support them.
7984 lt_prog_compiler_can_build_shared=no
7989 # QNX uses GNU C++, but need to define -shared option too, otherwise
7991 lt_prog_compiler_pic='-fPIC -shared'
7995 if test -d /usr/nec; then
7996 lt_prog_compiler_pic=-Kconform_pic
8001 lt_prog_compiler_pic='-fPIC'
8005 case $cc_basename in
8006 nvcc*) # Cuda Compiler Driver 2.2
8007 lt_prog_compiler_wl='-Xlinker '
8008 if test -n "$lt_prog_compiler_pic"; then
8009 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8014 # PORTME Check for flag to pass linker flags through the system compiler.
8017 lt_prog_compiler_wl='-Wl,'
8018 if test "$host_cpu" = ia64; then
8019 # AIX 5 now supports IA64 processor
8020 lt_prog_compiler_static='-Bstatic'
8022 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8026 mingw* | cygwin* | pw32* | os2* | cegcc*)
8027 # This hack is so that the source file can tell whether it is being
8028 # built for inclusion in a dll (and should export symbols for example).
8029 lt_prog_compiler_pic='-DDLL_EXPORT'
8032 hpux9* | hpux10* | hpux11*)
8033 lt_prog_compiler_wl='-Wl,'
8034 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8041 lt_prog_compiler_pic='+Z'
8044 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8045 lt_prog_compiler_static='${wl}-a ${wl}archive'
8048 irix5* | irix6* | nonstopux*)
8049 lt_prog_compiler_wl='-Wl,'
8050 # PIC (with -KPIC) is the default.
8051 lt_prog_compiler_static='-non_shared'
8054 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8055 case $cc_basename in
8056 # old Intel for x86_64 which still supported -KPIC.
8058 lt_prog_compiler_wl='-Wl,'
8059 lt_prog_compiler_pic='-KPIC'
8060 lt_prog_compiler_static='-static'
8062 # icc used to be incompatible with GCC.
8063 # ICC 10 doesn't accept -KPIC any more.
8065 lt_prog_compiler_wl='-Wl,'
8066 lt_prog_compiler_pic='-fPIC'
8067 lt_prog_compiler_static='-static'
8069 # Lahey Fortran 8.1.
8071 lt_prog_compiler_wl='-Wl,'
8072 lt_prog_compiler_pic='--shared'
8073 lt_prog_compiler_static='--static'
8076 # NAG Fortran compiler
8077 lt_prog_compiler_wl='-Wl,-Wl,,'
8078 lt_prog_compiler_pic='-PIC'
8079 lt_prog_compiler_static='-Bstatic'
8081 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8082 # Portland Group compilers (*not* the Pentium gcc compiler,
8083 # which looks to be a dead project)
8084 lt_prog_compiler_wl='-Wl,'
8085 lt_prog_compiler_pic='-fpic'
8086 lt_prog_compiler_static='-Bstatic'
8089 lt_prog_compiler_wl='-Wl,'
8090 # All Alpha code is PIC.
8091 lt_prog_compiler_static='-non_shared'
8093 xl* | bgxl* | bgf* | mpixl*)
8094 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8095 lt_prog_compiler_wl='-Wl,'
8096 lt_prog_compiler_pic='-qpic'
8097 lt_prog_compiler_static='-qstaticlink'
8100 case `$CC -V 2>&1 | sed 5q` in
8101 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8102 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8103 lt_prog_compiler_pic='-KPIC'
8104 lt_prog_compiler_static='-Bstatic'
8105 lt_prog_compiler_wl=''
8107 *Sun\ F* | *Sun*Fortran*)
8108 lt_prog_compiler_pic='-KPIC'
8109 lt_prog_compiler_static='-Bstatic'
8110 lt_prog_compiler_wl='-Qoption ld '
8114 lt_prog_compiler_pic='-KPIC'
8115 lt_prog_compiler_static='-Bstatic'
8116 lt_prog_compiler_wl='-Wl,'
8118 *Intel*\ [CF]*Compiler*)
8119 lt_prog_compiler_wl='-Wl,'
8120 lt_prog_compiler_pic='-fPIC'
8121 lt_prog_compiler_static='-static'
8124 lt_prog_compiler_wl='-Wl,'
8125 lt_prog_compiler_pic='-fpic'
8126 lt_prog_compiler_static='-Bstatic'
8134 lt_prog_compiler_pic='-KPIC'
8135 lt_prog_compiler_static='-Bstatic'
8139 # QNX uses GNU C++, but need to define -shared option too, otherwise
8141 lt_prog_compiler_pic='-fPIC -shared'
8144 osf3* | osf4* | osf5*)
8145 lt_prog_compiler_wl='-Wl,'
8146 # All OSF/1 code is PIC.
8147 lt_prog_compiler_static='-non_shared'
8151 lt_prog_compiler_static='-non_shared'
8155 lt_prog_compiler_pic='-KPIC'
8156 lt_prog_compiler_static='-Bstatic'
8157 case $cc_basename in
8158 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8159 lt_prog_compiler_wl='-Qoption ld ';;
8161 lt_prog_compiler_wl='-Wl,';;
8166 lt_prog_compiler_wl='-Qoption ld '
8167 lt_prog_compiler_pic='-PIC'
8168 lt_prog_compiler_static='-Bstatic'
8171 sysv4 | sysv4.2uw2* | sysv4.3*)
8172 lt_prog_compiler_wl='-Wl,'
8173 lt_prog_compiler_pic='-KPIC'
8174 lt_prog_compiler_static='-Bstatic'
8178 if test -d /usr/nec ;then
8179 lt_prog_compiler_pic='-Kconform_pic'
8180 lt_prog_compiler_static='-Bstatic'
8184 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8185 lt_prog_compiler_wl='-Wl,'
8186 lt_prog_compiler_pic='-KPIC'
8187 lt_prog_compiler_static='-Bstatic'
8191 lt_prog_compiler_wl='-Wl,'
8192 lt_prog_compiler_can_build_shared=no
8196 lt_prog_compiler_pic='-pic'
8197 lt_prog_compiler_static='-Bstatic'
8201 lt_prog_compiler_can_build_shared=no
8207 # For platforms which do not support PIC, -DPIC is meaningless:
8209 lt_prog_compiler_pic=
8212 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8217 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8218 if ${lt_cv_prog_compiler_pic+:} false; then :
8219 $as_echo_n "(cached) " >&6
8221 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8224 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8225 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8228 # Check to make sure the PIC flag actually works.
8230 if test -n "$lt_prog_compiler_pic"; then
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8232 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8233 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8234 $as_echo_n "(cached) " >&6
8236 lt_cv_prog_compiler_pic_works=no
8237 ac_outfile=conftest.$ac_objext
8238 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8239 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8240 # Insert the option either (1) after the last *FLAGS variable, or
8241 # (2) before a word containing "conftest.", or (3) at the end.
8242 # Note that $ac_compile itself does not contain backslashes and begins
8243 # with a dollar sign (not a hyphen), so the echo should work correctly.
8244 # The option is referenced via a variable to avoid confusing sed.
8245 lt_compile=`echo "$ac_compile" | $SED \
8246 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8247 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8248 -e 's:$: $lt_compiler_flag:'`
8249 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8250 (eval "$lt_compile" 2>conftest.err)
8252 cat conftest.err >&5
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 if (exit $ac_status) && test -s "$ac_outfile"; then
8255 # The compiler can only warn and ignore the option if not recognized
8256 # So say no if there are warnings other than the usual output.
8257 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8258 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8259 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8260 lt_cv_prog_compiler_pic_works=yes
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8267 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8269 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8270 case $lt_prog_compiler_pic in
8272 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8275 lt_prog_compiler_pic=
8276 lt_prog_compiler_can_build_shared=no
8292 # Check to make sure the static flag actually works.
8294 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8296 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8297 if ${lt_cv_prog_compiler_static_works+:} false; then :
8298 $as_echo_n "(cached) " >&6
8300 lt_cv_prog_compiler_static_works=no
8301 save_LDFLAGS="$LDFLAGS"
8302 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8303 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8304 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8305 # The linker can only warn and ignore the option if not recognized
8306 # So say no if there are warnings
8307 if test -s conftest.err; then
8308 # Append any errors to the config.log.
8309 cat conftest.err 1>&5
8310 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8311 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8312 if diff conftest.exp conftest.er2 >/dev/null; then
8313 lt_cv_prog_compiler_static_works=yes
8316 lt_cv_prog_compiler_static_works=yes
8320 LDFLAGS="$save_LDFLAGS"
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8324 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8326 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8329 lt_prog_compiler_static=
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8339 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8340 if ${lt_cv_prog_compiler_c_o+:} false; then :
8341 $as_echo_n "(cached) " >&6
8343 lt_cv_prog_compiler_c_o=no
8344 $RM -r conftest 2>/dev/null
8348 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8350 lt_compiler_flag="-o out/conftest2.$ac_objext"
8351 # Insert the option either (1) after the last *FLAGS variable, or
8352 # (2) before a word containing "conftest.", or (3) at the end.
8353 # Note that $ac_compile itself does not contain backslashes and begins
8354 # with a dollar sign (not a hyphen), so the echo should work correctly.
8355 lt_compile=`echo "$ac_compile" | $SED \
8356 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8357 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8358 -e 's:$: $lt_compiler_flag:'`
8359 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8360 (eval "$lt_compile" 2>out/conftest.err)
8362 cat out/conftest.err >&5
8363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8366 # The compiler can only warn and ignore the option if not recognized
8367 # So say no if there are warnings
8368 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8369 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8370 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8371 lt_cv_prog_compiler_c_o=yes
8376 # SGI C++ compiler will create directory out/ii_files/ for
8377 # template instantiation
8378 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8379 $RM out/* && rmdir out
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8386 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8394 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8395 if ${lt_cv_prog_compiler_c_o+:} false; then :
8396 $as_echo_n "(cached) " >&6
8398 lt_cv_prog_compiler_c_o=no
8399 $RM -r conftest 2>/dev/null
8403 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8405 lt_compiler_flag="-o out/conftest2.$ac_objext"
8406 # Insert the option either (1) after the last *FLAGS variable, or
8407 # (2) before a word containing "conftest.", or (3) at the end.
8408 # Note that $ac_compile itself does not contain backslashes and begins
8409 # with a dollar sign (not a hyphen), so the echo should work correctly.
8410 lt_compile=`echo "$ac_compile" | $SED \
8411 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8412 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8413 -e 's:$: $lt_compiler_flag:'`
8414 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8415 (eval "$lt_compile" 2>out/conftest.err)
8417 cat out/conftest.err >&5
8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8421 # The compiler can only warn and ignore the option if not recognized
8422 # So say no if there are warnings
8423 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8424 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8425 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8426 lt_cv_prog_compiler_c_o=yes
8431 # SGI C++ compiler will create directory out/ii_files/ for
8432 # template instantiation
8433 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8434 $RM out/* && rmdir out
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8441 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8446 hard_links="nottested"
8447 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8448 # do not overwrite the value of need_locks provided by the user
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8450 $as_echo_n "checking if we can lock with hard links... " >&6; }
8453 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8455 ln conftest.a conftest.b 2>&5 || hard_links=no
8456 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8458 $as_echo "$hard_links" >&6; }
8459 if test "$hard_links" = no; then
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8461 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8474 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8477 allow_undefined_flag=
8478 always_export_symbols=no
8480 archive_expsym_cmds=
8481 compiler_needs_object=no
8482 enable_shared_with_static_runtimes=no
8483 export_dynamic_flag_spec=
8484 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8485 hardcode_automatic=no
8487 hardcode_direct_absolute=no
8488 hardcode_libdir_flag_spec=
8489 hardcode_libdir_separator=
8491 hardcode_shlibpath_var=unsupported
8493 link_all_deplibs=unknown
8496 old_archive_from_new_cmds=
8497 old_archive_from_expsyms_cmds=
8498 thread_safe_flag_spec=
8499 whole_archive_flag_spec=
8500 # include_expsyms should be a list of space-separated symbols to be *always*
8501 # included in the symbol list
8503 # exclude_expsyms can be an extended regexp of symbols to exclude
8504 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8505 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8506 # as well as any symbol that contains `d'.
8507 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8508 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8509 # platforms (ab)use it in PIC code, but their linkers get confused if
8510 # the symbol is explicitly referenced. Since portable code cannot
8511 # rely on this symbol name, it's probably fine to never include it in
8512 # preloaded symbol tables.
8513 # Exclude shared library initialization/finalization symbols.
8514 extract_expsyms_cmds=
8517 cygwin* | mingw* | pw32* | cegcc*)
8518 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8519 # When not using gcc, we currently assume that we are using
8520 # Microsoft Visual C++.
8521 if test "$GCC" != yes; then
8526 # we just hope/assume this is gcc and not c89 (= MSVC++)
8532 linux* | k*bsd*-gnu | gnu*)
8539 # On some targets, GNU ld is compatible enough with the native linker
8540 # that we're better off using the native interface for both.
8541 lt_use_gnu_ld_interface=no
8542 if test "$with_gnu_ld" = yes; then
8545 # The AIX port of GNU ld has always aspired to compatibility
8546 # with the native linker. However, as the warning in the GNU ld
8547 # block says, versions before 2.19.5* couldn't really create working
8548 # shared libraries, regardless of the interface used.
8549 case `$LD -v 2>&1` in
8550 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8551 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8552 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8554 lt_use_gnu_ld_interface=yes
8559 lt_use_gnu_ld_interface=yes
8564 if test "$lt_use_gnu_ld_interface" = yes; then
8565 # If archive_cmds runs LD, not CC, wlarc should be empty
8568 # Set some defaults for GNU ld with shared library support. These
8569 # are reset later if shared libraries are not supported. Putting them
8570 # here allows them to be overridden if necessary.
8571 runpath_var=LD_RUN_PATH
8572 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8573 export_dynamic_flag_spec='${wl}--export-dynamic'
8574 # ancient GNU ld didn't support --whole-archive et. al.
8575 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8576 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8578 whole_archive_flag_spec=
8580 supports_anon_versioning=no
8581 case `$LD -v 2>&1` in
8582 *GNU\ gold*) supports_anon_versioning=yes ;;
8583 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8584 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8585 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8586 *\ 2.11.*) ;; # other 2.11 versions
8587 *) supports_anon_versioning=yes ;;
8590 # See if GNU ld supports shared libraries.
8593 # On AIX/PPC, the GNU linker is very broken
8594 if test "$host_cpu" != ia64; then
8598 *** Warning: the GNU linker, at least up to release 2.19, is reported
8599 *** to be unable to reliably create shared libraries on AIX.
8600 *** Therefore, libtool is disabling shared libraries support. If you
8601 *** really care for shared libraries, you may want to install binutils
8602 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8603 *** You will then need to restart the configuration process.
8612 # see comment about AmigaOS4 .so support
8613 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8614 archive_expsym_cmds=''
8617 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)'
8618 hardcode_libdir_flag_spec='-L$libdir'
8619 hardcode_minus_L=yes
8625 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8626 allow_undefined_flag=unsupported
8627 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8628 # support --undefined. This deserves some investigation. FIXME
8629 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8635 cygwin* | mingw* | pw32* | cegcc*)
8636 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8637 # as there is no search path for DLLs.
8638 hardcode_libdir_flag_spec='-L$libdir'
8639 export_dynamic_flag_spec='${wl}--export-all-symbols'
8640 allow_undefined_flag=unsupported
8641 always_export_symbols=no
8642 enable_shared_with_static_runtimes=yes
8643 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'
8644 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8646 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8647 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8648 # If the export-symbols file already is a .def file (1st line
8649 # is EXPORTS), use it as is; otherwise, prepend...
8650 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8651 cp $export_symbols $output_objdir/$soname.def;
8653 echo EXPORTS > $output_objdir/$soname.def;
8654 cat $export_symbols >> $output_objdir/$soname.def;
8656 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8663 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8664 link_all_deplibs=yes
8669 hardcode_shlibpath_var=no
8670 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8671 export_dynamic_flag_spec='${wl}-E'
8672 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8673 # Instead, shared libraries are loaded at an image base (0x10000000 by
8674 # default) and relocated if they conflict, which is a slow very memory
8675 # consuming and fragmenting process. To avoid this, we pick a random,
8676 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8677 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8678 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8679 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'
8682 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8684 if test "$host_os" = linux-dietlibc; then
8685 case $cc_basename in
8686 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8689 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8690 && test "$tmp_diet" = no
8692 tmp_addflag=' $pic_flag'
8693 tmp_sharedflag='-shared'
8694 case $cc_basename,$host_cpu in
8695 pgcc*) # Portland Group C compiler
8696 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'
8697 tmp_addflag=' $pic_flag'
8699 pgf77* | pgf90* | pgf95* | pgfortran*)
8700 # Portland Group f77 and f90 compilers
8701 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'
8702 tmp_addflag=' $pic_flag -Mnomain' ;;
8703 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8704 tmp_addflag=' -i_dynamic' ;;
8705 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8706 tmp_addflag=' -i_dynamic -nofor_main' ;;
8707 ifc* | ifort*) # Intel Fortran compiler
8708 tmp_addflag=' -nofor_main' ;;
8709 lf95*) # Lahey Fortran 8.1
8710 whole_archive_flag_spec=
8711 tmp_sharedflag='--shared' ;;
8712 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8713 tmp_sharedflag='-qmkshrobj'
8715 nvcc*) # Cuda Compiler Driver 2.2
8716 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'
8717 compiler_needs_object=yes
8720 case `$CC -V 2>&1 | sed 5q` in
8721 *Sun\ C*) # Sun C 5.9
8722 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'
8723 compiler_needs_object=yes
8724 tmp_sharedflag='-G' ;;
8725 *Sun\ F*) # Sun Fortran 8.3
8726 tmp_sharedflag='-G' ;;
8728 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8730 if test "x$supports_anon_versioning" = xyes; then
8731 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8732 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8733 echo "local: *; };" >> $output_objdir/$libname.ver~
8734 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8737 case $cc_basename in
8738 xlf* | bgf* | bgxlf* | mpixlf*)
8739 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8740 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8741 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8742 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8743 if test "x$supports_anon_versioning" = xyes; then
8744 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8745 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8746 echo "local: *; };" >> $output_objdir/$libname.ver~
8747 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8756 netbsd* | netbsdelf*-gnu)
8757 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8758 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8761 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8762 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8767 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8771 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8772 *** create shared libraries on Solaris systems. Therefore, libtool
8773 *** is disabling shared libraries support. We urge you to upgrade GNU
8774 *** binutils to release 2.9.1 or newer. Another option is to modify
8775 *** your PATH or compiler configuration so that the native linker is
8776 *** used, and then restart.
8779 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8780 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8781 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8787 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8788 case `$LD -v 2>&1` in
8789 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8793 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8794 *** reliably create shared libraries on SCO systems. Therefore, libtool
8795 *** is disabling shared libraries support. We urge you to upgrade GNU
8796 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8797 *** your PATH or compiler configuration so that the native linker is
8798 *** used, and then restart.
8803 # For security reasons, it is highly recommended that you always
8804 # use absolute paths for naming shared libraries, and exclude the
8805 # DT_RUNPATH tag from executables and libraries. But doing so
8806 # requires that you compile everything twice, which is a pain.
8807 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8808 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8809 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8810 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8819 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8822 hardcode_shlibpath_var=no
8826 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8827 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8828 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8835 if test "$ld_shlibs" = no; then
8837 hardcode_libdir_flag_spec=
8838 export_dynamic_flag_spec=
8839 whole_archive_flag_spec=
8842 # PORTME fill in a description of your system's linker (not GNU ld)
8845 allow_undefined_flag=unsupported
8846 always_export_symbols=yes
8847 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'
8848 # Note: this linker hardcodes the directories in LIBPATH if there
8849 # are no directories specified by -L.
8850 hardcode_minus_L=yes
8851 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8852 # Neither direct hardcoding nor static linking is supported with a
8854 hardcode_direct=unsupported
8859 if test "$host_cpu" = ia64; then
8860 # On IA64, the linker does run time linking by default, so we don't
8861 # have to do anything special.
8862 aix_use_runtimelinking=no
8863 exp_sym_flag='-Bexport'
8866 # If we're using GNU nm, then we don't want the "-C" option.
8867 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8868 # Also, AIX nm treats weak defined symbols like other global
8869 # defined symbols, whereas GNU nm marks them as "W".
8870 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8871 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'
8873 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'
8875 aix_use_runtimelinking=no
8877 # Test if we are trying to use run time linking or normal
8878 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8879 # need to do runtime linking.
8880 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8881 for ld_flag in $LDFLAGS; do
8882 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8883 aix_use_runtimelinking=yes
8890 exp_sym_flag='-bexport'
8891 no_entry_flag='-bnoentry'
8894 # When large executables or shared objects are built, AIX ld can
8895 # have problems creating the table of contents. If linking a library
8896 # or program results in "error TOC overflow" add -mminimal-toc to
8897 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8898 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8902 hardcode_direct_absolute=yes
8903 hardcode_libdir_separator=':'
8904 link_all_deplibs=yes
8905 file_list_spec='${wl}-f,'
8907 if test "$GCC" = yes; then
8908 case $host_os in aix4.[012]|aix4.[012].*)
8909 # We only want to do this on AIX 4.2 and lower, the check
8910 # below for broken collect2 doesn't work under 4.3+
8911 collect2name=`${CC} -print-prog-name=collect2`
8912 if test -f "$collect2name" &&
8913 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8915 # We have reworked collect2
8918 # We have old collect2
8919 hardcode_direct=unsupported
8920 # It fails to find uninstalled libraries when the uninstalled
8921 # path is not listed in the libpath. Setting hardcode_minus_L
8922 # to unsupported forces relinking
8923 hardcode_minus_L=yes
8924 hardcode_libdir_flag_spec='-L$libdir'
8925 hardcode_libdir_separator=
8929 shared_flag='-shared'
8930 if test "$aix_use_runtimelinking" = yes; then
8931 shared_flag="$shared_flag "'${wl}-G'
8936 if test "$host_cpu" = ia64; then
8937 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8938 # chokes on -Wl,-G. The following line is correct:
8941 if test "$aix_use_runtimelinking" = yes; then
8942 shared_flag='${wl}-G'
8944 shared_flag='${wl}-bM:SRE'
8949 export_dynamic_flag_spec='${wl}-bexpall'
8950 # It seems that -bexpall does not export symbols beginning with
8951 # underscore (_), so it is better to generate a list of symbols to export.
8952 always_export_symbols=yes
8953 if test "$aix_use_runtimelinking" = yes; then
8954 # Warning - without using the other runtime loading flags (-brtl),
8955 # -berok will link without error, but may produce a broken library.
8956 allow_undefined_flag='-berok'
8957 # Determine the default libpath from the value encoded in an
8959 if test "${lt_cv_aix_libpath+set}" = set; then
8960 aix_libpath=$lt_cv_aix_libpath
8962 if ${lt_cv_aix_libpath_+:} false; then :
8963 $as_echo_n "(cached) " >&6
8965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8966 /* end confdefs.h. */
8976 if ac_fn_c_try_link "$LINENO"; then :
8978 lt_aix_libpath_sed='
8979 /Import File Strings/,/^$/ {
8981 s/^0 *\([^ ]*\) *$/\1/
8985 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8986 # Check for a 64-bit object if we didn't find anything.
8987 if test -z "$lt_cv_aix_libpath_"; then
8988 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8991 rm -f core conftest.err conftest.$ac_objext \
8992 conftest$ac_exeext conftest.$ac_ext
8993 if test -z "$lt_cv_aix_libpath_"; then
8994 lt_cv_aix_libpath_="/usr/lib:/lib"
8999 aix_libpath=$lt_cv_aix_libpath_
9002 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9003 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"
9005 if test "$host_cpu" = ia64; then
9006 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9007 allow_undefined_flag="-z nodefs"
9008 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"
9010 # Determine the default libpath from the value encoded in an
9012 if test "${lt_cv_aix_libpath+set}" = set; then
9013 aix_libpath=$lt_cv_aix_libpath
9015 if ${lt_cv_aix_libpath_+:} false; then :
9016 $as_echo_n "(cached) " >&6
9018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9019 /* end confdefs.h. */
9029 if ac_fn_c_try_link "$LINENO"; then :
9031 lt_aix_libpath_sed='
9032 /Import File Strings/,/^$/ {
9034 s/^0 *\([^ ]*\) *$/\1/
9038 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9039 # Check for a 64-bit object if we didn't find anything.
9040 if test -z "$lt_cv_aix_libpath_"; then
9041 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9044 rm -f core conftest.err conftest.$ac_objext \
9045 conftest$ac_exeext conftest.$ac_ext
9046 if test -z "$lt_cv_aix_libpath_"; then
9047 lt_cv_aix_libpath_="/usr/lib:/lib"
9052 aix_libpath=$lt_cv_aix_libpath_
9055 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9056 # Warning - without using the other run time loading flags,
9057 # -berok will link without error, but may produce a broken library.
9058 no_undefined_flag=' ${wl}-bernotok'
9059 allow_undefined_flag=' ${wl}-berok'
9060 if test "$with_gnu_ld" = yes; then
9061 # We only use this code for GNU lds that support --whole-archive.
9062 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9064 # Exported symbols can be pulled into shared objects from archives
9065 whole_archive_flag_spec='$convenience'
9067 archive_cmds_need_lc=yes
9068 # This is similar to how AIX traditionally builds its shared libraries.
9069 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'
9077 # see comment about AmigaOS4 .so support
9078 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9079 archive_expsym_cmds=''
9082 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)'
9083 hardcode_libdir_flag_spec='-L$libdir'
9084 hardcode_minus_L=yes
9090 export_dynamic_flag_spec=-rdynamic
9093 cygwin* | mingw* | pw32* | cegcc*)
9094 # When not using gcc, we currently assume that we are using
9095 # Microsoft Visual C++.
9096 # hardcode_libdir_flag_spec is actually meaningless, as there is
9097 # no search path for DLLs.
9098 case $cc_basename in
9101 hardcode_libdir_flag_spec=' '
9102 allow_undefined_flag=unsupported
9103 always_export_symbols=yes
9105 # Tell ltmain to make .lib files, not .a files.
9107 # Tell ltmain to make .dll files, not .so files.
9109 # FIXME: Setting linknames here is a bad hack.
9110 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9111 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9112 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9114 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9116 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9118 # The linker will not automatically build a static lib if we build a DLL.
9119 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9120 enable_shared_with_static_runtimes=yes
9121 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9122 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9124 old_postinstall_cmds='chmod 644 $oldlib'
9125 postlink_cmds='lt_outputfile="@OUTPUT@"~
9126 lt_tool_outputfile="@TOOL_OUTPUT@"~
9127 case $lt_outputfile in
9130 lt_outputfile="$lt_outputfile.exe"
9131 lt_tool_outputfile="$lt_tool_outputfile.exe"
9134 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9135 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9136 $RM "$lt_outputfile.manifest";
9140 # Assume MSVC wrapper
9141 hardcode_libdir_flag_spec=' '
9142 allow_undefined_flag=unsupported
9143 # Tell ltmain to make .lib files, not .a files.
9145 # Tell ltmain to make .dll files, not .so files.
9147 # FIXME: Setting linknames here is a bad hack.
9148 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9149 # The linker will automatically build a .lib file if we build a DLL.
9150 old_archive_from_new_cmds='true'
9151 # FIXME: Should let the user specify the lib program.
9152 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9153 enable_shared_with_static_runtimes=yes
9158 darwin* | rhapsody*)
9161 archive_cmds_need_lc=no
9163 hardcode_automatic=yes
9164 hardcode_shlibpath_var=unsupported
9165 if test "$lt_cv_ld_force_load" = "yes"; then
9166 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\"`'
9169 whole_archive_flag_spec=''
9171 link_all_deplibs=yes
9172 allow_undefined_flag="$_lt_dar_allow_undefined"
9173 case $cc_basename in
9174 ifort*) _lt_dar_can_shared=yes ;;
9175 *) _lt_dar_can_shared=$GCC ;;
9177 if test "$_lt_dar_can_shared" = "yes"; then
9178 output_verbose_link_cmd=func_echo_all
9179 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9180 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9181 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}"
9182 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}"
9191 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9192 hardcode_libdir_flag_spec='-L$libdir'
9193 hardcode_shlibpath_var=no
9196 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9197 # support. Future versions do this automatically, but an explicit c++rt0.o
9198 # does not break anything, and helps significantly (at the cost of a little
9201 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9202 hardcode_libdir_flag_spec='-R$libdir'
9204 hardcode_shlibpath_var=no
9207 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9209 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9211 hardcode_minus_L=yes
9212 hardcode_shlibpath_var=no
9215 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9216 freebsd* | dragonfly*)
9217 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9218 hardcode_libdir_flag_spec='-R$libdir'
9220 hardcode_shlibpath_var=no
9224 if test "$GCC" = yes; then
9225 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'
9227 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'
9229 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9230 hardcode_libdir_separator=:
9233 # hardcode_minus_L: Not really in the search PATH,
9234 # but as the default location of the library.
9235 hardcode_minus_L=yes
9236 export_dynamic_flag_spec='${wl}-E'
9240 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9241 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9243 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9245 if test "$with_gnu_ld" = no; then
9246 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9247 hardcode_libdir_separator=:
9249 hardcode_direct_absolute=yes
9250 export_dynamic_flag_spec='${wl}-E'
9251 # hardcode_minus_L: Not really in the search PATH,
9252 # but as the default location of the library.
9253 hardcode_minus_L=yes
9258 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9261 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9264 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9267 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9273 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9276 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9280 # Older versions of the 11.00 compiler do not understand -b yet
9281 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9283 $as_echo_n "checking if $CC understands -b... " >&6; }
9284 if ${lt_cv_prog_compiler__b+:} false; then :
9285 $as_echo_n "(cached) " >&6
9287 lt_cv_prog_compiler__b=no
9288 save_LDFLAGS="$LDFLAGS"
9289 LDFLAGS="$LDFLAGS -b"
9290 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9291 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9292 # The linker can only warn and ignore the option if not recognized
9293 # So say no if there are warnings
9294 if test -s conftest.err; then
9295 # Append any errors to the config.log.
9296 cat conftest.err 1>&5
9297 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9298 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9299 if diff conftest.exp conftest.er2 >/dev/null; then
9300 lt_cv_prog_compiler__b=yes
9303 lt_cv_prog_compiler__b=yes
9307 LDFLAGS="$save_LDFLAGS"
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9311 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9313 if test x"$lt_cv_prog_compiler__b" = xyes; then
9314 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9316 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9322 if test "$with_gnu_ld" = no; then
9323 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9324 hardcode_libdir_separator=:
9329 hardcode_shlibpath_var=no
9333 hardcode_direct_absolute=yes
9334 export_dynamic_flag_spec='${wl}-E'
9336 # hardcode_minus_L: Not really in the search PATH,
9337 # but as the default location of the library.
9338 hardcode_minus_L=yes
9344 irix5* | irix6* | nonstopux*)
9345 if test "$GCC" = yes; then
9346 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'
9347 # Try to use the -exported_symbol ld option, if it does not
9348 # work, assume that -exports_file does not work either and
9349 # implicitly export all symbols.
9350 # This should be the same for all languages, so no per-tag cache variable.
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9352 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9353 if ${lt_cv_irix_exported_symbol+:} false; then :
9354 $as_echo_n "(cached) " >&6
9356 save_LDFLAGS="$LDFLAGS"
9357 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9359 /* end confdefs.h. */
9360 int foo (void) { return 0; }
9362 if ac_fn_c_try_link "$LINENO"; then :
9363 lt_cv_irix_exported_symbol=yes
9365 lt_cv_irix_exported_symbol=no
9367 rm -f core conftest.err conftest.$ac_objext \
9368 conftest$ac_exeext conftest.$ac_ext
9369 LDFLAGS="$save_LDFLAGS"
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9372 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9373 if test "$lt_cv_irix_exported_symbol" = yes; then
9374 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'
9377 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'
9378 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'
9380 archive_cmds_need_lc='no'
9381 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9382 hardcode_libdir_separator=:
9384 link_all_deplibs=yes
9387 netbsd* | netbsdelf*-gnu)
9388 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9389 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9391 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9393 hardcode_libdir_flag_spec='-R$libdir'
9395 hardcode_shlibpath_var=no
9399 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9401 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9402 hardcode_libdir_separator=:
9403 hardcode_shlibpath_var=no
9410 if test -f /usr/libexec/ld.so; then
9412 hardcode_shlibpath_var=no
9413 hardcode_direct_absolute=yes
9414 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9415 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9416 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9417 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9418 export_dynamic_flag_spec='${wl}-E'
9421 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9422 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9423 hardcode_libdir_flag_spec='-R$libdir'
9426 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9427 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9437 hardcode_libdir_flag_spec='-L$libdir'
9438 hardcode_minus_L=yes
9439 allow_undefined_flag=unsupported
9440 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'
9441 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9445 if test "$GCC" = yes; then
9446 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9447 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'
9449 allow_undefined_flag=' -expect_unresolved \*'
9450 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'
9452 archive_cmds_need_lc='no'
9453 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9454 hardcode_libdir_separator=:
9457 osf4* | osf5*) # as osf3* with the addition of -msym flag
9458 if test "$GCC" = yes; then
9459 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9460 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'
9461 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9463 allow_undefined_flag=' -expect_unresolved \*'
9464 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'
9465 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~
9466 $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'
9468 # Both c and cxx compiler support -rpath directly
9469 hardcode_libdir_flag_spec='-rpath $libdir'
9471 archive_cmds_need_lc='no'
9472 hardcode_libdir_separator=:
9476 no_undefined_flag=' -z defs'
9477 if test "$GCC" = yes; then
9479 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9480 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9481 $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'
9483 case `$CC -V 2>&1` in
9486 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9487 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9488 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9492 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9493 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9494 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9498 hardcode_libdir_flag_spec='-R$libdir'
9499 hardcode_shlibpath_var=no
9501 solaris2.[0-5] | solaris2.[0-5].*) ;;
9503 # The compiler driver will combine and reorder linker options,
9504 # but understands `-z linker_flag'. GCC discards it without `$wl',
9505 # but is careful enough not to reorder.
9506 # Supported since Solaris 2.6 (maybe 2.5.1?)
9507 if test "$GCC" = yes; then
9508 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9510 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9514 link_all_deplibs=yes
9518 if test "x$host_vendor" = xsequent; then
9519 # Use $CC to link under sequent, because it throws in some extra .o
9520 # files that make .init and .fini sections work.
9521 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9523 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9525 hardcode_libdir_flag_spec='-L$libdir'
9527 hardcode_minus_L=yes
9528 hardcode_shlibpath_var=no
9532 case $host_vendor in
9534 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9535 hardcode_direct=yes # is this really true???
9538 ## LD is ld it makes a PLAMLIB
9539 ## CC just makes a GrossModule.
9540 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9541 reload_cmds='$CC -r -o $output$reload_objs'
9545 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9546 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9549 runpath_var='LD_RUN_PATH'
9550 hardcode_shlibpath_var=no
9554 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9555 hardcode_shlibpath_var=no
9556 export_dynamic_flag_spec='-Bexport'
9560 if test -d /usr/nec; then
9561 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9562 hardcode_shlibpath_var=no
9563 runpath_var=LD_RUN_PATH
9564 hardcode_runpath_var=yes
9569 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9570 no_undefined_flag='${wl}-z,text'
9571 archive_cmds_need_lc=no
9572 hardcode_shlibpath_var=no
9573 runpath_var='LD_RUN_PATH'
9575 if test "$GCC" = yes; then
9576 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9577 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9579 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9580 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9584 sysv5* | sco3.2v5* | sco5v6*)
9585 # Note: We can NOT use -z defs as we might desire, because we do not
9586 # link with -lc, and that would cause any symbols used from libc to
9587 # always be unresolved, which means just about no library would
9588 # ever link correctly. If we're not using GNU ld we use -z text
9589 # though, which does catch some bad symbols but isn't as heavy-handed
9591 no_undefined_flag='${wl}-z,text'
9592 allow_undefined_flag='${wl}-z,nodefs'
9593 archive_cmds_need_lc=no
9594 hardcode_shlibpath_var=no
9595 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9596 hardcode_libdir_separator=':'
9597 link_all_deplibs=yes
9598 export_dynamic_flag_spec='${wl}-Bexport'
9599 runpath_var='LD_RUN_PATH'
9601 if test "$GCC" = yes; then
9602 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9603 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9605 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9606 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9611 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9612 hardcode_libdir_flag_spec='-L$libdir'
9613 hardcode_shlibpath_var=no
9621 if test x$host_vendor = xsni; then
9623 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9624 export_dynamic_flag_spec='${wl}-Blargedynsym'
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9631 $as_echo "$ld_shlibs" >&6; }
9632 test "$ld_shlibs" = no && can_build_shared=no
9634 with_gnu_ld=$with_gnu_ld
9651 # Do we need to explicitly link libc?
9653 case "x$archive_cmds_need_lc" in
9655 # Assume -lc should be added
9656 archive_cmds_need_lc=yes
9658 if test "$enable_shared" = yes && test "$GCC" = yes; then
9659 case $archive_cmds in
9661 # FIXME: we may have to deal with multi-command sequences.
9664 # Test whether the compiler implicitly links with -lc since on some
9665 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9666 # to ld, don't add -lc before -lgcc.
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9668 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9669 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9670 $as_echo_n "(cached) " >&6
9673 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9675 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9676 (eval $ac_compile) 2>&5
9678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9679 test $ac_status = 0; } 2>conftest.err; then
9682 libobjs=conftest.$ac_objext
9684 wl=$lt_prog_compiler_wl
9685 pic_flag=$lt_prog_compiler_pic
9691 lt_save_allow_undefined_flag=$allow_undefined_flag
9692 allow_undefined_flag=
9693 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9694 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9697 test $ac_status = 0; }
9699 lt_cv_archive_cmds_need_lc=no
9701 lt_cv_archive_cmds_need_lc=yes
9703 allow_undefined_flag=$lt_save_allow_undefined_flag
9705 cat conftest.err 1>&5
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9711 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9712 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9871 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9873 if test "$GCC" = yes; then
9875 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9876 *) lt_awk_arg="/^libraries:/" ;;
9879 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9880 *) lt_sed_strip_eq="s,=/,/,g" ;;
9882 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9883 case $lt_search_path_spec in
9885 # if the path contains ";" then we assume it to be the separator
9886 # otherwise default to the standard path separator (i.e. ":") - it is
9887 # assumed that no part of a normal pathname contains ";" but that should
9888 # okay in the real world where ";" in dirpaths is itself problematic.
9889 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9892 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9895 # Ok, now we have the path, separated by spaces, we can step through it
9896 # and add multilib dir if necessary.
9897 lt_tmp_lt_search_path_spec=
9898 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9899 for lt_sys_path in $lt_search_path_spec; do
9900 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9901 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9903 test -d "$lt_sys_path" && \
9904 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9907 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9908 BEGIN {RS=" "; FS="/|\n";} {
9911 for (lt_i = NF; lt_i > 0; lt_i--) {
9912 if ($lt_i != "" && $lt_i != ".") {
9913 if ($lt_i == "..") {
9916 if (lt_count == 0) {
9917 lt_foo="/" $lt_i lt_foo;
9924 if (lt_foo != "") { lt_freq[lt_foo]++; }
9925 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9927 # AWK program above erroneously prepends '/' to C:/dos/paths
9930 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9931 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9933 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9935 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9938 libname_spec='lib$name'
9946 shlibpath_overrides_runpath=unknown
9948 dynamic_linker="$host_os ld.so"
9949 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9950 need_lib_prefix=unknown
9951 hardcode_into_libs=no
9953 # when you set need_version to no, make sure it does not cause -set_version
9954 # flags to be left without arguments
9955 need_version=unknown
9959 version_type=linux # correct to gnu/linux during the next big refactor
9960 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9961 shlibpath_var=LIBPATH
9963 # AIX 3 has no versioning support, so we append a major version to the name.
9964 soname_spec='${libname}${release}${shared_ext}$major'
9968 version_type=linux # correct to gnu/linux during the next big refactor
9971 hardcode_into_libs=yes
9972 if test "$host_cpu" = ia64; then
9973 # AIX 5 supports IA64
9974 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9975 shlibpath_var=LD_LIBRARY_PATH
9977 # With GCC up to 2.95.x, collect2 would create an import file
9978 # for dependence libraries. The import file would start with
9979 # the line `#! .'. This would cause the generated library to
9980 # depend on `.', always an invalid library. This was fixed in
9981 # development snapshots of GCC prior to 3.0.
9983 aix4 | aix4.[01] | aix4.[01].*)
9984 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9986 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9993 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9994 # soname into executable. Probably we can add versioning support to
9995 # collect2, so additional links can be useful in future.
9996 if test "$aix_use_runtimelinking" = yes; then
9997 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9998 # instead of lib<name>.a to let people know that these are not
9999 # typical AIX shared libraries.
10000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10002 # We preserve .a as extension for shared libraries through AIX4.2
10003 # and later when we are not doing run time linking.
10004 library_names_spec='${libname}${release}.a $libname.a'
10005 soname_spec='${libname}${release}${shared_ext}$major'
10007 shlibpath_var=LIBPATH
10014 # Since July 2007 AmigaOS4 officially supports .so libraries.
10015 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10019 library_names_spec='$libname.ixlibrary $libname.a'
10020 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10021 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'
10027 library_names_spec='${libname}${shared_ext}'
10028 dynamic_linker="$host_os ld.so"
10029 shlibpath_var=LIBRARY_PATH
10033 version_type=linux # correct to gnu/linux during the next big refactor
10035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10036 soname_spec='${libname}${release}${shared_ext}$major'
10037 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10038 shlibpath_var=LD_LIBRARY_PATH
10039 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10040 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10041 # the default ld.so.conf also contains /usr/contrib/lib and
10042 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10043 # libtool to hard-code these into programs
10046 cygwin* | mingw* | pw32* | cegcc*)
10047 version_type=windows
10052 case $GCC,$cc_basename in
10055 library_names_spec='$libname.dll.a'
10056 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10057 postinstall_cmds='base_file=`basename \${file}`~
10058 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10059 dldir=$destdir/`dirname \$dlpath`~
10060 test -d \$dldir || mkdir -p \$dldir~
10061 $install_prog $dir/$dlname \$dldir/$dlname~
10062 chmod a+x \$dldir/$dlname~
10063 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10064 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10066 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10067 dlpath=$dir/\$dldll~
10069 shlibpath_overrides_runpath=yes
10073 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10074 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10076 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10079 # MinGW DLLs use traditional 'lib' prefix
10080 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10083 # pw32 DLLs use 'pw' prefix rather than 'lib'
10084 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10087 dynamic_linker='Win32 ld.exe'
10092 libname_spec='$name'
10093 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10094 library_names_spec='${libname}.dll.lib'
10098 sys_lib_search_path_spec=
10101 for lt_path in $LIB
10104 # Let DOS variable expansion print the short 8.3 style file name.
10105 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10106 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10109 # Convert to MSYS style.
10110 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10113 # Convert to unix form, then to dos form, then back to unix form
10114 # but this time dos style (no spaces!) so that the unix form looks
10115 # like /cygdrive/c/PROGRA~1:/cygdr...
10116 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10117 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10118 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10121 sys_lib_search_path_spec="$LIB"
10122 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10123 # It is most probably a Windows format PATH.
10124 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10126 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10128 # FIXME: find the short name or the path components, as spaces are
10129 # common. (e.g. "Program Files" -> "PROGRA~1")
10133 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10134 postinstall_cmds='base_file=`basename \${file}`~
10135 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10136 dldir=$destdir/`dirname \$dlpath`~
10137 test -d \$dldir || mkdir -p \$dldir~
10138 $install_prog $dir/$dlname \$dldir/$dlname'
10139 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10140 dlpath=$dir/\$dldll~
10142 shlibpath_overrides_runpath=yes
10143 dynamic_linker='Win32 link.exe'
10147 # Assume MSVC wrapper
10148 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10149 dynamic_linker='Win32 ld.exe'
10152 # FIXME: first we should search . and the directory the executable is in
10156 darwin* | rhapsody*)
10157 dynamic_linker="$host_os dyld"
10158 version_type=darwin
10161 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10162 soname_spec='${libname}${release}${major}$shared_ext'
10163 shlibpath_overrides_runpath=yes
10164 shlibpath_var=DYLD_LIBRARY_PATH
10165 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10167 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10168 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10172 version_type=linux # correct to gnu/linux during the next big refactor
10175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10176 soname_spec='${libname}${release}${shared_ext}$major'
10177 shlibpath_var=LD_LIBRARY_PATH
10180 freebsd* | dragonfly*)
10181 # DragonFly does not have aout. When/if they implement a new
10182 # versioning mechanism, adjust this.
10183 if test -x /usr/bin/objformat; then
10184 objformat=`/usr/bin/objformat`
10187 freebsd[23].*) objformat=aout ;;
10188 *) objformat=elf ;;
10191 version_type=freebsd-$objformat
10192 case $version_type in
10194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10199 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10203 shlibpath_var=LD_LIBRARY_PATH
10206 shlibpath_overrides_runpath=yes
10208 freebsd3.[01]* | freebsdelf3.[01]*)
10209 shlibpath_overrides_runpath=yes
10210 hardcode_into_libs=yes
10212 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10213 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10214 shlibpath_overrides_runpath=no
10215 hardcode_into_libs=yes
10217 *) # from 4.6 on, and DragonFly
10218 shlibpath_overrides_runpath=yes
10219 hardcode_into_libs=yes
10225 version_type=linux # correct to gnu/linux during the next big refactor
10228 dynamic_linker="$host_os runtime_loader"
10229 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10230 soname_spec='${libname}${release}${shared_ext}$major'
10231 shlibpath_var=LIBRARY_PATH
10232 shlibpath_overrides_runpath=yes
10233 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10234 hardcode_into_libs=yes
10237 hpux9* | hpux10* | hpux11*)
10238 # Give a soname corresponding to the major version so that dld.sl refuses to
10239 # link against other versions.
10246 hardcode_into_libs=yes
10247 dynamic_linker="$host_os dld.so"
10248 shlibpath_var=LD_LIBRARY_PATH
10249 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10251 soname_spec='${libname}${release}${shared_ext}$major'
10252 if test "X$HPUX_IA64_MODE" = X32; then
10253 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10255 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10257 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10261 hardcode_into_libs=yes
10262 dynamic_linker="$host_os dld.sl"
10263 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10264 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10265 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10266 soname_spec='${libname}${release}${shared_ext}$major'
10267 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10268 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10272 dynamic_linker="$host_os dld.sl"
10273 shlibpath_var=SHLIB_PATH
10274 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10276 soname_spec='${libname}${release}${shared_ext}$major'
10279 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10280 postinstall_cmds='chmod 555 $lib'
10281 # or fails outright, so override atomically:
10282 install_override_mode=555
10286 version_type=linux # correct to gnu/linux during the next big refactor
10289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10290 soname_spec='${libname}${release}${shared_ext}$major'
10291 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10292 shlibpath_var=LD_LIBRARY_PATH
10293 shlibpath_overrides_runpath=no
10294 hardcode_into_libs=yes
10297 irix5* | irix6* | nonstopux*)
10299 nonstopux*) version_type=nonstopux ;;
10301 if test "$lt_cv_prog_gnu_ld" = yes; then
10302 version_type=linux # correct to gnu/linux during the next big refactor
10309 soname_spec='${libname}${release}${shared_ext}$major'
10310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10312 irix5* | nonstopux*)
10313 libsuff= shlibsuff=
10316 case $LD in # libtool.m4 will add one of these switches to LD
10317 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10318 libsuff= shlibsuff= libmagic=32-bit;;
10319 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10320 libsuff=32 shlibsuff=N32 libmagic=N32;;
10321 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10322 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10323 *) libsuff= shlibsuff= libmagic=never-match;;
10327 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10328 shlibpath_overrides_runpath=no
10329 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10330 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10331 hardcode_into_libs=yes
10334 # No shared lib support for Linux oldld, aout, or coff.
10335 linux*oldld* | linux*aout* | linux*coff*)
10339 # This must be glibc/ELF.
10340 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10341 version_type=linux # correct to gnu/linux during the next big refactor
10344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10345 soname_spec='${libname}${release}${shared_ext}$major'
10346 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10347 shlibpath_var=LD_LIBRARY_PATH
10348 shlibpath_overrides_runpath=no
10350 # Some binutils ld are patched to set DT_RUNPATH
10351 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10352 $as_echo_n "(cached) " >&6
10354 lt_cv_shlibpath_overrides_runpath=no
10355 save_LDFLAGS=$LDFLAGS
10356 save_libdir=$libdir
10357 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10358 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10370 if ac_fn_c_try_link "$LINENO"; then :
10371 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10372 lt_cv_shlibpath_overrides_runpath=yes
10375 rm -f core conftest.err conftest.$ac_objext \
10376 conftest$ac_exeext conftest.$ac_ext
10377 LDFLAGS=$save_LDFLAGS
10378 libdir=$save_libdir
10382 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10384 # This implies no fast_install, which is unacceptable.
10385 # Some rework will be needed to allow for fast_install
10386 # before this can be enabled.
10387 hardcode_into_libs=yes
10389 # Append ld.so.conf contents to the search path
10390 if test -f /etc/ld.so.conf; then
10391 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' ' '`
10392 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10395 # We used to test for /lib/ld.so.1 and disable shared libraries on
10396 # powerpc, because MkLinux only supported shared libraries with the
10397 # GNU dynamic linker. Since this was broken with cross compilers,
10398 # most powerpc-linux boxes support dynamic linking these days and
10399 # people can always --disable-shared, the test was removed, and we
10400 # assume the GNU/Linux dynamic linker is in use.
10401 dynamic_linker='GNU/Linux ld.so'
10408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10409 soname_spec='${libname}${release}${shared_ext}$major'
10410 shlibpath_var=LD_LIBRARY_PATH
10411 shlibpath_overrides_runpath=no
10412 hardcode_into_libs=yes
10413 dynamic_linker='NetBSD ld.elf_so'
10420 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10422 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10423 dynamic_linker='NetBSD (a.out) ld.so'
10425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10426 soname_spec='${libname}${release}${shared_ext}$major'
10427 dynamic_linker='NetBSD ld.elf_so'
10429 shlibpath_var=LD_LIBRARY_PATH
10430 shlibpath_overrides_runpath=yes
10431 hardcode_into_libs=yes
10435 version_type=linux # correct to gnu/linux during the next big refactor
10436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10437 shlibpath_var=LD_LIBRARY_PATH
10438 shlibpath_overrides_runpath=yes
10445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10446 soname_spec='${libname}${release}${shared_ext}$major'
10447 shlibpath_var=LD_LIBRARY_PATH
10448 shlibpath_overrides_runpath=no
10449 hardcode_into_libs=yes
10450 dynamic_linker='ldqnx.so'
10455 sys_lib_dlsearch_path_spec="/usr/lib"
10457 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10459 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10460 *) need_version=no ;;
10462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10463 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10464 shlibpath_var=LD_LIBRARY_PATH
10465 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10467 openbsd2.[89] | openbsd2.[89].*)
10468 shlibpath_overrides_runpath=no
10471 shlibpath_overrides_runpath=yes
10475 shlibpath_overrides_runpath=yes
10480 libname_spec='$name'
10483 library_names_spec='$libname${shared_ext} $libname.a'
10484 dynamic_linker='OS/2 ld.exe'
10485 shlibpath_var=LIBPATH
10488 osf3* | osf4* | osf5*)
10492 soname_spec='${libname}${release}${shared_ext}$major'
10493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10494 shlibpath_var=LD_LIBRARY_PATH
10495 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10496 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10504 version_type=linux # correct to gnu/linux during the next big refactor
10507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10508 soname_spec='${libname}${release}${shared_ext}$major'
10509 shlibpath_var=LD_LIBRARY_PATH
10510 shlibpath_overrides_runpath=yes
10511 hardcode_into_libs=yes
10512 # ldd complains unless libraries are executable
10513 postinstall_cmds='chmod +x $lib'
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10519 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10520 shlibpath_var=LD_LIBRARY_PATH
10521 shlibpath_overrides_runpath=yes
10522 if test "$with_gnu_ld" = yes; then
10529 version_type=linux # correct to gnu/linux during the next big refactor
10530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10531 soname_spec='${libname}${release}${shared_ext}$major'
10532 shlibpath_var=LD_LIBRARY_PATH
10533 case $host_vendor in
10535 shlibpath_overrides_runpath=no
10537 runpath_var=LD_RUN_PATH
10545 shlibpath_overrides_runpath=no
10546 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10552 if test -d /usr/nec ;then
10553 version_type=linux # correct to gnu/linux during the next big refactor
10554 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10555 soname_spec='$libname${shared_ext}.$major'
10556 shlibpath_var=LD_LIBRARY_PATH
10560 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10561 version_type=freebsd-elf
10564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10565 soname_spec='${libname}${release}${shared_ext}$major'
10566 shlibpath_var=LD_LIBRARY_PATH
10567 shlibpath_overrides_runpath=yes
10568 hardcode_into_libs=yes
10569 if test "$with_gnu_ld" = yes; then
10570 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10572 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10575 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10579 sys_lib_dlsearch_path_spec='/usr/lib'
10583 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10584 version_type=linux # correct to gnu/linux during the next big refactor
10587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10588 shlibpath_var=LD_LIBRARY_PATH
10589 shlibpath_overrides_runpath=no
10590 hardcode_into_libs=yes
10594 version_type=linux # correct to gnu/linux during the next big refactor
10595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10596 soname_spec='${libname}${release}${shared_ext}$major'
10597 shlibpath_var=LD_LIBRARY_PATH
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10605 $as_echo "$dynamic_linker" >&6; }
10606 test "$dynamic_linker" = no && can_build_shared=no
10608 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10609 if test "$GCC" = yes; then
10610 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10613 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10614 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10616 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10617 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10712 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10714 if test -n "$hardcode_libdir_flag_spec" ||
10715 test -n "$runpath_var" ||
10716 test "X$hardcode_automatic" = "Xyes" ; then
10718 # We can hardcode non-existent directories.
10719 if test "$hardcode_direct" != no &&
10720 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10721 # have to relink, otherwise we might link with an installed library
10722 # when we should be linking with a yet-to-be-installed one
10723 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10724 test "$hardcode_minus_L" != no; then
10725 # Linking always hardcodes the temporary library directory.
10726 hardcode_action=relink
10728 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10729 hardcode_action=immediate
10732 # We cannot hardcode anything, or else we can only hardcode existing
10734 hardcode_action=unsupported
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10737 $as_echo "$hardcode_action" >&6; }
10739 if test "$hardcode_action" = relink ||
10740 test "$inherit_rpath" = yes; then
10741 # Fast installation is not supported
10742 enable_fast_install=no
10743 elif test "$shlibpath_overrides_runpath" = yes ||
10744 test "$enable_shared" = no; then
10745 # Fast installation is not necessary
10746 enable_fast_install=needless
10754 if test "x$enable_dlopen" != xyes; then
10755 enable_dlopen=unknown
10756 enable_dlopen_self=unknown
10757 enable_dlopen_self_static=unknown
10764 lt_cv_dlopen="load_add_on"
10766 lt_cv_dlopen_self=yes
10769 mingw* | pw32* | cegcc*)
10770 lt_cv_dlopen="LoadLibrary"
10775 lt_cv_dlopen="dlopen"
10780 # if libdl is installed we need to link against it
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10782 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10783 if ${ac_cv_lib_dl_dlopen+:} false; then :
10784 $as_echo_n "(cached) " >&6
10786 ac_check_lib_save_LIBS=$LIBS
10788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10789 /* end confdefs.h. */
10791 /* Override any GCC internal prototype to avoid an error.
10792 Use char because int might match the return type of a GCC
10793 builtin and then its argument prototype would still apply. */
10806 if ac_fn_c_try_link "$LINENO"; then :
10807 ac_cv_lib_dl_dlopen=yes
10809 ac_cv_lib_dl_dlopen=no
10811 rm -f core conftest.err conftest.$ac_objext \
10812 conftest$ac_exeext conftest.$ac_ext
10813 LIBS=$ac_check_lib_save_LIBS
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10816 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10817 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10818 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10821 lt_cv_dlopen="dyld"
10823 lt_cv_dlopen_self=yes
10830 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10831 if test "x$ac_cv_func_shl_load" = xyes; then :
10832 lt_cv_dlopen="shl_load"
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10835 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10836 if ${ac_cv_lib_dld_shl_load+:} false; then :
10837 $as_echo_n "(cached) " >&6
10839 ac_check_lib_save_LIBS=$LIBS
10841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10842 /* end confdefs.h. */
10844 /* Override any GCC internal prototype to avoid an error.
10845 Use char because int might match the return type of a GCC
10846 builtin and then its argument prototype would still apply. */
10854 return shl_load ();
10859 if ac_fn_c_try_link "$LINENO"; then :
10860 ac_cv_lib_dld_shl_load=yes
10862 ac_cv_lib_dld_shl_load=no
10864 rm -f core conftest.err conftest.$ac_objext \
10865 conftest$ac_exeext conftest.$ac_ext
10866 LIBS=$ac_check_lib_save_LIBS
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10869 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10870 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10871 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10873 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10874 if test "x$ac_cv_func_dlopen" = xyes; then :
10875 lt_cv_dlopen="dlopen"
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10878 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10879 if ${ac_cv_lib_dl_dlopen+:} false; then :
10880 $as_echo_n "(cached) " >&6
10882 ac_check_lib_save_LIBS=$LIBS
10884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10885 /* end confdefs.h. */
10887 /* Override any GCC internal prototype to avoid an error.
10888 Use char because int might match the return type of a GCC
10889 builtin and then its argument prototype would still apply. */
10902 if ac_fn_c_try_link "$LINENO"; then :
10903 ac_cv_lib_dl_dlopen=yes
10905 ac_cv_lib_dl_dlopen=no
10907 rm -f core conftest.err conftest.$ac_objext \
10908 conftest$ac_exeext conftest.$ac_ext
10909 LIBS=$ac_check_lib_save_LIBS
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10912 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10913 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10914 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10917 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10918 if ${ac_cv_lib_svld_dlopen+:} false; then :
10919 $as_echo_n "(cached) " >&6
10921 ac_check_lib_save_LIBS=$LIBS
10922 LIBS="-lsvld $LIBS"
10923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10924 /* end confdefs.h. */
10926 /* Override any GCC internal prototype to avoid an error.
10927 Use char because int might match the return type of a GCC
10928 builtin and then its argument prototype would still apply. */
10941 if ac_fn_c_try_link "$LINENO"; then :
10942 ac_cv_lib_svld_dlopen=yes
10944 ac_cv_lib_svld_dlopen=no
10946 rm -f core conftest.err conftest.$ac_objext \
10947 conftest$ac_exeext conftest.$ac_ext
10948 LIBS=$ac_check_lib_save_LIBS
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10951 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10952 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10953 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10956 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10957 if ${ac_cv_lib_dld_dld_link+:} false; then :
10958 $as_echo_n "(cached) " >&6
10960 ac_check_lib_save_LIBS=$LIBS
10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10965 /* Override any GCC internal prototype to avoid an error.
10966 Use char because int might match the return type of a GCC
10967 builtin and then its argument prototype would still apply. */
10975 return dld_link ();
10980 if ac_fn_c_try_link "$LINENO"; then :
10981 ac_cv_lib_dld_dld_link=yes
10983 ac_cv_lib_dld_dld_link=no
10985 rm -f core conftest.err conftest.$ac_objext \
10986 conftest$ac_exeext conftest.$ac_ext
10987 LIBS=$ac_check_lib_save_LIBS
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10990 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10991 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10992 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11013 if test "x$lt_cv_dlopen" != xno; then
11019 case $lt_cv_dlopen in
11021 save_CPPFLAGS="$CPPFLAGS"
11022 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11024 save_LDFLAGS="$LDFLAGS"
11025 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11028 LIBS="$lt_cv_dlopen_libs $LIBS"
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11031 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11032 if ${lt_cv_dlopen_self+:} false; then :
11033 $as_echo_n "(cached) " >&6
11035 if test "$cross_compiling" = yes; then :
11036 lt_cv_dlopen_self=cross
11038 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11039 lt_status=$lt_dlunknown
11040 cat > conftest.$ac_ext <<_LT_EOF
11041 #line $LINENO "configure"
11042 #include "confdefs.h"
11051 # define LT_DLGLOBAL RTLD_GLOBAL
11054 # define LT_DLGLOBAL DL_GLOBAL
11056 # define LT_DLGLOBAL 0
11060 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11061 find out it does not work in some platform. */
11062 #ifndef LT_DLLAZY_OR_NOW
11064 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11067 # define LT_DLLAZY_OR_NOW DL_LAZY
11070 # define LT_DLLAZY_OR_NOW RTLD_NOW
11073 # define LT_DLLAZY_OR_NOW DL_NOW
11075 # define LT_DLLAZY_OR_NOW 0
11082 /* When -fvisbility=hidden is used, assume the code has been annotated
11083 correspondingly for the symbols needed. */
11084 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11085 int fnord () __attribute__((visibility("default")));
11088 int fnord () { return 42; }
11091 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11092 int status = $lt_dlunknown;
11096 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11099 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11100 else puts (dlerror ());
11102 /* dlclose (self); */
11110 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11111 (eval $ac_link) 2>&5
11113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11114 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11115 (./conftest; exit; ) >&5 2>/dev/null
11117 case x$lt_status in
11118 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11119 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11120 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11123 # compilation failed
11124 lt_cv_dlopen_self=no
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11132 $as_echo "$lt_cv_dlopen_self" >&6; }
11134 if test "x$lt_cv_dlopen_self" = xyes; then
11135 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11137 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11138 if ${lt_cv_dlopen_self_static+:} false; then :
11139 $as_echo_n "(cached) " >&6
11141 if test "$cross_compiling" = yes; then :
11142 lt_cv_dlopen_self_static=cross
11144 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11145 lt_status=$lt_dlunknown
11146 cat > conftest.$ac_ext <<_LT_EOF
11147 #line $LINENO "configure"
11148 #include "confdefs.h"
11157 # define LT_DLGLOBAL RTLD_GLOBAL
11160 # define LT_DLGLOBAL DL_GLOBAL
11162 # define LT_DLGLOBAL 0
11166 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11167 find out it does not work in some platform. */
11168 #ifndef LT_DLLAZY_OR_NOW
11170 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11173 # define LT_DLLAZY_OR_NOW DL_LAZY
11176 # define LT_DLLAZY_OR_NOW RTLD_NOW
11179 # define LT_DLLAZY_OR_NOW DL_NOW
11181 # define LT_DLLAZY_OR_NOW 0
11188 /* When -fvisbility=hidden is used, assume the code has been annotated
11189 correspondingly for the symbols needed. */
11190 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11191 int fnord () __attribute__((visibility("default")));
11194 int fnord () { return 42; }
11197 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11198 int status = $lt_dlunknown;
11202 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11205 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11206 else puts (dlerror ());
11208 /* dlclose (self); */
11216 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11217 (eval $ac_link) 2>&5
11219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11220 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11221 (./conftest; exit; ) >&5 2>/dev/null
11223 case x$lt_status in
11224 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11225 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11226 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11229 # compilation failed
11230 lt_cv_dlopen_self_static=no
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11238 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11241 CPPFLAGS="$save_CPPFLAGS"
11242 LDFLAGS="$save_LDFLAGS"
11247 case $lt_cv_dlopen_self in
11248 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11249 *) enable_dlopen_self=unknown ;;
11252 case $lt_cv_dlopen_self_static in
11253 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11254 *) enable_dlopen_self_static=unknown ;;
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11277 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11278 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11279 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11280 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11282 $as_echo "yes" >&6; }
11284 # FIXME - insert some real tests, host_os isn't really good enough
11287 if test -n "$STRIP" ; then
11288 striplib="$STRIP -x"
11289 old_striplib="$STRIP -S"
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11291 $as_echo "yes" >&6; }
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11294 $as_echo "no" >&6; }
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11299 $as_echo "no" >&6; }
11315 # Report which library types will actually be built
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11317 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11319 $as_echo "$can_build_shared" >&6; }
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11322 $as_echo_n "checking whether to build shared libraries... " >&6; }
11323 test "$can_build_shared" = "no" && enable_shared=no
11325 # On AIX, shared libraries and static libraries use the same namespace, and
11326 # are all built from PIC.
11329 test "$enable_shared" = yes && enable_static=no
11330 if test -n "$RANLIB"; then
11331 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11332 postinstall_cmds='$RANLIB $lib'
11337 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11338 test "$enable_shared" = yes && enable_static=no
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11343 $as_echo "$enable_shared" >&6; }
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11346 $as_echo_n "checking whether to build static libraries... " >&6; }
11347 # Make sure either enable_shared or enable_static is yes.
11348 test "$enable_shared" = yes || enable_static=yes
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11350 $as_echo "$enable_static" >&6; }
11357 ac_cpp='$CPP $CPPFLAGS'
11358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11378 ac_config_commands="$ac_config_commands libtool"
11383 # Only expand once:
11387 # Checks for programs.
11389 ac_cpp='$CPP $CPPFLAGS'
11390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11393 if test -n "$ac_tool_prefix"; then
11394 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11395 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11397 $as_echo_n "checking for $ac_word... " >&6; }
11398 if ${ac_cv_prog_CC+:} false; then :
11399 $as_echo_n "(cached) " >&6
11401 if test -n "$CC"; then
11402 ac_cv_prog_CC="$CC" # Let the user override the test.
11404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11405 for as_dir in $PATH
11408 test -z "$as_dir" && as_dir=.
11409 for ac_exec_ext in '' $ac_executable_extensions; do
11410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11411 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11422 if test -n "$CC"; then
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11424 $as_echo "$CC" >&6; }
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11427 $as_echo "no" >&6; }
11432 if test -z "$ac_cv_prog_CC"; then
11434 # Extract the first word of "gcc", so it can be a program name with args.
11435 set dummy gcc; ac_word=$2
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11437 $as_echo_n "checking for $ac_word... " >&6; }
11438 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11439 $as_echo_n "(cached) " >&6
11441 if test -n "$ac_ct_CC"; then
11442 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11445 for as_dir in $PATH
11448 test -z "$as_dir" && as_dir=.
11449 for ac_exec_ext in '' $ac_executable_extensions; do
11450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11451 ac_cv_prog_ac_ct_CC="gcc"
11452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11461 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11462 if test -n "$ac_ct_CC"; then
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11464 $as_echo "$ac_ct_CC" >&6; }
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11467 $as_echo "no" >&6; }
11470 if test "x$ac_ct_CC" = x; then
11473 case $cross_compiling:$ac_tool_warned in
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11477 ac_tool_warned=yes ;;
11482 CC="$ac_cv_prog_CC"
11485 if test -z "$CC"; then
11486 if test -n "$ac_tool_prefix"; then
11487 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11488 set dummy ${ac_tool_prefix}cc; ac_word=$2
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11490 $as_echo_n "checking for $ac_word... " >&6; }
11491 if ${ac_cv_prog_CC+:} false; then :
11492 $as_echo_n "(cached) " >&6
11494 if test -n "$CC"; then
11495 ac_cv_prog_CC="$CC" # Let the user override the test.
11497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11498 for as_dir in $PATH
11501 test -z "$as_dir" && as_dir=.
11502 for ac_exec_ext in '' $ac_executable_extensions; do
11503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11504 ac_cv_prog_CC="${ac_tool_prefix}cc"
11505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11515 if test -n "$CC"; then
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11517 $as_echo "$CC" >&6; }
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11520 $as_echo "no" >&6; }
11526 if test -z "$CC"; then
11527 # Extract the first word of "cc", so it can be a program name with args.
11528 set dummy cc; ac_word=$2
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11530 $as_echo_n "checking for $ac_word... " >&6; }
11531 if ${ac_cv_prog_CC+:} false; then :
11532 $as_echo_n "(cached) " >&6
11534 if test -n "$CC"; then
11535 ac_cv_prog_CC="$CC" # Let the user override the test.
11537 ac_prog_rejected=no
11538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11539 for as_dir in $PATH
11542 test -z "$as_dir" && as_dir=.
11543 for ac_exec_ext in '' $ac_executable_extensions; do
11544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11545 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11546 ac_prog_rejected=yes
11550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11557 if test $ac_prog_rejected = yes; then
11558 # We found a bogon in the path, so make sure we never use it.
11559 set dummy $ac_cv_prog_CC
11561 if test $# != 0; then
11562 # We chose a different compiler from the bogus one.
11563 # However, it has the same basename, so the bogon will be chosen
11564 # first if we set CC to just the basename; use the full file name.
11566 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11572 if test -n "$CC"; then
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11574 $as_echo "$CC" >&6; }
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11577 $as_echo "no" >&6; }
11582 if test -z "$CC"; then
11583 if test -n "$ac_tool_prefix"; then
11584 for ac_prog in cl.exe
11586 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11587 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11589 $as_echo_n "checking for $ac_word... " >&6; }
11590 if ${ac_cv_prog_CC+:} false; then :
11591 $as_echo_n "(cached) " >&6
11593 if test -n "$CC"; then
11594 ac_cv_prog_CC="$CC" # Let the user override the test.
11596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11597 for as_dir in $PATH
11600 test -z "$as_dir" && as_dir=.
11601 for ac_exec_ext in '' $ac_executable_extensions; do
11602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11603 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11614 if test -n "$CC"; then
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11616 $as_echo "$CC" >&6; }
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11619 $as_echo "no" >&6; }
11623 test -n "$CC" && break
11626 if test -z "$CC"; then
11628 for ac_prog in cl.exe
11630 # Extract the first word of "$ac_prog", so it can be a program name with args.
11631 set dummy $ac_prog; ac_word=$2
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11633 $as_echo_n "checking for $ac_word... " >&6; }
11634 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11635 $as_echo_n "(cached) " >&6
11637 if test -n "$ac_ct_CC"; then
11638 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11641 for as_dir in $PATH
11644 test -z "$as_dir" && as_dir=.
11645 for ac_exec_ext in '' $ac_executable_extensions; do
11646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11647 ac_cv_prog_ac_ct_CC="$ac_prog"
11648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11657 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11658 if test -n "$ac_ct_CC"; then
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11660 $as_echo "$ac_ct_CC" >&6; }
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11663 $as_echo "no" >&6; }
11667 test -n "$ac_ct_CC" && break
11670 if test "x$ac_ct_CC" = x; then
11673 case $cross_compiling:$ac_tool_warned in
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11676 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11677 ac_tool_warned=yes ;;
11686 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11688 as_fn_error $? "no acceptable C compiler found in \$PATH
11689 See \`config.log' for more details" "$LINENO" 5; }
11691 # Provide some information about the compiler.
11692 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11695 for ac_option in --version -v -V -qversion; do
11696 { { ac_try="$ac_compiler $ac_option >&5"
11697 case "(($ac_try" in
11698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11699 *) ac_try_echo=$ac_try;;
11701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11702 $as_echo "$ac_try_echo"; } >&5
11703 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11705 if test -s conftest.err; then
11707 ... rest of stderr output deleted ...
11708 10q' conftest.err >conftest.er1
11709 cat conftest.er1 >&5
11711 rm -f conftest.er1 conftest.err
11712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11713 test $ac_status = 0; }
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11717 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11718 if ${ac_cv_c_compiler_gnu+:} false; then :
11719 $as_echo_n "(cached) " >&6
11721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11722 /* end confdefs.h. */
11735 if ac_fn_c_try_compile "$LINENO"; then :
11736 ac_compiler_gnu=yes
11740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11741 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11745 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11746 if test $ac_compiler_gnu = yes; then
11751 ac_test_CFLAGS=${CFLAGS+set}
11752 ac_save_CFLAGS=$CFLAGS
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11754 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11755 if ${ac_cv_prog_cc_g+:} false; then :
11756 $as_echo_n "(cached) " >&6
11758 ac_save_c_werror_flag=$ac_c_werror_flag
11759 ac_c_werror_flag=yes
11762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11763 /* end confdefs.h. */
11773 if ac_fn_c_try_compile "$LINENO"; then :
11774 ac_cv_prog_cc_g=yes
11777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11778 /* end confdefs.h. */
11788 if ac_fn_c_try_compile "$LINENO"; then :
11791 ac_c_werror_flag=$ac_save_c_werror_flag
11793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11804 if ac_fn_c_try_compile "$LINENO"; then :
11805 ac_cv_prog_cc_g=yes
11807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11812 ac_c_werror_flag=$ac_save_c_werror_flag
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11815 $as_echo "$ac_cv_prog_cc_g" >&6; }
11816 if test "$ac_test_CFLAGS" = set; then
11817 CFLAGS=$ac_save_CFLAGS
11818 elif test $ac_cv_prog_cc_g = yes; then
11819 if test "$GCC" = yes; then
11825 if test "$GCC" = yes; then
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11832 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11833 if ${ac_cv_prog_cc_c89+:} false; then :
11834 $as_echo_n "(cached) " >&6
11836 ac_cv_prog_cc_c89=no
11838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */
11840 #include <stdarg.h>
11843 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11844 struct buf { int x; };
11845 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11846 static char *e (p, i)
11852 static char *f (char * (*g) (char **, int), char **p, ...)
11857 s = g (p, va_arg (v,int));
11862 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11863 function prototypes and stuff, but not '\xHH' hex character constants.
11864 These don't provoke an error unfortunately, instead are silently treated
11865 as 'x'. The following induces an error, until -std is added to get
11866 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11867 array size at least. It's necessary to write '\x00'==0 to get something
11868 that's true only with -std. */
11869 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11871 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11872 inside strings and character constants. */
11874 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11876 int test (int i, double x);
11877 struct s1 {int (*f) (int a);};
11878 struct s2 {int (*f) (double a);};
11879 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11885 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11890 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11891 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11893 CC="$ac_save_CC $ac_arg"
11894 if ac_fn_c_try_compile "$LINENO"; then :
11895 ac_cv_prog_cc_c89=$ac_arg
11897 rm -f core conftest.err conftest.$ac_objext
11898 test "x$ac_cv_prog_cc_c89" != "xno" && break
11900 rm -f conftest.$ac_ext
11905 case "x$ac_cv_prog_cc_c89" in
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11908 $as_echo "none needed" >&6; } ;;
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11911 $as_echo "unsupported" >&6; } ;;
11913 CC="$CC $ac_cv_prog_cc_c89"
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11915 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11917 if test "x$ac_cv_prog_cc_c89" != xno; then :
11922 ac_cpp='$CPP $CPPFLAGS'
11923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11927 depcc="$CC" am_compiler_list=
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11930 $as_echo_n "checking dependency style of $depcc... " >&6; }
11931 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
11932 $as_echo_n "(cached) " >&6
11934 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11935 # We make a subdir and do the tests there. Otherwise we can end up
11936 # making bogus files that we don't know about and never remove. For
11937 # instance it was reported that on HP-UX the gcc test will end up
11938 # making a dummy file named `D' -- because `-MD' means `put the output
11940 rm -rf conftest.dir
11942 # Copy depcomp to subdir because otherwise we won't find it if we're
11943 # using a relative directory.
11944 cp "$am_depcomp" conftest.dir
11946 # We will build objects and dependencies in a subdirectory because
11947 # it helps to detect inapplicable dependency modes. For instance
11948 # both Tru64's cc and ICC support -MD to output dependencies as a
11949 # side effect of compilation, but ICC will put the dependencies in
11950 # the current directory while Tru64 will put them in the object
11954 am_cv_CC_dependencies_compiler_type=none
11955 if test "$am_compiler_list" = ""; then
11956 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11958 am__universal=false
11959 case " $depcc " in #(
11960 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11963 for depmode in $am_compiler_list; do
11964 # Setup a source with many dependencies, because some compilers
11965 # like to wrap large dependency lists on column 80 (with \), and
11966 # we should not choose a depcomp mode which is confused by this.
11968 # We need to recreate these files for each test, as the compiler may
11969 # overwrite some of them when testing with obscure command lines.
11970 # This happens at least with the AIX C compiler.
11972 for i in 1 2 3 4 5 6; do
11973 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11974 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11975 # Solaris 8's {/usr,}/bin/sh.
11976 touch sub/conftst$i.h
11978 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11980 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11981 # mode. It turns out that the SunPro C++ compiler does not properly
11982 # handle `-M -o', and we need to detect this. Also, some Intel
11983 # versions had trouble with output in subdirs
11984 am__obj=sub/conftest.${OBJEXT-o}
11985 am__minus_obj="-o $am__obj"
11988 # This depmode causes a compiler race in universal mode.
11989 test "$am__universal" = false || continue
11992 # after this tag, mechanisms are not by side-effect, so they'll
11993 # only be used when explicitly requested
11994 if test "x$enable_dependency_tracking" = xyes; then
12000 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12001 # This compiler won't grok `-c -o', but also, the minuso test has
12002 # not run yet. These depmodes are late enough in the game, and
12003 # so weak that their functioning should not be impacted.
12004 am__obj=conftest.${OBJEXT-o}
12009 if depmode=$depmode \
12010 source=sub/conftest.c object=$am__obj \
12011 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12012 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12013 >/dev/null 2>conftest.err &&
12014 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12015 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12016 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12017 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12018 # icc doesn't choke on unknown options, it will just issue warnings
12019 # or remarks (even with -Werror). So we grep stderr for any message
12020 # that says an option was ignored or not supported.
12021 # When given -MP, icc 7.0 and 7.1 complain thusly:
12022 # icc: Command line warning: ignoring option '-M'; no argument required
12023 # The diagnosis changed in icc 8.0:
12024 # icc: Command line remark: option '-MP' not supported
12025 if (grep 'ignoring option' conftest.err ||
12026 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12027 am_cv_CC_dependencies_compiler_type=$depmode
12034 rm -rf conftest.dir
12036 am_cv_CC_dependencies_compiler_type=none
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12041 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12042 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12045 test "x$enable_dependency_tracking" != xno \
12046 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12047 am__fastdepCC_TRUE=
12048 am__fastdepCC_FALSE='#'
12050 am__fastdepCC_TRUE='#'
12051 am__fastdepCC_FALSE=
12056 # Checks for libraries.
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfg_init in -lconfuse" >&5
12058 $as_echo_n "checking for cfg_init in -lconfuse... " >&6; }
12059 if ${ac_cv_lib_confuse_cfg_init+:} false; then :
12060 $as_echo_n "(cached) " >&6
12062 ac_check_lib_save_LIBS=$LIBS
12063 LIBS="-lconfuse $LIBS"
12064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12065 /* end confdefs.h. */
12067 /* Override any GCC internal prototype to avoid an error.
12068 Use char because int might match the return type of a GCC
12069 builtin and then its argument prototype would still apply. */
12077 return cfg_init ();
12082 if ac_fn_c_try_link "$LINENO"; then :
12083 ac_cv_lib_confuse_cfg_init=yes
12085 ac_cv_lib_confuse_cfg_init=no
12087 rm -f core conftest.err conftest.$ac_objext \
12088 conftest$ac_exeext conftest.$ac_ext
12089 LIBS=$ac_check_lib_save_LIBS
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_confuse_cfg_init" >&5
12092 $as_echo "$ac_cv_lib_confuse_cfg_init" >&6; }
12093 if test "x$ac_cv_lib_confuse_cfg_init" = xyes; then :
12094 cat >>confdefs.h <<_ACEOF
12095 #define HAVE_LIBCONFUSE 1
12098 LIBS="-lconfuse $LIBS"
12101 as_fn_error $? "required library libconfuse not found" "$LINENO" 5
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for event_get_version in -levent_core" >&5
12105 $as_echo_n "checking for event_get_version in -levent_core... " >&6; }
12106 if ${ac_cv_lib_event_core_event_get_version+:} false; then :
12107 $as_echo_n "(cached) " >&6
12109 ac_check_lib_save_LIBS=$LIBS
12110 LIBS="-levent_core $LIBS"
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12114 /* Override any GCC internal prototype to avoid an error.
12115 Use char because int might match the return type of a GCC
12116 builtin and then its argument prototype would still apply. */
12120 char event_get_version ();
12124 return event_get_version ();
12129 if ac_fn_c_try_link "$LINENO"; then :
12130 ac_cv_lib_event_core_event_get_version=yes
12132 ac_cv_lib_event_core_event_get_version=no
12134 rm -f core conftest.err conftest.$ac_objext \
12135 conftest$ac_exeext conftest.$ac_ext
12136 LIBS=$ac_check_lib_save_LIBS
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_event_core_event_get_version" >&5
12139 $as_echo "$ac_cv_lib_event_core_event_get_version" >&6; }
12140 if test "x$ac_cv_lib_event_core_event_get_version" = xyes; then :
12141 cat >>confdefs.h <<_ACEOF
12142 #define HAVE_LIBEVENT_CORE 1
12145 LIBS="-levent_core $LIBS"
12148 as_fn_error $? "required library libevent_core not found" "$LINENO" 5
12153 ## Enable TLS (RadSec).
12155 # Check whether --enable-tls was given.
12156 if test "${enable_tls+set}" = set; then :
12157 enableval=$enable_tls; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bufferevent_openssl_socket_new in -levent_openssl" >&5
12158 $as_echo_n "checking for bufferevent_openssl_socket_new in -levent_openssl... " >&6; }
12159 if ${ac_cv_lib_event_openssl_bufferevent_openssl_socket_new+:} false; then :
12160 $as_echo_n "(cached) " >&6
12162 ac_check_lib_save_LIBS=$LIBS
12163 LIBS="-levent_openssl $LIBS"
12164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12165 /* end confdefs.h. */
12167 /* Override any GCC internal prototype to avoid an error.
12168 Use char because int might match the return type of a GCC
12169 builtin and then its argument prototype would still apply. */
12173 char bufferevent_openssl_socket_new ();
12177 return bufferevent_openssl_socket_new ();
12182 if ac_fn_c_try_link "$LINENO"; then :
12183 ac_cv_lib_event_openssl_bufferevent_openssl_socket_new=yes
12185 ac_cv_lib_event_openssl_bufferevent_openssl_socket_new=no
12187 rm -f core conftest.err conftest.$ac_objext \
12188 conftest$ac_exeext conftest.$ac_ext
12189 LIBS=$ac_check_lib_save_LIBS
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_event_openssl_bufferevent_openssl_socket_new" >&5
12192 $as_echo "$ac_cv_lib_event_openssl_bufferevent_openssl_socket_new" >&6; }
12193 if test "x$ac_cv_lib_event_openssl_bufferevent_openssl_socket_new" = xyes; then :
12194 cat >>confdefs.h <<_ACEOF
12195 #define HAVE_LIBEVENT_OPENSSL 1
12198 LIBS="-levent_openssl $LIBS"
12201 as_fn_error $? "required library event_openssl not found" "$LINENO" 5
12204 $as_echo "#define RS_ENABLE_TLS 1" >>confdefs.h
12206 $as_echo "#define RADPROT_TLS 1" >>confdefs.h
12209 if test "${enable_tls+set}" = set; then
12210 RS_ENABLE_TLS_TRUE=
12211 RS_ENABLE_TLS_FALSE='#'
12213 RS_ENABLE_TLS_TRUE='#'
12214 RS_ENABLE_TLS_FALSE=
12217 ### Define WITHOUT_OPENSSL for radius/client.h.
12218 if test -z "$enable_tls"; then
12219 CPPFLAGS="$CPPFLAGS -DWITHOUT_OPENSSL"
12221 ## Enable TLS-PSK (preshared keys).
12223 # Check whether --enable-tls-psk was given.
12224 if test "${enable_tls_psk+set}" = set; then :
12225 enableval=$enable_tls_psk; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_set_psk_client_callback in -lssl" >&5
12226 $as_echo_n "checking for SSL_set_psk_client_callback in -lssl... " >&6; }
12227 if ${ac_cv_lib_ssl_SSL_set_psk_client_callback+:} false; then :
12228 $as_echo_n "(cached) " >&6
12230 ac_check_lib_save_LIBS=$LIBS
12232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12233 /* end confdefs.h. */
12235 /* Override any GCC internal prototype to avoid an error.
12236 Use char because int might match the return type of a GCC
12237 builtin and then its argument prototype would still apply. */
12241 char SSL_set_psk_client_callback ();
12245 return SSL_set_psk_client_callback ();
12250 if ac_fn_c_try_link "$LINENO"; then :
12251 ac_cv_lib_ssl_SSL_set_psk_client_callback=yes
12253 ac_cv_lib_ssl_SSL_set_psk_client_callback=no
12255 rm -f core conftest.err conftest.$ac_objext \
12256 conftest$ac_exeext conftest.$ac_ext
12257 LIBS=$ac_check_lib_save_LIBS
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_set_psk_client_callback" >&5
12260 $as_echo "$ac_cv_lib_ssl_SSL_set_psk_client_callback" >&6; }
12261 if test "x$ac_cv_lib_ssl_SSL_set_psk_client_callback" = xyes; then :
12262 cat >>confdefs.h <<_ACEOF
12263 #define HAVE_LIBSSL 1
12269 as_fn_error $? "required library openssl with SSL_set_psk_client_callback() not found" "$LINENO" 5
12272 $as_echo "#define RS_ENABLE_TLS_PSK 1" >>confdefs.h
12276 if test "${enable_tls_psk+set}" = set; then
12277 RS_ENABLE_TLS_PSK_TRUE=
12278 RS_ENABLE_TLS_PSK_FALSE='#'
12280 RS_ENABLE_TLS_PSK_TRUE='#'
12281 RS_ENABLE_TLS_PSK_FALSE=
12285 # Checks for header files.
12286 for ac_header in sys/time.h time.h netdb.h netinet/in.h stdint.h stdlib.h strings.h string.h \
12287 sys/socket.h unistd.h syslog.h sys/select.h fcntl.h arpa/inet.h
12289 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12290 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12291 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12292 cat >>confdefs.h <<_ACEOF
12293 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12301 # Checks for typedefs, structures, and compiler characteristics.
12302 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12303 if test "x$ac_cv_type_size_t" = xyes; then :
12307 cat >>confdefs.h <<_ACEOF
12308 #define size_t unsigned int
12313 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
12314 if test "x$ac_cv_type_ssize_t" = xyes; then :
12318 cat >>confdefs.h <<_ACEOF
12319 #define ssize_t int
12324 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
12325 case $ac_cv_c_uint8_t in #(
12329 $as_echo "#define _UINT8_T 1" >>confdefs.h
12332 cat >>confdefs.h <<_ACEOF
12333 #define uint8_t $ac_cv_c_uint8_t
12339 # Checks for library functions.
12340 for ac_func in memset socket strdup strerror strrchr
12342 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12343 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12344 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12345 cat >>confdefs.h <<_ACEOF
12346 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12353 ac_config_files="$ac_config_files Makefile libradsec.spec radsecproxy/Makefile radius/Makefile include/Makefile examples/Makefile tests/Makefile"
12355 cat >confcache <<\_ACEOF
12356 # This file is a shell script that caches the results of configure
12357 # tests run on this system so they can be shared between configure
12358 # scripts and configure runs, see configure's option --config-cache.
12359 # It is not useful on other systems. If it contains results you don't
12360 # want to keep, you may remove or edit it.
12362 # config.status only pays attention to the cache file if you give it
12363 # the --recheck option to rerun configure.
12365 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12366 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12367 # following values.
12371 # The following way of writing the cache mishandles newlines in values,
12372 # but we know of no workaround that is simple, portable, and efficient.
12373 # So, we kill variables containing newlines.
12374 # Ultrix sh set writes to stderr and can't be redirected directly,
12375 # and sets the high bit in the cache file unless we assign to the vars.
12377 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12378 eval ac_val=\$$ac_var
12382 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12383 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12386 _ | IFS | as_nl) ;; #(
12387 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12388 *) { eval $ac_var=; unset $ac_var;} ;;
12394 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12395 *${as_nl}ac_space=\ *)
12396 # `set' does not quote correctly, so add quotes: double-quote
12397 # substitution turns \\\\ into \\, and sed turns \\ into \.
12400 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12403 # `set' quotes correctly as required by POSIX, so do not add quotes.
12404 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12413 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12415 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12417 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12418 if test -w "$cache_file"; then
12419 if test "x$cache_file" != "x/dev/null"; then
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12421 $as_echo "$as_me: updating cache $cache_file" >&6;}
12422 if test ! -f "$cache_file" || test -h "$cache_file"; then
12423 cat confcache >"$cache_file"
12425 case $cache_file in #(
12427 mv -f confcache "$cache_file"$$ &&
12428 mv -f "$cache_file"$$ "$cache_file" ;; #(
12430 mv -f confcache "$cache_file" ;;
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12436 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12441 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12442 # Let make expand exec_prefix.
12443 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12445 DEFS=-DHAVE_CONFIG_H
12450 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12451 # 1. Remove the extension, and $U if already installed.
12452 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12453 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12454 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12455 # will be set to the directory where LIBOBJS objects are built.
12456 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12457 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12459 LIBOBJS=$ac_libobjs
12461 LTLIBOBJS=$ac_ltlibobjs
12464 if test -n "$EXEEXT"; then
12466 am__EXEEXT_FALSE='#'
12468 am__EXEEXT_TRUE='#'
12472 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12473 as_fn_error $? "conditional \"AMDEP\" was never defined.
12474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12476 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12477 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12480 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12481 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12484 if test -z "${RS_ENABLE_TLS_TRUE}" && test -z "${RS_ENABLE_TLS_FALSE}"; then
12485 as_fn_error $? "conditional \"RS_ENABLE_TLS\" was never defined.
12486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12488 if test -z "${RS_ENABLE_TLS_PSK_TRUE}" && test -z "${RS_ENABLE_TLS_PSK_FALSE}"; then
12489 as_fn_error $? "conditional \"RS_ENABLE_TLS_PSK\" was never defined.
12490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12493 : "${CONFIG_STATUS=./config.status}"
12495 ac_clean_files_save=$ac_clean_files
12496 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12498 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12500 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12502 # Generated by $as_me.
12503 # Run this file to recreate the current configuration.
12504 # Compiler output produced by configure, useful for debugging
12505 # configure, is in config.log if it exists.
12508 ac_cs_recheck=false
12511 SHELL=\${CONFIG_SHELL-$SHELL}
12514 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12515 ## -------------------- ##
12516 ## M4sh Initialization. ##
12517 ## -------------------- ##
12519 # Be more Bourne compatible
12520 DUALCASE=1; export DUALCASE # for MKS sh
12521 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12524 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12525 # is contrary to our usage. Disable this feature.
12526 alias -g '${1+"$@"}'='"$@"'
12527 setopt NO_GLOB_SUBST
12529 case `(set -o) 2>/dev/null` in #(
12541 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12542 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12543 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12544 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12545 # Prefer a ksh shell builtin over an external printf program on Solaris,
12546 # but without wasting forks for bash or zsh.
12547 if test -z "$BASH_VERSION$ZSH_VERSION" \
12548 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12549 as_echo='print -r --'
12550 as_echo_n='print -rn --'
12551 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12552 as_echo='printf %s\n'
12553 as_echo_n='printf %s'
12555 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12556 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12557 as_echo_n='/usr/ucb/echo -n'
12559 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12560 as_echo_n_body='eval
12564 expr "X$arg" : "X\\(.*\\)$as_nl";
12565 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12567 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12569 export as_echo_n_body
12570 as_echo_n='sh -c $as_echo_n_body as_echo'
12572 export as_echo_body
12573 as_echo='sh -c $as_echo_body as_echo'
12576 # The user is always right.
12577 if test "${PATH_SEPARATOR+set}" != set; then
12579 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12580 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12587 # We need space, tab and new line, in precisely that order. Quoting is
12588 # there to prevent editors from complaining about space-tab.
12589 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12590 # splitting by setting IFS to empty value.)
12593 # Find who we are. Look in the path if we contain no directory separator.
12596 *[\\/]* ) as_myself=$0 ;;
12597 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12598 for as_dir in $PATH
12601 test -z "$as_dir" && as_dir=.
12602 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12608 # We did not find ourselves, most probably we were run as `sh COMMAND'
12609 # in which case we are not to be found in the path.
12610 if test "x$as_myself" = x; then
12613 if test ! -f "$as_myself"; then
12614 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12618 # Unset variables that we do not need and which cause bugs (e.g. in
12619 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12620 # suppresses any "Segmentation fault" message there. '((' could
12621 # trigger a bug in pdksh 5.2.14.
12622 for as_var in BASH_ENV ENV MAIL MAILPATH
12623 do eval test x\${$as_var+set} = xset \
12624 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12637 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12640 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12641 # ----------------------------------------
12642 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12643 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12644 # script with STATUS, using 1 if that was 0.
12647 as_status=$1; test $as_status -eq 0 && as_status=1
12649 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12650 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12652 $as_echo "$as_me: error: $2" >&2
12653 as_fn_exit $as_status
12657 # as_fn_set_status STATUS
12658 # -----------------------
12659 # Set $? to STATUS, without forking.
12660 as_fn_set_status ()
12663 } # as_fn_set_status
12665 # as_fn_exit STATUS
12666 # -----------------
12667 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12671 as_fn_set_status $1
12677 # Portably unset VAR.
12680 { eval $1=; unset $1;}
12682 as_unset=as_fn_unset
12683 # as_fn_append VAR VALUE
12684 # ----------------------
12685 # Append the text in VALUE to the end of the definition contained in VAR. Take
12686 # advantage of any shell optimizations that allow amortized linear growth over
12687 # repeated appends, instead of the typical quadratic growth present in naive
12689 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12690 eval 'as_fn_append ()
12701 # as_fn_arith ARG...
12702 # ------------------
12703 # Perform arithmetic evaluation on the ARGs, and store the result in the
12704 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12705 # must be portable across $(()) and expr.
12706 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12707 eval 'as_fn_arith ()
12714 as_val=`expr "$@" || test $? -eq 1`
12719 if expr a : '\(a\)' >/dev/null 2>&1 &&
12720 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12726 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12727 as_basename=basename
12732 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12738 as_me=`$as_basename -- "$0" ||
12739 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12740 X"$0" : 'X\(//\)$' \| \
12741 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12743 sed '/^.*\/\([^/][^/]*\)\/*$/{
12757 # Avoid depending upon Character Ranges.
12758 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12759 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12760 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12761 as_cr_digits='0123456789'
12762 as_cr_alnum=$as_cr_Letters$as_cr_digits
12764 ECHO_C= ECHO_N= ECHO_T=
12765 case `echo -n x` in #(((((
12767 case `echo 'xy\c'` in
12768 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12770 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12777 rm -f conf$$ conf$$.exe conf$$.file
12778 if test -d conf$$.dir; then
12779 rm -f conf$$.dir/conf$$.file
12782 mkdir conf$$.dir 2>/dev/null
12784 if (echo >conf$$.file) 2>/dev/null; then
12785 if ln -s conf$$.file conf$$ 2>/dev/null; then
12787 # ... but there are two gotchas:
12788 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12789 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12790 # In both cases, we have to default to `cp -pR'.
12791 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12793 elif ln conf$$.file conf$$ 2>/dev/null; then
12801 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12802 rmdir conf$$.dir 2>/dev/null
12807 # Create "$as_dir" as a directory, including parents if necessary.
12812 -*) as_dir=./$as_dir;;
12814 test -d "$as_dir" || eval $as_mkdir_p || {
12818 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12819 *) as_qdir=$as_dir;;
12821 as_dirs="'$as_qdir' $as_dirs"
12822 as_dir=`$as_dirname -- "$as_dir" ||
12823 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12824 X"$as_dir" : 'X\(//\)[^/]' \| \
12825 X"$as_dir" : 'X\(//\)$' \| \
12826 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12827 $as_echo X"$as_dir" |
12828 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12832 /^X\(\/\/\)[^/].*/{
12845 test -d "$as_dir" && break
12847 test -z "$as_dirs" || eval "mkdir $as_dirs"
12848 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12852 if mkdir -p . 2>/dev/null; then
12853 as_mkdir_p='mkdir -p "$as_dir"'
12855 test -d ./-p && rmdir ./-p
12860 # as_fn_executable_p FILE
12861 # -----------------------
12862 # Test if FILE is an executable regular file.
12863 as_fn_executable_p ()
12865 test -f "$1" && test -x "$1"
12866 } # as_fn_executable_p
12867 as_test_x='test -x'
12868 as_executable_p=as_fn_executable_p
12870 # Sed expression to map a string onto a valid CPP name.
12871 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12873 # Sed expression to map a string onto a valid variable name.
12874 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12878 ## ----------------------------------- ##
12879 ## Main body of $CONFIG_STATUS script. ##
12880 ## ----------------------------------- ##
12882 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12885 # Save the log message, to keep $0 and so on meaningful, and to
12886 # report actual input values of CONFIG_FILES etc. instead of their
12887 # values after options handling.
12889 This file was extended by libradsec $as_me 0.0.4.dev, which was
12890 generated by GNU Autoconf 2.69. Invocation command line was
12892 CONFIG_FILES = $CONFIG_FILES
12893 CONFIG_HEADERS = $CONFIG_HEADERS
12894 CONFIG_LINKS = $CONFIG_LINKS
12895 CONFIG_COMMANDS = $CONFIG_COMMANDS
12898 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12903 case $ac_config_files in *"
12904 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12907 case $ac_config_headers in *"
12908 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12913 # Files that config.status was made for.
12914 config_files="$ac_config_files"
12915 config_headers="$ac_config_headers"
12916 config_commands="$ac_config_commands"
12920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12922 \`$as_me' instantiates files and other configuration actions
12923 from templates according to the current configuration. Unless the files
12924 and actions are specified as TAGs, all are instantiated by default.
12926 Usage: $0 [OPTION]... [TAG]...
12928 -h, --help print this help, then exit
12929 -V, --version print version number and configuration settings, then exit
12930 --config print configuration, then exit
12931 -q, --quiet, --silent
12932 do not print progress messages
12933 -d, --debug don't remove temporary files
12934 --recheck update $as_me by reconfiguring in the same conditions
12935 --file=FILE[:TEMPLATE]
12936 instantiate the configuration file FILE
12937 --header=FILE[:TEMPLATE]
12938 instantiate the configuration header FILE
12940 Configuration files:
12943 Configuration headers:
12946 Configuration commands:
12949 Report bugs to <linus+libradsec@nordu.net>."
12952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12953 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12955 libradsec config.status 0.0.4.dev
12956 configured by $0, generated by GNU Autoconf 2.69,
12957 with options \\"\$ac_cs_config\\"
12959 Copyright (C) 2012 Free Software Foundation, Inc.
12960 This config.status script is free software; the Free Software Foundation
12961 gives unlimited permission to copy, distribute and modify it."
12968 test -n "\$AWK" || AWK=awk
12971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12972 # The default lists apply if the user does not specify any file.
12978 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12979 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12983 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12995 # Handling of the options.
12996 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12998 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12999 $as_echo "$ac_cs_version"; exit ;;
13000 --config | --confi | --conf | --con | --co | --c )
13001 $as_echo "$ac_cs_config"; exit ;;
13002 --debug | --debu | --deb | --de | --d | -d )
13004 --file | --fil | --fi | --f )
13007 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13008 '') as_fn_error $? "missing file argument" ;;
13010 as_fn_append CONFIG_FILES " '$ac_optarg'"
13011 ac_need_defaults=false;;
13012 --header | --heade | --head | --hea )
13015 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13017 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13018 ac_need_defaults=false;;
13020 # Conflict between --help and --header
13021 as_fn_error $? "ambiguous option: \`$1'
13022 Try \`$0 --help' for more information.";;
13023 --help | --hel | -h )
13024 $as_echo "$ac_cs_usage"; exit ;;
13025 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13026 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13029 # This is an error.
13030 -*) as_fn_error $? "unrecognized option: \`$1'
13031 Try \`$0 --help' for more information." ;;
13033 *) as_fn_append ac_config_targets " $1"
13034 ac_need_defaults=false ;;
13040 ac_configure_extra_args=
13042 if $ac_cs_silent; then
13044 ac_configure_extra_args="$ac_configure_extra_args --silent"
13048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13049 if \$ac_cs_recheck; then
13050 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13052 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13053 CONFIG_SHELL='$SHELL'
13054 export CONFIG_SHELL
13059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13063 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13064 ## Running $as_me. ##
13070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13074 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13077 # The HP-UX ksh and POSIX shell print the target directory to stdout
13078 # if CDPATH is set.
13079 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13081 sed_quote_subst='$sed_quote_subst'
13082 double_quote_subst='$double_quote_subst'
13083 delay_variable_subst='$delay_variable_subst'
13084 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13085 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13086 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13087 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13088 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13089 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13090 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13091 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13092 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13093 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13094 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13095 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13096 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13097 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13098 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13099 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13100 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13101 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13102 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13103 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13104 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13105 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13106 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13107 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13108 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13109 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13110 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13111 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13112 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13113 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13114 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13115 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13116 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13117 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13118 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13119 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13120 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13121 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13122 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13123 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13124 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13125 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13126 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13127 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13128 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13129 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13130 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13131 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13132 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13133 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13134 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13135 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13136 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13137 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13138 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13139 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13140 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"`'
13141 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13142 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13143 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13144 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13145 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13146 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13147 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13148 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13149 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13150 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13151 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13152 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13153 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13154 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13155 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13156 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13157 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13158 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13159 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13160 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13161 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13162 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13163 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13164 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13165 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13166 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13167 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13168 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13169 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13170 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13171 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13172 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13173 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13174 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13175 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13176 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13177 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13178 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13179 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13180 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13181 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13182 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13183 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13184 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13185 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13186 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13187 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13188 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13189 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13190 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13191 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13192 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13193 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13194 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13195 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13196 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13197 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13198 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13199 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13200 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13201 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13202 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13203 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13204 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13205 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13206 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13207 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13208 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13209 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13210 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13211 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13212 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13213 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13216 LTCFLAGS='$LTCFLAGS'
13217 compiler='$compiler_DEFAULT'
13219 # A function that is used when there is no print builtin or printf.
13220 func_fallback_echo ()
13222 eval 'cat <<_LTECHO_EOF
13227 # Quote evaled strings.
13242 deplibs_check_method \
13247 sharedlib_from_linklib_cmd \
13250 archiver_list_spec \
13256 lt_cv_sys_global_symbol_pipe \
13257 lt_cv_sys_global_symbol_to_cdecl \
13258 lt_cv_sys_global_symbol_to_c_name_address \
13259 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13260 nm_file_list_spec \
13261 lt_prog_compiler_no_builtin_flag \
13262 lt_prog_compiler_pic \
13263 lt_prog_compiler_wl \
13264 lt_prog_compiler_static \
13265 lt_cv_prog_compiler_c_o \
13274 export_dynamic_flag_spec \
13275 whole_archive_flag_spec \
13276 compiler_needs_object \
13278 allow_undefined_flag \
13279 no_undefined_flag \
13280 hardcode_libdir_flag_spec \
13281 hardcode_libdir_separator \
13285 variables_saved_for_relink \
13287 library_names_spec \
13289 install_override_mode \
13293 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13294 *[\\\\\\\`\\"\\\$]*)
13295 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13298 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13303 # Double-quote double-evaled strings.
13304 for var in reload_cmds \
13305 old_postinstall_cmds \
13306 old_postuninstall_cmds \
13308 extract_expsyms_cmds \
13309 old_archive_from_new_cmds \
13310 old_archive_from_expsyms_cmds \
13312 archive_expsym_cmds \
13314 module_expsym_cmds \
13315 export_symbols_cmds \
13319 postuninstall_cmds \
13321 sys_lib_search_path_spec \
13322 sys_lib_dlsearch_path_spec; do
13323 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13324 *[\\\\\\\`\\"\\\$]*)
13325 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13328 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13333 ac_aux_dir='$ac_aux_dir'
13334 xsi_shell='$xsi_shell'
13335 lt_shell_append='$lt_shell_append'
13337 # See if we are running on zsh, and set the options which allow our
13338 # commands through without removal of \ escapes INIT.
13339 if test -n "\${ZSH_VERSION+set}" ; then
13340 setopt NO_GLOB_SUBST
13346 TIMESTAMP='$TIMESTAMP'
13355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13357 # Handling of arguments.
13358 for ac_config_target in $ac_config_targets
13360 case $ac_config_target in
13361 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13362 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13363 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13364 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13365 "libradsec.spec") CONFIG_FILES="$CONFIG_FILES libradsec.spec" ;;
13366 "radsecproxy/Makefile") CONFIG_FILES="$CONFIG_FILES radsecproxy/Makefile" ;;
13367 "radius/Makefile") CONFIG_FILES="$CONFIG_FILES radius/Makefile" ;;
13368 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
13369 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
13370 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
13372 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13377 # If the user did not use the arguments to specify the items to instantiate,
13378 # then the envvar interface is used. Set only those that are not.
13379 # We use the long form for the default assignment because of an extremely
13380 # bizarre bug on SunOS 4.1.3.
13381 if $ac_need_defaults; then
13382 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13383 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13384 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13387 # Have a temporary directory for convenience. Make it in the build tree
13388 # simply because there is no reason against having it here, and in addition,
13389 # creating and moving files from /tmp can sometimes cause problems.
13390 # Hook for its removal unless debugging.
13391 # Note that there is a small window in which the directory will not be cleaned:
13392 # after its creation but before its name has been assigned to `$tmp'.
13396 trap 'exit_status=$?
13397 : "${ac_tmp:=$tmp}"
13398 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13400 trap 'as_fn_exit 1' 1 2 13 15
13402 # Create a (secure) tmp directory for tmp files.
13405 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13409 tmp=./conf$$-$RANDOM
13410 (umask 077 && mkdir "$tmp")
13411 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13414 # Set up the scripts for CONFIG_FILES section.
13415 # No need to generate them if there are no CONFIG_FILES.
13416 # This happens for instance with `./config.status config.h'.
13417 if test -n "$CONFIG_FILES"; then
13420 ac_cr=`echo X | tr X '\015'`
13421 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13422 # But we know of no other shell where ac_cr would be empty at this
13423 # point, so we can use a bashism as a fallback.
13424 if test "x$ac_cr" = x; then
13425 eval ac_cr=\$\'\\r\'
13427 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13428 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13431 ac_cs_awk_cr=$ac_cr
13434 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13439 echo "cat >conf$$subs.awk <<_ACEOF" &&
13440 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13442 } >conf$$subs.sh ||
13443 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13444 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13446 for ac_last_try in false false false false false :; do
13447 . ./conf$$subs.sh ||
13448 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13450 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13451 if test $ac_delim_n = $ac_delim_num; then
13453 elif $ac_last_try; then
13454 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13456 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13459 rm -f conf$$subs.sh
13461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13462 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13466 s/^/S["/; s/!.*/"]=/
13476 s/\(.\{148\}\)..*/\1/
13478 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13483 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13490 s/\(.\{148\}\)..*/\1/
13492 s/["\\]/\\&/g; s/^/"/; s/$/"/
13496 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13501 ' <conf$$subs.awk | sed '
13506 ' >>$CONFIG_STATUS || ac_write_fail=1
13507 rm -f conf$$subs.awk
13508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13510 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13511 for (key in S) S_is_set[key] = 1
13517 nfields = split(line, field, "@")
13519 len = length(field[1])
13520 for (i = 2; i < nfields; i++) {
13522 keylen = length(key)
13523 if (S_is_set[key]) {
13525 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13526 len += length(value) + length(field[++i])
13537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13538 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13539 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13542 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13543 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13546 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13547 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13548 # trailing colons and then remove the whole line if VPATH becomes empty
13549 # (actually we leave an empty line to preserve line numbers).
13550 if test "x$srcdir" = x.; then
13551 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13570 fi # test -n "$CONFIG_FILES"
13572 # Set up the scripts for CONFIG_HEADERS section.
13573 # No need to generate them if there are no CONFIG_HEADERS.
13574 # This happens for instance with `./config.status Makefile'.
13575 if test -n "$CONFIG_HEADERS"; then
13576 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13580 # Transform confdefs.h into an awk script `defines.awk', embedded as
13581 # here-document in config.status, that substitutes the proper values into
13582 # config.h.in to produce config.h.
13584 # Create a delimiter string that does not exist in confdefs.h, to ease
13585 # handling of long lines.
13587 for ac_last_try in false false :; do
13588 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13589 if test -z "$ac_tt"; then
13591 elif $ac_last_try; then
13592 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13594 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13598 # For the awk script, D is an array of macro values keyed by name,
13599 # likewise P contains macro parameters if any. Preserve backslash
13600 # newline sequences.
13602 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13604 s/.\{148\}/&'"$ac_delim"'/g
13607 s/^[ ]*#[ ]*define[ ][ ]*/ /
13614 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13616 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13620 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13621 D["\1"]=" \3\\\\\\n"\\/p
13623 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13628 s/.\{148\}/&'"$ac_delim"'/g
13633 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13636 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13638 ' <confdefs.h | sed '
13639 s/'"$ac_delim"'/"\\\
13640 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13643 for (key in D) D_is_set[key] = 1
13646 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13648 split(line, arg, " ")
13649 if (arg[1] == "#") {
13653 defundef = substr(arg[1], 2)
13656 split(mac1, mac2, "(") #)
13658 prefix = substr(line, 1, index(line, defundef) - 1)
13659 if (D_is_set[macro]) {
13660 # Preserve the white space surrounding the "#".
13661 print prefix "define", macro P[macro] D[macro]
13664 # Replace #undef with comments. This is necessary, for example,
13665 # in the case of _POSIX_SOURCE, which is predefined and required
13666 # on some systems where configure will not decide to define it.
13667 if (defundef == "undef") {
13668 print "/*", prefix defundef, macro, "*/"
13676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13677 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13678 fi # test -n "$CONFIG_HEADERS"
13681 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13686 :[FHLC]) ac_mode=$ac_tag; continue;;
13688 case $ac_mode$ac_tag in
13690 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13691 :[FH]-) ac_tag=-:-;;
13692 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13709 -) ac_f="$ac_tmp/stdin";;
13710 *) # Look for the file first in the build tree, then in the source tree
13711 # (if the path is not absolute). The absolute path cannot be DOS-style,
13712 # because $ac_f cannot contain `:'.
13716 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13718 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13720 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13721 as_fn_append ac_file_inputs " '$ac_f'"
13724 # Let's still pretend it is `configure' which instantiates (i.e., don't
13725 # use $as_me), people would be surprised to read:
13726 # /* config.h. Generated by config.status. */
13727 configure_input='Generated from '`
13728 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13730 if test x"$ac_file" != x-; then
13731 configure_input="$ac_file. $configure_input"
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13733 $as_echo "$as_me: creating $ac_file" >&6;}
13735 # Neutralize special characters interpreted by sed in replacement strings.
13736 case $configure_input in #(
13737 *\&* | *\|* | *\\* )
13738 ac_sed_conf_input=`$as_echo "$configure_input" |
13739 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13740 *) ac_sed_conf_input=$configure_input;;
13744 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13745 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13750 ac_dir=`$as_dirname -- "$ac_file" ||
13751 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13752 X"$ac_file" : 'X\(//\)[^/]' \| \
13753 X"$ac_file" : 'X\(//\)$' \| \
13754 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13755 $as_echo X"$ac_file" |
13756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13760 /^X\(\/\/\)[^/].*/{
13773 as_dir="$ac_dir"; as_fn_mkdir_p
13777 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13779 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13780 # A ".." for each directory in $ac_dir_suffix.
13781 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13782 case $ac_top_builddir_sub in
13783 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13784 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13787 ac_abs_top_builddir=$ac_pwd
13788 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13789 # for backward compatibility:
13790 ac_top_builddir=$ac_top_build_prefix
13793 .) # We are building in place.
13795 ac_top_srcdir=$ac_top_builddir_sub
13796 ac_abs_top_srcdir=$ac_pwd ;;
13797 [\\/]* | ?:[\\/]* ) # Absolute name.
13798 ac_srcdir=$srcdir$ac_dir_suffix;
13799 ac_top_srcdir=$srcdir
13800 ac_abs_top_srcdir=$srcdir ;;
13801 *) # Relative name.
13802 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13803 ac_top_srcdir=$ac_top_build_prefix$srcdir
13804 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13806 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13816 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13817 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13819 ac_MKDIR_P=$MKDIR_P
13821 [\\/$]* | ?:[\\/]* ) ;;
13822 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13827 # If the template does not know about datarootdir, expand it.
13828 # FIXME: This hack should be removed a few years after 2.60.
13829 ac_datarootdir_hack=; ac_datarootdir_seen=
13840 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13841 *datarootdir*) ac_datarootdir_seen=yes;;
13842 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13844 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13847 ac_datarootdir_hack='
13848 s&@datadir@&$datadir&g
13849 s&@docdir@&$docdir&g
13850 s&@infodir@&$infodir&g
13851 s&@localedir@&$localedir&g
13852 s&@mandir@&$mandir&g
13853 s&\\\${datarootdir}&$datarootdir&g' ;;
13857 # Neutralize VPATH when `$srcdir' = `.'.
13858 # Shell code in configure.ac might set extrasub.
13859 # FIXME: do we really want to maintain this feature?
13860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13861 ac_sed_extra="$ac_vpsub
13864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13866 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13867 s|@configure_input@|$ac_sed_conf_input|;t t
13868 s&@top_builddir@&$ac_top_builddir_sub&;t t
13869 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13870 s&@srcdir@&$ac_srcdir&;t t
13871 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13872 s&@top_srcdir@&$ac_top_srcdir&;t t
13873 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13874 s&@builddir@&$ac_builddir&;t t
13875 s&@abs_builddir@&$ac_abs_builddir&;t t
13876 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13877 s&@INSTALL@&$ac_INSTALL&;t t
13878 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13879 $ac_datarootdir_hack
13881 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13882 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13884 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13885 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13886 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13887 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13889 which seems to be undefined. Please make sure it is defined" >&5
13890 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13891 which seems to be undefined. Please make sure it is defined" >&2;}
13893 rm -f "$ac_tmp/stdin"
13895 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13896 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13898 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13904 if test x"$ac_file" != x-; then
13906 $as_echo "/* $configure_input */" \
13907 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13908 } >"$ac_tmp/config.h" \
13909 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13910 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13912 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13915 mv "$ac_tmp/config.h" "$ac_file" \
13916 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13919 $as_echo "/* $configure_input */" \
13920 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13921 || as_fn_error $? "could not create -" "$LINENO" 5
13923 # Compute "$ac_file"'s index in $config_headers.
13926 for _am_header in $config_headers :; do
13927 case $_am_header in
13928 $_am_arg | $_am_arg:* )
13931 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13934 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13935 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13936 X"$_am_arg" : 'X\(//\)[^/]' \| \
13937 X"$_am_arg" : 'X\(//\)$' \| \
13938 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13939 $as_echo X"$_am_arg" |
13940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13944 /^X\(\/\/\)[^/].*/{
13956 s/.*/./; q'`/stamp-h$_am_stamp_count
13959 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13960 $as_echo "$as_me: executing $ac_file commands" >&6;}
13965 case $ac_file$ac_mode in
13966 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13967 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13968 # are listed without --file. Let's play safe and only enable the eval
13969 # if we detect the quoting.
13970 case $CONFIG_FILES in
13971 *\'*) eval set x "$CONFIG_FILES" ;;
13972 *) set x $CONFIG_FILES ;;
13977 # Strip MF so we end up with the name of the file.
13978 mf=`echo "$mf" | sed -e 's/:.*$//'`
13979 # Check whether this is an Automake generated Makefile or not.
13980 # We used to match only the files named `Makefile.in', but
13981 # some people rename them; so instead we look at the file content.
13982 # Grep'ing the first line is not enough: some people post-process
13983 # each Makefile.in and add a new line on top of each file to say so.
13984 # Grep'ing the whole file is not good either: AIX grep has a line
13985 # limit of 2048, but all sed's we know have understand at least 4000.
13986 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13987 dirpart=`$as_dirname -- "$mf" ||
13988 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13989 X"$mf" : 'X\(//\)[^/]' \| \
13990 X"$mf" : 'X\(//\)$' \| \
13991 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13997 /^X\(\/\/\)[^/].*/{
14013 # Extract the definition of DEPDIR, am__include, and am__quote
14014 # from the Makefile without running `make'.
14015 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14016 test -z "$DEPDIR" && continue
14017 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14018 test -z "am__include" && continue
14019 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14020 # When using ansi2knr, U may be empty or an underscore; expand it
14021 U=`sed -n 's/^U = //p' < "$mf"`
14022 # Find all dependency output files, they are included files with
14023 # $(DEPDIR) in their names. We invoke sed twice because it is the
14024 # simplest approach to changing $(DEPDIR) to its actual value in the
14026 for file in `sed -n "
14027 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14028 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14029 # Make sure the directory exists.
14030 test -f "$dirpart/$file" && continue
14031 fdir=`$as_dirname -- "$file" ||
14032 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14033 X"$file" : 'X\(//\)[^/]' \| \
14034 X"$file" : 'X\(//\)$' \| \
14035 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14036 $as_echo X"$file" |
14037 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14041 /^X\(\/\/\)[^/].*/{
14054 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14055 # echo "creating $dirpart/$file"
14056 echo '# dummy' > "$dirpart/$file"
14063 # See if we are running on zsh, and set the options which allow our
14064 # commands through without removal of \ escapes.
14065 if test -n "${ZSH_VERSION+set}" ; then
14066 setopt NO_GLOB_SUBST
14069 cfgfile="${ofile}T"
14070 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14073 cat <<_LT_EOF >> "$cfgfile"
14076 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14077 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14078 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14079 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14081 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14082 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14084 # Written by Gordon Matzigkeit, 1996
14086 # This file is part of GNU Libtool.
14088 # GNU Libtool is free software; you can redistribute it and/or
14089 # modify it under the terms of the GNU General Public License as
14090 # published by the Free Software Foundation; either version 2 of
14091 # the License, or (at your option) any later version.
14093 # As a special exception to the GNU General Public License,
14094 # if you distribute this file as part of a program or library that
14095 # is built using GNU Libtool, you may include this file under the
14096 # same distribution terms that you use for the rest of that program.
14098 # GNU Libtool is distributed in the hope that it will be useful,
14099 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14100 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14101 # GNU General Public License for more details.
14103 # You should have received a copy of the GNU General Public License
14104 # along with GNU Libtool; see the file COPYING. If not, a copy
14105 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14106 # obtained by writing to the Free Software Foundation, Inc.,
14107 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14110 # The names of the tagged configurations supported by this script.
14113 # ### BEGIN LIBTOOL CONFIG
14115 # Which release of libtool.m4 was used?
14116 macro_version=$macro_version
14117 macro_revision=$macro_revision
14119 # Whether or not to build shared libraries.
14120 build_libtool_libs=$enable_shared
14122 # Whether or not to build static libraries.
14123 build_old_libs=$enable_static
14125 # What type of objects to build.
14128 # Whether or not to optimize for fast installation.
14129 fast_install=$enable_fast_install
14131 # Shell to use when invoking shell scripts.
14134 # An echo program that protects backslashes.
14137 # The PATH separator for the build system.
14138 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14141 host_alias=$host_alias
14145 # The build system.
14146 build_alias=$build_alias
14150 # A sed program that does not truncate output.
14153 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14154 Xsed="\$SED -e 1s/^X//"
14156 # A grep program that handles long lines.
14162 # A literal string matcher.
14165 # A BSD- or MS-compatible name lister.
14168 # Whether we need soft or hard links.
14171 # What is the maximum length of a command?
14172 max_cmd_len=$max_cmd_len
14174 # Object file suffix (normally "o").
14177 # Executable file suffix (normally "").
14180 # whether the shell understands "unset".
14183 # turn spaces into newlines.
14186 # turn newlines into spaces.
14189 # convert \$build file names to \$host format.
14190 to_host_file_cmd=$lt_cv_to_host_file_cmd
14192 # convert \$build files to toolchain format.
14193 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14195 # An object symbol dumper.
14196 OBJDUMP=$lt_OBJDUMP
14198 # Method to check whether dependent libraries are shared objects.
14199 deplibs_check_method=$lt_deplibs_check_method
14201 # Command to use when deplibs_check_method = "file_magic".
14202 file_magic_cmd=$lt_file_magic_cmd
14204 # How to find potential files when deplibs_check_method = "file_magic".
14205 file_magic_glob=$lt_file_magic_glob
14207 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14208 want_nocaseglob=$lt_want_nocaseglob
14210 # DLL creation program.
14211 DLLTOOL=$lt_DLLTOOL
14213 # Command to associate shared and link libraries.
14214 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14219 # Flags to create an archive.
14220 AR_FLAGS=$lt_AR_FLAGS
14222 # How to feed a file listing to the archiver.
14223 archiver_list_spec=$lt_archiver_list_spec
14225 # A symbol stripping program.
14228 # Commands used to install an old-style archive.
14230 old_postinstall_cmds=$lt_old_postinstall_cmds
14231 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14233 # Whether to use a lock for old archive extraction.
14234 lock_old_archive_extraction=$lock_old_archive_extraction
14239 # LTCC compiler flags.
14240 LTCFLAGS=$lt_CFLAGS
14242 # Take the output of nm and produce a listing of raw symbols and C names.
14243 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14245 # Transform the output of nm in a proper C declaration.
14246 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14248 # Transform the output of nm in a C name address pair.
14249 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14251 # Transform the output of nm in a C name address pair when lib prefix is needed.
14252 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14254 # Specify filename containing input files for \$NM.
14255 nm_file_list_spec=$lt_nm_file_list_spec
14257 # The root where to search for dependent libraries,and in which our libraries should be installed.
14258 lt_sysroot=$lt_sysroot
14260 # The name of the directory that contains temporary libtool files.
14263 # Used to examine libraries when file_magic_cmd begins with "file".
14264 MAGIC_CMD=$MAGIC_CMD
14266 # Must we lock files when doing compilation?
14267 need_locks=$lt_need_locks
14270 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14272 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14273 DSYMUTIL=$lt_DSYMUTIL
14275 # Tool to change global to local symbols on Mac OS X.
14278 # Tool to manipulate fat objects and archives on Mac OS X.
14281 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14284 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14285 OTOOL64=$lt_OTOOL64
14287 # Old archive suffix (normally "a").
14290 # Shared library suffix (normally ".so").
14291 shrext_cmds=$lt_shrext_cmds
14293 # The commands to extract the exported symbol list from a shared archive.
14294 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14296 # Variables whose values should be saved in libtool wrapper scripts and
14297 # restored at link time.
14298 variables_saved_for_relink=$lt_variables_saved_for_relink
14300 # Do we need the "lib" prefix for modules?
14301 need_lib_prefix=$need_lib_prefix
14303 # Do we need a version for libraries?
14304 need_version=$need_version
14306 # Library versioning type.
14307 version_type=$version_type
14309 # Shared library runtime path variable.
14310 runpath_var=$runpath_var
14312 # Shared library path variable.
14313 shlibpath_var=$shlibpath_var
14315 # Is shlibpath searched before the hard-coded library search path?
14316 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14318 # Format of library name prefix.
14319 libname_spec=$lt_libname_spec
14321 # List of archive names. First name is the real one, the rest are links.
14322 # The last name is the one that the linker finds with -lNAME
14323 library_names_spec=$lt_library_names_spec
14325 # The coded name of the library, if different from the real name.
14326 soname_spec=$lt_soname_spec
14328 # Permission mode override for installation of shared libraries.
14329 install_override_mode=$lt_install_override_mode
14331 # Command to use after installation of a shared archive.
14332 postinstall_cmds=$lt_postinstall_cmds
14334 # Command to use after uninstallation of a shared archive.
14335 postuninstall_cmds=$lt_postuninstall_cmds
14337 # Commands used to finish a libtool library installation in a directory.
14338 finish_cmds=$lt_finish_cmds
14340 # As "finish_cmds", except a single script fragment to be evaled but
14342 finish_eval=$lt_finish_eval
14344 # Whether we should hardcode library paths into libraries.
14345 hardcode_into_libs=$hardcode_into_libs
14347 # Compile-time system search path for libraries.
14348 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14350 # Run-time system search path for libraries.
14351 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14353 # Whether dlopen is supported.
14354 dlopen_support=$enable_dlopen
14356 # Whether dlopen of programs is supported.
14357 dlopen_self=$enable_dlopen_self
14359 # Whether dlopen of statically linked programs is supported.
14360 dlopen_self_static=$enable_dlopen_self_static
14362 # Commands to strip libraries.
14363 old_striplib=$lt_old_striplib
14364 striplib=$lt_striplib
14367 # The linker used to build libraries.
14370 # How to create reloadable object files.
14371 reload_flag=$lt_reload_flag
14372 reload_cmds=$lt_reload_cmds
14374 # Commands used to build an old-style archive.
14375 old_archive_cmds=$lt_old_archive_cmds
14377 # A language specific compiler.
14380 # Is the compiler the GNU compiler?
14383 # Compiler flag to turn off builtin functions.
14384 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14386 # Additional compiler flags for building library objects.
14387 pic_flag=$lt_lt_prog_compiler_pic
14389 # How to pass a linker flag through the compiler.
14390 wl=$lt_lt_prog_compiler_wl
14392 # Compiler flag to prevent dynamic linking.
14393 link_static_flag=$lt_lt_prog_compiler_static
14395 # Does compiler simultaneously support -c and -o options?
14396 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14398 # Whether or not to add -lc for building shared libraries.
14399 build_libtool_need_lc=$archive_cmds_need_lc
14401 # Whether or not to disallow shared libs when runtime libs are static.
14402 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14404 # Compiler flag to allow reflexive dlopens.
14405 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14407 # Compiler flag to generate shared objects directly from archives.
14408 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14410 # Whether the compiler copes with passing no objects directly.
14411 compiler_needs_object=$lt_compiler_needs_object
14413 # Create an old-style archive from a shared archive.
14414 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14416 # Create a temporary old-style archive to link instead of a shared archive.
14417 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14419 # Commands used to build a shared archive.
14420 archive_cmds=$lt_archive_cmds
14421 archive_expsym_cmds=$lt_archive_expsym_cmds
14423 # Commands used to build a loadable module if different from building
14424 # a shared archive.
14425 module_cmds=$lt_module_cmds
14426 module_expsym_cmds=$lt_module_expsym_cmds
14428 # Whether we are building with GNU ld or not.
14429 with_gnu_ld=$lt_with_gnu_ld
14431 # Flag that allows shared libraries with undefined symbols to be built.
14432 allow_undefined_flag=$lt_allow_undefined_flag
14434 # Flag that enforces no undefined symbols.
14435 no_undefined_flag=$lt_no_undefined_flag
14437 # Flag to hardcode \$libdir into a binary during linking.
14438 # This must work even if \$libdir does not exist
14439 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14441 # Whether we need a single "-rpath" flag with a separated argument.
14442 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14444 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14445 # DIR into the resulting binary.
14446 hardcode_direct=$hardcode_direct
14448 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14449 # DIR into the resulting binary and the resulting library dependency is
14450 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14451 # library is relocated.
14452 hardcode_direct_absolute=$hardcode_direct_absolute
14454 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14455 # into the resulting binary.
14456 hardcode_minus_L=$hardcode_minus_L
14458 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14459 # into the resulting binary.
14460 hardcode_shlibpath_var=$hardcode_shlibpath_var
14462 # Set to "yes" if building a shared library automatically hardcodes DIR
14463 # into the library and all subsequent libraries and executables linked
14465 hardcode_automatic=$hardcode_automatic
14467 # Set to yes if linker adds runtime paths of dependent libraries
14468 # to runtime path list.
14469 inherit_rpath=$inherit_rpath
14471 # Whether libtool must link a program against all its dependency libraries.
14472 link_all_deplibs=$link_all_deplibs
14474 # Set to "yes" if exported symbols are required.
14475 always_export_symbols=$always_export_symbols
14477 # The commands to list exported symbols.
14478 export_symbols_cmds=$lt_export_symbols_cmds
14480 # Symbols that should not be listed in the preloaded symbols.
14481 exclude_expsyms=$lt_exclude_expsyms
14483 # Symbols that must always be exported.
14484 include_expsyms=$lt_include_expsyms
14486 # Commands necessary for linking programs (against libraries) with templates.
14487 prelink_cmds=$lt_prelink_cmds
14489 # Commands necessary for finishing linking programs.
14490 postlink_cmds=$lt_postlink_cmds
14492 # Specify filename containing input files.
14493 file_list_spec=$lt_file_list_spec
14495 # How to hardcode a shared library path into an executable.
14496 hardcode_action=$hardcode_action
14498 # ### END LIBTOOL CONFIG
14504 cat <<\_LT_EOF >> "$cfgfile"
14505 # AIX sometimes has problems with the GCC collect2 program. For some
14506 # reason, if we set the COLLECT_NAMES environment variable, the problems
14507 # vanish in a puff of smoke.
14508 if test "X${COLLECT_NAMES+set}" != Xset; then
14510 export COLLECT_NAMES
14517 ltmain="$ac_aux_dir/ltmain.sh"
14520 # We use sed instead of cat because bash on DJGPP gets confused if
14521 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14522 # text mode, it properly converts lines to CR/LF. This bash problem
14523 # is reportedly fixed, but why not run on old versions too?
14524 sed '$q' "$ltmain" >> "$cfgfile" \
14525 || (rm -f "$cfgfile"; exit 1)
14527 if test x"$xsi_shell" = xyes; then
14528 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14532 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14533 \ * ) func_dirname_result="${3}" ;;\
14535 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14536 && mv -f "$cfgfile.tmp" "$cfgfile" \
14537 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14538 test 0 -eq $? || _lt_function_replace_fail=:
14541 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14544 \ func_basename_result="${1##*/}"\
14545 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14546 && mv -f "$cfgfile.tmp" "$cfgfile" \
14547 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14548 test 0 -eq $? || _lt_function_replace_fail=:
14551 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14552 func_dirname_and_basename ()\
14555 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14556 \ * ) func_dirname_result="${3}" ;;\
14558 \ func_basename_result="${1##*/}"\
14559 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14560 && mv -f "$cfgfile.tmp" "$cfgfile" \
14561 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14562 test 0 -eq $? || _lt_function_replace_fail=:
14565 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14568 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14569 \ # positional parameters, so assign one to ordinary parameter first.\
14570 \ func_stripname_result=${3}\
14571 \ func_stripname_result=${func_stripname_result#"${1}"}\
14572 \ func_stripname_result=${func_stripname_result%"${2}"}\
14573 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14574 && mv -f "$cfgfile.tmp" "$cfgfile" \
14575 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14576 test 0 -eq $? || _lt_function_replace_fail=:
14579 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14580 func_split_long_opt ()\
14582 \ func_split_long_opt_name=${1%%=*}\
14583 \ func_split_long_opt_arg=${1#*=}\
14584 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14585 && mv -f "$cfgfile.tmp" "$cfgfile" \
14586 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14587 test 0 -eq $? || _lt_function_replace_fail=:
14590 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14591 func_split_short_opt ()\
14593 \ func_split_short_opt_arg=${1#??}\
14594 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14595 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14596 && mv -f "$cfgfile.tmp" "$cfgfile" \
14597 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14598 test 0 -eq $? || _lt_function_replace_fail=:
14601 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14605 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14606 \ *) func_lo2o_result=${1} ;;\
14608 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14609 && mv -f "$cfgfile.tmp" "$cfgfile" \
14610 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14611 test 0 -eq $? || _lt_function_replace_fail=:
14614 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14617 func_xform_result=${1%.*}.lo\
14618 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14619 && mv -f "$cfgfile.tmp" "$cfgfile" \
14620 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14621 test 0 -eq $? || _lt_function_replace_fail=:
14624 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14627 func_arith_result=$(( $* ))\
14628 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14629 && mv -f "$cfgfile.tmp" "$cfgfile" \
14630 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14631 test 0 -eq $? || _lt_function_replace_fail=:
14634 sed -e '/^func_len ()$/,/^} # func_len /c\
14637 func_len_result=${#1}\
14638 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14639 && mv -f "$cfgfile.tmp" "$cfgfile" \
14640 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14641 test 0 -eq $? || _lt_function_replace_fail=:
14645 if test x"$lt_shell_append" = xyes; then
14646 sed -e '/^func_append ()$/,/^} # func_append /c\
14649 eval "${1}+=\\${2}"\
14650 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14651 && mv -f "$cfgfile.tmp" "$cfgfile" \
14652 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14653 test 0 -eq $? || _lt_function_replace_fail=:
14656 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14657 func_append_quoted ()\
14659 \ func_quote_for_eval "${2}"\
14660 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14661 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14662 && mv -f "$cfgfile.tmp" "$cfgfile" \
14663 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14664 test 0 -eq $? || _lt_function_replace_fail=:
14667 # Save a `func_append' function call where possible by direct use of '+='
14668 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14669 && mv -f "$cfgfile.tmp" "$cfgfile" \
14670 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14671 test 0 -eq $? || _lt_function_replace_fail=:
14673 # Save a `func_append' function call even when '+=' is not available
14674 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14675 && mv -f "$cfgfile.tmp" "$cfgfile" \
14676 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14677 test 0 -eq $? || _lt_function_replace_fail=:
14680 if test x"$_lt_function_replace_fail" = x":"; then
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14682 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14686 mv -f "$cfgfile" "$ofile" ||
14687 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14698 ac_clean_files=$ac_clean_files_save
14700 test $ac_write_fail = 0 ||
14701 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14704 # configure is writing to config.log, and then calls config.status.
14705 # config.status does its own redirection, appending to config.log.
14706 # Unfortunately, on DOS this fails, as config.log is still kept open
14707 # by configure, so config.status won't be able to write to it; its
14708 # output is simply discarded. So we exec the FD to /dev/null,
14709 # effectively closing config.log, so it can be properly (re)opened and
14710 # appended to by config.status. When coming back to configure, we
14711 # need to make the FD available again.
14712 if test "$no_create" != yes; then
14714 ac_config_status_args=
14715 test "$silent" = yes &&
14716 ac_config_status_args="$ac_config_status_args --quiet"
14718 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14720 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14721 # would make configure fail if this is the last instruction.
14722 $ac_cs_success || as_fn_exit 1
14724 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14726 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}